One, Mount: Mount command
1. Command format
mount [parameter] [device name] [Mount Point]
2. Common parameters
-A: Install all file systems listed in the/etc/fstab file
-F: Disguise mount, make check device and directory appearance, but do not really mount file system
-R: Installing the file system as read-only
-V: Detailed display of installation information
-W: Install the file system as writable (default command)
-T: Developing the device's file system type (EXT2/EXT3/EXT4/XFS/NFS/NTFS/AUTO/DEFAULTS)
Second, Umount: unloading equipment
1. Command format
umount [parameter] [Mount Point]
2. Common parameters
-A: Uninstalling all file systems recorded in the/etc/mtab
-N: Do not store information in the/etc/mtab file when uninstalling
-R: Attempt to re-mount the file system as read-only if it cannot be successfully uninstalled
Third, Blkid: Get file system type, UUID
Iv. Automatic mount of Boot
1. Use Blkid to view the UUID of the device
2. Write the mount command to the/etc/fstab file
#使用UUID挂载UUID=0e01e144-f321-478d-a234-c396c698688a/ boot ext2 defaults 0 2#使用设备名称挂载/dev/md127 /mnt/raid0 xfs defaults 0
0
3. Check with Mount-a
Add: Use the device name to do the boot automatically mount, there is a risk, because the device name every time the boot is likely to change, if the change, then Linux boot will fail to enter the emergency mode, so it is advisable to use the UUID to mount
Common Linux Commands: Mount/umount/blkid