diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-02-15 18:20:54 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-02-15 18:20:54 +0000 |
commit | 8e8d6e66b3329a26e431882f03745f93aeec70a3 (patch) | |
tree | d155d1d923ada0bb7c4f30db9ee3daffb4d375ca /bootscripts | |
parent | ed21235c012efda4f7fae63d89714555235c0e48 (diff) |
Activate any possible LVM partitions in checkfs script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9746 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/lfs/init.d/checkfs | 7 |
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" |