Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Important differences with aliases' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Important differences with aliases
Authored by: Anonymous on Nov 06, '01 08:11:50PM


* keep pointing to the same file/folder, even when it is moved
(although not when moved to a different partition / drive)
* store a separate copy of the icon and can have different icons
* not usable from the command line

sym links:

* just store the location of the original. If it moves, they break.
If something else of the same name is put there it now points to that.
* uses the icon of the original
* Did not use to work in Classic / OS9, but seem to now - is this a 9.2 change?

The most important bit of this to remember is that aliases are pointers to objects and
symbolic links are pointers to locations. For most tasks, I think aliases are thus more useful.


[ Reply to This | # ]
Important differences with aliases
Authored by: owain_vaughan on Nov 07, '01 06:21:23AM

Of course UNIX has an equivalent to aliases as well. Rather than using symbolic links you can use 'hard' links. Just use the ln command without the -s option and you will create a hard link. Same caveats as Mac aliases - only work on the same partition, but the cool thing is, both the 'original' and the new hard link are entirely equivalent. You can delete the original, but the file will still exist, because there is another 'link' to it. You can have as many hard links as you like, and as long as you have one the file will still exist.

[ Reply to This | # ]