Warum ändern sich blockize-Argumente für Shell-Dienstprogramme unter Linux und OSX?

502
haysclark

Als ich einem Tutorial zum Flashen eines ROMs folgte, das das dd- Dienstprogramm verwendet, erhielt ich eine Konsolenwarnung, dass '1M' keine unterstützte Blockgröße war. OSX erfordert eine Blockgröße von '1m'. Was ist der Hauptgrund, warum Linux und OSX unterschiedliche Blockize-Argumente haben?

Von der Manpage des Dienstprogramms dd :

bs=n Set both input and output block size to n bytes, superseding the ibs and obs operands. If no conversion values other than noerror, notrunc or sync are specified, then each input block is copied to the output as a single block without any aggregation of short blocks. 
0

1 Antwort auf die Frage

0
haysclark

Es ist eine Sache von GNU gegenüber BSD, die nichts mit dem Dienstprogramm dd zu tun hat .