History log of /freebsd-10-stable/usr.sbin/mtree/mtree.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 208056 13-May-2010 brueffer

Wording fixes.

PR: 143454
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 3 days


# 206118 02-Apr-2010 yar

Keep the list of default keywords sorted so that paranoid folks like me
don't try to find a hidden meaning in the strange order. The list used
to be sorted in rev. 1.1 from 4.4BSD but the order was broken as soon as
in rev. 1.2 by a single-character fix.

MFC after: 3 days


# 205873 30-Mar-2010 maxim

o Remove a duplicate reference to -f flag in the SYNOPSYS section.
o Improve wording.

PR: docs/144407
Submitted by: gcooper
MFC after: 1 week


# 187940 31-Jan-2009 kientzle

Write timestamps with exactly 9 digits after the period.
This ensures that the value written is both compatible with
older mtree versions (which expect the value after the period
to be an integer count of nanoseconds after the whole second)
and is a correct floating-point value.

Leave the parsing code unchanged so it will continue to read
older files.


# 170822 16-Jun-2007 maxim

o Add an example how to create /etc/mtree style mtree(8) files.

PR: docs/113667
Submitted by: edwin
MFC after: 1 week


# 162806 29-Sep-2006 ru

Markup fixes.


# 160083 03-Jul-2006 maxim

o Add an 'optional' keyword, which allows files to be in the
specification, but not in the file hierarchy.

PR: bin/99531
Submitted by: skv
Obtained from: NetBSD, originally from Ed Symanzik
Regress. test: test/test05.sh
MFC after: 1 month


# 148580 31-Jul-2005 keramida

Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.

MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.


# 147377 14-Jun-2005 ru

Markup fixes.

Approved by: re (blanket)


# 144295 29-Mar-2005 tobez

Adds sha256 support. While it is a good idea to also add sha384 and
sha512, I did not do that since it is not entirely clear where "the one
true place" to hold their implementations is going to be. Sha256 is
different since mtree already links against libmd.

Make recommended procedure for integrity checking in the manpage
consistent.

Fix a bug with -f spec1 -f spec2 comparison, which prevented
test/tes03.sh from running successfully.

Reviewed by: phk, cperciva


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 140442 18-Jan-2005 ru

Sort sections.


# 140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


# 133249 07-Aug-2004 imp

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)


# 131531 03-Jul-2004 ru

Eliminated double whitespace.


# 131500 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 130092 04-Jun-2004 ru

Added forgotten -w to the SYNOPSIS.
Trim whitespace at EOL.


# 124389 11-Jan-2004 phk

Get rid of "lineno: 0" in error messages from create mode.

Add -w(arning) flag which makes failure to look up uid/gid
a nonfatal warning instead of an error.


# 122141 05-Nov-2003 phk

Give mtree(8) the ability to take [two -f spec] arguments and compare
the two specifications to each other.


# 121798 31-Oct-2003 phk

Make mtree's update function update the modification time too.

Submitted by: Dan Nelson <dnelson@allantgroup.com>
PR: 53063


# 120054 14-Sep-2003 ru

Get rid of duplicates.


# 107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


# 99968 14-Jul-2002 charnier

The .Nm utility


# 96705 16-May-2002 trhodes

Consistancy check: s/file system/filesystem/g


# 96326 10-May-2002 max

Typo.


# 81687 15-Aug-2001 ru

mdoc(7) police: utilize the new .Ex macro.


# 81298 08-Aug-2001 sheldonh

can not -> cannot


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 70403 27-Dec-2000 ru

Prepare for mdoc(7)NG.


# 68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


# 66357 25-Sep-2000 ache

Re-add -P option (for POSIX-like command line interface)


# 65882 15-Sep-2000 ache

Restore standard symlink default, return -L, remove -P, add missing -q to getopt
This is part of whole subsystem fixing

Reviewed by: imp


# 63853 25-Jul-2000 imp

Add -q. this will cause the warning messages about missing
directories to not be printed. This is from OpenBSD (and I think
NetBSD also) and makes our mtree more compatible with other BSDs.
This makes cross compilation easier than it was before. Other changes
will be needed to allow NetBSD or OpenBSD to cross build on FreeBSD,
but this is a start.

Reviewed by: andrey
Obtained from: OpenBSD
Concentric Red Circles by: My own stupidity


# 63786 24-Jul-2000 marcel

Revert the reversion of the default mtree behaviour. The mtree
command now follows symlinks again.

Requested by: jkh


# 63304 17-Jul-2000 sheldonh

* Order options in the SYNOPSIS correctly.
* Re-order the list of options in teh DESCRIPTION as per
the SYNOPSIS.
* Move the description of exit conditions from the
DESCRIPTION section to a new DIAGNOSTICS section.
* Typo fix: "effect" -> "affect" when used as a verb.
* Clear the Nm macro as appropriate.
* Typo fix: "consider" -> "considers" for a singular subject.
* Use Nx instead of NetBSD.


# 63255 16-Jul-2000 ache

Revert back to original mtree default behaviour to not follow symlinks, to be
compatible with other *BSD camp. Add -L option to follow symlinks, so remove
-P option which is now default. The next step will be to add -L to building
process.

Asked-by: bde


# 63135 14-Jul-2000 sheldonh

Fix the NAME section. Order the options which do not take arguments,
add the -P option (introduced in rev 1.22), and use mdoc word keeps
(Bk -words / Ek) for those options which do take arguments.


# 63127 14-Jul-2000 joe

Use -P instead of -S to specify that no symlinks should be followed.
There's no reason to make it different from cp(1), chmod(1), chown(1)
etc.

Requested by: sheldonh


# 63087 13-Jul-2000 joe

Allow symlinks to be created if they appear in the mtree specification.

PR: bin/14171


# 63086 13-Jul-2000 joe

Added a flag (-S) to mtree to specify that symlinks shouldn't be
followed. This allows type=link matches to work properly and match
the link itself, instead of the file/directory that the link is
pointing to.


# 61025 28-May-2000 charnier

Use .Fx


# 60648 16-May-2000 wollman

Punctuation fix.


# 60418 12-May-2000 wollman

Give mtree the ability to exclude files and directories from its traversal.

PR: 16944


# 54375 09-Dec-1999 joe

Added support for file flags, mostly merged from the NetBSD version.
The way is now open to schg and sappnd key files and directories in
our tree. There are recommendations in bin/15229.

PR: bin/15229
Reviewed by: imp, brian


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 44303 26-Feb-1999 wollman

Add support for SHA-1 and RIPEMD160, now that libmd includes them. Make
all of the hashes (including MD5) conditionalized in case we want
to turn one of them off later.


# 36841 10-Jun-1998 peter

There is no need to make nochange imply ignore as well.

Suggested by: bde


# 36670 05-Jun-1998 peter

Create a new flag, "nochange", which will specify that a directory is
to be created if it's missing, otherwise completely ignore it's modes and
owners. Primary intended targets: /usr/src and /usr/obj.

Adjust the 'not created: File exists' message to mention that it's a
directory that's the problem, otherwise it doesn't make sense.

I had created chown-style -L and -P flag to control logical/physical mode
(ie: whether symlinks were followed), but the nochange flag is enough to
get the blasted thing out of my hair so I took them back out.


# 30027 01-Oct-1997 charnier

Use err(3) instead of local redefinition.


# 22997 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21880 19-Jan-1997 wosch

Sort cross references.


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 14038 11-Feb-1996 mpp

Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.


# 13744 30-Jan-1996 mpp

Fix a bunch of spelling errors in a bunch of man pages.


# 6286 10-Feb-1995 wollman

mtree * MD5 = better security

Idea from: Dr. John T. Wroclawski


# 3468 09-Oct-1994 rgrimes

Add -U option which does the same things as -u except exits with 0
instead of 2 on MISMATCH.


# 2860 18-Sep-1994 rgrimes

1. Remove commented out CFLAGS+=-DDEBUG from Makefile

2. Clean up code so it compiles -Wall (except for sccsid's and copyright).
This included fixing several printf formats that where not correct,
and changing the data types of a few things.

3. Implement new option -i that produces indented mtree output files.

4. Implement new option -n that turns off directory comments.

5. Only emit /set records if something has changed since the last one.


# 2473 03-Sep-1994 adam

fixed typos
Reviewed by:
Submitted by:


# 1554 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1553,
which included commits to RCS files with non-trunk default branches.


# 1553 26-May-1994 rgrimes

BSD 4.4 Lite usr.sbin Sources