Subject: Re: kern/25108: Default disklabel for cd(4)
To: Manuel Bouyer <email@example.com>
From: David Laight <firstname.lastname@example.org>
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 Laight: email@example.com