Plug in the device. As root do
Code:
cat /var/log/messages
.
You will see a similar output like this one:
Code:
Oct 15 17:23:08 nestor kernel: usb 1-10: new high speed USB device using ehci_hcd and address 6
Oct 15 17:23:08 nestor kernel: usb 1-10: configuration #1 chosen from 1 choice
Oct 15 17:23:08 nestor kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Oct 15 17:23:13 nestor kernel: scsi 5:0:0:0: Direct-Access Generic MP3 player 0100 PQ: 0 ANSI: 4
Oct 15 17:23:13 nestor kernel: SCSI device sdb: 1020032 2048-byte hdwr sectors (2089 MB)
Oct 15 17:23:13 nestor kernel: sdb: Write Protect is off
Oct 15 17:23:13 nestor kernel: SCSI device sdb: 1020032 2048-byte hdwr sectors (2089 MB)
Oct 15 17:23:13 nestor kernel: sdb: Write Protect is off
Oct 15 17:23:13 nestor kernel: sdb: sdb1
From the output you see that the device is named "sdb", the only partition on it is sdb1. To mount it at /mnt/tmp do:
Code:
mount /dev/sdb1 /mnt/tmp
If needed use some umask options to fine tune the permissions that the device gets if it is FAT32 formatted. In this case
Code:
mount -t vfat -o umask=0000 /dev/sdb1 /mnt/tmp
should give all users full write access to it, although it's not very secure of course.