search for: guestfs_mkfs_blocksize_bitmask

Displaying 3 results from an estimated 3 matches for "guestfs_mkfs_blocksize_bitmask".

2013 Dec 10
0
[PATCH] daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a whole device (RHBZ#1039995).
...e mkfs.fat to create a whole disk filesystem (RHBZ#1039995). */ + if (STREQ (fstype, "fat") || STREQ (fstype, "vfat") || + STREQ (fstype, "msdos")) + ADD_ARG (argv, i, "-I"); + /* Process blocksize parameter if set. */ if (optargs_bitmask & GUESTFS_MKFS_BLOCKSIZE_BITMASK) { if (blocksize <= 0 || !is_power_of_2 (blocksize)) { -- 1.8.3.1
2015 Jan 13
3
[PATCH] mkfs: add 'label' optional argument
...w how to set the label for '%s' filesystems", + fstype); + return -1; + } + } + ADD_ARG (argv, i, device); ADD_ARG (argv, i, NULL); @@ -212,5 +253,5 @@ int do_mkfs_b (const char *fstype, int blocksize, const char *device) { optargs_bitmask = GUESTFS_MKFS_BLOCKSIZE_BITMASK; - return do_mkfs (fstype, device, blocksize, 0, 0, 0); + return do_mkfs (fstype, device, blocksize, 0, 0, 0, NULL); } diff --git a/generator/actions.ml b/generator/actions.ml index a6a6dad..96a9dd6 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -3324,7 +3324,7 @@ let daemon_fun...
2012 Jul 14
6
[PATCH 0/6] Allow non-optargs functions to gain optional arguments.
This rather complex set of patches allow non-optargs functions to gain optional arguments, while preserving source and binary backwards compatibility. The problem is that we cannot add an optional argument to an existing function. For example, we might want to add flags to the 'lvresize' API which currently has no optional arguments.