aboutsummaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-11-10 22:50:48 +0000
committerRoy Marples <roy@marples.name>2009-11-10 22:50:48 +0000
commitd29daf395299fc97b8e13676bc282800a8bddae8 (patch)
treee28730c6d4189ffcb144fb69b789fa4328e75b3a /conf.d
parent1d9ce8e9a1ece0fd108b2b50b45bc4a0da0cf3fc (diff)
fsck only checks battery when requested, which is not by default.
This fixes having JFS as the root partition on battery power. For most modern FS's this is a non op, or a very small op by default so it should be fine. Fixes Gentoo #291654.
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/fsck5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf.d/fsck b/conf.d/fsck
index 77fd6582..888dc88a 100644
--- a/conf.d/fsck
+++ b/conf.d/fsck
@@ -13,6 +13,11 @@
#fsck_passno=">1"
#fsck_passno="<2"
+# Most modern fs's don't require a full fsck on boot, but for those that do
+# it may be adivisable to skip this when running on battery.
+# WARNING: Do not turn this off if you have any JFS partitions.
+fsck_on_battery="YES"
+
# fsck_shutdown causes fsck to trigger during shutdown as well as startup.
# The end result of this is that if any periodic non-root filesystem checks are
# scheduled, under normal circumstances the actual check will happen during