Perhaps peeking at /etc/fstab or parsing the output of `mount'. Both ugly, but that's all I could think of.
Otis ----- Original Message ---- From: Michael McCandless <[EMAIL PROTECTED]> To: java-dev@lucene.apache.org Sent: Friday, January 19, 2007 5:15:18 PM Subject: determining whether a directory is on NFS? This is a spinoff from the massive thread on how to have Lucene support "point in time" searching on NFS. Does anyone know of a Java friendly way to query a filesystem (well, a directory path) to find out if it's an NFS mount? If there were a way we could give users a clean error/warning message if they tried to use an index on an NFS mount. Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]