he
ecaef6e7a4
Better fix for format warnings.
...
The type of time_t varies between ports, so we need to cast
before printing. It appears to be sufficient and safe to use (int).
2000-10-11 20:25:29 +00:00
briggs
1e8e167a26
Fix format warnings
2000-10-11 04:57:42 +00:00
is
9979da6cbb
Format string cleanups by Bill Sommerfeld.
2000-10-10 20:24:49 +00:00
perseant
2763cc1921
Working version of aborted dump{,_lfs} join.
1999-10-01 04:35:21 +00:00
perseant
e8247b4092
Back out changes made on the 29th, not at all the changes I intended to commit.
...
(I don't know how I did it though ... I'll figure it out tonight.)
I'll reapply this, in a working form, this evening.
1999-09-30 20:39:58 +00:00
perseant
54fd3dd508
Adapt dump(8) to use filestore-independent (but still ufs-specific)
...
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.
1999-09-29 04:57:48 +00:00
abs
125cb421d5
Note the default tape device is taken from _PATH_DEFTAPE in /usr/include/paths.h
1999-07-01 19:18:47 +00:00
abs
f6e78dac05
Default device is nrst0 not rst0
1999-06-28 01:32:49 +00:00
sommerfe
3a1d0ae5c7
Avoid byte overflow in block estimate for large files
1999-05-05 16:53:46 +00:00
bouyer
491d912f59
Implement a read cache, as announced on tech-userlevel. Default is 32k
...
read buffer size, 512 buffer or 15% of the user memory. Can be changed
with the -k and -s options.
1999-03-23 14:22:59 +00:00
bouyer
1746034b3e
Handle "nodump" flag on directories, by not dumping any files or directories
...
under it. Based on some parts of PR 6705 by Brian Grayson.
In the Makefile, add (commented out) debug options that can be turned on.
1999-03-09 17:25:52 +00:00
mycroft
f6590b22cd
Clean up SYNOPSIS formatting.
1999-03-07 11:02:05 +00:00
bouyer
3e3f9c7795
#include machine/bswap.h and remove -lutil.
1999-01-15 13:32:05 +00:00
lukem
5b05a0328e
s/1998/1999/
1999-01-03 14:33:44 +00:00
lukem
2faa2d1ff5
add support for '-L label', which file(1) and restore(1) can extract from the
...
header. mostly based on [bin/6715] from Brian Grayson <bgrayson@ece.utexas.edu>
old filesystems don't have fs_qbmask and fs_qfmask set in the superblock;
fudge them as per code in /sys/ufs/ffs/ffs_vfsops.c::ffs_oldfscompat().
bug and suggested fix from Robert Elz <kre@munnari.OZ.AU> in [bin/6610]
XXX: there may be other variables required as well...
1999-01-03 02:17:46 +00:00
lukem
21ae292644
add support for '-L label', which file(1) and restore(1) can extract
...
from the header.
mostly based on [bin/6715] from Brian Grayson <bgrayson@ece.utexas.edu>
1999-01-03 02:17:45 +00:00
tron
46ce633a7b
Add reference to "st(4)" as suggested by Brian Grayson in PR bin/6713.
1999-01-02 16:28:39 +00:00
lukem
5f22ea3a31
fix estimate of blocks for subsets.
...
fix from Brian Grayson <bgrayson@ece.utexas.edu> in [bin/6607]
1998-12-28 13:38:29 +00:00
ross
029a64cc29
from Erik Bertelsen <erik@mediator.uni-c.dk>
...
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
1998-08-25 19:18:12 +00:00
frueauf
d3c525bb9a
A dump level above 0 saves new or modified files since the last dump of
...
a lower level, not the same level. Fixes pr 5402 by Kevin Sullivan.
1998-08-11 09:52:35 +00:00
thorpej
ae36dbe3f7
Turn on TCP_NODELAY on the remote tape socket, from FreeBSD. Here is the
...
commit message from Bill Fenner:
Turn on TCP_NODELAY on the remote socket, to turn off sender silly window
syndrome avoidance. The combination of SWS avoidance and ack-every-other
causes low throughput if the block size divided by the MSS is odd (which
is true with the default block size and MSS).
Turning on TCP_NODELAY disables the Nagle algorithm and sender SWS avoidance.
The rdump request/response protocol can not invoke Nagle and cannot cause
SWS, so this has no negative effects.
Also, put back the code that sets the TOS to "throughput", which seems to
have been erroneously removed during the Lite-2 merge.
1998-07-30 18:14:00 +00:00
lukem
786b86d71b
use AF_LOCAL instead of AF_UNIX
1998-07-18 05:04:35 +00:00
mrg
2beab49a06
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
fair
1de21af0c2
PR#5697 + nroff cleanup
1998-07-03 11:17:46 +00:00
fair
3d7afc6d03
fix bad .Xr references
1998-04-29 09:49:10 +00:00
fair
dc026e0515
Change occurrences of "UNIX" to .Ux or .At as appropriate.
1998-04-28 06:00:51 +00:00
bouyer
d90a3686d5
PR bin/5346 from haszlaki@UAccess.NET:
...
After parsing the entries from /etc/dumpdates, remember ou entrie, in order
to print the date after /etc/dumpdates has been rewritten.
1998-04-22 08:55:18 +00:00
kleink
0cadc2826a
Need <time.h> for time(), localtime() and ctime() prototypes.
1998-04-01 16:15:40 +00:00
kleink
22821b35cd
Need <time.h> for ctime() prototype.
1998-04-01 16:08:26 +00:00
mrg
c6f31851ad
use <errno.h>
1998-03-30 01:54:40 +00:00
bouyer
34ccbd430c
Add support for non-native byte order FFS. The dump is in filesystem byte
...
order, restore already knows how to byteswap dumps.
1998-03-18 16:54:56 +00:00
christos
98216d6649
Use strptime() instead of a home grown parser.
1998-02-04 14:49:11 +00:00
mrg
9f84449ae5
add missing .Nm sections.
1997-11-11 14:39:59 +00:00
enami
0d4522a03f
Fix .Nm usage.
1997-10-20 09:11:16 +00:00
christos
e230a48b57
CFLAGS->CPPFLAGS
1997-10-10 19:47:50 +00:00
lukem
865fe3908e
Various changes from Brian Grayson <bgrayson@ece.utexas.edu> in [bin/4103]
...
* exit after providing an estimate if -S was given. the PR used -e,
but checking around indicated prior art in Solaris usin -S.
* remove superfluous 'DUMP:' prefix in two messages
* initialise blocksperfile explicitly (not necessary, but everything
else in that section gets initialised, so be consistant :)
* display the ``pretty'' name of the dumped directory, so the user
knows if it's a subset or not
1997-09-18 03:03:55 +00:00
mrg
52ff5d8fee
make these compile on the alpha after WARNS=1.
1997-09-16 08:37:01 +00:00
lukem
919c9246d4
resolve conflicts from lite-2 import
1997-09-16 06:41:19 +00:00
lukem
43a95d024f
remove __dead
1997-09-15 12:42:54 +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
66bc7bd651
fix PR#3710, reported by Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>.
...
- don't pass pw->pw_name into functions; make a copy.
1997-06-05 16:10:46 +00:00
lukem
d82e5e1e13
cleanup xrefs
1997-06-05 11:15:06 +00:00
lukem
4c54f5b742
* Add the ability to dump specific files & directories of a single
...
filesystem. This uses fts(3) to access the directory structure (and
not the raw device), so the standard access permissions are adhered
to (unlike dumping an entire filesystem, which just requires read
access to the raw disk device).
* Support SIGINFO status reporting.
* Remove now unused variables that previously stored the (e)uid.
* Be more informative in a couple of error messages.
1997-06-05 11:13:18 +00:00
mrg
88c38b1d8c
enable rcmd(). garbage collect.
1997-05-27 08:35:25 +00:00
mrg
0631d904fa
fix off by one bug.
1997-05-27 08:34:36 +00:00
mrg
6992846f36
use orcmd() for now.
1997-05-26 15:18:25 +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
daf554f0c4
use _PATH_DEFTAPE from <paths.h>
...
change doco references/examples from /dev/rmt* to /dev/rst*
1997-04-15 07:00:45 +00:00