I'm not certain that this can/has actually happen/ed anyway but I imagine it's a bit depressing to turn on your laptop and watch it do an fsck of a 40gig partition on your battery!
I'm sure it's simple to check the ACPI state and skip the check
if [ -z $(cat /proc/acpi/battery/BAT*/state | grep "discharging") ] ; then
would do you guys reckon?
I like it... see about putting that in the official init scripts!
i too like it, it is not very pleasant to do have your entire harddrive searched through on battery (especially when the batterytime is limited
very nice idea dibblethewrecker
http://www.linuxportalen.com -> Linux Help portal for Linux and ArchLinux (in swedish)
Dell Inspiron 8500
Kernel 2.6.14-archck1 (selfcompiled)
Good idea, dibble.
Ubuntu does this, it detects if you're on battery and doesnt fsck.
Chuck it on the mailing list or make a patch and put it on the bugtracker, im sure they'll merge it.