Matthew Dillon
5b3817c60b
Make the protocol/dumprestore.h header match restore's idea of the dump
...
header for the case where sizeof(time_t) != sizeof(int). dumprestore.h
was embedding time_t when it should have been embedding int32_t.
Use time_to_time32() and time32_to_time() to convert between the
protocoll/file-format time and time_t.
2001-10-28 20:01:38 +00:00
Crist J. Clark
a17d5ec55d
Documentation fixes:
...
- The '-d' option was not documented on the manpage or in the
usage message.
- The '-N' option was not included in the usage.
2001-10-02 08:24:37 +00:00
Ruslan Ermilov
860ca8fd85
restore(8) doesn't need to be setgid `tty', and never did.
...
At the times, restore(8) and rrestore(8) were the different
utilities. rrestore(8) was installed setuid `root', while
restore(8) with usual ownership and privileges. Later on,
on August 28, 1991 (what a coincidence!), rrestore(8) code
was merged with restore(8). The setgid `tty' bit then was
accidentally put.
2001-08-30 09:18:55 +00:00
Dima Dorfman
a5ef8459cc
Fix grammar.
2001-08-20 02:16:41 +00:00
Dima Dorfman
b9595aa55f
Respect the -N flag when changing directory attributes in setdirmode).
...
PR: 29671
Submitted by: Sascha Blank <sblank@addcom.de>
2001-08-20 02:15:22 +00:00
Kris Kennaway
5979df34a6
Silence non-constant format string warnings by marking functions
...
as __printflike()/__printf0like(), adding const, or adding missing "%s"
format strings, as appropriate.
MFC after: 2 weeks
2001-08-19 08:19:37 +00:00
Maxim Sobolev
4afde8553d
Honour `TMPDIR' environment variable.
...
Reviewed by: ru
Approved by: ru
MFC after: 2 weeks
2001-08-13 09:20:15 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
9fe48c6e8d
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 11:04:34 +00:00
Dima Dorfman
cafefe8c1b
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 23:04:23 +00:00
Mike Heffner
26f4fa24e3
Document the interactive command `what'.
...
Reviewed by: ru
MFC after: 2 weeks
2001-06-20 04:00:43 +00:00
Matt Jacob
428133f142
Add 'SKIP' as an action so that verification works for multivolume restores.
...
Tested with filesystem files.
PR: 27218
Submitted by: mad1@tapil.com
MFC after: 3 weeks
2001-06-11 01:44:06 +00:00
Ruslan Ermilov
0a5779d45b
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
David E. O'Brien
02344806db
bye-bye documented raw device
2001-03-09 13:06:09 +00:00
David E. O'Brien
8454c72c24
Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,
...
and remove leading `r'(aw) from it.
2001-03-08 09:04:40 +00:00
Ruslan Ermilov
47dec78170
mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.
2001-02-13 09:56:35 +00:00
Ruslan Ermilov
896eb7d10c
Prepare for mdoc(7)NG.
2001-01-16 09:15:57 +00:00
Ruslan Ermilov
1252c1bb05
Prepare for mdoc(7)NG.
2000-12-18 15:16:24 +00:00
Ian Dowse
5a59cccc61
Stop restore from looping under certain error conditions. This
...
corrects cases where restore would spew an infinite stream of
"Changing volumes on pipe input?" messages, or would loop waiting
for a response to the "set owner/mode for '.'" question.
PR: bin/14250
Reviewed by: dwmalone
2000-12-12 12:04:02 +00:00
Kirk McKusick
522b7bcdf6
Don't give up on file write errors. Just log them and continue.
2000-12-12 06:30:42 +00:00
Ruslan Ermilov
7c7fb079b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Garrett Wollman
eb2fc78027
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
...
<time.h>).
2000-10-10 01:50:26 +00:00
Matt Jacob
cbd8ecd6ac
Fix sign extension.
...
PR: 21232
Obtained from: Christian Weisgerber <naddy@mips.inka.de>
2000-09-12 21:42:58 +00:00
Sheldon Hearn
d84f2470c3
Add text from NetBSD's rev 1.12 which should have accompanied
...
the changes made to our own source on 1997-01-01.
PR: 20445
Submitted by: Jon Masami Kuroda <jkuroda@eecs.berkeley.edu>
2000-08-11 10:37:39 +00:00
David Malone
fddde8b056
Don't try to make files immutable (ie. chflags) before setting access times.
...
PR: 19973
Submitted by: Arjan de Vet <Arjan.deVet@adv.iae.nl>
Reviewed by: Matthew Jacob <mjacob@feral.com>
2000-07-16 23:22:15 +00:00
Kris Kennaway
334f24bbab
Update references to disk and tape devices.
2000-05-07 09:16:56 +00:00
Sheldon Hearn
ef8f7ac935
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
Nik Clayton
b1ba45cfe5
Remove xrefs to obsolete ft driver.
...
PR: docs/17080
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-01 10:40:18 +00:00
Mark Murray
f499a39621
Use libcrypto instead of libdes.
2000-02-24 21:01:54 +00:00
Bill Swingle
0169694662
Committed changes to restore(8) for previously undocumented -N option.
...
PR: 15600
Reviewed by: jim
2000-02-17 02:15:18 +00:00
Alexey Zelkin
0c39ec0311
Add `.Nm rrestore' to NAME section.
2000-01-10 12:27:33 +00:00
Mark Murray
1099209e99
Prepare for K5.
1999-09-20 06:21:51 +00:00
Mark Murray
105b74f110
Fix for new KerberosFix for new Kerberos44
1999-09-19 22:14:33 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Warner Losh
e254596824
Fix two possible non-exploitable buffer overflows.
...
Thanks to: A friend at Sun auditing dump/restore for Solaris.
1998-12-16 04:48:00 +00:00
Robert Nordier
c276ec5a07
Refer to "da" rather than "sd" device.
1998-11-28 10:02:52 +00:00
Dima Ruban
97b465b142
64bit fixes.
...
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem
somewhere is the physio() area)
Submitted by: myself && Matt Dillon.
1998-10-27 04:01:19 +00:00
Ollivier Robert
4a73c49a6d
Change rst0 into rsa0.
1998-09-22 10:05:27 +00:00
David E. O'Brien
be0cde6f10
Remove useless `BINOWN=root' now that it is the default.
1998-09-19 22:42:06 +00:00
Warner Losh
fc1e823247
Prevent buffer overflow with extra long arguments.
1998-09-17 20:18:11 +00:00
Mark Murray
448bbb5805
Fix LIBDIR (for aout/ELF).
1998-08-06 21:41:13 +00:00
Warner Losh
49a3215509
Commit patch from Tor Egge to fix the "large filesystem restore" problem.
...
This appears to work for me in the old case, but I don't have large
enough filesystems to test the fix case.
Reported working by: karl@mcs.net
1998-07-28 18:50:01 +00:00
Philippe Charnier
91ac32e405
Add rcsid. Remove unused #includes. Add missing prototypes and others -Wall
...
cleanings. Spelling.
1998-07-28 06:20:16 +00:00
John Polstra
adb915cb28
Fix a bug that prevented the restoration of hard links to files that
...
had the schg flag set. Reported by Matthew Thyer <thyerm@camtech.net.au>.
1998-07-09 03:57:26 +00:00
Bruce Evans
7fafc6f67c
Fixed printf format errors. Sure is dusty here.
1998-06-28 20:25:59 +00:00
Jordan K. Hubbard
2640840497
Well, nobody objected, so here's my -u (unlink) flag to restore.
1998-05-09 05:23:02 +00:00
Jordan K. Hubbard
b535f1bace
The logic in tape.c:getfile() doesn't allow for a filesystem
...
with a blocksize smaller than the tape block size. The problem
seems to be most easily fixed by changeing where fssize is set.
PR: 5704
Submitted by: David Malone <dwmalone@maths.tcd.ie>
1998-03-23 23:19:14 +00:00
Masafumi Max NAKANE
c456b727db
Typo fix in the message displayed.
1997-12-21 15:40:11 +00:00