Single level directory file organization technique
Single level directory file organization technique
Now as the different files are under the same-root directory the users are not allowed to create
the different sub-directories serving their requirements. This also creates a barrier with the
single-level directory as when the number of files increases or more than one user logs into the
system both of these need to maintain the standards of giving a unique name to it. This also
means that if two users call their files 'apple', then this, in turn, will violate the unique name
standardization.
The Advantages
● The implementation of a single-level directory structure is simple and easier as
compared to other directory structures in OS.
● If the file size is smaller, then the searching of such files with the single-level
directory structure becomes simpler.
● The single-level directory structure allows the operations such as searching,
creation, deletion and updating as well.
The Disadvantages
● As several users can log in at the same system to log their files maintaining a
unique name becomes difficult leading to a collision. This also means that if the
file with the same name is created then the old file will get destroyed first, then
the new file (having the same name ) created will replace it.
● If the size of the files is bigger then searching the files in one root directory of the
single-level directory structure will become time-consuming and hence difficult.
● The single-level directory structure restricts the grouping of the same type of files
together.