From owner-cvs-all Mon Aug 23 10:39:23 1999 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 3ECA7157A9; Mon, 23 Aug 1999 10:39:16 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id TAA10230; Mon, 23 Aug 1999 19:38:18 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Warner Losh Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/i386/fdisk fdisk.8 fdisk.c In-reply-to: Your message of "Mon, 23 Aug 1999 11:28:01 MDT." <199908231728.LAA40006@harmony.village.org> Date: Mon, 23 Aug 1999 19:38:17 +0200 Message-ID: <10228.935429897@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199908231728.LAA40006@harmony.village.org>, Warner Losh writes: >In message <199908231106.EAA49762@freefall.freebsd.org> Poul-Henning Kamp writes: >: This wipes the MBR and creates slice 1 as a FreeBSD slice covering the >: disk starting from the second track to the cylinder aligned end of the disk. >: >: This is the most compatibly layout we have as far as I know. > >does it set the active bit? When you say wipes the mbr, does it just >wipe the partition table in the mbr, or the entire mbr (eg boot code)? The entire thing, and it sets the active bit, so now at least you can do: dd if=/dev/zero of=/dev/rda0 bs=1k count=1 fdisk -e -v da0 Now I just need to get disklabel(8) to understand how to: disklabel -r -w da0s1 auto (unless somebody else has better time PLEASE ????) -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message