From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 30 12:58:51 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 6B4A316A4DF for ; Sun, 30 Jul 2006 12:58:51 +0000 (UTC) (envelope-from amdmi3@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id E404E43D45 for ; Sun, 30 Jul 2006 12:58:50 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=35431 helo=nexii.panopticon) by mx3.mail.ru with esmtp id 1G7Asb-000JdQ-00; Sun, 30 Jul 2006 16:58:49 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id 1FE5F11418; Sun, 30 Jul 2006 16:58:46 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 174F44212; Sun, 30 Jul 2006 16:58:47 +0400 (MSD) Date: Sun, 30 Jul 2006 16:58:46 +0400 From: Dmitry Marakasov To: Matthew Dillon Message-ID: <20060730125846.GA89899@hades.panopticon> Mail-Followup-To: Matthew Dillon , 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> <200607300656.k6U6udJt003335@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200607300656.k6U6udJt003335@apollo.backplane.com> 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 12:58:51 -0000 * Matthew Dillon (dillon@apollo.backplane.com) wrote: > Oh, very cute! A terrible hack if you ask me, but cute all the same! I don't consider it a hack. Pretty expected and consistent behaviour - any block device (be it a whole disk or just a partition) is scanned by geom for magic numbers, and if any found, corresponding subdevices do appear. This gives amazing flexibility - you can choose whether to use any partitioning scheme (you can drop slices at all), you are not limited to 4 slices * 7 partitions. Also, you may dd a whole disk image into partition of enough size, and still be able to mount subpartitions of that image (or boot qemu from it) without md(4) overhead (of course MBR slices can be nested as well - you'll get ad0s1s1 or ad1s1as1). Very cute indeed :) -- Best regards, Dmitry mailto:amdmi3@mail.ru