Что такое опция «bs» в dd?

Пожалуйста, убедитесь, что вы используете полный путь внутри сценария, выполняемого пусковой установкой. То есть: в sqldeveloper.sh замените ~ на путь к home dir.

1
задан 3 April 2018 в 15:54

3 ответа

Как и в других утилитах GNU Coreutils, основной документацией является страница info.

Из info coreutils dd invocation:

‘bs=BYTES’
     Set both input and output block sizes to BYTES.  This makes ‘dd’
     read and write BYTES per block, overriding any ‘ibs’ and ‘obs’
     settings.  In addition, if no data-transforming ‘conv’ option is
     specified, input is copied to the output as soon as it’s read, even
     if it is smaller than the block size.

Существуют соответствующие параметры для отдельных размеров блоков чтения, записи и преобразования:

‘ibs=BYTES’
     Set the input block size to BYTES.  This makes ‘dd’ read BYTES per
     block.  The default is 512 bytes.

‘obs=BYTES’
     Set the output block size to BYTES.  This makes ‘dd’ write BYTES
     per block.  The default is 512 bytes.

‘cbs=BYTES’
     Set the conversion block size to BYTES.  When converting
     variable-length records to fixed-length ones (‘conv=block’) or the
     reverse (‘conv=unblock’), use BYTES as the fixed record length.
3
ответ дан 22 May 2018 в 11:38

Как и в других утилитах GNU Coreutils, основной документацией является страница info.

Из info coreutils dd invocation:

‘bs=BYTES’ Set both input and output block sizes to BYTES. This makes ‘dd’ read and write BYTES per block, overriding any ‘ibs’ and ‘obs’ settings. In addition, if no data-transforming ‘conv’ option is specified, input is copied to the output as soon as it’s read, even if it is smaller than the block size.

Существуют соответствующие параметры для отдельных размеров блоков чтения, записи и преобразования:

‘ibs=BYTES’ Set the input block size to BYTES. This makes ‘dd’ read BYTES per block. The default is 512 bytes. ‘obs=BYTES’ Set the output block size to BYTES. This makes ‘dd’ write BYTES per block. The default is 512 bytes. ‘cbs=BYTES’ Set the conversion block size to BYTES. When converting variable-length records to fixed-length ones (‘conv=block’) or the reverse (‘conv=unblock’), use BYTES as the fixed record length.
3
ответ дан 17 July 2018 в 17:34

Как и в других утилитах GNU Coreutils, основной документацией является страница info.

Из info coreutils dd invocation:

‘bs=BYTES’ Set both input and output block sizes to BYTES. This makes ‘dd’ read and write BYTES per block, overriding any ‘ibs’ and ‘obs’ settings. In addition, if no data-transforming ‘conv’ option is specified, input is copied to the output as soon as it’s read, even if it is smaller than the block size.

Существуют соответствующие параметры для отдельных размеров блоков чтения, записи и преобразования:

‘ibs=BYTES’ Set the input block size to BYTES. This makes ‘dd’ read BYTES per block. The default is 512 bytes. ‘obs=BYTES’ Set the output block size to BYTES. This makes ‘dd’ write BYTES per block. The default is 512 bytes. ‘cbs=BYTES’ Set the conversion block size to BYTES. When converting variable-length records to fixed-length ones (‘conv=block’) or the reverse (‘conv=unblock’), use BYTES as the fixed record length.
3
ответ дан 23 July 2018 в 18:24

Другие вопросы по тегам:

Похожие вопросы: