How can I exclude NFS with find with no visit
Ok, I am having a problem with the HP-UX find command, no suprise there. First, installing a capable find "not the version that is included with the distro" is not an option in this case.
I am using a find command to build a file list to be backed up to tape. I also have an NFS mounted filesystem that sometimes hangs. I'm not yet quite sure why but that's another issue.
When the find runs and the NFS mount is hung, the find hangs as well.
-fsonly, -only, -fstype, -prune, etc..... all "visit" the NFS mount then disregard it according to the switches and the values provided.
I have searched and searched for a way to exclude NFS filesystems from the find without "visiting" the NFS mount without any luck so far.
Unmounting would be an easy fix of course but the customer doesn't want to do that and the process has to be done at night with no interaction.
Any suggestions would be greatly appreciated.
Thanks in advance
|