xuefeng@xuefeng:~$ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
loop0 squashfs /snap/gtk-common-themes/1506
loop1 squashfs /snap/gnome-calculator/748
loop2 squashfs /snap/core18/1885
loop3 squashfs /snap/gnome-3-34-1804/36
loop4 squashfs /snap/snapd/8542
loop5 squashfs /snap/gnome-characters/550
loop6 squashfs /snap/gnome-logs/100
loop7 squashfs /snap/gnome-system-monitor/148
sda
├─sda1
└─sda2 ext4 workDisk 66ef7da5-d28e-4099-9084-0bc0833cdbdc
nvme0n1
├─nvme0n1p1 vfat 56A6-FEEC /boot/efi
└─nvme0n1p2 ext4 7376562c-1f33-420b-bb0e-d6d40b193a81 /
xuefeng@xuefeng:~$ 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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=7376562c-1f33-420b-bb0e-d6d40b193a81 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=56A6-FEEC /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
UUID=66ef7da5-d28e-4099-9084-0bc0833cdbdc /home/xuefeng/workspace ext4 defaults 0 0
xuefeng@xuefeng:~$
然后系统重启就可以挂在到对应的目录了
其他指令:
fdisk -l