In computer file systems, the root directory is the first or top-most directory in a hierarchy. It can be likened to the root of a tree—the starting point where all branches originate.
Strictly speaking, recent versions of Windows do support more abstract hierarchies, with partitions mountable within a directory of another drive, though this is rarely seen. 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 and similar 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 for security purposes to restrict which files a process may access to just a subset of the file hierarchy.
Computer file systems | Wurzelverzeichnis | Répertoire racine | Juurkaust | Erro direktorio | Root directory | Katalog główny
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Root directory".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world