package
7.0.0+incompatible
Repository: https://github.com/lindt/u-root.git
Documentation: pkg.go.dev

# Packages

Package block finds, mounts, and modifies block devices on Linux systems.
Package gpt implements reading and writing of GUID Partition tables.
Package loop provides an interface to interacting with Linux loop devices.
Chips are made by vendors, and an individual vendor is defined by a 1 to 8 byte vendor id stored in the chip.
Package scuzz supports direct access to SCSI or SATA devices.

# Functions

FindFileSystem returns nil if a file system is available for use.
GetBlockFilesystems returns the supported file systems for block devices.
Mount attaches the fsType file system at path.
MoveMount moves a mount from oldPath to newPath.
SameFilesystem returns true if both paths reside in the same filesystem.
SwitchRoot makes newRootDir the new root directory of the system.
TryMount tries to mount a device on the given mountpoint, trying in order the supported block device file systems on the system.
Unmount detaches any file system mounted at path.

# Constants

Unmount flags.
Unmount flags.
Most commonly used mount flags.
Most commonly used mount flags.
Most commonly used mount flags.
Most commonly used mount flags.
Most commonly used mount flags.
Most commonly used mount flags.
Most commonly used mount flags.
Most commonly used mount flags.
Most commonly used mount flags.
Most commonly used mount flags.

# Structs

MountPoint represents a mounted file system.

# Interfaces

Mounter is a device that can be attached at a file system path.