From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 16 19:29:57 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C86798B; Wed, 16 Jul 2014 19:29:57 +0000 (UTC) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E748A2A38; Wed, 16 Jul 2014 19:29:56 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id E30D87B66E; Wed, 16 Jul 2014 12:29:54 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 42041-08; Wed, 16 Jul 2014 12:29:54 -0700 (PDT) Received: from kruse-177.4.ixsystems.com (kruse-177.4.ixsystems.com [10.2.4.177]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id B644B7B650; Wed, 16 Jul 2014 12:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1405538985; bh=2TFu+ixPe6n7YqnaVvLPeko3OLwuD7s6yum/19n16IE=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=ImCtSmwmI3T162zX57bWDEfSBOspYPvUdDw5eIn2dLv0MXbw+nx9UPDAi1blzxqeP Mft4vCHdayqVtCpBnKzudF/bFh107CcZ0LZsZCerFLvm2mJKEvADB3PkdS3ff/JwUa Ryo8Xmg+g3Dy3mpTluOl9UoosGXwLFdPXrKsm348= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Expanding on NO_ROOT: Categorizing installed files From: Sean Fagan In-Reply-To: <20140716192410.GG60425@spindle.one-eyed-alien.net> Date: Wed, 16 Jul 2014 12:29:44 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <3C71EBC2-4A4B-433D-8A21-D263CA0F24C0@ixsystems.com> References: <20140716170758.GE60425@spindle.one-eyed-alien.net> <20140716192410.GG60425@spindle.one-eyed-alien.net> To: Brooks Davis X-Mailer: Apple Mail (2.1878.6) 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:29:57 -0000 On Jul 16, 2014, at 12:24 PM, Brooks Davis wrote: > 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). -K =3D is easy enough to do, and seems mnemonical enough. (Then change the makefiles to have "-K category=3D${META_CATEGORY}" and whatnot.) 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 = hierarchical -- that is, adding a tag/label/whatever at one level didn't automatically = percolate its way down. So I got rid of those changes. Sean.