summaryrefslogtreecommitdiffstats
path: root/sbin/dump/main.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-5/+5
2018-04-26Cast a multiplicand to ino_t to avoid overflow in 32*32=64 calculationsguenther1-2/+2
2016-08-31Delete SIGTRAP, SIGFPE, SIGBUS, and SIGSEGV handlers. Such patternsderaadt1-18/+1
2016-06-07per trending style, add continue to emtpy loop bodies.tedu1-2/+2
2015-08-20<stdlib.h> is included, so do not need to cast result fromderaadt1-4/+4
2015-05-23Canonicalize all devices to DUIDs in order to make -w and -W output consistent.guenther1-4/+45
2015-05-03Eliminate the -U flag and make usage of DUID in /etc/dumpdates the default.guenther1-19/+13
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orderaadt1-2/+2
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-3/+4
2014-07-11make dump support DUIDs for command line arguments and /etc/dumpdates (usinghalex1-8/+40
2014-06-13Type cleanup:naddy1-14/+14
2014-05-31add -S to usage();jmc1-2/+2
2014-05-30Add option -S to have dump(8) only estimate backup size and number of tapesstephan1-2/+13
2014-05-27Where trying to pread() a single disk sector, the i/o must be for thekrw1-1/+8
2014-05-24Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables inkrw1-6/+1
2013-04-16do not need to cast type to same typederaadt1-2/+2
2011-04-25do not use stdio in the (stupid) SIGSEGV handlerderaadt1-2/+4
2009-11-12free flagsp if flags variable indicates it was not used, found by parfait; ok millertderaadt1-3/+4
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt1-3/+3
2007-06-03Add ffs2 support to dump/restore. From FreeBSD with some NetBSD changes.millert1-32/+42
2007-03-04delete sunos junk; Jim Razmusderaadt1-9/+2
2007-02-25the -W and -w flags do not need a separate synopsis;jmc1-6/+7
2005-05-24fix minor ouput glitch, by using strtonum instead of strtol.moritz1-8/+10
2004-11-04very basic de-lintsderaadt1-2/+3
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makestedu1-3/+3
2003-07-28rcsid should say openbsd. make 'em const while here.tedu1-2/+2
2003-06-26ansi and protosderaadt1-15/+7
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2003-04-25string cleanupderaadt1-3/+5
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-4/+4
2001-11-05kill more registers;mpech1-7/+7
2000-10-09do not coredump if can't get raw device name, e.g. /tmp on mfs; millert@ okmickey1-1/+6
2000-01-04Fix format string typo when printing estimated number of blocks;millert1-2/+2
1999-12-24Use correct printf formatting (dwmalone@maths.tcd.ie)angelos1-2/+2
1999-02-20quit() wants the \nderaadt1-3/+3
1998-11-24Wall, and do not let tapesize overflowderaadt1-2/+2
1998-08-22fix usagemickey1-3/+6
1998-08-11Better fix. Now print mount point in both the statfs and fstab cases.millert1-9/+11
1998-08-11Fix unitialized value use introduce in last change; problem noted by hgweigand@wiesbaden.netsurf.demillert1-2/+2
1998-08-07Use strlcpy() instead of strncpy().millert1-23/+23
1998-07-28make dump work on filesystems not listed in fstabmillert1-2/+10
1998-07-14fix exit codes, adding X_STARTUP; jkoshy@freebsdderaadt1-18/+18
1998-02-08y2k fixes; netbsd & Andreas.Gunnarsson@emw.ericsson.sederaadt1-3/+9
1997-07-05Fix some incorrect strncpy usage.millert1-25/+102
1997-04-16_PATH_DEFTAPE is now defined in <paths.h>millert1-1/+2
1997-02-25-b option was being ignored when used in conjunction with -d.millert1-1/+2
1997-02-10Make dump(8) really honor -a. Fix up formatting in man page and removemillert1-2/+2
1997-02-04maxbsize hack i did was not portablederaadt1-2/+2
1997-02-03new -a option autosizes, meaning it runs till it hits EOM (no need forderaadt1-3/+14