From owner-freebsd-questions@FreeBSD.ORG Fri Mar 21 20:37:45 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8808E1065671 for ; Fri, 21 Mar 2008 20:37:45 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8C08FC25 for ; Fri, 21 Mar 2008 20:37:45 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id E0B4F28465; Fri, 21 Mar 2008 16:37:43 -0400 (EDT) To: Robert Huff References: <18404.6594.388.966783@jerusalem.litteratus.org> From: Lowell Gilbert Date: Fri, 21 Mar 2008 16:37:43 -0400 In-Reply-To: <18404.6594.388.966783@jerusalem.litteratus.org> (Robert Huff's message of "Fri\, 21 Mar 2008 16\:25\:38 -0400") Message-ID: <447ifvzuco.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: mtree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 20:37:45 -0000 Robert Huff writes: > I know mtree can be used to describe a directory layout, and > then to re-create that structure. Is there a place where this is > described? I figured out everything I wanted to know from the manual page. It's a pretty good manual -- the reason it gives people trouble is just that there are so *many* different things it can do. In the "EXAMPLES" section of its manual, there is a formula for how to "create an /etc/mtree style BSD.*.dist file" which is the first half of what you want. Offhand, I think "mtree -U" is enough to mash everything back to the way the original specification described.