[lfs-dev] util-linux issues

Bruce Dubbs bruce.dubbs at gmail.com
Tue May 14 11:59:08 PDT 2013

1. The latest git commit in util-linux now has a fix for umount not 
remounting the root fs read only with a 'umount -a -r' command.

I'm not sure if we should fix that in LFS or just wait until the next 
release of util-linux.  We do have a workaround in place in the mountfs 
script, and it's a pretty minor issue right now.  My inclination is to wait.

2. Also, I did a test of setting /etc/mtab as a symlink to /proc/mounts 
and it seems to work properly although the output of 'mount' is a bit 
more verbose.  My objection of 'mount' not specifying the device for the 
rootfs is fixed.  I think this is done by reading the root= option on 
the kernel command line, so it may not work exactly right in all cases. 
  For instance, it may not work if an initramfs is used and the root fs 
is specified by uuid or label.

In any case, should we change the /etc/mtab entry to a symlink?

   -- Bruce

More information about the lfs-dev mailing list