Disk partition Table Fstab/etc/fstab
Mount disk on boot, there are 2 ways: 1. Modify Fstab 2. Mount Command Write/etc/rc.local end
The 1.fstab configuration is divided into 6 segments:
1 segment: Device name, can be replaced by Uudi, LABEL,/DEV/SDB1, etc.
2 Segment: Mount point
3 segment: File system format
4 segment: Mount option defaults contains parameters such as Rw,suid,dev,extc,auto,nouser,async
5 segment: 0 not backed up 1 backup
6 segment: 0 boot does not detect disk 1 and 2 is the boot detection, where 1 priority is high, can only give/partition , other partition priority low, very use 2
Note: If the disk is large, more than a few T, turn on the boot detection disk, then the boot time is very long, it may be more than 4 hours.
2. Mount partition command, write to/etc/rc.local, power on automatically execute this command
3.9-Partition Table Fstab