summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/fsck.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-02-28 07:50:42 +0000
committerscottl <scottl@FreeBSD.org>2004-02-28 07:50:42 +0000
commitd9a0004b62fe76e69cb6f4ac21d673a03e1b97fe (patch)
tree54f005956185a8047740cf2432ee3919ed1ebc7c /sbin/fsck_ffs/fsck.h
parentf9390aef0d6f1aa5e2e8a5caaa474a78f16eda0f (diff)
downloadFreeBSD-src-d9a0004b62fe76e69cb6f4ac21d673a03e1b97fe.zip
FreeBSD-src-d9a0004b62fe76e69cb6f4ac21d673a03e1b97fe.tar.gz
In the case of a background fsck, periodically update the process title
with a progress update.
Diffstat (limited to 'sbin/fsck_ffs/fsck.h')
-rw-r--r--sbin/fsck_ffs/fsck.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h
index fb30c36..3f23154 100644
--- a/sbin/fsck_ffs/fsck.h
+++ b/sbin/fsck_ffs/fsck.h
@@ -258,6 +258,7 @@ ufs2_daddr_t n_blks; /* number of blocks in use */
ino_t n_files; /* number of files in use */
int got_siginfo; /* received a SIGINFO */
+int got_sigalarm; /* received a SIGALRM */
#define clearinode(dp) \
if (sblock.fs_magic == FS_UFS1_MAGIC) { \
@@ -324,6 +325,7 @@ union dinode *getnextinode(ino_t inumber);
void getpathname(char *namebuf, ino_t curdir, ino_t ino);
union dinode *ginode(ino_t inumber);
void infohandler(int sig);
+void alarmhandler(int sig);
void inocleanup(void);
void inodirty(void);
struct inostat *inoinfo(ino_t inum);
OpenPOWER on IntegriCloud