Crate fstab [] [src]

Structs

FsEntry

For help with what these fields mean consult: man fstab on linux.

Functions

add_entry

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

parse_fstab

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.

remove_entry

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