From owner-freebsd-current@FreeBSD.ORG Wed Apr 30 05:53:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16AEE37B405 for ; Wed, 30 Apr 2003 05:53:24 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33EBD43FD7 for ; Wed, 30 Apr 2003 05:53:23 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h3UCrLs4008171; Wed, 30 Apr 2003 14:53:21 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Heiko Schaefer From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 30 Apr 2003 14:10:57 +0200." <20030430140915.V27116@daneel.foundation.hs> Date: Wed, 30 Apr 2003 14:53:21 +0200 Message-ID: <8170.1051707201@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: gbde init -i issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 12:53:24 -0000 In message <20030430140915.V27116@daneel.foundation.hs>, Heiko Schaefer writes: >> If it is a BSD disklabel or SUN label, change it so it starts at least >> 16 sectors into the disk. > >hm ... i now use a partition that starts 16 sectors later and that problem >is gone. great. > >... this solution disturbs me slightly, but i'll get over it :> >why can't i use the space within a partition for anything i want to ?! I havn't research this, but this is my best guess: Back in the good old days, a VAX used the first N sectors for booting from. Accordingly, filesystems like UFS were designed to leave some sectors at the front for the boot code, so the superblock lives in sector 16 for UFS. When disklabels were added, they retained this bit of hackery, rather than fix it, probably in the name of backwards compatibility. Sun seems to suffer from the same issue. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.