Add badblocks section 5 introductory slides.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 25 Jan 2019 21:41:49 +0000 (21:41 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 25 Jan 2019 22:00:03 +0000 (22:00 +0000)
2019-fosdem/5000-badblocks.html [new file with mode: 0644]
2019-fosdem/5050-badblocks-diagram.html [new file with mode: 0644]
2019-fosdem/5050-badblocks-diagram.svg [new file with mode: 0644]

diff --git a/2019-fosdem/5000-badblocks.html b/2019-fosdem/5000-badblocks.html
new file mode 100644 (file)
index 0000000..9e58458
--- /dev/null
@@ -0,0 +1,41 @@
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<link rel="stylesheet" href="style.css" type="text/css"/>
+<script src="code.js" type="text/javascript"></script>
+
+<h1>Testing the badblocks command</h1>
+
+<style>
+pre {
+    font-size: 70%;
+    background: -webkit-linear-gradient(#000, #eee);
+    -webkit-background-clip: text;
+    -webkit-text-fill-color: transparent;
+}
+</style>
+
+<pre>
+BADBLOCKS(8)                System Manager's Manual               BADBLOCKS(8)
+
+NAME
+       badblocks - search a device for bad blocks
+
+SYNOPSIS
+       badblocks  [  -svwnfBX  ]  [ -b block_size ] [ -c blocks_at_once ] [ -d
+       read_delay_factor ] [ -e max_bad_blocks ] [ -i input_file ] [  -o  out‐
+       put_file  ] [ -p num_passes ] [ -t test_pattern ] device [ last_block ]
+       [ first_block ]
+
+DESCRIPTION
+       badblocks is used to search for bad blocks on a device (usually a  disk
+       partition).   device  is  the  special file corresponding to the device
+       (e.g /dev/hdc1).  last_block is the last block to be checked; if it  is
+       not  specified,  the  last  block  on  the device is used as a default.
+       first_block is an optional parameter specifying the starting block num‐
+       ber  for  the  test, which allows the testing to start in the middle of
+       the disk.  If it is not specified the first block on the disk  is  used
+       as a default.
+
+       Important  note:  If  the output of badblocks is going to be fed to the
+       e2fsck or mke2fs programs, it is important that the block size is prop‐
+       erly  specified,  since  the block numbers which are generated are very
+</pre>
diff --git a/2019-fosdem/5050-badblocks-diagram.html b/2019-fosdem/5050-badblocks-diagram.html
new file mode 100644 (file)
index 0000000..88afce1
--- /dev/null
@@ -0,0 +1,9 @@
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<link rel="stylesheet" href="style.css" type="text/css"/>
+<script src="code.js" type="text/javascript"></script>
+
+<h1>Testing the badblocks command</h1>
+
+<div class="allcenter">
+  <img src="5050-badblocks-diagram.svg" width="800"/>
+</div>
diff --git a/2019-fosdem/5050-badblocks-diagram.svg b/2019-fosdem/5050-badblocks-diagram.svg
new file mode 100644 (file)
index 0000000..0478504
--- /dev/null
@@ -0,0 +1,167 @@
+<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="203.0625mm"
+   height="73.316528mm"
+   viewBox="0 0 203.0625 73.316527"
+   version="1.1"
+   id="svg8"
+   inkscape:version="0.92.3 (2405546, 2018-03-11)"
+   sodipodi:docname="5050-badblocks-diagram.svg">
+  <defs
+     id="defs2">
+    <marker
+       inkscape:isstock="true"
+       style="overflow:visible"
+       id="marker4707"
+       refX="0"
+       refY="0"
+       orient="auto"
+       inkscape:stockid="Arrow1Lend">
+      <path
+         inkscape:connector-curvature="0"
+         transform="matrix(-0.8,0,0,-0.8,-10,0)"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         id="path4705" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Lend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="marker1297"
+       style="overflow:visible"
+       inkscape:isstock="true"
+       inkscape:collect="always">
+      <path
+         id="path1295"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.8,0,0,-0.8,-10,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.4"
+     inkscape:cx="362.56696"
+     inkscape:cy="119.8456"
+     inkscape:document-units="mm"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     fit-margin-top="10"
+     fit-margin-left="10"
+     fit-margin-right="10"
+     fit-margin-bottom="10"
+     inkscape:window-width="1920"
+     inkscape:window-height="1018"
+     inkscape:window-x="0"
+     inkscape:window-y="33"
+     inkscape:window-maximized="1"
+     showguides="true">
+    <inkscape:grid
+       type="xygrid"
+       id="grid1105"
+       originx="113.4375"
+       originy="-212.10014" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata5">
+    <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(113.4375,-11.583334)">
+    <rect
+       style="fill:#ffffff;fill-opacity:1;stroke:#333333;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
+       id="rect1159"
+       width="182.5625"
+       height="7.9375005"
+       x="-103.1875"
+       y="21.833334" />
+    <rect
+       y="21.833334"
+       x="-42.333332"
+       height="7.9375005"
+       width="7.9374986"
+       id="rect819"
+       style="fill:#ffffff;fill-opacity:1;stroke:#333333;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ff2f2a;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="-41.274998"
+       y="28.712502"
+       id="text3866"><tspan
+         sodipodi:role="line"
+         id="tspan3864"
+         x="-41.274998"
+         y="28.712502"
+         style="fill:#ff2f2a;fill-opacity:1;stroke-width:0.26458332">x</tspan></text>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m -70.114582,31.093751 v 5.291666 h 47.624999 v -5.291666"
+       id="path3868"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker1297)"
+       d="M -46.037498,36.385417 V 66.8125"
+       id="path3870"
+       inkscape:connector-curvature="0" />
+    <path
+       inkscape:connector-curvature="0"
+       id="path3872"
+       d="m 10.31879,31.093751 v 5.291666 h 47.624999 v -5.291666"
+       style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    <path
+       inkscape:connector-curvature="0"
+       id="path3874"
+       d="M 34.395874,36.385417 V 66.8125"
+       style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker4707)" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ff2f2a;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="-58.208336"
+       y="75.808334"
+       id="text4735"><tspan
+         sodipodi:role="line"
+         id="tspan4733"
+         x="-58.208336"
+         y="75.808334"
+         style="fill:#ff2f2a;fill-opacity:1;stroke-width:0.26458332">error</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="28.310413"
+       y="75.543755"
+       id="text4739"><tspan
+         sodipodi:role="line"
+         id="tspan4737"
+         x="28.310413"
+         y="75.543755"
+         style="stroke-width:0.26458332">ok</tspan></text>
+  </g>
+</svg>