[Sunhelp] circular recursive search

James Roth james at lasolas.com
Wed Mar 15 10:10:53 CST 2000


Wolfgang Engelien wrote:
> 
> Hm,
> 
> I guess in my case it is not a problem of circular links.
> The automounter mounts the distributed file systems of
> itself to /net under /net/servername. Because the root
> file system is mounted, there is also a /net/servername/net
> directory. Instead of stopping there the server seems to
> mount the root file system again so that there is a
> /net/servername/net/servername and so on and so on.
> So i end up getting lines like
> /net/servername/net/servername/net/servername/net/servername/net/servername/
> net/servername/net/servername/net/servername/net/servername/net/servername/n
> et/servername/net/servername/net/servername/net/servername/net/servername/ne
> t/servername/net/servername/net/servername/net/servername/net/servername/net
> /servername/net/servername/net/servername/net/servername/net/servername/net/
> servername/net/servername/net/servername
> before I stop it and the find gets never beyond /net/servername.

Try (with gnu cp) cp -ax /fs1dir /fs2dir /destdir
That will keep it from going beyond the filesystems where fs1dir and
fs2dir are.  I hope this will help in your case.

James R.






More information about the SunHELP mailing list