On Sunday 13 April 2008, Marty Leisner wrote:
> I had a "head-scratching" incident when dealing with applications
> which called umount(2) and then trying to run df to see what is done.
> /proc/mounts is the kernels idea of what's mounted, /etc/mtab is manipulted
> in user space.
>
> df uses calls with look at /etc/mtab.
>
> I've heard of a technique to link /etc/mtab to /proc/mounts, which
> seems like a good idea (I've never seen a distribution which does this).

that's because more information is maintained in /etc/mtab than /proc/mounts 
at the moment.  the only time the two typically get linked is for embedded 
systems at the moment.  there is work to remedy this situation, but until 
that point, distros cannot do a symlink.

the information in question though would not affect df.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to