From owner-cvs-all Wed Nov 21 12:26:24 2001 Delivered-To: cvs-all@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id A451B37B418 for ; Wed, 21 Nov 2001 12:26:20 -0800 (PST) Received: (qmail 17342 invoked from network); 21 Nov 2001 20:26:19 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Nov 2001 20:26:19 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011121201637.8A1F13811@overcee.netplex.com.au> Date: Wed, 21 Nov 2001 12:26:18 -0800 (PST) From: John Baldwin To: Peter Wemm Subject: Re: cvs commit: src/sys/kern subr_diskmbr.c Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org 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 On 21-Nov-01 Peter Wemm wrote: > John Baldwin wrote: >> >> On 21-Nov-01 Peter Wemm wrote: >> > peter 2001/11/21 00:31:45 PST >> > >> > Modified files: >> > sys/kern subr_diskmbr.c >> > Log: >> > Recognize the "fixed" geometry in boot1 so that DD disks are not >> > interpreted as real fdisk tables (and fail). >> >> Eh? Did you not kill DD mode in userland? > > Not quite. The problem was that the alternate boot1 layout was not > recognized by subr_diskmbr.c as "dangerous" (and therefore ignored) so it > tried to interpret it and failed messily. > > disklabel -r -w ad1 auto > .. was failing apparently. The whole DD thing still needs to be > resolved. That isn't supposed to work. You don't write a disklabel to a hard drive on a PC, you write a MBR using 'fdisk'. disklabel ad1 auto should fail. Right now it does DD mode. If you don't want it to fail, it should write a disklabel (not a MBR). (If this is a non-boot disk in a FreeBSD only system this would be ok.) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message