• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Symbolic link & Xcode install
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbolic link & Xcode install


  • Subject: Re: Symbolic link & Xcode install
  • From: Michael Stoodt <email@hidden>
  • Date: Tue, 1 Jun 2004 18:34:50 -0400

Probably it's a problem with the symbolic link, there exist 3 different types of symbolic links:
1. a link created using the Finder (dragging a file while pressing CMD+ALT)
2. a soft link created using the command-line utility: "ln -s <source> <link>"
3. a hard link created using the same command-line: "ln <source> <link>"
(only allowed for files on the same partition!)


I encountered the same problem with "type 1" links when using Apache web services: "the link just doesn't work". When I replaced the "type 1" link (=Finder link / "Alias") with "type 2" link (=soft link) everything went well.
I don't understand why the Finder creates it's own type of link. (I suppose this is a compatibility issue with "Classic" / OS 9 environment because HFS has introduced it's own type of link a long time ago.)



The terms symbolic link and soft link (#2) are synonyms; neither #1 (aliases) nor #3 are symbolic links.


A symbolic link writes the path directly into the directory; the "file" it points to does not truly need to exist. An alias is a small file which contains the specification for another file or directory; it may be able to track the target through being moved or renamed. A hard link is two directory entries pointing at the same file, breaking the normal tree-like behavior of the directory structure of each limb and branch being distinct.

Programs which come from the Unix universe should not be expected to understand aliases, which are MacOS only.
--
Michael Stoodt (MaS) <*> email@hidden
No boom today. Boom tomorrow. There's always a boom tomorrow.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



  • Prev by Date: Re: dead-code stripping, is it possible?
  • Next by Date: Re: dead-code stripping, is it possible?
  • Previous by thread: Re: xcode error: project should be an instance inheriting from PBXProject, but it is nil
  • Next by thread: New on XCode: need help building large C++ code
  • Index(es):
    • Date
    • Thread