lukem
a260da3f8b
Support using $TMPDIR for rst{dir,modes}* files, so that large
...
restores can be done on machines with small /tmp's by setting TMPDIR
elsewhere. This shouldn't be a security issue as restore(8) isn't
set?id anymore.
1997-07-01 05:37:49 +00:00
lukem
ca651d6946
There's no need to install restore(8) setgid tty.
1997-06-30 09:47:27 +00:00
lukem
b45dc84835
Fix problem with duplicate entries when changing from LEAF to NODE;
...
only the first link of a inode was being removed, not all of them.
From Kirk McKusick <mckusick@McKusick.COM> via thorpej
1997-06-18 07:10:16 +00:00
lukem
a9fe880b0c
explicitly \0 terminate locname[] in treescan(). should fix [bin/2093]
1997-06-03 04:27:49 +00:00
mrg
4925873939
remove the setuid bit.
1997-05-27 08:45:52 +00:00
pk
0c19f22e3f
* NULL => 0 (Arne Juul; PR#3629)
...
* Nuke spacoids
1997-05-17 19:38:12 +00:00
gwr
10e180cc49
Back out the .PATH.c changes. The .depend problem (and others)
...
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e
Use .PATH.c: ...
1997-05-06 20:44:56 +00:00
lukem
ceb1313a6a
use _PATH_DEFTAPE from <paths.h> instead of "pathnames.h"
...
cleanup references/examples to use /dev/rst* instead of /dev/rmt*
minor .Nm usage cleanup in man page
1997-04-15 07:12:19 +00:00
lukem
8c5cee237e
* use mkstemp() instead of mktemp()
...
* remove "register" qualifiers
1997-03-19 08:42:51 +00:00
cjs
ea04966433
Fix typo: PR bin/3059
1996-12-26 17:35:35 +00:00
mikel
aff1970d41
remove mkfs(8) xref; PR 3041
1996-12-24 02:32:25 +00:00
mycroft
728e20590f
Make sure to byte-swap all of the relevant fields; especially c_flags.
1996-12-04 03:54:04 +00:00
cgd
bcaa5b7b1c
When initializing 'fssize,' the size of the data buffer to be used when
...
writing data to the file system, if the "optimal" file system I/O
operation block size is less than TP_BSIZE, leave fssize alone (i.e.
at its default setting of MAXBSIZE). This was causing restore's
stack to be trashed, because the end-of-buffer checking/flushing code
around line 680 would never notice that the buffer was full (because
it'd be comparing a buffer segment index, which would always be >= 1, to
fssize / TP_BSIZE, which could be zero in that case), and would keep
filling and filling and filling...
1996-11-30 18:31:29 +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
lukem
9ab7d8e652
use unique temporary files for all operations except 'r' and 'R', which still
...
base temp files on dumpdate. explain why in the man page. fixes [bin/2870]
1996-10-24 04:01:10 +00:00
thorpej
5d6afee55f
Use snprintf() rather than sprintf().
1996-09-27 03:23:33 +00:00
thorpej
6c2fa7eac7
Back out last change (and re-open PR); the patch is incomplete, and
...
I realized it _just_ as CVS checked the file back in.
1996-09-27 03:15:00 +00:00
thorpej
f864e10c5f
Make unique temporary file names.
...
From Luke Mewburn <lukem@supp.cpr.itg.telecom.com.au>, PR #2544 .
1996-09-27 03:07:05 +00:00
scottr
ef8a0d774c
Be more paranoid with our effective uid.
1996-03-15 22:39:26 +00:00
mrg
aa6f27003a
support $TAPE.
1996-02-06 00:00:22 +00:00
phil
3651682dbf
Add /dev/rst* to FILES section. (pr 601) (Matches mt man page.)
1996-02-02 22:29:15 +00:00
phil
9b1b61bd53
Change default tape name in documentation from /dev/rmt? to /dev/rmt8 to
...
match pathnames.h. (pr #601 )
1996-02-02 22:20:07 +00:00
cgd
dd12858b36
stat structure POSIXification
1995-06-19 00:20:11 +00:00
mycroft
5827156eb1
Back out previous change.
1995-06-11 05:28:52 +00:00
cgd
788733b7a9
typeof(timeval.tv_sec) != time_t
1995-06-07 17:14:21 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
mycroft
1e81015d0c
Document the getopt(3) option syntax, and some other documentation cleanup.
1995-02-21 01:17:40 +00:00
mycroft
d8b173be70
Use atexit() rather than tweaking every exit() to call the cleanup function.
1995-02-20 19:43:51 +00:00
mycroft
f7078d4f16
Fix core dumps on certain types of invalid options.
1995-02-20 18:42:14 +00:00
mycroft
0c1f0c97eb
Don't mix stat flags and inode flags.
1995-01-30 20:32:01 +00:00
mycroft
33ea52b638
Mostly sync with CSRG.
1994-12-28 02:21:43 +00:00
cgd
06e2955ff1
specify man pages the new way.
1994-12-22 10:44:04 +00:00
mycroft
ea7b5d4ec6
Eliminate uses of some obsolete functions.
1994-09-23 14:26:58 +00:00
mycroft
10a6fcedbf
Allow extracting FIFOs.
1994-09-18 05:11:03 +00:00
mycroft
03f3c15cdd
Simplify that code a little.
1994-06-18 18:20:46 +00:00
mycroft
64069a045f
Fix a byte-order problem when reading directory entries from old file systems
...
that were on little-endian machines.
1994-06-18 18:14:07 +00:00
mycroft
1d47b37b46
Fix a couple of Makefile bogons.
1994-06-17 05:09:19 +00:00
mycroft
bab8181299
Update from 4.4-Lite, with local changes.
1994-06-08 19:33:47 +00:00
mycroft
726a4412d4
Clean up deleted files.
1994-06-08 19:33:46 +00:00
mycroft
625a6892f7
Update from 4.4-Lite, with local changes.
1994-06-08 19:27:32 +00:00
cgd
725ed31e82
copyright foo
1994-05-17 04:13:48 +00:00
cgd
76919077ef
kill some #ifndefs
1994-04-25 18:33:12 +00:00
cgd
873973c399
just kill the cast completely
1994-04-02 01:50:23 +00:00
cgd
67f7468b24
bad cast
1994-04-01 03:32:38 +00:00
cgd
44fcfeed78
Check correct header when looking at tape number.
...
from thomas@mathematik.uni-Bremen.de
1994-03-01 00:16:15 +00:00
cgd
abaf7e6493
light clean and check error codes
1994-02-19 09:07:18 +00:00
jtc
ab3a89f913
Fix spelling errors
1994-01-14 02:05:23 +00:00
mycroft
ff675c97f1
Clean up deleted files.
1993-12-22 10:32:21 +00:00
cgd
3e75cabcd4
new version from CSRG, via BSDI, with fixes
1993-12-22 10:31:38 +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
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
7e6ae0ac93
Make sure all items in the SEE ALSO list are comma separated
1993-10-05 00:12:10 +00:00
mycroft
13c54e604a
Add an #endif I forgot.
1993-08-03 23:25:12 +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
1fb80e5b34
Add RCS identifiers.
1993-08-01 05:26:30 +00:00
mycroft
f6e43c3958
Use ${COPY}, not -c for install.
1993-07-18 19:17:22 +00:00
mycroft
6e9066169f
Fix message.
1993-04-20 10:05:22 +00:00
mycroft
5ef591fb1b
Okay, so I was confused (but only a little).
1993-04-18 18:56:24 +00:00
mycroft
5554f0dc1c
Make rrestore target match normal program target.
...
(This should be in a separate directory, no?)
1993-04-18 18:52:48 +00:00
cgd
31bc51cdec
make it copy when installing
1993-04-08 14:13:46 +00:00
cgd
fae5aad9fc
restore didn't understand dirs which spanned more than one volume.
...
fixed by patch from Gene Stark (gene@stark.uucp ).
1993-03-25 05:41:59 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00