On 08/21/2014 09:50 AM, Chris Adams wrote:
Once upon a time, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> said:
# dd if=/dev/zero of=/dev/sdb bs=1M seek=1007620
<snip>
Well, man says about seek:
seek=N skip N obs-sized blocks at start of output
and obs defaults to 512 bytes, and I *THOUGHT* fdisk was reporting #
512 blocks, not bytes.
fdisk reports sectors (that's the default in recent years, it can be
configured to report in different units). However, look again at the dd
command; the block size was set to 1M (=1048576 bytes), and then the
seek was set to 1007620 blocks, which is almost 1TB. If you are going
to raise the block size, you have to recalculate everything else that is
expressed in blocks.
Ah...
I had cobbled this together from instructions on how to zero out a whole
drive. That is were the bs= comes from. So this overrides the 512bytes
with a much bigger number, making the seek= wrong. Got it. Will try again.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org