[cs631apue] problem about hard link

Jan Schaumann jschauma at stevens.edu
Tue Sep 18 22:21:25 EDT 2012


yluo4 <yluo4 at stevens.edu> wrote:

>      Does hard link mean that different names point to the same file?   

Correct.

> But when I create a hard link 'name2' for a file 'name1' and change the  
> contents of 'name2', the contents of 'name1' don't change.

They should - if you create the hard link correctly.

How did you try to do this?

-Jan


More information about the cs631apue mailing list