| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 9479.1 |  | DECWET::MARTIN |  | Fri Apr 11 1997 15:49 | 9 | 
|  | Ummm, just a guess, but:
  -prune
      [XPG4-UNIX]  Always TRUE.  Prunes the search tree at the file.  That
      is, if the current pathname is a directory, The find command does not
      descend into that directory.  In a networking environment, this flag
      keeps the find command from searching through remote file systems.
NFS is a remote file system....
 | 
| 9479.2 | It turns out that -prune doesn't affect the results | CXXC::REINIG | This too shall change | Mon Apr 14 1997 11:23 | 17 | 
|  | -prune doesn't matter
augie> find /usr/proj/decc2/rtslib/deccxx_tests//collections/agr -fstype nfs
augie> find /usr/proj/decc2/rtslib/deccxx_tests//collections/agr
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/collection_running.lock
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/rts_user_defined_environment.txt
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/test_list.dat
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/rts_parameters.tcl
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/rts_status.tcl
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/rts_OS_parameters.sh
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/union
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/union/union.cxx
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/union/union.sh
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/union/union.out            
/usr/proj/decc2/rtslib/deccxx_tests//collections/agr/union/union
 | 
| 9479.3 | Maybe the 2 finds are different versions | UNIFIX::HARRIS | Juggling has its ups and downs | Mon Apr 14 1997 12:49 | 25 | 
|  |     Check to make sure the version of 'find' is the same on both systems. 
    It is possible that the version you are running on augie is not the
    same as what is running on cosf.
    
    Try doing a 
    
    	which find
    
    to locate the actual command being executed.  Then do a
    
    	what /augie/find
        what /cosf/find
    	cmp /augie/find /cosf/find
    
    to check and see if both versions are identical
    
    Also what version of NFS has been mounted?  nfsv2 or nfsv3 ??  The
    mount command can tell you
    
    	/usr/sbin/mount
    
    If there are differences between the 2 copies of find, then that is the
    first avenue of attack.
    
    					Bob Harris
 | 
| 9479.4 | I'm guessing you have an old version of find on augie | UNIFIX::HARRIS | Juggling has its ups and downs | Mon Apr 14 1997 13:02 | 16 | 
|  |     By the way, I just copied a v3.2g version of 'find' to my v4.0b
    workstation and when I tried the v4.0b 'find' against an NFS v3 mounted
    file system it worked, but when I tried the v3.2g version of 'find' it
    didn't find anything.
    
    When I remounted the NFS file system as a nfsv2, the v3.2g version of
    'find' worked correctly.
    
    So my guess is that 'augie' has an old version of 'find' somewhere in
    your PATH and that the file system you are attempting to search is
    mounted using nfsv3.
    
    Find and replace the old version of 'find' on 'augie' if my guess is
    correct.
    
    					Bob Harris
 | 
| 9479.5 | The two finds are exactly the same | CXXC::REINIG | This too shall change | Mon Apr 14 1997 13:53 | 23 | 
|  | $ augie> which find
/usr/ucb/find
augie> what /usr/ucb/find
/usr/ucb/find:
 $RCSfile: crt0.s,v $ $Revision: 1.1.21.11 $ (DEC) $Date: 1995/09/06 19:54:27 $
 $RCSfile: find.c,v $ $Revision: 4.3.23.4 $ (DEC) $Date: 1995/12/14 13:30:01 $
 $RCSfile: perm.y,v $ $Revision: 1.1.8.2 $ (DEC) $Date: 1995/06/19 05:50:42 $
cosf> which find
/usr/ucb/find
cosf> what /usr/ucb/find
/usr/ucb/find:
 $RCSfile: crt0.s,v $ $Revision: 1.1.21.11 $ (DEC) $Date: 1995/09/06 19:54:27 $
 $RCSfile: find.c,v $ $Revision: 4.3.23.4 $ (DEC) $Date: 1995/12/14 13:30:01 $
 $RCSfile: perm.y,v $ $Revision: 1.1.8.2 $ (DEC) $Date: 1995/06/19 05:50:42 $
cosf> cp /usr/ucb/find ~
augie> cmp ~/find /usr/ucb/find
augie> uname -a
OSF1 augie.zko.dec.com V4.0 386 alpha
cosf> uname -a
OSF1 cosf.zko.dec.com V4.0 386 alpha
 | 
| 9479.6 |  | QUARRY::neth | Craig Neth | Mon Apr 14 1997 14:26 | 7 | 
|  | There appear to have been some fixes to find after V4.0.   In particular,
this comment from a V4.0b fix looks interesting:
 *      3. If '-fstype nfs' , interpret this as nfsv3. getvfsbyname()
 *         returns nfsv2 if "nfs" is the argument.
I'll bet a V4.0b find will work correctly...
 |