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() (all []*ProbedBlockDevice, err error)
All probes a block device's file system for the given label.
func DevForFileSystemLabel ¶
func DevForFileSystemLabel(devpath, value string) (probe *ProbedBlockDevice, err error)
DevForFileSystemLabel probes a block device's file systems for the given label.
func GetDevWithFileSystemLabel ¶
func GetDevWithFileSystemLabel(value string) (probe *ProbedBlockDevice, err error)
GetDevWithFileSystemLabel probes all known block device's file systems for the given label.
Click to show internal directories.
Click to hide internal directories.