Root path in Mac

Discussion in 'macOS' started by Samora, Oct 12, 2010.

  1. Samora macrumors newbie

    Oct 12, 2010

    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. spinnerlys Guest


    Sep 7, 2008
    forlod bygningen
  3. Guiyon macrumors 6502a

    Mar 19, 2008
    North Shore, MA
    The root path in Mac OS X is '/'. For example, the global Applications folder is located at '/Applications'.
  4. cube macrumors G5

    May 10, 2004
    That is not the root PATH.

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

    The root path is /
  5. foidulus macrumors 6502a

    Jan 15, 2007
    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. Samora thread starter macrumors newbie

    Oct 12, 2010
    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. cube macrumors G5

    May 10, 2004
    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