On Mon, Apr 21, 2008 at 10:22:01AM +0100, David Lee wrote:
> Solaris doesn't have a "/proc/mounts".  What it does have is the ability
> (like Linux) to list the kernel mount table from a simple "mount" command.

Irritatingly, the Linux 'mount' command doesn't do this, it merely
dumps out whatever is in /etc/mtab at the time. This is because some
information relating to loopback and user mounts is only available in
mtab, since it's only used by the userspace tools.

This means it is similarly unreliable - the only way to find out
what the kernel's really up to on Linux is to inspect /proc/mounts
directly.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to