mountinfo

package
v0.0.0-...-62a210f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: BSD-2-Clause, BSD-3-Clause, HPND Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPath = "/proc/self/mountinfo"

Variables

This section is empty.

Functions

This section is empty.

Types

type Mount

type Mount struct {
	Major      string
	Minor      string
	Mountpoint string
	FSType     string
}

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func Open

func Open(p string) (*Reader, error)

func (*Reader) Close

func (r *Reader) Close() error

func (*Reader) Next

func (r *Reader) Next() (*Mount, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL