search for: blocksize_s

Displaying 11 results from an estimated 11 matches for "blocksize_s".

2012 Jun 12
9
[PATCH v2 0/9]
More comprehensive support for virtio-scsi. Passes all the tests. Rich.
2012 Aug 30
1
[PATCH] collect list of called external commands
...gv, i, str_e2fsck); ADD_ARG (argv, i, "-f"); if (correct) @@ -369,15 +370,14 @@ do_mke2journal (int blocksize, const char *device) char *err; int r; - char prog[] = "mke2fs"; - if (e2prog (prog) == -1) + if (e2prog (str_mke2fs) == -1) return -1; char blocksize_s[32]; snprintf (blocksize_s, sizeof blocksize_s, "%d", blocksize); r = command (NULL, &err, - prog, "-F", "-O", "journal_dev", "-b", blocksize_s, + str_mke2fs, "-F", "-O", "journal_dev&...
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...ee (err); @@ -272,7 +279,7 @@ do_e2fsck (const char *device, return -1; } - ADD_ARG (argv, i, "e2fsck"); + ADD_ARG (argv, i, str_e2fsck); ADD_ARG (argv, i, "-f"); if (correct) @@ -319,7 +326,7 @@ do_mke2journal (int blocksize, const char *device) snprintf (blocksize_s, sizeof blocksize_s, "%d", blocksize); r = command (NULL, &err, - "mke2fs", "-F", "-O", "journal_dev", "-b", blocksize_s, + str_mke2fs, "-F", "-O", "journal_dev", "-b&...
2012 Aug 31
1
[PATCH V1] NEW API:ext:mke2fs
...int dirindex, int extent, int filetype, + int flexbg, int hasjournal, int journaldev, + int largefile, int quota, int resizeinode, + int sparsesuper, int uninitbg, + int64_t blockscount) +{ + int r; + char *err = NULL; + const char *argv[MAX_ARGS]; + char blocksize_s[64]; + char fragsize_s[64]; + char blockspergroup_s[64]; + char numberofgroups_s[64]; + char bytesperinode_s[64]; + char inodesize_s[64]; + char journalsize_s[64]; + char journaldevice_s[256]; + char reservedblockspercentage_s[64]; + char numberofinodes_s[64]; + char mmpupdateinterval_s[8...
2016 Mar 06
8
[PATCH 0/5] Use less stack.
Various changes/fixes to use smaller stack frames. Rich.
2016 Mar 07
2
[PATCH v2] Use less stack.
...; i < len; ++i) diff --git a/daemon/ext2.c b/daemon/ext2.c index 9ba4f09..5dd67c7 100644 --- a/daemon/ext2.c +++ b/daemon/ext2.c @@ -498,6 +498,8 @@ do_mke2fs_J (const char *fstype, int blocksize, const char *device, const char *journal) { CLEANUP_FREE char *err = NULL; + char blocksize_s[32]; + CLEANUP_FREE char *jdev = NULL; int r; if (!fstype_is_extfs (fstype)) { @@ -505,12 +507,12 @@ do_mke2fs_J (const char *fstype, int blocksize, const char *device, return -1; } - char blocksize_s[32]; snprintf (blocksize_s, sizeof blocksize_s, "%d", blocksize);...
2012 Mar 13
2
[PATCH 0/2] 'int' to 'size_t' changes
These two patches are probably not completely independent, but separating them is a lot of work. With *both* patches applied, all the tests and extra-tests pass. That's no guarantee however that there isn't a mistake, so I don't think this patch is a candidate for the 1.16 branch, until it's had a lot more testing in development. Rich.
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...ADD_ARG (argv, i, "-f"); if (correct) @@ -425,7 +417,7 @@ do_mke2journal (int blocksize, const char *device) wipe_device_before_mkfs (device); r = command (NULL, &err, - str_mke2fs, "-F", "-O", "journal_dev", "-b", blocksize_s, + "mke2fs", "-F", "-O", "journal_dev", "-b", blocksize_s, device, NULL); if (r == -1) { reply_with_error ("%s", err); @@ -453,7 +445,7 @@ do_mke2journal_L (int blocksize, const char *label, const char...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...ADD_ARG (argv, i, "-f"); if (correct) @@ -425,7 +420,7 @@ do_mke2journal (int blocksize, const char *device) wipe_device_before_mkfs (device); r = command (NULL, &err, - str_mke2fs, "-F", "-O", "journal_dev", "-b", blocksize_s, + "mke2fs", "-F", "-O", "journal_dev", "-b", blocksize_s, device, NULL); if (r == -1) { reply_with_error ("%s", err); @@ -453,7 +448,7 @@ do_mke2journal_L (int blocksize, const char *label, const char...
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option ‘./guestfsd --print-external-commands’