[lfs-book] [LFS Trac] #3204: chap 6.6 enhancements with better /etc/mtab

LFS Trac trac at linuxfromscratch.org
Sun Oct 14 14:23:14 PDT 2012

#3204: chap 6.6 enhancements with better /etc/mtab
 Reporter:  gespinasse  |       Owner:  lfs-book@…                   
     Type:  task        |      Status:  new                          
 Priority:  normal      |   Milestone:  7.3                          
Component:  Book        |     Version:  SVN                          
 Severity:  normal      |    Keywords:                               
 Chap 6.6 instruction is to create mtab using
 touch /etc/mtab

 This cause one coreutils-8.19 test to fail (df/total-unprocessed) and some
 other to be skipped, sometime for unclear reason when main partition is
 not XFS like

 skip-seek-past-dev: skipped test: failed to determine size of -
 SKIP: dd/skip-seek-past-dev
 slink: skipped test: '.' is on an XFS file system
 SKIP: du/slink

 A better and still simple way to create /etc/mtab is using

 grep ' / ' /proc/mounts >/etc/mtab
 You may consider too adding /proc, /sys, dev/pts, /dev/shm to mtab too. I
 haven't tested without.

Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3204>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

More information about the lfs-book mailing list