From: Andreas Schweikardt (schweika@genesis.infosun)
Date: 02/11/93


From: schweika@genesis.infosun (Andreas Schweikardt)
Subject: Re: Directory rename FX
Date: 12 Feb 1993 00:51:39 GMT


>Renaming a directory seems to cause an inconsistency in the kernel:
>
>$ cd /tmp ; mkdir x ; cd x
>$ (cd ../ mv x y )
>$ cd .
>..: No such file or directory
>$ ls -lid . ../y
> 7784 drwxr-xr-x 2 root system 32 Feb 12 00:28 .
> 7784 drwxr-xr-x 2 root system 32 Feb 12 00:28 ../y
>$ cd ../y
>$ cd .#
>$
>This is 0.99.5, Minix FS.

Well, I've tried your session on a SparcStation:

[sparc]home >cd /tmp ; mkdir x ; cd x
[sparc]x >(cd ..; mv x y )
[sparc]x >cd .
: No such file or directory
[sparc]x >ls -lid . ../y
   325 drwxr-xr-x 2 schweika 32 Feb 12 01:42 ./
   325 drwxr-xr-x 2 schweika 32 Feb 12 01:42 ../y/
[sparc]x >cd ../y
[sparc]y >cd .
[sparc]y >

What's wrong with Linux ??

I think this is a normal behaviour, isn't it ?
Or shall I report it to SUN ? ;-)

Bye Andreas