Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Using links in OS X

Using links in OS X
Thread Tools
Dedicated MacNNer
Join Date: Aug 2002
Status: Offline
Reply With Quote
Feb 2, 2004, 02:02 PM
 
I'm hoping someone can set me straight on a confusing issue. I don't understand how aliases and symbolic links work opposite each other. I don't have any formal UNIX training and I'm sure that adds to my ignorance. I boiled down my confusion to a few brief questions. If anyone cares to answer these, I'm sure I'll know many times what I currently do.

1) How are symbolic links and aliases fundamentally different?

2) Why does OS X need/use both of these types of links?

3) Where does one use one type of link versus the other?

4) Is Apple planning on adding a GUI tool for creating symbolic links, or, might they be planning to merge these two types of links into a single link?

Thanks!
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Feb 2, 2004, 04:14 PM
 
     
hudson1  (op)
Dedicated MacNNer
Join Date: Aug 2002
Status: Offline
Reply With Quote
Feb 2, 2004, 08:11 PM
 
Thanks for the link. I must not be understanding Apple's explanations correctly, though. When I read it, I come away with the impression that symbolic links are no longer needed because aliases are now using the pathway-first mode that symbolic links use (assuming 10.2 or later). If this was the case, then resorting to the Terminal to make symbolic links wouldn't be necessary and as we know, this isn't the case -- such as the sym link used to fix the 10.3.2 slow startup bug. What am I missing, if you don't mind?
     
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status: Offline
Reply With Quote
Feb 2, 2004, 08:35 PM
 
Originally posted by hudson1:
Thanks for the link. I must not be understanding Apple's explanations correctly, though. When I read it, I come away with the impression that symbolic links are no longer needed because aliases are now using the pathway-first mode that symbolic links use (assuming 10.2 or later). If this was the case, then resorting to the Terminal to make symbolic links wouldn't be necessary and as we know, this isn't the case -- such as the sym link used to fix the 10.3.2 slow startup bug. What am I missing, if you don't mind?
Symbolic links are still needed. If you move (or rename a file), that breaks a symbolic link, but not an alias. Sometimes you want to be able to move a file temporarily to temporarily stop a symbolic link. You cannot do this with an alias.

Additionally, aliases are not understood at the basic unix command line level (and therefore by any utility that uses such tools). I think Apple are planning to change this, but it is a fairly fundamental change, because no other unix has aliases... only symbolic links and hard links.

In most other cases an alias is better than a symbolic link, because the file can be moved without breaking the link.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2