Friday, July 30, 2010

usb mount on linux(ubuntu)

sudo fdisk -l
// you can adjust your device name using fdisk -l ...

// fat file format
sudo mount -t vfat /dev/sdb1 /media/extusb -o utf8
// ntfs file format
sudo mount -t ntfs-3g /dev/sdb1 /media/extusb

//unmount
sudo umount /dev/sdb1
//or
sudo umount /media/extusb

No comments: