>>> Linux tutorial directory <<<
File system management-3.2 partition automatic mounting and fstab file repair
Write in the front: If you finish the inspection by yourself, there may be some mistakes. If you find something wrong, you can leave a message or private message me below.
1. / etc / fstab file
-
Field 1: File name or UID of partition device (Universal Unique ID of Hard Disk)
-
Field 2: Mount point
-
Field 3: File system name
-
Field 4: Mounting parameters
-
Field 5: Specify whether the partition is dumped by dump
-
Field 6: Specify whether the partition is detected by fsck
2. Automatic partition mounting
-
vi /etc/fstab
-
Write the following:
-
/dev/sdb1 /disk1 ext4 defaults 1 2
-
Then use the command mount -a to automatically mount the file according to the configuration.
3. / etc / fstab file repair
Write in the back: I hope these explanations will be helpful to you, I hope everyone will like and pay attention to it. Your support is my biggest motivation (๑> <๑)