probe

package
v0.1.0-alpha.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2019 License: MPL-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL