Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 1999 19:38:17 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Warner Losh <imp@village.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/i386/fdisk fdisk.8 fdisk.c 
Message-ID:  <10228.935429897@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 23 Aug 1999 11:28:01 MDT." <199908231728.LAA40006@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10228.935429897>