ratz/src/system/capacity/cgroups/mountpoint.go

const _mountInfoSep

const _mountInfoOptsSep

const _mountInfoOptionalFieldsSep

const _miFieldIDMountID

const _miFieldIDParentID

const _miFieldIDDeviceID

const _miFieldIDRoot

const _miFieldIDMountPoint

const _miFieldIDOptions

const _miFieldIDOptionalFields

const _miFieldCountFirstHalf

const _miFieldOffsetFSType

const _miFieldOffsetMountSource

const _miFieldOffsetSuperOptions

const _miFieldCountSecondHalf

const _miFieldCountMin

type MountPoint

// NewMountPointFromLine parses a line read from `/proc/$PID/mountinfo` and
// returns a new *MountPoint.
func NewMountPointFromLine(line string) (*MountPoint, error) {}

// Translate converts an absolute path inside the *MountPoint's file system to
// the host file system path in the mount namespace the *MountPoint belongs to.
func (mp *MountPoint) Translate(absPath string) (string, error) {}

// parseMountInfo parses procPathMountInfo (usually at `/proc/$PID/mountinfo`)
// and yields parsed *MountPoint into newMountPoint.
func parseMountInfo(procPathMountInfo string, newMountPoint func(*MountPoint) error) error {}