summaryrefslogtreecommitdiff
path: root/sbin/dump
AgeCommit message (Collapse)Author
2007-04-10Rewrite ITITERATE macro to prevent out-of-bounds memory access.Moritz Jodeit
This makes dump -u work with malloc debugging enabled. ok millert@
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@ and thib@, thanks.
2007-03-06Add and fix /* FALLTHROUGH */ comments.Ray Lai
From Jim Razmus. OK millert@ and otto@.
2007-03-04memory leak found by coverity; Jim RazmusTheo de Raadt
2007-03-04delete sunos junk; Jim RazmusTheo de Raadt
2007-02-25shuffle the text slightly into a more logical order;Jason McIntyre
2007-02-25the -W and -w flags do not need a separate synopsis;Jason McIntyre
2007-02-25move the text describing 4.3 syntax compatibility to HISTORY, ratherJason McIntyre
than slap bang in SYNOPSIS;
2007-02-25document the "opaque", "arch", and "nodump" flags more fully;Jason McIntyre
closes documentation/5384 from Andrew Hamilton-Wright help from henning, otto, and weingart
2007-02-22igor sobrado spotted that although we have mlinks for rdump andJason McIntyre
rrestore, the pages they point to don;t actually mention them. so make it clear that their functionality is now integral in dump and restore, and sync the text a little between the two pages; help/ok otto
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
2006-12-26fts_read returning NULL and errno set is an error. ok ray@Otto Moerbeek
2006-06-02Fix comment to reflect updated st(4) verbiage.Kenneth R Westerback
2006-05-30Don't double-eject tapes. Once is enough. Closes PR#1282.Kenneth R Westerback
ok miod@ beck@, functionally equivalent diff ok deraadt@ a while ago
2006-04-13put "dump: filename " at the start of each ^T message...Theo de Raadt
2006-04-02use SEEK_* for lseek()Theo de Raadt
2005-08-02$TAPE Ev may refer to a number of things, not just a physical tape device:Jason McIntyre
- for -f description, point people to TAPE - for TAPE description, point people to -f - use `file' to describe these differing forms, as that is consistent with the rest of the page this is based on -r1.71 from freebsd, from ceri davies, which was in turn based on pr #84200 from gary w. swearingen; ok otto@
2005-05-24fix minor ouput glitch, by using strtonum instead of strtol.Moritz Jodeit
ok millert@
2005-03-13Use pid_t where appropriate. From Bruno Rohee (thanks).Chad Loder
2005-01-23"caught" should be volatile sig_atomic_t; lukem@netbsd.orgTodd C. Miller
Also mark tperror handler as unsafe; dump needs a signal safety overhaul.
2005-01-23Avoid signal race condition. If a slave gets SIGUSR2 between theTodd C. Miller
"setjmp" and the "ready = 1" statements, the slave will pause forever and the whole dump hangs. Fix by hannken@netbsd.org Closes PR 4070; also tested by henning@ and marc@
2004-11-04very basic de-lintsTheo de Raadt
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-07-29spacesTheo de Raadt
2003-07-28rcsid should say openbsd. make 'em const while here.Ted Unangst
2003-07-15.Ql Fl -> .Sq Fl where literal makes no sense;Jason McIntyre
2003-07-07I never committed the fix for PR 3296, "Dump prints negative numbers for time"Todd C. Miller
Here it is...
2003-06-26ansi and protosTheo de Raadt
2003-06-04fix some more UCB term 3Theo de Raadt
2003-06-03- section reorderJason McIntyre
- some mdoc fixes
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14Minor format string correctness.Chad Loder
OK deraadt, ian darwin
2003-04-25string cleanupTheo de Raadt
2003-04-09document that rewind/eject features of tape devices depend on name ofJason McIntyre
tape device; reference st(4) for an explanation. diff from Olivier Cherrier; ok millert@
2003-04-08missing .Fl macro for -a option;Jason McIntyre
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-02-01typos;Jason McIntyre
chat(8): removed reference to uucico(8) ok deraadt@
2002-05-22remove crudTheo de Raadt
2002-03-14fix a few overflows by using off_t, not 32bit longs; some parts are from ↵Michael Shalayeff
lucq.org; millert@ ok
2002-02-22typo; jslag@prop.walkerart.orgTheo de Raadt
2002-02-21Fix signal handlers to take an int arg even though it is not used.Todd C. Miller
This allows us to use real prototypes for rmtconnaborted and alarmcatch without causing a warning.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2001-12-13o) start new sentence on a new line;Mike Pechkin
o) wrap long lines; o) fix bogus .Xr usage; o) we don't like blank lines; o) always close .Bl tags; o) OpenBSD -> .Ox; o) don't like .Pp before .Ss; millert@ ok;
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-10-04Mention that dump uses the TAPE variable.Hakan Olsson
2001-06-13more va_start/end fixes, ok deraadt@Markus Friedl
2001-04-10Disable optimization on sparc; ok deraadt@Christian Weisgerber
If tape.c is compiled with -O or higher, dump runs on _some_ systems will _sometimes_ become stuck. All five dump processes (tty, master, slaves) will just sleep. This has been observed on some sun4c and sun4m systems.