:orphan: .. index:: pair: struct; tapi_mke2fs_opt .. _doxid-structtapi__mke2fs__opt: struct tapi_mke2fs_opt ====================== .. toctree:: :hidden: Overview ~~~~~~~~ mke2fs tool specific command line options. :ref:`More...<details-structtapi__mke2fs__opt>` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include <tapi_mke2fs.h> struct tapi_mke2fs_opt { // fields unsigned int :ref:`block_size<doxid-structtapi__mke2fs__opt_1a5eac82c0627859399e6294dfb2e8af8e>`; bool :ref:`use_journal<doxid-structtapi__mke2fs__opt_1a6d12048eb577933e37d479faed1cef62>`; const char* :ref:`fs_type<doxid-structtapi__mke2fs__opt_1a3be11f00adb544ceeda0fac8e66e4d27>`; const char* :ref:`device<doxid-structtapi__mke2fs__opt_1af193ce515b2e7073d6f5049f67c4f740>`; }; .. _details-structtapi__mke2fs__opt: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ mke2fs tool specific command line options. Fields ------ .. index:: pair: variable; block_size .. _doxid-structtapi__mke2fs__opt_1a5eac82c0627859399e6294dfb2e8af8e: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned int block_size Size of blocks in bytes. If omitted with TAPI_JOB_OPT_OMIT_UINT, block-size is heuristically determined by the filesystem size and the expected usage of the filesystem. .. index:: pair: variable; use_journal .. _doxid-structtapi__mke2fs__opt_1a6d12048eb577933e37d479faed1cef62: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool use_journal Create the filesystem with an ext3 journal. .. index:: pair: variable; fs_type .. _doxid-structtapi__mke2fs__opt_1a3be11f00adb544ceeda0fac8e66e4d27: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* fs_type The filesystem type that is to be created. .. index:: pair: variable; device .. _doxid-structtapi__mke2fs__opt_1af193ce515b2e7073d6f5049f67c4f740: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* device The device name on which to create the filesystem (mandatory).