Documentation ¶
Overview ¶
Package nfs to mount or unmount filesystem
Package nfs to mount or unmount filesystem
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NFS ¶
type NFS struct { }
NFS to define a local lock when connect or disconnect, in order to preventing mounting and unmounting confusion
func (*NFS) ConnectVolume ¶
ConnectVolume to mount the source to target path, the source path can be block or nfs Example:
mount /dev/sdb /<target-path> mount <source-path> /<target-path>
Click to show internal directories.
Click to hide internal directories.