Struct fstab::FsTab [] [src]

pub struct FsTab { /* fields omitted */ }

Methods

impl FsTab
[src]

[src]

[src]

Takes the location to the fstab and parses it. On linux variants this is usually /etc/fstab. On SVR4 systems store block devices and mount point information in /etc/vfstab file. AIX stores block device and mount points information in /etc/filesystems file.

[src]

Add a new entry to the fstab. If the fstab previously did not contain this entry then true is returned. Otherwise it will return false indicating it has been updated

[src]

Bulk add a new entries to the fstab.

[src]

Remove the fstab entry that corresponds to the spec given. IE: first fields match Returns true if the value was present in the fstab.

Trait Implementations

impl Debug for FsTab
[src]

[src]

Formats the value using the given formatter.

impl Default for FsTab
[src]

[src]

Returns the "default value" for a type. Read more