From owner-freebsd-stable@FreeBSD.ORG Mon Jan 19 02:28:43 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D70DF16A4CE for ; Mon, 19 Jan 2004 02:28:43 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 324CA43D54 for ; Mon, 19 Jan 2004 02:28:32 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i0JASljm042318; Mon, 19 Jan 2004 12:28:53 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i0JASb9a042309; Mon, 19 Jan 2004 12:28:37 +0200 (EET) (envelope-from ru) Date: Mon, 19 Jan 2004 12:28:34 +0200 From: Ruslan Ermilov To: Colin Percival Message-ID: <20040119102834.GD41159@FreeBSD.org.ua> References: <20040118141444.GG51708@sirius.firepipe.net> <20040118235148M.matusita@jp.FreeBSD.org> <20040119092819.GA41159@FreeBSD.org.ua> <6.0.1.1.1.20040119094517.04743ea8@imap.sfu.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JwB53PgKC5A7+0Ej" Content-Disposition: inline In-Reply-To: <6.0.1.1.1.20040119094517.04743ea8@imap.sfu.ca> User-Agent: Mutt/1.5.5.1i cc: stable@freebsd.org Subject: Re: Fix make release for 4-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 10:28:44 -0000 --JwB53PgKC5A7+0Ej Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 19, 2004 at 09:47:45AM +0000, Colin Percival wrote: > At 09:28 19/01/2004, Ruslan Ermilov wrote: > >Maybe it's time for drivers.flp to appear on RELENG_4? If someone > >could MFC the support to sysinstall, I could help with release/ > >bits. >=20 > I've already mentioned this to re@, but if there's a real need > for space-saving, using NetBSD's makefs (ports/sysutils/makefs) >=20 Cool! At a glance it looks like what we need to fully support cross-arch releases, as it supports different byte-ordering. It could also be used to get us closer to "fixing" release/ to not require "root" privileges -- it could be a very useful feature for developers with non-root access on fast machine. ;) > saves about 23k on the mfsroot floppy. >=20 I wonder if this 23k difference is on 5-CURRENT or 4-STABLE, or both? If it is on 5-CURRENT only, does the following patch for FreeBSD's newfs(8) make any difference: %%% Index: mkfs.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sbin/newfs/mkfs.c,v retrieving revision 1.83 diff -u -r1.83 mkfs.c --- mkfs.c 27 Nov 2003 01:19:23 -0000 1.83 +++ mkfs.c 28 Nov 2003 09:33:11 -0000 @@ -324,7 +324,7 @@ for ( ; sblock.fs_fpg < maxblkspercg; sblock.fs_fpg +=3D sblock.fs_frag) { sblock.fs_ipg =3D roundup(howmany(sblock.fs_fpg, fragsperinode), INOPB(&sblock)); - if (sblock.fs_size / sblock.fs_fpg < MINCYLGRPS) + if (sblock.fs_size / sblock.fs_fpg < (Oflag =3D=3D 2 ? MINCYLGRPS : 1)) break; if (CGSIZE(&sblock) < (unsigned long)sblock.fs_bsize) continue; %%% If you don't bite me, I will try it myself. ;) Also, it would be nice to backport it to FreeBSD. And I suspect it doesn't work with UFS2, does it? (We don't need it for releases presently, but anyway.) Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --JwB53PgKC5A7+0Ej Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAC7FSUkv4P6juNwoRAkZwAJ4kV2wUpFnhuBXFt9iepH5ApLoW6wCfZ7gx jW+9kqHxZgwUIL+mMexNEjo= =gxHx -----END PGP SIGNATURE----- --JwB53PgKC5A7+0Ej--