http://raj-os.blogspot.in/ 1 Operations on a Directory Search for a file Create a file Delete a file List a directory Rename a file Traverse the file system
http://raj-os.blogspot.in/ 2 Search for a file Find the entry for a particular file Operations on a directory
http://raj-os.blogspot.in/ 3 2. Create a file Create new file and add to directory Operations on a directory
http://raj-os.blogspot.in/ 4 3. Delete a file Remove a file when no longer needed Operations on a directory
http://raj-os.blogspot.in/ 5 4. List a directory List the files in a directory and the contents of the directory entry for each file in the list Operations on a directory
http://raj-os.blogspot.in/ 6 5. Rename a file Change name of a file as per user’s request Position within the directory may also change Operations on a directory
http://raj-os.blogspot.in/ 7 6. Traverse the file system Every directory and every file within a directory structure should be accessible For reliability, entire file system should be saved at regular intervals on a backup device Magnetic tape is the commonest backup device Operations on a directory
http://raj-os.blogspot.in/ 8 Summary In this class, you have learnt: - Sequential Access - Direct Access - Index file, primary index and secondary index Directory
http://raj-os.blogspot.in/ 9 Frequently Asked Questions 1. Explain sequential file access method. 2. Explain direct access method 3. What is an index file 4. Explain file system organization 5. Explain various operations on a directory