Date: Wed, 16 Jul 2014 19:59:57 +0000 From: Brooks Davis <brooks@freebsd.org> To: Sean Fagan <sef@ixsystems.com> Cc: hackers@freebsd.org Subject: Re: Expanding on NO_ROOT: Categorizing installed files Message-ID: <20140716195957.GI60425@spindle.one-eyed-alien.net> In-Reply-To: <3C71EBC2-4A4B-433D-8A21-D263CA0F24C0@ixsystems.com> References: <FE374F8B-ABF7-4497-B1C7-68E63612DC43@ixsystems.com> <20140716170758.GE60425@spindle.one-eyed-alien.net> <B0AABD58-E25C-4514-949E-4A91ED15B3BF@ixsystems.com> <20140716192410.GG60425@spindle.one-eyed-alien.net> <3C71EBC2-4A4B-433D-8A21-D263CA0F24C0@ixsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <brooks@freebsd.org> 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 <key>=3D<value> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140716195957.GI60425>