Date: Wed, 09 Sep 2015 09:29:54 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Warren Block <wblock@wonkity.com>, Allan Jude <allanjude@freebsd.org> Cc: freebsd-doc@freebsd.org Subject: Re: Handbook - Typo in Pre-Installation Message-ID: <1F3B078271E093C060264422@atuin.in.mat.cc> In-Reply-To: <alpine.BSF.2.20.1509052032200.78141@wonkity.com> References: <CABmV-pA2ZVktzj4bAY=mwdNpuNJ2Zt%2BWfpb4UgjFX4yfy=mvGw@mail.gmail.com> <55EB9072.8070902@freebsd.org> <alpine.BSF.2.20.1509052032200.78141@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========328BF29F55D81EE71561========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +--On 5 septembre 2015 20:37:41 -0600 Warren Block <wblock@wonkity.com> wrote: | On Sat, 5 Sep 2015, Allan Jude wrote: | |> On 2015-09-05 20:11, Ali Ghahraei wrote: |>> Good afternoon. |>> |>> I just wanted to inform you about an error in the handbook (or at least |>> I think it is one). In "Pre-Installation Tasks" there is a command for |>> burning disk images, but it currently is: |>> |>> # dd if=*FreeBSD-10.0-RELEASE-amd64-memstick.img* of=/dev/*da0* bs=1m |>> # conv=sync |>> |>> And I think it should be: |>> |>> # dd if=*FreeBSD-10.0-RELEASE-amd64-memstick.img* of=/dev/*da0* bs=1M |>> # conv=sync |>> |>> With a capital m in bs. This is because I tried to use the command and |>> it returned dd: invalid number: '1m'. |>> |>> I apologize if my English is not too good, but I'm not from an |>> English-speaking country. I send you this message because I wanted to |>> help you. I hope it is useful :) |> |> Only the Linux utilities are sensitive to the case of the unit, but yes, |> we should change it in the documentation. | | The device name will not be correct on Linux, either. That is a | FreeBSD-specific command. We could add a Linux variation, but it ought | to explain how to determine the correct device to write. | | Incidentally, we should test using conv=sync,noerror,sparse. The last | one in particular could make writing memory sticks faster. I'm really not sure the sparse would do any good, the memsticks img are filesystems created with makefs, which packs files in a filesystem image without leaving any holes. (I mean, of course there will be sectors that are not full, but you always have to write to a nand cell in one go, and cells are much bigger than sectors.) What helps is the bs=1m, because it doesn't go and write 512 bytes at a time (when the cell size is, say, 512kB, it means the same cell is overwritten 1024 times before it's full, which *is* the part that makes it slow.) -- Mathieu Arnold --==========328BF29F55D81EE71561========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJV79/yXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85In8kQAKkCiPOl84HoUroDnjWaApKL f44kj+7gFKvXz1/beHA/cjxSMvEE2djQ+bw0L/Tu1EdXTgU10RCy066jP06qHDa1 2KPcK/vCqc0EVhWGSONN6z+mnzhqq7+WMPbDWJXlXjTC9I52pHgiNsobXddeymmO dLaf0L18WO2l5DaQQhsCTXrJVuIhTV6rqMO67zGPoU1V97UZYvPK6bISM7vCe+ze ZHp2qVd0u32id0vQ7goReiDNqXIyjVtvg+RxnOpdS+NxfDBMi+SUOssNjbsPqcuf mJO7Mux3A7xDhNapi8XO1y9AoiY5wu769tf8Uz74ANoBd+YBqraiRMHYqvauZO0R j6kbfhtC3rTJjuxK795YaIYGtA049ITjBfK3Obaj3qV763qDf4BtRnREVAhwC7uW ma2Hk5XLaZcqldX0F3Vy5DK6GSf95LXn7pItgC+t9K8H2xXWYVuSAOaiG4JKDn94 29G+OuTX31LpIk+igPOdoEHl9sBrpG56Z3+V0K6wiUmur3kCodgJOSsb5X5XqAP8 WT8Zx07fSq0AYaPq3xAm8FWLtXhX5tc8DaUNH/sVbB+eTOL70bO19JTZea9Grs41 KSxqG/a3jb4dsYCx5muJBLyIikhVxx/M4mewG5Dox9uqyAT3zQpOrdhisDarrcce g9FEJmIOD8eeD1f2E2tV =VTkE -----END PGP SIGNATURE----- --==========328BF29F55D81EE71561==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1F3B078271E093C060264422>