Reading block n of a file without reading earlier blocks is:
File-System Interface
The file concept and attributes, file operations and the open-file table, file types and structure, sequential, direct and indexed access, directory structures (single-level, two-level, tree, acyclic and general graph) and protection with access lists.
How to read this page
Every original slide is shown unchanged. Yellow marks on a slide point to a numbered note: hover or tap a mark to jump to its note, and hover a note to see its marks. Questions tagged Past exam appeared on a real paper; Prediction questions are likely angles, not confirmed. Pick an answer to each question: a wrong pick tells you why it is wrong, so you can try again.
All 30 slides
- 1 Slide 1
- 2 Outline of this lecture
- 3 File-System (FS) Structure
- 4 File Concept
- 5 File Attributes
- 6 File info Window on Mac OS X
- 7 File Operations
- 8 Open Files
- 9 File Types – name, extension
- 10 File Structure
- 11 Access
- 12 Sequential-access File
- 13 Other Access Methods
- 14 Example of Index and Relative Files
- 15 Directory Structure
- 16 A Typical File-system Organization
- 17 Operations Performed on Directory
- 18 Directory Organization
- 19 Single-Level Directory
- 20 Two-Level Directory
- 21 Tree-Structured Directories
- 22 Tree-Structured Directories (Example)
- 23 Tree-Structured Directories (Cont.)
- 24 Acyclic-Graph Directories
- 25 Acyclic-Graph Directories (Cont.)
- 26 General Graph Directory
- 27 General Graph Directory (Cont.)
- 28 Protection
- 29 Access Lists and Groups
- 30 Windows 7 Access-Control List Management
Access
Notes
Sequential access: read next / write next (like a tape). Direct (relative) access: read block n in any order.
Exam angle
Tree-Structured Directories
Exam angle
A path name that starts at the root is:
Acyclic-Graph Directories
Notes
Acyclic graph: shared subdirectories and files (links). Problems: aliasing, dangling pointers on deletion.
General Graph Directory
Notes
General graph allows cycles; needs garbage collection or a cycle check when adding links.
Access Lists and Groups
Notes
UNIX: owner, group, public, each with r w x bits (e.g. 761).
Exam angle
UNIX mode 754 gives the group:
- 5 = r-x.