DIRECTORIES-FLAT DIRECTORY SYSTEMS
Directory
Directory can be defined as the listing of the related files on the disk. The
directory may store some or the entire file attributes.
To get the benefit of different file systems on the different operating
systems, A hard disk can be divided into the number of partitions of
different sizes. The partitions are also called volumes or mini disks.
Each partition must have at least one directory in which, all the files of the
partition can be listed. A directory entry is maintained for each file in the
directory which stores all the information related to that file.
A directory can be viewed as a file which contains the Meta data of the bunch
of files.
Every Directory supports a number of common operations on the file:
1. File Creation
2. Search for the file
3. File deletion
4. Renaming the file
5. Traversing Files
6. Listing of files
, DIRECTORY STRUCTURE
A directory groups the files owned by the user.it contains information about the
files and thus is central to the functioning of the file system. It contains
information like file attributes its location and its ownership. It can be viewed as a
symbol table that translates file name into their directory entries.
A directory that contains all the files is the simplest form of the directory system
and is also called as root directory. This system was common in the earlier PCs as
there was only one user.
The first supercomputer of the world named CDC 6600 also had only a single
directory for all the files and was also used by multiple users concurrently.
This system was only made to keep every software design simple.
The figure given below shows an example of this system.
Having only one directory in a system with many users can create the problem,
that is, different users may accidently use the same names for their files.
Directory
Directory can be defined as the listing of the related files on the disk. The
directory may store some or the entire file attributes.
To get the benefit of different file systems on the different operating
systems, A hard disk can be divided into the number of partitions of
different sizes. The partitions are also called volumes or mini disks.
Each partition must have at least one directory in which, all the files of the
partition can be listed. A directory entry is maintained for each file in the
directory which stores all the information related to that file.
A directory can be viewed as a file which contains the Meta data of the bunch
of files.
Every Directory supports a number of common operations on the file:
1. File Creation
2. Search for the file
3. File deletion
4. Renaming the file
5. Traversing Files
6. Listing of files
, DIRECTORY STRUCTURE
A directory groups the files owned by the user.it contains information about the
files and thus is central to the functioning of the file system. It contains
information like file attributes its location and its ownership. It can be viewed as a
symbol table that translates file name into their directory entries.
A directory that contains all the files is the simplest form of the directory system
and is also called as root directory. This system was common in the earlier PCs as
there was only one user.
The first supercomputer of the world named CDC 6600 also had only a single
directory for all the files and was also used by multiple users concurrently.
This system was only made to keep every software design simple.
The figure given below shows an example of this system.
Having only one directory in a system with many users can create the problem,
that is, different users may accidently use the same names for their files.