Subject: Re: A new partition handling scheme: wedges
To: Ty Sarna <tsarna@endicor.com>
From: Robert Black <r.black@ic.ac.uk>
List: tech-kern
Date: 02/05/1998 16:20:49
On Feb 5, 12:09am, Ty Sarna wrote:
> Subject: Re: A new partition handling scheme: wedges
>
> Alternately you could stick a label containing a name as the first block
> inside the partition under any scheme, with the risk that won't work if
> something else wants to be there. I dunno.
>
> > 	/dev/dsk/NetBSD-home runs into problems when someone names a disk
> > 	'sd0' or similar... (dumb though it may be)
>
> Hmmm...  good point.  They could also do less stupid things that would
> be just as bad.  Maybe MBR.COM (random example) uses a filesystem called
> /mbr (we have one called /endicor, after all).  So they name the
> partition "mbr", and then things break :-(.  I guess I'm for
> "/dev/dsk/named/...".

Alternatively, how about /dev/dsk/NetBSD-home and /dev/scsi/sd0. Or you could
even treat disks with illegal names (eg sd0) as unnamed. Of course whatever we
do has to stay consistent when you have named subpartitions of named partitions
and there is a clash (provided you can mount root then screaming on console and
giving up in disgust might be an option - ie you can't access either partition
until you rename one of them).

Cheers

Rob Black