FS represents a pseudo-filesystem, normally /proc or /sys, which provides an
interface to kernel data structures. Path appends the given path elements to the filesystem path, adding separators
as necessary.
func NewFS(mountPoint string) (FS, error)
Package-Level Functions (only one)
NewFS returns a new FS mounted under the given mountPoint. It will error
if the mount point can't be read.
Package-Level Constants (total 4)
DefaultConfigfsMountPoint is the common mount point of the configfs.
DefaultProcMountPoint is the common mount point of the proc filesystem.
DefaultSelinuxMountPoint is the common mount point of the selinuxfs.
DefaultSysMountPoint is the common mount point of the sys filesystem.
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.