peigen@peigen-laptop:/media/sda5/music$ ls -l /dev/disk/by-uuid/ 总计 0 lrwxrwxrwx 1 root root 10 2010-01-01 10:11 509e4025-8e03-4f28-9759-dc287a4ed530 -> ../../sda8 lrwxrwxrwx 1 root root 10 2010-01-01 10:11 9330e9b9-bd5c-4859-b4dd-f43a0631771d -> ../../sda7 lrwxrwxrwx 1 root root 10 2010-01-01 10:11 9c9ed1cd-88ac-48d3-aafc-305dda0d2bdc -> ../../sda9 lrwxrwxrwx 1 root root 10 2010-01-01 10:11 C94B-9080 -> ../../sda5 lrwxrwxrwx 1 root root 10 2010-01-01 10:11 cab61bc5-a10f-4559-b968-d1018e7c87b8 -> ../../sda1 lrwxrwxrwx 1 root root 11 2010-01-01 10:11 d540cf8b-e75d-41a1-9ab6-7f59b27e83e5 -> ../../sda10 lrwxrwxrwx 1 root root 10 2010-01-01 10:11 DC55-F7FD -> ../../sda6 peigen@peigen-laptop:/media/sda5/music$
编辑fstab
sudo vi /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
8 proc /proc proc defaults 0 0
9 # / was on /dev/sda1 during installation
10 UUID=cab61bc5-a10f-4559-b968-d1018e7c87b8 / ext4 errors=remount-ro 0 1
11 # /home was on /dev/sda9 during installation
12 UUID=9c9ed1cd-88ac-48d3-aafc-305dda0d2bdc /home ext4 defaults 0 2
13 # swap was on /dev/sda8 during installation
14 UUID=509e4025-8e03-4f28-9759-dc287a4ed530 none swap sw 0 0
15
16 #sda5
17 UUID=C94B-9080 /media/sda5 vfat defaults,utf8,umask=007,uid=1000 0 0
18
19 #sda6
20 UUID=DC55-F7FD /media/sda6 vfat defaults,utf8,umask=007,uid=1000 0 0
21
22 #sda7
23 UUID=9330e9b9-bd5c-4859-b4dd-f43a0631771d /media/sda7 ext4 defaults 0 0
24
25 #sda10
26 UUID=d540cf8b-e75d-41a1-9ab6-7f59b27e83e5 /media/sda10 ext3 defaults 0 0