cvs commit: src/release/i386 drivers.conf
Bruce Evans
bde at zeta.org.au
Sat Jul 26 01:54:57 PDT 2003
On Fri, 25 Jul 2003, Ruslan Ermilov wrote:
> On Fri, Jul 25, 2003 at 01:41:33AM -0600, Scott Long wrote:
> > Ruslan Ermilov wrote:
> > >Which reminds me. The floppy wasn't overflowing when building
> > >5.x snapshot on 4.x, due to the differences in file system
> > >layout between 4.x and 5.x. Please see the attached if you're
> > >interested.
> > ...
> > Now that -O2 is the default for newfs in 5-current, does the 'Oflag ==
> > 2' trick still work?
> >
> Yes it does:
>
> 1. doFS.sh creates file systems with -O1
> 2. The patch affects the -O1 case:
>
> > Even if it does, it feels like a hack to me. I'd
> > rather that newfs have an option to directly override the number of
> > c/g's, rather than rely on indirect calculations and magic constants.
> >
> *Shrug*, an option to override a minimum value?
>
> > Please don't commit this until we have discussed it more.
I think the 'Oflag == 2' trick is a hack to avoid touching the -O2 case,
since the -O2 implementors haven't responded and others don't have enough
experience with -O2 to know what is right. OTOH, with -O1 it is well
known that you can't have too few cylinder groups except possibly for
unuseful disk sizes like 40MB, so removing the limit just fixes a bug.
Anyway, there was no limit in until recently, so we have lots of practical
experience with using 1 cylinder group.
Bruce
More information about the cvs-src
mailing list