User Tag List

  1. n0m0n's Avatar
    Hello,
    I found this site with a lot of new (to me at least) information:

    http://www.noobforums.com/forums/showthread.php?t=13236

    I was wondering though can some one explain to me what "symbolic link" is.

    Or maybe in layman terms, show / explain to me what he is sharing?

    I created the Applications in the var/rot/ directory but dont understand anything past that.

    I am new at this and learning...

    Thanks
    2007-12-10 01:19 PM
  2. Eurisko's Avatar
    Hello,
    I found this site with a lot of new (to me at least) information:

    http://www.noobforums.com/forums/showthread.php?t=13236

    I was wondering though can some one explain to me what "symbolic link" is.

    Or maybe in layman terms, show / explain to me what he is sharing?

    I created the Applications in the var/rot/ directory but dont understand anything past that.

    I am new at this and learning...

    Thanks
    A Symbolic Link is the Unix version of OSX's "make Alias" command. It simply creates an alias of the original item as a place holder, so then you can move the original to any other location you like and still be directed to it.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2007-12-10 01:28 PM
  3. n0m0n's Avatar
    A Symbolic Link is the Unix version of OSX's "make Alias" command. It simply creates an alias of the original item as a place holder, so then you can move the original to any other location you like and still be directed to it.
    Thank you for replying:

    Can you give me an example?
    I still find this hard to follow.

    Thank you again
    2007-12-10 01:41 PM
  4. Eurisko's Avatar
    Thank you for replying:

    Can you give me an example?
    I still find this hard to follow.
    For the most common example, if you wish to move your Applications folder to your root folder to save space, you'd first copy the contents of the Applications folder over to your root folder:

    # cp -R /Applications /var/root/Applications

    the -R means recursive, so it will copy the folder and everything in it.

    Then you can delete the original /Applications folder:

    # rm -R /Applications

    Next, you would create your symbolic link:

    # ln -s /var/root/Applications /Applications

    The ln means Link, the -s means symbolic (alias). The command tells the system that every time /Applications is referenced, re-direct to /var/root/Applications as the physical location.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2007-12-10 03:00 PM
  5. n0m0n's Avatar
    For the most common example, if you wish to move your Applications folder to your root folder to save space, you'd first copy the contents of the Applications folder over to your root folder:

    # cp -R /Applications /var/root/Applications

    the -R means recursive, so it will copy the folder and everything in it.

    Then you can delete the original /Applications folder:

    # rm -R /Applications

    Next, you would create your symbolic link:

    # ln -s /var/root/Applications /Applications

    The ln means Link, the -s means symbolic (alias). The command tells the system that every time /Applications is referenced, re-direct to /var/root/Applications as the physical location.
    Can I have both Applications folders?
    I was thinking of moving the heavier in size over to var/root/applications, while still using the original app folder.
    Also the-In is the way it is to be written right?
    I dont write link your only explaining what it means?
    I am green but getting educated!

    THANK YOU VERY MUCH
    JW
    2007-12-10 03:50 PM
  6. Eurisko's Avatar
    ln (small l) not In

    Also, you can't have a symbolic link for a folder while keeping the original in place. It doesn't work. It's all or nothing baby.

    If you actually want to do this, there's an additional step you need to be aware of. Go to the Guides section and there's a full blown How-To on moving your Applications folder there.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2007-12-10 03:54 PM
  7. Digital Oxygen's Avatar
    A symlink is the nix (linux, unix, os x) version of a windows shortcut. I don't know how much plainer we can make it for you.
    Search NAZI
    2007-12-10 03:54 PM
  8. n0m0n's Avatar
    ln (small l) not In

    Also, you can't have a symbolic link for a folder while keeping the original in place. It doesn't work. It's all or nothing baby.

    If you actually want to do this, there's an additional step you need to be aware of. Go to the Guides section and there's a full blown How-To on moving your Applications folder there.
    Ok so I cant leave some folders apps as they are now, and move others to a new location like previously described?

    I assumed that I could leave a few apps as they are and relocate a few while change in the location as we have been discussing.

    They all have to be in one locations?

    For instance I have a few apps on drive D: on my PC
    and a few on drive E:
    As long as I point the icon to the correct location they all work.
    This would not be the same idea?

    Thanks
    JW
    2007-12-10 04:41 PM
  9. Eurisko's Avatar
    No. You can't have a folder called Applications and an alias called Applications in the same place. It will be seen as a conflict.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2007-12-10 04:47 PM
  10. n0m0n's Avatar
    No. You can't have a folder called Applications and an alias called Applications in the same place. It will be seen as a conflict.
    No I didn't mean that.
    Ok 1 is presently Applications and 1 is var/root/applications.

    If this is not allowed I can rename the var/root/ one.

    Thanks
    2007-12-10 04:52 PM
  11. Eurisko's Avatar
    No I didn't mean that.
    Ok 1 is presently Applications and 1 is var/root/applications.

    If this is not allowed I can rename the var/root/ one.

    Thanks
    The iPhone will only look for applications in the Applications folder, one folder. You can't have some applications in one folder, while others are located in a separate folder, they won't be found by Springboard.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2007-12-10 05:00 PM
  12. n0m0n's Avatar
    The iPhone will only look for applications in the Applications folder, one folder. You can't have some applications in one folder, while others are located in a separate folder, they won't be found by Springboard.
    Oh ok so the iPhone wont follow the path only the folder name.
    I guess I need to change the name or delete the Applications folder that I created in var/root/ even though it has not affected the operations of the existing apps/icons.

    Thanks
    2007-12-10 05:16 PM
  13. mrfin's Avatar
    Expanding on this idea:

    Does the iPhone honor sym-links in the Application folder?

    If I wanna have my 3rd party Applications in say /usr/Applications/, and create a sym-link, say SSH.app in /Applications -> /usr/Applications/SSH.app/ would that work? I guess it'd be easy enough for me to try this out myself, too, but if somebody's already tried, let me know and save me a few extra tries...

    Cheers!
    2007-12-10 09:17 PM
  14. Eurisko's Avatar
    Expanding on this idea:

    Does the iPhone honor sym-links in the Application folder?

    If I wanna have my 3rd party Applications in say /usr/Applications/, and create a sym-link, say SSH.app in /Applications -> /usr/Applications/SSH.app/ would that work? I guess it'd be easy enough for me to try this out myself, too, but if somebody's already tried, let me know and save me a few extra tries...

    Cheers!
    Yes, it would work, but would fail in two areas: 1st, you'd have to manually do this for every 3rd Party app you install. 2nd, every time you did an update of a 3rd Party app, it would place it back in /Applications, not in your defined /usr/Applications
    Get "iPod & iTunes for Dummies", it'll change your life.
    2007-12-11 01:21 PM
  15. mrfin's Avatar
    1st, you'd have to manually do this for every 3rd Party app you install. 2nd, every time you did an update of a 3rd Party app, it would place it back in /Applications, not in your defined /usr/Applications
    Thanks! I was aware of the 1st condition, but are you certain about the 2nd? If the sym-link already exists, wouldn't the app just "re-install" in the same directory where the sym-link points to? Of course, this would only happen if the installer does not remove the original directory when it already exists.

    Not a solution for the general public, but I'm happy with the extra manual work if it gives me more control over where the apps reside!
    2007-12-11 08:41 PM
  16. Eurisko's Avatar
    Thanks! I was aware of the 1st condition, but are you certain about the 2nd? If the sym-link already exists, wouldn't the app just "re-install" in the same directory where the sym-link points to? Of course, this would only happen if the installer does not remove the original directory when it already exists.
    Remember that the symlink would belong to the program, not the Applications folder. The Installer.app doesn't care where the program is, when it updates, it will always place the new version in the default Applications folder.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2007-12-11 08:43 PM
  17. mrfin's Avatar
    Remember that the symlink would belong to the program, not the Applications folder. The Installer.app doesn't care where the program is, when it updates, it will always place the new version in the default Applications folder.
    In theory, the sym-link is in the Applications folder and if the Installer does not remove or overwrite it, it should place the new files where the link points to. But as I don't know how the Installer handles sym-links in this case, it's all conjecture until tested...

    Nevertheless, I do find the iPhone an amazing piece of technology; almost like a lap-top (or palm-top . So many things that you can do....
    2007-12-11 09:43 PM
LINK TO POST COPIED TO CLIPBOARD