From owner-freebsd-stable Sun Nov 11 16:55:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 12A7137B405; Sun, 11 Nov 2001 16:55:53 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.3) with ESMTP id fAC0vR803652; Sun, 11 Nov 2001 16:57:28 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200111120057.fAC0vR803652@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: clefevre@citeweb.net Cc: Matthew Dillon , John De Boskey , Stable List Subject: Re: "disklabel -rw ar0 auto" breaks HPT raid0+1 In-reply-to: Your message of "Sun, 11 Nov 2001 23:17:58 +0100." <200111112217.fABMHw017887@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Nov 2001 16:57:27 -0800 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Matthew Dillon wrote: > > There is a section near the end of the 'disklabel' manual page that > > describes how to partition a disk with a real slice entry instead of > > dangerously dedicated mode. > > are you talking about the "BUG" section ? it only say that disklabel > doesn't clobber the partition table. the problem is that it overwrite > the following 15 sectors w/ boot2 while the first 10 sectors are used > by the RAID hardware... do you see the problem. using fdisk, disklabel > writes it's boot informations starting at sector 64 since the first > half cylinder is reserved by fdisk. so, it doesn't clobber anything. > is this explanation more clear ? The region owned by the firmware should *not* be visible to applications opening the device. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message