From owner-freebsd-questions@FreeBSD.ORG Tue Jan 8 13:45:17 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 108A2DE8 for ; Tue, 8 Jan 2013 13:45:17 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id B62F9184 for ; Tue, 8 Jan 2013 13:45:16 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id r08DmAZx022060; Tue, 8 Jan 2013 07:48:10 -0600 (CST) Date: Tue, 8 Jan 2013 07:48:10 -0600 (CST) From: Robert Bonomi Message-Id: <201301081348.r08DmAZx022060@mail.r-bonomi.com> To: fbsd8@a1poweruser.com, questions@freebsd.org Subject: Re: mtree spec In-Reply-To: <50EC1FE1.4060205@a1poweruser.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2013 13:45:17 -0000 > From owner-freebsd-questions@freebsd.org Tue Jan 8 07:35:39 2013 > Date: Tue, 08 Jan 2013 08:32:17 -0500 > From: Fbsd8 > To: FreeBSD questions > Subject: mtree spec > > I have this mtree specification file > > /set type=dir uname=root gname=wheel > . > etc > .. > root > .. > usr > local > etc > .. > .. > .. > .. > > But I want to have it behave a little differently. > What I am after is etc has to be present and any sub-directories off of > etc is not a error. Same thing for for root and usr/local/etc > The answers to those issues are found in 'man mtree'. IOW, RTFM applies.