Lecture 9



The file system

The file system is an abstraction providede by the operating system to allow users and programs to access secondary storage

The directory structure helps us organize the files.

Each file has a file name foo.txt

The directory structure translates the file name into the file number

A directory is a type of file.

Although segmentation is contiguous, page segmentation is not contiguous. Also, there is one other

Questions

True or false?

  1. Segment size is fixed
  2. Page size is variable
  3. A segment may be placed into any segment frame
  4. A page may be placed into any page frame
  5. With segmentation, all components of a program reside in a contiguous logical address space
  6. With paging, all components of a program reside in a contiguous logical address space
  7. With segmentation, all components of a program reside in a contiguous area of physical memory
  8. With paging, all components of a program reside in a contiguous area of physical memory
  9. Segmentation leads to external fragmentation
  10. Paging leads to external fragmentation