in reply to follow up to "http://www.perlmonks.org/?node_id=101209" NFS stuff

The statfs system call might work for you. Under Linux the f_type encodes the type of file system. See the following links for more details: