+#: ../edit/virt-edit.pod:219
+#, no-wrap
+msgid ""
+" virt-edit -d domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:221
+msgid ""
+"What really happens is that the snippet is evaluated as a Perl expression "
+"for each line of the file. The line, including the final C<\\n>, is passed "
+"in C<$_> and the expression should update C<$_> or leave it unchanged."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:226
+msgid ""
+"To delete a line, set C<$_> to the empty string. For example, to delete the "
+"C<apache> user account from the password file you can do:"
+msgstr ""
+
+#. type: verbatim
+#: ../edit/virt-edit.pod:229
+#, no-wrap
+msgid ""
+" virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:231
+msgid ""
+"To insert a line, prepend or append it to C<$_>. However appending lines to "
+"the end of the file is rather difficult this way since there is no concept "
+"of \"last line of the file\" - your expression just doesn't get called "
+"again. You might want to use the first method (setting C<$EDITOR>) if you "
+"want to do this."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:237
+msgid ""
+"The variable C<$lineno> contains the current line number. As is "
+"traditional, the first line in the file is number C<1>."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:240
+msgid ""
+"The return value from the expression is ignored, but the expression may call "
+"C<die> in order to abort the whole program, leaving the original file "
+"untouched."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:244
+msgid ""
+"Remember when matching the end of a line that C<$_> may contain the final C<"
+"\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
+"newline then neither of these. Thus to match or substitute some text at the "
+"end of a line, use this regular expression:"
+msgstr ""
+
+#. type: verbatim
+#: ../edit/virt-edit.pod:249
+#, no-wrap
+msgid ""
+" /some text(\\r?\\n)?$/\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:251
+msgid ""
+"Alternately, use the perl C<chomp> function, being careful not to chomp C<"
+"$_> itself (since that would remove all newlines from the file):"
+msgstr ""
+
+#. type: verbatim
+#: ../edit/virt-edit.pod:255
+#, no-wrap
+msgid ""
+" my $m = $_; chomp $m; $m =~ /some text$/\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:259
+msgid ""
+"C<virt-edit> has a limited ability to understand Windows drive letters and "
+"paths (eg. C<E:\\foo\\bar.txt>)."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:278
+msgid ""
+"The path is resolved case insensitively to locate the file that should be "
+"edited."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:299
+msgid ""
+"L<guestfish(1)> is a more powerful, lower level tool which you can use when "
+"C<virt-edit> doesn't work."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:302
+msgid "Using C<virt-edit> is approximately equivalent to doing:"
+msgstr ""
+
+#. type: verbatim
+#: ../edit/virt-edit.pod:304
+#, no-wrap
+msgid ""
+" guestfish --rw -i -d domname edit /file\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:306
+msgid ""
+"where C<domname> is the name of the libvirt guest, and C</file> is the full "
+"path to the file."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:309
+msgid ""
+"The command above uses libguestfs's guest inspection feature and so does not "
+"work on guests that libguestfs cannot inspect, or on things like arbitrary "
+"disk images that don't contain guests. To edit a file on a disk image "
+"directly, use:"
+msgstr ""
+
+#. type: verbatim
+#: ../edit/virt-edit.pod:314
+#, no-wrap
+msgid ""
+" guestfish --rw -a disk.img -m /dev/sda1 edit /file\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:316
+msgid ""
+"where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
+"the disk image to edit, and C</file> is the full path to the file."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:320
+msgid ""
+"C<virt-edit> cannot create new files. Use the guestfish commands C<touch>, "
+"C<write> or C<upload> instead:"
+msgstr ""
+
+#. type: verbatim
+#: ../edit/virt-edit.pod:323
+#, no-wrap
+msgid ""
+" guestfish --rw -i -d domname touch /newfile\n"
+"\n"
+msgstr ""
+
+#. type: verbatim
+#: ../edit/virt-edit.pod:325
+#, no-wrap
+msgid ""
+" guestfish --rw -i -d domname write /newfile \"new content\"\n"
+"\n"
+msgstr ""
+
+#. type: verbatim
+#: ../edit/virt-edit.pod:327
+#, no-wrap
+msgid ""
+" guestfish --rw -i -d domname upload localfile /newfile\n"
+"\n"
+msgstr ""
+
+#. type: =head1
+#: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1119
+#: ../rescue/virt-rescue.pod:298 ../sparsify/virt-sparsify.pod:250
+#: ../src/guestfs.pod:3214 ../test-tool/libguestfs-test-tool.pod:95
+msgid "ENVIRONMENT VARIABLES"
+msgstr ""
+
+#. type: =item
+#: ../edit/virt-edit.pod:333
+msgid "C<EDITOR>"
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:335
+msgid ""
+"If set, this string is used as the editor. It may contain arguments, eg. C<"
+"\"emacs -nw\">"
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:338
+msgid "If not set, C<vi> is used."
+msgstr ""
+
+#. type: textblock
+#: ../edit/virt-edit.pod:356
+msgid ""
+"L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
+"tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
+"L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:5
+msgid "guestfs-erlang - How to use libguestfs from Erlang"
+msgstr ""
+
+#. type: verbatim
+#: ../erlang/examples/guestfs-erlang.pod:9
+#, no-wrap
+msgid ""
+" {ok, G} = guestfs:create(),\n"
+" ok = guestfs:add_drive_opts(G, Disk,\n"
+" [{format, \"raw\"}, {readonly, true}]),\n"
+" ok = guestfs:launch(G),\n"
+" [Device] = guestfs:list_devices(G),\n"
+" ok = guestfs:close(G).\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:18
+msgid ""
+"This manual page documents how to call libguestfs from the Erlang "
+"programming language. This page just documents the differences from the C "
+"API and gives some examples. If you are not familiar with using libguestfs, "
+"you also need to read L<guestfs(3)>."
+msgstr ""
+
+#. type: =head2
+#: ../erlang/examples/guestfs-erlang.pod:23
+msgid "OPENING AND CLOSING THE HANDLE"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:25
+msgid ""
+"The Erlang bindings are implemented using an external program called C<erl-"
+"guestfs>. This program must be on the current PATH, or else you should "
+"specify the full path to the program:"
+msgstr ""
+
+#. type: verbatim
+#: ../erlang/examples/guestfs-erlang.pod:29
+#, no-wrap
+msgid ""
+" {ok, G} = guestfs:create().\n"
+"\n"
+msgstr ""
+
+#. type: verbatim
+#: ../erlang/examples/guestfs-erlang.pod:31
+#, no-wrap
+msgid ""
+" {ok, G} = guestfs:create(\"/path/to/erl-guestfs\").\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:33
+msgid "C<G> is the libguestfs handle which you should pass to other functions."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:36
+msgid "To close the handle:"
+msgstr ""
+
+#. type: verbatim
+#: ../erlang/examples/guestfs-erlang.pod:38
+#, no-wrap
+msgid ""
+" ok = guestfs:close(G).\n"
+"\n"
+msgstr ""
+
+#. type: =head2
+#: ../erlang/examples/guestfs-erlang.pod:40
+msgid "FUNCTIONS WITH OPTIONAL ARGUMENTS"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:42
+msgid ""
+"For functions that take optional arguments, the first arguments are the non-"
+"optional ones. The last argument is a list of tuples supplying the "
+"remaining optional arguments."
+msgstr ""
+
+#. type: verbatim
+#: ../erlang/examples/guestfs-erlang.pod:46
+#, no-wrap
+msgid ""
+" ok = guestfs:add_drive_opts(G, Disk,\n"
+" [{format, \"raw\"}, {readonly, true}]).\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:49
+msgid "If the last argument would be an empty list, you can also omit it:"
+msgstr ""
+
+#. type: verbatim
+#: ../erlang/examples/guestfs-erlang.pod:51
+#, no-wrap
+msgid ""
+" ok = guestfs:add_drive_opts(G, Disk).\n"
+"\n"
+msgstr ""
+
+#. type: =head2
+#: ../erlang/examples/guestfs-erlang.pod:53
+msgid "RETURN VALUES AND ERRORS"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:55
+msgid ""
+"On success, most functions return a C<Result> term (which could be a list, "
+"string, tuple etc.). If there is nothing for the function to return, then "
+"the atom C<ok> is returned."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:59
+msgid "On error, you would see one of the following tuples:"
+msgstr ""
+
+#. type: =item
+#: ../erlang/examples/guestfs-erlang.pod:63
+msgid "C<{error, Msg, Errno}>"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:65
+msgid "This indicates an ordinary error from the function."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:67
+msgid ""
+"C<Msg> is the error message (string) and C<Errno> is the Unix error "
+"(integer)."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:70
+msgid "C<Errno> can be zero. See L<guestfs(3)/guestfs_last_errno>."
+msgstr ""
+
+#. type: =item
+#: ../erlang/examples/guestfs-erlang.pod:72
+msgid "C<{unknown, Function}>"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:74
+msgid ""
+"This indicates that the function you called is not known. Generally this "
+"means you are mixing C<erl-guestfs> from another version of libguestfs, "
+"which you should not do."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:78
+msgid "C<Function> is the name of the unknown function."
+msgstr ""
+
+#. type: =item
+#: ../erlang/examples/guestfs-erlang.pod:80
+msgid "C<{unknownarg, Arg}>"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:82
+msgid ""
+"This indicates that you called a function with optional arguments, with an "
+"unknown argument name."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:85
+msgid "C<Arg> is the name of the unknown argument."
+msgstr ""
+
+#. type: =head1
+#: ../erlang/examples/guestfs-erlang.pod:89
+#: ../examples/guestfs-examples.pod:25 ../java/examples/guestfs-java.pod:37
+#: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31
+#: ../python/examples/guestfs-python.pod:34
+#: ../ruby/examples/guestfs-ruby.pod:28
+msgid "EXAMPLE 1: CREATE A DISK IMAGE"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:91
+#: ../examples/guestfs-examples.pod:27 ../java/examples/guestfs-java.pod:39
+#: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33
+#: ../python/examples/guestfs-python.pod:36
+#: ../ruby/examples/guestfs-ruby.pod:30
+msgid "@EXAMPLE1@"
+msgstr ""
+
+#. type: =head1
+#: ../erlang/examples/guestfs-erlang.pod:93
+#: ../examples/guestfs-examples.pod:29 ../java/examples/guestfs-java.pod:41
+#: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35
+#: ../python/examples/guestfs-python.pod:38
+#: ../ruby/examples/guestfs-ruby.pod:32
+msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:95
+#: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43
+#: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
+#: ../python/examples/guestfs-python.pod:40
+#: ../ruby/examples/guestfs-ruby.pod:34
+msgid "@EXAMPLE2@"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:99
+msgid ""
+"L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
+">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
+"L<guestfs-ruby(3)>, L<http://www.erlang.org/>. L<http://libguestfs.org/>."
+msgstr ""
+
+#. type: =head1
+#: ../erlang/examples/guestfs-erlang.pod:110
+#: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397
+#: ../examples/guestfs-testing.pod:298 ../fish/guestfish.pod:1296
+#: ../fish/virt-copy-in.pod:60 ../fish/virt-copy-out.pod:49
+#: ../fish/virt-tar-in.pod:58 ../fish/virt-tar-out.pod:51
+#: ../fuse/guestmount.pod:328 ../inspector/virt-inspector.pod:404
+#: ../java/examples/guestfs-java.pod:58 ../ocaml/examples/guestfs-ocaml.pod:91
+#: ../perl/examples/guestfs-perl.pod:52
+#: ../python/examples/guestfs-python.pod:54
+#: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3354
+#: ../test-tool/libguestfs-test-tool.pod:106
+msgid "AUTHORS"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:112
+#: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:399
+#: ../examples/guestfs-testing.pod:300 ../fish/guestfish.pod:1298
+#: ../fish/virt-copy-in.pod:62 ../fish/virt-copy-out.pod:51
+#: ../fish/virt-tar-in.pod:60 ../fish/virt-tar-out.pod:53
+#: ../fuse/guestmount.pod:330 ../java/examples/guestfs-java.pod:60
+#: ../ocaml/examples/guestfs-ocaml.pod:93 ../perl/examples/guestfs-perl.pod:54
+#: ../python/examples/guestfs-python.pod:56
+#: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3356
+#: ../test-tool/libguestfs-test-tool.pod:108
+msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:116
+#: ../examples/guestfs-testing.pod:304 ../java/examples/guestfs-java.pod:64
+#: ../perl/examples/guestfs-perl.pod:58
+msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:118
+#: ../examples/guestfs-examples.pod:53 ../examples/guestfs-recipes.pod:405
+#: ../java/examples/guestfs-java.pod:66 ../ocaml/examples/guestfs-ocaml.pod:99
+#: ../perl/examples/guestfs-perl.pod:60
+#: ../python/examples/guestfs-python.pod:62
+#: ../ruby/examples/guestfs-ruby.pod:56
+msgid ""
+"The examples in this manual page may be freely copied, modified and "
+"distributed without any restrictions."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:121
+#: ../examples/guestfs-examples.pod:56 ../examples/guestfs-recipes.pod:408
+#: ../examples/guestfs-testing.pod:306 ../java/examples/guestfs-java.pod:69
+#: ../ocaml/examples/guestfs-ocaml.pod:102
+#: ../perl/examples/guestfs-perl.pod:63
+#: ../python/examples/guestfs-python.pod:65
+#: ../ruby/examples/guestfs-ruby.pod:59 ../src/guestfs.pod:3363
+msgid ""
+"This library is free software; you can redistribute it and/or modify it "
+"under the terms of the GNU Lesser General Public License as published by the "
+"Free Software Foundation; either version 2 of the License, or (at your "
+"option) any later version."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:126
+#: ../examples/guestfs-examples.pod:61 ../examples/guestfs-recipes.pod:413
+#: ../examples/guestfs-testing.pod:311 ../java/examples/guestfs-java.pod:74
+#: ../ocaml/examples/guestfs-ocaml.pod:107
+#: ../perl/examples/guestfs-perl.pod:68
+#: ../python/examples/guestfs-python.pod:70
+#: ../ruby/examples/guestfs-ruby.pod:64 ../src/guestfs.pod:3368
+msgid ""
+"This library is distributed in the hope that it will be useful, but WITHOUT "
+"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
+"FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License "
+"for more details."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:131
+#: ../examples/guestfs-examples.pod:66 ../examples/guestfs-recipes.pod:418
+#: ../examples/guestfs-testing.pod:316 ../java/examples/guestfs-java.pod:79
+#: ../ocaml/examples/guestfs-ocaml.pod:112
+#: ../perl/examples/guestfs-perl.pod:73
+#: ../python/examples/guestfs-python.pod:75
+#: ../ruby/examples/guestfs-ruby.pod:69 ../src/guestfs.pod:3373
+msgid ""
+"You should have received a copy of the GNU Lesser General Public License "
+"along with this library; if not, write to the Free Software Foundation, "
+"Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-examples.pod:5
+msgid "guestfs-examples - Examples of using libguestfs from C"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-examples.pod:9 ../src/guestfs.pod:9
+#, no-wrap
+msgid ""
+" #include <guestfs.h>\n"
+" \n"
+msgstr "#include <guestfs.h>\n"
+
+#. type: verbatim
+#: ../examples/guestfs-examples.pod:11
+#, no-wrap
+msgid ""
+" guestfs_h *g = guestfs_create ();\n"
+" guestfs_add_drive_ro (g, \"disk.img\");\n"
+" guestfs_launch (g);\n"
+"\n"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-examples.pod:15 ../src/guestfs.pod:19
+#, no-wrap
+msgid ""
+" cc prog.c -o prog -lguestfs\n"
+"or:\n"
+" cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
+"\n"
+msgstr ""
+" cc prog.c -o prog -lguestfs\n"
+"or:\n"
+" cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
+"\n"
+
+#. type: textblock
+#: ../examples/guestfs-examples.pod:21
+msgid ""
+"This manual page contains examples of calling libguestfs from the C "
+"programming language. If you are not familiar with using libguestfs, you "
+"also need to read L<guestfs(3)>."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-examples.pod:35
+msgid ""
+"L<guestfs(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
+">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
+"L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-examples.pod:51 ../ocaml/examples/guestfs-ocaml.pod:97
+#: ../python/examples/guestfs-python.pod:60
+#: ../ruby/examples/guestfs-ruby.pod:54
+msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
+msgstr ""
+
+#. type: =end
+#: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
+msgid "comment"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:5
+msgid ""
+"pod2man and pod2html have differing bugs which makes it hard to write URLs "
+"here. The only way which works for both sorts of output is to just write "
+"the URL directly. Do NOT use L<...> for URLs."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:9
+msgid ""
+"We break with tradition here and don't use ALL CAPS for the section "
+"headings, as this makes them much easier to read."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:16
+msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:20
+msgid ""
+"This page contains recipes for and links to things you can do using "
+"libguestfs, L<guestfish(1)> and the virt tools."
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:23
+msgid "Audit a virtual machine for setuid files"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:25
+msgid ""
+"The link below contains a small program which can be used to audit a Linux "
+"virtual machine to see what setuid and setgid files it contains."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:28
+msgid ""
+"https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
+"files/#content"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:30
+msgid "Change the background image in a Windows XP VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:32
+msgid ""
+"The links below explain how to use L<guestfish(1)> to change the background "
+"image for a user of a Windows XP VM. Unfortunately the technique appears to "
+"be substantially different for each version of Windows."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:37
+msgid ""
+"https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html https://"
+"lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:40
+msgid "Cloning a virtual machine (Linux)"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:42
+msgid ""
+"The guestfish technique described in the link below works well for most "
+"Linux VMs. Depending on the Linux distro you may need to change the paths "
+"slightly."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:46
+msgid ""
+"https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
+"vm/#content"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:48
+msgid ""
+"Avoid L<virt-clone(1)>. Currently what to do about virt-clone is under "
+"discussion."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:51
+msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:53
+msgid "Cloning a virtual machine (Windows)"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:55
+msgid ""
+"It is possible to do a \"sysprep\" using libguestfs alone, although not "
+"straightforward. Currently there is code in the Aeolus Oz project which "
+"does this (using libguestfs). As part of our review of the virt-clone tool, "
+"we may add sysprepping ability."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:60
+msgid ""
+"https://github.com/clalancette/oz https://www.redhat.com/archives/virt-tools-"
+"list/2011-May/msg00019.html"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:63
+msgid "Convert a CD-ROM / DVD / ISO to a tarball"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:65
+msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:67
+#, no-wrap
+msgid ""
+" guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:69
+msgid "To export just a subdirectory, eg. C</files>, do:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:71
+#, no-wrap
+msgid ""
+" guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
+"\n"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:73
+msgid "Create empty disk images"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:75
+msgid ""
+"You can use the L<guestfish(1)> I<-N> option to create empty disk images. "
+"The useful guide below explains the options available."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:78
+msgid ""
+"https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-in-1-5-9/"
+"#content"
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:80
+msgid "Dump raw filesystem content from inside a disk image or VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:82
+msgid ""
+"You can use the L<guestfish(1)> C<download> command to extract the raw "
+"filesystem content from any filesystem in a disk image or a VM (even one "
+"which is encrypted or buried inside an LV):"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:86
+#, no-wrap
+msgid ""
+" guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
+"\n"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:88
+#, no-wrap
+msgid ""
+" guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:90
+msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
+msgstr ""
+
+#. type: =head1
+#: ../examples/guestfs-recipes.pod:92
+msgid "Edit grub configuration in a VM"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:94
+msgid "You can use this to:"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:100
+msgid "Fix a virtual machine that does not boot."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:104
+msgid "Change which kernel is used to boot the VM."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:108
+msgid "Change kernel command line options."
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:112
+msgid "Use L<virt-edit(1)> to edit the grub configuration:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:114
+#, no-wrap
+msgid ""
+" virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../examples/guestfs-recipes.pod:116
+msgid ""
+"or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
+"this:"
+msgstr ""
+
+#. type: verbatim
+#: ../examples/guestfs-recipes.pod:119