Getting mount stats for filesystems

Mitko Haralanov mitko at
Tue Jun 5 03:28:35 CEST 2007

Hi, I am trying to find a way to figure out whether a certain remote
filesystem is mounted using tcp vs. udp in Python. I've looked at the
statvfs call and module but they don't give me anything useful (the
F_FLAGS field for both a tcp and a udp filesystem is the same.

I could, of course, get the output of mount and parse that but I would
prefer something more elegant.

Thanks for your help!

Mitko Haralanov					 mitko at
Senior Software Engineer			     650.934.8064
System Interconnect Group

Remember, UNIX spelled backwards is XINU.
		-- Mt.

More information about the Python-list mailing list