summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/create.c
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add support for SHA-1 and RIPEMD160, now that libmd includes them. Makewollman1999-02-261-5/+39
| | | | | all of the hashes (including MD5) conditionalized in case we want to turn one of them off later.
* Move to a uniform '\ooo' (VIS_OCTAL) encoding for special characters.jkoshy1999-01-181-2/+2
| | | | | | | | | | | The previous commit broke mtree(8) when file names using certain 8-bit characters ended up being encoded with '/', '*', and other shell metacharacters. PR: bin/9538 Submitted by: "Eugene M. Kim" <astralblue@usa.net> Reviewed by: jkoshy Bug-missed-last-time-by: jkoshy
* Teach mtree(8) to handle whitespace in filenames. Uses strvis(3).jkoshy1999-01-121-3/+12
| | | | | | PR: bin/3246 Submitted by: Eugene M. Kim <astralblue@usa.net> Reviewed by: jkoshy, wollman
* Fixed printf format errors.bde1998-08-021-3/+3
|
* Create a new flag, "nochange", which will specify that a directory ispeter1998-06-051-2/+2
| | | | | | | | | | | | 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.
* Use err(3) instead of local redefinition.charnier1997-10-011-19/+29
|
* ts_sec -> tv_secnate1996-09-201-2/+2
| | | | | | ts_nsec -> tv_nsec Pointed out by: bde
* Report `fts_errno' instead of `errno' when the former applies.bde1995-07-241-2/+2
|
* Fix to match new MD5 api, faster.phk1995-07-121-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* mtree * MD5 = better securitywollman1995-02-101-0/+11
| | | | Idea from: Dr. John T. Wroclawski
* My optimization to eliminate /set records was a little too aggressive, itrgrimes1994-09-191-2/+5
| | | | optimized away the first one :-(.
* 1. Remove commented out CFLAGS+=-DDEBUG from Makefilergrimes1994-09-181-79/+119
| | | | | | | | | | | | 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.
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+290
OpenPOWER on IntegriCloud