First of all, if you're using reasonably recent version of Debian you should see the disk automounted on your desktop. If you dont, try this way: as root, issue the command
tail -f /var/log/messages
and connect your disk. Here's an example of what pops out in case of an iPod:
Sep 24 23:52:10 localhost kernel: usb 5-6: new high speed USB device using ehci_hcd and address 3
Sep 24 23:52:10 localhost kernel: usb 5-6: configuration #1 chosen from 2 choices
Sep 24 23:52:10 localhost kernel: Initializing USB Mass Storage driver...
Sep 24 23:52:10 localhost kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Sep 24 23:52:10 localhost kernel: usbcore: registered new driver usb-storage
Sep 24 23:52:10 localhost kernel: USB Mass Storage support registered.
Sep 24 23:52:15 localhost kernel: Vendor: Apple Model: iPod Rev: 1.62
Sep 24 23:52:15 localhost kernel: Type: Direct-Access ANSI SCSI revision: 00
Sep 24 23:52:15 localhost kernel: SCSI device sdb: 58605120 512-byte hdwr sectors (30006 MB)
Sep 24 23:52:15 localhost kernel: sdb: Write Protect is off
Sep 24 23:52:15 localhost kernel: SCSI device sdb: 58605120 512-byte hdwr sectors (30006 MB)
Sep 24 23:52:15 localhost kernel: sdb: Write Protect is off
Sep 24 23:52:15 localhost kernel: sdb: sdb1 sdb2 sdb3
Sep 24 23:52:15 localhost kernel: sd 2:0:0:0: Attached scsi removable disk sdb
Sep 24 23:52:15 localhost kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
This tells me the iPod's device is called '/dev/sdb' and it contains 3 partitions sdb1, sdb2, sdb3. Now , in order to figure out what is the filesystem type on a given partition, try
cfdisk /dev/sdb
and you should see something like
cfdisk 2.12r
Disk Drive: /dev/sdb
Size: 30005821440 bytes, 30.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 3648
Name Flags Part Type FS Type [Label] Size (MB)
----------------------------------------------------------------- --
Pri/Log Free Space 82.26
sdb2 Boot Primary W95 FAT32 28870.74
sdb3 Primary Linux ext2 1052.84
[ Send Message | View Utumno's Scratchpad | View Weblogs ]
cfdisk 2.12r Disk Drive: /dev/sdb Size: 30005821440 bytes, 30.0 GB Heads: 255 Sectors per Track: 63 Cylinders: 3648 Name Flags Part Type FS Type [Label] Size (MB) ----------------------------------------------------------------- -- Pri/Log Free Space 82.26 sdb2 Boot Primary W95 FAT32 28870.74 sdb3 Primary Linux ext2 1052.84so , say, sdb3 is an ext2, so to mount it[ Parent | Reply to this comment ]