From owner-freebsd-current@FreeBSD.ORG Wed Feb 4 15:29:20 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E376F106564A for ; Wed, 4 Feb 2009 15:29:20 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5A38FC14 for ; Wed, 4 Feb 2009 15:29:20 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LUjgl-0006qZ-5r for freebsd-current@freebsd.org; Wed, 04 Feb 2009 15:29:19 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Feb 2009 15:29:19 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Feb 2009 15:29:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Wed, 04 Feb 2009 16:28:57 +0100 Lines: 59 Message-ID: References: <20090203082153.565746e2@zelda.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEA3368A7CC9F3B1297326375" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: GEOM_PART: a quick update on logical partitions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 04 Feb 2009 15:29:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEA3368A7CC9F3B1297326375 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Marius N=C3=BCnnerich wrote: > On Tue, Feb 3, 2009 at 2:06 PM, Ivan Voras wrote: >> Marius N=C3=BCnnerich wrote: >> >>> I'm not happy with the symlinks either. When someone is manipulating = a >>> partition table she should be able to live with the consequences. I >>> would rather go for the UUID in UFS header approach if there is enoug= h >>> room. BTW I implemented GPT UUID glabels a while ago please see: >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D128398 >> I have a patch for UFS "GUID" labels (not exactly GUIDs, but every UFS= >> file system has a reasonably unique ID associated with it) but have >> encountered what seems a bug in GEOM slicers - two dev entries pointin= g >> to the same device don't work well with orphaning/tasting. Have you >> encountered something similar perhaps? >=20 > I haven't encountered strange behaviour there but I will test it again.= I've read the code in the referenced PR and I see you've taken a different way to implement it than I did, but the problem might still be present; try the following sequence of operations: * create a geom (GPT slice in your case) that has two /dev entries on it - one from the GPT label and one from GPT GUID * mount one of those /dev entries (i.e. open it for exclusive access) - the other one should disappear * unmount it * see if the labels are correctly created (tasted) again. * repeat with the base device (on which GPT is created) - both labels should be spoiled and detected again If you see what I'm seeing (labels not correctly tasted) then it could be a problem. If not, it's my problem :) --------------enigEA3368A7CC9F3B1297326375 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFJibRBldnAQVacBcgRAoniAJjDbD+x9xWQisUBfYVNtwMiT+iwAJ9nSRvg ZXQj4lkQ0GxiGtetT+ZYZQ== =8K4f -----END PGP SIGNATURE----- --------------enigEA3368A7CC9F3B1297326375--