12_Storage classroom slides - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

12_Storage classroom slides

Description:

12_Storage classroom s. My file. Eche's music folder. Bruce Springsteen. Billy Joel ... Name to disk block mapping. Free list. File name disk address /foo ... – PowerPoint PPT presentation

Number of Views:157
Avg rating:3.0/5.0
Slides: 21
Provided by: compu62
Category:

less

Transcript and Presenter's Notes

Title: 12_Storage classroom slides


1
12_Storage classroom slides
2
(No Transcript)
3
(No Transcript)
4
(No Transcript)
5
Name to disk block mapping
6
Free list
7
Cyl, surf, track, sector
File name disk address
Free list of disk blocks
/foo start addr /bar start
addr .
Name table
8
Linked List Allocation
Free list of sectors?
File name disk address
/foo 30
/bar 50
Name table
9
Linked allocation
10
File allocation table
11
Indexed allocation
12
Multilevel indexed allocation
Data blocks
Directory
100
i-node for /foo
1st level
30
40
100
File name i-node address
40
201
45
201

/foo 30
45
299
299
13
Hybrid indexed allocation
14
(No Transcript)
15
i-node structure in Unix
16
i-node for /users/faculty/rama/foo
i-node for /users/faculty/rama
Refcount 1
21
Type directory
Type data file
File name
i-node address
direct (100)
30
direct (201)
foo 30
single indirect (40)


double indirect (45)
triple indirect

Reference count on files
17
i-node for /users/faculty/rama/foo /users/faculty
/rama/bar
i-node for /users/faculty/rama
Refcount 2
21
Type directory
Type data file
File name
i-node address
direct (100)
30
direct (201)
foo 30
single indirect (40)


double indirect (45)
bar 30
triple indirect

Hard links
18
Sym links
19
After deleting foo and bar
20
Layers of the file system
Write a Comment
User Comments (0)
About PowerShow.com