Subject: Re: kern/25108: Default disklabel for cd(4)
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 05/07/2004 18:24:18
> > +	if (lp->d_partitions[RAW_PART].p_fstype == FS_UNUSED)
> > +		lp->d_partitions[RAW_PART].p_fstype = FS_BSDFFS;
> 
> Does this mean that the raw partition will always be of type 4.2BSD ?
> I think it should remain as unused.

You are right!  I was mislead by noticing the the cd driver sets
the raw partition to FS_ISO9660 (or whatever the ident is).

That check would need to go into the entry for ptn 'a'.
(or maybe get the default from the original entry for 'a').

Of course the ptn type doesn't matter (much) and won't stop a mount.

	David

-- 
David Laight: david@l8s.co.uk