Struct libmount::Remount [] [src]

pub struct Remount { /* fields omitted */ }

A remount definition

Usually it is used to change mount flags for a mounted filesystem. Especially to make a readonly filesystem writable or vice versa.

Methods

impl Remount
[src]

Set bind flag Note: remount readonly doesn't work without MS_BIND flag inside unpriviledged user namespaces

Set readonly flag

Set nodev flag

Set noexec flag

Set nosuid flag

Set noatime flag

Set nodiratime flag

Set relatime flag

Set strictatime flag

Set dirsync flag

Set synchronous flag

Set mandlock flag

Execute a remount

Execute a remount and explain the error immediately

Trait Implementations

impl Debug for Remount
[src]

Formats the value using the given formatter.

impl Clone for Remount
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Remount
[src]

Formats the value using the given formatter. Read more