Displaying 7 results from an estimated 7 matches for "parted_no_m".
2015 Mar 24
2
Re: [PATCH] New API: part_get_part_type for showing partition type
...c
> > index a7bcb99..0ae6e5c 100644
> > --- a/daemon/parted.c
> > +++ b/daemon/parted.c
> > @@ -33,6 +33,10 @@ GUESTFSD_EXT_CMD(str_parted, parted);
> > GUESTFSD_EXT_CMD(str_sfdisk, sfdisk);
> > GUESTFSD_EXT_CMD(str_sgdisk, sgdisk);
> >
> > +#ifndef PARTED_NO_M
> > +# define PARTED_NO_M 0
> > +#endif
>
> What does this bit do?
I want to use print_partition_table(xxx, 0)
but do not want to pass a raw '0'.
Maybe the name is not so clear.
I'll rename it to PARTED_NOT_USE_M in the next version.
>
> > /* Notes:
>...
2015 Mar 17
4
[PATCH] New API: part_get_part_type for showing partition type
...31 insertions(+), 1 deletion(-)
diff --git a/daemon/parted.c b/daemon/parted.c
index a7bcb99..0ae6e5c 100644
--- a/daemon/parted.c
+++ b/daemon/parted.c
@@ -33,6 +33,10 @@ GUESTFSD_EXT_CMD(str_parted, parted);
GUESTFSD_EXT_CMD(str_sfdisk, sfdisk);
GUESTFSD_EXT_CMD(str_sgdisk, sgdisk);
+#ifndef PARTED_NO_M
+# define PARTED_NO_M 0
+#endif
+
/* Notes:
*
* Parted 1.9 sends error messages to stdout, hence use of the
@@ -1022,3 +1026,111 @@ do_part_get_name (const char *device, int partnum)
reply_with_error ("cannot get the partition name from '%s' layouts", parttype);
return...
2015 Mar 24
1
Re: [PATCH] New API: part_get_part_type for showing partition type
...emon/parted.c
> > > > +++ b/daemon/parted.c
> > > > @@ -33,6 +33,10 @@ GUESTFSD_EXT_CMD(str_parted, parted);
> > > > GUESTFSD_EXT_CMD(str_sfdisk, sfdisk);
> > > > GUESTFSD_EXT_CMD(str_sgdisk, sgdisk);
> > > >
> > > > +#ifndef PARTED_NO_M
> > > > +# define PARTED_NO_M 0
> > > > +#endif
> > >
> > > What does this bit do?
> >
> > I want to use print_partition_table(xxx, 0)
> > but do not want to pass a raw '0'.
> > Maybe the name is not so clear.
> > I'...
2015 Mar 13
2
[PATCH] part-list: add support for show partition type
...insertions(+), 76 deletions(-)
diff --git a/daemon/parted.c b/daemon/parted.c
index a7bcb99..312b15f 100644
--- a/daemon/parted.c
+++ b/daemon/parted.c
@@ -33,6 +33,10 @@ GUESTFSD_EXT_CMD(str_parted, parted);
GUESTFSD_EXT_CMD(str_sfdisk, sfdisk);
GUESTFSD_EXT_CMD(str_sgdisk, sgdisk);
+#ifndef PARTED_NO_M
+# define PARTED_NO_M 0
+#endif
+
/* Notes:
*
* Parted 1.9 sends error messages to stdout, hence use of the
@@ -451,11 +455,7 @@ do_part_get_parttype (const char *device)
guestfs_int_partition_list *
do_part_list (const char *device)
{
- int parted_has_m_opt = test_parted_m_opt ();
- if (...
2015 Mar 23
0
Re: [PATCH] New API: part_get_part_type for showing partition type
...git a/daemon/parted.c b/daemon/parted.c
> index a7bcb99..0ae6e5c 100644
> --- a/daemon/parted.c
> +++ b/daemon/parted.c
> @@ -33,6 +33,10 @@ GUESTFSD_EXT_CMD(str_parted, parted);
> GUESTFSD_EXT_CMD(str_sfdisk, sfdisk);
> GUESTFSD_EXT_CMD(str_sgdisk, sgdisk);
>
> +#ifndef PARTED_NO_M
> +# define PARTED_NO_M 0
> +#endif
What does this bit do?
> /* Notes:
> *
> * Parted 1.9 sends error messages to stdout, hence use of the
> @@ -1022,3 +1026,111 @@ do_part_get_name (const char *device, int partnum)
> reply_with_error ("cannot get the partition n...
2015 Mar 13
0
Re: [PATCH] part-list: add support for show partition type
...git a/daemon/parted.c b/daemon/parted.c
> index a7bcb99..312b15f 100644
> --- a/daemon/parted.c
> +++ b/daemon/parted.c
> @@ -33,6 +33,10 @@ GUESTFSD_EXT_CMD(str_parted, parted);
> GUESTFSD_EXT_CMD(str_sfdisk, sfdisk);
> GUESTFSD_EXT_CMD(str_sgdisk, sgdisk);
>
> +#ifndef PARTED_NO_M
> +# define PARTED_NO_M 0
> +#endif
> +
> /* Notes:
> *
> * Parted 1.9 sends error messages to stdout, hence use of the
> @@ -451,11 +455,7 @@ do_part_get_parttype (const char *device)
> guestfs_int_partition_list *
> do_part_list (const char *device)
> {
>...
2015 Mar 24
0
Re: [PATCH] New API: part_get_part_type for showing partition type
...100644
> > > --- a/daemon/parted.c
> > > +++ b/daemon/parted.c
> > > @@ -33,6 +33,10 @@ GUESTFSD_EXT_CMD(str_parted, parted);
> > > GUESTFSD_EXT_CMD(str_sfdisk, sfdisk);
> > > GUESTFSD_EXT_CMD(str_sgdisk, sgdisk);
> > >
> > > +#ifndef PARTED_NO_M
> > > +# define PARTED_NO_M 0
> > > +#endif
> >
> > What does this bit do?
>
> I want to use print_partition_table(xxx, 0)
> but do not want to pass a raw '0'.
> Maybe the name is not so clear.
> I'll rename it to PARTED_NOT_USE_M in the ne...