Subject: CVS commit: basesrc/bin/pax
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/25/2001 11:51:52
Module Name:	basesrc
Committed By:	lukem
Date:		Thu Oct 25 08:51:51 UTC 2001

Modified Files:
	basesrc/bin/pax: Makefile extern.h ftree.c options.c options.h pax.1
	    pax.c

Log Message:
Implement -M flag: During a write or copy operation, treat the list of
files on standard input as an mtree(8) `specfile' specification, and
write or copy only those items in the specfile.

If the file exists in the underlying file system, its permissions and
modification time will be used unless specifically overridden by the
specfile. An error will be raised if the type of entry in the specfile
conflicts with that of an existing file.

Otherwise, it is necessary to specify at least the following parameters
in the specfile: type, mode, gname or gid, and uname or uid, device
(in the case of block or character devices), and link (in the case of
symbolic links). If time isn't provided, the current time will be used.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 basesrc/bin/pax/Makefile basesrc/bin/pax/ftree.c
cvs rdiff -r1.26 -r1.27 basesrc/bin/pax/extern.h
cvs rdiff -r1.33 -r1.34 basesrc/bin/pax/options.c
cvs rdiff -r1.6 -r1.7 basesrc/bin/pax/options.h
cvs rdiff -r1.25 -r1.26 basesrc/bin/pax/pax.1
cvs rdiff -r1.14 -r1.15 basesrc/bin/pax/pax.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.