Subject: Re: Request For Comments!! POSIX atomic mv
To: None <>
From: George Georgalis <>
List: netbsd-users
Date: 12/13/2007 17:38:41
On Thu, Dec 13, 2007 at 05:26:55PM -0500, George Georgalis wrote:
>On Thu, Dec 13, 2007 at 07:41:57AM -0500, Izaac wrote:
>>On Thu, Dec 13, 2007 at 12:18:42AM -0500, George Georgalis wrote:
>>>So ./. is what is IN the directory. The name of the directory is
>>>an entry of ./.. when ./. is moved it doesn't change, only ./..
>>You will be in a much more fruitful frame of mind if you stop
>>thinking in terms of relative references and start thinking in terms
>>of inodes.
>Thanks, you are right, I was only thinking of empirical user space!
>So the ./. ino points to data for the directory content. The name
>of a given directory is recorded in the data pointed to by the
>./.. ino. When a directory ino is renamed, the ino itself doesn't
>change but the former ./.. ino and new ./.. ino are updated to
>reflect revised directory data.
>I think I got it, but where is the content of /. stored?
>(no that's not a joke)

Well I see, unlike other directories, the root /. and /.. ino are
the same:

stat -s  ~/. ~/..
stat -s  /. /..

Not sure if there is any more to it, but I guess that actually

// George

George Georgalis, information system scientist <IXOYE><