what is mtree command used for

2003-01-19 Thread JoeB
Read man mtree, but it does not describe when or for what purpose 
you would use the mtree command.

Would someone explain when to use the mtree command?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: what is mtree command used for

2003-01-19 Thread Louis LeBlanc
On 01/19/03 09:33 PM, JoeB sat at the `puter and typed:
 Read man mtree, but it does not describe when or for what purpose 
 you would use the mtree command.
 
 Would someone explain when to use the mtree command?
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

$ man mtree
MTREE(8)FreeBSD System Manager's Manual  MTREE(8)

NAME
 mtree - map a directory hierarchy

SYNOPSIS
 mtree [-LPUcdeinqrux] [-f spec] [-K keywords] [-k keywords] [-p path]
   [-s seed] [-X exclude-list]

DESCRIPTION
 The utility mtree compares the file hierarchy rooted in the current
 directory against a specification read from the standard input.  Messages
 are written to the standard output for any files whose characteristics do
 not match the specifications, or which are missing from either the file
 hierarchy or the specification.

etc.

-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Davis' Law of Traffic Density:
  The density of rush-hour traffic is directly proportional to
  1.5 times the amount of extra time you allow to arrive on time.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: what is mtree command used for

2003-01-19 Thread Joe Marcus Clarke
On Sun, 2003-01-19 at 21:33, JoeB wrote:
 Read man mtree, but it does not describe when or for what purpose 
 you would use the mtree command.
 
 Would someone explain when to use the mtree command?

The ports system uses mtree to generate a directory skeleton for
/usr/local and /usr/X11R6.  The main world build uses it to generate a
directory skeleton for the OS.  Basically, the files in /etc/mtree list
the common directories that make up a FreeBSD installation for each of
the major components.

Joe

 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



signature.asc
Description: This is a digitally signed message part


Re: what is mtree command used for

2003-01-19 Thread Dan Nelson
In the last episode (Jan 19), JoeB said:
 Read man mtree, but it does not describe when or for what purpose 
 you would use the mtree command.
 
 Would someone explain when to use the mtree command?

You can use it to create directories and enforce permissions (the
installworld target uses it like this).

You can also validate an existing filesystem against mtree output
generated in the past.  You can build a tripwire-like program this way.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message