[lfs-book] r9746 - in trunk/BOOK: . bootscripts/lfs/init.d chapter01

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Wed Feb 15 10:20:58 PST 2012


Author: bdubbs
Date: 2012-02-15 11:20:54 -0700 (Wed, 15 Feb 2012)
New Revision: 9746

Modified:
   trunk/BOOK/bootscripts/lfs/init.d/checkfs
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent
Log:
Activate any possible LVM partitions in checkfs script

Modified: trunk/BOOK/bootscripts/lfs/init.d/checkfs
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/checkfs	2012-02-14 20:49:29 UTC (rev 9745)
+++ trunk/BOOK/bootscripts/lfs/init.d/checkfs	2012-02-15 18:20:54 UTC (rev 9746)
@@ -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"

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-02-14 20:49:29 UTC (rev 9745)
+++ trunk/BOOK/chapter01/changelog.xml	2012-02-15 18:20:54 UTC (rev 9746)
@@ -38,6 +38,17 @@
 -->
 
     <listitem>
+      <para>2012-02-15</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Activate any possible LVM partitions
+          in checkfs script.  Thanks ot Qrux for pointing out
+          the issue.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2012-02-14</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2012-02-14 20:49:29 UTC (rev 9745)
+++ trunk/BOOK/general.ent	2012-02-15 18:20:54 UTC (rev 9746)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20120214">
-<!ENTITY releasedate "Feb 14, 2012">
+<!ENTITY version "SVN-20120215">
+<!ENTITY releasedate "Feb 15, 2012">
 <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – -->
 <!ENTITY milestone "7.1">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2012-02-14 20:49:29 UTC (rev 9745)
+++ trunk/BOOK/packages.ent	2012-02-15 18:20:54 UTC (rev 9746)
@@ -305,7 +305,7 @@
 <!ENTITY less-ch6-du "3.5 MB">
 <!ENTITY less-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY lfs-bootscripts-version "20120209">                 <!-- Scripts depend on this format -->
+<!ENTITY lfs-bootscripts-version "20120215">                 <!-- Scripts depend on this format -->
 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
 <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">           <!-- Updated in Makefile -->




More information about the lfs-book mailing list