[lfs-dev] Bootscript checkfs anomoly

William Harrington kb0iic at berzerkula.org
Fri Jul 31 13:36:50 PDT 2020


On Jul 31, 2020, at 15:15, Pierre Labastie via lfs-dev <lfs-dev at lists.linuxfromscratch.org> wrote:
> 
> On Fri, 2020-07-31 at 14:54 -0500, William Harrington via lfs-dev
> wrote:
>> I tried to provide the community a possible problem. Since the
>> community doesn’t like images, so where do I post proof?
>> 
>>> On Jul 31, 2020, at 14:05, William Harrington <
>>> kb0iic at berzerkula.org> wrote:
>>> 
>>> 
>>> 
>>>>> On Jul 31, 2020, at 12:25, Bruce Dubbs via lfs-dev <
>>>>> lfs-dev at lists.linuxfromscratch.org> wrote:
>>>>> 
>>>>> On 7/31/20 11:47 AM, William Harrington via lfs-dev wrote:
>>>>> Greetings,
>>>>> While checking file systems, the line at 131 will omit ‘Y’. The
>>>>> message ends up being “ou may want to double-check that”.  I
>>>>> had to remove the character before ‘Y’ to correct the output.
>>>>> Please verify.
>>>> 
>>>> The only place in that file that has the word 'You' is on line
>>>> 97:
>>>> 
>>>> 
>>>> msg="\nWARNING:\n\nFile system errors "
>>>> msg="${msg}were found and have been corrected.\n"
>>>> msg="${msg}     You may want to double-check that "
>>>> msg="${msg}everything was fixed properly."
>>>> 
>>>> log_warning_msg "$msg"
>>>> 
>>>> I think the number of spaces before 'You' may need to be
>>>> increased by one because the function log_warning_msg sets the
>>>> cursor to column 1 and writes ' ***  ' after the message has been
>>>> written.  Can you add that space and test?  Thanks.
>>>> 
>>>> -- Bruce
>>>> -- 
>>>> http://lists.linuxfromscratch.org/listinfo/lfs-dev
>>>> FAQ: http://www.linuxfromscratch.org/faq/
>>>> Unsubscribe: See the above information page
>>> 
>>> Greetings,
>>> 
>>> I remove the character (not necessarily a space)
>>> When you look in vim it’s a character over.  Make your file system
>>> dirty and do a check, you’ll see that Y isn’t there.
> 
> William, nobody says that Y is there (actually, I confirmed it is not).
> Bruce told to change the /etc/init.d/checkfs file to fix/work around
> the problem. You said something else (I'm not sure actually what you
> do), which might be used as well as a fix.
> 
> Actually, looking at the bootscripts, I think all the multiline log
> messages should be reworked.
> 
> Pierre
> 
> -- 
> http://lists.linuxfromscratch.org/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page

Greetings,

Just wanted this fixed for the next release. Thanks Pierre. Greatly appreciated.

Sincerely,
William Harrington 


More information about the lfs-dev mailing list