Baho Utot wrote:
> I found this error in the book....
>
> It is possible to make the ext3 filesystem reliable across power
> failures for some hard disk types. To do this, add the barrier=1 mount
> option to the appropriate entry in /etc/fstab. To check if the disk
> drive supports this option, run hdparm on the applicable disk drive. For
> example, if:
>
>
> The ext3 should be ext4 if this is the default for LFS should it not?

The statement is still valid for for both ext3 and ext4.  Using 
barrier=1 may also affect disk speed, but I suspect that's more 
theoretical than noticeable.

There are other options that may be useful that we don't mention.  For 
example noatime,discard,data=writeback is useful for ssd drives.

Perhaps a more general statement about mount options would be more 
appropriate than a mention of just barrier.

   -- Bruce



-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to