Struct libmount::Tmpfs[][src]

pub struct Tmpfs { /* fields omitted */ }

A tmpfs mount definition

By default tmpfs is mounted with nosuid,nodev

Methods

impl Tmpfs
[src]

New tmpfs mount point with target path and default settngs

Set size in bytes

Set size in blocks of PAGE_CACHE_SIZE

Maximum number of inodes

Set initial permissions of the root directory

Set initial owner of the root directory

Set initial group of the root directory

Mount the tmpfs

Mount the tmpfs and explain error immediately

Trait Implementations

impl Debug for Tmpfs
[src]

Formats the value using the given formatter. Read more

impl Clone for Tmpfs
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Tmpfs
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Tmpfs

impl Sync for Tmpfs