Subject: Re: How to mount ms-dos partitions?
To: Matt Ragan <mragan@tivoli.com>
From: John F. Woods <jfw@jfwhome.funhouse.com>
List: port-i386
Date: 06/27/1997 14:45:53
> >As it stands right now, the "right way" to do this is to use
> >disklabel(8) to set one of your BSD partitions to point to the DOS
> >partition and to set the appropriate file type.

> So, basically, if you don't have a BSD partition on your disk, which is the
> case with my system, since all of my DOS/NT crap is on my slow sd0, and 
> NetBSD is on my faster sd1, you're screwed.

If the DOS disk is all one big happy partition, it should work to just mount 
dev/sd0d.  It *should*, that is, but it doesn't.  ;-)  (i.e. it would be very
commonly useful if the DOS FS code was willing to mount on a type "unknown"
d partition if it spots a recognizable DOS disk label at the beginning (after
adjusting offsets appropriately)

Another handy feature which is unimplemented (but which would probably be
easier to do) would be to be able to set the in-core disk label without it
eventually being written out to disk.  (Actually, if I understand it, a
plain DIOCSDINFO should do this; it's just disklabel(8) which insists on
having the new disklabel hit the platters, one way or another.  Maybe
disklabel could be given a "soft disklabel" option?)