struct tapi_mke2fs_opt

Overview

mke2fs tool specific command line options. More…

#include <tapi_mke2fs.h>

struct tapi_mke2fs_opt {
    // fields

    unsigned int block_size;
    bool use_journal;
    const char* fs_type;
    const char* device;
};

Detailed Documentation

mke2fs tool specific command line options.

Fields

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.

bool use_journal

Create the filesystem with an ext3 journal.

const char* fs_type

The filesystem type that is to be created.

const char* device

The device name on which to create the filesystem (mandatory).