summaryrefslogtreecommitdiff
path: root/sbin/dump/tape.c
AgeCommit message (Expand)Author
2024-05-09ctime(3) and ctime_r(3) can fail when timestamps are way off.Florian Obser
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2021-01-21Rearrange variables in dump / restore to handle -fno-common.mortimer
2020-10-01Only count the proper node types. Avoid out of-bound access for largeOtto Moerbeek
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2017-12-08Convert snprintf+write into dprintf. It is simply easier to read, andTheo de Raadt
2015-08-20<stdlib.h> is included, so do not need to cast result fromTheo de Raadt
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-06-13Type cleanup:Christian Weisgerber
2014-05-24Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables inKenneth R Westerback
2013-11-12add a variety of missing prototypesTheo de Raadt
2013-11-02No need to cast constants or simple variables to (daddr_t). UseKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-04-25big int_t/time_t fixes; ok deraadt@ krw@Otto Moerbeek
2013-04-23handle large ino_t; ok teduTheo de Raadt
2013-04-16do not need to cast type to same typeTheo de Raadt
2012-08-22- open a remote file/device with the same flags we use when opening aAlexander Hall
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
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
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
2005-01-23Avoid signal race condition. If a slave gets SIGUSR2 between theTodd C. Miller
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
2003-06-26ansi and protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
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 o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-05kill more registers;Mike Pechkin
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
1997-02-03new -a option autosizes, meaning it runs till it hits EOM (no need forTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt