package
0.0.0-20220804224756-ee179563970d
Repository: https://github.com/intel/oim.git
Documentation: pkg.go.dev

# Functions

GetDeviceNameFromMount: given a mnt point, find the device from /proc/mounts returns the device name, reference count, and error code.
No description provided by the author
IsCorruptedMnt return true if err is about corrupted mount point.
IsNotMountPoint determines if a directory is a mountpoint.
New returns a mount.Interface for the current system.
No description provided by the author
No description provided by the author
No description provided by the author
PathExists returns true if the specified path exists.
PathWithinBase checks if give path is within given base directory.
UnmountPath is a common unmount routine that unmounts the given path and deletes the remaining directory if successful.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Fake for testing.
Mounter provides the default implementation of mount.Interface for the linux platform.
This represents a single line in /proc/mounts or /etc/fstab.
SafeFormatAndMount probes a device to see if it is formatted.
No description provided by the author

# Interfaces

Exec executes command where mount utilities are.
No description provided by the author

# Type aliases

No description provided by the author