12 years agoCombine common code in daemon/tar.c.
Richard Jones [Thu, 13 May 2010 09:17:48 +0000 (10:17 +0100)]
Combine common code in daemon/tar.c.

This commit shouldn't result in any change in the semantics
of the code.

12 years agoFix FileIn cmds losing synch if both ends send cancel messages (RHBZ#576879).
Richard Jones [Wed, 12 May 2010 18:55:06 +0000 (19:55 +0100)]
Fix FileIn cmds losing synch if both ends send cancel messages (RHBZ#576879).

During a FileIn command (eg. upload, tar-in) if both sides
experience errors, then both sides could send cancel messages,
the result being lost synchronization.

The reason for the lost synch was because the daemon was ignoring
this case and sending an error message back which the library side
(which had cancelled) was not expecting.

Fix this by checking in the daemon for the case where the library
also cancels during daemon cancellation, and not sending an error

This also includes an enhanced regression test which checks for this

This extends the original fix in
commit 5922d7084d6b43f0a1a15b664c7082dfeaf584d0.

More details can be found here:

12 years agoguestfish: Fix build error in 'print_shell_quote' function.
Richard Jones [Thu, 13 May 2010 16:05:41 +0000 (17:05 +0100)]
guestfish: Fix build error in 'print_shell_quote' function.

Amend commit 1c6ed48bd3cd471dc so the prototype of
'print_shell_quote' function is correct.

12 years agofish: Fix guestfish -N option when called with unknown image type.
Richard Jones [Wed, 12 May 2010 18:01:29 +0000 (19:01 +0100)]
fish: Fix guestfish -N option when called with unknown image type.

Previously it was falling off the end of the loop if you
called it with an unknown image type.

12 years agoImproved error if virt-inspector cannot find OSes in image (RHBZ#591142).
Richard Jones [Wed, 12 May 2010 17:11:37 +0000 (18:11 +0100)]
Improved error if virt-inspector cannot find OSes in image (RHBZ#591142).

12 years agoFix error message in string-e command (RHBZ#588651).
Richard Jones [Wed, 12 May 2010 15:55:59 +0000 (16:55 +0100)]
Fix error message in string-e command (RHBZ#588651).

12 years agoguestfish -i and virt-inspector work on filenames containing spaces (RHBZ#507810).
Richard Jones [Wed, 12 May 2010 14:58:00 +0000 (15:58 +0100)]
guestfish -i and virt-inspector work on filenames containing spaces (RHBZ#507810).

This commit fixes a long-standing bug which prevented guestfish -i
and virt-inspector from working on disk images which had a space
in the filename (or other unsafe characters).  It works by ensuring
that the strings passed between guestfish -i and virt-inspector are
quoted correctly in both directions.

Note that this commit adds a dependency from virt-inspector to
the perl module String::ShellQuote.  We have previously used this
module in virt-make-fs.

12 years agoAdd version numbers to Perl modules (RHBZ#521674).
Richard Jones [Wed, 12 May 2010 14:01:45 +0000 (15:01 +0100)]
Add version numbers to Perl modules (RHBZ#521674).

Sys::Guestfs now contains a version number which reflects the
ABI that we are compiled against, ie. '0.<MAX_PROC_NR>'.  This has
the beneficial side effect of causing an error if the user tries
to mix versions of the Perl module and the XS code.

Sys::Guestfs::Lib now contains a synthetic version number which
will reflect future changes in that module.

12 years agoUpdate PO files, including extra strings from Perl files.
Richard Jones [Wed, 12 May 2010 13:26:26 +0000 (14:26 +0100)]
Update PO files, including extra strings from Perl files.

12 years agopo: Include strings from Perl programs in the PO files (RHBZ#559963).
Richard Jones [Wed, 12 May 2010 13:24:23 +0000 (14:24 +0100)]
po: Include strings from Perl programs in the PO files (RHBZ#559963).

xgettext will only recognize '*.pl' as being a Perl file (otherwise
it treats it as a C file and does not correctly find any strings
in it).

This commit also fixes two actual bugs that xgettext found in the
strings in our Perl programs.

12 years agopo: Don't generate po/Makevars file and include Perl keywords (RHBZ#559963).
Richard Jones [Wed, 12 May 2010 13:19:50 +0000 (14:19 +0100)]
po: Don't generate po/Makevars file and include Perl keywords (RHBZ#559963).

I don't see a reason to autogenerate po/Makevars, and in the
earlier commit which changed this file to being autogenerated
we accidentally lost the special Perl keywords, copyright notice
and bug reporting address.  Fix all of that.

This partially reverts commit febff9d2a35c4f40abbaf8943146476bdeac671e.

12 years agoReduce imported functions in virt-df to ones which are actually used.
Richard Jones [Wed, 12 May 2010 17:10:58 +0000 (18:10 +0100)]
Reduce imported functions in virt-df to ones which are actually used.

12 years agoNew API: fill-pattern for creating files with predefined patterns.
Richard Jones [Wed, 12 May 2010 16:32:39 +0000 (17:32 +0100)]
New API: fill-pattern for creating files with predefined patterns.

12 years agoRun udev_settle() after swapon/swapoff (RHBZ#516096).
Richard Jones [Wed, 12 May 2010 15:12:07 +0000 (16:12 +0100)]
Run udev_settle() after swapon/swapoff (RHBZ#516096).

12 years agofish: With both '-x' and '-i', pass through '-x' to inferior process.
Richard Jones [Wed, 12 May 2010 14:29:03 +0000 (15:29 +0100)]
fish: With both '-x' and '-i', pass through '-x' to inferior process.

12 years agoVersion 1.3.11. 1.3.11
Richard Jones [Sat, 8 May 2010 19:12:55 +0000 (20:12 +0100)]
Version 1.3.11.

12 years agovirt-rescue: Add extra options.
Richard Jones [Sat, 8 May 2010 18:57:52 +0000 (19:57 +0100)]
virt-rescue: Add extra options.

This commit adds the extra options '--append', '--memsize' and '--selinux'.

12 years agovirt-rescue: Refresh documentation.
Richard Jones [Sat, 8 May 2010 18:55:27 +0000 (19:55 +0100)]
virt-rescue: Refresh documentation.

12 years agoRevert "fish: Add 'please wait' message when launching (and interactive)."
Richard Jones [Sat, 8 May 2010 08:45:19 +0000 (09:45 +0100)]
Revert "fish: Add 'please wait' message when launching (and interactive)."

This reverts commit 01fedcde05c930c1413e9fe0909fa1da1f360cdf.

12 years agofish: Add 'please wait' message when launching (and interactive).
Richard Jones [Sat, 8 May 2010 08:37:25 +0000 (09:37 +0100)]
fish: Add 'please wait' message when launching (and interactive).

12 years agolaunch: Rearrange the code so config check is first.
Richard Jones [Sat, 8 May 2010 08:28:19 +0000 (09:28 +0100)]
launch: Rearrange the code so config check is first.

Move the config state check first in the guestfs_launch function,
so that we don't reset g->launch_t or calculate the temporary
directory in the case where the launch function will immediately
return with an error.

12 years agogenerator: FishAction is no longer used, remove this feature.
Richard Jones [Sat, 8 May 2010 08:26:57 +0000 (09:26 +0100)]
generator: FishAction is no longer used, remove this feature.

12 years agofish: Make 'launch' function static.
Richard Jones [Sat, 8 May 2010 08:25:32 +0000 (09:25 +0100)]
fish: Make 'launch' function static.

This commit makes the launch function static and private to
'fish.c', and changes the generator so the function is no longer
called for the 'run/launch' command.

12 years agofish: In 'reopen' copy trace setting to new handle.
Richard Jones [Sat, 8 May 2010 08:14:00 +0000 (09:14 +0100)]
fish: In 'reopen' copy trace setting to new handle.

12 years agoIgnore test1.img file in directory.
Richard Jones [Sat, 8 May 2010 08:10:00 +0000 (09:10 +0100)]
Ignore test1.img file in directory.

12 years agofish -N option unconditionally overwrites test*.img files.
Richard Jones [Sat, 8 May 2010 08:09:24 +0000 (09:09 +0100)]
fish -N option unconditionally overwrites test*.img files.

This is more convenient and makes it consistent with the
'alloc' and 'sparse' commands.

12 years agofish: Make '-x' option enable traces instead of using separate echo path.
Richard Jones [Sat, 8 May 2010 08:04:28 +0000 (09:04 +0100)]
fish: Make '-x' option enable traces instead of using separate echo path.

Previously we had separate code paths for echoing commands (-x)
and tracing (guestfs_set_trace).  This just unifies that so that
the guestfish -x option enables tracing.

12 years agoinspector: Support filesystem-on-image VMs (RHBZ#590167).
Richard Jones [Fri, 7 May 2010 22:15:40 +0000 (23:15 +0100)]
inspector: Support filesystem-on-image VMs (RHBZ#590167).

$ virt-df /tmp/dbroot.img
Filesystem                           1K-blocks       Used  Available  Use%
/tmp/dbroot.img:/dev/vda               3096336     593628    2345424   20%

12 years agodaemon: Use 'error' instead of 'perror' before calling 'abort'.
Richard Jones [Fri, 7 May 2010 21:50:50 +0000 (22:50 +0100)]
daemon: Use 'error' instead of 'perror' before calling 'abort'.

12 years agodaemon: gnulib module 'error' is used directly by the daemon.
Richard Jones [Fri, 7 May 2010 21:49:49 +0000 (22:49 +0100)]
daemon: gnulib module 'error' is used directly by the daemon.

12 years agodaemon: Use parens around code section for safety.
Richard Jones [Fri, 7 May 2010 21:50:22 +0000 (22:50 +0100)]
daemon: Use parens around code section for safety.

12 years agoIf qemu dies during launch, set an error message (RHBZ#588851).
Richard Jones [Fri, 7 May 2010 21:37:55 +0000 (22:37 +0100)]
If qemu dies during launch, set an error message (RHBZ#588851).

12 years agoVersion 1.3.10. 1.3.10
Richard Jones [Fri, 7 May 2010 15:34:08 +0000 (16:34 +0100)]
Version 1.3.10.

12 years agodaemon: Fix read-file so it fails gracefully for large files (RHBZ#589039).
Richard Jones [Fri, 7 May 2010 12:30:42 +0000 (13:30 +0100)]
daemon: Fix read-file so it fails gracefully for large files (RHBZ#589039).

Pengzhen Cao noticed that read-file would fail for files
larger than the protocol size; this is *not* the bug.  However
it would also lose protocol synchronization after this.

The reason was that functions which return RBufferOut in the
generator must not 'touch' the *size_r parameter along error
return paths.

I fixed read-file and initrd-cat, and I checked that pread was
doing the right thing.

This also adds regression tests for read-file with various categories
of large file.

12 years agodaemon: Fix wc* commands to work on absolute symbolic links (RHBZ#579608).
Richard Jones [Thu, 6 May 2010 23:13:31 +0000 (00:13 +0100)]
daemon: Fix wc* commands to work on absolute symbolic links (RHBZ#579608).

12 years agodaemon: Fix strings to work on absolute symbolic links (RHBZ#579608).
Richard Jones [Thu, 6 May 2010 23:13:05 +0000 (00:13 +0100)]
daemon: Fix strings to work on absolute symbolic links (RHBZ#579608).

12 years agodaemon: Fix head and tail commands to work on absolute symbolic links (RHBZ#579608).
Richard Jones [Thu, 6 May 2010 23:12:36 +0000 (00:12 +0100)]
daemon: Fix head and tail commands to work on absolute symbolic links (RHBZ#579608).

12 years agodaemon: Fix grep and related to work on absolute symbolic links (RHBZ#579608).
Richard Jones [Thu, 6 May 2010 23:11:55 +0000 (00:11 +0100)]
daemon: Fix grep and related to work on absolute symbolic links (RHBZ#579608).

12 years agodaemon: Fix checksum to work on absolute symbolic links (RHBZ#579608).
Richard Jones [Thu, 6 May 2010 23:11:22 +0000 (00:11 +0100)]
daemon: Fix checksum to work on absolute symbolic links (RHBZ#579608).

12 years agodaemon: Fix hexdump to work on absolute symbolic links (RHBZ#579608).
Richard Jones [Thu, 6 May 2010 20:55:32 +0000 (21:55 +0100)]
daemon: Fix hexdump to work on absolute symbolic links (RHBZ#579608).

12 years agodaemon: Fix for commands working on absolute symbolic links (RHBZ#579608).
Richard Jones [Thu, 6 May 2010 20:36:24 +0000 (21:36 +0100)]
daemon: Fix for commands working on absolute symbolic links (RHBZ#579608).

The original idea (suggested by Al Viro) was to fork and chroot
into the sysroot and read the file from there.  Because of the
separate process being chrooted, absolute links would be resolved
correctly.  The slightly modified idea is to open the file in the
daemon process (but temporarily chrooted, so symlinks resolve
correctly), fork, and have the subprocess just be responsible for
copying the file.  (Strictly speaking we don't need to fork, but
this implementation is simpler).

This commit just includes the changes needed to the command*()
functions in daemon/guestfsd.c and adds an absolute symlink to
the test ISO for testing it.  Later commits will fix the broken
daemon commands themselves.

12 years agodaemon: Change command to abort() on resource problems.
Richard Jones [Thu, 6 May 2010 19:32:09 +0000 (20:32 +0100)]
daemon: Change command to abort() on resource problems.

The comment in the code describes it thus:

  /* Note: abort is used in a few places along the error paths early
   * in this function.  This is because (a) cleaning up correctly is
   * very complex at these places and (b) abort is used when a
   * resource problem is indicated which would be due to much more
   * serious issues - eg. memory or file descriptor leaks.  We
   * wouldn't expect fork(2) or pipe(2) to fail in normal
   * circumstances.

12 years agoWarn instead of dying if grub refers to non-existent kernel
Matthew Booth [Fri, 7 May 2010 13:58:32 +0000 (14:58 +0100)]
Warn instead of dying if grub refers to non-existent kernel

12 years agoUpdate to latest gnulib.
Richard Jones [Wed, 5 May 2010 15:10:37 +0000 (16:10 +0100)]
Update to latest gnulib.

12 years agoUse link-local addresses between appliance and host (RHBZ#588763).
Richard Jones [Tue, 4 May 2010 15:06:58 +0000 (16:06 +0100)]
Use link-local addresses between appliance and host (RHBZ#588763).

12 years agoChange network configuration to use macros.
Richard Jones [Tue, 4 May 2010 14:06:09 +0000 (15:06 +0100)]
Change network configuration to use macros.

Change the network configuration so everything is set using
some macros at the top of src/guestfs.c.

Also, rename the macros used in the daemon so they are not the
same.  It was a very long time since these sets of macros had to
match the ones defined in src/guestfs.c, despite what the comment

Note that this commit should not change the semantics of the
program at all.

12 years agoUpdate Spanish translations (RHBZ#588733).
Daniel Cabrera [Tue, 4 May 2010 12:35:01 +0000 (13:35 +0100)]
Update Spanish translations (RHBZ#588733).

12 years agotests: In verbose mode, print dashes between each test.
Richard Jones [Fri, 30 Apr 2010 22:12:34 +0000 (23:12 +0100)]
tests: In verbose mode, print dashes between each test.

Only affects tests when run with LIBGUESTFS_DEBUG=1.  Lets you easily
see when each test starts and ends.

12 years agoVersion 1.3.9. 1.3.9
Richard Jones [Fri, 30 Apr 2010 17:27:37 +0000 (18:27 +0100)]
Version 1.3.9.

12 years agoDocument that guestfs_mount implies -o sync and performance problem (RHBZ#587582).
Richard Jones [Fri, 30 Apr 2010 12:56:11 +0000 (13:56 +0100)]
Document that guestfs_mount implies -o sync and performance problem (RHBZ#587582).

12 years agocontrib: Add dependency diagram of libguestfs ecosystem.
Richard Jones [Fri, 30 Apr 2010 11:27:00 +0000 (12:27 +0100)]
contrib: Add dependency diagram of libguestfs ecosystem.

12 years agocontrib: Add header to README file.
Richard Jones [Fri, 30 Apr 2010 10:34:21 +0000 (11:34 +0100)]
contrib: Add header to README file.

12 years agolvresize: Use --force so it can make LVs smaller (RHBZ#587484).
Richard Jones [Fri, 30 Apr 2010 09:51:49 +0000 (10:51 +0100)]
lvresize: Use --force so it can make LVs smaller (RHBZ#587484).

This also adds a regression test for this bug.

12 years agotools: Fix documentation for CurrentControlSet (thanks Yuval Kashtan).
Richard Jones [Fri, 30 Apr 2010 08:46:40 +0000 (09:46 +0100)]
tools: Fix documentation for CurrentControlSet (thanks Yuval Kashtan).

12 years agoguestfs(3): Documentation on protocol gotchas.
Richard Jones [Thu, 29 Apr 2010 12:55:52 +0000 (13:55 +0100)]
guestfs(3): Documentation on protocol gotchas.

12 years agoVersion 1.3.8. 1.3.8
Richard Jones [Tue, 27 Apr 2010 14:48:38 +0000 (15:48 +0100)]
Version 1.3.8.

12 years agoUpdate Spanish translation (RHBZ#585961).
Daniel Cabrera [Mon, 26 Apr 2010 14:57:45 +0000 (15:57 +0100)]
Update Spanish translation (RHBZ#585961).

12 years agofish: Add 'man' command which opens the manual.
Richard Jones [Sat, 24 Apr 2010 08:10:28 +0000 (09:10 +0100)]
fish: Add 'man' command which opens the manual.

12 years agodocs: Routine refresh of the documentation for guestfs(3) and guestfish(1).
Richard Jones [Sat, 24 Apr 2010 07:50:40 +0000 (08:50 +0100)]
docs: Routine refresh of the documentation for guestfs(3) and guestfish(1).

12 years agoVersion 1.3.7 - note: fixes a segfault in guestfish 1.3.6. 1.3.7
Richard Jones [Fri, 23 Apr 2010 13:43:13 +0000 (14:43 +0100)]
Version 1.3.7 - note: fixes a segfault in guestfish 1.3.6.

12 years agotodo docs: Discuss shrinking filesystems and specifying sizes in guestfish.
Richard Jones [Fri, 23 Apr 2010 13:29:56 +0000 (14:29 +0100)]
todo docs: Discuss shrinking filesystems and specifying sizes in guestfish.

12 years agoNew API: checksums-out for checksumming many files.
Richard Jones [Fri, 23 Apr 2010 13:14:26 +0000 (14:14 +0100)]
New API: checksums-out for checksumming many files.

Useful API for verifying the integrity of virtual machines.

12 years agogenerator: Update docs for checksum to point to checksum-device.
Richard Jones [Fri, 23 Apr 2010 12:43:05 +0000 (13:43 +0100)]
generator: Update docs for checksum to point to checksum-device.

12 years agodaemon: Split out checksum type to program name mapping into function.
Richard Jones [Fri, 23 Apr 2010 12:42:10 +0000 (13:42 +0100)]
daemon: Split out checksum type to program name mapping into function.

This shouldn't change the semantics of the program.

12 years agofish: Fix segfault in '-a' option.
Richard Jones [Fri, 23 Apr 2010 13:13:42 +0000 (14:13 +0100)]
fish: Fix segfault in '-a' option.

This fixes a segfault in the guestfish -a option which you would
get when using guestfish 1.3.6.

12 years agotodo docs: Integrate with host intrusion detection systems.
Richard Jones [Fri, 23 Apr 2010 09:25:35 +0000 (10:25 +0100)]
todo docs: Integrate with host intrusion detection systems.

12 years agotodo docs: Mapping filesystems to and from disk blocks.
Richard Jones [Fri, 23 Apr 2010 09:23:45 +0000 (10:23 +0100)]
todo docs: Mapping filesystems to and from disk blocks.

12 years agoVersion 1.3.6. 1.3.6
Richard Jones [Thu, 22 Apr 2010 21:29:25 +0000 (22:29 +0100)]
Version 1.3.6.

12 years agofish: Add -N option for making prepared disk images.
Richard Jones [Thu, 22 Apr 2010 09:42:58 +0000 (10:42 +0100)]
fish: Add -N option for making prepared disk images.

Previously you might have typed:

$ guestfish
><fs> alloc test1.img 100M
><fs> run
><fs> part-disk /dev/sda mbr
><fs> mkfs ext4 /dev/sda1

now you can do the same with:

$ guestfish -N fs:ext4

Some tests have also been updated to use this new

12 years agofish docs: Be consistent about using I<-..> for options.
Richard Jones [Thu, 22 Apr 2010 09:46:34 +0000 (10:46 +0100)]
fish docs: Be consistent about using I<-..> for options.

12 years agofish docs: Use L</...> for internal links in the man page.
Richard Jones [Thu, 22 Apr 2010 09:44:35 +0000 (10:44 +0100)]
fish docs: Use L</...> for internal links in the man page.

12 years agoWhitelist the loop kernel module
Matthew Booth [Thu, 22 Apr 2010 12:57:56 +0000 (13:57 +0100)]
Whitelist the loop kernel module

loop is sometimes a module, for example on RHEL 5.

12 years agoDon't die during inspection if rpm -qa or dpkg-query fails
Matthew Booth [Wed, 21 Apr 2010 14:39:49 +0000 (15:39 +0100)]
Don't die during inspection if rpm -qa or dpkg-query fails

If a problem in the package database prevented package enumeration from working,
inspection would die. This change makes it emit a warning and continue.

12 years agoDon't die during inspection if initrd doesn't exist
Matthew Booth [Wed, 21 Apr 2010 14:39:48 +0000 (15:39 +0100)]
Don't die during inspection if initrd doesn't exist

This fixes a problem where inspection would die if grub.conf referenced a
non-existent initrd. Just return an empty initrd instead.

12 years agoAdd zfs-fuse (ZFS via FUSE) support to the appliance.
Richard Jones [Tue, 20 Apr 2010 21:20:46 +0000 (22:20 +0100)]
Add zfs-fuse (ZFS via FUSE) support to the appliance.

12 years agoRemove checks for Test::Pod and Test::Pod::Coverage.
Richard Jones [Tue, 20 Apr 2010 17:46:45 +0000 (18:46 +0100)]
Remove checks for Test::Pod and Test::Pod::Coverage.

Although these modules are optionally used by the Perl tests,
they aren't necessary and won't break the build if they are not
there.  These modules aren't available in RHEL 5.  Therefore
remove these checks.

12 years agoUpdated Spanish translations (RHBZ#584038).
Daniel Cabrera [Tue, 20 Apr 2010 15:30:27 +0000 (16:30 +0100)]
Updated Spanish translations (RHBZ#584038).

12 years agoCheck user doesn't run configure, make or make check as root.
Richard Jones [Tue, 20 Apr 2010 12:22:09 +0000 (13:22 +0100)]
Check user doesn't run configure, make or make check as root.

(Thanks to Yufang Zhang for helping to debug this issue).

12 years agoReplace 'dd' in tests with use of guestfish 'sparse' command.
Richard Jones [Tue, 20 Apr 2010 10:04:14 +0000 (11:04 +0100)]
Replace 'dd' in tests with use of guestfish 'sparse' command.

'dd' is a very inefficient way to create files.  'truncate' is
better, but unfortunately that command is not available in RHEL 5.
So use the guestfish 'sparse' command instead (which also avoids
allocating disk space).

12 years agoDocument new version numbering policy.
Richard Jones [Tue, 20 Apr 2010 09:50:50 +0000 (10:50 +0100)]
Document new version numbering policy.

See discussion on mailing list:

12 years agoDocument umask (RHBZ#582548, RHBZ#583554).
Richard Jones [Mon, 19 Apr 2010 19:55:15 +0000 (20:55 +0100)]
Document umask (RHBZ#582548, RHBZ#583554).

12 years agodocs: Clarify documentation for mknod (RHBZ#582948).
Richard Jones [Mon, 19 Apr 2010 19:13:05 +0000 (20:13 +0100)]
docs: Clarify documentation for mknod (RHBZ#582948).

12 years agoUpdate PO files. 1.3.5
Richard Jones [Mon, 19 Apr 2010 16:25:58 +0000 (17:25 +0100)]
Update PO files.

12 years agoPrepare for version 1.3.5.
Richard Jones [Mon, 19 Apr 2010 16:13:46 +0000 (17:13 +0100)]
Prepare for version 1.3.5.

12 years agoNew APIs: base64-in and base64-out for uploading/downloading base64 content.
Richard Jones [Mon, 19 Apr 2010 16:09:58 +0000 (17:09 +0100)]
New APIs: base64-in and base64-out for uploading/downloading base64 content.

12 years agoNew API: debug-upload (not a formal part of the API/ABI).
Richard Jones [Mon, 19 Apr 2010 15:31:24 +0000 (16:31 +0100)]
New API: debug-upload (not a formal part of the API/ABI).

Allow arbitrary files to be uploaded into the appliance, but
only when --enable-debug-command is enabled.  This lets you
run shell scripts, like this:

  ><fs> debug-upload -<<EOF /tmp/ 0700
  #!/bin/sh -
  # ...
  ><fs> debug sh "/tmp/"

12 years agofish: Allow -<<END as a syntax for uploading "heredocs".
Richard Jones [Mon, 19 Apr 2010 13:41:01 +0000 (14:41 +0100)]
fish: Allow -<<END as a syntax for uploading "heredocs".

For example:

    ><fs> upload -<<END /foo
    some data
    some more data
    ><fs> cat /foo
    some data
    some more data

12 years agotodo docs: Feature for base64 uploads and scripts.
Richard Jones [Mon, 19 Apr 2010 10:49:08 +0000 (11:49 +0100)]
todo docs: Feature for base64 uploads and scripts.

12 years agodocs: Add virt-resize(1) link to guestfish(1) manpage.
Richard Jones [Mon, 19 Apr 2010 09:20:58 +0000 (10:20 +0100)]
docs: Add virt-resize(1) link to guestfish(1) manpage.

12 years agoVersion 1.3.4 1.3.4
Richard Jones [Sat, 17 Apr 2010 21:19:20 +0000 (22:19 +0100)]
Version 1.3.4

12 years agotodo documentation: Idea: List, mount filesystems by UUID and label.
Richard Jones [Sat, 17 Apr 2010 19:41:28 +0000 (20:41 +0100)]
todo documentation: Idea: List, mount filesystems by UUID and label.

12 years agotodo documentation: remove 'virt-grow/shrink', see virt-resize
Richard Jones [Sat, 17 Apr 2010 19:36:11 +0000 (20:36 +0100)]
todo documentation: remove 'virt-grow/shrink', see virt-resize

12 years agotodo documentation: virt-rescue now uses $TERM from library, remove from todo list
Richard Jones [Sat, 17 Apr 2010 19:35:34 +0000 (20:35 +0100)]
todo documentation: virt-rescue now uses $TERM from library, remove from todo list

12 years agotodo documentation: Remove old section on PPC bugs.
Richard Jones [Sat, 17 Apr 2010 19:34:35 +0000 (20:34 +0100)]
todo documentation: Remove old section on PPC bugs.

No one cares for PPC, and if they do they should file these
as bugs in the bug tracker.

12 years agotodo documentation: Remove old ideas for Python bindings.
Richard Jones [Sat, 17 Apr 2010 19:34:21 +0000 (20:34 +0100)]
todo documentation: Remove old ideas for Python bindings.

12 years agoDocumentation: Use 'g' instead of 'handle' in documentation.
Richard Jones [Sat, 17 Apr 2010 15:33:07 +0000 (16:33 +0100)]
Documentation: Use 'g' instead of 'handle' in documentation.

By convention we use 'g' for handles.  Copy this convention
through to all the documentation.

12 years agoIn guestfs(3), unmount "/" directory in the example.
Richard Jones [Sat, 17 Apr 2010 15:24:03 +0000 (16:24 +0100)]
In guestfs(3), unmount "/" directory in the example.

12 years agoAdd compilation/linking example to guestfs(3) man page.
Richard Jones [Sat, 17 Apr 2010 15:22:53 +0000 (16:22 +0100)]
Add compilation/linking example to guestfs(3) man page.

12 years agogenerator: Use shortname in check_state() call.
Richard Jones [Sat, 17 Apr 2010 14:59:41 +0000 (15:59 +0100)]
generator: Use shortname in check_state() call.

Saves a tiny bit of space in the library.

12 years agoBuild top-level directories in a more logical order.
Richard Jones [Sat, 17 Apr 2010 14:46:08 +0000 (15:46 +0100)]
Build top-level directories in a more logical order.