[lfs-book] [LFS Trac] #4064: Messy display from checkfs

LFS Trac trac at linuxfromscratch.org
Thu Mar 16 22:44:21 PDT 2017

#4064: Messy display from checkfs
 Reporter:  ken@…   |       Owner:  lfs-book@…
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  8.1
Component:  Book    |     Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:          |

Comment (by bdubbs@…):

 The output for the checkfs script is:
   log_success_msg "\n/forcefsck found, forcing file system checks as
 That \n by itself is causing the problem.  It probably should be
   log_success_msg "\n     /forcefsck found, forcing file system checks as
 adding 5 spaces for the SUCCESS_PREFIX at the start of the line.  See if
 that works for you.

 For the second issue, the bootscripts do not control the output of fsck.

 If the environment variable VERBOSE_FSCK is set, then the command 'fsck -f
 -a -A -C -T' is run.  We don't set VERBOSE_FSCK anywhere in our scripts so
 it must be set manually by the user.  If VERBOSE_FSCK is not set than
 outout is directed to /dev/null. (stderr still goes to the screen).

 The -C option displays completion/progress bars.  Other options are:
 -a     Automatically repair the filesystem without any  questions
 -A     Walk through the /etc/fstab file and try to check all filesystems
        one run.
 -T     Don't show the title on startup.

 -f     Force checking even if the file system seems clean.

 I don't know what you want to do about this, if anything.

Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4064#comment:1>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

More information about the lfs-book mailing list