On Tue, Jan 17, 2012 at 11:35 AM, Zachary Kotlarek <z...@kotlarek.com> wrote:
>
> On Jan 16, 2012, at 1:15 PM, Steve Crosby wrote:
>
>> Not *required* but systemd will issue a warning on boot if /etc/mtab
>> is not a symlink to /proc/mounts
>
>
> I'm pretty sure this is actually required if you use systemd's internal mount 
> facilities -- it does not manage mtab and the file will be empty/out-of-date 
> if you don't make it a symlink.
>

Further reading shows that the original issues with a symlink
/etc/mtab were resolved in late 2009 (loop mounts, nfs, user=options),
and LFS originally had a symlink for /etc/mtab way back in at least
3.x days

Given that Debian, Fedora, and possibly Ubuntu (have not checked a
recent dist) all now use a symlink, should we change to also doing
that?

The only changes we might need to make are the bootscripts may need to
add a -n option to all mount commands to suppress any update errors -
unless util-linux has fixed mount recently to no longer attempt to
write to a symlinked /etc/mtab....

(oh, and the policy rant referred to the /usr split warning rather
than /etc/mtab - the place for that warning is in the documentation
and build time, not runtime...)
-- 
-- -
Steve Crosby
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to