硬链接 inode号码相同 文件名不同

[root@xusx ~]# mkdir /xusxdir/test -p
[root@xusx ~]# ls -lhid /xusxdir/
130937 drwxr-xr-x 3 root root 4.0K Nov 18 15:07 /xusxdir/
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@xusx ~]# ls -lhid /xusxdir/ /xusxdir/.
130937 drwxr-xr-x 3 root root 4.0K Nov 18 15:07 /xusxdir/
130937 drwxr-xr-x 3 root root 4.0K Nov 18 15:07 /xusxdir/.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@xusx ~]# ls -lhid /xusxdir/ /xusxdir/. /xusxdir/test/..
130937 drwxr-xr-x 3 root root 4.0K Nov 18 15:07 /xusxdir/
130937 drwxr-xr-x 3 root root 4.0K Nov 18 15:07 /xusxdir/.
130937 drwxr-xr-x 3 root root 4.0K Nov 18 15:07 /xusxdir/test/..

posted @ 2016-11-18 16:25  reborn枪  阅读(528)  评论(0编辑  收藏  举报