ls -al /dev/disk/by-uuid/
drwxr-xr-x 2 root root 100 Mar 11 14:08 .
drwxr-xr-x 6 root root 120 Mar 11 14:06 ..
lrwxrwxrwx 1 root root 10 Mar 11 14:06 3db05584-d470-4bfb-bdcb-9ee243ae38ce -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 11 14:06 6e1ada9a-0a7d-4bdd-baad-dcf1e960ff91 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 11 14:08 9ae713e3-ef20-4ac4-af77-b474dbd846d9 -> ../../sdb1
vim /etc/fstab
UUID=9ae713e3-ef20-4ac4-af77-b474dbd846d9 /home/happy ext4 rw,relatime,data=ordered 0 1
Reference:
How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux
AutomaticallyMountPartitions
0 意見:
張貼留言