Chapt-6 File Management
Chapt-6 File Management
10 marks
• Contiguous allocation
• Linked allocation
• Indexed allocation
• Random access
Different users who have their own directories and their files are
stored in their own Directories.
Can have the same file name for different user
Efficient searching
Tree-Structured Directories
Tree-Structured Directories
• Two level directory system eliminates the
problem of common filename but it does not
support large number of files, so a tree of
directory is needed.
• It is very useful because it solves the problem
of grouping.
• Types of access
– Read
– Write
– Execute
– Append
– Delete
– List
Naming
• It is traditional method of providing protection
to a file.
• For naming files there are certain rules such
as-
The starting letter should always be an
alphabets.
A combination of numbers can be used.
Special Characters are not allowed.
Base
address
Paging Model of Logical and Physical
Memory
Paging Example