Some tiny fixes to checkfs

Simon Perreault nomis80 at videotron.ca
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:
    else
        $SET_COL
        echo -n ...
        $GREEN...
        ...
        etc.
This way, if fsck runs without errors it prints a green OK.

--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org 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