Struct procinfo::pid::Mountinfo
[−]
[src]
pub struct Mountinfo { pub mount_id: isize, pub parent_id: isize, pub major: usize, pub minor: usize, pub root: PathBuf, pub mount_point: PathBuf, pub mount_options: Vec<MountOption>, pub opt_fields: Vec<OptionalField>, pub fs_type: (String, Option<String>), pub mount_src: Option<String>, pub super_opts: Vec<String>, }
Process mounts information.
See proc(5)
for format details.
Fields
mount_id: isize
Unique ID for the mount.
parent_id: isize
ID of the parent mount.
major: usize
Device major ID (class).
minor: usize
Device minor ID (instance).
root: PathBuf
Pathname which forms the root of this mount.
mount_point: PathBuf
Mount pathname relative to the process's root.
mount_options: Vec<MountOption>
mount options.
opt_fields: Vec<OptionalField>
Optional fields (tag with optional value).
fs_type: (String, Option<String>)
Filesystem type (main type with optional sub-type).
mount_src: Option<String>
Filesystem specific information.
super_opts: Vec<String>
Superblock options.
Trait Implementations
impl Debug for Mountinfo
[src]
impl PartialEq for Mountinfo
[src]
fn eq(&self, __arg_0: &Mountinfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Mountinfo) -> bool
This method tests for !=
.