summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for compiling on 32 bit.Richard W.M. Jones2009-11-062-8/+8
|
* Don't update appliance after running generator.Richard Jones2009-11-051-4/+0
| | | | | | I'm not sure why these dependencies exist, but they cause the appliance to be updated every time the generator runs, which appears to be unnecessary.
* appliance: Add xfsprogs to list of packagesRichard Jones2009-11-051-0/+1
|
* fish: Allow <nn>P and <nn>E for petabyte and exabyte allocations.Richard Jones2009-11-043-0/+22
|
* fish: Allow <nn>T for terabyte allocations.Richard Jones2009-11-043-3/+14
|
* fish: New command 'sparse', like 'alloc' but to generate sparse files.Richard Jones2009-11-044-0/+120
| | | | | | | | | | | | | | | | | With sparse you can make sparse files, which is fun because you can experiment with really large devices: ><fs> sparse /tmp/test.img 100G ><fs> run ><fs> sfdiskM /dev/vda , ><fs> mkfs ext2 /dev/vda1 # very long pause here ... ><fs> mount /dev/vda1 / To see the real (ie. allocated) size of the sparse file, use the du command, eg: ><fs> !du -h /tmp/test.img 1.6G -rw-rw-r-- 1 rjones rjones 100G 2009-11-04 17:40 /tmp/test.img
* daemon: Build daemon with AC_SYS_LARGEFILE.Richard Jones2009-11-041-0/+3
|
* Debian: Use /bin/bash as the shell for regression test scripts.Richard Jones2009-11-0414-14/+14
| | | | | | | | | | /bin/sh on Debian is a minimal shell called 'dash' which doesn't support some features we need such as the particular 'function' syntax used by regressions/test-stringlist.sh, and therefore this script was failing on Debian. Change all of these scripts to use #!/bin/bash explicitly to avoid these sorts of problems.
* daemon: When running external commands, open stdin as /dev/nullRichard Jones2009-11-041-0/+1
| | | | | | | | Previously when we ran external commands from the daemon, stdin (ie. fd 0) was closed. This caused a problem when running the external hexdump command which seems to break if stdin is closed. This patch opens stdin on /dev/null.
* Debian: Include ISOFS driver in the kernel.Richard Jones2009-11-041-0/+3
|
* Debian: Ignore Debian appliance root when looking for translatable files.Richard Jones2009-11-041-0/+1
|
* debian: Ignore some generated debirf files.Richard Jones2009-11-041-0/+5
|
* configure: Fix summary messages.Richard Jones2009-11-041-3/+3
| | | | | | | | | | | | | The following 3 summary messages in the configure output always displayed "yes" even if they were not actually enabled. Haskell bindings .................... yes virt-inspector ...................... yes virt-* tools ........................ yes Fixed by correcting the code that tests if the automake conditional is set.
* hivex: fail upon integer overflowJim Meyering2009-11-041-0/+3
| | | | | * hivex/hivex.c (windows_utf16_to_utf8): Avoid overflow and a potential infloop.
* hivex: Check unchecked calloc (Jim Meyering).Richard Jones2009-11-041-0/+2
|
* Update PO files.1.0.77Richard Jones2009-11-032-729/+921
|
* Fix EXTRA_DIST line in fuse/Makefile.am.Richard Jones2009-11-031-1/+1
|
* Add make.sh.in to EXTRA_DIST.Richard Jones2009-11-031-1/+2
|
* Comment out code which provokes strange gcc optimization error.Richard Jones2009-11-031-0/+5
|
* Prepare for 1.0.77.Richard Jones2009-11-031-1/+1
|
* FUSE filesystem support.Richard Jones2009-11-0314-27/+1920
| | | | | | | | | | | | | | | This implements FUSE filesystem support so that any libguestfs- accessible disk image can be mounted as a local filesystem. Note: file writes (ie. write(2) system call) is not yet implemented. The API needs more test coverage, particularly lesser-used system calls. The big unresolved issue is UID/GID mapping between guest filesystem IDs and the host. It's not easy to automate this because you need extra details about the guest itself in order to get to its UID->username map (eg. /etc/passwd from the guest).
* Allow callers to disable the recovery process.Richard Jones2009-11-032-26/+71
|
* New API call: preadRichard Jones2009-11-023-1/+64
| | | | | guestfs_pread lets you do partial file reads from arbitrary places within a file. It works like the pread(2) system call.
* New API calls: lstatlist, lxattrlist, readlinklist.Richard Jones2009-11-025-1/+398
| | | | | | | | These three functions are very specifically designed for FUSE support, so we can list directories efficiently. Instead of making lots of lstat, lgetxattr and readlink calls, we can make just three calls per directory to grab all the attributes (which we then cache briefly).
* New API calls: truncate, truncate_size, mkdir_mode, utimens, lchown.Richard Jones2009-11-0211-28/+347
| | | | | | | | | | | | | | | truncate, truncate_size: Used to truncate files to a particular size, or to zero bytes. mkdir_mode: Like mkdir but allows you to also specify the initial permissions for the new directory. utimens: Set timestamp on a file with nanosecond accuracy. lchown: Corresponding to lchown(2) syscall (we already have chown). The implementation is complicated by the fact that we had to add an Int64 parameter type to the generator.
* examples/to-xml.c: Don't depend on Gnulib function.Richard Jones2009-11-021-2/+2
| | | | | Since this program is just an example, it shouldn't require the Gnulib c-ctype functions.
* appliance: Don't rebuild the appliance every time configure runs.Richard Jones2009-11-022-2/+9
| | | | | | | | | | config.status touches make.sh each time it runs, even if the resulting script would not change. This causes the appliance to get rebuilt much more frequently than is necessary. There's no way to stop configure running, but we can move the config.status command into a Makefile rule to stop this undesirable behaviour.
* guestfish: Fix a third indentation problem.Richard Jones2009-11-021-1/+1
|
* guestfish: Another indentation fix.Richard Jones2009-11-021-1/+1
|
* guestfish: Fix printing of buffers in structs.Richard Jones2009-11-021-2/+2
| | | | | | | | | | Somehow an 'indent' string crept in there, so it was printing: <char><indent><char><indent><char>... instead of: <char><char><char>...
* Fix rstructs_used handling in guestfish generated code.Richard Jones2009-11-021-17/+7
| | | | | | | | | | | | rstructs_used wasn't correctly generating code for guestfish because guestfish doesn't make all functions visible. Since the calculation of rstructs_used was over all functions (including ones not available in guestfish) it could have generated unnecessary functions. In fact this error didn't affect us before - but I discovered it when I added some extra struct-returning functions (future commit).
* daemon: Don't warn on -Wunsafe-loop-optimizations.Richard Jones2009-11-021-0/+2
| | | | | Ignore -Wunsafe-loop-optimizations, same as in the top level configure file.
* Add hivex* documentation to website.Richard Jones2009-10-291-1/+6
|
* Add HTML documentation to website.Richard Jones2009-10-292-0/+32
|
* Prepare for 1.0.76.1.0.76Richard Jones2009-10-293-4/+4
|
* Fix misspelling in previous commit.Richard Jones2009-10-291-2/+2
|
* RHEL 5: Also add le{16,64}toh functionsRichard Jones2009-10-291-0/+12
|
* RHEL 5: Detect endianness functions and supply them.Richard Jones2009-10-294-2/+35
|
* Add virt-win-reg to toplevel Makefile.am, fix POTFILES.in1.0.75Richard Jones2009-10-292-1/+4
|
* Prepare for version 1.0.75.Richard Jones2009-10-294-701/+721
|
* Support for Windows Registry.Richard Jones2009-10-2919-3/+3604
| | | | | | | | | | | | | In hivex/: This mini-library allows us to extract Windows Registry binary files ("hives"). There are also two tools: hivexml converts a hive to a self-describing XML format. hivexget can be used to extract single subkeys from a hive. New tool: virt-win-reg. This is a wrapper around the library functionality allowing you to pull out data from the registries of Windows guests.
* New API: vfs_type - get the Linux VFS driver for a mounted device.Richard Jones2009-10-265-1/+68
|
* Modify Sys::Guestfs::Lib::resolve_windows_path to use case_sensitive_path.Richard Jones2009-10-261-29/+3
|
* guestfish: Add win: prefix to use Windows paths.Richard Jones2009-10-264-4/+78
| | | | | | | Add a win: prefix for path arguments in guestfish: ><fs> file win:c:\windows\system32\config\system.log MS Windows registry file, NT/2000 or above
* daemon: Change chdir to use openat/fdopendir.Richard Jones2009-10-264-9/+100
| | | | Uses Gnulib implementation of openat which should be portable.
* New API: case-sensitive-path to return case sensitive path on NTFS 3g fsRichard Jones2009-10-263-1/+181
| | | | | | | | | | | | | | | | | | | | This function handles an annoyance/peculiarity of the Linux NTFS 3g driver, which is that it exports NTFS filesystems with names case sensitive, even though under Windows they would be case insensitive. This causes problems because the location of (eg.) c:\windows might appear as /windows or /WINDOWS (etc) depending on the inconsequential details of how it was originally created. Example of this problem on a real Windows guest: ><fs> file /windows/system32/config/system.log libguestfs: error: file: access: /windows/system32/config/system.log: No such file or directory ><fs> case-sensitive-path /windows/system32/config/system.log /WINDOWS/system32/config/system.LOG ><fs> file /WINDOWS/system32/config/system.LOG MS Windows registry file, NT/2000 or above
* inspector: Remove inaccurate paragraph from documentation.Richard Jones2009-10-261-4/+0
|
* Include HFS (Mac OS X) driver.Richard Jones2009-10-251-1/+2
|
* Set LC_ALL=C before running qemu.Richard Jones2009-10-211-2/+4
|
* init: Check that start_udev succeededMatthew Booth2009-10-211-2/+2
| | | | | | | If start_udev fails for any reason, notice and fall through to manual /dev creation. Patch from Charles Duffy <charles@dyfis.net>