Forum Discussion
Altera_Forum
Honored Contributor
16 years agoWhen reading the file, a (sym)link is like a copy. But writing a modification into any link of the file changes the original. Deleting a symlink does not affect the other symlinks or the original. Deleting the original file makes the symlink a not working "orphan".
There also are "hardlinks" that work similar, but here all links (including the original) are equal. Deleting one of them does not impact any other. Deleting the last hardlinkt deletes the file's data. With Linux you everywhere can use (sym)links instead of files or directories. The application does not notice this, unless it is explicitly programmed to tell symlinks from files or directories. Make, gcc, ... will not tell symlinks from files. -Michael