From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 16 19:59:58 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D7D249B for ; Wed, 16 Jul 2014 19:59:58 +0000 (UTC) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) by mx1.freebsd.org (Postfix) with ESMTP id EA8DC2CE4 for ; Wed, 16 Jul 2014 19:59:57 +0000 (UTC) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 625105A9F0C; Wed, 16 Jul 2014 19:59:57 +0000 (UTC) Date: Wed, 16 Jul 2014 19:59:57 +0000 From: Brooks Davis To: Sean Fagan Subject: Re: Expanding on NO_ROOT: Categorizing installed files Message-ID: <20140716195957.GI60425@spindle.one-eyed-alien.net> References: <20140716170758.GE60425@spindle.one-eyed-alien.net> <20140716192410.GG60425@spindle.one-eyed-alien.net> <3C71EBC2-4A4B-433D-8A21-D263CA0F24C0@ixsystems.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Mjqg7Yu+0hL22rav" Content-Disposition: inline In-Reply-To: <3C71EBC2-4A4B-433D-8A21-D263CA0F24C0@ixsystems.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2014 19:59:58 -0000 --Mjqg7Yu+0hL22rav Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 16, 2014 at 12:29:44PM -0700, Sean Fagan wrote: > On Jul 16, 2014, at 12:24 PM, Brooks Davis wrote: >=20 > > That said, I think the second argues that -P generating category=3D is = the > > wrong approach. Instead a new flag should just let you add arbitrary > > stuff to the mtree file (subject to validation that it is well formed). >=20 > -K =3D is easy enough to do, and seems mnemonical enough. > (Then change the makefiles to have "-K category=3D${META_CATEGORY}" > and whatnot.) Sounds good. > This doesn't get added to the mtree files, though. I played with changing > mtree (well, nmtree), but I was thrown by the fact that it wasn't hierarc= hical -- > that is, adding a tag/label/whatever at one level didn't automatically pe= rcolate > its way down. So I got rid of those changes. The METALOG is an mtree file. That sounds like a bug in the mtree code given the rational view that unknown key=3Dvalue's should just be passed along as text. -- Brooks --Mjqg7Yu+0hL22rav Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlPG2bwACgkQXY6L6fI4GtTWqQCeLNRea31tDcsWG7HOcXeKWkBO XgIAmwSxUlyD7apAzh0ClIWvQQkNavX0 =3FPE -----END PGP SIGNATURE----- --Mjqg7Yu+0hL22rav--