type Mounter …
var errUnsupported …
func New(mounterPath string) Interface { … }
func (mounter *Mounter) Mount(source string, target string, fstype string, options []string) error { … }
func (mounter *Mounter) MountSensitive(source string, target string, fstype string, options []string, sensitiveOptions []string) error { … }
func (mounter *Mounter) MountSensitiveWithoutSystemd(source string, target string, fstype string, options []string, sensitiveOptions []string) error { … }
func (mounter *Mounter) MountSensitiveWithoutSystemdWithMountFlags(source string, target string, fstype string, options []string, sensitiveOptions []string, mountFlags []string) error { … }
func (mounter *Mounter) Unmount(target string) error { … }
func (mounter *Mounter) List() ([]MountPoint, error) { … }
func (mounter *Mounter) IsLikelyNotMountPoint(file string) (bool, error) { … }
func (mounter *Mounter) CanSafelySkipMountPointCheck() bool { … }
func (mounter *Mounter) IsMountPoint(file string) (bool, error) { … }
func (mounter *Mounter) GetMountRefs(pathname string) ([]string, error) { … }
func (mounter *SafeFormatAndMount) formatAndMountSensitive(source string, target string, fstype string, options []string, sensitiveOptions []string, formatOptions []string) error { … }
func (mounter *SafeFormatAndMount) diskLooksUnformatted(disk string) (bool, error) { … }
func (mounter *SafeFormatAndMount) IsMountPoint(file string) (bool, error) { … }