Jex’s Note

Linux Mount 掛載

mount 唯讀

mount -r /dev/sda1 /test

掛載 usb

sudo fdisk -l
cd /mnt
sudo mkdir usb
sudo mount -v -t ntfs /dev/sdb5 /mnt/usb

-v, –verbose : Verbose mode. -t, –types vfstype : The argument following the -t is used to indicate the filesystem type. -t 不一定要明確指定格式, 也可以讓系統自動判別, ex: -t auto

卸載 usb

sudo umount /dev/sdb5

Comments