Consider a linear list based directory implementation in a file system. Each…

PYQ GATE 2021

Consider a linear list based directory implementation in a file system. Each directory is a list of nodes, where each node contains the file name along with the file metadata, such as the list of pointers to the data blocks. Consider a given directory foo. Which of the following operations will necessarily require a full scan of foo for successful completion?

  1. A.

    Creation of a new file in foo

  2. B.

    Deletion of an existing file from foo

  3. C.

    Renaming of an existing file in foo

  4. D.

    Opening of an existing file in foo

Attempted by 156 students.

Sign up free to check your answer

Sign up free

Explore the full course: Operating System

Loading lesson…