From owner-freebsd-current@FreeBSD.ORG Mon Apr 4 02:15:33 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDB7116A4CE; Mon, 4 Apr 2005 02:15:33 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D093A43D5C; Mon, 4 Apr 2005 02:15:32 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j342FTAr023387; Mon, 4 Apr 2005 11:45:29 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Andrey Chernov Date: Mon, 4 Apr 2005 11:45:17 +0930 User-Agent: KMail/1.8 References: <20050403232027.GA42574@nagual.pp.ru> <200504041107.42147.doconnor@gsoft.com.au> <20050404020924.GA48010@nagual.pp.ru> In-Reply-To: <20050404020924.GA48010@nagual.pp.ru> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1933115.Lj30edQe1a"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200504041145.25265.doconnor@gsoft.com.au> X-Spam-Score: -2.5 () IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: phk@FreeBSD.ORG cc: current@FreeBSD.ORG Subject: Re: Can't change partition table anymore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 02:15:34 -0000 --nextPart1933115.Lj30edQe1a Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Mon, 4 Apr 2005 11:39, Andrey Chernov wrote: > > Make sure you set it back to 0 after you're done. > > Thanx, I'll try, but why fdisk/sysinstall don't do that automatically for > me as it was before for many years? It's not fdisk or sysinstalls job to second guess you. Altering the MBR while you have a partition mounted is potentially quite=20 dangerous. The reason it was possible in the past was because there was no protection= =20 against this kind of thing. > F.e. I can't even change active boot partition. What is foot-shooting > prevention in that case? I see nothing but stupidity. Use boot0cfg and the FreeBSD bootloader instead? It disallows writing the MBR full stop - it does not try and work out what = is=20 changing. Arguably it should be more intelligent, but.. patches accepted ;) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1933115.Lj30edQe1a Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCUKM95ZPcIHs/zowRAnUGAJwPxX66MDivvfFcBDCWdAa9jF9nNACeLCaC uNJ0ah3tunJoBythVLa3hso= =KsQH -----END PGP SIGNATURE----- --nextPart1933115.Lj30edQe1a--