Re: Deleting the current directory, V2.1.54

Kevin Lentin (kevinl@cs.monash.edu.au)
Mon, 15 Sep 1997 16:23:05 +1000


On Thu, Sep 11, 1997 at 09:42:58PM -0400, Richard B. Johnson wrote:
>
> If this new behavior is okay, it could result in some problems for
> new-bee Linux users. They could get "lost" as programs running in
> certain default directories could have their file operations fail
> for no apparent reason as some other task removed that directory
> and then recreated it.

All your observations indicate that everything is working as you'd expect
it to under the circumstances.

On your sun box, open two windows, change into a directory in one window
and then rmdir that directory from another window. You should observe the
same behaviour. On this sun running 4.1.3 I get a stale NFS handle for NFS
directories and " .: no such file or directory" for local ones. Any
absolute pathnames will work, relative won't.

Linux is unique in being able to do this - as opposed to allowing it - or
so Linus has said.

-- 
[======================================================================]
[     Kevin Lentin               Email: K.Lentin@cs.monash.edu.au      ]
[   finger kevinl@fangorn.cs.monash.edu.au for PGP public key block.   ]
[  KeyId: 06808EED    FingerPrint: 6024308DE1F84314  811B511DBA6FD596  ]
[======================================================================]