Subject: Re: "file-system MSDOSFS" in sparc/GENERIC?
To: None <port-sparc@netbsd.org>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: port-sparc
Date: 10/25/2001 20:23:55
Brian Seklecki wrote:
> Oddly, with MSDOS formatted floppies, you get a partition table that looks
> like:
> 
> 3 partitions:
> #        size   offset     fstype   [fsize bsize cpg/sgs]
>   c:     1440        0     4.2BSD        0     0     0   # (Cyl.  0 - 79)
> 
> 
> and you can instantly mout it with:
> 
> # mount -t msdos /dev/fd0a /mnt
> 
> ...although /dev/fd0c doesn't work.

That's because the minor number of the floppy device doesn't refer to the
partition and is used to manually select the density. (see fdc(4) manpage on
sparc).  i.e. fd0a (minor device number 0) is the default/automatically
detected density (usually 1.44M), fd0b (1) 1.44MB, fd0c (2) 720KB, fd0e (4)
360KB, not sure about the others..

Partitioning a floppy disk doesn't make much sense anyway that's why every
floppy device always refers to the whole disk parition (c in the disklabel).

-- 
Dies ist Thilos Unix Signature! Viel Spass damit.