<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 18 March 2014 15:29, Doug <span dir="ltr"><<a href="mailto:dmcgarrett@optonline.net" target="_blank">dmcgarrett@optonline.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On 03/18/2014 06:40 AM, Nils Kassube wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ralf Mardorf wrote:<br>
</blockquote></div>
/snip/<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You gave an example in your previous post where you mentioned copying<br>
the MBR of a disk. In general it is useful whenever you want to preserve<br>
data which are not stored in individual files, like boot loader data.<br>
</blockquote></div>
/snip/<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nils<br>
<br>
<br>
<br>
</blockquote>
The example ran like this:<div class=""><br>
<br>
You e.g. can make a backup of the MBR by<br>
<br>
# dd if=/dev/sda of=MBR_backupfile bs=512 count=1<br>
<br>
<br></div>
And I don't understand it. It looks to me like the input file is the entire partition.<br>
What am I missing?</blockquote><div><br></div><div>The input file is the entire partition, but then just 1 block ("count=1") of 512 bytes ("bs=512") is copied from the input file to the output file.  This is the first block (because there is no "skip=x") which is the MBR.</div>
<div><br></div><div>Dan</div></div></div></div>