oneiric: progress status during boot-time fsck?

D. R. Evans doc.evans at gmail.com
Tue Apr 17 13:36:43 UTC 2012


Waleed Hamra said the following at 04/13/2012 11:35 AM :

> 
> well i can think of 2 possibilities for this situation.
> checking mountall, it seems to accept the "--verbose" parameter, but i
> am not sure if that has the desired effect.
> if you look into /etc/init/mountall.conf, there's an exec line that
> contains the mountall command, with few parameters, add --verbose to the
> end of the command, and see if that bring satisfying verbosity, if not,
> you can safely remove the parameter.
> the other option is not as straightforward, but certainly much easier
> than hacking source code. rename /sbin/fsck into /sbin/fsck.orig
> 
> sudo mv -v /sbin/fsck{,.orig}
> 
> then create a script that calls it with the C parameter, so the script
> can be:
> 
> #!/bin/bash
> fsck.orig $@ -C 0
> 
> the only complication i see here, is that it may not be fsck that is
> called, but rather a specialized fsck.ext3 or fsck.ext4, in which case,
> you'll need to do a similar replacement to each of them.
> in a standard system, you're supposed to call fsck, and let it decide
> which specialized helper to call, along with the parameters passed to
> it, but you never know.
> 

Thank you. Both good ideas. I'll try them as soon as the system in question
is sufficiently lightly used to allow me to reboot it.

It's still amazing to me that one has to jump through so many hoops (or,
indeed, any hoops at all) to obtain this behaviour. I can't imagine why
someone thought it was a good idea to remove this visual feedback ... now
one is faced with a computer and a hard drive that's on for tens of
minutes, with no idea at all how much longer the reboot is likely to take.

  Doc

-- 
Web:  http://www.sff.net/people/N7DR

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20120417/2761d62e/attachment.sig>


More information about the kubuntu-users mailing list