Comment 13 for bug 89752

Revision history for this message
Theodore Ts'o (tytso) wrote : Re: skipping fsck while booting on battery

It works fine for me (Ubuntu Feisty), but I'm building my own kernel and CONFIG_ACPI_BATTERY is set to "yes", instead of building it as a module. The problem is that the init scripts aren't loading the acpi ac module soon enough, so there is no way for e2fsck to tell whether or not we are on battery or not at that stage of the boot script. There is nothing e2fsck can do here; this is a bug in the init scripts. Or, you can do what I do and build your own kernel. In any case, this is NOT an e2fsprogs bug. As I said, it works fine for me, and the fix very clearly doesn't involve e2fsprogs; it involves making sure that /proc/acpi/ac_adapter is visible when e2fsck runs, which is a function of loading the acpi ac module early enough, or building it directly into the kernel.