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
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
mikel
b31dfde1ef
set bflag so that 'dump bd M N' works properly. fix from Juergen
...
Hannken-Illjes in PR bin/3254.
1997-02-27 06:17:23 +00:00
perry
5714664cf5
fix pr 2977 -- only try to dump ufs/ffs partitions
1997-01-16 22:00:30 +00:00
cgd
a0c5caa042
patches from Tom I Helbekkmo <tih@nhh.no> to deal with type-size issues,
...
so this works (better, at least) on 64-bit machines (e.g. alpha).
1996-11-30 18:01:52 +00:00
thorpej
12afd4fc11
- If rcmd() fails, don't do any of the setsockopt() calls.
...
- Since the TCP_MAXSEG setsockopt can only descrease the MSS, and never
increase it, do an IP_TOS:IPTOS_THROUGHPUT setsockopt instead, since
dump is a bulk transfer.
Submitted by Bill Fenner <fenner@parc.xerox.com>.
1996-11-05 23:59:01 +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
scottr
ef8a0d774c
Be more paranoid with our effective uid.
1996-03-15 22:39:26 +00:00
mrg
2b5cf47051
support $TAPE. update manual to reflect reality ( #1937 ).
1996-02-05 23:59:37 +00:00
phil
3651682dbf
Add /dev/rst* to FILES section. (pr 601) (Matches mt man page.)
1996-02-02 22:29:15 +00:00
cgd
93a2f4ea60
update for posixified stat structure
1995-06-18 21:35:33 +00:00
mycroft
ae16273156
Back out previous change.
1995-06-11 05:16:04 +00:00
cgd
788733b7a9
typeof(timeval.tv_sec) != time_t
1995-06-07 17:14:21 +00:00
mycroft
5745c084e8
Fix another bogus cast.
1995-03-27 22:14:47 +00:00
mycroft
61b709b720
Remove incorrect cast on lseek() return value.
1995-03-27 21:48:52 +00:00
mycroft
be82a25869
Use POSIX signals.
1995-03-21 18:48:41 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
mycroft
4cdfbdb0e8
Fix an old formatting glitch.
1995-02-21 00:27:29 +00:00
mycroft
dd6c22ed70
Use getopt(3), with obsolete() from restore(8) for backward compatibility.
1995-02-20 22:35:56 +00:00
mycroft
0c1f0c97eb
Don't mix stat flags and inode flags.
1995-01-30 20:32:01 +00:00
mycroft
40499f1522
Use /etc/rmt explicitly.
1995-01-20 18:04:56 +00:00
mycroft
54d17cb5bb
Sync with CSRG.
1994-12-28 01:51:46 +00:00
cgd
06e2955ff1
specify man pages the new way.
1994-12-22 10:44:04 +00:00
cgd
330e4bd448
correct return values.
1994-10-31 04:21:35 +00:00
mycroft
ea7b5d4ec6
Eliminate uses of some obsolete functions.
1994-09-23 14:26:58 +00:00
mycroft
8ffd59e28b
err(3)/warn(3) cleanup
1994-09-23 02:18:30 +00:00
mycroft
47597918a1
Correct typo; IFMT -> S_IFMT.
1994-09-17 23:59:03 +00:00
mycroft
eadb2ad514
Fix compatibility with old fastlinks.
1994-06-14 22:49:57 +00:00
mycroft
ccfa3742b5
Update from 4.4-Lite, with local changes.
1994-06-08 18:57:30 +00:00
cgd
af8ee2b8b6
change some #ifdef's.
1994-04-25 18:22:50 +00:00
cgd
3df1993cc6
don't segv if called with no options!
1994-03-28 01:50:05 +00:00
cgd
fdacab63a9
light clean, and don't forget to close remote tape when aborting.
...
Inspired by Andreas Schulz.
1994-03-09 01:14:43 +00:00
jtc
3be79230a5
More spelling errors.
1994-01-28 20:07:07 +00:00
cgd
12844e4345
fix for() starting condition in mapfiles()
1994-01-14 21:29:51 +00:00
jtc
7d2aaa8290
Replace emitl(), a function that converts a struct tm to a time_t, with
...
a call to C library function mktime(), which does the exact same thing
(using basically the same algorithm too).
1993-12-24 01:16:59 +00:00
mycroft
6b7fd8ec52
Clean up deleted files.
1993-12-22 10:25:05 +00:00
cgd
108d89475f
new version from CSRG, via BSDI, with fixes
1993-12-22 10:19:31 +00:00
mycroft
14fc37d890
Change the four inode loops to the form:
...
for (ino = 1; ino <= maxino; ino++)
Based on a bug fix from Havard Eidnes <Havard.Eidnes@runit.sintef.no> and
suggestion by Chris Torek <torek@horse.ee.lbl.gov>.
1993-12-02 03:49:37 +00:00
mycroft
a49e6f5cbe
Avoid core dumping if /etc/dumpdates is not present. Note that only file
...
systems listed in dumpdates are display by `dump w' and `dump W'; this is
probably a bug.
Original bug reported by John Brezak <brezak@ch.hp.com>.
1993-12-02 02:33:39 +00:00
jtc
93a125034a
Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX".
1993-11-30 00:11:45 +00:00
cgd
f51f1b4c04
from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>:
...
Some reordering and modifications in the Makefiles for sh, dump,
restore to get dependicies right. The README in /usr/share/mk
states that it's a Bad Thing(tm) to add something after
.include <bsd.prog.mk>, but this seems the only way to get the
dependencies right.
1993-11-14 15:35:34 +00:00
cgd
b14e2fa6d0
oops again; fix that last
1993-11-12 08:48:26 +00:00
cgd
24f92f3f76
oops; fix that last
1993-11-12 08:45:45 +00:00
cgd
bcb8233523
add LDSTATIC
1993-11-12 08:20:49 +00:00
jtc
fc04014ae1
Dump is now in /sbin.
1993-08-20 16:32:58 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
dfb9caab49
Add RCS indentifiers.
1993-08-01 07:32:48 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
mycroft
f6e43c3958
Use ${COPY}, not -c for install.
1993-07-18 19:17:22 +00:00
mycroft
90c92bff60
Add support for fast symlinks.
1993-06-13 21:08:27 +00:00
mycroft
37c185dac7
Don't dereference NULL pointer.
1993-04-20 09:30:45 +00:00
mycroft
3f2c883b20
Don't overrun end of argv.
1993-04-20 09:07:41 +00:00
mycroft
5ef591fb1b
Okay, so I was confused (but only a little).
1993-04-18 18:56:24 +00:00
mycroft
4c972f9662
Make rdump target match normal program target.
...
(This should probably be in a separate directory, no?)
1993-04-18 18:39:26 +00:00
cgd
564a27b415
from patch 110, by bostic:
...
dump not mapping last inode in fs
1993-04-09 12:29:06 +00:00
cgd
e318f3396e
make install copy
1993-04-08 13:53:28 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00