在Ubuntu中,要卸載一個掛載在/mnt目錄下的分區,你可以使用umount命令。具體步驟如下:
/mnt
umount
df -h
/mnt/my_partition
sudo umount /mnt/my_partition
注意:在卸載分區之前,請確保沒有任何文件或進程在使用該分區,否則會導致卸載失敗。