Some tiny fixes to checkfs

Beau Bellamy beau at beaunet.dhs.org
Sun Jul 2 16:11:43 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.

mmmm,,   I like....

Beau Bellamy (beau at beaunet.dhs.org)

--
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