[brlug-general] Two directories, one inode?

Dustin Puryear dustin at puryear-it.com
Tue Jan 15 11:26:06 CST 2008


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?

-- 
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Author, "Best Practices for Managing Linux and UNIX Servers"
   http://www.puryear-it.com/pubs/linux-unix-best-practices

Identity Management, LDAP, and Linux Integration



More information about the General mailing list