Ok, hard links aren't links anymore.

[rocketmouse@archlinux ~]$ cd /tmp/
[rocketmouse@archlinux tmp]$ mkdir test
[rocketmouse@archlinux tmp]$ echo hello > test/test.txt
[rocketmouse@archlinux tmp]$ ln test/test.txt test/hardlink.txt 
[rocketmouse@archlinux tmp]$ ls -i test/ 
2906732 hardlink.txt  2906732 test.txt
[rocketmouse@archlinux tmp]$ cp -pr test/ test_2
[rocketmouse@archlinux tmp]$ ls -i test_2/
2908188 hardlink.txt  2908189 test.txt
     ^^                    ^^
[rocketmouse@archlinux tmp]$ cat test_2/*
hello
hello

Reply via email to