Attempt to cope with dd's non-portable bs= constructs

FreeBSD accepts both uppercase and lowercase blocksize modifiers,
whereas Mac OS and Linux disagree on what case to use.

Reported by:	Rob Hulley <hulleyrob@gmail.com>
This commit is contained in:
Benjamin Kaduk 2019-01-19 19:22:30 +00:00
parent 17cfa2ea57
commit 6993dcb756
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52774

View file

@ -585,7 +585,10 @@
<acronym>USB</acronym> stick is not mounted and that the
device name is for the disk, not a partition. Some
operating systems might require this command to be run
with &man.sudo.8;. Systems like &linux; might buffer
with &man.sudo.8;. The &man.dd.1; syntax varies slightly
across different platforms; for example, &macos; requires
a lower-case <option>bs=1m</option>.
Systems like &linux; might buffer
writes. To force all writes to complete, use
&man.sync.8;.</para>
</step>