TBLinux:How mount usb drive
From TBwiki
This page will explain how to mount a usb drive on a Tblinux system. The TMG3200 has a usb port in front of the unit. The TMG800 do not have a usb interface.
Contents |
Mounting a usb drive
Create a directory
mkdir [mounting directory]
- example:
mkdir /mnt/usb/
Determine which device the usb key was discovered
dmesg
- example, in this case it is device 2 (sg2):
sd 3:0:0:0: [sdc] Assuming drive cache: write through sdc: sdc1 sdc2 sd 3:0:0:0: [sdc] Attached SCSI removable disk sd 3:0:0:0: Attached scsi generic sg2 type 0
Mount the usb key
mount /dev/[sdx] [mounting directory]
- example:
mount /dev/sdc2 /mnt/usb/
Unmounting a usb drive
Unmount the usb key
umount [mounting directory]
- example:
umount /mnt/usb/