Stuart Kemp wrote: > Using FC 11; problem occurs with "df" from installed coreutils-7.2 and also > coreutils-7.6 > > Problem: > Application uses mount(2) to mount a filesystem. This works just fine, and > the filesystem can be accessed. However, "df -a" does not show this > filesystem. Problem is that "df" uses setmntent() with /etc/mtab (see > lib/mountlist.c), but the /etc/mtab file is not updated when mount(2) is > called (application is run by root). File /proc/mounts does indeed contain > the newly mounted filesystem info. /proc/mounts is a sym-link; both root (who > ran the applicaiton) and a non-root user have the same contents in > /proc/mounts. > > I tried this with both a local filesystem of type "ext3" and mounting from a > Windows machine ("cifs").
Thanks for the report. However, if /etc/mtab is not being updated, then I suspect that is your problem.