Not logged in
Log in now
Create an account
Subscribe to LWN
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
There is another (less radical) workaround against an unwanted "maximal mount count" boot-time
check: simply interrupt the check with Ctrl+C. This will defer the check until the next
boot-time, hopefully on a less time critical occasion.
Posted Jan 17, 2008 15:20 UTC (Thu) by sbergman27 (guest, #10767)
On all the distros I have tried, ctrl-c doesn't stop it. Nothing stops it. Not even if you
are in a situation where a 30 minute forced fsck is *really* embarrassing. And it is "opt
out". So one must remember to turn it off with tune2fs or expect it to kick in as a surprise
when one can least afford it.
Posted Jan 17, 2008 16:04 UTC (Thu) by nix (subscriber, #2304)
That's because signals aren't delivered from the initial console by default, and the program
which fixes that (getty) doesn't run until a long time after fsck runs.
Posted Jan 17, 2008 17:39 UTC (Thu) by bronson (subscriber, #4806)
So, how does one stop it?
I suppose the right time to run the automatic fsck is when the volume is being unmounted at
shutdown. I don't mind at all if the computer wants to chug along happily for 20 minutes and
then power itself off. I sure as heck mind if it happens at startup and prevents me from
using the computer for 1/2 hour in the morning!
Any thoughts? Should I file an Ubuntu feature request?
Posted Jan 17, 2008 20:29 UTC (Thu) by jzbiciak (✭ supporter ✭, #5246)
Hmmm... does putting an "stty sane" early in the boot scripts make it work?
Posted Jan 22, 2008 0:09 UTC (Tue) by fergal (subscriber, #602)
This was just recently discusses on ubuntu-devel-discuss, the thread should be in the
Posted Jan 18, 2008 18:16 UTC (Fri) by ranmachan (subscriber, #21283)
On Debian, the filesystem check can be stopped with Ctrl+C, at least for filesystems other
than /. I'm not sure about /, since it _may_ be different and my / is usually small enough to
just wait for fsck to finish. /home can be quite annoyingly long though and gets the Ctrl+C
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds