From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 30 15:01:12 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCEE416A4E5 for ; Sun, 30 Jul 2006 15:01:12 +0000 (UTC) (envelope-from amdmi3@mail.ru) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3EB643D5E for ; Sun, 30 Jul 2006 15:00:58 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=1605 helo=nexii.panopticon) by mx1.mail.ru with esmtp id 1G7Cmn-0001ry-00; Sun, 30 Jul 2006 19:00:57 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id DDFAC11418; Sun, 30 Jul 2006 19:00:52 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 2276D43CF; Sun, 30 Jul 2006 19:00:54 +0400 (MSD) Date: Sun, 30 Jul 2006 19:00:54 +0400 From: Dmitry Marakasov To: David Gilbert Message-ID: <20060730150054.GA40518@hades.panopticon> Mail-Followup-To: David Gilbert , freebsd-hackers@freebsd.org References: <20060727063936.GA1246@titan.klemm.apsfilter.org> <20060727122159.GB4217@britannica.bec.de> <20060727202528.GA14954@titan.klemm.apsfilter.org> <200607282236.k6SMaRlj089446@apollo.backplane.com> <20060729141313.GA43548@hades.panopticon> <17612.48101.830405.56113@canoe.dclg.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <17612.48101.830405.56113@canoe.dclg.ca> User-Agent: Mutt/1.5.11 Cc: freebsd-hackers@freebsd.org Subject: Re: disklabel differences FreeBSD, DragonFly X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 15:01:12 -0000 * David Gilbert (dgilbert@dclg.ca) wrote: > Dmitry> About `lack' of partitions - don't forget that labels can be > Dmitry> nested. Just do `bsdlabel -w /dev/ad0s1e` - you'll get > Dmitry> /dev/ad0s1ea. > Don't also forget that gpt(8) exists and seems to provide for large > numbers of partitions. It even seems to be compiled into GENERIC by > default. Afaik, one is unable to boot from gpt partitions. However, I myself didn't try it yet. Do gpt fully eliminate need in mbr/bsdlabel partitioning? There is also issue with UFS filesystems and bsdlabel - some filesystem data is stored in label itself: # bsdlabel /dev/ad0s1 # size offset fstype [fsize bsize bps/cpg] a: 262144 0 4.2BSD 2048 16384 16392 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For example, fsck(8) makes use of it - you can newfs /dev/ad0s1a && fsck /dev/ad0s1a but you can't newfs /dev/ad0 && fsck /dev/ad0 the latter will complain about unknown filesystem type and you'll have to use fsck_ufs instead. This shouldn't affect automatic fsck (because of fstab), but I can't guarantee that there are no any other drawbacks. -- Best regards, Dmitry mailto:amdmi3@mail.ru