commit 36a08e495566d89ea8b2986eb3f3e48fdecd8ff2
Author: Frederick Grose <fgrose(a)sugarlabs.org>
Date: Sun Jan 27 20:55:36 2013 -0500
Provide a means to test the home.img filesystem, if requested.
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index ecbc9b5..a455aeb 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -134,6 +134,11 @@ mountPersistentHome() {
homedev=/dev/mapper/EncHome
fi
+ # Check the filesystem, if requested.
+ if [ -e /forcehomefsck ]; then
+ e2fsck -f -y -v \$homedev || e2fsck -f -y \$homedev
+ rm /forcehomefsck
+ fi
# and finally do the mount
mount \$mountopts \$homedev /home
# if we have /home under what's passed for persistent home, then
Show replies by date