[cs631apue] problem about hard link

Jan Schaumann jschauma at stevens.edu
Thu Sep 20 17:27:38 EDT 2012


yluo4 <yluo4 at stevens.edu> wrote:
> Yes,I'm sure I have written the changes to the file.
> echo moo > file1
>> ln file1 file2
>> emacs file2
>> [edit]
>> C-x C-s
>> C-x C-c
>> cat file1
> file1 doesn't change.

What system is this on?  Can you copy and paste the exact output of:

ln file1 file2
ls -li file[12]

then make a change to either file using emacs, write and exit emacs,
then

ls -li file[12]

-Jan


More information about the cs631apue mailing list