cvs commit: src/release/i386 drivers.conf
Ruslan Ermilov
ru at freebsd.org
Fri Jul 25 01:24:08 PDT 2003
On Fri, Jul 25, 2003 at 01:41:33AM -0600, Scott Long wrote:
> Ruslan Ermilov wrote:
> >On Thu, Jul 24, 2003 at 05:10:33PM -0700, Scott Long wrote:
> >
> >>scottl 2003/07/24 17:10:33 PDT
> >>
> >> FreeBSD src repository
> >>
> >> Modified files:
> >> release/i386 drivers.conf
> >> Log:
> >> Move the mlx driver back into the kernel so that the drivers floppy
> >> doesn't
> >> overflow.
> >>
> >> Revision Changes Path
> >> 1.29 +0 -1 src/release/i386/drivers.conf
> >>
> >
> >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.
> >
> >
> >Cheers,
> >
> >
>
> 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:
dd if=/dev/zero of=floppy.img bs=1k count=1440
mdconfig -a -t vnode -f floppy.img -u 0
disklabel -r -w md0 fd1440
newfs -O1 -ospace -m0 -i40000 /dev/md0c
df -k /dev/md0
mdconfig -d -u 0
Using this script, which resembles the numbers for drivers.flp,
I get:
1. Unpatched newfs(8):
: /dev/md0c: 1.4MB (2880 sectors) block size 4096, fragment size 512
: using 2 cylinder groups of 1.22MB, 312 blks, 32 inodes.
^
: super-block backups (for fsck -b #) at:
: 32, 2528
: Filesystem 1K-blocks Used Avail Capacity Mounted on
: /dev/md0 1391 0 1391 0%
^^^^
2. Patched newfs(8):
: /dev/md0c: 1.4MB (2880 sectors) block size 4096, fragment size 512
: using 1 cylinder groups of 1.41MB, 361 blks, 64 inodes.
^
: super-block backups (for fsck -b #) at:
: 32
: Filesystem 1K-blocks Used Avail Capacity Mounted on
: /dev/md0 1403 0 1403 0%
^^^^
> 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'm not committing it since February 26th, so waiting a couple
of months more is not an issue. :-)
Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
ru at sunbay.com Sunbay Software Ltd,
ru at FreeBSD.org FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030725/6cd77426/attachment.bin
More information about the cvs-src
mailing list