From owner-freebsd-geom@FreeBSD.ORG Thu Oct 23 11:12:50 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DEA4106567D for ; Thu, 23 Oct 2008 11:12:50 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 320668FC17 for ; Thu, 23 Oct 2008 11:12:50 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: by wa-out-1112.google.com with SMTP id n4so159166wag.27 for ; Thu, 23 Oct 2008 04:12:49 -0700 (PDT) Received: by 10.115.76.1 with SMTP id d1mr395912wal.196.1224760369088; Thu, 23 Oct 2008 04:12:49 -0700 (PDT) Received: by 10.115.89.3 with HTTP; Thu, 23 Oct 2008 04:12:49 -0700 (PDT) Message-ID: Date: Thu, 23 Oct 2008 13:12:49 +0200 From: "=?ISO-8859-1?Q?Marius_N=FCnnerich?=" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [PATCH] Teach geom_label to recognise gpt labels and uuids 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: Thu, 23 Oct 2008 11:12:50 -0000 Hi all, I wrote the following patch for geom_label: http://nuenneri.ch/freebsd/geom_label.patch What do you think about it? I would love to hear about some tests. Known problem: Either the label or the uuid detaches if the other one is written to (with newfs for example). Anyone knows what to do about it? Thanks go to phk for geom and Marcel Moolenaar for gpart and the easy way to get the needed information! Kind regards Marius