On Thu, 21.07.11 13:03, Jeff Spaleta (jspaleta(a)gmail.com) wrote:
On Thu, Jul 21, 2011 at 12:45 PM, Karel Zak <kzak(a)redhat.com>
wrote:
>> because
>> really that is exactly what you want to do on your system. If our
>> mount command will still attempt to write to /etc/mtab once its a real
>> file again, maybe things will work for you as expected.
>
> No. systemd is not compatible with /etc/mtab
To be clear, you are saying that systemd won't be updating /etc/mtab
like the mount command tries to do?
systemd does not reset /etc/mtab on boot, and won't update /etc/mtab
with all previous mounts when / becomes writable, and will mount a few
selected mount points with raw syscalls, so that they /bin/mount nevers
sees them, so that it cannot update mtab accordingly.
So if your /etc/mtab is not a symlink you'll most likely see mounts from
a previous boot in it, and will miss a couple of mount points actually
mounted.
Lennart
--
Lennart Poettering - Red Hat, Inc.