From owner-cvs-src@FreeBSD.ORG Fri Jul 25 01:24:07 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE9B537B404; Fri, 25 Jul 2003 01:24:07 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00DCD43F3F; Fri, 25 Jul 2003 01:24:04 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h6P8Nv0U054686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jul 2003 11:23:57 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h6P8NvUa054681; Fri, 25 Jul 2003 11:23:57 +0300 (EEST) (envelope-from ru) Date: Fri, 25 Jul 2003 11:23:57 +0300 From: Ruslan Ermilov To: Scott Long Message-ID: <20030725082357.GA53826@sunbay.com> References: <200307250010.h6P0AYKW061085@repoman.freebsd.org> <20030725053806.GA36982@sunbay.com> <3F20DF2D.8030209@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <3F20DF2D.8030209@freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: Bruce Evans cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/release/i386 drivers.conf X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 08:24:08 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > >> Log: > >> Move the mlx driver back into the kernel so that the drivers floppy=20 > >> doesn't > >> overflow. > >>=20 > >> 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, > > > > >=20 > Now that -O2 is the default for newfs in 5-current, does the 'Oflag =3D= =3D=20 > 2' trick still work? >=20 Yes it does: 1. doFS.sh creates file systems with -O1 2. The patch affects the -O1 case: dd if=3D/dev/zero of=3Dfloppy.img bs=3D1k count=3D1440 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. >=20 *Shrug*, an option to override a minimum value? > Please don't commit this until we have discussed it more. >=20 I'm not committing it since February 26th, so waiting a couple of months more is not an issue. :-) Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/IOkdUkv4P6juNwoRAnHFAJ97AWx5ddTXEWzHyn9z03dwjERRzwCeJQ+N 3sASD8tUhZZkiuT9s5DHGQg= =lrTe -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--