summaryrefslogtreecommitdiffstats
path: root/rescue
Commit message (Collapse)AuthorAgeFilesLines
* maint: use spaces, not TABs for indentationJim Meyering2009-09-241-1/+1
| | | | | | | | "make syntax-check" was failing. This fixes it. * HACKING: Indent with spaces, not TABs. * configure.ac: Likewise. * rescue/virt-rescue: Likewise. * src/generator.ml: Likewise.
* Include virt tools in EXTRA_DIST.Richard Jones2009-09-231-1/+2
| | | | | | Partially revert b488436cc54288fcae8988493749f2e6c87f274c. It turns out that automake doesn't automatically place bin_SCRIPTS in EXTRA_DIST.
* Rename virt-[tool].pl as virt-[tool]Richard Jones2009-09-232-8/+4
|
* Check return value from readlink.Richard Jones2009-09-231-1/+1
|
* Create manpage atomically.Richard Jones2009-09-231-1/+1
| | | | Don't fail with a partial file if disk full, etc.
* Replace @...@ with $(...) in these common Makefile.am files.Richard Jones2009-09-231-4/+4
|
* Add 'virt-rescue' command.Richard Jones2009-09-233-0/+270
This command runs a "rescue appliance" against a virtual machine or disk image. This is useful for making ad-hoc interactive changes to virtual machines. $ virt-rescue --ro /dev/vg_trick/F11x64 Welcome to virt-rescue, the libguestfs rescue shell. Note: The contents of / are the rescue appliance. You have to mount the guest's partitions under /sysroot before you will be able to examine them. bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell ><rescue> mount /dev/vg_f11x64/lv_root /sysroot EXT4-fs (dm-0): barriers enabled kjournald2 starting: pid 269, dev dm-0:8, commit interval 5 seconds EXT4-fs (dm-0): internal journal on dm-0:8 EXT4-fs (dm-0): delayed allocation enabled EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs (dm-0): mounted filesystem with ordered data mode ><rescue> ls /sysroot/ bin dev home lib64 media opt root selinux sys usr boot etc lib lost+found mnt proc sbin srv tmp var ><rescue> exit