54 Commits

Author SHA1 Message Date
Richard Jones
2069ade881 Fix file descriptor leak in daemon. 2009-04-20 11:35:57 +01:00
Richard Jones
24ccbb29ac Generated code for 'checksum' command. 2009-04-20 10:19:45 +01:00
Richard Jones
aef3d2013f Add 'checksum' command. 2009-04-20 10:19:29 +01:00
Richard Jones
170f262f04 Implement upload and download commands. 2009-04-20 00:22:02 +01:00
Richard Jones
d5151686d8 Use GUESTFS_LAUNCH_FLAG in the daemon, and use correct uint32_t. 2009-04-19 14:51:50 +01:00
Richard Jones
d73a4f097f Implement NEED_ROOT_OR_IS_DEVICE macro. 2009-04-19 12:41:35 +01:00
Richard Jones
749708a7ec Implement _send_sync, _send_file_sync and _receive_file_sync. 2009-04-19 12:29:25 +01:00
Richard Jones
bb07a7f858 Begin to add the upload and download commands. 2009-04-18 22:33:15 +01:00
Richard Jones
ef499de894 Separate out the high-level API actions.
- Split out the high-level API actions so that they are in a
   separate file, and use the defined guestfs C API, instead of
   fiddling around with internal structures.
2009-04-18 15:31:53 +01:00
Richard Jones
1765330e07 Rewrite of main loop impl, start of FileIn/FileOut support. 2009-04-18 13:17:12 +01:00
Richard Jones
a5f68bd57d Ruby bindings. 2009-04-16 22:13:20 +01:00
Richard Jones
1e60354dc8 Missing free() on return path (thanks: Steve Grubb). 2009-04-16 17:38:27 +01:00
Richard Jones
05712b2457 'guestfish edit' commands and several bugfixes. 2009-04-15 23:54:51 +01:00
Richard Jones
b348eacbc4 Generated code for blockdev_* calls, RInt64, enhanced tests. 2009-04-15 17:48:54 +01:00
Richard Jones
e038597ebd Added blockdev_* calls. RInt64 type. Enhanced tests. 2009-04-15 17:47:34 +01:00
Richard Jones
ad5abc8d36 Generated code for tune2fs-l command and RHashtable return type. 2009-04-15 13:59:07 +01:00
Richard Jones
d5ae4a54e8 Added tune2fs-l command and RHashtable return type. 2009-04-15 13:58:44 +01:00
Richard Jones
6bcbe54b57 Generated code for stat/lstat/statvfs changes. 2009-04-15 10:45:01 +01:00
Richard Jones
212a55d483 Added stat, lstat, statvfs and associated stat structures. 2009-04-15 10:44:27 +01:00
Richard Jones
374af1d1c8 Better handling of trailing \n problem. 2009-04-14 14:38:31 +01:00
Richard Jones
5365ebd501 Add 'command' and 'command-lines'. Fix args freeing in Perl bindings. 2009-04-14 13:51:12 +01:00
Richard Jones
161018ed1e Fix 'file(1)' command to work on /dev devices. 2009-04-14 13:09:06 +01:00
Richard Jones
adefe14e30 Generated files for file(1) command. 2009-04-13 23:58:33 +01:00
Richard Jones
4228340388 Added file(1) command. 2009-04-13 23:58:02 +01:00
Richard Jones
848fd70661 Old versions of augeas lack aug_load, aug_defvar, aug_node. Check for those calls. 2009-04-13 00:51:56 +01:00
Richard Jones
b4d2a01828 Added test suite. 2009-04-11 17:04:35 +01:00
Richard Jones
286841877f Generated files for previous commands. 2009-04-10 12:55:04 +01:00
Richard Jones
44da812b42 New commands: rm rmdir rm-rf mkdir mkdir-p chmod chown 2009-04-10 12:55:04 +01:00
Richard Jones
dd0432e2ef CHROOT_OUT must preserve errno. 2009-04-10 12:54:56 +01:00
Richard Jones
1c8f9c274a Fix off-by-one error in Augeas wrapper code. 2009-04-10 12:47:04 +01:00
Richard Jones
d19ceb226c Remove *~ files when doing 'make clean'. 2009-04-09 19:47:22 +01:00
Richard Jones
01c26253a1 Added aug-ls (generated code). 2009-04-09 19:36:07 +01:00
Richard Jones
0677b12f22 Add aug-ls command (non-generated code). 2009-04-09 19:35:16 +01:00
Richard Jones
e7eca50046 Added Augeas support. 2009-04-09 13:19:38 +01:00
Richard Jones
c168ce1c91 Generated code for new guestfs_read_lines API call. 2009-04-08 23:47:31 +01:00
Richard Jones
f4299f7ea5 Definition and implementation of new guestfs_read_lines API call. 2009-04-08 23:47:28 +01:00
Richard Jones
447b96e57c Bug fix: Trailing whitespace from 'pvs' command. 2009-04-08 15:08:10 +01:00
Richard Jones
6085137e65 Implement simple lvs/vgs/pvs commands. 2009-04-07 10:25:46 +01:00
Richard Jones
7ea56c8d0b Rename pvs -> pvs-full (etc), so we can add simple pvs (etc) commands. 2009-04-07 09:52:46 +01:00
Richard Jones
73d6932ab2 pvs/vgs/lvs commands working now. 2009-04-07 09:14:17 +01:00
Richard Jones
8e570870f5 Implement list-devices and list-partitions. 2009-04-06 12:55:26 +01:00
Richard Jones
1cf85b1e60 Implementations of 'cat', 'ls', and some cleanups. 2009-04-06 11:44:48 +01:00
Richard Jones
843514eef9 Implement RString and RStringList return types.
- implement 'll' command.
 - outlines for 'ls' and 'cat' commands.
2009-04-04 16:38:28 +01:00
Richard Jones
99bd425a0a Implemented 'mount' and 'touch' commands. 2009-04-03 22:25:34 +01:00
Richard Jones
316bbc3666 Parses return values and returned errors properly. 2009-04-03 19:51:02 +01:00
Richard Jones
d134143b55 Makes a series of non-trivial calls. 2009-04-03 19:08:19 +01:00
Richard Jones
40ca9a5782 Daemon and library are mostly talking to each other now. 2009-04-03 17:24:35 +01:00
Richard Jones
55bf8fd622 Lots more auto-generation. 2009-04-03 11:29:55 +01:00
Richard Jones
15dbb6973a Add the first version of the guestfsd daemon. 2009-04-03 01:14:44 +01:00
Richard Jones
6ed48042e4 Various fixes to the build system, add 'make test-boot-image' target. 2009-04-01 12:57:45 +01:00