summaryrefslogtreecommitdiffstats
path: root/sbin/dump/dump.h
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2002-02-16 21:05:16 +0000
committeriedowse <iedowse@FreeBSD.org>2002-02-16 21:05:16 +0000
commitfebe7b98f86edabef1c4ff4db94ffe7ce4fef9fc (patch)
tree0952f18a123759d5d1883d2adade1938f7269c0e /sbin/dump/dump.h
parentcafeeb5d7be874d586a3728bd7361f5a495421af (diff)
downloadFreeBSD-src-febe7b98f86edabef1c4ff4db94ffe7ce4fef9fc.zip
FreeBSD-src-febe7b98f86edabef1c4ff4db94ffe7ce4fef9fc.tar.gz
Supply progress information in dump's process title, which is useful
for monitoring automated backups. This is based on a patch by Mikhail Teterin, with some changes to make its operation clearer and to update the proctitle more frequently. PR: bin/32138
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 d9bff13..e3cc7c2 100644
--- a/sbin/dump/dump.h
+++ b/sbin/dump/dump.h
@@ -83,6 +83,7 @@ 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 */
+int passno; /* current dump pass number */
struct fs *sblock; /* the file system super block */
char sblock_buf[MAXBSIZE];
long dev_bsize; /* block size of underlying disk device */
OpenPOWER on IntegriCloud