| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Add the new API btrfs-fsck to check the btrfs filesystem.
Btrfs is currently under heavy development, and not suitable for
any uses other than benchmarking and review. But it'll be useful
in the near future.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
| |
also remove guestfs-gobject.c
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RPM build errors:
error: Installed (but unpackaged) file(s) found:
/usr/include/optargs-add_domain.h
/usr/include/optargs-add_drive_opts.h
/usr/include/optargs-btrfs_filesystem_resize.h
/usr/include/optargs-compress_device_out.h
/usr/include/optargs-compress_out.h
/usr/include/optargs-copy_device_to_device.h
/usr/include/optargs-copy_device_to_file.h
/usr/include/optargs-copy_file_to_device.h
/usr/include/optargs-copy_file_to_file.h
/usr/include/optargs-e2fsck.h
/usr/include/optargs-inspect_get_icon.h
/usr/include/optargs-md_create.h
/usr/include/optargs-mkfs_btrfs.h
/usr/include/optargs-mkfs_opts.h
/usr/include/optargs-mount_9p.h
/usr/include/optargs-mount_local.h
/usr/include/optargs-ntfsclone_out.h
/usr/include/optargs-ntfsfix.h
/usr/include/optargs-ntfsresize_opts.h
/usr/include/optargs-set_e2attrs.h
/usr/include/optargs-test0.h
/usr/include/optargs-tune2fs.h
/usr/include/optargs-umount_local.h
/usr/include/session.h
/usr/include/struct-application.h
/usr/include/struct-btrfssubvolume.h
/usr/include/struct-dirent.h
/usr/include/struct-inotify_event.h
/usr/include/struct-int_bool.h
/usr/include/struct-isoinfo.h
/usr/include/struct-lvm_lv.h
/usr/include/struct-lvm_pv.h
/usr/include/struct-lvm_vg.h
/usr/include/struct-mdstat.h
/usr/include/struct-partition.h
/usr/include/struct-stat.h
/usr/include/struct-statvfs.h
/usr/include/struct-version.h
/usr/include/struct-xattr.h
/usr/include/tristate.h
We want to put these headers into the subdirectory, but not
guestfs-gobject.h. This isn't easy with automake.
|
| |
|
|
|
|
| |
properly.
|
|
|
|
|
|
|
|
|
| |
The gobject bindings generate a large number of header files, which pollute
/usr/include when installed. This patch moves them all into a guestfs-gobject/
subdirectory. guestfs-gobject.h remains in the same place.
This change also moves generated source files into src/, because it makes the
gobject directory a bit tidier.
|
|
|
|
|
|
|
|
|
|
| |
Implement libguestfs events as GObject signals. Callback arguments are passed in
a boxed object.
Note that this patch fixes the length of the uint64_t array in the callback
arguments at 16, whereas it is actually arbitrary length. This is to make it
introspectable. There is currently no way to pass an arbitrary length array to a
callback, and have its type introspected.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bind the easy parts of the 'btrfs' program.
The new APIs are:
btrfs-device-add: add devices to a btrfs filesystem
btrfs-device-delete: remove devices from a btrfs filesystem
btrfs-filesystem-sync: sync a btrfs filesystem
btrfs-filesystem-balance: balance a btrfs filesystem
btrfs-subvolume-create: create a btrfs snapshot
btrfs-subvolume-delete: delete a btrfs snapshot
btrfs-subvolume-list: list btrfs snapshots and subvolumes
btrfs-subvolume-set-default: set default btrfs subvolume
btrfs-subvolume-snapshot: create a writable btrfs snapshot
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new APIs are:
get-e2attrs: List ext2 file attributes of a file.
set-e2attrs: Set or clear ext2 file attributes of a file.
get-e2generation: Get ext2 file generation of a file.
set-e2generation: Set ext2 file generation of a file.
These are implemented using the lsattr and chattr programs from
e2fsprogs.
|
|
|
|
| |
This allows all parameters from btrfs to be accessed.
|
|
|
|
|
|
|
|
|
|
| |
Add FUSE support directly to the API. Instead of needing to use the
external 'guestmount' command, you can mount the libguestfs filesystem
space on a local mountpoint using an API call from any language.
Note that although mount-local-run is marked as Cancellable, the
current implementation does not support it, but it would be relatively
simple to add it.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
guestfs-gobject.h (in the source directory) was not found.
In file included from <stdin>:4:0:
/path/to/libguestfs/gobject/guestfs-gobject.h:23:37: fatal error: guestfs-gobject-session.h: No such file or directory
compilation terminated.
Error while processing the source.
make[2]: *** [Guestfs-1.0.gir] Error 1
|
| |
|
|
|
|
|
|
|
| |
This greatly improves the usability of the generated gtk-doc.
Although there is a lot of churn in generator_gobject.ml, this is almost
exclusively code motion.
|
| |
|
| |
|
|
|
|
| |
This updates commit dd25638fc14ea63cf8e8eb0940173f1c6952447f.
|
| |
|
|
|
|
|
| |
This change binds guestfs_close(). It consequently results in RConstOptString
being able to throw an error.
|
| |
|
|
|
|
| |
This fixes commit 93b0769ec7929a909678411d75840f81bed55a81.
|
| |
|
| |
|
|
|