Updating etc fstab

One means the backup should occur daily, two means the backup should be every other day, and so on.

This number is used for automated backup routines that can parse the /etc/fstab file for this information.

updating etc fstab-45

some nfs share) anywhere on your system using the mount command.

Everything works fine but if you restart your computer, your folder is not mounted anymore.

There should always be 6 parameters on every line, divided by one or more spaces.

The first parameter is the device you would like to mount and the second one specifies the mount point (a folder, where the device will be mounted). You may also specify auto, if you wish to let the system guess. The most important are: All values are separated by comma(,).

Linux uses the /etc/rc initialization file (run when Linux boots) to execute the command: mount -av When Linux executes this command, it knows to read the file /etc/fstab to find out which filesystems have to be mounted and where they should be mounted.

You also can use the following command to mount all the filesystems in the /etc/fstab file: mountall Not all versions of Linux support the mountall command, but all should support the mount command line.

This command is usually embedded in the /etc/rc file (so it is executed automatically when Linux boots), although it can be run from the command line just as easily.

Imagine a situation that you have mounted something (e.g.

The pass number indicates the order in which the fsck utility should check the filesystem.

One means the filesystem should be checked first, two means it should be checked second, and so on.

See fstab(5).## You can see, that the syntax is very simple.

Comments are closed.