Computer File Management - Concept of The Hierarchy of Files

Concept of The Hierarchy of Files

Files can also be managed based on their location on a storage device. They are stored in a storage medium in binary form. Physically, the data is placed in a not-so-well organized structure, due to fragmentation. However, the grouping of files into directories (for operating systems such as DOS, Unix, Linux) or folders (for the Mac OS and Windows) is done by changing an index of file information known as the File Allocation Table (NTFS for recent versions of Windows) or Master File Table (depending on operating system used). In this index, the physical location of a particular file on the storage medium is stored, as well as its position in the hierarchy of directories (as we see it using commands such as DIR, LS and programs such as Explorer, Finder).

On Unix/Linux machines the hierarchy is:

  • The root directory (/)
    • Directories (/usr "user" or /dev "device")
      • Sub-directories (/usr/local)
        • Files: data, devices, links, etc. (/usr/local/readme.txt or /dev/hda1, which is the hard disk device)

For DOS/Windows the hierarchy (along with examples):

  • Drive (C:)
    • Directory/Folder (C:\My Documents)
      • Sub-directory/Sub-folder (C:\My Documents\My Pictures)
        • File (C:\My Documents\My Pictures\VacationPhoto.jpg)

Commands such as:

  • Unix/Linux: cp, mv
  • DOS: copy, move
  • Windows: the Cut/Copy/Paste commands in the Edit menu of Explorer

can be used to manage (copy or move) the files to and from other directories.

Read more about this topic:  Computer File Management

Famous quotes containing the words concept of the, concept of, concept, hierarchy and/or files:

    The new concept of the child as equal and the new integration of children into adult life has helped bring about a gradual but certain erosion of these boundaries that once separated the world of children from the word of adults, boundaries that allowed adults to treat children differently than they treated other adults because they understood that children are different.
    Marie Winn (20th century)

    The concept of a mental state is primarily the concept of a state of the person apt for bringing about a certain sort of behaviour.
    David Malet Armstrong (b. 1926)

    The two most far-reaching critical theories at the beginning of the latest phase of industrial society were those of Marx and Freud. Marx showed the moving powers and the conflicts in the social-historical process. Freud aimed at the critical uncovering of the inner conflicts. Both worked for the liberation of man, even though Marx’s concept was more comprehensive and less time-bound than Freud’s.
    Erich Fromm (1900–1980)

    In the world of the celebrity, the hierarchy of publicity has replaced the hierarchy of descent and even of great wealth.
    C. Wright Mills (1916–1962)

    Here files of pins extend their shining rows,
    Puffs, powders, patches, bibles, billet-doux.
    Alexander Pope (1688–1744)