aos/doc/015-disk-driver-arch/figures/fat16_layout.svg
Daniel Schwyn 6d444bf552 Main handout
Signed-off-by: Daniel Schwyn <daniel.schwyn@inf.ethz.ch>
2022-03-03 14:57:51 +01:00

284 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="497.961"
height="255.584"
id="svg4159"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="New document 12">
<defs
id="defs4161">
<linearGradient
y2="340.57648"
x2="280.18478"
y1="341.08154"
x1="341.57272"
gradientTransform="translate(-774.84271,-824.21517)"
gradientUnits="userSpaceOnUse"
id="linearGradient3895"
xlink:href="#linearGradient3828-8"
inkscape:collect="always" />
<linearGradient
id="linearGradient3828-8">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3830-6" />
<stop
id="stop3836-8"
offset="0.75999999"
style="stop-color:#ffffff;stop-opacity:0.76865673;" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop3832-7" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3828"
id="linearGradient3834"
x1="341.57272"
y1="341.08154"
x2="280.18478"
y2="340.57648"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(68.380691,151.70579)" />
<linearGradient
id="linearGradient3828">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3830" />
<stop
id="stop3836"
offset="0.75999999"
style="stop-color:#ffffff;stop-opacity:0.76865673;" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop3832" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="209.45614"
inkscape:cy="237.19236"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="20"
fit-margin-left="30"
fit-margin-right="30"
fit-margin-bottom="20"
inkscape:window-width="958"
inkscape:window-height="1054"
inkscape:window-x="2880"
inkscape:window-y="24"
inkscape:window-maximized="0">
<inkscape:grid
type="xygrid"
id="grid4296"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata4164">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-99.5,-363.93818)">
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 130,442.36218 c 370,0 370,0 370,0"
id="path4078"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 130,487.36219 c 370,0 370,0 370,0"
id="path4078-8"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 130,432.36218 0,65.00001"
id="path3767"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<rect
style="fill:url(#linearGradient3834);fill-opacity:1;stroke:none"
id="rect3826"
width="83.571426"
height="145"
x="349.09497"
y="419.78226" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 145,432.36218 0,65.00001"
id="path3767-4"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 190,432.36218 0,65.00001"
id="path3767-8"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 235,432.36218 0,65.00001"
id="path3767-7"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 325,432.36218 0,65.00001"
id="path3767-9"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<rect
style="fill:url(#linearGradient3895);fill-opacity:1;stroke:none"
id="rect3826-5"
width="83.571426"
height="145"
x="-494.12845"
y="-556.13867"
transform="scale(-1,-1)" />
<text
xml:space="preserve"
style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:LMRoman12;-inkscape-font-specification:LMRoman12"
x="467.1521"
y="236.68326"
id="text3769"
sodipodi:linespacing="125%"
transform="matrix(0.65837866,0.75268688,-0.75268688,0.65837866,0,0)"><tspan
sodipodi:role="line"
id="tspan3771"
x="467.1521"
y="236.68326">Boot sector</tspan></text>
<text
xml:space="preserve"
style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:LMRoman12;-inkscape-font-specification:LMRoman12"
x="487.22543"
y="213.60655"
id="text3769-7"
sodipodi:linespacing="125%"
transform="matrix(0.65837866,0.75268688,-0.75268688,0.65837866,0,0)"><tspan
sodipodi:role="line"
id="tspan3771-7"
x="487.22543"
y="213.60655">First FAT</tspan></text>
<text
xml:space="preserve"
style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:LMRoman12;-inkscape-font-specification:LMRoman12"
x="516.27179"
y="181.30486"
id="text3769-72"
sodipodi:linespacing="125%"
transform="matrix(0.65837866,0.75268688,-0.75268688,0.65837866,0,0)"><tspan
sodipodi:role="line"
id="tspan3771-5"
x="516.27179"
y="181.30486">Second FAT</tspan></text>
<text
xml:space="preserve"
style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:LMRoman12;-inkscape-font-specification:LMRoman12"
x="551.79993"
y="139.91017"
id="text3769-3"
sodipodi:linespacing="125%"
transform="matrix(0.65837866,0.75268688,-0.75268688,0.65837866,0,0)"><tspan
sodipodi:role="line"
id="tspan3771-76"
x="551.79993"
y="139.91017">Root Directory</tspan></text>
<text
xml:space="preserve"
style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:LMRoman12;-inkscape-font-specification:LMRoman12"
x="625.99316"
y="55.683769"
id="text3769-8"
sodipodi:linespacing="125%"
transform="matrix(0.65837866,0.75268688,-0.75268688,0.65837866,0,0)"><tspan
sodipodi:role="line"
id="tspan3771-1"
x="625.99316"
y="55.683769">Clusters</tspan></text>
<path
style="fill:none;stroke:#0007c7;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 165,452.36218 0,-40 245,0 0,40"
id="path3916"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:none;stroke:#0007c7;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 297,412.36218 0,-22 18,0"
id="path3918"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:LMRoman12;-inkscape-font-specification:LMRoman12"
x="323"
y="395.36218"
id="text3920"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3922"
x="323"
y="395.36218">Index in FAT is index in clusters</tspan></text>
<path
style="fill:none;stroke:#0007c7;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 306,470.36218 0,41.00001 56,62 16,0"
id="path3926"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:LMRoman12;-inkscape-font-specification:LMRoman12"
x="385"
y="579.36218"
id="text3928"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3930"
x="385"
y="579.36218">Root directory has its own</tspan><tspan
sodipodi:role="line"
x="385"
y="599.36218"
id="tspan3932">fixed area before clusters</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 500,432.36218 0,65.00001"
id="path3767-1"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
</g>
</svg>