gettings mounted file systems [newbie]

Andreas Jung andreas at andreas-jung.com
Wed Jan 17 10:04:59 EST 2001


On Wed, Jan 17, 2001 at 06:14:13PM +0200, Moshe Zadka wrote:
> On Wed, 17 Jan 2001, Langa Kentane <LangaK at discoveryhealth.co.za> wrote:
> > Greetings gurus.
> > 
> > I am trying to find a way how I can get a list of mounted file systems using
> > python.
> > How would I go about doing this? I have looked into the documentation and
> > have not found anything to help.

I think there  is no portable way. Either check /etc/mtab or under Linux /proc/mounts.

Andreas




More information about the Python-list mailing list