summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Only compile with strtofflags.c from libc if bootstrapping.ru2001-09-241-4/+6
|
* Fix the bootstrapping aid from revision 1.9.ru2001-09-171-1/+1
| | | | WORLD was renamed to BOOTSTRAPPING.
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* can not -> cannotsheldonh2001-08-081-1/+1
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-4/+5
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-4/+4
|
* Mark a static function as __printflike()kris2001-07-051-1/+1
| | | | MFC After: 1 week
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* Convert to use the <sys/queue.h> macros rather than fiddling with the queueben2000-12-291-1/+1
| | | | | | structure internals. Reviewed by: markm
* Prepare for mdoc(7)NG.ru2000-12-271-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+1
|
* Don't try to compare other attributes if the type doesn't match, it'sphk2000-10-061-0/+1
| | | | nothing but trouble, and no use anyway.
* Don't whine about modes on symlinks.phk2000-10-061-0/+1
|
* Make the output of mtree(8) more systematic and machine readable.phk2000-10-033-48/+46
| | | | | | | | | | | | The new format is: filename {changed,missing,extra} $field expected $foo found $bar ... Fix various bugs along the way: Don't complain about directory sizes differing. Correctly check flags.
* Re-add -P option (for POSIX-like command line interface)ache2000-09-252-6/+11
|
* Restore standard symlink default, return -L, remove -P, add missing -q to getoptache2000-09-152-11/+12
| | | | | | This is part of whole subsystem fixing Reviewed by: imp
* Pass a useful pathname to rlink(). Many thanks to the PR originatorsheldonh2000-09-131-1/+2
| | | | | | | | for all the debugging work. PR: 21017 Reported by: Gerhard Sittig <Gerhard.Sittig@gmx.net> Submitted by: Jos Backus <josb@cncdsl.com>,
* Add -q. this will cause the warning messages about missingimp2000-07-253-6/+22
| | | | | | | | | | | | 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
* Revert the reversion of the default mtree behaviour. The mtreemarcel2000-07-242-12/+11
| | | | | | command now follows symlinks again. Requested by: jkh
* First attempt to fix a buildworld from -stable machine. Explicitlyimp2000-07-231-2/+3
| | | | | include strtofflags.c from lib/libc/gen when building mtree until the current dependency mess with mtree is fixed.
* Correct the usage() message as per rev 1.25 of mtree.8 .sheldonh2000-07-171-1/+1
|
* * Order options in the SYNOPSIS correctly.sheldonh2000-07-171-35/+39
| | | | | | | | | | | * 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.
* Fix getopt string I forgetache2000-07-161-1/+1
|
* Revert back to original mtree default behaviour to not follow symlinks, to beache2000-07-162-10/+11
| | | | | | | | 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
* Fix the NAME section. Order the options which do not take arguments,sheldonh2000-07-141-1/+13
| | | | | add the -P option (introduced in rev 1.22), and use mdoc word keeps (Bk -words / Ek) for those options which do take arguments.
* Use -P instead of -S to specify that no symlinks should be followed.joe2000-07-142-8/+8
| | | | | | | There's no reason to make it different from cp(1), chmod(1), chown(1) etc. Requested by: sheldonh
* Allow symlinks to be created if they appear in the mtree specification.joe2000-07-132-5/+20
| | | | PR: bin/14171
* Added a flag (-S) to mtree to specify that symlinks shouldn't bejoe2000-07-133-1/+9
| | | | | | 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.
* Switch over to using the new fflagstostr and strtofflags library calls.joe2000-06-176-16/+43
|
OpenPOWER on IntegriCloud