Some tiny fixes to checkfs

Simon Perreault nomis80 at
Sat Jul 1 20:19:53 PDT 2000

Here are two fixes to the checkfs script I found:

1) At line 23, you should add ">/dev/null 2>&1" after the fsck command to
remove the ugly message that breaks the nice uniformity of the green OK's at
init time.
2) Between line 40 and 41, you should add an else (if the fsck runs without
errors), like this:
        echo -n ...
This way, if fsck runs without errors it prints a green OK.

Mail archive:
IRC access: server: port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list