Getting mount stats for filesystems
mitko at qlogic.com
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 qlogic.com
Senior Software Engineer 650.934.8064
System Interconnect Group http://www.qlogic.com
Remember, UNIX spelled backwards is XINU.
More information about the Python-list