# Functions
AvailableStorageDrivers returns a list of storage drivers that are available.
CreateMemfd creates a new memfd for the provided byte slice.
DetectFilesystem returns the filesystem on which the passed-in path sits.
DeviceTotalMemory returns the total amount of memory on the system (in bytes).
ExitStatus extracts the exit status from the error returned by exec.Cmd.
FSTypeToName returns the name of the given fs type.
GetAllXattr retrieves all extended attributes associated with a file, directory or symbolic link.
GetErrno checks if the Go error is a kernel errno.
GetMeminfo parses /proc/meminfo for the specified field.
GetMountinfo tracks down the mount entry for the path and returns all MountInfo fields.
GetPollRevents poll for events on provided fd.
GetSystemdListeners returns the socket-activated network listeners, if any.
GetUcred returns the credentials from the remote end of a unix socket.
IsBlockdev checks if the provided file is a block device.
IsBlockdevPath checks if the provided path is a block device.
IsMountPoint returns true if path is a mount point.
LoadModule loads the kernel module with the given name, by invoking modprobe.
NewExecWrapper returns a new ReadWriteCloser wrapper for an os.File.
OpenPty creates a new PTS pair, configures them and returns them.
OpenPtyInDevpts creates a new PTS pair, configures them and returns them.
PathNameDecode decodes a string containing an encoded path back to its original form.
PathNameEncode encodes a path string to be used as part of a file name.
ResolveMountOptions resolves the provided mount options.
No description provided by the author
SetPtySize issues the correct ioctl to resize a pty.
StatVFS retrieves Virtual File System (VFS) info about a path.
SyncFS will force a filesystem sync for the filesystem backing the provided path.
Uname returns Utsname as strings.
# Constants
No description provided by the author
Filesystem magic numbers.
SystemdListenFDsStart is the number of the first file descriptor that might have been opened by systemd when socket activation is enabled.