summaryrefslogtreecommitdiffstats
path: root/sbin/dump/dump.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-11-18 18:00:43 +0000
committerjoerg <joerg@FreeBSD.org>1995-11-18 18:00:43 +0000
commit23c0dfac90b2ba18799e6bd7ba89e47bc9521800 (patch)
tree1ee3c2b171fd54126862370e801a7a1a6cc7091e /sbin/dump/dump.h
parent39bf0372f9f49e45f2a318ed51c8f74beae187a8 (diff)
downloadFreeBSD-src-23c0dfac90b2ba18799e6bd7ba89e47bc9521800.zip
FreeBSD-src-23c0dfac90b2ba18799e6bd7ba89e47bc9521800.tar.gz
Andreas Klemm's patch set for dump(8), with some minor (cosmetic)
changes and one addition by me. . Use reasonable defaults for the tape drive (/dev/rst0) instead of something we actually don't have. . Add a summary line displaying the alapsed time and the total throughput. . Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this is the historical protocol, and relying on the $PATH causes a big pain. Make it adjustable via an environmental variable though. Reviewed by: joerg (for Andreas' part) Submitted by: andreas@knobel.gun.de (Andreas Klemm)
Diffstat (limited to 'sbin/dump/dump.h')
-rw-r--r--sbin/dump/dump.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dump/dump.h b/sbin/dump/dump.h
index f74e83f..8cdddfc 100644
--- a/sbin/dump/dump.h
+++ b/sbin/dump/dump.h
@@ -79,6 +79,7 @@ int notify; /* notify operator flag */
int blockswritten; /* number of blocks written on current tape */
int tapeno; /* current tape number */
time_t tstart_writing; /* when started writing the first tape block */
+time_t tend_writing; /* after writing the last tape block */
struct fs *sblock; /* the file system super block */
char sblock_buf[MAXBSIZE];
long dev_bsize; /* block size of underlying disk device */
OpenPOWER on IntegriCloud