X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=tools%2Fvirt-edit;h=e00e4cfb0ec1e903626671fd7b947d21cda1b236;hb=000f8059a53860ddf3319c1f54d4df5dcd6aa846;hp=46e86a179202c5565008bb5da2196f2d5b53c911;hpb=945b6e0a085611b45b2ab0752a66e6e60b21666c;p=libguestfs.git diff --git a/tools/virt-edit b/tools/virt-edit index 46e86a1..e00e4cf 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 use C on live virtual machines. If you do +this, you risk disk corruption in the VM. C tries to stop +you from doing this, but doesn't catch all cases. + =head1 DESCRIPTION C is a command line tool to edit C where C exists in the named virtual machine (or disk image). -B you must I 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. For more complex cases you should look at the L tool. @@ -130,7 +133,6 @@ my %fses = my $oses = inspect_operating_systems ($g, \%fses); my @roots = keys %$oses; -die __"no root device found in this operating system image" if @roots == 0; die __"multiboot operating systems are not supported by virt-edit" if @roots > 1; my $root_dev = $roots[0]; @@ -189,7 +191,7 @@ L. =head1 AUTHOR -Richard W.M. Jones L +Richard W.M. Jones L =head1 COPYRIGHT