Subject: RE: what am I doing wrong
To: Wayne Burgess <wburgess@fun.org.uk>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-help
Date: 01/03/2000 12:08:07
On Mon, 3 Jan 2000, Wayne Burgess wrote:

> 
> Thank you, the mounting of my floppy worked - what is the "a" for.

the "a" (in /dev/fd0a) specifies the "a" partition of the disk.

> I am still having problems with the dos partition, below is the readout of
> my disklabel wd0
> 
> 
> 
> >           #        size   offset    fstype   [fsize bsize   cpg]
> >             a:   305424  2050272      4.2BSD     1024  8192    16   #
> (Cyl.
> > 2034 - 2336)
> >             b:   526176  2355696        swap                        #
> (Cyl.
> > 2337 - 2858)
> >             c:  1843632  2050272      unused        0     0         #
> (Cyl.
> > 2034 - 3862)
> >             d:  4124736        0      unused        0     0         #
> (Cyl.
> > 0 - 4091)
> >             e:  1012032  2881872      4.2BSD     1024  8192    16   #
> (Cyl.
> > 2859 - 3862)
> > 		f:  2050209		63      MSDOS
> > # (Cyl.    0*- 2033)
> 


when you do

mount -t msdos /dev/wd0f /mnt

what does it say?


> and how do I find the label to me cdrom so that I can mount that also.
for your cd, it probably has an iso9660 filesystem.  So you'd do something
like.

mkdir /cdrom    (if you don't already have a /cdrom directory)
mount -t cd9660 -r /dev/cd0a /cdrom

To unmount and eject the cd,

umount /cdrom
eject cd


If you didn't know to use cd0a, you could type

disklabel cd0

and get a list.


-Dan