GuestfsMke2fs: Libguestfs GObject Bindings Reference Manual

## GuestfsMke2fs GuestfsMke2fs — An object encapsulating optional arguments for guestfs_session_mke2fs |

## Functions

GuestfsMke2fs * | guestfs_mke2fs_new ()

## Properties

gint64 | blockscount | Read / Write / Construct
gint64 | blocksize | Read / Write / Construct
gint64 | blockspergroup | Read / Write / Construct
gint64 | bytesperinode | Read / Write / Construct
gchar * | creatoros | Read / Write / Construct
GuestfsTristate | discard | Read / Write / Construct
GuestfsTristate | extent | Read / Write / Construct
GuestfsTristate | filetype | Read / Write / Construct
GuestfsTristate | flexbg | Read / Write / Construct
GuestfsTristate | forcecreate | Read / Write / Construct
gint64 | fragsize | Read / Write / Construct
gchar * | fstype | Read / Write / Construct
GuestfsTristate | hasjournal | Read / Write / Construct
gint64 | inodesize | Read / Write / Construct
GuestfsTristate | journaldev | Read / Write / Construct
gchar * | journaldevice | Read / Write / Construct
gint64 | journalsize | Read / Write / Construct
gchar * | label | Read / Write / Construct
GuestfsTristate | largefile | Read / Write / Construct
gchar * | lastmounteddir | Read / Write / Construct
GuestfsTristate | lazyitableinit | Read / Write / Construct
GuestfsTristate | lazyjournalinit | Read / Write / Construct
gint64 | maxonlineresize | Read / Write / Construct
gint | mmpupdateinterval | Read / Write / Construct
gint64 | numberofgroups | Read / Write / Construct
gint64 | numberofinodes | Read / Write / Construct
GuestfsTristate | quota | Read / Write / Construct
GuestfsTristate | quotatype | Read / Write / Construct
gint | reservedblockspercentage | Read / Write / Construct
GuestfsTristate | resizeinode | Read / Write / Construct
GuestfsTristate | sparsesuper | Read / Write / Construct
gint64 | stridesize | Read / Write / Construct
gint64 | stripewidth | Read / Write / Construct
GuestfsTristate | testfs | Read / Write / Construct
GuestfsTristate | uninitbg | Read / Write / Construct
gchar * | usagetype | Read / Write / Construct
gchar * | uuid | Read / Write / Construct
GuestfsTristate | writesbandgrouponly | Read / Write / Construct

## Types and Values

struct | GuestfsMke2fs
struct | GuestfsMke2fsClass

## Object Hierarchy

        GObject
        ╰── GuestfsMke2fs

## Includes

    #include <guestfs-gobject.h>

## Description

An object encapsulating optional arguments for guestfs_session_mke2fs

## Functions

### guestfs_mke2fs_new ()

    GuestfsMke2fs *
    guestfs_mke2fs_new (void);

Create a new GuestfsMke2fs object

#### Returns

a new GuestfsMke2fs object.

[transfer full]

## Types and Values

### struct GuestfsMke2fs

    struct GuestfsMke2fs;

An object encapsulating optional arguments for guestfs_session_mke2fs.

### struct GuestfsMke2fsClass

    struct GuestfsMke2fsClass {
      GObjectClass parent_class;
    };

A class metadata object for GuestfsMke2fs.

#### Members

## Property Details

### The `“blockscount”` property

      “blockscount”              gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“blocksize”` property

      “blocksize”                gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“blockspergroup”` property

      “blockspergroup”           gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“bytesperinode”` property

      “bytesperinode”            gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“creatoros”` property

      “creatoros”                gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“discard”` property

      “discard”                  GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“extent”` property

      “extent”                   GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“filetype”` property

      “filetype”                 GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“flexbg”` property

      “flexbg”                   GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“forcecreate”` property

      “forcecreate”              GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“fragsize”` property

      “fragsize”                 gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“fstype”` property

      “fstype”                   gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“hasjournal”` property

      “hasjournal”               GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“inodesize”` property

      “inodesize”                gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“journaldev”` property

      “journaldev”               GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“journaldevice”` property

      “journaldevice”            gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“journalsize”` property

      “journalsize”              gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“label”` property

      “label”                    gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“largefile”` property

      “largefile”                GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“lastmounteddir”` property

      “lastmounteddir”           gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“lazyitableinit”` property

      “lazyitableinit”           GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“lazyjournalinit”` property

      “lazyjournalinit”          GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“maxonlineresize”` property

      “maxonlineresize”          gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“mmpupdateinterval”` property

      “mmpupdateinterval”        gint

A 32-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“numberofgroups”` property

      “numberofgroups”           gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“numberofinodes”` property

      “numberofinodes”           gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“quota”` property

      “quota”                    GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“quotatype”` property

      “quotatype”                GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“reservedblockspercentage”` property

      “reservedblockspercentage” gint

A 32-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“resizeinode”` property

      “resizeinode”              GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“sparsesuper”` property

      “sparsesuper”              GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“stridesize”` property

      “stridesize”               gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“stripewidth”` property

      “stripewidth”              gint64

A 64-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“testfs”` property

      “testfs”                   GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“uninitbg”` property

      “uninitbg”                 GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE

### The `“usagetype”` property

      “usagetype”                gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“uuid”` property

      “uuid”                     gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“writesbandgrouponly”` property

      “writesbandgrouponly”      GuestfsTristate

A boolean.

Flags: Read / Write / Construct

Default value: GUESTFS_TRISTATE_NONE