Bug 253874 - dd bs= arg variants
Summary: dd bs= arg variants
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Website (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc (Nobody)
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2021-02-26 16:16 UTC by Bruce Lilly
Modified: 2021-02-28 03:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Lilly 2021-02-26 16:16:54 UTC
https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall-pre
Specifically, section 2.3.1.1.

There is considerable verbiage about syntax variations and "1m" vs. "1M".
As the unit for bs is bytes, it would be simpler to specify bs=1048576,
which will work with all dd variants.

As an aside, it could be pointed out that 1048576 is 1 mebibyte, i.e.
1024 * 1024 bytes (optionally referencing SI prefixes
   https://www.bipm.org/en/publications/si-brochure
   https://www.nist.gov/pml/weights-and-measures/metric-si-prefixes
and IEC binary power prefixes
   https://www.nist.gov/pml/special-publication-330/sp-330-section-3
   https://en.wikipedia.org/wiki/IEC_60027 ).