summaryrefslogtreecommitdiffstats
path: root/sbin/dump
Commit message (Collapse)AuthorAgeFilesLines
* Sigh, more BBSIZE related breakage.phk2002-05-121-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Replaced exists() tests with two equivalent defined().ru2002-04-181-1/+1
| | | | | LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60.
* dump(8)'s manual page is confusing in its use of records, blocks,trhodes2002-04-171-13/+26
| | | | | | | | | | | blocksizes, etc does not give the default of -b only mentiones rdump in the NAME section uses both filesystem and file system in similar contexts PR: 34248 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 3 days
* o remove __Pimp2002-03-208-309/+155
| | | | | o Use ANSI function definitions o unifdef -D__STDC__
* mdoc(7) police: tiny fixes.ru2002-03-151-2/+3
|
* Add a new "-S" flag to dump to allow it just print out dump estimateiedowse2002-03-012-5/+20
| | | | | | | | | size and then exit. PR: bin/35450 Submitted by: Mark Hannon <markhannon@optushome.com.au> Obtained from: NetBSD MFC after: 1 week
* Supply progress information in dump's process title, which is usefuliedowse2002-02-164-7/+22
| | | | | | | | for monitoring automated backups. This is based on a patch by Mikhail Teterin, with some changes to make its operation clearer and to update the proctitle more frequently. PR: bin/32138
* On receipt of a SIGINFO, schedule an immediate printout of theiedowse2002-02-164-2/+16
| | | | | | | percentage complete and remaining time estimate. PR: bin/32138 Submitted by: mi
* Make dump's behaviour more sensible when the output file is a fifo.iedowse2002-02-111-0/+6
| | | | | | | | | | Normally trewind() performs a close-open-close cycle to rewind the tape when closing the device, but this is not ideal for fifos. We now skip the final open-close if the output descriptor is a fifo. PR: bin/25474 Submitted by: Alex Bakhtin <bakhtin@amt.ru> MFC after: 1 week
* Make it clear that dump(8)'s honoring of the UF_NODUMP flag is subjectdd2002-02-101-12/+6
| | | | | | | to the -h option. While here, xref chflags(1). PR: 33907 Submitted by: Gary W. Swearingen <swear@blarg.net>
* I've been meaning to do this for a while. Add an underscore to thedillon2002-01-192-7/+7
| | | | | | | | 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.
* Files in subdirectories of directories that have the nodump flag setobrien2001-12-051-2/+5
| | | | | | | | | | | | | are sometimes incorrectly being dumped. The problem arises because the subdirectory only gets its entry cleared from usedinomap if it is also present in dumpinomap, and it is the absence of a directory in usedinomap that internally indicates that the directory is under the effects of UF_NODUMP (either directly or inherited). PR: 32414 Submitted by: David C Lawrence <tale@dd.org>
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Zap a number of #ifdef sunos blocks, and all of the `register'iedowse2001-11-177-102/+53
| | | | keywords.
* Give a sensible error message when the filesystem to be dumped isiedowse2001-11-161-4/+7
| | | | | | | | | 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>
* Make the protocol/dumprestore.h header match restore's idea of the dumpdillon2001-10-282-11/+28
| | | | | | | | 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.
* deltat declared time_t, msg("") call used %d (assumed time_t == int).dillon2001-10-281-1/+2
| | | | | | Changed deltat to be an int (result of delta time calculation). MFC after: 1 day
* SECURITY.ru2001-09-055-117/+15
| | | | | | | | Notify operators using wall(1)'s -g option. Drop ``setgid tty'' privilege. Obtained from: OpenBSD MFC after: 1 month
* Don't reinvent the wheel; use strptime(3).ru2001-09-041-44/+4
| | | | MFC after: 2 weeks
* Mark some functions as __printflike()kris2001-08-101-3/+3
| | | | MFC After: 1 week
* Sort options in DESCRIPTION.dd2001-07-151-14/+14
|
* Bump date for addition of -D.dd2001-07-151-1/+1
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police:ru2001-07-101-11/+25
| | | | | Restored .Pa for ``dumpdates'' (it's still a file). Also, removed duplicate ``file'' words.
* Add manual page and usage for dump -D (supplied by Dima Dorfman) (will alsodillon2001-07-092-10/+24
| | | | | | be MFC'd) Submitted by: Dima Dorfman <dima@unixfreak.org>
* Oops, forgot to add 'D' to the option morphing block.dillon2001-07-081-0/+1
|
* Add a -D option to dump, allowing the path for the /etc/dumpdates file to bedillon2001-07-081-2/+6
| | | | | | | 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
* Convert two instances of a lseek()+read() combination to a pread().mikeh2001-07-011-8/+4
| | | | | PR: bin/17640 MFC after: 2 weeks
* Since we use getopt (in rev. 1.12), there's no need for the case's fordd2001-06-091-2/+0
| | | | | | | | 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>
* Fix bogon with the nodump flag.jkh2001-04-191-5/+10
| | | | Submitted by: Dima Dorfman <dima@unixfreak.org>
* Remove two lint directives that aren't needed since rev 1.5.obrien2001-03-301-2/+0
|
* Make rev 1.5 better match the rest of dump(8)'s output.obrien2001-03-271-2/+2
|
* Do not exit if unable to read /etc/dumpdates or create it.obrien2001-03-271-2/+4
| | | | | | If one is trying to dump or repair an ill system, give the user a fighting chance. Refusing to operate w/o a very non-critical file (feature) is just plain stupid.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* bye-bye documented raw devicesobrien2001-03-091-3/+3
|
* Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,obrien2001-03-081-1/+2
| | | | and remove leading `r'(aw) from it.
* Support inheritance of the "nodump" flag down a hierarchy.obrien2001-03-032-26/+82
| | | | | Submitted by: Dima Dorfman <dima@unixfreak.org> Obtained from: NetBSD
* Use <sys/queue.h> instead of home-rolled list.phk2001-01-293-16/+16
| | | | Submitted by: "Jason Smethers" <jsmethers@pdq.net>
* Use \a instead of \007 for making noise.phk2001-01-283-4/+4
| | | | Submitted by: "Jason Smethers" <jsmethers@pdq.net>
* Prepare for mdoc(7)NG.ru2000-12-181-2/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-4/+4
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+0
|
* Update device name.kris2000-05-071-1/+1
|
* Add include of errno.h where needed, remove extern int errno where not.imp2000-04-142-2/+2
| | | | These commits were inspired by a similar commit to netbsd.
* Avoid rawname() stupidly prepending an `r' before the device name evenjoerg2000-04-022-6/+14
| | | | | | | | | | | 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.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Remove xrefs to obsolete ft driver.nik2000-03-011-1/+0
| | | | | PR: docs/17080 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Use libcrypto instead of libdes.markm2000-02-241-1/+2
|
OpenPOWER on IntegriCloud