Re: File manager tree.



Then how about this. check the current mount points and if any directory
is under an AFS mount, dont check, assume there are directories until
someone actually opens it up.

Have a list of fs types not to check on...
AFS
NFS
SMB
...


On Tue, 1 Jun 1999, Brandon S. Allbery wrote:

> In message <Pine.LNX.4.04.9906010730500.10087-100000@kehs.ksd.org>, bob@kehs.ks
> d.org writes:
> +-----
> | well, you could allways in your loop, check for the first directory and
> | break out. Then it should return fairly quickly.
> +--->8
> 
> It can take 5 minutes or more to stat the directory itself; e.g.
> /afs/zurich.ibm.ch which is in the default AFS cell service directory even
> though it's firewalled.
> 
> -- 
> brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
> system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
> electrical and computer engineering					 KF8NH
> carnegie mellon university	      ["God, root, what is difference?" -Pitr]
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]