is there somewhere that will describe the folders like / root var etc

Discussion in 'Jailbreaks and iOS Hacks' started by aliensarecool, May 28, 2012.

  1. aliensarecool macrumors 6502a

    aliensarecool

    Joined:
    Feb 25, 2012
    #1
    just so i know what they do, where i'm saving/should save, etc



    no idea about them, and don't wanna do anything till i know
     
  2. zvandiver macrumors member

    Joined:
    Feb 3, 2008
    #2
    iOS and OS X are based on the BSD operating system, a relative of Unix and Linux. Search for basic info on the file systems of Unix-based systems.
    I would advise against adding or removing anything until you understand the file system.
     
  3. hackthatphone macrumors 68000

    hackthatphone

    Joined:
    Jul 28, 2010
    #3
    If you could tell us exactly what it is that you are trying to do we could better help you.

    The best general advice I could offer would be: if you don't know what you are doing with the file system, then leave it alone! If you go screwing around with it you could be stuck having to restore your phone to recover. Otherwise, learn Unix.
     
  4. jjk454ss macrumors 601

    jjk454ss

    Joined:
    Jul 10, 2008
    #4
    I've had this saved for a long time, not sure where I got it, but I just add to this if I need to remember where something goes:

    Themes

    file://localhost/var/stash/Themes.xxxxxx/

    Documents (iFile-Download)

    file://localhost/var/mobile/Documents/

    Camera Roll

    file://localhost/var/mobile/Media/DCIM/100APPLE/

    Wallpaper (Stock Wallpaper Location)

    file://localhost/var/stash/Wallpaper.xxxxxx/iPhone/

    Applications (System/Utility/Cydia)

    file://localhost/var/stash/Applications.xxxxxx/

    Applications (iTunes)

    file://localhost/var/mobile/Applications/

    SBSetting Themes

    file://localhost/var/mobile/Library/SBSettings/Themes/

    Caches

    file://localhost/var/mobile/Library/Caches/

    Byta Font (Manual Installation of iphoneruler ported fonts/ported fonts)

    file://localhost/var/mobile/Library/MyFonts/

    Display Recorder (Recorded Files)

    file://localhost/var/mobile/Library/Keyboard/DisplayRecorder/

    YourTube 2 (Downloaded Videos Location)

    file://localhost/var/mobile/Media/YourTube/

    UISounds Stock

    file://localhost/System/Library/Audio/UISounds/

    Ringtones Stock

    file://localhost/var/stash/Ringtones.xxxxxx/

    Voice Recorder Stock (Recording Location)

    file://localhost/var/mobile/Media/Recordings/

    Bootlogo

    file://localhost/Library/BootLogos/

    Dreamboard

    file://localhost/var/mobile/Library/DreamBoard/

    PerpageHTML

    file://localhost/var/mobile/Library/PerPageHTML/

    SnowCover 4 Themes

    file://localhost/Library/SC4Themes/

    Colorkeyboard

    file://localhost/var/mobile/Library/Keyboard/ColorKeyboard/

    Wallpaper JPEGifier

    file://localhost/var/mobile/Library/SpringBoard/Converted-[Lock|Home]Background.jpg

    Zeppelin Logos

    file://Library/Zeppelin/
     
  5. throAU macrumors 601

    throAU

    Joined:
    Feb 13, 2012
    Location:
    Perth, Western Australia
    #5


    they're legacy unix folders, you shouldn't be poking in there unless you know what you're doing.



    /root is traditionally the home directory for root
    /var is for "Variable" files like logs, temp files, mail spool file, etc
    /usr is for "user" applications
    /bin is for the very base core programs to get the machine to boot to the point where root can log in and fix stuff


    I dont have my mac here so I forget what else OS X includes that is part of Unix, but thats generally the idea.


    Often on a unix workstation/server you would split off /var onto a different drive/partition and mount /usr and /bin read-only for security purposes.

    You'd also keep only /bin /boot /root and a couple of other folders on the boot drive to minimize its size and ensure that i can be scanned/fixed easily in case of a system crash.
     

Share This Page