Displaying 20 results from an estimated 176 matches for "obool".
Did you mean:
bool
2012 Aug 31
1
[PATCH V1] NEW API:ext:mke2fs
...sulting filesystem may be inconsistent or corrupt.
The returned status indicates whether filesystem corruption was
detected (returns C<1>) or was not detected (returns C<0>)." };
+ { defaults with
+ name = "mke2fs";
+ style = RErr, [Device "device"], [OBool "checkbadblock"; OString "badblockfile"; OInt64 "blocksize"; OBool "directwrite"; OInt64 "fragsize"; OBool "forcecreate"; OInt64 "blockspergroup"; OInt64 "numberofgroups"; OInt64 "bytesperinode"; OInt64 "...
2015 Jun 23
2
[PATCH] lib: Add optional 'append' parameter to copy-(device|file)-to-file APIs.
...,7 @@ See also C<guestfs_part_to_dev>." };
{ defaults with
name = "copy_device_to_device"; added = (1, 13, 25);
- style = RErr, [Device "src"; Device "dest"], [OInt64 "srcoffset"; OInt64 "destoffset"; OInt64 "size"; OBool "sparse"];
+ style = RErr, [Device "src"; Device "dest"], [OInt64 "srcoffset"; OInt64 "destoffset"; OInt64 "size"; OBool "sparse"; OBool "append"];
proc_nr = Some 294;
progress = true;
shortdesc = &quo...
2014 Jan 10
3
Re: RFC: copy-attributes command
On Fri, Jan 10, 2014 at 01:33:38PM +0000, Richard W.M. Jones wrote:
> The API is now pretty confusing. Each OBool flag is really a
> tristate. It can either be "true", "false" or "not specified".
>
> Therefore I think it should be:
>
> xattributes:true # copies only xattrs and nothing else
> all:true # copies everything
>...
2012 Jan 09
1
[PATCH 1/2] generator: Rename java_structs to camel_structs to better reflect their purpose
This map was originally included just for the java bindings, but is generally
useful to any binding which uses camel case by requirement or convention.
---
generator/generator_haskell.ml | 4 ++--
generator/generator_java.ml | 10 +++++-----
generator/generator_main.ml | 2 +-
generator/generator_structs.ml | 12 +++++-------
generator/generator_structs.mli | 8 ++++----
5
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...associated with C<path> to C<NULL>. This
@@ -251,7 +251,7 @@ is the same as the L<augtool(1)> C<clear> command." };
{ defaults with
name = "aug_transform"; added = (1, 35, 2);
- style = RErr, [String "lens"; String "file"], [ OBool "remove"];
+ style = RErr, [String (PlainString, "lens"); String (PlainString, "file")], [ OBool "remove"];
shortdesc = "add/remove an Augeas lens transformation";
longdesc = "\
Add an Augeas transformation for the specified C<...
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880
https://bugzilla.redhat.com/show_bug.cgi?id=847881
This patch series adds various optional arguments to the tar-in and
tar-out commands.
Firstly (1/7) an optional "compress" flag is added to select
compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out
deprecated, and expands the range of compression types available.
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator.
Rich.
2015 Jun 23
0
Re: [PATCH] lib: Add optional 'append' parameter to copy-(device|file)-to-file APIs.
...guestfs_part_to_dev>." };
>
> { defaults with
> name = "copy_device_to_device"; added = (1, 13, 25);
> - style = RErr, [Device "src"; Device "dest"], [OInt64 "srcoffset"; OInt64 "destoffset"; OInt64 "size"; OBool "sparse"];
> + style = RErr, [Device "src"; Device "dest"], [OInt64 "srcoffset"; OInt64 "destoffset"; OInt64 "size"; OBool "sparse"; OBool "append"];
> proc_nr = Some 294;
> progress = true;
>...
2012 Aug 20
1
[PATCH] xfs: add new api xfs_admin
...+9432,27 @@ empty files in the directory C<dir> with names C<00000000>
through C<nr-1> (ie. each file name is 8 digits long padded
with zeroes)." };
+ { defaults with
+ name = "xfs_admin";
+ style = RString "info", [Device "device"], [OBool "extunwritten"; OBool "imgfile"; OBool "v2log"; OBool "printlabel"; OBool "projid32bit"; OBool "printuuid"; OBool "lazycounter"; OString "label"; OString "uuid"];
+ proc_nr = Some 349;
+ optional = Some...
2012 Aug 21
1
[PATCH] xfs: add a new api xfs_repair
...must unmount
filesystems before C<xfs_admin> can convert parameters. A number of parameters
of a mounted filesystem can be examined and modified using the C<xfs_growfs>." };
+ { defaults with
+ name = "xfs_repair";
+ style = RErr, [Device "device"], [OBool "imgfile"; OBool "forcelogzero"; OBool "dangerous"; OBool "nomodify"; OBool "noprefetch"; OBool "forcegeometry"; OInt64 "maxmem"; OInt64 "ihashsize"; OInt64 "bhashsize"; OInt64 "agstride"; OString &q...
2014 Jan 10
0
Re: RFC: copy-attributes command
...tion, but it does not explicitly mention what
is done with the xattrs in the destination not in the source ... :-)
On Friday 10 January 2014 13:36:06 Richard W.M. Jones wrote:
> On Fri, Jan 10, 2014 at 01:33:38PM +0000, Richard W.M. Jones wrote:
> > The API is now pretty confusing. Each OBool flag is really a
> > tristate. It can either be "true", "false" or "not specified".
I see, I did not pay much attention to the use of optargs_bitmask
outside the auto-generated RPC stuff the daemon code.
> > Therefore I think it should be:
> > x...
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in:
https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html
Rich.
2014 Jan 10
0
Re: RFC: copy-attributes command
...ntical to this original file, except in name and content". That
> > is (I think) an argument for copying everything by default.
>
> I've added a "all" argument which would enable every change, overriding
> even mode:false.
The API is now pretty confusing. Each OBool flag is really a
tristate. It can either be "true", "false" or "not specified".
Therefore I think it should be:
xattributes:true # copies only xattrs and nothing else
all:true # copies everything
all:true xattributes:false # copi...
2012 Jul 23
3
[PATCH V2 1/4] mount: add a macro to resolve path or device
Add a macro STRDUP_RESOLVE_DEVICE_OR_PATH to resolve path or device.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/daemon.h | 16 ++++++++++++++++
daemon/mount.c | 13 ++-----------
2 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 85eec45..f7d0c75 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -336,6
2017 Feb 17
4
[PATCH libguestfs 0/2] Use unsafe flag when reading (but NOT writing) hives.
Map the HIVEX_OPEN_UNSAFE flag into the libguestfs API and use it
in various places.
Rich.
2014 Jan 10
4
Re: RFC: copy-attributes command
...the appliance. Note
> > it's only called when ./configure --enable-valgrind-daemon is
> > used." };
> >
> > + { defaults with
> > + name = "copy_attributes";
> > + style = RErr, [Pathname "src"; Pathname "dest"], [OBool
> > "permissions"; OBool "xattributes"];
> > + proc_nr = Some 415;
> > + shortdesc = "copy the attributes of a path (file/directory) to
> > another"; + longdesc = "\
> > +Copy the attributes of a path (which can be a file or...
2017 Feb 15
1
[PATCH v2] copy-out: new optional arguments
...3437,8 +3437,9 @@ Wildcards cannot be used." };
{ defaults with
name = "copy_out"; added = (1, 29, 24);
- style = RErr, [Pathname "remotepath"; String "localdir"], [];
+ style = RErr, [Pathname "remotepath"; String "localdir"], [OBool "numericowner"; OStringList "excludes"; OBool "xattrs"; OBool "selinux"; OBool "acls"];
visibility = VPublicNoFish;
+ once_had_no_optargs = true;
shortdesc = "copy remote files or directories out of an image";
longdesc =...
2012 Feb 23
1
[PATCH v2] Add a flag to make some functions called only at CONFIG state(RHBZ796520)
...network flag",
"\
@@ -1020,7 +1020,7 @@ be mountable but require special options. Filesystems may
not all belong to a single logical operating system
(use C<guestfs_inspect_os> to look for OSes).");
- ("add_drive_opts", (RErr, [String "filename"], [OBool "readonly"; OString "format"; OString "iface"; OString "name"]), -1, [FishAlias "add"],
+ ("add_drive_opts", (RErr, [String "filename"], [OBool "readonly"; OString "format"; OString "iface"; OString...
2015 Jul 15
1
[PATCH 1/2] actions: tar_out: add xattrs and selinux optargs
...f56 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -4824,7 +4824,7 @@ compression types)." };
{ defaults with
name = "tar_out"; added = (1, 0, 3);
- style = RErr, [String "directory"; FileOut "tarfile"], [OString "compress"; OBool "numericowner"; OStringList "excludes"];
+ style = RErr, [String "directory"; FileOut "tarfile"], [OString "compress"; OBool "numericowner"; OStringList "excludes"; OBool "xattrs"; OBool "selinux"];
pr...
2012 Jan 20
11
[PATCH 01/10] Revert "Revert "generator: Add CamelName flag""
..."\
@@ -6213,7 +6213,7 @@ Device mapper devices which correspond to logical volumes are I<not>
returned in this list. Call C<guestfs_lvs> if you want to list logical
volumes.");
- ("ntfsresize_opts", (RErr, [Device "device"], [OInt64 "size"; OBool "force"]), 288, [Optional "ntfsprogs"],
+ ("ntfsresize_opts", (RErr, [Device "device"], [OInt64 "size"; OBool "force"]), 288, [Optional "ntfsprogs"; CamelName "NTFSResizeOpts"],
[],
"resize an NTFS filesys...