Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version 1.3.19.1.3.19 | Richard Jones | 2010-06-04 | 14 | -21/+33 |
| | | | | Update BUGS and PO files. | ||||
* | file: Restrict to regular files (RHBZ#582484). | Richard Jones | 2010-06-04 | 2 | -16/+53 |
| | | | | | | | | | | | | | | | | | | | | | | The file call can hang if called on char devices (because we are using the file -s option). This is hard to solve cleanly without adding another file API. However this restricts file to regular files, unless called explicitly with a /dev/ path. For non-regular files, it will now return a string like "directory". There is a small semantic change for symbolic links. Previously it would not have worked at all on absolute links (or rather, the results would have been undefined). It would have treated relative symlinks to regular files as the regular file itself. Now it will return the string "symbolic link" in both cases. This commit also makes the API safe when called on untrusted filesystems. Previously a filesystem might have been set up so that (eg) /etc/redhat-release was a char device, which would have caused virt-inspector and virt-v2v to hang. Now it will not hang. | ||||
* | touch: Restrict touch to regular files only (RHBZ#582484). | Richard Jones | 2010-06-04 | 2 | -1/+24 |
| | |||||
* | daemon: Rearrange code in 'file' command. | Richard Jones | 2010-06-04 | 1 | -16/+15 |
| | | | | | | | | path = path to access file (/sysroot/.. or /dev/..) display_path = original path, saved so we can display it buf = optional buffer which is freed along return codepaths There should be no change to the semantics of the code. | ||||
* | gnulib: Ignore asm-underscore.m4 in the correct place. | Richard Jones | 2010-06-04 | 2 | -1/+1 |
| | |||||
* | Update to latest gnulib. | Richard Jones | 2010-06-04 | 3 | -0/+2 |
| | |||||
* | mkfs-b: Map block size to cluster size for VFAT and NTFS partitions ↵ | Richard Jones | 2010-06-03 | 2 | -7/+51 |
| | | | | | | | (RHBZ#599464). This also adds a regression test for VFAT and (conditionally) NTFS filesystems. | ||||
* | mkfs-b: Check that blocksize parameter is > 0 and a power of 2. | Richard Jones | 2010-06-03 | 3 | -0/+14 |
| | |||||
* | generator: Allow individual tests to depend on daemon features. | Richard Jones | 2010-06-03 | 1 | -2/+12 |
| | | | | | | | | Using IfAvailable "featurename" we allow individual tests to only run if the feature is available in the daemon. This will allow us to extend testing to a lot more optional features such as NTFS. | ||||
* | tests: Factor out common code into 'is_available' function. | Richard Jones | 2010-06-03 | 1 | -10/+16 |
| | | | | This commit is just code motion. | ||||
* | grub-install: Enable grub-install tests and create explicit device.map file. | Richard Jones | 2010-06-03 | 1 | -4/+7 |
| | |||||
* | grub-install: In docs suggest manually creating device.map (RHBZ#484986). | Richard Jones | 2010-06-03 | 1 | -1/+12 |
| | |||||
* | Version 1.3.18.1.3.18 | Richard Jones | 2010-06-02 | 14 | -48/+58 |
| | | | | Update BUGS and PO files. | ||||
* | RHEL 6: sr_mod.ko is needed for RHEL 6 to see CD-ROM devices (RHBZ#598807). | Richard Jones | 2010-06-02 | 1 | -0/+1 |
| | |||||
* | parted: Check partition number >= 1 in several calls. | Richard Jones | 2010-06-02 | 1 | -0/+30 |
| | |||||
* | daemon: Parse output of old parted which didn't support -m option (RHBZ#598309). | Richard Jones | 2010-06-02 | 1 | -83/+284 |
| | | | | | | | | This fixes the following commands when run with RHEL 5-era parted: get-bootable get-parttype part-list | ||||
* | daemon: count_strings function returns size_t | Richard Jones | 2010-06-02 | 3 | -4/+4 |
| | |||||
* | base64-in: Ignore garbage characters in input. | Richard Jones | 2010-06-02 | 1 | -1/+1 |
| | | | | | | | | On RHEL 5 you have to specify the -i option to get the external 'base64' command to ignore \n characters. (The Fedora version seems to ignore these characters anyway). Add this option so the tests can pass on RHEL 5. | ||||
* | resize2fs: Document this command also works with ext4 (thanks Yufang Zhang). | Richard Jones | 2010-06-02 | 1 | -3/+3 |
| | |||||
* | fish: help command return error for non-existent commands (RHBZ#597145). | Richard Jones | 2010-06-02 | 3 | -28/+62 |
| | | | | | | | | | | | | | | With this change, the exit status indicates error for non-existent commands. $ guestfish -h foo foo: command not known, use -h to list all commands $ echo $? 1 $ guestfish help foo foo: command not known, use -h to list all commands $ echo $? 1 | ||||
* | daemon: write-file: Check range of size parameter (RHBZ#597135). | Richard Jones | 2010-06-02 | 2 | -2/+25 |
| | | | | This also adds a regression test. | ||||
* | daemon: Limit label lengths (RHBZ#597118). | Richard Jones | 2010-06-02 | 2 | -0/+42 |
| | |||||
* | Update BUGS and PO files. | Richard Jones | 2010-06-02 | 13 | -6827/+6289 |
| | |||||
* | Fix and deprecate get_e2label and get_e2uuid (RHBZ#597112). | Richard Jones | 2010-06-01 | 2 | -85/+10 |
| | | | | | | | | | Fix these calls (see description in RHBZ#597112), but also deprecate them since the new calls vfs_label and vfs_uuid can work on any filesystem type. This also adds a regression test for the original bug reported in RHBZ#597112. | ||||
* | New APIs: vfs-label and vfs-uuid return label and uuid for many fs types. | Richard Jones | 2010-06-01 | 3 | -1/+36 |
| | | | | | | | | | | | These APIs generalize the existing 'get-e2label' and 'get-e2uuid' calls, to provide calls which should be able to get the label and UUID for most filesystem types. These use 'blkid' to do the work. I have tested that the blkid commands themselves work on RHEL 5. (Suggested by Yufang Zhang). | ||||
* | daemon: Kill blkid cache to improve reliability of blkid commands. | Richard Jones | 2010-06-01 | 1 | -0/+7 |
| | | | | | By killing the cache file, we make blkid work in situations such as a just-created filesystem. | ||||
* | daemon: Generalize the implementation of vfs-type. | Richard Jones | 2010-06-01 | 1 | -3/+9 |
| | | | | Note that there is no change to the semantics of the code. | ||||
* | todo: Should generate -N option. | Richard Jones | 2010-05-28 | 1 | -0/+6 |
| | |||||
* | todo: Remove implemented resize functions from TODO file. | Richard Jones | 2010-05-28 | 1 | -17/+0 |
| | |||||
* | Make the supermin appliance include local augeas lenses | Matthew Booth | 2010-05-27 | 1 | -0/+3 |
| | |||||
* | Rely on new augeas lens for modules.conf and conf.modules | Matthew Booth | 2010-05-27 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | Latest augeas includes a lens for /etc/modules.conf. If this new lens is present, the code to force the Modprobe lens to try to match /etc/modules.conf as well results in /etc/modules.conf not being parsed at all. This results in modprobe_aliases in virt-inspector output being empty. This change is equivalent to change cfd28d1140393667913689b7b9bcf21c8bfe592c from virt-v2v. An effect of this change is that the Modules_conf augeas lens is now required for correct operation on guests which use /etc/modules.conf. Fixes RHBZ#596776 | ||||
* | Updates to Spanish translation (RHBZ#596763). | Daniel Cabrera | 2010-05-27 | 1 | -738/+1450 |
| | |||||
* | Version 1.3.17.1.3.17 | Richard Jones | 2010-05-27 | 14 | -5358/+5364 |
| | |||||
* | Fix documentation for vfs-type to reflect reality. | Richard Jones | 2010-05-27 | 1 | -5/+6 |
| | |||||
* | Clarify documentation on distro backports in version command. | Richard Jones | 2010-05-27 | 1 | -2/+4 |
| | |||||
* | Add reference to version number documentation to version command. | Richard Jones | 2010-05-27 | 1 | -0/+2 |
| | |||||
* | Clarify sparse behaviour of truncate-size command. | Richard Jones | 2010-05-27 | 1 | -2/+7 |
| | |||||
* | Fix typo in documentation of guestfs_readlinklist. | Richard Jones | 2010-05-27 | 1 | -1/+1 |
| | |||||
* | Fix missing word in docuentation of guestfs_readdir. | Richard Jones | 2010-05-27 | 1 | -1/+1 |
| | |||||
* | Revise documentation on creating files. | Richard Jones | 2010-05-27 | 1 | -1/+5 |
| | |||||
* | New API: fallocate64 (replaces fallocate). | Richard Jones | 2010-05-27 | 3 | -2/+35 |
| | | | | | | guestfs_fallocate takes an integer for the length, effectively limiting it to creating 1GB files. This new call takes an int64_t for the length, but is otherwise identical. | ||||
* | Fix typo in description of echo-daemon command. | Richard Jones | 2010-05-26 | 1 | -2/+2 |
| | |||||
* | Version 1.3.16.1.3.16 | Richard Jones | 2010-05-25 | 14 | -15/+15 |
| | |||||
* | Add bash complation script to EXTRA_DIST. | Richard Jones | 2010-05-25 | 1 | -1/+2 |
| | |||||
* | Version 1.3.15.1.3.15 | Richard Jones | 2010-05-25 | 14 | -6058/+6428 |
| | |||||
* | Add tests for available-all-groups command. | Richard Jones | 2010-05-25 | 1 | -1/+1 |
| | |||||
* | fish: First pass at guestfish bash completion script. | Richard Jones | 2010-05-25 | 2 | -1/+96 |
| | |||||
* | fish: Don't eat words when completing case-insensitive paths (RHBZ#582993). | Richard Jones | 2010-05-25 | 3 | -1/+37 |
| | |||||
* | fish: Sort returned paths so the list is stable across multiple calls. | Richard Jones | 2010-05-25 | 1 | -0/+11 |
| | |||||
* | fish: Document test1.img, test2.img etc used by -N option in FILES section. | Richard Jones | 2010-05-25 | 1 | -0/+9 |
| |