 in a computer file system, the root directory is the first or top-most directory in a hierarchy. it can be likened to the trunk of a tree, as the starting point where all branches originate from. the root file system is the file system contained on the same disk partition on which the root directory is located. it is the filesystem on top of which all other file systems are mounted as the system boots up. ==metaphor== to use the example of a physical file cabinet, if the separate drawers in the file cabinet are represented as the highest level of sub-directories in the file system or system prompt, then the room the file cabinet is in may be represented as the root directory. that is, the other directories may be inside it, but the root directory cannot go in any other directories, at least in that file system. in most operating systems, files can be placed inside the root directory, as well as in its sub-directories. one may envision this as placing paper files anywhere in the room, or into any file cabinet within the room. ==multiple root directories== unix abstracts the nature of this tree hierarchy entirely and in unix and unix-like systems the root directory is denoted by / sign. though the root directory is conventionally referred to as /, the directory entry itself has no name&mdash;its name is the "empty" part before the initial directory separator character (/). all filesystem entries, including mounted filesystems are "branches" of this root. under dos, os/2, and microsoft windows, each partition has a drive letter assignment (labeled c:\ for a particular partition c) and there is no common root directory above that. dos, os/2, and windows do support more abstract hierarchies, with partitions mountable within a directory of another drive, though this is rarely seen. this has been possible in dos through the command join since it first was added to dos, and can be achieved in all windows versions as well. in some contexts, it is also possible to refer to a root directory containing all mounted drives, although it cannot contain files directly as it does not exist on any file system. for instance, when linking to a local file using the "file:" uri scheme, the syntax is of the form "file:///c:/...", where "file://" is the standard prefix, and the third '/' represents the root of the local system. in unix-like operating systems, each process has its own idea of what the root directory is. for most processes this is the same as the system's actual root directory, but it can be changed by calling the chroot system call. this is typically done to create secluded environment to
File_system_directories