Root path in Mac

Discussion in 'OS X' started by Samora, Oct 12, 2010.

  1. macrumors newbie

    Joined:
    Oct 12, 2010
    #1
    Hi...

    I am a newbye over MAc...

    On Java, sometimes it happens to place all my job on root (WIndows C:\)

    Here on MAc what is the equivalent path??:confused:


    Maybe this a silly quetsion or maybe it is place d in thr wrong forum.

    Forgive me for both.

    Anyway, if someone can help i would aprreciate very much.

    Thanks in advance
     
  2. Guest

    spinnerlys

    Joined:
    Sep 7, 2008
    Location:
    forlod bygningen
    #2
  3. macrumors 6502a

    Joined:
    Mar 19, 2008
    Location:
    North Shore, MA
    #3
    The root path in Mac OS X is '/'. For example, the global Applications folder is located at '/Applications'.
     
  4. macrumors G4

    Joined:
    May 10, 2004
    #4
    That is not the root PATH.

    The path of what you're mentioning is "/Volumes/Macintosh HD".

    The root path is /
     
  5. macrumors 6502a

    Joined:
    Jan 15, 2007
    #5
    Yes, OS X is unix, and like all other *nixes the logical root is /

    Unlike Windows there is a clear separation of the logical layout of the file system and the physical layout of the file system.

    You'll find that layout to be infinitely superior. It's one of the main reasons I refuse to ever use a windows box again.
     
  6. thread starter macrumors newbie

    Joined:
    Oct 12, 2010
    #6
    Thanks guys for all your support.

    What i ment by root path (WIndows C:\) is the local disk c:\

    Maybe that was a mistake.

    Nevertheless, i think that both Macintosh HD/ ot simply / replace the C:\ .

    Am i right?:confused:

    Thanks again
     
  7. macrumors G4

    Joined:
    May 10, 2004
    #7
    If you have to write a path, you have to write / for the root.

    If you have to write only the path for a disk X, it is /Volumes/X

    But a disk can be mounted to other directories, so that you don't need to start your path with /Volumes/diskname

    The boot disk is mounted on /
     

Share This Page