aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/lfs/init.d/checkfs7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootscripts/lfs/init.d/checkfs b/bootscripts/lfs/init.d/checkfs
index ef96aaf0f..963ec41a0 100644
--- a/bootscripts/lfs/init.d/checkfs
+++ b/bootscripts/lfs/init.d/checkfs
@@ -42,6 +42,13 @@
case "${1}" in
start)
+
+ # If any LVM based partitions are on the system, ensure they
+ # are activated so they can be checked/used.
+ if [ -x /sbin/vgchange ]; then
+ /sbin/vgchange -a y >/dev/null
+ fi
+
if [ -f /fastboot ]; then
msg="/fastboot found, will omit "
msg="${msg} file system checks as requested.\n"