Upload
elijah-upham
View
215
Download
0
Tags:
Embed Size (px)
Citation preview
Learning Outcomes
Pada akhir pertemuan ini, diharapkan mahasiswa
akan mampu :menjelaskan konsep sistem file (C2)
2
Long-term Information Storage
1. Must store large amounts of data
2. Information stored must survive the termination of the process using it
3. Multiple processes must be able to access the information concurrently
4
8
File Types (binary files)
(a) An executable file (b) An archive
Header
Text
Data
Relocation bits
Symbol table
Collection of library procedures (modules) compiled but not linked
File AccessSequential accessread all bytes/records from the beginningcannot jump around, could rewind or back upconvenient when medium was mag tape
Random accessbytes/records read in any orderessential for data base systemsread can be …
move file marker (seek), then read or … read and then move file marker
9
File Operations1. Create2. Delete3. Open4. Close5. Read6. Write
7. Append8. Seek9. Get
attributes10.Set
Attributes11.Rename
11
DirectoriesSingle-Level Directory Systems
A single level directory systemcontains 4 filesowned by 3 different people, A, B, and C
14