| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard. They will eventually be replaced when a real standard
comes out of committee.
|
|
|
|
| |
keywords.
|
|
|
|
|
|
|
|
|
| |
not listed in /etc/fstab. Previously, the user would be greeted
with "DUMP: bad sblock magic number" when dump tried to parse
the directory contents as an FFS filesystem.
PR: bin/12789
Submitted by: Bob Willcox <bob@pmr.com>
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Notify operators using wall(1)'s -g option.
Drop ``setgid tty'' privilege.
Obtained from: OpenBSD
MFC after: 1 month
|
|
|
|
|
|
| |
be MFC'd)
Submitted by: Dima Dorfman <dima@unixfreak.org>
|
| |
|
|
|
|
|
|
|
| |
changed, so independant entities backing up the same thing to different
media can be made not to trip over each other.
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
the individual options to increment argv and decrement argc. This
caused the -T option to swallow an extra argument.
PR: 27982
Submitted by: Samuel Greear <sgreear@vsni.com>
|
|
|
|
| |
Submitted by: "Jason Smethers" <jsmethers@pdq.net>
|
|
|
|
|
|
|
|
|
|
|
| |
in cases where the supplied name was already pointing to a character
special device. This fixes the breakage that occured when trying to
dump a filesystem by name (e. g. /usr), with an fstab already
mentioning the raw device name (like /dev/rda0g) where dump attempted
to use /dev/rrda0g then.
Also removed the now obsolete remark that fstab were carrying block
special names.
|
| |
|
|
|
|
|
| |
PR: bin/10573
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
|
|
|
|
|
|
|
|
| |
<= 64 KB. Was able to dump/restore with block sizes of 96, 128 and
200. using systat -vmstat I noticed transfer blocksizes <= 64KB,
so physio's limits aren't touched.
Since this check was originally from me, I feels safe now to back it
out.
|
|
|
|
|
| |
PR: 5346
Style-check-by: bde
|
| |
|
| |
|
|
|
|
|
|
|
| |
options one would normally expect to set the realm, enable encryption,
and whatnot, but this actually is able to contact the remote server,
so at least it's a start. (As a bonus, the stripped static binary is
unquestionably exportable.)
|
|
|
|
| |
Pointed out by: Tom Jackson <tom@peeper.jackson.org>
|
| |
|
|
|
|
| |
considerations, and dump right to the end of medium.
|
| |
|
|
|
|
|
|
|
| |
$TAPE. Inspired by OpenBSD's work in this area.
Reviewed by: Peter Wemm, Guido van Rooij and Jordan Hubbard.
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
| |
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
|
|
|
|
| |
Amanda happy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes and one addition by me.
. Use reasonable defaults for the tape drive (/dev/rst0) instead of
something we actually don't have.
. Add a summary line displaying the alapsed time and the total throughput.
. Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this
is the historical protocol, and relying on the $PATH causes a big pain.
Make it adjustable via an environmental variable though.
Reviewed by: joerg (for Andreas' part)
Submitted by: andreas@knobel.gun.de (Andreas Klemm)
|
|
|
|
|
| |
than the other way around!
Submitted by: Elmar Bartel <bartel@informatik.tu-muenchen.de>
|
| |
|
|
|
|
|
|
|
|
| |
an array. The bug became obvious in the old system where the array was only
32 characters long (now MAXPATHLEN). Dump honored its name then (:-)
and dumped its core when calling dump -w for a fstab that contained rather long
NFS file system names. Even though this is rather unlikely to happen now,
a bug is a bug:)
|
|
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
|