Add block size to dd command
Without configuring the block size a default of 512 bytes is used, which can slow down the transfer speed massively. In a test I've done with a semi-decent USB stick, I only get a transfer speed of around 180 KB/sec when not specifying the block size but see 27 MB/sec when setting the block size to 1 MB. This makes the transfer of the minimal installation ISO take half a minute instead of an hour.
This commit is contained in:
parent
eeb3206a29
commit
b5f36e84d1
@ -17,7 +17,7 @@ $ diskutil list
|
|||||||
[..]
|
[..]
|
||||||
$ diskutil unmountDisk diskN
|
$ diskutil unmountDisk diskN
|
||||||
Unmount of all volumes on diskN was successful
|
Unmount of all volumes on diskN was successful
|
||||||
$ sudo dd if=nix.iso of=/dev/rdiskN
|
$ sudo dd if=nix.iso of=/dev/rdiskN bs=1M
|
||||||
</programlisting>
|
</programlisting>
|
||||||
<para>
|
<para>
|
||||||
Using the 'raw' <literal>rdiskN</literal> device instead of
|
Using the 'raw' <literal>rdiskN</literal> device instead of
|
||||||
|
@ -18,7 +18,7 @@ $ diskutil list
|
|||||||
[..]
|
[..]
|
||||||
$ diskutil unmountDisk diskN
|
$ diskutil unmountDisk diskN
|
||||||
Unmount of all volumes on diskN was successful
|
Unmount of all volumes on diskN was successful
|
||||||
$ sudo dd if=nix.iso of=/dev/rdiskN
|
$ sudo dd if=nix.iso of=/dev/rdiskN bs=1M
|
||||||
```
|
```
|
||||||
|
|
||||||
Using the \'raw\' `rdiskN` device instead of `diskN` completes in
|
Using the \'raw\' `rdiskN` device instead of `diskN` completes in
|
||||||
|
Loading…
Reference in New Issue
Block a user