diff options
author | Richard Jones <rjones@redhat.com> | 2009-10-19 10:45:44 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-10-19 10:45:44 +0100 |
commit | 5c4bf92bc298e078ceccdde603313282d038544c (patch) | |
tree | c8f9908718c07f5aedb139d3c95b9d913f914d72 /tools/virt-edit | |
parent | 945b6e0a085611b45b2ab0752a66e6e60b21666c (diff) | |
download | libguestfs-5c4bf92bc298e078ceccdde603313282d038544c.tar.gz libguestfs-5c4bf92bc298e078ceccdde603313282d038544c.tar.xz libguestfs-5c4bf92bc298e078ceccdde603313282d038544c.zip |
tools: Make warnings about running on live guests more prominent.
Add prominent warnings to the man pages about how it is dangerous
to run these tools against live guests.
Diffstat (limited to 'tools/virt-edit')
-rwxr-xr-x | tools/virt-edit | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/virt-edit b/tools/virt-edit index 46e86a17..9196a663 100755 --- a/tools/virt-edit +++ b/tools/virt-edit @@ -40,14 +40,17 @@ virt-edit - Edit a file in a virtual machine virt-edit [--options] disk.img [disk.img ...] file +=head1 WARNING + +You must I<not> use C<virt-edit> on live virtual machines. If you do +this, you risk disk corruption in the VM. C<virt-edit> tries to stop +you from doing this, but doesn't catch all cases. + =head1 DESCRIPTION C<virt-edit> is a command line tool to edit C<file> where C<file> exists in the named virtual machine (or disk image). -B<Note> you must I<not> use virt-edit on live virtual machines. If -you do this, you risk disk corruption in the VM. - If you want to just view a file, use L<virt-cat(1)>. For more complex cases you should look at the L<guestfish(1)> tool. |