Ira Abramov wrote:

How can one get a list of mounted filesystems without getting blocked
running "df" or "mount" with a dead NFS server? I am writing a little
status monitor script to see if NFS is up or down and what's mounted. if
I mount and then disconnect the server, running mount or df just hangs
blocked till the server comes back. any way to read the mounts tables
without having to get blocked if there is a problem?


How about reading /etc/mtab ?

--
Oded

::..
The biggest lies:
4. It's only a cold sore.




================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to