Strange Beauvoir With Hard And Soft Link

Home » CentOS » Strange Beauvoir With Hard And Soft Link
CentOS 2 Comments

How to is possible this?

See this two folder:

1) /var/log/ispconfig/httpd/
2) /var/www/clients/client1/web3/log

have the same inode (253953) and none of the parent dirs are symbolic link (l) but (d), and dir is not possible to generate it with hard link.

If I put a file into first dir, the file there is also into second dir.

See also this two file:

1) /var/log/ispconfig/httpd/
2) /var/www/clients/client1/web3/log/test

these file have same inode 253984 but its not hard or soft link, if I
modify first file also the second file is modified

There is only one filesystem and is the root filesystem.

How to is possible this situation?

Many thanks

2 thoughts on - Strange Beauvoir With Hard And Soft Link

  • Early in the morning and I haven’t finished my coffee yet, but this could be a bind mount. Search for the ‘bind’ option in the mount man page for an explanation. You should be able to tell by looking at the output of


    Also check /etc/fstab


    Kahlil (Kal) Hodgson GPG: C9A02289
    Head of Technology (m) +61 (0) 4 2573 0382
    DealMax Pty Ltd (w) +61 (0) 3 9008 5281

    Suite 1415
    401 Docklands Drive Docklands VIC 3008 Australia

    “All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can’t get them together again, there must be a reason. By all means, do not use a hammer.” — IBM maintenance manual, 1925

  • Il giorno gio, 30/05/2013 alle 07.42 +1000, Kahlil Hodgson ha scritto:

    Thanks Kahlil! .. and Quiet, coffee woke you up very well

    This “magic link” is due to bind mount

    Now everything is clear, it must be a news of last version of ISPConfig

    Many thanks

Leave a Reply to Dario Lesca Cancel reply