Commit Graph

19 Commits

Author SHA1 Message Date
blymn a152a6a92a Add the capability for dump to print timestamps on all informational
messages.
2001-10-15 13:25:33 +00:00
david a84be23c10 Patch to drop setgid tty privs until forking for operator notification 2001-08-08 16:49:54 +00:00
lukem 9af1692ef1 * improve parsing of file-systems-to-dump when a path is given:
- if it's a path to an unmounted file-system listed in /etc/fstab, use
	that instead of assuming the user wanted a subtree dump of the parent
	directory. this restores the behaviour of dump before the subtree
	dumping code went in.
      - if it's a path to a mounted file-system which is not in /etc/fstab,
	use the info from getmntinfo(3). previously, dump would choke.
* implement error checked malloc(), calloc(), strdup(), and use
  appropriately (some of the calloc()s weren't being checked)
* use 'file-system' instead of 'filesystem' in the man page
2001-05-28 01:09:54 +00:00
lukem cc5935ebba unifdef !__STDC__ (missed in previous) 2001-05-28 00:41:14 +00:00
lukem 99feaf5b29 knf to ansi 2001-05-27 14:17:56 +00:00
is 9979da6cbb Format string cleanups by Bill Sommerfeld. 2000-10-10 20:24:49 +00:00
kleink 0cadc2826a Need <time.h> for time(), localtime() and ctime() prototypes. 1998-04-01 16:15:40 +00:00
lukem a84bab531d * cleanup for WARNS=1
* fix use of .Nm
* comment out some unused(?) functions
1997-09-15 07:58:01 +00:00
mrg 0631d904fa fix off by one bug. 1997-05-27 08:34:36 +00:00
thorpej d35d1cc20f Don't need to account for space for NUL, as it's included in the
sizeof(_PATH_DEV), noted by Chris Demetriou <cgd@netbsd.org>
1997-04-21 21:08:33 +00:00
thorpej 5ebe7c7be3 Add missing `-', noted by Erik Fair <fair@cesium.clock.org> on
current-users.
1997-04-21 21:05:07 +00:00
mrg d655665117 be safe with buffers. 1997-04-21 11:31:15 +00:00
lukem 93da79de2b remove use of "register". 1997-04-15 01:09:49 +00:00
lukem 578deb45c4 Implement changes from [bin/1915]
* 'w' and 'W' display the year
* verbosity additions displaying total & per-volume transfer times and rates
1997-04-10 05:36:23 +00:00
perry 5714664cf5 fix pr 2977 -- only try to dump ufs/ffs partitions 1997-01-16 22:00:30 +00:00
jtk 71b374789d Adjust the base for time estimates to ignore time we spent waiting
for operator input.
enhancements from PR #900
1996-05-18 16:16:17 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft ccfa3742b5 Update from 4.4-Lite, with local changes. 1994-06-08 18:57:30 +00:00
cgd 108d89475f new version from CSRG, via BSDI, with fixes 1993-12-22 10:19:31 +00:00