/ Etc / fstab file where need to pay attention

 

If we need to put a partition at boot time to automatically mount a directory, you need to modify / etc / fstab file, under normal circumstances we would be written in accordance with the partitions like / as follows:
/ dev / the SDD1 / ext3 Backup Defaults 1 1

 

In fact, it is easy to go wrong, resulting in the detection start time to stop when the district. The correct wording is:
/ dev / SDD1 / Backup ext3 Defaults 0 0
or:
/ dev / SDD1 / 2 0 Backup ext3 Defaults

The main is the last parameter, if written in a very easy and / partitions create a conflict, the specific write 0 or 2 to see his own request.

Description of each column:

The first column: device name or device label name
in the second column: mount device directory
the third column: the device file system
in the fourth column: Mounting parameters
fifth column: Indicate whether you want to backup (0 for no backup, 1 to back up, generally root partition to be backed up)
in the sixth column: indicates the self-test sequence. (0 for no self-test, 1 or 2 is to be self-test, if the root partition is set to 1, the other partition only 2)

Reproduced in: https: //www.cnblogs.com/lvsong/archive/2010/03/09/1775675.html

Guess you like

Origin blog.csdn.net/weixin_34284188/article/details/92959033