Re: No fsck in battery mode
Hi,
Monday, September 1, 2003, 10:04,
Harry Brueckner <hb@o-d.de> wrote:
> is there a way to avoid the regular fsck run (every n mounts or after m
> days) when the laptop is in battery mode?
I don't know if /proc/acpi is up at the time fsck is run, but if it is,
then there's a file giving the current power state (plugged in or
unplugged). Sorry I can't remember the actual file, and I don't have my
laptop handy right now. You could grep that file and then decide whether
to run fsck or not.
--
TheTinySteini <ttt@resourcecode.de> | "I think... I think it's in
» www.resourcecode.de | my basement. Let me go
» www.poke646.com | upstairs and check."
» www.thwboard.de | - MC Escher
Reply to: