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").

-Stuart Kemp

                                          
_________________________________________________________________
Windows 7: I wanted more reliable, now it's more reliable. Wow!
http://microsoft.com/windows/windows-7/default-ga.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:102009

Reply via email to