Updating etc fstab

Posted by / 16-Mar-2016 01:00

Updating etc fstab

It is the duty of the system administrator to properly create and maintain the fstab file.While fstab is still used for basic system configuration, for other uses it has been superseded by automatic mounting mechanisms. The fstab file is read by the command to modify that structure. The fstab file typically lists all available disk partitions and other types of file systems and data sources that are not necessarily disk-based, and indicates how they are to be initialized or otherwise integrated into the larger file system structure.

But this very rough estimate does apply for your embedded device!

Programs such as pmount allow ordinary users to mount and unmount filesystems without a corresponding fstab entry; traditional Unix has always allowed privileged users (the root user and users in the wheel group) to mount or unmount devices without an fstab entry.

The following is an example of an fstab file on a typical Linux system.

#### Global options config 'global' # mount swap devices that don't have their own config section option anon_swap '0' # mount block devices that don't have their own config section option anon_mount '0' # automatically mount block devices when they appear option auto_swap '1' # automatically mount swap devices when they appear option auto_mount '1' # wait X seconds before trying to mount root devices on boot option delay_root '0' # run e2fsck on device prior to a mount option check_fs '0' #### Mount sections.

Note that partitions/devices can either be defined it by their device file, mount point or UUID (or more at the same time).

updating etc fstab-65updating etc fstab-52updating etc fstab-54

One thought on “updating etc fstab”

  1. James Preece, also known as The Dating Guru, says there's one sign you can look out for that proves you and your partner are meant to be - and if it's there, you're in it for the long haul.

  2. Battered Women's Justice Project offers training, technical assistance, and consultation on the most promising practices of the criminal and civil justice systems in addressing domestic violence.