Struct fstab::FsTab [] [src]

pub struct FsTab { /* fields omitted */ }

Methods

impl FsTab
[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.

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

Bulk add a new entries to the fstab.

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]

Formats the value using the given formatter.