From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 21:32:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A1E516A4CF for ; Thu, 10 Mar 2005 21:32:30 +0000 (GMT) Received: from hotmail.com (bay15-f31.bay15.hotmail.com [65.54.185.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F7C143D4C for ; Thu, 10 Mar 2005 21:32:30 +0000 (GMT) (envelope-from carlj1752@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 10 Mar 2005 13:32:30 -0800 Message-ID: Received: from 128.30.86.40 by by15fd.bay15.hotmail.msn.com with HTTP; Thu, 10 Mar 2005 21:32:30 GMT X-Originating-IP: [128.30.86.40] X-Originating-Email: [carlj1752@hotmail.com] X-Sender: carlj1752@hotmail.com From: "Carl J" To: freebsd-questions@freebsd.org Date: Thu, 10 Mar 2005 16:32:30 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 10 Mar 2005 21:32:30.0396 (UTC) FILETIME=[A9DCD7C0:01C525B8] Subject: Location of disklabel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 21:32:30 -0000 Hi all! To all your FS guru's outthere, I desperately need to know where the disklabel is stored (since my disk is in trouble!) Situation: My /dev/ad0s1 has 2 partitions: "a" (FS) followed by "b" (swap). By using "disklabel -r", I see my "a" and "b" indeed take up the entire slice. My desperate question: Where, then, is the "disklabel" stored? Somewhere in the partition table? The Master Boot Record? The reserved cylinder #0? Or is it stored somewhere inside /dev/ad0s1a ?? (if that's the case, does that mean the UFS1 intentionally left some space unused, for this purpose? And if so, is it always at a fixed location within a UFS1 slice?) What if in my slice, I have SWAP first, and then UFS1, then does that mean the SWAP Format also reserves some unused space for the disklabel to go??? Sorry if the question is stupid. I just somehow couldn't logically see where it would be stored, and yet be compatible with having other OS on the same drive... etc. Thanks! - Carl