➜ ~ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 114G 97G 12G 90% /media/brian/4ef34b75-9381-4e31-a721-74444c6f9960
/dev/sdb3 152G 46G 99G 32% /media/brian/NEW
➜ ~ sudo blkid
/dev/sda2: UUID="4ef34b75-9381-4e31-a721-74444c6f9960" TYPE="ext3"
/dev/sdb3: UUID="88ed7e97-8edb-4e7c-a87f-1d866e288642" TYPE="ext4" LABEL="NEW"
两行的差别是LABEL="NEW",可以用e2label修改LABEL
sudo e2label /dev/sda2 study
重启电脑
或者手动umount /dev/sda2
mount /dev/sda2 /media/brian/study
➜ ~ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 114G 97G 12G 90% /media/brian/study
/dev/sdb3 152G 46G 99G 32% /media/brian/NEW
也可以通过修改/etc/fstab的方式修改挂载的卷标