[Buildroot] [PATCH 6/6] fs/ext2: remove count- and time-based fsck
Yann E. MORIN
yann.morin.1998 at free.fr
Thu Mar 7 22:04:43 UTC 2013
Set the count- and time-based checks intervals to 0, thus
effectively disabling automatic checks at boot.
(After a suggestion by Arnout.)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Arnout Vandecappelle <arnout at mind.be>
---
fs/ext2/genext2fs.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/ext2/genext2fs.sh b/fs/ext2/genext2fs.sh
index c466bc2..e4177ae 100755
--- a/fs/ext2/genext2fs.sh
+++ b/fs/ext2/genext2fs.sh
@@ -70,8 +70,9 @@ e2tunefsck() {
esac
printf "e2fsck was successfully run on rootfs.ext${GEN}\n"
- # e2fsck will force a UUID, which we do not want
- tune2fs -U clear "${IMG}"
+ # e2fsck will force a UUID, which we do not want;
+ # remove count- and time-based checks
+ tune2fs -U clear -c 0 -i 0 "${IMG}"
}
# Check we know what generation to generate
--
1.7.2.5
More information about the buildroot
mailing list