Subject: Mounting a 2GB MP3 player
To: None <netbsd-help@netbsd.org>
From: Gan Uesli Starling <gan@starling.us>
List: netbsd-help
Date: 06/29/2005 19:50:29
When I plug in the MP3 player, I get this

<snip>
umass0 at uhub4 port 6 configuration 1 interface 0
umass0: COWON iAUDIO 5, rev 2.00/1.10, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <COWON, iAUDIO 5, 0100> disk removable
sd0: fabricating a geometry
sd0: 1991 MB, 1991 cyl, 64 head, 32 sec, 512 bytes/sect x 4079104 sectors
sd0: fabricating a geometry
sd0: fabricating a geometry
</snip>

When I ask about its file system, I get this...

<snip>
baal: {7} sudo disklabel sd0
# /dev/rsd0d:
type: SCSI
disk: mydisk
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1991
total sectors: 4079104
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
  d:   4079104         0     unused      0     0        # (Cyl.      0 - 
   1991*)
  e:   4079042        62      MSDOS                     # (Cyl.      0*- 
   1991*)
disklabel: boot block size 0
disklabel: super block size 0
baal: {8}
</snip>

When I try to mount in the usual way, I get this...

<snip>
baal: {8} sudo mount_msdos -l /dev/sd0e /keyfob
mount_msdos: /dev/sd0e on /keyfob: Invalid argument
baal: {9}
</snip>

What, pray tell, am I doing wrong?

TIA,

Gan

-- 

  Mistera Sturno - Rarest Extinct Bird

  <(+)__       Gan Uesli Starling
   ((__/)=-    Kalamazoo, MI, USA
    `||`
     ++        http://starling.us