On Fri, Mar 31, 2000 at 05:18:29PM +0100, Peter Pilgrim wrote:
> Hi
> 
> I need some information about linux distributions and where
> they have the system mount table.
> 
> For SuSE Linux this file is ``/etc/mtab''
> 
> I need to know what it is for Red Hat Linux, Debian, Slackware, TurboLinux
> and Linux Mandrake. THis is for a Java Linux portable JNI project

You should be able to read current mounts from /proc/mounts, regardless
of distro. The format is slightly different from /etc/mtab, but the
data's coming directly from a driver in the kernel - and I doubt any
of the distros is crazy enough to have "customized" that driver.

Nathan

> 
> -- 
> 
> Adios
> Peter
> 
> -----------------------------------------------------------------
> import std.Disclaimer;                // More Java for your Lava, Mate.
> Yet Another Drumbox Applet <URL: www.xenonsoft.com >
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


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

Reply via email to