查询分区UUID值可以使用下面的命令:
Form UUID:
ls -al /dev/disk/by-uuid
From Label:
ls -al /dev/disk/by-label
sudo vi /etc/fstab
example:
UUID=45bdb727-57db-46c2-8b33-e2dc813c0e18 /run/media/docs ntfs defaults 0 1
查询分区UUID值可以使用下面的命令:
Form UUID:
ls -al /dev/disk/by-uuid
From Label:
ls -al /dev/disk/by-label
sudo vi /etc/fstab
example:
UUID=45bdb727-57db-46c2-8b33-e2dc813c0e18 /run/media/docs ntfs defaults 0 1