From owner-freebsd-current@FreeBSD.ORG Sat May 10 06:45:11 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 1F8CD37B401 for ; Sat, 10 May 2003 06:45:11 -0700 (PDT) Received: from critter.freebsd.dk (port757.uc1-esp.isdn-lan.cybercity.dk [212.242.98.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9226C43F93 for ; Sat, 10 May 2003 06:45:09 -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 h4ADj156022298; Sat, 10 May 2003 15:45:06 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: msch@snafu.de From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 10 May 2003 12:25:53 +0200." <200305101225.53877.msch@snafu.de> Date: Sat, 10 May 2003 15:45:01 +0200 Message-ID: <22297.1052574301@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: GEOM loose end? 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: Sat, 10 May 2003 13:45:11 -0000 In message <200305101225.53877.msch@snafu.de>, Matthias Schuendehuette writes: >Hello phk, > >On Friday 09 May 2003 22:14, Poul-Henning Kamp wrote: >> [...] >> The very reason why you need to set a debug flag in geom is that >> libdisk sneaks under the entire GEOM stack when it writes its changes >> to the disk, and the kernel/GEOM has not been and will not be bloated >> with code to detect this hack. >> [...] >> Unfortunately, I don't have time to work much on this issue, just >> getting the kernel side and the basic tools (bsdlabel(8), sunlabel(8) >> etc in shape takes most of the time I have. > >Perhaps a side issue - is it possible to tell the GRUB-people how to >deal with GEOM correctly? I think the most compact clue I can offer is this: The "trick" centers on the rawoffset variable in the g_bsd_modify() routine in geom_bsd.c -- 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.