summaryrefslogtreecommitdiff
path: root/sbin/dump
AgeCommit message (Collapse)Author
2009-11-12free flagsp if flags variable indicates it was not used, found by parfait; ↵Theo de Raadt
ok millert
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2008-01-26the kids want I/O;Jason McIntyre
2008-01-11compute transfer rate using 64-bit arithmetic, ok sthen@ millert@Otto Moerbeek
2008-01-02remove unused functionsCharles Longeau
initially from tobias@, and I removed an unused struct too ok moritz@ tobias@
2007-11-19put the SIGINFO blurb in a saner place;Jason McIntyre
2007-11-18do not confuse the reader telling he should use a towers of hanoiOtto Moerbeek
based scheme when it makes no sense: a weekly schedule does not benefit from it. ok mbalmer@ jmc@ ray@
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-15don't use static data in recursive functions; from FreeBSD; fixes PR 5509Otto Moerbeek
and other reports about dump accessing wrong blocks; ok beck@ deraadt@
2007-06-11When dumping ffs1, store old_atime and old_mtime too.Todd C. Miller
2007-06-03Add ffs2 support to dump/restore. From FreeBSD with some NetBSD changes.Todd C. Miller
With help from otto@
2007-05-31convert to new .Dd format;Jason McIntyre
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@