In linux, apart from using the disk code (/dev/sd *), you can also directly use the disk label as the disk mount point. Advantage: No matter how the disk code changes, no matter which IDE interface you insert the disk into, because the disk is mounted through the label, which interface the disk is inserted will not be affected!
Disadvantages of www.2cto.com: it is a tragedy to insert two disks with duplicate labels because the system cannot determine which disk partition slot is correct! View the System Disk code: system mount restriction root directory/must be mounted, and be sure to be mounted to other mount points before other mount points. The UUID Command [html] sudo blkid of the disk partition must be viewed for the Created directory www.2cto.com. Note: you can use the windows partition label to obtain its uuid www.2cto.com to modify the automatically mounted configuration file command [html] sudo vim/etc/fstab configuration instructions [html] <fs spec> <fs file> <fs vfstype> <fs mntops> <fs freq> <fs passno> description, take mounting/dev/sda3 as an example (my windows system drive D): <fs spec>: partition location, you can give UUID or LABEL, for example: UUID = 6E9ADAC29ADA85CD or LABEL = software <fs file>: The location of the specific mount point, for example:/home/wzy/<fs vfstype>: disk type, linux partition is usually ext4, windows partition is generally ntfs <fs mntops>: mount parameter, which is generally defaults <fs freq>: disk check. Default Value: 0 <fs passno>: disk check. Default Value: 0, do not check www.2cto.com After configuring the instance. Do not mount www.2cto.com to the root directory of the current user. Otherwise, the mounted partition will overwrite the content of the current partition! After saving the file and restarting the machine, you can see that the partition is automatically mounted! Hey, I hope it will help you!