View Single Post
  #10 (permalink)  
Old 08-14-2008, 06:11 PM
NetMage's Avatar
NetMage NetMage is offline
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,206
Thanks: 43
Thanked 197 Times in 158 Posts

FYI, a symlink is a Unix concept that is similar to a shortcut, but is understood by most Unix programs transparently.

From what I can tell (haven't loaded it yet) either in firmware 2.0 or the jailbreak or Cydia install process, the main /Applications directory is moved to the User partition and replaced with a symlink.

Basically it consists of a tiny text file that contains the name of the actual destination, with a special directory bit set that tells the operating system the file is a symlink that should be followed, and not treated like a text file.

For some reason Apple appears to have modified the afc service in firmware 2.x to not follow symlinks. There may be some new functionality in the afc service that would support symlinking, or maybe we could create a patched afc daemon that will follow symlinks (basically you can pass flags to the Unix filesystem API to ignore symlinks).
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote