From owner-freebsd-questions@FreeBSD.ORG Fri Mar 14 11:00:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 832C91065674 for ; Fri, 14 Mar 2008 11:00:53 +0000 (UTC) (envelope-from tektonaut@fuckner.net) Received: from dedihh.fuckner.net (dedihh.fuckner.net [81.209.183.161]) by mx1.freebsd.org (Postfix) with ESMTP id 69DDE8FC23 for ; Fri, 14 Mar 2008 11:00:53 +0000 (UTC) (envelope-from tektonaut@fuckner.net) Received: from localhost (localhost [127.0.0.1]) by dedihh.fuckner.net (Postfix) with ESMTP id E94F261D41 for ; Fri, 14 Mar 2008 11:41:01 +0100 (CET) X-Virus-Scanned: amavisd-new at fuckner.net Received: from dedihh.fuckner.net ([127.0.0.1]) by localhost (dedihh.fuckner.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id lB66OFy2SFbf for ; Fri, 14 Mar 2008 11:40:58 +0100 (CET) Received: from [10.12.3.67] (e176170045.adsl.alicedsl.de [85.176.170.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by dedihh.fuckner.net (Postfix) with ESMTPSA id ECE3A61D4F for ; Fri, 14 Mar 2008 11:40:56 +0100 (CET) Message-ID: <47DA5637.7000209@fuckner.net> Date: Fri, 14 Mar 2008 11:40:55 +0100 From: Tektonaut User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: bsdlabel offset X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 11:00:53 -0000 Hi, following bsdllabel output caught my attention: # size offset fstype [fsize bsize bps/cpg] a: 2097152 0 4.2BSD 2048 16384 28552 b: 4194304 2097152 swap c: 312576642 0 unused 0 0 # "raw" part, don't edit d: 33554432 6291456 4.2BSD 2048 16384 28552 ... I created this disk with sade or sysinstall. What I'm not sure about is that partition 'a' has an offset of 0. With an 8k big /boot/boot I would guess offset should be 16block large. But since the disk is booting, some boot1 loader ist located at sector 0 (from the beginning of this slice). How is it assured, that the first block will never be overwritten? Where is boot1 located, where boot2? Comparing the first sector with boot and boot1 differs already at the first char. (and there were no updates so far) Little bemused regards, Adam --