Although the file system can be mounted manually, but each time the manual mount will be cumbersome, the purpose of the boot mount is to achieve automatic file system mount.
First, boot mount:/etc/fstab and/etc/mtab
This is done primarily by modifying the configuration of the/etc/fstab file. Fstab is the setup at boot time, the actual file system mount is recorded in the two files of/etc/mtab and/proc/mounts.
1, the System mount limit:
A, root directory/must be mounted, and must be first mounted, prior to the other mount point.
B, the other mount point must be a newly created directory, can be arbitrarily specified.
C, all mount points at the same time, can only be mounted once.
D, all partitions can only be mounted once at the same time.
E, if you uninstall, you must first switch the working directory outside the Mount point.
2. Use Cat/etc/fstab to view configuration information:
Label=/home/home ext3 Defaults 1 2
Description of the above 6 fields:
① device name or device label
② mount point
③ File System type
④ File system parameters (see 235 page description)
Can the ⑤ be played by the dump backup command:
0: Do not make a dump backup.
1: Daily dump operation.
2: Other variable-date dump backups.
⑥ whether to test the sector with FSCK:
0: Not tested.
1: The earliest test, generally with the root directory/
2: Other tests.
3. Modify the file using Nono/etc/fstab:
4, use the MOUNT-A command to automatically mount, restart you can see the effect.
Second, special equipment loop mount (image files can be mounted without burning):
1, Mount-o Loop/root/centos.iso/mnt/centos_dvd;
2, Advanced play: Can be in a partition, using the DD command to create a large empty file, formatted after the mount, the equivalent of a new file system.