--- romio/adio/common/ad_fstype.c.orig Mon Jun 15 13:45:25 1998 +++ romio/adio/common/ad_fstype.c Mon Oct 19 16:23:55 1998 @@ -91,7 +91,11 @@ if (err) *error_code = MPI_ERR_UNKNOWN; else { +#if (__FreeBSD_version>300004) + if ( !strncmp("nfs",fsbuf.f_fstypename,3) ) *fstype = ADIO_NFS; +#else if (fsbuf.f_type == MOUNT_NFS) *fstype = ADIO_NFS; +#endif else *fstype = ADIO_UFS; *error_code = MPI_SUCCESS; }