Chapter-06

Chapter-06 - Chapter 6 File Systems 6.1 Files 6.2...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
1 File Systems Chapter 6 6.1 Files 6.2 Directories 6.3 File system implementation 6.4 Example file systems
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Long-term Information Storage 1. Must store large amounts of data 1. Information stored must survive the termination of the process using it 1. Multiple processes must be able to access the information concurrently
Background image of page 2
3 File Naming Typical file extensions.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 File Structure Three kinds of files byte sequence record sequence tree
Background image of page 4
5 File Types (a) An executable file (b) An archive
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 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
Background image of page 6
7 File Attributes Possible file attributes
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
8 File Operations 1. Create 2. Delete 3. Open 1. Close 2. Read 3. Write 1. Append 2. Seek 3. Get attributes 4. Set Attributes 5. Rename
Background image of page 8
9 An Example Program Using File System Calls (1/2)
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10 An Example Program Using File System Calls (2/2)
Background image of page 10
11 Memory-Mapped Files (a) Segmented process before mapping files into its address space (b) Process after mapping existing file abc into one segment creating new segment for xyz
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 46

Chapter-06 - Chapter 6 File Systems 6.1 Files 6.2...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online