Documentation
¶
Index ¶
- func GetMountByMountpoint(mountPoint string) (*mountinfo.Info, error)
- func GetMountBySource(source string) (*mountinfo.Info, error)
- func IsMountedSource(source string) (bool, error)
- func ListMounts() ([]*mountinfo.Info, error)
- func Mount(ctx context.Context, fsType string, source string, target string, ...) error
- func Unmount(ctx context.Context, target string) error
- type FileSystemStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMountedSource ¶
func ListMounts ¶
Types ¶
type FileSystemStats ¶ added in v0.3.0
func StatFS ¶ added in v0.3.0
func StatFS(mountDir string) (*FileSystemStats, error)
Click to show internal directories.
Click to hide internal directories.