Subject: Re: RENAME

From: Brent Callaghan <[email-masked]>
Date: Thu, 23 Sep 1999 10:30:03 -0700 (PDT)

G. Allen Morris III writes:
> I would like to add a mechanism that would inform clients that
> filehandles go stale after a rename.
> 
> The client could then update any openfiles that it renamed with:
> 
>     PUTFH  (source dir)
> 	RENAME "a" (dest dir) "b"
> 	SAVEFH
> 	PUTFH  (dest dir)
> 	LOOKUPFH "b" ("a"'s filehandle)	 # a new operation
> 	GETFH
> 	RESTOREFH

I don't see any advantage with a LOOKUPFH operation
tell you that the filehandle is different.

Why not do a regular LOOKUP, return the filehandle
unconditionally and have the client use it ?  If
it's a new filehandle that's good.  If it's the same
old filehandle - no harm done.

	Brent