Getting mount stats for filesystems

Mitko Haralanov mitko at qlogic.com
Mon Jun 4 21:28:35 EDT 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 qlogic.com
Senior Software Engineer			     650.934.8064
System Interconnect Group		    http://www.qlogic.com

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



More information about the Python-list mailing list