Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileSystem ¶
func FileSystem(path string) (sb filesystem.SuperBlocker, err error)
FileSystem probes the provided path's file system.
Types ¶
type ProbedBlockDevice ¶
type ProbedBlockDevice struct { *blockdevice.BlockDevice SuperBlock filesystem.SuperBlocker Path string }
ProbedBlockDevice represents a probed block device.
func All ¶
func All() (probed []*ProbedBlockDevice, err error)
All probes a block device's file system for the given label.
func GetDevWithFileSystemLabel ¶
func GetDevWithFileSystemLabel(value string) (probe *ProbedBlockDevice, err error)
GetDevWithFileSystemLabel probes a block device's file system for the given label.
Click to show internal directories.
Click to hide internal directories.