xfs
[Top] [All Lists]

[PATCH] Make fsck.xfs more informative

To: linux-xfs@xxxxxxxxxxx
Subject: [PATCH] Make fsck.xfs more informative
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Sun, 19 Oct 2003 23:38:19 -0800
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
Hi,

/sbin/fsck.xfs is a continuing source of confusion and misconception
("XFS doesn't even have a fsck, what kind of fs has no repair
utilities?"), part of this has been fixed by making the man page more
informative, but i think it would also be helpful to have the actual
program print a message notifying the user that its use is not
necessary.

My patch causes fsck.xfs to print:

/dev/hda3: XFS filesystem, no check required.

Suggestions on other wordings for this message are welcome, but I
think this one should be fine.  I was thinking of perhaps 

/dev/hda3: XFS filesystem, no automatic check required.

Patch enclosed.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: xfs_fsck.c.diff
Description: Text document

Attachment: pgpD8GsrXDDQb.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>