Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2008 16:37:43 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: mtree
Message-ID:  <447ifvzuco.fsf@be-well.ilk.org>
In-Reply-To: <18404.6594.388.966783@jerusalem.litteratus.org> (Robert Huff's message of "Fri\, 21 Mar 2008 16\:25\:38 -0400")
References:  <18404.6594.388.966783@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Huff <roberthuff@rcn.com> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447ifvzuco.fsf>