CS 3733 Operating Systems
Lecture 10 [2/4/98]: File System Interface
Reading: SG 10.1-10.3 and PUP 3.3
- Filesystem
- Files - different organizations and their implications
- Directories - organization and structure. Links versus symbolic links.
- Partitions
- File Attributes
- Name
- Type
- Location
- Size
- Protection
- Time and dates of creation, modification and access
- User identification
- File Operations
- Create (
open
)
- Write (
write
)
- Read (
read
)
- Reposition (
lseek
)
- Delete (
unlink
)
- Truncation (
open
)
- Information kept in system file table:
- file pointer
- file open count
- disk location
- File types: NT and Windows 95 are patterned after the MAC so
each file has a type and a creator attribute.
- File structure: Unix assumes each file is a stream of bytes while
MAC allows additional information to be incoded.
- Directory implementations: flat versus tree structured.
- Directory implementation in Unix
SKILL: Understand the basic issues of file system implementation.
Revision Date: 2/4/98