summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* virt-make-fs: Fix typo in man page.Richard W.M. Jones2011-01-301-1/+1
|
* perl: Translate C examples into Perl and include a manual page.Richard W.M. Jones2011-01-3013-31/+253
|
* perl: Ignore internal_* functions in POD coverage test.Richard W.M. Jones2011-01-291-1/+2
| | | | This updates commit 1d999540bddd7aea7c2d0fef8b15223d4acc645f.
* Fix test-guestfish-a.sh regression test for new trace format.Richard W.M. Jones2011-01-281-5/+5
| | | | This fixes commit 1d999540bddd7aea7c2d0fef8b15223d4acc645f.
* autobuild: Add a 'make clean' step.Richard W.M. Jones2011-01-281-0/+2
|
* lib: Fix use-after-free bug in XPath parsing code.Richard W.M. Jones2011-01-281-1/+1
|
* Add a new internal-autosync API to perform autosync.Richard W.M. Jones2011-01-284-8/+33
| | | | | | | | | Instead of explicitly calling umount-all; sync, we add a daemon function called internal-autosync which does the same. Apart from slightly simplifying the process of closing the handle, the main advantage is we can modify the daemon for the standalone case so that internal-autosync does not do the umount-all operation.
* Add a prefix to output when tracing (RHBZ#673479).Richard W.M. Jones2011-01-281-17/+27
| | | | | | | | | | | | | | | | | | | Also separate the call and return lines so that everything can be easily 'grepped' from debug output. The trace output now looks like this: $ guestfish -x -N fs exit libguestfs: trace: is_config libguestfs: trace: is_config = 1 libguestfs: trace: add_drive "test1.img" libguestfs: trace: add_drive = 0 libguestfs: trace: is_config libguestfs: trace: is_config = 1 libguestfs: trace: launch libguestfs: trace: launch = 0 libguestfs: trace: part_disk "/dev/sda" "mbr" libguestfs: trace: part_disk = 0 &c.
* daemon: Replace root_mounted global with intelligence.Richard W.M. Jones2011-01-272-27/+51
| | | | | | | | | | | | | | | | | We used to maintain a global flag 'root_mounted' which tells us if the user has mounted something on root (ie. on the sysroot directory). This flag caused a lot of trouble (eg. RHBZ#599503) because it's hard to keep the flag updated correctly when the user can do arbitrary mounts and also use mkmountpoint. Remove this flag and replace it with a test to see if something is mounted on *or under* the sysroot. (It has to be *or under* because of mkmountpoint and friends). This also replaces a rather convoluted "have we mounted root yet" check in the mount* APIs with a simpler check to see if the mountpoint exists and is an ordinary directory.
* daemon: Add perror to two exit paths to make errors clearer.Richard W.M. Jones2011-01-271-1/+4
|
* debian: Include actual shared libraries in python-guestfs package.Richard W.M. Jones2011-01-271-1/+1
|
* mkfs-opts: Add optional "features" parameter.Nikita A Menkovich2011-01-262-5/+21
| | | | | This allows the -O parameter to be added to the mkfs command line. This is used to select filesystem features.
* mkfs-opts: Add a note about blocksize param and UFS filesystems.Nikita A Menkovich2011-01-261-0/+2
|
* generator: Fix generation of library-side stubs with optional String arguments.Richard W.M. Jones2011-01-261-1/+1
|
* packagelist: Add ufsutils for Debian and Ubuntu.Richard W.M. Jones2011-01-261-0/+1
| | | | | Note there is no mkfs.ufs available for Fedora (see RHBZ#541618 for details).
* Version 1.9.6.1.9.6Richard W.M. Jones2011-01-2215-246/+317
|
* fish: Fix typo in error message (copy-in should be copy-out).Richard W.M. Jones2011-01-221-1/+1
|
* Use /var/tmp for the cached appliance (for FHS compliance).Richard W.M. Jones2011-01-195-6/+27
| | | | | | | | | | | | | | | | The FHS advises large files not to be stored in the root filesystem[1], and that /var/tmp is persistent across reboots[2] (whereas /tmp is possibly not[3]). Therefore we should store the large cached supermin appliance in /var/tmp instead of /tmp. /tmp is still used for all other temporary files and directories. In either case you can override this by setting $TMPDIR. [1] http://www.pathname.com/fhs/pub/fhs-2.3.html#THEROOTFILESYSTEM [2] http://www.pathname.com/fhs/pub/fhs-2.3.html#VARTMPTEMPORARYFILESPRESERVEDBETWEE [3] http://www.pathname.com/fhs/pub/fhs-2.3.html#TMPTEMPORARYFILES
* fish: Initialize pcmd structure.Richard W.M. Jones2011-01-181-1/+4
| | | | | | | On Debian we get this warning which I'm pretty sure is bogus: fish.c:690: error: 'pcmd.cmd' may be used uninitialized in this function [-Wuninitialized]
* Version 1.9.51.9.5Richard W.M. Jones2011-01-1817-656/+774
|
* fish: <! cmd executes a shell command and inlines the resulting commands.Richard W.M. Jones2011-01-182-0/+83
| | | | | | | | The new guestfish construct "<! cmd" executes the shell command "cmd", and then anything printed to stdout by "cmd" is parsed and executed as a guestfish command. This allows some very hairy shell scripting with guestfish.
* fish: Factor out command line parsing.Richard W.M. Jones2011-01-181-154/+170
| | | | Factor out the code which splits a string into a command line.
* fish: Make exit_on_error into a completely local variable.Richard W.M. Jones2011-01-185-10/+16
| | | | | | Note that 'time' and 'glob' (which both run subcommands) do not correctly pass the exit_on_error flag in the remote case. This is not a regression: the current code doesn't work either.
* fish: exit_on_error is a local variable.Richard W.M. Jones2011-01-181-1/+1
|
* todo: Live CD inspection works, but not for Windows 7.Richard W.M. Jones2011-01-151-48/+2
|
* Version 1.9.4.1.9.4Richard W.M. Jones2011-01-1518-11922/+12827
|
* README: Note that po4a is mandatory if compiling from git.Richard W.M. Jones2011-01-151-1/+3
|
* Add ability to inspect install disks and live CDs.Richard W.M. Jones2011-01-1517-42/+914
| | | | | For examples of the virt-inspector output, see the additional inspector/example-*.xml files in this commit.
* inspect: Add macros for file size limits.Richard W.M. Jones2011-01-151-9/+37
| | | | | | This also bumps the file size limit for "small text files" up to 2 MB, since we want to parse Windows CD txtsetup.sif files that are usually around 500K in size.
* New API: resize2fs-M to resize ext2/3/4 to minimum size.Nikita A Menkovich2011-01-143-1/+35
|
* Version 1.9.3.1.9.3Richard W.M. Jones2011-01-1117-3853/+3949
|
* df: Skip final '/' character when calculating basename.Richard W.M. Jones2011-01-111-0/+2
| | | | | | | | | | Previously it was including the final '/' character when calculating the basename for the -a option eg: Filesystem Size Used Available Use% /Ubuntu1010x64:/dev/sda1 9.4G 2.3G 6.6G 25% With this patch the '/' is not printed.
* fish: Don't fail if some mountpoints in /etc/fstab are bogus (RHBZ#668574).Richard W.M. Jones2011-01-118-6/+99
| | | | | | | | | | | | | | | | | Fix guestfish (and other C tools) so that they ignore errors when /etc/fstab contains bogus entries. Update the documentation for inspect-get-mountpoints to emphasize that callers must be aware of this when mounting the returned values. Add a regression test. Update the example code ("inspect_vm") to reflect the way this API ought to be called. For more detail see: https://bugzilla.redhat.com/show_bug.cgi?id=668574
* Add logo used on the website.Richard W.M. Jones2011-01-113-1/+5
|
* Add cartoon fish logo (not completed).Richard W.M. Jones2011-01-102-1/+563
|
* todo: /proc/self/mountinfoRichard W.M. Jones2011-01-091-0/+15
|
* todo: Add notes on inspecting ISO images.Richard W.M. Jones2011-01-081-1/+46
|
* virt-filesystems: Ignore errors when getting label and UUID (RHBZ#668112).Richard W.M. Jones2011-01-081-6/+29
| | | | | | | | | | | If virt-filesystems was pointed to an image that contained bogus or blank filesystems, then calls to vfs-label and/or vfs-uuid could fail, resulting in errors like this: libguestfs: error: vfs_label: /dev/vda1: These errors can be ignored and shouldn't stop virt-filesystems from working.
* resize: Fix typo in man page (thanks avesh@IRC).Richard W.M. Jones2011-01-071-1/+1
|
* fish: fails to tilde expand '~' when $HOME env is unset (RHBZ#617440).Richard W.M. Jones2011-01-043-8/+100
| | | | This also adds a regression test.
* fish: Fix off-by-one bug in tilde expansion.Richard W.M. Jones2011-01-041-1/+1
| | | | | | | | Although this doesn't seem to cause a crash, valgrind confirms that this is a genuine off-by-one bug. It could potentially cause a crash if you did: echo 'echo ~root/foo' | guestfish
* Version 1.9.2.1.9.2Richard W.M. Jones2011-01-0318-567/+598
|
* New tools: virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out.Richard W.M. Jones2011-01-0317-6/+481
| | | | | Relatively trivial wrappers around the equivalent guestfish commands. Change also includes new man pages.
* .gitignore: Use full paths for some ignored files.Richard W.M. Jones2011-01-031-7/+7
|
* docs: Add QMP to ROADMAP file.Richard W.M. Jones2011-01-031-0/+5
|
* filesystems: Document the columns in --long output.Richard W.M. Jones2011-01-021-0/+54
|
* Add initial announcement to release notes.Richard W.M. Jones2011-01-021-0/+3
|
* Update TODO file.Richard W.M. Jones2011-01-021-0/+8
|
* inspector: Apps in Windows VMs are now listed - update documentation.Richard W.M. Jones2011-01-021-3/+1
|
* Lib.pm: unknown filesystem /dev/hd{x} (cdrom) (RHBZ#666577)Douglas Schilling Landgraf2011-01-021-1/+3
| | | | | | | | | | | | | This a purpose patch to avoid the message "unknown filesystem /dev/hdc". Where /dev/hdc is an entry in fstab for CDROM. Example of fstab: /dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0 https://bugzilla.redhat.com/show_bug.cgi?id=666577 Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>