On Wed 19 Mar 2003 14:50:18 +0000(-0800), Vineet Kumar wrote: [...] > > find / ! -fstype nfs -type f | (etc.) > > Wouldn't it be better to make use of find's -prune, something like > > find / -fstype nfs -prune -o -type f -print0 | xargs -0 ... > > The xdev one should be fine though. (also, -mount is a synonym for > -xdev). Without using -prune, the second find command you give would > still examine every file on all the nfs filesystems, just not pass them > all to grep. Using -prune, find won't recurse down directories if they > match '-fstype nfs'.
I stand corrected. Thanks! [...] -- Cheers, Clive -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]