From owner-cvs-all Wed Jan 29 0:41: 1 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0816F37B401; Wed, 29 Jan 2003 00:40:59 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EA9443F93; Wed, 29 Jan 2003 00:40:58 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h0T8euZE006349; Wed, 29 Jan 2003 09:40:56 +0100 (CET) (envelope-from phk@freebsd.org) To: Ruslan Ermilov Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/disklabel disklabel.8 disklabel.c From: phk@freebsd.org In-Reply-To: Your message of "Wed, 29 Jan 2003 10:18:52 +0200." <20030129081852.GB66833@sunbay.com> Date: Wed, 29 Jan 2003 09:40:56 +0100 Message-ID: <6348.1043829656@critter.freebsd.dk> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030129081852.GB66833@sunbay.com>, Ruslan Ermilov writes: Yes, I'm in the process of testing something similar but my make release keeled over. >Something like this might be needed for systems with this >new disklabel(8) (this is completely untested): > >%%% >Index: doFS.sh >=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/release/scripts/doFS.sh,v >retrieving revision 1.42 >diff -u -r1.42 doFS.sh >--- doFS.sh 4 Nov 2002 00:50:01 -0000 1.42 >+++ doFS.sh 29 Jan 2003 08:17:30 -0000 >@@ -26,6 +26,10 @@ > # so we have to specifically specify -r when we don't have -B. > # disklabel fails otherwise. > # >+if [ -f "${RD}/trees/base/boot/boot" ]; then >+ BOOT1=3D"-B -b ${RD}/trees/base/boot/boot" >+ BOOT2=3D"" >+else > if [ -f "${RD}/trees/base/boot/boot1" ]; then > BOOT1=3D"-B -b ${RD}/trees/base/boot/boot1" > else >@@ -35,6 +39,7 @@ > BOOT2=3D"-s ${RD}/trees/base/boot/boot2" > else > BOOT2=3D"" >+fi > fi >=20 > deadlock=3D20 >%%% > > >Cheers, >--=20 >Ruslan Ermilov Sysadmin and DBA, >ru@sunbay.com Sunbay Software AG, >ru@FreeBSD.org FreeBSD committer, >+380.652.512.251 Simferopol, Ukraine > >http://www.FreeBSD.org The Power To Serve >http://www.oracle.com Enabling The Information Age > >--24zk1gE8NUlDmwG9 >Content-Type: application/pgp-signature >Content-Disposition: inline > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.1 (FreeBSD) > >iD8DBQE+N45sUkv4P6juNwoRAnvzAJ97UYbQ4O2FZc7VWZpO5U66a/FTDwCbBRZS >iL5hL9NgMPG1Lj4tNWTlT20= >=I6O8 >-----END PGP SIGNATURE----- > >--24zk1gE8NUlDmwG9-- > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message