Directory (file systems)

Directory (file systems)

In computing, a directory, catalog, folder ["With the introduction of Windows 95, Microsoft started referring to directories as folders." (" [http://www.murach.com/books/csh5/ Murach's C# 2005] ", page 34)] or drawer [Name used in AmigaOS Workbench.] is an entity in a file system, which contains a group of files and/or other directories. A typical file system may contain thousands (or even hundreds of thousands) of directories. Files are kept organized by storing related files in the same directory. A directory contained inside another directory is called a "subdirectory" of that directory. Together, the directories form a hierarchy, or tree structure.

Overview

A computer's file system can be visualized as a file cabinet, where high-level directories are represented by the drawers and lower-level subdirectories may be represented as file folders within the drawers.

Historically, and even on some modern embedded devices, the filesystems either have no support for directories at all or only have a flat directory structure, meaning subdirectories are not allowed; there is only a group of top-level directories each containing files. The first popular fully general hierarchical filesystem was that of UNIX. This type of filesystem was an early research interest of Dennis Ritchie.

In modern times in Unix-like systems, especially Linux, directory structure is defined by the Filesystem Hierarchy Standard.

In many operating systems, programs have an associated current working directory in which they execute. Typically filenames accessed by the program are assumed to reside within this directory if the filenames are not specified with an explicit directory name.

Some operating systems restrict a user's access to only their home directory or project directory, thus isolating their activities from all other users.

On Unix, directories are regarded as a type of file. ["Everything is a File" (" [http://www.uwsg.indiana.edu/usail/concepts/filesystems/everything-is-a-file.html Unix System Administration Independent Learning] ")]

The folder metaphor

The name "folder", presenting an analogy to the file folder used in offices, and used originally by Apple Lisa [http://blog.modernmechanix.com/2008/05/29/the-lisa-computer-system-apple-designs-a-new-kind-of-machine/ "Apple Designs a New Kind of Machine"] , is used in almost all modern operating systems' desktop environments. Folders are often depicted with icons which visually resemble physical file folders.

Strictly speaking, there is a difference between a "directory" which is a file system concept, and the graphical user interface metaphor that is used to represent it (a "folder"). For example, Microsoft Windows uses the concept of special folders to help present the contents of the computer to the user in a fairly consistent way that frees the user from having to deal with absolute directory paths, which can vary between versions of Windows, and between individual installations.

References

See also

* cd command
* mkdir command
* pushd and popd commands
* Filename
* Working directory
* Web directory

External links

* [http://www.bellevuelinux.org/directory.html Definition of directory] by The Linux Information Project (LINFO)


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Extent (file systems) — An extent is a contiguous area of storage in a computer file system, reserved for a file. When starting to write to a file, a whole extent is allocated. When writing to the file again, possibly after doing other write operations, the data… …   Wikipedia

  • Comparison of file systems — The following tables compare general and technical information for a number of file systems. Contents 1 General information 2 Limits 3 Metadata 4 Features …   Wikipedia

  • List of file systems — The following lists identify, characterize and link to more thorough information on computer file systems.Many older operating systems support only their one native file system, which does not bear any name apart from the name of the operating… …   Wikipedia

  • File system — For library and office filing systems, see Library classification. Further information: Filing cabinet A file system (or filesystem) is a means to organize data expected to be retained after a program terminates by providing procedures to store,… …   Wikipedia

  • Directory — For Wikipedia’s directories, see Wikipedia:Directory. Directory may refer to: Directory (file systems), or folder, a file system structure in which to store computer files Directory (databases), stored information about a database Directory… …   Wikipedia

  • File deletion — is a way of removing a file from a computer s file system. The reasons for deleting files are Freeing the disk space Removing duplicate or unnecessary data to avoid confusion Making sensitive information unavailable to others All operating… …   Wikipedia

  • File Replication Service — is a Microsoft Windows Server service for distributing shared files and Group Policy Objects. It replaced the (Windows NT) Lan Manager Replication service [1], and has been partially replaced by Distributed File System Replication. It is also… …   Wikipedia

  • File Allocation Table — For other uses, see Fat (disambiguation). FAT Developer Microsoft Full Name File Allocation Table FAT12 (12‑bit version) FAT16/FAT16B (16‑bit versions) FAT32 (32‑bit version with 28 bits used) Introduced …   Wikipedia

  • File manager — For the Windows 3.x file manager, see File Manager (Windows). A file manager or file browser is a computer program that provides a user interface to work with file systems. The most common operations performed on files or groups of files are:… …   Wikipedia

  • File system fragmentation — In computing, file system fragmentation, sometimes called file system aging, is the inability of a file system to lay out related data sequentially (contiguously), an inherent phenomenon in storage backed file systems that allow in place… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”