S30checkfs, we added

      # 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

Normally, I would suggest that we keep non LFS packages out of the
bootscripts, but not sure if it's worth having it's own bootscript.


I would like to suggest adding it earlier in the boot process though,
perhaps as part of S00mountvirtfs.  Just does not feel like it belongs
in the checkfs script.

Moving it earlier would also allow us to mount lvm based swap partitions.

ps.  I am still running on an ancient version of the lfs-bootscripts,
just copied over mountfs/checkfs for the lvm parts.  (Only started
playing with lvm a few weeks ago).

-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to