Handbook wrong code mistake
Dutch Ingraham
stoa at gmx.us
Sun Nov 15 01:19:03 UTC 2015
On Sat, Nov 14, 2015 at 05:36:36PM -0700, Warren Block wrote:
> On Sat, 14 Nov 2015, Adam Vande More wrote:
>
> >On Sat, Nov 14, 2015 at 12:23 PM, Ömer Gülmen <freebsd-doc at freebsd.org>
> >wrote:
> >
> >>Hi dude
> >>
> >>2.3.1.1. Writing an Image File to USB
> >>
> >>you wrote as:# dd if=FreeBSD-10.2-RELEASE-amd64-memstick.img of=/dev/da0
> >>bs=1m conv=sync
> >>
> >> But it has to be on linux "bs=1M" not "bs=1m". Change it with capital
> >>one. Do not understand? inform me ;)
> >>
> >>
> >The command you reference is meant to be run on FreeBSD systems. If you
> >have a different operating system, you'll have to adjust accordingly.
>
> Yes, but the sentence leading up to it says "The dd(1) command-line utility
> is available on BSD, Linux®, and Mac OS® systems."
>
> So for maximum compatibility, we might as well change to an uppercase M.
> Either way works on FreeBSD.
I might suggest, in that case, a clarification to dd(1):
"Where sizes are specified, a decimal, octal, or hexadecimal number of
bytes is expected. If the number ends with a ``b'', ``k'', ``m'',
``g'', or ``w'', the number is multiplied by 512, 1024 (1K), 1048576
(1M), 1073741824 (1G) or the number of bytes in an integer,
respectively."
More information about the freebsd-doc
mailing list