检查磁盘uuid 与dev设备名对照表
发布时间 2023-09-23 10:24:47作者: WbnProgress
#查看 boot 挂载 uuid efi
xxx@dellhome:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
# / was on /dev/nvme0n1p2 during installation
UUID=24fb75f3-238b-4a42-8686-48381fccba51 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme1n1p1 during installation
UUID=008D-BF8B /boot/efi vfat umask=0077 0 1
xxx@dellhome:~$ ls /dev/disk/by-uuid -al
总计 0
drwxr-xr-x 2 root root 240 9月 23 09:54 .
drwxr-xr-x 8 root root 160 9月 23 09:54 ..
lrwxrwxrwx 1 root root 15 9月 23 09:54 008D-BF8B -> ../../nvme1n1p1
lrwxrwxrwx 1 root root 15 9月 23 09:54 04DCD4EDDCD4D9CE -> ../../nvme1n1p7
lrwxrwxrwx 1 root root 15 9月 23 09:54 24fb75f3-238b-4a42-8686-48381fccba51 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 9月 23 09:54 296bc9fc-23da-4cf0-92ef-12143d6867e2 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 9月 23 09:54 34083EDC083E9CB4 -> ../../nvme1n1p8
lrwxrwxrwx 1 root root 15 9月 23 09:54 544161b9-f479-4583-aa95-647e197b7145 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 9月 23 09:54 7E20D4DC20D49D09 -> ../../nvme1n1p6
lrwxrwxrwx 1 root root 15 9月 23 09:54 946E4D4F6E4D2B76 -> ../../nvme1n1p4
lrwxrwxrwx 1 root root 15 9月 23 09:54 D414BEC214BEA6C0 -> ../../nvme1n1p3
lrwxrwxrwx 1 root root 15 9月 23 09:54 DA8A9F9D8A9F74AB -> ../../nvme1n1p5