summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree
Commit message (Collapse)AuthorAgeFilesLines
* Markup fixes.ru2006-09-291-1/+1
|
* o Add an 'optional' keyword, which allows files to be in themaxim2006-07-036-1/+36
| | | | | | | | | | 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
* If we fail in chown(2), try to just change the group and continue on tobrian2005-08-111-10/+28
| | | | | | | | | | | change the permissions. Failures are still recorded. This allows mtree to do a generally better job of things when uid != 0. Sponsored by: ActiveState/Sophos Partially submitted by: neilw at ActiveState dot com Reviewed by: neilw at ActiveState dot com MFC after: 3 weeks
* Fix all the spelling mistakes I could find in the man pages for wordskeramida2005-07-311-1/+1
| | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these.
* Markup fixes.ru2005-06-141-1/+1
| | | | Approved by: re (blanket)
* Adds sha256 support. While it is a good idea to also add sha384 andtobez2005-03-299-9/+67
| | | | | | | | | | | | | | 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
* Expand *n't contractions.ru2005-02-131-3/+3
|
* Sort sections.ru2005-01-181-7/+7
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Remove extra "*/".simokawa2004-08-071-2/+0
|
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-072-5/+22
| | | | (with permission of addtional copyright holders where appropriate)
* Eliminated double whitespace.ru2004-07-031-2/+2
|
* Mechanically kill hard sentence breaks.ru2004-07-021-7/+13
|
* Improve spec to spec comparison output.phk2004-06-141-3/+20
|
* Added forgotten -w to the usage().ru2004-06-041-1/+1
|
* Added forgotten -w to the SYNOPSIS.ru2004-06-041-4/+4
| | | | Trim whitespace at EOL.
* Get rid of "lineno: 0" in error messages from create mode.phk2004-01-114-25/+42
| | | | | Add -w(arning) flag which makes failure to look up uid/gid a nonfatal warning instead of an error.
* collect all "extern bla" stuff in extern.h in order to get cross-filephk2004-01-115-16/+8
| | | | type checking. No bugs found.
* Do not emit comments when -n is specified.phk2004-01-081-5/+10
|
* The new "spec against spec" comparison code was yet another timephk2003-11-301-7/+22
| | | | | | | victim of the special sort order employed where files come before directories and alphabetic inside these two groups. Approved by: re@
* Off by one error in malloc.phk2003-11-191-1/+1
| | | | Approved by: re@
* Fix a bug relating to the "files before directories" sort order whenphk2003-11-131-0/+51
| | | | comparing two spec files.
* Add a small testcase for the new -f-f mode.phk2003-11-051-0/+60
|
* Give mtree(8) the ability to take [two -f spec] arguments and comparephk2003-11-057-8/+238
| | | | the two specifications to each other.
* Rename spec() and verify() functions to have mtree_ prefix and takephk2003-11-054-13/+10
| | | | explicit file descriptor instead of assuming stdin.
* Take advantage of the fact that we know the err(3) function does notphk2003-11-051-24/+14
| | | | return to eliminate some else clauses and gain some "outdenting".
* Fixed breakage of my world in rev.1.30. #include <sys/time.h> instead ofbde2003-11-011-13/+9
| | | | | | | | | | | | | depending on namespace pollution in <sys/stat.h> for the declarations of struct timeval and utimes(). Fixed some style bugs in rev.1.30 and some nearby style bugs (mainly unsorting and missing or extra blank lines). Removed a wrong comment that was obtained from NetBSD in rev.1.14. It said that chflags() reset the times that were set "above" by utimes(), but utimes wasn't "above" in FreeBSD until rev.1.30, and chflags() does't actually reset the times.
* Make mtree's update function update the modification time too.phk2003-10-313-3/+53
| | | | | Submitted by: Dan Nelson <dnelson@allantgroup.com> PR: 53063
* Update test-case to also fail on filenames containing '#'phk2003-10-301-0/+17
|
* Use vis(3) to encode/decode the target for symlinks.phk2003-10-302-10/+13
| | | | Make vis(3) decode errors fatal for both symlink targets and fienames.
* Add another test-script for mtree(8): Check symlinks with space in them.phk2003-10-301-0/+40
|
* Fix bug in mtree(8)'s create mode where files or directories with hadphk2003-10-301-1/+1
| | | | | | | | names containing glob(3) expressions would appear verbatim in the output. If such an mtree file were used by mtree in update mode, wrong things would happen.
* Add a test script which Mtree fails.phk2003-10-301-0/+51
|
* Remove clause 3 in the copyrights (according to permission in src/COPYRIGHT)phk2003-10-219-47/+15
| | | | Remove trailing whitespace.
* Remove "register" keywords.phk2003-10-216-60/+35
| | | | Use newspeak functions definitions.
* Get rid of duplicates.ru2003-09-141-1/+1
|
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-037-26/+26
|
* The -s option should not assume -U.tobez2003-03-191-0/+1
| | | | MFC After: 2 weeks
* - Align the function prototype of the external `crc' function withrobert2003-03-135-13/+11
| | | | | | | | | | | | | | how `crc' is actually defined. - Remove an unnecessary `extern' variable declaration. Data type corrections: - Define a variable which contains a file byte offset value as type off_t as required by the `crc' function. - Change the type of a variable carrying a CRC checksum from `u_long' to `uint32_t'. - Substitute the wrong `extern' variable declaration of `crc_total' by putting a correct one in the shared header extern.h. `crc_total' is defined as an `uint32_t', thus fixing incorrect mtree checksums on big-endian LP64 machines.
* Fix two minor mismatch reporting output errors.tobez2003-03-131-2/+2
| | | | | Reviewed by: phk MFC After: 3 weeks
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* mtree(8) wasn't a bootstrap tool since 2000/07/23 (Makefile.inc1,v 1.161).ru2002-11-131-5/+0
|
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structwollman2002-09-211-2/+2
| | | | | | | | | | | | | | | | hack, thereby allowing future extensions to the structure (e.g., for extended attributes) without rebreaking the ABI. FTSENT now contains a pointer to the parent stream, which fts_compar() can then take advantage of, avoiding the undefined behavior previously warned about. As a consequence of this change, the prototype of the comparison function passed to fts_open() has changed to reflect the required amount of constness for its use. All callers in the tree are updated to use the correct prototype. Comparison functions can now make use of the new parent pointer to access the new stream-specific private data pointer, which is intended to assist creation of reentrant library routines which use fts(3) internally. Not objected to in spirit by: -arch
* Get rid of %qd, and unbreak Alpha build.des2002-07-152-3/+6
|
* The .Nm utilitycharnier2002-07-141-2/+2
|
* fixup for WARNS=4.alfred2002-07-118-19/+23
|
* de-__P()alfred2002-07-117-24/+23
|
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-281-16/+0
|
* Consistancy check: s/file system/filesystem/gtrhodes2002-05-161-1/+1
|
* Typo.max2002-05-101-1/+1
|
OpenPOWER on IntegriCloud