From owner-freebsd-geom@FreeBSD.ORG Tue Feb 6 10:35:32 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C933716A400 for ; Tue, 6 Feb 2007 10:35:32 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9D913C441 for ; Tue, 6 Feb 2007 10:35:32 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 08D781747B; Tue, 6 Feb 2007 10:35:30 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.8/8.13.8) with ESMTP id l16AZOl8091006; Tue, 6 Feb 2007 10:35:24 GMT (envelope-from phk@critter.freebsd.dk) To: Ivan Voras From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 06 Feb 2007 11:32:11 +0100." Date: Tue, 06 Feb 2007 10:35:24 +0000 Message-ID: <91005.1170758124@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-geom@freebsd.org Subject: Re: New g_part class X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 10:35:32 -0000 In message , Ivan Voras writes: >Poul-Henning Kamp wrote: > >> Considering the fact that editing can be done equally well in >> userland, what is the rationale or benefit of putting the code into >> the kernel, to deal with very infrequent operations to change the >> disk-layout ? > >Hmm, editing partition in userland... isn't there some well known >problem with editing partitions in userland requiring setting >kern.geom.debugflags to 16 before continuing? I might be wrong, but I >think this was one of the problems with geom_gpt? If the geom classes are implemented correctly, you should never need to set kern.geom.debugflags. -- 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.