search for: guestfs_lstatnslist

Displaying 18 results from an estimated 18 matches for "guestfs_lstatnslist".

2014 Nov 21
2
Re: [PATCH 5/6] New API: btrfs_subvolume_get_default
...b/generator/actions.ml > index 1c1fcff..cf96039 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -12005,6 +12005,15 @@ This is the same as the C<lstat(2)> system call." }; > longdesc = "\ > This is the internal call which implements C<guestfs_lstatnslist>." }; > > + { defaults with > + name = "btrfs_subvolume_get_default"; > + style = RInt "id", [Pathname "mountpoint"], []; > + proc_nr = Some 424; > + optional = Some "btrfs"; camel_name = "BTRFSSubvolumeGetDefaul...
2014 Sep 22
2
[PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...y containing consecutive stat structs (not pointers). Changing the return type of guestfs_stat would break API. Changing the generator to support symbol versioning is judged to be too intrusive. Therefore this adds a new struct (guestfs_statns) and new APIs: guestfs_statns guestfs_lstatns guestfs_lstatnslist which return the new struct (or array of structs in the last case). The old APIs may of course still be used, forever, but are deprecated and shouldn't be used in new programs. Because virt tools are compiled with -DGUESTFS_WARN_DEPRECATED=1, I have updated all the places calling the depreca...
2014 Sep 22
0
Re: [PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...ot pointers). Changing the > return type of guestfs_stat would break API. Changing the generator > to support symbol versioning is judged to be too intrusive. > > Therefore this adds a new struct (guestfs_statns) and new APIs: > > guestfs_statns > guestfs_lstatns > guestfs_lstatnslist > > which return the new struct (or array of structs in the last case). > > The old APIs may of course still be used, forever, but are deprecated > and shouldn't be used in new programs. > > Because virt tools are compiled with -DGUESTFS_WARN_DEPRECATED=1, I > have up...
2014 Nov 21
0
[PATCH 5/6] New API: btrfs_subvolume_get_default
...f --git a/generator/actions.ml b/generator/actions.ml index 1c1fcff..cf96039 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12005,6 +12005,15 @@ This is the same as the C<lstat(2)> system call." }; longdesc = "\ This is the internal call which implements C<guestfs_lstatnslist>." }; + { defaults with + name = "btrfs_subvolume_get_default"; + style = RInt "id", [Pathname "mountpoint"], []; + proc_nr = Some 424; + optional = Some "btrfs"; camel_name = "BTRFSSubvolumeGetDefault"; + shortdesc = &quot...
2014 Nov 24
0
Re: [PATCH 5/6] New API: btrfs_subvolume_get_default
...dex 1c1fcff..cf96039 100644 > > --- a/generator/actions.ml > > +++ b/generator/actions.ml > > @@ -12005,6 +12005,15 @@ This is the same as the C<lstat(2)> system > call." }; > > longdesc = "\ > > This is the internal call which implements C<guestfs_lstatnslist>." > }; > > > > + { defaults with > > + name = "btrfs_subvolume_get_default"; > > + style = RInt "id", [Pathname "mountpoint"], []; > > + proc_nr = Some 424; > > + optional = Some "btrfs"; camel_n...
2014 Nov 23
0
[PATCH 2/3] New API: guestfs_blockdev_setra: Adjust readahead for filesystems and devices.
...f --git a/generator/actions.ml b/generator/actions.ml index fe492e6..baa7679 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12003,6 +12003,20 @@ This is the same as the C<lstat(2)> system call." }; longdesc = "\ This is the internal call which implements C<guestfs_lstatnslist>." }; + { defaults with + name = "blockdev_setra"; + style = RErr, [Device "device"; Int "sectors"], []; + proc_nr = Some 424; + tests = [ + InitEmpty, Always, TestRun ( + [["blockdev_setra"; "/dev/sda"; "1024...
2014 Nov 21
13
[PATCH 0/6] btrfs support part1: subvolume commands
Hi, This is the part1 of improving btrfs support. This series adds missing parameters to btrfs_subvolume_snapshot and btrfs_subvolume_create, and adds two new API btrfs_subvolume_get_default and btrfs_subvolume_show. Other parts will follow. Regards, Hu Hu Tao (6): btrfs: correct words about subvolume and snapshot btrfs: add optional parameter `ro' to btrfs_subvolume_snapshot btrfs:
2014 Nov 21
0
[PATCH 6/6] New API: btrfs_subvolume_show
...+ if (end_stringsbuf (&ret) == -1) + return NULL; + + return ret.argv; + +} diff --git a/generator/actions.ml b/generator/actions.ml index cf96039..24d3ecc 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12014,6 +12014,15 @@ This is the internal call which implements C<guestfs_lstatnslist>." }; longdesc = "\ Get the default subvolume or snapshot of a filesystem mounted at C<mountpoint>." }; + { defaults with + name = "btrfs_subvolume_show"; + style = RHashtable "btrfssubvolumeinfo", [Pathname "subvolume"], []; +...
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.
2014 Nov 23
7
[PATCH 0/3] patches needed for virt-bmap
See http://rwmj.wordpress.com/2014/11/23/mapping-files-to-disk/
2014 Nov 21
3
Re: [PATCH 6/6] New API: btrfs_subvolume_show
...return NULL; > + > + return ret.argv; > + > +} > diff --git a/generator/actions.ml b/generator/actions.ml > index cf96039..24d3ecc 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -12014,6 +12014,15 @@ This is the internal call which implements C<guestfs_lstatnslist>." }; > longdesc = "\ > Get the default subvolume or snapshot of a filesystem mounted at C<mountpoint>." }; > > + { defaults with > + name = "btrfs_subvolume_show"; > + style = RHashtable "btrfssubvolumeinfo", [Pathname &q...
2014 Nov 24
0
Re: [PATCH 6/6] New API: btrfs_subvolume_show
...ret.argv; > > + > > +} > > diff --git a/generator/actions.ml b/generator/actions.ml > > index cf96039..24d3ecc 100644 > > --- a/generator/actions.ml > > +++ b/generator/actions.ml > > @@ -12014,6 +12014,15 @@ This is the internal call which implements C<guestfs_lstatnslist>." }; > > longdesc = "\ > > Get the default subvolume or snapshot of a filesystem mounted at C<mountpoint>." }; > > > > + { defaults with > > + name = "btrfs_subvolume_show"; > > + style = RHashtable "btrfssub...
2014 Nov 24
2
[PATCH v2 0/2] patches needed for virt-bmap
Does *not* incorporate changes suggested by Pino yet. Rich.
2014 Oct 18
1
ANNOUNCE: libguestfs 1.28 released
..._backend_setting Use these APIs to set individual backend settings. guestfs_cpio_out Convert a directory within the disk image to cpio format. guestfs_journal_get_realtime_usec Fetch precise journal times, see sd_journal_get_realtime_usec(3). guestfs_lstatns guestfs_lstatnslist guestfs_statns Enhanced versions of guestfs_lstat, guestfs_lstatlist, guestfs_stat which return nanosecond timestamps. Build changes Libguestfs can now be built with qemu 2.x. Add support for packaging the appliance on Mageia (Joseph Wang, Thierry Vignaud). Au...
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.
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...;statbufs", "statns"), [String (Pathname, "path"); StringList (Filename, "names")], []; visibility = VInternal; shortdesc = "lstat on multiple files"; longdesc = "\ @@ -8936,7 +8936,7 @@ This is the internal call which implements C<guestfs_lstatnslist>." }; { defaults with name = "blockdev_setra"; added = (1, 29, 10); - style = RErr, [Device "device"; Int "sectors"], []; + style = RErr, [String (Device, "device"); Int "sectors"], []; tests = [ InitEmpty, Always...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.