From owner-freebsd-fs Tue Dec 5 15:55: 6 2000 From owner-freebsd-fs@FreeBSD.ORG Tue Dec 5 15:55:05 2000 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from beastie.mckusick.com (tserver.conference.usenix.org [209.179.127.3]) by hub.freebsd.org (Postfix) with ESMTP id 7FB7037B400 for ; Tue, 5 Dec 2000 15:55:04 -0800 (PST) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.9.3/8.9.3) with ESMTP id GAA10110; Tue, 5 Dec 2000 06:45:26 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200012051445.GAA10110@beastie.mckusick.com> To: Ian Dowse Subject: Re: SIGINFO handler for fsck(8) Cc: freebsd-fs@freebsd.org In-Reply-To: Your message of "Mon, 04 Dec 2000 21:19:19 GMT." <200012042119.aa25259@salmon.maths.tcd.ie> Date: Tue, 05 Dec 2000 06:45:26 -0800 From: Kirk McKusick Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org To: freebsd-fs@freebsd.org cc: iedowse@maths.tcd.ie, Kirk McKusick Subject: SIGINFO handler for fsck(8) Date: Mon, 04 Dec 2000 21:19:19 +0000 From: Ian Dowse I've had this patch lying around here for a while - it adds a simple SIGINFO handler to fsck(8) so you can tell what it's doing by pressing Ctrl-T. The output will be something like: ^T load: 0.14 cmd: fsck_ufs 10473 [physstr] 2.12u 0.30s 8% 2016k /dev/da0s1f: phase 1: cyl group 26 of 60 (43%) ^T load: 0.12 cmd: fsck_ufs 10473 [physstr] 4.00u 0.49s 11% 2804k /dev/da0s1f: phase 2: dir 488 of 27965 (1%) Is this a feature we want in fsck? It doesn't really help except to give you something to do while waiting for a huge filesystem to be checked :-) I guess it also allows you to see if fsck is actually getting anywhere. Ian Looks like a good idea to me. I am happy to have you commit it. Kirk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message