Displaying 6 results from an estimated 6 matches for "5d8c3a385".
2020 Feb 18
2
[PATCH] make-fs: Don't use du --apparent-size to estimate input size.
...what we
want, but we can at least remove this flag. This causes much larger
estimates and therefore much larger virtual disks.
Thanks: Nikolay Ivanets
---
make-fs/make-fs.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c
index 5d8c3a385..386142280 100644
--- a/make-fs/make-fs.c
+++ b/make-fs/make-fs.c
@@ -393,7 +393,7 @@ static int
estimate_input (const char *input, uint64_t *estimate_rtn, char **ifmt_rtn)
{
struct stat statbuf;
- const char *argv[6];
+ const char *argv[5];
CLEANUP_UNLINK_FREE char *tmpfile = NULL;
CL...
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 18
0
Re: [PATCH] make-fs: Don't use du --apparent-size to estimate input size.
...is flag. This causes much larger
> estimates and therefore much larger virtual disks.
>
> Thanks: Nikolay Ivanets
> ---
> make-fs/make-fs.c | 11 +++++------
> 1 file changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c
> index 5d8c3a385..386142280 100644
> --- a/make-fs/make-fs.c
> +++ b/make-fs/make-fs.c
> @@ -393,7 +393,7 @@ static int
> estimate_input (const char *input, uint64_t *estimate_rtn, char **ifmt_rtn)
> {
> struct stat statbuf;
> - const char *argv[6];
> + const char *argv[5];
> CL...
2020 Feb 19
0
[PATCH 1/1] virt-make-fs: add '--blocksize' option support
...add_drive_opts' libguestfs API.
---
make-fs/make-fs.c | 28 ++++++++++++++++++++++++++--
make-fs/test-virt-make-fs.sh | 5 ++++-
make-fs/virt-make-fs.pod | 10 ++++++++++
3 files changed, 40 insertions(+), 3 deletions(-)
diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c
index 5d8c3a385..81d1cf90b 100644
--- a/make-fs/make-fs.c
+++ b/make-fs/make-fs.c
@@ -54,10 +54,12 @@ int in_virt_rescue = 0;
static const char *format = "raw", *label = NULL,
*partition = NULL, *size_str = NULL, *type = "ext2";
+int blocksize = 0;
enum { HELP_OPTION = CHAR_MAX + 1 };...
2020 Feb 24
1
[PATCH v2] virt-make-fs: add '--blocksize' option support
...d_drive_opts' libguestfs API.
---
make-fs/make-fs.c | 30 ++++++++++++++++++++++++++++--
make-fs/test-virt-make-fs.sh | 5 ++++-
make-fs/virt-make-fs.pod | 10 ++++++++++
3 files changed, 42 insertions(+), 3 deletions(-)
diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c
index 5d8c3a385..8027b6419 100644
--- a/make-fs/make-fs.c
+++ b/make-fs/make-fs.c
@@ -54,10 +54,12 @@ int in_virt_rescue = 0;
static const char *format = "raw", *label = NULL,
*partition = NULL, *size_str = NULL, *type = "ext2";
+static int blocksize = 0;
enum { HELP_OPTION = CHAR_MAX...
2020 Feb 18
2
Re: [PATCH] make-fs: Don't use du --apparent-size to estimate input size.
...stimates and therefore much larger virtual disks.
> >
> > Thanks: Nikolay Ivanets
> > ---
> > make-fs/make-fs.c | 11 +++++------
> > 1 file changed, 5 insertions(+), 6 deletions(-)
> >
> > diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c
> > index 5d8c3a385..386142280 100644
> > --- a/make-fs/make-fs.c
> > +++ b/make-fs/make-fs.c
> > @@ -393,7 +393,7 @@ static int
> > estimate_input (const char *input, uint64_t *estimate_rtn, char **ifmt_rtn)
> > {
> > struct stat statbuf;
> > - const char *argv[6];
>...