mario@ux.cs.man.ac.uk (Mario Wolczko) (08/15/89)
Summary If you use automount to access remote file systems, then using the -fstype option on find causes find to abort prematurely with the error message Couldn't find mount point for xxx where xxx is the name of the directory used by automount. Repeat-by Use automount to mount a file system. Then use find to scan all your local file systems: find / -fstype nfs -prune This will abort with the abovementioned error. Work-around: If you need to scan all local filesystems, this loop will do the jobs nearly as well as the ( -fstype nfs -prune ) combination: for fs in / /usr /home ...all other local filesystems do find $fs -xdev ...other options done Possible problems: The default crontab includes a find command with the -fstype option to remove .nfs files: find / -name .nfs\* -mtime +7 -exec rm -f {} \; -o -fstype nfs -prune This will stop working as soon as you start using automount. Replace it with a shell script containing a loop as above. Mario Wolczko Dept. of Computer Science Internet: mario@ux.cs.man.ac.uk The University USENET: mcvax!ukc!man.cs.ux!mario Manchester M13 9PL JANET: mario@uk.ac.man.cs.ux U.K. Tel: +44-61-275 6146 (FAX: 6280)