Re: F15: ugly behavior of "df"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 21.07.11 13:03, Jeff Spaleta (jspaleta@xxxxxxxxx) wrote:

> On Thu, Jul 21, 2011 at 12:45 PM, Karel Zak <kzak@xxxxxxxxxx> 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.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux