summaryrefslogtreecommitdiffstats
path: root/guestfish.pod
Commit message (Collapse)AuthorAgeFilesLines
* Move guestfs(3) and guestfish(1) man pages into subdirectories.Richard Jones2009-12-311-749/+0
| | | | | | | | These manual pages have for a very long time 'lived' in the top source directory. Clean up this situation by moving those manual pages (plus associated generated files) into the src/ and fish/ subdirectories respectively.
* guestfish: Freshen documentation.Richard Jones2009-11-261-28/+61
|
* New tool: virt-list-filesystemsRichard Jones2009-11-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Use this program as a convenient way to list the filesystems available in a disk image or libvirt guest. Example: $ virt-list-filesystems /dev/vg_trick/Debian5x64 /dev/debian5x64/home /dev/debian5x64/root /dev/debian5x64/tmp /dev/debian5x64/usr /dev/debian5x64/var /dev/sda1 This is designed to make it easier for novices to use guestfish and guestmount. In particular with guestmount this acts as a way to get a list of filesystems to use with the '-m' option. ie: $ virt-list-filesystems unknowndisk.img /dev/sda1 /dev/sda2 $ guestmount -a unknowndisk.img -m /dev/sda1 /mnt
* Docs: group preformatted sections of text together.Richard W.M. Jones2009-11-131-3/+3
|
* Generic partition creation interface.Richard Jones2009-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a generic partition creation interface which should be future-proof and extensible, and partially replaces the old sfdisk-based interface. The implementation is based on parted but is hopefully not too dependent on the particulars of parted. The following new calls are introduced: guestfs_part_init: Initialize a disk with a partition table. Unlike the sfdisk- based interface, we also support GPT and other partition types, which is essential to scale to devices larger than 2TB. guestfs_part_add: Add a partition to an existing disk. guestfs_part_disk: Convenience function which combines part_init & part_add, creating a single partition that covers the whole disk. guestfs_part_set_bootable: guestfs_part_set_name: Set various aspects of existing partitions. guestfs_part_list: List partitions on a device. This returns a programming-friendly list of partition structs (in contrast to sfdisk-l which cannot be parsed). guestfs_part_get_parttype: Return the partition table type, eg. "msdos" or "gpt". The following calls are planned, but not added currently: guestfs_part_get_bootable guestfs_part_get_name guestfs_part_set_type guestfs_part_get_type
* fish: Allow <nn>P and <nn>E for petabyte and exabyte allocations.Richard Jones2009-11-041-0/+16
|
* fish: Allow <nn>T for terabyte allocations.Richard Jones2009-11-041-0/+8
|
* fish: New command 'sparse', like 'alloc' but to generate sparse files.Richard Jones2009-11-041-0/+37
| | | | | | | | | | | | | | | | | 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
* guestfish: Add win: prefix to use Windows paths.Richard Jones2009-10-261-0/+17
| | | | | | | 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
* New tool: virt-lsRichard Jones2009-10-201-0/+1
| | | | | | | | | This tool makes available the functionality of "ls", "ll", and "find" in a slightly simpler to use form. Examples: virt-ls -l myguest /tmp
* New tool: virt-tarRichard Jones2009-10-201-1/+2
| | | | | | | | | | | | This adds a new tool call virt-tar which is a general purpose archive and uploading tool. It doesn't add any functionality which wasn't previously possible using guestfish, but makes it simpler to access for some users. Examples: virt-tar -zx myguest /home home.tar.gz virt-tar -zu myguest uploadstuff.tar.gz /tmp
* guestfish: Update 'SEE ALSO' section of the manpage.Richard Jones2009-09-231-1/+4
|
* guestfish: Enable grouping in string listsMatthew Booth2009-09-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | This change adds the ability to group entries in a string list with single quotes. So the string: "'foo bar'" becomes 1 token rather than 2. Consequently single quotes must now be escaped: "\'" resolves to a literal single quote. Incidentally, this change also alters another, probably unintentional behaviour of the previous implementation, in that tokens are separated by any amount of whitespace rather than a single whitespace character. I.e.: "a b" resolves to: 'a' 'b' rather than: 'a' '' 'b' That last syntax can be used if an empty argument is still desired. Whitespace is now also defined to include tabs. parse_string_list can also now fail if it contains an unmatched open quote.
* Add command trace functionality.Richard Jones2009-09-141-0/+4
| | | | | Enable this by calling guestfs_trace (handle, 1) or by setting the LIBGUESTFS_TRACE=1 environment variable.
* guestfish: Redirect stdout when executing remote commandsMatthew Booth2009-09-141-7/+0
| | | | | | | | | | | guestfish --listen necessarily redirects its stdout to /dev/null so as not to interfere with eval. The remote protocol doesn't contain any other provision for collecting stdout for the caller, so executing guestfish --remote will never generate any output. This patch fixes that by forwarding the caller's STDOUT to the listener over the unix socket connection. The listener redirects its STDOUT to the caller's STDOUT for the duration of the command, then closes it again.
* guestfish: Add --selinux option.Richard Jones2009-08-131-3/+7
|
* Revert "Add 'set-kernel'/'get-kernel'/LIBGUESTFS_KERNEL to override ↵Richard Jones2009-07-221-4/+0
| | | | | | appliance kernel." This reverts commit 34d2df41626f1ee4172a6d40b06d72d6ed9d6348.
* Add 'set-kernel'/'get-kernel'/LIBGUESTFS_KERNEL to override appliance kernel.Richard Jones2009-07-221-0/+4
| | | | | This allows you to override the appliance kernel with an easy command or environment variable.
* Allow TMPDIR to override directory used for temporary files (RHBZ#512905).Richard W.M. Jones2009-07-211-0/+10
|
* guestfish: Add tilde expansion for paths (RHBZ#511372).Richard Jones2009-07-151-0/+14
| | | | | | | | | | | | | | | | | | | This commit adds tilde expansion for local users in guestfish: ><fs> echo "~" ~ ><fs> echo ~ /home/rjones ><fs> echo ~foo ~foo ><fs> echo ~rjones/bar /home/rjones/bar ><fs> echo ~roo ~roo ><fs> echo ~root/foo /root/foo ><fs> echo ~root /root
* Guestfish feature: remote control of guestfish over a pipe.Richard Jones2009-07-141-2/+76
| | | | | | | | | | | | | | | | | The use case is to have a long-running guestfish process in a shell script, and thus to avoid the overhead of starting guestfish each time. Do: eval `guestfish --listen` guestfish --remote somecmd guestfish --remote someothercmd guestfish --remote exit This patch also supports having multiple guestfish processes at the same time. The protocol is simple XDR messages over a Unix domain socket.
* Order alphabetically the options in guestfish.1 manpage.Richard Jones2009-07-131-11/+11
|
* Guestfish: implement -x option, echo commands before executing them.Richard W.M. Jones2009-07-111-0/+4
|
* Guestfish: Add 'reopen' command to reopen the libguestfs handle.Richard W.M. Jones2009-07-111-0/+8
|
* remove trailing blanksJim Meyering2009-07-031-3/+3
|
* Add the guestfish 'time' command.Richard W.M. Jones2009-07-021-0/+7
| | | | | ><fs> time sfdisk /dev/sda 0 0 0 , elapsed time: 6.12 seconds
* Reorder the environment variables alphabetically in the documentation.Richard W.M. Jones2009-07-011-18/+18
|
* Document the $PAGER environment variable.Richard W.M. Jones2009-07-011-0/+5
|
* Document the LIBGUESTFS_MEMSIZE environment variable.Richard W.M. Jones2009-07-011-0/+7
|
* Rearrange guestfish commands in the manpage.Richard W.M. Jones2009-06-291-21/+26
|
* Add missing documentation for new 'more' and 'less' commands in guestfish.Richard W.M. Jones2009-06-291-0/+14
|
* Guestfish pipes.Richard W.M. Jones2009-06-281-0/+26
|
* Document the guestfish --version option in the manual page.Richard W.M. Jones2009-06-241-0/+4
|
* Added guestfish -i option to run virt-inspector.Richard W.M. Jones2009-06-241-0/+28
| | | | | | You can invoke guestfish with: guestfish -i libvirt-domain guestfish -i disk-image(s)
* Implement guestfish -f option to allow guestfish scripts.Richard W.M. Jones2009-06-241-2/+16
| | | | | New '-f' option allows scripts to be written using: #!/usr/bin/guestfish -f
* Add 'glob' command for guestfish.Richard Jones2009-06-221-0/+36
|
* Add tab-completion of guest filenames (currently disabled).Richard Jones2009-06-181-0/+7
|
* New website, change et.redhat.com references to libguestfs.org1.0.43Richard Jones2009-06-091-2/+2
|
* Add missing documentation for guestfish 'lcd' command.Richard Jones2009-06-081-0/+9
|
* Add 'append', LIBGUESTFS_APPEND to set additional kernel options.Richard W.M. Jones2009-05-131-0/+4
|
* Implement -command (to ignore errors) in guestfish, and allow recovery from ↵Richard Jones2009-05-081-0/+16
| | | | qemu process failure.
* Implement !local in guestfish.Richard W.M. Jones2009-05-011-0/+13
|
* Add documentation for the 'edit' and 'echo' commands.Richard Jones2009-04-301-0/+25
|
* Added a comment syntax to guestfish (# ...).Richard Jones2009-04-301-0/+12
|
* Added the --ro option (readonly) to guestfish.Richard Jones2009-04-261-0/+5
|
* Allow qemu binary to be overridden at runtime.Richard Jones2009-04-221-0/+6
|
* 'guestfish edit' commands and several bugfixes.Richard Jones2009-04-151-1/+1
|
* Quoting in guestfish.Richard Jones2009-04-141-0/+16
|
* Added bindings for GNU readline.Richard Jones2009-04-141-0/+5
|
* Generate webpages.Richard Jones2009-04-091-5/+1
|