Author: bdubbs
Date: 2009-05-16 20:52:18 -0600 (Sat, 16 May 2009)
New Revision: 8881
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter08/fstab.xml
Log:
Add an explanation about using the barrier option in fstab. Fixes #2318.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2009-05-17 02:08:02 UTC (rev 8880)
+++ trunk/BOOK/chapter01/changelog.xml 2009-05-17 02:52:18 UTC (rev 8881)
@@ -41,6 +41,12 @@
<para>2009-05-16</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Add an explanation about using the barrier
+ option in fstab.
+ Fixes
+ <ulink url="&lfs-ticket-root;2318">#2318</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Add zlib-1.2.3-fPIC-1.patch which allows
building static and dynamic libraries in one step. Also
moved the libraries to /usr/lib.
Modified: trunk/BOOK/chapter08/fstab.xml
===================================================================
--- trunk/BOOK/chapter08/fstab.xml 2009-05-17 02:08:02 UTC (rev 8880)
+++ trunk/BOOK/chapter08/fstab.xml 2009-05-17 02:52:18 UTC (rev 8881)
@@ -95,4 +95,19 @@
<!-- Personally, I find it more foolproof to always specify the iocharset and
codepage in /etc/fstab for MS-based filesystems - Alexander E. Patrakov -->
+ <para>It is possible to make the ext3 filesystem reliable across power
+ failures for some hard disk types. To do this, add the
+ <option>barrier=1</option> mount option to the appropriate entry in
+ <filename>/etc/fstab</filename>. To check if the disk drive supports
+ this option, run
+ <ulink
url="http://www.linuxfromscratch.org/blfs/view/cvs/general/hdparm.html">hdparm</ulink>
+ on the applicable disk drive. For example, if:</para>
+
+<screen><userinput>hdparm -I /dev/sda | grep NCQ</userinput></screen>
+
+ <para>returns non-empty output, the option is supported.</para>
+
+ <para>Note: Logical Volume Management (LVM) based partitions cannot use the
+ <option>barrier</option> option.</para>
+
</sect1>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page