Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2000 06:45:26 -0800
From:      Kirk McKusick <mckusick@mckusick.com>
To:        Ian Dowse <iedowse@maths.tcd.ie>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: SIGINFO handler for fsck(8) 
Message-ID:  <200012051445.GAA10110@beastie.mckusick.com>
In-Reply-To: Your message of "Mon, 04 Dec 2000 21:19:19 GMT." <200012042119.aa25259@salmon.maths.tcd.ie> 

next in thread | previous in thread | raw e-mail | index | archive | help
	To: freebsd-fs@freebsd.org
	cc: iedowse@maths.tcd.ie, Kirk McKusick <mckusick@mckusick.com>
	Subject: SIGINFO handler for fsck(8)
	Date: Mon, 04 Dec 2000 21:19:19 +0000
	From: Ian Dowse <iedowse@maths.tcd.ie>

	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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012051445.GAA10110>