Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Convert all TABs-as-indentation to spaces. | Jim Meyering | 2009-08-03 | 1 | -32/+32 | |
| | | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_' | |||||
* | build: reenable "syntax-check" rule: sc_const_long_option | Jim Meyering | 2009-08-03 | 1 | -1/+1 | |
| | | | | | | | * cfg.mk (disable_temporarily): Remove sc_const_long_option. * daemon/guestfsd.c (main): Declare long_options to be "const". * fish/fish.c (main): Likewise. * test-tool/test-tool.c (main): Likewise. | |||||
* | Replace shell_quote function with %Q and %R printf specifiers. | Richard Jones | 2009-07-28 | 1 | -26/+78 | |
| | | | | | | | %Q => simple shell quoted string %R => path will be prefixed by /sysroot eg. snprintf (cmd, sizeof cmd, "cat %R", path); system (cmd); | |||||
* | Make /sysroot path configurable. | Richard Jones | 2009-07-18 | 1 | -0/+23 | |
| | | | | | | | | | Currently /sysroot is hard-coded throughout the daemon code. This patch turns the path into a variable so that we can change it in future, for example to allow standalone mode to be implemented. This patch was tested by running all the C API tests successfully. | |||||
* | avoid leak upon failed realloc | Jim Meyering | 2009-07-03 | 1 | -8/+12 | |
| | | | | | * daemon/guestfsd.c (commandrv): Free original buffer (rather than leaking it) if realloc fails. | |||||
* | remove trailing blanks | Jim Meyering | 2009-07-03 | 1 | -1/+1 | |
| | ||||||
* | Call 'udevadm settle' after operations which add/remove device nodes. | Richard W.M. Jones | 2009-07-01 | 1 | -0/+13 | |
| | | | | | | | | | | | | | Because udev operates asynchronously, we found errors which were caused by a previous command (eg. sfdisk or pvremove) creating or removing a device, and that change not having happened by the time the next command was run. This patch adds calls to '/sbin/udevadm settle' after any commands which can add or remove device nodes. If udev is not being used or not available, this should have no effect. The command fails and this is silently ignored. | |||||
* | Change to use virtio_blk (virtio block device) by default. | Richard W.M. Jones | 2009-07-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | virtio_blk is the fast, virt-native block device driver supported by qemu and KVM. Note that virtio_blk device names are called /dev/vd*. Existing scripts should continue working because device name translation will silently change device names of the form /dev/sd* to /dev/vd* as required. See also: http://libguestfs.org/guestfs.3.html#block_device_naming | |||||
* | Generated code for mknod, mkfifo, mknod_b, mknod_c, umask. | Richard W.M. Jones | 2009-06-30 | 1 | -0/+3 | |
| | ||||||
* | Check return value from waitpid call in command*() functions. | Richard W.M. Jones | 2009-06-20 | 1 | -2/+6 | |
| | ||||||
* | Implement device name translation. Remove device name hacks in tests. | Richard Jones | 2009-06-10 | 1 | -0/+49 | |
| | ||||||
* | In daemon, set PATH, SHELL and LANG environment variables. | Richard Jones | 2009-05-22 | 1 | -0/+8 | |
| | ||||||
* | Refactor line splitting code in the daemon, and fix it so it works. | Richard Jones | 2009-05-12 | 1 | -0/+54 | |
| | ||||||
* | Fix leak in realloc failure (Jim Meyering). | Richard Jones | 2009-05-07 | 1 | -16/+14 | |
| | ||||||
* | Add generated code for 'fsck' command. | Richard Jones | 2009-04-30 | 1 | -4/+61 | |
| | ||||||
* | Fix unchecked malloc & realloc in 'commandv' func (Jim Meyering). | Richard Jones | 2009-04-30 | 1 | -4/+15 | |
| | ||||||
* | Various fixes to the daemon: | Richard Jones | 2009-04-20 | 1 | -0/+47 | |
| | | | | | | - make sure SIGPIPE doesn't kill us - warn not to use macros in FileIn functions - add shell_quote function | |||||
* | Fix file descriptor leak in daemon. | Richard Jones | 2009-04-20 | 1 | -0/+13 | |
| | ||||||
* | Implement upload and download commands. | Richard Jones | 2009-04-20 | 1 | -4/+16 | |
| | ||||||
* | Use GUESTFS_LAUNCH_FLAG in the daemon, and use correct uint32_t. | Richard Jones | 2009-04-19 | 1 | -2/+2 | |
| | ||||||
* | Added test suite. | Richard Jones | 2009-04-11 | 1 | -33/+55 | |
| | ||||||
* | Implement list-devices and list-partitions. | Richard Jones | 2009-04-06 | 1 | -0/+24 | |
| | ||||||
* | Implementations of 'cat', 'ls', and some cleanups. | Richard Jones | 2009-04-06 | 1 | -0/+32 | |
| | ||||||
* | Implement RString and RStringList return types. | Richard Jones | 2009-04-04 | 1 | -8/+22 | |
| | | | | | - implement 'll' command. - outlines for 'ls' and 'cat' commands. | |||||
* | Implemented 'mount' and 'touch' commands. | Richard Jones | 2009-04-03 | 1 | -22/+171 | |
| | ||||||
* | Makes a series of non-trivial calls. | Richard Jones | 2009-04-03 | 1 | -0/+20 | |
| | ||||||
* | Daemon and library are mostly talking to each other now. | Richard Jones | 2009-04-03 | 1 | -3/+24 | |
| | ||||||
* | Add the first version of the guestfsd daemon. | Richard Jones | 2009-04-03 | 1 | -0/+205 | |