FAT con’t / HDDs/ SSDs / inodes
1
FAT cont / HDDs/ SSDs / inodes 1 Changelog Changes made in this - - PowerPoint PPT Presentation
FAT cont / HDDs/ SSDs / inodes 1 Changelog Changes made in this version not seen in fjrst lecture: 28 March 2019: SSD block remapping: fjx some animation issues 28 March 2019: xv6 disk layout: add note re: specialness of some block numbers
1
1
2
3
5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 10
dir pt 0 dir pt 1
index.html pt 0 index.html pt 1 index.html pt 2 index.html pt 3
(bytes 0-4095 of index.html) (bytes 4096-8191 of index.html) (bytes 8192-12287 of index.html) (bytes 12278-12792 of index.html) (unused bytes 12792-16384)
6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 10
dir pt 0 dir pt 1
index.html pt 0 index.html pt 1 index.html pt 2 index.html pt 3
(bytes 0-4095 of index.html) (bytes 4096-8191 of index.html) (bytes 8192-12287 of index.html) (bytes 12278-12792 of index.html) (unused bytes 12792-16384)
6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 10
dir pt 0 dir pt 1
index.html pt 0 index.html pt 1 index.html pt 2 index.html pt 3
(bytes 0-4095 of index.html) (bytes 4096-8191 of index.html) (bytes 8192-12287 of index.html) (bytes 12278-12792 of index.html) (unused bytes 12792-16384)
6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 10
dir pt 0 dir pt 1
index.html pt 0 index.html pt 1 index.html pt 2 index.html pt 3
(bytes 0-4095 of index.html) (bytes 4096-8191 of index.html) (bytes 8192-12287 of index.html) (bytes 12278-12792 of index.html) (unused bytes 12792-16384)
6
(2010-03-29 04:05:03.56)
(2010-03-29)
(2010-03-22 12:23:12)
last write con’t
(0x156 bytes)
7
(2010-03-29 04:05:03.56)
(2010-03-29)
(2010-03-22 12:23:12)
last write con’t
(0x156 bytes)
7
(2010-03-29 04:05:03.56)
(2010-03-29)
(2010-03-22 12:23:12)
last write con’t
(0x156 bytes)
7
(2010-03-29 04:05:03.56)
(2010-03-29)
(2010-03-22 12:23:12)
last write con’t
(0x156 bytes)
7
(2010-03-29 04:05:03.56)
(2010-03-29)
(2010-03-22 12:23:12)
last write con’t
(0x156 bytes)
7
(2010-03-29 04:05:03.56)
(2010-03-29)
(2010-03-22 12:23:12)
last write con’t
(0x156 bytes)
7
8
9
9
9
9
10
11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
12
13
14
14
14
14
15
15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
17
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
19
20
21
22
23
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
hard drive image: Wikimedia Commons / Evan-Amos
24
25
25
25
25
25
26
27
28
29
30
31
32
33
34
34
35
35
35
35
36
37
38
38
38
shortest positioning time fjrst
39
40
41
NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip
42
43
44
being written
logical physical 93 1 260 … … 31 74 32 75 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
45
being written
logical physical 93 1 260 … … 31 74 32 75 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
45
being written
logical physical 93 1 260 … … 31 74 32 75 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
45
being written
logical physical 93 1 260 … … 31 74 32 75 163 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
45
being written
logical physical 93 1 260 187 … … 31 74 32 75 163 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
45
46
47
48
49
50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
51
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
51
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
51
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
51
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
51
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
51
52
53
addrs[0] addrs[1] … addrs[11] addrs[12]
…
54
55
56
56
56
56
56
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
57
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
57
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
57
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
57
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
57
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
57
58
58
59
60
61
62
63
64
65
66