Beruflich Dokumente
Kultur Dokumente
Operating Systems
1
File Naming
File Structure
2
File Types
File Access
❒ Sequential access
❍ read all bytes/records from the beginning
❍ cannot jump around, could rewind or back up
❍ convenient when medium was mag tape
❒ Random access
❍ bytes/records read in any order
❍ essential for data base systems
❍ read can be …
• move file marker (seek), then read or …
• read and then move file marker
3
File Attributes
File Operations
1. Create 7. Append
2. Delete 8. Seek
3. Open 9. Get attributes
4. Close 10. Set Attributes
5. Read 11. Rename
6. Write
4
Directories: Single-Level Directory Systems
5
Path Names
Directory Operations
1. Create 5. Readdir
2. Delete 6. Rename
3. Opendir 7. Link
4. Closedir 8. Unlink
12
6
Disks: Disk Hardware
14
7
Disk Arm Scheduling Algorithms (1)
Initial Pending
position requests
16
8
Disk Arm Scheduling Algorithms (3)
18
9
Implementing Files (1)
20
10
Implementing Files (3)
An example i-node
22
11
Implementing Directories (1)
12
Shared Files (1)
13
Disk Space Management (1)
Block size
14
Disk Space Management (3)
15
File System Reliability (1)
16
File System Reliability (3)
33
34
17
File System Performance(2)
36
18
UNIX File System (1)
37
19
UNIX File System (3)
20
The Linux File System
41
21
NTFS File System Structure (2)
22
NTFS File System Structure (4)
23
NTFS File Compression
24