Displaying 3 results from an estimated 3 matches for "79d058b6a".
2020 Feb 19
2
[PATCH 0/1] virt-make-fs: add '--blocksize' option support
From: Nikolay Ivanets <stenavin@gmail.com>
This patch adds 4096 bytes sector size for output disk.
Side notes:
While working on this patch I reveal long standing issue: virt-make-fs can fail
if source directory/archive contains certain amount of really small or empty
files or wide tree of directories. That is because of lack of available inodes
on a small file system to keep files
2020 Feb 19
0
[PATCH 1/1] virt-make-fs: add '--blocksize' option support
...ts (g, output,
GUESTFS_ADD_DRIVE_OPTS_FORMAT, format,
+ GUESTFS_ADD_DRIVE_OPTS_BLOCKSIZE, blocksize,
-1) == -1)
return -1;
diff --git a/make-fs/test-virt-make-fs.sh b/make-fs/test-virt-make-fs.sh
index 79d058b6a..01c332b1d 100755
--- a/make-fs/test-virt-make-fs.sh
+++ b/make-fs/test-virt-make-fs.sh
@@ -83,9 +83,12 @@ size=`random_choice`
choices=("" --label=FOO)
label=`random_choice`
+choices=(--blocksize=512 --blocksize=4096)
+blocksize=`random_choice`
+
if [ -n "$LIBGUESTFS_DEBUG"...
2020 Feb 24
1
[PATCH v2] virt-make-fs: add '--blocksize' option support
...ts (g, output,
GUESTFS_ADD_DRIVE_OPTS_FORMAT, format,
+ GUESTFS_ADD_DRIVE_OPTS_BLOCKSIZE, blocksize,
-1) == -1)
return -1;
diff --git a/make-fs/test-virt-make-fs.sh b/make-fs/test-virt-make-fs.sh
index 79d058b6a..01c332b1d 100755
--- a/make-fs/test-virt-make-fs.sh
+++ b/make-fs/test-virt-make-fs.sh
@@ -83,9 +83,12 @@ size=`random_choice`
choices=("" --label=FOO)
label=`random_choice`
+choices=(--blocksize=512 --blocksize=4096)
+blocksize=`random_choice`
+
if [ -n "$LIBGUESTFS_DEBUG"...