-#ifdef ultrix
-/*
-* Return the block-special device name associated with the filesystem
-* on which "file" resides. Returns NULL on failure.
-*/
-
-static char *
-special( file, nfs )
-char *file;
-int *nfs;
-{
- static struct fs_data fsd;
-
- if ( getmnt(0, &fsd, 0, STAT_ONE, file ) < 0 ) {
- LOG(log_info, logtype_afpd, "special: getmnt %s: %s", file, strerror(errno) );
- return( NULL );
- }
-
- /* XXX: does this really detect an nfs mounted fs? */
- if (strchr(fsd.fd_req.devname, ':'))
- *nfs = 1;
- return( fsd.fd_req.devname );
-}
-
-#else /* ultrix */