summaryrefslogtreecommitdiff
path: root/sbin/dump/tape.c
AgeCommit message (Collapse)Author
2008-01-11compute transfer rate using 64-bit arithmetic, ok sthen@ millert@Otto Moerbeek
2007-06-03Add ffs2 support to dump/restore. From FreeBSD with some NetBSD changes.Todd C. Miller
With help from otto@
2007-03-04delete sunos junk; Jim RazmusTheo de Raadt
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
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-07-29spacesTheo de Raadt
2003-07-28rcsid should say openbsd. make 'em const while here.Ted Unangst
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-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
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.
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-01-19mark signal races i cannot fix at the momentTheo de Raadt
1999-02-28if we kill, do not kill againTheo de Raadt
1999-02-21some -WallTodd C. Miller
1999-02-20quit() wants the \nTheo de Raadt
1998-04-26handle ENOSPC as an end-of-tape marker; gibbs@narnia.plutotech.comTheo de Raadt
1997-08-25subtract take changing time from estimate; blank@fox.uni-trier.deTheo de Raadt
1997-08-05Save/restore the errno when handling interrupts.Angelos D. Keromytis
1997-07-05Fix some incorrect strncpy usage.Todd C. Miller
From NetBSD (luke@netbsd.org) * verbosity additions displaying total & per-volume transfer times and rates * Add the ability to dump specific files & directories of a single filesystem. This uses fts(3) to access the directory structure (and not the raw device), so the standard access permissions are adhered to (unlike dumping an entire filesystem, which just requires read access to the raw disk device). * Support SIGINFO status reporting. * Remove now unused variables that previously stored the (e)uid. * Be more informative in a couple of error messages. From NetBSD (mrg) * fix NetBSD PR#3710, reported by Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>. don't pass pw->pw_name into functions; make a copy.
1997-02-03new -a option autosizes, meaning it runs till it hits EOM (no need forTheo de Raadt
pesky sizing options) -- from FreeBSD. also make -b option aware of MAXPHYS issues (via a little hack)
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt