Sheez.
After about an hour or more, I found the right command to use. I don't know how to
interpret the chicken stratching in updatedb, though.
This  command seems to work fine:
find /mnt/NetWork  -fstype  smbfs  -prune -o -print
This skips the samba mounted shares.
Joel

On Sun, Nov 25, 2001 at 02:32:19PM -0500, Joel Hammer wrote:
> I am using updatedb, like everyone, to keep track of the files on my linux
> box.
> The find command looks in part like this.
>  \( -fstype nfs -o -fstype NFS -o -type d -regex "$PRUNEREGEX" \) -prune -o
> -print 
> I want to exclude smbfs file types too, but when I put -fstype smbfs, it
> doesn't work.
> strings `which find` | grep nfs or NFS or ext2 or smbfs does not show any
> hits.
> So, had can find recognize these file types if they are not in the binary?
> Also, if someone can point me to a really simple discussion of find with
> many userful examples, I would be most appreciative.
> Joel
> 
> _______________________________________________
> Linux-users mailing list
> Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to