[brlug-general] Two directories, one inode?

-ray ray at ops.selu.edu
Tue Jan 15 11:34:57 CST 2008


Do you have anything mounted with mount --bind?  We use it on our 
mailservers so everyone has the same "filespace" but we can keep actual 
directories on different filesystems:

[root at coach ~]# ll -d -i /home/Students/Z/W0398506  /home/stu/09/Z/W0398506
4358377 drwx-----x 3 W0398506 W0398506 4096 Dec 18 05:30 /home/stu/09/Z/W0398506
4358377 drwx-----x 3 W0398506 W0398506 4096 Dec 18 05:30 /home/Students/Z/W0398506

ray


On Tue, 15 Jan 2008, Dustin Puryear wrote:

> Any ideas how this is possible?
>
> # ll -d -i /home/virtfs/abc/home/abc /home/abc
> 132759554 drwx--x--x  22 abc abc 2048 Jan 14 12:02 /home/abc
> 132759554 drwx--x--x  22 abc abc 2048 Jan 14 12:02 /home/virtfs/abc/home/abc
>
> I thought this was expressly forbidden/denied? How can two directories
> point to same inode? That is, how can you have a directory hardlink?
>
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean  				       	 http://www.r-a-y.org
Systems Engineer                    Southeastern Louisiana University
IBM Certified Specialist  	      AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




More information about the General mailing list