summaryrefslogtreecommitdiff
path: root/sbin/dump/main.c
AgeCommit message (Collapse)Author
2000-01-04Fix format string typo when printing estimated number of blocks;Todd C. Miller
naddy@unix-ag.uni-kl.de
1999-12-24Use correct printf formatting (dwmalone@maths.tcd.ie)Angelos D. Keromytis
1999-02-20quit() wants the \nTheo de Raadt
1998-11-24Wall, and do not let tapesize overflowTheo de Raadt
1998-08-22fix usageMichael Shalayeff
1998-08-11Better fix. Now print mount point in both the statfs and fstab cases.Todd C. Miller
1998-08-11Fix unitialized value use introduce in last change; problem noted by ↵Todd C. Miller
hgweigand@wiesbaden.netsurf.de
1998-08-07Use strlcpy() instead of strncpy().Todd C. Miller
Change the order of name -> raw device conversions 1) statfs the name and use that info iff the name is the mount point 2) look up name in fstab 3) treat as a device The reason for this is that the mounted filesystems may not agree with what fstab says. Anyone who has ever moved disks around and accidentally dumped and empty filesystem will know what I mean.
1998-07-28make dump work on filesystems not listed in fstabTodd C. Miller
1998-07-14fix exit codes, adding X_STARTUP; jkoshy@freebsdTheo de Raadt
1998-02-08y2k fixes; netbsd & Andreas.Gunnarsson@emw.ericsson.seTheo de Raadt
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-04-16_PATH_DEFTAPE is now defined in <paths.h>Todd C. Miller
Change man page to reflect new default tape drive (/dev/rst0)
1997-02-25-b option was being ignored when used in conjunction with -d.Todd C. Miller
NetBSD PR #3254, fix from Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>.
1997-02-10Make dump(8) really honor -a. Fix up formatting in man page and removeTodd C. Miller
duplicate entry.
1997-02-04maxbsize hack i did was not portableTheo de Raadt
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-12-16does noone know how to use strncat correctly?Theo de Raadt
1996-09-14setgid stuff goes awayTheo de Raadt
1996-09-14Now uses "wall -g" so no need to be setgid tty. This makes $RSH work.Todd C. Miller
Also fix buf oflow.
1996-09-01kill setuid, fix setgid holeTheo de Raadt
1996-08-10silence warningTheo de Raadt
1996-08-02kill extra DUMP: messageTheo de Raadt
1996-08-02mostly harmless buffer overflowTheo de Raadt
1996-03-21From NetBSD: Merge of 960317Niklas Hallqvist
1996-02-22From NetBSD:Niklas Hallqvist
support $TAPE. update manual to reflect reality (#1937 from Matthew Green).
1995-12-01correct typo pointed out by chuck (in the prettiest way possibleTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt