The NetBSD Project

CVS log for src/usr.sbin/mtree/mtree.8

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / mtree

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.78 / (download) - annotate - [select for diffs], Sat Dec 2 13:26:09 2023 UTC (3 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

PR/57735: Jose Louis Duran: Add missing xref to mtree.5
(FreeBSD commit https://github.com/freebsd/freebsd-src/commit/\
    da232c04ab9eba3d3a7fc73881daff847071e9fd)

Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 1 13:04:47 2023 UTC (9 months, 2 weeks ago) by uwe
Branch: MAIN
Changes since 1.76: +84 -26 lines
Diff to previous 1.76 (colored)

mtree(8): a few markup fixes

Didn't touch the section that describes the spec file format.  We have
the format documented here, in mtree(8), and we also have the format
description in mtree(5) that comes from libarchive.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jun 16 14:26:39 2020 UTC (3 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.75: +8 -4 lines
Diff to previous 1.75 (colored)

Use more markup. Bump date for previous.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jun 16 13:34:38 2020 UTC (3 years, 9 months ago) by sborrill
Branch: MAIN
Changes since 1.74: +13 -2 lines
Diff to previous 1.74 (colored)

Describe correctly how whitespace is formatted as the docs did not
match the source.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Dec 13 07:34:03 2018 UTC (5 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Use \(en.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Dec 13 03:18:18 2018 UTC (5 years, 3 months ago) by dholland
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

Fix naming inconsistency; PR 53769 from silas.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Feb 22 14:15:15 2017 UTC (7 years ago) by abhinav
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Fix typo.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jan 23 03:31:58 2015 UTC (9 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Pull into this year.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jan 23 02:27:01 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.69: +6 -2 lines
Diff to previous 1.69 (colored)

attempt to reset file flags when -rr

Revision 1.69 / (download) - annotate - [select for diffs], Sun Feb 3 19:16:06 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Changes since 1.68: +3 -2 lines
Diff to previous 1.68 (colored)

fix man page.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Feb 3 19:15:17 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.67: +3 -1 lines
Diff to previous 1.67 (colored)

add the ability to only output paths included in a spec file when creating
from a directory (-c)

Revision 1.67 / (download) - annotate - [select for diffs], Thu Dec 20 20:31:01 2012 UTC (11 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Typo fix.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Dec 20 20:17:26 2012 UTC (11 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Add missing letter and use x.y versions for Fx/Nx.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Dec 20 16:43:16 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.64: +58 -3 lines
Diff to previous 1.64 (colored)

Implement the "flavor" output discussed in tech-userlevel@, by Brooks Davis

Revision 1.64 / (download) - annotate - [select for diffs], Wed Dec 12 15:52:10 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

- No mention of -t in the usage message or the manpage SYNOPSIS (Brooks Davis)

Revision 1.63 / (download) - annotate - [select for diffs], Fri Oct 5 09:18:02 2012 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.62: +6 -7 lines
Diff to previous 1.62 (colored)

Fix typos; remove trailing whitespace; add missing options to SYNOPSIS.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Oct 5 01:31:05 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.61: +3 -1 lines
Diff to previous 1.61 (colored)

Implement FreeBSD's "nochange" keyworld which causes the existance of a
filesystem object to be checked but none of its attiributes.(brooks)

Revision 1.61 / (download) - annotate - [select for diffs], Fri Oct 5 01:30:36 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Implement FreeBSD's "nochange" keyworld which causes the existance of a
filesystem object to be checked but none of its attributes. (brooks)

Revision 1.60 / (download) - annotate - [select for diffs], Fri Oct 5 01:26:56 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.59: +13 -1 lines
Diff to previous 1.59 (colored)

Implement FreeBSD's -f spec1 -f spec2 spec comparision function.  This
is more useful than -C and diff because it highlights the keys that have
changed value so for example, you can see that the size of a file has
not changed but the contents have. (brooks)

Revision 1.59 / (download) - annotate - [select for diffs], Fri Oct 5 01:19:54 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.58: +5 -2 lines
Diff to previous 1.58 (colored)

clarify seconds.09nanoseconds format (brooks)

Revision 1.58 / (download) - annotate - [select for diffs], Fri Oct 5 01:13:50 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.57: +15 -1 lines
Diff to previous 1.57 (colored)

add -j flag to indent directory blocks (from brooks)

Revision 1.57 / (download) - annotate - [select for diffs], Fri Oct 5 01:05:14 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.56: +7 -1 lines
Diff to previous 1.56 (colored)

add -q flag to silence warnings about symlinks to existing dirs (from OpenBSD
via brooks)

Revision 1.56 / (download) - annotate - [select for diffs], Fri Oct 5 01:01:07 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.55: +8 -1 lines
Diff to previous 1.55 (colored)

add -n flag to disable comments (brook)

Revision 1.55 / (download) - annotate - [select for diffs], Fri Oct 5 00:59:35 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.54: +4 -1 lines
Diff to previous 1.54 (colored)

account for differences in digest names

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 3 19:27:48 2012 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.53: +14 -14 lines
Diff to previous 1.53 (colored)

- Sort order of options mentioned in text;
- improve wording;
- remove unneeded macros (fixes mandoc(1) warnings);
- in the `EXAMPLES' section, for `-d', mention the use of `-U'
  besides that of `-u' (as the former is a variant on the latter).

From Bug Hunting.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jan 20 14:00:48 2010 UTC (14 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Fix date.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jan 20 13:50:27 2010 UTC (14 years, 2 months ago) by uebayasi
Branch: MAIN
Changes since 1.51: +5 -2 lines
Diff to previous 1.51 (colored)

Document -t (modify mtime).  Bump date.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Apr 9 09:53:37 2009 UTC (14 years, 11 months ago) by apb
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.50: +39 -22 lines
Diff to previous 1.50 (colored)

* Rewrite intro to mention all three things mtree can do (check directory
  tree against spec; create spec; modify spec).
* Consistently use "options" to refer to command line options.  "flags"
  is used to refer to file flags.
* Some other clarifications and changes for consistency.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Apr 8 19:39:23 2009 UTC (14 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.49: +39 -63 lines
Diff to previous 1.49 (colored)

Sort options and option descriptions.
Remove an incomplete sentence ("It will") -- probably pasto.
Give the tagged lists more space for the first column.
Remove unnecessary Bk/Ek pairs.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Apr 8 19:03:13 2009 UTC (14 years, 11 months ago) by apb
Branch: MAIN
Changes since 1.48: +27 -3 lines
Diff to previous 1.48 (colored)

The recent addition of sorting to "mtree -C" broke some third party
scripts.  Now make sorting optional, controled by the "-S" flag.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Mar 11 18:10:05 2009 UTC (15 years ago) by joerg
Branch: MAIN
Changes since 1.47: +3 -16 lines
Diff to previous 1.47 (colored)

Don't use .Xo/.Xc. Replace use of .Sm off / .Sm on with .Ns.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Feb 2 03:27:37 2009 UTC (15 years, 1 month ago) by wiz
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.46: +18 -10 lines
Diff to previous 1.46 (colored)

New sentence, new line.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Feb 1 22:37:22 2009 UTC (15 years, 1 month ago) by hubertf
Branch: MAIN
Changes since 1.45: +8 -3 lines
Diff to previous 1.45 (colored)

-c: make it clear where the file hierarchy starts
-I, -E: they also work with -C, not just with -D

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 2 18:11:06 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase
Changes since 1.44: +1 -8 lines
Diff to previous 1.44 (colored)

Move TNF licenses to 2 clause form

Revision 1.44 / (download) - annotate - [select for diffs], Tue Sep 12 20:22:49 2006 UTC (17 years, 6 months ago) by pavel
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42
Changes since 1.43: +6 -2 lines
Diff to previous 1.43 (colored)

describe how to suppress printing of "type" keyword when -k is used.
bump date.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Apr 22 19:35:35 2006 UTC (17 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

i.e. without a space. PR 33328 by  Igor Sobrado.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Nov 10 19:41:59 2005 UTC (18 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

SHA2 support has been pulled up to NetBSD 3.0, update the history part.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Aug 24 20:55:41 2005 UTC (18 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.40: +29 -1 lines
Diff to previous 1.40 (colored)

Add SHA2 support in mtree.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Aug 24 20:49:51 2005 UTC (18 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

Reference cksum(1) only.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jul 22 16:51:45 2004 UTC (19 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.38: +43 -4 lines
Diff to previous 1.38 (colored)

Implement -M to "merge" entries, even with different types.
This can be used in /etc/security to allow special.local to override
types of entries in special (e.g, replacing a dir with a link).

Rename Wflag to mtree_Wflag, to be more "external namespace" friendly.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 7 11:25:36 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.37: +2 -6 lines
Diff to previous 1.37 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jun 27 23:21:50 2003 UTC (20 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Quote some characters.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Mar 31 08:44:22 2003 UTC (20 years, 11 months ago) by grant
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

grammar tweak.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Feb 25 10:36:14 2003 UTC (21 years ago) by wiz
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Dec 27 06:31:51 2002 UTC (21 years, 2 months ago) by grant
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored)

File types belong under 'type', not 'uname'.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Dec 23 04:40:19 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.32: +10 -5 lines
Diff to previous 1.32 (colored)

Add -C, which dumps the specification with the full path name first,
and then all the other fields.  (I.e, like -D except with the name
first instead of last).
Consistenly strsvis(3) encode path names (even for -C and -D).

Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 9 13:42:08 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

correct description of -D

Revision 1.31 / (download) - annotate - [select for diffs], Mon Feb 11 12:43:55 2002 UTC (22 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.30: +9 -2 lines
Diff to previous 1.30 (colored)

support multiple entries for "." and full paths if the types match; the last
listed entry's settings override the existing settings for that node.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 5 12:15:13 2002 UTC (22 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.29: +5 -2 lines
Diff to previous 1.29 (colored)

Support `/unset all', to unset all of the global values set with `/set ...'

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 24 03:20:12 2002 UTC (22 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.28: +18 -2 lines
Diff to previous 1.28 (colored)

Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 19 11:44:57 2002 UTC (22 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Whitespace nits.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 7 08:01:52 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.26: +72 -22 lines
Diff to previous 1.26 (colored)

User interface changes from (or inspired by) FreeBSD:
- Add -L to walk the tree `logically', by following symbolic links in
  the heirarchy.
- Add -P to walk the tree `physically'. This is the current behaviour,
  and the default.
- Add "-X excludes-file" to give mtree the ability to exclude files and
  directories from its traversal.  excludes-file contains fnmatch(3)
  patterns to exclude from the walk.
- Add "md5digest" synonym for "md5".
- Add "rmd160" keyword for RMD-160 message digest, and "rmd160digest" synonym.
- Add "sha1" keyword for SHA-1 message digest, and "sha1digest" synonym.
- Don't try to compare() other attributes if the type doesn't match;
  it's nothing but trouble, and no use anyway.
- In -c, only emit "/set" records if something has changed since the
  previous one.

User interface changes by me:
- Check a device's parameters before checking uid/gid/mode.
- If updating (-u), modify the following to match the specification:
	- Device type (retaining existing ownership).
	- Symlink target.

Fixes from (or inspired by) FreeBSD:
- Use p->ftslevel instead of own code to keep track of the level ourself.
  The previous code got majorly confused if fts(3) couldn't descend
  into a subdir, resulting in leaf nodes getting attached to the wrong
  directory.
  XXX: This new method is much much more robust, even though it's not 100%
  perfect; it might result in a couple of following entries in the spec
  to be incorrectly tagged as missing.
- Pass a useful pathname to rlink(), so that logical (-L) traversal
  doesn't confuse symlink checking.
- Consistently use MAXPATHLEN+1 sized buffers for pathnames, so that
  there's room for the NUL.
- Use mtree_err() and strerror(p->fts_errno) to report errors during
  the fts(3) walk.

Fixes by me:
- Remove now-unused `const char *name' argument from compare().
- Change crc_total from an int to a u_int32_t, to match usr.bin/cksum/crc.c.
- Remove trailing whitespace.
- Remove unnecessary (void) casts on functions.
- Reorder entries in the getopt() switch.
- Replace strtoq() with strtoll(), and use strtoul() appropriately.
- Renumber F_ flags to be in alphabetical order.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 25 14:47:39 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.25: +14 -5 lines
Diff to previous 1.25 (colored)

Add -W: don't attempt to change the perms/time/flags on existing entries, nor
set them when creating new directories. (AKA the ``don't whack'' option).
Concept suggested by Todd Vierling.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 22 07:11:46 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.24: +7 -2 lines
Diff to previous 1.24 (colored)

document requirement about first node being a directory called "."

Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 19 02:57:34 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.23: +27 -23 lines
Diff to previous 1.23 (colored)

improve enumeration of the different specfile entry types

Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 9 04:50:01 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.22: +75 -4 lines
Diff to previous 1.22 (colored)

Add "device" keyword, which allows the device number to be specified,
to be later checked and possibly created. Uses parsing and encoding
routines from mknod(8).

Revision 1.22 / (download) - annotate - [select for diffs], Mon Oct 8 00:53:30 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.21: +7 -7 lines
Diff to previous 1.21 (colored)

- use "full path" instead of "absolute path"; perry thinks it's less confusing
- clarify the `all' keyword support in -k, -K and -R. should solve [misc/14186]
- use ".sp" instead of ".Pp"  (from FreeBSD).

Revision 1.21 / (download) - annotate - [select for diffs], Fri Oct 5 15:32:57 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.20: +44 -4 lines
Diff to previous 1.20 (colored)

* Implement support for absolute paths in the specfile.  An absolute path
  is one that contains a `/' character that is not the first character.
  All parent directories referenced in the path must exist.
* Add copyright for all the work I've done.
* Document the history of various features added since 4.3-Reno.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 5 13:14:56 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.19: +88 -50 lines
Diff to previous 1.19 (colored)

- support "all" as a valid keyword for -k, -K and -R.
- parsekey(): support "all" as a keyword which returns a value with all bits
  set that pertain to a valid keyword.
- dump_nodes():
	- only print out a keyword if it's requested AND it's set in the node
	- UNAME falls back to UID if the user name can't be determined
	- GNAME falls back to GID if the group name can't be determined
- rework man page:
	- use Sy instead of Cm
	- use Pq, Dq, Ql, etc instead of ``...''

Revision 1.19 / (download) - annotate - [select for diffs], Fri Oct 5 01:03:24 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

cleanup tags support;
- create a typedef struct slist_t to hold stuff in (avoid stringlist(3)
  because it's less portable)
- move the tag manipulate stuff into misc.c
- add matchtags(), which returns 0 if the node is explicitly excluded,
  or not included if an include list is given; or 1 otherwise
- in -D, change tags support from files-only to all-non-directories

(xxx; still considering implementing tags support for -c and !-D)

Revision 1.18 / (download) - annotate - [select for diffs], Thu Oct 4 11:24:05 2001 UTC (22 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.17: +9 -9 lines
Diff to previous 1.17 (colored)

Whitespace fixes, sort sections.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Oct 4 04:51:27 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.16: +43 -12 lines
Diff to previous 1.16 (colored)

features:
- add a new keyword - "tags" - which is a comma separated list of tags
  associated with that file.
- add "-E tags"; exclude files in -D output with matching tags
- add "-I tags"; only include files in -D output with matching tags
  (default is to list all)

fixes:
- move all extern variable references from individual files into extern.h
- `quote' some more user-specified strings in error messages
- man page: list an options arguments in the description, and sort xrefs.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 1 02:30:40 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.15: +23 -5 lines
Diff to previous 1.15 (colored)

- implement -D  - dump the specfile out in a manner that's parseable
  by various tools
- implement -R key  - remove the given key(s) from the list of keys to print
  (now it's possible with "-k type -R type" to remove all keys :)
- rename ftype() to nodetype(), and make it public
- use pwcache(3) functions instead of get{gr,pw}{nam,uid}(3)
- add dump_nodes(), which provides the guts for -D.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 22 03:56:29 2001 UTC (22 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.14: +17 -2 lines
Diff to previous 1.14 (colored)

Add a -l flag which does "loose" permissions checks, i.e. a mode 444
matches a check for mode 644 (though obviously not the reverse). This
can be used by the nightly security run, making the output1 more useful
by having it contain fewer spurious permissions violations.

Note that I did not make -l work if you have a sgid/suid/sticky bit
set. I don't know how you could cause security trouble with more
stringent settings and a suid file, but I don't want to find out the
hard way.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 7 05:47:15 2000 UTC (23 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

use .Xr

Revision 1.13 / (download) - annotate - [select for diffs], Thu Oct 5 20:16:02 2000 UTC (23 years, 5 months ago) by wennmach
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

mtree uses strsvis, not strvis.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 7 20:23:01 1999 UTC (24 years, 4 months ago) by wennmach
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.11: +8 -1 lines
Diff to previous 1.11 (colored)

Encode file names using strvis(3) when creating a specification.
Escape white space characters and `#' characters. Do the inverse
when reading specs.

This is a temporary fix until we have strzouvis(3) (or some such)
which is an improved version of strvis (taking an additional list
of characters to encode).

Fixes PR 5006 and PR 7663

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 7 12:03:35 1999 UTC (25 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, netbsd-1-4
Changes since 1.10: +14 -2 lines
Diff to previous 1.10 (colored)

Clean up SYNOPSIS formatting.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 11 15:32:24 1999 UTC (25 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.9: +22 -2 lines
Diff to previous 1.9 (colored)

- add -m and -i to change file flags more usefully.
- fix bugs in fileflags checking

all of the above from dr. lex wennmacher <wennmach@geo.Uni-Koeln.DE>
with some error fixes from egcs via myself.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 6 19:07:53 1998 UTC (25 years, 3 months ago) by jwise
Branch: MAIN
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)

Add an `md5' keyword to mtree, which takes as an argument the MD5 cryptographic
checksum of the file in question, optionally preceeded by `0x'.

This has been tested, and does work, AFAICT.  There is currently no md5 equivalent
of the '-s' flag for use with checksum.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 10 07:50:28 1998 UTC (25 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.7: +10 -2 lines
Diff to previous 1.7 (colored)

add support for 4.4BSD file flags.  we take a `flags=xxx' parameter,
using the same style of naming as chflags, ls & xinstall use, plus an
additional `none' to turn off a default setting.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 17 11:46:46 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (colored)

WARNSify, getopt returns -1 not EOF

Revision 1.6 / (download) - annotate - [select for diffs], Wed Aug 20 15:14:51 1997 UTC (26 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.5: +9 -2 lines
Diff to previous 1.5 (colored)

Add -U flag, checking for mismatch. This is the same as the old -u flag,
except that an error which was corrected is deemed not to be an error.

Necessary for use in the FreeBSD ports system.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 10 05:14:15 1997 UTC (26 years, 8 months ago) by mikel
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

xref chown(8) not chown(1), kill extra comma

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 7 21:26:25 1995 UTC (29 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.3: +8 -5 lines
Diff to previous 1.3 (colored)

add an 'optional' keyword, which allows files to be in the
specification, but _not_ in the file hierarchy.  contrib'd by:
Ed Symanzik <zik@enoch.cl.msu.edu>.  Man page adjustment to match, and
minor man page cleanup, by me.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 7 21:12:09 1995 UTC (29 years ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -0 lines
Diff to previous 1.2 (colored)

add NetBSD id's

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 7 15:30:43 1995 UTC (29 years ago) by cgd
Branch: MAIN
Changes since 1.1: +5 -6 lines
Diff to previous 1.1 (colored)

clean up import, fix a few bugs, etc.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Nov 2 07:51:11 1993 UTC (30 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0

latest mtree from uunet.  doesn't compile, but that'll be fixed soon.
(want to have 'pseudo-virgin' sources, for when fixed fnmatch stuff
is released...)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>