Subject: Re: Mounting DOS partition - device not configured?
To: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 01/20/1999 20:04:11
On Jan 20, Mason Loring Bliss wrote
> Hi again, all...
> 
> I'm still having no luck mounting a DOS partition on my freshly -current box.
> 
> I get the following:
> 
> ac /# disklabel wd0
> # /dev/rwd0d:
> type: unknown
> disk: SAMSUNG WU33205A
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 6280
> total sectors: 6330240
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # milliseconds
> track-to-track seek: 0  # milliseconds
> drivedata: 0 
> 
> 8 partitions:
> #        size   offset     fstype   [fsize bsize   cpg]
>   d:  6330240        0     unused        0     0         # (Cyl.    0 - 6279)
>   e:  6330177       63     unused        0     0         # (Cyl.    0*- 6279)

The problem is here: you need to have 'MSDOS' in the fstype field
(and the kernel should set it up for you).
What does fdisk output for this disk ?
did you try the 'mbrlabel' program ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     {Net,Free}BSD: 22 ans d'experience feront toujours la difference
--