diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-02-16 21:05:16 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-02-16 21:05:16 +0000 |
commit | febe7b98f86edabef1c4ff4db94ffe7ce4fef9fc (patch) | |
tree | 0952f18a123759d5d1883d2adade1938f7269c0e /sbin/dump/dump.h | |
parent | cafeeb5d7be874d586a3728bd7361f5a495421af (diff) | |
download | FreeBSD-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.h | 1 |
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 */ |