From 3e3c84c80c9f9500c397dc4b174259d631441b7f Mon Sep 17 00:00:00 2001 From: iedowse Date: Fri, 15 Dec 2000 14:23:55 +0000 Subject: Add a simple SIGINFO handler to fsck_ffs. Shortly after receipt of a SIGINFO (normally via Ctrl-T), a line will be output indicating the current phase number and progress information relevant to the current phase. Approved by: mckusick --- sbin/fsck_ffs/utilities.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sbin/fsck_ffs/utilities.c') diff --git a/sbin/fsck_ffs/utilities.c b/sbin/fsck_ffs/utilities.c index c77f410..aee31f0 100644 --- a/sbin/fsck_ffs/utilities.c +++ b/sbin/fsck_ffs/utilities.c @@ -101,3 +101,10 @@ retry: */ return (origname); } + +void +infohandler(sig) + int sig; +{ + got_siginfo = 1; +} -- cgit v1.1