From owner-freebsd-arch Wed Jan 30 0:29:52 2002 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id C947637B400 for ; Wed, 30 Jan 2002 00:29:47 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.6/8.11.6) with ESMTP id g0U8Qpr19724; Wed, 30 Jan 2002 09:26:51 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Marcel Moolenaar Cc: arch@FreeBSD.ORG Subject: Re: Geom project, limited preview... In-Reply-To: Your message of "Wed, 30 Jan 2002 00:19:41 PST." <20020130001941.A1101@dhcp01.pn.xcllnt.net> Date: Wed, 30 Jan 2002 09:26:51 +0100 Message-ID: <19722.1012379211@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020130001941.A1101@dhcp01.pn.xcllnt.net>, Marcel Moolenaar writes : >> Needless to say, the "taste" routine is able to examine the local >> surroundings in detail, so for instance we can make the MBR look if >> GPT already found this particular node and if so just give up. > >Hmmm... context sensitivity always messes up a good, clean design. >Maybe a "bite and swallow" approach would be acceptable: Any medium >that has a detected partitioning is blocked from further examination? >In don't know to what extend this would work for nested partitions >within Geom (if it would work at all)... Geom is designed on the "FreeBSD: tools, not policies" dogma so that decision is made inside the individual methods, not in the framework around them. I think that for disk-partitioning the DWIM/POLA principle should prevail. Considering life as it is, it is probably too early to decide exactly how we do that, I expect us to change our mind a few times even when we do make it up :-) -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message