27328a68336a4d52d15c72c37a56dadb9b7fa980
[libguestfs.git] / po-docs / libguestfs-docs.pot
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Red Hat Inc.
3 # This file is distributed under the same license as the libguestfs package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: libguestfs 1.5.13\n"
10 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
11 "POT-Creation-Date: 2010-09-13 15:07+0200\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=utf-8\n"
17 "Content-Transfer-Encoding: ENCODING"
18
19 # type: =encoding
20 #: ../src/guestfs.pod:1 ../fish/guestfish.pod:1 ../test-tool/libguestfs-test-tool.pod:1 ../fuse/guestmount.pod:1 ../inspector/virt-inspector.pl:36 ../tools/virt-cat.pl:30 ../tools/virt-df.pl:32 ../tools/virt-edit.pl:31 ../tools/virt-list-filesystems.pl:28 ../tools/virt-list-partitions.pl:28 ../tools/virt-ls.pl:31 ../tools/virt-make-fs.pl:33 ../tools/virt-rescue.pl:29 ../tools/virt-resize.pl:38 ../tools/virt-tar.pl:30 ../tools/virt-win-reg.pl:34
21 msgid "utf8"
22 msgstr ""
23
24 # type: =head1
25 #: ../src/guestfs.pod:3 ../fish/guestfish.pod:3 ../test-tool/libguestfs-test-tool.pod:3 ../fuse/guestmount.pod:3 ../inspector/virt-inspector.pl:38 ../tools/virt-cat.pl:32 ../tools/virt-df.pl:34 ../tools/virt-edit.pl:33 ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30 ../tools/virt-ls.pl:33 ../tools/virt-make-fs.pl:35 ../tools/virt-rescue.pl:31 ../tools/virt-resize.pl:40 ../tools/virt-tar.pl:32 ../tools/virt-win-reg.pl:36
26 msgid "NAME"
27 msgstr ""
28
29 # type: textblock
30 #: ../src/guestfs.pod:5
31 msgid "guestfs - Library for accessing and modifying virtual machine images"
32 msgstr ""
33
34 # type: =head1
35 #: ../src/guestfs.pod:7 ../fish/guestfish.pod:7 ../test-tool/libguestfs-test-tool.pod:7 ../fuse/guestmount.pod:7 ../inspector/virt-inspector.pl:42 ../tools/virt-cat.pl:36 ../tools/virt-df.pl:38 ../tools/virt-edit.pl:37 ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34 ../tools/virt-ls.pl:37 ../tools/virt-make-fs.pl:39 ../tools/virt-rescue.pl:35 ../tools/virt-resize.pl:44 ../tools/virt-tar.pl:36 ../tools/virt-win-reg.pl:40
36 msgid "SYNOPSIS"
37 msgstr ""
38
39 # type: verbatim
40 #: ../src/guestfs.pod:9
41 #, no-wrap
42 msgid ""
43 " #include <guestfs.h>\n"
44 " \n"
45 msgstr ""
46
47 # type: verbatim
48 #: ../src/guestfs.pod:11
49 #, no-wrap
50 msgid ""
51 " guestfs_h *g = guestfs_create ();\n"
52 " guestfs_add_drive (g, \"guest.img\");\n"
53 " guestfs_launch (g);\n"
54 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
55 " guestfs_touch (g, \"/hello\");\n"
56 " guestfs_umount (g, \"/\");\n"
57 " guestfs_sync (g);\n"
58 " guestfs_close (g);\n"
59 "\n"
60 msgstr ""
61
62 # type: verbatim
63 #: ../src/guestfs.pod:20
64 #, no-wrap
65 msgid ""
66 " cc prog.c -o prog -lguestfs\n"
67 "or:\n"
68 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
69 "\n"
70 msgstr ""
71
72 # type: =head1
73 #: ../src/guestfs.pod:24 ../fish/guestfish.pod:115 ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:16 ../inspector/virt-inspector.pl:48 ../tools/virt-cat.pl:42 ../tools/virt-df.pl:46 ../tools/virt-edit.pl:51 ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40 ../tools/virt-ls.pl:43 ../tools/virt-make-fs.pl:47 ../tools/virt-rescue.pl:51 ../tools/virt-resize.pl:50 ../tools/virt-tar.pl:73 ../tools/virt-win-reg.pl:64
74 msgid "DESCRIPTION"
75 msgstr ""
76
77 # type: textblock
78 #: ../src/guestfs.pod:26
79 msgid ""
80 "Libguestfs is a library for accessing and modifying guest disk images.  "
81 "Amongst the things this is good for: making batch configuration changes to "
82 "guests, getting disk used/free statistics (see also: virt-df), migrating "
83 "between virtualization systems (see also: virt-p2v), performing partial "
84 "backups, performing partial guest clones, cloning guests and changing "
85 "registry/UUID/hostname info, and much else besides."
86 msgstr ""
87
88 # type: textblock
89 #: ../src/guestfs.pod:34
90 msgid ""
91 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
92 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
93 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
94 "qcow2, vmdk."
95 msgstr ""
96
97 # type: textblock
98 #: ../src/guestfs.pod:39
99 msgid ""
100 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
101 "what filesystem is in each LV, etc.).  It can also run commands in the "
102 "context of the guest.  Also you can access filesystems over FUSE."
103 msgstr ""
104
105 # type: textblock
106 #: ../src/guestfs.pod:44
107 msgid ""
108 "Libguestfs is a library that can be linked with C and C++ management "
109 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
110 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
111 "line."
112 msgstr ""
113
114 # type: textblock
115 #: ../src/guestfs.pod:49
116 msgid ""
117 "You don't need to be root to use libguestfs, although obviously you do need "
118 "enough permissions to access the disk images."
119 msgstr ""
120
121 # type: textblock
122 #: ../src/guestfs.pod:52
123 msgid ""
124 "Libguestfs is a large API because it can do many things.  For a gentle "
125 "introduction, please read the L</API OVERVIEW> section next."
126 msgstr ""
127
128 # type: =head1
129 #: ../src/guestfs.pod:55
130 msgid "API OVERVIEW"
131 msgstr ""
132
133 # type: textblock
134 #: ../src/guestfs.pod:57
135 msgid ""
136 "This section provides a gentler overview of the libguestfs API.  We also try "
137 "to group API calls together, where that may not be obvious from reading "
138 "about the individual calls in the main section of this manual."
139 msgstr ""
140
141 # type: =head2
142 #: ../src/guestfs.pod:62
143 msgid "HANDLES"
144 msgstr ""
145
146 # type: textblock
147 #: ../src/guestfs.pod:64
148 msgid ""
149 "Before you can use libguestfs calls, you have to create a handle.  Then you "
150 "must add at least one disk image to the handle, followed by launching the "
151 "handle, then performing whatever operations you want, and finally closing "
152 "the handle.  By convention we use the single letter C<g> for the name of the "
153 "handle variable, although of course you can use any name you want."
154 msgstr ""
155
156 # type: textblock
157 #: ../src/guestfs.pod:71
158 msgid "The general structure of all libguestfs-using programs looks like this:"
159 msgstr ""
160
161 # type: verbatim
162 #: ../src/guestfs.pod:74
163 #, no-wrap
164 msgid ""
165 " guestfs_h *g = guestfs_create ();\n"
166 " \n"
167 msgstr ""
168
169 # type: verbatim
170 #: ../src/guestfs.pod:76
171 #, no-wrap
172 msgid ""
173 " /* Call guestfs_add_drive additional times if there are\n"
174 "  * multiple disk images.\n"
175 "  */\n"
176 " guestfs_add_drive (g, \"guest.img\");\n"
177 " \n"
178 msgstr ""
179
180 # type: verbatim
181 #: ../src/guestfs.pod:81
182 #, no-wrap
183 msgid ""
184 " /* Most manipulation calls won't work until you've launched\n"
185 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
186 "  * and _before_ other commands.\n"
187 "  */\n"
188 " guestfs_launch (g);\n"
189 " \n"
190 msgstr ""
191
192 # type: verbatim
193 #: ../src/guestfs.pod:87
194 #, no-wrap
195 msgid ""
196 " /* Now you can examine what partitions, LVs etc are available.\n"
197 "  */\n"
198 " char **partitions = guestfs_list_partitions (g);\n"
199 " char **logvols = guestfs_lvs (g);\n"
200 " \n"
201 msgstr ""
202
203 # type: verbatim
204 #: ../src/guestfs.pod:92
205 #, no-wrap
206 msgid ""
207 " /* To access a filesystem in the image, you must mount it.\n"
208 "  */\n"
209 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
210 " \n"
211 msgstr ""
212
213 # type: verbatim
214 #: ../src/guestfs.pod:96
215 #, no-wrap
216 msgid ""
217 " /* Now you can perform filesystem actions on the guest\n"
218 "  * disk image.\n"
219 "  */\n"
220 " guestfs_touch (g, \"/hello\");\n"
221 " \n"
222 msgstr ""
223
224 # type: verbatim
225 #: ../src/guestfs.pod:101
226 #, no-wrap
227 msgid ""
228 " /* You only need to call guestfs_sync if you have made\n"
229 "  * changes to the guest image.  (But if you've made changes\n"
230 "  * then you *must* sync).  See also: guestfs_umount and\n"
231 "  * guestfs_umount_all calls.\n"
232 "  */\n"
233 " guestfs_sync (g);\n"
234 " \n"
235 msgstr ""
236
237 # type: verbatim
238 #: ../src/guestfs.pod:108
239 #, no-wrap
240 msgid ""
241 " /* Close the handle 'g'. */\n"
242 " guestfs_close (g);\n"
243 "\n"
244 msgstr ""
245
246 # type: textblock
247 #: ../src/guestfs.pod:111
248 msgid ""
249 "The code above doesn't include any error checking.  In real code you should "
250 "check return values carefully for errors.  In general all functions that "
251 "return integers return C<-1> on error, and all functions that return "
252 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
253 "how to handle errors, and consult the documentation for each function call "
254 "below to see precisely how they return error indications."
255 msgstr ""
256
257 # type: =head2
258 #: ../src/guestfs.pod:119
259 msgid "DISK IMAGES"
260 msgstr ""
261
262 # type: textblock
263 #: ../src/guestfs.pod:121
264 msgid ""
265 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
266 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
267 "actual block device, or simply an empty file of zeroes that you have created "
268 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
269 "of these."
270 msgstr ""
271
272 # type: textblock
273 #: ../src/guestfs.pod:127
274 msgid ""
275 "You can add a disk read-only using L</guestfs_add_drive_ro>, in which case "
276 "libguestfs won't modify the file."
277 msgstr ""
278
279 # type: textblock
280 #: ../src/guestfs.pod:130
281 msgid ""
282 "Be extremely cautious if the disk image is in use, eg. if it is being used "
283 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
284 "corruption, but adding it read-only is safe."
285 msgstr ""
286
287 # type: textblock
288 #: ../src/guestfs.pod:134
289 msgid ""
290 "You must add at least one disk image, and you may add multiple disk images.  "
291 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
292 "first one you added), C</dev/sdb> (for the second one you added), etc."
293 msgstr ""
294
295 # type: textblock
296 #: ../src/guestfs.pod:139
297 msgid ""
298 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
299 "can call L</guestfs_list_devices> to get a list of the device names, in the "
300 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
301 msgstr ""
302
303 # type: =head2
304 #: ../src/guestfs.pod:144
305 msgid "MOUNTING"
306 msgstr ""
307
308 # type: textblock
309 #: ../src/guestfs.pod:146
310 msgid ""
311 "Before you can read or write files, create directories and so on in a disk "
312 "image that contains filesystems, you have to mount those filesystems using "
313 "L</guestfs_mount>.  If you already know that a disk image contains (for "
314 "example) one partition with a filesystem on that partition, then you can "
315 "mount it directly:"
316 msgstr ""
317
318 # type: verbatim
319 #: ../src/guestfs.pod:152
320 #, no-wrap
321 msgid ""
322 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
323 "\n"
324 msgstr ""
325
326 # type: textblock
327 #: ../src/guestfs.pod:154
328 msgid ""
329 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
330 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
331 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
332 msgstr ""
333
334 # type: textblock
335 #: ../src/guestfs.pod:158
336 msgid ""
337 "If you are given a disk image and you don't know what it contains then you "
338 "have to find out.  Libguestfs can do that too: use "
339 "L</guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions "
340 "and LVs, and either try mounting each to see what is mountable, or else "
341 "examine them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also "
342 "has a set of APIs for inspection of disk images (see L</INSPECTION> below).  "
343 "But you might find it easier to look at higher level programs built on top "
344 "of libguestfs, in particular L<virt-inspector(1)>."
345 msgstr ""
346
347 # type: textblock
348 #: ../src/guestfs.pod:168
349 msgid ""
350 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
351 "several other variations of the C<guestfs_mount_*> call."
352 msgstr ""
353
354 # type: =head2
355 #: ../src/guestfs.pod:171
356 msgid "FILESYSTEM ACCESS AND MODIFICATION"
357 msgstr ""
358
359 # type: textblock
360 #: ../src/guestfs.pod:173
361 msgid ""
362 "The majority of the libguestfs API consists of fairly low-level calls for "
363 "accessing and modifying the files, directories, symlinks etc on mounted "
364 "filesystems.  There are over a hundred such calls which you can find listed "
365 "in detail below in this man page, and we don't even pretend to cover them "
366 "all in this overview."
367 msgstr ""
368
369 # type: textblock
370 #: ../src/guestfs.pod:179
371 msgid ""
372 "Specify filenames as full paths, starting with C<\"/\"> and including the "
373 "mount point."
374 msgstr ""
375
376 # type: textblock
377 #: ../src/guestfs.pod:182
378 msgid ""
379 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
380 "the file called C<\"etc/passwd\"> then you could do:"
381 msgstr ""
382
383 # type: verbatim
384 #: ../src/guestfs.pod:185
385 #, no-wrap
386 msgid ""
387 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
388 "\n"
389 msgstr ""
390
391 # type: textblock
392 #: ../src/guestfs.pod:187
393 msgid ""
394 "This would return C<data> as a newly allocated buffer containing the full "
395 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
396 "or C<NULL> if there was an error."
397 msgstr ""
398
399 # type: textblock
400 #: ../src/guestfs.pod:191
401 msgid ""
402 "As another example, to create a top-level directory on that filesystem "
403 "called C<\"var\"> you would do:"
404 msgstr ""
405
406 # type: verbatim
407 #: ../src/guestfs.pod:194
408 #, no-wrap
409 msgid ""
410 " guestfs_mkdir (g, \"/var\");\n"
411 "\n"
412 msgstr ""
413
414 # type: textblock
415 #: ../src/guestfs.pod:196
416 msgid "To create a symlink you could do:"
417 msgstr ""
418
419 # type: verbatim
420 #: ../src/guestfs.pod:198
421 #, no-wrap
422 msgid ""
423 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
424 "               \"/etc/rc3.d/S30portmap\");\n"
425 "\n"
426 msgstr ""
427
428 # type: textblock
429 #: ../src/guestfs.pod:201
430 msgid ""
431 "Libguestfs will reject attempts to use relative paths and there is no "
432 "concept of a current working directory."
433 msgstr ""
434
435 # type: textblock
436 #: ../src/guestfs.pod:204
437 msgid ""
438 "Libguestfs can return errors in many situations: for example if the "
439 "filesystem isn't writable, or if a file or directory that you requested "
440 "doesn't exist.  If you are using the C API (documented here)  you have to "
441 "check for those error conditions after each call.  (Other language bindings "
442 "turn these errors into exceptions)."
443 msgstr ""
444
445 # type: textblock
446 #: ../src/guestfs.pod:210
447 msgid ""
448 "File writes are affected by the per-handle umask, set by calling "
449 "L</guestfs_umask> and defaulting to 022.  See L</UMASK>."
450 msgstr ""
451
452 # type: =head2
453 #: ../src/guestfs.pod:213
454 msgid "PARTITIONING"
455 msgstr ""
456
457 # type: textblock
458 #: ../src/guestfs.pod:215
459 msgid ""
460 "Libguestfs contains API calls to read, create and modify partition tables on "
461 "disk images."
462 msgstr ""
463
464 # type: textblock
465 #: ../src/guestfs.pod:218
466 msgid ""
467 "In the common case where you want to create a single partition covering the "
468 "whole disk, you should use the L</guestfs_part_disk> call:"
469 msgstr ""
470
471 # type: verbatim
472 #: ../src/guestfs.pod:222
473 #, no-wrap
474 msgid ""
475 " const char *parttype = \"mbr\";\n"
476 " if (disk_is_larger_than_2TB)\n"
477 "   parttype = \"gpt\";\n"
478 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
479 "\n"
480 msgstr ""
481
482 # type: textblock
483 #: ../src/guestfs.pod:227
484 msgid ""
485 "Obviously this effectively wipes anything that was on that disk image "
486 "before."
487 msgstr ""
488
489 # type: =head2
490 #: ../src/guestfs.pod:230
491 msgid "LVM2"
492 msgstr ""
493
494 # type: textblock
495 #: ../src/guestfs.pod:232
496 msgid ""
497 "Libguestfs provides access to a large part of the LVM2 API, such as "
498 "L</guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense "
499 "unless you familiarize yourself with the concepts of physical volumes, "
500 "volume groups and logical volumes."
501 msgstr ""
502
503 # type: textblock
504 #: ../src/guestfs.pod:237
505 msgid ""
506 "This author strongly recommends reading the LVM HOWTO, online at "
507 "L<http://tldp.org/HOWTO/LVM-HOWTO/>."
508 msgstr ""
509
510 # type: =head2
511 #: ../src/guestfs.pod:240
512 msgid "DOWNLOADING"
513 msgstr ""
514
515 # type: textblock
516 #: ../src/guestfs.pod:242
517 msgid ""
518 "Use L</guestfs_cat> to download small, text only files.  This call is "
519 "limited to files which are less than 2 MB and which cannot contain any ASCII "
520 "NUL (C<\\0>) characters.  However it has a very simple to use API."
521 msgstr ""
522
523 # type: textblock
524 #: ../src/guestfs.pod:247
525 msgid ""
526 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
527 "bit data, since it returns a (pointer, size) pair.  However it is still "
528 "limited to \"small\" files, less than 2 MB."
529 msgstr ""
530
531 # type: textblock
532 #: ../src/guestfs.pod:251
533 msgid ""
534 "L</guestfs_download> can be used to download any file, with no limits on "
535 "content or size (even files larger than 4 GB)."
536 msgstr ""
537
538 # type: textblock
539 #: ../src/guestfs.pod:254
540 msgid "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
541 msgstr ""
542
543 # type: =head2
544 #: ../src/guestfs.pod:257
545 msgid "UPLOADING"
546 msgstr ""
547
548 # type: textblock
549 #: ../src/guestfs.pod:259
550 msgid ""
551 "It's often the case that you want to write a file or files to the disk "
552 "image."
553 msgstr ""
554
555 # type: textblock
556 #: ../src/guestfs.pod:262
557 msgid ""
558 "To write a small file with fixed content, use L</guestfs_write>.  To create "
559 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or "
560 "L</guestfs_fallocate64> (with all disk blocks allocated).  There are a "
561 "variety of other functions for creating test files, for example "
562 "L</guestfs_fill> and L</guestfs_fill_pattern>."
563 msgstr ""
564
565 # type: textblock
566 #: ../src/guestfs.pod:268
567 msgid ""
568 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
569 "file content or size (even files larger than 4 GB)."
570 msgstr ""
571
572 # type: textblock
573 #: ../src/guestfs.pod:271
574 msgid "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
575 msgstr ""
576
577 # type: textblock
578 #: ../src/guestfs.pod:273
579 msgid ""
580 "However the fastest way to upload I<large numbers of arbitrary files> is to "
581 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and "
582 "L<mkisofs(8)>), then attach this using L</guestfs_add_drive_ro>.  If you add "
583 "the drive in a predictable way (eg. adding it last after all other drives) "
584 "then you can get the device name from L</guestfs_list_devices> and mount it "
585 "directly using L</guestfs_mount_ro>.  Note that squashfs images are "
586 "sometimes non-portable between kernel versions, and they don't support "
587 "labels or UUIDs.  If you want to pre-build an image or you need to mount it "
588 "using a label or UUID, use an ISO image instead."
589 msgstr ""
590
591 # type: =head2
592 #: ../src/guestfs.pod:284
593 msgid "COPYING"
594 msgstr ""
595
596 # type: textblock
597 #: ../src/guestfs.pod:286
598 msgid ""
599 "There are various different commands for copying between files and devices "
600 "and in and out of the guest filesystem.  These are summarised in the table "
601 "below."
602 msgstr ""
603
604 # type: =item
605 #: ../src/guestfs.pod:292
606 msgid "B<file> to B<file>"
607 msgstr ""
608
609 # type: textblock
610 #: ../src/guestfs.pod:294
611 msgid ""
612 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
613 "directories recursively."
614 msgstr ""
615
616 # type: =item
617 #: ../src/guestfs.pod:297
618 msgid "B<file or device> to B<file or device>"
619 msgstr ""
620
621 # type: textblock
622 #: ../src/guestfs.pod:299
623 msgid ""
624 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
625 "devices in the guest."
626 msgstr ""
627
628 # type: textblock
629 #: ../src/guestfs.pod:302
630 msgid "Example: duplicate the contents of an LV:"
631 msgstr ""
632
633 # type: verbatim
634 #: ../src/guestfs.pod:304
635 #, no-wrap
636 msgid ""
637 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
638 "\n"
639 msgstr ""
640
641 # type: textblock
642 #: ../src/guestfs.pod:306
643 msgid ""
644 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
645 "(C</dev/VG/Original>).  To copy less than the whole source device, use "
646 "L</guestfs_copy_size>."
647 msgstr ""
648
649 # type: =item
650 #: ../src/guestfs.pod:310
651 msgid "B<file on the host> to B<file or device>"
652 msgstr ""
653
654 # type: textblock
655 #: ../src/guestfs.pod:312
656 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
657 msgstr ""
658
659 # type: =item
660 #: ../src/guestfs.pod:314
661 msgid "B<file or device> to B<file on the host>"
662 msgstr ""
663
664 # type: textblock
665 #: ../src/guestfs.pod:316
666 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
667 msgstr ""
668
669 # type: =head2
670 #: ../src/guestfs.pod:320
671 msgid "LISTING FILES"
672 msgstr ""
673
674 # type: textblock
675 #: ../src/guestfs.pod:322
676 msgid ""
677 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
678 "L<guestfish(1)>-equivalent command C<ll>)."
679 msgstr ""
680
681 # type: textblock
682 #: ../src/guestfs.pod:325
683 msgid ""
684 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
685 "programs, as a flat list of strings."
686 msgstr ""
687
688 # type: textblock
689 #: ../src/guestfs.pod:328
690 msgid ""
691 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
692 "directory, plus additional information about each one.  It is more "
693 "equivalent to using the L<readdir(3)> call on a local filesystem."
694 msgstr ""
695
696 # type: textblock
697 #: ../src/guestfs.pod:332
698 msgid ""
699 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list "
700 "files."
701 msgstr ""
702
703 # type: =head2
704 #: ../src/guestfs.pod:335
705 msgid "RUNNING COMMANDS"
706 msgstr ""
707
708 # type: textblock
709 #: ../src/guestfs.pod:337
710 msgid ""
711 "Although libguestfs is primarily an API for manipulating files inside guest "
712 "images, we also provide some limited facilities for running commands inside "
713 "guests."
714 msgstr ""
715
716 # type: textblock
717 #: ../src/guestfs.pod:341
718 msgid "There are many limitations to this:"
719 msgstr ""
720
721 # type: =item
722 #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355 ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368 ../src/guestfs.pod:373 ../src/guestfs.pod:1223 ../src/guestfs.pod:1228 ../src/guestfs.pod:1232 ../src/guestfs.pod:1334 ../src/guestfs.pod:1338 ../src/guestfs.pod:1342 ../src/guestfs.pod:1347 ../src/guestfs.pod:1355 ../src/guestfs.pod:1374 ../src/guestfs.pod:1382 ../src/guestfs.pod:1612 ../src/guestfs.pod:1618 ../src/guestfs.pod:1623 ../src/guestfs.pod:1629 ../src/guestfs.pod:1736 ../src/guestfs.pod:1740 ../src/guestfs.pod:1744 ../src/guestfs.pod:1748 ../src/guestfs-actions.pod:14 ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372 ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387 ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1257 ../src/guestfs-actions.pod:1261 ../src/guestfs-actions.pod:1265 ../src/guestfs-actions.pod:1269 ../src/guestfs-actions.pod:1277 ../src/guestfs-actions.pod:1281 ../src/guestfs-actions.pod:1285 ../src/guestfs-actions.pod:1295 ../src/guestfs-actions.pod:1299 ../src/guestfs-actions.pod:1303 ../src/guestfs-actions.pod:1426 ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1435 ../src/guestfs-actions.pod:1440 ../src/guestfs-actions.pod:1492 ../src/guestfs-actions.pod:1496 ../src/guestfs-actions.pod:1501 ../fish/guestfish.pod:309 ../fish/guestfish.pod:313 ../fish/guestfish.pod:317 ../fish/guestfish.pod:321 ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:300 ../fish/guestfish-actions.pod:308 ../fish/guestfish-actions.pod:315 ../fish/guestfish-actions.pod:322 ../fish/guestfish-actions.pod:998 ../fish/guestfish-actions.pod:1002 ../fish/guestfish-actions.pod:1006 ../fish/guestfish-actions.pod:1010 ../fish/guestfish-actions.pod:1018 ../fish/guestfish-actions.pod:1022 ../fish/guestfish-actions.pod:1026 ../fish/guestfish-actions.pod:1036 ../fish/guestfish-actions.pod:1040 ../fish/guestfish-actions.pod:1044 ../fish/guestfish-actions.pod:1134 ../fish/guestfish-actions.pod:1138 ../fish/guestfish-actions.pod:1143 ../fish/guestfish-actions.pod:1148 ../fish/guestfish-actions.pod:1190 ../fish/guestfish-actions.pod:1194 ../fish/guestfish-actions.pod:1199 ../tools/virt-resize.pl:324 ../tools/virt-resize.pl:329 ../tools/virt-resize.pl:339
723 msgid "*"
724 msgstr ""
725
726 # type: textblock
727 #: ../src/guestfs.pod:347
728 msgid ""
729 "The kernel version that the command runs under will be different from what "
730 "it expects."
731 msgstr ""
732
733 # type: textblock
734 #: ../src/guestfs.pod:352
735 msgid ""
736 "If the command needs to communicate with daemons, then most likely they "
737 "won't be running."
738 msgstr ""
739
740 # type: textblock
741 #: ../src/guestfs.pod:357
742 msgid "The command will be running in limited memory."
743 msgstr ""
744
745 # type: textblock
746 #: ../src/guestfs.pod:361
747 msgid ""
748 "The network may not be available unless you enable it (see "
749 "L</guestfs_set_network>)."
750 msgstr ""
751
752 # type: textblock
753 #: ../src/guestfs.pod:366
754 msgid "Only supports Linux guests (not Windows, BSD, etc)."
755 msgstr ""
756
757 # type: textblock
758 #: ../src/guestfs.pod:370
759 msgid "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
760 msgstr ""
761
762 # type: textblock
763 #: ../src/guestfs.pod:375
764 msgid ""
765 "For SELinux guests, you may need to enable SELinux and load policy first.  "
766 "See L</SELINUX> in this manpage."
767 msgstr ""
768
769 # type: textblock
770 #: ../src/guestfs.pod:380
771 msgid ""
772 "The two main API calls to run commands are L</guestfs_command> and "
773 "L</guestfs_sh> (there are also variations)."
774 msgstr ""
775
776 # type: textblock
777 #: ../src/guestfs.pod:383
778 msgid ""
779 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
780 "shell globs, redirections, etc will work."
781 msgstr ""
782
783 # type: =head2
784 #: ../src/guestfs.pod:386
785 msgid "CONFIGURATION FILES"
786 msgstr ""
787
788 # type: textblock
789 #: ../src/guestfs.pod:388
790 msgid ""
791 "To read and write configuration files in Linux guest filesystems, we "
792 "strongly recommend using Augeas.  For example, Augeas understands how to "
793 "read and write, say, a Linux shadow password file or X.org configuration "
794 "file, and so avoids you having to write that code."
795 msgstr ""
796
797 # type: textblock
798 #: ../src/guestfs.pod:393
799 msgid ""
800 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
801 "document Augeas itself here because there is excellent documentation on the "
802 "L<http://augeas.net/> website."
803 msgstr ""
804
805 # type: textblock
806 #: ../src/guestfs.pod:397
807 msgid ""
808 "If you don't want to use Augeas (you fool!) then try calling "
809 "L</guestfs_read_lines> to get the file as a list of lines which you can "
810 "iterate over."
811 msgstr ""
812
813 # type: =head2
814 #: ../src/guestfs.pod:401
815 msgid "SELINUX"
816 msgstr ""
817
818 # type: textblock
819 #: ../src/guestfs.pod:403
820 msgid ""
821 "We support SELinux guests.  To ensure that labeling happens correctly in "
822 "SELinux guests, you need to enable SELinux and load the guest's policy:"
823 msgstr ""
824
825 # type: =item
826 #: ../src/guestfs.pod:409
827 msgid "1."
828 msgstr ""
829
830 # type: textblock
831 #: ../src/guestfs.pod:411
832 msgid "Before launching, do:"
833 msgstr ""
834
835 # type: verbatim
836 #: ../src/guestfs.pod:413
837 #, no-wrap
838 msgid ""
839 " guestfs_set_selinux (g, 1);\n"
840 "\n"
841 msgstr ""
842
843 # type: =item
844 #: ../src/guestfs.pod:415
845 msgid "2."
846 msgstr ""
847
848 # type: textblock
849 #: ../src/guestfs.pod:417
850 msgid ""
851 "After mounting the guest's filesystem(s), load the policy.  This is best "
852 "done by running the L<load_policy(8)> command in the guest itself:"
853 msgstr ""
854
855 # type: verbatim
856 #: ../src/guestfs.pod:421
857 #, no-wrap
858 msgid ""
859 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
860 "\n"
861 msgstr ""
862
863 # type: textblock
864 #: ../src/guestfs.pod:423
865 msgid ""
866 "(Older versions of C<load_policy> require you to specify the name of the "
867 "policy file)."
868 msgstr ""
869
870 # type: =item
871 #: ../src/guestfs.pod:426
872 msgid "3."
873 msgstr ""
874
875 # type: textblock
876 #: ../src/guestfs.pod:428
877 msgid ""
878 "Optionally, set the security context for the API.  The correct security "
879 "context to use can only be known by inspecting the guest.  As an example:"
880 msgstr ""
881
882 # type: verbatim
883 #: ../src/guestfs.pod:432
884 #, no-wrap
885 msgid ""
886 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
887 "\n"
888 msgstr ""
889
890 # type: textblock
891 #: ../src/guestfs.pod:436
892 msgid "This will work for running commands and editing existing files."
893 msgstr ""
894
895 # type: textblock
896 #: ../src/guestfs.pod:438
897 msgid ""
898 "When new files are created, you may need to label them explicitly, for "
899 "example by running the external command C<restorecon pathname>."
900 msgstr ""
901
902 # type: =head2
903 #: ../src/guestfs.pod:442
904 msgid "UMASK"
905 msgstr ""
906
907 # type: textblock
908 #: ../src/guestfs.pod:444
909 msgid ""
910 "Certain calls are affected by the current file mode creation mask (the "
911 "\"umask\").  In particular ones which create files or directories, such as "
912 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
913 "either the default mode that the file is created with or modifies the mode "
914 "that you supply."
915 msgstr ""
916
917 # type: textblock
918 #: ../src/guestfs.pod:450
919 msgid ""
920 "The default umask is C<022>, so files are created with modes such as C<0644> "
921 "and directories with C<0755>."
922 msgstr ""
923
924 # type: textblock
925 #: ../src/guestfs.pod:453
926 msgid ""
927 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
928 "(call C<guestfs_umask (g, 0)> early after launching).  Or call "
929 "L</guestfs_chmod> after creating each file or directory."
930 msgstr ""
931
932 # type: textblock
933 #: ../src/guestfs.pod:457
934 msgid "For more information about umask, see L<umask(2)>."
935 msgstr ""
936
937 # type: =head1
938 #: ../src/guestfs.pod:459 ../fish/guestfish.pod:559
939 msgid "ENCRYPTED DISKS"
940 msgstr ""
941
942 # type: textblock
943 #: ../src/guestfs.pod:461
944 msgid ""
945 "Libguestfs allows you to access Linux guests which have been encrypted using "
946 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
947 "standard.  This includes nearly all whole disk encryption systems used by "
948 "modern Linux guests."
949 msgstr ""
950
951 # type: textblock
952 #: ../src/guestfs.pod:467
953 msgid ""
954 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
955 "returns the string C<crypto_LUKS>)."
956 msgstr ""
957
958 # type: textblock
959 #: ../src/guestfs.pod:470
960 msgid ""
961 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
962 "will require the passphrase!"
963 msgstr ""
964
965 # type: textblock
966 #: ../src/guestfs.pod:473
967 msgid ""
968 "Opening a LUKS device creates a new device mapper device called "
969 "C</dev/mapper/mapname> (where C<mapname> is the string you supply to "
970 "L</guestfs_luks_open>).  Reads and writes to this mapper device are "
971 "decrypted from and encrypted to the underlying block device respectively."
972 msgstr ""
973
974 # type: textblock
975 #: ../src/guestfs.pod:479
976 msgid ""
977 "LVM volume groups on the device can be made visible by calling "
978 "L</guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical "
979 "volume(s) can now be mounted in the usual way."
980 msgstr ""
981
982 # type: textblock
983 #: ../src/guestfs.pod:483
984 msgid ""
985 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
986 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
987 "[\"/dev/VG\"])>.  Then close the mapper device by calling "
988 "L</guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
989 "underlying encrypted block device)."
990 msgstr ""
991
992 # type: =head2
993 #: ../src/guestfs.pod:490
994 msgid "INSPECTION"
995 msgstr ""
996
997 # type: textblock
998 #: ../src/guestfs.pod:492
999 msgid ""
1000 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1001 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1002 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1003 "frequently used part of this library has been rewritten in C and moved into "
1004 "the core code)."
1005 msgstr ""
1006
1007 # type: textblock
1008 #: ../src/guestfs.pod:498
1009 msgid ""
1010 "Add all disks belonging to the unknown virtual machine and call "
1011 "L</guestfs_launch> in the usual way."
1012 msgstr ""
1013
1014 # type: textblock
1015 #: ../src/guestfs.pod:501
1016 msgid ""
1017 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1018 "and certain heuristics, and returns a list of operating systems that were "
1019 "found.  An empty list means none were found.  A single element is the root "
1020 "filesystem of the operating system.  For dual- or multi-boot guests, "
1021 "multiple roots can be returned, each one corresponding to a separate "
1022 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1023 "world of virtualization, but since this scenario can happen, we have built "
1024 "libguestfs to deal with it.)"
1025 msgstr ""
1026
1027 # type: textblock
1028 #: ../src/guestfs.pod:510
1029 msgid ""
1030 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1031 "to get additional details about that operating system.  For example, call "
1032 "L</guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1033 "Windows and Linux-based operating systems respectively."
1034 msgstr ""
1035
1036 # type: textblock
1037 #: ../src/guestfs.pod:516
1038 msgid ""
1039 "Un*x-like and Linux-based operating systems usually consist of several "
1040 "filesystems which are mounted at boot time (for example, a separate boot "
1041 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1042 "filesystems correspond to mount points.  Call "
1043 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1044 "hash table like this example:"
1045 msgstr ""
1046
1047 # type: verbatim
1048 #: ../src/guestfs.pod:523
1049 #, no-wrap
1050 msgid ""
1051 " /boot => /dev/sda1\n"
1052 " /     => /dev/vg_guest/lv_root\n"
1053 " /usr  => /dev/vg_guest/lv_usr\n"
1054 "\n"
1055 msgstr ""
1056
1057 # type: textblock
1058 #: ../src/guestfs.pod:527
1059 msgid ""
1060 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1061 "filesystems as suggested."
1062 msgstr ""
1063
1064 # type: textblock
1065 #: ../src/guestfs.pod:530
1066 msgid ""
1067 "Be careful to mount filesystems in the right order (eg. C</> before "
1068 "C</usr>).  Sorting the keys of the hash by length, shortest first, should "
1069 "work."
1070 msgstr ""
1071
1072 # type: textblock
1073 #: ../src/guestfs.pod:534
1074 msgid ""
1075 "Inspection currently only works for some common operating systems.  "
1076 "Contributors are welcome to send patches for other operating systems that we "
1077 "currently cannot detect."
1078 msgstr ""
1079
1080 # type: textblock
1081 #: ../src/guestfs.pod:538
1082 msgid ""
1083 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1084 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1085 "encrypted devices."
1086 msgstr ""
1087
1088 # type: textblock
1089 #: ../src/guestfs.pod:542
1090 msgid ""
1091 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1092 "inspection and caches the results in the guest handle.  Subsequent calls to "
1093 "C<guestfs_inspect_get_*> return this cached information, but I<do not> "
1094 "re-read the disks.  If you change the content of the guest disks, you can "
1095 "redo inspection by calling L</guestfs_inspect_os> again."
1096 msgstr ""
1097
1098 # type: =head2
1099 #: ../src/guestfs.pod:549
1100 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1101 msgstr ""
1102
1103 # type: textblock
1104 #: ../src/guestfs.pod:551
1105 msgid ""
1106 "Libguestfs can mount NTFS partitions.  It does this using the "
1107 "L<http://www.ntfs-3g.org/> driver."
1108 msgstr ""
1109
1110 # type: textblock
1111 #: ../src/guestfs.pod:554
1112 msgid ""
1113 "DOS and Windows still use drive letters, and the filesystems are always "
1114 "treated as case insensitive by Windows itself, and therefore you might find "
1115 "a Windows configuration file referring to a path like "
1116 "C<c:\\windows\\system32>.  When the filesystem is mounted in libguestfs, "
1117 "that directory might be referred to as C</WINDOWS/System32>."
1118 msgstr ""
1119
1120 # type: textblock
1121 #: ../src/guestfs.pod:560
1122 msgid ""
1123 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1124 "libguestfs to read the appropriate Windows Registry and configuration files, "
1125 "to determine yourself how drives are mapped (see also L<hivex(3)> and "
1126 "L<virt-inspector(1)>)."
1127 msgstr ""
1128
1129 # type: textblock
1130 #: ../src/guestfs.pod:565
1131 msgid ""
1132 "Replacing backslash characters with forward slash characters is also outside "
1133 "the scope of libguestfs, but something that you can easily do."
1134 msgstr ""
1135
1136 # type: textblock
1137 #: ../src/guestfs.pod:568
1138 msgid ""
1139 "Where we can help is in resolving the case insensitivity of paths.  For "
1140 "this, call L</guestfs_case_sensitive_path>."
1141 msgstr ""
1142
1143 # type: textblock
1144 #: ../src/guestfs.pod:571
1145 msgid ""
1146 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1147 "files, through the library C<hivex> which is part of the libguestfs project "
1148 "although ships as a separate tarball.  You have to locate and download the "
1149 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1150 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and "
1151 "L<virt-win-reg(1)> for more help on this issue."
1152 msgstr ""
1153
1154 # type: =head2
1155 #: ../src/guestfs.pod:579
1156 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1157 msgstr ""
1158
1159 # type: textblock
1160 #: ../src/guestfs.pod:581
1161 msgid ""
1162 "Although we don't want to discourage you from using the C API, we will "
1163 "mention here that the same API is also available in other languages."
1164 msgstr ""
1165
1166 # type: textblock
1167 #: ../src/guestfs.pod:584
1168 msgid ""
1169 "The API is broadly identical in all supported languages.  This means that "
1170 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, "
1171 "C<g.mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1172 "words, a straightforward, predictable isomorphism between each language."
1173 msgstr ""
1174
1175 # type: textblock
1176 #: ../src/guestfs.pod:590
1177 msgid ""
1178 "Error messages are automatically transformed into exceptions if the language "
1179 "supports it."
1180 msgstr ""
1181
1182 # type: textblock
1183 #: ../src/guestfs.pod:593
1184 msgid ""
1185 "We don't try to \"object orientify\" parts of the API in OO languages, "
1186 "although contributors are welcome to write higher level APIs above what we "
1187 "provide in their favourite languages if they wish."
1188 msgstr ""
1189
1190 # type: =item
1191 #: ../src/guestfs.pod:599
1192 msgid "B<C++>"
1193 msgstr ""
1194
1195 # type: textblock
1196 #: ../src/guestfs.pod:601
1197 msgid ""
1198 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1199 "identical to the C API.  C++ classes and exceptions are not used."
1200 msgstr ""
1201
1202 # type: =item
1203 #: ../src/guestfs.pod:605
1204 msgid "B<C#>"
1205 msgstr ""
1206
1207 # type: textblock
1208 #: ../src/guestfs.pod:607
1209 msgid ""
1210 "The C# bindings are highly experimental.  Please read the warnings at the "
1211 "top of C<csharp/Libguestfs.cs>."
1212 msgstr ""
1213
1214 # type: =item
1215 #: ../src/guestfs.pod:610
1216 msgid "B<Haskell>"
1217 msgstr ""
1218
1219 # type: textblock
1220 #: ../src/guestfs.pod:612
1221 msgid ""
1222 "This is the only language binding that is working but incomplete.  Only "
1223 "calls which return simple integers have been bound in Haskell, and we are "
1224 "looking for help to complete this binding."
1225 msgstr ""
1226
1227 # type: =item
1228 #: ../src/guestfs.pod:616
1229 msgid "B<Java>"
1230 msgstr ""
1231
1232 # type: textblock
1233 #: ../src/guestfs.pod:618
1234 msgid ""
1235 "Full documentation is contained in the Javadoc which is distributed with "
1236 "libguestfs."
1237 msgstr ""
1238
1239 # type: =item
1240 #: ../src/guestfs.pod:621
1241 msgid "B<OCaml>"
1242 msgstr ""
1243
1244 # type: textblock
1245 #: ../src/guestfs.pod:623
1246 msgid "For documentation see the file C<guestfs.mli>."
1247 msgstr ""
1248
1249 # type: =item
1250 #: ../src/guestfs.pod:625
1251 msgid "B<Perl>"
1252 msgstr ""
1253
1254 # type: textblock
1255 #: ../src/guestfs.pod:627
1256 msgid "For documentation see L<Sys::Guestfs(3)>."
1257 msgstr ""
1258
1259 # type: =item
1260 #: ../src/guestfs.pod:629
1261 msgid "B<PHP>"
1262 msgstr ""
1263
1264 # type: textblock
1265 #: ../src/guestfs.pod:631
1266 msgid ""
1267 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
1268 "the php-libguestfs package for your distribution."
1269 msgstr ""
1270
1271 # type: textblock
1272 #: ../src/guestfs.pod:634
1273 msgid "The PHP binding only works correctly on 64 bit machines."
1274 msgstr ""
1275
1276 # type: =item
1277 #: ../src/guestfs.pod:636
1278 msgid "B<Python>"
1279 msgstr ""
1280
1281 # type: textblock
1282 #: ../src/guestfs.pod:638
1283 msgid "For documentation do:"
1284 msgstr ""
1285
1286 # type: verbatim
1287 #: ../src/guestfs.pod:640
1288 #, no-wrap
1289 msgid ""
1290 " $ python\n"
1291 " >>> import guestfs\n"
1292 " >>> help (guestfs)\n"
1293 "\n"
1294 msgstr ""
1295
1296 # type: =item
1297 #: ../src/guestfs.pod:644
1298 msgid "B<Ruby>"
1299 msgstr ""
1300
1301 # type: textblock
1302 #: ../src/guestfs.pod:646
1303 msgid ""
1304 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1305 "can find examples written in Ruby in the libguestfs source."
1306 msgstr ""
1307
1308 # type: =item
1309 #: ../src/guestfs.pod:649
1310 msgid "B<shell scripts>"
1311 msgstr ""
1312
1313 # type: textblock
1314 #: ../src/guestfs.pod:651
1315 msgid "For documentation see L<guestfish(1)>."
1316 msgstr ""
1317
1318 # type: =head2
1319 #: ../src/guestfs.pod:655
1320 msgid "LIBGUESTFS GOTCHAS"
1321 msgstr ""
1322
1323 # type: textblock
1324 #: ../src/guestfs.pod:657
1325 msgid ""
1326 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1327 "system [...] that works in the way it is documented but is counterintuitive "
1328 "and almost invites mistakes.\""
1329 msgstr ""
1330
1331 # type: textblock
1332 #: ../src/guestfs.pod:661
1333 msgid ""
1334 "Since we developed libguestfs and the associated tools, there are several "
1335 "things we would have designed differently, but are now stuck with for "
1336 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1337 "release, you can expect these to change.  Beware of them."
1338 msgstr ""
1339
1340 # type: =item
1341 #: ../src/guestfs.pod:669
1342 msgid "Autosync / forgetting to sync."
1343 msgstr ""
1344
1345 # type: textblock
1346 #: ../src/guestfs.pod:671
1347 msgid ""
1348 "When modifying a filesystem from C or another language, you B<must> unmount "
1349 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1350 "libguestfs handle.  You can also call:"
1351 msgstr ""
1352
1353 # type: verbatim
1354 #: ../src/guestfs.pod:675
1355 #, no-wrap
1356 msgid ""
1357 " guestfs_set_autosync (g, 1);\n"
1358 "\n"
1359 msgstr ""
1360
1361 # type: textblock
1362 #: ../src/guestfs.pod:677
1363 msgid ""
1364 "to have the unmount/sync done automatically for you when the handle 'g' is "
1365 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> "
1366 "q.v.)"
1367 msgstr ""
1368
1369 # type: textblock
1370 #: ../src/guestfs.pod:681
1371 msgid ""
1372 "If you forget to do this, then it is entirely possible that your changes "
1373 "won't be written out, or will be partially written, or (very rarely) that "
1374 "you'll get disk corruption."
1375 msgstr ""
1376
1377 # type: textblock
1378 #: ../src/guestfs.pod:685
1379 msgid ""
1380 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1381 "guestfish scripts that forget to sync will work just fine, which can make "
1382 "this very puzzling if you are trying to debug a problem."
1383 msgstr ""
1384
1385 # type: =item
1386 #: ../src/guestfs.pod:689
1387 msgid "Mount option C<-o sync> should not be the default."
1388 msgstr ""
1389
1390 # type: textblock
1391 #: ../src/guestfs.pod:691
1392 msgid ""
1393 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1394 "However C<-o sync> does not add any reliability benefit, but does have a "
1395 "very large performance impact."
1396 msgstr ""
1397
1398 # type: textblock
1399 #: ../src/guestfs.pod:695
1400 msgid ""
1401 "The work around is to use L</guestfs_mount_options> and set the mount "
1402 "options that you actually want to use."
1403 msgstr ""
1404
1405 # type: =item
1406 #: ../src/guestfs.pod:698
1407 msgid "Read-only should be the default."
1408 msgstr ""
1409
1410 # type: textblock
1411 #: ../src/guestfs.pod:700
1412 msgid ""
1413 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1414 "specify I<--rw> if you want to make changes to the image."
1415 msgstr ""
1416
1417 # type: textblock
1418 #: ../src/guestfs.pod:703
1419 msgid "This would reduce the potential to corrupt live VM images."
1420 msgstr ""
1421
1422 # type: textblock
1423 #: ../src/guestfs.pod:705
1424 msgid ""
1425 "Note that many filesystems change the disk when you just mount and unmount, "
1426 "even if you didn't perform any writes.  You need to use "
1427 "L</guestfs_add_drive_ro> to guarantee that the disk is not changed."
1428 msgstr ""
1429
1430 # type: =item
1431 #: ../src/guestfs.pod:709
1432 msgid "guestfish command line is hard to use."
1433 msgstr ""
1434
1435 # type: textblock
1436 #: ../src/guestfs.pod:711
1437 msgid ""
1438 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1439 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1440 "exist, so it fails.  In earlier versions of guestfish the error message was "
1441 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1442 "we should have used C<guestfish -c command> to run commands."
1443 msgstr ""
1444
1445 # type: =item
1446 #: ../src/guestfs.pod:718
1447 msgid "guestfish megabyte modifiers don't work right on all commands"
1448 msgstr ""
1449
1450 # type: textblock
1451 #: ../src/guestfs.pod:720
1452 msgid ""
1453 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1454 "other modifiers).  What guestfish actually does is to multiply the number "
1455 "part by the modifier part and pass the result to the C API.  However this "
1456 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1457 "expecting some other unit (eg. megabytes)."
1458 msgstr ""
1459
1460 # type: textblock
1461 #: ../src/guestfs.pod:727
1462 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1463 msgstr ""
1464
1465 # type: verbatim
1466 #: ../src/guestfs.pod:729
1467 #, no-wrap
1468 msgid ""
1469 " lvcreate LV VG 100M\n"
1470 "\n"
1471 msgstr ""
1472
1473 # type: textblock
1474 #: ../src/guestfs.pod:731
1475 msgid ""
1476 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1477 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1478 "megabytes * megabytes) logical volume.  The error message you get from this "
1479 "is also a little obscure."
1480 msgstr ""
1481
1482 # type: textblock
1483 #: ../src/guestfs.pod:736
1484 msgid ""
1485 "This could be fixed in the generator by specially marking parameters and "
1486 "return values which take bytes or other units."
1487 msgstr ""
1488
1489 # type: =item
1490 #: ../src/guestfs.pod:739
1491 msgid "Library should return errno with error messages."
1492 msgstr ""
1493
1494 # type: textblock
1495 #: ../src/guestfs.pod:741
1496 msgid ""
1497 "It would be a nice-to-have to be able to get the original value of 'errno' "
1498 "from inside the appliance along error paths (where set).  Currently "
1499 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1500 "string into an errno, see the function error() in fuse/guestmount.c."
1501 msgstr ""
1502
1503 # type: textblock
1504 #: ../src/guestfs.pod:747
1505 msgid ""
1506 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1507 "sent back from the daemon."
1508 msgstr ""
1509
1510 # type: =head2
1511 #: ../src/guestfs.pod:752
1512 msgid "PROTOCOL LIMITS"
1513 msgstr ""
1514
1515 # type: textblock
1516 #: ../src/guestfs.pod:754
1517 msgid ""
1518 "Internally libguestfs uses a message-based protocol to pass API calls and "
1519 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1520 "plenty more detail about this).  The maximum message size used by the "
1521 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1522 "aware of this limit.  The API calls which may be affected are individually "
1523 "documented, with a link back to this section of the documentation."
1524 msgstr ""
1525
1526 # type: textblock
1527 #: ../src/guestfs.pod:762
1528 msgid ""
1529 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1530 "a simple string.  Because this string is at some point internally encoded as "
1531 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1532 "the requested file is larger than this then you will get an error."
1533 msgstr ""
1534
1535 # type: textblock
1536 #: ../src/guestfs.pod:768
1537 msgid ""
1538 "In order to transfer large files into and out of the guest filesystem, you "
1539 "need to use particular calls that support this.  The sections L</UPLOADING> "
1540 "and L</DOWNLOADING> document how to do this."
1541 msgstr ""
1542
1543 # type: textblock
1544 #: ../src/guestfs.pod:772
1545 msgid ""
1546 "You might also consider mounting the disk image using our FUSE filesystem "
1547 "support (L<guestmount(1)>)."
1548 msgstr ""
1549
1550 # type: =head2
1551 #: ../src/guestfs.pod:775
1552 msgid "KEYS AND PASSPHRASES"
1553 msgstr ""
1554
1555 # type: textblock
1556 #: ../src/guestfs.pod:777
1557 msgid ""
1558 "Certain libguestfs calls take a parameter that contains sensitive key "
1559 "material, passed in as a C string."
1560 msgstr ""
1561
1562 # type: textblock
1563 #: ../src/guestfs.pod:780
1564 msgid ""
1565 "In the future we would hope to change the libguestfs implementation so that "
1566 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1567 "swap.  However this is I<not> done at the moment, because of the complexity "
1568 "of such an implementation."
1569 msgstr ""
1570
1571 # type: textblock
1572 #: ../src/guestfs.pod:785
1573 msgid ""
1574 "Therefore you should be aware that any key parameter you pass to libguestfs "
1575 "might end up being written out to the swap partition.  If this is a concern, "
1576 "scrub the swap partition or don't use libguestfs on encrypted devices."
1577 msgstr ""
1578
1579 # type: =head1
1580 #: ../src/guestfs.pod:790
1581 msgid "CONNECTION MANAGEMENT"
1582 msgstr ""
1583
1584 # type: =head2
1585 #: ../src/guestfs.pod:792
1586 msgid "guestfs_h *"
1587 msgstr ""
1588
1589 # type: textblock
1590 #: ../src/guestfs.pod:794
1591 msgid ""
1592 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1593 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1594 "handle and release all resources used."
1595 msgstr ""
1596
1597 # type: textblock
1598 #: ../src/guestfs.pod:798
1599 msgid ""
1600 "For information on using multiple handles and threads, see the section "
1601 "L</MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1602 msgstr ""
1603
1604 # type: =head2
1605 #: ../src/guestfs.pod:801
1606 msgid "guestfs_create"
1607 msgstr ""
1608
1609 # type: verbatim
1610 #: ../src/guestfs.pod:803
1611 #, no-wrap
1612 msgid ""
1613 " guestfs_h *guestfs_create (void);\n"
1614 "\n"
1615 msgstr ""
1616
1617 # type: textblock
1618 #: ../src/guestfs.pod:805
1619 msgid "Create a connection handle."
1620 msgstr ""
1621
1622 # type: textblock
1623 #: ../src/guestfs.pod:807
1624 msgid "You have to call L</guestfs_add_drive> on the handle at least once."
1625 msgstr ""
1626
1627 # type: textblock
1628 #: ../src/guestfs.pod:809
1629 msgid ""
1630 "This function returns a non-NULL pointer to a handle on success or NULL on "
1631 "error."
1632 msgstr ""
1633
1634 # type: textblock
1635 #: ../src/guestfs.pod:812
1636 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1637 msgstr ""
1638
1639 # type: textblock
1640 #: ../src/guestfs.pod:814
1641 msgid ""
1642 "You may also want to configure error handling for the handle.  See L</ERROR "
1643 "HANDLING> section below."
1644 msgstr ""
1645
1646 # type: =head2
1647 #: ../src/guestfs.pod:817
1648 msgid "guestfs_close"
1649 msgstr ""
1650
1651 # type: verbatim
1652 #: ../src/guestfs.pod:819
1653 #, no-wrap
1654 msgid ""
1655 " void guestfs_close (guestfs_h *g);\n"
1656 "\n"
1657 msgstr ""
1658
1659 # type: textblock
1660 #: ../src/guestfs.pod:821
1661 msgid "This closes the connection handle and frees up all resources used."
1662 msgstr ""
1663
1664 # type: =head1
1665 #: ../src/guestfs.pod:823
1666 msgid "ERROR HANDLING"
1667 msgstr ""
1668
1669 # type: textblock
1670 #: ../src/guestfs.pod:825
1671 msgid ""
1672 "The convention in all functions that return C<int> is that they return C<-1> "
1673 "to indicate an error.  You can get additional information on errors by "
1674 "calling L</guestfs_last_error> and/or by setting up an error handler with "
1675 "L</guestfs_set_error_handler>."
1676 msgstr ""
1677
1678 # type: textblock
1679 #: ../src/guestfs.pod:830
1680 msgid "The default error handler prints the information string to C<stderr>."
1681 msgstr ""
1682
1683 # type: textblock
1684 #: ../src/guestfs.pod:832
1685 msgid ""
1686 "Out of memory errors are handled differently.  The default action is to call "
1687 "L<abort(3)>.  If this is undesirable, then you can set a handler using "
1688 "L</guestfs_set_out_of_memory_handler>."
1689 msgstr ""
1690
1691 # type: =head2
1692 #: ../src/guestfs.pod:836
1693 msgid "guestfs_last_error"
1694 msgstr ""
1695
1696 # type: verbatim
1697 #: ../src/guestfs.pod:838
1698 #, no-wrap
1699 msgid ""
1700 " const char *guestfs_last_error (guestfs_h *g);\n"
1701 "\n"
1702 msgstr ""
1703
1704 # type: textblock
1705 #: ../src/guestfs.pod:840
1706 msgid ""
1707 "This returns the last error message that happened on C<g>.  If there has not "
1708 "been an error since the handle was created, then this returns C<NULL>."
1709 msgstr ""
1710
1711 # type: textblock
1712 #: ../src/guestfs.pod:844
1713 msgid ""
1714 "The lifetime of the returned string is until the next error occurs, or "
1715 "L</guestfs_close> is called."
1716 msgstr ""
1717
1718 # type: textblock
1719 #: ../src/guestfs.pod:847
1720 msgid ""
1721 "The error string is not localized (ie. is always in English), because this "
1722 "makes searching for error messages in search engines give the largest number "
1723 "of results."
1724 msgstr ""
1725
1726 # type: =head2
1727 #: ../src/guestfs.pod:851
1728 msgid "guestfs_set_error_handler"
1729 msgstr ""
1730
1731 # type: verbatim
1732 #: ../src/guestfs.pod:853
1733 #, no-wrap
1734 msgid ""
1735 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1736 "                                           void *opaque,\n"
1737 "                                           const char *msg);\n"
1738 " void guestfs_set_error_handler (guestfs_h *g,\n"
1739 "                                 guestfs_error_handler_cb cb,\n"
1740 "                                 void *opaque);\n"
1741 "\n"
1742 msgstr ""
1743
1744 # type: textblock
1745 #: ../src/guestfs.pod:860
1746 msgid ""
1747 "The callback C<cb> will be called if there is an error.  The parameters "
1748 "passed to the callback are an opaque data pointer and the error message "
1749 "string."
1750 msgstr ""
1751
1752 # type: textblock
1753 #: ../src/guestfs.pod:864
1754 msgid ""
1755 "Note that the message string C<msg> is freed as soon as the callback "
1756 "function returns, so if you want to stash it somewhere you must make your "
1757 "own copy."
1758 msgstr ""
1759
1760 # type: textblock
1761 #: ../src/guestfs.pod:868
1762 msgid "The default handler prints messages on C<stderr>."
1763 msgstr ""
1764
1765 # type: textblock
1766 #: ../src/guestfs.pod:870
1767 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1768 msgstr ""
1769
1770 # type: =head2
1771 #: ../src/guestfs.pod:872
1772 msgid "guestfs_get_error_handler"
1773 msgstr ""
1774
1775 # type: verbatim
1776 #: ../src/guestfs.pod:874
1777 #, no-wrap
1778 msgid ""
1779 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1780 "                                                     void **opaque_rtn);\n"
1781 "\n"
1782 msgstr ""
1783
1784 # type: textblock
1785 #: ../src/guestfs.pod:877
1786 msgid "Returns the current error handler callback."
1787 msgstr ""
1788
1789 # type: =head2
1790 #: ../src/guestfs.pod:879
1791 msgid "guestfs_set_out_of_memory_handler"
1792 msgstr ""
1793
1794 # type: verbatim
1795 #: ../src/guestfs.pod:881
1796 #, no-wrap
1797 msgid ""
1798 " typedef void (*guestfs_abort_cb) (void);\n"
1799 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1800 "                                        guestfs_abort_cb);\n"
1801 "\n"
1802 msgstr ""
1803
1804 # type: textblock
1805 #: ../src/guestfs.pod:885
1806 msgid ""
1807 "The callback C<cb> will be called if there is an out of memory situation.  "
1808 "I<Note this callback must not return>."
1809 msgstr ""
1810
1811 # type: textblock
1812 #: ../src/guestfs.pod:888
1813 msgid "The default is to call L<abort(3)>."
1814 msgstr ""
1815
1816 # type: textblock
1817 #: ../src/guestfs.pod:890
1818 msgid "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1819 msgstr ""
1820
1821 # type: =head2
1822 #: ../src/guestfs.pod:893
1823 msgid "guestfs_get_out_of_memory_handler"
1824 msgstr ""
1825
1826 # type: verbatim
1827 #: ../src/guestfs.pod:895
1828 #, no-wrap
1829 msgid ""
1830 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1831 "\n"
1832 msgstr ""
1833
1834 # type: textblock
1835 #: ../src/guestfs.pod:897
1836 msgid "This returns the current out of memory handler."
1837 msgstr ""
1838
1839 # type: =head1
1840 #: ../src/guestfs.pod:899
1841 msgid "PATH"
1842 msgstr ""
1843
1844 # type: textblock
1845 #: ../src/guestfs.pod:901
1846 msgid ""
1847 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1848 "internal path."
1849 msgstr ""
1850
1851 # type: textblock
1852 #: ../src/guestfs.pod:904
1853 msgid ""
1854 "By default it looks for these in the directory C<$libdir/guestfs> "
1855 "(eg. C</usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1856 msgstr ""
1857
1858 # type: textblock
1859 #: ../src/guestfs.pod:907
1860 msgid ""
1861 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1862 "to change the directories that libguestfs will search in.  The value is a "
1863 "colon-separated list of paths.  The current directory is I<not> searched "
1864 "unless the path contains an empty element or C<.>.  For example "
1865 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1866 "then C</usr/lib/guestfs>."
1867 msgstr ""
1868
1869 # type: =head1
1870 #: ../src/guestfs.pod:914
1871 msgid "HIGH-LEVEL API ACTIONS"
1872 msgstr ""
1873
1874 # type: =head2
1875 #: ../src/guestfs.pod:916
1876 msgid "ABI GUARANTEE"
1877 msgstr ""
1878
1879 # type: textblock
1880 #: ../src/guestfs.pod:918
1881 msgid ""
1882 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
1883 "actions as outlined in this section.  Although we will deprecate some "
1884 "actions, for example if they get replaced by newer calls, we will keep the "
1885 "old actions forever.  This allows you the developer to program in confidence "
1886 "against the libguestfs API."
1887 msgstr ""
1888
1889 # type: textblock
1890 #: ../src/guestfs.pod:924 ../fish/guestfish.pod:926
1891 msgid "@ACTIONS@"
1892 msgstr ""
1893
1894 # type: =head1
1895 #: ../src/guestfs.pod:926
1896 msgid "STRUCTURES"
1897 msgstr ""
1898
1899 # type: textblock
1900 #: ../src/guestfs.pod:928
1901 msgid "@STRUCTS@"
1902 msgstr ""
1903
1904 # type: =head1
1905 #: ../src/guestfs.pod:930
1906 msgid "AVAILABILITY"
1907 msgstr ""
1908
1909 # type: =head2
1910 #: ../src/guestfs.pod:932
1911 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
1912 msgstr ""
1913
1914 # type: textblock
1915 #: ../src/guestfs.pod:934
1916 msgid ""
1917 "Using L</guestfs_available> you can test availability of the following "
1918 "groups of functions.  This test queries the appliance to see if the "
1919 "appliance you are currently using supports the functionality."
1920 msgstr ""
1921
1922 # type: textblock
1923 #: ../src/guestfs.pod:939
1924 msgid "@AVAILABILITY@"
1925 msgstr ""
1926
1927 # type: =head2
1928 #: ../src/guestfs.pod:941
1929 msgid "GUESTFISH supported COMMAND"
1930 msgstr ""
1931
1932 # type: textblock
1933 #: ../src/guestfs.pod:943
1934 msgid ""
1935 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
1936 "prints out the available groups and whether they are supported by this build "
1937 "of libguestfs.  Note however that you have to do C<run> first."
1938 msgstr ""
1939
1940 # type: =head2
1941 #: ../src/guestfs.pod:948
1942 msgid "SINGLE CALLS AT COMPILE TIME"
1943 msgstr ""
1944
1945 # type: textblock
1946 #: ../src/guestfs.pod:950
1947 msgid ""
1948 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
1949 "function, such as:"
1950 msgstr ""
1951
1952 # type: verbatim
1953 #: ../src/guestfs.pod:953
1954 #, no-wrap
1955 msgid ""
1956 " #define LIBGUESTFS_HAVE_DD 1\n"
1957 "\n"
1958 msgstr ""
1959
1960 # type: textblock
1961 #: ../src/guestfs.pod:955
1962 msgid "if L</guestfs_dd> is available."
1963 msgstr ""
1964
1965 # type: textblock
1966 #: ../src/guestfs.pod:957
1967 msgid ""
1968 "Before version 1.5.8, if you needed to test whether a single libguestfs "
1969 "function is available at compile time, we recommended using build tools such "
1970 "as autoconf or cmake.  For example in autotools you could use:"
1971 msgstr ""
1972
1973 # type: verbatim
1974 #: ../src/guestfs.pod:962
1975 #, no-wrap
1976 msgid ""
1977 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
1978 " AC_CHECK_FUNCS([guestfs_dd])\n"
1979 "\n"
1980 msgstr ""
1981
1982 # type: textblock
1983 #: ../src/guestfs.pod:965
1984 msgid ""
1985 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
1986 "in your program."
1987 msgstr ""
1988
1989 # type: =head2
1990 #: ../src/guestfs.pod:968
1991 msgid "SINGLE CALLS AT RUN TIME"
1992 msgstr ""
1993
1994 # type: textblock
1995 #: ../src/guestfs.pod:970
1996 msgid ""
1997 "Testing at compile time doesn't guarantee that a function really exists in "
1998 "the library.  The reason is that you might be dynamically linked against a "
1999 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2000 "This situation unfortunately results in a segmentation fault, which is a "
2001 "shortcoming of the C dynamic linking system itself."
2002 msgstr ""
2003
2004 # type: textblock
2005 #: ../src/guestfs.pod:977
2006 msgid ""
2007 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2008 "in this example program (note that you still need the compile time check as "
2009 "well):"
2010 msgstr ""
2011
2012 # type: verbatim
2013 #: ../src/guestfs.pod:981
2014 #, no-wrap
2015 msgid ""
2016 " #include <stdio.h>\n"
2017 " #include <stdlib.h>\n"
2018 " #include <unistd.h>\n"
2019 " #include <dlfcn.h>\n"
2020 " #include <guestfs.h>\n"
2021 " \n"
2022 msgstr ""
2023
2024 # type: verbatim
2025 #: ../src/guestfs.pod:987
2026 #, no-wrap
2027 msgid ""
2028 " main ()\n"
2029 " {\n"
2030 " #ifdef LIBGUESTFS_HAVE_DD\n"
2031 "   void *dl;\n"
2032 "   int has_function;\n"
2033 " \n"
2034 msgstr ""
2035
2036 # type: verbatim
2037 #: ../src/guestfs.pod:993
2038 #, no-wrap
2039 msgid ""
2040 "   /* Test if the function guestfs_dd is really available. */\n"
2041 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2042 "   if (!dl) {\n"
2043 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2044 "     exit (EXIT_FAILURE);\n"
2045 "   }\n"
2046 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2047 "   dlclose (dl);\n"
2048 " \n"
2049 msgstr ""
2050
2051 # type: verbatim
2052 #: ../src/guestfs.pod:1002
2053 #, no-wrap
2054 msgid ""
2055 "   if (!has_function)\n"
2056 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2057 "   else {\n"
2058 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2059 "     /* Now it's safe to call\n"
2060 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2061 "     */\n"
2062 "   }\n"
2063 " #else\n"
2064 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2065 " #endif\n"
2066 "  }\n"
2067 "\n"
2068 msgstr ""
2069
2070 # type: textblock
2071 #: ../src/guestfs.pod:1015
2072 msgid ""
2073 "You may think the above is an awful lot of hassle, and it is.  There are "
2074 "other ways outside of the C linking system to ensure that this kind of "
2075 "incompatibility never arises, such as using package versioning:"
2076 msgstr ""
2077
2078 # type: verbatim
2079 #: ../src/guestfs.pod:1020
2080 #, no-wrap
2081 msgid ""
2082 " Requires: libguestfs >= 1.0.80\n"
2083 "\n"
2084 msgstr ""
2085
2086 # type: =end
2087 #: ../src/guestfs.pod:1022 ../src/guestfs.pod:1027
2088 msgid "html"
2089 msgstr ""
2090
2091 # type: textblock
2092 #: ../src/guestfs.pod:1024
2093 msgid ""
2094 "<!-- old anchor for the next section --> <a "
2095 "name=\"state_machine_and_low_level_event_api\"/>"
2096 msgstr ""
2097
2098 # type: =head1
2099 #: ../src/guestfs.pod:1029
2100 msgid "ARCHITECTURE"
2101 msgstr ""
2102
2103 # type: textblock
2104 #: ../src/guestfs.pod:1031
2105 msgid ""
2106 "Internally, libguestfs is implemented by running an appliance (a special "
2107 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2108 "process of the main program."
2109 msgstr ""
2110
2111 # type: verbatim
2112 #: ../src/guestfs.pod:1035
2113 #, no-wrap
2114 msgid ""
2115 "  ___________________\n"
2116 " /                   \\\n"
2117 " | main program      |\n"
2118 " |                   |\n"
2119 " |                   |           child process / appliance\n"
2120 " |                   |           __________________________\n"
2121 " |                   |          / qemu                     \\\n"
2122 " +-------------------+   RPC    |      +-----------------+ |\n"
2123 " | libguestfs     <--------------------> guestfsd        | |\n"
2124 " |                   |          |      +-----------------+ |\n"
2125 " \\___________________/          |      | Linux kernel    | |\n"
2126 "                                |      +--^--------------+ |\n"
2127 "                                \\_________|________________/\n"
2128 "                                          |\n"
2129 "                                   _______v______\n"
2130 "                                  /              \\\n"
2131 "                                  | Device or    |\n"
2132 "                                  | disk image   |\n"
2133 "                                  \\______________/\n"
2134 "\n"
2135 msgstr ""
2136
2137 # type: textblock
2138 #: ../src/guestfs.pod:1055
2139 msgid ""
2140 "The library, linked to the main program, creates the child process and hence "
2141 "the appliance in the L</guestfs_launch> function."
2142 msgstr ""
2143
2144 # type: textblock
2145 #: ../src/guestfs.pod:1058
2146 msgid ""
2147 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2148 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2149 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2150 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2151 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2152 "attached to the qemu process which translates device access by the "
2153 "appliance's Linux kernel into accesses to the image."
2154 msgstr ""
2155
2156 # type: textblock
2157 #: ../src/guestfs.pod:1067
2158 msgid ""
2159 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2160 "Although the disk image you are attached to might also be used by some "
2161 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2162 "care if both libguestfs's qemu process and your virtual machine are trying "
2163 "to update the disk image at the same time, since these usually results in "
2164 "massive disk corruption)."
2165 msgstr ""
2166
2167 # type: =head1
2168 #: ../src/guestfs.pod:1074
2169 msgid "STATE MACHINE"
2170 msgstr ""
2171
2172 # type: textblock
2173 #: ../src/guestfs.pod:1076
2174 msgid "libguestfs uses a state machine to model the child process:"
2175 msgstr ""
2176
2177 # type: verbatim
2178 #: ../src/guestfs.pod:1078
2179 #, no-wrap
2180 msgid ""
2181 "                         |\n"
2182 "                    guestfs_create\n"
2183 "                         |\n"
2184 "                         |\n"
2185 "                     ____V_____\n"
2186 "                    /          \\\n"
2187 "                    |  CONFIG  |\n"
2188 "                    \\__________/\n"
2189 "                     ^ ^   ^  \\\n"
2190 "                    /  |    \\  \\ guestfs_launch\n"
2191 "                   /   |    _\\__V______\n"
2192 "                  /    |   /           \\\n"
2193 "                 /     |   | LAUNCHING |\n"
2194 "                /      |   \\___________/\n"
2195 "               /       |       /\n"
2196 "              /        |  guestfs_launch\n"
2197 "             /         |     /\n"
2198 "    ______  /        __|____V\n"
2199 "   /      \\ ------> /        \\\n"
2200 "   | BUSY |         | READY  |\n"
2201 "   \\______/ <------ \\________/\n"
2202 "\n"
2203 msgstr ""
2204
2205 # type: textblock
2206 #: ../src/guestfs.pod:1100
2207 msgid ""
2208 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2209 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2210 "(3) alternating between READY and BUSY as commands are issued to, and "
2211 "carried out by, the child process."
2212 msgstr ""
2213
2214 # type: textblock
2215 #: ../src/guestfs.pod:1105
2216 msgid ""
2217 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2218 "asynchronously at any time (eg. due to some internal error), and that causes "
2219 "the state to transition back to CONFIG."
2220 msgstr ""
2221
2222 # type: textblock
2223 #: ../src/guestfs.pod:1109
2224 msgid ""
2225 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2226 "issued when in the CONFIG state."
2227 msgstr ""
2228
2229 # type: textblock
2230 #: ../src/guestfs.pod:1112
2231 msgid ""
2232 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
2233 "L</guestfs_launch> blocks until the child process is READY to accept "
2234 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2235 "moves the state from CONFIG to LAUNCHING while it is running."
2236 msgstr ""
2237
2238 # type: textblock
2239 #: ../src/guestfs.pod:1118
2240 msgid ""
2241 "API actions such as L</guestfs_mount> can only be issued when in the READY "
2242 "state.  These API calls block waiting for the command to be carried out "
2243 "(ie. the state to transition to BUSY and then back to READY).  There are no "
2244 "non-blocking versions, and no way to issue more than one command per handle "
2245 "at the same time."
2246 msgstr ""
2247
2248 # type: textblock
2249 #: ../src/guestfs.pod:1124
2250 msgid ""
2251 "Finally, the child process sends asynchronous messages back to the main "
2252 "program, such as kernel log messages.  You can register a callback to "
2253 "receive these messages."
2254 msgstr ""
2255
2256 # type: =head2
2257 #: ../src/guestfs.pod:1128
2258 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2259 msgstr ""
2260
2261 # type: textblock
2262 #: ../src/guestfs.pod:1130
2263 msgid ""
2264 "The child process generates events in some situations.  Current events "
2265 "include: receiving a log message, the child process exits."
2266 msgstr ""
2267
2268 # type: textblock
2269 #: ../src/guestfs.pod:1133
2270 msgid ""
2271 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2272 "types of events."
2273 msgstr ""
2274
2275 # type: textblock
2276 #: ../src/guestfs.pod:1136
2277 msgid ""
2278 "Only I<one callback of each type> can be registered for each handle.  "
2279 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2280 "that type.  Cancel all callbacks of this type by calling this function with "
2281 "C<cb> set to C<NULL>."
2282 msgstr ""
2283
2284 # type: =head2
2285 #: ../src/guestfs.pod:1141
2286 msgid "guestfs_set_log_message_callback"
2287 msgstr ""
2288
2289 # type: verbatim
2290 #: ../src/guestfs.pod:1143
2291 #, no-wrap
2292 msgid ""
2293 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2294 "                                         char *buf, int len);\n"
2295 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2296 "                                        guestfs_log_message_cb cb,\n"
2297 "                                        void *opaque);\n"
2298 "\n"
2299 msgstr ""
2300
2301 # type: textblock
2302 #: ../src/guestfs.pod:1149
2303 msgid ""
2304 "The callback function C<cb> will be called whenever qemu or the guest writes "
2305 "anything to the console."
2306 msgstr ""
2307
2308 # type: textblock
2309 #: ../src/guestfs.pod:1152
2310 msgid "Use this function to capture kernel messages and similar."
2311 msgstr ""
2312
2313 # type: textblock
2314 #: ../src/guestfs.pod:1154
2315 msgid ""
2316 "Normally there is no log message handler, and log messages are just "
2317 "discarded."
2318 msgstr ""
2319
2320 # type: =head2
2321 #: ../src/guestfs.pod:1157
2322 msgid "guestfs_set_subprocess_quit_callback"
2323 msgstr ""
2324
2325 # type: verbatim
2326 #: ../src/guestfs.pod:1159
2327 #, no-wrap
2328 msgid ""
2329 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2330 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2331 "                                            guestfs_subprocess_quit_cb cb,\n"
2332 "                                            void *opaque);\n"
2333 "\n"
2334 msgstr ""
2335
2336 # type: textblock
2337 #: ../src/guestfs.pod:1164
2338 msgid ""
2339 "The callback function C<cb> will be called when the child process quits, "
2340 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2341 "corresponds to a transition from any state to the CONFIG state)."
2342 msgstr ""
2343
2344 # type: =head2
2345 #: ../src/guestfs.pod:1169
2346 msgid "guestfs_set_launch_done_callback"
2347 msgstr ""
2348
2349 # type: verbatim
2350 #: ../src/guestfs.pod:1171
2351 #, no-wrap
2352 msgid ""
2353 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2354 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2355 "                                        guestfs_launch_done_cb cb,\n"
2356 "                                        void *opaque);\n"
2357 "\n"
2358 msgstr ""
2359
2360 # type: textblock
2361 #: ../src/guestfs.pod:1176
2362 msgid ""
2363 "The callback function C<cb> will be called when the child process becomes "
2364 "ready first time after it has been launched.  (This corresponds to a "
2365 "transition from LAUNCHING to the READY state)."
2366 msgstr ""
2367
2368 # type: =head2
2369 #: ../src/guestfs.pod:1180
2370 msgid "guestfs_set_close_callback"
2371 msgstr ""
2372
2373 # type: verbatim
2374 #: ../src/guestfs.pod:1182
2375 #, no-wrap
2376 msgid ""
2377 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2378 " void guestfs_set_close_callback (guestfs_h *g,\n"
2379 "                                  guestfs_close_cb cb,\n"
2380 "                                  void *opaque);\n"
2381 "\n"
2382 msgstr ""
2383
2384 # type: textblock
2385 #: ../src/guestfs.pod:1187
2386 msgid ""
2387 "The callback function C<cb> will be called while the handle is being closed "
2388 "(synchronously from L</guestfs_close>)."
2389 msgstr ""
2390
2391 # type: textblock
2392 #: ../src/guestfs.pod:1190
2393 msgid ""
2394 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2395 "handles that are open when the program exits.  This means that this callback "
2396 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2397 "problems in higher-level languages (eg. if your HLL interpreter has already "
2398 "been cleaned up by the time this is called, and if your callback then jumps "
2399 "into some HLL function)."
2400 msgstr ""
2401
2402 # type: =head2
2403 #: ../src/guestfs.pod:1198
2404 msgid "guestfs_set_progress_callback"
2405 msgstr ""
2406
2407 # type: verbatim
2408 #: ../src/guestfs.pod:1200
2409 #, no-wrap
2410 msgid ""
2411 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2412 "                                      int proc_nr, int serial,\n"
2413 "                                      uint64_t position, uint64_t total);\n"
2414 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2415 "                                     guestfs_progress_cb cb,\n"
2416 "                                     void *opaque);\n"
2417 "\n"
2418 msgstr ""
2419
2420 # type: textblock
2421 #: ../src/guestfs.pod:1207
2422 msgid ""
2423 "Some long-running operations can generate progress messages.  If this "
2424 "callback is registered, then it will be called each time a progress message "
2425 "is generated (usually two seconds after the operation started, and three "
2426 "times per second thereafter until it completes, although the frequency may "
2427 "change in future versions)."
2428 msgstr ""
2429
2430 # type: textblock
2431 #: ../src/guestfs.pod:1213
2432 msgid ""
2433 "The callback receives two numbers: C<position> and C<total>.  The units of "
2434 "C<total> are not defined, although for some operations C<total> may relate "
2435 "in some way to the amount of data to be transferred (eg. in bytes or "
2436 "megabytes), and C<position> may be the portion which has been transferred."
2437 msgstr ""
2438
2439 # type: textblock
2440 #: ../src/guestfs.pod:1219
2441 msgid "The only defined and stable parts of the API are:"
2442 msgstr ""
2443
2444 # type: textblock
2445 #: ../src/guestfs.pod:1225
2446 msgid ""
2447 "The callback can display to the user some type of progress bar or indicator "
2448 "which shows the ratio of C<position>:C<total>."
2449 msgstr ""
2450
2451 # type: textblock
2452 #: ../src/guestfs.pod:1230
2453 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2454 msgstr ""
2455
2456 # type: textblock
2457 #: ../src/guestfs.pod:1234
2458 msgid ""
2459 "If any progress notification is sent during a call, then a final progress "
2460 "notification is always sent when C<position> = C<total>."
2461 msgstr ""
2462
2463 # type: textblock
2464 #: ../src/guestfs.pod:1237
2465 msgid ""
2466 "This is to simplify caller code, so callers can easily set the progress "
2467 "indicator to \"100%\" at the end of the operation, without requiring special "
2468 "code to detect this case."
2469 msgstr ""
2470
2471 # type: textblock
2472 #: ../src/guestfs.pod:1243
2473 msgid ""
2474 "The callback also receives the procedure number and serial number of the "
2475 "call.  These are only useful for debugging protocol issues, and the callback "
2476 "can normally ignore them.  The callback may want to print these numbers in "
2477 "error messages or debugging messages."
2478 msgstr ""
2479
2480 # type: =head1
2481 #: ../src/guestfs.pod:1248
2482 msgid "PRIVATE DATA AREA"
2483 msgstr ""
2484
2485 # type: textblock
2486 #: ../src/guestfs.pod:1250
2487 msgid ""
2488 "You can attach named pieces of private data to the libguestfs handle, and "
2489 "fetch them by name for the lifetime of the handle.  This is called the "
2490 "private data area and is only available from the C API."
2491 msgstr ""
2492
2493 # type: textblock
2494 #: ../src/guestfs.pod:1254
2495 msgid "To attach a named piece of data, use the following call:"
2496 msgstr ""
2497
2498 # type: verbatim
2499 #: ../src/guestfs.pod:1256
2500 #, no-wrap
2501 msgid ""
2502 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2503 "\n"
2504 msgstr ""
2505
2506 # type: textblock
2507 #: ../src/guestfs.pod:1258
2508 msgid ""
2509 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2510 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2511 "overwritten."
2512 msgstr ""
2513
2514 # type: textblock
2515 #: ../src/guestfs.pod:1262
2516 msgid ""
2517 "You can use any C<key> you want, but names beginning with an underscore "
2518 "character are reserved for internal libguestfs purposes (for implementing "
2519 "language bindings).  It is recommended to prefix the name with some unique "
2520 "string to avoid collisions with other users."
2521 msgstr ""
2522
2523 # type: textblock
2524 #: ../src/guestfs.pod:1267
2525 msgid "To retrieve the pointer, use:"
2526 msgstr ""
2527
2528 # type: verbatim
2529 #: ../src/guestfs.pod:1269
2530 #, no-wrap
2531 msgid ""
2532 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2533 "\n"
2534 msgstr ""
2535
2536 # type: textblock
2537 #: ../src/guestfs.pod:1271
2538 msgid ""
2539 "This function returns C<NULL> if either no data is found associated with "
2540 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2541 "C<NULL>."
2542 msgstr ""
2543
2544 # type: textblock
2545 #: ../src/guestfs.pod:1275
2546 msgid ""
2547 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2548 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2549 "all.  In particular, libguestfs does I<not> try to free the data when the "
2550 "handle is closed.  If the data must be freed, then the caller must either "
2551 "free it before calling L</guestfs_close> or must set up a close callback to "
2552 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2553 "can be registered for a handle)."
2554 msgstr ""
2555
2556 # type: textblock
2557 #: ../src/guestfs.pod:1283
2558 msgid ""
2559 "The private data area is implemented using a hash table, and should be "
2560 "reasonably efficient for moderate numbers of keys."
2561 msgstr ""
2562
2563 # type: =head1
2564 #: ../src/guestfs.pod:1286
2565 msgid "BLOCK DEVICE NAMING"
2566 msgstr ""
2567
2568 # type: textblock
2569 #: ../src/guestfs.pod:1288
2570 msgid ""
2571 "In the kernel there is now quite a profusion of schemata for naming block "
2572 "devices (in this context, by I<block device> I mean a physical or virtual "
2573 "hard drive).  The original Linux IDE driver used names starting with "
2574 "C</dev/hd*>.  SCSI devices have historically used a different naming scheme, "
2575 "C</dev/sd*>.  When the Linux kernel I<libata> driver became a popular "
2576 "replacement for the old IDE driver (particularly for SATA devices) those "
2577 "devices also used the C</dev/sd*> scheme.  Additionally we now have virtual "
2578 "machines with paravirtualized drivers.  This has created several different "
2579 "naming systems, such as C</dev/vd*> for virtio disks and C</dev/xvd*> for "
2580 "Xen PV disks."
2581 msgstr ""
2582
2583 # type: textblock
2584 #: ../src/guestfs.pod:1300
2585 msgid ""
2586 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2587 "Linux kernel to access block devices.  We can run a variety of appliances "
2588 "based on a variety of Linux kernels."
2589 msgstr ""
2590
2591 # type: textblock
2592 #: ../src/guestfs.pod:1304
2593 msgid ""
2594 "This causes a problem for libguestfs because many API calls use device or "
2595 "partition names.  Working scripts and the recipe (example) scripts that we "
2596 "make available over the internet could fail if the naming scheme changes."
2597 msgstr ""
2598
2599 # type: textblock
2600 #: ../src/guestfs.pod:1309
2601 msgid ""
2602 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2603 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2604 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2605 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2606 msgstr ""
2607
2608 # type: textblock
2609 #: ../src/guestfs.pod:1315
2610 msgid ""
2611 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2612 "L</guestfs_list_partitions> and similar calls return the true names of the "
2613 "devices and partitions as known to the appliance."
2614 msgstr ""
2615
2616 # type: =head2
2617 #: ../src/guestfs.pod:1320
2618 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2619 msgstr ""
2620
2621 # type: textblock
2622 #: ../src/guestfs.pod:1322
2623 msgid ""
2624 "Usually this translation is transparent.  However in some (very rare)  cases "
2625 "you may need to know the exact algorithm.  Such cases include where you use "
2626 "L</guestfs_config> to add a mixture of virtio and IDE devices to the "
2627 "qemu-based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> "
2628 "devices."
2629 msgstr ""
2630
2631 # type: textblock
2632 #: ../src/guestfs.pod:1328
2633 msgid ""
2634 "The algorithm is applied only to I<parameters> which are known to be either "
2635 "device or partition names.  Return values from functions such as "
2636 "L</guestfs_list_devices> are never changed."
2637 msgstr ""
2638
2639 # type: textblock
2640 #: ../src/guestfs.pod:1336
2641 msgid "Is the string a parameter which is a device or partition name?"
2642 msgstr ""
2643
2644 # type: textblock
2645 #: ../src/guestfs.pod:1340
2646 msgid "Does the string begin with C</dev/sd>?"
2647 msgstr ""
2648
2649 # type: textblock
2650 #: ../src/guestfs.pod:1344
2651 msgid ""
2652 "Does the named device exist? If so, we use that device.  However if I<not> "
2653 "then we continue with this algorithm."
2654 msgstr ""
2655
2656 # type: textblock
2657 #: ../src/guestfs.pod:1349
2658 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2659 msgstr ""
2660
2661 # type: textblock
2662 #: ../src/guestfs.pod:1351
2663 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2664 msgstr ""
2665
2666 # type: textblock
2667 #: ../src/guestfs.pod:1353
2668 msgid "If that named device exists, use it.  If not, continue."
2669 msgstr ""
2670
2671 # type: textblock
2672 #: ../src/guestfs.pod:1357
2673 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2674 msgstr ""
2675
2676 # type: textblock
2677 #: ../src/guestfs.pod:1359
2678 msgid "If that named device exists, use it.  If not, return an error."
2679 msgstr ""
2680
2681 # type: =head2
2682 #: ../src/guestfs.pod:1363
2683 msgid "PORTABILITY CONCERNS"
2684 msgstr ""
2685
2686 # type: textblock
2687 #: ../src/guestfs.pod:1365
2688 msgid ""
2689 "Although the standard naming scheme and automatic translation is useful for "
2690 "simple programs and guestfish scripts, for larger programs it is best not to "
2691 "rely on this mechanism."
2692 msgstr ""
2693
2694 # type: textblock
2695 #: ../src/guestfs.pod:1369
2696 msgid ""
2697 "Where possible for maximum future portability programs using libguestfs "
2698 "should use these future-proof techniques:"
2699 msgstr ""
2700
2701 # type: textblock
2702 #: ../src/guestfs.pod:1376
2703 msgid ""
2704 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
2705 "device names, and then use those names directly."
2706 msgstr ""
2707
2708 # type: textblock
2709 #: ../src/guestfs.pod:1379
2710 msgid "Since those device names exist by definition, they will never be translated."
2711 msgstr ""
2712
2713 # type: textblock
2714 #: ../src/guestfs.pod:1384
2715 msgid ""
2716 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
2717 "filesystem labels."
2718 msgstr ""
2719
2720 # type: =head1
2721 #: ../src/guestfs.pod:1389
2722 msgid "INTERNALS"
2723 msgstr ""
2724
2725 # type: =head2
2726 #: ../src/guestfs.pod:1391
2727 msgid "COMMUNICATION PROTOCOL"
2728 msgstr ""
2729
2730 # type: textblock
2731 #: ../src/guestfs.pod:1393
2732 msgid ""
2733 "Don't rely on using this protocol directly.  This section documents how it "
2734 "currently works, but it may change at any time."
2735 msgstr ""
2736
2737 # type: textblock
2738 #: ../src/guestfs.pod:1396
2739 msgid ""
2740 "The protocol used to talk between the library and the daemon running inside "
2741 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
2742 "1014, RFC 1832, RFC 4506)."
2743 msgstr ""
2744
2745 # type: textblock
2746 #: ../src/guestfs.pod:1400
2747 msgid ""
2748 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
2749 "this file is automatically generated)."
2750 msgstr ""
2751
2752 # type: textblock
2753 #: ../src/guestfs.pod:1403
2754 msgid ""
2755 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
2756 "and C<FileOut> parameters, which are handled with very simple request/reply "
2757 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
2758 "parameters, which use the same request and reply messages, but they may also "
2759 "be followed by files sent using a chunked encoding."
2760 msgstr ""
2761
2762 # type: =head3
2763 #: ../src/guestfs.pod:1410
2764 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
2765 msgstr ""
2766
2767 # type: textblock
2768 #: ../src/guestfs.pod:1412
2769 msgid "For ordinary functions, the request message is:"
2770 msgstr ""
2771
2772 # type: verbatim
2773 #: ../src/guestfs.pod:1414
2774 #, no-wrap
2775 msgid ""
2776 " total length (header + arguments,\n"
2777 "      but not including the length word itself)\n"
2778 " struct guestfs_message_header (encoded as XDR)\n"
2779 " struct guestfs_<foo>_args (encoded as XDR)\n"
2780 "\n"
2781 msgstr ""
2782
2783 # type: textblock
2784 #: ../src/guestfs.pod:1419
2785 msgid ""
2786 "The total length field allows the daemon to allocate a fixed size buffer "
2787 "into which it slurps the rest of the message.  As a result, the total length "
2788 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
2789 "effective size of any request is limited to somewhere under this size."
2790 msgstr ""
2791
2792 # type: textblock
2793 #: ../src/guestfs.pod:1425
2794 msgid ""
2795 "Note also that many functions don't take any arguments, in which case the "
2796 "C<guestfs_I<foo>_args> is completely omitted."
2797 msgstr ""
2798
2799 # type: textblock
2800 #: ../src/guestfs.pod:1428
2801 msgid ""
2802 "The header contains the procedure number (C<guestfs_proc>) which is how the "
2803 "receiver knows what type of args structure to expect, or none at all."
2804 msgstr ""
2805
2806 # type: textblock
2807 #: ../src/guestfs.pod:1432
2808 msgid "The reply message for ordinary functions is:"
2809 msgstr ""
2810
2811 # type: verbatim
2812 #: ../src/guestfs.pod:1434
2813 #, no-wrap
2814 msgid ""
2815 " total length (header + ret,\n"
2816 "      but not including the length word itself)\n"
2817 " struct guestfs_message_header (encoded as XDR)\n"
2818 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2819 "\n"
2820 msgstr ""
2821
2822 # type: textblock
2823 #: ../src/guestfs.pod:1439
2824 msgid ""
2825 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
2826 "functions that return no formal return values."
2827 msgstr ""
2828
2829 # type: textblock
2830 #: ../src/guestfs.pod:1442
2831 msgid "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
2832 msgstr ""
2833
2834 # type: textblock
2835 #: ../src/guestfs.pod:1445
2836 msgid ""
2837 "In the case of an error, a flag is set in the header, and the reply message "
2838 "is slightly changed:"
2839 msgstr ""
2840
2841 # type: verbatim
2842 #: ../src/guestfs.pod:1448
2843 #, no-wrap
2844 msgid ""
2845 " total length (header + error,\n"
2846 "      but not including the length word itself)\n"
2847 " struct guestfs_message_header (encoded as XDR)\n"
2848 " struct guestfs_message_error (encoded as XDR)\n"
2849 "\n"
2850 msgstr ""
2851
2852 # type: textblock
2853 #: ../src/guestfs.pod:1453
2854 msgid ""
2855 "The C<guestfs_message_error> structure contains the error message as a "
2856 "string."
2857 msgstr ""
2858
2859 # type: =head3
2860 #: ../src/guestfs.pod:1456
2861 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
2862 msgstr ""
2863
2864 # type: textblock
2865 #: ../src/guestfs.pod:1458
2866 msgid ""
2867 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
2868 "The normal request message is sent (see above).  However this is followed by "
2869 "a sequence of file chunks."
2870 msgstr ""
2871
2872 # type: verbatim
2873 #: ../src/guestfs.pod:1462
2874 #, no-wrap
2875 msgid ""
2876 " total length (header + arguments,\n"
2877 "      but not including the length word itself,\n"
2878 "      and not including the chunks)\n"
2879 " struct guestfs_message_header (encoded as XDR)\n"
2880 " struct guestfs_<foo>_args (encoded as XDR)\n"
2881 " sequence of chunks for FileIn param #0\n"
2882 " sequence of chunks for FileIn param #1 etc.\n"
2883 "\n"
2884 msgstr ""
2885
2886 # type: textblock
2887 #: ../src/guestfs.pod:1470
2888 msgid "The \"sequence of chunks\" is:"
2889 msgstr ""
2890
2891 # type: verbatim
2892 #: ../src/guestfs.pod:1472
2893 #, no-wrap
2894 msgid ""
2895 " length of chunk (not including length word itself)\n"
2896 " struct guestfs_chunk (encoded as XDR)\n"
2897 " length of chunk\n"
2898 " struct guestfs_chunk (encoded as XDR)\n"
2899 "   ...\n"
2900 " length of chunk\n"
2901 " struct guestfs_chunk (with data.data_len == 0)\n"
2902 "\n"
2903 msgstr ""
2904
2905 # type: textblock
2906 #: ../src/guestfs.pod:1480
2907 msgid ""
2908 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
2909 "is set in the final chunk to indicate either successful completion or early "
2910 "cancellation."
2911 msgstr ""
2912
2913 # type: textblock
2914 #: ../src/guestfs.pod:1484
2915 msgid ""
2916 "At time of writing there are no functions that have more than one FileIn "
2917 "parameter.  However this is (theoretically) supported, by sending the "
2918 "sequence of chunks for each FileIn parameter one after another (from left to "
2919 "right)."
2920 msgstr ""
2921
2922 # type: textblock
2923 #: ../src/guestfs.pod:1489
2924 msgid ""
2925 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
2926 "transfer.  The library does this by sending a chunk with a special flag set "
2927 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
2928 "RPC, does I<not> send any reply, and goes back to reading the next request."
2929 msgstr ""
2930
2931 # type: textblock
2932 #: ../src/guestfs.pod:1495
2933 msgid ""
2934 "The daemon may also cancel.  It does this by writing a special word "
2935 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
2936 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
2937 "cancel chunk).  The special word is chosen so that even if cancellation "
2938 "happens right at the end of the transfer (after the library has finished "
2939 "writing and has started listening for the reply), the \"spurious\" cancel "
2940 "flag will not be confused with the reply message."
2941 msgstr ""
2942
2943 # type: textblock
2944 #: ../src/guestfs.pod:1504
2945 msgid ""
2946 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
2947 "limit), and also files where the size is not known in advance (eg. from "
2948 "pipes or sockets).  However the chunks are rather small "
2949 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
2950 "to keep much in memory."
2951 msgstr ""
2952
2953 # type: =head3
2954 #: ../src/guestfs.pod:1510
2955 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
2956 msgstr ""
2957
2958 # type: textblock
2959 #: ../src/guestfs.pod:1512
2960 msgid ""
2961 "The protocol for FileOut parameters is exactly the same as for FileIn "
2962 "parameters, but with the roles of daemon and library reversed."
2963 msgstr ""
2964
2965 # type: verbatim
2966 #: ../src/guestfs.pod:1515
2967 #, no-wrap
2968 msgid ""
2969 " total length (header + ret,\n"
2970 "      but not including the length word itself,\n"
2971 "      and not including the chunks)\n"
2972 " struct guestfs_message_header (encoded as XDR)\n"
2973 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2974 " sequence of chunks for FileOut param #0\n"
2975 " sequence of chunks for FileOut param #1 etc.\n"
2976 "\n"
2977 msgstr ""
2978
2979 # type: =head3
2980 #: ../src/guestfs.pod:1523
2981 msgid "INITIAL MESSAGE"
2982 msgstr ""
2983
2984 # type: textblock
2985 #: ../src/guestfs.pod:1525
2986 msgid ""
2987 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
2988 "which indicates that the guest and daemon is alive.  This is what "
2989 "L</guestfs_launch> waits for."
2990 msgstr ""
2991
2992 # type: =head3
2993 #: ../src/guestfs.pod:1529
2994 msgid "PROGRESS NOTIFICATION MESSAGES"
2995 msgstr ""
2996
2997 # type: textblock
2998 #: ../src/guestfs.pod:1531
2999 msgid ""
3000 "The daemon may send progress notification messages at any time.  These are "
3001 "distinguished by the normal length word being replaced by "
3002 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
3003 msgstr ""
3004
3005 # type: textblock
3006 #: ../src/guestfs.pod:1535
3007 msgid ""
3008 "The library turns them into progress callbacks (see "
3009 "C<guestfs_set_progress_callback>) if there is a callback registered, or "
3010 "discards them if not."
3011 msgstr ""
3012
3013 # type: textblock
3014 #: ../src/guestfs.pod:1539
3015 msgid ""
3016 "The daemon self-limits the frequency of progress messages it sends (see "
3017 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
3018 "messages."
3019 msgstr ""
3020
3021 # type: =head1
3022 #: ../src/guestfs.pod:1543
3023 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
3024 msgstr ""
3025
3026 # type: textblock
3027 #: ../src/guestfs.pod:1545
3028 msgid ""
3029 "All high-level libguestfs actions are synchronous.  If you want to use "
3030 "libguestfs asynchronously then you must create a thread."
3031 msgstr ""
3032
3033 # type: textblock
3034 #: ../src/guestfs.pod:1548
3035 msgid ""
3036 "Only use the handle from a single thread.  Either use the handle exclusively "
3037 "from one thread, or provide your own mutex so that two threads cannot issue "
3038 "calls on the same handle at the same time."
3039 msgstr ""
3040
3041 # type: textblock
3042 #: ../src/guestfs.pod:1552
3043 msgid ""
3044 "See the graphical program guestfs-browser for one possible architecture for "
3045 "multithreaded programs using libvirt and libguestfs."
3046 msgstr ""
3047
3048 # type: =head1
3049 #: ../src/guestfs.pod:1555
3050 msgid "QEMU WRAPPERS"
3051 msgstr ""
3052
3053 # type: textblock
3054 #: ../src/guestfs.pod:1557
3055 msgid ""
3056 "If you want to compile your own qemu, run qemu from a non-standard location, "
3057 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3058 "around qemu."
3059 msgstr ""
3060
3061 # type: textblock
3062 #: ../src/guestfs.pod:1561
3063 msgid ""
3064 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3065 "last command in the shell script (so that qemu replaces the shell and "
3066 "becomes the direct child of the libguestfs-using program).  If you don't do "
3067 "this, then the qemu process won't be cleaned up correctly."
3068 msgstr ""
3069
3070 # type: textblock
3071 #: ../src/guestfs.pod:1566
3072 msgid ""
3073 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3074 "source:"
3075 msgstr ""
3076
3077 # type: verbatim
3078 #: ../src/guestfs.pod:1569
3079 #, no-wrap
3080 msgid ""
3081 " #!/bin/sh -\n"
3082 " qemudir=/home/rjones/d/qemu\n"
3083 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios "
3084 "\"$@\"\n"
3085 "\n"
3086 msgstr ""
3087
3088 # type: textblock
3089 #: ../src/guestfs.pod:1573
3090 msgid ""
3091 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3092 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3093 "example:"
3094 msgstr ""
3095
3096 # type: verbatim
3097 #: ../src/guestfs.pod:1577
3098 #, no-wrap
3099 msgid ""
3100 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3101 "\n"
3102 msgstr ""
3103
3104 # type: textblock
3105 #: ../src/guestfs.pod:1579
3106 msgid ""
3107 "Note that libguestfs also calls qemu with the -help and -version options in "
3108 "order to determine features."
3109 msgstr ""
3110
3111 # type: =head1
3112 #: ../src/guestfs.pod:1582
3113 msgid "LIBGUESTFS VERSION NUMBERS"
3114 msgstr ""
3115
3116 # type: textblock
3117 #: ../src/guestfs.pod:1584
3118 msgid ""
3119 "Since April 2010, libguestfs has started to make separate development and "
3120 "stable releases, along with corresponding branches in our git repository.  "
3121 "These separate releases can be identified by version number:"
3122 msgstr ""
3123
3124 # type: verbatim
3125 #: ../src/guestfs.pod:1589
3126 #, no-wrap
3127 msgid ""
3128 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3129 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3130 "       |\n"
3131 "       v\n"
3132 " 1  .  3  .  5\n"
3133 " ^           ^\n"
3134 " |           |\n"
3135 " |           `-------- sub-version\n"
3136 " |\n"
3137 " `------ always '1' because we don't change the ABI\n"
3138 "\n"
3139 msgstr ""
3140
3141 # type: textblock
3142 #: ../src/guestfs.pod:1600
3143 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3144 msgstr ""
3145
3146 # type: textblock
3147 #: ../src/guestfs.pod:1602
3148 msgid ""
3149 "As time passes we cherry pick fixes from the development branch and backport "
3150 "those into the stable branch, the effect being that the stable branch should "
3151 "get more stable and less buggy over time.  So the stable releases are ideal "
3152 "for people who don't need new features but would just like the software to "
3153 "work."
3154 msgstr ""
3155
3156 # type: textblock
3157 #: ../src/guestfs.pod:1608
3158 msgid "Our criteria for backporting changes are:"
3159 msgstr ""
3160
3161 # type: textblock
3162 #: ../src/guestfs.pod:1614
3163 msgid ""
3164 "Documentation changes which don't affect any code are backported unless the "
3165 "documentation refers to a future feature which is not in stable."
3166 msgstr ""
3167
3168 # type: textblock
3169 #: ../src/guestfs.pod:1620
3170 msgid ""
3171 "Bug fixes which are not controversial, fix obvious problems, and have been "
3172 "well tested are backported."
3173 msgstr ""
3174
3175 # type: textblock
3176 #: ../src/guestfs.pod:1625
3177 msgid ""
3178 "Simple rearrangements of code which shouldn't affect how it works get "
3179 "backported.  This is so that the code in the two branches doesn't get too "
3180 "far out of step, allowing us to backport future fixes more easily."
3181 msgstr ""
3182
3183 # type: textblock
3184 #: ../src/guestfs.pod:1631
3185 msgid ""
3186 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3187 "exceptional case: the new feature is required in order to implement an "
3188 "important bug fix."
3189 msgstr ""
3190
3191 # type: textblock
3192 #: ../src/guestfs.pod:1637
3193 msgid ""
3194 "A new stable branch starts when we think the new features in development are "
3195 "substantial and compelling enough over the current stable branch to warrant "
3196 "it.  When that happens we create new stable and development versions 1.N.0 "
3197 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3198 "stable at this point, but by backporting fixes from development, that branch "
3199 "will stabilize over time."
3200 msgstr ""
3201
3202 # type: =head1
3203 #: ../src/guestfs.pod:1645 ../fish/guestfish.pod:933 ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312 ../tools/virt-rescue.pl:226
3204 msgid "ENVIRONMENT VARIABLES"
3205 msgstr ""
3206
3207 # type: =item
3208 #: ../src/guestfs.pod:1649 ../fish/guestfish.pod:953
3209 msgid "LIBGUESTFS_APPEND"
3210 msgstr ""
3211
3212 # type: textblock
3213 #: ../src/guestfs.pod:1651 ../fish/guestfish.pod:955
3214 msgid "Pass additional options to the guest kernel."
3215 msgstr ""
3216
3217 # type: =item
3218 #: ../src/guestfs.pod:1653 ../fish/guestfish.pod:957
3219 msgid "LIBGUESTFS_DEBUG"
3220 msgstr ""
3221
3222 # type: textblock
3223 #: ../src/guestfs.pod:1655
3224 msgid ""
3225 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3226 "effect as calling C<guestfs_set_verbose (g, 1)>."
3227 msgstr ""
3228
3229 # type: =item
3230 #: ../src/guestfs.pod:1658 ../fish/guestfish.pod:962
3231 msgid "LIBGUESTFS_MEMSIZE"
3232 msgstr ""
3233
3234 # type: textblock
3235 #: ../src/guestfs.pod:1660 ../fish/guestfish.pod:964
3236 msgid "Set the memory allocated to the qemu process, in megabytes.  For example:"
3237 msgstr ""
3238
3239 # type: verbatim
3240 #: ../src/guestfs.pod:1663 ../fish/guestfish.pod:967
3241 #, no-wrap
3242 msgid ""
3243 " LIBGUESTFS_MEMSIZE=700\n"
3244 "\n"
3245 msgstr ""
3246
3247 # type: =item
3248 #: ../src/guestfs.pod:1665 ../fish/guestfish.pod:969
3249 msgid "LIBGUESTFS_PATH"
3250 msgstr ""
3251
3252 # type: textblock
3253 #: ../src/guestfs.pod:1667
3254 msgid ""
3255 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3256 "the discussion of paths in section PATH above."
3257 msgstr ""
3258
3259 # type: =item
3260 #: ../src/guestfs.pod:1670 ../fish/guestfish.pod:974
3261 msgid "LIBGUESTFS_QEMU"
3262 msgstr ""
3263
3264 # type: textblock
3265 #: ../src/guestfs.pod:1672 ../fish/guestfish.pod:976
3266 msgid ""
3267 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3268 "which was found at compile time by the configure script is used."
3269 msgstr ""
3270
3271 # type: textblock
3272 #: ../src/guestfs.pod:1676
3273 msgid "See also L</QEMU WRAPPERS> above."
3274 msgstr ""
3275
3276 # type: =item
3277 #: ../src/guestfs.pod:1678 ../fish/guestfish.pod:980
3278 msgid "LIBGUESTFS_TRACE"
3279 msgstr ""
3280
3281 # type: textblock
3282 #: ../src/guestfs.pod:1680
3283 msgid ""
3284 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3285 "effect as calling C<guestfs_set_trace (g, 1)>."
3286 msgstr ""
3287
3288 # type: =item
3289 #: ../src/guestfs.pod:1683 ../fish/guestfish.pod:989
3290 msgid "TMPDIR"
3291 msgstr ""
3292
3293 # type: textblock
3294 #: ../src/guestfs.pod:1685 ../fish/guestfish.pod:991
3295 msgid "Location of temporary directory, defaults to C</tmp>."
3296 msgstr ""
3297
3298 # type: textblock
3299 #: ../src/guestfs.pod:1687 ../fish/guestfish.pod:993
3300 msgid ""
3301 "If libguestfs was compiled to use the supermin appliance then each handle "
3302 "will require rather a large amount of space in this directory for short "
3303 "periods of time (~ 80 MB).  You can use C<$TMPDIR> to configure another "
3304 "directory to use in case C</tmp> is not large enough."
3305 msgstr ""
3306
3307 # type: =head1
3308 #: ../src/guestfs.pod:1695 ../fish/guestfish.pod:1051 ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178 ../inspector/virt-inspector.pl:846 ../tools/virt-cat.pl:163 ../tools/virt-df.pl:482 ../tools/virt-edit.pl:325 ../tools/virt-list-filesystems.pl:191 ../tools/virt-list-partitions.pl:229 ../tools/virt-ls.pl:210 ../tools/virt-make-fs.pl:527 ../tools/virt-rescue.pl:231 ../tools/virt-resize.pl:1390 ../tools/virt-tar.pl:257 ../tools/virt-win-reg.pl:461
3309 msgid "SEE ALSO"
3310 msgstr ""
3311
3312 # type: textblock
3313 #: ../src/guestfs.pod:1697
3314 msgid ""
3315 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, "
3316 "L<virt-edit(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, "
3317 "L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, "
3318 "L<virt-rescue(1)>, L<virt-tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, "
3319 "L<febootstrap(1)>, L<hivex(3)>, L<http://libguestfs.org/>."
3320 msgstr ""
3321
3322 # type: textblock
3323 #: ../src/guestfs.pod:1715
3324 msgid ""
3325 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, "
3326 "L<lvm(8)>, L<disktype(1)>."
3327 msgstr ""
3328
3329 # type: =head1
3330 #: ../src/guestfs.pod:1722 ../tools/virt-make-fs.pl:541 ../tools/virt-win-reg.pl:476
3331 msgid "BUGS"
3332 msgstr ""
3333
3334 # type: textblock
3335 #: ../src/guestfs.pod:1724
3336 msgid "To get a list of bugs against libguestfs use this link:"
3337 msgstr ""
3338
3339 # type: textblock
3340 #: ../src/guestfs.pod:1726
3341 msgid "L<https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools>"
3342 msgstr ""
3343
3344 # type: textblock
3345 #: ../src/guestfs.pod:1728
3346 msgid "To report a new bug against libguestfs use this link:"
3347 msgstr ""
3348
3349 # type: textblock
3350 #: ../src/guestfs.pod:1730
3351 msgid "L<https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools>"
3352 msgstr ""
3353
3354 # type: textblock
3355 #: ../src/guestfs.pod:1732
3356 msgid "When reporting a bug, please check:"
3357 msgstr ""
3358
3359 # type: textblock
3360 #: ../src/guestfs.pod:1738
3361 msgid "That the bug hasn't been reported already."
3362 msgstr ""
3363
3364 # type: textblock
3365 #: ../src/guestfs.pod:1742
3366 msgid "That you are testing a recent version."
3367 msgstr ""
3368
3369 # type: textblock
3370 #: ../src/guestfs.pod:1746
3371 msgid "Describe the bug accurately, and give a way to reproduce it."
3372 msgstr ""
3373
3374 # type: textblock
3375 #: ../src/guestfs.pod:1750
3376 msgid ""
3377 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3378 "bug report."
3379 msgstr ""
3380
3381 # type: =head1
3382 #: ../src/guestfs.pod:1755 ../fish/guestfish.pod:1067 ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189 ../inspector/virt-inspector.pl:855
3383 msgid "AUTHORS"
3384 msgstr ""
3385
3386 # type: textblock
3387 #: ../src/guestfs.pod:1757 ../fish/guestfish.pod:1069 ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191
3388 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3389 msgstr ""
3390
3391 # type: =head1
3392 #: ../src/guestfs.pod:1759 ../fish/guestfish.pod:1071 ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193 ../inspector/virt-inspector.pl:861 ../tools/virt-cat.pl:177 ../tools/virt-df.pl:495 ../tools/virt-edit.pl:341 ../tools/virt-list-filesystems.pl:207 ../tools/virt-list-partitions.pl:244 ../tools/virt-ls.pl:225 ../tools/virt-make-fs.pl:556 ../tools/virt-rescue.pl:245 ../tools/virt-resize.pl:1411 ../tools/virt-tar.pl:272 ../tools/virt-win-reg.pl:491
3393 msgid "COPYRIGHT"
3394 msgstr ""
3395
3396 # type: textblock
3397 #: ../src/guestfs.pod:1761 ../fish/guestfish.pod:1073
3398 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3399 msgstr ""
3400
3401 # type: textblock
3402 #: ../src/guestfs.pod:1764
3403 msgid ""
3404 "This library is free software; you can redistribute it and/or modify it "
3405 "under the terms of the GNU Lesser General Public License as published by the "
3406 "Free Software Foundation; either version 2 of the License, or (at your "
3407 "option) any later version."
3408 msgstr ""
3409
3410 # type: textblock
3411 #: ../src/guestfs.pod:1769
3412 msgid ""
3413 "This library is distributed in the hope that it will be useful, but WITHOUT "
3414 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3415 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3416 "for more details."
3417 msgstr ""
3418
3419 # type: textblock
3420 #: ../src/guestfs.pod:1774
3421 msgid ""
3422 "You should have received a copy of the GNU Lesser General Public License "
3423 "along with this library; if not, write to the Free Software Foundation, "
3424 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3425 msgstr ""
3426
3427 # type: =head2
3428 #: ../src/guestfs-actions.pod:1
3429 msgid "guestfs_add_cdrom"
3430 msgstr ""
3431
3432 # type: verbatim
3433 #: ../src/guestfs-actions.pod:3
3434 #, no-wrap
3435 msgid ""
3436 " int guestfs_add_cdrom (guestfs_h *g,\n"
3437 "\t\tconst char *filename);\n"
3438 "\n"
3439 msgstr ""
3440
3441 # type: textblock
3442 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5
3443 msgid "This function adds a virtual CD-ROM disk image to the guest."
3444 msgstr ""
3445
3446 # type: textblock
3447 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7
3448 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3449 msgstr ""
3450
3451 # type: textblock
3452 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1488 ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1186
3453 msgid "Notes:"
3454 msgstr ""
3455
3456 # type: textblock
3457 #: ../src/guestfs-actions.pod:16
3458 msgid ""
3459 "This call checks for the existence of C<filename>.  This stops you from "
3460 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3461 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3462 "instead."
3463 msgstr ""
3464
3465 # type: textblock
3466 #: ../src/guestfs-actions.pod:23
3467 msgid ""
3468 "If you just want to add an ISO file (often you use this as an efficient way "
3469 "to transfer large files into the guest), then you should probably use "
3470 "C<guestfs_add_drive_ro> instead."
3471 msgstr ""
3472
3473 # type: textblock
3474 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:63 ../src/guestfs-actions.pod:92 ../src/guestfs-actions.pod:103 ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:124 ../src/guestfs-actions.pod:135 ../src/guestfs-actions.pod:238 ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:266 ../src/guestfs-actions.pod:302 ../src/guestfs-actions.pod:324 ../src/guestfs-actions.pod:339 ../src/guestfs-actions.pod:403 ../src/guestfs-actions.pod:430 ../src/guestfs-actions.pod:441 ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:534 ../src/guestfs-actions.pod:549 ../src/guestfs-actions.pod:560 ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:717 ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:749 ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:839 ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:866 ../src/guestfs-actions.pod:883 ../src/guestfs-actions.pod:916 ../src/guestfs-actions.pod:974 ../src/guestfs-actions.pod:996 ../src/guestfs-actions.pod:1027 ../src/guestfs-actions.pod:1115 ../src/guestfs-actions.pod:1146 ../src/guestfs-actions.pod:1346 ../src/guestfs-actions.pod:1365 ../src/guestfs-actions.pod:1446 ../src/guestfs-actions.pod:1794 ../src/guestfs-actions.pod:1917 ../src/guestfs-actions.pod:1972 ../src/guestfs-actions.pod:2002 ../src/guestfs-actions.pod:2409 ../src/guestfs-actions.pod:2421 ../src/guestfs-actions.pod:2438 ../src/guestfs-actions.pod:2503 ../src/guestfs-actions.pod:2514 ../src/guestfs-actions.pod:2524 ../src/guestfs-actions.pod:2535 ../src/guestfs-actions.pod:2547 ../src/guestfs-actions.pod:2577 ../src/guestfs-actions.pod:2641 ../src/guestfs-actions.pod:2658 ../src/guestfs-actions.pod:2672 ../src/guestfs-actions.pod:2692 ../src/guestfs-actions.pod:2712 ../src/guestfs-actions.pod:2741 ../src/guestfs-actions.pod:2757 ../src/guestfs-actions.pod:2773 ../src/guestfs-actions.pod:2785 ../src/guestfs-actions.pod:2794 ../src/guestfs-actions.pod:2827 ../src/guestfs-actions.pod:2840 ../src/guestfs-actions.pod:2850 ../src/guestfs-actions.pod:2862 ../src/guestfs-actions.pod:2876 ../src/guestfs-actions.pod:2956 ../src/guestfs-actions.pod:2973 ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:3028 ../src/guestfs-actions.pod:3043 ../src/guestfs-actions.pod:3058 ../src/guestfs-actions.pod:3071 ../src/guestfs-actions.pod:3082 ../src/guestfs-actions.pod:3093 ../src/guestfs-actions.pod:3107 ../src/guestfs-actions.pod:3119 ../src/guestfs-actions.pod:3136 ../src/guestfs-actions.pod:3167 ../src/guestfs-actions.pod:3195 ../src/guestfs-actions.pod:3211 ../src/guestfs-actions.pod:3227 ../src/guestfs-actions.pod:3236 ../src/guestfs-actions.pod:3250 ../src/guestfs-actions.pod:3260 ../src/guestfs-actions.pod:3272 ../src/guestfs-actions.pod:3284 ../src/guestfs-actions.pod:3316 ../src/guestfs-actions.pod:3328 ../src/guestfs-actions.pod:3345 ../src/guestfs-actions.pod:3356 ../src/guestfs-actions.pod:3370 ../src/guestfs-actions.pod:3410 ../src/guestfs-actions.pod:3441 ../src/guestfs-actions.pod:3452 ../src/guestfs-actions.pod:3477 ../src/guestfs-actions.pod:3491 ../src/guestfs-actions.pod:3506 ../src/guestfs-actions.pod:3628 ../src/guestfs-actions.pod:3680 ../src/guestfs-actions.pod:3699 ../src/guestfs-actions.pod:3714 ../src/guestfs-actions.pod:3725 ../src/guestfs-actions.pod:3759 ../src/guestfs-actions.pod:3773 ../src/guestfs-actions.pod:3783 ../src/guestfs-actions.pod:3794 ../src/guestfs-actions.pod:4026 ../src/guestfs-actions.pod:4042 ../src/guestfs-actions.pod:4053 ../src/guestfs-actions.pod:4062 ../src/guestfs-actions.pod:4073 ../src/guestfs-actions.pod:4082 ../src/guestfs-actions.pod:4093 ../src/guestfs-actions.pod:4106 ../src/guestfs-actions.pod:4124 ../src/guestfs-actions.pod:4140 ../src/guestfs-actions.pod:4156 ../src/guestfs-actions.pod:4171 ../src/guestfs-actions.pod:4191 ../src/guestfs-actions.pod:4206 ../src/guestfs-actions.pod:4222 ../src/guestfs-actions.pod:4240 ../src/guestfs-actions.pod:4256 ../src/guestfs-actions.pod:4270 ../src/guestfs-actions.pod:4295 ../src/guestfs-actions.pod:4316 ../src/guestfs-actions.pod:4332 ../src/guestfs-actions.pod:4353 ../src/guestfs-actions.pod:4365 ../src/guestfs-actions.pod:4377 ../src/guestfs-actions.pod:4393 ../src/guestfs-actions.pod:4427 ../src/guestfs-actions.pod:4447 ../src/guestfs-actions.pod:4470 ../src/guestfs-actions.pod:4560 ../src/guestfs-actions.pod:4666 ../src/guestfs-actions.pod:4675 ../src/guestfs-actions.pod:4685 ../src/guestfs-actions.pod:4695 ../src/guestfs-actions.pod:4714 ../src/guestfs-actions.pod:4724 ../src/guestfs-actions.pod:4734 ../src/guestfs-actions.pod:4744 ../src/guestfs-actions.pod:4756 ../src/guestfs-actions.pod:4806 ../src/guestfs-actions.pod:4820 ../src/guestfs-actions.pod:4833 ../src/guestfs-actions.pod:4846 ../src/guestfs-actions.pod:4860 ../src/guestfs-actions.pod:4870 ../src/guestfs-actions.pod:4887 ../src/guestfs-actions.pod:4917 ../src/guestfs-actions.pod:4928 ../src/guestfs-actions.pod:4963 ../src/guestfs-actions.pod:4973 ../src/guestfs-actions.pod:4988 ../src/guestfs-actions.pod:5016 ../src/guestfs-actions.pod:5120 ../src/guestfs-actions.pod:5135 ../src/guestfs-actions.pod:5146 ../src/guestfs-actions.pod:5192 ../src/guestfs-actions.pod:5202 ../src/guestfs-actions.pod:5239 ../src/guestfs-actions.pod:5266 ../src/guestfs-actions.pod:5308 ../src/guestfs-actions.pod:5331 ../src/guestfs-actions.pod:5388 ../src/guestfs-actions.pod:5404 ../src/guestfs-actions.pod:5430
3475 msgid "This function returns 0 on success or -1 on error."
3476 msgstr ""
3477
3478 # type: =head2
3479 #: ../src/guestfs-actions.pod:31
3480 msgid "guestfs_add_drive"
3481 msgstr ""
3482
3483 # type: verbatim
3484 #: ../src/guestfs-actions.pod:33
3485 #, no-wrap
3486 msgid ""
3487 " int guestfs_add_drive (guestfs_h *g,\n"
3488 "\t\tconst char *filename);\n"
3489 "\n"
3490 msgstr ""
3491
3492 # type: textblock
3493 #: ../src/guestfs-actions.pod:36 ../fish/guestfish-actions.pod:32
3494 msgid ""
3495 "This function adds a virtual machine disk image C<filename> to the guest.  "
3496 "The first time you call this function, the disk appears as IDE disk 0 "
3497 "(C</dev/sda>) in the guest, the second time as C</dev/sdb>, and so on."
3498 msgstr ""
3499
3500 # type: textblock
3501 #: ../src/guestfs-actions.pod:41 ../fish/guestfish-actions.pod:37
3502 msgid ""
3503 "You don't necessarily need to be root when using libguestfs.  However you "
3504 "obviously do need sufficient permissions to access the filename for whatever "
3505 "operations you want to perform (ie. read access if you just want to read the "
3506 "image or write access if you want to modify the image)."
3507 msgstr ""
3508
3509 # type: textblock
3510 #: ../src/guestfs-actions.pod:47 ../fish/guestfish-actions.pod:43
3511 msgid ""
3512 "This is equivalent to the qemu parameter C<-drive "
3513 "file=filename,cache=off,if=...>."
3514 msgstr ""
3515
3516 # type: textblock
3517 #: ../src/guestfs-actions.pod:50 ../fish/guestfish-actions.pod:46
3518 msgid ""
3519 "C<cache=off> is omitted in cases where it is not supported by the underlying "
3520 "filesystem."
3521 msgstr ""
3522
3523 # type: textblock
3524 #: ../src/guestfs-actions.pod:53 ../src/guestfs-actions.pod:82
3525 msgid ""
3526 "C<if=...> is set at compile time by the configuration option C<./configure "
3527 "--with-drive-if=...>.  In the rare case where you might need to change this "
3528 "at run time, use C<guestfs_add_drive_with_if> or "
3529 "C<guestfs_add_drive_ro_with_if>."
3530 msgstr ""
3531
3532 # type: textblock
3533 #: ../src/guestfs-actions.pod:58 ../src/guestfs-actions.pod:87
3534 msgid ""
3535 "Note that this call checks for the existence of C<filename>.  This stops you "
3536 "from specifying other types of drive which are supported by qemu such as "
3537 "C<nbd:> and C<http:> URLs.  To specify those, use the general "
3538 "C<guestfs_config> call instead."
3539 msgstr ""
3540
3541 # type: =head2
3542 #: ../src/guestfs-actions.pod:65
3543 msgid "guestfs_add_drive_ro"
3544 msgstr ""
3545
3546 # type: verbatim
3547 #: ../src/guestfs-actions.pod:67
3548 #, no-wrap
3549 msgid ""
3550 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3551 "\t\tconst char *filename);\n"
3552 "\n"
3553 msgstr ""
3554
3555 # type: textblock
3556 #: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:63
3557 msgid "This adds a drive in snapshot mode, making it effectively read-only."
3558 msgstr ""
3559
3560 # type: textblock
3561 #: ../src/guestfs-actions.pod:73 ../fish/guestfish-actions.pod:66
3562 msgid ""
3563 "Note that writes to the device are allowed, and will be seen for the "
3564 "duration of the guestfs handle, but they are written to a temporary file "
3565 "which is discarded as soon as the guestfs handle is closed.  We don't "
3566 "currently have any method to enable changes to be committed, although qemu "
3567 "can support this."
3568 msgstr ""
3569
3570 # type: textblock
3571 #: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:72
3572 msgid ""
3573 "This is equivalent to the qemu parameter C<-drive "
3574 "file=filename,snapshot=on,if=...>."
3575 msgstr ""
3576
3577 # type: =head2
3578 #: ../src/guestfs-actions.pod:94
3579 msgid "guestfs_add_drive_ro_with_if"
3580 msgstr ""
3581
3582 # type: verbatim
3583 #: ../src/guestfs-actions.pod:96
3584 #, no-wrap
3585 msgid ""
3586 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
3587 "\t\tconst char *filename,\n"
3588 "\t\tconst char *iface);\n"
3589 "\n"
3590 msgstr ""
3591
3592 # type: textblock
3593 #: ../src/guestfs-actions.pod:100
3594 msgid ""
3595 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
3596 "QEMU interface emulation to use at run time."
3597 msgstr ""
3598
3599 # type: =head2
3600 #: ../src/guestfs-actions.pod:105
3601 msgid "guestfs_add_drive_with_if"
3602 msgstr ""
3603
3604 # type: verbatim
3605 #: ../src/guestfs-actions.pod:107
3606 #, no-wrap
3607 msgid ""
3608 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
3609 "\t\tconst char *filename,\n"
3610 "\t\tconst char *iface);\n"
3611 "\n"
3612 msgstr ""
3613
3614 # type: textblock
3615 #: ../src/guestfs-actions.pod:111
3616 msgid ""
3617 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
3618 "QEMU interface emulation to use at run time."
3619 msgstr ""
3620
3621 # type: =head2
3622 #: ../src/guestfs-actions.pod:116
3623 msgid "guestfs_aug_clear"
3624 msgstr ""
3625
3626 # type: verbatim
3627 #: ../src/guestfs-actions.pod:118
3628 #, no-wrap
3629 msgid ""
3630 " int guestfs_aug_clear (guestfs_h *g,\n"
3631 "\t\tconst char *augpath);\n"
3632 "\n"
3633 msgstr ""
3634
3635 # type: textblock
3636 #: ../src/guestfs-actions.pod:121 ../fish/guestfish-actions.pod:103
3637 msgid ""
3638 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
3639 "L<augtool(1)> C<clear> command."
3640 msgstr ""
3641
3642 # type: =head2
3643 #: ../src/guestfs-actions.pod:126
3644 msgid "guestfs_aug_close"
3645 msgstr ""
3646
3647 # type: verbatim
3648 #: ../src/guestfs-actions.pod:128
3649 #, no-wrap
3650 msgid ""
3651 " int guestfs_aug_close (guestfs_h *g);\n"
3652 "\n"
3653 msgstr ""
3654
3655 # type: textblock
3656 #: ../src/guestfs-actions.pod:130
3657 msgid ""
3658 "Close the current Augeas handle and free up any resources used by it.  After "
3659 "calling this, you have to call C<guestfs_aug_init> again before you can use "
3660 "any other Augeas functions."
3661 msgstr ""
3662
3663 # type: =head2
3664 #: ../src/guestfs-actions.pod:137
3665 msgid "guestfs_aug_defnode"
3666 msgstr ""
3667
3668 # type: verbatim
3669 #: ../src/guestfs-actions.pod:139
3670 #, no-wrap
3671 msgid ""
3672 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
3673 "\t\tconst char *name,\n"
3674 "\t\tconst char *expr,\n"
3675 "\t\tconst char *val);\n"
3676 "\n"
3677 msgstr ""
3678
3679 # type: textblock
3680 #: ../src/guestfs-actions.pod:144 ../fish/guestfish-actions.pod:119
3681 msgid "Defines a variable C<name> whose value is the result of evaluating C<expr>."
3682 msgstr ""
3683
3684 # type: textblock
3685 #: ../src/guestfs-actions.pod:147
3686 msgid ""
3687 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
3688 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
3689 "containing that single node."
3690 msgstr ""
3691
3692 # type: textblock
3693 #: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:126
3694 msgid ""
3695 "On success this returns a pair containing the number of nodes in the "
3696 "nodeset, and a boolean flag if a node was created."
3697 msgstr ""
3698
3699 # type: textblock
3700 #: ../src/guestfs-actions.pod:155
3701 msgid ""
3702 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
3703 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
3704 msgstr ""
3705
3706 # type: =head2
3707 #: ../src/guestfs-actions.pod:159
3708 msgid "guestfs_aug_defvar"
3709 msgstr ""
3710
3711 # type: verbatim
3712 #: ../src/guestfs-actions.pod:161
3713 #, no-wrap
3714 msgid ""
3715 " int guestfs_aug_defvar (guestfs_h *g,\n"
3716 "\t\tconst char *name,\n"
3717 "\t\tconst char *expr);\n"
3718 "\n"
3719 msgstr ""
3720
3721 # type: textblock
3722 #: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:134
3723 msgid ""
3724 "Defines an Augeas variable C<name> whose value is the result of evaluating "
3725 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
3726 msgstr ""
3727
3728 # type: textblock
3729 #: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:138
3730 msgid ""
3731 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
3732 "evaluates to something which is not a nodeset."
3733 msgstr ""
3734
3735 # type: textblock
3736 #: ../src/guestfs-actions.pod:172 ../src/guestfs-actions.pod:313 ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:492 ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:523 ../src/guestfs-actions.pod:1013 ../src/guestfs-actions.pod:1328 ../src/guestfs-actions.pod:1510 ../src/guestfs-actions.pod:1591 ../src/guestfs-actions.pod:1622 ../src/guestfs-actions.pod:1665 ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1907 ../src/guestfs-actions.pod:2119 ../src/guestfs-actions.pod:2137 ../src/guestfs-actions.pod:3430 ../src/guestfs-actions.pod:3537 ../src/guestfs-actions.pod:3853 ../src/guestfs-actions.pod:4952 ../src/guestfs-actions.pod:5276 ../src/guestfs-actions.pod:5286 ../src/guestfs-actions.pod:5296
3737 msgid "On error this function returns -1."
3738 msgstr ""
3739
3740 # type: =head2
3741 #: ../src/guestfs-actions.pod:174
3742 msgid "guestfs_aug_get"
3743 msgstr ""
3744
3745 # type: verbatim
3746 #: ../src/guestfs-actions.pod:176
3747 #, no-wrap
3748 msgid ""
3749 " char *guestfs_aug_get (guestfs_h *g,\n"
3750 "\t\tconst char *augpath);\n"
3751 "\n"
3752 msgstr ""
3753
3754 # type: textblock
3755 #: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:145
3756 msgid ""
3757 "Look up the value associated with C<path>.  If C<path> matches exactly one "
3758 "node, the C<value> is returned."
3759 msgstr ""
3760
3761 # type: textblock
3762 #: ../src/guestfs-actions.pod:182 ../src/guestfs-actions.pod:610 ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:682 ../src/guestfs-actions.pod:695 ../src/guestfs-actions.pod:786 ../src/guestfs-actions.pod:899 ../src/guestfs-actions.pod:928 ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:958 ../src/guestfs-actions.pod:1041 ../src/guestfs-actions.pod:1205 ../src/guestfs-actions.pod:1314 ../src/guestfs-actions.pod:1459 ../src/guestfs-actions.pod:1473 ../src/guestfs-actions.pod:1549 ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1701 ../src/guestfs-actions.pod:1840 ../src/guestfs-actions.pod:2021 ../src/guestfs-actions.pod:2071 ../src/guestfs-actions.pod:2187 ../src/guestfs-actions.pod:2222 ../src/guestfs-actions.pod:2492 ../src/guestfs-actions.pod:2913 ../src/guestfs-actions.pod:3009 ../src/guestfs-actions.pod:3552 ../src/guestfs-actions.pod:3831 ../src/guestfs-actions.pod:3969 ../src/guestfs-actions.pod:4012 ../src/guestfs-actions.pod:4488 ../src/guestfs-actions.pod:4501 ../src/guestfs-actions.pod:4515 ../src/guestfs-actions.pod:4536 ../src/guestfs-actions.pod:5069 ../src/guestfs-actions.pod:5085 ../src/guestfs-actions.pod:5100 ../src/guestfs-actions.pod:5248 ../src/guestfs-actions.pod:5478
3763 msgid ""
3764 "This function returns a string, or NULL on error.  I<The caller must free "
3765 "the returned string after use>."
3766 msgstr ""
3767
3768 # type: =head2
3769 #: ../src/guestfs-actions.pod:185
3770 msgid "guestfs_aug_init"
3771 msgstr ""
3772
3773 # type: verbatim
3774 #: ../src/guestfs-actions.pod:187
3775 #, no-wrap
3776 msgid ""
3777 " int guestfs_aug_init (guestfs_h *g,\n"
3778 "\t\tconst char *root,\n"
3779 "\t\tint flags);\n"
3780 "\n"
3781 msgstr ""
3782
3783 # type: textblock
3784 #: ../src/guestfs-actions.pod:191 ../fish/guestfish-actions.pod:152
3785 msgid ""
3786 "Create a new Augeas handle for editing configuration files.  If there was "
3787 "any previous Augeas handle associated with this guestfs session, then it is "
3788 "closed."
3789 msgstr ""
3790
3791 # type: textblock
3792 #: ../src/guestfs-actions.pod:195
3793 msgid "You must call this before using any other C<guestfs_aug_*> commands."
3794 msgstr ""
3795
3796 # type: textblock
3797 #: ../src/guestfs-actions.pod:198 ../fish/guestfish-actions.pod:159
3798 msgid "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
3799 msgstr ""
3800
3801 # type: textblock
3802 #: ../src/guestfs-actions.pod:201 ../fish/guestfish-actions.pod:162
3803 msgid ""
3804 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
3805 "logical I<or> of the following integers:"
3806 msgstr ""
3807
3808 # type: =item
3809 #: ../src/guestfs-actions.pod:207 ../fish/guestfish-actions.pod:168
3810 msgid "C<AUG_SAVE_BACKUP> = 1"
3811 msgstr ""
3812
3813 # type: textblock
3814 #: ../src/guestfs-actions.pod:209 ../fish/guestfish-actions.pod:170
3815 msgid "Keep the original file with a C<.augsave> extension."
3816 msgstr ""
3817
3818 # type: =item
3819 #: ../src/guestfs-actions.pod:211 ../fish/guestfish-actions.pod:172
3820 msgid "C<AUG_SAVE_NEWFILE> = 2"
3821 msgstr ""
3822
3823 # type: textblock
3824 #: ../src/guestfs-actions.pod:213 ../fish/guestfish-actions.pod:174
3825 msgid ""
3826 "Save changes into a file with extension C<.augnew>, and do not overwrite "
3827 "original.  Overrides C<AUG_SAVE_BACKUP>."
3828 msgstr ""
3829
3830 # type: =item
3831 #: ../src/guestfs-actions.pod:216 ../fish/guestfish-actions.pod:177
3832 msgid "C<AUG_TYPE_CHECK> = 4"
3833 msgstr ""
3834
3835 # type: textblock
3836 #: ../src/guestfs-actions.pod:218 ../fish/guestfish-actions.pod:179
3837 msgid "Typecheck lenses (can be expensive)."
3838 msgstr ""
3839
3840 # type: =item
3841 #: ../src/guestfs-actions.pod:220 ../fish/guestfish-actions.pod:181
3842 msgid "C<AUG_NO_STDINC> = 8"
3843 msgstr ""
3844
3845 # type: textblock
3846 #: ../src/guestfs-actions.pod:222 ../fish/guestfish-actions.pod:183
3847 msgid "Do not use standard load path for modules."
3848 msgstr ""
3849
3850 # type: =item
3851 #: ../src/guestfs-actions.pod:224 ../fish/guestfish-actions.pod:185
3852 msgid "C<AUG_SAVE_NOOP> = 16"
3853 msgstr ""
3854
3855 # type: textblock
3856 #: ../src/guestfs-actions.pod:226 ../fish/guestfish-actions.pod:187
3857 msgid "Make save a no-op, just record what would have been changed."
3858 msgstr ""
3859
3860 # type: =item
3861 #: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:189
3862 msgid "C<AUG_NO_LOAD> = 32"
3863 msgstr ""
3864
3865 # type: textblock
3866 #: ../src/guestfs-actions.pod:230
3867 msgid "Do not load the tree in C<guestfs_aug_init>."
3868 msgstr ""
3869
3870 # type: textblock
3871 #: ../src/guestfs-actions.pod:234
3872 msgid "To close the handle, you can call C<guestfs_aug_close>."
3873 msgstr ""
3874
3875 # type: textblock
3876 #: ../src/guestfs-actions.pod:236 ../fish/guestfish-actions.pod:197
3877 msgid "To find out more about Augeas, see L<http://augeas.net/>."
3878 msgstr ""
3879
3880 # type: =head2
3881 #: ../src/guestfs-actions.pod:240
3882 msgid "guestfs_aug_insert"
3883 msgstr ""
3884
3885 # type: verbatim
3886 #: ../src/guestfs-actions.pod:242
3887 #, no-wrap
3888 msgid ""
3889 " int guestfs_aug_insert (guestfs_h *g,\n"
3890 "\t\tconst char *augpath,\n"
3891 "\t\tconst char *label,\n"
3892 "\t\tint before);\n"
3893 "\n"
3894 msgstr ""
3895
3896 # type: textblock
3897 #: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:203
3898 msgid ""
3899 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
3900 "or after C<path> (depending on the boolean flag C<before>)."
3901 msgstr ""
3902
3903 # type: textblock
3904 #: ../src/guestfs-actions.pod:251 ../fish/guestfish-actions.pod:207
3905 msgid ""
3906 "C<path> must match exactly one existing node in the tree, and C<label> must "
3907 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
3908 msgstr ""
3909
3910 # type: =head2
3911 #: ../src/guestfs-actions.pod:257
3912 msgid "guestfs_aug_load"
3913 msgstr ""
3914
3915 # type: verbatim
3916 #: ../src/guestfs-actions.pod:259
3917 #, no-wrap
3918 msgid ""
3919 " int guestfs_aug_load (guestfs_h *g);\n"
3920 "\n"
3921 msgstr ""
3922
3923 # type: textblock
3924 #: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:215
3925 msgid "Load files into the tree."
3926 msgstr ""
3927
3928 # type: textblock
3929 #: ../src/guestfs-actions.pod:263 ../fish/guestfish-actions.pod:217
3930 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
3931 msgstr ""
3932
3933 # type: =head2
3934 #: ../src/guestfs-actions.pod:268
3935 msgid "guestfs_aug_ls"
3936 msgstr ""
3937
3938 # type: verbatim
3939 #: ../src/guestfs-actions.pod:270
3940 #, no-wrap
3941 msgid ""
3942 " char **guestfs_aug_ls (guestfs_h *g,\n"
3943 "\t\tconst char *augpath);\n"
3944 "\n"
3945 msgstr ""
3946
3947 # type: textblock
3948 #: ../src/guestfs-actions.pod:273
3949 msgid ""
3950 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
3951 "sorting the resulting nodes into alphabetical order."
3952 msgstr ""
3953
3954 # type: textblock
3955 #: ../src/guestfs-actions.pod:276 ../src/guestfs-actions.pod:289 ../src/guestfs-actions.pod:417 ../src/guestfs-actions.pod:802 ../src/guestfs-actions.pod:1053 ../src/guestfs-actions.pod:1069 ../src/guestfs-actions.pod:1157 ../src/guestfs-actions.pod:1173 ../src/guestfs-actions.pod:1404 ../src/guestfs-actions.pod:1738 ../src/guestfs-actions.pod:1751 ../src/guestfs-actions.pod:1767 ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1825 ../src/guestfs-actions.pod:1887 ../src/guestfs-actions.pod:1927 ../src/guestfs-actions.pod:2093 ../src/guestfs-actions.pod:2259 ../src/guestfs-actions.pod:2462 ../src/guestfs-actions.pod:2477 ../src/guestfs-actions.pod:2561 ../src/guestfs-actions.pod:2890 ../src/guestfs-actions.pod:3397 ../src/guestfs-actions.pod:3808 ../src/guestfs-actions.pod:3894 ../src/guestfs-actions.pod:4000 ../src/guestfs-actions.pod:4549 ../src/guestfs-actions.pod:4598 ../src/guestfs-actions.pod:4650 ../src/guestfs-actions.pod:4766 ../src/guestfs-actions.pod:4787 ../src/guestfs-actions.pod:5161 ../src/guestfs-actions.pod:5178 ../src/guestfs-actions.pod:5216 ../src/guestfs-actions.pod:5352 ../src/guestfs-actions.pod:5368 ../src/guestfs-actions.pod:5441 ../src/guestfs-actions.pod:5457 ../src/guestfs-actions.pod:5497 ../src/guestfs-actions.pod:5513
3956 msgid ""
3957 "This function returns a NULL-terminated array of strings (like "
3958 "L<environ(3)>), or NULL if there was an error.  I<The caller must free the "
3959 "strings and the array after use>."
3960 msgstr ""
3961
3962 # type: =head2
3963 #: ../src/guestfs-actions.pod:280
3964 msgid "guestfs_aug_match"
3965 msgstr ""
3966
3967 # type: verbatim
3968 #: ../src/guestfs-actions.pod:282
3969 #, no-wrap
3970 msgid ""
3971 " char **guestfs_aug_match (guestfs_h *g,\n"
3972 "\t\tconst char *augpath);\n"
3973 "\n"
3974 msgstr ""
3975
3976 # type: textblock
3977 #: ../src/guestfs-actions.pod:285 ../fish/guestfish-actions.pod:231
3978 msgid ""
3979 "Returns a list of paths which match the path expression C<path>.  The "
3980 "returned paths are sufficiently qualified so that they match exactly one "
3981 "node in the current tree."
3982 msgstr ""
3983
3984 # type: =head2
3985 #: ../src/guestfs-actions.pod:293
3986 msgid "guestfs_aug_mv"
3987 msgstr ""
3988
3989 # type: verbatim
3990 #: ../src/guestfs-actions.pod:295
3991 #, no-wrap
3992 msgid ""
3993 " int guestfs_aug_mv (guestfs_h *g,\n"
3994 "\t\tconst char *src,\n"
3995 "\t\tconst char *dest);\n"
3996 "\n"
3997 msgstr ""
3998
3999 # type: textblock
4000 #: ../src/guestfs-actions.pod:299 ../fish/guestfish-actions.pod:239
4001 msgid ""
4002 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
4003 "C<dest> is overwritten if it exists."
4004 msgstr ""
4005
4006 # type: =head2
4007 #: ../src/guestfs-actions.pod:304
4008 msgid "guestfs_aug_rm"
4009 msgstr ""
4010
4011 # type: verbatim
4012 #: ../src/guestfs-actions.pod:306
4013 #, no-wrap
4014 msgid ""
4015 " int guestfs_aug_rm (guestfs_h *g,\n"
4016 "\t\tconst char *augpath);\n"
4017 "\n"
4018 msgstr ""
4019
4020 # type: textblock
4021 #: ../src/guestfs-actions.pod:309 ../fish/guestfish-actions.pod:246
4022 msgid "Remove C<path> and all of its children."
4023 msgstr ""
4024
4025 # type: textblock
4026 #: ../src/guestfs-actions.pod:311 ../fish/guestfish-actions.pod:248
4027 msgid "On success this returns the number of entries which were removed."
4028 msgstr ""
4029
4030 # type: =head2
4031 #: ../src/guestfs-actions.pod:315
4032 msgid "guestfs_aug_save"
4033 msgstr ""
4034
4035 # type: verbatim
4036 #: ../src/guestfs-actions.pod:317
4037 #, no-wrap
4038 msgid ""
4039 " int guestfs_aug_save (guestfs_h *g);\n"
4040 "\n"
4041 msgstr ""
4042
4043 # type: textblock
4044 #: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:254
4045 msgid "This writes all pending changes to disk."
4046 msgstr ""
4047
4048 # type: textblock
4049 #: ../src/guestfs-actions.pod:321
4050 msgid ""
4051 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4052 "are saved."
4053 msgstr ""
4054
4055 # type: =head2
4056 #: ../src/guestfs-actions.pod:326
4057 msgid "guestfs_aug_set"
4058 msgstr ""
4059
4060 # type: verbatim
4061 #: ../src/guestfs-actions.pod:328
4062 #, no-wrap
4063 msgid ""
4064 " int guestfs_aug_set (guestfs_h *g,\n"
4065 "\t\tconst char *augpath,\n"
4066 "\t\tconst char *val);\n"
4067 "\n"
4068 msgstr ""
4069
4070 # type: textblock
4071 #: ../src/guestfs-actions.pod:332 ../fish/guestfish-actions.pod:263
4072 msgid "Set the value associated with C<path> to C<val>."
4073 msgstr ""
4074
4075 # type: textblock
4076 #: ../src/guestfs-actions.pod:334
4077 msgid ""
4078 "In the Augeas API, it is possible to clear a node by setting the value to "
4079 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4080 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4081 msgstr ""
4082
4083 # type: =head2
4084 #: ../src/guestfs-actions.pod:341
4085 msgid "guestfs_available"
4086 msgstr ""
4087
4088 # type: verbatim
4089 #: ../src/guestfs-actions.pod:343
4090 #, no-wrap
4091 msgid ""
4092 " int guestfs_available (guestfs_h *g,\n"
4093 "\t\tchar *const *groups);\n"
4094 "\n"
4095 msgstr ""
4096
4097 # type: textblock
4098 #: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:274
4099 msgid ""
4100 "This command is used to check the availability of some groups of "
4101 "functionality in the appliance, which not all builds of the libguestfs "
4102 "appliance will be able to provide."
4103 msgstr ""
4104
4105 # type: textblock
4106 #: ../src/guestfs-actions.pod:350
4107 msgid ""
4108 "The libguestfs groups, and the functions that those groups correspond to, "
4109 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4110 "runtime by calling C<guestfs_available_all_groups>."
4111 msgstr ""
4112
4113 # type: textblock
4114 #: ../src/guestfs-actions.pod:355 ../fish/guestfish-actions.pod:283
4115 msgid ""
4116 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", "
4117 "\"augeas\"]> would check for the availability of the Linux inotify functions "
4118 "and Augeas (configuration file editing) functions."
4119 msgstr ""
4120
4121 # type: textblock
4122 #: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:288
4123 msgid "The command returns no error if I<all> requested groups are available."
4124 msgstr ""
4125
4126 # type: textblock
4127 #: ../src/guestfs-actions.pod:362 ../fish/guestfish-actions.pod:290
4128 msgid ""
4129 "It fails with an error if one or more of the requested groups is unavailable "
4130 "in the appliance."
4131 msgstr ""
4132
4133 # type: textblock
4134 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:293
4135 msgid ""
4136 "If an unknown group name is included in the list of groups then an error is "
4137 "always returned."
4138 msgstr ""
4139
4140 # type: textblock
4141 #: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:296
4142 msgid "I<Notes:>"
4143 msgstr ""
4144
4145 # type: textblock
4146 #: ../src/guestfs-actions.pod:374
4147 msgid "You must call C<guestfs_launch> before calling this function."
4148 msgstr ""
4149
4150 # type: textblock
4151 #: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:304
4152 msgid ""
4153 "The reason is because we don't know what groups are supported by the "
4154 "appliance/daemon until it is running and can be queried."
4155 msgstr ""
4156
4157 # type: textblock
4158 #: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:310
4159 msgid ""
4160 "If a group of functions is available, this does not necessarily mean that "
4161 "they will work.  You still have to check for errors when calling individual "
4162 "API functions even if they are available."
4163 msgstr ""
4164
4165 # type: textblock
4166 #: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:317
4167 msgid ""
4168 "It is usually the job of distro packagers to build complete functionality "
4169 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4170 "with all requirements satisfied, will support everything."
4171 msgstr ""
4172
4173 # type: textblock
4174 #: ../src/guestfs-actions.pod:396
4175 msgid ""
4176 "This call was added in version C<1.0.80>.  In previous versions of "
4177 "libguestfs all you could do would be to speculatively execute a command to "
4178 "find out if the daemon implemented it.  See also C<guestfs_version>."
4179 msgstr ""
4180
4181 # type: =head2
4182 #: ../src/guestfs-actions.pod:405
4183 msgid "guestfs_available_all_groups"
4184 msgstr ""
4185
4186 # type: verbatim
4187 #: ../src/guestfs-actions.pod:407
4188 #, no-wrap
4189 msgid ""
4190 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4191 "\n"
4192 msgstr ""
4193
4194 # type: textblock
4195 #: ../src/guestfs-actions.pod:409
4196 msgid ""
4197 "This command returns a list of all optional groups that this daemon knows "
4198 "about.  Note this returns both supported and unsupported groups.  To find "
4199 "out which ones the daemon can actually support you have to call "
4200 "C<guestfs_available> on each member of the returned list."
4201 msgstr ""
4202
4203 # type: textblock
4204 #: ../src/guestfs-actions.pod:415
4205 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4206 msgstr ""
4207
4208 # type: =head2
4209 #: ../src/guestfs-actions.pod:421
4210 msgid "guestfs_base64_in"
4211 msgstr ""
4212
4213 # type: verbatim
4214 #: ../src/guestfs-actions.pod:423
4215 #, no-wrap
4216 msgid ""
4217 " int guestfs_base64_in (guestfs_h *g,\n"
4218 "\t\tconst char *base64file,\n"
4219 "\t\tconst char *filename);\n"
4220 "\n"
4221 msgstr ""
4222
4223 # type: textblock
4224 #: ../src/guestfs-actions.pod:427 ../fish/guestfish-actions.pod:347
4225 msgid "This command uploads base64-encoded data from C<base64file> to C<filename>."
4226 msgstr ""
4227
4228 # type: =head2
4229 #: ../src/guestfs-actions.pod:432
4230 msgid "guestfs_base64_out"
4231 msgstr ""
4232
4233 # type: verbatim
4234 #: ../src/guestfs-actions.pod:434
4235 #, no-wrap
4236 msgid ""
4237 " int guestfs_base64_out (guestfs_h *g,\n"
4238 "\t\tconst char *filename,\n"
4239 "\t\tconst char *base64file);\n"
4240 "\n"
4241 msgstr ""
4242
4243 # type: textblock
4244 #: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:356
4245 msgid ""
4246 "This command downloads the contents of C<filename>, writing it out to local "
4247 "file C<base64file> encoded as base64."
4248 msgstr ""
4249
4250 # type: =head2
4251 #: ../src/guestfs-actions.pod:443
4252 msgid "guestfs_blockdev_flushbufs"
4253 msgstr ""
4254
4255 # type: verbatim
4256 #: ../src/guestfs-actions.pod:445
4257 #, no-wrap
4258 msgid ""
4259 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4260 "\t\tconst char *device);\n"
4261 "\n"
4262 msgstr ""
4263
4264 # type: textblock
4265 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:365
4266 msgid "This tells the kernel to flush internal buffers associated with C<device>."
4267 msgstr ""
4268
4269 # type: textblock
4270 #: ../src/guestfs-actions.pod:451 ../src/guestfs-actions.pod:465 ../src/guestfs-actions.pod:477 ../src/guestfs-actions.pod:490 ../src/guestfs-actions.pod:505 ../src/guestfs-actions.pod:521 ../src/guestfs-actions.pod:532 ../src/guestfs-actions.pod:547 ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:569 ../fish/guestfish-actions.pod:368 ../fish/guestfish-actions.pod:379 ../fish/guestfish-actions.pod:388 ../fish/guestfish-actions.pod:398 ../fish/guestfish-actions.pod:410 ../fish/guestfish-actions.pod:423 ../fish/guestfish-actions.pod:431 ../fish/guestfish-actions.pod:442 ../fish/guestfish-actions.pod:450 ../fish/guestfish-actions.pod:458
4271 msgid "This uses the L<blockdev(8)> command."
4272 msgstr ""
4273
4274 # type: =head2
4275 #: ../src/guestfs-actions.pod:455
4276 msgid "guestfs_blockdev_getbsz"
4277 msgstr ""
4278
4279 # type: verbatim
4280 #: ../src/guestfs-actions.pod:457
4281 #, no-wrap
4282 msgid ""
4283 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4284 "\t\tconst char *device);\n"
4285 "\n"
4286 msgstr ""
4287
4288 # type: textblock
4289 #: ../src/guestfs-actions.pod:460 ../fish/guestfish-actions.pod:374
4290 msgid "This returns the block size of a device."
4291 msgstr ""
4292
4293 # type: textblock
4294 #: ../src/guestfs-actions.pod:462 ../src/guestfs-actions.pod:544 ../fish/guestfish-actions.pod:376 ../fish/guestfish-actions.pod:439
4295 msgid ""
4296 "(Note this is different from both I<size in blocks> and I<filesystem block "
4297 "size>)."
4298 msgstr ""
4299
4300 # type: =head2
4301 #: ../src/guestfs-actions.pod:469
4302 msgid "guestfs_blockdev_getro"
4303 msgstr ""
4304
4305 # type: verbatim
4306 #: ../src/guestfs-actions.pod:471
4307 #, no-wrap
4308 msgid ""
4309 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4310 "\t\tconst char *device);\n"
4311 "\n"
4312 msgstr ""
4313
4314 # type: textblock
4315 #: ../src/guestfs-actions.pod:474 ../fish/guestfish-actions.pod:385
4316 msgid ""
4317 "Returns a boolean indicating if the block device is read-only (true if "
4318 "read-only, false if not)."
4319 msgstr ""
4320
4321 # type: textblock
4322 #: ../src/guestfs-actions.pod:479 ../src/guestfs-actions.pod:1087 ../src/guestfs-actions.pod:1099 ../src/guestfs-actions.pod:1531 ../src/guestfs-actions.pod:1539 ../src/guestfs-actions.pod:1599 ../src/guestfs-actions.pod:1642 ../src/guestfs-actions.pod:1654 ../src/guestfs-actions.pod:1673 ../src/guestfs-actions.pod:1690 ../src/guestfs-actions.pod:2273 ../src/guestfs-actions.pod:2284 ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:2307 ../src/guestfs-actions.pod:2320 ../src/guestfs-actions.pod:2332 ../src/guestfs-actions.pod:2345 ../src/guestfs-actions.pod:2356 ../src/guestfs-actions.pod:2366 ../src/guestfs-actions.pod:2377 ../src/guestfs-actions.pod:2389 ../src/guestfs-actions.pod:2401 ../src/guestfs-actions.pod:3522
4323 msgid "This function returns a C truth value on success or -1 on error."
4324 msgstr ""
4325
4326 # type: =head2
4327 #: ../src/guestfs-actions.pod:481
4328 msgid "guestfs_blockdev_getsize64"
4329 msgstr ""
4330
4331 # type: verbatim
4332 #: ../src/guestfs-actions.pod:483
4333 #, no-wrap
4334 msgid ""
4335 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4336 "\t\tconst char *device);\n"
4337 "\n"
4338 msgstr ""
4339
4340 # type: textblock
4341 #: ../src/guestfs-actions.pod:486 ../fish/guestfish-actions.pod:394
4342 msgid "This returns the size of the device in bytes."
4343 msgstr ""
4344
4345 # type: textblock
4346 #: ../src/guestfs-actions.pod:488
4347 msgid "See also C<guestfs_blockdev_getsz>."
4348 msgstr ""
4349
4350 # type: =head2
4351 #: ../src/guestfs-actions.pod:494
4352 msgid "guestfs_blockdev_getss"
4353 msgstr ""
4354
4355 # type: verbatim
4356 #: ../src/guestfs-actions.pod:496
4357 #, no-wrap
4358 msgid ""
4359 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4360 "\t\tconst char *device);\n"
4361 "\n"
4362 msgstr ""
4363
4364 # type: textblock
4365 #: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:404
4366 msgid ""
4367 "This returns the size of sectors on a block device.  Usually 512, but can be "
4368 "larger for modern devices."
4369 msgstr ""
4370
4371 # type: textblock
4372 #: ../src/guestfs-actions.pod:502
4373 msgid ""
4374 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4375 "that)."
4376 msgstr ""
4377
4378 # type: =head2
4379 #: ../src/guestfs-actions.pod:509
4380 msgid "guestfs_blockdev_getsz"
4381 msgstr ""
4382
4383 # type: verbatim
4384 #: ../src/guestfs-actions.pod:511
4385 #, no-wrap
4386 msgid ""
4387 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4388 "\t\tconst char *device);\n"
4389 "\n"
4390 msgstr ""
4391
4392 # type: textblock
4393 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:416
4394 msgid ""
4395 "This returns the size of the device in units of 512-byte sectors (even if "
4396 "the sectorsize isn't 512 bytes ... weird)."
4397 msgstr ""
4398
4399 # type: textblock
4400 #: ../src/guestfs-actions.pod:517
4401 msgid ""
4402 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4403 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4404 msgstr ""
4405
4406 # type: =head2
4407 #: ../src/guestfs-actions.pod:525
4408 msgid "guestfs_blockdev_rereadpt"
4409 msgstr ""
4410
4411 # type: verbatim
4412 #: ../src/guestfs-actions.pod:527
4413 #, no-wrap
4414 msgid ""
4415 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4416 "\t\tconst char *device);\n"
4417 "\n"
4418 msgstr ""
4419
4420 # type: textblock
4421 #: ../src/guestfs-actions.pod:530 ../fish/guestfish-actions.pod:429
4422 msgid "Reread the partition table on C<device>."
4423 msgstr ""
4424
4425 # type: =head2
4426 #: ../src/guestfs-actions.pod:536
4427 msgid "guestfs_blockdev_setbsz"
4428 msgstr ""
4429
4430 # type: verbatim
4431 #: ../src/guestfs-actions.pod:538
4432 #, no-wrap
4433 msgid ""
4434 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4435 "\t\tconst char *device,\n"
4436 "\t\tint blocksize);\n"
4437 "\n"
4438 msgstr ""
4439
4440 # type: textblock
4441 #: ../src/guestfs-actions.pod:542 ../fish/guestfish-actions.pod:437
4442 msgid "This sets the block size of a device."
4443 msgstr ""
4444
4445 # type: =head2
4446 #: ../src/guestfs-actions.pod:551
4447 msgid "guestfs_blockdev_setro"
4448 msgstr ""
4449
4450 # type: verbatim
4451 #: ../src/guestfs-actions.pod:553
4452 #, no-wrap
4453 msgid ""
4454 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4455 "\t\tconst char *device);\n"
4456 "\n"
4457 msgstr ""
4458
4459 # type: textblock
4460 #: ../src/guestfs-actions.pod:556 ../fish/guestfish-actions.pod:448
4461 msgid "Sets the block device named C<device> to read-only."
4462 msgstr ""
4463
4464 # type: =head2
4465 #: ../src/guestfs-actions.pod:562
4466 msgid "guestfs_blockdev_setrw"
4467 msgstr ""
4468
4469 # type: verbatim
4470 #: ../src/guestfs-actions.pod:564
4471 #, no-wrap
4472 msgid ""
4473 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4474 "\t\tconst char *device);\n"
4475 "\n"
4476 msgstr ""
4477
4478 # type: textblock
4479 #: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:456
4480 msgid "Sets the block device named C<device> to read-write."
4481 msgstr ""
4482
4483 # type: =head2
4484 #: ../src/guestfs-actions.pod:573
4485 msgid "guestfs_case_sensitive_path"
4486 msgstr ""
4487
4488 # type: verbatim
4489 #: ../src/guestfs-actions.pod:575
4490 #, no-wrap
4491 msgid ""
4492 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4493 "\t\tconst char *path);\n"
4494 "\n"
4495 msgstr ""
4496
4497 # type: textblock
4498 #: ../src/guestfs-actions.pod:578 ../fish/guestfish-actions.pod:464
4499 msgid ""
4500 "This can be used to resolve case insensitive paths on a filesystem which is "
4501 "case sensitive.  The use case is to resolve paths which you have read from "
4502 "Windows configuration files or the Windows Registry, to the true path."
4503 msgstr ""
4504
4505 # type: textblock
4506 #: ../src/guestfs-actions.pod:583 ../fish/guestfish-actions.pod:469
4507 msgid ""
4508 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4509 "(and probably others), which is that although the underlying filesystem is "
4510 "case-insensitive, the driver exports the filesystem to Linux as "
4511 "case-sensitive."
4512 msgstr ""
4513
4514 # type: textblock
4515 #: ../src/guestfs-actions.pod:588 ../fish/guestfish-actions.pod:474
4516 msgid ""
4517 "One consequence of this is that special directories such as C<c:\\windows> "
4518 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4519 "precise details of how they were created.  In Windows itself this would not "
4520 "be a problem."
4521 msgstr ""
4522
4523 # type: textblock
4524 #: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:480
4525 msgid ""
4526 "Bug or feature? You decide: "
4527 "L<http://www.tuxera.com/community/ntfs-3g-faq/#posixfilenames1>"
4528 msgstr ""
4529
4530 # type: textblock
4531 #: ../src/guestfs-actions.pod:597 ../fish/guestfish-actions.pod:483
4532 msgid ""
4533 "This function resolves the true case of each element in the path and returns "
4534 "the case-sensitive path."
4535 msgstr ""
4536
4537 # type: textblock
4538 #: ../src/guestfs-actions.pod:600
4539 msgid ""
4540 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return "
4541 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4542 "how the directories were originally created under Windows)."
4543 msgstr ""
4544
4545 # type: textblock
4546 #: ../src/guestfs-actions.pod:605 ../fish/guestfish-actions.pod:491
4547 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4548 msgstr ""
4549
4550 # type: textblock
4551 #: ../src/guestfs-actions.pod:608
4552 msgid "See also C<guestfs_realpath>."
4553 msgstr ""
4554
4555 # type: =head2
4556 #: ../src/guestfs-actions.pod:613
4557 msgid "guestfs_cat"
4558 msgstr ""
4559
4560 # type: verbatim
4561 #: ../src/guestfs-actions.pod:615
4562 #, no-wrap
4563 msgid ""
4564 " char *guestfs_cat (guestfs_h *g,\n"
4565 "\t\tconst char *path);\n"
4566 "\n"
4567 msgstr ""
4568
4569 # type: textblock
4570 #: ../src/guestfs-actions.pod:618 ../src/guestfs-actions.pod:3884 ../fish/guestfish-actions.pod:500 ../fish/guestfish-actions.pod:2989
4571 msgid "Return the contents of the file named C<path>."
4572 msgstr ""
4573
4574 # type: textblock
4575 #: ../src/guestfs-actions.pod:620
4576 msgid ""
4577 "Note that this function cannot correctly handle binary files (specifically, "
4578 "files containing C<\\0> character which is treated as end of string).  For "
4579 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4580 "functions which have a more complex interface."
4581 msgstr ""
4582
4583 # type: textblock
4584 #: ../src/guestfs-actions.pod:628 ../src/guestfs-actions.pod:789 ../src/guestfs-actions.pod:806 ../src/guestfs-actions.pod:1057 ../src/guestfs-actions.pod:1073 ../src/guestfs-actions.pod:1161 ../src/guestfs-actions.pod:1177 ../src/guestfs-actions.pod:1408 ../src/guestfs-actions.pod:1755 ../src/guestfs-actions.pod:1771 ../src/guestfs-actions.pod:1808 ../src/guestfs-actions.pod:1829 ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:1869 ../src/guestfs-actions.pod:3747 ../src/guestfs-actions.pod:3855 ../src/guestfs-actions.pod:3876 ../src/guestfs-actions.pod:4602 ../src/guestfs-actions.pod:4654 ../src/guestfs-actions.pod:4770 ../src/guestfs-actions.pod:4791 ../src/guestfs-actions.pod:5310 ../src/guestfs-actions.pod:5333 ../src/guestfs-actions.pod:5356 ../src/guestfs-actions.pod:5372 ../src/guestfs-actions.pod:5445 ../src/guestfs-actions.pod:5461 ../src/guestfs-actions.pod:5501 ../src/guestfs-actions.pod:5517 ../fish/guestfish-actions.pod:507 ../fish/guestfish-actions.pod:642 ../fish/guestfish-actions.pod:654 ../fish/guestfish-actions.pod:836 ../fish/guestfish-actions.pod:846 ../fish/guestfish-actions.pod:913 ../fish/guestfish-actions.pod:923 ../fish/guestfish-actions.pod:1118 ../fish/guestfish-actions.pod:1391 ../fish/guestfish-actions.pod:1401 ../fish/guestfish-actions.pod:1429 ../fish/guestfish-actions.pod:1444 ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:1473 ../fish/guestfish-actions.pod:2891 ../fish/guestfish-actions.pod:2967 ../fish/guestfish-actions.pod:2982 ../fish/guestfish-actions.pod:3543 ../fish/guestfish-actions.pod:3589 ../fish/guestfish-actions.pod:3674 ../fish/guestfish-actions.pod:3689 ../fish/guestfish-actions.pod:4072 ../fish/guestfish-actions.pod:4090 ../fish/guestfish-actions.pod:4107 ../fish/guestfish-actions.pod:4117 ../fish/guestfish-actions.pod:4165 ../fish/guestfish-actions.pod:4175 ../fish/guestfish-actions.pod:4204 ../fish/guestfish-actions.pod:4214
4585 msgid ""
4586 "Because of the message protocol, there is a transfer limit of somewhere "
4587 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4588 msgstr ""
4589
4590 # type: =head2
4591 #: ../src/guestfs-actions.pod:631
4592 msgid "guestfs_checksum"
4593 msgstr ""
4594
4595 # type: verbatim
4596 #: ../src/guestfs-actions.pod:633
4597 #, no-wrap
4598 msgid ""
4599 " char *guestfs_checksum (guestfs_h *g,\n"
4600 "\t\tconst char *csumtype,\n"
4601 "\t\tconst char *path);\n"
4602 "\n"
4603 msgstr ""
4604
4605 # type: textblock
4606 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:514
4607 msgid "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4608 msgstr ""
4609
4610 # type: textblock
4611 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:517
4612 msgid ""
4613 "The type of checksum to compute is given by the C<csumtype> parameter which "
4614 "must have one of the following values:"
4615 msgstr ""
4616
4617 # type: =item
4618 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:522
4619 msgid "C<crc>"
4620 msgstr ""
4621
4622 # type: textblock
4623 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:524
4624 msgid ""
4625 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4626 "C<cksum> command."
4627 msgstr ""
4628
4629 # type: =item
4630 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:527
4631 msgid "C<md5>"
4632 msgstr ""
4633
4634 # type: textblock
4635 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:529
4636 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4637 msgstr ""
4638
4639 # type: =item
4640 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:531
4641 msgid "C<sha1>"
4642 msgstr ""
4643
4644 # type: textblock
4645 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:533
4646 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4647 msgstr ""
4648
4649 # type: =item
4650 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:535
4651 msgid "C<sha224>"
4652 msgstr ""
4653
4654 # type: textblock
4655 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:537
4656 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4657 msgstr ""
4658
4659 # type: =item
4660 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:539
4661 msgid "C<sha256>"
4662 msgstr ""
4663
4664 # type: textblock
4665 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:541
4666 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
4667 msgstr ""
4668
4669 # type: =item
4670 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:543
4671 msgid "C<sha384>"
4672 msgstr ""
4673
4674 # type: textblock
4675 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:545
4676 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
4677 msgstr ""
4678
4679 # type: =item
4680 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:547
4681 msgid "C<sha512>"
4682 msgstr ""
4683
4684 # type: textblock
4685 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:549
4686 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
4687 msgstr ""
4688
4689 # type: textblock
4690 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:553
4691 msgid "The checksum is returned as a printable string."
4692 msgstr ""
4693
4694 # type: textblock
4695 #: ../src/guestfs-actions.pod:678
4696 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
4697 msgstr ""
4698
4699 # type: textblock
4700 #: ../src/guestfs-actions.pod:680
4701 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
4702 msgstr ""
4703
4704 # type: =head2
4705 #: ../src/guestfs-actions.pod:685
4706 msgid "guestfs_checksum_device"
4707 msgstr ""
4708
4709 # type: verbatim
4710 #: ../src/guestfs-actions.pod:687
4711 #, no-wrap
4712 msgid ""
4713 " char *guestfs_checksum_device (guestfs_h *g,\n"
4714 "\t\tconst char *csumtype,\n"
4715 "\t\tconst char *device);\n"
4716 "\n"
4717 msgstr ""
4718
4719 # type: textblock
4720 #: ../src/guestfs-actions.pod:691
4721 msgid ""
4722 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
4723 "device named C<device>.  For the types of checksums supported see the "
4724 "C<guestfs_checksum> command."
4725 msgstr ""
4726
4727 # type: =head2
4728 #: ../src/guestfs-actions.pod:698
4729 msgid "guestfs_checksums_out"
4730 msgstr ""
4731
4732 # type: verbatim
4733 #: ../src/guestfs-actions.pod:700
4734 #, no-wrap
4735 msgid ""
4736 " int guestfs_checksums_out (guestfs_h *g,\n"
4737 "\t\tconst char *csumtype,\n"
4738 "\t\tconst char *directory,\n"
4739 "\t\tconst char *sumsfile);\n"
4740 "\n"
4741 msgstr ""
4742
4743 # type: textblock
4744 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:571
4745 msgid ""
4746 "This command computes the checksums of all regular files in C<directory> and "
4747 "then emits a list of those checksums to the local output file C<sumsfile>."
4748 msgstr ""
4749
4750 # type: textblock
4751 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:575
4752 msgid ""
4753 "This can be used for verifying the integrity of a virtual machine.  However "
4754 "to be properly secure you should pay attention to the output of the checksum "
4755 "command (it uses the ones from GNU coreutils).  In particular when the "
4756 "filename is not printable, coreutils uses a special backslash syntax.  For "
4757 "more information, see the GNU coreutils info file."
4758 msgstr ""
4759
4760 # type: =head2
4761 #: ../src/guestfs-actions.pod:719
4762 msgid "guestfs_chmod"
4763 msgstr ""
4764
4765 # type: verbatim
4766 #: ../src/guestfs-actions.pod:721
4767 #, no-wrap
4768 msgid ""
4769 " int guestfs_chmod (guestfs_h *g,\n"
4770 "\t\tint mode,\n"
4771 "\t\tconst char *path);\n"
4772 "\n"
4773 msgstr ""
4774
4775 # type: textblock
4776 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:589
4777 msgid ""
4778 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
4779 "supported."
4780 msgstr ""
4781
4782 # type: textblock
4783 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:592
4784 msgid ""
4785 "I<Note>: When using this command from guestfish, C<mode> by default would be "
4786 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
4787 "C<700>."
4788 msgstr ""
4789
4790 # type: textblock
4791 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3105 ../src/guestfs-actions.pod:3193 ../src/guestfs-actions.pod:3209 ../src/guestfs-actions.pod:3225 ../fish/guestfish-actions.pod:596 ../fish/guestfish-actions.pod:2407 ../fish/guestfish-actions.pod:2477 ../fish/guestfish-actions.pod:2487 ../fish/guestfish-actions.pod:2497
4792 msgid "The mode actually set is affected by the umask."
4793 msgstr ""
4794
4795 # type: =head2
4796 #: ../src/guestfs-actions.pod:736
4797 msgid "guestfs_chown"
4798 msgstr ""
4799
4800 # type: verbatim
4801 #: ../src/guestfs-actions.pod:738
4802 #, no-wrap
4803 msgid ""
4804 " int guestfs_chown (guestfs_h *g,\n"
4805 "\t\tint owner,\n"
4806 "\t\tint group,\n"
4807 "\t\tconst char *path);\n"
4808 "\n"
4809 msgstr ""
4810
4811 # type: textblock
4812 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:602
4813 msgid "Change the file owner to C<owner> and group to C<group>."
4814 msgstr ""
4815
4816 # type: textblock
4817 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2434 ../fish/guestfish-actions.pod:604 ../fish/guestfish-actions.pod:1935
4818 msgid ""
4819 "Only numeric uid and gid are supported.  If you want to use names, you will "
4820 "need to locate and parse the password file yourself (Augeas support makes "
4821 "this relatively easy)."
4822 msgstr ""
4823
4824 # type: =head2
4825 #: ../src/guestfs-actions.pod:751
4826 msgid "guestfs_command"
4827 msgstr ""
4828
4829 # type: verbatim
4830 #: ../src/guestfs-actions.pod:753
4831 #, no-wrap
4832 msgid ""
4833 " char *guestfs_command (guestfs_h *g,\n"
4834 "\t\tchar *const *arguments);\n"
4835 "\n"
4836 msgstr ""
4837
4838 # type: textblock
4839 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:612
4840 msgid ""
4841 "This call runs a command from the guest filesystem.  The filesystem must be "
4842 "mounted, and must contain a compatible operating system (ie. something "
4843 "Linux, with the same or compatible processor architecture)."
4844 msgstr ""
4845
4846 # type: textblock
4847 #: ../src/guestfs-actions.pod:761
4848 msgid ""
4849 "The single parameter is an argv-style list of arguments.  The first element "
4850 "is the name of the program to run.  Subsequent elements are parameters.  The "
4851 "list must be non-empty (ie. must contain a program name).  Note that the "
4852 "command runs directly, and is I<not> invoked via the shell (see "
4853 "C<guestfs_sh>)."
4854 msgstr ""
4855
4856 # type: textblock
4857 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:624
4858 msgid "The return value is anything printed to I<stdout> by the command."
4859 msgstr ""
4860
4861 # type: textblock
4862 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:627
4863 msgid ""
4864 "If the command returns a non-zero exit status, then this function returns an "
4865 "error message.  The error message string is the content of I<stderr> from "
4866 "the command."
4867 msgstr ""
4868
4869 # type: textblock
4870 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:631
4871 msgid ""
4872 "The C<$PATH> environment variable will contain at least C</usr/bin> and "
4873 "C</bin>.  If you require a program from another location, you should provide "
4874 "the full path in the first parameter."
4875 msgstr ""
4876
4877 # type: textblock
4878 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:636
4879 msgid ""
4880 "Shared libraries and data files required by the program must be available on "
4881 "filesystems which are mounted in the correct places.  It is the caller's "
4882 "responsibility to ensure all filesystems that are needed are mounted at the "
4883 "right locations."
4884 msgstr ""
4885
4886 # type: =head2
4887 #: ../src/guestfs-actions.pod:792
4888 msgid "guestfs_command_lines"
4889 msgstr ""
4890
4891 # type: verbatim
4892 #: ../src/guestfs-actions.pod:794
4893 #, no-wrap
4894 msgid ""
4895 " char **guestfs_command_lines (guestfs_h *g,\n"
4896 "\t\tchar *const *arguments);\n"
4897 "\n"
4898 msgstr ""
4899
4900 # type: textblock
4901 #: ../src/guestfs-actions.pod:797
4902 msgid ""
4903 "This is the same as C<guestfs_command>, but splits the result into a list of "
4904 "lines."
4905 msgstr ""
4906
4907 # type: textblock
4908 #: ../src/guestfs-actions.pod:800
4909 msgid "See also: C<guestfs_sh_lines>"
4910 msgstr ""
4911
4912 # type: =head2
4913 #: ../src/guestfs-actions.pod:809
4914 msgid "guestfs_config"
4915 msgstr ""
4916
4917 # type: verbatim
4918 #: ../src/guestfs-actions.pod:811
4919 #, no-wrap
4920 msgid ""
4921 " int guestfs_config (guestfs_h *g,\n"
4922 "\t\tconst char *qemuparam,\n"
4923 "\t\tconst char *qemuvalue);\n"
4924 "\n"
4925 msgstr ""
4926
4927 # type: textblock
4928 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:661
4929 msgid ""
4930 "This can be used to add arbitrary qemu command line parameters of the form "
4931 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
4932 "setting some parameters which would interfere with parameters that we use."
4933 msgstr ""
4934
4935 # type: textblock
4936 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:666
4937 msgid "The first character of C<param> string must be a C<-> (dash)."
4938 msgstr ""
4939
4940 # type: textblock
4941 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:668
4942 msgid "C<value> can be NULL."
4943 msgstr ""
4944
4945 # type: =head2
4946 #: ../src/guestfs-actions.pod:826
4947 msgid "guestfs_copy_size"
4948 msgstr ""
4949
4950 # type: verbatim
4951 #: ../src/guestfs-actions.pod:828
4952 #, no-wrap
4953 msgid ""
4954 " int guestfs_copy_size (guestfs_h *g,\n"
4955 "\t\tconst char *src,\n"
4956 "\t\tconst char *dest,\n"
4957 "\t\tint64_t size);\n"
4958 "\n"
4959 msgstr ""
4960
4961 # type: textblock
4962 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:674
4963 msgid ""
4964 "This command copies exactly C<size> bytes from one source device or file "
4965 "C<src> to another destination device or file C<dest>."
4966 msgstr ""
4967
4968 # type: textblock
4969 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:677
4970 msgid ""
4971 "Note this will fail if the source is too short or if the destination is not "
4972 "large enough."
4973 msgstr ""
4974
4975 # type: textblock
4976 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976 ../src/guestfs-actions.pod:1348 ../src/guestfs-actions.pod:1367 ../src/guestfs-actions.pod:5390 ../src/guestfs-actions.pod:5406
4977 msgid ""
4978 "This long-running command can generate progress notification messages so "
4979 "that the caller can display a progress bar or indicator.  To receive these "
4980 "messages, the caller must register a progress callback.  See "
4981 "L<guestfs(3)/guestfs_set_progress_callback>."
4982 msgstr ""
4983
4984 # type: =head2
4985 #: ../src/guestfs-actions.pod:846
4986 msgid "guestfs_cp"
4987 msgstr ""
4988
4989 # type: verbatim
4990 #: ../src/guestfs-actions.pod:848
4991 #, no-wrap
4992 msgid ""
4993 " int guestfs_cp (guestfs_h *g,\n"
4994 "\t\tconst char *src,\n"
4995 "\t\tconst char *dest);\n"
4996 "\n"
4997 msgstr ""
4998
4999 # type: textblock
5000 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:684
5001 msgid ""
5002 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5003 "destination filename or destination directory."
5004 msgstr ""
5005
5006 # type: =head2
5007 #: ../src/guestfs-actions.pod:857
5008 msgid "guestfs_cp_a"
5009 msgstr ""
5010
5011 # type: verbatim
5012 #: ../src/guestfs-actions.pod:859
5013 #, no-wrap
5014 msgid ""
5015 " int guestfs_cp_a (guestfs_h *g,\n"
5016 "\t\tconst char *src,\n"
5017 "\t\tconst char *dest);\n"
5018 "\n"
5019 msgstr ""
5020
5021 # type: textblock
5022 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:691
5023 msgid ""
5024 "This copies a file or directory from C<src> to C<dest> recursively using the "
5025 "C<cp -a> command."
5026 msgstr ""
5027
5028 # type: =head2
5029 #: ../src/guestfs-actions.pod:868
5030 msgid "guestfs_dd"
5031 msgstr ""
5032
5033 # type: verbatim
5034 #: ../src/guestfs-actions.pod:870
5035 #, no-wrap
5036 msgid ""
5037 " int guestfs_dd (guestfs_h *g,\n"
5038 "\t\tconst char *src,\n"
5039 "\t\tconst char *dest);\n"
5040 "\n"
5041 msgstr ""
5042
5043 # type: textblock
5044 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:698
5045 msgid ""
5046 "This command copies from one source device or file C<src> to another "
5047 "destination device or file C<dest>.  Normally you would use this to copy to "
5048 "or from a device or partition, for example to duplicate a filesystem."
5049 msgstr ""
5050
5051 # type: textblock
5052 #: ../src/guestfs-actions.pod:879
5053 msgid ""
5054 "If the destination is a device, it must be as large or larger than the "
5055 "source file or device, otherwise the copy will fail.  This command cannot do "
5056 "partial copies (see C<guestfs_copy_size>)."
5057 msgstr ""
5058
5059 # type: =head2
5060 #: ../src/guestfs-actions.pod:885
5061 msgid "guestfs_debug"
5062 msgstr ""
5063
5064 # type: verbatim
5065 #: ../src/guestfs-actions.pod:887
5066 #, no-wrap
5067 msgid ""
5068 " char *guestfs_debug (guestfs_h *g,\n"
5069 "\t\tconst char *subcmd,\n"
5070 "\t\tchar *const *extraargs);\n"
5071 "\n"
5072 msgstr ""
5073
5074 # type: textblock
5075 #: ../src/guestfs-actions.pod:891
5076 msgid ""
5077 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5078 "guestfs daemon) that runs inside the qemu subprocess."
5079 msgstr ""
5080
5081 # type: textblock
5082 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:715
5083 msgid ""
5084 "There is no comprehensive help for this command.  You have to look at the "
5085 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5086 msgstr ""
5087
5088 # type: =head2
5089 #: ../src/guestfs-actions.pod:902
5090 msgid "guestfs_debug_upload"
5091 msgstr ""
5092
5093 # type: verbatim
5094 #: ../src/guestfs-actions.pod:904
5095 #, no-wrap
5096 msgid ""
5097 " int guestfs_debug_upload (guestfs_h *g,\n"
5098 "\t\tconst char *filename,\n"
5099 "\t\tconst char *tmpname,\n"
5100 "\t\tint mode);\n"
5101 "\n"
5102 msgstr ""
5103
5104 # type: textblock
5105 #: ../src/guestfs-actions.pod:909
5106 msgid ""
5107 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5108 "appliance."
5109 msgstr ""
5110
5111 # type: textblock
5112 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:726
5113 msgid ""
5114 "There is no comprehensive help for this command.  You have to look at the "
5115 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5116 msgstr ""
5117
5118 # type: =head2
5119 #: ../src/guestfs-actions.pod:918
5120 msgid "guestfs_df"
5121 msgstr ""
5122
5123 # type: verbatim
5124 #: ../src/guestfs-actions.pod:920
5125 #, no-wrap
5126 msgid ""
5127 " char *guestfs_df (guestfs_h *g);\n"
5128 "\n"
5129 msgstr ""
5130
5131 # type: textblock
5132 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:736
5133 msgid "This command runs the C<df> command to report disk space used."
5134 msgstr ""
5135
5136 # type: textblock
5137 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938 ../fish/guestfish-actions.pod:738 ../fish/guestfish-actions.pod:749
5138 msgid ""
5139 "This command is mostly useful for interactive sessions.  It is I<not> "
5140 "intended that you try to parse the output string.  Use C<statvfs> from "
5141 "programs."
5142 msgstr ""
5143
5144 # type: =head2
5145 #: ../src/guestfs-actions.pod:931
5146 msgid "guestfs_df_h"
5147 msgstr ""
5148
5149 # type: verbatim
5150 #: ../src/guestfs-actions.pod:933
5151 #, no-wrap
5152 msgid ""
5153 " char *guestfs_df_h (guestfs_h *g);\n"
5154 "\n"
5155 msgstr ""
5156
5157 # type: textblock
5158 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:746
5159 msgid ""
5160 "This command runs the C<df -h> command to report disk space used in "
5161 "human-readable format."
5162 msgstr ""
5163
5164 # type: =head2
5165 #: ../src/guestfs-actions.pod:945
5166 msgid "guestfs_dmesg"
5167 msgstr ""
5168
5169 # type: verbatim
5170 #: ../src/guestfs-actions.pod:947
5171 #, no-wrap
5172 msgid ""
5173 " char *guestfs_dmesg (guestfs_h *g);\n"
5174 "\n"
5175 msgstr ""
5176
5177 # type: textblock
5178 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:757
5179 msgid ""
5180 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5181 "This is sometimes useful for extended debugging of problems."
5182 msgstr ""
5183
5184 # type: textblock
5185 #: ../src/guestfs-actions.pod:953
5186 msgid ""
5187 "Another way to get the same information is to enable verbose messages with "
5188 "C<guestfs_set_verbose> or by setting the environment variable "
5189 "C<LIBGUESTFS_DEBUG=1> before running the program."
5190 msgstr ""
5191
5192 # type: =head2
5193 #: ../src/guestfs-actions.pod:961
5194 msgid "guestfs_download"
5195 msgstr ""
5196
5197 # type: verbatim
5198 #: ../src/guestfs-actions.pod:963
5199 #, no-wrap
5200 msgid ""
5201 " int guestfs_download (guestfs_h *g,\n"
5202 "\t\tconst char *remotefilename,\n"
5203 "\t\tconst char *filename);\n"
5204 "\n"
5205 msgstr ""
5206
5207 # type: textblock
5208 #: ../src/guestfs-actions.pod:967 ../fish/guestfish-actions.pod:770
5209 msgid ""
5210 "Download file C<remotefilename> and save it as C<filename> on the local "
5211 "machine."
5212 msgstr ""
5213
5214 # type: textblock
5215 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:4984 ../fish/guestfish-actions.pod:773 ../fish/guestfish-actions.pod:3843
5216 msgid "C<filename> can also be a named pipe."
5217 msgstr ""
5218
5219 # type: textblock
5220 #: ../src/guestfs-actions.pod:972
5221 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5222 msgstr ""
5223
5224 # type: =head2
5225 #: ../src/guestfs-actions.pod:981
5226 msgid "guestfs_drop_caches"
5227 msgstr ""
5228
5229 # type: verbatim
5230 #: ../src/guestfs-actions.pod:983
5231 #, no-wrap
5232 msgid ""
5233 " int guestfs_drop_caches (guestfs_h *g,\n"
5234 "\t\tint whattodrop);\n"
5235 "\n"
5236 msgstr ""
5237
5238 # type: textblock
5239 #: ../src/guestfs-actions.pod:986 ../fish/guestfish-actions.pod:783
5240 msgid ""
5241 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5242 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5243 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5244 msgstr ""
5245
5246 # type: textblock
5247 #: ../src/guestfs-actions.pod:991 ../fish/guestfish-actions.pod:788
5248 msgid "Setting C<whattodrop> to 3 should drop everything."
5249 msgstr ""
5250
5251 # type: textblock
5252 #: ../src/guestfs-actions.pod:993 ../fish/guestfish-actions.pod:790
5253 msgid ""
5254 "This automatically calls L<sync(2)> before the operation, so that the "
5255 "maximum guest memory is freed."
5256 msgstr ""
5257
5258 # type: =head2
5259 #: ../src/guestfs-actions.pod:998
5260 msgid "guestfs_du"
5261 msgstr ""
5262
5263 # type: verbatim
5264 #: ../src/guestfs-actions.pod:1000
5265 #, no-wrap
5266 msgid ""
5267 " int64_t guestfs_du (guestfs_h *g,\n"
5268 "\t\tconst char *path);\n"
5269 "\n"
5270 msgstr ""
5271
5272 # type: textblock
5273 #: ../src/guestfs-actions.pod:1003 ../fish/guestfish-actions.pod:797
5274 msgid ""
5275 "This command runs the C<du -s> command to estimate file space usage for "
5276 "C<path>."
5277 msgstr ""
5278
5279 # type: textblock
5280 #: ../src/guestfs-actions.pod:1006 ../fish/guestfish-actions.pod:800
5281 msgid ""
5282 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5283 "estimate includes the contents of the directory and all subdirectories "
5284 "(recursively)."
5285 msgstr ""
5286
5287 # type: textblock
5288 #: ../src/guestfs-actions.pod:1010 ../fish/guestfish-actions.pod:804
5289 msgid "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5290 msgstr ""
5291
5292 # type: =head2
5293 #: ../src/guestfs-actions.pod:1015
5294 msgid "guestfs_e2fsck_f"
5295 msgstr ""
5296
5297 # type: verbatim
5298 #: ../src/guestfs-actions.pod:1017
5299 #, no-wrap
5300 msgid ""
5301 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5302 "\t\tconst char *device);\n"
5303 "\n"
5304 msgstr ""
5305
5306 # type: textblock
5307 #: ../src/guestfs-actions.pod:1020 ../fish/guestfish-actions.pod:811
5308 msgid ""
5309 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5310 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5311 "clean (C<-f>)."
5312 msgstr ""
5313
5314 # type: textblock
5315 #: ../src/guestfs-actions.pod:1024
5316 msgid ""
5317 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5318 "Normally you should use C<guestfs_fsck>."
5319 msgstr ""
5320
5321 # type: =head2
5322 #: ../src/guestfs-actions.pod:1029
5323 msgid "guestfs_echo_daemon"
5324 msgstr ""
5325
5326 # type: verbatim
5327 #: ../src/guestfs-actions.pod:1031
5328 #, no-wrap
5329 msgid ""
5330 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5331 "\t\tchar *const *words);\n"
5332 "\n"
5333 msgstr ""
5334
5335 # type: textblock
5336 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:822
5337 msgid ""
5338 "This command concatenates the list of C<words> passed with single spaces "
5339 "between them and returns the resulting string."
5340 msgstr ""
5341
5342 # type: textblock
5343 #: ../src/guestfs-actions.pod:1037 ../fish/guestfish-actions.pod:825
5344 msgid "You can use this command to test the connection through to the daemon."
5345 msgstr ""
5346
5347 # type: textblock
5348 #: ../src/guestfs-actions.pod:1039
5349 msgid "See also C<guestfs_ping_daemon>."
5350 msgstr ""
5351
5352 # type: =head2
5353 #: ../src/guestfs-actions.pod:1044
5354 msgid "guestfs_egrep"
5355 msgstr ""
5356
5357 # type: verbatim
5358 #: ../src/guestfs-actions.pod:1046
5359 #, no-wrap
5360 msgid ""
5361 " char **guestfs_egrep (guestfs_h *g,\n"
5362 "\t\tconst char *regex,\n"
5363 "\t\tconst char *path);\n"
5364 "\n"
5365 msgstr ""
5366
5367 # type: textblock
5368 #: ../src/guestfs-actions.pod:1050 ../fish/guestfish-actions.pod:833
5369 msgid "This calls the external C<egrep> program and returns the matching lines."
5370 msgstr ""
5371
5372 # type: =head2
5373 #: ../src/guestfs-actions.pod:1060
5374 msgid "guestfs_egrepi"
5375 msgstr ""
5376
5377 # type: verbatim
5378 #: ../src/guestfs-actions.pod:1062
5379 #, no-wrap
5380 msgid ""
5381 " char **guestfs_egrepi (guestfs_h *g,\n"
5382 "\t\tconst char *regex,\n"
5383 "\t\tconst char *path);\n"
5384 "\n"
5385 msgstr ""
5386
5387 # type: textblock
5388 #: ../src/guestfs-actions.pod:1066 ../fish/guestfish-actions.pod:843
5389 msgid "This calls the external C<egrep -i> program and returns the matching lines."
5390 msgstr ""
5391
5392 # type: =head2
5393 #: ../src/guestfs-actions.pod:1076
5394 msgid "guestfs_equal"
5395 msgstr ""
5396
5397 # type: verbatim
5398 #: ../src/guestfs-actions.pod:1078
5399 #, no-wrap
5400 msgid ""
5401 " int guestfs_equal (guestfs_h *g,\n"
5402 "\t\tconst char *file1,\n"
5403 "\t\tconst char *file2);\n"
5404 "\n"
5405 msgstr ""
5406
5407 # type: textblock
5408 #: ../src/guestfs-actions.pod:1082 ../fish/guestfish-actions.pod:853
5409 msgid ""
5410 "This compares the two files C<file1> and C<file2> and returns true if their "
5411 "content is exactly equal, or false otherwise."
5412 msgstr ""
5413
5414 # type: textblock
5415 #: ../src/guestfs-actions.pod:1085 ../fish/guestfish-actions.pod:856
5416 msgid "The external L<cmp(1)> program is used for the comparison."
5417 msgstr ""
5418
5419 # type: =head2
5420 #: ../src/guestfs-actions.pod:1089
5421 msgid "guestfs_exists"
5422 msgstr ""
5423
5424 # type: verbatim
5425 #: ../src/guestfs-actions.pod:1091
5426 #, no-wrap
5427 msgid ""
5428 " int guestfs_exists (guestfs_h *g,\n"
5429 "\t\tconst char *path);\n"
5430 "\n"
5431 msgstr ""
5432
5433 # type: textblock
5434 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:862
5435 msgid ""
5436 "This returns C<true> if and only if there is a file, directory (or anything) "
5437 "with the given C<path> name."
5438 msgstr ""
5439
5440 # type: textblock
5441 #: ../src/guestfs-actions.pod:1097
5442 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5443 msgstr ""
5444
5445 # type: =head2
5446 #: ../src/guestfs-actions.pod:1101
5447 msgid "guestfs_fallocate"
5448 msgstr ""
5449
5450 # type: verbatim
5451 #: ../src/guestfs-actions.pod:1103
5452 #, no-wrap
5453 msgid ""
5454 " int guestfs_fallocate (guestfs_h *g,\n"
5455 "\t\tconst char *path,\n"
5456 "\t\tint len);\n"
5457 "\n"
5458 msgstr ""
5459
5460 # type: textblock
5461 #: ../src/guestfs-actions.pod:1107 ../src/guestfs-actions.pod:1130 ../fish/guestfish-actions.pod:871 ../fish/guestfish-actions.pod:890
5462 msgid ""
5463 "This command preallocates a file (containing zero bytes) named C<path> of "
5464 "size C<len> bytes.  If the file exists already, it is overwritten."
5465 msgstr ""
5466
5467 # type: textblock
5468 #: ../src/guestfs-actions.pod:1111 ../fish/guestfish-actions.pod:875
5469 msgid ""
5470 "Do not confuse this with the guestfish-specific C<alloc> command which "
5471 "allocates a file in the host and attaches it as a device."
5472 msgstr ""
5473
5474 # type: textblock
5475 #: ../src/guestfs-actions.pod:1117 ../fish/guestfish-actions.pod:879
5476 msgid ""
5477 "This function is deprecated.  In new code, use the C<fallocate64> call "
5478 "instead."
5479 msgstr ""
5480
5481 # type: textblock
5482 #: ../src/guestfs-actions.pod:1120 ../src/guestfs-actions.pod:1555 ../src/guestfs-actions.pod:1573 ../src/guestfs-actions.pod:5339 ../src/guestfs-actions.pod:5484 ../fish/guestfish-actions.pod:882 ../fish/guestfish-actions.pod:1239 ../fish/guestfish-actions.pod:1253 ../fish/guestfish-actions.pod:4096 ../fish/guestfish-actions.pod:4193
5483 msgid ""
5484 "Deprecated functions will not be removed from the API, but the fact that "
5485 "they are deprecated indicates that there are problems with correct use of "
5486 "these functions."
5487 msgstr ""
5488
5489 # type: =head2
5490 #: ../src/guestfs-actions.pod:1124
5491 msgid "guestfs_fallocate64"
5492 msgstr ""
5493
5494 # type: verbatim
5495 #: ../src/guestfs-actions.pod:1126
5496 #, no-wrap
5497 msgid ""
5498 " int guestfs_fallocate64 (guestfs_h *g,\n"
5499 "\t\tconst char *path,\n"
5500 "\t\tint64_t len);\n"
5501 "\n"
5502 msgstr ""
5503
5504 # type: textblock
5505 #: ../src/guestfs-actions.pod:1134
5506 msgid ""
5507 "Note that this call allocates disk blocks for the file.  To create a sparse "
5508 "file use C<guestfs_truncate_size> instead."
5509 msgstr ""
5510
5511 # type: textblock
5512 #: ../src/guestfs-actions.pod:1137
5513 msgid ""
5514 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5515 "oversight it only allowed 30 bit lengths to be specified, effectively "
5516 "limiting the maximum size of files created through that call to 1GB."
5517 msgstr ""
5518
5519 # type: textblock
5520 #: ../src/guestfs-actions.pod:1142 ../fish/guestfish-actions.pod:902
5521 msgid ""
5522 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5523 "commands which create a file in the host and attach it as a device."
5524 msgstr ""
5525
5526 # type: =head2
5527 #: ../src/guestfs-actions.pod:1148
5528 msgid "guestfs_fgrep"
5529 msgstr ""
5530
5531 # type: verbatim
5532 #: ../src/guestfs-actions.pod:1150
5533 #, no-wrap
5534 msgid ""
5535 " char **guestfs_fgrep (guestfs_h *g,\n"
5536 "\t\tconst char *pattern,\n"
5537 "\t\tconst char *path);\n"
5538 "\n"
5539 msgstr ""
5540
5541 # type: textblock
5542 #: ../src/guestfs-actions.pod:1154 ../fish/guestfish-actions.pod:910
5543 msgid "This calls the external C<fgrep> program and returns the matching lines."
5544 msgstr ""
5545
5546 # type: =head2
5547 #: ../src/guestfs-actions.pod:1164
5548 msgid "guestfs_fgrepi"
5549 msgstr ""
5550
5551 # type: verbatim
5552 #: ../src/guestfs-actions.pod:1166
5553 #, no-wrap
5554 msgid ""
5555 " char **guestfs_fgrepi (guestfs_h *g,\n"
5556 "\t\tconst char *pattern,\n"
5557 "\t\tconst char *path);\n"
5558 "\n"
5559 msgstr ""
5560
5561 # type: textblock
5562 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:920
5563 msgid "This calls the external C<fgrep -i> program and returns the matching lines."
5564 msgstr ""
5565
5566 # type: =head2
5567 #: ../src/guestfs-actions.pod:1180
5568 msgid "guestfs_file"
5569 msgstr ""
5570
5571 # type: verbatim
5572 #: ../src/guestfs-actions.pod:1182
5573 #, no-wrap
5574 msgid ""
5575 " char *guestfs_file (guestfs_h *g,\n"
5576 "\t\tconst char *path);\n"
5577 "\n"
5578 msgstr ""
5579
5580 # type: textblock
5581 #: ../src/guestfs-actions.pod:1185 ../fish/guestfish-actions.pod:930
5582 msgid ""
5583 "This call uses the standard L<file(1)> command to determine the type or "
5584 "contents of the file."
5585 msgstr ""
5586
5587 # type: textblock
5588 #: ../src/guestfs-actions.pod:1188 ../fish/guestfish-actions.pod:933
5589 msgid ""
5590 "This call will also transparently look inside various types of compressed "
5591 "file."
5592 msgstr ""
5593
5594 # type: textblock
5595 #: ../src/guestfs-actions.pod:1191 ../fish/guestfish-actions.pod:936
5596 msgid ""
5597 "The exact command which runs is C<file -zb path>.  Note in particular that "
5598 "the filename is not prepended to the output (the C<-b> option)."
5599 msgstr ""
5600
5601 # type: textblock
5602 #: ../src/guestfs-actions.pod:1195
5603 msgid ""
5604 "This command can also be used on C</dev/> devices (and partitions, LV "
5605 "names).  You can for example use this to determine if a device contains a "
5606 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
5607 msgstr ""
5608
5609 # type: textblock
5610 #: ../src/guestfs-actions.pod:1200 ../fish/guestfish-actions.pod:945
5611 msgid ""
5612 "If the C<path> does not begin with C</dev/> then this command only works for "
5613 "the content of regular files.  For other file types (directory, symbolic "
5614 "link etc) it will just return the string C<directory> etc."
5615 msgstr ""
5616
5617 # type: =head2
5618 #: ../src/guestfs-actions.pod:1208
5619 msgid "guestfs_file_architecture"
5620 msgstr ""
5621
5622 # type: verbatim
5623 #: ../src/guestfs-actions.pod:1210
5624 #, no-wrap
5625 msgid ""
5626 " char *guestfs_file_architecture (guestfs_h *g,\n"
5627 "\t\tconst char *filename);\n"
5628 "\n"
5629 msgstr ""
5630
5631 # type: textblock
5632 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:954
5633 msgid ""
5634 "This detects the architecture of the binary C<filename>, and returns it if "
5635 "known."
5636 msgstr ""
5637
5638 # type: textblock
5639 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:957
5640 msgid "Currently defined architectures are:"
5641 msgstr ""
5642
5643 # type: =item
5644 #: ../src/guestfs-actions.pod:1220 ../fish/guestfish-actions.pod:961
5645 msgid "\"i386\""
5646 msgstr ""
5647
5648 # type: textblock
5649 #: ../src/guestfs-actions.pod:1222 ../fish/guestfish-actions.pod:963
5650 msgid ""
5651 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
5652 "irrespective of the precise processor requirements of the binary."
5653 msgstr ""
5654
5655 # type: =item
5656 #: ../src/guestfs-actions.pod:1225 ../fish/guestfish-actions.pod:966
5657 msgid "\"x86_64\""
5658 msgstr ""
5659
5660 # type: textblock
5661 #: ../src/guestfs-actions.pod:1227 ../fish/guestfish-actions.pod:968
5662 msgid "64 bit x86-64."
5663 msgstr ""
5664
5665 # type: =item
5666 #: ../src/guestfs-actions.pod:1229 ../fish/guestfish-actions.pod:970
5667 msgid "\"sparc\""
5668 msgstr ""
5669
5670 # type: textblock
5671 #: ../src/guestfs-actions.pod:1231 ../fish/guestfish-actions.pod:972
5672 msgid "32 bit SPARC."
5673 msgstr ""
5674
5675 # type: =item
5676 #: ../src/guestfs-actions.pod:1233 ../fish/guestfish-actions.pod:974
5677 msgid "\"sparc64\""
5678 msgstr ""
5679
5680 # type: textblock
5681 #: ../src/guestfs-actions.pod:1235 ../fish/guestfish-actions.pod:976
5682 msgid "64 bit SPARC V9 and above."
5683 msgstr ""
5684
5685 # type: =item
5686 #: ../src/guestfs-actions.pod:1237 ../fish/guestfish-actions.pod:978
5687 msgid "\"ia64\""
5688 msgstr ""
5689
5690 # type: textblock
5691 #: ../src/guestfs-actions.pod:1239 ../fish/guestfish-actions.pod:980
5692 msgid "Intel Itanium."
5693 msgstr ""
5694
5695 # type: =item
5696 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:982
5697 msgid "\"ppc\""
5698 msgstr ""
5699
5700 # type: textblock
5701 #: ../src/guestfs-actions.pod:1243 ../fish/guestfish-actions.pod:984
5702 msgid "32 bit Power PC."
5703 msgstr ""
5704
5705 # type: =item
5706 #: ../src/guestfs-actions.pod:1245 ../fish/guestfish-actions.pod:986
5707 msgid "\"ppc64\""
5708 msgstr ""
5709
5710 # type: textblock
5711 #: ../src/guestfs-actions.pod:1247 ../fish/guestfish-actions.pod:988
5712 msgid "64 bit Power PC."
5713 msgstr ""
5714
5715 # type: textblock
5716 #: ../src/guestfs-actions.pod:1251 ../fish/guestfish-actions.pod:992
5717 msgid "Libguestfs may return other architecture strings in future."
5718 msgstr ""
5719
5720 # type: textblock
5721 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:994
5722 msgid "The function works on at least the following types of files:"
5723 msgstr ""
5724
5725 # type: textblock
5726 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:1000
5727 msgid "many types of Un*x and Linux binary"
5728 msgstr ""
5729
5730 # type: textblock
5731 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1004
5732 msgid "many types of Un*x and Linux shared library"
5733 msgstr ""
5734
5735 # type: textblock
5736 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1008
5737 msgid "Windows Win32 and Win64 binaries"
5738 msgstr ""
5739
5740 # type: textblock
5741 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1012
5742 msgid "Windows Win32 and Win64 DLLs"
5743 msgstr ""
5744
5745 # type: textblock
5746 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1014
5747 msgid "Win32 binaries and DLLs return C<i386>."
5748 msgstr ""
5749
5750 # type: textblock
5751 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1016
5752 msgid "Win64 binaries and DLLs return C<x86_64>."
5753 msgstr ""
5754
5755 # type: textblock
5756 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1020
5757 msgid "Linux kernel modules"
5758 msgstr ""
5759
5760 # type: textblock
5761 #: ../src/guestfs-actions.pod:1283 ../fish/guestfish-actions.pod:1024
5762 msgid "Linux new-style initrd images"
5763 msgstr ""
5764
5765 # type: textblock
5766 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1028
5767 msgid "some non-x86 Linux vmlinuz kernels"
5768 msgstr ""
5769
5770 # type: textblock
5771 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1032
5772 msgid "What it can't do currently:"
5773 msgstr ""
5774
5775 # type: textblock
5776 #: ../src/guestfs-actions.pod:1297 ../fish/guestfish-actions.pod:1038
5777 msgid "static libraries (libfoo.a)"
5778 msgstr ""
5779
5780 # type: textblock
5781 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1042
5782 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
5783 msgstr ""
5784
5785 # type: textblock
5786 #: ../src/guestfs-actions.pod:1305 ../fish/guestfish-actions.pod:1046
5787 msgid "x86 Linux vmlinuz kernels"
5788 msgstr ""
5789
5790 # type: textblock
5791 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1048
5792 msgid ""
5793 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
5794 "compressed code, and are horribly hard to unpack.  If you want to find the "
5795 "architecture of a kernel, use the architecture of the associated initrd or "
5796 "kernel module(s) instead."
5797 msgstr ""
5798
5799 # type: =head2
5800 #: ../src/guestfs-actions.pod:1317
5801 msgid "guestfs_filesize"
5802 msgstr ""
5803
5804 # type: verbatim
5805 #: ../src/guestfs-actions.pod:1319
5806 #, no-wrap
5807 msgid ""
5808 " int64_t guestfs_filesize (guestfs_h *g,\n"
5809 "\t\tconst char *file);\n"
5810 "\n"
5811 msgstr ""
5812
5813 # type: textblock
5814 #: ../src/guestfs-actions.pod:1322 ../fish/guestfish-actions.pod:1059
5815 msgid "This command returns the size of C<file> in bytes."
5816 msgstr ""
5817
5818 # type: textblock
5819 #: ../src/guestfs-actions.pod:1324
5820 msgid ""
5821 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
5822 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
5823 "devices, use C<guestfs_blockdev_getsize64>."
5824 msgstr ""
5825
5826 # type: =head2
5827 #: ../src/guestfs-actions.pod:1330
5828 msgid "guestfs_fill"
5829 msgstr ""
5830
5831 # type: verbatim
5832 #: ../src/guestfs-actions.pod:1332
5833 #, no-wrap
5834 msgid ""
5835 " int guestfs_fill (guestfs_h *g,\n"
5836 "\t\tint c,\n"
5837 "\t\tint len,\n"
5838 "\t\tconst char *path);\n"
5839 "\n"
5840 msgstr ""
5841
5842 # type: textblock
5843 #: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:1069
5844 msgid ""
5845 "This command creates a new file called C<path>.  The initial content of the "
5846 "file is C<len> octets of C<c>, where C<c> must be a number in the range "
5847 "C<[0..255]>."
5848 msgstr ""
5849
5850 # type: textblock
5851 #: ../src/guestfs-actions.pod:1341
5852 msgid ""
5853 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
5854 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
5855 "bytes use C<guestfs_fill_pattern>."
5856 msgstr ""
5857
5858 # type: =head2
5859 #: ../src/guestfs-actions.pod:1353
5860 msgid "guestfs_fill_pattern"
5861 msgstr ""
5862
5863 # type: verbatim
5864 #: ../src/guestfs-actions.pod:1355
5865 #, no-wrap
5866 msgid ""
5867 " int guestfs_fill_pattern (guestfs_h *g,\n"
5868 "\t\tconst char *pattern,\n"
5869 "\t\tint len,\n"
5870 "\t\tconst char *path);\n"
5871 "\n"
5872 msgstr ""
5873
5874 # type: textblock
5875 #: ../src/guestfs-actions.pod:1360
5876 msgid ""
5877 "This function is like C<guestfs_fill> except that it creates a new file of "
5878 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
5879 "pattern is truncated if necessary to ensure the length of the file is "
5880 "exactly C<len> bytes."
5881 msgstr ""
5882
5883 # type: =head2
5884 #: ../src/guestfs-actions.pod:1372
5885 msgid "guestfs_find"
5886 msgstr ""
5887
5888 # type: verbatim
5889 #: ../src/guestfs-actions.pod:1374
5890 #, no-wrap
5891 msgid ""
5892 " char **guestfs_find (guestfs_h *g,\n"
5893 "\t\tconst char *directory);\n"
5894 "\n"
5895 msgstr ""
5896
5897 # type: textblock
5898 #: ../src/guestfs-actions.pod:1377 ../fish/guestfish-actions.pod:1091
5899 msgid ""
5900 "This command lists out all files and directories, recursively, starting at "
5901 "C<directory>.  It is essentially equivalent to running the shell command "
5902 "C<find directory -print> but some post-processing happens on the output, "
5903 "described below."
5904 msgstr ""
5905
5906 # type: textblock
5907 #: ../src/guestfs-actions.pod:1382 ../fish/guestfish-actions.pod:1096
5908 msgid ""
5909 "This returns a list of strings I<without any prefix>.  Thus if the directory "
5910 "structure was:"
5911 msgstr ""
5912
5913 # type: verbatim
5914 #: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:1099
5915 #, no-wrap
5916 msgid ""
5917 " /tmp/a\n"
5918 " /tmp/b\n"
5919 " /tmp/c/d\n"
5920 "\n"
5921 msgstr ""
5922
5923 # type: textblock
5924 #: ../src/guestfs-actions.pod:1389
5925 msgid "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
5926 msgstr ""
5927
5928 # type: verbatim
5929 #: ../src/guestfs-actions.pod:1392 ../fish/guestfish-actions.pod:1106
5930 #, no-wrap
5931 msgid ""
5932 " a\n"
5933 " b\n"
5934 " c\n"
5935 " c/d\n"
5936 "\n"
5937 msgstr ""
5938
5939 # type: textblock
5940 #: ../src/guestfs-actions.pod:1397 ../fish/guestfish-actions.pod:1111
5941 msgid "If C<directory> is not a directory, then this command returns an error."
5942 msgstr ""
5943
5944 # type: textblock
5945 #: ../src/guestfs-actions.pod:1400 ../fish/guestfish-actions.pod:1114
5946 msgid "The returned list is sorted."
5947 msgstr ""
5948
5949 # type: textblock
5950 #: ../src/guestfs-actions.pod:1402
5951 msgid "See also C<guestfs_find0>."
5952 msgstr ""
5953
5954 # type: =head2
5955 #: ../src/guestfs-actions.pod:1411
5956 msgid "guestfs_find0"
5957 msgstr ""
5958
5959 # type: verbatim
5960 #: ../src/guestfs-actions.pod:1413
5961 #, no-wrap
5962 msgid ""
5963 " int guestfs_find0 (guestfs_h *g,\n"
5964 "\t\tconst char *directory,\n"
5965 "\t\tconst char *files);\n"
5966 "\n"
5967 msgstr ""
5968
5969 # type: textblock
5970 #: ../src/guestfs-actions.pod:1417 ../fish/guestfish-actions.pod:1125
5971 msgid ""
5972 "This command lists out all files and directories, recursively, starting at "
5973 "C<directory>, placing the resulting list in the external file called "
5974 "C<files>."
5975 msgstr ""
5976
5977 # type: textblock
5978 #: ../src/guestfs-actions.pod:1421
5979 msgid ""
5980 "This command works the same way as C<guestfs_find> with the following "
5981 "exceptions:"
5982 msgstr ""
5983
5984 # type: textblock
5985 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1136
5986 msgid "The resulting list is written to an external file."
5987 msgstr ""
5988
5989 # type: textblock
5990 #: ../src/guestfs-actions.pod:1432 ../fish/guestfish-actions.pod:1140
5991 msgid ""
5992 "Items (filenames) in the result are separated by C<\\0> characters.  See "
5993 "L<find(1)> option I<-print0>."
5994 msgstr ""
5995
5996 # type: textblock
5997 #: ../src/guestfs-actions.pod:1437 ../fish/guestfish-actions.pod:1145
5998 msgid "This command is not limited in the number of names that it can return."
5999 msgstr ""
6000
6001 # type: textblock
6002 #: ../src/guestfs-actions.pod:1442 ../fish/guestfish-actions.pod:1150
6003 msgid "The result list is not sorted."
6004 msgstr ""
6005
6006 # type: =head2
6007 #: ../src/guestfs-actions.pod:1448
6008 msgid "guestfs_findfs_label"
6009 msgstr ""
6010
6011 # type: verbatim
6012 #: ../src/guestfs-actions.pod:1450
6013 #, no-wrap
6014 msgid ""
6015 " char *guestfs_findfs_label (guestfs_h *g,\n"
6016 "\t\tconst char *label);\n"
6017 "\n"
6018 msgstr ""
6019
6020 # type: textblock
6021 #: ../src/guestfs-actions.pod:1453 ../fish/guestfish-actions.pod:1160
6022 msgid ""
6023 "This command searches the filesystems and returns the one which has the "
6024 "given label.  An error is returned if no such filesystem can be found."
6025 msgstr ""
6026
6027 # type: textblock
6028 #: ../src/guestfs-actions.pod:1457
6029 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6030 msgstr ""
6031
6032 # type: =head2
6033 #: ../src/guestfs-actions.pod:1462
6034 msgid "guestfs_findfs_uuid"
6035 msgstr ""
6036
6037 # type: verbatim
6038 #: ../src/guestfs-actions.pod:1464
6039 #, no-wrap
6040 msgid ""
6041 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6042 "\t\tconst char *uuid);\n"
6043 "\n"
6044 msgstr ""
6045
6046 # type: textblock
6047 #: ../src/guestfs-actions.pod:1467 ../fish/guestfish-actions.pod:1170
6048 msgid ""
6049 "This command searches the filesystems and returns the one which has the "
6050 "given UUID.  An error is returned if no such filesystem can be found."
6051 msgstr ""
6052
6053 # type: textblock
6054 #: ../src/guestfs-actions.pod:1471
6055 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6056 msgstr ""
6057
6058 # type: =head2
6059 #: ../src/guestfs-actions.pod:1476
6060 msgid "guestfs_fsck"
6061 msgstr ""
6062
6063 # type: verbatim
6064 #: ../src/guestfs-actions.pod:1478
6065 #, no-wrap
6066 msgid ""
6067 " int guestfs_fsck (guestfs_h *g,\n"
6068 "\t\tconst char *fstype,\n"
6069 "\t\tconst char *device);\n"
6070 "\n"
6071 msgstr ""
6072
6073 # type: textblock
6074 #: ../src/guestfs-actions.pod:1482 ../fish/guestfish-actions.pod:1180
6075 msgid ""
6076 "This runs the filesystem checker (fsck) on C<device> which should have "
6077 "filesystem type C<fstype>."
6078 msgstr ""
6079
6080 # type: textblock
6081 #: ../src/guestfs-actions.pod:1485 ../fish/guestfish-actions.pod:1183
6082 msgid ""
6083 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6084 "codes from C<fsck>."
6085 msgstr ""
6086
6087 # type: textblock
6088 #: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:1192
6089 msgid "Multiple status codes can be summed together."
6090 msgstr ""
6091
6092 # type: textblock
6093 #: ../src/guestfs-actions.pod:1498 ../fish/guestfish-actions.pod:1196
6094 msgid ""
6095 "A non-zero return code can mean \"success\", for example if errors have been "
6096 "corrected on the filesystem."
6097 msgstr ""
6098
6099 # type: textblock
6100 #: ../src/guestfs-actions.pod:1503 ../fish/guestfish-actions.pod:1201
6101 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6102 msgstr ""
6103
6104 # type: textblock
6105 #: ../src/guestfs-actions.pod:1508 ../fish/guestfish-actions.pod:1206
6106 msgid "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6107 msgstr ""
6108
6109 # type: =head2
6110 #: ../src/guestfs-actions.pod:1512
6111 msgid "guestfs_get_append"
6112 msgstr ""
6113
6114 # type: verbatim
6115 #: ../src/guestfs-actions.pod:1514
6116 #, no-wrap
6117 msgid ""
6118 " const char *guestfs_get_append (guestfs_h *g);\n"
6119 "\n"
6120 msgstr ""
6121
6122 # type: textblock
6123 #: ../src/guestfs-actions.pod:1516 ../fish/guestfish-actions.pod:1212
6124 msgid ""
6125 "Return the additional kernel options which are added to the guest kernel "
6126 "command line."
6127 msgstr ""
6128
6129 # type: textblock
6130 #: ../src/guestfs-actions.pod:1519 ../fish/guestfish-actions.pod:1215
6131 msgid "If C<NULL> then no options are added."
6132 msgstr ""
6133
6134 # type: textblock
6135 #: ../src/guestfs-actions.pod:1521
6136 msgid ""
6137 "This function returns a string which may be NULL.  There is no way to return "
6138 "an error from this function.  The string is owned by the guest handle and "
6139 "must I<not> be freed."
6140 msgstr ""
6141
6142 # type: =head2
6143 #: ../src/guestfs-actions.pod:1525
6144 msgid "guestfs_get_autosync"
6145 msgstr ""
6146
6147 # type: verbatim
6148 #: ../src/guestfs-actions.pod:1527
6149 #, no-wrap
6150 msgid ""
6151 " int guestfs_get_autosync (guestfs_h *g);\n"
6152 "\n"
6153 msgstr ""
6154
6155 # type: textblock
6156 #: ../src/guestfs-actions.pod:1529 ../fish/guestfish-actions.pod:1221
6157 msgid "Get the autosync flag."
6158 msgstr ""
6159
6160 # type: =head2
6161 #: ../src/guestfs-actions.pod:1533
6162 msgid "guestfs_get_direct"
6163 msgstr ""
6164
6165 # type: verbatim
6166 #: ../src/guestfs-actions.pod:1535
6167 #, no-wrap
6168 msgid ""
6169 " int guestfs_get_direct (guestfs_h *g);\n"
6170 "\n"
6171 msgstr ""
6172
6173 # type: textblock
6174 #: ../src/guestfs-actions.pod:1537 ../fish/guestfish-actions.pod:1227
6175 msgid "Return the direct appliance mode flag."
6176 msgstr ""
6177
6178 # type: =head2
6179 #: ../src/guestfs-actions.pod:1541
6180 msgid "guestfs_get_e2label"
6181 msgstr ""
6182
6183 # type: verbatim
6184 #: ../src/guestfs-actions.pod:1543
6185 #, no-wrap
6186 msgid ""
6187 " char *guestfs_get_e2label (guestfs_h *g,\n"
6188 "\t\tconst char *device);\n"
6189 "\n"
6190 msgstr ""
6191
6192 # type: textblock
6193 #: ../src/guestfs-actions.pod:1546 ../fish/guestfish-actions.pod:1233
6194 msgid "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6195 msgstr ""
6196
6197 # type: textblock
6198 #: ../src/guestfs-actions.pod:1552 ../fish/guestfish-actions.pod:1236
6199 msgid ""
6200 "This function is deprecated.  In new code, use the C<vfs_label> call "
6201 "instead."
6202 msgstr ""
6203
6204 # type: =head2
6205 #: ../src/guestfs-actions.pod:1559
6206 msgid "guestfs_get_e2uuid"
6207 msgstr ""
6208
6209 # type: verbatim
6210 #: ../src/guestfs-actions.pod:1561
6211 #, no-wrap
6212 msgid ""
6213 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6214 "\t\tconst char *device);\n"
6215 "\n"
6216 msgstr ""
6217
6218 # type: textblock
6219 #: ../src/guestfs-actions.pod:1564 ../fish/guestfish-actions.pod:1247
6220 msgid "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6221 msgstr ""
6222
6223 # type: textblock
6224 #: ../src/guestfs-actions.pod:1570 ../fish/guestfish-actions.pod:1250
6225 msgid "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6226 msgstr ""
6227
6228 # type: =head2
6229 #: ../src/guestfs-actions.pod:1577
6230 msgid "guestfs_get_memsize"
6231 msgstr ""
6232
6233 # type: verbatim
6234 #: ../src/guestfs-actions.pod:1579
6235 #, no-wrap
6236 msgid ""
6237 " int guestfs_get_memsize (guestfs_h *g);\n"
6238 "\n"
6239 msgstr ""
6240
6241 # type: textblock
6242 #: ../src/guestfs-actions.pod:1581 ../fish/guestfish-actions.pod:1261
6243 msgid "This gets the memory size in megabytes allocated to the qemu subprocess."
6244 msgstr ""
6245
6246 # type: textblock
6247 #: ../src/guestfs-actions.pod:1584
6248 msgid ""
6249 "If C<guestfs_set_memsize> was not called on this handle, and if "
6250 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6251 "value for memsize."
6252 msgstr ""
6253
6254 # type: textblock
6255 #: ../src/guestfs-actions.pod:1588 ../src/guestfs-actions.pod:1651 ../src/guestfs-actions.pod:4237 ../src/guestfs-actions.pod:4329 ../fish/guestfish-actions.pod:1268 ../fish/guestfish-actions.pod:1317 ../fish/guestfish-actions.pod:3268 ../fish/guestfish-actions.pod:3345
6256 msgid "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6257 msgstr ""
6258
6259 # type: =head2
6260 #: ../src/guestfs-actions.pod:1593
6261 msgid "guestfs_get_network"
6262 msgstr ""
6263
6264 # type: verbatim
6265 #: ../src/guestfs-actions.pod:1595
6266 #, no-wrap
6267 msgid ""
6268 " int guestfs_get_network (guestfs_h *g);\n"
6269 "\n"
6270 msgstr ""
6271
6272 # type: textblock
6273 #: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1275
6274 msgid "This returns the enable network flag."
6275 msgstr ""
6276
6277 # type: =head2
6278 #: ../src/guestfs-actions.pod:1601
6279 msgid "guestfs_get_path"
6280 msgstr ""
6281
6282 # type: verbatim
6283 #: ../src/guestfs-actions.pod:1603
6284 #, no-wrap
6285 msgid ""
6286 " const char *guestfs_get_path (guestfs_h *g);\n"
6287 "\n"
6288 msgstr ""
6289
6290 # type: textblock
6291 #: ../src/guestfs-actions.pod:1605 ../fish/guestfish-actions.pod:1281
6292 msgid "Return the current search path."
6293 msgstr ""
6294
6295 # type: textblock
6296 #: ../src/guestfs-actions.pod:1607 ../fish/guestfish-actions.pod:1283
6297 msgid ""
6298 "This is always non-NULL.  If it wasn't set already, then this will return "
6299 "the default path."
6300 msgstr ""
6301
6302 # type: textblock
6303 #: ../src/guestfs-actions.pod:1610 ../src/guestfs-actions.pod:1633
6304 msgid ""
6305 "This function returns a string, or NULL on error.  The string is owned by "
6306 "the guest handle and must I<not> be freed."
6307 msgstr ""
6308
6309 # type: =head2
6310 #: ../src/guestfs-actions.pod:1613
6311 msgid "guestfs_get_pid"
6312 msgstr ""
6313
6314 # type: verbatim
6315 #: ../src/guestfs-actions.pod:1615
6316 #, no-wrap
6317 msgid ""
6318 " int guestfs_get_pid (guestfs_h *g);\n"
6319 "\n"
6320 msgstr ""
6321
6322 # type: textblock
6323 #: ../src/guestfs-actions.pod:1617 ../fish/guestfish-actions.pod:1290
6324 msgid ""
6325 "Return the process ID of the qemu subprocess.  If there is no qemu "
6326 "subprocess, then this will return an error."
6327 msgstr ""
6328
6329 # type: textblock
6330 #: ../src/guestfs-actions.pod:1620 ../fish/guestfish-actions.pod:1293
6331 msgid "This is an internal call used for debugging and testing."
6332 msgstr ""
6333
6334 # type: =head2
6335 #: ../src/guestfs-actions.pod:1624
6336 msgid "guestfs_get_qemu"
6337 msgstr ""
6338
6339 # type: verbatim
6340 #: ../src/guestfs-actions.pod:1626
6341 #, no-wrap
6342 msgid ""
6343 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6344 "\n"
6345 msgstr ""
6346
6347 # type: textblock
6348 #: ../src/guestfs-actions.pod:1628 ../fish/guestfish-actions.pod:1299
6349 msgid "Return the current qemu binary."
6350 msgstr ""
6351
6352 # type: textblock
6353 #: ../src/guestfs-actions.pod:1630 ../fish/guestfish-actions.pod:1301
6354 msgid ""
6355 "This is always non-NULL.  If it wasn't set already, then this will return "
6356 "the default qemu binary name."
6357 msgstr ""
6358
6359 # type: =head2
6360 #: ../src/guestfs-actions.pod:1636
6361 msgid "guestfs_get_recovery_proc"
6362 msgstr ""
6363
6364 # type: verbatim
6365 #: ../src/guestfs-actions.pod:1638
6366 #, no-wrap
6367 msgid ""
6368 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6369 "\n"
6370 msgstr ""
6371
6372 # type: textblock
6373 #: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1308
6374 msgid "Return the recovery process enabled flag."
6375 msgstr ""
6376
6377 # type: =head2
6378 #: ../src/guestfs-actions.pod:1644
6379 msgid "guestfs_get_selinux"
6380 msgstr ""
6381
6382 # type: verbatim
6383 #: ../src/guestfs-actions.pod:1646
6384 #, no-wrap
6385 msgid ""
6386 " int guestfs_get_selinux (guestfs_h *g);\n"
6387 "\n"
6388 msgstr ""
6389
6390 # type: textblock
6391 #: ../src/guestfs-actions.pod:1648
6392 msgid ""
6393 "This returns the current setting of the selinux flag which is passed to the "
6394 "appliance at boot time.  See C<guestfs_set_selinux>."
6395 msgstr ""
6396
6397 # type: =head2
6398 #: ../src/guestfs-actions.pod:1656
6399 msgid "guestfs_get_state"
6400 msgstr ""
6401
6402 # type: verbatim
6403 #: ../src/guestfs-actions.pod:1658
6404 #, no-wrap
6405 msgid ""
6406 " int guestfs_get_state (guestfs_h *g);\n"
6407 "\n"
6408 msgstr ""
6409
6410 # type: textblock
6411 #: ../src/guestfs-actions.pod:1660 ../fish/guestfish-actions.pod:1324
6412 msgid ""
6413 "This returns the current state as an opaque integer.  This is only useful "
6414 "for printing debug and internal error messages."
6415 msgstr ""
6416
6417 # type: textblock
6418 #: ../src/guestfs-actions.pod:1663 ../src/guestfs-actions.pod:2282 ../src/guestfs-actions.pod:2305 ../src/guestfs-actions.pod:2354 ../src/guestfs-actions.pod:2375 ../fish/guestfish-actions.pod:1327 ../fish/guestfish-actions.pod:1819 ../fish/guestfish-actions.pod:1837 ../fish/guestfish-actions.pod:1875 ../fish/guestfish-actions.pod:1891
6419 msgid "For more information on states, see L<guestfs(3)>."
6420 msgstr ""
6421
6422 # type: =head2
6423 #: ../src/guestfs-actions.pod:1667
6424 msgid "guestfs_get_trace"
6425 msgstr ""
6426
6427 # type: verbatim
6428 #: ../src/guestfs-actions.pod:1669
6429 #, no-wrap
6430 msgid ""
6431 " int guestfs_get_trace (guestfs_h *g);\n"
6432 "\n"
6433 msgstr ""
6434
6435 # type: textblock
6436 #: ../src/guestfs-actions.pod:1671 ../fish/guestfish-actions.pod:1333
6437 msgid "Return the command trace flag."
6438 msgstr ""
6439
6440 # type: =head2
6441 #: ../src/guestfs-actions.pod:1675
6442 msgid "guestfs_get_umask"
6443 msgstr ""
6444
6445 # type: verbatim
6446 #: ../src/guestfs-actions.pod:1677
6447 #, no-wrap
6448 msgid ""
6449 " int guestfs_get_umask (guestfs_h *g);\n"
6450 "\n"
6451 msgstr ""
6452
6453 # type: textblock
6454 #: ../src/guestfs-actions.pod:1679
6455 msgid ""
6456 "Return the current umask.  By default the umask is C<022> unless it has been "
6457 "set by calling C<guestfs_umask>."
6458 msgstr ""
6459
6460 # type: =head2
6461 #: ../src/guestfs-actions.pod:1684
6462 msgid "guestfs_get_verbose"
6463 msgstr ""
6464
6465 # type: verbatim
6466 #: ../src/guestfs-actions.pod:1686
6467 #, no-wrap
6468 msgid ""
6469 " int guestfs_get_verbose (guestfs_h *g);\n"
6470 "\n"
6471 msgstr ""
6472
6473 # type: textblock
6474 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1346
6475 msgid "This returns the verbose messages flag."
6476 msgstr ""
6477
6478 # type: =head2
6479 #: ../src/guestfs-actions.pod:1692
6480 msgid "guestfs_getcon"
6481 msgstr ""
6482
6483 # type: verbatim
6484 #: ../src/guestfs-actions.pod:1694
6485 #, no-wrap
6486 msgid ""
6487 " char *guestfs_getcon (guestfs_h *g);\n"
6488 "\n"
6489 msgstr ""
6490
6491 # type: textblock
6492 #: ../src/guestfs-actions.pod:1696 ../fish/guestfish-actions.pod:1352
6493 msgid "This gets the SELinux security context of the daemon."
6494 msgstr ""
6495
6496 # type: textblock
6497 #: ../src/guestfs-actions.pod:1698
6498 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6499 msgstr ""
6500
6501 # type: =head2
6502 #: ../src/guestfs-actions.pod:1704
6503 msgid "guestfs_getxattrs"
6504 msgstr ""
6505
6506 # type: verbatim
6507 #: ../src/guestfs-actions.pod:1706
6508 #, no-wrap
6509 msgid ""
6510 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6511 "\t\tconst char *path);\n"
6512 "\n"
6513 msgstr ""
6514
6515 # type: textblock
6516 #: ../src/guestfs-actions.pod:1709 ../fish/guestfish-actions.pod:1361
6517 msgid "This call lists the extended attributes of the file or directory C<path>."
6518 msgstr ""
6519
6520 # type: textblock
6521 #: ../src/guestfs-actions.pod:1712 ../fish/guestfish-actions.pod:1364
6522 msgid ""
6523 "At the system call level, this is a combination of the L<listxattr(2)> and "
6524 "L<getxattr(2)> calls."
6525 msgstr ""
6526
6527 # type: textblock
6528 #: ../src/guestfs-actions.pod:1715
6529 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6530 msgstr ""
6531
6532 # type: textblock
6533 #: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:2449 ../src/guestfs-actions.pod:2944
6534 msgid ""
6535 "This function returns a C<struct guestfs_xattr_list *> (see "
6536 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
6537 "must call C<guestfs_free_xattr_list> after use>."
6538 msgstr ""
6539
6540 # type: =head2
6541 #: ../src/guestfs-actions.pod:1722
6542 msgid "guestfs_glob_expand"
6543 msgstr ""
6544
6545 # type: verbatim
6546 #: ../src/guestfs-actions.pod:1724
6547 #, no-wrap
6548 msgid ""
6549 " char **guestfs_glob_expand (guestfs_h *g,\n"
6550 "\t\tconst char *pattern);\n"
6551 "\n"
6552 msgstr ""
6553
6554 # type: textblock
6555 #: ../src/guestfs-actions.pod:1727 ../fish/guestfish-actions.pod:1373
6556 msgid ""
6557 "This command searches for all the pathnames matching C<pattern> according to "
6558 "the wildcard expansion rules used by the shell."
6559 msgstr ""
6560
6561 # type: textblock
6562 #: ../src/guestfs-actions.pod:1731 ../fish/guestfish-actions.pod:1377
6563 msgid "If no paths match, then this returns an empty list (note: not an error)."
6564 msgstr ""
6565
6566 # type: textblock
6567 #: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1380
6568 msgid ""
6569 "It is just a wrapper around the C L<glob(3)> function with flags "
6570 "C<GLOB_MARK|GLOB_BRACE>.  See that manual page for more details."
6571 msgstr ""
6572
6573 # type: =head2
6574 #: ../src/guestfs-actions.pod:1742
6575 msgid "guestfs_grep"
6576 msgstr ""
6577
6578 # type: verbatim
6579 #: ../src/guestfs-actions.pod:1744
6580 #, no-wrap
6581 msgid ""
6582 " char **guestfs_grep (guestfs_h *g,\n"
6583 "\t\tconst char *regex,\n"
6584 "\t\tconst char *path);\n"
6585 "\n"
6586 msgstr ""
6587
6588 # type: textblock
6589 #: ../src/guestfs-actions.pod:1748 ../fish/guestfish-actions.pod:1388
6590 msgid "This calls the external C<grep> program and returns the matching lines."
6591 msgstr ""
6592
6593 # type: =head2
6594 #: ../src/guestfs-actions.pod:1758
6595 msgid "guestfs_grepi"
6596 msgstr ""
6597
6598 # type: verbatim
6599 #: ../src/guestfs-actions.pod:1760
6600 #, no-wrap
6601 msgid ""
6602 " char **guestfs_grepi (guestfs_h *g,\n"
6603 "\t\tconst char *regex,\n"
6604 "\t\tconst char *path);\n"
6605 "\n"
6606 msgstr ""
6607
6608 # type: textblock
6609 #: ../src/guestfs-actions.pod:1764 ../fish/guestfish-actions.pod:1398
6610 msgid "This calls the external C<grep -i> program and returns the matching lines."
6611 msgstr ""
6612
6613 # type: =head2
6614 #: ../src/guestfs-actions.pod:1774
6615 msgid "guestfs_grub_install"
6616 msgstr ""
6617
6618 # type: verbatim
6619 #: ../src/guestfs-actions.pod:1776
6620 #, no-wrap
6621 msgid ""
6622 " int guestfs_grub_install (guestfs_h *g,\n"
6623 "\t\tconst char *root,\n"
6624 "\t\tconst char *device);\n"
6625 "\n"
6626 msgstr ""
6627
6628 # type: textblock
6629 #: ../src/guestfs-actions.pod:1780 ../fish/guestfish-actions.pod:1408
6630 msgid ""
6631 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
6632 "the root directory being C<root>."
6633 msgstr ""
6634
6635 # type: textblock
6636 #: ../src/guestfs-actions.pod:1783 ../fish/guestfish-actions.pod:1411
6637 msgid ""
6638 "Note: If grub-install reports the error \"No suitable drive was found in the "
6639 "generated device map.\" it may be that you need to create a "
6640 "C</boot/grub/device.map> file first that contains the mapping between grub "
6641 "device names and Linux device names.  It is usually sufficient to create a "
6642 "file containing:"
6643 msgstr ""
6644
6645 # type: verbatim
6646 #: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1418
6647 #, no-wrap
6648 msgid ""
6649 " (hd0) /dev/vda\n"
6650 "\n"
6651 msgstr ""
6652
6653 # type: textblock
6654 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1420
6655 msgid "replacing C</dev/vda> with the name of the installation device."
6656 msgstr ""
6657
6658 # type: =head2
6659 #: ../src/guestfs-actions.pod:1796
6660 msgid "guestfs_head"
6661 msgstr ""
6662
6663 # type: verbatim
6664 #: ../src/guestfs-actions.pod:1798
6665 #, no-wrap
6666 msgid ""
6667 " char **guestfs_head (guestfs_h *g,\n"
6668 "\t\tconst char *path);\n"
6669 "\n"
6670 msgstr ""
6671
6672 # type: textblock
6673 #: ../src/guestfs-actions.pod:1801 ../fish/guestfish-actions.pod:1426
6674 msgid ""
6675 "This command returns up to the first 10 lines of a file as a list of "
6676 "strings."
6677 msgstr ""
6678
6679 # type: =head2
6680 #: ../src/guestfs-actions.pod:1811
6681 msgid "guestfs_head_n"
6682 msgstr ""
6683
6684 # type: verbatim
6685 #: ../src/guestfs-actions.pod:1813
6686 #, no-wrap
6687 msgid ""
6688 " char **guestfs_head_n (guestfs_h *g,\n"
6689 "\t\tint nrlines,\n"
6690 "\t\tconst char *path);\n"
6691 "\n"
6692 msgstr ""
6693
6694 # type: textblock
6695 #: ../src/guestfs-actions.pod:1817 ../fish/guestfish-actions.pod:1436
6696 msgid ""
6697 "If the parameter C<nrlines> is a positive number, this returns the first "
6698 "C<nrlines> lines of the file C<path>."
6699 msgstr ""
6700
6701 # type: textblock
6702 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1439
6703 msgid ""
6704 "If the parameter C<nrlines> is a negative number, this returns lines from "
6705 "the file C<path>, excluding the last C<nrlines> lines."
6706 msgstr ""
6707
6708 # type: textblock
6709 #: ../src/guestfs-actions.pod:1823 ../src/guestfs-actions.pod:4785 ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:3687
6710 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
6711 msgstr ""
6712
6713 # type: =head2
6714 #: ../src/guestfs-actions.pod:1832
6715 msgid "guestfs_hexdump"
6716 msgstr ""
6717
6718 # type: verbatim
6719 #: ../src/guestfs-actions.pod:1834
6720 #, no-wrap
6721 msgid ""
6722 " char *guestfs_hexdump (guestfs_h *g,\n"
6723 "\t\tconst char *path);\n"
6724 "\n"
6725 msgstr ""
6726
6727 # type: textblock
6728 #: ../src/guestfs-actions.pod:1837 ../fish/guestfish-actions.pod:1451
6729 msgid ""
6730 "This runs C<hexdump -C> on the given C<path>.  The result is the "
6731 "human-readable, canonical hex dump of the file."
6732 msgstr ""
6733
6734 # type: =head2
6735 #: ../src/guestfs-actions.pod:1846
6736 msgid "guestfs_initrd_cat"
6737 msgstr ""
6738
6739 # type: verbatim
6740 #: ../src/guestfs-actions.pod:1848
6741 #, no-wrap
6742 msgid ""
6743 " char *guestfs_initrd_cat (guestfs_h *g,\n"
6744 "\t\tconst char *initrdpath,\n"
6745 "\t\tconst char *filename,\n"
6746 "\t\tsize_t *size_r);\n"
6747 "\n"
6748 msgstr ""
6749
6750 # type: textblock
6751 #: ../src/guestfs-actions.pod:1853 ../fish/guestfish-actions.pod:1461
6752 msgid ""
6753 "This command unpacks the file C<filename> from the initrd file called "
6754 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
6755 "character."
6756 msgstr ""
6757
6758 # type: textblock
6759 #: ../src/guestfs-actions.pod:1857 ../fish/guestfish-actions.pod:1465
6760 msgid ""
6761 "For example, in guestfish you could use the following command to examine the "
6762 "boot script (usually called C</init>)  contained in a Linux initrd or "
6763 "initramfs image:"
6764 msgstr ""
6765
6766 # type: verbatim
6767 #: ../src/guestfs-actions.pod:1861 ../fish/guestfish-actions.pod:1469
6768 #, no-wrap
6769 msgid ""
6770 " initrd-cat /boot/initrd-<version>.img init\n"
6771 "\n"
6772 msgstr ""
6773
6774 # type: textblock
6775 #: ../src/guestfs-actions.pod:1863
6776 msgid "See also C<guestfs_initrd_list>."
6777 msgstr ""
6778
6779 # type: textblock
6780 #: ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:3743 ../src/guestfs-actions.pod:3872
6781 msgid ""
6782 "This function returns a buffer, or NULL on error.  The size of the returned "
6783 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
6784 "after use>."
6785 msgstr ""
6786
6787 # type: =head2
6788 #: ../src/guestfs-actions.pod:1872
6789 msgid "guestfs_initrd_list"
6790 msgstr ""
6791
6792 # type: verbatim
6793 #: ../src/guestfs-actions.pod:1874
6794 #, no-wrap
6795 msgid ""
6796 " char **guestfs_initrd_list (guestfs_h *g,\n"
6797 "\t\tconst char *path);\n"
6798 "\n"
6799 msgstr ""
6800
6801 # type: textblock
6802 #: ../src/guestfs-actions.pod:1877 ../fish/guestfish-actions.pod:1480
6803 msgid "This command lists out files contained in an initrd."
6804 msgstr ""
6805
6806 # type: textblock
6807 #: ../src/guestfs-actions.pod:1879 ../fish/guestfish-actions.pod:1482
6808 msgid ""
6809 "The files are listed without any initial C</> character.  The files are "
6810 "listed in the order they appear (not necessarily alphabetical).  Directory "
6811 "names are listed as separate items."
6812 msgstr ""
6813
6814 # type: textblock
6815 #: ../src/guestfs-actions.pod:1883 ../fish/guestfish-actions.pod:1486
6816 msgid ""
6817 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
6818 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
6819 "files)."
6820 msgstr ""
6821
6822 # type: =head2
6823 #: ../src/guestfs-actions.pod:1891
6824 msgid "guestfs_inotify_add_watch"
6825 msgstr ""
6826
6827 # type: verbatim
6828 #: ../src/guestfs-actions.pod:1893
6829 #, no-wrap
6830 msgid ""
6831 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
6832 "\t\tconst char *path,\n"
6833 "\t\tint mask);\n"
6834 "\n"
6835 msgstr ""
6836
6837 # type: textblock
6838 #: ../src/guestfs-actions.pod:1897 ../fish/guestfish-actions.pod:1494
6839 msgid "Watch C<path> for the events listed in C<mask>."
6840 msgstr ""
6841
6842 # type: textblock
6843 #: ../src/guestfs-actions.pod:1899 ../fish/guestfish-actions.pod:1496
6844 msgid ""
6845 "Note that if C<path> is a directory then events within that directory are "
6846 "watched, but this does I<not> happen recursively (in subdirectories)."
6847 msgstr ""
6848
6849 # type: textblock
6850 #: ../src/guestfs-actions.pod:1903 ../fish/guestfish-actions.pod:1500
6851 msgid ""
6852 "Note for non-C or non-Linux callers: the inotify events are defined by the "
6853 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
6854 msgstr ""
6855
6856 # type: =head2
6857 #: ../src/guestfs-actions.pod:1909
6858 msgid "guestfs_inotify_close"
6859 msgstr ""
6860
6861 # type: verbatim
6862 #: ../src/guestfs-actions.pod:1911
6863 #, no-wrap
6864 msgid ""
6865 " int guestfs_inotify_close (guestfs_h *g);\n"
6866 "\n"
6867 msgstr ""
6868
6869 # type: textblock
6870 #: ../src/guestfs-actions.pod:1913 ../fish/guestfish-actions.pod:1508
6871 msgid ""
6872 "This closes the inotify handle which was previously opened by inotify_init.  "
6873 "It removes all watches, throws away any pending events, and deallocates all "
6874 "resources."
6875 msgstr ""
6876
6877 # type: =head2
6878 #: ../src/guestfs-actions.pod:1919
6879 msgid "guestfs_inotify_files"
6880 msgstr ""
6881
6882 # type: verbatim
6883 #: ../src/guestfs-actions.pod:1921
6884 #, no-wrap
6885 msgid ""
6886 " char **guestfs_inotify_files (guestfs_h *g);\n"
6887 "\n"
6888 msgstr ""
6889
6890 # type: textblock
6891 #: ../src/guestfs-actions.pod:1923
6892 msgid ""
6893 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
6894 "returns a list of pathnames of objects that were touched.  The returned "
6895 "pathnames are sorted and deduplicated."
6896 msgstr ""
6897
6898 # type: =head2
6899 #: ../src/guestfs-actions.pod:1931
6900 msgid "guestfs_inotify_init"
6901 msgstr ""
6902
6903 # type: verbatim
6904 #: ../src/guestfs-actions.pod:1933
6905 #, no-wrap
6906 msgid ""
6907 " int guestfs_inotify_init (guestfs_h *g,\n"
6908 "\t\tint maxevents);\n"
6909 "\n"
6910 msgstr ""
6911
6912 # type: textblock
6913 #: ../src/guestfs-actions.pod:1936 ../fish/guestfish-actions.pod:1524
6914 msgid ""
6915 "This command creates a new inotify handle.  The inotify subsystem can be "
6916 "used to notify events which happen to objects in the guest filesystem."
6917 msgstr ""
6918
6919 # type: textblock
6920 #: ../src/guestfs-actions.pod:1940
6921 msgid ""
6922 "C<maxevents> is the maximum number of events which will be queued up between "
6923 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
6924 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
6925 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
6926 "throws away events, but records the fact that it threw them away by setting "
6927 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
6928 "C<guestfs_inotify_read>)."
6929 msgstr ""
6930
6931 # type: textblock
6932 #: ../src/guestfs-actions.pod:1950
6933 msgid ""
6934 "Before any events are generated, you have to add some watches to the "
6935 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
6936 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
6937 msgstr ""
6938
6939 # type: textblock
6940 #: ../src/guestfs-actions.pod:1956
6941 msgid ""
6942 "Queued up events should be read periodically by calling "
6943 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
6944 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
6945 "often enough then you risk the internal queue overflowing."
6946 msgstr ""
6947
6948 # type: textblock
6949 #: ../src/guestfs-actions.pod:1963
6950 msgid ""
6951 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
6952 "This also removes any watches automatically."
6953 msgstr ""
6954
6955 # type: textblock
6956 #: ../src/guestfs-actions.pod:1967 ../fish/guestfish-actions.pod:1555
6957 msgid ""
6958 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
6959 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
6960 "that there is one global inotify handle per libguestfs instance."
6961 msgstr ""
6962
6963 # type: =head2
6964 #: ../src/guestfs-actions.pod:1974
6965 msgid "guestfs_inotify_read"
6966 msgstr ""
6967
6968 # type: verbatim
6969 #: ../src/guestfs-actions.pod:1976
6970 #, no-wrap
6971 msgid ""
6972 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
6973 "\n"
6974 msgstr ""
6975
6976 # type: textblock
6977 #: ../src/guestfs-actions.pod:1978 ../fish/guestfish-actions.pod:1564
6978 msgid ""
6979 "Return the complete queue of events that have happened since the previous "
6980 "read call."
6981 msgstr ""
6982
6983 # type: textblock
6984 #: ../src/guestfs-actions.pod:1981 ../fish/guestfish-actions.pod:1567
6985 msgid "If no events have happened, this returns an empty list."
6986 msgstr ""
6987
6988 # type: textblock
6989 #: ../src/guestfs-actions.pod:1983 ../fish/guestfish-actions.pod:1569
6990 msgid ""
6991 "I<Note>: In order to make sure that all events have been read, you must call "
6992 "this function repeatedly until it returns an empty list.  The reason is that "
6993 "the call will read events up to the maximum appliance-to-host message size "
6994 "and leave remaining events in the queue."
6995 msgstr ""
6996
6997 # type: textblock
6998 #: ../src/guestfs-actions.pod:1989
6999 msgid ""
7000 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7001 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7002 "must call C<guestfs_free_inotify_event_list> after use>."
7003 msgstr ""
7004
7005 # type: =head2
7006 #: ../src/guestfs-actions.pod:1994
7007 msgid "guestfs_inotify_rm_watch"
7008 msgstr ""
7009
7010 # type: verbatim
7011 #: ../src/guestfs-actions.pod:1996
7012 #, no-wrap
7013 msgid ""
7014 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7015 "\t\tint wd);\n"
7016 "\n"
7017 msgstr ""
7018
7019 # type: textblock
7020 #: ../src/guestfs-actions.pod:1999
7021 msgid ""
7022 "Remove a previously defined inotify watch.  See "
7023 "C<guestfs_inotify_add_watch>."
7024 msgstr ""
7025
7026 # type: =head2
7027 #: ../src/guestfs-actions.pod:2004
7028 msgid "guestfs_inspect_get_arch"
7029 msgstr ""
7030
7031 # type: verbatim
7032 #: ../src/guestfs-actions.pod:2006
7033 #, no-wrap
7034 msgid ""
7035 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7036 "\t\tconst char *root);\n"
7037 "\n"
7038 msgstr ""
7039
7040 # type: textblock
7041 #: ../src/guestfs-actions.pod:2009 ../src/guestfs-actions.pod:2029 ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2102 ../src/guestfs-actions.pod:2126 ../src/guestfs-actions.pod:2144 ../src/guestfs-actions.pod:2174 ../src/guestfs-actions.pod:2195
7042 msgid ""
7043 "This function should only be called with a root device string as returned by "
7044 "C<guestfs_inspect_os>."
7045 msgstr ""
7046
7047 # type: textblock
7048 #: ../src/guestfs-actions.pod:2012
7049 msgid ""
7050 "This returns the architecture of the inspected operating system.  The "
7051 "possible return values are listed under C<guestfs_file_architecture>."
7052 msgstr ""
7053
7054 # type: textblock
7055 #: ../src/guestfs-actions.pod:2016 ../fish/guestfish-actions.pod:1593
7056 msgid ""
7057 "If the architecture could not be determined, then the string C<unknown> is "
7058 "returned."
7059 msgstr ""
7060
7061 # type: textblock
7062 #: ../src/guestfs-actions.pod:2019 ../src/guestfs-actions.pod:2069 ../src/guestfs-actions.pod:2117 ../src/guestfs-actions.pod:2185 ../src/guestfs-actions.pod:2220 ../src/guestfs-actions.pod:2257 ../fish/guestfish-actions.pod:1596 ../fish/guestfish-actions.pod:1642 ../fish/guestfish-actions.pod:1681 ../fish/guestfish-actions.pod:1736 ../fish/guestfish-actions.pod:1767 ../fish/guestfish-actions.pod:1801
7063 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7064 msgstr ""
7065
7066 # type: =head2
7067 #: ../src/guestfs-actions.pod:2024
7068 msgid "guestfs_inspect_get_distro"
7069 msgstr ""
7070
7071 # type: verbatim
7072 #: ../src/guestfs-actions.pod:2026
7073 #, no-wrap
7074 msgid ""
7075 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7076 "\t\tconst char *root);\n"
7077 "\n"
7078 msgstr ""
7079
7080 # type: textblock
7081 #: ../src/guestfs-actions.pod:2032 ../fish/guestfish-actions.pod:1605
7082 msgid "This returns the distro (distribution) of the inspected operating system."
7083 msgstr ""
7084
7085 # type: textblock
7086 #: ../src/guestfs-actions.pod:2035 ../fish/guestfish-actions.pod:1608
7087 msgid "Currently defined distros are:"
7088 msgstr ""
7089
7090 # type: =item
7091 #: ../src/guestfs-actions.pod:2039 ../fish/guestfish-actions.pod:1612
7092 msgid "\"debian\""
7093 msgstr ""
7094
7095 # type: textblock
7096 #: ../src/guestfs-actions.pod:2041 ../fish/guestfish-actions.pod:1614
7097 msgid "Debian or a Debian-derived distro such as Ubuntu."
7098 msgstr ""
7099
7100 # type: =item
7101 #: ../src/guestfs-actions.pod:2043 ../fish/guestfish-actions.pod:1616
7102 msgid "\"fedora\""
7103 msgstr ""
7104
7105 # type: textblock
7106 #: ../src/guestfs-actions.pod:2045 ../fish/guestfish-actions.pod:1618
7107 msgid "Fedora."
7108 msgstr ""
7109
7110 # type: =item
7111 #: ../src/guestfs-actions.pod:2047 ../fish/guestfish-actions.pod:1620
7112 msgid "\"redhat-based\""
7113 msgstr ""
7114
7115 # type: textblock
7116 #: ../src/guestfs-actions.pod:2049 ../fish/guestfish-actions.pod:1622
7117 msgid "Some Red Hat-derived distro."
7118 msgstr ""
7119
7120 # type: =item
7121 #: ../src/guestfs-actions.pod:2051 ../fish/guestfish-actions.pod:1624
7122 msgid "\"rhel\""
7123 msgstr ""
7124
7125 # type: textblock
7126 #: ../src/guestfs-actions.pod:2053 ../fish/guestfish-actions.pod:1626
7127 msgid "Red Hat Enterprise Linux and some derivatives."
7128 msgstr ""
7129
7130 # type: =item
7131 #: ../src/guestfs-actions.pod:2055 ../src/guestfs-actions.pod:2207 ../fish/guestfish-actions.pod:1628 ../fish/guestfish-actions.pod:1754
7132 msgid "\"windows\""
7133 msgstr ""
7134
7135 # type: textblock
7136 #: ../src/guestfs-actions.pod:2057 ../fish/guestfish-actions.pod:1630
7137 msgid ""
7138 "Windows does not have distributions.  This string is returned if the OS type "
7139 "is Windows."
7140 msgstr ""
7141
7142 # type: =item
7143 #: ../src/guestfs-actions.pod:2060 ../src/guestfs-actions.pod:2211 ../fish/guestfish-actions.pod:1633 ../fish/guestfish-actions.pod:1758
7144 msgid "\"unknown\""
7145 msgstr ""
7146
7147 # type: textblock
7148 #: ../src/guestfs-actions.pod:2062 ../fish/guestfish-actions.pod:1635
7149 msgid "The distro could not be determined."
7150 msgstr ""
7151
7152 # type: textblock
7153 #: ../src/guestfs-actions.pod:2066 ../src/guestfs-actions.pod:2217 ../fish/guestfish-actions.pod:1639 ../fish/guestfish-actions.pod:1764
7154 msgid ""
7155 "Future versions of libguestfs may return other strings here.  The caller "
7156 "should be prepared to handle any string."
7157 msgstr ""
7158
7159 # type: =head2
7160 #: ../src/guestfs-actions.pod:2074
7161 msgid "guestfs_inspect_get_filesystems"
7162 msgstr ""
7163
7164 # type: verbatim
7165 #: ../src/guestfs-actions.pod:2076
7166 #, no-wrap
7167 msgid ""
7168 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7169 "\t\tconst char *root);\n"
7170 "\n"
7171 msgstr ""
7172
7173 # type: textblock
7174 #: ../src/guestfs-actions.pod:2082 ../fish/guestfish-actions.pod:1651
7175 msgid ""
7176 "This returns a list of all the filesystems that we think are associated with "
7177 "this operating system.  This includes the root filesystem, other ordinary "
7178 "filesystems, and non-mounted devices like swap partitions."
7179 msgstr ""
7180
7181 # type: textblock
7182 #: ../src/guestfs-actions.pod:2087 ../fish/guestfish-actions.pod:1656
7183 msgid ""
7184 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7185 "to be shared between operating systems."
7186 msgstr ""
7187
7188 # type: textblock
7189 #: ../src/guestfs-actions.pod:2090
7190 msgid ""
7191 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7192 "C<guestfs_inspect_get_mountpoints>."
7193 msgstr ""
7194
7195 # type: =head2
7196 #: ../src/guestfs-actions.pod:2097
7197 msgid "guestfs_inspect_get_major_version"
7198 msgstr ""
7199
7200 # type: verbatim
7201 #: ../src/guestfs-actions.pod:2099
7202 #, no-wrap
7203 msgid ""
7204 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7205 "\t\tconst char *root);\n"
7206 "\n"
7207 msgstr ""
7208
7209 # type: textblock
7210 #: ../src/guestfs-actions.pod:2105 ../fish/guestfish-actions.pod:1669
7211 msgid "This returns the major version number of the inspected operating system."
7212 msgstr ""
7213
7214 # type: textblock
7215 #: ../src/guestfs-actions.pod:2108 ../fish/guestfish-actions.pod:1672
7216 msgid ""
7217 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7218 "popular public names used by the operating system.  Notably the operating "
7219 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7220 "1).  You can find out the real versions corresponding to releases of Windows "
7221 "by consulting Wikipedia or MSDN."
7222 msgstr ""
7223
7224 # type: textblock
7225 #: ../src/guestfs-actions.pod:2115 ../src/guestfs-actions.pod:2132 ../fish/guestfish-actions.pod:1679 ../fish/guestfish-actions.pod:1693
7226 msgid "If the version could not be determined, then C<0> is returned."
7227 msgstr ""
7228
7229 # type: =head2
7230 #: ../src/guestfs-actions.pod:2121
7231 msgid "guestfs_inspect_get_minor_version"
7232 msgstr ""
7233
7234 # type: verbatim
7235 #: ../src/guestfs-actions.pod:2123
7236 #, no-wrap
7237 msgid ""
7238 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7239 "\t\tconst char *root);\n"
7240 "\n"
7241 msgstr ""
7242
7243 # type: textblock
7244 #: ../src/guestfs-actions.pod:2129 ../fish/guestfish-actions.pod:1690
7245 msgid "This returns the minor version number of the inspected operating system."
7246 msgstr ""
7247
7248 # type: textblock
7249 #: ../src/guestfs-actions.pod:2134
7250 msgid ""
7251 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7252 "C<guestfs_inspect_get_major_version>."
7253 msgstr ""
7254
7255 # type: =head2
7256 #: ../src/guestfs-actions.pod:2139
7257 msgid "guestfs_inspect_get_mountpoints"
7258 msgstr ""
7259
7260 # type: verbatim
7261 #: ../src/guestfs-actions.pod:2141
7262 #, no-wrap
7263 msgid ""
7264 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7265 "\t\tconst char *root);\n"
7266 "\n"
7267 msgstr ""
7268
7269 # type: textblock
7270 #: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1705
7271 msgid ""
7272 "This returns a hash of where we think the filesystems associated with this "
7273 "operating system should be mounted.  Callers should note that this is at "
7274 "best an educated guess made by reading configuration files such as "
7275 "C</etc/fstab>."
7276 msgstr ""
7277
7278 # type: textblock
7279 #: ../src/guestfs-actions.pod:2152 ../fish/guestfish-actions.pod:1710
7280 msgid ""
7281 "Each element in the returned hashtable has a key which is the path of the "
7282 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7283 "mounted there (eg. C</dev/sda1>)."
7284 msgstr ""
7285
7286 # type: textblock
7287 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1715
7288 msgid "Non-mounted devices such as swap devices are I<not> returned in this list."
7289 msgstr ""
7290
7291 # type: textblock
7292 #: ../src/guestfs-actions.pod:2160
7293 msgid ""
7294 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7295 "C<guestfs_inspect_get_filesystems>."
7296 msgstr ""
7297
7298 # type: textblock
7299 #: ../src/guestfs-actions.pod:2163 ../src/guestfs-actions.pod:3380 ../src/guestfs-actions.pod:4902
7300 msgid ""
7301 "This function returns a NULL-terminated array of strings, or NULL if there "
7302 "was an error.  The array of strings will always have length C<2n+1>, where "
7303 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7304 "caller must free the strings and the array after use>."
7305 msgstr ""
7306
7307 # type: =head2
7308 #: ../src/guestfs-actions.pod:2169
7309 msgid "guestfs_inspect_get_product_name"
7310 msgstr ""
7311
7312 # type: verbatim
7313 #: ../src/guestfs-actions.pod:2171
7314 #, no-wrap
7315 msgid ""
7316 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7317 "\t\tconst char *root);\n"
7318 "\n"
7319 msgstr ""
7320
7321 # type: textblock
7322 #: ../src/guestfs-actions.pod:2177 ../fish/guestfish-actions.pod:1728
7323 msgid ""
7324 "This returns the product name of the inspected operating system.  The "
7325 "product name is generally some freeform string which can be displayed to the "
7326 "user, but should not be parsed by programs."
7327 msgstr ""
7328
7329 # type: textblock
7330 #: ../src/guestfs-actions.pod:2182 ../fish/guestfish-actions.pod:1733
7331 msgid ""
7332 "If the product name could not be determined, then the string C<unknown> is "
7333 "returned."
7334 msgstr ""
7335
7336 # type: =head2
7337 #: ../src/guestfs-actions.pod:2190
7338 msgid "guestfs_inspect_get_type"
7339 msgstr ""
7340
7341 # type: verbatim
7342 #: ../src/guestfs-actions.pod:2192
7343 #, no-wrap
7344 msgid ""
7345 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7346 "\t\tconst char *root);\n"
7347 "\n"
7348 msgstr ""
7349
7350 # type: textblock
7351 #: ../src/guestfs-actions.pod:2198 ../fish/guestfish-actions.pod:1745
7352 msgid ""
7353 "This returns the type of the inspected operating system.  Currently defined "
7354 "types are:"
7355 msgstr ""
7356
7357 # type: =item
7358 #: ../src/guestfs-actions.pod:2203 ../fish/guestfish-actions.pod:1750
7359 msgid "\"linux\""
7360 msgstr ""
7361
7362 # type: textblock
7363 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1752
7364 msgid "Any Linux-based operating system."
7365 msgstr ""
7366
7367 # type: textblock
7368 #: ../src/guestfs-actions.pod:2209 ../fish/guestfish-actions.pod:1756
7369 msgid "Any Microsoft Windows operating system."
7370 msgstr ""
7371
7372 # type: textblock
7373 #: ../src/guestfs-actions.pod:2213 ../fish/guestfish-actions.pod:1760
7374 msgid "The operating system type could not be determined."
7375 msgstr ""
7376
7377 # type: =head2
7378 #: ../src/guestfs-actions.pod:2225
7379 msgid "guestfs_inspect_os"
7380 msgstr ""
7381
7382 # type: verbatim
7383 #: ../src/guestfs-actions.pod:2227
7384 #, no-wrap
7385 msgid ""
7386 " char **guestfs_inspect_os (guestfs_h *g);\n"
7387 "\n"
7388 msgstr ""
7389
7390 # type: textblock
7391 #: ../src/guestfs-actions.pod:2229 ../fish/guestfish-actions.pod:1773
7392 msgid ""
7393 "This function uses other libguestfs functions and certain heuristics to "
7394 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7395 "for operating systems."
7396 msgstr ""
7397
7398 # type: textblock
7399 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1777
7400 msgid "The list returned is empty if no operating systems were found."
7401 msgstr ""
7402
7403 # type: textblock
7404 #: ../src/guestfs-actions.pod:2235 ../fish/guestfish-actions.pod:1779
7405 msgid ""
7406 "If one operating system was found, then this returns a list with a single "
7407 "element, which is the name of the root filesystem of this operating system.  "
7408 "It is also possible for this function to return a list containing more than "
7409 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7410 "element being the root filesystem of one of the operating systems."
7411 msgstr ""
7412
7413 # type: textblock
7414 #: ../src/guestfs-actions.pod:2242
7415 msgid ""
7416 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7417 "functions in order to query further information about each operating system, "
7418 "such as the name and version."
7419 msgstr ""
7420
7421 # type: textblock
7422 #: ../src/guestfs-actions.pod:2247
7423 msgid ""
7424 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7425 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7426 "the contents.  This should be called with no disks currently mounted.  The "
7427 "function may also use Augeas, so any existing Augeas handle will be closed."
7428 msgstr ""
7429
7430 # type: textblock
7431 #: ../src/guestfs-actions.pod:2253 ../fish/guestfish-actions.pod:1797
7432 msgid ""
7433 "This function cannot decrypt encrypted disks.  The caller must do that first "
7434 "(supplying the necessary keys) if the disk is encrypted."
7435 msgstr ""
7436
7437 # type: =head2
7438 #: ../src/guestfs-actions.pod:2263
7439 msgid "guestfs_is_blockdev"
7440 msgstr ""
7441
7442 # type: verbatim
7443 #: ../src/guestfs-actions.pod:2265
7444 #, no-wrap
7445 msgid ""
7446 " int guestfs_is_blockdev (guestfs_h *g,\n"
7447 "\t\tconst char *path);\n"
7448 "\n"
7449 msgstr ""
7450
7451 # type: textblock
7452 #: ../src/guestfs-actions.pod:2268 ../fish/guestfish-actions.pod:1807
7453 msgid ""
7454 "This returns C<true> if and only if there is a block device with the given "
7455 "C<path> name."
7456 msgstr ""
7457
7458 # type: textblock
7459 #: ../src/guestfs-actions.pod:2271 ../src/guestfs-actions.pod:2294 ../src/guestfs-actions.pod:2318 ../src/guestfs-actions.pod:2330 ../src/guestfs-actions.pod:2343 ../src/guestfs-actions.pod:2387 ../src/guestfs-actions.pod:2399
7460 msgid "See also C<guestfs_stat>."
7461 msgstr ""
7462
7463 # type: =head2
7464 #: ../src/guestfs-actions.pod:2275
7465 msgid "guestfs_is_busy"
7466 msgstr ""
7467
7468 # type: verbatim
7469 #: ../src/guestfs-actions.pod:2277
7470 #, no-wrap
7471 msgid ""
7472 " int guestfs_is_busy (guestfs_h *g);\n"
7473 "\n"
7474 msgstr ""
7475
7476 # type: textblock
7477 #: ../src/guestfs-actions.pod:2279 ../fish/guestfish-actions.pod:1816
7478 msgid ""
7479 "This returns true iff this handle is busy processing a command (in the "
7480 "C<BUSY> state)."
7481 msgstr ""
7482
7483 # type: =head2
7484 #: ../src/guestfs-actions.pod:2286
7485 msgid "guestfs_is_chardev"
7486 msgstr ""
7487
7488 # type: verbatim
7489 #: ../src/guestfs-actions.pod:2288
7490 #, no-wrap
7491 msgid ""
7492 " int guestfs_is_chardev (guestfs_h *g,\n"
7493 "\t\tconst char *path);\n"
7494 "\n"
7495 msgstr ""
7496
7497 # type: textblock
7498 #: ../src/guestfs-actions.pod:2291 ../fish/guestfish-actions.pod:1825
7499 msgid ""
7500 "This returns C<true> if and only if there is a character device with the "
7501 "given C<path> name."
7502 msgstr ""
7503
7504 # type: =head2
7505 #: ../src/guestfs-actions.pod:2298
7506 msgid "guestfs_is_config"
7507 msgstr ""
7508
7509 # type: verbatim
7510 #: ../src/guestfs-actions.pod:2300
7511 #, no-wrap
7512 msgid ""
7513 " int guestfs_is_config (guestfs_h *g);\n"
7514 "\n"
7515 msgstr ""
7516
7517 # type: textblock
7518 #: ../src/guestfs-actions.pod:2302 ../fish/guestfish-actions.pod:1834
7519 msgid ""
7520 "This returns true iff this handle is being configured (in the C<CONFIG> "
7521 "state)."
7522 msgstr ""
7523
7524 # type: =head2
7525 #: ../src/guestfs-actions.pod:2309
7526 msgid "guestfs_is_dir"
7527 msgstr ""
7528
7529 # type: verbatim
7530 #: ../src/guestfs-actions.pod:2311
7531 #, no-wrap
7532 msgid ""
7533 " int guestfs_is_dir (guestfs_h *g,\n"
7534 "\t\tconst char *path);\n"
7535 "\n"
7536 msgstr ""
7537
7538 # type: textblock
7539 #: ../src/guestfs-actions.pod:2314 ../fish/guestfish-actions.pod:1843
7540 msgid ""
7541 "This returns C<true> if and only if there is a directory with the given "
7542 "C<path> name.  Note that it returns false for other objects like files."
7543 msgstr ""
7544
7545 # type: =head2
7546 #: ../src/guestfs-actions.pod:2322
7547 msgid "guestfs_is_fifo"
7548 msgstr ""
7549
7550 # type: verbatim
7551 #: ../src/guestfs-actions.pod:2324
7552 #, no-wrap
7553 msgid ""
7554 " int guestfs_is_fifo (guestfs_h *g,\n"
7555 "\t\tconst char *path);\n"
7556 "\n"
7557 msgstr ""
7558
7559 # type: textblock
7560 #: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1853
7561 msgid ""
7562 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
7563 "given C<path> name."
7564 msgstr ""
7565
7566 # type: =head2
7567 #: ../src/guestfs-actions.pod:2334
7568 msgid "guestfs_is_file"
7569 msgstr ""
7570
7571 # type: verbatim
7572 #: ../src/guestfs-actions.pod:2336
7573 #, no-wrap
7574 msgid ""
7575 " int guestfs_is_file (guestfs_h *g,\n"
7576 "\t\tconst char *path);\n"
7577 "\n"
7578 msgstr ""
7579
7580 # type: textblock
7581 #: ../src/guestfs-actions.pod:2339 ../fish/guestfish-actions.pod:1862
7582 msgid ""
7583 "This returns C<true> if and only if there is a regular file with the given "
7584 "C<path> name.  Note that it returns false for other objects like "
7585 "directories."
7586 msgstr ""
7587
7588 # type: =head2
7589 #: ../src/guestfs-actions.pod:2347
7590 msgid "guestfs_is_launching"
7591 msgstr ""
7592
7593 # type: verbatim
7594 #: ../src/guestfs-actions.pod:2349
7595 #, no-wrap
7596 msgid ""
7597 " int guestfs_is_launching (guestfs_h *g);\n"
7598 "\n"
7599 msgstr ""
7600
7601 # type: textblock
7602 #: ../src/guestfs-actions.pod:2351 ../fish/guestfish-actions.pod:1872
7603 msgid ""
7604 "This returns true iff this handle is launching the subprocess (in the "
7605 "C<LAUNCHING> state)."
7606 msgstr ""
7607
7608 # type: =head2
7609 #: ../src/guestfs-actions.pod:2358
7610 msgid "guestfs_is_lv"
7611 msgstr ""
7612
7613 # type: verbatim
7614 #: ../src/guestfs-actions.pod:2360
7615 #, no-wrap
7616 msgid ""
7617 " int guestfs_is_lv (guestfs_h *g,\n"
7618 "\t\tconst char *device);\n"
7619 "\n"
7620 msgstr ""
7621
7622 # type: textblock
7623 #: ../src/guestfs-actions.pod:2363 ../fish/guestfish-actions.pod:1881
7624 msgid ""
7625 "This command tests whether C<device> is a logical volume, and returns true "
7626 "iff this is the case."
7627 msgstr ""
7628
7629 # type: =head2
7630 #: ../src/guestfs-actions.pod:2368
7631 msgid "guestfs_is_ready"
7632 msgstr ""
7633
7634 # type: verbatim
7635 #: ../src/guestfs-actions.pod:2370
7636 #, no-wrap
7637 msgid ""
7638 " int guestfs_is_ready (guestfs_h *g);\n"
7639 "\n"
7640 msgstr ""
7641
7642 # type: textblock
7643 #: ../src/guestfs-actions.pod:2372 ../fish/guestfish-actions.pod:1888
7644 msgid ""
7645 "This returns true iff this handle is ready to accept commands (in the "
7646 "C<READY> state)."
7647 msgstr ""
7648
7649 # type: =head2
7650 #: ../src/guestfs-actions.pod:2379
7651 msgid "guestfs_is_socket"
7652 msgstr ""
7653
7654 # type: verbatim
7655 #: ../src/guestfs-actions.pod:2381
7656 #, no-wrap
7657 msgid ""
7658 " int guestfs_is_socket (guestfs_h *g,\n"
7659 "\t\tconst char *path);\n"
7660 "\n"
7661 msgstr ""
7662
7663 # type: textblock
7664 #: ../src/guestfs-actions.pod:2384 ../fish/guestfish-actions.pod:1897
7665 msgid ""
7666 "This returns C<true> if and only if there is a Unix domain socket with the "
7667 "given C<path> name."
7668 msgstr ""
7669
7670 # type: =head2
7671 #: ../src/guestfs-actions.pod:2391
7672 msgid "guestfs_is_symlink"
7673 msgstr ""
7674
7675 # type: verbatim
7676 #: ../src/guestfs-actions.pod:2393
7677 #, no-wrap
7678 msgid ""
7679 " int guestfs_is_symlink (guestfs_h *g,\n"
7680 "\t\tconst char *path);\n"
7681 "\n"
7682 msgstr ""
7683
7684 # type: textblock
7685 #: ../src/guestfs-actions.pod:2396 ../fish/guestfish-actions.pod:1906
7686 msgid ""
7687 "This returns C<true> if and only if there is a symbolic link with the given "
7688 "C<path> name."
7689 msgstr ""
7690
7691 # type: =head2
7692 #: ../src/guestfs-actions.pod:2403
7693 msgid "guestfs_kill_subprocess"
7694 msgstr ""
7695
7696 # type: verbatim
7697 #: ../src/guestfs-actions.pod:2405
7698 #, no-wrap
7699 msgid ""
7700 " int guestfs_kill_subprocess (guestfs_h *g);\n"
7701 "\n"
7702 msgstr ""
7703
7704 # type: textblock
7705 #: ../src/guestfs-actions.pod:2407 ../fish/guestfish-actions.pod:1915
7706 msgid "This kills the qemu subprocess.  You should never need to call this."
7707 msgstr ""
7708
7709 # type: =head2
7710 #: ../src/guestfs-actions.pod:2411
7711 msgid "guestfs_launch"
7712 msgstr ""
7713
7714 # type: verbatim
7715 #: ../src/guestfs-actions.pod:2413
7716 #, no-wrap
7717 msgid ""
7718 " int guestfs_launch (guestfs_h *g);\n"
7719 "\n"
7720 msgstr ""
7721
7722 # type: textblock
7723 #: ../src/guestfs-actions.pod:2415 ../fish/guestfish-actions.pod:1921
7724 msgid ""
7725 "Internally libguestfs is implemented by running a virtual machine using "
7726 "L<qemu(1)>."
7727 msgstr ""
7728
7729 # type: textblock
7730 #: ../src/guestfs-actions.pod:2418 ../fish/guestfish-actions.pod:1924
7731 msgid ""
7732 "You should call this after configuring the handle (eg. adding drives) but "
7733 "before performing any actions."
7734 msgstr ""
7735
7736 # type: =head2
7737 #: ../src/guestfs-actions.pod:2423
7738 msgid "guestfs_lchown"
7739 msgstr ""
7740
7741 # type: verbatim
7742 #: ../src/guestfs-actions.pod:2425
7743 #, no-wrap
7744 msgid ""
7745 " int guestfs_lchown (guestfs_h *g,\n"
7746 "\t\tint owner,\n"
7747 "\t\tint group,\n"
7748 "\t\tconst char *path);\n"
7749 "\n"
7750 msgstr ""
7751
7752 # type: textblock
7753 #: ../src/guestfs-actions.pod:2430
7754 msgid ""
7755 "Change the file owner to C<owner> and group to C<group>.  This is like "
7756 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
7757 "changed, not the target."
7758 msgstr ""
7759
7760 # type: =head2
7761 #: ../src/guestfs-actions.pod:2440
7762 msgid "guestfs_lgetxattrs"
7763 msgstr ""
7764
7765 # type: verbatim
7766 #: ../src/guestfs-actions.pod:2442
7767 #, no-wrap
7768 msgid ""
7769 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
7770 "\t\tconst char *path);\n"
7771 "\n"
7772 msgstr ""
7773
7774 # type: textblock
7775 #: ../src/guestfs-actions.pod:2445
7776 msgid ""
7777 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
7778 "then it returns the extended attributes of the link itself."
7779 msgstr ""
7780
7781 # type: =head2
7782 #: ../src/guestfs-actions.pod:2454
7783 msgid "guestfs_list_devices"
7784 msgstr ""
7785
7786 # type: verbatim
7787 #: ../src/guestfs-actions.pod:2456
7788 #, no-wrap
7789 msgid ""
7790 " char **guestfs_list_devices (guestfs_h *g);\n"
7791 "\n"
7792 msgstr ""
7793
7794 # type: textblock
7795 #: ../src/guestfs-actions.pod:2458 ../fish/guestfish-actions.pod:1951
7796 msgid "List all the block devices."
7797 msgstr ""
7798
7799 # type: textblock
7800 #: ../src/guestfs-actions.pod:2460 ../fish/guestfish-actions.pod:1953
7801 msgid "The full block device names are returned, eg. C</dev/sda>"
7802 msgstr ""
7803
7804 # type: =head2
7805 #: ../src/guestfs-actions.pod:2466
7806 msgid "guestfs_list_partitions"
7807 msgstr ""
7808
7809 # type: verbatim
7810 #: ../src/guestfs-actions.pod:2468
7811 #, no-wrap
7812 msgid ""
7813 " char **guestfs_list_partitions (guestfs_h *g);\n"
7814 "\n"
7815 msgstr ""
7816
7817 # type: textblock
7818 #: ../src/guestfs-actions.pod:2470 ../fish/guestfish-actions.pod:1959
7819 msgid "List all the partitions detected on all block devices."
7820 msgstr ""
7821
7822 # type: textblock
7823 #: ../src/guestfs-actions.pod:2472 ../fish/guestfish-actions.pod:1961
7824 msgid "The full partition device names are returned, eg. C</dev/sda1>"
7825 msgstr ""
7826
7827 # type: textblock
7828 #: ../src/guestfs-actions.pod:2474
7829 msgid ""
7830 "This does not return logical volumes.  For that you will need to call "
7831 "C<guestfs_lvs>."
7832 msgstr ""
7833
7834 # type: =head2
7835 #: ../src/guestfs-actions.pod:2481
7836 msgid "guestfs_ll"
7837 msgstr ""
7838
7839 # type: verbatim
7840 #: ../src/guestfs-actions.pod:2483
7841 #, no-wrap
7842 msgid ""
7843 " char *guestfs_ll (guestfs_h *g,\n"
7844 "\t\tconst char *directory);\n"
7845 "\n"
7846 msgstr ""
7847
7848 # type: textblock
7849 #: ../src/guestfs-actions.pod:2486 ../fish/guestfish-actions.pod:1970
7850 msgid ""
7851 "List the files in C<directory> (relative to the root directory, there is no "
7852 "cwd) in the format of 'ls -la'."
7853 msgstr ""
7854
7855 # type: textblock
7856 #: ../src/guestfs-actions.pod:2489 ../fish/guestfish-actions.pod:1973
7857 msgid ""
7858 "This command is mostly useful for interactive sessions.  It is I<not> "
7859 "intended that you try to parse the output string."
7860 msgstr ""
7861
7862 # type: =head2
7863 #: ../src/guestfs-actions.pod:2495
7864 msgid "guestfs_ln"
7865 msgstr ""
7866
7867 # type: verbatim
7868 #: ../src/guestfs-actions.pod:2497
7869 #, no-wrap
7870 msgid ""
7871 " int guestfs_ln (guestfs_h *g,\n"
7872 "\t\tconst char *target,\n"
7873 "\t\tconst char *linkname);\n"
7874 "\n"
7875 msgstr ""
7876
7877 # type: textblock
7878 #: ../src/guestfs-actions.pod:2501 ../fish/guestfish-actions.pod:1980
7879 msgid "This command creates a hard link using the C<ln> command."
7880 msgstr ""
7881
7882 # type: =head2
7883 #: ../src/guestfs-actions.pod:2505
7884 msgid "guestfs_ln_f"
7885 msgstr ""
7886
7887 # type: verbatim
7888 #: ../src/guestfs-actions.pod:2507
7889 #, no-wrap
7890 msgid ""
7891 " int guestfs_ln_f (guestfs_h *g,\n"
7892 "\t\tconst char *target,\n"
7893 "\t\tconst char *linkname);\n"
7894 "\n"
7895 msgstr ""
7896
7897 # type: textblock
7898 #: ../src/guestfs-actions.pod:2511 ../fish/guestfish-actions.pod:1986
7899 msgid ""
7900 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
7901 "option removes the link (C<linkname>) if it exists already."
7902 msgstr ""
7903
7904 # type: =head2
7905 #: ../src/guestfs-actions.pod:2516
7906 msgid "guestfs_ln_s"
7907 msgstr ""
7908
7909 # type: verbatim
7910 #: ../src/guestfs-actions.pod:2518
7911 #, no-wrap
7912 msgid ""
7913 " int guestfs_ln_s (guestfs_h *g,\n"
7914 "\t\tconst char *target,\n"
7915 "\t\tconst char *linkname);\n"
7916 "\n"
7917 msgstr ""
7918
7919 # type: textblock
7920 #: ../src/guestfs-actions.pod:2522 ../fish/guestfish-actions.pod:1993
7921 msgid "This command creates a symbolic link using the C<ln -s> command."
7922 msgstr ""
7923
7924 # type: =head2
7925 #: ../src/guestfs-actions.pod:2526
7926 msgid "guestfs_ln_sf"
7927 msgstr ""
7928
7929 # type: verbatim
7930 #: ../src/guestfs-actions.pod:2528
7931 #, no-wrap
7932 msgid ""
7933 " int guestfs_ln_sf (guestfs_h *g,\n"
7934 "\t\tconst char *target,\n"
7935 "\t\tconst char *linkname);\n"
7936 "\n"
7937 msgstr ""
7938
7939 # type: textblock
7940 #: ../src/guestfs-actions.pod:2532 ../fish/guestfish-actions.pod:1999
7941 msgid ""
7942 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
7943 "option removes the link (C<linkname>) if it exists already."
7944 msgstr ""
7945
7946 # type: =head2
7947 #: ../src/guestfs-actions.pod:2537
7948 msgid "guestfs_lremovexattr"
7949 msgstr ""
7950
7951 # type: verbatim
7952 #: ../src/guestfs-actions.pod:2539
7953 #, no-wrap
7954 msgid ""
7955 " int guestfs_lremovexattr (guestfs_h *g,\n"
7956 "\t\tconst char *xattr,\n"
7957 "\t\tconst char *path);\n"
7958 "\n"
7959 msgstr ""
7960
7961 # type: textblock
7962 #: ../src/guestfs-actions.pod:2543
7963 msgid ""
7964 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
7965 "link, then it removes an extended attribute of the link itself."
7966 msgstr ""
7967
7968 # type: =head2
7969 #: ../src/guestfs-actions.pod:2549
7970 msgid "guestfs_ls"
7971 msgstr ""
7972
7973 # type: verbatim
7974 #: ../src/guestfs-actions.pod:2551
7975 #, no-wrap
7976 msgid ""
7977 " char **guestfs_ls (guestfs_h *g,\n"
7978 "\t\tconst char *directory);\n"
7979 "\n"
7980 msgstr ""
7981
7982 # type: textblock
7983 #: ../src/guestfs-actions.pod:2554 ../fish/guestfish-actions.pod:2014
7984 msgid ""
7985 "List the files in C<directory> (relative to the root directory, there is no "
7986 "cwd).  The '.' and '..' entries are not returned, but hidden files are "
7987 "shown."
7988 msgstr ""
7989
7990 # type: textblock
7991 #: ../src/guestfs-actions.pod:2558
7992 msgid ""
7993 "This command is mostly useful for interactive sessions.  Programs should "
7994 "probably use C<guestfs_readdir> instead."
7995 msgstr ""
7996
7997 # type: =head2
7998 #: ../src/guestfs-actions.pod:2565
7999 msgid "guestfs_lsetxattr"
8000 msgstr ""
8001
8002 # type: verbatim
8003 #: ../src/guestfs-actions.pod:2567
8004 #, no-wrap
8005 msgid ""
8006 " int guestfs_lsetxattr (guestfs_h *g,\n"
8007 "\t\tconst char *xattr,\n"
8008 "\t\tconst char *val,\n"
8009 "\t\tint vallen,\n"
8010 "\t\tconst char *path);\n"
8011 "\n"
8012 msgstr ""
8013
8014 # type: textblock
8015 #: ../src/guestfs-actions.pod:2573
8016 msgid ""
8017 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8018 "then it sets an extended attribute of the link itself."
8019 msgstr ""
8020
8021 # type: =head2
8022 #: ../src/guestfs-actions.pod:2579
8023 msgid "guestfs_lstat"
8024 msgstr ""
8025
8026 # type: verbatim
8027 #: ../src/guestfs-actions.pod:2581
8028 #, no-wrap
8029 msgid ""
8030 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8031 "\t\tconst char *path);\n"
8032 "\n"
8033 msgstr ""
8034
8035 # type: textblock
8036 #: ../src/guestfs-actions.pod:2584 ../src/guestfs-actions.pod:4567 ../fish/guestfish-actions.pod:2033 ../fish/guestfish-actions.pod:3522
8037 msgid "Returns file information for the given C<path>."
8038 msgstr ""
8039
8040 # type: textblock
8041 #: ../src/guestfs-actions.pod:2586
8042 msgid ""
8043 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8044 "link, then the link is stat-ed, not the file it refers to."
8045 msgstr ""
8046
8047 # type: textblock
8048 #: ../src/guestfs-actions.pod:2590 ../fish/guestfish-actions.pod:2039
8049 msgid "This is the same as the C<lstat(2)> system call."
8050 msgstr ""
8051
8052 # type: textblock
8053 #: ../src/guestfs-actions.pod:2592 ../src/guestfs-actions.pod:4571
8054 msgid ""
8055 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8056 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8057 msgstr ""
8058
8059 # type: =head2
8060 #: ../src/guestfs-actions.pod:2596
8061 msgid "guestfs_lstatlist"
8062 msgstr ""
8063
8064 # type: verbatim
8065 #: ../src/guestfs-actions.pod:2598
8066 #, no-wrap
8067 msgid ""
8068 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8069 "\t\tconst char *path,\n"
8070 "\t\tchar *const *names);\n"
8071 "\n"
8072 msgstr ""
8073
8074 # type: textblock
8075 #: ../src/guestfs-actions.pod:2602
8076 msgid ""
8077 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8078 "files, where all files are in the directory C<path>.  C<names> is the list "
8079 "of files from this directory."
8080 msgstr ""
8081
8082 # type: textblock
8083 #: ../src/guestfs-actions.pod:2606 ../fish/guestfish-actions.pod:2049
8084 msgid ""
8085 "On return you get a list of stat structs, with a one-to-one correspondence "
8086 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8087 "then the C<ino> field of that structure is set to C<-1>."
8088 msgstr ""
8089
8090 # type: textblock
8091 #: ../src/guestfs-actions.pod:2611
8092 msgid ""
8093 "This call is intended for programs that want to efficiently list a directory "
8094 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8095 "for a similarly efficient call for getting extended attributes.  Very long "
8096 "directory listings might cause the protocol message size to be exceeded, "
8097 "causing this call to fail.  The caller must split up such requests into "
8098 "smaller groups of names."
8099 msgstr ""
8100
8101 # type: textblock
8102 #: ../src/guestfs-actions.pod:2619
8103 msgid ""
8104 "This function returns a C<struct guestfs_stat_list *> (see "
8105 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
8106 "must call C<guestfs_free_stat_list> after use>."
8107 msgstr ""
8108
8109 # type: =head2
8110 #: ../src/guestfs-actions.pod:2624
8111 msgid "guestfs_luks_add_key"
8112 msgstr ""
8113
8114 # type: verbatim
8115 #: ../src/guestfs-actions.pod:2626
8116 #, no-wrap
8117 msgid ""
8118 " int guestfs_luks_add_key (guestfs_h *g,\n"
8119 "\t\tconst char *device,\n"
8120 "\t\tconst char *key,\n"
8121 "\t\tconst char *newkey,\n"
8122 "\t\tint keyslot);\n"
8123 "\n"
8124 msgstr ""
8125
8126 # type: textblock
8127 #: ../src/guestfs-actions.pod:2632 ../fish/guestfish-actions.pod:2066
8128 msgid ""
8129 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8130 "existing key, and is used to access the device.  C<newkey> is the new key to "
8131 "add.  C<keyslot> is the key slot that will be replaced."
8132 msgstr ""
8133
8134 # type: textblock
8135 #: ../src/guestfs-actions.pod:2637
8136 msgid ""
8137 "Note that if C<keyslot> already contains a key, then this command will "
8138 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8139 msgstr ""
8140
8141 # type: textblock
8142 #: ../src/guestfs-actions.pod:2643 ../src/guestfs-actions.pod:2677 ../src/guestfs-actions.pod:2697 ../src/guestfs-actions.pod:2714 ../src/guestfs-actions.pod:2743 ../src/guestfs-actions.pod:2759
8143 msgid ""
8144 "This function takes a key or passphrase parameter which could contain "
8145 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8146 "information."
8147 msgstr ""
8148
8149 # type: =head2
8150 #: ../src/guestfs-actions.pod:2647
8151 msgid "guestfs_luks_close"
8152 msgstr ""
8153
8154 # type: verbatim
8155 #: ../src/guestfs-actions.pod:2649
8156 #, no-wrap
8157 msgid ""
8158 " int guestfs_luks_close (guestfs_h *g,\n"
8159 "\t\tconst char *device);\n"
8160 "\n"
8161 msgstr ""
8162
8163 # type: textblock
8164 #: ../src/guestfs-actions.pod:2652
8165 msgid ""
8166 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8167 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8168 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8169 "underlying block device."
8170 msgstr ""
8171
8172 # type: =head2
8173 #: ../src/guestfs-actions.pod:2660
8174 msgid "guestfs_luks_format"
8175 msgstr ""
8176
8177 # type: verbatim
8178 #: ../src/guestfs-actions.pod:2662
8179 #, no-wrap
8180 msgid ""
8181 " int guestfs_luks_format (guestfs_h *g,\n"
8182 "\t\tconst char *device,\n"
8183 "\t\tconst char *key,\n"
8184 "\t\tint keyslot);\n"
8185 "\n"
8186 msgstr ""
8187
8188 # type: textblock
8189 #: ../src/guestfs-actions.pod:2667 ../fish/guestfish-actions.pod:2092
8190 msgid ""
8191 "This command erases existing data on C<device> and formats the device as a "
8192 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8193 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8194 msgstr ""
8195
8196 # type: textblock
8197 #: ../src/guestfs-actions.pod:2674 ../src/guestfs-actions.pod:2694 ../src/guestfs-actions.pod:2796 ../src/guestfs-actions.pod:3508 ../src/guestfs-actions.pod:4108 ../src/guestfs-actions.pod:4429 ../src/guestfs-actions.pod:4449 ../src/guestfs-actions.pod:4472 ../src/guestfs-actions.pod:5411 ../fish/guestfish-actions.pod:2100 ../fish/guestfish-actions.pod:2113 ../fish/guestfish-actions.pod:2184 ../fish/guestfish-actions.pod:2699 ../fish/guestfish-actions.pod:3163 ../fish/guestfish-actions.pod:3421 ../fish/guestfish-actions.pod:3437 ../fish/guestfish-actions.pod:3452 ../fish/guestfish-actions.pod:4140
8198 msgid ""
8199 "B<This command is dangerous.  Without careful use you can easily destroy all "
8200 "your data>."
8201 msgstr ""
8202
8203 # type: =head2
8204 #: ../src/guestfs-actions.pod:2681
8205 msgid "guestfs_luks_format_cipher"
8206 msgstr ""
8207
8208 # type: verbatim
8209 #: ../src/guestfs-actions.pod:2683
8210 #, no-wrap
8211 msgid ""
8212 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8213 "\t\tconst char *device,\n"
8214 "\t\tconst char *key,\n"
8215 "\t\tint keyslot,\n"
8216 "\t\tconst char *cipher);\n"
8217 "\n"
8218 msgstr ""
8219
8220 # type: textblock
8221 #: ../src/guestfs-actions.pod:2689
8222 msgid ""
8223 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8224 "set the C<cipher> used."
8225 msgstr ""
8226
8227 # type: =head2
8228 #: ../src/guestfs-actions.pod:2701
8229 msgid "guestfs_luks_kill_slot"
8230 msgstr ""
8231
8232 # type: verbatim
8233 #: ../src/guestfs-actions.pod:2703
8234 #, no-wrap
8235 msgid ""
8236 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8237 "\t\tconst char *device,\n"
8238 "\t\tconst char *key,\n"
8239 "\t\tint keyslot);\n"
8240 "\n"
8241 msgstr ""
8242
8243 # type: textblock
8244 #: ../src/guestfs-actions.pod:2708 ../fish/guestfish-actions.pod:2120
8245 msgid ""
8246 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8247 "device C<device>.  C<key> must be one of the I<other> keys."
8248 msgstr ""
8249
8250 # type: =head2
8251 #: ../src/guestfs-actions.pod:2718
8252 msgid "guestfs_luks_open"
8253 msgstr ""
8254
8255 # type: verbatim
8256 #: ../src/guestfs-actions.pod:2720
8257 #, no-wrap
8258 msgid ""
8259 " int guestfs_luks_open (guestfs_h *g,\n"
8260 "\t\tconst char *device,\n"
8261 "\t\tconst char *key,\n"
8262 "\t\tconst char *mapname);\n"
8263 "\n"
8264 msgstr ""
8265
8266 # type: textblock
8267 #: ../src/guestfs-actions.pod:2725 ../fish/guestfish-actions.pod:2131
8268 msgid ""
8269 "This command opens a block device which has been encrypted according to the "
8270 "Linux Unified Key Setup (LUKS) standard."
8271 msgstr ""
8272
8273 # type: textblock
8274 #: ../src/guestfs-actions.pod:2728 ../fish/guestfish-actions.pod:2134
8275 msgid "C<device> is the encrypted block device or partition."
8276 msgstr ""
8277
8278 # type: textblock
8279 #: ../src/guestfs-actions.pod:2730 ../fish/guestfish-actions.pod:2136
8280 msgid ""
8281 "The caller must supply one of the keys associated with the LUKS block "
8282 "device, in the C<key> parameter."
8283 msgstr ""
8284
8285 # type: textblock
8286 #: ../src/guestfs-actions.pod:2733 ../fish/guestfish-actions.pod:2139
8287 msgid ""
8288 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8289 "writes to this block device are decrypted from and encrypted to the "
8290 "underlying C<device> respectively."
8291 msgstr ""
8292
8293 # type: textblock
8294 #: ../src/guestfs-actions.pod:2737
8295 msgid ""
8296 "If this block device contains LVM volume groups, then calling "
8297 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8298 "visible."
8299 msgstr ""
8300
8301 # type: =head2
8302 #: ../src/guestfs-actions.pod:2747
8303 msgid "guestfs_luks_open_ro"
8304 msgstr ""
8305
8306 # type: verbatim
8307 #: ../src/guestfs-actions.pod:2749
8308 #, no-wrap
8309 msgid ""
8310 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8311 "\t\tconst char *device,\n"
8312 "\t\tconst char *key,\n"
8313 "\t\tconst char *mapname);\n"
8314 "\n"
8315 msgstr ""
8316
8317 # type: textblock
8318 #: ../src/guestfs-actions.pod:2754
8319 msgid ""
8320 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8321 "created."
8322 msgstr ""
8323
8324 # type: =head2
8325 #: ../src/guestfs-actions.pod:2763
8326 msgid "guestfs_lvcreate"
8327 msgstr ""
8328
8329 # type: verbatim
8330 #: ../src/guestfs-actions.pod:2765
8331 #, no-wrap
8332 msgid ""
8333 " int guestfs_lvcreate (guestfs_h *g,\n"
8334 "\t\tconst char *logvol,\n"
8335 "\t\tconst char *volgroup,\n"
8336 "\t\tint mbytes);\n"
8337 "\n"
8338 msgstr ""
8339
8340 # type: textblock
8341 #: ../src/guestfs-actions.pod:2770 ../fish/guestfish-actions.pod:2164
8342 msgid ""
8343 "This creates an LVM logical volume called C<logvol> on the volume group "
8344 "C<volgroup>, with C<size> megabytes."
8345 msgstr ""
8346
8347 # type: =head2
8348 #: ../src/guestfs-actions.pod:2775
8349 msgid "guestfs_lvm_clear_filter"
8350 msgstr ""
8351
8352 # type: verbatim
8353 #: ../src/guestfs-actions.pod:2777
8354 #, no-wrap
8355 msgid ""
8356 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8357 "\n"
8358 msgstr ""
8359
8360 # type: textblock
8361 #: ../src/guestfs-actions.pod:2779
8362 msgid ""
8363 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8364 "see every block device."
8365 msgstr ""
8366
8367 # type: textblock
8368 #: ../src/guestfs-actions.pod:2782 ../src/guestfs-actions.pod:2818 ../fish/guestfish-actions.pod:2174 ../fish/guestfish-actions.pod:2205
8369 msgid "This command also clears the LVM cache and performs a volume group scan."
8370 msgstr ""
8371
8372 # type: =head2
8373 #: ../src/guestfs-actions.pod:2787
8374 msgid "guestfs_lvm_remove_all"
8375 msgstr ""
8376
8377 # type: verbatim
8378 #: ../src/guestfs-actions.pod:2789
8379 #, no-wrap
8380 msgid ""
8381 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8382 "\n"
8383 msgstr ""
8384
8385 # type: textblock
8386 #: ../src/guestfs-actions.pod:2791 ../fish/guestfish-actions.pod:2181
8387 msgid ""
8388 "This command removes all LVM logical volumes, volume groups and physical "
8389 "volumes."
8390 msgstr ""
8391
8392 # type: =head2
8393 #: ../src/guestfs-actions.pod:2799
8394 msgid "guestfs_lvm_set_filter"
8395 msgstr ""
8396
8397 # type: verbatim
8398 #: ../src/guestfs-actions.pod:2801
8399 #, no-wrap
8400 msgid ""
8401 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8402 "\t\tchar *const *devices);\n"
8403 "\n"
8404 msgstr ""
8405
8406 # type: textblock
8407 #: ../src/guestfs-actions.pod:2804 ../fish/guestfish-actions.pod:2191
8408 msgid ""
8409 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8410 "block devices in the list C<devices>, and will ignore all other attached "
8411 "block devices."
8412 msgstr ""
8413
8414 # type: textblock
8415 #: ../src/guestfs-actions.pod:2808 ../fish/guestfish-actions.pod:2195
8416 msgid ""
8417 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8418 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8419 "there are two types of duplication possible: either cloned PVs/VGs which "
8420 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8421 "same name.  In normal operation you cannot create this situation, but you "
8422 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8423 "inside the LVM metadata."
8424 msgstr ""
8425
8426 # type: textblock
8427 #: ../src/guestfs-actions.pod:2821 ../fish/guestfish-actions.pod:2208
8428 msgid "You can filter whole block devices or individual partitions."
8429 msgstr ""
8430
8431 # type: textblock
8432 #: ../src/guestfs-actions.pod:2823 ../fish/guestfish-actions.pod:2210
8433 msgid ""
8434 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8435 "filesystem), even if you are not filtering out that VG."
8436 msgstr ""
8437
8438 # type: =head2
8439 #: ../src/guestfs-actions.pod:2829
8440 msgid "guestfs_lvremove"
8441 msgstr ""
8442
8443 # type: verbatim
8444 #: ../src/guestfs-actions.pod:2831
8445 #, no-wrap
8446 msgid ""
8447 " int guestfs_lvremove (guestfs_h *g,\n"
8448 "\t\tconst char *device);\n"
8449 "\n"
8450 msgstr ""
8451
8452 # type: textblock
8453 #: ../src/guestfs-actions.pod:2834 ../fish/guestfish-actions.pod:2218
8454 msgid ""
8455 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8456 "LV, such as C</dev/VG/LV>."
8457 msgstr ""
8458
8459 # type: textblock
8460 #: ../src/guestfs-actions.pod:2837 ../fish/guestfish-actions.pod:2221
8461 msgid ""
8462 "You can also remove all LVs in a volume group by specifying the VG name, "
8463 "C</dev/VG>."
8464 msgstr ""
8465
8466 # type: =head2
8467 #: ../src/guestfs-actions.pod:2842
8468 msgid "guestfs_lvrename"
8469 msgstr ""
8470
8471 # type: verbatim
8472 #: ../src/guestfs-actions.pod:2844
8473 #, no-wrap
8474 msgid ""
8475 " int guestfs_lvrename (guestfs_h *g,\n"
8476 "\t\tconst char *logvol,\n"
8477 "\t\tconst char *newlogvol);\n"
8478 "\n"
8479 msgstr ""
8480
8481 # type: textblock
8482 #: ../src/guestfs-actions.pod:2848 ../fish/guestfish-actions.pod:2228
8483 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8484 msgstr ""
8485
8486 # type: =head2
8487 #: ../src/guestfs-actions.pod:2852
8488 msgid "guestfs_lvresize"
8489 msgstr ""
8490
8491 # type: verbatim
8492 #: ../src/guestfs-actions.pod:2854
8493 #, no-wrap
8494 msgid ""
8495 " int guestfs_lvresize (guestfs_h *g,\n"
8496 "\t\tconst char *device,\n"
8497 "\t\tint mbytes);\n"
8498 "\n"
8499 msgstr ""
8500
8501 # type: textblock
8502 #: ../src/guestfs-actions.pod:2858 ../fish/guestfish-actions.pod:2234
8503 msgid ""
8504 "This resizes (expands or shrinks) an existing LVM logical volume to "
8505 "C<mbytes>.  When reducing, data in the reduced part is lost."
8506 msgstr ""
8507
8508 # type: =head2
8509 #: ../src/guestfs-actions.pod:2864
8510 msgid "guestfs_lvresize_free"
8511 msgstr ""
8512
8513 # type: verbatim
8514 #: ../src/guestfs-actions.pod:2866
8515 #, no-wrap
8516 msgid ""
8517 " int guestfs_lvresize_free (guestfs_h *g,\n"
8518 "\t\tconst char *lv,\n"
8519 "\t\tint percent);\n"
8520 "\n"
8521 msgstr ""
8522
8523 # type: textblock
8524 #: ../src/guestfs-actions.pod:2870 ../fish/guestfish-actions.pod:2242
8525 msgid ""
8526 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
8527 "remaining free space in the volume group.  Commonly you would call this with "
8528 "pc = 100 which expands the logical volume as much as possible, using all "
8529 "remaining free space in the volume group."
8530 msgstr ""
8531
8532 # type: =head2
8533 #: ../src/guestfs-actions.pod:2878
8534 msgid "guestfs_lvs"
8535 msgstr ""
8536
8537 # type: verbatim
8538 #: ../src/guestfs-actions.pod:2880
8539 #, no-wrap
8540 msgid ""
8541 " char **guestfs_lvs (guestfs_h *g);\n"
8542 "\n"
8543 msgstr ""
8544
8545 # type: textblock
8546 #: ../src/guestfs-actions.pod:2882 ../fish/guestfish-actions.pod:2252
8547 msgid ""
8548 "List all the logical volumes detected.  This is the equivalent of the "
8549 "L<lvs(8)> command."
8550 msgstr ""
8551
8552 # type: textblock
8553 #: ../src/guestfs-actions.pod:2885 ../fish/guestfish-actions.pod:2255
8554 msgid ""
8555 "This returns a list of the logical volume device names "
8556 "(eg. C</dev/VolGroup00/LogVol00>)."
8557 msgstr ""
8558
8559 # type: textblock
8560 #: ../src/guestfs-actions.pod:2888
8561 msgid "See also C<guestfs_lvs_full>."
8562 msgstr ""
8563
8564 # type: =head2
8565 #: ../src/guestfs-actions.pod:2894
8566 msgid "guestfs_lvs_full"
8567 msgstr ""
8568
8569 # type: verbatim
8570 #: ../src/guestfs-actions.pod:2896
8571 #, no-wrap
8572 msgid ""
8573 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
8574 "\n"
8575 msgstr ""
8576
8577 # type: textblock
8578 #: ../src/guestfs-actions.pod:2898 ../fish/guestfish-actions.pod:2264
8579 msgid ""
8580 "List all the logical volumes detected.  This is the equivalent of the "
8581 "L<lvs(8)> command.  The \"full\" version includes all fields."
8582 msgstr ""
8583
8584 # type: textblock
8585 #: ../src/guestfs-actions.pod:2901
8586 msgid ""
8587 "This function returns a C<struct guestfs_lvm_lv_list *> (see "
8588 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
8589 "must call C<guestfs_free_lvm_lv_list> after use>."
8590 msgstr ""
8591
8592 # type: =head2
8593 #: ../src/guestfs-actions.pod:2906
8594 msgid "guestfs_lvuuid"
8595 msgstr ""
8596
8597 # type: verbatim
8598 #: ../src/guestfs-actions.pod:2908
8599 #, no-wrap
8600 msgid ""
8601 " char *guestfs_lvuuid (guestfs_h *g,\n"
8602 "\t\tconst char *device);\n"
8603 "\n"
8604 msgstr ""
8605
8606 # type: textblock
8607 #: ../src/guestfs-actions.pod:2911 ../fish/guestfish-actions.pod:2271
8608 msgid "This command returns the UUID of the LVM LV C<device>."
8609 msgstr ""
8610
8611 # type: =head2
8612 #: ../src/guestfs-actions.pod:2916
8613 msgid "guestfs_lxattrlist"
8614 msgstr ""
8615
8616 # type: verbatim
8617 #: ../src/guestfs-actions.pod:2918
8618 #, no-wrap
8619 msgid ""
8620 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
8621 "\t\tconst char *path,\n"
8622 "\t\tchar *const *names);\n"
8623 "\n"
8624 msgstr ""
8625
8626 # type: textblock
8627 #: ../src/guestfs-actions.pod:2922 ../fish/guestfish-actions.pod:2277
8628 msgid ""
8629 "This call allows you to get the extended attributes of multiple files, where "
8630 "all files are in the directory C<path>.  C<names> is the list of files from "
8631 "this directory."
8632 msgstr ""
8633
8634 # type: textblock
8635 #: ../src/guestfs-actions.pod:2926 ../fish/guestfish-actions.pod:2281
8636 msgid ""
8637 "On return you get a flat list of xattr structs which must be interpreted "
8638 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
8639 "C<attrval> in this struct is zero-length to indicate there was an error "
8640 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
8641 "number (the number of following attributes for this file, which could be "
8642 "C<\"0\">).  Then after the first xattr struct are the zero or more "
8643 "attributes for the first named file.  This repeats for the second and "
8644 "subsequent files."
8645 msgstr ""
8646
8647 # type: textblock
8648 #: ../src/guestfs-actions.pod:2936
8649 msgid ""
8650 "This call is intended for programs that want to efficiently list a directory "
8651 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
8652 "a similarly efficient call for getting standard stats.  Very long directory "
8653 "listings might cause the protocol message size to be exceeded, causing this "
8654 "call to fail.  The caller must split up such requests into smaller groups of "
8655 "names."
8656 msgstr ""
8657
8658 # type: =head2
8659 #: ../src/guestfs-actions.pod:2949
8660 msgid "guestfs_mkdir"
8661 msgstr ""
8662
8663 # type: verbatim
8664 #: ../src/guestfs-actions.pod:2951
8665 #, no-wrap
8666 msgid ""
8667 " int guestfs_mkdir (guestfs_h *g,\n"
8668 "\t\tconst char *path);\n"
8669 "\n"
8670 msgstr ""
8671
8672 # type: textblock
8673 #: ../src/guestfs-actions.pod:2954 ../fish/guestfish-actions.pod:2303
8674 msgid "Create a directory named C<path>."
8675 msgstr ""
8676
8677 # type: =head2
8678 #: ../src/guestfs-actions.pod:2958
8679 msgid "guestfs_mkdir_mode"
8680 msgstr ""
8681
8682 # type: verbatim
8683 #: ../src/guestfs-actions.pod:2960
8684 #, no-wrap
8685 msgid ""
8686 " int guestfs_mkdir_mode (guestfs_h *g,\n"
8687 "\t\tconst char *path,\n"
8688 "\t\tint mode);\n"
8689 "\n"
8690 msgstr ""
8691
8692 # type: textblock
8693 #: ../src/guestfs-actions.pod:2964 ../fish/guestfish-actions.pod:2309
8694 msgid ""
8695 "This command creates a directory, setting the initial permissions of the "
8696 "directory to C<mode>."
8697 msgstr ""
8698
8699 # type: textblock
8700 #: ../src/guestfs-actions.pod:2967 ../fish/guestfish-actions.pod:2312
8701 msgid ""
8702 "For common Linux filesystems, the actual mode which is set will be C<mode & "
8703 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
8704 "other ways."
8705 msgstr ""
8706
8707 # type: textblock
8708 #: ../src/guestfs-actions.pod:2971
8709 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
8710 msgstr ""
8711
8712 # type: =head2
8713 #: ../src/guestfs-actions.pod:2975
8714 msgid "guestfs_mkdir_p"
8715 msgstr ""
8716
8717 # type: verbatim
8718 #: ../src/guestfs-actions.pod:2977
8719 #, no-wrap
8720 msgid ""
8721 " int guestfs_mkdir_p (guestfs_h *g,\n"
8722 "\t\tconst char *path);\n"
8723 "\n"
8724 msgstr ""
8725
8726 # type: textblock
8727 #: ../src/guestfs-actions.pod:2980 ../fish/guestfish-actions.pod:2322
8728 msgid ""
8729 "Create a directory named C<path>, creating any parent directories as "
8730 "necessary.  This is like the C<mkdir -p> shell command."
8731 msgstr ""
8732
8733 # type: =head2
8734 #: ../src/guestfs-actions.pod:2985
8735 msgid "guestfs_mkdtemp"
8736 msgstr ""
8737
8738 # type: verbatim
8739 #: ../src/guestfs-actions.pod:2987
8740 #, no-wrap
8741 msgid ""
8742 " char *guestfs_mkdtemp (guestfs_h *g,\n"
8743 "\t\tconst char *template);\n"
8744 "\n"
8745 msgstr ""
8746
8747 # type: textblock
8748 #: ../src/guestfs-actions.pod:2990 ../fish/guestfish-actions.pod:2329
8749 msgid ""
8750 "This command creates a temporary directory.  The C<template> parameter "
8751 "should be a full pathname for the temporary directory name with the final "
8752 "six characters being \"XXXXXX\"."
8753 msgstr ""
8754
8755 # type: textblock
8756 #: ../src/guestfs-actions.pod:2995 ../fish/guestfish-actions.pod:2334
8757 msgid ""
8758 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
8759 "being suitable for Windows filesystems."
8760 msgstr ""
8761
8762 # type: textblock
8763 #: ../src/guestfs-actions.pod:2998 ../fish/guestfish-actions.pod:2337
8764 msgid "The name of the temporary directory that was created is returned."
8765 msgstr ""
8766
8767 # type: textblock
8768 #: ../src/guestfs-actions.pod:3001 ../fish/guestfish-actions.pod:2340
8769 msgid "The temporary directory is created with mode 0700 and is owned by root."
8770 msgstr ""
8771
8772 # type: textblock
8773 #: ../src/guestfs-actions.pod:3004 ../fish/guestfish-actions.pod:2343
8774 msgid ""
8775 "The caller is responsible for deleting the temporary directory and its "
8776 "contents after use."
8777 msgstr ""
8778
8779 # type: textblock
8780 #: ../src/guestfs-actions.pod:3007 ../fish/guestfish-actions.pod:2346
8781 msgid "See also: L<mkdtemp(3)>"
8782 msgstr ""
8783
8784 # type: =head2
8785 #: ../src/guestfs-actions.pod:3012
8786 msgid "guestfs_mke2fs_J"
8787 msgstr ""
8788
8789 # type: verbatim
8790 #: ../src/guestfs-actions.pod:3014
8791 #, no-wrap
8792 msgid ""
8793 " int guestfs_mke2fs_J (guestfs_h *g,\n"
8794 "\t\tconst char *fstype,\n"
8795 "\t\tint blocksize,\n"
8796 "\t\tconst char *device,\n"
8797 "\t\tconst char *journal);\n"
8798 "\n"
8799 msgstr ""
8800
8801 # type: textblock
8802 #: ../src/guestfs-actions.pod:3020 ../fish/guestfish-actions.pod:2352
8803 msgid ""
8804 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8805 "C<journal>.  It is equivalent to the command:"
8806 msgstr ""
8807
8808 # type: verbatim
8809 #: ../src/guestfs-actions.pod:3024 ../fish/guestfish-actions.pod:2356
8810 #, no-wrap
8811 msgid ""
8812 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
8813 "\n"
8814 msgstr ""
8815
8816 # type: textblock
8817 #: ../src/guestfs-actions.pod:3026
8818 msgid "See also C<guestfs_mke2journal>."
8819 msgstr ""
8820
8821 # type: =head2
8822 #: ../src/guestfs-actions.pod:3030
8823 msgid "guestfs_mke2fs_JL"
8824 msgstr ""
8825
8826 # type: verbatim
8827 #: ../src/guestfs-actions.pod:3032
8828 #, no-wrap
8829 msgid ""
8830 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
8831 "\t\tconst char *fstype,\n"
8832 "\t\tint blocksize,\n"
8833 "\t\tconst char *device,\n"
8834 "\t\tconst char *label);\n"
8835 "\n"
8836 msgstr ""
8837
8838 # type: textblock
8839 #: ../src/guestfs-actions.pod:3038 ../fish/guestfish-actions.pod:2364
8840 msgid ""
8841 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8842 "the journal labeled C<label>."
8843 msgstr ""
8844
8845 # type: textblock
8846 #: ../src/guestfs-actions.pod:3041
8847 msgid "See also C<guestfs_mke2journal_L>."
8848 msgstr ""
8849
8850 # type: =head2
8851 #: ../src/guestfs-actions.pod:3045
8852 msgid "guestfs_mke2fs_JU"
8853 msgstr ""
8854
8855 # type: verbatim
8856 #: ../src/guestfs-actions.pod:3047
8857 #, no-wrap
8858 msgid ""
8859 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
8860 "\t\tconst char *fstype,\n"
8861 "\t\tint blocksize,\n"
8862 "\t\tconst char *device,\n"
8863 "\t\tconst char *uuid);\n"
8864 "\n"
8865 msgstr ""
8866
8867 # type: textblock
8868 #: ../src/guestfs-actions.pod:3053 ../fish/guestfish-actions.pod:2373
8869 msgid ""
8870 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8871 "the journal with UUID C<uuid>."
8872 msgstr ""
8873
8874 # type: textblock
8875 #: ../src/guestfs-actions.pod:3056
8876 msgid "See also C<guestfs_mke2journal_U>."
8877 msgstr ""
8878
8879 # type: =head2
8880 #: ../src/guestfs-actions.pod:3060
8881 msgid "guestfs_mke2journal"
8882 msgstr ""
8883
8884 # type: verbatim
8885 #: ../src/guestfs-actions.pod:3062
8886 #, no-wrap
8887 msgid ""
8888 " int guestfs_mke2journal (guestfs_h *g,\n"
8889 "\t\tint blocksize,\n"
8890 "\t\tconst char *device);\n"
8891 "\n"
8892 msgstr ""
8893
8894 # type: textblock
8895 #: ../src/guestfs-actions.pod:3066 ../fish/guestfish-actions.pod:2382
8896 msgid ""
8897 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
8898 "command:"
8899 msgstr ""
8900
8901 # type: verbatim
8902 #: ../src/guestfs-actions.pod:3069 ../fish/guestfish-actions.pod:2385
8903 #, no-wrap
8904 msgid ""
8905 " mke2fs -O journal_dev -b blocksize device\n"
8906 "\n"
8907 msgstr ""
8908
8909 # type: =head2
8910 #: ../src/guestfs-actions.pod:3073
8911 msgid "guestfs_mke2journal_L"
8912 msgstr ""
8913
8914 # type: verbatim
8915 #: ../src/guestfs-actions.pod:3075
8916 #, no-wrap
8917 msgid ""
8918 " int guestfs_mke2journal_L (guestfs_h *g,\n"
8919 "\t\tint blocksize,\n"
8920 "\t\tconst char *label,\n"
8921 "\t\tconst char *device);\n"
8922 "\n"
8923 msgstr ""
8924
8925 # type: textblock
8926 #: ../src/guestfs-actions.pod:3080 ../fish/guestfish-actions.pod:2391
8927 msgid "This creates an ext2 external journal on C<device> with label C<label>."
8928 msgstr ""
8929
8930 # type: =head2
8931 #: ../src/guestfs-actions.pod:3084
8932 msgid "guestfs_mke2journal_U"
8933 msgstr ""
8934
8935 # type: verbatim
8936 #: ../src/guestfs-actions.pod:3086
8937 #, no-wrap
8938 msgid ""
8939 " int guestfs_mke2journal_U (guestfs_h *g,\n"
8940 "\t\tint blocksize,\n"
8941 "\t\tconst char *uuid,\n"
8942 "\t\tconst char *device);\n"
8943 "\n"
8944 msgstr ""
8945
8946 # type: textblock
8947 #: ../src/guestfs-actions.pod:3091 ../fish/guestfish-actions.pod:2397
8948 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
8949 msgstr ""
8950
8951 # type: =head2
8952 #: ../src/guestfs-actions.pod:3095
8953 msgid "guestfs_mkfifo"
8954 msgstr ""
8955
8956 # type: verbatim
8957 #: ../src/guestfs-actions.pod:3097
8958 #, no-wrap
8959 msgid ""
8960 " int guestfs_mkfifo (guestfs_h *g,\n"
8961 "\t\tint mode,\n"
8962 "\t\tconst char *path);\n"
8963 "\n"
8964 msgstr ""
8965
8966 # type: textblock
8967 #: ../src/guestfs-actions.pod:3101
8968 msgid ""
8969 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
8970 "is just a convenient wrapper around C<guestfs_mknod>."
8971 msgstr ""
8972
8973 # type: =head2
8974 #: ../src/guestfs-actions.pod:3109
8975 msgid "guestfs_mkfs"
8976 msgstr ""
8977
8978 # type: verbatim
8979 #: ../src/guestfs-actions.pod:3111
8980 #, no-wrap
8981 msgid ""
8982 " int guestfs_mkfs (guestfs_h *g,\n"
8983 "\t\tconst char *fstype,\n"
8984 "\t\tconst char *device);\n"
8985 "\n"
8986 msgstr ""
8987
8988 # type: textblock
8989 #: ../src/guestfs-actions.pod:3115 ../fish/guestfish-actions.pod:2413
8990 msgid ""
8991 "This creates a filesystem on C<device> (usually a partition or LVM logical "
8992 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
8993 msgstr ""
8994
8995 # type: =head2
8996 #: ../src/guestfs-actions.pod:3121
8997 msgid "guestfs_mkfs_b"
8998 msgstr ""
8999
9000 # type: verbatim
9001 #: ../src/guestfs-actions.pod:3123
9002 #, no-wrap
9003 msgid ""
9004 " int guestfs_mkfs_b (guestfs_h *g,\n"
9005 "\t\tconst char *fstype,\n"
9006 "\t\tint blocksize,\n"
9007 "\t\tconst char *device);\n"
9008 "\n"
9009 msgstr ""
9010
9011 # type: textblock
9012 #: ../src/guestfs-actions.pod:3128
9013 msgid ""
9014 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9015 "block size of the resulting filesystem.  Supported block sizes depend on the "
9016 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9017 msgstr ""
9018
9019 # type: textblock
9020 #: ../src/guestfs-actions.pod:3133 ../fish/guestfish-actions.pod:2426
9021 msgid ""
9022 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9023 "cluster size."
9024 msgstr ""
9025
9026 # type: =head2
9027 #: ../src/guestfs-actions.pod:3138
9028 msgid "guestfs_mkmountpoint"
9029 msgstr ""
9030
9031 # type: verbatim
9032 #: ../src/guestfs-actions.pod:3140
9033 #, no-wrap
9034 msgid ""
9035 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9036 "\t\tconst char *exemptpath);\n"
9037 "\n"
9038 msgstr ""
9039
9040 # type: textblock
9041 #: ../src/guestfs-actions.pod:3143
9042 msgid ""
9043 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9044 "that can be used to create extra mountpoints before mounting the first "
9045 "filesystem."
9046 msgstr ""
9047
9048 # type: textblock
9049 #: ../src/guestfs-actions.pod:3147 ../fish/guestfish-actions.pod:2437
9050 msgid ""
9051 "These calls are I<only> necessary in some very limited circumstances, mainly "
9052 "the case where you want to mount a mix of unrelated and/or read-only "
9053 "filesystems together."
9054 msgstr ""
9055
9056 # type: textblock
9057 #: ../src/guestfs-actions.pod:3151 ../fish/guestfish-actions.pod:2441
9058 msgid ""
9059 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9060 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9061 "inside that.  You can unpack this as follows in guestfish:"
9062 msgstr ""
9063
9064 # type: verbatim
9065 #: ../src/guestfs-actions.pod:3156 ../fish/guestfish-actions.pod:2446
9066 #, no-wrap
9067 msgid ""
9068 " add-ro Fedora-11-i686-Live.iso\n"
9069 " run\n"
9070 " mkmountpoint /cd\n"
9071 " mkmountpoint /squash\n"
9072 " mkmountpoint /ext3\n"
9073 " mount /dev/sda /cd\n"
9074 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
9075 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
9076 "\n"
9077 msgstr ""
9078
9079 # type: textblock
9080 #: ../src/guestfs-actions.pod:3165 ../fish/guestfish-actions.pod:2455
9081 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
9082 msgstr ""
9083
9084 # type: =head2
9085 #: ../src/guestfs-actions.pod:3169
9086 msgid "guestfs_mknod"
9087 msgstr ""
9088
9089 # type: verbatim
9090 #: ../src/guestfs-actions.pod:3171
9091 #, no-wrap
9092 msgid ""
9093 " int guestfs_mknod (guestfs_h *g,\n"
9094 "\t\tint mode,\n"
9095 "\t\tint devmajor,\n"
9096 "\t\tint devminor,\n"
9097 "\t\tconst char *path);\n"
9098 "\n"
9099 msgstr ""
9100
9101 # type: textblock
9102 #: ../src/guestfs-actions.pod:3177 ../fish/guestfish-actions.pod:2461
9103 msgid ""
9104 "This call creates block or character special devices, or named pipes "
9105 "(FIFOs)."
9106 msgstr ""
9107
9108 # type: textblock
9109 #: ../src/guestfs-actions.pod:3180 ../fish/guestfish-actions.pod:2464
9110 msgid ""
9111 "The C<mode> parameter should be the mode, using the standard constants.  "
9112 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9113 "used when creating block and character special devices."
9114 msgstr ""
9115
9116 # type: textblock
9117 #: ../src/guestfs-actions.pod:3185
9118 msgid ""
9119 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9120 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9121 "regular file).  These constants are available in the standard Linux header "
9122 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9123 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9124 "the appropriate constant for you."
9125 msgstr ""
9126
9127 # type: =head2
9128 #: ../src/guestfs-actions.pod:3197
9129 msgid "guestfs_mknod_b"
9130 msgstr ""
9131
9132 # type: verbatim
9133 #: ../src/guestfs-actions.pod:3199
9134 #, no-wrap
9135 msgid ""
9136 " int guestfs_mknod_b (guestfs_h *g,\n"
9137 "\t\tint mode,\n"
9138 "\t\tint devmajor,\n"
9139 "\t\tint devminor,\n"
9140 "\t\tconst char *path);\n"
9141 "\n"
9142 msgstr ""
9143
9144 # type: textblock
9145 #: ../src/guestfs-actions.pod:3205
9146 msgid ""
9147 "This call creates a block device node called C<path> with mode C<mode> and "
9148 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9149 "wrapper around C<guestfs_mknod>."
9150 msgstr ""
9151
9152 # type: =head2
9153 #: ../src/guestfs-actions.pod:3213
9154 msgid "guestfs_mknod_c"
9155 msgstr ""
9156
9157 # type: verbatim
9158 #: ../src/guestfs-actions.pod:3215
9159 #, no-wrap
9160 msgid ""
9161 " int guestfs_mknod_c (guestfs_h *g,\n"
9162 "\t\tint mode,\n"
9163 "\t\tint devmajor,\n"
9164 "\t\tint devminor,\n"
9165 "\t\tconst char *path);\n"
9166 "\n"
9167 msgstr ""
9168
9169 # type: textblock
9170 #: ../src/guestfs-actions.pod:3221
9171 msgid ""
9172 "This call creates a char device node called C<path> with mode C<mode> and "
9173 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9174 "wrapper around C<guestfs_mknod>."
9175 msgstr ""
9176
9177 # type: =head2
9178 #: ../src/guestfs-actions.pod:3229
9179 msgid "guestfs_mkswap"
9180 msgstr ""
9181
9182 # type: verbatim
9183 #: ../src/guestfs-actions.pod:3231
9184 #, no-wrap
9185 msgid ""
9186 " int guestfs_mkswap (guestfs_h *g,\n"
9187 "\t\tconst char *device);\n"
9188 "\n"
9189 msgstr ""
9190
9191 # type: textblock
9192 #: ../src/guestfs-actions.pod:3234 ../fish/guestfish-actions.pod:2503
9193 msgid "Create a swap partition on C<device>."
9194 msgstr ""
9195
9196 # type: =head2
9197 #: ../src/guestfs-actions.pod:3238
9198 msgid "guestfs_mkswap_L"
9199 msgstr ""
9200
9201 # type: verbatim
9202 #: ../src/guestfs-actions.pod:3240
9203 #, no-wrap
9204 msgid ""
9205 " int guestfs_mkswap_L (guestfs_h *g,\n"
9206 "\t\tconst char *label,\n"
9207 "\t\tconst char *device);\n"
9208 "\n"
9209 msgstr ""
9210
9211 # type: textblock
9212 #: ../src/guestfs-actions.pod:3244 ../fish/guestfish-actions.pod:2509
9213 msgid "Create a swap partition on C<device> with label C<label>."
9214 msgstr ""
9215
9216 # type: textblock
9217 #: ../src/guestfs-actions.pod:3246 ../fish/guestfish-actions.pod:2511
9218 msgid ""
9219 "Note that you cannot attach a swap label to a block device "
9220 "(eg. C</dev/sda>), just to a partition.  This appears to be a limitation of "
9221 "the kernel or swap tools."
9222 msgstr ""
9223
9224 # type: =head2
9225 #: ../src/guestfs-actions.pod:3252
9226 msgid "guestfs_mkswap_U"
9227 msgstr ""
9228
9229 # type: verbatim
9230 #: ../src/guestfs-actions.pod:3254
9231 #, no-wrap
9232 msgid ""
9233 " int guestfs_mkswap_U (guestfs_h *g,\n"
9234 "\t\tconst char *uuid,\n"
9235 "\t\tconst char *device);\n"
9236 "\n"
9237 msgstr ""
9238
9239 # type: textblock
9240 #: ../src/guestfs-actions.pod:3258 ../fish/guestfish-actions.pod:2519
9241 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9242 msgstr ""
9243
9244 # type: =head2
9245 #: ../src/guestfs-actions.pod:3262
9246 msgid "guestfs_mkswap_file"
9247 msgstr ""
9248
9249 # type: verbatim
9250 #: ../src/guestfs-actions.pod:3264
9251 #, no-wrap
9252 msgid ""
9253 " int guestfs_mkswap_file (guestfs_h *g,\n"
9254 "\t\tconst char *path);\n"
9255 "\n"
9256 msgstr ""
9257
9258 # type: textblock
9259 #: ../src/guestfs-actions.pod:3267 ../fish/guestfish-actions.pod:2525
9260 msgid "Create a swap file."
9261 msgstr ""
9262
9263 # type: textblock
9264 #: ../src/guestfs-actions.pod:3269
9265 msgid ""
9266 "This command just writes a swap file signature to an existing file.  To "
9267 "create the file itself, use something like C<guestfs_fallocate>."
9268 msgstr ""
9269
9270 # type: =head2
9271 #: ../src/guestfs-actions.pod:3274
9272 msgid "guestfs_modprobe"
9273 msgstr ""
9274
9275 # type: verbatim
9276 #: ../src/guestfs-actions.pod:3276
9277 #, no-wrap
9278 msgid ""
9279 " int guestfs_modprobe (guestfs_h *g,\n"
9280 "\t\tconst char *modulename);\n"
9281 "\n"
9282 msgstr ""
9283
9284 # type: textblock
9285 #: ../src/guestfs-actions.pod:3279 ../fish/guestfish-actions.pod:2534
9286 msgid "This loads a kernel module in the appliance."
9287 msgstr ""
9288
9289 # type: textblock
9290 #: ../src/guestfs-actions.pod:3281 ../fish/guestfish-actions.pod:2536
9291 msgid ""
9292 "The kernel module must have been whitelisted when libguestfs was built (see "
9293 "C<appliance/kmod.whitelist.in> in the source)."
9294 msgstr ""
9295
9296 # type: =head2
9297 #: ../src/guestfs-actions.pod:3286
9298 msgid "guestfs_mount"
9299 msgstr ""
9300
9301 # type: verbatim
9302 #: ../src/guestfs-actions.pod:3288
9303 #, no-wrap
9304 msgid ""
9305 " int guestfs_mount (guestfs_h *g,\n"
9306 "\t\tconst char *device,\n"
9307 "\t\tconst char *mountpoint);\n"
9308 "\n"
9309 msgstr ""
9310
9311 # type: textblock
9312 #: ../src/guestfs-actions.pod:3292 ../fish/guestfish-actions.pod:2543
9313 msgid ""
9314 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9315 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9316 "those block devices contain partitions, they will have the usual names "
9317 "(eg. C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9318 msgstr ""
9319
9320 # type: textblock
9321 #: ../src/guestfs-actions.pod:3298 ../fish/guestfish-actions.pod:2549
9322 msgid ""
9323 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9324 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9325 "mounted on directories which already exist."
9326 msgstr ""
9327
9328 # type: textblock
9329 #: ../src/guestfs-actions.pod:3303 ../fish/guestfish-actions.pod:2554
9330 msgid ""
9331 "The mounted filesystem is writable, if we have sufficient permissions on the "
9332 "underlying device."
9333 msgstr ""
9334
9335 # type: textblock
9336 #: ../src/guestfs-actions.pod:3306
9337 msgid ""
9338 "B<Important note:> When you use this call, the filesystem options C<sync> "
9339 "and C<noatime> are set implicitly.  This was originally done because we "
9340 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9341 "very large negative performance impact and negligible effect on "
9342 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9343 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9344 "(use an empty string for the first parameter if you don't want any options)."
9345 msgstr ""
9346
9347 # type: =head2
9348 #: ../src/guestfs-actions.pod:3318
9349 msgid "guestfs_mount_loop"
9350 msgstr ""
9351
9352 # type: verbatim
9353 #: ../src/guestfs-actions.pod:3320
9354 #, no-wrap
9355 msgid ""
9356 " int guestfs_mount_loop (guestfs_h *g,\n"
9357 "\t\tconst char *file,\n"
9358 "\t\tconst char *mountpoint);\n"
9359 "\n"
9360 msgstr ""
9361
9362 # type: textblock
9363 #: ../src/guestfs-actions.pod:3324 ../fish/guestfish-actions.pod:2571
9364 msgid ""
9365 "This command lets you mount C<file> (a filesystem image in a file) on a "
9366 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9367 "mountpoint>."
9368 msgstr ""
9369
9370 # type: =head2
9371 #: ../src/guestfs-actions.pod:3330
9372 msgid "guestfs_mount_options"
9373 msgstr ""
9374
9375 # type: verbatim
9376 #: ../src/guestfs-actions.pod:3332
9377 #, no-wrap
9378 msgid ""
9379 " int guestfs_mount_options (guestfs_h *g,\n"
9380 "\t\tconst char *options,\n"
9381 "\t\tconst char *device,\n"
9382 "\t\tconst char *mountpoint);\n"
9383 "\n"
9384 msgstr ""
9385
9386 # type: textblock
9387 #: ../src/guestfs-actions.pod:3337
9388 msgid ""
9389 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9390 "the mount options as for the L<mount(8)> I<-o> flag."
9391 msgstr ""
9392
9393 # type: textblock
9394 #: ../src/guestfs-actions.pod:3341 ../fish/guestfish-actions.pod:2583
9395 msgid ""
9396 "If the C<options> parameter is an empty string, then no options are passed "
9397 "(all options default to whatever the filesystem uses)."
9398 msgstr ""
9399
9400 # type: =head2
9401 #: ../src/guestfs-actions.pod:3347
9402 msgid "guestfs_mount_ro"
9403 msgstr ""
9404
9405 # type: verbatim
9406 #: ../src/guestfs-actions.pod:3349
9407 #, no-wrap
9408 msgid ""
9409 " int guestfs_mount_ro (guestfs_h *g,\n"
9410 "\t\tconst char *device,\n"
9411 "\t\tconst char *mountpoint);\n"
9412 "\n"
9413 msgstr ""
9414
9415 # type: textblock
9416 #: ../src/guestfs-actions.pod:3353
9417 msgid ""
9418 "This is the same as the C<guestfs_mount> command, but it mounts the "
9419 "filesystem with the read-only (I<-o ro>) flag."
9420 msgstr ""
9421
9422 # type: =head2
9423 #: ../src/guestfs-actions.pod:3358
9424 msgid "guestfs_mount_vfs"
9425 msgstr ""
9426
9427 # type: verbatim
9428 #: ../src/guestfs-actions.pod:3360
9429 #, no-wrap
9430 msgid ""
9431 " int guestfs_mount_vfs (guestfs_h *g,\n"
9432 "\t\tconst char *options,\n"
9433 "\t\tconst char *vfstype,\n"
9434 "\t\tconst char *device,\n"
9435 "\t\tconst char *mountpoint);\n"
9436 "\n"
9437 msgstr ""
9438
9439 # type: textblock
9440 #: ../src/guestfs-actions.pod:3366
9441 msgid ""
9442 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9443 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and "
9444 "I<-t> flags."
9445 msgstr ""
9446
9447 # type: =head2
9448 #: ../src/guestfs-actions.pod:3372
9449 msgid "guestfs_mountpoints"
9450 msgstr ""
9451
9452 # type: verbatim
9453 #: ../src/guestfs-actions.pod:3374
9454 #, no-wrap
9455 msgid ""
9456 " char **guestfs_mountpoints (guestfs_h *g);\n"
9457 "\n"
9458 msgstr ""
9459
9460 # type: textblock
9461 #: ../src/guestfs-actions.pod:3376
9462 msgid ""
9463 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9464 "devices.  This one returns a hash table (map) of device name to directory "
9465 "where the device is mounted."
9466 msgstr ""
9467
9468 # type: =head2
9469 #: ../src/guestfs-actions.pod:3386
9470 msgid "guestfs_mounts"
9471 msgstr ""
9472
9473 # type: verbatim
9474 #: ../src/guestfs-actions.pod:3388
9475 #, no-wrap
9476 msgid ""
9477 " char **guestfs_mounts (guestfs_h *g);\n"
9478 "\n"
9479 msgstr ""
9480
9481 # type: textblock
9482 #: ../src/guestfs-actions.pod:3390 ../fish/guestfish-actions.pod:2614
9483 msgid ""
9484 "This returns the list of currently mounted filesystems.  It returns the list "
9485 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9486 msgstr ""
9487
9488 # type: textblock
9489 #: ../src/guestfs-actions.pod:3393 ../fish/guestfish-actions.pod:2617
9490 msgid "Some internal mounts are not shown."
9491 msgstr ""
9492
9493 # type: textblock
9494 #: ../src/guestfs-actions.pod:3395
9495 msgid "See also: C<guestfs_mountpoints>"
9496 msgstr ""
9497
9498 # type: =head2
9499 #: ../src/guestfs-actions.pod:3401
9500 msgid "guestfs_mv"
9501 msgstr ""
9502
9503 # type: verbatim
9504 #: ../src/guestfs-actions.pod:3403
9505 #, no-wrap
9506 msgid ""
9507 " int guestfs_mv (guestfs_h *g,\n"
9508 "\t\tconst char *src,\n"
9509 "\t\tconst char *dest);\n"
9510 "\n"
9511 msgstr ""
9512
9513 # type: textblock
9514 #: ../src/guestfs-actions.pod:3407 ../fish/guestfish-actions.pod:2625
9515 msgid ""
9516 "This moves a file from C<src> to C<dest> where C<dest> is either a "
9517 "destination filename or destination directory."
9518 msgstr ""
9519
9520 # type: =head2
9521 #: ../src/guestfs-actions.pod:3412
9522 msgid "guestfs_ntfs_3g_probe"
9523 msgstr ""
9524
9525 # type: verbatim
9526 #: ../src/guestfs-actions.pod:3414
9527 #, no-wrap
9528 msgid ""
9529 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
9530 "\t\tint rw,\n"
9531 "\t\tconst char *device);\n"
9532 "\n"
9533 msgstr ""
9534
9535 # type: textblock
9536 #: ../src/guestfs-actions.pod:3418 ../fish/guestfish-actions.pod:2632
9537 msgid ""
9538 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
9539 "C<device> for mountability.  (Not all NTFS volumes can be mounted "
9540 "read-write, and some cannot be mounted at all)."
9541 msgstr ""
9542
9543 # type: textblock
9544 #: ../src/guestfs-actions.pod:3422 ../fish/guestfish-actions.pod:2636
9545 msgid ""
9546 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
9547 "can be mounted read-write.  Set it to false if you want to test if the "
9548 "volume can be mounted read-only."
9549 msgstr ""
9550
9551 # type: textblock
9552 #: ../src/guestfs-actions.pod:3426 ../fish/guestfish-actions.pod:2640
9553 msgid ""
9554 "The return value is an integer which C<0> if the operation would succeed, or "
9555 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
9556 msgstr ""
9557
9558 # type: =head2
9559 #: ../src/guestfs-actions.pod:3432
9560 msgid "guestfs_ntfsresize"
9561 msgstr ""
9562
9563 # type: verbatim
9564 #: ../src/guestfs-actions.pod:3434
9565 #, no-wrap
9566 msgid ""
9567 " int guestfs_ntfsresize (guestfs_h *g,\n"
9568 "\t\tconst char *device);\n"
9569 "\n"
9570 msgstr ""
9571
9572 # type: textblock
9573 #: ../src/guestfs-actions.pod:3437 ../fish/guestfish-actions.pod:2648
9574 msgid ""
9575 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
9576 "size of the underlying device.  See also L<ntfsresize(8)>."
9577 msgstr ""
9578
9579 # type: =head2
9580 #: ../src/guestfs-actions.pod:3443
9581 msgid "guestfs_ntfsresize_size"
9582 msgstr ""
9583
9584 # type: verbatim
9585 #: ../src/guestfs-actions.pod:3445
9586 #, no-wrap
9587 msgid ""
9588 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
9589 "\t\tconst char *device,\n"
9590 "\t\tint64_t size);\n"
9591 "\n"
9592 msgstr ""
9593
9594 # type: textblock
9595 #: ../src/guestfs-actions.pod:3449
9596 msgid ""
9597 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
9598 "to specify the new size (in bytes) explicitly."
9599 msgstr ""
9600
9601 # type: =head2
9602 #: ../src/guestfs-actions.pod:3454
9603 msgid "guestfs_part_add"
9604 msgstr ""
9605
9606 # type: verbatim
9607 #: ../src/guestfs-actions.pod:3456
9608 #, no-wrap
9609 msgid ""
9610 " int guestfs_part_add (guestfs_h *g,\n"
9611 "\t\tconst char *device,\n"
9612 "\t\tconst char *prlogex,\n"
9613 "\t\tint64_t startsect,\n"
9614 "\t\tint64_t endsect);\n"
9615 "\n"
9616 msgstr ""
9617
9618 # type: textblock
9619 #: ../src/guestfs-actions.pod:3462
9620 msgid ""
9621 "This command adds a partition to C<device>.  If there is no partition table "
9622 "on the device, call C<guestfs_part_init> first."
9623 msgstr ""
9624
9625 # type: textblock
9626 #: ../src/guestfs-actions.pod:3465 ../fish/guestfish-actions.pod:2666
9627 msgid ""
9628 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
9629 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
9630 "C<logical>) and C<e> (or C<extended>) partition types."
9631 msgstr ""
9632
9633 # type: textblock
9634 #: ../src/guestfs-actions.pod:3470 ../fish/guestfish-actions.pod:2671
9635 msgid ""
9636 "C<startsect> and C<endsect> are the start and end of the partition in "
9637 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
9638 "from the end of the disk (C<-1> is the last sector)."
9639 msgstr ""
9640
9641 # type: textblock
9642 #: ../src/guestfs-actions.pod:3474
9643 msgid ""
9644 "Creating a partition which covers the whole disk is not so easy.  Use "
9645 "C<guestfs_part_disk> to do that."
9646 msgstr ""
9647
9648 # type: =head2
9649 #: ../src/guestfs-actions.pod:3479
9650 msgid "guestfs_part_del"
9651 msgstr ""
9652
9653 # type: verbatim
9654 #: ../src/guestfs-actions.pod:3481
9655 #, no-wrap
9656 msgid ""
9657 " int guestfs_part_del (guestfs_h *g,\n"
9658 "\t\tconst char *device,\n"
9659 "\t\tint partnum);\n"
9660 "\n"
9661 msgstr ""
9662
9663 # type: textblock
9664 #: ../src/guestfs-actions.pod:3485 ../fish/guestfish-actions.pod:2682
9665 msgid "This command deletes the partition numbered C<partnum> on C<device>."
9666 msgstr ""
9667
9668 # type: textblock
9669 #: ../src/guestfs-actions.pod:3487 ../fish/guestfish-actions.pod:2684
9670 msgid ""
9671 "Note that in the case of MBR partitioning, deleting an extended partition "
9672 "also deletes any logical partitions it contains."
9673 msgstr ""
9674
9675 # type: =head2
9676 #: ../src/guestfs-actions.pod:3493
9677 msgid "guestfs_part_disk"
9678 msgstr ""
9679
9680 # type: verbatim
9681 #: ../src/guestfs-actions.pod:3495
9682 #, no-wrap
9683 msgid ""
9684 " int guestfs_part_disk (guestfs_h *g,\n"
9685 "\t\tconst char *device,\n"
9686 "\t\tconst char *parttype);\n"
9687 "\n"
9688 msgstr ""
9689
9690 # type: textblock
9691 #: ../src/guestfs-actions.pod:3499
9692 msgid ""
9693 "This command is simply a combination of C<guestfs_part_init> followed by "
9694 "C<guestfs_part_add> to create a single primary partition covering the whole "
9695 "disk."
9696 msgstr ""
9697
9698 # type: textblock
9699 #: ../src/guestfs-actions.pod:3503
9700 msgid ""
9701 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
9702 "possible values are described in C<guestfs_part_init>."
9703 msgstr ""
9704
9705 # type: =head2
9706 #: ../src/guestfs-actions.pod:3511
9707 msgid "guestfs_part_get_bootable"
9708 msgstr ""
9709
9710 # type: verbatim
9711 #: ../src/guestfs-actions.pod:3513
9712 #, no-wrap
9713 msgid ""
9714 " int guestfs_part_get_bootable (guestfs_h *g,\n"
9715 "\t\tconst char *device,\n"
9716 "\t\tint partnum);\n"
9717 "\n"
9718 msgstr ""
9719
9720 # type: textblock
9721 #: ../src/guestfs-actions.pod:3517 ../fish/guestfish-actions.pod:2706
9722 msgid ""
9723 "This command returns true if the partition C<partnum> on C<device> has the "
9724 "bootable flag set."
9725 msgstr ""
9726
9727 # type: textblock
9728 #: ../src/guestfs-actions.pod:3520
9729 msgid "See also C<guestfs_part_set_bootable>."
9730 msgstr ""
9731
9732 # type: =head2
9733 #: ../src/guestfs-actions.pod:3524
9734 msgid "guestfs_part_get_mbr_id"
9735 msgstr ""
9736
9737 # type: verbatim
9738 #: ../src/guestfs-actions.pod:3526
9739 #, no-wrap
9740 msgid ""
9741 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
9742 "\t\tconst char *device,\n"
9743 "\t\tint partnum);\n"
9744 "\n"
9745 msgstr ""
9746
9747 # type: textblock
9748 #: ../src/guestfs-actions.pod:3530 ../fish/guestfish-actions.pod:2715
9749 msgid ""
9750 "Returns the MBR type byte (also known as the ID byte) from the numbered "
9751 "partition C<partnum>."
9752 msgstr ""
9753
9754 # type: textblock
9755 #: ../src/guestfs-actions.pod:3533 ../src/guestfs-actions.pod:3695
9756 msgid ""
9757 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
9758 "undefined results for other partition table types (see "
9759 "C<guestfs_part_get_parttype>)."
9760 msgstr ""
9761
9762 # type: =head2
9763 #: ../src/guestfs-actions.pod:3539
9764 msgid "guestfs_part_get_parttype"
9765 msgstr ""
9766
9767 # type: verbatim
9768 #: ../src/guestfs-actions.pod:3541
9769 #, no-wrap
9770 msgid ""
9771 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
9772 "\t\tconst char *device);\n"
9773 "\n"
9774 msgstr ""
9775
9776 # type: textblock
9777 #: ../src/guestfs-actions.pod:3544 ../fish/guestfish-actions.pod:2726
9778 msgid ""
9779 "This command examines the partition table on C<device> and returns the "
9780 "partition table type (format) being used."
9781 msgstr ""
9782
9783 # type: textblock
9784 #: ../src/guestfs-actions.pod:3547
9785 msgid ""
9786 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
9787 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
9788 "possible, although unusual.  See C<guestfs_part_init> for a full list."
9789 msgstr ""
9790
9791 # type: =head2
9792 #: ../src/guestfs-actions.pod:3555
9793 msgid "guestfs_part_init"
9794 msgstr ""
9795
9796 # type: verbatim
9797 #: ../src/guestfs-actions.pod:3557
9798 #, no-wrap
9799 msgid ""
9800 " int guestfs_part_init (guestfs_h *g,\n"
9801 "\t\tconst char *device,\n"
9802 "\t\tconst char *parttype);\n"
9803 "\n"
9804 msgstr ""
9805
9806 # type: textblock
9807 #: ../src/guestfs-actions.pod:3561 ../fish/guestfish-actions.pod:2738
9808 msgid ""
9809 "This creates an empty partition table on C<device> of one of the partition "
9810 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
9811 "(for large disks)."
9812 msgstr ""
9813
9814 # type: textblock
9815 #: ../src/guestfs-actions.pod:3565
9816 msgid ""
9817 "Initially there are no partitions.  Following this, you should call "
9818 "C<guestfs_part_add> for each partition required."
9819 msgstr ""
9820
9821 # type: textblock
9822 #: ../src/guestfs-actions.pod:3568 ../fish/guestfish-actions.pod:2745
9823 msgid "Possible values for C<parttype> are:"
9824 msgstr ""
9825
9826 # type: =item
9827 #: ../src/guestfs-actions.pod:3572 ../fish/guestfish-actions.pod:2749
9828 msgid "B<efi> | B<gpt>"
9829 msgstr ""
9830
9831 # type: textblock
9832 #: ../src/guestfs-actions.pod:3574 ../fish/guestfish-actions.pod:2751
9833 msgid "Intel EFI / GPT partition table."
9834 msgstr ""
9835
9836 # type: textblock
9837 #: ../src/guestfs-actions.pod:3576 ../fish/guestfish-actions.pod:2753
9838 msgid ""
9839 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
9840 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
9841 "the C<mbr> format."
9842 msgstr ""
9843
9844 # type: =item
9845 #: ../src/guestfs-actions.pod:3580 ../fish/guestfish-actions.pod:2757
9846 msgid "B<mbr> | B<msdos>"
9847 msgstr ""
9848
9849 # type: textblock
9850 #: ../src/guestfs-actions.pod:3582 ../fish/guestfish-actions.pod:2759
9851 msgid ""
9852 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
9853 "Windows.  This partition type will B<only> work for device sizes up to 2 "
9854 "TB.  For large disks we recommend using C<gpt>."
9855 msgstr ""
9856
9857 # type: textblock
9858 #: ../src/guestfs-actions.pod:3589 ../fish/guestfish-actions.pod:2766
9859 msgid "Other partition table types that may work but are not supported include:"
9860 msgstr ""
9861
9862 # type: =item
9863 #: ../src/guestfs-actions.pod:3594 ../fish/guestfish-actions.pod:2771
9864 msgid "B<aix>"
9865 msgstr ""
9866
9867 # type: textblock
9868 #: ../src/guestfs-actions.pod:3596 ../fish/guestfish-actions.pod:2773
9869 msgid "AIX disk labels."
9870 msgstr ""
9871
9872 # type: =item
9873 #: ../src/guestfs-actions.pod:3598 ../fish/guestfish-actions.pod:2775
9874 msgid "B<amiga> | B<rdb>"
9875 msgstr ""
9876
9877 # type: textblock
9878 #: ../src/guestfs-actions.pod:3600 ../fish/guestfish-actions.pod:2777
9879 msgid "Amiga \"Rigid Disk Block\" format."
9880 msgstr ""
9881
9882 # type: =item
9883 #: ../src/guestfs-actions.pod:3602 ../fish/guestfish-actions.pod:2779
9884 msgid "B<bsd>"
9885 msgstr ""
9886
9887 # type: textblock
9888 #: ../src/guestfs-actions.pod:3604 ../fish/guestfish-actions.pod:2781
9889 msgid "BSD disk labels."
9890 msgstr ""
9891
9892 # type: =item
9893 #: ../src/guestfs-actions.pod:3606 ../fish/guestfish-actions.pod:2783
9894 msgid "B<dasd>"
9895 msgstr ""
9896
9897 # type: textblock
9898 #: ../src/guestfs-actions.pod:3608 ../fish/guestfish-actions.pod:2785
9899 msgid "DASD, used on IBM mainframes."
9900 msgstr ""
9901
9902 # type: =item
9903 #: ../src/guestfs-actions.pod:3610 ../fish/guestfish-actions.pod:2787
9904 msgid "B<dvh>"
9905 msgstr ""
9906
9907 # type: textblock
9908 #: ../src/guestfs-actions.pod:3612 ../fish/guestfish-actions.pod:2789
9909 msgid "MIPS/SGI volumes."
9910 msgstr ""
9911
9912 # type: =item
9913 #: ../src/guestfs-actions.pod:3614 ../fish/guestfish-actions.pod:2791
9914 msgid "B<mac>"
9915 msgstr ""
9916
9917 # type: textblock
9918 #: ../src/guestfs-actions.pod:3616 ../fish/guestfish-actions.pod:2793
9919 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
9920 msgstr ""
9921
9922 # type: =item
9923 #: ../src/guestfs-actions.pod:3618 ../fish/guestfish-actions.pod:2795
9924 msgid "B<pc98>"
9925 msgstr ""
9926
9927 # type: textblock
9928 #: ../src/guestfs-actions.pod:3620 ../fish/guestfish-actions.pod:2797
9929 msgid "NEC PC-98 format, common in Japan apparently."
9930 msgstr ""
9931
9932 # type: =item
9933 #: ../src/guestfs-actions.pod:3622 ../fish/guestfish-actions.pod:2799
9934 msgid "B<sun>"
9935 msgstr ""
9936
9937 # type: textblock
9938 #: ../src/guestfs-actions.pod:3624 ../fish/guestfish-actions.pod:2801
9939 msgid "Sun disk labels."
9940 msgstr ""
9941
9942 # type: =head2
9943 #: ../src/guestfs-actions.pod:3630
9944 msgid "guestfs_part_list"
9945 msgstr ""
9946
9947 # type: verbatim
9948 #: ../src/guestfs-actions.pod:3632
9949 #, no-wrap
9950 msgid ""
9951 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
9952 "\t\tconst char *device);\n"
9953 "\n"
9954 msgstr ""
9955
9956 # type: textblock
9957 #: ../src/guestfs-actions.pod:3635 ../fish/guestfish-actions.pod:2809
9958 msgid ""
9959 "This command parses the partition table on C<device> and returns the list of "
9960 "partitions found."
9961 msgstr ""
9962
9963 # type: textblock
9964 #: ../src/guestfs-actions.pod:3638 ../fish/guestfish-actions.pod:2812
9965 msgid "The fields in the returned structure are:"
9966 msgstr ""
9967
9968 # type: =item
9969 #: ../src/guestfs-actions.pod:3642 ../fish/guestfish-actions.pod:2816
9970 msgid "B<part_num>"
9971 msgstr ""
9972
9973 # type: textblock
9974 #: ../src/guestfs-actions.pod:3644 ../fish/guestfish-actions.pod:2818
9975 msgid "Partition number, counting from 1."
9976 msgstr ""
9977
9978 # type: =item
9979 #: ../src/guestfs-actions.pod:3646 ../fish/guestfish-actions.pod:2820
9980 msgid "B<part_start>"
9981 msgstr ""
9982
9983 # type: textblock
9984 #: ../src/guestfs-actions.pod:3648
9985 msgid ""
9986 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
9987 "the device's sector size, see C<guestfs_blockdev_getss>."
9988 msgstr ""
9989
9990 # type: =item
9991 #: ../src/guestfs-actions.pod:3651 ../fish/guestfish-actions.pod:2825
9992 msgid "B<part_end>"
9993 msgstr ""
9994
9995 # type: textblock
9996 #: ../src/guestfs-actions.pod:3653 ../fish/guestfish-actions.pod:2827
9997 msgid "End of the partition in bytes."
9998 msgstr ""
9999
10000 # type: =item
10001 #: ../src/guestfs-actions.pod:3655 ../fish/guestfish-actions.pod:2829
10002 msgid "B<part_size>"
10003 msgstr ""
10004
10005 # type: textblock
10006 #: ../src/guestfs-actions.pod:3657 ../fish/guestfish-actions.pod:2831
10007 msgid "Size of the partition in bytes."
10008 msgstr ""
10009
10010 # type: textblock
10011 #: ../src/guestfs-actions.pod:3661
10012 msgid ""
10013 "This function returns a C<struct guestfs_partition_list *> (see "
10014 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10015 "must call C<guestfs_free_partition_list> after use>."
10016 msgstr ""
10017
10018 # type: =head2
10019 #: ../src/guestfs-actions.pod:3666
10020 msgid "guestfs_part_set_bootable"
10021 msgstr ""
10022
10023 # type: verbatim
10024 #: ../src/guestfs-actions.pod:3668
10025 #, no-wrap
10026 msgid ""
10027 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10028 "\t\tconst char *device,\n"
10029 "\t\tint partnum,\n"
10030 "\t\tint bootable);\n"
10031 "\n"
10032 msgstr ""
10033
10034 # type: textblock
10035 #: ../src/guestfs-actions.pod:3673 ../fish/guestfish-actions.pod:2839
10036 msgid ""
10037 "This sets the bootable flag on partition numbered C<partnum> on device "
10038 "C<device>.  Note that partitions are numbered from 1."
10039 msgstr ""
10040
10041 # type: textblock
10042 #: ../src/guestfs-actions.pod:3676 ../fish/guestfish-actions.pod:2842
10043 msgid ""
10044 "The bootable flag is used by some operating systems (notably Windows) to "
10045 "determine which partition to boot from.  It is by no means universally "
10046 "recognized."
10047 msgstr ""
10048
10049 # type: =head2
10050 #: ../src/guestfs-actions.pod:3682
10051 msgid "guestfs_part_set_mbr_id"
10052 msgstr ""
10053
10054 # type: verbatim
10055 #: ../src/guestfs-actions.pod:3684
10056 #, no-wrap
10057 msgid ""
10058 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10059 "\t\tconst char *device,\n"
10060 "\t\tint partnum,\n"
10061 "\t\tint idbyte);\n"
10062 "\n"
10063 msgstr ""
10064
10065 # type: textblock
10066 #: ../src/guestfs-actions.pod:3689 ../fish/guestfish-actions.pod:2850
10067 msgid ""
10068 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10069 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10070 "documentation are in fact hexadecimal numbers, but usually documented "
10071 "without any leading \"0x\" which might be confusing."
10072 msgstr ""
10073
10074 # type: =head2
10075 #: ../src/guestfs-actions.pod:3701
10076 msgid "guestfs_part_set_name"
10077 msgstr ""
10078
10079 # type: verbatim
10080 #: ../src/guestfs-actions.pod:3703
10081 #, no-wrap
10082 msgid ""
10083 " int guestfs_part_set_name (guestfs_h *g,\n"
10084 "\t\tconst char *device,\n"
10085 "\t\tint partnum,\n"
10086 "\t\tconst char *name);\n"
10087 "\n"
10088 msgstr ""
10089
10090 # type: textblock
10091 #: ../src/guestfs-actions.pod:3708 ../fish/guestfish-actions.pod:2864
10092 msgid ""
10093 "This sets the partition name on partition numbered C<partnum> on device "
10094 "C<device>.  Note that partitions are numbered from 1."
10095 msgstr ""
10096
10097 # type: textblock
10098 #: ../src/guestfs-actions.pod:3711 ../fish/guestfish-actions.pod:2867
10099 msgid ""
10100 "The partition name can only be set on certain types of partition table.  "
10101 "This works on C<gpt> but not on C<mbr> partitions."
10102 msgstr ""
10103
10104 # type: =head2
10105 #: ../src/guestfs-actions.pod:3716
10106 msgid "guestfs_ping_daemon"
10107 msgstr ""
10108
10109 # type: verbatim
10110 #: ../src/guestfs-actions.pod:3718
10111 #, no-wrap
10112 msgid ""
10113 " int guestfs_ping_daemon (guestfs_h *g);\n"
10114 "\n"
10115 msgstr ""
10116
10117 # type: textblock
10118 #: ../src/guestfs-actions.pod:3720 ../fish/guestfish-actions.pod:2874
10119 msgid ""
10120 "This is a test probe into the guestfs daemon running inside the qemu "
10121 "subprocess.  Calling this function checks that the daemon responds to the "
10122 "ping message, without affecting the daemon or attached block device(s) in "
10123 "any other way."
10124 msgstr ""
10125
10126 # type: =head2
10127 #: ../src/guestfs-actions.pod:3727
10128 msgid "guestfs_pread"
10129 msgstr ""
10130
10131 # type: verbatim
10132 #: ../src/guestfs-actions.pod:3729
10133 #, no-wrap
10134 msgid ""
10135 " char *guestfs_pread (guestfs_h *g,\n"
10136 "\t\tconst char *path,\n"
10137 "\t\tint count,\n"
10138 "\t\tint64_t offset,\n"
10139 "\t\tsize_t *size_r);\n"
10140 "\n"
10141 msgstr ""
10142
10143 # type: textblock
10144 #: ../src/guestfs-actions.pod:3735 ../fish/guestfish-actions.pod:2883
10145 msgid ""
10146 "This command lets you read part of a file.  It reads C<count> bytes of the "
10147 "file, starting at C<offset>, from file C<path>."
10148 msgstr ""
10149
10150 # type: textblock
10151 #: ../src/guestfs-actions.pod:3738 ../fish/guestfish-actions.pod:2886
10152 msgid ""
10153 "This may read fewer bytes than requested.  For further details see the "
10154 "L<pread(2)> system call."
10155 msgstr ""
10156
10157 # type: textblock
10158 #: ../src/guestfs-actions.pod:3741
10159 msgid "See also C<guestfs_pwrite>."
10160 msgstr ""
10161
10162 # type: =head2
10163 #: ../src/guestfs-actions.pod:3750
10164 msgid "guestfs_pvcreate"
10165 msgstr ""
10166
10167 # type: verbatim
10168 #: ../src/guestfs-actions.pod:3752
10169 #, no-wrap
10170 msgid ""
10171 " int guestfs_pvcreate (guestfs_h *g,\n"
10172 "\t\tconst char *device);\n"
10173 "\n"
10174 msgstr ""
10175
10176 # type: textblock
10177 #: ../src/guestfs-actions.pod:3755 ../fish/guestfish-actions.pod:2898
10178 msgid ""
10179 "This creates an LVM physical volume on the named C<device>, where C<device> "
10180 "should usually be a partition name such as C</dev/sda1>."
10181 msgstr ""
10182
10183 # type: =head2
10184 #: ../src/guestfs-actions.pod:3761
10185 msgid "guestfs_pvremove"
10186 msgstr ""
10187
10188 # type: verbatim
10189 #: ../src/guestfs-actions.pod:3763
10190 #, no-wrap
10191 msgid ""
10192 " int guestfs_pvremove (guestfs_h *g,\n"
10193 "\t\tconst char *device);\n"
10194 "\n"
10195 msgstr ""
10196
10197 # type: textblock
10198 #: ../src/guestfs-actions.pod:3766 ../fish/guestfish-actions.pod:2906
10199 msgid ""
10200 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10201 "it."
10202 msgstr ""
10203
10204 # type: textblock
10205 #: ../src/guestfs-actions.pod:3769 ../fish/guestfish-actions.pod:2909
10206 msgid ""
10207 "The implementation uses the C<pvremove> command which refuses to wipe "
10208 "physical volumes that contain any volume groups, so you have to remove those "
10209 "first."
10210 msgstr ""
10211
10212 # type: =head2
10213 #: ../src/guestfs-actions.pod:3775
10214 msgid "guestfs_pvresize"
10215 msgstr ""
10216
10217 # type: verbatim
10218 #: ../src/guestfs-actions.pod:3777
10219 #, no-wrap
10220 msgid ""
10221 " int guestfs_pvresize (guestfs_h *g,\n"
10222 "\t\tconst char *device);\n"
10223 "\n"
10224 msgstr ""
10225
10226 # type: textblock
10227 #: ../src/guestfs-actions.pod:3780 ../fish/guestfish-actions.pod:2917
10228 msgid ""
10229 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10230 "the new size of the underlying device."
10231 msgstr ""
10232
10233 # type: =head2
10234 #: ../src/guestfs-actions.pod:3785
10235 msgid "guestfs_pvresize_size"
10236 msgstr ""
10237
10238 # type: verbatim
10239 #: ../src/guestfs-actions.pod:3787
10240 #, no-wrap
10241 msgid ""
10242 " int guestfs_pvresize_size (guestfs_h *g,\n"
10243 "\t\tconst char *device,\n"
10244 "\t\tint64_t size);\n"
10245 "\n"
10246 msgstr ""
10247
10248 # type: textblock
10249 #: ../src/guestfs-actions.pod:3791
10250 msgid ""
10251 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10252 "specify the new size (in bytes) explicitly."
10253 msgstr ""
10254
10255 # type: =head2
10256 #: ../src/guestfs-actions.pod:3796
10257 msgid "guestfs_pvs"
10258 msgstr ""
10259
10260 # type: verbatim
10261 #: ../src/guestfs-actions.pod:3798
10262 #, no-wrap
10263 msgid ""
10264 " char **guestfs_pvs (guestfs_h *g);\n"
10265 "\n"
10266 msgstr ""
10267
10268 # type: textblock
10269 #: ../src/guestfs-actions.pod:3800 ../fish/guestfish-actions.pod:2931
10270 msgid ""
10271 "List all the physical volumes detected.  This is the equivalent of the "
10272 "L<pvs(8)> command."
10273 msgstr ""
10274
10275 # type: textblock
10276 #: ../src/guestfs-actions.pod:3803 ../fish/guestfish-actions.pod:2934
10277 msgid ""
10278 "This returns a list of just the device names that contain PVs "
10279 "(eg. C</dev/sda2>)."
10280 msgstr ""
10281
10282 # type: textblock
10283 #: ../src/guestfs-actions.pod:3806
10284 msgid "See also C<guestfs_pvs_full>."
10285 msgstr ""
10286
10287 # type: =head2
10288 #: ../src/guestfs-actions.pod:3812
10289 msgid "guestfs_pvs_full"
10290 msgstr ""
10291
10292 # type: verbatim
10293 #: ../src/guestfs-actions.pod:3814
10294 #, no-wrap
10295 msgid ""
10296 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10297 "\n"
10298 msgstr ""
10299
10300 # type: textblock
10301 #: ../src/guestfs-actions.pod:3816 ../fish/guestfish-actions.pod:2943
10302 msgid ""
10303 "List all the physical volumes detected.  This is the equivalent of the "
10304 "L<pvs(8)> command.  The \"full\" version includes all fields."
10305 msgstr ""
10306
10307 # type: textblock
10308 #: ../src/guestfs-actions.pod:3819
10309 msgid ""
10310 "This function returns a C<struct guestfs_lvm_pv_list *> (see "
10311 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10312 "must call C<guestfs_free_lvm_pv_list> after use>."
10313 msgstr ""
10314
10315 # type: =head2
10316 #: ../src/guestfs-actions.pod:3824
10317 msgid "guestfs_pvuuid"
10318 msgstr ""
10319
10320 # type: verbatim
10321 #: ../src/guestfs-actions.pod:3826
10322 #, no-wrap
10323 msgid ""
10324 " char *guestfs_pvuuid (guestfs_h *g,\n"
10325 "\t\tconst char *device);\n"
10326 "\n"
10327 msgstr ""
10328
10329 # type: textblock
10330 #: ../src/guestfs-actions.pod:3829 ../fish/guestfish-actions.pod:2950
10331 msgid "This command returns the UUID of the LVM PV C<device>."
10332 msgstr ""
10333
10334 # type: =head2
10335 #: ../src/guestfs-actions.pod:3834
10336 msgid "guestfs_pwrite"
10337 msgstr ""
10338
10339 # type: verbatim
10340 #: ../src/guestfs-actions.pod:3836
10341 #, no-wrap
10342 msgid ""
10343 " int guestfs_pwrite (guestfs_h *g,\n"
10344 "\t\tconst char *path,\n"
10345 "\t\tconst char *content,\n"
10346 "\t\tsize_t content_size,\n"
10347 "\t\tint64_t offset);\n"
10348 "\n"
10349 msgstr ""
10350
10351 # type: textblock
10352 #: ../src/guestfs-actions.pod:3842 ../fish/guestfish-actions.pod:2956
10353 msgid ""
10354 "This command writes to part of a file.  It writes the data buffer C<content> "
10355 "to the file C<path> starting at offset C<offset>."
10356 msgstr ""
10357
10358 # type: textblock
10359 #: ../src/guestfs-actions.pod:3845 ../fish/guestfish-actions.pod:2959
10360 msgid ""
10361 "This command implements the L<pwrite(2)> system call, and like that system "
10362 "call it may not write the full data requested.  The return value is the "
10363 "number of bytes that were actually written to the file.  This could even be "
10364 "0, although short writes are unlikely for regular files in ordinary "
10365 "circumstances."
10366 msgstr ""
10367
10368 # type: textblock
10369 #: ../src/guestfs-actions.pod:3851
10370 msgid "See also C<guestfs_pread>."
10371 msgstr ""
10372
10373 # type: =head2
10374 #: ../src/guestfs-actions.pod:3858
10375 msgid "guestfs_read_file"
10376 msgstr ""
10377
10378 # type: verbatim
10379 #: ../src/guestfs-actions.pod:3860
10380 #, no-wrap
10381 msgid ""
10382 " char *guestfs_read_file (guestfs_h *g,\n"
10383 "\t\tconst char *path,\n"
10384 "\t\tsize_t *size_r);\n"
10385 "\n"
10386 msgstr ""
10387
10388 # type: textblock
10389 #: ../src/guestfs-actions.pod:3864 ../fish/guestfish-actions.pod:2974
10390 msgid "This calls returns the contents of the file C<path> as a buffer."
10391 msgstr ""
10392
10393 # type: textblock
10394 #: ../src/guestfs-actions.pod:3867
10395 msgid ""
10396 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
10397 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
10398 "function is limited in the total size of file that can be handled."
10399 msgstr ""
10400
10401 # type: =head2
10402 #: ../src/guestfs-actions.pod:3879
10403 msgid "guestfs_read_lines"
10404 msgstr ""
10405
10406 # type: verbatim
10407 #: ../src/guestfs-actions.pod:3881
10408 #, no-wrap
10409 msgid ""
10410 " char **guestfs_read_lines (guestfs_h *g,\n"
10411 "\t\tconst char *path);\n"
10412 "\n"
10413 msgstr ""
10414
10415 # type: textblock
10416 #: ../src/guestfs-actions.pod:3886 ../fish/guestfish-actions.pod:2991
10417 msgid ""
10418 "The file contents are returned as a list of lines.  Trailing C<LF> and "
10419 "C<CRLF> character sequences are I<not> returned."
10420 msgstr ""
10421
10422 # type: textblock
10423 #: ../src/guestfs-actions.pod:3889
10424 msgid ""
10425 "Note that this function cannot correctly handle binary files (specifically, "
10426 "files containing C<\\0> character which is treated as end of line).  For "
10427 "those you need to use the C<guestfs_read_file> function which has a more "
10428 "complex interface."
10429 msgstr ""
10430
10431 # type: =head2
10432 #: ../src/guestfs-actions.pod:3898
10433 msgid "guestfs_readdir"
10434 msgstr ""
10435
10436 # type: verbatim
10437 #: ../src/guestfs-actions.pod:3900
10438 #, no-wrap
10439 msgid ""
10440 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
10441 "\t\tconst char *dir);\n"
10442 "\n"
10443 msgstr ""
10444
10445 # type: textblock
10446 #: ../src/guestfs-actions.pod:3903 ../fish/guestfish-actions.pod:3003
10447 msgid "This returns the list of directory entries in directory C<dir>."
10448 msgstr ""
10449
10450 # type: textblock
10451 #: ../src/guestfs-actions.pod:3905 ../fish/guestfish-actions.pod:3005
10452 msgid ""
10453 "All entries in the directory are returned, including C<.> and C<..>.  The "
10454 "entries are I<not> sorted, but returned in the same order as the underlying "
10455 "filesystem."
10456 msgstr ""
10457
10458 # type: textblock
10459 #: ../src/guestfs-actions.pod:3909 ../fish/guestfish-actions.pod:3009
10460 msgid ""
10461 "Also this call returns basic file type information about each file.  The "
10462 "C<ftyp> field will contain one of the following characters:"
10463 msgstr ""
10464
10465 # type: =item
10466 #: ../src/guestfs-actions.pod:3914 ../fish/guestfish-actions.pod:3014
10467 msgid "'b'"
10468 msgstr ""
10469
10470 # type: textblock
10471 #: ../src/guestfs-actions.pod:3916 ../fish/guestfish-actions.pod:3016
10472 msgid "Block special"
10473 msgstr ""
10474
10475 # type: =item
10476 #: ../src/guestfs-actions.pod:3918 ../fish/guestfish-actions.pod:3018
10477 msgid "'c'"
10478 msgstr ""
10479
10480 # type: textblock
10481 #: ../src/guestfs-actions.pod:3920 ../fish/guestfish-actions.pod:3020
10482 msgid "Char special"
10483 msgstr ""
10484
10485 # type: =item
10486 #: ../src/guestfs-actions.pod:3922 ../fish/guestfish-actions.pod:3022
10487 msgid "'d'"
10488 msgstr ""
10489
10490 # type: textblock
10491 #: ../src/guestfs-actions.pod:3924 ../fish/guestfish-actions.pod:3024
10492 msgid "Directory"
10493 msgstr ""
10494
10495 # type: =item
10496 #: ../src/guestfs-actions.pod:3926 ../fish/guestfish-actions.pod:3026
10497 msgid "'f'"
10498 msgstr ""
10499
10500 # type: textblock
10501 #: ../src/guestfs-actions.pod:3928 ../fish/guestfish-actions.pod:3028
10502 msgid "FIFO (named pipe)"
10503 msgstr ""
10504
10505 # type: =item
10506 #: ../src/guestfs-actions.pod:3930 ../fish/guestfish-actions.pod:3030
10507 msgid "'l'"
10508 msgstr ""
10509
10510 # type: textblock
10511 #: ../src/guestfs-actions.pod:3932 ../fish/guestfish-actions.pod:3032
10512 msgid "Symbolic link"
10513 msgstr ""
10514
10515 # type: =item
10516 #: ../src/guestfs-actions.pod:3934 ../fish/guestfish-actions.pod:3034
10517 msgid "'r'"
10518 msgstr ""
10519
10520 # type: textblock
10521 #: ../src/guestfs-actions.pod:3936 ../fish/guestfish-actions.pod:3036
10522 msgid "Regular file"
10523 msgstr ""
10524
10525 # type: =item
10526 #: ../src/guestfs-actions.pod:3938 ../fish/guestfish-actions.pod:3038
10527 msgid "'s'"
10528 msgstr ""
10529
10530 # type: textblock
10531 #: ../src/guestfs-actions.pod:3940 ../fish/guestfish-actions.pod:3040
10532 msgid "Socket"
10533 msgstr ""
10534
10535 # type: =item
10536 #: ../src/guestfs-actions.pod:3942 ../fish/guestfish-actions.pod:3042
10537 msgid "'u'"
10538 msgstr ""
10539
10540 # type: textblock
10541 #: ../src/guestfs-actions.pod:3944 ../fish/guestfish-actions.pod:3044
10542 msgid "Unknown file type"
10543 msgstr ""
10544
10545 # type: =item
10546 #: ../src/guestfs-actions.pod:3946 ../fish/guestfish-actions.pod:3046
10547 msgid "'?'"
10548 msgstr ""
10549
10550 # type: textblock
10551 #: ../src/guestfs-actions.pod:3948 ../fish/guestfish-actions.pod:3048
10552 msgid "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
10553 msgstr ""
10554
10555 # type: textblock
10556 #: ../src/guestfs-actions.pod:3953
10557 msgid ""
10558 "This function is primarily intended for use by programs.  To get a simple "
10559 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
10560 "consumption, use C<guestfs_ll>."
10561 msgstr ""
10562
10563 # type: textblock
10564 #: ../src/guestfs-actions.pod:3957
10565 msgid ""
10566 "This function returns a C<struct guestfs_dirent_list *> (see "
10567 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10568 "must call C<guestfs_free_dirent_list> after use>."
10569 msgstr ""
10570
10571 # type: =head2
10572 #: ../src/guestfs-actions.pod:3962
10573 msgid "guestfs_readlink"
10574 msgstr ""
10575
10576 # type: verbatim
10577 #: ../src/guestfs-actions.pod:3964
10578 #, no-wrap
10579 msgid ""
10580 " char *guestfs_readlink (guestfs_h *g,\n"
10581 "\t\tconst char *path);\n"
10582 "\n"
10583 msgstr ""
10584
10585 # type: textblock
10586 #: ../src/guestfs-actions.pod:3967 ../fish/guestfish-actions.pod:3061
10587 msgid "This command reads the target of a symbolic link."
10588 msgstr ""
10589
10590 # type: =head2
10591 #: ../src/guestfs-actions.pod:3972
10592 msgid "guestfs_readlinklist"
10593 msgstr ""
10594
10595 # type: verbatim
10596 #: ../src/guestfs-actions.pod:3974
10597 #, no-wrap
10598 msgid ""
10599 " char **guestfs_readlinklist (guestfs_h *g,\n"
10600 "\t\tconst char *path,\n"
10601 "\t\tchar *const *names);\n"
10602 "\n"
10603 msgstr ""
10604
10605 # type: textblock
10606 #: ../src/guestfs-actions.pod:3978 ../fish/guestfish-actions.pod:3067
10607 msgid ""
10608 "This call allows you to do a C<readlink> operation on multiple files, where "
10609 "all files are in the directory C<path>.  C<names> is the list of files from "
10610 "this directory."
10611 msgstr ""
10612
10613 # type: textblock
10614 #: ../src/guestfs-actions.pod:3982 ../fish/guestfish-actions.pod:3071
10615 msgid ""
10616 "On return you get a list of strings, with a one-to-one correspondence to the "
10617 "C<names> list.  Each string is the value of the symbolic link."
10618 msgstr ""
10619
10620 # type: textblock
10621 #: ../src/guestfs-actions.pod:3986 ../fish/guestfish-actions.pod:3075
10622 msgid ""
10623 "If the C<readlink(2)> operation fails on any name, then the corresponding "
10624 "result string is the empty string C<\"\">.  However the whole operation is "
10625 "completed even if there were C<readlink(2)> errors, and so you can call this "
10626 "function with names where you don't know if they are symbolic links already "
10627 "(albeit slightly less efficient)."
10628 msgstr ""
10629
10630 # type: textblock
10631 #: ../src/guestfs-actions.pod:3993 ../fish/guestfish-actions.pod:3082
10632 msgid ""
10633 "This call is intended for programs that want to efficiently list a directory "
10634 "contents without making many round-trips.  Very long directory listings "
10635 "might cause the protocol message size to be exceeded, causing this call to "
10636 "fail.  The caller must split up such requests into smaller groups of names."
10637 msgstr ""
10638
10639 # type: =head2
10640 #: ../src/guestfs-actions.pod:4004
10641 msgid "guestfs_realpath"
10642 msgstr ""
10643
10644 # type: verbatim
10645 #: ../src/guestfs-actions.pod:4006
10646 #, no-wrap
10647 msgid ""
10648 " char *guestfs_realpath (guestfs_h *g,\n"
10649 "\t\tconst char *path);\n"
10650 "\n"
10651 msgstr ""
10652
10653 # type: textblock
10654 #: ../src/guestfs-actions.pod:4009 ../fish/guestfish-actions.pod:3093
10655 msgid ""
10656 "Return the canonicalized absolute pathname of C<path>.  The returned path "
10657 "has no C<.>, C<..> or symbolic link path elements."
10658 msgstr ""
10659
10660 # type: =head2
10661 #: ../src/guestfs-actions.pod:4015
10662 msgid "guestfs_removexattr"
10663 msgstr ""
10664
10665 # type: verbatim
10666 #: ../src/guestfs-actions.pod:4017
10667 #, no-wrap
10668 msgid ""
10669 " int guestfs_removexattr (guestfs_h *g,\n"
10670 "\t\tconst char *xattr,\n"
10671 "\t\tconst char *path);\n"
10672 "\n"
10673 msgstr ""
10674
10675 # type: textblock
10676 #: ../src/guestfs-actions.pod:4021 ../fish/guestfish-actions.pod:3100
10677 msgid "This call removes the extended attribute named C<xattr> of the file C<path>."
10678 msgstr ""
10679
10680 # type: textblock
10681 #: ../src/guestfs-actions.pod:4024
10682 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
10683 msgstr ""
10684
10685 # type: =head2
10686 #: ../src/guestfs-actions.pod:4028
10687 msgid "guestfs_resize2fs"
10688 msgstr ""
10689
10690 # type: verbatim
10691 #: ../src/guestfs-actions.pod:4030
10692 #, no-wrap
10693 msgid ""
10694 " int guestfs_resize2fs (guestfs_h *g,\n"
10695 "\t\tconst char *device);\n"
10696 "\n"
10697 msgstr ""
10698
10699 # type: textblock
10700 #: ../src/guestfs-actions.pod:4033 ../fish/guestfish-actions.pod:3109
10701 msgid ""
10702 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
10703 "underlying device."
10704 msgstr ""
10705
10706 # type: textblock
10707 #: ../src/guestfs-actions.pod:4036
10708 msgid ""
10709 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
10710 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
10711 "sometimes gives an error about this and sometimes not.  In any case, it is "
10712 "always safe to call C<guestfs_e2fsck_f> before calling this function."
10713 msgstr ""
10714
10715 # type: =head2
10716 #: ../src/guestfs-actions.pod:4044
10717 msgid "guestfs_resize2fs_size"
10718 msgstr ""
10719
10720 # type: verbatim
10721 #: ../src/guestfs-actions.pod:4046
10722 #, no-wrap
10723 msgid ""
10724 " int guestfs_resize2fs_size (guestfs_h *g,\n"
10725 "\t\tconst char *device,\n"
10726 "\t\tint64_t size);\n"
10727 "\n"
10728 msgstr ""
10729
10730 # type: textblock
10731 #: ../src/guestfs-actions.pod:4050
10732 msgid ""
10733 "This command is the same as C<guestfs_resize2fs> except that it allows you "
10734 "to specify the new size (in bytes) explicitly."
10735 msgstr ""
10736
10737 # type: =head2
10738 #: ../src/guestfs-actions.pod:4055
10739 msgid "guestfs_rm"
10740 msgstr ""
10741
10742 # type: verbatim
10743 #: ../src/guestfs-actions.pod:4057
10744 #, no-wrap
10745 msgid ""
10746 " int guestfs_rm (guestfs_h *g,\n"
10747 "\t\tconst char *path);\n"
10748 "\n"
10749 msgstr ""
10750
10751 # type: textblock
10752 #: ../src/guestfs-actions.pod:4060 ../fish/guestfish-actions.pod:3129
10753 msgid "Remove the single file C<path>."
10754 msgstr ""
10755
10756 # type: =head2
10757 #: ../src/guestfs-actions.pod:4064
10758 msgid "guestfs_rm_rf"
10759 msgstr ""
10760
10761 # type: verbatim
10762 #: ../src/guestfs-actions.pod:4066
10763 #, no-wrap
10764 msgid ""
10765 " int guestfs_rm_rf (guestfs_h *g,\n"
10766 "\t\tconst char *path);\n"
10767 "\n"
10768 msgstr ""
10769
10770 # type: textblock
10771 #: ../src/guestfs-actions.pod:4069 ../fish/guestfish-actions.pod:3135
10772 msgid ""
10773 "Remove the file or directory C<path>, recursively removing the contents if "
10774 "its a directory.  This is like the C<rm -rf> shell command."
10775 msgstr ""
10776
10777 # type: =head2
10778 #: ../src/guestfs-actions.pod:4075
10779 msgid "guestfs_rmdir"
10780 msgstr ""
10781
10782 # type: verbatim
10783 #: ../src/guestfs-actions.pod:4077
10784 #, no-wrap
10785 msgid ""
10786 " int guestfs_rmdir (guestfs_h *g,\n"
10787 "\t\tconst char *path);\n"
10788 "\n"
10789 msgstr ""
10790
10791 # type: textblock
10792 #: ../src/guestfs-actions.pod:4080 ../fish/guestfish-actions.pod:3143
10793 msgid "Remove the single directory C<path>."
10794 msgstr ""
10795
10796 # type: =head2
10797 #: ../src/guestfs-actions.pod:4084
10798 msgid "guestfs_rmmountpoint"
10799 msgstr ""
10800
10801 # type: verbatim
10802 #: ../src/guestfs-actions.pod:4086
10803 #, no-wrap
10804 msgid ""
10805 " int guestfs_rmmountpoint (guestfs_h *g,\n"
10806 "\t\tconst char *exemptpath);\n"
10807 "\n"
10808 msgstr ""
10809
10810 # type: textblock
10811 #: ../src/guestfs-actions.pod:4089
10812 msgid ""
10813 "This calls removes a mountpoint that was previously created with "
10814 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
10815 msgstr ""
10816
10817 # type: =head2
10818 #: ../src/guestfs-actions.pod:4095
10819 msgid "guestfs_scrub_device"
10820 msgstr ""
10821
10822 # type: verbatim
10823 #: ../src/guestfs-actions.pod:4097
10824 #, no-wrap
10825 msgid ""
10826 " int guestfs_scrub_device (guestfs_h *g,\n"
10827 "\t\tconst char *device);\n"
10828 "\n"
10829 msgstr ""
10830
10831 # type: textblock
10832 #: ../src/guestfs-actions.pod:4100 ../fish/guestfish-actions.pod:3157
10833 msgid ""
10834 "This command writes patterns over C<device> to make data retrieval more "
10835 "difficult."
10836 msgstr ""
10837
10838 # type: textblock
10839 #: ../src/guestfs-actions.pod:4103 ../src/guestfs-actions.pod:4121 ../src/guestfs-actions.pod:4137 ../fish/guestfish-actions.pod:3160 ../fish/guestfish-actions.pod:3175 ../fish/guestfish-actions.pod:3188
10840 msgid ""
10841 "It is an interface to the L<scrub(1)> program.  See that manual page for "
10842 "more details."
10843 msgstr ""
10844
10845 # type: =head2
10846 #: ../src/guestfs-actions.pod:4111
10847 msgid "guestfs_scrub_file"
10848 msgstr ""
10849
10850 # type: verbatim
10851 #: ../src/guestfs-actions.pod:4113
10852 #, no-wrap
10853 msgid ""
10854 " int guestfs_scrub_file (guestfs_h *g,\n"
10855 "\t\tconst char *file);\n"
10856 "\n"
10857 msgstr ""
10858
10859 # type: textblock
10860 #: ../src/guestfs-actions.pod:4116 ../fish/guestfish-actions.pod:3170
10861 msgid ""
10862 "This command writes patterns over a file to make data retrieval more "
10863 "difficult."
10864 msgstr ""
10865
10866 # type: textblock
10867 #: ../src/guestfs-actions.pod:4119 ../fish/guestfish-actions.pod:3173
10868 msgid "The file is I<removed> after scrubbing."
10869 msgstr ""
10870
10871 # type: =head2
10872 #: ../src/guestfs-actions.pod:4126
10873 msgid "guestfs_scrub_freespace"
10874 msgstr ""
10875
10876 # type: verbatim
10877 #: ../src/guestfs-actions.pod:4128
10878 #, no-wrap
10879 msgid ""
10880 " int guestfs_scrub_freespace (guestfs_h *g,\n"
10881 "\t\tconst char *dir);\n"
10882 "\n"
10883 msgstr ""
10884
10885 # type: textblock
10886 #: ../src/guestfs-actions.pod:4131
10887 msgid ""
10888 "This command creates the directory C<dir> and then fills it with files until "
10889 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
10890 "and deletes them.  The intention is to scrub any free space on the partition "
10891 "containing C<dir>."
10892 msgstr ""
10893
10894 # type: =head2
10895 #: ../src/guestfs-actions.pod:4142
10896 msgid "guestfs_set_append"
10897 msgstr ""
10898
10899 # type: verbatim
10900 #: ../src/guestfs-actions.pod:4144
10901 #, no-wrap
10902 msgid ""
10903 " int guestfs_set_append (guestfs_h *g,\n"
10904 "\t\tconst char *append);\n"
10905 "\n"
10906 msgstr ""
10907
10908 # type: textblock
10909 #: ../src/guestfs-actions.pod:4147 ../fish/guestfish-actions.pod:3195
10910 msgid ""
10911 "This function is used to add additional options to the guest kernel command "
10912 "line."
10913 msgstr ""
10914
10915 # type: textblock
10916 #: ../src/guestfs-actions.pod:4150 ../fish/guestfish-actions.pod:3198
10917 msgid ""
10918 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
10919 "environment variable."
10920 msgstr ""
10921
10922 # type: textblock
10923 #: ../src/guestfs-actions.pod:4153 ../fish/guestfish-actions.pod:3201
10924 msgid ""
10925 "Setting C<append> to C<NULL> means I<no> additional options are passed "
10926 "(libguestfs always adds a few of its own)."
10927 msgstr ""
10928
10929 # type: =head2
10930 #: ../src/guestfs-actions.pod:4158
10931 msgid "guestfs_set_autosync"
10932 msgstr ""
10933
10934 # type: verbatim
10935 #: ../src/guestfs-actions.pod:4160
10936 #, no-wrap
10937 msgid ""
10938 " int guestfs_set_autosync (guestfs_h *g,\n"
10939 "\t\tint autosync);\n"
10940 "\n"
10941 msgstr ""
10942
10943 # type: textblock
10944 #: ../src/guestfs-actions.pod:4163
10945 msgid ""
10946 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
10947 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
10948 "the handle is closed (also if the program exits without closing handles)."
10949 msgstr ""
10950
10951 # type: textblock
10952 #: ../src/guestfs-actions.pod:4168 ../fish/guestfish-actions.pod:3213
10953 msgid ""
10954 "This is disabled by default (except in guestfish where it is enabled by "
10955 "default)."
10956 msgstr ""
10957
10958 # type: =head2
10959 #: ../src/guestfs-actions.pod:4173
10960 msgid "guestfs_set_direct"
10961 msgstr ""
10962
10963 # type: verbatim
10964 #: ../src/guestfs-actions.pod:4175
10965 #, no-wrap
10966 msgid ""
10967 " int guestfs_set_direct (guestfs_h *g,\n"
10968 "\t\tint direct);\n"
10969 "\n"
10970 msgstr ""
10971
10972 # type: textblock
10973 #: ../src/guestfs-actions.pod:4178 ../fish/guestfish-actions.pod:3220
10974 msgid ""
10975 "If the direct appliance mode flag is enabled, then stdin and stdout are "
10976 "passed directly through to the appliance once it is launched."
10977 msgstr ""
10978
10979 # type: textblock
10980 #: ../src/guestfs-actions.pod:4182
10981 msgid ""
10982 "One consequence of this is that log messages aren't caught by the library "
10983 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
10984 "stdout."
10985 msgstr ""
10986
10987 # type: textblock
10988 #: ../src/guestfs-actions.pod:4186 ../fish/guestfish-actions.pod:3228
10989 msgid "You probably don't want to use this unless you know what you are doing."
10990 msgstr ""
10991
10992 # type: textblock
10993 #: ../src/guestfs-actions.pod:4189 ../fish/guestfish-actions.pod:3231
10994 msgid "The default is disabled."
10995 msgstr ""
10996
10997 # type: =head2
10998 #: ../src/guestfs-actions.pod:4193
10999 msgid "guestfs_set_e2label"
11000 msgstr ""
11001
11002 # type: verbatim
11003 #: ../src/guestfs-actions.pod:4195
11004 #, no-wrap
11005 msgid ""
11006 " int guestfs_set_e2label (guestfs_h *g,\n"
11007 "\t\tconst char *device,\n"
11008 "\t\tconst char *label);\n"
11009 "\n"
11010 msgstr ""
11011
11012 # type: textblock
11013 #: ../src/guestfs-actions.pod:4199 ../fish/guestfish-actions.pod:3237
11014 msgid ""
11015 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11016 "C<label>.  Filesystem labels are limited to 16 characters."
11017 msgstr ""
11018
11019 # type: textblock
11020 #: ../src/guestfs-actions.pod:4203
11021 msgid ""
11022 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11023 "the existing label on a filesystem."
11024 msgstr ""
11025
11026 # type: =head2
11027 #: ../src/guestfs-actions.pod:4208
11028 msgid "guestfs_set_e2uuid"
11029 msgstr ""
11030
11031 # type: verbatim
11032 #: ../src/guestfs-actions.pod:4210
11033 #, no-wrap
11034 msgid ""
11035 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11036 "\t\tconst char *device,\n"
11037 "\t\tconst char *uuid);\n"
11038 "\n"
11039 msgstr ""
11040
11041 # type: textblock
11042 #: ../src/guestfs-actions.pod:4214 ../fish/guestfish-actions.pod:3248
11043 msgid ""
11044 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11045 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11046 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11047 msgstr ""
11048
11049 # type: textblock
11050 #: ../src/guestfs-actions.pod:4219
11051 msgid ""
11052 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11053 "the existing UUID of a filesystem."
11054 msgstr ""
11055
11056 # type: =head2
11057 #: ../src/guestfs-actions.pod:4224
11058 msgid "guestfs_set_memsize"
11059 msgstr ""
11060
11061 # type: verbatim
11062 #: ../src/guestfs-actions.pod:4226
11063 #, no-wrap
11064 msgid ""
11065 " int guestfs_set_memsize (guestfs_h *g,\n"
11066 "\t\tint memsize);\n"
11067 "\n"
11068 msgstr ""
11069
11070 # type: textblock
11071 #: ../src/guestfs-actions.pod:4229
11072 msgid ""
11073 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11074 "This only has any effect if called before C<guestfs_launch>."
11075 msgstr ""
11076
11077 # type: textblock
11078 #: ../src/guestfs-actions.pod:4233 ../fish/guestfish-actions.pod:3264
11079 msgid ""
11080 "You can also change this by setting the environment variable "
11081 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11082 msgstr ""
11083
11084 # type: =head2
11085 #: ../src/guestfs-actions.pod:4242
11086 msgid "guestfs_set_network"
11087 msgstr ""
11088
11089 # type: verbatim
11090 #: ../src/guestfs-actions.pod:4244
11091 #, no-wrap
11092 msgid ""
11093 " int guestfs_set_network (guestfs_h *g,\n"
11094 "\t\tint network);\n"
11095 "\n"
11096 msgstr ""
11097
11098 # type: textblock
11099 #: ../src/guestfs-actions.pod:4247 ../fish/guestfish-actions.pod:3275
11100 msgid ""
11101 "If C<network> is true, then the network is enabled in the libguestfs "
11102 "appliance.  The default is false."
11103 msgstr ""
11104
11105 # type: textblock
11106 #: ../src/guestfs-actions.pod:4250 ../fish/guestfish-actions.pod:3278
11107 msgid ""
11108 "This affects whether commands are able to access the network (see "
11109 "L<guestfs(3)/RUNNING COMMANDS>)."
11110 msgstr ""
11111
11112 # type: textblock
11113 #: ../src/guestfs-actions.pod:4253
11114 msgid ""
11115 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11116 "effect."
11117 msgstr ""
11118
11119 # type: =head2
11120 #: ../src/guestfs-actions.pod:4258
11121 msgid "guestfs_set_path"
11122 msgstr ""
11123
11124 # type: verbatim
11125 #: ../src/guestfs-actions.pod:4260
11126 #, no-wrap
11127 msgid ""
11128 " int guestfs_set_path (guestfs_h *g,\n"
11129 "\t\tconst char *searchpath);\n"
11130 "\n"
11131 msgstr ""
11132
11133 # type: textblock
11134 #: ../src/guestfs-actions.pod:4263 ../fish/guestfish-actions.pod:3288
11135 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11136 msgstr ""
11137
11138 # type: textblock
11139 #: ../src/guestfs-actions.pod:4265 ../fish/guestfish-actions.pod:3290
11140 msgid ""
11141 "The default is C<$libdir/guestfs> unless overridden by setting "
11142 "C<LIBGUESTFS_PATH> environment variable."
11143 msgstr ""
11144
11145 # type: textblock
11146 #: ../src/guestfs-actions.pod:4268 ../fish/guestfish-actions.pod:3293
11147 msgid "Setting C<path> to C<NULL> restores the default path."
11148 msgstr ""
11149
11150 # type: =head2
11151 #: ../src/guestfs-actions.pod:4272
11152 msgid "guestfs_set_qemu"
11153 msgstr ""
11154
11155 # type: verbatim
11156 #: ../src/guestfs-actions.pod:4274
11157 #, no-wrap
11158 msgid ""
11159 " int guestfs_set_qemu (guestfs_h *g,\n"
11160 "\t\tconst char *qemu);\n"
11161 "\n"
11162 msgstr ""
11163
11164 # type: textblock
11165 #: ../src/guestfs-actions.pod:4277 ../fish/guestfish-actions.pod:3299
11166 msgid "Set the qemu binary that we will use."
11167 msgstr ""
11168
11169 # type: textblock
11170 #: ../src/guestfs-actions.pod:4279 ../fish/guestfish-actions.pod:3301
11171 msgid "The default is chosen when the library was compiled by the configure script."
11172 msgstr ""
11173
11174 # type: textblock
11175 #: ../src/guestfs-actions.pod:4282 ../fish/guestfish-actions.pod:3304
11176 msgid ""
11177 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11178 "variable."
11179 msgstr ""
11180
11181 # type: textblock
11182 #: ../src/guestfs-actions.pod:4285 ../fish/guestfish-actions.pod:3307
11183 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11184 msgstr ""
11185
11186 # type: textblock
11187 #: ../src/guestfs-actions.pod:4287 ../fish/guestfish-actions.pod:3309
11188 msgid ""
11189 "Note that you should call this function as early as possible after creating "
11190 "the handle.  This is because some pre-launch operations depend on testing "
11191 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11192 "don't retest features, and so you might see inconsistent results.  Using the "
11193 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11194 "the qemu binary at the same time as the handle is created."
11195 msgstr ""
11196
11197 # type: =head2
11198 #: ../src/guestfs-actions.pod:4297
11199 msgid "guestfs_set_recovery_proc"
11200 msgstr ""
11201
11202 # type: verbatim
11203 #: ../src/guestfs-actions.pod:4299
11204 #, no-wrap
11205 msgid ""
11206 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11207 "\t\tint recoveryproc);\n"
11208 "\n"
11209 msgstr ""
11210
11211 # type: textblock
11212 #: ../src/guestfs-actions.pod:4302
11213 msgid ""
11214 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11215 "not create a recovery process.  The purpose of the recovery process is to "
11216 "stop runaway qemu processes in the case where the main program aborts "
11217 "abruptly."
11218 msgstr ""
11219
11220 # type: textblock
11221 #: ../src/guestfs-actions.pod:4307
11222 msgid ""
11223 "This only has any effect if called before C<guestfs_launch>, and the default "
11224 "is true."
11225 msgstr ""
11226
11227 # type: textblock
11228 #: ../src/guestfs-actions.pod:4310 ../fish/guestfish-actions.pod:3329
11229 msgid ""
11230 "About the only time when you would want to disable this is if the main "
11231 "process will fork itself into the background (\"daemonize\" itself).  In "
11232 "this case the recovery process thinks that the main program has disappeared "
11233 "and so kills qemu, which is not very helpful."
11234 msgstr ""
11235
11236 # type: =head2
11237 #: ../src/guestfs-actions.pod:4318
11238 msgid "guestfs_set_selinux"
11239 msgstr ""
11240
11241 # type: verbatim
11242 #: ../src/guestfs-actions.pod:4320
11243 #, no-wrap
11244 msgid ""
11245 " int guestfs_set_selinux (guestfs_h *g,\n"
11246 "\t\tint selinux);\n"
11247 "\n"
11248 msgstr ""
11249
11250 # type: textblock
11251 #: ../src/guestfs-actions.pod:4323 ../fish/guestfish-actions.pod:3339
11252 msgid ""
11253 "This sets the selinux flag that is passed to the appliance at boot time.  "
11254 "The default is C<selinux=0> (disabled)."
11255 msgstr ""
11256
11257 # type: textblock
11258 #: ../src/guestfs-actions.pod:4326 ../fish/guestfish-actions.pod:3342
11259 msgid ""
11260 "Note that if SELinux is enabled, it is always in Permissive mode "
11261 "(C<enforcing=0>)."
11262 msgstr ""
11263
11264 # type: =head2
11265 #: ../src/guestfs-actions.pod:4334
11266 msgid "guestfs_set_trace"
11267 msgstr ""
11268
11269 # type: verbatim
11270 #: ../src/guestfs-actions.pod:4336
11271 #, no-wrap
11272 msgid ""
11273 " int guestfs_set_trace (guestfs_h *g,\n"
11274 "\t\tint trace);\n"
11275 "\n"
11276 msgstr ""
11277
11278 # type: textblock
11279 #: ../src/guestfs-actions.pod:4339 ../fish/guestfish-actions.pod:3352
11280 msgid ""
11281 "If the command trace flag is set to 1, then commands are printed on stderr "
11282 "before they are executed in a format which is very similar to the one used "
11283 "by guestfish.  In other words, you can run a program with this enabled, and "
11284 "you will get out a script which you can feed to guestfish to perform the "
11285 "same set of actions."
11286 msgstr ""
11287
11288 # type: textblock
11289 #: ../src/guestfs-actions.pod:4346 ../fish/guestfish-actions.pod:3359
11290 msgid ""
11291 "If you want to trace C API calls into libguestfs (and other libraries) then "
11292 "possibly a better way is to use the external ltrace(1) command."
11293 msgstr ""
11294
11295 # type: textblock
11296 #: ../src/guestfs-actions.pod:4350 ../fish/guestfish-actions.pod:3363
11297 msgid ""
11298 "Command traces are disabled unless the environment variable "
11299 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11300 msgstr ""
11301
11302 # type: =head2
11303 #: ../src/guestfs-actions.pod:4355
11304 msgid "guestfs_set_verbose"
11305 msgstr ""
11306
11307 # type: verbatim
11308 #: ../src/guestfs-actions.pod:4357
11309 #, no-wrap
11310 msgid ""
11311 " int guestfs_set_verbose (guestfs_h *g,\n"
11312 "\t\tint verbose);\n"
11313 "\n"
11314 msgstr ""
11315
11316 # type: textblock
11317 #: ../src/guestfs-actions.pod:4360 ../fish/guestfish-actions.pod:3370
11318 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11319 msgstr ""
11320
11321 # type: textblock
11322 #: ../src/guestfs-actions.pod:4362 ../fish/guestfish-actions.pod:3372
11323 msgid ""
11324 "Verbose messages are disabled unless the environment variable "
11325 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11326 msgstr ""
11327
11328 # type: =head2
11329 #: ../src/guestfs-actions.pod:4367
11330 msgid "guestfs_setcon"
11331 msgstr ""
11332
11333 # type: verbatim
11334 #: ../src/guestfs-actions.pod:4369
11335 #, no-wrap
11336 msgid ""
11337 " int guestfs_setcon (guestfs_h *g,\n"
11338 "\t\tconst char *context);\n"
11339 "\n"
11340 msgstr ""
11341
11342 # type: textblock
11343 #: ../src/guestfs-actions.pod:4372 ../fish/guestfish-actions.pod:3379
11344 msgid ""
11345 "This sets the SELinux security context of the daemon to the string "
11346 "C<context>."
11347 msgstr ""
11348
11349 # type: textblock
11350 #: ../src/guestfs-actions.pod:4375 ../fish/guestfish-actions.pod:3382
11351 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11352 msgstr ""
11353
11354 # type: =head2
11355 #: ../src/guestfs-actions.pod:4379
11356 msgid "guestfs_setxattr"
11357 msgstr ""
11358
11359 # type: verbatim
11360 #: ../src/guestfs-actions.pod:4381
11361 #, no-wrap
11362 msgid ""
11363 " int guestfs_setxattr (guestfs_h *g,\n"
11364 "\t\tconst char *xattr,\n"
11365 "\t\tconst char *val,\n"
11366 "\t\tint vallen,\n"
11367 "\t\tconst char *path);\n"
11368 "\n"
11369 msgstr ""
11370
11371 # type: textblock
11372 #: ../src/guestfs-actions.pod:4387 ../fish/guestfish-actions.pod:3388
11373 msgid ""
11374 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11375 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11376 msgstr ""
11377
11378 # type: textblock
11379 #: ../src/guestfs-actions.pod:4391
11380 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11381 msgstr ""
11382
11383 # type: =head2
11384 #: ../src/guestfs-actions.pod:4395
11385 msgid "guestfs_sfdisk"
11386 msgstr ""
11387
11388 # type: verbatim
11389 #: ../src/guestfs-actions.pod:4397
11390 #, no-wrap
11391 msgid ""
11392 " int guestfs_sfdisk (guestfs_h *g,\n"
11393 "\t\tconst char *device,\n"
11394 "\t\tint cyls,\n"
11395 "\t\tint heads,\n"
11396 "\t\tint sectors,\n"
11397 "\t\tchar *const *lines);\n"
11398 "\n"
11399 msgstr ""
11400
11401 # type: textblock
11402 #: ../src/guestfs-actions.pod:4404 ../fish/guestfish-actions.pod:3398
11403 msgid ""
11404 "This is a direct interface to the L<sfdisk(8)> program for creating "
11405 "partitions on block devices."
11406 msgstr ""
11407
11408 # type: textblock
11409 #: ../src/guestfs-actions.pod:4407 ../fish/guestfish-actions.pod:3401
11410 msgid "C<device> should be a block device, for example C</dev/sda>."
11411 msgstr ""
11412
11413 # type: textblock
11414 #: ../src/guestfs-actions.pod:4409 ../fish/guestfish-actions.pod:3403
11415 msgid ""
11416 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
11417 "sectors on the device, which are passed directly to sfdisk as the I<-C>, "
11418 "I<-H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
11419 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
11420 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
11421 "the kernel) cannot work out the right geometry and you will need to tell it."
11422 msgstr ""
11423
11424 # type: textblock
11425 #: ../src/guestfs-actions.pod:4417 ../fish/guestfish-actions.pod:3411
11426 msgid ""
11427 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
11428 "refer to the L<sfdisk(8)> manpage."
11429 msgstr ""
11430
11431 # type: textblock
11432 #: ../src/guestfs-actions.pod:4420 ../fish/guestfish-actions.pod:3414
11433 msgid ""
11434 "To create a single partition occupying the whole disk, you would pass "
11435 "C<lines> as a single element list, when the single element being the string "
11436 "C<,> (comma)."
11437 msgstr ""
11438
11439 # type: textblock
11440 #: ../src/guestfs-actions.pod:4424
11441 msgid "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
11442 msgstr ""
11443
11444 # type: =head2
11445 #: ../src/guestfs-actions.pod:4432
11446 msgid "guestfs_sfdiskM"
11447 msgstr ""
11448
11449 # type: verbatim
11450 #: ../src/guestfs-actions.pod:4434
11451 #, no-wrap
11452 msgid ""
11453 " int guestfs_sfdiskM (guestfs_h *g,\n"
11454 "\t\tconst char *device,\n"
11455 "\t\tchar *const *lines);\n"
11456 "\n"
11457 msgstr ""
11458
11459 # type: textblock
11460 #: ../src/guestfs-actions.pod:4438
11461 msgid ""
11462 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
11463 "partition sizes are specified in megabytes only (rounded to the nearest "
11464 "cylinder) and you don't need to specify the cyls, heads and sectors "
11465 "parameters which were rarely if ever used anyway."
11466 msgstr ""
11467
11468 # type: textblock
11469 #: ../src/guestfs-actions.pod:4444
11470 msgid ""
11471 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
11472 "C<guestfs_part_disk>"
11473 msgstr ""
11474
11475 # type: =head2
11476 #: ../src/guestfs-actions.pod:4452
11477 msgid "guestfs_sfdisk_N"
11478 msgstr ""
11479
11480 # type: verbatim
11481 #: ../src/guestfs-actions.pod:4454
11482 #, no-wrap
11483 msgid ""
11484 " int guestfs_sfdisk_N (guestfs_h *g,\n"
11485 "\t\tconst char *device,\n"
11486 "\t\tint partnum,\n"
11487 "\t\tint cyls,\n"
11488 "\t\tint heads,\n"
11489 "\t\tint sectors,\n"
11490 "\t\tconst char *line);\n"
11491 "\n"
11492 msgstr ""
11493
11494 # type: textblock
11495 #: ../src/guestfs-actions.pod:4462 ../fish/guestfish-actions.pod:3444
11496 msgid ""
11497 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
11498 "(note: C<n> counts from 1)."
11499 msgstr ""
11500
11501 # type: textblock
11502 #: ../src/guestfs-actions.pod:4465
11503 msgid ""
11504 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
11505 "for the cyls/heads/sectors parameters."
11506 msgstr ""
11507
11508 # type: textblock
11509 #: ../src/guestfs-actions.pod:4468
11510 msgid "See also: C<guestfs_part_add>"
11511 msgstr ""
11512
11513 # type: =head2
11514 #: ../src/guestfs-actions.pod:4475
11515 msgid "guestfs_sfdisk_disk_geometry"
11516 msgstr ""
11517
11518 # type: verbatim
11519 #: ../src/guestfs-actions.pod:4477
11520 #, no-wrap
11521 msgid ""
11522 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
11523 "\t\tconst char *device);\n"
11524 "\n"
11525 msgstr ""
11526
11527 # type: textblock
11528 #: ../src/guestfs-actions.pod:4480
11529 msgid ""
11530 "This displays the disk geometry of C<device> read from the partition table.  "
11531 "Especially in the case where the underlying block device has been resized, "
11532 "this can be different from the kernel's idea of the geometry (see "
11533 "C<guestfs_sfdisk_kernel_geometry>)."
11534 msgstr ""
11535
11536 # type: textblock
11537 #: ../src/guestfs-actions.pod:4485 ../src/guestfs-actions.pod:4498 ../fish/guestfish-actions.pod:3464 ../fish/guestfish-actions.pod:3473
11538 msgid "The result is in human-readable format, and not designed to be parsed."
11539 msgstr ""
11540
11541 # type: =head2
11542 #: ../src/guestfs-actions.pod:4491
11543 msgid "guestfs_sfdisk_kernel_geometry"
11544 msgstr ""
11545
11546 # type: verbatim
11547 #: ../src/guestfs-actions.pod:4493
11548 #, no-wrap
11549 msgid ""
11550 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
11551 "\t\tconst char *device);\n"
11552 "\n"
11553 msgstr ""
11554
11555 # type: textblock
11556 #: ../src/guestfs-actions.pod:4496 ../fish/guestfish-actions.pod:3471
11557 msgid "This displays the kernel's idea of the geometry of C<device>."
11558 msgstr ""
11559
11560 # type: =head2
11561 #: ../src/guestfs-actions.pod:4504
11562 msgid "guestfs_sfdisk_l"
11563 msgstr ""
11564
11565 # type: verbatim
11566 #: ../src/guestfs-actions.pod:4506
11567 #, no-wrap
11568 msgid ""
11569 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
11570 "\t\tconst char *device);\n"
11571 "\n"
11572 msgstr ""
11573
11574 # type: textblock
11575 #: ../src/guestfs-actions.pod:4509 ../fish/guestfish-actions.pod:3480
11576 msgid ""
11577 "This displays the partition table on C<device>, in the human-readable output "
11578 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
11579 msgstr ""
11580
11581 # type: textblock
11582 #: ../src/guestfs-actions.pod:4513
11583 msgid "See also: C<guestfs_part_list>"
11584 msgstr ""
11585
11586 # type: =head2
11587 #: ../src/guestfs-actions.pod:4518
11588 msgid "guestfs_sh"
11589 msgstr ""
11590
11591 # type: verbatim
11592 #: ../src/guestfs-actions.pod:4520
11593 #, no-wrap
11594 msgid ""
11595 " char *guestfs_sh (guestfs_h *g,\n"
11596 "\t\tconst char *command);\n"
11597 "\n"
11598 msgstr ""
11599
11600 # type: textblock
11601 #: ../src/guestfs-actions.pod:4523 ../fish/guestfish-actions.pod:3490
11602 msgid ""
11603 "This call runs a command from the guest filesystem via the guest's "
11604 "C</bin/sh>."
11605 msgstr ""
11606
11607 # type: textblock
11608 #: ../src/guestfs-actions.pod:4526
11609 msgid "This is like C<guestfs_command>, but passes the command to:"
11610 msgstr ""
11611
11612 # type: verbatim
11613 #: ../src/guestfs-actions.pod:4528 ../fish/guestfish-actions.pod:3495
11614 #, no-wrap
11615 msgid ""
11616 " /bin/sh -c \"command\"\n"
11617 "\n"
11618 msgstr ""
11619
11620 # type: textblock
11621 #: ../src/guestfs-actions.pod:4530 ../fish/guestfish-actions.pod:3497
11622 msgid ""
11623 "Depending on the guest's shell, this usually results in wildcards being "
11624 "expanded, shell expressions being interpolated and so on."
11625 msgstr ""
11626
11627 # type: textblock
11628 #: ../src/guestfs-actions.pod:4534
11629 msgid "All the provisos about C<guestfs_command> apply to this call."
11630 msgstr ""
11631
11632 # type: =head2
11633 #: ../src/guestfs-actions.pod:4539
11634 msgid "guestfs_sh_lines"
11635 msgstr ""
11636
11637 # type: verbatim
11638 #: ../src/guestfs-actions.pod:4541
11639 #, no-wrap
11640 msgid ""
11641 " char **guestfs_sh_lines (guestfs_h *g,\n"
11642 "\t\tconst char *command);\n"
11643 "\n"
11644 msgstr ""
11645
11646 # type: textblock
11647 #: ../src/guestfs-actions.pod:4544
11648 msgid ""
11649 "This is the same as C<guestfs_sh>, but splits the result into a list of "
11650 "lines."
11651 msgstr ""
11652
11653 # type: textblock
11654 #: ../src/guestfs-actions.pod:4547
11655 msgid "See also: C<guestfs_command_lines>"
11656 msgstr ""
11657
11658 # type: =head2
11659 #: ../src/guestfs-actions.pod:4553
11660 msgid "guestfs_sleep"
11661 msgstr ""
11662
11663 # type: verbatim
11664 #: ../src/guestfs-actions.pod:4555
11665 #, no-wrap
11666 msgid ""
11667 " int guestfs_sleep (guestfs_h *g,\n"
11668 "\t\tint secs);\n"
11669 "\n"
11670 msgstr ""
11671
11672 # type: textblock
11673 #: ../src/guestfs-actions.pod:4558 ../fish/guestfish-actions.pod:3516
11674 msgid "Sleep for C<secs> seconds."
11675 msgstr ""
11676
11677 # type: =head2
11678 #: ../src/guestfs-actions.pod:4562 ../src/guestfs-structs.pod:109
11679 msgid "guestfs_stat"
11680 msgstr ""
11681
11682 # type: verbatim
11683 #: ../src/guestfs-actions.pod:4564
11684 #, no-wrap
11685 msgid ""
11686 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
11687 "\t\tconst char *path);\n"
11688 "\n"
11689 msgstr ""
11690
11691 # type: textblock
11692 #: ../src/guestfs-actions.pod:4569 ../fish/guestfish-actions.pod:3524
11693 msgid "This is the same as the C<stat(2)> system call."
11694 msgstr ""
11695
11696 # type: =head2
11697 #: ../src/guestfs-actions.pod:4575 ../src/guestfs-structs.pod:135
11698 msgid "guestfs_statvfs"
11699 msgstr ""
11700
11701 # type: verbatim
11702 #: ../src/guestfs-actions.pod:4577
11703 #, no-wrap
11704 msgid ""
11705 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
11706 "\t\tconst char *path);\n"
11707 "\n"
11708 msgstr ""
11709
11710 # type: textblock
11711 #: ../src/guestfs-actions.pod:4580 ../fish/guestfish-actions.pod:3530
11712 msgid ""
11713 "Returns file system statistics for any mounted file system.  C<path> should "
11714 "be a file or directory in the mounted file system (typically it is the mount "
11715 "point itself, but it doesn't need to be)."
11716 msgstr ""
11717
11718 # type: textblock
11719 #: ../src/guestfs-actions.pod:4584 ../fish/guestfish-actions.pod:3534
11720 msgid "This is the same as the C<statvfs(2)> system call."
11721 msgstr ""
11722
11723 # type: textblock
11724 #: ../src/guestfs-actions.pod:4586
11725 msgid ""
11726 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
11727 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
11728 msgstr ""
11729
11730 # type: =head2
11731 #: ../src/guestfs-actions.pod:4590
11732 msgid "guestfs_strings"
11733 msgstr ""
11734
11735 # type: verbatim
11736 #: ../src/guestfs-actions.pod:4592
11737 #, no-wrap
11738 msgid ""
11739 " char **guestfs_strings (guestfs_h *g,\n"
11740 "\t\tconst char *path);\n"
11741 "\n"
11742 msgstr ""
11743
11744 # type: textblock
11745 #: ../src/guestfs-actions.pod:4595 ../fish/guestfish-actions.pod:3540
11746 msgid ""
11747 "This runs the L<strings(1)> command on a file and returns the list of "
11748 "printable strings found."
11749 msgstr ""
11750
11751 # type: =head2
11752 #: ../src/guestfs-actions.pod:4605
11753 msgid "guestfs_strings_e"
11754 msgstr ""
11755
11756 # type: verbatim
11757 #: ../src/guestfs-actions.pod:4607
11758 #, no-wrap
11759 msgid ""
11760 " char **guestfs_strings_e (guestfs_h *g,\n"
11761 "\t\tconst char *encoding,\n"
11762 "\t\tconst char *path);\n"
11763 "\n"
11764 msgstr ""
11765
11766 # type: textblock
11767 #: ../src/guestfs-actions.pod:4611
11768 msgid ""
11769 "This is like the C<guestfs_strings> command, but allows you to specify the "
11770 "encoding of strings that are looked for in the source file C<path>."
11771 msgstr ""
11772
11773 # type: textblock
11774 #: ../src/guestfs-actions.pod:4615 ../fish/guestfish-actions.pod:3554
11775 msgid "Allowed encodings are:"
11776 msgstr ""
11777
11778 # type: =item
11779 #: ../src/guestfs-actions.pod:4619 ../fish/guestfish-actions.pod:3558
11780 msgid "s"
11781 msgstr ""
11782
11783 # type: textblock
11784 #: ../src/guestfs-actions.pod:4621
11785 msgid ""
11786 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
11787 "ISO-8859-X (this is what C<guestfs_strings> uses)."
11788 msgstr ""
11789
11790 # type: =item
11791 #: ../src/guestfs-actions.pod:4624 ../fish/guestfish-actions.pod:3563
11792 msgid "S"
11793 msgstr ""
11794
11795 # type: textblock
11796 #: ../src/guestfs-actions.pod:4626 ../fish/guestfish-actions.pod:3565
11797 msgid "Single 8-bit-byte characters."
11798 msgstr ""
11799
11800 # type: =item
11801 #: ../src/guestfs-actions.pod:4628 ../fish/guestfish-actions.pod:3567
11802 msgid "b"
11803 msgstr ""
11804
11805 # type: textblock
11806 #: ../src/guestfs-actions.pod:4630 ../fish/guestfish-actions.pod:3569
11807 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
11808 msgstr ""
11809
11810 # type: =item
11811 #: ../src/guestfs-actions.pod:4633 ../fish/guestfish-actions.pod:3572
11812 msgid "l (lower case letter L)"
11813 msgstr ""
11814
11815 # type: textblock
11816 #: ../src/guestfs-actions.pod:4635 ../fish/guestfish-actions.pod:3574
11817 msgid ""
11818 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
11819 "examining binaries in Windows guests."
11820 msgstr ""
11821
11822 # type: =item
11823 #: ../src/guestfs-actions.pod:4638 ../fish/guestfish-actions.pod:3577
11824 msgid "B"
11825 msgstr ""
11826
11827 # type: textblock
11828 #: ../src/guestfs-actions.pod:4640 ../fish/guestfish-actions.pod:3579
11829 msgid "32-bit big endian such as UCS-4BE."
11830 msgstr ""
11831
11832 # type: =item
11833 #: ../src/guestfs-actions.pod:4642 ../fish/guestfish-actions.pod:3581
11834 msgid "L"
11835 msgstr ""
11836
11837 # type: textblock
11838 #: ../src/guestfs-actions.pod:4644 ../fish/guestfish-actions.pod:3583
11839 msgid "32-bit little endian such as UCS-4LE."
11840 msgstr ""
11841
11842 # type: textblock
11843 #: ../src/guestfs-actions.pod:4648 ../fish/guestfish-actions.pod:3587
11844 msgid "The returned strings are transcoded to UTF-8."
11845 msgstr ""
11846
11847 # type: =head2
11848 #: ../src/guestfs-actions.pod:4657
11849 msgid "guestfs_swapoff_device"
11850 msgstr ""
11851
11852 # type: verbatim
11853 #: ../src/guestfs-actions.pod:4659
11854 #, no-wrap
11855 msgid ""
11856 " int guestfs_swapoff_device (guestfs_h *g,\n"
11857 "\t\tconst char *device);\n"
11858 "\n"
11859 msgstr ""
11860
11861 # type: textblock
11862 #: ../src/guestfs-actions.pod:4662
11863 msgid ""
11864 "This command disables the libguestfs appliance swap device or partition "
11865 "named C<device>.  See C<guestfs_swapon_device>."
11866 msgstr ""
11867
11868 # type: =head2
11869 #: ../src/guestfs-actions.pod:4668
11870 msgid "guestfs_swapoff_file"
11871 msgstr ""
11872
11873 # type: verbatim
11874 #: ../src/guestfs-actions.pod:4670
11875 #, no-wrap
11876 msgid ""
11877 " int guestfs_swapoff_file (guestfs_h *g,\n"
11878 "\t\tconst char *file);\n"
11879 "\n"
11880 msgstr ""
11881
11882 # type: textblock
11883 #: ../src/guestfs-actions.pod:4673 ../fish/guestfish-actions.pod:3604
11884 msgid "This command disables the libguestfs appliance swap on file."
11885 msgstr ""
11886
11887 # type: =head2
11888 #: ../src/guestfs-actions.pod:4677
11889 msgid "guestfs_swapoff_label"
11890 msgstr ""
11891
11892 # type: verbatim
11893 #: ../src/guestfs-actions.pod:4679
11894 #, no-wrap
11895 msgid ""
11896 " int guestfs_swapoff_label (guestfs_h *g,\n"
11897 "\t\tconst char *label);\n"
11898 "\n"
11899 msgstr ""
11900
11901 # type: textblock
11902 #: ../src/guestfs-actions.pod:4682 ../fish/guestfish-actions.pod:3610
11903 msgid ""
11904 "This command disables the libguestfs appliance swap on labeled swap "
11905 "partition."
11906 msgstr ""
11907
11908 # type: =head2
11909 #: ../src/guestfs-actions.pod:4687
11910 msgid "guestfs_swapoff_uuid"
11911 msgstr ""
11912
11913 # type: verbatim
11914 #: ../src/guestfs-actions.pod:4689
11915 #, no-wrap
11916 msgid ""
11917 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
11918 "\t\tconst char *uuid);\n"
11919 "\n"
11920 msgstr ""
11921
11922 # type: textblock
11923 #: ../src/guestfs-actions.pod:4692 ../fish/guestfish-actions.pod:3617
11924 msgid ""
11925 "This command disables the libguestfs appliance swap partition with the given "
11926 "UUID."
11927 msgstr ""
11928
11929 # type: =head2
11930 #: ../src/guestfs-actions.pod:4697
11931 msgid "guestfs_swapon_device"
11932 msgstr ""
11933
11934 # type: verbatim
11935 #: ../src/guestfs-actions.pod:4699
11936 #, no-wrap
11937 msgid ""
11938 " int guestfs_swapon_device (guestfs_h *g,\n"
11939 "\t\tconst char *device);\n"
11940 "\n"
11941 msgstr ""
11942
11943 # type: textblock
11944 #: ../src/guestfs-actions.pod:4702
11945 msgid ""
11946 "This command enables the libguestfs appliance to use the swap device or "
11947 "partition named C<device>.  The increased memory is made available for all "
11948 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
11949 msgstr ""
11950
11951 # type: textblock
11952 #: ../src/guestfs-actions.pod:4707 ../fish/guestfish-actions.pod:3629
11953 msgid ""
11954 "Note that you should not swap to existing guest swap partitions unless you "
11955 "know what you are doing.  They may contain hibernation information, or other "
11956 "information that the guest doesn't want you to trash.  You also risk leaking "
11957 "information about the host to the guest this way.  Instead, attach a new "
11958 "host device to the guest and swap on that."
11959 msgstr ""
11960
11961 # type: =head2
11962 #: ../src/guestfs-actions.pod:4716
11963 msgid "guestfs_swapon_file"
11964 msgstr ""
11965
11966 # type: verbatim
11967 #: ../src/guestfs-actions.pod:4718
11968 #, no-wrap
11969 msgid ""
11970 " int guestfs_swapon_file (guestfs_h *g,\n"
11971 "\t\tconst char *file);\n"
11972 "\n"
11973 msgstr ""
11974
11975 # type: textblock
11976 #: ../src/guestfs-actions.pod:4721
11977 msgid ""
11978 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
11979 "notes."
11980 msgstr ""
11981
11982 # type: =head2
11983 #: ../src/guestfs-actions.pod:4726
11984 msgid "guestfs_swapon_label"
11985 msgstr ""
11986
11987 # type: verbatim
11988 #: ../src/guestfs-actions.pod:4728
11989 #, no-wrap
11990 msgid ""
11991 " int guestfs_swapon_label (guestfs_h *g,\n"
11992 "\t\tconst char *label);\n"
11993 "\n"
11994 msgstr ""
11995
11996 # type: textblock
11997 #: ../src/guestfs-actions.pod:4731
11998 msgid ""
11999 "This command enables swap to a labeled swap partition.  See "
12000 "C<guestfs_swapon_device> for other notes."
12001 msgstr ""
12002
12003 # type: =head2
12004 #: ../src/guestfs-actions.pod:4736
12005 msgid "guestfs_swapon_uuid"
12006 msgstr ""
12007
12008 # type: verbatim
12009 #: ../src/guestfs-actions.pod:4738
12010 #, no-wrap
12011 msgid ""
12012 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12013 "\t\tconst char *uuid);\n"
12014 "\n"
12015 msgstr ""
12016
12017 # type: textblock
12018 #: ../src/guestfs-actions.pod:4741
12019 msgid ""
12020 "This command enables swap to a swap partition with the given UUID.  See "
12021 "C<guestfs_swapon_device> for other notes."
12022 msgstr ""
12023
12024 # type: =head2
12025 #: ../src/guestfs-actions.pod:4746
12026 msgid "guestfs_sync"
12027 msgstr ""
12028
12029 # type: verbatim
12030 #: ../src/guestfs-actions.pod:4748
12031 #, no-wrap
12032 msgid ""
12033 " int guestfs_sync (guestfs_h *g);\n"
12034 "\n"
12035 msgstr ""
12036
12037 # type: textblock
12038 #: ../src/guestfs-actions.pod:4750 ../fish/guestfish-actions.pod:3661
12039 msgid ""
12040 "This syncs the disk, so that any writes are flushed through to the "
12041 "underlying disk image."
12042 msgstr ""
12043
12044 # type: textblock
12045 #: ../src/guestfs-actions.pod:4753 ../fish/guestfish-actions.pod:3664
12046 msgid ""
12047 "You should always call this if you have modified a disk image, before "
12048 "closing the handle."
12049 msgstr ""
12050
12051 # type: =head2
12052 #: ../src/guestfs-actions.pod:4758
12053 msgid "guestfs_tail"
12054 msgstr ""
12055
12056 # type: verbatim
12057 #: ../src/guestfs-actions.pod:4760
12058 #, no-wrap
12059 msgid ""
12060 " char **guestfs_tail (guestfs_h *g,\n"
12061 "\t\tconst char *path);\n"
12062 "\n"
12063 msgstr ""
12064
12065 # type: textblock
12066 #: ../src/guestfs-actions.pod:4763 ../fish/guestfish-actions.pod:3671
12067 msgid "This command returns up to the last 10 lines of a file as a list of strings."
12068 msgstr ""
12069
12070 # type: =head2
12071 #: ../src/guestfs-actions.pod:4773
12072 msgid "guestfs_tail_n"
12073 msgstr ""
12074
12075 # type: verbatim
12076 #: ../src/guestfs-actions.pod:4775
12077 #, no-wrap
12078 msgid ""
12079 " char **guestfs_tail_n (guestfs_h *g,\n"
12080 "\t\tint nrlines,\n"
12081 "\t\tconst char *path);\n"
12082 "\n"
12083 msgstr ""
12084
12085 # type: textblock
12086 #: ../src/guestfs-actions.pod:4779 ../fish/guestfish-actions.pod:3681
12087 msgid ""
12088 "If the parameter C<nrlines> is a positive number, this returns the last "
12089 "C<nrlines> lines of the file C<path>."
12090 msgstr ""
12091
12092 # type: textblock
12093 #: ../src/guestfs-actions.pod:4782 ../fish/guestfish-actions.pod:3684
12094 msgid ""
12095 "If the parameter C<nrlines> is a negative number, this returns lines from "
12096 "the file C<path>, starting with the C<-nrlines>th line."
12097 msgstr ""
12098
12099 # type: =head2
12100 #: ../src/guestfs-actions.pod:4794
12101 msgid "guestfs_tar_in"
12102 msgstr ""
12103
12104 # type: verbatim
12105 #: ../src/guestfs-actions.pod:4796
12106 #, no-wrap
12107 msgid ""
12108 " int guestfs_tar_in (guestfs_h *g,\n"
12109 "\t\tconst char *tarfile,\n"
12110 "\t\tconst char *directory);\n"
12111 "\n"
12112 msgstr ""
12113
12114 # type: textblock
12115 #: ../src/guestfs-actions.pod:4800 ../fish/guestfish-actions.pod:3696
12116 msgid ""
12117 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12118 "tar file) into C<directory>."
12119 msgstr ""
12120
12121 # type: textblock
12122 #: ../src/guestfs-actions.pod:4803
12123 msgid "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12124 msgstr ""
12125
12126 # type: =head2
12127 #: ../src/guestfs-actions.pod:4808
12128 msgid "guestfs_tar_out"
12129 msgstr ""
12130
12131 # type: verbatim
12132 #: ../src/guestfs-actions.pod:4810
12133 #, no-wrap
12134 msgid ""
12135 " int guestfs_tar_out (guestfs_h *g,\n"
12136 "\t\tconst char *directory,\n"
12137 "\t\tconst char *tarfile);\n"
12138 "\n"
12139 msgstr ""
12140
12141 # type: textblock
12142 #: ../src/guestfs-actions.pod:4814 ../fish/guestfish-actions.pod:3708
12143 msgid ""
12144 "This command packs the contents of C<directory> and downloads it to local "
12145 "file C<tarfile>."
12146 msgstr ""
12147
12148 # type: textblock
12149 #: ../src/guestfs-actions.pod:4817
12150 msgid ""
12151 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12152 "C<guestfs_txz_out>."
12153 msgstr ""
12154
12155 # type: =head2
12156 #: ../src/guestfs-actions.pod:4822
12157 msgid "guestfs_tgz_in"
12158 msgstr ""
12159
12160 # type: verbatim
12161 #: ../src/guestfs-actions.pod:4824
12162 #, no-wrap
12163 msgid ""
12164 " int guestfs_tgz_in (guestfs_h *g,\n"
12165 "\t\tconst char *tarball,\n"
12166 "\t\tconst char *directory);\n"
12167 "\n"
12168 msgstr ""
12169
12170 # type: textblock
12171 #: ../src/guestfs-actions.pod:4828 ../fish/guestfish-actions.pod:3720
12172 msgid ""
12173 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12174 "tar file) into C<directory>."
12175 msgstr ""
12176
12177 # type: textblock
12178 #: ../src/guestfs-actions.pod:4831
12179 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12180 msgstr ""
12181
12182 # type: =head2
12183 #: ../src/guestfs-actions.pod:4835
12184 msgid "guestfs_tgz_out"
12185 msgstr ""
12186
12187 # type: verbatim
12188 #: ../src/guestfs-actions.pod:4837
12189 #, no-wrap
12190 msgid ""
12191 " int guestfs_tgz_out (guestfs_h *g,\n"
12192 "\t\tconst char *directory,\n"
12193 "\t\tconst char *tarball);\n"
12194 "\n"
12195 msgstr ""
12196
12197 # type: textblock
12198 #: ../src/guestfs-actions.pod:4841 ../fish/guestfish-actions.pod:3731
12199 msgid ""
12200 "This command packs the contents of C<directory> and downloads it to local "
12201 "file C<tarball>."
12202 msgstr ""
12203
12204 # type: textblock
12205 #: ../src/guestfs-actions.pod:4844
12206 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12207 msgstr ""
12208
12209 # type: =head2
12210 #: ../src/guestfs-actions.pod:4848
12211 msgid "guestfs_touch"
12212 msgstr ""
12213
12214 # type: verbatim
12215 #: ../src/guestfs-actions.pod:4850
12216 #, no-wrap
12217 msgid ""
12218 " int guestfs_touch (guestfs_h *g,\n"
12219 "\t\tconst char *path);\n"
12220 "\n"
12221 msgstr ""
12222
12223 # type: textblock
12224 #: ../src/guestfs-actions.pod:4853 ../fish/guestfish-actions.pod:3742
12225 msgid ""
12226 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12227 "timestamps on a file, or, if the file does not exist, to create a new "
12228 "zero-length file."
12229 msgstr ""
12230
12231 # type: textblock
12232 #: ../src/guestfs-actions.pod:4857 ../fish/guestfish-actions.pod:3746
12233 msgid ""
12234 "This command only works on regular files, and will fail on other file types "
12235 "such as directories, symbolic links, block special etc."
12236 msgstr ""
12237
12238 # type: =head2
12239 #: ../src/guestfs-actions.pod:4862
12240 msgid "guestfs_truncate"
12241 msgstr ""
12242
12243 # type: verbatim
12244 #: ../src/guestfs-actions.pod:4864
12245 #, no-wrap
12246 msgid ""
12247 " int guestfs_truncate (guestfs_h *g,\n"
12248 "\t\tconst char *path);\n"
12249 "\n"
12250 msgstr ""
12251
12252 # type: textblock
12253 #: ../src/guestfs-actions.pod:4867 ../fish/guestfish-actions.pod:3753
12254 msgid ""
12255 "This command truncates C<path> to a zero-length file.  The file must exist "
12256 "already."
12257 msgstr ""
12258
12259 # type: =head2
12260 #: ../src/guestfs-actions.pod:4872
12261 msgid "guestfs_truncate_size"
12262 msgstr ""
12263
12264 # type: verbatim
12265 #: ../src/guestfs-actions.pod:4874
12266 #, no-wrap
12267 msgid ""
12268 " int guestfs_truncate_size (guestfs_h *g,\n"
12269 "\t\tconst char *path,\n"
12270 "\t\tint64_t size);\n"
12271 "\n"
12272 msgstr ""
12273
12274 # type: textblock
12275 #: ../src/guestfs-actions.pod:4878 ../fish/guestfish-actions.pod:3760
12276 msgid ""
12277 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12278 "already."
12279 msgstr ""
12280
12281 # type: textblock
12282 #: ../src/guestfs-actions.pod:4881
12283 msgid ""
12284 "If the current file size is less than C<size> then the file is extended to "
12285 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12286 "blocks are not allocated for the file until you write to it).  To create a "
12287 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12288 msgstr ""
12289
12290 # type: =head2
12291 #: ../src/guestfs-actions.pod:4889
12292 msgid "guestfs_tune2fs_l"
12293 msgstr ""
12294
12295 # type: verbatim
12296 #: ../src/guestfs-actions.pod:4891
12297 #, no-wrap
12298 msgid ""
12299 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12300 "\t\tconst char *device);\n"
12301 "\n"
12302 msgstr ""
12303
12304 # type: textblock
12305 #: ../src/guestfs-actions.pod:4894 ../fish/guestfish-actions.pod:3773
12306 msgid ""
12307 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12308 "C<device>."
12309 msgstr ""
12310
12311 # type: textblock
12312 #: ../src/guestfs-actions.pod:4897 ../fish/guestfish-actions.pod:3776
12313 msgid ""
12314 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12315 "for more details.  The list of fields returned isn't clearly defined, and "
12316 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12317 "and the filesystem itself."
12318 msgstr ""
12319
12320 # type: =head2
12321 #: ../src/guestfs-actions.pod:4908
12322 msgid "guestfs_txz_in"
12323 msgstr ""
12324
12325 # type: verbatim
12326 #: ../src/guestfs-actions.pod:4910
12327 #, no-wrap
12328 msgid ""
12329 " int guestfs_txz_in (guestfs_h *g,\n"
12330 "\t\tconst char *tarball,\n"
12331 "\t\tconst char *directory);\n"
12332 "\n"
12333 msgstr ""
12334
12335 # type: textblock
12336 #: ../src/guestfs-actions.pod:4914 ../fish/guestfish-actions.pod:3785
12337 msgid ""
12338 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12339 "tar file) into C<directory>."
12340 msgstr ""
12341
12342 # type: =head2
12343 #: ../src/guestfs-actions.pod:4919
12344 msgid "guestfs_txz_out"
12345 msgstr ""
12346
12347 # type: verbatim
12348 #: ../src/guestfs-actions.pod:4921
12349 #, no-wrap
12350 msgid ""
12351 " int guestfs_txz_out (guestfs_h *g,\n"
12352 "\t\tconst char *directory,\n"
12353 "\t\tconst char *tarball);\n"
12354 "\n"
12355 msgstr ""
12356
12357 # type: textblock
12358 #: ../src/guestfs-actions.pod:4925 ../fish/guestfish-actions.pod:3794
12359 msgid ""
12360 "This command packs the contents of C<directory> and downloads it to local "
12361 "file C<tarball> (as an xz compressed tar archive)."
12362 msgstr ""
12363
12364 # type: =head2
12365 #: ../src/guestfs-actions.pod:4930
12366 msgid "guestfs_umask"
12367 msgstr ""
12368
12369 # type: verbatim
12370 #: ../src/guestfs-actions.pod:4932
12371 #, no-wrap
12372 msgid ""
12373 " int guestfs_umask (guestfs_h *g,\n"
12374 "\t\tint mask);\n"
12375 "\n"
12376 msgstr ""
12377
12378 # type: textblock
12379 #: ../src/guestfs-actions.pod:4935 ../fish/guestfish-actions.pod:3803
12380 msgid ""
12381 "This function sets the mask used for creating new files and device nodes to "
12382 "C<mask & 0777>."
12383 msgstr ""
12384
12385 # type: textblock
12386 #: ../src/guestfs-actions.pod:4938 ../fish/guestfish-actions.pod:3806
12387 msgid ""
12388 "Typical umask values would be C<022> which creates new files with "
12389 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
12390 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
12391 msgstr ""
12392
12393 # type: textblock
12394 #: ../src/guestfs-actions.pod:4943 ../fish/guestfish-actions.pod:3811
12395 msgid ""
12396 "The default umask is C<022>.  This is important because it means that "
12397 "directories and device nodes will be created with C<0644> or C<0755> mode "
12398 "even if you specify C<0777>."
12399 msgstr ""
12400
12401 # type: textblock
12402 #: ../src/guestfs-actions.pod:4947
12403 msgid ""
12404 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
12405 "C<guestfs_mkdir>."
12406 msgstr ""
12407
12408 # type: textblock
12409 #: ../src/guestfs-actions.pod:4950 ../fish/guestfish-actions.pod:3818
12410 msgid "This call returns the previous umask."
12411 msgstr ""
12412
12413 # type: =head2
12414 #: ../src/guestfs-actions.pod:4954
12415 msgid "guestfs_umount"
12416 msgstr ""
12417
12418 # type: verbatim
12419 #: ../src/guestfs-actions.pod:4956
12420 #, no-wrap
12421 msgid ""
12422 " int guestfs_umount (guestfs_h *g,\n"
12423 "\t\tconst char *pathordevice);\n"
12424 "\n"
12425 msgstr ""
12426
12427 # type: textblock
12428 #: ../src/guestfs-actions.pod:4959 ../fish/guestfish-actions.pod:3824
12429 msgid ""
12430 "This unmounts the given filesystem.  The filesystem may be specified either "
12431 "by its mountpoint (path) or the device which contains the filesystem."
12432 msgstr ""
12433
12434 # type: =head2
12435 #: ../src/guestfs-actions.pod:4965
12436 msgid "guestfs_umount_all"
12437 msgstr ""
12438
12439 # type: verbatim
12440 #: ../src/guestfs-actions.pod:4967
12441 #, no-wrap
12442 msgid ""
12443 " int guestfs_umount_all (guestfs_h *g);\n"
12444 "\n"
12445 msgstr ""
12446
12447 # type: textblock
12448 #: ../src/guestfs-actions.pod:4969 ../fish/guestfish-actions.pod:3832
12449 msgid "This unmounts all mounted filesystems."
12450 msgstr ""
12451
12452 # type: textblock
12453 #: ../src/guestfs-actions.pod:4971 ../fish/guestfish-actions.pod:3834
12454 msgid "Some internal mounts are not unmounted by this call."
12455 msgstr ""
12456
12457 # type: =head2
12458 #: ../src/guestfs-actions.pod:4975
12459 msgid "guestfs_upload"
12460 msgstr ""
12461
12462 # type: verbatim
12463 #: ../src/guestfs-actions.pod:4977
12464 #, no-wrap
12465 msgid ""
12466 " int guestfs_upload (guestfs_h *g,\n"
12467 "\t\tconst char *filename,\n"
12468 "\t\tconst char *remotefilename);\n"
12469 "\n"
12470 msgstr ""
12471
12472 # type: textblock
12473 #: ../src/guestfs-actions.pod:4981 ../fish/guestfish-actions.pod:3840
12474 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
12475 msgstr ""
12476
12477 # type: textblock
12478 #: ../src/guestfs-actions.pod:4986
12479 msgid "See also C<guestfs_download>."
12480 msgstr ""
12481
12482 # type: =head2
12483 #: ../src/guestfs-actions.pod:4990
12484 msgid "guestfs_utimens"
12485 msgstr ""
12486
12487 # type: verbatim
12488 #: ../src/guestfs-actions.pod:4992
12489 #, no-wrap
12490 msgid ""
12491 " int guestfs_utimens (guestfs_h *g,\n"
12492 "\t\tconst char *path,\n"
12493 "\t\tint64_t atsecs,\n"
12494 "\t\tint64_t atnsecs,\n"
12495 "\t\tint64_t mtsecs,\n"
12496 "\t\tint64_t mtnsecs);\n"
12497 "\n"
12498 msgstr ""
12499
12500 # type: textblock
12501 #: ../src/guestfs-actions.pod:4999 ../fish/guestfish-actions.pod:3853
12502 msgid "This command sets the timestamps of a file with nanosecond precision."
12503 msgstr ""
12504
12505 # type: textblock
12506 #: ../src/guestfs-actions.pod:5002 ../fish/guestfish-actions.pod:3856
12507 msgid ""
12508 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
12509 "from the epoch."
12510 msgstr ""
12511
12512 # type: textblock
12513 #: ../src/guestfs-actions.pod:5005 ../fish/guestfish-actions.pod:3859
12514 msgid ""
12515 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
12516 "nanoseconds from the epoch."
12517 msgstr ""
12518
12519 # type: textblock
12520 #: ../src/guestfs-actions.pod:5008 ../fish/guestfish-actions.pod:3862
12521 msgid ""
12522 "If the C<*nsecs> field contains the special value C<-1> then the "
12523 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
12524 "ignored in this case)."
12525 msgstr ""
12526
12527 # type: textblock
12528 #: ../src/guestfs-actions.pod:5012 ../fish/guestfish-actions.pod:3866
12529 msgid ""
12530 "If the C<*nsecs> field contains the special value C<-2> then the "
12531 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
12532 "in this case)."
12533 msgstr ""
12534
12535 # type: =head2
12536 #: ../src/guestfs-actions.pod:5018 ../src/guestfs-structs.pod:175
12537 msgid "guestfs_version"
12538 msgstr ""
12539
12540 # type: verbatim
12541 #: ../src/guestfs-actions.pod:5020
12542 #, no-wrap
12543 msgid ""
12544 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
12545 "\n"
12546 msgstr ""
12547
12548 # type: textblock
12549 #: ../src/guestfs-actions.pod:5022 ../fish/guestfish-actions.pod:3874
12550 msgid "Return the libguestfs version number that the program is linked against."
12551 msgstr ""
12552
12553 # type: textblock
12554 #: ../src/guestfs-actions.pod:5025 ../fish/guestfish-actions.pod:3877
12555 msgid ""
12556 "Note that because of dynamic linking this is not necessarily the version of "
12557 "libguestfs that you compiled against.  You can compile the program, and then "
12558 "at runtime dynamically link against a completely different C<libguestfs.so> "
12559 "library."
12560 msgstr ""
12561
12562 # type: textblock
12563 #: ../src/guestfs-actions.pod:5030 ../fish/guestfish-actions.pod:3882
12564 msgid ""
12565 "This call was added in version C<1.0.58>.  In previous versions of "
12566 "libguestfs there was no way to get the version number.  From C code you can "
12567 "use dynamic linker functions to find out if this symbol exists (if it "
12568 "doesn't, then it's an earlier version)."
12569 msgstr ""
12570
12571 # type: textblock
12572 #: ../src/guestfs-actions.pod:5036 ../fish/guestfish-actions.pod:3888
12573 msgid ""
12574 "The call returns a structure with four elements.  The first three (C<major>, "
12575 "C<minor> and C<release>) are numbers and correspond to the usual version "
12576 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
12577 "but may be used for distro-specific information."
12578 msgstr ""
12579
12580 # type: textblock
12581 #: ../src/guestfs-actions.pod:5042 ../fish/guestfish-actions.pod:3894
12582 msgid "To construct the original version string: C<$major.$minor.$release$extra>"
12583 msgstr ""
12584
12585 # type: textblock
12586 #: ../src/guestfs-actions.pod:5045 ../fish/guestfish-actions.pod:3897
12587 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
12588 msgstr ""
12589
12590 # type: textblock
12591 #: ../src/guestfs-actions.pod:5047
12592 msgid ""
12593 "I<Note:> Don't use this call to test for availability of features.  In "
12594 "enterprise distributions we backport features from later versions into "
12595 "earlier versions, making this an unreliable way to test for features.  Use "
12596 "C<guestfs_available> instead."
12597 msgstr ""
12598
12599 # type: textblock
12600 #: ../src/guestfs-actions.pod:5053
12601 msgid ""
12602 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
12603 "error.  I<The caller must call C<guestfs_free_version> after use>."
12604 msgstr ""
12605
12606 # type: =head2
12607 #: ../src/guestfs-actions.pod:5057
12608 msgid "guestfs_vfs_label"
12609 msgstr ""
12610
12611 # type: verbatim
12612 #: ../src/guestfs-actions.pod:5059
12613 #, no-wrap
12614 msgid ""
12615 " char *guestfs_vfs_label (guestfs_h *g,\n"
12616 "\t\tconst char *device);\n"
12617 "\n"
12618 msgstr ""
12619
12620 # type: textblock
12621 #: ../src/guestfs-actions.pod:5062 ../fish/guestfish-actions.pod:3909
12622 msgid "This returns the filesystem label of the filesystem on C<device>."
12623 msgstr ""
12624
12625 # type: textblock
12626 #: ../src/guestfs-actions.pod:5065 ../fish/guestfish-actions.pod:3912
12627 msgid "If the filesystem is unlabeled, this returns the empty string."
12628 msgstr ""
12629
12630 # type: textblock
12631 #: ../src/guestfs-actions.pod:5067
12632 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
12633 msgstr ""
12634
12635 # type: =head2
12636 #: ../src/guestfs-actions.pod:5072
12637 msgid "guestfs_vfs_type"
12638 msgstr ""
12639
12640 # type: verbatim
12641 #: ../src/guestfs-actions.pod:5074
12642 #, no-wrap
12643 msgid ""
12644 " char *guestfs_vfs_type (guestfs_h *g,\n"
12645 "\t\tconst char *device);\n"
12646 "\n"
12647 msgstr ""
12648
12649 # type: textblock
12650 #: ../src/guestfs-actions.pod:5077 ../fish/guestfish-actions.pod:3920
12651 msgid ""
12652 "This command gets the filesystem type corresponding to the filesystem on "
12653 "C<device>."
12654 msgstr ""
12655
12656 # type: textblock
12657 #: ../src/guestfs-actions.pod:5080 ../fish/guestfish-actions.pod:3923
12658 msgid ""
12659 "For most filesystems, the result is the name of the Linux VFS module which "
12660 "would be used to mount this filesystem if you mounted it without specifying "
12661 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
12662 msgstr ""
12663
12664 # type: =head2
12665 #: ../src/guestfs-actions.pod:5088
12666 msgid "guestfs_vfs_uuid"
12667 msgstr ""
12668
12669 # type: verbatim
12670 #: ../src/guestfs-actions.pod:5090
12671 #, no-wrap
12672 msgid ""
12673 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
12674 "\t\tconst char *device);\n"
12675 "\n"
12676 msgstr ""
12677
12678 # type: textblock
12679 #: ../src/guestfs-actions.pod:5093 ../fish/guestfish-actions.pod:3932
12680 msgid "This returns the filesystem UUID of the filesystem on C<device>."
12681 msgstr ""
12682
12683 # type: textblock
12684 #: ../src/guestfs-actions.pod:5096 ../fish/guestfish-actions.pod:3935
12685 msgid "If the filesystem does not have a UUID, this returns the empty string."
12686 msgstr ""
12687
12688 # type: textblock
12689 #: ../src/guestfs-actions.pod:5098
12690 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
12691 msgstr ""
12692
12693 # type: =head2
12694 #: ../src/guestfs-actions.pod:5103
12695 msgid "guestfs_vg_activate"
12696 msgstr ""
12697
12698 # type: verbatim
12699 #: ../src/guestfs-actions.pod:5105
12700 #, no-wrap
12701 msgid ""
12702 " int guestfs_vg_activate (guestfs_h *g,\n"
12703 "\t\tint activate,\n"
12704 "\t\tchar *const *volgroups);\n"
12705 "\n"
12706 msgstr ""
12707
12708 # type: textblock
12709 #: ../src/guestfs-actions.pod:5109 ../fish/guestfish-actions.pod:3943
12710 msgid ""
12711 "This command activates or (if C<activate> is false) deactivates all logical "
12712 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
12713 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
12714 "deactivated, then those devices disappear."
12715 msgstr ""
12716
12717 # type: textblock
12718 #: ../src/guestfs-actions.pod:5115 ../fish/guestfish-actions.pod:3949
12719 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
12720 msgstr ""
12721
12722 # type: textblock
12723 #: ../src/guestfs-actions.pod:5117 ../fish/guestfish-actions.pod:3951
12724 msgid ""
12725 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
12726 "activated or deactivated."
12727 msgstr ""
12728
12729 # type: =head2
12730 #: ../src/guestfs-actions.pod:5122
12731 msgid "guestfs_vg_activate_all"
12732 msgstr ""
12733
12734 # type: verbatim
12735 #: ../src/guestfs-actions.pod:5124
12736 #, no-wrap
12737 msgid ""
12738 " int guestfs_vg_activate_all (guestfs_h *g,\n"
12739 "\t\tint activate);\n"
12740 "\n"
12741 msgstr ""
12742
12743 # type: textblock
12744 #: ../src/guestfs-actions.pod:5127 ../fish/guestfish-actions.pod:3958
12745 msgid ""
12746 "This command activates or (if C<activate> is false) deactivates all logical "
12747 "volumes in all volume groups.  If activated, then they are made known to the "
12748 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
12749 "those devices disappear."
12750 msgstr ""
12751
12752 # type: textblock
12753 #: ../src/guestfs-actions.pod:5133 ../fish/guestfish-actions.pod:3964
12754 msgid "This command is the same as running C<vgchange -a y|n>"
12755 msgstr ""
12756
12757 # type: =head2
12758 #: ../src/guestfs-actions.pod:5137
12759 msgid "guestfs_vgcreate"
12760 msgstr ""
12761
12762 # type: verbatim
12763 #: ../src/guestfs-actions.pod:5139
12764 #, no-wrap
12765 msgid ""
12766 " int guestfs_vgcreate (guestfs_h *g,\n"
12767 "\t\tconst char *volgroup,\n"
12768 "\t\tchar *const *physvols);\n"
12769 "\n"
12770 msgstr ""
12771
12772 # type: textblock
12773 #: ../src/guestfs-actions.pod:5143 ../fish/guestfish-actions.pod:3970
12774 msgid ""
12775 "This creates an LVM volume group called C<volgroup> from the non-empty list "
12776 "of physical volumes C<physvols>."
12777 msgstr ""
12778
12779 # type: =head2
12780 #: ../src/guestfs-actions.pod:5148
12781 msgid "guestfs_vglvuuids"
12782 msgstr ""
12783
12784 # type: verbatim
12785 #: ../src/guestfs-actions.pod:5150
12786 #, no-wrap
12787 msgid ""
12788 " char **guestfs_vglvuuids (guestfs_h *g,\n"
12789 "\t\tconst char *vgname);\n"
12790 "\n"
12791 msgstr ""
12792
12793 # type: textblock
12794 #: ../src/guestfs-actions.pod:5153 ../fish/guestfish-actions.pod:3977
12795 msgid ""
12796 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
12797 "volumes created in this volume group."
12798 msgstr ""
12799
12800 # type: textblock
12801 #: ../src/guestfs-actions.pod:5156
12802 msgid ""
12803 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
12804 "associate logical volumes and volume groups."
12805 msgstr ""
12806
12807 # type: textblock
12808 #: ../src/guestfs-actions.pod:5159
12809 msgid "See also C<guestfs_vgpvuuids>."
12810 msgstr ""
12811
12812 # type: =head2
12813 #: ../src/guestfs-actions.pod:5165
12814 msgid "guestfs_vgpvuuids"
12815 msgstr ""
12816
12817 # type: verbatim
12818 #: ../src/guestfs-actions.pod:5167
12819 #, no-wrap
12820 msgid ""
12821 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
12822 "\t\tconst char *vgname);\n"
12823 "\n"
12824 msgstr ""
12825
12826 # type: textblock
12827 #: ../src/guestfs-actions.pod:5170 ../fish/guestfish-actions.pod:3989
12828 msgid ""
12829 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
12830 "volumes that this volume group resides on."
12831 msgstr ""
12832
12833 # type: textblock
12834 #: ../src/guestfs-actions.pod:5173
12835 msgid ""
12836 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
12837 "associate physical volumes and volume groups."
12838 msgstr ""
12839
12840 # type: textblock
12841 #: ../src/guestfs-actions.pod:5176
12842 msgid "See also C<guestfs_vglvuuids>."
12843 msgstr ""
12844
12845 # type: =head2
12846 #: ../src/guestfs-actions.pod:5182
12847 msgid "guestfs_vgremove"
12848 msgstr ""
12849
12850 # type: verbatim
12851 #: ../src/guestfs-actions.pod:5184
12852 #, no-wrap
12853 msgid ""
12854 " int guestfs_vgremove (guestfs_h *g,\n"
12855 "\t\tconst char *vgname);\n"
12856 "\n"
12857 msgstr ""
12858
12859 # type: textblock
12860 #: ../src/guestfs-actions.pod:5187 ../fish/guestfish-actions.pod:4001
12861 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
12862 msgstr ""
12863
12864 # type: textblock
12865 #: ../src/guestfs-actions.pod:5189 ../fish/guestfish-actions.pod:4003
12866 msgid "This also forcibly removes all logical volumes in the volume group (if any)."
12867 msgstr ""
12868
12869 # type: =head2
12870 #: ../src/guestfs-actions.pod:5194
12871 msgid "guestfs_vgrename"
12872 msgstr ""
12873
12874 # type: verbatim
12875 #: ../src/guestfs-actions.pod:5196
12876 #, no-wrap
12877 msgid ""
12878 " int guestfs_vgrename (guestfs_h *g,\n"
12879 "\t\tconst char *volgroup,\n"
12880 "\t\tconst char *newvolgroup);\n"
12881 "\n"
12882 msgstr ""
12883
12884 # type: textblock
12885 #: ../src/guestfs-actions.pod:5200 ../fish/guestfish-actions.pod:4010
12886 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
12887 msgstr ""
12888
12889 # type: =head2
12890 #: ../src/guestfs-actions.pod:5204
12891 msgid "guestfs_vgs"
12892 msgstr ""
12893
12894 # type: verbatim
12895 #: ../src/guestfs-actions.pod:5206
12896 #, no-wrap
12897 msgid ""
12898 " char **guestfs_vgs (guestfs_h *g);\n"
12899 "\n"
12900 msgstr ""
12901
12902 # type: textblock
12903 #: ../src/guestfs-actions.pod:5208 ../fish/guestfish-actions.pod:4016
12904 msgid ""
12905 "List all the volumes groups detected.  This is the equivalent of the "
12906 "L<vgs(8)> command."
12907 msgstr ""
12908
12909 # type: textblock
12910 #: ../src/guestfs-actions.pod:5211 ../fish/guestfish-actions.pod:4019
12911 msgid ""
12912 "This returns a list of just the volume group names that were detected "
12913 "(eg. C<VolGroup00>)."
12914 msgstr ""
12915
12916 # type: textblock
12917 #: ../src/guestfs-actions.pod:5214
12918 msgid "See also C<guestfs_vgs_full>."
12919 msgstr ""
12920
12921 # type: =head2
12922 #: ../src/guestfs-actions.pod:5220
12923 msgid "guestfs_vgs_full"
12924 msgstr ""
12925
12926 # type: verbatim
12927 #: ../src/guestfs-actions.pod:5222
12928 #, no-wrap
12929 msgid ""
12930 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
12931 "\n"
12932 msgstr ""
12933
12934 # type: textblock
12935 #: ../src/guestfs-actions.pod:5224 ../fish/guestfish-actions.pod:4028
12936 msgid ""
12937 "List all the volumes groups detected.  This is the equivalent of the "
12938 "L<vgs(8)> command.  The \"full\" version includes all fields."
12939 msgstr ""
12940
12941 # type: textblock
12942 #: ../src/guestfs-actions.pod:5227
12943 msgid ""
12944 "This function returns a C<struct guestfs_lvm_vg_list *> (see "
12945 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
12946 "must call C<guestfs_free_lvm_vg_list> after use>."
12947 msgstr ""
12948
12949 # type: =head2
12950 #: ../src/guestfs-actions.pod:5232
12951 msgid "guestfs_vgscan"
12952 msgstr ""
12953
12954 # type: verbatim
12955 #: ../src/guestfs-actions.pod:5234
12956 #, no-wrap
12957 msgid ""
12958 " int guestfs_vgscan (guestfs_h *g);\n"
12959 "\n"
12960 msgstr ""
12961
12962 # type: textblock
12963 #: ../src/guestfs-actions.pod:5236 ../fish/guestfish-actions.pod:4035
12964 msgid ""
12965 "This rescans all block devices and rebuilds the list of LVM physical "
12966 "volumes, volume groups and logical volumes."
12967 msgstr ""
12968
12969 # type: =head2
12970 #: ../src/guestfs-actions.pod:5241
12971 msgid "guestfs_vguuid"
12972 msgstr ""
12973
12974 # type: verbatim
12975 #: ../src/guestfs-actions.pod:5243
12976 #, no-wrap
12977 msgid ""
12978 " char *guestfs_vguuid (guestfs_h *g,\n"
12979 "\t\tconst char *vgname);\n"
12980 "\n"
12981 msgstr ""
12982
12983 # type: textblock
12984 #: ../src/guestfs-actions.pod:5246 ../fish/guestfish-actions.pod:4042
12985 msgid "This command returns the UUID of the LVM VG named C<vgname>."
12986 msgstr ""
12987
12988 # type: =head2
12989 #: ../src/guestfs-actions.pod:5251
12990 msgid "guestfs_wait_ready"
12991 msgstr ""
12992
12993 # type: verbatim
12994 #: ../src/guestfs-actions.pod:5253
12995 #, no-wrap
12996 msgid ""
12997 " int guestfs_wait_ready (guestfs_h *g);\n"
12998 "\n"
12999 msgstr ""
13000
13001 # type: textblock
13002 #: ../src/guestfs-actions.pod:5255
13003 msgid "This function is a no op."
13004 msgstr ""
13005
13006 # type: textblock
13007 #: ../src/guestfs-actions.pod:5257
13008 msgid ""
13009 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13010 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13011 "is no longer necessary because C<guestfs_launch> now does the waiting."
13012 msgstr ""
13013
13014 # type: textblock
13015 #: ../src/guestfs-actions.pod:5262
13016 msgid ""
13017 "If you see any calls to this function in code then you can just remove them, "
13018 "unless you want to retain compatibility with older versions of the API."
13019 msgstr ""
13020
13021 # type: =head2
13022 #: ../src/guestfs-actions.pod:5268
13023 msgid "guestfs_wc_c"
13024 msgstr ""
13025
13026 # type: verbatim
13027 #: ../src/guestfs-actions.pod:5270
13028 #, no-wrap
13029 msgid ""
13030 " int guestfs_wc_c (guestfs_h *g,\n"
13031 "\t\tconst char *path);\n"
13032 "\n"
13033 msgstr ""
13034
13035 # type: textblock
13036 #: ../src/guestfs-actions.pod:5273 ../fish/guestfish-actions.pod:4048
13037 msgid ""
13038 "This command counts the characters in a file, using the C<wc -c> external "
13039 "command."
13040 msgstr ""
13041
13042 # type: =head2
13043 #: ../src/guestfs-actions.pod:5278
13044 msgid "guestfs_wc_l"
13045 msgstr ""
13046
13047 # type: verbatim
13048 #: ../src/guestfs-actions.pod:5280
13049 #, no-wrap
13050 msgid ""
13051 " int guestfs_wc_l (guestfs_h *g,\n"
13052 "\t\tconst char *path);\n"
13053 "\n"
13054 msgstr ""
13055
13056 # type: textblock
13057 #: ../src/guestfs-actions.pod:5283 ../fish/guestfish-actions.pod:4055
13058 msgid ""
13059 "This command counts the lines in a file, using the C<wc -l> external "
13060 "command."
13061 msgstr ""
13062
13063 # type: =head2
13064 #: ../src/guestfs-actions.pod:5288
13065 msgid "guestfs_wc_w"
13066 msgstr ""
13067
13068 # type: verbatim
13069 #: ../src/guestfs-actions.pod:5290
13070 #, no-wrap
13071 msgid ""
13072 " int guestfs_wc_w (guestfs_h *g,\n"
13073 "\t\tconst char *path);\n"
13074 "\n"
13075 msgstr ""
13076
13077 # type: textblock
13078 #: ../src/guestfs-actions.pod:5293 ../fish/guestfish-actions.pod:4062
13079 msgid ""
13080 "This command counts the words in a file, using the C<wc -w> external "
13081 "command."
13082 msgstr ""
13083
13084 # type: =head2
13085 #: ../src/guestfs-actions.pod:5298
13086 msgid "guestfs_write"
13087 msgstr ""
13088
13089 # type: verbatim
13090 #: ../src/guestfs-actions.pod:5300
13091 #, no-wrap
13092 msgid ""
13093 " int guestfs_write (guestfs_h *g,\n"
13094 "\t\tconst char *path,\n"
13095 "\t\tconst char *content,\n"
13096 "\t\tsize_t content_size);\n"
13097 "\n"
13098 msgstr ""
13099
13100 # type: textblock
13101 #: ../src/guestfs-actions.pod:5305 ../fish/guestfish-actions.pod:4069
13102 msgid ""
13103 "This call creates a file called C<path>.  The content of the file is the "
13104 "string C<content> (which can contain any 8 bit data)."
13105 msgstr ""
13106
13107 # type: =head2
13108 #: ../src/guestfs-actions.pod:5313
13109 msgid "guestfs_write_file"
13110 msgstr ""
13111
13112 # type: verbatim
13113 #: ../src/guestfs-actions.pod:5315
13114 #, no-wrap
13115 msgid ""
13116 " int guestfs_write_file (guestfs_h *g,\n"
13117 "\t\tconst char *path,\n"
13118 "\t\tconst char *content,\n"
13119 "\t\tint size);\n"
13120 "\n"
13121 msgstr ""
13122
13123 # type: textblock
13124 #: ../src/guestfs-actions.pod:5320 ../fish/guestfish-actions.pod:4079
13125 msgid ""
13126 "This call creates a file called C<path>.  The contents of the file is the "
13127 "string C<content> (which can contain any 8 bit data), with length C<size>."
13128 msgstr ""
13129
13130 # type: textblock
13131 #: ../src/guestfs-actions.pod:5324 ../fish/guestfish-actions.pod:4083
13132 msgid ""
13133 "As a special case, if C<size> is C<0> then the length is calculated using "
13134 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13135 msgstr ""
13136
13137 # type: textblock
13138 #: ../src/guestfs-actions.pod:5328 ../fish/guestfish-actions.pod:4087
13139 msgid ""
13140 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13141 "I<not> work, even if the length is specified."
13142 msgstr ""
13143
13144 # type: textblock
13145 #: ../src/guestfs-actions.pod:5336 ../fish/guestfish-actions.pod:4093
13146 msgid "This function is deprecated.  In new code, use the C<write> call instead."
13147 msgstr ""
13148
13149 # type: =head2
13150 #: ../src/guestfs-actions.pod:5343
13151 msgid "guestfs_zegrep"
13152 msgstr ""
13153
13154 # type: verbatim
13155 #: ../src/guestfs-actions.pod:5345
13156 #, no-wrap
13157 msgid ""
13158 " char **guestfs_zegrep (guestfs_h *g,\n"
13159 "\t\tconst char *regex,\n"
13160 "\t\tconst char *path);\n"
13161 "\n"
13162 msgstr ""
13163
13164 # type: textblock
13165 #: ../src/guestfs-actions.pod:5349 ../fish/guestfish-actions.pod:4104
13166 msgid "This calls the external C<zegrep> program and returns the matching lines."
13167 msgstr ""
13168
13169 # type: =head2
13170 #: ../src/guestfs-actions.pod:5359
13171 msgid "guestfs_zegrepi"
13172 msgstr ""
13173
13174 # type: verbatim
13175 #: ../src/guestfs-actions.pod:5361
13176 #, no-wrap
13177 msgid ""
13178 " char **guestfs_zegrepi (guestfs_h *g,\n"
13179 "\t\tconst char *regex,\n"
13180 "\t\tconst char *path);\n"
13181 "\n"
13182 msgstr ""
13183
13184 # type: textblock
13185 #: ../src/guestfs-actions.pod:5365 ../fish/guestfish-actions.pod:4114
13186 msgid "This calls the external C<zegrep -i> program and returns the matching lines."
13187 msgstr ""
13188
13189 # type: =head2
13190 #: ../src/guestfs-actions.pod:5375
13191 msgid "guestfs_zero"
13192 msgstr ""
13193
13194 # type: verbatim
13195 #: ../src/guestfs-actions.pod:5377
13196 #, no-wrap
13197 msgid ""
13198 " int guestfs_zero (guestfs_h *g,\n"
13199 "\t\tconst char *device);\n"
13200 "\n"
13201 msgstr ""
13202
13203 # type: textblock
13204 #: ../src/guestfs-actions.pod:5380 ../fish/guestfish-actions.pod:4124
13205 msgid "This command writes zeroes over the first few blocks of C<device>."
13206 msgstr ""
13207
13208 # type: textblock
13209 #: ../src/guestfs-actions.pod:5382 ../fish/guestfish-actions.pod:4126
13210 msgid ""
13211 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13212 "securely wipe the device).  It should be sufficient to remove any partition "
13213 "tables, filesystem superblocks and so on."
13214 msgstr ""
13215
13216 # type: textblock
13217 #: ../src/guestfs-actions.pod:5386
13218 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13219 msgstr ""
13220
13221 # type: =head2
13222 #: ../src/guestfs-actions.pod:5395
13223 msgid "guestfs_zero_device"
13224 msgstr ""
13225
13226 # type: verbatim
13227 #: ../src/guestfs-actions.pod:5397
13228 #, no-wrap
13229 msgid ""
13230 " int guestfs_zero_device (guestfs_h *g,\n"
13231 "\t\tconst char *device);\n"
13232 "\n"
13233 msgstr ""
13234
13235 # type: textblock
13236 #: ../src/guestfs-actions.pod:5400
13237 msgid ""
13238 "This command writes zeroes over the entire C<device>.  Compare with "
13239 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13240 msgstr ""
13241
13242 # type: =head2
13243 #: ../src/guestfs-actions.pod:5414
13244 msgid "guestfs_zerofree"
13245 msgstr ""
13246
13247 # type: verbatim
13248 #: ../src/guestfs-actions.pod:5416
13249 #, no-wrap
13250 msgid ""
13251 " int guestfs_zerofree (guestfs_h *g,\n"
13252 "\t\tconst char *device);\n"
13253 "\n"
13254 msgstr ""
13255
13256 # type: textblock
13257 #: ../src/guestfs-actions.pod:5419 ../fish/guestfish-actions.pod:4147
13258 msgid ""
13259 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13260 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13261 "possible to compress the filesystem more effectively."
13262 msgstr ""
13263
13264 # type: textblock
13265 #: ../src/guestfs-actions.pod:5424 ../fish/guestfish-actions.pod:4152
13266 msgid "You should B<not> run this program if the filesystem is mounted."
13267 msgstr ""
13268
13269 # type: textblock
13270 #: ../src/guestfs-actions.pod:5427 ../fish/guestfish-actions.pod:4155
13271 msgid ""
13272 "It is possible that using this program can damage the filesystem or data on "
13273 "the filesystem."
13274 msgstr ""
13275
13276 # type: =head2
13277 #: ../src/guestfs-actions.pod:5432
13278 msgid "guestfs_zfgrep"
13279 msgstr ""
13280
13281 # type: verbatim
13282 #: ../src/guestfs-actions.pod:5434
13283 #, no-wrap
13284 msgid ""
13285 " char **guestfs_zfgrep (guestfs_h *g,\n"
13286 "\t\tconst char *pattern,\n"
13287 "\t\tconst char *path);\n"
13288 "\n"
13289 msgstr ""
13290
13291 # type: textblock
13292 #: ../src/guestfs-actions.pod:5438 ../fish/guestfish-actions.pod:4162
13293 msgid "This calls the external C<zfgrep> program and returns the matching lines."
13294 msgstr ""
13295
13296 # type: =head2
13297 #: ../src/guestfs-actions.pod:5448
13298 msgid "guestfs_zfgrepi"
13299 msgstr ""
13300
13301 # type: verbatim
13302 #: ../src/guestfs-actions.pod:5450
13303 #, no-wrap
13304 msgid ""
13305 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13306 "\t\tconst char *pattern,\n"
13307 "\t\tconst char *path);\n"
13308 "\n"
13309 msgstr ""
13310
13311 # type: textblock
13312 #: ../src/guestfs-actions.pod:5454 ../fish/guestfish-actions.pod:4172
13313 msgid "This calls the external C<zfgrep -i> program and returns the matching lines."
13314 msgstr ""
13315
13316 # type: =head2
13317 #: ../src/guestfs-actions.pod:5464
13318 msgid "guestfs_zfile"
13319 msgstr ""
13320
13321 # type: verbatim
13322 #: ../src/guestfs-actions.pod:5466
13323 #, no-wrap
13324 msgid ""
13325 " char *guestfs_zfile (guestfs_h *g,\n"
13326 "\t\tconst char *meth,\n"
13327 "\t\tconst char *path);\n"
13328 "\n"
13329 msgstr ""
13330
13331 # type: textblock
13332 #: ../src/guestfs-actions.pod:5470 ../fish/guestfish-actions.pod:4182
13333 msgid "This command runs C<file> after first decompressing C<path> using C<method>."
13334 msgstr ""
13335
13336 # type: textblock
13337 #: ../src/guestfs-actions.pod:5473 ../fish/guestfish-actions.pod:4185
13338 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
13339 msgstr ""
13340
13341 # type: textblock
13342 #: ../src/guestfs-actions.pod:5475
13343 msgid ""
13344 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
13345 "files."
13346 msgstr ""
13347
13348 # type: textblock
13349 #: ../src/guestfs-actions.pod:5481 ../fish/guestfish-actions.pod:4190
13350 msgid "This function is deprecated.  In new code, use the C<file> call instead."
13351 msgstr ""
13352
13353 # type: =head2
13354 #: ../src/guestfs-actions.pod:5488
13355 msgid "guestfs_zgrep"
13356 msgstr ""
13357
13358 # type: verbatim
13359 #: ../src/guestfs-actions.pod:5490
13360 #, no-wrap
13361 msgid ""
13362 " char **guestfs_zgrep (guestfs_h *g,\n"
13363 "\t\tconst char *regex,\n"
13364 "\t\tconst char *path);\n"
13365 "\n"
13366 msgstr ""
13367
13368 # type: textblock
13369 #: ../src/guestfs-actions.pod:5494 ../fish/guestfish-actions.pod:4201
13370 msgid "This calls the external C<zgrep> program and returns the matching lines."
13371 msgstr ""
13372
13373 # type: =head2
13374 #: ../src/guestfs-actions.pod:5504
13375 msgid "guestfs_zgrepi"
13376 msgstr ""
13377
13378 # type: verbatim
13379 #: ../src/guestfs-actions.pod:5506
13380 #, no-wrap
13381 msgid ""
13382 " char **guestfs_zgrepi (guestfs_h *g,\n"
13383 "\t\tconst char *regex,\n"
13384 "\t\tconst char *path);\n"
13385 "\n"
13386 msgstr ""
13387
13388 # type: textblock
13389 #: ../src/guestfs-actions.pod:5510 ../fish/guestfish-actions.pod:4211
13390 msgid "This calls the external C<zgrep -i> program and returns the matching lines."
13391 msgstr ""
13392
13393 # type: =item
13394 #: ../src/guestfs-availability.pod:3
13395 msgid "B<augeas>"
13396 msgstr ""
13397
13398 # type: textblock
13399 #: ../src/guestfs-availability.pod:5
13400 msgid ""
13401 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> "
13402 "L</guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> "
13403 "L</guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> "
13404 "L</guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> "
13405 "L</guestfs_aug_rm> L</guestfs_aug_save> L</guestfs_aug_set>"
13406 msgstr ""
13407
13408 # type: =item
13409 #: ../src/guestfs-availability.pod:21
13410 msgid "B<inotify>"
13411 msgstr ""
13412
13413 # type: textblock
13414 #: ../src/guestfs-availability.pod:23
13415 msgid ""
13416 "The following functions: L</guestfs_inotify_add_watch> "
13417 "L</guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> "
13418 "L</guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
13419 msgstr ""
13420
13421 # type: =item
13422 #: ../src/guestfs-availability.pod:31
13423 msgid "B<linuxfsuuid>"
13424 msgstr ""
13425
13426 # type: textblock
13427 #: ../src/guestfs-availability.pod:33
13428 msgid ""
13429 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> "
13430 "L</guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
13431 msgstr ""
13432
13433 # type: =item
13434 #: ../src/guestfs-availability.pod:40
13435 msgid "B<linuxmodules>"
13436 msgstr ""
13437
13438 # type: textblock
13439 #: ../src/guestfs-availability.pod:42
13440 msgid "The following functions: L</guestfs_modprobe>"
13441 msgstr ""
13442
13443 # type: =item
13444 #: ../src/guestfs-availability.pod:45
13445 msgid "B<linuxxattrs>"
13446 msgstr ""
13447
13448 # type: textblock
13449 #: ../src/guestfs-availability.pod:47
13450 msgid ""
13451 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> "
13452 "L</guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> "
13453 "L</guestfs_removexattr> L</guestfs_setxattr>"
13454 msgstr ""
13455
13456 # type: =item
13457 #: ../src/guestfs-availability.pod:56
13458 msgid "B<luks>"
13459 msgstr ""
13460
13461 # type: textblock
13462 #: ../src/guestfs-availability.pod:58
13463 msgid ""
13464 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> "
13465 "L</guestfs_luks_format> L</guestfs_luks_format_cipher> "
13466 "L</guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
13467 msgstr ""
13468
13469 # type: =item
13470 #: ../src/guestfs-availability.pod:67
13471 msgid "B<lvm2>"
13472 msgstr ""
13473
13474 # type: textblock
13475 #: ../src/guestfs-availability.pod:69
13476 msgid ""
13477 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> "
13478 "L</guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> "
13479 "L</guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> "
13480 "L</guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> "
13481 "L</guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> "
13482 "L</guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> "
13483 "L</guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> "
13484 "L</guestfs_vgs_full>"
13485 msgstr ""
13486
13487 # type: =item
13488 #: ../src/guestfs-availability.pod:92
13489 msgid "B<mknod>"
13490 msgstr ""
13491
13492 # type: textblock
13493 #: ../src/guestfs-availability.pod:94
13494 msgid ""
13495 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> "
13496 "L</guestfs_mknod_b> L</guestfs_mknod_c>"
13497 msgstr ""
13498
13499 # type: =item
13500 #: ../src/guestfs-availability.pod:100
13501 msgid "B<ntfs3g>"
13502 msgstr ""
13503
13504 # type: textblock
13505 #: ../src/guestfs-availability.pod:102
13506 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
13507 msgstr ""
13508
13509 # type: =item
13510 #: ../src/guestfs-availability.pod:105
13511 msgid "B<ntfsprogs>"
13512 msgstr ""
13513
13514 # type: textblock
13515 #: ../src/guestfs-availability.pod:107
13516 msgid "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
13517 msgstr ""
13518
13519 # type: =item
13520 #: ../src/guestfs-availability.pod:111
13521 msgid "B<realpath>"
13522 msgstr ""
13523
13524 # type: textblock
13525 #: ../src/guestfs-availability.pod:113
13526 msgid "The following functions: L</guestfs_realpath>"
13527 msgstr ""
13528
13529 # type: =item
13530 #: ../src/guestfs-availability.pod:116
13531 msgid "B<scrub>"
13532 msgstr ""
13533
13534 # type: textblock
13535 #: ../src/guestfs-availability.pod:118
13536 msgid ""
13537 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> "
13538 "L</guestfs_scrub_freespace>"
13539 msgstr ""
13540
13541 # type: =item
13542 #: ../src/guestfs-availability.pod:123
13543 msgid "B<selinux>"
13544 msgstr ""
13545
13546 # type: textblock
13547 #: ../src/guestfs-availability.pod:125
13548 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
13549 msgstr ""
13550
13551 # type: =item
13552 #: ../src/guestfs-availability.pod:129
13553 msgid "B<xz>"
13554 msgstr ""
13555
13556 # type: textblock
13557 #: ../src/guestfs-availability.pod:131
13558 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
13559 msgstr ""
13560
13561 # type: =item
13562 #: ../src/guestfs-availability.pod:135
13563 msgid "B<zerofree>"
13564 msgstr ""
13565
13566 # type: textblock
13567 #: ../src/guestfs-availability.pod:137
13568 msgid "The following functions: L</guestfs_zerofree>"
13569 msgstr ""
13570
13571 # type: =head2
13572 #: ../src/guestfs-structs.pod:1
13573 msgid "guestfs_int_bool"
13574 msgstr ""
13575
13576 # type: verbatim
13577 #: ../src/guestfs-structs.pod:3
13578 #, no-wrap
13579 msgid ""
13580 " struct guestfs_int_bool {\n"
13581 "   int32_t i;\n"
13582 "   int32_t b;\n"
13583 " };\n"
13584 " \n"
13585 msgstr ""
13586
13587 # type: verbatim
13588 #: ../src/guestfs-structs.pod:8
13589 #, no-wrap
13590 msgid ""
13591 " struct guestfs_int_bool_list {\n"
13592 "   uint32_t len; /* Number of elements in list. */\n"
13593 "   struct guestfs_int_bool *val; /* Elements. */\n"
13594 " };\n"
13595 " \n"
13596 msgstr ""
13597
13598 # type: verbatim
13599 #: ../src/guestfs-structs.pod:13
13600 #, no-wrap
13601 msgid ""
13602 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
13603 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
13604 "\n"
13605 msgstr ""
13606
13607 # type: =head2
13608 #: ../src/guestfs-structs.pod:16
13609 msgid "guestfs_lvm_pv"
13610 msgstr ""
13611
13612 # type: verbatim
13613 #: ../src/guestfs-structs.pod:18
13614 #, no-wrap
13615 msgid ""
13616 " struct guestfs_lvm_pv {\n"
13617 "   char *pv_name;\n"
13618 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13619 "*/\n"
13620 "   char pv_uuid[32];\n"
13621 "   char *pv_fmt;\n"
13622 "   uint64_t pv_size;\n"
13623 "   uint64_t dev_size;\n"
13624 "   uint64_t pv_free;\n"
13625 "   uint64_t pv_used;\n"
13626 "   char *pv_attr;\n"
13627 "   int64_t pv_pe_count;\n"
13628 "   int64_t pv_pe_alloc_count;\n"
13629 "   char *pv_tags;\n"
13630 "   uint64_t pe_start;\n"
13631 "   int64_t pv_mda_count;\n"
13632 "   uint64_t pv_mda_free;\n"
13633 " };\n"
13634 " \n"
13635 msgstr ""
13636
13637 # type: verbatim
13638 #: ../src/guestfs-structs.pod:36
13639 #, no-wrap
13640 msgid ""
13641 " struct guestfs_lvm_pv_list {\n"
13642 "   uint32_t len; /* Number of elements in list. */\n"
13643 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
13644 " };\n"
13645 " \n"
13646 msgstr ""
13647
13648 # type: verbatim
13649 #: ../src/guestfs-structs.pod:41
13650 #, no-wrap
13651 msgid ""
13652 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
13653 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
13654 "\n"
13655 msgstr ""
13656
13657 # type: =head2
13658 #: ../src/guestfs-structs.pod:44
13659 msgid "guestfs_lvm_vg"
13660 msgstr ""
13661
13662 # type: verbatim
13663 #: ../src/guestfs-structs.pod:46
13664 #, no-wrap
13665 msgid ""
13666 " struct guestfs_lvm_vg {\n"
13667 "   char *vg_name;\n"
13668 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13669 "*/\n"
13670 "   char vg_uuid[32];\n"
13671 "   char *vg_fmt;\n"
13672 "   char *vg_attr;\n"
13673 "   uint64_t vg_size;\n"
13674 "   uint64_t vg_free;\n"
13675 "   char *vg_sysid;\n"
13676 "   uint64_t vg_extent_size;\n"
13677 "   int64_t vg_extent_count;\n"
13678 "   int64_t vg_free_count;\n"
13679 "   int64_t max_lv;\n"
13680 "   int64_t max_pv;\n"
13681 "   int64_t pv_count;\n"
13682 "   int64_t lv_count;\n"
13683 "   int64_t snap_count;\n"
13684 "   int64_t vg_seqno;\n"
13685 "   char *vg_tags;\n"
13686 "   int64_t vg_mda_count;\n"
13687 "   uint64_t vg_mda_free;\n"
13688 " };\n"
13689 " \n"
13690 msgstr ""
13691
13692 # type: verbatim
13693 #: ../src/guestfs-structs.pod:69
13694 #, no-wrap
13695 msgid ""
13696 " struct guestfs_lvm_vg_list {\n"
13697 "   uint32_t len; /* Number of elements in list. */\n"
13698 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
13699 " };\n"
13700 " \n"
13701 msgstr ""
13702
13703 # type: verbatim
13704 #: ../src/guestfs-structs.pod:74
13705 #, no-wrap
13706 msgid ""
13707 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
13708 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
13709 "\n"
13710 msgstr ""
13711
13712 # type: =head2
13713 #: ../src/guestfs-structs.pod:77
13714 msgid "guestfs_lvm_lv"
13715 msgstr ""
13716
13717 # type: verbatim
13718 #: ../src/guestfs-structs.pod:79
13719 #, no-wrap
13720 msgid ""
13721 " struct guestfs_lvm_lv {\n"
13722 "   char *lv_name;\n"
13723 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13724 "*/\n"
13725 "   char lv_uuid[32];\n"
13726 "   char *lv_attr;\n"
13727 "   int64_t lv_major;\n"
13728 "   int64_t lv_minor;\n"
13729 "   int64_t lv_kernel_major;\n"
13730 "   int64_t lv_kernel_minor;\n"
13731 "   uint64_t lv_size;\n"
13732 "   int64_t seg_count;\n"
13733 "   char *origin;\n"
13734 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13735 "   float snap_percent;\n"
13736 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13737 "   float copy_percent;\n"
13738 "   char *move_pv;\n"
13739 "   char *lv_tags;\n"
13740 "   char *mirror_log;\n"
13741 "   char *modules;\n"
13742 " };\n"
13743 " \n"
13744 msgstr ""
13745
13746 # type: verbatim
13747 #: ../src/guestfs-structs.pod:101
13748 #, no-wrap
13749 msgid ""
13750 " struct guestfs_lvm_lv_list {\n"
13751 "   uint32_t len; /* Number of elements in list. */\n"
13752 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
13753 " };\n"
13754 " \n"
13755 msgstr ""
13756
13757 # type: verbatim
13758 #: ../src/guestfs-structs.pod:106
13759 #, no-wrap
13760 msgid ""
13761 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
13762 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
13763 "\n"
13764 msgstr ""
13765
13766 # type: verbatim
13767 #: ../src/guestfs-structs.pod:111
13768 #, no-wrap
13769 msgid ""
13770 " struct guestfs_stat {\n"
13771 "   int64_t dev;\n"
13772 "   int64_t ino;\n"
13773 "   int64_t mode;\n"
13774 "   int64_t nlink;\n"
13775 "   int64_t uid;\n"
13776 "   int64_t gid;\n"
13777 "   int64_t rdev;\n"
13778 "   int64_t size;\n"
13779 "   int64_t blksize;\n"
13780 "   int64_t blocks;\n"
13781 "   int64_t atime;\n"
13782 "   int64_t mtime;\n"
13783 "   int64_t ctime;\n"
13784 " };\n"
13785 " \n"
13786 msgstr ""
13787
13788 # type: verbatim
13789 #: ../src/guestfs-structs.pod:127
13790 #, no-wrap
13791 msgid ""
13792 " struct guestfs_stat_list {\n"
13793 "   uint32_t len; /* Number of elements in list. */\n"
13794 "   struct guestfs_stat *val; /* Elements. */\n"
13795 " };\n"
13796 " \n"
13797 msgstr ""
13798
13799 # type: verbatim
13800 #: ../src/guestfs-structs.pod:132
13801 #, no-wrap
13802 msgid ""
13803 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
13804 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
13805 "\n"
13806 msgstr ""
13807
13808 # type: verbatim
13809 #: ../src/guestfs-structs.pod:137
13810 #, no-wrap
13811 msgid ""
13812 " struct guestfs_statvfs {\n"
13813 "   int64_t bsize;\n"
13814 "   int64_t frsize;\n"
13815 "   int64_t blocks;\n"
13816 "   int64_t bfree;\n"
13817 "   int64_t bavail;\n"
13818 "   int64_t files;\n"
13819 "   int64_t ffree;\n"
13820 "   int64_t favail;\n"
13821 "   int64_t fsid;\n"
13822 "   int64_t flag;\n"
13823 "   int64_t namemax;\n"
13824 " };\n"
13825 " \n"
13826 msgstr ""
13827
13828 # type: verbatim
13829 #: ../src/guestfs-structs.pod:151
13830 #, no-wrap
13831 msgid ""
13832 " struct guestfs_statvfs_list {\n"
13833 "   uint32_t len; /* Number of elements in list. */\n"
13834 "   struct guestfs_statvfs *val; /* Elements. */\n"
13835 " };\n"
13836 " \n"
13837 msgstr ""
13838
13839 # type: verbatim
13840 #: ../src/guestfs-structs.pod:156
13841 #, no-wrap
13842 msgid ""
13843 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
13844 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
13845 "\n"
13846 msgstr ""
13847
13848 # type: =head2
13849 #: ../src/guestfs-structs.pod:159
13850 msgid "guestfs_dirent"
13851 msgstr ""
13852
13853 # type: verbatim
13854 #: ../src/guestfs-structs.pod:161
13855 #, no-wrap
13856 msgid ""
13857 " struct guestfs_dirent {\n"
13858 "   int64_t ino;\n"
13859 "   char ftyp;\n"
13860 "   char *name;\n"
13861 " };\n"
13862 " \n"
13863 msgstr ""
13864
13865 # type: verbatim
13866 #: ../src/guestfs-structs.pod:167
13867 #, no-wrap
13868 msgid ""
13869 " struct guestfs_dirent_list {\n"
13870 "   uint32_t len; /* Number of elements in list. */\n"
13871 "   struct guestfs_dirent *val; /* Elements. */\n"
13872 " };\n"
13873 " \n"
13874 msgstr ""
13875
13876 # type: verbatim
13877 #: ../src/guestfs-structs.pod:172
13878 #, no-wrap
13879 msgid ""
13880 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
13881 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
13882 "\n"
13883 msgstr ""
13884
13885 # type: verbatim
13886 #: ../src/guestfs-structs.pod:177
13887 #, no-wrap
13888 msgid ""
13889 " struct guestfs_version {\n"
13890 "   int64_t major;\n"
13891 "   int64_t minor;\n"
13892 "   int64_t release;\n"
13893 "   char *extra;\n"
13894 " };\n"
13895 " \n"
13896 msgstr ""
13897
13898 # type: verbatim
13899 #: ../src/guestfs-structs.pod:184
13900 #, no-wrap
13901 msgid ""
13902 " struct guestfs_version_list {\n"
13903 "   uint32_t len; /* Number of elements in list. */\n"
13904 "   struct guestfs_version *val; /* Elements. */\n"
13905 " };\n"
13906 " \n"
13907 msgstr ""
13908
13909 # type: verbatim
13910 #: ../src/guestfs-structs.pod:189
13911 #, no-wrap
13912 msgid ""
13913 " void guestfs_free_version (struct guestfs_free_version *);\n"
13914 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
13915 "\n"
13916 msgstr ""
13917
13918 # type: =head2
13919 #: ../src/guestfs-structs.pod:192
13920 msgid "guestfs_xattr"
13921 msgstr ""
13922
13923 # type: verbatim
13924 #: ../src/guestfs-structs.pod:194
13925 #, no-wrap
13926 msgid ""
13927 " struct guestfs_xattr {\n"
13928 "   char *attrname;\n"
13929 "   /* The next two fields describe a byte array. */\n"
13930 "   uint32_t attrval_len;\n"
13931 "   char *attrval;\n"
13932 " };\n"
13933 " \n"
13934 msgstr ""
13935
13936 # type: verbatim
13937 #: ../src/guestfs-structs.pod:201
13938 #, no-wrap
13939 msgid ""
13940 " struct guestfs_xattr_list {\n"
13941 "   uint32_t len; /* Number of elements in list. */\n"
13942 "   struct guestfs_xattr *val; /* Elements. */\n"
13943 " };\n"
13944 " \n"
13945 msgstr ""
13946
13947 # type: verbatim
13948 #: ../src/guestfs-structs.pod:206
13949 #, no-wrap
13950 msgid ""
13951 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
13952 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
13953 "\n"
13954 msgstr ""
13955
13956 # type: =head2
13957 #: ../src/guestfs-structs.pod:209
13958 msgid "guestfs_inotify_event"
13959 msgstr ""
13960
13961 # type: verbatim
13962 #: ../src/guestfs-structs.pod:211
13963 #, no-wrap
13964 msgid ""
13965 " struct guestfs_inotify_event {\n"
13966 "   int64_t in_wd;\n"
13967 "   uint32_t in_mask;\n"
13968 "   uint32_t in_cookie;\n"
13969 "   char *in_name;\n"
13970 " };\n"
13971 " \n"
13972 msgstr ""
13973
13974 # type: verbatim
13975 #: ../src/guestfs-structs.pod:218
13976 #, no-wrap
13977 msgid ""
13978 " struct guestfs_inotify_event_list {\n"
13979 "   uint32_t len; /* Number of elements in list. */\n"
13980 "   struct guestfs_inotify_event *val; /* Elements. */\n"
13981 " };\n"
13982 " \n"
13983 msgstr ""
13984
13985 # type: verbatim
13986 #: ../src/guestfs-structs.pod:223
13987 #, no-wrap
13988 msgid ""
13989 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
13990 " void guestfs_free_inotify_event_list (struct "
13991 "guestfs_free_inotify_event_list *);\n"
13992 "\n"
13993 msgstr ""
13994
13995 # type: =head2
13996 #: ../src/guestfs-structs.pod:226
13997 msgid "guestfs_partition"
13998 msgstr ""
13999
14000 # type: verbatim
14001 #: ../src/guestfs-structs.pod:228
14002 #, no-wrap
14003 msgid ""
14004 " struct guestfs_partition {\n"
14005 "   int32_t part_num;\n"
14006 "   uint64_t part_start;\n"
14007 "   uint64_t part_end;\n"
14008 "   uint64_t part_size;\n"
14009 " };\n"
14010 " \n"
14011 msgstr ""
14012
14013 # type: verbatim
14014 #: ../src/guestfs-structs.pod:235
14015 #, no-wrap
14016 msgid ""
14017 " struct guestfs_partition_list {\n"
14018 "   uint32_t len; /* Number of elements in list. */\n"
14019 "   struct guestfs_partition *val; /* Elements. */\n"
14020 " };\n"
14021 " \n"
14022 msgstr ""
14023
14024 # type: verbatim
14025 #: ../src/guestfs-structs.pod:240
14026 #, no-wrap
14027 msgid ""
14028 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14029 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14030 "\n"
14031 msgstr ""
14032
14033 # type: textblock
14034 #: ../fish/guestfish.pod:5
14035 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14036 msgstr ""
14037
14038 # type: verbatim
14039 #: ../fish/guestfish.pod:9
14040 #, no-wrap
14041 msgid ""
14042 " guestfish [--options] [commands]\n"
14043 "\n"
14044 msgstr ""
14045
14046 # type: verbatim
14047 #: ../fish/guestfish.pod:11
14048 #, no-wrap
14049 msgid ""
14050 " guestfish\n"
14051 "\n"
14052 msgstr ""
14053
14054 # type: verbatim
14055 #: ../fish/guestfish.pod:13
14056 #, no-wrap
14057 msgid ""
14058 " guestfish -a disk.img\n"
14059 "\n"
14060 msgstr ""
14061
14062 # type: verbatim
14063 #: ../fish/guestfish.pod:15
14064 #, no-wrap
14065 msgid ""
14066 " guestfish -a disk.img -m dev[:mountpoint]\n"
14067 "\n"
14068 msgstr ""
14069
14070 # type: verbatim
14071 #: ../fish/guestfish.pod:17
14072 #, no-wrap
14073 msgid ""
14074 " guestfish -d libvirt-domain\n"
14075 "\n"
14076 msgstr ""
14077
14078 # type: verbatim
14079 #: ../fish/guestfish.pod:19
14080 #, no-wrap
14081 msgid ""
14082 " guestfish -a disk.img -i\n"
14083 "\n"
14084 msgstr ""
14085
14086 # type: verbatim
14087 #: ../fish/guestfish.pod:21
14088 #, no-wrap
14089 msgid ""
14090 " guestfish -d libvirt-domain -i\n"
14091 "\n"
14092 msgstr ""
14093
14094 # type: =head1
14095 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45 ../tools/virt-rescue.pl:41 ../tools/virt-tar.pl:60 ../tools/virt-win-reg.pl:52
14096 msgid "WARNING"
14097 msgstr ""
14098
14099 # type: textblock
14100 #: ../fish/guestfish.pod:25
14101 msgid ""
14102 "Using guestfish in read/write mode on live virtual machines can be "
14103 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14104 "option to use guestfish safely if the disk image or virtual machine might be "
14105 "live."
14106 msgstr ""
14107
14108 # type: =head1
14109 #: ../fish/guestfish.pod:30 ../fish/guestfish.pod:729 ../fuse/guestmount.pod:35 ../tools/virt-cat.pl:51 ../tools/virt-edit.pl:59 ../tools/virt-resize.pl:66 ../tools/virt-tar.pl:46
14110 msgid "EXAMPLES"
14111 msgstr ""
14112
14113 # type: =head2
14114 #: ../fish/guestfish.pod:32
14115 msgid "As an interactive shell"
14116 msgstr ""
14117
14118 # type: verbatim
14119 #: ../fish/guestfish.pod:34
14120 #, no-wrap
14121 msgid ""
14122 " $ guestfish\n"
14123 " \n"
14124 msgstr ""
14125
14126 # type: verbatim
14127 #: ../fish/guestfish.pod:36
14128 #, no-wrap
14129 msgid ""
14130 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14131 " editing virtual machine filesystems.\n"
14132 " \n"
14133 msgstr ""
14134
14135 # type: verbatim
14136 #: ../fish/guestfish.pod:39
14137 #, no-wrap
14138 msgid ""
14139 " Type: 'help' for a list of commands\n"
14140 "       'man' to read the manual\n"
14141 "       'quit' to quit the shell\n"
14142 " \n"
14143 msgstr ""
14144
14145 # type: verbatim
14146 #: ../fish/guestfish.pod:43
14147 #, no-wrap
14148 msgid ""
14149 " ><fs> man\n"
14150 "\n"
14151 msgstr ""
14152
14153 # type: =head2
14154 #: ../fish/guestfish.pod:45
14155 msgid "From shell scripts"
14156 msgstr ""
14157
14158 # type: textblock
14159 #: ../fish/guestfish.pod:47
14160 msgid "Create a new C</etc/motd> file in a guest:"
14161 msgstr ""
14162
14163 # type: verbatim
14164 #: ../fish/guestfish.pod:49
14165 #, no-wrap
14166 msgid ""
14167 " guestfish <<_EOF_\n"
14168 " add disk.img\n"
14169 " run\n"
14170 " mount /dev/vg_guest/lv_root /\n"
14171 " write /etc/motd \"Welcome, new users\"\n"
14172 " _EOF_\n"
14173 "\n"
14174 msgstr ""
14175
14176 # type: textblock
14177 #: ../fish/guestfish.pod:56
14178 msgid "List the LVM logical volumes in a guest:"
14179 msgstr ""
14180
14181 # type: verbatim
14182 #: ../fish/guestfish.pod:58
14183 #, no-wrap
14184 msgid ""
14185 " guestfish -a disk.img --ro <<_EOF_\n"
14186 " run\n"
14187 " lvs\n"
14188 " _EOF_\n"
14189 "\n"
14190 msgstr ""
14191
14192 # type: =head2
14193 #: ../fish/guestfish.pod:63
14194 msgid "On one command line"
14195 msgstr ""
14196
14197 # type: textblock
14198 #: ../fish/guestfish.pod:65
14199 msgid "Update C</etc/resolv.conf> in a guest:"
14200 msgstr ""
14201
14202 # type: verbatim
14203 #: ../fish/guestfish.pod:67
14204 #, no-wrap
14205 msgid ""
14206 " guestfish \\\n"
14207 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14208 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14209 "\n"
14210 msgstr ""
14211
14212 # type: textblock
14213 #: ../fish/guestfish.pod:71
14214 msgid "Edit C</boot/grub/grub.conf> interactively:"
14215 msgstr ""
14216
14217 # type: verbatim
14218 #: ../fish/guestfish.pod:73
14219 #, no-wrap
14220 msgid ""
14221 " guestfish --add disk.img \\\n"
14222 "   --mount /dev/vg_guest/lv_root \\\n"
14223 "   --mount /dev/sda1:/boot \\\n"
14224 "   edit /boot/grub/grub.conf\n"
14225 "\n"
14226 msgstr ""
14227
14228 # type: =head2
14229 #: ../fish/guestfish.pod:78
14230 msgid "Mount disks automatically"
14231 msgstr ""
14232
14233 # type: textblock
14234 #: ../fish/guestfish.pod:80
14235 msgid ""
14236 "Use the I<-i> option to automatically mount the disks from a virtual "
14237 "machine:"
14238 msgstr ""
14239
14240 # type: verbatim
14241 #: ../fish/guestfish.pod:83
14242 #, no-wrap
14243 msgid ""
14244 " guestfish --ro -a disk.img -i cat /etc/group\n"
14245 "\n"
14246 msgstr ""
14247
14248 # type: verbatim
14249 #: ../fish/guestfish.pod:85
14250 #, no-wrap
14251 msgid ""
14252 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14253 "\n"
14254 msgstr ""
14255
14256 # type: =head2
14257 #: ../fish/guestfish.pod:87
14258 msgid "As a script interpreter"
14259 msgstr ""
14260
14261 # type: textblock
14262 #: ../fish/guestfish.pod:89
14263 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14264 msgstr ""
14265
14266 # type: verbatim
14267 #: ../fish/guestfish.pod:91
14268 #, no-wrap
14269 msgid ""
14270 " #!/usr/bin/guestfish -f\n"
14271 " sparse test1.img 100M\n"
14272 " run\n"
14273 " part-disk /dev/sda mbr\n"
14274 " mkfs ext2 /dev/sda1\n"
14275 "\n"
14276 msgstr ""
14277
14278 # type: =head2
14279 #: ../fish/guestfish.pod:97
14280 msgid "Start with a prepared disk"
14281 msgstr ""
14282
14283 # type: textblock
14284 #: ../fish/guestfish.pod:99
14285 msgid ""
14286 "An alternate way to create a 100MB disk called C<test1.img> containing a "
14287 "single ext2-formatted partition:"
14288 msgstr ""
14289
14290 # type: verbatim
14291 #: ../fish/guestfish.pod:102
14292 #, no-wrap
14293 msgid ""
14294 " guestfish -N fs\n"
14295 "\n"
14296 msgstr ""
14297
14298 # type: textblock
14299 #: ../fish/guestfish.pod:104
14300 msgid "To list what is available do:"
14301 msgstr ""
14302
14303 # type: verbatim
14304 #: ../fish/guestfish.pod:106 ../fish/guestfish.pod:720
14305 #, no-wrap
14306 msgid ""
14307 " guestfish -N help | less\n"
14308 "\n"
14309 msgstr ""
14310
14311 # type: =head2
14312 #: ../fish/guestfish.pod:108
14313 msgid "Remote control"
14314 msgstr ""
14315
14316 # type: verbatim
14317 #: ../fish/guestfish.pod:110
14318 #, no-wrap
14319 msgid ""
14320 " eval `guestfish --listen --ro`\n"
14321 " guestfish --remote add disk.img\n"
14322 " guestfish --remote run\n"
14323 " guestfish --remote lvs\n"
14324 "\n"
14325 msgstr ""
14326
14327 # type: textblock
14328 #: ../fish/guestfish.pod:117
14329 msgid ""
14330 "Guestfish is a shell and command-line tool for examining and modifying "
14331 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14332 "functionality of the guestfs API, see L<guestfs(3)>."
14333 msgstr ""
14334
14335 # type: textblock
14336 #: ../fish/guestfish.pod:121
14337 msgid ""
14338 "Guestfish gives you structured access to the libguestfs API, from shell "
14339 "scripts or the command line or interactively.  If you want to rescue a "
14340 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14341 "command."
14342 msgstr ""
14343
14344 # type: =head1
14345 #: ../fish/guestfish.pod:126 ../test-tool/libguestfs-test-tool.pod:37 ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75 ../tools/virt-cat.pl:80 ../tools/virt-df.pl:71 ../tools/virt-edit.pl:73 ../tools/virt-list-filesystems.pl:50 ../tools/virt-list-partitions.pl:51 ../tools/virt-ls.pl:79 ../tools/virt-make-fs.pl:153 ../tools/virt-rescue.pl:103 ../tools/virt-resize.pl:233 ../tools/virt-tar.pl:99 ../tools/virt-win-reg.pl:172
14346 msgid "OPTIONS"
14347 msgstr ""
14348
14349 # type: =item
14350 #: ../fish/guestfish.pod:130 ../fuse/guestmount.pod:94 ../inspector/virt-inspector.pl:83 ../tools/virt-cat.pl:88 ../tools/virt-df.pl:79 ../tools/virt-edit.pl:81 ../tools/virt-list-filesystems.pl:58 ../tools/virt-list-partitions.pl:59 ../tools/virt-ls.pl:87 ../tools/virt-make-fs.pl:161 ../tools/virt-rescue.pl:111 ../tools/virt-resize.pl:241 ../tools/virt-tar.pl:107 ../tools/virt-win-reg.pl:180
14351 msgid "B<--help>"
14352 msgstr ""
14353
14354 # type: textblock
14355 #: ../fish/guestfish.pod:132
14356 msgid "Displays general help on options."
14357 msgstr ""
14358
14359 # type: =item
14360 #: ../fish/guestfish.pod:134
14361 msgid "B<-h> | B<--cmd-help>"
14362 msgstr ""
14363
14364 # type: textblock
14365 #: ../fish/guestfish.pod:136
14366 msgid "Lists all available guestfish commands."
14367 msgstr ""
14368
14369 # type: =item
14370 #: ../fish/guestfish.pod:138
14371 msgid "B<-h cmd> | B<--cmd-help cmd>"
14372 msgstr ""
14373
14374 # type: textblock
14375 #: ../fish/guestfish.pod:140
14376 msgid "Displays detailed help on a single command C<cmd>."
14377 msgstr ""
14378
14379 # type: =item
14380 #: ../fish/guestfish.pod:142 ../fuse/guestmount.pod:74
14381 msgid "B<-a image> | B<--add image>"
14382 msgstr ""
14383
14384 # type: textblock
14385 #: ../fish/guestfish.pod:144
14386 msgid "Add a block device or virtual machine image to the shell."
14387 msgstr ""
14388
14389 # type: =item
14390 #: ../fish/guestfish.pod:146
14391 msgid "B<-c URI> | B<--connect URI>"
14392 msgstr ""
14393
14394 # type: textblock
14395 #: ../fish/guestfish.pod:148
14396 msgid ""
14397 "When used in conjunction with the I<-d> option, this specifies the libvirt "
14398 "URI to use.  The default is to use the default libvirt connection."
14399 msgstr ""
14400
14401 # type: =item
14402 #: ../fish/guestfish.pod:152
14403 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
14404 msgstr ""
14405
14406 # type: textblock
14407 #: ../fish/guestfish.pod:154
14408 msgid ""
14409 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
14410 "used, then any libvirt domain can be used.  However in write mode, only "
14411 "libvirt domains which are shut down can be named here."
14412 msgstr ""
14413
14414 # type: =item
14415 #: ../fish/guestfish.pod:158
14416 msgid "B<-D> | B<--no-dest-paths>"
14417 msgstr ""
14418
14419 # type: textblock
14420 #: ../fish/guestfish.pod:160
14421 msgid ""
14422 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
14423 "to hit the tab key to complete paths on the guest filesystem, but this "
14424 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
14425 "allow this feature to be disabled."
14426 msgstr ""
14427
14428 # type: =item
14429 #: ../fish/guestfish.pod:165
14430 msgid "B<-f file> | B<--file file>"
14431 msgstr ""
14432
14433 # type: textblock
14434 #: ../fish/guestfish.pod:167
14435 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
14436 msgstr ""
14437
14438 # type: verbatim
14439 #: ../fish/guestfish.pod:170
14440 #, no-wrap
14441 msgid ""
14442 " #!/usr/bin/guestfish -f\n"
14443 "\n"
14444 msgstr ""
14445
14446 # type: =item
14447 #: ../fish/guestfish.pod:172
14448 msgid "B<-i> | B<--inspector>"
14449 msgstr ""
14450
14451 # type: textblock
14452 #: ../fish/guestfish.pod:174
14453 msgid ""
14454 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
14455 "system and mount filesystems as they would be mounted on the real virtual "
14456 "machine."
14457 msgstr ""
14458
14459 # type: textblock
14460 #: ../fish/guestfish.pod:178
14461 msgid "Typical usage is either:"
14462 msgstr ""
14463
14464 # type: verbatim
14465 #: ../fish/guestfish.pod:180
14466 #, no-wrap
14467 msgid ""
14468 " guestfish -d myguest -i\n"
14469 "\n"
14470 msgstr ""
14471
14472 # type: textblock
14473 #: ../fish/guestfish.pod:182
14474 msgid "(for an inactive libvirt domain called I<myguest>), or:"
14475 msgstr ""
14476
14477 # type: verbatim
14478 #: ../fish/guestfish.pod:184
14479 #, no-wrap
14480 msgid ""
14481 " guestfish --ro -d myguest -i\n"
14482 "\n"
14483 msgstr ""
14484
14485 # type: textblock
14486 #: ../fish/guestfish.pod:186
14487 msgid "(for active domains, readonly), or specify the block device directly:"
14488 msgstr ""
14489
14490 # type: verbatim
14491 #: ../fish/guestfish.pod:188
14492 #, no-wrap
14493 msgid ""
14494 " guestfish -a /dev/Guests/MyGuest -i\n"
14495 "\n"
14496 msgstr ""
14497
14498 # type: textblock
14499 #: ../fish/guestfish.pod:190
14500 msgid ""
14501 "Note that the command line syntax changed slightly over older versions of "
14502 "guestfish.  You can still use the old syntax:"
14503 msgstr ""
14504
14505 # type: verbatim
14506 #: ../fish/guestfish.pod:193
14507 #, no-wrap
14508 msgid ""
14509 " guestfish [--ro] -i disk.img\n"
14510 "\n"
14511 msgstr ""
14512
14513 # type: verbatim
14514 #: ../fish/guestfish.pod:195
14515 #, no-wrap
14516 msgid ""
14517 " guestfish [--ro] -i libvirt-domain\n"
14518 "\n"
14519 msgstr ""
14520
14521 # type: =item
14522 #: ../fish/guestfish.pod:197
14523 msgid "B<--keys-from-stdin>"
14524 msgstr ""
14525
14526 # type: textblock
14527 #: ../fish/guestfish.pod:199
14528 msgid ""
14529 "Read key or passphrase parameters from stdin.  The default is to try to read "
14530 "passphrases from the user by opening C</dev/tty>."
14531 msgstr ""
14532
14533 # type: =item
14534 #: ../fish/guestfish.pod:202
14535 msgid "B<--listen>"
14536 msgstr ""
14537
14538 # type: textblock
14539 #: ../fish/guestfish.pod:204
14540 msgid ""
14541 "Fork into the background and listen for remote commands.  See section "
14542 "L</REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
14543 msgstr ""
14544
14545 # type: =item
14546 #: ../fish/guestfish.pod:207
14547 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
14548 msgstr ""
14549
14550 # type: textblock
14551 #: ../fish/guestfish.pod:209
14552 msgid "Mount the named partition or logical volume on the given mountpoint."
14553 msgstr ""
14554
14555 # type: textblock
14556 #: ../fish/guestfish.pod:211
14557 msgid "If the mountpoint is omitted, it defaults to C</>."
14558 msgstr ""
14559
14560 # type: textblock
14561 #: ../fish/guestfish.pod:213
14562 msgid "You have to mount something on C</> before most commands will work."
14563 msgstr ""
14564
14565 # type: textblock
14566 #: ../fish/guestfish.pod:215
14567 msgid ""
14568 "If any I<-m> or I<--mount> options are given, the guest is automatically "
14569 "launched."
14570 msgstr ""
14571
14572 # type: textblock
14573 #: ../fish/guestfish.pod:218
14574 msgid ""
14575 "If you don't know what filesystems a disk image contains, you can either run "
14576 "guestfish without this option, then list the partitions and LVs available "
14577 "(see L</list-partitions> and L</lvs> commands), or you can use the "
14578 "L<virt-list-filesystems(1)> program."
14579 msgstr ""
14580
14581 # type: =item
14582 #: ../fish/guestfish.pod:223 ../fuse/guestmount.pod:106
14583 msgid "B<-n> | B<--no-sync>"
14584 msgstr ""
14585
14586 # type: textblock
14587 #: ../fish/guestfish.pod:225
14588 msgid ""
14589 "Disable autosync.  This is enabled by default.  See the discussion of "
14590 "autosync in the L<guestfs(3)> manpage."
14591 msgstr ""
14592
14593 # type: =item
14594 #: ../fish/guestfish.pod:228
14595 msgid "B<-N type> | B<--new type> | B<-N help>"
14596 msgstr ""
14597
14598 # type: textblock
14599 #: ../fish/guestfish.pod:230
14600 msgid ""
14601 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
14602 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
14603 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
14604 "IMAGES> below."
14605 msgstr ""
14606
14607 # type: =item
14608 #: ../fish/guestfish.pod:235
14609 msgid "B<--progress-bars>"
14610 msgstr ""
14611
14612 # type: textblock
14613 #: ../fish/guestfish.pod:237
14614 msgid "Enable progress bars, even when guestfish is used non-interactively."
14615 msgstr ""
14616
14617 # type: textblock
14618 #: ../fish/guestfish.pod:239
14619 msgid ""
14620 "Progress bars are enabled by default when guestfish is used as an "
14621 "interactive shell."
14622 msgstr ""
14623
14624 # type: =item
14625 #: ../fish/guestfish.pod:242
14626 msgid "B<--no-progress-bars>"
14627 msgstr ""
14628
14629 # type: textblock
14630 #: ../fish/guestfish.pod:244
14631 msgid "Disable progress bars."
14632 msgstr ""
14633
14634 # type: =item
14635 #: ../fish/guestfish.pod:246
14636 msgid "B<--remote[=pid]>"
14637 msgstr ""
14638
14639 # type: textblock
14640 #: ../fish/guestfish.pod:248
14641 msgid ""
14642 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
14643 "CONTROL GUESTFISH OVER A SOCKET> below."
14644 msgstr ""
14645
14646 # type: =item
14647 #: ../fish/guestfish.pod:251 ../fuse/guestmount.pod:148
14648 msgid "B<-r> | B<--ro>"
14649 msgstr ""
14650
14651 # type: textblock
14652 #: ../fish/guestfish.pod:253
14653 msgid ""
14654 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
14655 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
14656 msgstr ""
14657
14658 # type: textblock
14659 #: ../fish/guestfish.pod:256 ../tools/virt-rescue.pl:162
14660 msgid ""
14661 "The option must always be used if the disk image or virtual machine might be "
14662 "running, and is generally recommended in cases where you don't need write "
14663 "access to the disk."
14664 msgstr ""
14665
14666 # type: textblock
14667 #: ../fish/guestfish.pod:260
14668 msgid ""
14669 "Note that prepared disk images created with I<-N> are not affected by the "
14670 "I<--ro> option."
14671 msgstr ""
14672
14673 # type: =item
14674 #: ../fish/guestfish.pod:263 ../fuse/guestmount.pod:158 ../tools/virt-rescue.pl:170
14675 msgid "B<--selinux>"
14676 msgstr ""
14677
14678 # type: textblock
14679 #: ../fish/guestfish.pod:265
14680 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
14681 msgstr ""
14682
14683 # type: =item
14684 #: ../fish/guestfish.pod:267 ../fuse/guestmount.pod:168
14685 msgid "B<-v> | B<--verbose>"
14686 msgstr ""
14687
14688 # type: textblock
14689 #: ../fish/guestfish.pod:269
14690 msgid ""
14691 "Enable very verbose messages.  This is particularly useful if you find a "
14692 "bug."
14693 msgstr ""
14694
14695 # type: =item
14696 #: ../fish/guestfish.pod:272 ../fuse/guestmount.pod:172
14697 msgid "B<-V> | B<--version>"
14698 msgstr ""
14699
14700 # type: textblock
14701 #: ../fish/guestfish.pod:274
14702 msgid "Display the guestfish / libguestfs version number and exit."
14703 msgstr ""
14704
14705 # type: =item
14706 #: ../fish/guestfish.pod:276
14707 msgid "B<-x>"
14708 msgstr ""
14709
14710 # type: textblock
14711 #: ../fish/guestfish.pod:278
14712 msgid "Echo each command before executing it."
14713 msgstr ""
14714
14715 # type: =head1
14716 #: ../fish/guestfish.pod:282
14717 msgid "COMMANDS ON COMMAND LINE"
14718 msgstr ""
14719
14720 # type: textblock
14721 #: ../fish/guestfish.pod:284
14722 msgid "Any additional (non-option) arguments are treated as commands to execute."
14723 msgstr ""
14724
14725 # type: textblock
14726 #: ../fish/guestfish.pod:287
14727 msgid ""
14728 "Commands to execute should be separated by a colon (C<:>), where the colon "
14729 "is a separate parameter.  Thus:"
14730 msgstr ""
14731
14732 # type: verbatim
14733 #: ../fish/guestfish.pod:290
14734 #, no-wrap
14735 msgid ""
14736 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
14737 "\n"
14738 msgstr ""
14739
14740 # type: textblock
14741 #: ../fish/guestfish.pod:292
14742 msgid ""
14743 "If there are no additional arguments, then we enter a shell, either an "
14744 "interactive shell with a prompt (if the input is a terminal) or a "
14745 "non-interactive shell."
14746 msgstr ""
14747
14748 # type: textblock
14749 #: ../fish/guestfish.pod:296
14750 msgid ""
14751 "In either command line mode or non-interactive shell, the first command that "
14752 "gives an error causes the whole shell to exit.  In interactive mode (with a "
14753 "prompt) if a command fails, you can continue to enter commands."
14754 msgstr ""
14755
14756 # type: =head1
14757 #: ../fish/guestfish.pod:301
14758 msgid "USING launch (OR run)"
14759 msgstr ""
14760
14761 # type: textblock
14762 #: ../fish/guestfish.pod:303
14763 msgid ""
14764 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
14765 "then launch it, then mount any disks you need, and finally issue "
14766 "actions/commands.  So the general order of the day is:"
14767 msgstr ""
14768
14769 # type: textblock
14770 #: ../fish/guestfish.pod:311
14771 msgid "add or -a/--add"
14772 msgstr ""
14773
14774 # type: textblock
14775 #: ../fish/guestfish.pod:315
14776 msgid "launch (aka run)"
14777 msgstr ""
14778
14779 # type: textblock
14780 #: ../fish/guestfish.pod:319
14781 msgid "mount or -m/--mount"
14782 msgstr ""
14783
14784 # type: textblock
14785 #: ../fish/guestfish.pod:323
14786 msgid "any other commands"
14787 msgstr ""
14788
14789 # type: textblock
14790 #: ../fish/guestfish.pod:327
14791 msgid ""
14792 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
14793 "guest before mounting or performing any other commands."
14794 msgstr ""
14795
14796 # type: textblock
14797 #: ../fish/guestfish.pod:330
14798 msgid ""
14799 "The only exception is that if the I<-m> or I<--mount> option was given, the "
14800 "guest is automatically run for you (simply because guestfish can't mount the "
14801 "disks you asked for without doing this)."
14802 msgstr ""
14803
14804 # type: =head1
14805 #: ../fish/guestfish.pod:334
14806 msgid "QUOTING"
14807 msgstr ""
14808
14809 # type: textblock
14810 #: ../fish/guestfish.pod:336
14811 msgid ""
14812 "You can quote ordinary parameters using either single or double quotes.  For "
14813 "example:"
14814 msgstr ""
14815
14816 # type: verbatim
14817 #: ../fish/guestfish.pod:339
14818 #, no-wrap
14819 msgid ""
14820 " add \"file with a space.img\"\n"
14821 "\n"
14822 msgstr ""
14823
14824 # type: verbatim
14825 #: ../fish/guestfish.pod:341
14826 #, no-wrap
14827 msgid ""
14828 " rm '/file name'\n"
14829 "\n"
14830 msgstr ""
14831
14832 # type: verbatim
14833 #: ../fish/guestfish.pod:343
14834 #, no-wrap
14835 msgid ""
14836 " rm '/\"'\n"
14837 "\n"
14838 msgstr ""
14839
14840 # type: textblock
14841 #: ../fish/guestfish.pod:345
14842 msgid ""
14843 "A few commands require a list of strings to be passed.  For these, use a "
14844 "whitespace-separated list, enclosed in quotes.  Strings containing "
14845 "whitespace to be passed through must be enclosed in single quotes.  A "
14846 "literal single quote must be escaped with a backslash."
14847 msgstr ""
14848
14849 # type: verbatim
14850 #: ../fish/guestfish.pod:350
14851 #, no-wrap
14852 msgid ""
14853 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
14854 " command \"/bin/echo 'foo      bar'\"\n"
14855 " command \"/bin/echo \\'foo\\'\"\n"
14856 "\n"
14857 msgstr ""
14858
14859 # type: =head1
14860 #: ../fish/guestfish.pod:354
14861 msgid "NUMBERS"
14862 msgstr ""
14863
14864 # type: textblock
14865 #: ../fish/guestfish.pod:356
14866 msgid "This section applies to all commands which can take integers as parameters."
14867 msgstr ""
14868
14869 # type: =head2
14870 #: ../fish/guestfish.pod:359
14871 msgid "SIZE SUFFIX"
14872 msgstr ""
14873
14874 # type: textblock
14875 #: ../fish/guestfish.pod:361
14876 msgid ""
14877 "When the command takes a parameter measured in bytes, you can use one of the "
14878 "following suffixes to specify kilobytes, megabytes and larger sizes:"
14879 msgstr ""
14880
14881 # type: =item
14882 #: ../fish/guestfish.pod:367
14883 msgid "B<k> or B<K> or B<KiB>"
14884 msgstr ""
14885
14886 # type: textblock
14887 #: ../fish/guestfish.pod:369
14888 msgid "The size in kilobytes (multiplied by 1024)."
14889 msgstr ""
14890
14891 # type: =item
14892 #: ../fish/guestfish.pod:371
14893 msgid "B<KB>"
14894 msgstr ""
14895
14896 # type: textblock
14897 #: ../fish/guestfish.pod:373
14898 msgid "The size in SI 1000 byte units."
14899 msgstr ""
14900
14901 # type: =item
14902 #: ../fish/guestfish.pod:375
14903 msgid "B<M> or B<MiB>"
14904 msgstr ""
14905
14906 # type: textblock
14907 #: ../fish/guestfish.pod:377
14908 msgid "The size in megabytes (multiplied by 1048576)."
14909 msgstr ""
14910
14911 # type: =item
14912 #: ../fish/guestfish.pod:379
14913 msgid "B<MB>"
14914 msgstr ""
14915
14916 # type: textblock
14917 #: ../fish/guestfish.pod:381
14918 msgid "The size in SI 1000000 byte units."
14919 msgstr ""
14920
14921 # type: =item
14922 #: ../fish/guestfish.pod:383
14923 msgid "B<G> or B<GiB>"
14924 msgstr ""
14925
14926 # type: textblock
14927 #: ../fish/guestfish.pod:385
14928 msgid "The size in gigabytes (multiplied by 2**30)."
14929 msgstr ""
14930
14931 # type: =item
14932 #: ../fish/guestfish.pod:387
14933 msgid "B<GB>"
14934 msgstr ""
14935
14936 # type: textblock
14937 #: ../fish/guestfish.pod:389
14938 msgid "The size in SI 10**9 byte units."
14939 msgstr ""
14940
14941 # type: =item
14942 #: ../fish/guestfish.pod:391
14943 msgid "B<T> or B<TiB>"
14944 msgstr ""
14945
14946 # type: textblock
14947 #: ../fish/guestfish.pod:393
14948 msgid "The size in terabytes (multiplied by 2**40)."
14949 msgstr ""
14950
14951 # type: =item
14952 #: ../fish/guestfish.pod:395
14953 msgid "B<TB>"
14954 msgstr ""
14955
14956 # type: textblock
14957 #: ../fish/guestfish.pod:397
14958 msgid "The size in SI 10**12 byte units."
14959 msgstr ""
14960
14961 # type: =item
14962 #: ../fish/guestfish.pod:399
14963 msgid "B<P> or B<PiB>"
14964 msgstr ""
14965
14966 # type: textblock
14967 #: ../fish/guestfish.pod:401
14968 msgid "The size in petabytes (multiplied by 2**50)."
14969 msgstr ""
14970
14971 # type: =item
14972 #: ../fish/guestfish.pod:403
14973 msgid "B<PB>"
14974 msgstr ""
14975
14976 # type: textblock
14977 #: ../fish/guestfish.pod:405
14978 msgid "The size in SI 10**15 byte units."
14979 msgstr ""
14980
14981 # type: =item
14982 #: ../fish/guestfish.pod:407
14983 msgid "B<E> or B<EiB>"
14984 msgstr ""
14985
14986 # type: textblock
14987 #: ../fish/guestfish.pod:409
14988 msgid "The size in exabytes (multiplied by 2**60)."
14989 msgstr ""
14990
14991 # type: =item
14992 #: ../fish/guestfish.pod:411
14993 msgid "B<EB>"
14994 msgstr ""
14995
14996 # type: textblock
14997 #: ../fish/guestfish.pod:413
14998 msgid "The size in SI 10**18 byte units."
14999 msgstr ""
15000
15001 # type: =item
15002 #: ../fish/guestfish.pod:415
15003 msgid "B<Z> or B<ZiB>"
15004 msgstr ""
15005
15006 # type: textblock
15007 #: ../fish/guestfish.pod:417
15008 msgid "The size in zettabytes (multiplied by 2**70)."
15009 msgstr ""
15010
15011 # type: =item
15012 #: ../fish/guestfish.pod:419
15013 msgid "B<ZB>"
15014 msgstr ""
15015
15016 # type: textblock
15017 #: ../fish/guestfish.pod:421
15018 msgid "The size in SI 10**21 byte units."
15019 msgstr ""
15020
15021 # type: =item
15022 #: ../fish/guestfish.pod:423
15023 msgid "B<Y> or B<YiB>"
15024 msgstr ""
15025
15026 # type: textblock
15027 #: ../fish/guestfish.pod:425
15028 msgid "The size in yottabytes (multiplied by 2**80)."
15029 msgstr ""
15030
15031 # type: =item
15032 #: ../fish/guestfish.pod:427
15033 msgid "B<YB>"
15034 msgstr ""
15035
15036 # type: textblock
15037 #: ../fish/guestfish.pod:429
15038 msgid "The size in SI 10**24 byte units."
15039 msgstr ""
15040
15041 # type: textblock
15042 #: ../fish/guestfish.pod:433
15043 msgid "For example:"
15044 msgstr ""
15045
15046 # type: verbatim
15047 #: ../fish/guestfish.pod:435
15048 #, no-wrap
15049 msgid ""
15050 " truncate-size /file 1G\n"
15051 "\n"
15052 msgstr ""
15053
15054 # type: textblock
15055 #: ../fish/guestfish.pod:437
15056 msgid "would truncate the file to 1 gigabyte."
15057 msgstr ""
15058
15059 # type: textblock
15060 #: ../fish/guestfish.pod:439
15061 msgid ""
15062 "Be careful because a few commands take sizes in kilobytes or megabytes "
15063 "(eg. the parameter to L</memsize> is specified in megabytes already).  "
15064 "Adding a suffix will probably not do what you expect."
15065 msgstr ""
15066
15067 # type: =head2
15068 #: ../fish/guestfish.pod:443
15069 msgid "OCTAL AND HEXADECIMAL NUMBERS"
15070 msgstr ""
15071
15072 # type: textblock
15073 #: ../fish/guestfish.pod:445
15074 msgid ""
15075 "For specifying the radix (base) use the C convention: C<0> to prefix an "
15076 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
15077 msgstr ""
15078
15079 # type: verbatim
15080 #: ../fish/guestfish.pod:448
15081 #, no-wrap
15082 msgid ""
15083 " 1234      decimal number 1234\n"
15084 " 02322     octal number, equivalent to decimal 1234\n"
15085 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
15086 "\n"
15087 msgstr ""
15088
15089 # type: textblock
15090 #: ../fish/guestfish.pod:452
15091 msgid ""
15092 "When using the C<chmod> command, you almost always want to specify an octal "
15093 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
15094 "L<chmod(1)> program):"
15095 msgstr ""
15096
15097 # type: verbatim
15098 #: ../fish/guestfish.pod:456
15099 #, no-wrap
15100 msgid ""
15101 " chmod 0777 /public  # OK\n"
15102 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
15103 "\n"
15104 msgstr ""
15105
15106 # type: textblock
15107 #: ../fish/guestfish.pod:459
15108 msgid ""
15109 "Commands that return numbers usually print them in decimal, but some "
15110 "commands print numbers in other radices (eg. C<umask> prints the mode in "
15111 "octal, preceeded by C<0>)."
15112 msgstr ""
15113
15114 # type: =head1
15115 #: ../fish/guestfish.pod:463
15116 msgid "WILDCARDS AND GLOBBING"
15117 msgstr ""
15118
15119 # type: textblock
15120 #: ../fish/guestfish.pod:465
15121 msgid ""
15122 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
15123 "(globbing) by default.  So for example the following will not do what you "
15124 "expect:"
15125 msgstr ""
15126
15127 # type: verbatim
15128 #: ../fish/guestfish.pod:469
15129 #, no-wrap
15130 msgid ""
15131 " rm-rf /home/*\n"
15132 "\n"
15133 msgstr ""
15134
15135 # type: textblock
15136 #: ../fish/guestfish.pod:471
15137 msgid ""
15138 "Assuming you don't have a directory literally called C</home/*> then the "
15139 "above command will return an error."
15140 msgstr ""
15141
15142 # type: textblock
15143 #: ../fish/guestfish.pod:474
15144 msgid "To perform wildcard expansion, use the C<glob> command."
15145 msgstr ""
15146
15147 # type: verbatim
15148 #: ../fish/guestfish.pod:476
15149 #, no-wrap
15150 msgid ""
15151 " glob rm-rf /home/*\n"
15152 "\n"
15153 msgstr ""
15154
15155 # type: textblock
15156 #: ../fish/guestfish.pod:478
15157 msgid ""
15158 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
15159 "many times), equivalent to:"
15160 msgstr ""
15161
15162 # type: verbatim
15163 #: ../fish/guestfish.pod:481
15164 #, no-wrap
15165 msgid ""
15166 " rm-rf /home/jim\n"
15167 " rm-rf /home/joe\n"
15168 " rm-rf /home/mary\n"
15169 "\n"
15170 msgstr ""
15171
15172 # type: textblock
15173 #: ../fish/guestfish.pod:485
15174 msgid "C<glob> only works on simple guest paths and not on device names."
15175 msgstr ""
15176
15177 # type: textblock
15178 #: ../fish/guestfish.pod:487
15179 msgid ""
15180 "If you have several parameters, each containing a wildcard, then glob will "
15181 "perform a cartesian product."
15182 msgstr ""
15183
15184 # type: =head1
15185 #: ../fish/guestfish.pod:490
15186 msgid "COMMENTS"
15187 msgstr ""
15188
15189 # type: textblock
15190 #: ../fish/guestfish.pod:492
15191 msgid ""
15192 "Any line which starts with a I<#> character is treated as a comment and "
15193 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15194 "a command.  For example:"
15195 msgstr ""
15196
15197 # type: verbatim
15198 #: ../fish/guestfish.pod:496
15199 #, no-wrap
15200 msgid ""
15201 " # this is a comment\n"
15202 "         # this is a comment\n"
15203 " foo # NOT a comment\n"
15204 "\n"
15205 msgstr ""
15206
15207 # type: textblock
15208 #: ../fish/guestfish.pod:500
15209 msgid "Blank lines are also ignored."
15210 msgstr ""
15211
15212 # type: =head1
15213 #: ../fish/guestfish.pod:502
15214 msgid "RUNNING COMMANDS LOCALLY"
15215 msgstr ""
15216
15217 # type: textblock
15218 #: ../fish/guestfish.pod:504
15219 msgid ""
15220 "Any line which starts with a I<!> character is treated as a command sent to "
15221 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15222 msgstr ""
15223
15224 # type: verbatim
15225 #: ../fish/guestfish.pod:508
15226 #, no-wrap
15227 msgid ""
15228 " !mkdir local\n"
15229 " tgz-out /remote local/remote-data.tar.gz\n"
15230 "\n"
15231 msgstr ""
15232
15233 # type: textblock
15234 #: ../fish/guestfish.pod:511
15235 msgid ""
15236 "will create a directory C<local> on the host, and then export the contents "
15237 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15238 "(See C<tgz-out>)."
15239 msgstr ""
15240
15241 # type: textblock
15242 #: ../fish/guestfish.pod:515
15243 msgid ""
15244 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15245 "effect, due to the way that subprocesses work in Unix."
15246 msgstr ""
15247
15248 # type: =head1
15249 #: ../fish/guestfish.pod:518
15250 msgid "PIPES"
15251 msgstr ""
15252
15253 # type: textblock
15254 #: ../fish/guestfish.pod:520
15255 msgid ""
15256 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15257 "command (a guestfish command) to the second command (any host command).  For "
15258 "example:"
15259 msgstr ""
15260
15261 # type: verbatim
15262 #: ../fish/guestfish.pod:524
15263 #, no-wrap
15264 msgid ""
15265 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
15266 "\n"
15267 msgstr ""
15268
15269 # type: textblock
15270 #: ../fish/guestfish.pod:526
15271 msgid ""
15272 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
15273 "program).  The above command would list all accounts in the guest filesystem "
15274 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
15275 msgstr ""
15276
15277 # type: verbatim
15278 #: ../fish/guestfish.pod:531
15279 #, no-wrap
15280 msgid ""
15281 " hexdump /bin/ls | head\n"
15282 " list-devices | tail -1\n"
15283 " tgz-out / - | tar ztf -\n"
15284 "\n"
15285 msgstr ""
15286
15287 # type: textblock
15288 #: ../fish/guestfish.pod:535
15289 msgid ""
15290 "The space before the pipe symbol is required, any space after the pipe "
15291 "symbol is optional.  Everything after the pipe symbol is just passed "
15292 "straight to the host shell, so it can contain redirections, globs and "
15293 "anything else that makes sense on the host side."
15294 msgstr ""
15295
15296 # type: textblock
15297 #: ../fish/guestfish.pod:540
15298 msgid ""
15299 "To use a literal argument which begins with a pipe symbol, you have to quote "
15300 "it, eg:"
15301 msgstr ""
15302
15303 # type: verbatim
15304 #: ../fish/guestfish.pod:543
15305 #, no-wrap
15306 msgid ""
15307 " echo \"|\"\n"
15308 "\n"
15309 msgstr ""
15310
15311 # type: =head1
15312 #: ../fish/guestfish.pod:545
15313 msgid "HOME DIRECTORIES"
15314 msgstr ""
15315
15316 # type: textblock
15317 #: ../fish/guestfish.pod:547
15318 msgid ""
15319 "If a parameter starts with the character C<~> then the tilde may be expanded "
15320 "as a home directory path (either C<~> for the current user's home directory, "
15321 "or C<~user> for another user)."
15322 msgstr ""
15323
15324 # type: textblock
15325 #: ../fish/guestfish.pod:551
15326 msgid ""
15327 "Note that home directory expansion happens for users known I<on the host>, "
15328 "not in the guest filesystem."
15329 msgstr ""
15330
15331 # type: textblock
15332 #: ../fish/guestfish.pod:554
15333 msgid ""
15334 "To use a literal argument which begins with a tilde, you have to quote it, "
15335 "eg:"
15336 msgstr ""
15337
15338 # type: verbatim
15339 #: ../fish/guestfish.pod:557
15340 #, no-wrap
15341 msgid ""
15342 " echo \"~\"\n"
15343 "\n"
15344 msgstr ""
15345
15346 # type: textblock
15347 #: ../fish/guestfish.pod:561
15348 msgid ""
15349 "Libguestfs has some support for Linux guests encrypted according to the "
15350 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
15351 "disk encryption systems used by modern Linux guests.  Currently only "
15352 "LVM-on-LUKS is supported."
15353 msgstr ""
15354
15355 # type: textblock
15356 #: ../fish/guestfish.pod:566
15357 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
15358 msgstr ""
15359
15360 # type: verbatim
15361 #: ../fish/guestfish.pod:568
15362 #, no-wrap
15363 msgid ""
15364 " ><fs> vfs-type /dev/sda2\n"
15365 " crypto_LUKS\n"
15366 "\n"
15367 msgstr ""
15368
15369 # type: textblock
15370 #: ../fish/guestfish.pod:571
15371 msgid ""
15372 "Then open those devices using L</luks-open>.  This creates a device-mapper "
15373 "device called C</dev/mapper/luksdev>."
15374 msgstr ""
15375
15376 # type: verbatim
15377 #: ../fish/guestfish.pod:574
15378 #, no-wrap
15379 msgid ""
15380 " ><fs> luks-open /dev/sda2 luksdev\n"
15381 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
15382 "\n"
15383 msgstr ""
15384
15385 # type: textblock
15386 #: ../fish/guestfish.pod:577
15387 msgid ""
15388 "Finally you have to tell LVM to scan for volume groups on the newly created "
15389 "mapper device:"
15390 msgstr ""
15391
15392 # type: verbatim
15393 #: ../fish/guestfish.pod:580
15394 #, no-wrap
15395 msgid ""
15396 " ><fs> vgscan\n"
15397 " ><fs> vg-activate-all true\n"
15398 "\n"
15399 msgstr ""
15400
15401 # type: textblock
15402 #: ../fish/guestfish.pod:583
15403 msgid "The logical volume(s) can now be mounted in the usual way."
15404 msgstr ""
15405
15406 # type: textblock
15407 #: ../fish/guestfish.pod:585
15408 msgid ""
15409 "Before closing a LUKS device you must unmount any logical volumes on it and "
15410 "deactivate the volume groups by calling C<vg-activate false VG> on each "
15411 "one.  Then you can close the mapper device:"
15412 msgstr ""
15413
15414 # type: verbatim
15415 #: ../fish/guestfish.pod:589
15416 #, no-wrap
15417 msgid ""
15418 " ><fs> vg-activate false /dev/VG\n"
15419 " ><fs> luks-close /dev/mapper/luksdev\n"
15420 "\n"
15421 msgstr ""
15422
15423 # type: =head1
15424 #: ../fish/guestfish.pod:592
15425 msgid "WINDOWS PATHS"
15426 msgstr ""
15427
15428 # type: textblock
15429 #: ../fish/guestfish.pod:594
15430 msgid ""
15431 "If a path is prefixed with C<win:> then you can use Windows-style paths "
15432 "(with some limitations).  The following commands are equivalent:"
15433 msgstr ""
15434
15435 # type: verbatim
15436 #: ../fish/guestfish.pod:597
15437 #, no-wrap
15438 msgid ""
15439 " file /WINDOWS/system32/config/system.LOG\n"
15440 "\n"
15441 msgstr ""
15442
15443 # type: verbatim
15444 #: ../fish/guestfish.pod:599
15445 #, no-wrap
15446 msgid ""
15447 " file win:/windows/system32/config/system.log\n"
15448 "\n"
15449 msgstr ""
15450
15451 # type: verbatim
15452 #: ../fish/guestfish.pod:601
15453 #, no-wrap
15454 msgid ""
15455 " file win:\\windows\\system32\\config\\system.log\n"
15456 "\n"
15457 msgstr ""
15458
15459 # type: verbatim
15460 #: ../fish/guestfish.pod:603
15461 #, no-wrap
15462 msgid ""
15463 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
15464 "\n"
15465 msgstr ""
15466
15467 # type: textblock
15468 #: ../fish/guestfish.pod:605
15469 msgid ""
15470 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
15471 "handles case insensitivity like Windows would.  This only works in argument "
15472 "positions that expect a path."
15473 msgstr ""
15474
15475 # type: =head1
15476 #: ../fish/guestfish.pod:609
15477 msgid "UPLOADING AND DOWNLOADING FILES"
15478 msgstr ""
15479
15480 # type: textblock
15481 #: ../fish/guestfish.pod:611
15482 msgid ""
15483 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
15484 "others which upload from or download to a local file, you can use the "
15485 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
15486 msgstr ""
15487
15488 # type: verbatim
15489 #: ../fish/guestfish.pod:615
15490 #, no-wrap
15491 msgid ""
15492 " upload - /foo\n"
15493 "\n"
15494 msgstr ""
15495
15496 # type: textblock
15497 #: ../fish/guestfish.pod:617
15498 msgid "reads stdin and creates from that a file C</foo> in the disk image, and:"
15499 msgstr ""
15500
15501 # type: verbatim
15502 #: ../fish/guestfish.pod:620
15503 #, no-wrap
15504 msgid ""
15505 " tar-out /etc - | tar tf -\n"
15506 "\n"
15507 msgstr ""
15508
15509 # type: textblock
15510 #: ../fish/guestfish.pod:622
15511 msgid ""
15512 "writes the tarball to stdout and then pipes that into the external \"tar\" "
15513 "command (see L</PIPES>)."
15514 msgstr ""
15515
15516 # type: textblock
15517 #: ../fish/guestfish.pod:625
15518 msgid ""
15519 "When using C<-> to read from stdin, the input is read up to the end of "
15520 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
15521 "some arbitrary end marker:"
15522 msgstr ""
15523
15524 # type: verbatim
15525 #: ../fish/guestfish.pod:629
15526 #, no-wrap
15527 msgid ""
15528 " upload -<<END /foo\n"
15529 " input line 1\n"
15530 " input line 2\n"
15531 " input line 3\n"
15532 " END\n"
15533 "\n"
15534 msgstr ""
15535
15536 # type: textblock
15537 #: ../fish/guestfish.pod:635
15538 msgid ""
15539 "Any string of characters can be used instead of C<END>.  The end marker must "
15540 "appear on a line of its own, without any preceeding or following characters "
15541 "(not even spaces)."
15542 msgstr ""
15543
15544 # type: textblock
15545 #: ../fish/guestfish.pod:639
15546 msgid ""
15547 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
15548 "upload local files (so-called \"FileIn\" parameters in the generator)."
15549 msgstr ""
15550
15551 # type: =head1
15552 #: ../fish/guestfish.pod:642
15553 msgid "EXIT ON ERROR BEHAVIOUR"
15554 msgstr ""
15555
15556 # type: textblock
15557 #: ../fish/guestfish.pod:644
15558 msgid ""
15559 "By default, guestfish will ignore any errors when in interactive mode "
15560 "(ie. taking commands from a human over a tty), and will exit on the first "
15561 "error in non-interactive mode (scripts, commands given on the command line)."
15562 msgstr ""
15563
15564 # type: textblock
15565 #: ../fish/guestfish.pod:649
15566 msgid ""
15567 "If you prefix a command with a I<-> character, then that command will not "
15568 "cause guestfish to exit, even if that (one) command returns an error."
15569 msgstr ""
15570
15571 # type: =head1
15572 #: ../fish/guestfish.pod:653
15573 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
15574 msgstr ""
15575
15576 # type: textblock
15577 #: ../fish/guestfish.pod:655
15578 msgid ""
15579 "Guestfish can be remote-controlled over a socket.  This is useful "
15580 "particularly in shell scripts where you want to make several different "
15581 "changes to a filesystem, but you don't want the overhead of starting up a "
15582 "guestfish process each time."
15583 msgstr ""
15584
15585 # type: textblock
15586 #: ../fish/guestfish.pod:660
15587 msgid "Start a guestfish server process using:"
15588 msgstr ""
15589
15590 # type: verbatim
15591 #: ../fish/guestfish.pod:662
15592 #, no-wrap
15593 msgid ""
15594 " eval `guestfish --listen`\n"
15595 "\n"
15596 msgstr ""
15597
15598 # type: textblock
15599 #: ../fish/guestfish.pod:664
15600 msgid "and then send it commands by doing:"
15601 msgstr ""
15602
15603 # type: verbatim
15604 #: ../fish/guestfish.pod:666
15605 #, no-wrap
15606 msgid ""
15607 " guestfish --remote cmd [...]\n"
15608 "\n"
15609 msgstr ""
15610
15611 # type: textblock
15612 #: ../fish/guestfish.pod:668
15613 msgid "To cause the server to exit, send it the exit command:"
15614 msgstr ""
15615
15616 # type: verbatim
15617 #: ../fish/guestfish.pod:670
15618 #, no-wrap
15619 msgid ""
15620 " guestfish --remote exit\n"
15621 "\n"
15622 msgstr ""
15623
15624 # type: textblock
15625 #: ../fish/guestfish.pod:672
15626 msgid ""
15627 "Note that the server will normally exit if there is an error in a command.  "
15628 "You can change this in the usual way.  See section L</EXIT ON ERROR "
15629 "BEHAVIOUR>."
15630 msgstr ""
15631
15632 # type: =head2
15633 #: ../fish/guestfish.pod:676
15634 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
15635 msgstr ""
15636
15637 # type: textblock
15638 #: ../fish/guestfish.pod:678
15639 msgid ""
15640 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
15641 "is how the I<--remote> option knows where to send the commands.  You can "
15642 "have several guestfish listener processes running using:"
15643 msgstr ""
15644
15645 # type: verbatim
15646 #: ../fish/guestfish.pod:682
15647 #, no-wrap
15648 msgid ""
15649 " eval `guestfish --listen`\n"
15650 " pid1=$GUESTFISH_PID\n"
15651 " eval `guestfish --listen`\n"
15652 " pid2=$GUESTFISH_PID\n"
15653 " ...\n"
15654 " guestfish --remote=$pid1 cmd\n"
15655 " guestfish --remote=$pid2 cmd\n"
15656 "\n"
15657 msgstr ""
15658
15659 # type: =head2
15660 #: ../fish/guestfish.pod:690
15661 msgid "REMOTE CONTROL DETAILS"
15662 msgstr ""
15663
15664 # type: textblock
15665 #: ../fish/guestfish.pod:692
15666 msgid ""
15667 "Remote control happens over a Unix domain socket called "
15668 "C</tmp/.guestfish-$UID/socket-$PID>, where C<$UID> is the effective user ID "
15669 "of the process, and C<$PID> is the process ID of the server."
15670 msgstr ""
15671
15672 # type: textblock
15673 #: ../fish/guestfish.pod:696
15674 msgid "Guestfish client and server versions must match exactly."
15675 msgstr ""
15676
15677 # type: =head1
15678 #: ../fish/guestfish.pod:698
15679 msgid "PREPARED DISK IMAGES"
15680 msgstr ""
15681
15682 # type: textblock
15683 #: ../fish/guestfish.pod:700
15684 msgid ""
15685 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
15686 "preformatted disk images that guestfish can make for you to save typing.  "
15687 "This is particularly useful for testing purposes.  This option is used "
15688 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
15689 "can be mixed with I<-a>)."
15690 msgstr ""
15691
15692 # type: textblock
15693 #: ../fish/guestfish.pod:706
15694 msgid ""
15695 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
15696 "the second and so on.  Existing files in the current directory are "
15697 "I<overwritten>."
15698 msgstr ""
15699
15700 # type: textblock
15701 #: ../fish/guestfish.pod:710
15702 msgid ""
15703 "The type briefly describes how the disk should be sized, partitioned, how "
15704 "filesystem(s) should be created, and how content should be added.  "
15705 "Optionally the type can be followed by extra parameters, separated by C<:> "
15706 "(colon) characters.  For example, I<-N fs> creates a default 100MB, "
15707 "sparsely-allocated disk, containing a single partition, with the partition "
15708 "formatted as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem "
15709 "on a 1GB disk instead."
15710 msgstr ""
15711
15712 # type: textblock
15713 #: ../fish/guestfish.pod:718
15714 msgid "To list the available types and any extra parameters they take, run:"
15715 msgstr ""
15716
15717 # type: textblock
15718 #: ../fish/guestfish.pod:722
15719 msgid ""
15720 "Note that the prepared filesystem is not mounted.  You would usually have to "
15721 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
15722 msgstr ""
15723
15724 # type: textblock
15725 #: ../fish/guestfish.pod:726
15726 msgid ""
15727 "If any I<-N> or I<--new> options are given, the guest is automatically "
15728 "launched."
15729 msgstr ""
15730
15731 # type: textblock
15732 #: ../fish/guestfish.pod:731
15733 msgid "Create a 100MB disk with an ext4-formatted partition:"
15734 msgstr ""
15735
15736 # type: verbatim
15737 #: ../fish/guestfish.pod:733
15738 #, no-wrap
15739 msgid ""
15740 " guestfish -N fs:ext4\n"
15741 "\n"
15742 msgstr ""
15743
15744 # type: textblock
15745 #: ../fish/guestfish.pod:735
15746 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
15747 msgstr ""
15748
15749 # type: verbatim
15750 #: ../fish/guestfish.pod:737
15751 #, no-wrap
15752 msgid ""
15753 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
15754 "\n"
15755 msgstr ""
15756
15757 # type: textblock
15758 #: ../fish/guestfish.pod:739
15759 msgid "Create a blank 200MB disk:"
15760 msgstr ""
15761
15762 # type: verbatim
15763 #: ../fish/guestfish.pod:741
15764 #, no-wrap
15765 msgid ""
15766 " guestfish -N disk:200M\n"
15767 "\n"
15768 msgstr ""
15769
15770 # type: =head1
15771 #: ../fish/guestfish.pod:743
15772 msgid "PROGRESS BARS"
15773 msgstr ""
15774
15775 # type: textblock
15776 #: ../fish/guestfish.pod:745
15777 msgid ""
15778 "Some (not all) long-running commands send progress notification messages as "
15779 "they are running.  Guestfish turns these messages into progress bars."
15780 msgstr ""
15781
15782 # type: textblock
15783 #: ../fish/guestfish.pod:749
15784 msgid ""
15785 "When a command that supports progress bars takes longer than two seconds to "
15786 "run, and if progress bars are enabled, then you will see one appearing below "
15787 "the command:"
15788 msgstr ""
15789
15790 # type: verbatim
15791 #: ../fish/guestfish.pod:753
15792 #, no-wrap
15793 msgid ""
15794 " ><fs> copy-size /large-file /another-file 2048M\n"
15795 " / 10% [#####-----------------------------------------] 00:30\n"
15796 "\n"
15797 msgstr ""
15798
15799 # type: textblock
15800 #: ../fish/guestfish.pod:756
15801 msgid ""
15802 "The spinner on the left hand side moves round once for every progress "
15803 "notification received from the backend.  This is a (reasonably) golden "
15804 "assurance that the command is \"doing something\" even if the progress bar "
15805 "is not moving, because the command is able to send the progress "
15806 "notifications.  When the bar reaches 100% and the command finishes, the "
15807 "spinner disappears."
15808 msgstr ""
15809
15810 # type: textblock
15811 #: ../fish/guestfish.pod:763
15812 msgid ""
15813 "Progress bars are enabled by default when guestfish is used interactively.  "
15814 "You can enable them even for non-interactive modes using I<--progress-bars>, "
15815 "and you can disable them completely using I<--no-progress-bars>."
15816 msgstr ""
15817
15818 # type: =head1
15819 #: ../fish/guestfish.pod:768
15820 msgid "GUESTFISH COMMANDS"
15821 msgstr ""
15822
15823 # type: textblock
15824 #: ../fish/guestfish.pod:770
15825 msgid ""
15826 "The commands in this section are guestfish convenience commands, in other "
15827 "words, they are not part of the L<guestfs(3)> API."
15828 msgstr ""
15829
15830 # type: =head2
15831 #: ../fish/guestfish.pod:773
15832 msgid "alloc | allocate"
15833 msgstr ""
15834
15835 # type: verbatim
15836 #: ../fish/guestfish.pod:775
15837 #, no-wrap
15838 msgid ""
15839 " alloc filename size\n"
15840 "\n"
15841 msgstr ""
15842
15843 # type: textblock
15844 #: ../fish/guestfish.pod:777
15845 msgid ""
15846 "This creates an empty (zeroed) file of the given size, and then adds so it "
15847 "can be further examined."
15848 msgstr ""
15849
15850 # type: textblock
15851 #: ../fish/guestfish.pod:780 ../fish/guestfish.pod:903
15852 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
15853 msgstr ""
15854
15855 # type: textblock
15856 #: ../fish/guestfish.pod:782 ../fish/guestfish.pod:905
15857 msgid "Size can be specified using standard suffixes, eg. C<1M>."
15858 msgstr ""
15859
15860 # type: =head2
15861 #: ../fish/guestfish.pod:784
15862 msgid "copy-in"
15863 msgstr ""
15864
15865 # type: verbatim
15866 #: ../fish/guestfish.pod:786
15867 #, no-wrap
15868 msgid ""
15869 " copy-in local [local ...] /remotedir\n"
15870 "\n"
15871 msgstr ""
15872
15873 # type: textblock
15874 #: ../fish/guestfish.pod:788
15875 msgid ""
15876 "C<copy-in> copies local files or directories recursively into the disk "
15877 "image, placing them in the directory called C</remotedir> (which must "
15878 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
15879 "other commands as necessary."
15880 msgstr ""
15881
15882 # type: textblock
15883 #: ../fish/guestfish.pod:793
15884 msgid ""
15885 "Multiple local files and directories can be specified, but the last "
15886 "parameter must always be a remote directory.  Wildcards cannot be used."
15887 msgstr ""
15888
15889 # type: =head2
15890 #: ../fish/guestfish.pod:797
15891 msgid "copy-out"
15892 msgstr ""
15893
15894 # type: verbatim
15895 #: ../fish/guestfish.pod:799
15896 #, no-wrap
15897 msgid ""
15898 " copy-out remote [remote ...] localdir\n"
15899 "\n"
15900 msgstr ""
15901
15902 # type: textblock
15903 #: ../fish/guestfish.pod:801
15904 msgid ""
15905 "C<copy-out> copies remote files or directories recursively out of the disk "
15906 "image, placing them on the host disk in a local directory called C<localdir> "
15907 "(which must exist).  This guestfish meta-command turns into a sequence of "
15908 "L</download>, L</tar-out> and other commands as necessary."
15909 msgstr ""
15910
15911 # type: textblock
15912 #: ../fish/guestfish.pod:807
15913 msgid ""
15914 "Multiple remote files and directories can be specified, but the last "
15915 "parameter must always be a local directory.  To download to the current "
15916 "directory, use C<.> as in:"
15917 msgstr ""
15918
15919 # type: verbatim
15920 #: ../fish/guestfish.pod:811
15921 #, no-wrap
15922 msgid ""
15923 " copy-out /home .\n"
15924 "\n"
15925 msgstr ""
15926
15927 # type: textblock
15928 #: ../fish/guestfish.pod:813
15929 msgid ""
15930 "Wildcards cannot be used in the ordinary command, but you can use them with "
15931 "the help of L</glob> like this:"
15932 msgstr ""
15933
15934 # type: verbatim
15935 #: ../fish/guestfish.pod:816
15936 #, no-wrap
15937 msgid ""
15938 " glob copy-out /home/* .\n"
15939 "\n"
15940 msgstr ""
15941
15942 # type: =head2
15943 #: ../fish/guestfish.pod:818
15944 msgid "echo"
15945 msgstr ""
15946
15947 # type: verbatim
15948 #: ../fish/guestfish.pod:820
15949 #, no-wrap
15950 msgid ""
15951 " echo [params ...]\n"
15952 "\n"
15953 msgstr ""
15954
15955 # type: textblock
15956 #: ../fish/guestfish.pod:822
15957 msgid "This echos the parameters to the terminal."
15958 msgstr ""
15959
15960 # type: =head2
15961 #: ../fish/guestfish.pod:824
15962 msgid "edit | vi | emacs"
15963 msgstr ""
15964
15965 # type: verbatim
15966 #: ../fish/guestfish.pod:826
15967 #, no-wrap
15968 msgid ""
15969 " edit filename\n"
15970 "\n"
15971 msgstr ""
15972
15973 # type: textblock
15974 #: ../fish/guestfish.pod:828
15975 msgid ""
15976 "This is used to edit a file.  It downloads the file, edits it locally using "
15977 "your editor, then uploads the result."
15978 msgstr ""
15979
15980 # type: textblock
15981 #: ../fish/guestfish.pod:831
15982 msgid ""
15983 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
15984 "or C<emacs> you will get those corresponding editors."
15985 msgstr ""
15986
15987 # type: =head2
15988 #: ../fish/guestfish.pod:835
15989 msgid "glob"
15990 msgstr ""
15991
15992 # type: verbatim
15993 #: ../fish/guestfish.pod:837
15994 #, no-wrap
15995 msgid ""
15996 " glob command args...\n"
15997 "\n"
15998 msgstr ""
15999
16000 # type: textblock
16001 #: ../fish/guestfish.pod:839
16002 msgid ""
16003 "Expand wildcards in any paths in the args list, and run C<command> "
16004 "repeatedly on each matching path."
16005 msgstr ""
16006
16007 # type: textblock
16008 #: ../fish/guestfish.pod:842
16009 msgid "See section WILDCARDS AND GLOBBING."
16010 msgstr ""
16011
16012 # type: =head2
16013 #: ../fish/guestfish.pod:844
16014 msgid "help"
16015 msgstr ""
16016
16017 # type: verbatim
16018 #: ../fish/guestfish.pod:846
16019 #, no-wrap
16020 msgid ""
16021 " help\n"
16022 " help cmd\n"
16023 "\n"
16024 msgstr ""
16025
16026 # type: textblock
16027 #: ../fish/guestfish.pod:849
16028 msgid ""
16029 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16030 "this displays detailed help for a command."
16031 msgstr ""
16032
16033 # type: =head2
16034 #: ../fish/guestfish.pod:852
16035 msgid "lcd"
16036 msgstr ""
16037
16038 # type: verbatim
16039 #: ../fish/guestfish.pod:854
16040 #, no-wrap
16041 msgid ""
16042 " lcd directory\n"
16043 "\n"
16044 msgstr ""
16045
16046 # type: textblock
16047 #: ../fish/guestfish.pod:856
16048 msgid "Change the local directory, ie. the current directory of guestfish itself."
16049 msgstr ""
16050
16051 # type: textblock
16052 #: ../fish/guestfish.pod:859
16053 msgid "Note that C<!cd> won't do what you might expect."
16054 msgstr ""
16055
16056 # type: =head2
16057 #: ../fish/guestfish.pod:861
16058 msgid "man | manual"
16059 msgstr ""
16060
16061 # type: verbatim
16062 #: ../fish/guestfish.pod:863
16063 #, no-wrap
16064 msgid ""
16065 " man\n"
16066 "\n"
16067 msgstr ""
16068
16069 # type: textblock
16070 #: ../fish/guestfish.pod:865
16071 msgid "Opens the manual page for guestfish."
16072 msgstr ""
16073
16074 # type: =head2
16075 #: ../fish/guestfish.pod:867
16076 msgid "more | less"
16077 msgstr ""
16078
16079 # type: verbatim
16080 #: ../fish/guestfish.pod:869
16081 #, no-wrap
16082 msgid ""
16083 " more filename\n"
16084 "\n"
16085 msgstr ""
16086
16087 # type: verbatim
16088 #: ../fish/guestfish.pod:871
16089 #, no-wrap
16090 msgid ""
16091 " less filename\n"
16092 "\n"
16093 msgstr ""
16094
16095 # type: textblock
16096 #: ../fish/guestfish.pod:873
16097 msgid "This is used to view a file."
16098 msgstr ""
16099
16100 # type: textblock
16101 #: ../fish/guestfish.pod:875
16102 msgid ""
16103 "The default viewer is C<$PAGER>.  However if you use the alternate command "
16104 "C<less> you will get the C<less> command specifically."
16105 msgstr ""
16106
16107 # type: =head2
16108 #: ../fish/guestfish.pod:878
16109 msgid "quit | exit"
16110 msgstr ""
16111
16112 # type: textblock
16113 #: ../fish/guestfish.pod:880
16114 msgid "This exits guestfish.  You can also use C<^D> key."
16115 msgstr ""
16116
16117 # type: =head2
16118 #: ../fish/guestfish.pod:882
16119 msgid "reopen"
16120 msgstr ""
16121
16122 # type: verbatim
16123 #: ../fish/guestfish.pod:884
16124 #, no-wrap
16125 msgid ""
16126 " reopen\n"
16127 "\n"
16128 msgstr ""
16129
16130 # type: textblock
16131 #: ../fish/guestfish.pod:886
16132 msgid ""
16133 "Close and reopen the libguestfs handle.  It is not necessary to use this "
16134 "normally, because the handle is closed properly when guestfish exits.  "
16135 "However this is occasionally useful for testing."
16136 msgstr ""
16137
16138 # type: =head2
16139 #: ../fish/guestfish.pod:890
16140 msgid "sparse"
16141 msgstr ""
16142
16143 # type: verbatim
16144 #: ../fish/guestfish.pod:892
16145 #, no-wrap
16146 msgid ""
16147 " sparse filename size\n"
16148 "\n"
16149 msgstr ""
16150
16151 # type: textblock
16152 #: ../fish/guestfish.pod:894
16153 msgid ""
16154 "This creates an empty sparse file of the given size, and then adds so it can "
16155 "be further examined."
16156 msgstr ""
16157
16158 # type: textblock
16159 #: ../fish/guestfish.pod:897
16160 msgid ""
16161 "In all respects it works the same as the C<alloc> command, except that the "
16162 "image file is allocated sparsely, which means that disk blocks are not "
16163 "assigned to the file until they are needed.  Sparse disk files only use "
16164 "space when written to, but they are slower and there is a danger you could "
16165 "run out of real disk space during a write operation."
16166 msgstr ""
16167
16168 # type: =head2
16169 #: ../fish/guestfish.pod:907
16170 msgid "supported"
16171 msgstr ""
16172
16173 # type: verbatim
16174 #: ../fish/guestfish.pod:909
16175 #, no-wrap
16176 msgid ""
16177 " supported\n"
16178 "\n"
16179 msgstr ""
16180
16181 # type: textblock
16182 #: ../fish/guestfish.pod:911
16183 msgid ""
16184 "This command returns a list of the optional groups known to the daemon, and "
16185 "indicates which ones are supported by this build of the libguestfs "
16186 "appliance."
16187 msgstr ""
16188
16189 # type: textblock
16190 #: ../fish/guestfish.pod:915
16191 msgid "See also L<guestfs(3)/AVAILABILITY>."
16192 msgstr ""
16193
16194 # type: =head2
16195 #: ../fish/guestfish.pod:917
16196 msgid "time"
16197 msgstr ""
16198
16199 # type: verbatim
16200 #: ../fish/guestfish.pod:919
16201 #, no-wrap
16202 msgid ""
16203 " time command args...\n"
16204 "\n"
16205 msgstr ""
16206
16207 # type: textblock
16208 #: ../fish/guestfish.pod:921
16209 msgid ""
16210 "Run the command as usual, but print the elapsed time afterwards.  This can "
16211 "be useful for benchmarking operations."
16212 msgstr ""
16213
16214 # type: =head1
16215 #: ../fish/guestfish.pod:924
16216 msgid "COMMANDS"
16217 msgstr ""
16218
16219 # type: =head1
16220 #: ../fish/guestfish.pod:928 ../test-tool/libguestfs-test-tool.pod:83
16221 msgid "EXIT CODE"
16222 msgstr ""
16223
16224 # type: textblock
16225 #: ../fish/guestfish.pod:930
16226 msgid ""
16227 "guestfish returns 0 if the commands completed without error, or 1 if there "
16228 "was an error."
16229 msgstr ""
16230
16231 # type: =item
16232 #: ../fish/guestfish.pod:937
16233 msgid "EDITOR"
16234 msgstr ""
16235
16236 # type: textblock
16237 #: ../fish/guestfish.pod:939
16238 msgid ""
16239 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16240 "C<vi>."
16241 msgstr ""
16242
16243 # type: =item
16244 #: ../fish/guestfish.pod:942
16245 msgid "GUESTFISH_PID"
16246 msgstr ""
16247
16248 # type: textblock
16249 #: ../fish/guestfish.pod:944
16250 msgid ""
16251 "Used with the I<--remote> option to specify the remote guestfish process to "
16252 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16253 msgstr ""
16254
16255 # type: =item
16256 #: ../fish/guestfish.pod:948
16257 msgid "HOME"
16258 msgstr ""
16259
16260 # type: textblock
16261 #: ../fish/guestfish.pod:950
16262 msgid ""
16263 "If compiled with GNU readline support, various files in the home directory "
16264 "can be used.  See L</FILES>."
16265 msgstr ""
16266
16267 # type: textblock
16268 #: ../fish/guestfish.pod:959
16269 msgid ""
16270 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16271 "effect as using the B<-v> option."
16272 msgstr ""
16273
16274 # type: textblock
16275 #: ../fish/guestfish.pod:971
16276 msgid ""
16277 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16278 "the discussion of paths in L<guestfs(3)>."
16279 msgstr ""
16280
16281 # type: textblock
16282 #: ../fish/guestfish.pod:982
16283 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16284 msgstr ""
16285
16286 # type: =item
16287 #: ../fish/guestfish.pod:984
16288 msgid "PAGER"
16289 msgstr ""
16290
16291 # type: textblock
16292 #: ../fish/guestfish.pod:986
16293 msgid ""
16294 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16295 "C<more>."
16296 msgstr ""
16297
16298 # type: =head1
16299 #: ../fish/guestfish.pod:1001 ../test-tool/libguestfs-test-tool.pod:88
16300 msgid "FILES"
16301 msgstr ""
16302
16303 # type: =item
16304 #: ../fish/guestfish.pod:1005
16305 msgid "$HOME/.guestfish"
16306 msgstr ""
16307
16308 # type: textblock
16309 #: ../fish/guestfish.pod:1007
16310 msgid ""
16311 "If compiled with GNU readline support, then the command history is saved in "
16312 "this file."
16313 msgstr ""
16314
16315 # type: =item
16316 #: ../fish/guestfish.pod:1010
16317 msgid "$HOME/.inputrc"
16318 msgstr ""
16319
16320 # type: =item
16321 #: ../fish/guestfish.pod:1012
16322 msgid "/etc/inputrc"
16323 msgstr ""
16324
16325 # type: textblock
16326 #: ../fish/guestfish.pod:1014
16327 msgid ""
16328 "If compiled with GNU readline support, then these files can be used to "
16329 "configure readline.  For further information, please see "
16330 "L<readline(3)/INITIALIZATION FILE>."
16331 msgstr ""
16332
16333 # type: textblock
16334 #: ../fish/guestfish.pod:1018
16335 msgid "To write rules which only apply to guestfish, use:"
16336 msgstr ""
16337
16338 # type: verbatim
16339 #: ../fish/guestfish.pod:1020
16340 #, no-wrap
16341 msgid ""
16342 " $if guestfish\n"
16343 " ...\n"
16344 " $endif\n"
16345 "\n"
16346 msgstr ""
16347
16348 # type: textblock
16349 #: ../fish/guestfish.pod:1024
16350 msgid ""
16351 "Variables that you can set in inputrc that change the behaviour of guestfish "
16352 "in useful ways include:"
16353 msgstr ""
16354
16355 # type: =item
16356 #: ../fish/guestfish.pod:1029
16357 msgid "completion-ignore-case (default: on)"
16358 msgstr ""
16359
16360 # type: textblock
16361 #: ../fish/guestfish.pod:1031
16362 msgid ""
16363 "By default, guestfish will ignore case when tab-completing paths on the "
16364 "disk.  Use:"
16365 msgstr ""
16366
16367 # type: verbatim
16368 #: ../fish/guestfish.pod:1034
16369 #, no-wrap
16370 msgid ""
16371 " set completion-ignore-case off\n"
16372 "\n"
16373 msgstr ""
16374
16375 # type: textblock
16376 #: ../fish/guestfish.pod:1036
16377 msgid "to make guestfish case sensitive."
16378 msgstr ""
16379
16380 # type: =item
16381 #: ../fish/guestfish.pod:1040
16382 msgid "test1.img"
16383 msgstr ""
16384
16385 # type: =item
16386 #: ../fish/guestfish.pod:1042
16387 msgid "test2.img (etc)"
16388 msgstr ""
16389
16390 # type: textblock
16391 #: ../fish/guestfish.pod:1044
16392 msgid ""
16393 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16394 "will be created in the file C<test1.img> in the current directory.  The "
16395 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16396 "the same name will be overwritten."
16397 msgstr ""
16398
16399 # type: textblock
16400 #: ../fish/guestfish.pod:1053
16401 msgid ""
16402 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16403 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16404 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16405 "L<virt-tar(1)>, L<virt-win-reg(1)>."
16406 msgstr ""
16407
16408 # type: textblock
16409 #: ../fish/guestfish.pod:1076 ../test-tool/libguestfs-test-tool.pod:124 ../fuse/guestmount.pod:198 ../inspector/virt-inspector.pl:865 ../tools/virt-cat.pl:181 ../tools/virt-df.pl:499 ../tools/virt-edit.pl:345 ../tools/virt-list-filesystems.pl:211 ../tools/virt-list-partitions.pl:248 ../tools/virt-ls.pl:229 ../tools/virt-make-fs.pl:560 ../tools/virt-rescue.pl:249 ../tools/virt-resize.pl:1415 ../tools/virt-tar.pl:276 ../tools/virt-win-reg.pl:495
16410 msgid ""
16411 "This program is free software; you can redistribute it and/or modify it "
16412 "under the terms of the GNU General Public License as published by the Free "
16413 "Software Foundation; either version 2 of the License, or (at your option) "
16414 "any later version."
16415 msgstr ""
16416
16417 # type: textblock
16418 #: ../fish/guestfish.pod:1081 ../test-tool/libguestfs-test-tool.pod:129 ../fuse/guestmount.pod:203 ../inspector/virt-inspector.pl:870 ../tools/virt-cat.pl:186 ../tools/virt-df.pl:504 ../tools/virt-edit.pl:350 ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:253 ../tools/virt-ls.pl:234 ../tools/virt-make-fs.pl:565 ../tools/virt-rescue.pl:254 ../tools/virt-resize.pl:1420 ../tools/virt-tar.pl:281 ../tools/virt-win-reg.pl:500
16419 msgid ""
16420 "This program is distributed in the hope that it will be useful, but WITHOUT "
16421 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16422 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16423 "more details."
16424 msgstr ""
16425
16426 # type: textblock
16427 #: ../fish/guestfish.pod:1086 ../test-tool/libguestfs-test-tool.pod:134 ../fuse/guestmount.pod:208 ../inspector/virt-inspector.pl:875 ../tools/virt-cat.pl:191 ../tools/virt-df.pl:509 ../tools/virt-edit.pl:355 ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:258 ../tools/virt-ls.pl:239 ../tools/virt-make-fs.pl:570 ../tools/virt-rescue.pl:259 ../tools/virt-resize.pl:1425 ../tools/virt-tar.pl:286 ../tools/virt-win-reg.pl:505
16428 msgid ""
16429 "You should have received a copy of the GNU General Public License along with "
16430 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16431 "Ave, Cambridge, MA 02139, USA."
16432 msgstr ""
16433
16434 # type: =head2
16435 #: ../fish/guestfish-actions.pod:1
16436 msgid "add-cdrom | cdrom"
16437 msgstr ""
16438
16439 # type: verbatim
16440 #: ../fish/guestfish-actions.pod:3
16441 #, no-wrap
16442 msgid ""
16443 " add-cdrom filename\n"
16444 "\n"
16445 msgstr ""
16446
16447 # type: textblock
16448 #: ../fish/guestfish-actions.pod:15
16449 msgid ""
16450 "This call checks for the existence of C<filename>.  This stops you from "
16451 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16452 "and C<http:> URLs.  To specify those, use the general C<config> call "
16453 "instead."
16454 msgstr ""
16455
16456 # type: textblock
16457 #: ../fish/guestfish-actions.pod:22
16458 msgid ""
16459 "If you just want to add an ISO file (often you use this as an efficient way "
16460 "to transfer large files into the guest), then you should probably use "
16461 "C<add-drive-ro> instead."
16462 msgstr ""
16463
16464 # type: =head2
16465 #: ../fish/guestfish-actions.pod:28
16466 msgid "add-drive | add"
16467 msgstr ""
16468
16469 # type: verbatim
16470 #: ../fish/guestfish-actions.pod:30
16471 #, no-wrap
16472 msgid ""
16473 " add-drive filename\n"
16474 "\n"
16475 msgstr ""
16476
16477 # type: textblock
16478 #: ../fish/guestfish-actions.pod:49 ../fish/guestfish-actions.pod:75
16479 msgid ""
16480 "C<if=...> is set at compile time by the configuration option C<./configure "
16481 "--with-drive-if=...>.  In the rare case where you might need to change this "
16482 "at run time, use C<add-drive-with-if> or C<add-drive-ro-with-if>."
16483 msgstr ""
16484
16485 # type: textblock
16486 #: ../fish/guestfish-actions.pod:54 ../fish/guestfish-actions.pod:80
16487 msgid ""
16488 "Note that this call checks for the existence of C<filename>.  This stops you "
16489 "from specifying other types of drive which are supported by qemu such as "
16490 "C<nbd:> and C<http:> URLs.  To specify those, use the general C<config> call "
16491 "instead."
16492 msgstr ""
16493
16494 # type: =head2
16495 #: ../fish/guestfish-actions.pod:59
16496 msgid "add-drive-ro | add-ro"
16497 msgstr ""
16498
16499 # type: verbatim
16500 #: ../fish/guestfish-actions.pod:61
16501 #, no-wrap
16502 msgid ""
16503 " add-drive-ro filename\n"
16504 "\n"
16505 msgstr ""
16506
16507 # type: =head2
16508 #: ../fish/guestfish-actions.pod:85
16509 msgid "add-drive-ro-with-if"
16510 msgstr ""
16511
16512 # type: verbatim
16513 #: ../fish/guestfish-actions.pod:87
16514 #, no-wrap
16515 msgid ""
16516 " add-drive-ro-with-if filename iface\n"
16517 "\n"
16518 msgstr ""
16519
16520 # type: textblock
16521 #: ../fish/guestfish-actions.pod:89
16522 msgid ""
16523 "This is the same as C<add-drive-ro> but it allows you to specify the QEMU "
16524 "interface emulation to use at run time."
16525 msgstr ""
16526
16527 # type: =head2
16528 #: ../fish/guestfish-actions.pod:92
16529 msgid "add-drive-with-if"
16530 msgstr ""
16531
16532 # type: verbatim
16533 #: ../fish/guestfish-actions.pod:94
16534 #, no-wrap
16535 msgid ""
16536 " add-drive-with-if filename iface\n"
16537 "\n"
16538 msgstr ""
16539
16540 # type: textblock
16541 #: ../fish/guestfish-actions.pod:96
16542 msgid ""
16543 "This is the same as C<add-drive> but it allows you to specify the QEMU "
16544 "interface emulation to use at run time."
16545 msgstr ""
16546
16547 # type: =head2
16548 #: ../fish/guestfish-actions.pod:99
16549 msgid "aug-clear"
16550 msgstr ""
16551
16552 # type: verbatim
16553 #: ../fish/guestfish-actions.pod:101
16554 #, no-wrap
16555 msgid ""
16556 " aug-clear augpath\n"
16557 "\n"
16558 msgstr ""
16559
16560 # type: =head2
16561 #: ../fish/guestfish-actions.pod:106
16562 msgid "aug-close"
16563 msgstr ""
16564
16565 # type: verbatim
16566 #: ../fish/guestfish-actions.pod:108
16567 #, no-wrap
16568 msgid ""
16569 " aug-close\n"
16570 "\n"
16571 msgstr ""
16572
16573 # type: textblock
16574 #: ../fish/guestfish-actions.pod:110
16575 msgid ""
16576 "Close the current Augeas handle and free up any resources used by it.  After "
16577 "calling this, you have to call C<aug-init> again before you can use any "
16578 "other Augeas functions."
16579 msgstr ""
16580
16581 # type: =head2
16582 #: ../fish/guestfish-actions.pod:115
16583 msgid "aug-defnode"
16584 msgstr ""
16585
16586 # type: verbatim
16587 #: ../fish/guestfish-actions.pod:117
16588 #, no-wrap
16589 msgid ""
16590 " aug-defnode name expr val\n"
16591 "\n"
16592 msgstr ""
16593
16594 # type: textblock
16595 #: ../fish/guestfish-actions.pod:122
16596 msgid ""
16597 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
16598 "calling C<aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
16599 "containing that single node."
16600 msgstr ""
16601
16602 # type: =head2
16603 #: ../fish/guestfish-actions.pod:130
16604 msgid "aug-defvar"
16605 msgstr ""
16606
16607 # type: verbatim
16608 #: ../fish/guestfish-actions.pod:132
16609 #, no-wrap
16610 msgid ""
16611 " aug-defvar name expr\n"
16612 "\n"
16613 msgstr ""
16614
16615 # type: =head2
16616 #: ../fish/guestfish-actions.pod:141
16617 msgid "aug-get"
16618 msgstr ""
16619
16620 # type: verbatim
16621 #: ../fish/guestfish-actions.pod:143
16622 #, no-wrap
16623 msgid ""
16624 " aug-get augpath\n"
16625 "\n"
16626 msgstr ""
16627
16628 # type: =head2
16629 #: ../fish/guestfish-actions.pod:148
16630 msgid "aug-init"
16631 msgstr ""
16632
16633 # type: verbatim
16634 #: ../fish/guestfish-actions.pod:150
16635 #, no-wrap
16636 msgid ""
16637 " aug-init root flags\n"
16638 "\n"
16639 msgstr ""
16640
16641 # type: textblock
16642 #: ../fish/guestfish-actions.pod:156
16643 msgid "You must call this before using any other C<aug-*> commands."
16644 msgstr ""
16645
16646 # type: textblock
16647 #: ../fish/guestfish-actions.pod:191
16648 msgid "Do not load the tree in C<aug-init>."
16649 msgstr ""
16650
16651 # type: textblock
16652 #: ../fish/guestfish-actions.pod:195
16653 msgid "To close the handle, you can call C<aug-close>."
16654 msgstr ""
16655
16656 # type: =head2
16657 #: ../fish/guestfish-actions.pod:199
16658 msgid "aug-insert"
16659 msgstr ""
16660
16661 # type: verbatim
16662 #: ../fish/guestfish-actions.pod:201
16663 #, no-wrap
16664 msgid ""
16665 " aug-insert augpath label true|false\n"
16666 "\n"
16667 msgstr ""
16668
16669 # type: =head2
16670 #: ../fish/guestfish-actions.pod:211
16671 msgid "aug-load"
16672 msgstr ""
16673
16674 # type: verbatim
16675 #: ../fish/guestfish-actions.pod:213
16676 #, no-wrap
16677 msgid ""
16678 " aug-load\n"
16679 "\n"
16680 msgstr ""
16681
16682 # type: =head2
16683 #: ../fish/guestfish-actions.pod:220
16684 msgid "aug-ls"
16685 msgstr ""
16686
16687 # type: verbatim
16688 #: ../fish/guestfish-actions.pod:222
16689 #, no-wrap
16690 msgid ""
16691 " aug-ls augpath\n"
16692 "\n"
16693 msgstr ""
16694
16695 # type: textblock
16696 #: ../fish/guestfish-actions.pod:224
16697 msgid ""
16698 "This is just a shortcut for listing C<aug-match> C<path/*> and sorting the "
16699 "resulting nodes into alphabetical order."
16700 msgstr ""
16701
16702 # type: =head2
16703 #: ../fish/guestfish-actions.pod:227
16704 msgid "aug-match"
16705 msgstr ""
16706
16707 # type: verbatim
16708 #: ../fish/guestfish-actions.pod:229
16709 #, no-wrap
16710 msgid ""
16711 " aug-match augpath\n"
16712 "\n"
16713 msgstr ""
16714
16715 # type: =head2
16716 #: ../fish/guestfish-actions.pod:235
16717 msgid "aug-mv"
16718 msgstr ""
16719
16720 # type: verbatim
16721 #: ../fish/guestfish-actions.pod:237
16722 #, no-wrap
16723 msgid ""
16724 " aug-mv src dest\n"
16725 "\n"
16726 msgstr ""
16727
16728 # type: =head2
16729 #: ../fish/guestfish-actions.pod:242
16730 msgid "aug-rm"
16731 msgstr ""
16732
16733 # type: verbatim
16734 #: ../fish/guestfish-actions.pod:244
16735 #, no-wrap
16736 msgid ""
16737 " aug-rm augpath\n"
16738 "\n"
16739 msgstr ""
16740
16741 # type: =head2
16742 #: ../fish/guestfish-actions.pod:250
16743 msgid "aug-save"
16744 msgstr ""
16745
16746 # type: verbatim
16747 #: ../fish/guestfish-actions.pod:252
16748 #, no-wrap
16749 msgid ""
16750 " aug-save\n"
16751 "\n"
16752 msgstr ""
16753
16754 # type: textblock
16755 #: ../fish/guestfish-actions.pod:256
16756 msgid ""
16757 "The flags which were passed to C<aug-init> affect exactly how files are "
16758 "saved."
16759 msgstr ""
16760
16761 # type: =head2
16762 #: ../fish/guestfish-actions.pod:259
16763 msgid "aug-set"
16764 msgstr ""
16765
16766 # type: verbatim
16767 #: ../fish/guestfish-actions.pod:261
16768 #, no-wrap
16769 msgid ""
16770 " aug-set augpath val\n"
16771 "\n"
16772 msgstr ""
16773
16774 # type: textblock
16775 #: ../fish/guestfish-actions.pod:265
16776 msgid ""
16777 "In the Augeas API, it is possible to clear a node by setting the value to "
16778 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
16779 "this call.  Instead you must use the C<aug-clear> call."
16780 msgstr ""
16781
16782 # type: =head2
16783 #: ../fish/guestfish-actions.pod:270
16784 msgid "available"
16785 msgstr ""
16786
16787 # type: verbatim
16788 #: ../fish/guestfish-actions.pod:272
16789 #, no-wrap
16790 msgid ""
16791 " available 'groups ...'\n"
16792 "\n"
16793 msgstr ""
16794
16795 # type: textblock
16796 #: ../fish/guestfish-actions.pod:278
16797 msgid ""
16798 "The libguestfs groups, and the functions that those groups correspond to, "
16799 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
16800 "runtime by calling C<available-all-groups>."
16801 msgstr ""
16802
16803 # type: textblock
16804 #: ../fish/guestfish-actions.pod:302
16805 msgid "You must call C<launch> before calling this function."
16806 msgstr ""
16807
16808 # type: textblock
16809 #: ../fish/guestfish-actions.pod:324
16810 msgid ""
16811 "This call was added in version C<1.0.80>.  In previous versions of "
16812 "libguestfs all you could do would be to speculatively execute a command to "
16813 "find out if the daemon implemented it.  See also C<version>."
16814 msgstr ""
16815
16816 # type: =head2
16817 #: ../fish/guestfish-actions.pod:331
16818 msgid "available-all-groups"
16819 msgstr ""
16820
16821 # type: verbatim
16822 #: ../fish/guestfish-actions.pod:333
16823 #, no-wrap
16824 msgid ""
16825 " available-all-groups\n"
16826 "\n"
16827 msgstr ""
16828
16829 # type: textblock
16830 #: ../fish/guestfish-actions.pod:335
16831 msgid ""
16832 "This command returns a list of all optional groups that this daemon knows "
16833 "about.  Note this returns both supported and unsupported groups.  To find "
16834 "out which ones the daemon can actually support you have to call C<available> "
16835 "on each member of the returned list."
16836 msgstr ""
16837
16838 # type: textblock
16839 #: ../fish/guestfish-actions.pod:341
16840 msgid "See also C<available> and L<guestfs(3)/AVAILABILITY>."
16841 msgstr ""
16842
16843 # type: =head2
16844 #: ../fish/guestfish-actions.pod:343
16845 msgid "base64-in"
16846 msgstr ""
16847
16848 # type: verbatim
16849 #: ../fish/guestfish-actions.pod:345
16850 #, no-wrap
16851 msgid ""
16852 " base64-in (base64file|-) filename\n"
16853 "\n"
16854 msgstr ""
16855
16856 # type: textblock
16857 #: ../fish/guestfish-actions.pod:350 ../fish/guestfish-actions.pod:359 ../fish/guestfish-actions.pod:583 ../fish/guestfish-actions.pod:730 ../fish/guestfish-actions.pod:777 ../fish/guestfish-actions.pod:1154 ../fish/guestfish-actions.pod:3702 ../fish/guestfish-actions.pod:3714 ../fish/guestfish-actions.pod:3725 ../fish/guestfish-actions.pod:3736 ../fish/guestfish-actions.pod:3788 ../fish/guestfish-actions.pod:3797 ../fish/guestfish-actions.pod:3847
16858 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
16859 msgstr ""
16860
16861 # type: =head2
16862 #: ../fish/guestfish-actions.pod:352
16863 msgid "base64-out"
16864 msgstr ""
16865
16866 # type: verbatim
16867 #: ../fish/guestfish-actions.pod:354
16868 #, no-wrap
16869 msgid ""
16870 " base64-out filename (base64file|-)\n"
16871 "\n"
16872 msgstr ""
16873
16874 # type: =head2
16875 #: ../fish/guestfish-actions.pod:361
16876 msgid "blockdev-flushbufs"
16877 msgstr ""
16878
16879 # type: verbatim
16880 #: ../fish/guestfish-actions.pod:363
16881 #, no-wrap
16882 msgid ""
16883 " blockdev-flushbufs device\n"
16884 "\n"
16885 msgstr ""
16886
16887 # type: =head2
16888 #: ../fish/guestfish-actions.pod:370
16889 msgid "blockdev-getbsz"
16890 msgstr ""
16891
16892 # type: verbatim
16893 #: ../fish/guestfish-actions.pod:372
16894 #, no-wrap
16895 msgid ""
16896 " blockdev-getbsz device\n"
16897 "\n"
16898 msgstr ""
16899
16900 # type: =head2
16901 #: ../fish/guestfish-actions.pod:381
16902 msgid "blockdev-getro"
16903 msgstr ""
16904
16905 # type: verbatim
16906 #: ../fish/guestfish-actions.pod:383
16907 #, no-wrap
16908 msgid ""
16909 " blockdev-getro device\n"
16910 "\n"
16911 msgstr ""
16912
16913 # type: =head2
16914 #: ../fish/guestfish-actions.pod:390
16915 msgid "blockdev-getsize64"
16916 msgstr ""
16917
16918 # type: verbatim
16919 #: ../fish/guestfish-actions.pod:392
16920 #, no-wrap
16921 msgid ""
16922 " blockdev-getsize64 device\n"
16923 "\n"
16924 msgstr ""
16925
16926 # type: textblock
16927 #: ../fish/guestfish-actions.pod:396
16928 msgid "See also C<blockdev-getsz>."
16929 msgstr ""
16930
16931 # type: =head2
16932 #: ../fish/guestfish-actions.pod:400
16933 msgid "blockdev-getss"
16934 msgstr ""
16935
16936 # type: verbatim
16937 #: ../fish/guestfish-actions.pod:402
16938 #, no-wrap
16939 msgid ""
16940 " blockdev-getss device\n"
16941 "\n"
16942 msgstr ""
16943
16944 # type: textblock
16945 #: ../fish/guestfish-actions.pod:407
16946 msgid "(Note, this is not the size in sectors, use C<blockdev-getsz> for that)."
16947 msgstr ""
16948
16949 # type: =head2
16950 #: ../fish/guestfish-actions.pod:412
16951 msgid "blockdev-getsz"
16952 msgstr ""
16953
16954 # type: verbatim
16955 #: ../fish/guestfish-actions.pod:414
16956 #, no-wrap
16957 msgid ""
16958 " blockdev-getsz device\n"
16959 "\n"
16960 msgstr ""
16961
16962 # type: textblock
16963 #: ../fish/guestfish-actions.pod:419
16964 msgid ""
16965 "See also C<blockdev-getss> for the real sector size of the device, and "
16966 "C<blockdev-getsize64> for the more useful I<size in bytes>."
16967 msgstr ""
16968
16969 # type: =head2
16970 #: ../fish/guestfish-actions.pod:425
16971 msgid "blockdev-rereadpt"
16972 msgstr ""
16973
16974 # type: verbatim
16975 #: ../fish/guestfish-actions.pod:427
16976 #, no-wrap
16977 msgid ""
16978 " blockdev-rereadpt device\n"
16979 "\n"
16980 msgstr ""
16981
16982 # type: =head2
16983 #: ../fish/guestfish-actions.pod:433
16984 msgid "blockdev-setbsz"
16985 msgstr ""
16986
16987 # type: verbatim
16988 #: ../fish/guestfish-actions.pod:435
16989 #, no-wrap
16990 msgid ""
16991 " blockdev-setbsz device blocksize\n"
16992 "\n"
16993 msgstr ""
16994
16995 # type: =head2
16996 #: ../fish/guestfish-actions.pod:444
16997 msgid "blockdev-setro"
16998 msgstr ""
16999
17000 # type: verbatim
17001 #: ../fish/guestfish-actions.pod:446
17002 #, no-wrap
17003 msgid ""
17004 " blockdev-setro device\n"
17005 "\n"
17006 msgstr ""
17007
17008 # type: =head2
17009 #: ../fish/guestfish-actions.pod:452
17010 msgid "blockdev-setrw"
17011 msgstr ""
17012
17013 # type: verbatim
17014 #: ../fish/guestfish-actions.pod:454
17015 #, no-wrap
17016 msgid ""
17017 " blockdev-setrw device\n"
17018 "\n"
17019 msgstr ""
17020
17021 # type: =head2
17022 #: ../fish/guestfish-actions.pod:460
17023 msgid "case-sensitive-path"
17024 msgstr ""
17025
17026 # type: verbatim
17027 #: ../fish/guestfish-actions.pod:462
17028 #, no-wrap
17029 msgid ""
17030 " case-sensitive-path path\n"
17031 "\n"
17032 msgstr ""
17033
17034 # type: textblock
17035 #: ../fish/guestfish-actions.pod:486
17036 msgid ""
17037 "Thus C<case-sensitive-path> (\"/Windows/System32\")  might return "
17038 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
17039 "how the directories were originally created under Windows)."
17040 msgstr ""
17041
17042 # type: textblock
17043 #: ../fish/guestfish-actions.pod:494
17044 msgid "See also C<realpath>."
17045 msgstr ""
17046
17047 # type: =head2
17048 #: ../fish/guestfish-actions.pod:496
17049 msgid "cat"
17050 msgstr ""
17051
17052 # type: verbatim
17053 #: ../fish/guestfish-actions.pod:498
17054 #, no-wrap
17055 msgid ""
17056 " cat path\n"
17057 "\n"
17058 msgstr ""
17059
17060 # type: textblock
17061 #: ../fish/guestfish-actions.pod:502
17062 msgid ""
17063 "Note that this function cannot correctly handle binary files (specifically, "
17064 "files containing C<\\0> character which is treated as end of string).  For "
17065 "those you need to use the C<read-file> or C<download> functions which have a "
17066 "more complex interface."
17067 msgstr ""
17068
17069 # type: =head2
17070 #: ../fish/guestfish-actions.pod:510
17071 msgid "checksum"
17072 msgstr ""
17073
17074 # type: verbatim
17075 #: ../fish/guestfish-actions.pod:512
17076 #, no-wrap
17077 msgid ""
17078 " checksum csumtype path\n"
17079 "\n"
17080 msgstr ""
17081
17082 # type: textblock
17083 #: ../fish/guestfish-actions.pod:555
17084 msgid "To get the checksum for a device, use C<checksum-device>."
17085 msgstr ""
17086
17087 # type: textblock
17088 #: ../fish/guestfish-actions.pod:557
17089 msgid "To get the checksums for many files, use C<checksums-out>."
17090 msgstr ""
17091
17092 # type: =head2
17093 #: ../fish/guestfish-actions.pod:559
17094 msgid "checksum-device"
17095 msgstr ""
17096
17097 # type: verbatim
17098 #: ../fish/guestfish-actions.pod:561
17099 #, no-wrap
17100 msgid ""
17101 " checksum-device csumtype device\n"
17102 "\n"
17103 msgstr ""
17104
17105 # type: textblock
17106 #: ../fish/guestfish-actions.pod:563
17107 msgid ""
17108 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17109 "device named C<device>.  For the types of checksums supported see the "
17110 "C<checksum> command."
17111 msgstr ""
17112
17113 # type: =head2
17114 #: ../fish/guestfish-actions.pod:567
17115 msgid "checksums-out"
17116 msgstr ""
17117
17118 # type: verbatim
17119 #: ../fish/guestfish-actions.pod:569
17120 #, no-wrap
17121 msgid ""
17122 " checksums-out csumtype directory (sumsfile|-)\n"
17123 "\n"
17124 msgstr ""
17125
17126 # type: =head2
17127 #: ../fish/guestfish-actions.pod:585
17128 msgid "chmod"
17129 msgstr ""
17130
17131 # type: verbatim
17132 #: ../fish/guestfish-actions.pod:587
17133 #, no-wrap
17134 msgid ""
17135 " chmod mode path\n"
17136 "\n"
17137 msgstr ""
17138
17139 # type: =head2
17140 #: ../fish/guestfish-actions.pod:598
17141 msgid "chown"
17142 msgstr ""
17143
17144 # type: verbatim
17145 #: ../fish/guestfish-actions.pod:600
17146 #, no-wrap
17147 msgid ""
17148 " chown owner group path\n"
17149 "\n"
17150 msgstr ""
17151
17152 # type: =head2
17153 #: ../fish/guestfish-actions.pod:608
17154 msgid "command"
17155 msgstr ""
17156
17157 # type: verbatim
17158 #: ../fish/guestfish-actions.pod:610
17159 #, no-wrap
17160 msgid ""
17161 " command 'arguments ...'\n"
17162 "\n"
17163 msgstr ""
17164
17165 # type: textblock
17166 #: ../fish/guestfish-actions.pod:617
17167 msgid ""
17168 "The single parameter is an argv-style list of arguments.  The first element "
17169 "is the name of the program to run.  Subsequent elements are parameters.  The "
17170 "list must be non-empty (ie. must contain a program name).  Note that the "
17171 "command runs directly, and is I<not> invoked via the shell (see C<sh>)."
17172 msgstr ""
17173
17174 # type: =head2
17175 #: ../fish/guestfish-actions.pod:645
17176 msgid "command-lines"
17177 msgstr ""
17178
17179 # type: verbatim
17180 #: ../fish/guestfish-actions.pod:647
17181 #, no-wrap
17182 msgid ""
17183 " command-lines 'arguments ...'\n"
17184 "\n"
17185 msgstr ""
17186
17187 # type: textblock
17188 #: ../fish/guestfish-actions.pod:649
17189 msgid "This is the same as C<command>, but splits the result into a list of lines."
17190 msgstr ""
17191
17192 # type: textblock
17193 #: ../fish/guestfish-actions.pod:652
17194 msgid "See also: C<sh-lines>"
17195 msgstr ""
17196
17197 # type: =head2
17198 #: ../fish/guestfish-actions.pod:657
17199 msgid "config"
17200 msgstr ""
17201
17202 # type: verbatim
17203 #: ../fish/guestfish-actions.pod:659
17204 #, no-wrap
17205 msgid ""
17206 " config qemuparam qemuvalue\n"
17207 "\n"
17208 msgstr ""
17209
17210 # type: =head2
17211 #: ../fish/guestfish-actions.pod:670
17212 msgid "copy-size"
17213 msgstr ""
17214
17215 # type: verbatim
17216 #: ../fish/guestfish-actions.pod:672
17217 #, no-wrap
17218 msgid ""
17219 " copy-size src dest size\n"
17220 "\n"
17221 msgstr ""
17222
17223 # type: =head2
17224 #: ../fish/guestfish-actions.pod:680
17225 msgid "cp"
17226 msgstr ""
17227
17228 # type: verbatim
17229 #: ../fish/guestfish-actions.pod:682
17230 #, no-wrap
17231 msgid ""
17232 " cp src dest\n"
17233 "\n"
17234 msgstr ""
17235
17236 # type: =head2
17237 #: ../fish/guestfish-actions.pod:687
17238 msgid "cp-a"
17239 msgstr ""
17240
17241 # type: verbatim
17242 #: ../fish/guestfish-actions.pod:689
17243 #, no-wrap
17244 msgid ""
17245 " cp-a src dest\n"
17246 "\n"
17247 msgstr ""
17248
17249 # type: =head2
17250 #: ../fish/guestfish-actions.pod:694
17251 msgid "dd"
17252 msgstr ""
17253
17254 # type: verbatim
17255 #: ../fish/guestfish-actions.pod:696
17256 #, no-wrap
17257 msgid ""
17258 " dd src dest\n"
17259 "\n"
17260 msgstr ""
17261
17262 # type: textblock
17263 #: ../fish/guestfish-actions.pod:703
17264 msgid ""
17265 "If the destination is a device, it must be as large or larger than the "
17266 "source file or device, otherwise the copy will fail.  This command cannot do "
17267 "partial copies (see C<copy-size>)."
17268 msgstr ""
17269
17270 # type: =head2
17271 #: ../fish/guestfish-actions.pod:707
17272 msgid "debug"
17273 msgstr ""
17274
17275 # type: verbatim
17276 #: ../fish/guestfish-actions.pod:709
17277 #, no-wrap
17278 msgid ""
17279 " debug subcmd 'extraargs ...'\n"
17280 "\n"
17281 msgstr ""
17282
17283 # type: textblock
17284 #: ../fish/guestfish-actions.pod:711
17285 msgid ""
17286 "The C<debug> command exposes some internals of C<guestfsd> (the guestfs "
17287 "daemon) that runs inside the qemu subprocess."
17288 msgstr ""
17289
17290 # type: =head2
17291 #: ../fish/guestfish-actions.pod:719
17292 msgid "debug-upload"
17293 msgstr ""
17294
17295 # type: verbatim
17296 #: ../fish/guestfish-actions.pod:721
17297 #, no-wrap
17298 msgid ""
17299 " debug-upload (filename|-) tmpname mode\n"
17300 "\n"
17301 msgstr ""
17302
17303 # type: textblock
17304 #: ../fish/guestfish-actions.pod:723
17305 msgid "The C<debug-upload> command uploads a file to the libguestfs appliance."
17306 msgstr ""
17307
17308 # type: =head2
17309 #: ../fish/guestfish-actions.pod:732
17310 msgid "df"
17311 msgstr ""
17312
17313 # type: verbatim
17314 #: ../fish/guestfish-actions.pod:734
17315 #, no-wrap
17316 msgid ""
17317 " df\n"
17318 "\n"
17319 msgstr ""
17320
17321 # type: =head2
17322 #: ../fish/guestfish-actions.pod:742
17323 msgid "df-h"
17324 msgstr ""
17325
17326 # type: verbatim
17327 #: ../fish/guestfish-actions.pod:744
17328 #, no-wrap
17329 msgid ""
17330 " df-h\n"
17331 "\n"
17332 msgstr ""
17333
17334 # type: =head2
17335 #: ../fish/guestfish-actions.pod:753
17336 msgid "dmesg"
17337 msgstr ""
17338
17339 # type: verbatim
17340 #: ../fish/guestfish-actions.pod:755
17341 #, no-wrap
17342 msgid ""
17343 " dmesg\n"
17344 "\n"
17345 msgstr ""
17346
17347 # type: textblock
17348 #: ../fish/guestfish-actions.pod:761
17349 msgid ""
17350 "Another way to get the same information is to enable verbose messages with "
17351 "C<set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17352 "before running the program."
17353 msgstr ""
17354
17355 # type: =head2
17356 #: ../fish/guestfish-actions.pod:766
17357 msgid "download"
17358 msgstr ""
17359
17360 # type: verbatim
17361 #: ../fish/guestfish-actions.pod:768
17362 #, no-wrap
17363 msgid ""
17364 " download remotefilename (filename|-)\n"
17365 "\n"
17366 msgstr ""
17367
17368 # type: textblock
17369 #: ../fish/guestfish-actions.pod:775
17370 msgid "See also C<upload>, C<cat>."
17371 msgstr ""
17372
17373 # type: =head2
17374 #: ../fish/guestfish-actions.pod:779
17375 msgid "drop-caches"
17376 msgstr ""
17377
17378 # type: verbatim
17379 #: ../fish/guestfish-actions.pod:781
17380 #, no-wrap
17381 msgid ""
17382 " drop-caches whattodrop\n"
17383 "\n"
17384 msgstr ""
17385
17386 # type: =head2
17387 #: ../fish/guestfish-actions.pod:793
17388 msgid "du"
17389 msgstr ""
17390
17391 # type: verbatim
17392 #: ../fish/guestfish-actions.pod:795
17393 #, no-wrap
17394 msgid ""
17395 " du path\n"
17396 "\n"
17397 msgstr ""
17398
17399 # type: =head2
17400 #: ../fish/guestfish-actions.pod:807
17401 msgid "e2fsck-f"
17402 msgstr ""
17403
17404 # type: verbatim
17405 #: ../fish/guestfish-actions.pod:809
17406 #, no-wrap
17407 msgid ""
17408 " e2fsck-f device\n"
17409 "\n"
17410 msgstr ""
17411
17412 # type: textblock
17413 #: ../fish/guestfish-actions.pod:815
17414 msgid ""
17415 "This command is only needed because of C<resize2fs> (q.v.).  Normally you "
17416 "should use C<fsck>."
17417 msgstr ""
17418
17419 # type: =head2
17420 #: ../fish/guestfish-actions.pod:818
17421 msgid "echo-daemon"
17422 msgstr ""
17423
17424 # type: verbatim
17425 #: ../fish/guestfish-actions.pod:820
17426 #, no-wrap
17427 msgid ""
17428 " echo-daemon 'words ...'\n"
17429 "\n"
17430 msgstr ""
17431
17432 # type: textblock
17433 #: ../fish/guestfish-actions.pod:827
17434 msgid "See also C<ping-daemon>."
17435 msgstr ""
17436
17437 # type: =head2
17438 #: ../fish/guestfish-actions.pod:829
17439 msgid "egrep"
17440 msgstr ""
17441
17442 # type: verbatim
17443 #: ../fish/guestfish-actions.pod:831
17444 #, no-wrap
17445 msgid ""
17446 " egrep regex path\n"
17447 "\n"
17448 msgstr ""
17449
17450 # type: =head2
17451 #: ../fish/guestfish-actions.pod:839
17452 msgid "egrepi"
17453 msgstr ""
17454
17455 # type: verbatim
17456 #: ../fish/guestfish-actions.pod:841
17457 #, no-wrap
17458 msgid ""
17459 " egrepi regex path\n"
17460 "\n"
17461 msgstr ""
17462
17463 # type: =head2
17464 #: ../fish/guestfish-actions.pod:849
17465 msgid "equal"
17466 msgstr ""
17467
17468 # type: verbatim
17469 #: ../fish/guestfish-actions.pod:851
17470 #, no-wrap
17471 msgid ""
17472 " equal file1 file2\n"
17473 "\n"
17474 msgstr ""
17475
17476 # type: =head2
17477 #: ../fish/guestfish-actions.pod:858
17478 msgid "exists"
17479 msgstr ""
17480
17481 # type: verbatim
17482 #: ../fish/guestfish-actions.pod:860
17483 #, no-wrap
17484 msgid ""
17485 " exists path\n"
17486 "\n"
17487 msgstr ""
17488
17489 # type: textblock
17490 #: ../fish/guestfish-actions.pod:865
17491 msgid "See also C<is-file>, C<is-dir>, C<stat>."
17492 msgstr ""
17493
17494 # type: =head2
17495 #: ../fish/guestfish-actions.pod:867
17496 msgid "fallocate"
17497 msgstr ""
17498
17499 # type: verbatim
17500 #: ../fish/guestfish-actions.pod:869
17501 #, no-wrap
17502 msgid ""
17503 " fallocate path len\n"
17504 "\n"
17505 msgstr ""
17506
17507 # type: =head2
17508 #: ../fish/guestfish-actions.pod:886
17509 msgid "fallocate64"
17510 msgstr ""
17511
17512 # type: verbatim
17513 #: ../fish/guestfish-actions.pod:888
17514 #, no-wrap
17515 msgid ""
17516 " fallocate64 path len\n"
17517 "\n"
17518 msgstr ""
17519
17520 # type: textblock
17521 #: ../fish/guestfish-actions.pod:894
17522 msgid ""
17523 "Note that this call allocates disk blocks for the file.  To create a sparse "
17524 "file use C<truncate-size> instead."
17525 msgstr ""
17526
17527 # type: textblock
17528 #: ../fish/guestfish-actions.pod:897
17529 msgid ""
17530 "The deprecated call C<fallocate> does the same, but owing to an oversight it "
17531 "only allowed 30 bit lengths to be specified, effectively limiting the "
17532 "maximum size of files created through that call to 1GB."
17533 msgstr ""
17534
17535 # type: =head2
17536 #: ../fish/guestfish-actions.pod:906
17537 msgid "fgrep"
17538 msgstr ""
17539
17540 # type: verbatim
17541 #: ../fish/guestfish-actions.pod:908
17542 #, no-wrap
17543 msgid ""
17544 " fgrep pattern path\n"
17545 "\n"
17546 msgstr ""
17547
17548 # type: =head2
17549 #: ../fish/guestfish-actions.pod:916
17550 msgid "fgrepi"
17551 msgstr ""
17552
17553 # type: verbatim
17554 #: ../fish/guestfish-actions.pod:918
17555 #, no-wrap
17556 msgid ""
17557 " fgrepi pattern path\n"
17558 "\n"
17559 msgstr ""
17560
17561 # type: =head2
17562 #: ../fish/guestfish-actions.pod:926
17563 msgid "file"
17564 msgstr ""
17565
17566 # type: verbatim
17567 #: ../fish/guestfish-actions.pod:928
17568 #, no-wrap
17569 msgid ""
17570 " file path\n"
17571 "\n"
17572 msgstr ""
17573
17574 # type: textblock
17575 #: ../fish/guestfish-actions.pod:940
17576 msgid ""
17577 "This command can also be used on C</dev/> devices (and partitions, LV "
17578 "names).  You can for example use this to determine if a device contains a "
17579 "filesystem, although it's usually better to use C<vfs-type>."
17580 msgstr ""
17581
17582 # type: =head2
17583 #: ../fish/guestfish-actions.pod:950
17584 msgid "file-architecture"
17585 msgstr ""
17586
17587 # type: verbatim
17588 #: ../fish/guestfish-actions.pod:952
17589 #, no-wrap
17590 msgid ""
17591 " file-architecture filename\n"
17592 "\n"
17593 msgstr ""
17594
17595 # type: =head2
17596 #: ../fish/guestfish-actions.pod:1055
17597 msgid "filesize"
17598 msgstr ""
17599
17600 # type: verbatim
17601 #: ../fish/guestfish-actions.pod:1057
17602 #, no-wrap
17603 msgid ""
17604 " filesize file\n"
17605 "\n"
17606 msgstr ""
17607
17608 # type: textblock
17609 #: ../fish/guestfish-actions.pod:1061
17610 msgid ""
17611 "To get other stats about a file, use C<stat>, C<lstat>, C<is-dir>, "
17612 "C<is-file> etc.  To get the size of block devices, use "
17613 "C<blockdev-getsize64>."
17614 msgstr ""
17615
17616 # type: =head2
17617 #: ../fish/guestfish-actions.pod:1065
17618 msgid "fill"
17619 msgstr ""
17620
17621 # type: verbatim
17622 #: ../fish/guestfish-actions.pod:1067
17623 #, no-wrap
17624 msgid ""
17625 " fill c len path\n"
17626 "\n"
17627 msgstr ""
17628
17629 # type: textblock
17630 #: ../fish/guestfish-actions.pod:1073
17631 msgid ""
17632 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
17633 "C<truncate-size>.  To create a file with a pattern of repeating bytes use "
17634 "C<fill-pattern>."
17635 msgstr ""
17636
17637 # type: =head2
17638 #: ../fish/guestfish-actions.pod:1078
17639 msgid "fill-pattern"
17640 msgstr ""
17641
17642 # type: verbatim
17643 #: ../fish/guestfish-actions.pod:1080
17644 #, no-wrap
17645 msgid ""
17646 " fill-pattern pattern len path\n"
17647 "\n"
17648 msgstr ""
17649
17650 # type: textblock
17651 #: ../fish/guestfish-actions.pod:1082
17652 msgid ""
17653 "This function is like C<fill> except that it creates a new file of length "
17654 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
17655 "is truncated if necessary to ensure the length of the file is exactly C<len> "
17656 "bytes."
17657 msgstr ""
17658
17659 # type: =head2
17660 #: ../fish/guestfish-actions.pod:1087
17661 msgid "find"
17662 msgstr ""
17663
17664 # type: verbatim
17665 #: ../fish/guestfish-actions.pod:1089
17666 #, no-wrap
17667 msgid ""
17668 " find directory\n"
17669 "\n"
17670 msgstr ""
17671
17672 # type: textblock
17673 #: ../fish/guestfish-actions.pod:1103
17674 msgid "then the returned list from C<find> C</tmp> would be 4 elements:"
17675 msgstr ""
17676
17677 # type: textblock
17678 #: ../fish/guestfish-actions.pod:1116
17679 msgid "See also C<find0>."
17680 msgstr ""
17681
17682 # type: =head2
17683 #: ../fish/guestfish-actions.pod:1121
17684 msgid "find0"
17685 msgstr ""
17686
17687 # type: verbatim
17688 #: ../fish/guestfish-actions.pod:1123
17689 #, no-wrap
17690 msgid ""
17691 " find0 directory (files|-)\n"
17692 "\n"
17693 msgstr ""
17694
17695 # type: textblock
17696 #: ../fish/guestfish-actions.pod:1129
17697 msgid "This command works the same way as C<find> with the following exceptions:"
17698 msgstr ""
17699
17700 # type: =head2
17701 #: ../fish/guestfish-actions.pod:1156
17702 msgid "findfs-label"
17703 msgstr ""
17704
17705 # type: verbatim
17706 #: ../fish/guestfish-actions.pod:1158
17707 #, no-wrap
17708 msgid ""
17709 " findfs-label label\n"
17710 "\n"
17711 msgstr ""
17712
17713 # type: textblock
17714 #: ../fish/guestfish-actions.pod:1164
17715 msgid "To find the label of a filesystem, use C<vfs-label>."
17716 msgstr ""
17717
17718 # type: =head2
17719 #: ../fish/guestfish-actions.pod:1166
17720 msgid "findfs-uuid"
17721 msgstr ""
17722
17723 # type: verbatim
17724 #: ../fish/guestfish-actions.pod:1168
17725 #, no-wrap
17726 msgid ""
17727 " findfs-uuid uuid\n"
17728 "\n"
17729 msgstr ""
17730
17731 # type: textblock
17732 #: ../fish/guestfish-actions.pod:1174
17733 msgid "To find the UUID of a filesystem, use C<vfs-uuid>."
17734 msgstr ""
17735
17736 # type: =head2
17737 #: ../fish/guestfish-actions.pod:1176
17738 msgid "fsck"
17739 msgstr ""
17740
17741 # type: verbatim
17742 #: ../fish/guestfish-actions.pod:1178
17743 #, no-wrap
17744 msgid ""
17745 " fsck fstype device\n"
17746 "\n"
17747 msgstr ""
17748
17749 # type: =head2
17750 #: ../fish/guestfish-actions.pod:1208
17751 msgid "get-append"
17752 msgstr ""
17753
17754 # type: verbatim
17755 #: ../fish/guestfish-actions.pod:1210
17756 #, no-wrap
17757 msgid ""
17758 " get-append\n"
17759 "\n"
17760 msgstr ""
17761
17762 # type: =head2
17763 #: ../fish/guestfish-actions.pod:1217
17764 msgid "get-autosync"
17765 msgstr ""
17766
17767 # type: verbatim
17768 #: ../fish/guestfish-actions.pod:1219
17769 #, no-wrap
17770 msgid ""
17771 " get-autosync\n"
17772 "\n"
17773 msgstr ""
17774
17775 # type: =head2
17776 #: ../fish/guestfish-actions.pod:1223
17777 msgid "get-direct"
17778 msgstr ""
17779
17780 # type: verbatim
17781 #: ../fish/guestfish-actions.pod:1225
17782 #, no-wrap
17783 msgid ""
17784 " get-direct\n"
17785 "\n"
17786 msgstr ""
17787
17788 # type: =head2
17789 #: ../fish/guestfish-actions.pod:1229
17790 msgid "get-e2label"
17791 msgstr ""
17792
17793 # type: verbatim
17794 #: ../fish/guestfish-actions.pod:1231
17795 #, no-wrap
17796 msgid ""
17797 " get-e2label device\n"
17798 "\n"
17799 msgstr ""
17800
17801 # type: =head2
17802 #: ../fish/guestfish-actions.pod:1243
17803 msgid "get-e2uuid"
17804 msgstr ""
17805
17806 # type: verbatim
17807 #: ../fish/guestfish-actions.pod:1245
17808 #, no-wrap
17809 msgid ""
17810 " get-e2uuid device\n"
17811 "\n"
17812 msgstr ""
17813
17814 # type: =head2
17815 #: ../fish/guestfish-actions.pod:1257
17816 msgid "get-memsize"
17817 msgstr ""
17818
17819 # type: verbatim
17820 #: ../fish/guestfish-actions.pod:1259
17821 #, no-wrap
17822 msgid ""
17823 " get-memsize\n"
17824 "\n"
17825 msgstr ""
17826
17827 # type: textblock
17828 #: ../fish/guestfish-actions.pod:1264
17829 msgid ""
17830 "If C<set-memsize> was not called on this handle, and if "
17831 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
17832 "value for memsize."
17833 msgstr ""
17834
17835 # type: =head2
17836 #: ../fish/guestfish-actions.pod:1271
17837 msgid "get-network"
17838 msgstr ""
17839
17840 # type: verbatim
17841 #: ../fish/guestfish-actions.pod:1273
17842 #, no-wrap
17843 msgid ""
17844 " get-network\n"
17845 "\n"
17846 msgstr ""
17847
17848 # type: =head2
17849 #: ../fish/guestfish-actions.pod:1277
17850 msgid "get-path"
17851 msgstr ""
17852
17853 # type: verbatim
17854 #: ../fish/guestfish-actions.pod:1279
17855 #, no-wrap
17856 msgid ""
17857 " get-path\n"
17858 "\n"
17859 msgstr ""
17860
17861 # type: =head2
17862 #: ../fish/guestfish-actions.pod:1286
17863 msgid "get-pid | pid"
17864 msgstr ""
17865
17866 # type: verbatim
17867 #: ../fish/guestfish-actions.pod:1288
17868 #, no-wrap
17869 msgid ""
17870 " get-pid\n"
17871 "\n"
17872 msgstr ""
17873
17874 # type: =head2
17875 #: ../fish/guestfish-actions.pod:1295
17876 msgid "get-qemu"
17877 msgstr ""
17878
17879 # type: verbatim
17880 #: ../fish/guestfish-actions.pod:1297
17881 #, no-wrap
17882 msgid ""
17883 " get-qemu\n"
17884 "\n"
17885 msgstr ""
17886
17887 # type: =head2
17888 #: ../fish/guestfish-actions.pod:1304
17889 msgid "get-recovery-proc"
17890 msgstr ""
17891
17892 # type: verbatim
17893 #: ../fish/guestfish-actions.pod:1306
17894 #, no-wrap
17895 msgid ""
17896 " get-recovery-proc\n"
17897 "\n"
17898 msgstr ""
17899
17900 # type: =head2
17901 #: ../fish/guestfish-actions.pod:1310
17902 msgid "get-selinux"
17903 msgstr ""
17904
17905 # type: verbatim
17906 #: ../fish/guestfish-actions.pod:1312
17907 #, no-wrap
17908 msgid ""
17909 " get-selinux\n"
17910 "\n"
17911 msgstr ""
17912
17913 # type: textblock
17914 #: ../fish/guestfish-actions.pod:1314
17915 msgid ""
17916 "This returns the current setting of the selinux flag which is passed to the "
17917 "appliance at boot time.  See C<set-selinux>."
17918 msgstr ""
17919
17920 # type: =head2
17921 #: ../fish/guestfish-actions.pod:1320
17922 msgid "get-state"
17923 msgstr ""
17924
17925 # type: verbatim
17926 #: ../fish/guestfish-actions.pod:1322
17927 #, no-wrap
17928 msgid ""
17929 " get-state\n"
17930 "\n"
17931 msgstr ""
17932
17933 # type: =head2
17934 #: ../fish/guestfish-actions.pod:1329
17935 msgid "get-trace"
17936 msgstr ""
17937
17938 # type: verbatim
17939 #: ../fish/guestfish-actions.pod:1331
17940 #, no-wrap
17941 msgid ""
17942 " get-trace\n"
17943 "\n"
17944 msgstr ""
17945
17946 # type: =head2
17947 #: ../fish/guestfish-actions.pod:1335
17948 msgid "get-umask"
17949 msgstr ""
17950
17951 # type: verbatim
17952 #: ../fish/guestfish-actions.pod:1337
17953 #, no-wrap
17954 msgid ""
17955 " get-umask\n"
17956 "\n"
17957 msgstr ""
17958
17959 # type: textblock
17960 #: ../fish/guestfish-actions.pod:1339
17961 msgid ""
17962 "Return the current umask.  By default the umask is C<022> unless it has been "
17963 "set by calling C<umask>."
17964 msgstr ""
17965
17966 # type: =head2
17967 #: ../fish/guestfish-actions.pod:1342
17968 msgid "get-verbose"
17969 msgstr ""
17970
17971 # type: verbatim
17972 #: ../fish/guestfish-actions.pod:1344
17973 #, no-wrap
17974 msgid ""
17975 " get-verbose\n"
17976 "\n"
17977 msgstr ""
17978
17979 # type: =head2
17980 #: ../fish/guestfish-actions.pod:1348
17981 msgid "getcon"
17982 msgstr ""
17983
17984 # type: verbatim
17985 #: ../fish/guestfish-actions.pod:1350
17986 #, no-wrap
17987 msgid ""
17988 " getcon\n"
17989 "\n"
17990 msgstr ""
17991
17992 # type: textblock
17993 #: ../fish/guestfish-actions.pod:1354
17994 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<setcon>"
17995 msgstr ""
17996
17997 # type: =head2
17998 #: ../fish/guestfish-actions.pod:1357
17999 msgid "getxattrs"
18000 msgstr ""
18001
18002 # type: verbatim
18003 #: ../fish/guestfish-actions.pod:1359
18004 #, no-wrap
18005 msgid ""
18006 " getxattrs path\n"
18007 "\n"
18008 msgstr ""
18009
18010 # type: textblock
18011 #: ../fish/guestfish-actions.pod:1367
18012 msgid "See also: C<lgetxattrs>, L<attr(5)>."
18013 msgstr ""
18014
18015 # type: =head2
18016 #: ../fish/guestfish-actions.pod:1369
18017 msgid "glob-expand"
18018 msgstr ""
18019
18020 # type: verbatim
18021 #: ../fish/guestfish-actions.pod:1371
18022 #, no-wrap
18023 msgid ""
18024 " glob-expand pattern\n"
18025 "\n"
18026 msgstr ""
18027
18028 # type: =head2
18029 #: ../fish/guestfish-actions.pod:1384
18030 msgid "grep"
18031 msgstr ""
18032
18033 # type: verbatim
18034 #: ../fish/guestfish-actions.pod:1386
18035 #, no-wrap
18036 msgid ""
18037 " grep regex path\n"
18038 "\n"
18039 msgstr ""
18040
18041 # type: =head2
18042 #: ../fish/guestfish-actions.pod:1394
18043 msgid "grepi"
18044 msgstr ""
18045
18046 # type: verbatim
18047 #: ../fish/guestfish-actions.pod:1396
18048 #, no-wrap
18049 msgid ""
18050 " grepi regex path\n"
18051 "\n"
18052 msgstr ""
18053
18054 # type: =head2
18055 #: ../fish/guestfish-actions.pod:1404
18056 msgid "grub-install"
18057 msgstr ""
18058
18059 # type: verbatim
18060 #: ../fish/guestfish-actions.pod:1406
18061 #, no-wrap
18062 msgid ""
18063 " grub-install root device\n"
18064 "\n"
18065 msgstr ""
18066
18067 # type: =head2
18068 #: ../fish/guestfish-actions.pod:1422
18069 msgid "head"
18070 msgstr ""
18071
18072 # type: verbatim
18073 #: ../fish/guestfish-actions.pod:1424
18074 #, no-wrap
18075 msgid ""
18076 " head path\n"
18077 "\n"
18078 msgstr ""
18079
18080 # type: =head2
18081 #: ../fish/guestfish-actions.pod:1432
18082 msgid "head-n"
18083 msgstr ""
18084
18085 # type: verbatim
18086 #: ../fish/guestfish-actions.pod:1434
18087 #, no-wrap
18088 msgid ""
18089 " head-n nrlines path\n"
18090 "\n"
18091 msgstr ""
18092
18093 # type: =head2
18094 #: ../fish/guestfish-actions.pod:1447
18095 msgid "hexdump"
18096 msgstr ""
18097
18098 # type: verbatim
18099 #: ../fish/guestfish-actions.pod:1449
18100 #, no-wrap
18101 msgid ""
18102 " hexdump path\n"
18103 "\n"
18104 msgstr ""
18105
18106 # type: =head2
18107 #: ../fish/guestfish-actions.pod:1457
18108 msgid "initrd-cat"
18109 msgstr ""
18110
18111 # type: verbatim
18112 #: ../fish/guestfish-actions.pod:1459
18113 #, no-wrap
18114 msgid ""
18115 " initrd-cat initrdpath filename\n"
18116 "\n"
18117 msgstr ""
18118
18119 # type: textblock
18120 #: ../fish/guestfish-actions.pod:1471
18121 msgid "See also C<initrd-list>."
18122 msgstr ""
18123
18124 # type: =head2
18125 #: ../fish/guestfish-actions.pod:1476
18126 msgid "initrd-list"
18127 msgstr ""
18128
18129 # type: verbatim
18130 #: ../fish/guestfish-actions.pod:1478
18131 #, no-wrap
18132 msgid ""
18133 " initrd-list path\n"
18134 "\n"
18135 msgstr ""
18136
18137 # type: =head2
18138 #: ../fish/guestfish-actions.pod:1490
18139 msgid "inotify-add-watch"
18140 msgstr ""
18141
18142 # type: verbatim
18143 #: ../fish/guestfish-actions.pod:1492
18144 #, no-wrap
18145 msgid ""
18146 " inotify-add-watch path mask\n"
18147 "\n"
18148 msgstr ""
18149
18150 # type: =head2
18151 #: ../fish/guestfish-actions.pod:1504
18152 msgid "inotify-close"
18153 msgstr ""
18154
18155 # type: verbatim
18156 #: ../fish/guestfish-actions.pod:1506
18157 #, no-wrap
18158 msgid ""
18159 " inotify-close\n"
18160 "\n"
18161 msgstr ""
18162
18163 # type: =head2
18164 #: ../fish/guestfish-actions.pod:1512
18165 msgid "inotify-files"
18166 msgstr ""
18167
18168 # type: verbatim
18169 #: ../fish/guestfish-actions.pod:1514
18170 #, no-wrap
18171 msgid ""
18172 " inotify-files\n"
18173 "\n"
18174 msgstr ""
18175
18176 # type: textblock
18177 #: ../fish/guestfish-actions.pod:1516
18178 msgid ""
18179 "This function is a helpful wrapper around C<inotify-read> which just returns "
18180 "a list of pathnames of objects that were touched.  The returned pathnames "
18181 "are sorted and deduplicated."
18182 msgstr ""
18183
18184 # type: =head2
18185 #: ../fish/guestfish-actions.pod:1520
18186 msgid "inotify-init"
18187 msgstr ""
18188
18189 # type: verbatim
18190 #: ../fish/guestfish-actions.pod:1522
18191 #, no-wrap
18192 msgid ""
18193 " inotify-init maxevents\n"
18194 "\n"
18195 msgstr ""
18196
18197 # type: textblock
18198 #: ../fish/guestfish-actions.pod:1528
18199 msgid ""
18200 "C<maxevents> is the maximum number of events which will be queued up between "
18201 "calls to C<inotify-read> or C<inotify-files>.  If this is passed as C<0>, "
18202 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18203 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18204 "but records the fact that it threw them away by setting a flag "
18205 "C<IN_Q_OVERFLOW> in the returned structure list (see C<inotify-read>)."
18206 msgstr ""
18207
18208 # type: textblock
18209 #: ../fish/guestfish-actions.pod:1538
18210 msgid ""
18211 "Before any events are generated, you have to add some watches to the "
18212 "internal watch list.  See: C<inotify-add-watch>, C<inotify-rm-watch> and "
18213 "C<inotify-watch-all>."
18214 msgstr ""
18215
18216 # type: textblock
18217 #: ../fish/guestfish-actions.pod:1544
18218 msgid ""
18219 "Queued up events should be read periodically by calling C<inotify-read> (or "
18220 "C<inotify-files> which is just a helpful wrapper around C<inotify-read>).  "
18221 "If you don't read the events out often enough then you risk the internal "
18222 "queue overflowing."
18223 msgstr ""
18224
18225 # type: textblock
18226 #: ../fish/guestfish-actions.pod:1551
18227 msgid ""
18228 "The handle should be closed after use by calling C<inotify-close>.  This "
18229 "also removes any watches automatically."
18230 msgstr ""
18231
18232 # type: =head2
18233 #: ../fish/guestfish-actions.pod:1560
18234 msgid "inotify-read"
18235 msgstr ""
18236
18237 # type: verbatim
18238 #: ../fish/guestfish-actions.pod:1562
18239 #, no-wrap
18240 msgid ""
18241 " inotify-read\n"
18242 "\n"
18243 msgstr ""
18244
18245 # type: =head2
18246 #: ../fish/guestfish-actions.pod:1575
18247 msgid "inotify-rm-watch"
18248 msgstr ""
18249
18250 # type: verbatim
18251 #: ../fish/guestfish-actions.pod:1577
18252 #, no-wrap
18253 msgid ""
18254 " inotify-rm-watch wd\n"
18255 "\n"
18256 msgstr ""
18257
18258 # type: textblock
18259 #: ../fish/guestfish-actions.pod:1579
18260 msgid "Remove a previously defined inotify watch.  See C<inotify-add-watch>."
18261 msgstr ""
18262
18263 # type: =head2
18264 #: ../fish/guestfish-actions.pod:1582
18265 msgid "inspect-get-arch"
18266 msgstr ""
18267
18268 # type: verbatim
18269 #: ../fish/guestfish-actions.pod:1584
18270 #, no-wrap
18271 msgid ""
18272 " inspect-get-arch root\n"
18273 "\n"
18274 msgstr ""
18275
18276 # type: textblock
18277 #: ../fish/guestfish-actions.pod:1586 ../fish/guestfish-actions.pod:1602 ../fish/guestfish-actions.pod:1648 ../fish/guestfish-actions.pod:1666 ../fish/guestfish-actions.pod:1687 ../fish/guestfish-actions.pod:1702 ../fish/guestfish-actions.pod:1725 ../fish/guestfish-actions.pod:1742
18278 msgid ""
18279 "This function should only be called with a root device string as returned by "
18280 "C<inspect-os>."
18281 msgstr ""
18282
18283 # type: textblock
18284 #: ../fish/guestfish-actions.pod:1589
18285 msgid ""
18286 "This returns the architecture of the inspected operating system.  The "
18287 "possible return values are listed under C<file-architecture>."
18288 msgstr ""
18289
18290 # type: =head2
18291 #: ../fish/guestfish-actions.pod:1598
18292 msgid "inspect-get-distro"
18293 msgstr ""
18294
18295 # type: verbatim
18296 #: ../fish/guestfish-actions.pod:1600
18297 #, no-wrap
18298 msgid ""
18299 " inspect-get-distro root\n"
18300 "\n"
18301 msgstr ""
18302
18303 # type: =head2
18304 #: ../fish/guestfish-actions.pod:1644
18305 msgid "inspect-get-filesystems"
18306 msgstr ""
18307
18308 # type: verbatim
18309 #: ../fish/guestfish-actions.pod:1646
18310 #, no-wrap
18311 msgid ""
18312 " inspect-get-filesystems root\n"
18313 "\n"
18314 msgstr ""
18315
18316 # type: textblock
18317 #: ../fish/guestfish-actions.pod:1659
18318 msgid ""
18319 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18320 "C<inspect-get-mountpoints>."
18321 msgstr ""
18322
18323 # type: =head2
18324 #: ../fish/guestfish-actions.pod:1662
18325 msgid "inspect-get-major-version"
18326 msgstr ""
18327
18328 # type: verbatim
18329 #: ../fish/guestfish-actions.pod:1664
18330 #, no-wrap
18331 msgid ""
18332 " inspect-get-major-version root\n"
18333 "\n"
18334 msgstr ""
18335
18336 # type: =head2
18337 #: ../fish/guestfish-actions.pod:1683
18338 msgid "inspect-get-minor-version"
18339 msgstr ""
18340
18341 # type: verbatim
18342 #: ../fish/guestfish-actions.pod:1685
18343 #, no-wrap
18344 msgid ""
18345 " inspect-get-minor-version root\n"
18346 "\n"
18347 msgstr ""
18348
18349 # type: textblock
18350 #: ../fish/guestfish-actions.pod:1695
18351 msgid ""
18352 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18353 "C<inspect-get-major-version>."
18354 msgstr ""
18355
18356 # type: =head2
18357 #: ../fish/guestfish-actions.pod:1698
18358 msgid "inspect-get-mountpoints"
18359 msgstr ""
18360
18361 # type: verbatim
18362 #: ../fish/guestfish-actions.pod:1700
18363 #, no-wrap
18364 msgid ""
18365 " inspect-get-mountpoints root\n"
18366 "\n"
18367 msgstr ""
18368
18369 # type: textblock
18370 #: ../fish/guestfish-actions.pod:1718
18371 msgid ""
18372 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18373 "C<inspect-get-filesystems>."
18374 msgstr ""
18375
18376 # type: =head2
18377 #: ../fish/guestfish-actions.pod:1721
18378 msgid "inspect-get-product-name"
18379 msgstr ""
18380
18381 # type: verbatim
18382 #: ../fish/guestfish-actions.pod:1723
18383 #, no-wrap
18384 msgid ""
18385 " inspect-get-product-name root\n"
18386 "\n"
18387 msgstr ""
18388
18389 # type: =head2
18390 #: ../fish/guestfish-actions.pod:1738
18391 msgid "inspect-get-type"
18392 msgstr ""
18393
18394 # type: verbatim
18395 #: ../fish/guestfish-actions.pod:1740
18396 #, no-wrap
18397 msgid ""
18398 " inspect-get-type root\n"
18399 "\n"
18400 msgstr ""
18401
18402 # type: =head2
18403 #: ../fish/guestfish-actions.pod:1769
18404 msgid "inspect-os"
18405 msgstr ""
18406
18407 # type: verbatim
18408 #: ../fish/guestfish-actions.pod:1771
18409 #, no-wrap
18410 msgid ""
18411 " inspect-os\n"
18412 "\n"
18413 msgstr ""
18414
18415 # type: textblock
18416 #: ../fish/guestfish-actions.pod:1786
18417 msgid ""
18418 "You can pass the root string(s) returned to other C<inspect-get-*> functions "
18419 "in order to query further information about each operating system, such as "
18420 "the name and version."
18421 msgstr ""
18422
18423 # type: textblock
18424 #: ../fish/guestfish-actions.pod:1791
18425 msgid ""
18426 "This function uses other libguestfs features such as C<mount-ro> and "
18427 "C<umount-all> in order to mount and unmount filesystems and look at the "
18428 "contents.  This should be called with no disks currently mounted.  The "
18429 "function may also use Augeas, so any existing Augeas handle will be closed."
18430 msgstr ""
18431
18432 # type: =head2
18433 #: ../fish/guestfish-actions.pod:1803
18434 msgid "is-blockdev"
18435 msgstr ""
18436
18437 # type: verbatim
18438 #: ../fish/guestfish-actions.pod:1805
18439 #, no-wrap
18440 msgid ""
18441 " is-blockdev path\n"
18442 "\n"
18443 msgstr ""
18444
18445 # type: textblock
18446 #: ../fish/guestfish-actions.pod:1810 ../fish/guestfish-actions.pod:1828 ../fish/guestfish-actions.pod:1847 ../fish/guestfish-actions.pod:1856 ../fish/guestfish-actions.pod:1866 ../fish/guestfish-actions.pod:1900 ../fish/guestfish-actions.pod:1909
18447 msgid "See also C<stat>."
18448 msgstr ""
18449
18450 # type: =head2
18451 #: ../fish/guestfish-actions.pod:1812
18452 msgid "is-busy"
18453 msgstr ""
18454
18455 # type: verbatim
18456 #: ../fish/guestfish-actions.pod:1814
18457 #, no-wrap
18458 msgid ""
18459 " is-busy\n"
18460 "\n"
18461 msgstr ""
18462
18463 # type: =head2
18464 #: ../fish/guestfish-actions.pod:1821
18465 msgid "is-chardev"
18466 msgstr ""
18467
18468 # type: verbatim
18469 #: ../fish/guestfish-actions.pod:1823
18470 #, no-wrap
18471 msgid ""
18472 " is-chardev path\n"
18473 "\n"
18474 msgstr ""
18475
18476 # type: =head2
18477 #: ../fish/guestfish-actions.pod:1830
18478 msgid "is-config"
18479 msgstr ""
18480
18481 # type: verbatim
18482 #: ../fish/guestfish-actions.pod:1832
18483 #, no-wrap
18484 msgid ""
18485 " is-config\n"
18486 "\n"
18487 msgstr ""
18488
18489 # type: =head2
18490 #: ../fish/guestfish-actions.pod:1839
18491 msgid "is-dir"
18492 msgstr ""
18493
18494 # type: verbatim
18495 #: ../fish/guestfish-actions.pod:1841
18496 #, no-wrap
18497 msgid ""
18498 " is-dir path\n"
18499 "\n"
18500 msgstr ""
18501
18502 # type: =head2
18503 #: ../fish/guestfish-actions.pod:1849
18504 msgid "is-fifo"
18505 msgstr ""
18506
18507 # type: verbatim
18508 #: ../fish/guestfish-actions.pod:1851
18509 #, no-wrap
18510 msgid ""
18511 " is-fifo path\n"
18512 "\n"
18513 msgstr ""
18514
18515 # type: =head2
18516 #: ../fish/guestfish-actions.pod:1858
18517 msgid "is-file"
18518 msgstr ""
18519
18520 # type: verbatim
18521 #: ../fish/guestfish-actions.pod:1860
18522 #, no-wrap
18523 msgid ""
18524 " is-file path\n"
18525 "\n"
18526 msgstr ""
18527
18528 # type: =head2
18529 #: ../fish/guestfish-actions.pod:1868
18530 msgid "is-launching"
18531 msgstr ""
18532
18533 # type: verbatim
18534 #: ../fish/guestfish-actions.pod:1870
18535 #, no-wrap
18536 msgid ""
18537 " is-launching\n"
18538 "\n"
18539 msgstr ""
18540
18541 # type: =head2
18542 #: ../fish/guestfish-actions.pod:1877
18543 msgid "is-lv"
18544 msgstr ""
18545
18546 # type: verbatim
18547 #: ../fish/guestfish-actions.pod:1879
18548 #, no-wrap
18549 msgid ""
18550 " is-lv device\n"
18551 "\n"
18552 msgstr ""
18553
18554 # type: =head2
18555 #: ../fish/guestfish-actions.pod:1884
18556 msgid "is-ready"
18557 msgstr ""
18558
18559 # type: verbatim
18560 #: ../fish/guestfish-actions.pod:1886
18561 #, no-wrap
18562 msgid ""
18563 " is-ready\n"
18564 "\n"
18565 msgstr ""
18566
18567 # type: =head2
18568 #: ../fish/guestfish-actions.pod:1893
18569 msgid "is-socket"
18570 msgstr ""
18571
18572 # type: verbatim
18573 #: ../fish/guestfish-actions.pod:1895
18574 #, no-wrap
18575 msgid ""
18576 " is-socket path\n"
18577 "\n"
18578 msgstr ""
18579
18580 # type: =head2
18581 #: ../fish/guestfish-actions.pod:1902
18582 msgid "is-symlink"
18583 msgstr ""
18584
18585 # type: verbatim
18586 #: ../fish/guestfish-actions.pod:1904
18587 #, no-wrap
18588 msgid ""
18589 " is-symlink path\n"
18590 "\n"
18591 msgstr ""
18592
18593 # type: =head2
18594 #: ../fish/guestfish-actions.pod:1911
18595 msgid "kill-subprocess"
18596 msgstr ""
18597
18598 # type: verbatim
18599 #: ../fish/guestfish-actions.pod:1913
18600 #, no-wrap
18601 msgid ""
18602 " kill-subprocess\n"
18603 "\n"
18604 msgstr ""
18605
18606 # type: =head2
18607 #: ../fish/guestfish-actions.pod:1917
18608 msgid "launch | run"
18609 msgstr ""
18610
18611 # type: verbatim
18612 #: ../fish/guestfish-actions.pod:1919
18613 #, no-wrap
18614 msgid ""
18615 " launch\n"
18616 "\n"
18617 msgstr ""
18618
18619 # type: =head2
18620 #: ../fish/guestfish-actions.pod:1927
18621 msgid "lchown"
18622 msgstr ""
18623
18624 # type: verbatim
18625 #: ../fish/guestfish-actions.pod:1929
18626 #, no-wrap
18627 msgid ""
18628 " lchown owner group path\n"
18629 "\n"
18630 msgstr ""
18631
18632 # type: textblock
18633 #: ../fish/guestfish-actions.pod:1931
18634 msgid ""
18635 "Change the file owner to C<owner> and group to C<group>.  This is like "
18636 "C<chown> but if C<path> is a symlink then the link itself is changed, not "
18637 "the target."
18638 msgstr ""
18639
18640 # type: =head2
18641 #: ../fish/guestfish-actions.pod:1939
18642 msgid "lgetxattrs"
18643 msgstr ""
18644
18645 # type: verbatim
18646 #: ../fish/guestfish-actions.pod:1941
18647 #, no-wrap
18648 msgid ""
18649 " lgetxattrs path\n"
18650 "\n"
18651 msgstr ""
18652
18653 # type: textblock
18654 #: ../fish/guestfish-actions.pod:1943
18655 msgid ""
18656 "This is the same as C<getxattrs>, but if C<path> is a symbolic link, then it "
18657 "returns the extended attributes of the link itself."
18658 msgstr ""
18659
18660 # type: =head2
18661 #: ../fish/guestfish-actions.pod:1947
18662 msgid "list-devices"
18663 msgstr ""
18664
18665 # type: verbatim
18666 #: ../fish/guestfish-actions.pod:1949
18667 #, no-wrap
18668 msgid ""
18669 " list-devices\n"
18670 "\n"
18671 msgstr ""
18672
18673 # type: =head2
18674 #: ../fish/guestfish-actions.pod:1955
18675 msgid "list-partitions"
18676 msgstr ""
18677
18678 # type: verbatim
18679 #: ../fish/guestfish-actions.pod:1957
18680 #, no-wrap
18681 msgid ""
18682 " list-partitions\n"
18683 "\n"
18684 msgstr ""
18685
18686 # type: textblock
18687 #: ../fish/guestfish-actions.pod:1963
18688 msgid ""
18689 "This does not return logical volumes.  For that you will need to call "
18690 "C<lvs>."
18691 msgstr ""
18692
18693 # type: =head2
18694 #: ../fish/guestfish-actions.pod:1966
18695 msgid "ll"
18696 msgstr ""
18697
18698 # type: verbatim
18699 #: ../fish/guestfish-actions.pod:1968
18700 #, no-wrap
18701 msgid ""
18702 " ll directory\n"
18703 "\n"
18704 msgstr ""
18705
18706 # type: =head2
18707 #: ../fish/guestfish-actions.pod:1976
18708 msgid "ln"
18709 msgstr ""
18710
18711 # type: verbatim
18712 #: ../fish/guestfish-actions.pod:1978
18713 #, no-wrap
18714 msgid ""
18715 " ln target linkname\n"
18716 "\n"
18717 msgstr ""
18718
18719 # type: =head2
18720 #: ../fish/guestfish-actions.pod:1982
18721 msgid "ln-f"
18722 msgstr ""
18723
18724 # type: verbatim
18725 #: ../fish/guestfish-actions.pod:1984
18726 #, no-wrap
18727 msgid ""
18728 " ln-f target linkname\n"
18729 "\n"
18730 msgstr ""
18731
18732 # type: =head2
18733 #: ../fish/guestfish-actions.pod:1989
18734 msgid "ln-s"
18735 msgstr ""
18736
18737 # type: verbatim
18738 #: ../fish/guestfish-actions.pod:1991
18739 #, no-wrap
18740 msgid ""
18741 " ln-s target linkname\n"
18742 "\n"
18743 msgstr ""
18744
18745 # type: =head2
18746 #: ../fish/guestfish-actions.pod:1995
18747 msgid "ln-sf"
18748 msgstr ""
18749
18750 # type: verbatim
18751 #: ../fish/guestfish-actions.pod:1997
18752 #, no-wrap
18753 msgid ""
18754 " ln-sf target linkname\n"
18755 "\n"
18756 msgstr ""
18757
18758 # type: =head2
18759 #: ../fish/guestfish-actions.pod:2002
18760 msgid "lremovexattr"
18761 msgstr ""
18762
18763 # type: verbatim
18764 #: ../fish/guestfish-actions.pod:2004
18765 #, no-wrap
18766 msgid ""
18767 " lremovexattr xattr path\n"
18768 "\n"
18769 msgstr ""
18770
18771 # type: textblock
18772 #: ../fish/guestfish-actions.pod:2006
18773 msgid ""
18774 "This is the same as C<removexattr>, but if C<path> is a symbolic link, then "
18775 "it removes an extended attribute of the link itself."
18776 msgstr ""
18777
18778 # type: =head2
18779 #: ../fish/guestfish-actions.pod:2010
18780 msgid "ls"
18781 msgstr ""
18782
18783 # type: verbatim
18784 #: ../fish/guestfish-actions.pod:2012
18785 #, no-wrap
18786 msgid ""
18787 " ls directory\n"
18788 "\n"
18789 msgstr ""
18790
18791 # type: textblock
18792 #: ../fish/guestfish-actions.pod:2018
18793 msgid ""
18794 "This command is mostly useful for interactive sessions.  Programs should "
18795 "probably use C<readdir> instead."
18796 msgstr ""
18797
18798 # type: =head2
18799 #: ../fish/guestfish-actions.pod:2021
18800 msgid "lsetxattr"
18801 msgstr ""
18802
18803 # type: verbatim
18804 #: ../fish/guestfish-actions.pod:2023
18805 #, no-wrap
18806 msgid ""
18807 " lsetxattr xattr val vallen path\n"
18808 "\n"
18809 msgstr ""
18810
18811 # type: textblock
18812 #: ../fish/guestfish-actions.pod:2025
18813 msgid ""
18814 "This is the same as C<setxattr>, but if C<path> is a symbolic link, then it "
18815 "sets an extended attribute of the link itself."
18816 msgstr ""
18817
18818 # type: =head2
18819 #: ../fish/guestfish-actions.pod:2029
18820 msgid "lstat"
18821 msgstr ""
18822
18823 # type: verbatim
18824 #: ../fish/guestfish-actions.pod:2031
18825 #, no-wrap
18826 msgid ""
18827 " lstat path\n"
18828 "\n"
18829 msgstr ""
18830
18831 # type: textblock
18832 #: ../fish/guestfish-actions.pod:2035
18833 msgid ""
18834 "This is the same as C<stat> except that if C<path> is a symbolic link, then "
18835 "the link is stat-ed, not the file it refers to."
18836 msgstr ""
18837
18838 # type: =head2
18839 #: ../fish/guestfish-actions.pod:2041
18840 msgid "lstatlist"
18841 msgstr ""
18842
18843 # type: verbatim
18844 #: ../fish/guestfish-actions.pod:2043
18845 #, no-wrap
18846 msgid ""
18847 " lstatlist path 'names ...'\n"
18848 "\n"
18849 msgstr ""
18850
18851 # type: textblock
18852 #: ../fish/guestfish-actions.pod:2045
18853 msgid ""
18854 "This call allows you to perform the C<lstat> operation on multiple files, "
18855 "where all files are in the directory C<path>.  C<names> is the list of files "
18856 "from this directory."
18857 msgstr ""
18858
18859 # type: textblock
18860 #: ../fish/guestfish-actions.pod:2054
18861 msgid ""
18862 "This call is intended for programs that want to efficiently list a directory "
18863 "contents without making many round-trips.  See also C<lxattrlist> for a "
18864 "similarly efficient call for getting extended attributes.  Very long "
18865 "directory listings might cause the protocol message size to be exceeded, "
18866 "causing this call to fail.  The caller must split up such requests into "
18867 "smaller groups of names."
18868 msgstr ""
18869
18870 # type: =head2
18871 #: ../fish/guestfish-actions.pod:2062
18872 msgid "luks-add-key"
18873 msgstr ""
18874
18875 # type: verbatim
18876 #: ../fish/guestfish-actions.pod:2064
18877 #, no-wrap
18878 msgid ""
18879 " luks-add-key device keyslot\n"
18880 "\n"
18881 msgstr ""
18882
18883 # type: textblock
18884 #: ../fish/guestfish-actions.pod:2071
18885 msgid ""
18886 "Note that if C<keyslot> already contains a key, then this command will "
18887 "fail.  You have to use C<luks-kill-slot> first to remove that key."
18888 msgstr ""
18889
18890 # type: textblock
18891 #: ../fish/guestfish-actions.pod:2075 ../fish/guestfish-actions.pod:2097 ../fish/guestfish-actions.pod:2110 ../fish/guestfish-actions.pod:2124 ../fish/guestfish-actions.pod:2147 ../fish/guestfish-actions.pod:2157
18892 msgid ""
18893 "This command has one or more key or passphrase parameters.  Guestfish will "
18894 "prompt for these separately."
18895 msgstr ""
18896
18897 # type: =head2
18898 #: ../fish/guestfish-actions.pod:2078
18899 msgid "luks-close"
18900 msgstr ""
18901
18902 # type: verbatim
18903 #: ../fish/guestfish-actions.pod:2080
18904 #, no-wrap
18905 msgid ""
18906 " luks-close device\n"
18907 "\n"
18908 msgstr ""
18909
18910 # type: textblock
18911 #: ../fish/guestfish-actions.pod:2082
18912 msgid ""
18913 "This closes a LUKS device that was created earlier by C<luks-open> or "
18914 "C<luks-open-ro>.  The C<device> parameter must be the name of the LUKS "
18915 "mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
18916 "underlying block device."
18917 msgstr ""
18918
18919 # type: =head2
18920 #: ../fish/guestfish-actions.pod:2088
18921 msgid "luks-format"
18922 msgstr ""
18923
18924 # type: verbatim
18925 #: ../fish/guestfish-actions.pod:2090
18926 #, no-wrap
18927 msgid ""
18928 " luks-format device keyslot\n"
18929 "\n"
18930 msgstr ""
18931
18932 # type: =head2
18933 #: ../fish/guestfish-actions.pod:2103
18934 msgid "luks-format-cipher"
18935 msgstr ""
18936
18937 # type: verbatim
18938 #: ../fish/guestfish-actions.pod:2105
18939 #, no-wrap
18940 msgid ""
18941 " luks-format-cipher device keyslot cipher\n"
18942 "\n"
18943 msgstr ""
18944
18945 # type: textblock
18946 #: ../fish/guestfish-actions.pod:2107
18947 msgid ""
18948 "This command is the same as C<luks-format> but it also allows you to set the "
18949 "C<cipher> used."
18950 msgstr ""
18951
18952 # type: =head2
18953 #: ../fish/guestfish-actions.pod:2116
18954 msgid "luks-kill-slot"
18955 msgstr ""
18956
18957 # type: verbatim
18958 #: ../fish/guestfish-actions.pod:2118
18959 #, no-wrap
18960 msgid ""
18961 " luks-kill-slot device keyslot\n"
18962 "\n"
18963 msgstr ""
18964
18965 # type: =head2
18966 #: ../fish/guestfish-actions.pod:2127
18967 msgid "luks-open"
18968 msgstr ""
18969
18970 # type: verbatim
18971 #: ../fish/guestfish-actions.pod:2129
18972 #, no-wrap
18973 msgid ""
18974 " luks-open device mapname\n"
18975 "\n"
18976 msgstr ""
18977
18978 # type: textblock
18979 #: ../fish/guestfish-actions.pod:2143
18980 msgid ""
18981 "If this block device contains LVM volume groups, then calling C<vgscan> "
18982 "followed by C<vg-activate-all> will make them visible."
18983 msgstr ""
18984
18985 # type: =head2
18986 #: ../fish/guestfish-actions.pod:2150
18987 msgid "luks-open-ro"
18988 msgstr ""
18989
18990 # type: verbatim
18991 #: ../fish/guestfish-actions.pod:2152
18992 #, no-wrap
18993 msgid ""
18994 " luks-open-ro device mapname\n"
18995 "\n"
18996 msgstr ""
18997
18998 # type: textblock
18999 #: ../fish/guestfish-actions.pod:2154
19000 msgid "This is the same as C<luks-open> except that a read-only mapping is created."
19001 msgstr ""
19002
19003 # type: =head2
19004 #: ../fish/guestfish-actions.pod:2160
19005 msgid "lvcreate"
19006 msgstr ""
19007
19008 # type: verbatim
19009 #: ../fish/guestfish-actions.pod:2162
19010 #, no-wrap
19011 msgid ""
19012 " lvcreate logvol volgroup mbytes\n"
19013 "\n"
19014 msgstr ""
19015
19016 # type: =head2
19017 #: ../fish/guestfish-actions.pod:2167
19018 msgid "lvm-clear-filter"
19019 msgstr ""
19020
19021 # type: verbatim
19022 #: ../fish/guestfish-actions.pod:2169
19023 #, no-wrap
19024 msgid ""
19025 " lvm-clear-filter\n"
19026 "\n"
19027 msgstr ""
19028
19029 # type: textblock
19030 #: ../fish/guestfish-actions.pod:2171
19031 msgid ""
19032 "This undoes the effect of C<lvm-set-filter>.  LVM will be able to see every "
19033 "block device."
19034 msgstr ""
19035
19036 # type: =head2
19037 #: ../fish/guestfish-actions.pod:2177
19038 msgid "lvm-remove-all"
19039 msgstr ""
19040
19041 # type: verbatim
19042 #: ../fish/guestfish-actions.pod:2179
19043 #, no-wrap
19044 msgid ""
19045 " lvm-remove-all\n"
19046 "\n"
19047 msgstr ""
19048
19049 # type: =head2
19050 #: ../fish/guestfish-actions.pod:2187
19051 msgid "lvm-set-filter"
19052 msgstr ""
19053
19054 # type: verbatim
19055 #: ../fish/guestfish-actions.pod:2189
19056 #, no-wrap
19057 msgid ""
19058 " lvm-set-filter 'devices ...'\n"
19059 "\n"
19060 msgstr ""
19061
19062 # type: =head2
19063 #: ../fish/guestfish-actions.pod:2214
19064 msgid "lvremove"
19065 msgstr ""
19066
19067 # type: verbatim
19068 #: ../fish/guestfish-actions.pod:2216
19069 #, no-wrap
19070 msgid ""
19071 " lvremove device\n"
19072 "\n"
19073 msgstr ""
19074
19075 # type: =head2
19076 #: ../fish/guestfish-actions.pod:2224
19077 msgid "lvrename"
19078 msgstr ""
19079
19080 # type: verbatim
19081 #: ../fish/guestfish-actions.pod:2226
19082 #, no-wrap
19083 msgid ""
19084 " lvrename logvol newlogvol\n"
19085 "\n"
19086 msgstr ""
19087
19088 # type: =head2
19089 #: ../fish/guestfish-actions.pod:2230
19090 msgid "lvresize"
19091 msgstr ""
19092
19093 # type: verbatim
19094 #: ../fish/guestfish-actions.pod:2232
19095 #, no-wrap
19096 msgid ""
19097 " lvresize device mbytes\n"
19098 "\n"
19099 msgstr ""
19100
19101 # type: =head2
19102 #: ../fish/guestfish-actions.pod:2238
19103 msgid "lvresize-free"
19104 msgstr ""
19105
19106 # type: verbatim
19107 #: ../fish/guestfish-actions.pod:2240
19108 #, no-wrap
19109 msgid ""
19110 " lvresize-free lv percent\n"
19111 "\n"
19112 msgstr ""
19113
19114 # type: =head2
19115 #: ../fish/guestfish-actions.pod:2248
19116 msgid "lvs"
19117 msgstr ""
19118
19119 # type: verbatim
19120 #: ../fish/guestfish-actions.pod:2250
19121 #, no-wrap
19122 msgid ""
19123 " lvs\n"
19124 "\n"
19125 msgstr ""
19126
19127 # type: textblock
19128 #: ../fish/guestfish-actions.pod:2258
19129 msgid "See also C<lvs-full>."
19130 msgstr ""
19131
19132 # type: =head2
19133 #: ../fish/guestfish-actions.pod:2260
19134 msgid "lvs-full"
19135 msgstr ""
19136
19137 # type: verbatim
19138 #: ../fish/guestfish-actions.pod:2262
19139 #, no-wrap
19140 msgid ""
19141 " lvs-full\n"
19142 "\n"
19143 msgstr ""
19144
19145 # type: =head2
19146 #: ../fish/guestfish-actions.pod:2267
19147 msgid "lvuuid"
19148 msgstr ""
19149
19150 # type: verbatim
19151 #: ../fish/guestfish-actions.pod:2269
19152 #, no-wrap
19153 msgid ""
19154 " lvuuid device\n"
19155 "\n"
19156 msgstr ""
19157
19158 # type: =head2
19159 #: ../fish/guestfish-actions.pod:2273
19160 msgid "lxattrlist"
19161 msgstr ""
19162
19163 # type: verbatim
19164 #: ../fish/guestfish-actions.pod:2275
19165 #, no-wrap
19166 msgid ""
19167 " lxattrlist path 'names ...'\n"
19168 "\n"
19169 msgstr ""
19170
19171 # type: textblock
19172 #: ../fish/guestfish-actions.pod:2291
19173 msgid ""
19174 "This call is intended for programs that want to efficiently list a directory "
19175 "contents without making many round-trips.  See also C<lstatlist> for a "
19176 "similarly efficient call for getting standard stats.  Very long directory "
19177 "listings might cause the protocol message size to be exceeded, causing this "
19178 "call to fail.  The caller must split up such requests into smaller groups of "
19179 "names."
19180 msgstr ""
19181
19182 # type: =head2
19183 #: ../fish/guestfish-actions.pod:2299
19184 msgid "mkdir"
19185 msgstr ""
19186
19187 # type: verbatim
19188 #: ../fish/guestfish-actions.pod:2301
19189 #, no-wrap
19190 msgid ""
19191 " mkdir path\n"
19192 "\n"
19193 msgstr ""
19194
19195 # type: =head2
19196 #: ../fish/guestfish-actions.pod:2305
19197 msgid "mkdir-mode"
19198 msgstr ""
19199
19200 # type: verbatim
19201 #: ../fish/guestfish-actions.pod:2307
19202 #, no-wrap
19203 msgid ""
19204 " mkdir-mode path mode\n"
19205 "\n"
19206 msgstr ""
19207
19208 # type: textblock
19209 #: ../fish/guestfish-actions.pod:2316
19210 msgid "See also C<mkdir>, C<umask>"
19211 msgstr ""
19212
19213 # type: =head2
19214 #: ../fish/guestfish-actions.pod:2318
19215 msgid "mkdir-p"
19216 msgstr ""
19217
19218 # type: verbatim
19219 #: ../fish/guestfish-actions.pod:2320
19220 #, no-wrap
19221 msgid ""
19222 " mkdir-p path\n"
19223 "\n"
19224 msgstr ""
19225
19226 # type: =head2
19227 #: ../fish/guestfish-actions.pod:2325
19228 msgid "mkdtemp"
19229 msgstr ""
19230
19231 # type: verbatim
19232 #: ../fish/guestfish-actions.pod:2327
19233 #, no-wrap
19234 msgid ""
19235 " mkdtemp template\n"
19236 "\n"
19237 msgstr ""
19238
19239 # type: =head2
19240 #: ../fish/guestfish-actions.pod:2348
19241 msgid "mke2fs-J"
19242 msgstr ""
19243
19244 # type: verbatim
19245 #: ../fish/guestfish-actions.pod:2350
19246 #, no-wrap
19247 msgid ""
19248 " mke2fs-J fstype blocksize device journal\n"
19249 "\n"
19250 msgstr ""
19251
19252 # type: textblock
19253 #: ../fish/guestfish-actions.pod:2358
19254 msgid "See also C<mke2journal>."
19255 msgstr ""
19256
19257 # type: =head2
19258 #: ../fish/guestfish-actions.pod:2360
19259 msgid "mke2fs-JL"
19260 msgstr ""
19261
19262 # type: verbatim
19263 #: ../fish/guestfish-actions.pod:2362
19264 #, no-wrap
19265 msgid ""
19266 " mke2fs-JL fstype blocksize device label\n"
19267 "\n"
19268 msgstr ""
19269
19270 # type: textblock
19271 #: ../fish/guestfish-actions.pod:2367
19272 msgid "See also C<mke2journal-L>."
19273 msgstr ""
19274
19275 # type: =head2
19276 #: ../fish/guestfish-actions.pod:2369
19277 msgid "mke2fs-JU"
19278 msgstr ""
19279
19280 # type: verbatim
19281 #: ../fish/guestfish-actions.pod:2371
19282 #, no-wrap
19283 msgid ""
19284 " mke2fs-JU fstype blocksize device uuid\n"
19285 "\n"
19286 msgstr ""
19287
19288 # type: textblock
19289 #: ../fish/guestfish-actions.pod:2376
19290 msgid "See also C<mke2journal-U>."
19291 msgstr ""
19292
19293 # type: =head2
19294 #: ../fish/guestfish-actions.pod:2378
19295 msgid "mke2journal"
19296 msgstr ""
19297
19298 # type: verbatim
19299 #: ../fish/guestfish-actions.pod:2380
19300 #, no-wrap
19301 msgid ""
19302 " mke2journal blocksize device\n"
19303 "\n"
19304 msgstr ""
19305
19306 # type: =head2
19307 #: ../fish/guestfish-actions.pod:2387
19308 msgid "mke2journal-L"
19309 msgstr ""
19310
19311 # type: verbatim
19312 #: ../fish/guestfish-actions.pod:2389
19313 #, no-wrap
19314 msgid ""
19315 " mke2journal-L blocksize label device\n"
19316 "\n"
19317 msgstr ""
19318
19319 # type: =head2
19320 #: ../fish/guestfish-actions.pod:2393
19321 msgid "mke2journal-U"
19322 msgstr ""
19323
19324 # type: verbatim
19325 #: ../fish/guestfish-actions.pod:2395
19326 #, no-wrap
19327 msgid ""
19328 " mke2journal-U blocksize uuid device\n"
19329 "\n"
19330 msgstr ""
19331
19332 # type: =head2
19333 #: ../fish/guestfish-actions.pod:2399
19334 msgid "mkfifo"
19335 msgstr ""
19336
19337 # type: verbatim
19338 #: ../fish/guestfish-actions.pod:2401
19339 #, no-wrap
19340 msgid ""
19341 " mkfifo mode path\n"
19342 "\n"
19343 msgstr ""
19344
19345 # type: textblock
19346 #: ../fish/guestfish-actions.pod:2403
19347 msgid ""
19348 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19349 "is just a convenient wrapper around C<mknod>."
19350 msgstr ""
19351
19352 # type: =head2
19353 #: ../fish/guestfish-actions.pod:2409
19354 msgid "mkfs"
19355 msgstr ""
19356
19357 # type: verbatim
19358 #: ../fish/guestfish-actions.pod:2411
19359 #, no-wrap
19360 msgid ""
19361 " mkfs fstype device\n"
19362 "\n"
19363 msgstr ""
19364
19365 # type: =head2
19366 #: ../fish/guestfish-actions.pod:2417
19367 msgid "mkfs-b"
19368 msgstr ""
19369
19370 # type: verbatim
19371 #: ../fish/guestfish-actions.pod:2419
19372 #, no-wrap
19373 msgid ""
19374 " mkfs-b fstype blocksize device\n"
19375 "\n"
19376 msgstr ""
19377
19378 # type: textblock
19379 #: ../fish/guestfish-actions.pod:2421
19380 msgid ""
19381 "This call is similar to C<mkfs>, but it allows you to control the block size "
19382 "of the resulting filesystem.  Supported block sizes depend on the filesystem "
19383 "type, but typically they are C<1024>, C<2048> or C<4096> only."
19384 msgstr ""
19385
19386 # type: =head2
19387 #: ../fish/guestfish-actions.pod:2429
19388 msgid "mkmountpoint"
19389 msgstr ""
19390
19391 # type: verbatim
19392 #: ../fish/guestfish-actions.pod:2431
19393 #, no-wrap
19394 msgid ""
19395 " mkmountpoint exemptpath\n"
19396 "\n"
19397 msgstr ""
19398
19399 # type: textblock
19400 #: ../fish/guestfish-actions.pod:2433
19401 msgid ""
19402 "C<mkmountpoint> and C<rmmountpoint> are specialized calls that can be used "
19403 "to create extra mountpoints before mounting the first filesystem."
19404 msgstr ""
19405
19406 # type: =head2
19407 #: ../fish/guestfish-actions.pod:2457
19408 msgid "mknod"
19409 msgstr ""
19410
19411 # type: verbatim
19412 #: ../fish/guestfish-actions.pod:2459
19413 #, no-wrap
19414 msgid ""
19415 " mknod mode devmajor devminor path\n"
19416 "\n"
19417 msgstr ""
19418
19419 # type: textblock
19420 #: ../fish/guestfish-actions.pod:2469
19421 msgid ""
19422 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19423 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19424 "regular file).  These constants are available in the standard Linux header "
19425 "files, or you can use C<mknod-b>, C<mknod-c> or C<mkfifo> which are wrappers "
19426 "around this command which bitwise OR in the appropriate constant for you."
19427 msgstr ""
19428
19429 # type: =head2
19430 #: ../fish/guestfish-actions.pod:2479
19431 msgid "mknod-b"
19432 msgstr ""
19433
19434 # type: verbatim
19435 #: ../fish/guestfish-actions.pod:2481
19436 #, no-wrap
19437 msgid ""
19438 " mknod-b mode devmajor devminor path\n"
19439 "\n"
19440 msgstr ""
19441
19442 # type: textblock
19443 #: ../fish/guestfish-actions.pod:2483
19444 msgid ""
19445 "This call creates a block device node called C<path> with mode C<mode> and "
19446 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19447 "wrapper around C<mknod>."
19448 msgstr ""
19449
19450 # type: =head2
19451 #: ../fish/guestfish-actions.pod:2489
19452 msgid "mknod-c"
19453 msgstr ""
19454
19455 # type: verbatim
19456 #: ../fish/guestfish-actions.pod:2491
19457 #, no-wrap
19458 msgid ""
19459 " mknod-c mode devmajor devminor path\n"
19460 "\n"
19461 msgstr ""
19462
19463 # type: textblock
19464 #: ../fish/guestfish-actions.pod:2493
19465 msgid ""
19466 "This call creates a char device node called C<path> with mode C<mode> and "
19467 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19468 "wrapper around C<mknod>."
19469 msgstr ""
19470
19471 # type: =head2
19472 #: ../fish/guestfish-actions.pod:2499
19473 msgid "mkswap"
19474 msgstr ""
19475
19476 # type: verbatim
19477 #: ../fish/guestfish-actions.pod:2501
19478 #, no-wrap
19479 msgid ""
19480 " mkswap device\n"
19481 "\n"
19482 msgstr ""
19483
19484 # type: =head2
19485 #: ../fish/guestfish-actions.pod:2505
19486 msgid "mkswap-L"
19487 msgstr ""
19488
19489 # type: verbatim
19490 #: ../fish/guestfish-actions.pod:2507
19491 #, no-wrap
19492 msgid ""
19493 " mkswap-L label device\n"
19494 "\n"
19495 msgstr ""
19496
19497 # type: =head2
19498 #: ../fish/guestfish-actions.pod:2515
19499 msgid "mkswap-U"
19500 msgstr ""
19501
19502 # type: verbatim
19503 #: ../fish/guestfish-actions.pod:2517
19504 #, no-wrap
19505 msgid ""
19506 " mkswap-U uuid device\n"
19507 "\n"
19508 msgstr ""
19509
19510 # type: =head2
19511 #: ../fish/guestfish-actions.pod:2521
19512 msgid "mkswap-file"
19513 msgstr ""
19514
19515 # type: verbatim
19516 #: ../fish/guestfish-actions.pod:2523
19517 #, no-wrap
19518 msgid ""
19519 " mkswap-file path\n"
19520 "\n"
19521 msgstr ""
19522
19523 # type: textblock
19524 #: ../fish/guestfish-actions.pod:2527
19525 msgid ""
19526 "This command just writes a swap file signature to an existing file.  To "
19527 "create the file itself, use something like C<fallocate>."
19528 msgstr ""
19529
19530 # type: =head2
19531 #: ../fish/guestfish-actions.pod:2530
19532 msgid "modprobe"
19533 msgstr ""
19534
19535 # type: verbatim
19536 #: ../fish/guestfish-actions.pod:2532
19537 #, no-wrap
19538 msgid ""
19539 " modprobe modulename\n"
19540 "\n"
19541 msgstr ""
19542
19543 # type: =head2
19544 #: ../fish/guestfish-actions.pod:2539
19545 msgid "mount"
19546 msgstr ""
19547
19548 # type: verbatim
19549 #: ../fish/guestfish-actions.pod:2541
19550 #, no-wrap
19551 msgid ""
19552 " mount device mountpoint\n"
19553 "\n"
19554 msgstr ""
19555
19556 # type: textblock
19557 #: ../fish/guestfish-actions.pod:2557
19558 msgid ""
19559 "B<Important note:> When you use this call, the filesystem options C<sync> "
19560 "and C<noatime> are set implicitly.  This was originally done because we "
19561 "thought it would improve reliability, but it turns out that I<-o sync> has a "
19562 "very large negative performance impact and negligible effect on "
19563 "reliability.  Therefore we recommend that you avoid using C<mount> in any "
19564 "code that needs performance, and instead use C<mount-options> (use an empty "
19565 "string for the first parameter if you don't want any options)."
19566 msgstr ""
19567
19568 # type: =head2
19569 #: ../fish/guestfish-actions.pod:2567
19570 msgid "mount-loop"
19571 msgstr ""
19572
19573 # type: verbatim
19574 #: ../fish/guestfish-actions.pod:2569
19575 #, no-wrap
19576 msgid ""
19577 " mount-loop file mountpoint\n"
19578 "\n"
19579 msgstr ""
19580
19581 # type: =head2
19582 #: ../fish/guestfish-actions.pod:2575
19583 msgid "mount-options"
19584 msgstr ""
19585
19586 # type: verbatim
19587 #: ../fish/guestfish-actions.pod:2577
19588 #, no-wrap
19589 msgid ""
19590 " mount-options options device mountpoint\n"
19591 "\n"
19592 msgstr ""
19593
19594 # type: textblock
19595 #: ../fish/guestfish-actions.pod:2579
19596 msgid ""
19597 "This is the same as the C<mount> command, but it allows you to set the mount "
19598 "options as for the L<mount(8)> I<-o> flag."
19599 msgstr ""
19600
19601 # type: =head2
19602 #: ../fish/guestfish-actions.pod:2587
19603 msgid "mount-ro"
19604 msgstr ""
19605
19606 # type: verbatim
19607 #: ../fish/guestfish-actions.pod:2589
19608 #, no-wrap
19609 msgid ""
19610 " mount-ro device mountpoint\n"
19611 "\n"
19612 msgstr ""
19613
19614 # type: textblock
19615 #: ../fish/guestfish-actions.pod:2591
19616 msgid ""
19617 "This is the same as the C<mount> command, but it mounts the filesystem with "
19618 "the read-only (I<-o ro>) flag."
19619 msgstr ""
19620
19621 # type: =head2
19622 #: ../fish/guestfish-actions.pod:2594
19623 msgid "mount-vfs"
19624 msgstr ""
19625
19626 # type: verbatim
19627 #: ../fish/guestfish-actions.pod:2596
19628 #, no-wrap
19629 msgid ""
19630 " mount-vfs options vfstype device mountpoint\n"
19631 "\n"
19632 msgstr ""
19633
19634 # type: textblock
19635 #: ../fish/guestfish-actions.pod:2598
19636 msgid ""
19637 "This is the same as the C<mount> command, but it allows you to set both the "
19638 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
19639 msgstr ""
19640
19641 # type: =head2
19642 #: ../fish/guestfish-actions.pod:2602
19643 msgid "mountpoints"
19644 msgstr ""
19645
19646 # type: verbatim
19647 #: ../fish/guestfish-actions.pod:2604
19648 #, no-wrap
19649 msgid ""
19650 " mountpoints\n"
19651 "\n"
19652 msgstr ""
19653
19654 # type: textblock
19655 #: ../fish/guestfish-actions.pod:2606
19656 msgid ""
19657 "This call is similar to C<mounts>.  That call returns a list of devices.  "
19658 "This one returns a hash table (map) of device name to directory where the "
19659 "device is mounted."
19660 msgstr ""
19661
19662 # type: =head2
19663 #: ../fish/guestfish-actions.pod:2610
19664 msgid "mounts"
19665 msgstr ""
19666
19667 # type: verbatim
19668 #: ../fish/guestfish-actions.pod:2612
19669 #, no-wrap
19670 msgid ""
19671 " mounts\n"
19672 "\n"
19673 msgstr ""
19674
19675 # type: textblock
19676 #: ../fish/guestfish-actions.pod:2619
19677 msgid "See also: C<mountpoints>"
19678 msgstr ""
19679
19680 # type: =head2
19681 #: ../fish/guestfish-actions.pod:2621
19682 msgid "mv"
19683 msgstr ""
19684
19685 # type: verbatim
19686 #: ../fish/guestfish-actions.pod:2623
19687 #, no-wrap
19688 msgid ""
19689 " mv src dest\n"
19690 "\n"
19691 msgstr ""
19692
19693 # type: =head2
19694 #: ../fish/guestfish-actions.pod:2628
19695 msgid "ntfs-3g-probe"
19696 msgstr ""
19697
19698 # type: verbatim
19699 #: ../fish/guestfish-actions.pod:2630
19700 #, no-wrap
19701 msgid ""
19702 " ntfs-3g-probe true|false device\n"
19703 "\n"
19704 msgstr ""
19705
19706 # type: =head2
19707 #: ../fish/guestfish-actions.pod:2644
19708 msgid "ntfsresize"
19709 msgstr ""
19710
19711 # type: verbatim
19712 #: ../fish/guestfish-actions.pod:2646
19713 #, no-wrap
19714 msgid ""
19715 " ntfsresize device\n"
19716 "\n"
19717 msgstr ""
19718
19719 # type: =head2
19720 #: ../fish/guestfish-actions.pod:2652
19721 msgid "ntfsresize-size"
19722 msgstr ""
19723
19724 # type: verbatim
19725 #: ../fish/guestfish-actions.pod:2654
19726 #, no-wrap
19727 msgid ""
19728 " ntfsresize-size device size\n"
19729 "\n"
19730 msgstr ""
19731
19732 # type: textblock
19733 #: ../fish/guestfish-actions.pod:2656
19734 msgid ""
19735 "This command is the same as C<ntfsresize> except that it allows you to "
19736 "specify the new size (in bytes) explicitly."
19737 msgstr ""
19738
19739 # type: =head2
19740 #: ../fish/guestfish-actions.pod:2659
19741 msgid "part-add"
19742 msgstr ""
19743
19744 # type: verbatim
19745 #: ../fish/guestfish-actions.pod:2661
19746 #, no-wrap
19747 msgid ""
19748 " part-add device prlogex startsect endsect\n"
19749 "\n"
19750 msgstr ""
19751
19752 # type: textblock
19753 #: ../fish/guestfish-actions.pod:2663
19754 msgid ""
19755 "This command adds a partition to C<device>.  If there is no partition table "
19756 "on the device, call C<part-init> first."
19757 msgstr ""
19758
19759 # type: textblock
19760 #: ../fish/guestfish-actions.pod:2675
19761 msgid ""
19762 "Creating a partition which covers the whole disk is not so easy.  Use "
19763 "C<part-disk> to do that."
19764 msgstr ""
19765
19766 # type: =head2
19767 #: ../fish/guestfish-actions.pod:2678
19768 msgid "part-del"
19769 msgstr ""
19770
19771 # type: verbatim
19772 #: ../fish/guestfish-actions.pod:2680
19773 #, no-wrap
19774 msgid ""
19775 " part-del device partnum\n"
19776 "\n"
19777 msgstr ""
19778
19779 # type: =head2
19780 #: ../fish/guestfish-actions.pod:2688
19781 msgid "part-disk"
19782 msgstr ""
19783
19784 # type: verbatim
19785 #: ../fish/guestfish-actions.pod:2690
19786 #, no-wrap
19787 msgid ""
19788 " part-disk device parttype\n"
19789 "\n"
19790 msgstr ""
19791
19792 # type: textblock
19793 #: ../fish/guestfish-actions.pod:2692
19794 msgid ""
19795 "This command is simply a combination of C<part-init> followed by C<part-add> "
19796 "to create a single primary partition covering the whole disk."
19797 msgstr ""
19798
19799 # type: textblock
19800 #: ../fish/guestfish-actions.pod:2696
19801 msgid ""
19802 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
19803 "possible values are described in C<part-init>."
19804 msgstr ""
19805
19806 # type: =head2
19807 #: ../fish/guestfish-actions.pod:2702
19808 msgid "part-get-bootable"
19809 msgstr ""
19810
19811 # type: verbatim
19812 #: ../fish/guestfish-actions.pod:2704
19813 #, no-wrap
19814 msgid ""
19815 " part-get-bootable device partnum\n"
19816 "\n"
19817 msgstr ""
19818
19819 # type: textblock
19820 #: ../fish/guestfish-actions.pod:2709
19821 msgid "See also C<part-set-bootable>."
19822 msgstr ""
19823
19824 # type: =head2
19825 #: ../fish/guestfish-actions.pod:2711
19826 msgid "part-get-mbr-id"
19827 msgstr ""
19828
19829 # type: verbatim
19830 #: ../fish/guestfish-actions.pod:2713
19831 #, no-wrap
19832 msgid ""
19833 " part-get-mbr-id device partnum\n"
19834 "\n"
19835 msgstr ""
19836
19837 # type: textblock
19838 #: ../fish/guestfish-actions.pod:2718 ../fish/guestfish-actions.pod:2856
19839 msgid ""
19840 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
19841 "undefined results for other partition table types (see "
19842 "C<part-get-parttype>)."
19843 msgstr ""
19844
19845 # type: =head2
19846 #: ../fish/guestfish-actions.pod:2722
19847 msgid "part-get-parttype"
19848 msgstr ""
19849
19850 # type: verbatim
19851 #: ../fish/guestfish-actions.pod:2724
19852 #, no-wrap
19853 msgid ""
19854 " part-get-parttype device\n"
19855 "\n"
19856 msgstr ""
19857
19858 # type: textblock
19859 #: ../fish/guestfish-actions.pod:2729
19860 msgid ""
19861 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
19862 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
19863 "possible, although unusual.  See C<part-init> for a full list."
19864 msgstr ""
19865
19866 # type: =head2
19867 #: ../fish/guestfish-actions.pod:2734
19868 msgid "part-init"
19869 msgstr ""
19870
19871 # type: verbatim
19872 #: ../fish/guestfish-actions.pod:2736
19873 #, no-wrap
19874 msgid ""
19875 " part-init device parttype\n"
19876 "\n"
19877 msgstr ""
19878
19879 # type: textblock
19880 #: ../fish/guestfish-actions.pod:2742
19881 msgid ""
19882 "Initially there are no partitions.  Following this, you should call "
19883 "C<part-add> for each partition required."
19884 msgstr ""
19885
19886 # type: =head2
19887 #: ../fish/guestfish-actions.pod:2805
19888 msgid "part-list"
19889 msgstr ""
19890
19891 # type: verbatim
19892 #: ../fish/guestfish-actions.pod:2807
19893 #, no-wrap
19894 msgid ""
19895 " part-list device\n"
19896 "\n"
19897 msgstr ""
19898
19899 # type: textblock
19900 #: ../fish/guestfish-actions.pod:2822
19901 msgid ""
19902 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
19903 "the device's sector size, see C<blockdev-getss>."
19904 msgstr ""
19905
19906 # type: =head2
19907 #: ../fish/guestfish-actions.pod:2835
19908 msgid "part-set-bootable"
19909 msgstr ""
19910
19911 # type: verbatim
19912 #: ../fish/guestfish-actions.pod:2837
19913 #, no-wrap
19914 msgid ""
19915 " part-set-bootable device partnum true|false\n"
19916 "\n"
19917 msgstr ""
19918
19919 # type: =head2
19920 #: ../fish/guestfish-actions.pod:2846
19921 msgid "part-set-mbr-id"
19922 msgstr ""
19923
19924 # type: verbatim
19925 #: ../fish/guestfish-actions.pod:2848
19926 #, no-wrap
19927 msgid ""
19928 " part-set-mbr-id device partnum idbyte\n"
19929 "\n"
19930 msgstr ""
19931
19932 # type: =head2
19933 #: ../fish/guestfish-actions.pod:2860
19934 msgid "part-set-name"
19935 msgstr ""
19936
19937 # type: verbatim
19938 #: ../fish/guestfish-actions.pod:2862
19939 #, no-wrap
19940 msgid ""
19941 " part-set-name device partnum name\n"
19942 "\n"
19943 msgstr ""
19944
19945 # type: =head2
19946 #: ../fish/guestfish-actions.pod:2870
19947 msgid "ping-daemon"
19948 msgstr ""
19949
19950 # type: verbatim
19951 #: ../fish/guestfish-actions.pod:2872
19952 #, no-wrap
19953 msgid ""
19954 " ping-daemon\n"
19955 "\n"
19956 msgstr ""
19957
19958 # type: =head2
19959 #: ../fish/guestfish-actions.pod:2879
19960 msgid "pread"
19961 msgstr ""
19962
19963 # type: verbatim
19964 #: ../fish/guestfish-actions.pod:2881
19965 #, no-wrap
19966 msgid ""
19967 " pread path count offset\n"
19968 "\n"
19969 msgstr ""
19970
19971 # type: textblock
19972 #: ../fish/guestfish-actions.pod:2889
19973 msgid "See also C<pwrite>."
19974 msgstr ""
19975
19976 # type: =head2
19977 #: ../fish/guestfish-actions.pod:2894
19978 msgid "pvcreate"
19979 msgstr ""
19980
19981 # type: verbatim
19982 #: ../fish/guestfish-actions.pod:2896
19983 #, no-wrap
19984 msgid ""
19985 " pvcreate device\n"
19986 "\n"
19987 msgstr ""
19988
19989 # type: =head2
19990 #: ../fish/guestfish-actions.pod:2902
19991 msgid "pvremove"
19992 msgstr ""
19993
19994 # type: verbatim
19995 #: ../fish/guestfish-actions.pod:2904
19996 #, no-wrap
19997 msgid ""
19998 " pvremove device\n"
19999 "\n"
20000 msgstr ""
20001
20002 # type: =head2
20003 #: ../fish/guestfish-actions.pod:2913
20004 msgid "pvresize"
20005 msgstr ""
20006
20007 # type: verbatim
20008 #: ../fish/guestfish-actions.pod:2915
20009 #, no-wrap
20010 msgid ""
20011 " pvresize device\n"
20012 "\n"
20013 msgstr ""
20014
20015 # type: =head2
20016 #: ../fish/guestfish-actions.pod:2920
20017 msgid "pvresize-size"
20018 msgstr ""
20019
20020 # type: verbatim
20021 #: ../fish/guestfish-actions.pod:2922
20022 #, no-wrap
20023 msgid ""
20024 " pvresize-size device size\n"
20025 "\n"
20026 msgstr ""
20027
20028 # type: textblock
20029 #: ../fish/guestfish-actions.pod:2924
20030 msgid ""
20031 "This command is the same as C<pvresize> except that it allows you to specify "
20032 "the new size (in bytes) explicitly."
20033 msgstr ""
20034
20035 # type: =head2
20036 #: ../fish/guestfish-actions.pod:2927
20037 msgid "pvs"
20038 msgstr ""
20039
20040 # type: verbatim
20041 #: ../fish/guestfish-actions.pod:2929
20042 #, no-wrap
20043 msgid ""
20044 " pvs\n"
20045 "\n"
20046 msgstr ""
20047
20048 # type: textblock
20049 #: ../fish/guestfish-actions.pod:2937
20050 msgid "See also C<pvs-full>."
20051 msgstr ""
20052
20053 # type: =head2
20054 #: ../fish/guestfish-actions.pod:2939
20055 msgid "pvs-full"
20056 msgstr ""
20057
20058 # type: verbatim
20059 #: ../fish/guestfish-actions.pod:2941
20060 #, no-wrap
20061 msgid ""
20062 " pvs-full\n"
20063 "\n"
20064 msgstr ""
20065
20066 # type: =head2
20067 #: ../fish/guestfish-actions.pod:2946
20068 msgid "pvuuid"
20069 msgstr ""
20070
20071 # type: verbatim
20072 #: ../fish/guestfish-actions.pod:2948
20073 #, no-wrap
20074 msgid ""
20075 " pvuuid device\n"
20076 "\n"
20077 msgstr ""
20078
20079 # type: =head2
20080 #: ../fish/guestfish-actions.pod:2952
20081 msgid "pwrite"
20082 msgstr ""
20083
20084 # type: verbatim
20085 #: ../fish/guestfish-actions.pod:2954
20086 #, no-wrap
20087 msgid ""
20088 " pwrite path content offset\n"
20089 "\n"
20090 msgstr ""
20091
20092 # type: textblock
20093 #: ../fish/guestfish-actions.pod:2965
20094 msgid "See also C<pread>."
20095 msgstr ""
20096
20097 # type: =head2
20098 #: ../fish/guestfish-actions.pod:2970
20099 msgid "read-file"
20100 msgstr ""
20101
20102 # type: verbatim
20103 #: ../fish/guestfish-actions.pod:2972
20104 #, no-wrap
20105 msgid ""
20106 " read-file path\n"
20107 "\n"
20108 msgstr ""
20109
20110 # type: textblock
20111 #: ../fish/guestfish-actions.pod:2977
20112 msgid ""
20113 "Unlike C<cat>, this function can correctly handle files that contain "
20114 "embedded ASCII NUL characters.  However unlike C<download>, this function is "
20115 "limited in the total size of file that can be handled."
20116 msgstr ""
20117
20118 # type: =head2
20119 #: ../fish/guestfish-actions.pod:2985
20120 msgid "read-lines"
20121 msgstr ""
20122
20123 # type: verbatim
20124 #: ../fish/guestfish-actions.pod:2987
20125 #, no-wrap
20126 msgid ""
20127 " read-lines path\n"
20128 "\n"
20129 msgstr ""
20130
20131 # type: textblock
20132 #: ../fish/guestfish-actions.pod:2994
20133 msgid ""
20134 "Note that this function cannot correctly handle binary files (specifically, "
20135 "files containing C<\\0> character which is treated as end of line).  For "
20136 "those you need to use the C<read-file> function which has a more complex "
20137 "interface."
20138 msgstr ""
20139
20140 # type: =head2
20141 #: ../fish/guestfish-actions.pod:2999
20142 msgid "readdir"
20143 msgstr ""
20144
20145 # type: verbatim
20146 #: ../fish/guestfish-actions.pod:3001
20147 #, no-wrap
20148 msgid ""
20149 " readdir dir\n"
20150 "\n"
20151 msgstr ""
20152
20153 # type: textblock
20154 #: ../fish/guestfish-actions.pod:3053
20155 msgid ""
20156 "This function is primarily intended for use by programs.  To get a simple "
20157 "list of names, use C<ls>.  To get a printable directory for human "
20158 "consumption, use C<ll>."
20159 msgstr ""
20160
20161 # type: =head2
20162 #: ../fish/guestfish-actions.pod:3057
20163 msgid "readlink"
20164 msgstr ""
20165
20166 # type: verbatim
20167 #: ../fish/guestfish-actions.pod:3059
20168 #, no-wrap
20169 msgid ""
20170 " readlink path\n"
20171 "\n"
20172 msgstr ""
20173
20174 # type: =head2
20175 #: ../fish/guestfish-actions.pod:3063
20176 msgid "readlinklist"
20177 msgstr ""
20178
20179 # type: verbatim
20180 #: ../fish/guestfish-actions.pod:3065
20181 #, no-wrap
20182 msgid ""
20183 " readlinklist path 'names ...'\n"
20184 "\n"
20185 msgstr ""
20186
20187 # type: =head2
20188 #: ../fish/guestfish-actions.pod:3089
20189 msgid "realpath"
20190 msgstr ""
20191
20192 # type: verbatim
20193 #: ../fish/guestfish-actions.pod:3091
20194 #, no-wrap
20195 msgid ""
20196 " realpath path\n"
20197 "\n"
20198 msgstr ""
20199
20200 # type: =head2
20201 #: ../fish/guestfish-actions.pod:3096
20202 msgid "removexattr"
20203 msgstr ""
20204
20205 # type: verbatim
20206 #: ../fish/guestfish-actions.pod:3098
20207 #, no-wrap
20208 msgid ""
20209 " removexattr xattr path\n"
20210 "\n"
20211 msgstr ""
20212
20213 # type: textblock
20214 #: ../fish/guestfish-actions.pod:3103
20215 msgid "See also: C<lremovexattr>, L<attr(5)>."
20216 msgstr ""
20217
20218 # type: =head2
20219 #: ../fish/guestfish-actions.pod:3105
20220 msgid "resize2fs"
20221 msgstr ""
20222
20223 # type: verbatim
20224 #: ../fish/guestfish-actions.pod:3107
20225 #, no-wrap
20226 msgid ""
20227 " resize2fs device\n"
20228 "\n"
20229 msgstr ""
20230
20231 # type: textblock
20232 #: ../fish/guestfish-actions.pod:3112
20233 msgid ""
20234 "I<Note:> It is sometimes required that you run C<e2fsck-f> on the C<device> "
20235 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
20236 "gives an error about this and sometimes not.  In any case, it is always safe "
20237 "to call C<e2fsck-f> before calling this function."
20238 msgstr ""
20239
20240 # type: =head2
20241 #: ../fish/guestfish-actions.pod:3118
20242 msgid "resize2fs-size"
20243 msgstr ""
20244
20245 # type: verbatim
20246 #: ../fish/guestfish-actions.pod:3120
20247 #, no-wrap
20248 msgid ""
20249 " resize2fs-size device size\n"
20250 "\n"
20251 msgstr ""
20252
20253 # type: textblock
20254 #: ../fish/guestfish-actions.pod:3122
20255 msgid ""
20256 "This command is the same as C<resize2fs> except that it allows you to "
20257 "specify the new size (in bytes) explicitly."
20258 msgstr ""
20259
20260 # type: =head2
20261 #: ../fish/guestfish-actions.pod:3125
20262 msgid "rm"
20263 msgstr ""
20264
20265 # type: verbatim
20266 #: ../fish/guestfish-actions.pod:3127
20267 #, no-wrap
20268 msgid ""
20269 " rm path\n"
20270 "\n"
20271 msgstr ""
20272
20273 # type: =head2
20274 #: ../fish/guestfish-actions.pod:3131
20275 msgid "rm-rf"
20276 msgstr ""
20277
20278 # type: verbatim
20279 #: ../fish/guestfish-actions.pod:3133
20280 #, no-wrap
20281 msgid ""
20282 " rm-rf path\n"
20283 "\n"
20284 msgstr ""
20285
20286 # type: =head2
20287 #: ../fish/guestfish-actions.pod:3139
20288 msgid "rmdir"
20289 msgstr ""
20290
20291 # type: verbatim
20292 #: ../fish/guestfish-actions.pod:3141
20293 #, no-wrap
20294 msgid ""
20295 " rmdir path\n"
20296 "\n"
20297 msgstr ""
20298
20299 # type: =head2
20300 #: ../fish/guestfish-actions.pod:3145
20301 msgid "rmmountpoint"
20302 msgstr ""
20303
20304 # type: verbatim
20305 #: ../fish/guestfish-actions.pod:3147
20306 #, no-wrap
20307 msgid ""
20308 " rmmountpoint exemptpath\n"
20309 "\n"
20310 msgstr ""
20311
20312 # type: textblock
20313 #: ../fish/guestfish-actions.pod:3149
20314 msgid ""
20315 "This calls removes a mountpoint that was previously created with "
20316 "C<mkmountpoint>.  See C<mkmountpoint> for full details."
20317 msgstr ""
20318
20319 # type: =head2
20320 #: ../fish/guestfish-actions.pod:3153
20321 msgid "scrub-device"
20322 msgstr ""
20323
20324 # type: verbatim
20325 #: ../fish/guestfish-actions.pod:3155
20326 #, no-wrap
20327 msgid ""
20328 " scrub-device device\n"
20329 "\n"
20330 msgstr ""
20331
20332 # type: =head2
20333 #: ../fish/guestfish-actions.pod:3166
20334 msgid "scrub-file"
20335 msgstr ""
20336
20337 # type: verbatim
20338 #: ../fish/guestfish-actions.pod:3168
20339 #, no-wrap
20340 msgid ""
20341 " scrub-file file\n"
20342 "\n"
20343 msgstr ""
20344
20345 # type: =head2
20346 #: ../fish/guestfish-actions.pod:3178
20347 msgid "scrub-freespace"
20348 msgstr ""
20349
20350 # type: verbatim
20351 #: ../fish/guestfish-actions.pod:3180
20352 #, no-wrap
20353 msgid ""
20354 " scrub-freespace dir\n"
20355 "\n"
20356 msgstr ""
20357
20358 # type: textblock
20359 #: ../fish/guestfish-actions.pod:3182
20360 msgid ""
20361 "This command creates the directory C<dir> and then fills it with files until "
20362 "the filesystem is full, and scrubs the files as for C<scrub-file>, and "
20363 "deletes them.  The intention is to scrub any free space on the partition "
20364 "containing C<dir>."
20365 msgstr ""
20366
20367 # type: =head2
20368 #: ../fish/guestfish-actions.pod:3191
20369 msgid "set-append | append"
20370 msgstr ""
20371
20372 # type: verbatim
20373 #: ../fish/guestfish-actions.pod:3193
20374 #, no-wrap
20375 msgid ""
20376 " set-append append\n"
20377 "\n"
20378 msgstr ""
20379
20380 # type: =head2
20381 #: ../fish/guestfish-actions.pod:3204
20382 msgid "set-autosync | autosync"
20383 msgstr ""
20384
20385 # type: verbatim
20386 #: ../fish/guestfish-actions.pod:3206
20387 #, no-wrap
20388 msgid ""
20389 " set-autosync true|false\n"
20390 "\n"
20391 msgstr ""
20392
20393 # type: textblock
20394 #: ../fish/guestfish-actions.pod:3208
20395 msgid ""
20396 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20397 "effort attempt to run C<umount-all> followed by C<sync> when the handle is "
20398 "closed (also if the program exits without closing handles)."
20399 msgstr ""
20400
20401 # type: =head2
20402 #: ../fish/guestfish-actions.pod:3216
20403 msgid "set-direct | direct"
20404 msgstr ""
20405
20406 # type: verbatim
20407 #: ../fish/guestfish-actions.pod:3218
20408 #, no-wrap
20409 msgid ""
20410 " set-direct true|false\n"
20411 "\n"
20412 msgstr ""
20413
20414 # type: textblock
20415 #: ../fish/guestfish-actions.pod:3224
20416 msgid ""
20417 "One consequence of this is that log messages aren't caught by the library "
20418 "and handled by C<set-log-message-callback>, but go straight to stdout."
20419 msgstr ""
20420
20421 # type: =head2
20422 #: ../fish/guestfish-actions.pod:3233
20423 msgid "set-e2label"
20424 msgstr ""
20425
20426 # type: verbatim
20427 #: ../fish/guestfish-actions.pod:3235
20428 #, no-wrap
20429 msgid ""
20430 " set-e2label device label\n"
20431 "\n"
20432 msgstr ""
20433
20434 # type: textblock
20435 #: ../fish/guestfish-actions.pod:3241
20436 msgid ""
20437 "You can use either C<tune2fs-l> or C<get-e2label> to return the existing "
20438 "label on a filesystem."
20439 msgstr ""
20440
20441 # type: =head2
20442 #: ../fish/guestfish-actions.pod:3244
20443 msgid "set-e2uuid"
20444 msgstr ""
20445
20446 # type: verbatim
20447 #: ../fish/guestfish-actions.pod:3246
20448 #, no-wrap
20449 msgid ""
20450 " set-e2uuid device uuid\n"
20451 "\n"
20452 msgstr ""
20453
20454 # type: textblock
20455 #: ../fish/guestfish-actions.pod:3253
20456 msgid ""
20457 "You can use either C<tune2fs-l> or C<get-e2uuid> to return the existing UUID "
20458 "of a filesystem."
20459 msgstr ""
20460
20461 # type: =head2
20462 #: ../fish/guestfish-actions.pod:3256
20463 msgid "set-memsize | memsize"
20464 msgstr ""
20465
20466 # type: verbatim
20467 #: ../fish/guestfish-actions.pod:3258
20468 #, no-wrap
20469 msgid ""
20470 " set-memsize memsize\n"
20471 "\n"
20472 msgstr ""
20473
20474 # type: textblock
20475 #: ../fish/guestfish-actions.pod:3260
20476 msgid ""
20477 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
20478 "This only has any effect if called before C<launch>."
20479 msgstr ""
20480
20481 # type: =head2
20482 #: ../fish/guestfish-actions.pod:3271
20483 msgid "set-network | network"
20484 msgstr ""
20485
20486 # type: verbatim
20487 #: ../fish/guestfish-actions.pod:3273
20488 #, no-wrap
20489 msgid ""
20490 " set-network true|false\n"
20491 "\n"
20492 msgstr ""
20493
20494 # type: textblock
20495 #: ../fish/guestfish-actions.pod:3281
20496 msgid "You must call this before calling C<launch>, otherwise it has no effect."
20497 msgstr ""
20498
20499 # type: =head2
20500 #: ../fish/guestfish-actions.pod:3284
20501 msgid "set-path | path"
20502 msgstr ""
20503
20504 # type: verbatim
20505 #: ../fish/guestfish-actions.pod:3286
20506 #, no-wrap
20507 msgid ""
20508 " set-path searchpath\n"
20509 "\n"
20510 msgstr ""
20511
20512 # type: =head2
20513 #: ../fish/guestfish-actions.pod:3295
20514 msgid "set-qemu | qemu"
20515 msgstr ""
20516
20517 # type: verbatim
20518 #: ../fish/guestfish-actions.pod:3297
20519 #, no-wrap
20520 msgid ""
20521 " set-qemu qemu\n"
20522 "\n"
20523 msgstr ""
20524
20525 # type: =head2
20526 #: ../fish/guestfish-actions.pod:3317
20527 msgid "set-recovery-proc | recovery-proc"
20528 msgstr ""
20529
20530 # type: verbatim
20531 #: ../fish/guestfish-actions.pod:3319
20532 #, no-wrap
20533 msgid ""
20534 " set-recovery-proc true|false\n"
20535 "\n"
20536 msgstr ""
20537
20538 # type: textblock
20539 #: ../fish/guestfish-actions.pod:3321
20540 msgid ""
20541 "If this is called with the parameter C<false> then C<launch> does not create "
20542 "a recovery process.  The purpose of the recovery process is to stop runaway "
20543 "qemu processes in the case where the main program aborts abruptly."
20544 msgstr ""
20545
20546 # type: textblock
20547 #: ../fish/guestfish-actions.pod:3326
20548 msgid ""
20549 "This only has any effect if called before C<launch>, and the default is "
20550 "true."
20551 msgstr ""
20552
20553 # type: =head2
20554 #: ../fish/guestfish-actions.pod:3335
20555 msgid "set-selinux | selinux"
20556 msgstr ""
20557
20558 # type: verbatim
20559 #: ../fish/guestfish-actions.pod:3337
20560 #, no-wrap
20561 msgid ""
20562 " set-selinux true|false\n"
20563 "\n"
20564 msgstr ""
20565
20566 # type: =head2
20567 #: ../fish/guestfish-actions.pod:3348
20568 msgid "set-trace | trace"
20569 msgstr ""
20570
20571 # type: verbatim
20572 #: ../fish/guestfish-actions.pod:3350
20573 #, no-wrap
20574 msgid ""
20575 " set-trace true|false\n"
20576 "\n"
20577 msgstr ""
20578
20579 # type: =head2
20580 #: ../fish/guestfish-actions.pod:3366
20581 msgid "set-verbose | verbose"
20582 msgstr ""
20583
20584 # type: verbatim
20585 #: ../fish/guestfish-actions.pod:3368
20586 #, no-wrap
20587 msgid ""
20588 " set-verbose true|false\n"
20589 "\n"
20590 msgstr ""
20591
20592 # type: =head2
20593 #: ../fish/guestfish-actions.pod:3375
20594 msgid "setcon"
20595 msgstr ""
20596
20597 # type: verbatim
20598 #: ../fish/guestfish-actions.pod:3377
20599 #, no-wrap
20600 msgid ""
20601 " setcon context\n"
20602 "\n"
20603 msgstr ""
20604
20605 # type: =head2
20606 #: ../fish/guestfish-actions.pod:3384
20607 msgid "setxattr"
20608 msgstr ""
20609
20610 # type: verbatim
20611 #: ../fish/guestfish-actions.pod:3386
20612 #, no-wrap
20613 msgid ""
20614 " setxattr xattr val vallen path\n"
20615 "\n"
20616 msgstr ""
20617
20618 # type: textblock
20619 #: ../fish/guestfish-actions.pod:3392
20620 msgid "See also: C<lsetxattr>, L<attr(5)>."
20621 msgstr ""
20622
20623 # type: =head2
20624 #: ../fish/guestfish-actions.pod:3394
20625 msgid "sfdisk"
20626 msgstr ""
20627
20628 # type: verbatim
20629 #: ../fish/guestfish-actions.pod:3396
20630 #, no-wrap
20631 msgid ""
20632 " sfdisk device cyls heads sectors 'lines ...'\n"
20633 "\n"
20634 msgstr ""
20635
20636 # type: textblock
20637 #: ../fish/guestfish-actions.pod:3418
20638 msgid "See also: C<sfdisk-l>, C<sfdisk-N>, C<part-init>"
20639 msgstr ""
20640
20641 # type: =head2
20642 #: ../fish/guestfish-actions.pod:3424
20643 msgid "sfdiskM"
20644 msgstr ""
20645
20646 # type: verbatim
20647 #: ../fish/guestfish-actions.pod:3426
20648 #, no-wrap
20649 msgid ""
20650 " sfdiskM device 'lines ...'\n"
20651 "\n"
20652 msgstr ""
20653
20654 # type: textblock
20655 #: ../fish/guestfish-actions.pod:3428
20656 msgid ""
20657 "This is a simplified interface to the C<sfdisk> command, where partition "
20658 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
20659 "you don't need to specify the cyls, heads and sectors parameters which were "
20660 "rarely if ever used anyway."
20661 msgstr ""
20662
20663 # type: textblock
20664 #: ../fish/guestfish-actions.pod:3434
20665 msgid "See also: C<sfdisk>, the L<sfdisk(8)> manpage and C<part-disk>"
20666 msgstr ""
20667
20668 # type: =head2
20669 #: ../fish/guestfish-actions.pod:3440
20670 msgid "sfdisk-N"
20671 msgstr ""
20672
20673 # type: verbatim
20674 #: ../fish/guestfish-actions.pod:3442
20675 #, no-wrap
20676 msgid ""
20677 " sfdisk-N device partnum cyls heads sectors line\n"
20678 "\n"
20679 msgstr ""
20680
20681 # type: textblock
20682 #: ../fish/guestfish-actions.pod:3447
20683 msgid ""
20684 "For other parameters, see C<sfdisk>.  You should usually pass C<0> for the "
20685 "cyls/heads/sectors parameters."
20686 msgstr ""
20687
20688 # type: textblock
20689 #: ../fish/guestfish-actions.pod:3450
20690 msgid "See also: C<part-add>"
20691 msgstr ""
20692
20693 # type: =head2
20694 #: ../fish/guestfish-actions.pod:3455
20695 msgid "sfdisk-disk-geometry"
20696 msgstr ""
20697
20698 # type: verbatim
20699 #: ../fish/guestfish-actions.pod:3457
20700 #, no-wrap
20701 msgid ""
20702 " sfdisk-disk-geometry device\n"
20703 "\n"
20704 msgstr ""
20705
20706 # type: textblock
20707 #: ../fish/guestfish-actions.pod:3459
20708 msgid ""
20709 "This displays the disk geometry of C<device> read from the partition table.  "
20710 "Especially in the case where the underlying block device has been resized, "
20711 "this can be different from the kernel's idea of the geometry (see "
20712 "C<sfdisk-kernel-geometry>)."
20713 msgstr ""
20714
20715 # type: =head2
20716 #: ../fish/guestfish-actions.pod:3467
20717 msgid "sfdisk-kernel-geometry"
20718 msgstr ""
20719
20720 # type: verbatim
20721 #: ../fish/guestfish-actions.pod:3469
20722 #, no-wrap
20723 msgid ""
20724 " sfdisk-kernel-geometry device\n"
20725 "\n"
20726 msgstr ""
20727
20728 # type: =head2
20729 #: ../fish/guestfish-actions.pod:3476
20730 msgid "sfdisk-l"
20731 msgstr ""
20732
20733 # type: verbatim
20734 #: ../fish/guestfish-actions.pod:3478
20735 #, no-wrap
20736 msgid ""
20737 " sfdisk-l device\n"
20738 "\n"
20739 msgstr ""
20740
20741 # type: textblock
20742 #: ../fish/guestfish-actions.pod:3484
20743 msgid "See also: C<part-list>"
20744 msgstr ""
20745
20746 # type: =head2
20747 #: ../fish/guestfish-actions.pod:3486
20748 msgid "sh"
20749 msgstr ""
20750
20751 # type: verbatim
20752 #: ../fish/guestfish-actions.pod:3488
20753 #, no-wrap
20754 msgid ""
20755 " sh command\n"
20756 "\n"
20757 msgstr ""
20758
20759 # type: textblock
20760 #: ../fish/guestfish-actions.pod:3493
20761 msgid "This is like C<command>, but passes the command to:"
20762 msgstr ""
20763
20764 # type: textblock
20765 #: ../fish/guestfish-actions.pod:3501
20766 msgid "All the provisos about C<command> apply to this call."
20767 msgstr ""
20768
20769 # type: =head2
20770 #: ../fish/guestfish-actions.pod:3503
20771 msgid "sh-lines"
20772 msgstr ""
20773
20774 # type: verbatim
20775 #: ../fish/guestfish-actions.pod:3505
20776 #, no-wrap
20777 msgid ""
20778 " sh-lines command\n"
20779 "\n"
20780 msgstr ""
20781
20782 # type: textblock
20783 #: ../fish/guestfish-actions.pod:3507
20784 msgid "This is the same as C<sh>, but splits the result into a list of lines."
20785 msgstr ""
20786
20787 # type: textblock
20788 #: ../fish/guestfish-actions.pod:3510
20789 msgid "See also: C<command-lines>"
20790 msgstr ""
20791
20792 # type: =head2
20793 #: ../fish/guestfish-actions.pod:3512
20794 msgid "sleep"
20795 msgstr ""
20796
20797 # type: verbatim
20798 #: ../fish/guestfish-actions.pod:3514
20799 #, no-wrap
20800 msgid ""
20801 " sleep secs\n"
20802 "\n"
20803 msgstr ""
20804
20805 # type: =head2
20806 #: ../fish/guestfish-actions.pod:3518
20807 msgid "stat"
20808 msgstr ""
20809
20810 # type: verbatim
20811 #: ../fish/guestfish-actions.pod:3520
20812 #, no-wrap
20813 msgid ""
20814 " stat path\n"
20815 "\n"
20816 msgstr ""
20817
20818 # type: =head2
20819 #: ../fish/guestfish-actions.pod:3526
20820 msgid "statvfs"
20821 msgstr ""
20822
20823 # type: verbatim
20824 #: ../fish/guestfish-actions.pod:3528
20825 #, no-wrap
20826 msgid ""
20827 " statvfs path\n"
20828 "\n"
20829 msgstr ""
20830
20831 # type: =head2
20832 #: ../fish/guestfish-actions.pod:3536
20833 msgid "strings"
20834 msgstr ""
20835
20836 # type: verbatim
20837 #: ../fish/guestfish-actions.pod:3538
20838 #, no-wrap
20839 msgid ""
20840 " strings path\n"
20841 "\n"
20842 msgstr ""
20843
20844 # type: =head2
20845 #: ../fish/guestfish-actions.pod:3546
20846 msgid "strings-e"
20847 msgstr ""
20848
20849 # type: verbatim
20850 #: ../fish/guestfish-actions.pod:3548
20851 #, no-wrap
20852 msgid ""
20853 " strings-e encoding path\n"
20854 "\n"
20855 msgstr ""
20856
20857 # type: textblock
20858 #: ../fish/guestfish-actions.pod:3550
20859 msgid ""
20860 "This is like the C<strings> command, but allows you to specify the encoding "
20861 "of strings that are looked for in the source file C<path>."
20862 msgstr ""
20863
20864 # type: textblock
20865 #: ../fish/guestfish-actions.pod:3560
20866 msgid ""
20867 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
20868 "ISO-8859-X (this is what C<strings> uses)."
20869 msgstr ""
20870
20871 # type: =head2
20872 #: ../fish/guestfish-actions.pod:3592
20873 msgid "swapoff-device"
20874 msgstr ""
20875
20876 # type: verbatim
20877 #: ../fish/guestfish-actions.pod:3594
20878 #, no-wrap
20879 msgid ""
20880 " swapoff-device device\n"
20881 "\n"
20882 msgstr ""
20883
20884 # type: textblock
20885 #: ../fish/guestfish-actions.pod:3596
20886 msgid ""
20887 "This command disables the libguestfs appliance swap device or partition "
20888 "named C<device>.  See C<swapon-device>."
20889 msgstr ""
20890
20891 # type: =head2
20892 #: ../fish/guestfish-actions.pod:3600
20893 msgid "swapoff-file"
20894 msgstr ""
20895
20896 # type: verbatim
20897 #: ../fish/guestfish-actions.pod:3602
20898 #, no-wrap
20899 msgid ""
20900 " swapoff-file file\n"
20901 "\n"
20902 msgstr ""
20903
20904 # type: =head2
20905 #: ../fish/guestfish-actions.pod:3606
20906 msgid "swapoff-label"
20907 msgstr ""
20908
20909 # type: verbatim
20910 #: ../fish/guestfish-actions.pod:3608
20911 #, no-wrap
20912 msgid ""
20913 " swapoff-label label\n"
20914 "\n"
20915 msgstr ""
20916
20917 # type: =head2
20918 #: ../fish/guestfish-actions.pod:3613
20919 msgid "swapoff-uuid"
20920 msgstr ""
20921
20922 # type: verbatim
20923 #: ../fish/guestfish-actions.pod:3615
20924 #, no-wrap
20925 msgid ""
20926 " swapoff-uuid uuid\n"
20927 "\n"
20928 msgstr ""
20929
20930 # type: =head2
20931 #: ../fish/guestfish-actions.pod:3620
20932 msgid "swapon-device"
20933 msgstr ""
20934
20935 # type: verbatim
20936 #: ../fish/guestfish-actions.pod:3622
20937 #, no-wrap
20938 msgid ""
20939 " swapon-device device\n"
20940 "\n"
20941 msgstr ""
20942
20943 # type: textblock
20944 #: ../fish/guestfish-actions.pod:3624
20945 msgid ""
20946 "This command enables the libguestfs appliance to use the swap device or "
20947 "partition named C<device>.  The increased memory is made available for all "
20948 "commands, for example those run using C<command> or C<sh>."
20949 msgstr ""
20950
20951 # type: =head2
20952 #: ../fish/guestfish-actions.pod:3636
20953 msgid "swapon-file"
20954 msgstr ""
20955
20956 # type: verbatim
20957 #: ../fish/guestfish-actions.pod:3638
20958 #, no-wrap
20959 msgid ""
20960 " swapon-file file\n"
20961 "\n"
20962 msgstr ""
20963
20964 # type: textblock
20965 #: ../fish/guestfish-actions.pod:3640
20966 msgid "This command enables swap to a file.  See C<swapon-device> for other notes."
20967 msgstr ""
20968
20969 # type: =head2
20970 #: ../fish/guestfish-actions.pod:3643
20971 msgid "swapon-label"
20972 msgstr ""
20973
20974 # type: verbatim
20975 #: ../fish/guestfish-actions.pod:3645
20976 #, no-wrap
20977 msgid ""
20978 " swapon-label label\n"
20979 "\n"
20980 msgstr ""
20981
20982 # type: textblock
20983 #: ../fish/guestfish-actions.pod:3647
20984 msgid ""
20985 "This command enables swap to a labeled swap partition.  See C<swapon-device> "
20986 "for other notes."
20987 msgstr ""
20988
20989 # type: =head2
20990 #: ../fish/guestfish-actions.pod:3650
20991 msgid "swapon-uuid"
20992 msgstr ""
20993
20994 # type: verbatim
20995 #: ../fish/guestfish-actions.pod:3652
20996 #, no-wrap
20997 msgid ""
20998 " swapon-uuid uuid\n"
20999 "\n"
21000 msgstr ""
21001
21002 # type: textblock
21003 #: ../fish/guestfish-actions.pod:3654
21004 msgid ""
21005 "This command enables swap to a swap partition with the given UUID.  See "
21006 "C<swapon-device> for other notes."
21007 msgstr ""
21008
21009 # type: =head2
21010 #: ../fish/guestfish-actions.pod:3657
21011 msgid "sync"
21012 msgstr ""
21013
21014 # type: verbatim
21015 #: ../fish/guestfish-actions.pod:3659
21016 #, no-wrap
21017 msgid ""
21018 " sync\n"
21019 "\n"
21020 msgstr ""
21021
21022 # type: =head2
21023 #: ../fish/guestfish-actions.pod:3667
21024 msgid "tail"
21025 msgstr ""
21026
21027 # type: verbatim
21028 #: ../fish/guestfish-actions.pod:3669
21029 #, no-wrap
21030 msgid ""
21031 " tail path\n"
21032 "\n"
21033 msgstr ""
21034
21035 # type: =head2
21036 #: ../fish/guestfish-actions.pod:3677
21037 msgid "tail-n"
21038 msgstr ""
21039
21040 # type: verbatim
21041 #: ../fish/guestfish-actions.pod:3679
21042 #, no-wrap
21043 msgid ""
21044 " tail-n nrlines path\n"
21045 "\n"
21046 msgstr ""
21047
21048 # type: =head2
21049 #: ../fish/guestfish-actions.pod:3692
21050 msgid "tar-in"
21051 msgstr ""
21052
21053 # type: verbatim
21054 #: ../fish/guestfish-actions.pod:3694
21055 #, no-wrap
21056 msgid ""
21057 " tar-in (tarfile|-) directory\n"
21058 "\n"
21059 msgstr ""
21060
21061 # type: textblock
21062 #: ../fish/guestfish-actions.pod:3699
21063 msgid "To upload a compressed tarball, use C<tgz-in> or C<txz-in>."
21064 msgstr ""
21065
21066 # type: =head2
21067 #: ../fish/guestfish-actions.pod:3704
21068 msgid "tar-out"
21069 msgstr ""
21070
21071 # type: verbatim
21072 #: ../fish/guestfish-actions.pod:3706
21073 #, no-wrap
21074 msgid ""
21075 " tar-out directory (tarfile|-)\n"
21076 "\n"
21077 msgstr ""
21078
21079 # type: textblock
21080 #: ../fish/guestfish-actions.pod:3711
21081 msgid "To download a compressed tarball, use C<tgz-out> or C<txz-out>."
21082 msgstr ""
21083
21084 # type: =head2
21085 #: ../fish/guestfish-actions.pod:3716
21086 msgid "tgz-in"
21087 msgstr ""
21088
21089 # type: verbatim
21090 #: ../fish/guestfish-actions.pod:3718
21091 #, no-wrap
21092 msgid ""
21093 " tgz-in (tarball|-) directory\n"
21094 "\n"
21095 msgstr ""
21096
21097 # type: textblock
21098 #: ../fish/guestfish-actions.pod:3723
21099 msgid "To upload an uncompressed tarball, use C<tar-in>."
21100 msgstr ""
21101
21102 # type: =head2
21103 #: ../fish/guestfish-actions.pod:3727
21104 msgid "tgz-out"
21105 msgstr ""
21106
21107 # type: verbatim
21108 #: ../fish/guestfish-actions.pod:3729
21109 #, no-wrap
21110 msgid ""
21111 " tgz-out directory (tarball|-)\n"
21112 "\n"
21113 msgstr ""
21114
21115 # type: textblock
21116 #: ../fish/guestfish-actions.pod:3734
21117 msgid "To download an uncompressed tarball, use C<tar-out>."
21118 msgstr ""
21119
21120 # type: =head2
21121 #: ../fish/guestfish-actions.pod:3738
21122 msgid "touch"
21123 msgstr ""
21124
21125 # type: verbatim
21126 #: ../fish/guestfish-actions.pod:3740
21127 #, no-wrap
21128 msgid ""
21129 " touch path\n"
21130 "\n"
21131 msgstr ""
21132
21133 # type: =head2
21134 #: ../fish/guestfish-actions.pod:3749
21135 msgid "truncate"
21136 msgstr ""
21137
21138 # type: verbatim
21139 #: ../fish/guestfish-actions.pod:3751
21140 #, no-wrap
21141 msgid ""
21142 " truncate path\n"
21143 "\n"
21144 msgstr ""
21145
21146 # type: =head2
21147 #: ../fish/guestfish-actions.pod:3756
21148 msgid "truncate-size"
21149 msgstr ""
21150
21151 # type: verbatim
21152 #: ../fish/guestfish-actions.pod:3758
21153 #, no-wrap
21154 msgid ""
21155 " truncate-size path size\n"
21156 "\n"
21157 msgstr ""
21158
21159 # type: textblock
21160 #: ../fish/guestfish-actions.pod:3763
21161 msgid ""
21162 "If the current file size is less than C<size> then the file is extended to "
21163 "the required size with zero bytes.  This creates a sparse file (ie. disk "
21164 "blocks are not allocated for the file until you write to it).  To create a "
21165 "non-sparse file of zeroes, use C<fallocate64> instead."
21166 msgstr ""
21167
21168 # type: =head2
21169 #: ../fish/guestfish-actions.pod:3769
21170 msgid "tune2fs-l"
21171 msgstr ""
21172
21173 # type: verbatim
21174 #: ../fish/guestfish-actions.pod:3771
21175 #, no-wrap
21176 msgid ""
21177 " tune2fs-l device\n"
21178 "\n"
21179 msgstr ""
21180
21181 # type: =head2
21182 #: ../fish/guestfish-actions.pod:3781
21183 msgid "txz-in"
21184 msgstr ""
21185
21186 # type: verbatim
21187 #: ../fish/guestfish-actions.pod:3783
21188 #, no-wrap
21189 msgid ""
21190 " txz-in (tarball|-) directory\n"
21191 "\n"
21192 msgstr ""
21193
21194 # type: =head2
21195 #: ../fish/guestfish-actions.pod:3790
21196 msgid "txz-out"
21197 msgstr ""
21198
21199 # type: verbatim
21200 #: ../fish/guestfish-actions.pod:3792
21201 #, no-wrap
21202 msgid ""
21203 " txz-out directory (tarball|-)\n"
21204 "\n"
21205 msgstr ""
21206
21207 # type: =head2
21208 #: ../fish/guestfish-actions.pod:3799
21209 msgid "umask"
21210 msgstr ""
21211
21212 # type: verbatim
21213 #: ../fish/guestfish-actions.pod:3801
21214 #, no-wrap
21215 msgid ""
21216 " umask mask\n"
21217 "\n"
21218 msgstr ""
21219
21220 # type: textblock
21221 #: ../fish/guestfish-actions.pod:3815
21222 msgid "See also C<get-umask>, L<umask(2)>, C<mknod>, C<mkdir>."
21223 msgstr ""
21224
21225 # type: =head2
21226 #: ../fish/guestfish-actions.pod:3820
21227 msgid "umount | unmount"
21228 msgstr ""
21229
21230 # type: verbatim
21231 #: ../fish/guestfish-actions.pod:3822
21232 #, no-wrap
21233 msgid ""
21234 " umount pathordevice\n"
21235 "\n"
21236 msgstr ""
21237
21238 # type: =head2
21239 #: ../fish/guestfish-actions.pod:3828
21240 msgid "umount-all | unmount-all"
21241 msgstr ""
21242
21243 # type: verbatim
21244 #: ../fish/guestfish-actions.pod:3830
21245 #, no-wrap
21246 msgid ""
21247 " umount-all\n"
21248 "\n"
21249 msgstr ""
21250
21251 # type: =head2
21252 #: ../fish/guestfish-actions.pod:3836
21253 msgid "upload"
21254 msgstr ""
21255
21256 # type: verbatim
21257 #: ../fish/guestfish-actions.pod:3838
21258 #, no-wrap
21259 msgid ""
21260 " upload (filename|-) remotefilename\n"
21261 "\n"
21262 msgstr ""
21263
21264 # type: textblock
21265 #: ../fish/guestfish-actions.pod:3845
21266 msgid "See also C<download>."
21267 msgstr ""
21268
21269 # type: =head2
21270 #: ../fish/guestfish-actions.pod:3849
21271 msgid "utimens"
21272 msgstr ""
21273
21274 # type: verbatim
21275 #: ../fish/guestfish-actions.pod:3851
21276 #, no-wrap
21277 msgid ""
21278 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
21279 "\n"
21280 msgstr ""
21281
21282 # type: =head2
21283 #: ../fish/guestfish-actions.pod:3870
21284 msgid "version"
21285 msgstr ""
21286
21287 # type: verbatim
21288 #: ../fish/guestfish-actions.pod:3872
21289 #, no-wrap
21290 msgid ""
21291 " version\n"
21292 "\n"
21293 msgstr ""
21294
21295 # type: textblock
21296 #: ../fish/guestfish-actions.pod:3899
21297 msgid ""
21298 "I<Note:> Don't use this call to test for availability of features.  In "
21299 "enterprise distributions we backport features from later versions into "
21300 "earlier versions, making this an unreliable way to test for features.  Use "
21301 "C<available> instead."
21302 msgstr ""
21303
21304 # type: =head2
21305 #: ../fish/guestfish-actions.pod:3905
21306 msgid "vfs-label"
21307 msgstr ""
21308
21309 # type: verbatim
21310 #: ../fish/guestfish-actions.pod:3907
21311 #, no-wrap
21312 msgid ""
21313 " vfs-label device\n"
21314 "\n"
21315 msgstr ""
21316
21317 # type: textblock
21318 #: ../fish/guestfish-actions.pod:3914
21319 msgid "To find a filesystem from the label, use C<findfs-label>."
21320 msgstr ""
21321
21322 # type: =head2
21323 #: ../fish/guestfish-actions.pod:3916
21324 msgid "vfs-type"
21325 msgstr ""
21326
21327 # type: verbatim
21328 #: ../fish/guestfish-actions.pod:3918
21329 #, no-wrap
21330 msgid ""
21331 " vfs-type device\n"
21332 "\n"
21333 msgstr ""
21334
21335 # type: =head2
21336 #: ../fish/guestfish-actions.pod:3928
21337 msgid "vfs-uuid"
21338 msgstr ""
21339
21340 # type: verbatim
21341 #: ../fish/guestfish-actions.pod:3930
21342 #, no-wrap
21343 msgid ""
21344 " vfs-uuid device\n"
21345 "\n"
21346 msgstr ""
21347
21348 # type: textblock
21349 #: ../fish/guestfish-actions.pod:3937
21350 msgid "To find a filesystem from the UUID, use C<findfs-uuid>."
21351 msgstr ""
21352
21353 # type: =head2
21354 #: ../fish/guestfish-actions.pod:3939
21355 msgid "vg-activate"
21356 msgstr ""
21357
21358 # type: verbatim
21359 #: ../fish/guestfish-actions.pod:3941
21360 #, no-wrap
21361 msgid ""
21362 " vg-activate true|false 'volgroups ...'\n"
21363 "\n"
21364 msgstr ""
21365
21366 # type: =head2
21367 #: ../fish/guestfish-actions.pod:3954
21368 msgid "vg-activate-all"
21369 msgstr ""
21370
21371 # type: verbatim
21372 #: ../fish/guestfish-actions.pod:3956
21373 #, no-wrap
21374 msgid ""
21375 " vg-activate-all true|false\n"
21376 "\n"
21377 msgstr ""
21378
21379 # type: =head2
21380 #: ../fish/guestfish-actions.pod:3966
21381 msgid "vgcreate"
21382 msgstr ""
21383
21384 # type: verbatim
21385 #: ../fish/guestfish-actions.pod:3968
21386 #, no-wrap
21387 msgid ""
21388 " vgcreate volgroup 'physvols ...'\n"
21389 "\n"
21390 msgstr ""
21391
21392 # type: =head2
21393 #: ../fish/guestfish-actions.pod:3973
21394 msgid "vglvuuids"
21395 msgstr ""
21396
21397 # type: verbatim
21398 #: ../fish/guestfish-actions.pod:3975
21399 #, no-wrap
21400 msgid ""
21401 " vglvuuids vgname\n"
21402 "\n"
21403 msgstr ""
21404
21405 # type: textblock
21406 #: ../fish/guestfish-actions.pod:3980
21407 msgid ""
21408 "You can use this along with C<lvs> and C<lvuuid> calls to associate logical "
21409 "volumes and volume groups."
21410 msgstr ""
21411
21412 # type: textblock
21413 #: ../fish/guestfish-actions.pod:3983
21414 msgid "See also C<vgpvuuids>."
21415 msgstr ""
21416
21417 # type: =head2
21418 #: ../fish/guestfish-actions.pod:3985
21419 msgid "vgpvuuids"
21420 msgstr ""
21421
21422 # type: verbatim
21423 #: ../fish/guestfish-actions.pod:3987
21424 #, no-wrap
21425 msgid ""
21426 " vgpvuuids vgname\n"
21427 "\n"
21428 msgstr ""
21429
21430 # type: textblock
21431 #: ../fish/guestfish-actions.pod:3992
21432 msgid ""
21433 "You can use this along with C<pvs> and C<pvuuid> calls to associate physical "
21434 "volumes and volume groups."
21435 msgstr ""
21436
21437 # type: textblock
21438 #: ../fish/guestfish-actions.pod:3995
21439 msgid "See also C<vglvuuids>."
21440 msgstr ""
21441
21442 # type: =head2
21443 #: ../fish/guestfish-actions.pod:3997
21444 msgid "vgremove"
21445 msgstr ""
21446
21447 # type: verbatim
21448 #: ../fish/guestfish-actions.pod:3999
21449 #, no-wrap
21450 msgid ""
21451 " vgremove vgname\n"
21452 "\n"
21453 msgstr ""
21454
21455 # type: =head2
21456 #: ../fish/guestfish-actions.pod:4006
21457 msgid "vgrename"
21458 msgstr ""
21459
21460 # type: verbatim
21461 #: ../fish/guestfish-actions.pod:4008
21462 #, no-wrap
21463 msgid ""
21464 " vgrename volgroup newvolgroup\n"
21465 "\n"
21466 msgstr ""
21467
21468 # type: =head2
21469 #: ../fish/guestfish-actions.pod:4012
21470 msgid "vgs"
21471 msgstr ""
21472
21473 # type: verbatim
21474 #: ../fish/guestfish-actions.pod:4014
21475 #, no-wrap
21476 msgid ""
21477 " vgs\n"
21478 "\n"
21479 msgstr ""
21480
21481 # type: textblock
21482 #: ../fish/guestfish-actions.pod:4022
21483 msgid "See also C<vgs-full>."
21484 msgstr ""
21485
21486 # type: =head2
21487 #: ../fish/guestfish-actions.pod:4024
21488 msgid "vgs-full"
21489 msgstr ""
21490
21491 # type: verbatim
21492 #: ../fish/guestfish-actions.pod:4026
21493 #, no-wrap
21494 msgid ""
21495 " vgs-full\n"
21496 "\n"
21497 msgstr ""
21498
21499 # type: =head2
21500 #: ../fish/guestfish-actions.pod:4031
21501 msgid "vgscan"
21502 msgstr ""
21503
21504 # type: verbatim
21505 #: ../fish/guestfish-actions.pod:4033
21506 #, no-wrap
21507 msgid ""
21508 " vgscan\n"
21509 "\n"
21510 msgstr ""
21511
21512 # type: =head2
21513 #: ../fish/guestfish-actions.pod:4038
21514 msgid "vguuid"
21515 msgstr ""
21516
21517 # type: verbatim
21518 #: ../fish/guestfish-actions.pod:4040
21519 #, no-wrap
21520 msgid ""
21521 " vguuid vgname\n"
21522 "\n"
21523 msgstr ""
21524
21525 # type: =head2
21526 #: ../fish/guestfish-actions.pod:4044
21527 msgid "wc-c"
21528 msgstr ""
21529
21530 # type: verbatim
21531 #: ../fish/guestfish-actions.pod:4046
21532 #, no-wrap
21533 msgid ""
21534 " wc-c path\n"
21535 "\n"
21536 msgstr ""
21537
21538 # type: =head2
21539 #: ../fish/guestfish-actions.pod:4051
21540 msgid "wc-l"
21541 msgstr ""
21542
21543 # type: verbatim
21544 #: ../fish/guestfish-actions.pod:4053
21545 #, no-wrap
21546 msgid ""
21547 " wc-l path\n"
21548 "\n"
21549 msgstr ""
21550
21551 # type: =head2
21552 #: ../fish/guestfish-actions.pod:4058
21553 msgid "wc-w"
21554 msgstr ""
21555
21556 # type: verbatim
21557 #: ../fish/guestfish-actions.pod:4060
21558 #, no-wrap
21559 msgid ""
21560 " wc-w path\n"
21561 "\n"
21562 msgstr ""
21563
21564 # type: =head2
21565 #: ../fish/guestfish-actions.pod:4065
21566 msgid "write"
21567 msgstr ""
21568
21569 # type: verbatim
21570 #: ../fish/guestfish-actions.pod:4067
21571 #, no-wrap
21572 msgid ""
21573 " write path content\n"
21574 "\n"
21575 msgstr ""
21576
21577 # type: =head2
21578 #: ../fish/guestfish-actions.pod:4075
21579 msgid "write-file"
21580 msgstr ""
21581
21582 # type: verbatim
21583 #: ../fish/guestfish-actions.pod:4077
21584 #, no-wrap
21585 msgid ""
21586 " write-file path content size\n"
21587 "\n"
21588 msgstr ""
21589
21590 # type: =head2
21591 #: ../fish/guestfish-actions.pod:4100
21592 msgid "zegrep"
21593 msgstr ""
21594
21595 # type: verbatim
21596 #: ../fish/guestfish-actions.pod:4102
21597 #, no-wrap
21598 msgid ""
21599 " zegrep regex path\n"
21600 "\n"
21601 msgstr ""
21602
21603 # type: =head2
21604 #: ../fish/guestfish-actions.pod:4110
21605 msgid "zegrepi"
21606 msgstr ""
21607
21608 # type: verbatim
21609 #: ../fish/guestfish-actions.pod:4112
21610 #, no-wrap
21611 msgid ""
21612 " zegrepi regex path\n"
21613 "\n"
21614 msgstr ""
21615
21616 # type: =head2
21617 #: ../fish/guestfish-actions.pod:4120
21618 msgid "zero"
21619 msgstr ""
21620
21621 # type: verbatim
21622 #: ../fish/guestfish-actions.pod:4122
21623 #, no-wrap
21624 msgid ""
21625 " zero device\n"
21626 "\n"
21627 msgstr ""
21628
21629 # type: textblock
21630 #: ../fish/guestfish-actions.pod:4130
21631 msgid "See also: C<zero-device>, C<scrub-device>."
21632 msgstr ""
21633
21634 # type: =head2
21635 #: ../fish/guestfish-actions.pod:4132
21636 msgid "zero-device"
21637 msgstr ""
21638
21639 # type: verbatim
21640 #: ../fish/guestfish-actions.pod:4134
21641 #, no-wrap
21642 msgid ""
21643 " zero-device device\n"
21644 "\n"
21645 msgstr ""
21646
21647 # type: textblock
21648 #: ../fish/guestfish-actions.pod:4136
21649 msgid ""
21650 "This command writes zeroes over the entire C<device>.  Compare with C<zero> "
21651 "which just zeroes the first few blocks of a device."
21652 msgstr ""
21653
21654 # type: =head2
21655 #: ../fish/guestfish-actions.pod:4143
21656 msgid "zerofree"
21657 msgstr ""
21658
21659 # type: verbatim
21660 #: ../fish/guestfish-actions.pod:4145
21661 #, no-wrap
21662 msgid ""
21663 " zerofree device\n"
21664 "\n"
21665 msgstr ""
21666
21667 # type: =head2
21668 #: ../fish/guestfish-actions.pod:4158
21669 msgid "zfgrep"
21670 msgstr ""
21671
21672 # type: verbatim
21673 #: ../fish/guestfish-actions.pod:4160
21674 #, no-wrap
21675 msgid ""
21676 " zfgrep pattern path\n"
21677 "\n"
21678 msgstr ""
21679
21680 # type: =head2
21681 #: ../fish/guestfish-actions.pod:4168
21682 msgid "zfgrepi"
21683 msgstr ""
21684
21685 # type: verbatim
21686 #: ../fish/guestfish-actions.pod:4170
21687 #, no-wrap
21688 msgid ""
21689 " zfgrepi pattern path\n"
21690 "\n"
21691 msgstr ""
21692
21693 # type: =head2
21694 #: ../fish/guestfish-actions.pod:4178
21695 msgid "zfile"
21696 msgstr ""
21697
21698 # type: verbatim
21699 #: ../fish/guestfish-actions.pod:4180
21700 #, no-wrap
21701 msgid ""
21702 " zfile meth path\n"
21703 "\n"
21704 msgstr ""
21705
21706 # type: textblock
21707 #: ../fish/guestfish-actions.pod:4187
21708 msgid "Since 1.0.63, use C<file> instead which can now process compressed files."
21709 msgstr ""
21710
21711 # type: =head2
21712 #: ../fish/guestfish-actions.pod:4197
21713 msgid "zgrep"
21714 msgstr ""
21715
21716 # type: verbatim
21717 #: ../fish/guestfish-actions.pod:4199
21718 #, no-wrap
21719 msgid ""
21720 " zgrep regex path\n"
21721 "\n"
21722 msgstr ""
21723
21724 # type: =head2
21725 #: ../fish/guestfish-actions.pod:4207
21726 msgid "zgrepi"
21727 msgstr ""
21728
21729 # type: verbatim
21730 #: ../fish/guestfish-actions.pod:4209
21731 #, no-wrap
21732 msgid ""
21733 " zgrepi regex path\n"
21734 "\n"
21735 msgstr ""
21736
21737 # type: textblock
21738 #: ../test-tool/libguestfs-test-tool.pod:5
21739 msgid "libguestfs-test-tool - End user tests for libguestfs"
21740 msgstr ""
21741
21742 # type: verbatim
21743 #: ../test-tool/libguestfs-test-tool.pod:9
21744 #, no-wrap
21745 msgid ""
21746 " libguestfs-test-tool [--options]\n"
21747 "\n"
21748 msgstr ""
21749
21750 # type: textblock
21751 #: ../test-tool/libguestfs-test-tool.pod:13
21752 msgid ""
21753 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
21754 "and developers, to allow them to check basic libguestfs functionality is "
21755 "working.  This is needed because libguestfs occasionally breaks for reasons "
21756 "beyond our control: usually because of changes in the underlying qemu or "
21757 "kernel packages, or the host environment."
21758 msgstr ""
21759
21760 # type: textblock
21761 #: ../test-tool/libguestfs-test-tool.pod:20
21762 msgid "If you suspect a problem in libguestfs, then just run:"
21763 msgstr ""
21764
21765 # type: verbatim
21766 #: ../test-tool/libguestfs-test-tool.pod:22
21767 #, no-wrap
21768 msgid ""
21769 " libguestfs-test-tool\n"
21770 "\n"
21771 msgstr ""
21772
21773 # type: textblock
21774 #: ../test-tool/libguestfs-test-tool.pod:24
21775 msgid "It will print lots of diagnostic messages."
21776 msgstr ""
21777
21778 # type: textblock
21779 #: ../test-tool/libguestfs-test-tool.pod:26
21780 msgid "If it runs to completion successfully, you will see this near the end:"
21781 msgstr ""
21782
21783 # type: verbatim
21784 #: ../test-tool/libguestfs-test-tool.pod:28
21785 #, no-wrap
21786 msgid ""
21787 " ===== TEST FINISHED OK =====\n"
21788 "\n"
21789 msgstr ""
21790
21791 # type: textblock
21792 #: ../test-tool/libguestfs-test-tool.pod:30
21793 msgid "and the test tool will exit with code 0."
21794 msgstr ""
21795
21796 # type: textblock
21797 #: ../test-tool/libguestfs-test-tool.pod:32
21798 msgid ""
21799 "If it fails (and/or exits with non-zero error code), please paste the "
21800 "B<complete, unedited> output of the test tool into a bug report.  More "
21801 "information about reporting bugs can be found on the "
21802 "L<http://libguestfs.org/> website."
21803 msgstr ""
21804
21805 # type: =item
21806 #: ../test-tool/libguestfs-test-tool.pod:41
21807 msgid "I<--help>"
21808 msgstr ""
21809
21810 # type: textblock
21811 #: ../test-tool/libguestfs-test-tool.pod:43
21812 msgid "Display short usage information and exit."
21813 msgstr ""
21814
21815 # type: =item
21816 #: ../test-tool/libguestfs-test-tool.pod:45
21817 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
21818 msgstr ""
21819
21820 # type: textblock
21821 #: ../test-tool/libguestfs-test-tool.pod:47
21822 msgid ""
21823 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
21824 "normally look in the C<$libexec> directory that was configured when the tool "
21825 "was built."
21826 msgstr ""
21827
21828 # type: =item
21829 #: ../test-tool/libguestfs-test-tool.pod:51
21830 msgid "I<--qemu qemu_binary>"
21831 msgstr ""
21832
21833 # type: textblock
21834 #: ../test-tool/libguestfs-test-tool.pod:53
21835 msgid ""
21836 "If you have downloaded another qemu binary, point this option at the full "
21837 "path of the binary to try it."
21838 msgstr ""
21839
21840 # type: =item
21841 #: ../test-tool/libguestfs-test-tool.pod:56
21842 msgid "I<--qemudir qemu_source_dir>"
21843 msgstr ""
21844
21845 # type: textblock
21846 #: ../test-tool/libguestfs-test-tool.pod:58
21847 msgid ""
21848 "If you have compiled qemu from source, point this option at the source "
21849 "directory to try it."
21850 msgstr ""
21851
21852 # type: =item
21853 #: ../test-tool/libguestfs-test-tool.pod:61
21854 msgid "I<--timeout N>"
21855 msgstr ""
21856
21857 # type: textblock
21858 #: ../test-tool/libguestfs-test-tool.pod:63
21859 msgid ""
21860 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
21861 "does not usually need to be adjusted unless your machine is very slow."
21862 msgstr ""
21863
21864 # type: =head1
21865 #: ../test-tool/libguestfs-test-tool.pod:69
21866 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
21867 msgstr ""
21868
21869 # type: textblock
21870 #: ../test-tool/libguestfs-test-tool.pod:71
21871 msgid ""
21872 "If you have compiled another version of qemu from source and would like to "
21873 "try that, then you can use the I<--qemudir> option to point to the qemu "
21874 "source directory."
21875 msgstr ""
21876
21877 # type: textblock
21878 #: ../test-tool/libguestfs-test-tool.pod:75
21879 msgid ""
21880 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
21881 "option to point to the binary."
21882 msgstr ""
21883
21884 # type: textblock
21885 #: ../test-tool/libguestfs-test-tool.pod:78
21886 msgid ""
21887 "When using an alternate qemu with libguestfs, usually you would need to "
21888 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in "
21889 "L<guestfs(3)>).  libguestfs-test-tool writes a temporary qemu wrapper script "
21890 "when you use either of the I<--qemudir> or I<--qemu> options."
21891 msgstr ""
21892
21893 # type: textblock
21894 #: ../test-tool/libguestfs-test-tool.pod:85
21895 msgid ""
21896 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
21897 "I<1> if there was an error."
21898 msgstr ""
21899
21900 # type: =item
21901 #: ../test-tool/libguestfs-test-tool.pod:92
21902 msgid "/usr/libexec/libguestfs-test-tool-helper"
21903 msgstr ""
21904
21905 # type: textblock
21906 #: ../test-tool/libguestfs-test-tool.pod:94
21907 msgid ""
21908 "This helper program is run inside the appliance and provides additional "
21909 "tests."
21910 msgstr ""
21911
21912 # type: =item
21913 #: ../test-tool/libguestfs-test-tool.pod:97
21914 msgid "/usr/bin/mkisofs"
21915 msgstr ""
21916
21917 # type: textblock
21918 #: ../test-tool/libguestfs-test-tool.pod:99
21919 msgid ""
21920 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
21921 "which is used as part of the tests."
21922 msgstr ""
21923
21924 # type: textblock
21925 #: ../test-tool/libguestfs-test-tool.pod:106
21926 msgid ""
21927 "For the full list of environment variables which may affect libguestfs, "
21928 "please see the L<guestfs(3)> manual page."
21929 msgstr ""
21930
21931 # type: textblock
21932 #: ../test-tool/libguestfs-test-tool.pod:111
21933 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
21934 msgstr ""
21935
21936 # type: textblock
21937 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
21938 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
21939 msgstr ""
21940
21941 # type: textblock
21942 #: ../fuse/guestmount.pod:5
21943 msgid "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
21944 msgstr ""
21945
21946 # type: verbatim
21947 #: ../fuse/guestmount.pod:9
21948 #, no-wrap
21949 msgid ""
21950 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
21951 "\n"
21952 msgstr ""
21953
21954 # type: textblock
21955 #: ../fuse/guestmount.pod:13
21956 msgid ""
21957 "You must I<not> use C<guestmount> in read-write mode on live virtual "
21958 "machines.  If you do this, you risk disk corruption in the VM."
21959 msgstr ""
21960
21961 # type: textblock
21962 #: ../fuse/guestmount.pod:18
21963 msgid ""
21964 "The guestmount program can be used to mount virtual machine filesystems and "
21965 "other disk images on the host.  It uses libguestfs for access to the guest "
21966 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
21967 "a mountable device."
21968 msgstr ""
21969
21970 # type: textblock
21971 #: ../fuse/guestmount.pod:23
21972 msgid ""
21973 "Along with other options, you have to give at least one device (I<-a> "
21974 "option) and at least one mountpoint (I<-m> option).  How this works is "
21975 "better explained in the L<guestfish(1)> manual page, or you can use "
21976 "L<virt-inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help "
21977 "you."
21978 msgstr ""
21979
21980 # type: textblock
21981 #: ../fuse/guestmount.pod:29
21982 msgid ""
21983 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
21984 "by you, and the filesystem will not be visible to any other users unless you "
21985 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
21986 "the filesystem, use the C<fusermount -u> command."
21987 msgstr ""
21988
21989 # type: textblock
21990 #: ../fuse/guestmount.pod:37
21991 msgid ""
21992 "For a typical Windows guest which has its main filesystem on the first "
21993 "partition:"
21994 msgstr ""
21995
21996 # type: verbatim
21997 #: ../fuse/guestmount.pod:40
21998 #, no-wrap
21999 msgid ""
22000 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
22001 "\n"
22002 msgstr ""
22003
22004 # type: textblock
22005 #: ../fuse/guestmount.pod:42
22006 msgid ""
22007 "For a typical Linux guest which has a /boot filesystem on the first "
22008 "partition, and the root filesystem on a logical volume:"
22009 msgstr ""
22010
22011 # type: verbatim
22012 #: ../fuse/guestmount.pod:45
22013 #, no-wrap
22014 msgid ""
22015 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
22016 "\n"
22017 msgstr ""
22018
22019 # type: textblock
22020 #: ../fuse/guestmount.pod:47
22021 msgid ""
22022 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
22023 "mountpoints for you:"
22024 msgstr ""
22025
22026 # type: verbatim
22027 #: ../fuse/guestmount.pod:50
22028 #, no-wrap
22029 msgid ""
22030 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
22031 "\n"
22032 msgstr ""
22033
22034 # type: textblock
22035 #: ../fuse/guestmount.pod:52
22036 msgid ""
22037 "(or use --fish if you don't want it to be a read only mount).  The option is "
22038 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
22039 "with L<guestfish(1)>."
22040 msgstr ""
22041
22042 # type: textblock
22043 #: ../fuse/guestmount.pod:56
22044 msgid ""
22045 "If you don't know what filesystems are contained in a guest or disk image, "
22046 "use L<virt-list-filesystems(1)> first:"
22047 msgstr ""
22048
22049 # type: verbatim
22050 #: ../fuse/guestmount.pod:59
22051 #, no-wrap
22052 msgid ""
22053 " virt-list-filesystems MyGuest\n"
22054 "\n"
22055 msgstr ""
22056
22057 # type: textblock
22058 #: ../fuse/guestmount.pod:61
22059 msgid ""
22060 "If you want to trace the libguestfs calls but without excessive debugging, "
22061 "we recommend:"
22062 msgstr ""
22063
22064 # type: verbatim
22065 #: ../fuse/guestmount.pod:64
22066 #, no-wrap
22067 msgid ""
22068 " guestmount [-a ... -m ...] --trace /mnt\n"
22069 "\n"
22070 msgstr ""
22071
22072 # type: textblock
22073 #: ../fuse/guestmount.pod:66
22074 msgid "If you want to debug the program, we recommend:"
22075 msgstr ""
22076
22077 # type: verbatim
22078 #: ../fuse/guestmount.pod:68
22079 #, no-wrap
22080 msgid ""
22081 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
22082 "\n"
22083 msgstr ""
22084
22085 # type: textblock
22086 #: ../fuse/guestmount.pod:76
22087 msgid "Add a block device or virtual machine image."
22088 msgstr ""
22089
22090 # type: =item
22091 #: ../fuse/guestmount.pod:78
22092 msgid "B<--dir-cache-timeout N>"
22093 msgstr ""
22094
22095 # type: textblock
22096 #: ../fuse/guestmount.pod:80
22097 msgid ""
22098 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
22099 "seconds.  The readdir cache [actually, there are several semi-independent "
22100 "caches] is populated after a readdir(2) call with the stat and extended "
22101 "attributes of the files in the directory, in anticipation that they will be "
22102 "requested soon after."
22103 msgstr ""
22104
22105 # type: textblock
22106 #: ../fuse/guestmount.pod:86
22107 msgid ""
22108 "There is also a different attribute cache implemented by FUSE (see the FUSE "
22109 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
22110 "requests, only cache existing ones."
22111 msgstr ""
22112
22113 # type: =item
22114 #: ../fuse/guestmount.pod:90
22115 msgid "B<--fuse-help>"
22116 msgstr ""
22117
22118 # type: textblock
22119 #: ../fuse/guestmount.pod:92
22120 msgid "Display help on special FUSE options (see I<-o> below)."
22121 msgstr ""
22122
22123 # type: textblock
22124 #: ../fuse/guestmount.pod:96
22125 msgid "Display brief help and exit."
22126 msgstr ""
22127
22128 # type: =item
22129 #: ../fuse/guestmount.pod:98
22130 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
22131 msgstr ""
22132
22133 # type: textblock
22134 #: ../fuse/guestmount.pod:100
22135 msgid ""
22136 "Mount the named partition or logical volume on the given mountpoint B<in the "
22137 "guest> (this has nothing to do with mountpoints in the host)."
22138 msgstr ""
22139
22140 # type: textblock
22141 #: ../fuse/guestmount.pod:103
22142 msgid ""
22143 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
22144 "something on C</>."
22145 msgstr ""
22146
22147 # type: textblock
22148 #: ../fuse/guestmount.pod:108
22149 msgid ""
22150 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
22151 "unmounted.  If you specify this option, then we don't attempt to sync the "
22152 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
22153 msgstr ""
22154
22155 # type: =item
22156 #: ../fuse/guestmount.pod:113
22157 msgid "B<-o option> | B<--option option>"
22158 msgstr ""
22159
22160 # type: textblock
22161 #: ../fuse/guestmount.pod:115
22162 msgid "Pass extra options to FUSE."
22163 msgstr ""
22164
22165 # type: textblock
22166 #: ../fuse/guestmount.pod:117
22167 msgid ""
22168 "To get a list of all the extra options supported by FUSE, use the command "
22169 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
22170 "of them are a good idea."
22171 msgstr ""
22172
22173 # type: verbatim
22174 #: ../fuse/guestmount.pod:121
22175 #, no-wrap
22176 msgid ""
22177 " guestmount --fuse-help\n"
22178 "\n"
22179 msgstr ""
22180
22181 # type: textblock
22182 #: ../fuse/guestmount.pod:123
22183 msgid "Some potentially useful FUSE options:"
22184 msgstr ""
22185
22186 # type: =item
22187 #: ../fuse/guestmount.pod:127
22188 msgid "B<-o allow_other>"
22189 msgstr ""
22190
22191 # type: textblock
22192 #: ../fuse/guestmount.pod:129
22193 msgid "Allow other users to see the filesystem."
22194 msgstr ""
22195
22196 # type: =item
22197 #: ../fuse/guestmount.pod:131
22198 msgid "B<-o attr_timeout=N>"
22199 msgstr ""
22200
22201 # type: textblock
22202 #: ../fuse/guestmount.pod:133
22203 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
22204 msgstr ""
22205
22206 # type: =item
22207 #: ../fuse/guestmount.pod:135
22208 msgid "B<-o kernel_cache>"
22209 msgstr ""
22210
22211 # type: textblock
22212 #: ../fuse/guestmount.pod:137
22213 msgid ""
22214 "Allow the kernel to cache files (reduces the number of reads that have to go "
22215 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
22216 "afford the extra memory usage."
22217 msgstr ""
22218
22219 # type: =item
22220 #: ../fuse/guestmount.pod:141
22221 msgid "B<-o uid=N> B<-o gid=N>"
22222 msgstr ""
22223
22224 # type: textblock
22225 #: ../fuse/guestmount.pod:143
22226 msgid ""
22227 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
22228 "the chosen values."
22229 msgstr ""
22230
22231 # type: textblock
22232 #: ../fuse/guestmount.pod:150
22233 msgid ""
22234 "Add devices and mount everything read-only.  Also disallow writes and make "
22235 "the disk appear read-only to FUSE."
22236 msgstr ""
22237
22238 # type: textblock
22239 #: ../fuse/guestmount.pod:153
22240 msgid ""
22241 "This is highly recommended if you are not going to edit the guest disk.  If "
22242 "the guest is running and this option is I<not> supplied, then there is a "
22243 "strong risk of disk corruption in the guest.  We try to prevent this from "
22244 "happening, but it is not always possible."
22245 msgstr ""
22246
22247 # type: textblock
22248 #: ../fuse/guestmount.pod:160
22249 msgid "Enable SELinux support for the guest."
22250 msgstr ""
22251
22252 # type: =item
22253 #: ../fuse/guestmount.pod:162
22254 msgid "B<--trace>"
22255 msgstr ""
22256
22257 # type: textblock
22258 #: ../fuse/guestmount.pod:164
22259 msgid "Trace libguestfs calls (to stderr)."
22260 msgstr ""
22261
22262 # type: textblock
22263 #: ../fuse/guestmount.pod:166
22264 msgid "This also stops the daemon from forking into the background."
22265 msgstr ""
22266
22267 # type: textblock
22268 #: ../fuse/guestmount.pod:170
22269 msgid "Enable verbose messages from underlying libguestfs."
22270 msgstr ""
22271
22272 # type: textblock
22273 #: ../fuse/guestmount.pod:174
22274 msgid "Display the program version and exit."
22275 msgstr ""
22276
22277 # type: textblock
22278 #: ../fuse/guestmount.pod:180
22279 msgid ""
22280 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
22281 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, "
22282 "L<http://fuse.sf.net/>."
22283 msgstr ""
22284
22285 # type: textblock
22286 #: ../inspector/virt-inspector.pl:40
22287 msgid ""
22288 "virt-inspector - Display OS version, kernel, drivers, mount points, "
22289 "applications, etc. in a virtual machine"
22290 msgstr ""
22291
22292 # type: verbatim
22293 #: ../inspector/virt-inspector.pl:44
22294 #, no-wrap
22295 msgid ""
22296 " virt-inspector [--connect URI] domname\n"
22297 "\n"
22298 msgstr ""
22299
22300 # type: verbatim
22301 #: ../inspector/virt-inspector.pl:46
22302 #, no-wrap
22303 msgid ""
22304 " virt-inspector guest.img [guest.img ...]\n"
22305 "\n"
22306 msgstr ""
22307
22308 # type: textblock
22309 #: ../inspector/virt-inspector.pl:50
22310 msgid ""
22311 "B<virt-inspector> examines a virtual machine and tries to determine the "
22312 "version of the OS, the kernel version, what drivers are installed, whether "
22313 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
22314 "applications are installed and more."
22315 msgstr ""
22316
22317 # type: textblock
22318 #: ../inspector/virt-inspector.pl:55
22319 msgid ""
22320 "Virt-inspector can produce output in several formats, including a readable "
22321 "text report, and XML for feeding into other programs."
22322 msgstr ""
22323
22324 # type: textblock
22325 #: ../inspector/virt-inspector.pl:58
22326 msgid ""
22327 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
22328 "libvirt domain (see: C<virsh list --all>)."
22329 msgstr ""
22330
22331 # type: textblock
22332 #: ../inspector/virt-inspector.pl:61
22333 msgid ""
22334 "You can also run virt-inspector directly on disk images from a single "
22335 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
22336 "has several block devices, in which case you should list them one after "
22337 "another, with the first corresponding to the guest's C</dev/sda>, the second "
22338 "to the guest's C</dev/sdb> and so on."
22339 msgstr ""
22340
22341 # type: textblock
22342 #: ../inspector/virt-inspector.pl:67
22343 msgid ""
22344 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
22345 "inspect several virtual machines, you have to run virt-inspector several "
22346 "times (for example, from a shell script for-loop)."
22347 msgstr ""
22348
22349 # type: textblock
22350 #: ../inspector/virt-inspector.pl:72
22351 msgid ""
22352 "Because virt-inspector needs direct access to guest images, it won't "
22353 "normally work over remote libvirt connections."
22354 msgstr ""
22355
22356 # type: textblock
22357 #: ../inspector/virt-inspector.pl:85 ../tools/virt-cat.pl:90 ../tools/virt-df.pl:81 ../tools/virt-edit.pl:83 ../tools/virt-list-filesystems.pl:60 ../tools/virt-list-partitions.pl:61 ../tools/virt-ls.pl:89 ../tools/virt-make-fs.pl:163 ../tools/virt-rescue.pl:113 ../tools/virt-tar.pl:109 ../tools/virt-win-reg.pl:182
22358 msgid "Display brief help."
22359 msgstr ""
22360
22361 # type: =item
22362 #: ../inspector/virt-inspector.pl:91 ../tools/virt-cat.pl:96 ../tools/virt-df.pl:87 ../tools/virt-edit.pl:89 ../tools/virt-list-filesystems.pl:66 ../tools/virt-list-partitions.pl:67 ../tools/virt-ls.pl:95 ../tools/virt-make-fs.pl:169 ../tools/virt-rescue.pl:119 ../tools/virt-resize.pl:249 ../tools/virt-tar.pl:115 ../tools/virt-win-reg.pl:188
22363 msgid "B<--version>"
22364 msgstr ""
22365
22366 # type: textblock
22367 #: ../inspector/virt-inspector.pl:93 ../tools/virt-cat.pl:98 ../tools/virt-df.pl:89 ../tools/virt-edit.pl:91 ../tools/virt-list-filesystems.pl:68 ../tools/virt-list-partitions.pl:69 ../tools/virt-ls.pl:97 ../tools/virt-make-fs.pl:171 ../tools/virt-rescue.pl:121 ../tools/virt-resize.pl:251 ../tools/virt-tar.pl:117 ../tools/virt-win-reg.pl:190
22368 msgid "Display version number and exit."
22369 msgstr ""
22370
22371 # type: =item
22372 #: ../inspector/virt-inspector.pl:99 ../tools/virt-cat.pl:104 ../tools/virt-df.pl:95 ../tools/virt-edit.pl:113 ../tools/virt-list-filesystems.pl:74 ../tools/virt-list-partitions.pl:75 ../tools/virt-ls.pl:103 ../tools/virt-rescue.pl:135 ../tools/virt-tar.pl:123 ../tools/virt-win-reg.pl:204
22373 msgid "B<--connect URI> | B<-c URI>"
22374 msgstr ""
22375
22376 # type: textblock
22377 #: ../inspector/virt-inspector.pl:101 ../tools/virt-cat.pl:106 ../tools/virt-df.pl:97 ../tools/virt-edit.pl:115 ../tools/virt-list-filesystems.pl:76 ../tools/virt-list-partitions.pl:77 ../tools/virt-ls.pl:105 ../tools/virt-rescue.pl:137 ../tools/virt-tar.pl:125 ../tools/virt-win-reg.pl:206
22378 msgid ""
22379 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
22380 "to the default libvirt hypervisor."
22381 msgstr ""
22382
22383 # type: textblock
22384 #: ../inspector/virt-inspector.pl:104
22385 msgid ""
22386 "Libvirt is only used if you specify a C<domname> on the command line.  If "
22387 "you specify guest block devices directly, then libvirt is not used at all."
22388 msgstr ""
22389
22390 # type: textblock
22391 #: ../inspector/virt-inspector.pl:114
22392 msgid ""
22393 "The following options select the output format.  Use only one of them.  The "
22394 "default is a readable text report."
22395 msgstr ""
22396
22397 # type: =item
22398 #: ../inspector/virt-inspector.pl:119
22399 msgid "B<--text> (default)"
22400 msgstr ""
22401
22402 # type: textblock
22403 #: ../inspector/virt-inspector.pl:121
22404 msgid "Plain text report."
22405 msgstr ""
22406
22407 # type: =item
22408 #: ../inspector/virt-inspector.pl:123
22409 msgid "B<--none>"
22410 msgstr ""
22411
22412 # type: textblock
22413 #: ../inspector/virt-inspector.pl:125
22414 msgid "Produce no output at all."
22415 msgstr ""
22416
22417 # type: =item
22418 #: ../inspector/virt-inspector.pl:127
22419 msgid "B<--xml>"
22420 msgstr ""
22421
22422 # type: textblock
22423 #: ../inspector/virt-inspector.pl:129
22424 msgid ""
22425 "If you select I<--xml> then you get XML output which can be fed to other "
22426 "programs."
22427 msgstr ""
22428
22429 # type: =item
22430 #: ../inspector/virt-inspector.pl:132
22431 msgid "B<--yaml>"
22432 msgstr ""
22433
22434 # type: textblock
22435 #: ../inspector/virt-inspector.pl:134
22436 msgid ""
22437 "If you select I<--yaml> then you get YAML output which can be fed to other "
22438 "programs."
22439 msgstr ""
22440
22441 # type: =item
22442 #: ../inspector/virt-inspector.pl:137
22443 msgid "B<--perl>"
22444 msgstr ""
22445
22446 # type: textblock
22447 #: ../inspector/virt-inspector.pl:139
22448 msgid ""
22449 "If you select I<--perl> then you get Perl structures output which can be "
22450 "used directly in another Perl program."
22451 msgstr ""
22452
22453 # type: =item
22454 #: ../inspector/virt-inspector.pl:142
22455 msgid "B<--fish>"
22456 msgstr ""
22457
22458 # type: =item
22459 #: ../inspector/virt-inspector.pl:144
22460 msgid "B<--ro-fish>"
22461 msgstr ""
22462
22463 # type: textblock
22464 #: ../inspector/virt-inspector.pl:146
22465 msgid ""
22466 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
22467 "will automatically mount up the filesystems on the correct mount points.  "
22468 "Try this for example:"
22469 msgstr ""
22470
22471 # type: verbatim
22472 #: ../inspector/virt-inspector.pl:150
22473 #, no-wrap
22474 msgid ""
22475 " guestfish $(virt-inspector --fish guest.img)\n"
22476 "\n"
22477 msgstr ""
22478
22479 # type: textblock
22480 #: ../inspector/virt-inspector.pl:152
22481 msgid ""
22482 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
22483 "that the filesystems are mounted read-only."
22484 msgstr ""
22485
22486 # type: =item
22487 #: ../inspector/virt-inspector.pl:155
22488 msgid "B<--query>"
22489 msgstr ""
22490
22491 # type: textblock
22492 #: ../inspector/virt-inspector.pl:157
22493 msgid ""
22494 "In \"query mode\" we answer common questions about the guest, such as "
22495 "whether it is fullvirt or needs a Xen hypervisor to run."
22496 msgstr ""
22497
22498 # type: textblock
22499 #: ../inspector/virt-inspector.pl:160
22500 msgid "See section I<QUERY MODE> below."
22501 msgstr ""
22502
22503 # type: =item
22504 #: ../inspector/virt-inspector.pl:166
22505 msgid "B<--windows-registry>"
22506 msgstr ""
22507
22508 # type: textblock
22509 #: ../inspector/virt-inspector.pl:168
22510 msgid ""
22511 "This flag is ignored for compatibility with earlier releases of the "
22512 "software."
22513 msgstr ""
22514
22515 # type: textblock
22516 #: ../inspector/virt-inspector.pl:171
22517 msgid ""
22518 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
22519 "information out of the Registry for any Windows guest."
22520 msgstr ""
22521
22522 # type: =head1
22523 #: ../inspector/virt-inspector.pl:218
22524 msgid "OUTPUT FORMAT"
22525 msgstr ""
22526
22527 # type: verbatim
22528 #: ../inspector/virt-inspector.pl:220
22529 #, no-wrap
22530 msgid ""
22531 " Operating system(s)\n"
22532 " -------------------\n"
22533 " Linux (distro + version)\n"
22534 " Windows (version)\n"
22535 "    |\n"
22536 "    |\n"
22537 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
22538 "         -----------            --------------     ----------------\n"
22539 "         mount point => device  List of apps       Extra information\n"
22540 "         mount point => device  and versions       about kernel(s)\n"
22541 "              ...                                  and drivers\n"
22542 "         swap => swap device\n"
22543 "         (plus lots of extra information\n"
22544 "         about each filesystem)\n"
22545 "\n"
22546 msgstr ""
22547
22548 # type: textblock
22549 #: ../inspector/virt-inspector.pl:235
22550 msgid "The output of virt-inspector is a complex two-level data structure."
22551 msgstr ""
22552
22553 # type: textblock
22554 #: ../inspector/virt-inspector.pl:237
22555 msgid ""
22556 "At the top level is a list of the operating systems installed on the guest.  "
22557 "(For the vast majority of guests, only a single OS is installed.)  The data "
22558 "returned for the OS includes the name (Linux, Windows), the distribution and "
22559 "version."
22560 msgstr ""
22561
22562 # type: textblock
22563 #: ../inspector/virt-inspector.pl:242
22564 msgid "The diagram above shows what we return for each OS."
22565 msgstr ""
22566
22567 # type: textblock
22568 #: ../inspector/virt-inspector.pl:244
22569 msgid ""
22570 "With the I<--xml> option the output is mapped into an XML document.  There "
22571 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
22572 "normally ships with virt-inspector, or can be found in the source."
22573 msgstr ""
22574
22575 # type: textblock
22576 #: ../inspector/virt-inspector.pl:249
22577 msgid ""
22578 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
22579 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
22580 "and inspect the guest with everything mounted in the right place.  For "
22581 "example:"
22582 msgstr ""
22583
22584 # type: verbatim
22585 #: ../inspector/virt-inspector.pl:254
22586 #, no-wrap
22587 msgid ""
22588 " guestfish $(virt-inspector --ro-fish guest.img)\n"
22589 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
22590 "\n"
22591 msgstr ""
22592
22593 # type: =head1
22594 #: ../inspector/virt-inspector.pl:589
22595 msgid "QUERY MODE"
22596 msgstr ""
22597
22598 # type: textblock
22599 #: ../inspector/virt-inspector.pl:591
22600 msgid ""
22601 "When you use C<virt-inspector --query>, the output is a series of lines of "
22602 "the form:"
22603 msgstr ""
22604
22605 # type: verbatim
22606 #: ../inspector/virt-inspector.pl:594
22607 #, no-wrap
22608 msgid ""
22609 " windows=no\n"
22610 " linux=yes\n"
22611 " fullvirt=yes\n"
22612 " xen_pv_drivers=no\n"
22613 "\n"
22614 msgstr ""
22615
22616 # type: textblock
22617 #: ../inspector/virt-inspector.pl:599
22618 msgid ""
22619 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
22620 "if we could not determine the answer at all)."
22621 msgstr ""
22622
22623 # type: textblock
22624 #: ../inspector/virt-inspector.pl:602
22625 msgid ""
22626 "If the guest is multiboot, you can get apparently conflicting answers "
22627 "(eg. C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and "
22628 "has a Xen PV kernel).  This is normal, and just means that the guest can do "
22629 "both things, although it might require operator intervention such as "
22630 "selecting a boot option when the guest is booting."
22631 msgstr ""
22632
22633 # type: textblock
22634 #: ../inspector/virt-inspector.pl:609
22635 msgid "This section describes the full range of answers possible."
22636 msgstr ""
22637
22638 # type: =item
22639 #: ../inspector/virt-inspector.pl:630
22640 msgid "windows=(yes|no)"
22641 msgstr ""
22642
22643 # type: textblock
22644 #: ../inspector/virt-inspector.pl:632
22645 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
22646 msgstr ""
22647
22648 # type: =item
22649 #: ../inspector/virt-inspector.pl:645
22650 msgid "linux=(yes|no)"
22651 msgstr ""
22652
22653 # type: textblock
22654 #: ../inspector/virt-inspector.pl:647
22655 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
22656 msgstr ""
22657
22658 # type: =item
22659 #: ../inspector/virt-inspector.pl:660
22660 msgid "rhel=(yes|no)"
22661 msgstr ""
22662
22663 # type: textblock
22664 #: ../inspector/virt-inspector.pl:662
22665 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
22666 msgstr ""
22667
22668 # type: =item
22669 #: ../inspector/virt-inspector.pl:676
22670 msgid "fedora=(yes|no)"
22671 msgstr ""
22672
22673 # type: textblock
22674 #: ../inspector/virt-inspector.pl:678
22675 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
22676 msgstr ""
22677
22678 # type: =item
22679 #: ../inspector/virt-inspector.pl:691
22680 msgid "debian=(yes|no)"
22681 msgstr ""
22682
22683 # type: textblock
22684 #: ../inspector/virt-inspector.pl:693
22685 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
22686 msgstr ""
22687
22688 # type: =item
22689 #: ../inspector/virt-inspector.pl:706
22690 msgid "fullvirt=(yes|no)"
22691 msgstr ""
22692
22693 # type: textblock
22694 #: ../inspector/virt-inspector.pl:708
22695 msgid ""
22696 "Answer C<yes> if there is at least one operating system kernel installed in "
22697 "the guest which runs fully virtualized.  Such a guest would require a "
22698 "hypervisor which supports full system virtualization."
22699 msgstr ""
22700
22701 # type: =item
22702 #: ../inspector/virt-inspector.pl:731
22703 msgid "xen_domU_kernel=(yes|no)"
22704 msgstr ""
22705
22706 # type: textblock
22707 #: ../inspector/virt-inspector.pl:733
22708 msgid ""
22709 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
22710 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
22711 msgstr ""
22712
22713 # type: =item
22714 #: ../inspector/virt-inspector.pl:753
22715 msgid "xen_pv_drivers=(yes|no)"
22716 msgstr ""
22717
22718 # type: textblock
22719 #: ../inspector/virt-inspector.pl:755
22720 msgid ""
22721 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
22722 "(usually the kernel itself will be fully virtualized, but the PV drivers "
22723 "have been installed by the administrator for performance reasons)."
22724 msgstr ""
22725
22726 # type: =item
22727 #: ../inspector/virt-inspector.pl:777
22728 msgid "virtio_drivers=(yes|no)"
22729 msgstr ""
22730
22731 # type: textblock
22732 #: ../inspector/virt-inspector.pl:779
22733 msgid ""
22734 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
22735 "Virtio drivers are commonly used to improve the performance of KVM."
22736 msgstr ""
22737
22738 # type: =item
22739 #: ../inspector/virt-inspector.pl:800
22740 msgid "userspace_arch=(x86_64|...)"
22741 msgstr ""
22742
22743 # type: textblock
22744 #: ../inspector/virt-inspector.pl:802
22745 msgid "Print the architecture of userspace."
22746 msgstr ""
22747
22748 # type: textblock
22749 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
22750 msgid "NB. For multi-boot VMs this can print several lines."
22751 msgstr ""
22752
22753 # type: =item
22754 #: ../inspector/virt-inspector.pl:821
22755 msgid "kernel_arch=(x86_64|...)"
22756 msgstr ""
22757
22758 # type: textblock
22759 #: ../inspector/virt-inspector.pl:823
22760 msgid "Print the architecture of the kernel."
22761 msgstr ""
22762
22763 # type: textblock
22764 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:484
22765 msgid ""
22766 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
22767 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
22768 msgstr ""
22769
22770 # type: textblock
22771 #: ../inspector/virt-inspector.pl:857 ../tools/virt-cat.pl:175 ../tools/virt-df.pl:493 ../tools/virt-edit.pl:339 ../tools/virt-list-filesystems.pl:205 ../tools/virt-list-partitions.pl:242 ../tools/virt-ls.pl:223 ../tools/virt-make-fs.pl:554 ../tools/virt-rescue.pl:243 ../tools/virt-resize.pl:1409 ../tools/virt-tar.pl:270 ../tools/virt-win-reg.pl:489
22772 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
22773 msgstr ""
22774
22775 # type: textblock
22776 #: ../inspector/virt-inspector.pl:859
22777 msgid "Matthew Booth L<mbooth@redhat.com>"
22778 msgstr ""
22779
22780 # type: textblock
22781 #: ../inspector/virt-inspector.pl:863 ../tools/virt-cat.pl:179 ../tools/virt-list-filesystems.pl:209 ../tools/virt-ls.pl:227 ../tools/virt-tar.pl:274
22782 msgid "Copyright (C) 2009 Red Hat Inc."
22783 msgstr ""
22784
22785 # type: textblock
22786 #: ../tools/virt-cat.pl:34
22787 msgid "virt-cat - Display a file in a virtual machine"
22788 msgstr ""
22789
22790 # type: verbatim
22791 #: ../tools/virt-cat.pl:38
22792 #, no-wrap
22793 msgid ""
22794 " virt-cat [--options] domname file\n"
22795 "\n"
22796 msgstr ""
22797
22798 # type: verbatim
22799 #: ../tools/virt-cat.pl:40
22800 #, no-wrap
22801 msgid ""
22802 " virt-cat [--options] disk.img [disk.img ...] file\n"
22803 "\n"
22804 msgstr ""
22805
22806 # type: textblock
22807 #: ../tools/virt-cat.pl:44
22808 msgid ""
22809 "C<virt-cat> is a command line tool to display the contents of C<file> where "
22810 "C<file> exists in the named virtual machine (or disk image)."
22811 msgstr ""
22812
22813 # type: textblock
22814 #: ../tools/virt-cat.pl:47
22815 msgid ""
22816 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
22817 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
22818 "tool."
22819 msgstr ""
22820
22821 # type: textblock
22822 #: ../tools/virt-cat.pl:53
22823 msgid "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
22824 msgstr ""
22825
22826 # type: verbatim
22827 #: ../tools/virt-cat.pl:56
22828 #, no-wrap
22829 msgid ""
22830 " virt-cat mydomain /etc/fstab\n"
22831 "\n"
22832 msgstr ""
22833
22834 # type: textblock
22835 #: ../tools/virt-cat.pl:58
22836 msgid "List syslog messages from a VM:"
22837 msgstr ""
22838
22839 # type: verbatim
22840 #: ../tools/virt-cat.pl:60
22841 #, no-wrap
22842 msgid ""
22843 " virt-cat mydomain /var/log/messages | tail\n"
22844 "\n"
22845 msgstr ""
22846
22847 # type: textblock
22848 #: ../tools/virt-cat.pl:62
22849 msgid "Find out what DHCP IP address a VM acquired:"
22850 msgstr ""
22851
22852 # type: verbatim
22853 #: ../tools/virt-cat.pl:64
22854 #, no-wrap
22855 msgid ""
22856 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
22857 "\n"
22858 msgstr ""
22859
22860 # type: textblock
22861 #: ../tools/virt-cat.pl:66
22862 msgid "Find out what packages were recently installed:"
22863 msgstr ""
22864
22865 # type: verbatim
22866 #: ../tools/virt-cat.pl:68
22867 #, no-wrap
22868 msgid ""
22869 " virt-cat mydomain /var/log/yum.log | tail\n"
22870 "\n"
22871 msgstr ""
22872
22873 # type: textblock
22874 #: ../tools/virt-cat.pl:70
22875 msgid "Find out who is logged on inside a virtual machine:"
22876 msgstr ""
22877
22878 # type: verbatim
22879 #: ../tools/virt-cat.pl:72
22880 #, no-wrap
22881 msgid ""
22882 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
22883 " who /tmp/utmp\n"
22884 "\n"
22885 msgstr ""
22886
22887 # type: textblock
22888 #: ../tools/virt-cat.pl:75
22889 msgid "or who was logged on:"
22890 msgstr ""
22891
22892 # type: verbatim
22893 #: ../tools/virt-cat.pl:77
22894 #, no-wrap
22895 msgid ""
22896 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
22897 " last -f /tmp/wtmp\n"
22898 "\n"
22899 msgstr ""
22900
22901 # type: textblock
22902 #: ../tools/virt-cat.pl:109 ../tools/virt-df.pl:100 ../tools/virt-edit.pl:118 ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80 ../tools/virt-ls.pl:108 ../tools/virt-rescue.pl:140 ../tools/virt-tar.pl:128 ../tools/virt-win-reg.pl:209
22903 msgid ""
22904 "If you specify guest block devices directly, then libvirt is not used at "
22905 "all."
22906 msgstr ""
22907
22908 # type: textblock
22909 #: ../tools/virt-cat.pl:165
22910 msgid ""
22911 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, "
22912 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
22913 msgstr ""
22914
22915 # type: =head1
22916 #: ../tools/virt-cat.pl:173 ../tools/virt-df.pl:491 ../tools/virt-edit.pl:337 ../tools/virt-list-filesystems.pl:203 ../tools/virt-list-partitions.pl:240 ../tools/virt-ls.pl:221 ../tools/virt-make-fs.pl:552 ../tools/virt-rescue.pl:241 ../tools/virt-resize.pl:1407 ../tools/virt-tar.pl:268 ../tools/virt-win-reg.pl:487
22917 msgid "AUTHOR"
22918 msgstr ""
22919
22920 # type: textblock
22921 #: ../tools/virt-df.pl:36
22922 msgid "virt-df - Display free space on virtual filesystems"
22923 msgstr ""
22924
22925 # type: verbatim
22926 #: ../tools/virt-df.pl:40
22927 #, no-wrap
22928 msgid ""
22929 " virt-df [--options]\n"
22930 "\n"
22931 msgstr ""
22932
22933 # type: verbatim
22934 #: ../tools/virt-df.pl:42
22935 #, no-wrap
22936 msgid ""
22937 " virt-df [--options] domname\n"
22938 "\n"
22939 msgstr ""
22940
22941 # type: verbatim
22942 #: ../tools/virt-df.pl:44
22943 #, no-wrap
22944 msgid ""
22945 " virt-df [--options] disk.img [disk.img ...]\n"
22946 "\n"
22947 msgstr ""
22948
22949 # type: textblock
22950 #: ../tools/virt-df.pl:48
22951 msgid ""
22952 "C<virt-df> is a command line tool to display free space on virtual machine "
22953 "filesystems.  Unlike other tools, it doesn't just display the amount of "
22954 "space allocated to a virtual machine, but can look inside the virtual "
22955 "machine to see how much space is really being used."
22956 msgstr ""
22957
22958 # type: textblock
22959 #: ../tools/virt-df.pl:53
22960 msgid ""
22961 "It is like the L<df(1)> command, but for virtual machines, except that it "
22962 "also works for Windows virtual machines."
22963 msgstr ""
22964
22965 # type: textblock
22966 #: ../tools/virt-df.pl:56
22967 msgid ""
22968 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
22969 "of all active and inactive guests, and performs a C<df>-type operation on "
22970 "each one in turn, printing out the results."
22971 msgstr ""
22972
22973 # type: textblock
22974 #: ../tools/virt-df.pl:60
22975 msgid ""
22976 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
22977 "either the single named libvirt domain, or on the disk image(s) listed on "
22978 "the command line (which must all belong to a single VM).  In this mode (with "
22979 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
22980 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
22981 msgstr ""
22982
22983 # type: textblock
22984 #: ../tools/virt-df.pl:67
22985 msgid ""
22986 "Use the C<--csv> option to get a format which can be easily parsed by other "
22987 "programs.  Other options are mostly similar to standard C<df> options.  See "
22988 "below for the complete list."
22989 msgstr ""
22990
22991 # type: =item
22992 #: ../tools/virt-df.pl:107
22993 msgid "B<--csv>"
22994 msgstr ""
22995
22996 # type: textblock
22997 #: ../tools/virt-df.pl:109
22998 msgid ""
22999 "Write out the results in CSV format (comma-separated values).  This format "
23000 "can be imported easily into databases and spreadsheets, but read L</NOTE "
23001 "ABOUT CSV FORMAT> below."
23002 msgstr ""
23003
23004 # type: =item
23005 #: ../tools/virt-df.pl:117
23006 msgid "B<--human-readable> | B<-h>"
23007 msgstr ""
23008
23009 # type: textblock
23010 #: ../tools/virt-df.pl:119
23011 msgid "Print sizes in human-readable format."
23012 msgstr ""
23013
23014 # type: textblock
23015 #: ../tools/virt-df.pl:121
23016 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
23017 msgstr ""
23018
23019 # type: =item
23020 #: ../tools/virt-df.pl:127
23021 msgid "B<--inodes> | B<-i>"
23022 msgstr ""
23023
23024 # type: textblock
23025 #: ../tools/virt-df.pl:129
23026 msgid "Print inodes instead of blocks."
23027 msgstr ""
23028
23029 # type: =head1
23030 #: ../tools/virt-df.pl:458
23031 msgid "NOTE ABOUT CSV FORMAT"
23032 msgstr ""
23033
23034 # type: textblock
23035 #: ../tools/virt-df.pl:460
23036 msgid ""
23037 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
23038 "should be easy to parse, but it is definitely not easy to parse."
23039 msgstr ""
23040
23041 # type: textblock
23042 #: ../tools/virt-df.pl:463
23043 msgid ""
23044 "Myth: Just split fields at commas.  Reality: This does I<not> work "
23045 "reliably.  This example has two columns:"
23046 msgstr ""
23047
23048 # type: verbatim
23049 #: ../tools/virt-df.pl:466
23050 #, no-wrap
23051 msgid ""
23052 " \"foo,bar\",baz\n"
23053 "\n"
23054 msgstr ""
23055
23056 # type: textblock
23057 #: ../tools/virt-df.pl:468
23058 msgid ""
23059 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
23060 "reliably.  This example has one row:"
23061 msgstr ""
23062
23063 # type: verbatim
23064 #: ../tools/virt-df.pl:471
23065 #, no-wrap
23066 msgid ""
23067 " \"foo\n"
23068 " bar\",baz\n"
23069 "\n"
23070 msgstr ""
23071
23072 # type: textblock
23073 #: ../tools/virt-df.pl:474
23074 msgid ""
23075 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
23076 "packaged in major Linux distributions)."
23077 msgstr ""
23078
23079 # type: textblock
23080 #: ../tools/virt-df.pl:477
23081 msgid ""
23082 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
23083 "or Python's built-in csv library)."
23084 msgstr ""
23085
23086 # type: textblock
23087 #: ../tools/virt-df.pl:480
23088 msgid "Most spreadsheets and databases can import CSV directly."
23089 msgstr ""
23090
23091 # type: textblock
23092 #: ../tools/virt-df.pl:497 ../tools/virt-edit.pl:343 ../tools/virt-list-partitions.pl:246 ../tools/virt-rescue.pl:247
23093 msgid "Copyright (C) 2009-2010 Red Hat Inc."
23094 msgstr ""
23095
23096 # type: textblock
23097 #: ../tools/virt-edit.pl:35
23098 msgid "virt-edit - Edit a file in a virtual machine"
23099 msgstr ""
23100
23101 # type: verbatim
23102 #: ../tools/virt-edit.pl:39
23103 #, no-wrap
23104 msgid ""
23105 " virt-edit [--options] domname file\n"
23106 "\n"
23107 msgstr ""
23108
23109 # type: verbatim
23110 #: ../tools/virt-edit.pl:41
23111 #, no-wrap
23112 msgid ""
23113 " virt-edit [--options] disk.img [disk.img ...] file\n"
23114 "\n"
23115 msgstr ""
23116
23117 # type: verbatim
23118 #: ../tools/virt-edit.pl:43
23119 #, no-wrap
23120 msgid ""
23121 " virt-edit [domname|disk.img] file -e 'expr'\n"
23122 "\n"
23123 msgstr ""
23124
23125 # type: textblock
23126 #: ../tools/virt-edit.pl:47
23127 msgid ""
23128 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
23129 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
23130 "doing this, but doesn't catch all cases."
23131 msgstr ""
23132
23133 # type: textblock
23134 #: ../tools/virt-edit.pl:53
23135 msgid ""
23136 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
23137 "the named virtual machine (or disk image)."
23138 msgstr ""
23139
23140 # type: textblock
23141 #: ../tools/virt-edit.pl:56
23142 msgid ""
23143 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
23144 "you should look at the L<guestfish(1)> tool."
23145 msgstr ""
23146
23147 # type: textblock
23148 #: ../tools/virt-edit.pl:61
23149 msgid "Edit the named files interactively:"
23150 msgstr ""
23151
23152 # type: verbatim
23153 #: ../tools/virt-edit.pl:63
23154 #, no-wrap
23155 msgid ""
23156 " virt-edit mydomain /boot/grub/grub.conf\n"
23157 "\n"
23158 msgstr ""
23159
23160 # type: verbatim
23161 #: ../tools/virt-edit.pl:65
23162 #, no-wrap
23163 msgid ""
23164 " virt-edit mydomain /etc/passwd\n"
23165 "\n"
23166 msgstr ""
23167
23168 # type: textblock
23169 #: ../tools/virt-edit.pl:67
23170 msgid ""
23171 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
23172 "below).  To change the init default level to 5:"
23173 msgstr ""
23174
23175 # type: verbatim
23176 #: ../tools/virt-edit.pl:71
23177 #, no-wrap
23178 msgid ""
23179 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
23180 "\n"
23181 msgstr ""
23182
23183 # type: =item
23184 #: ../tools/virt-edit.pl:97
23185 msgid "B<--backup extension> | B<-b extension>"
23186 msgstr ""
23187
23188 # type: textblock
23189 #: ../tools/virt-edit.pl:99
23190 msgid ""
23191 "Create a backup of the original file I<in the guest disk image>.  The backup "
23192 "has the original filename with C<extension> added."
23193 msgstr ""
23194
23195 # type: textblock
23196 #: ../tools/virt-edit.pl:102
23197 msgid ""
23198 "Usually the first character of C<extension> would be a dot C<.> so you would "
23199 "write:"
23200 msgstr ""
23201
23202 # type: verbatim
23203 #: ../tools/virt-edit.pl:105
23204 #, no-wrap
23205 msgid ""
23206 " virt-edit -b .orig [etc]\n"
23207 "\n"
23208 msgstr ""
23209
23210 # type: textblock
23211 #: ../tools/virt-edit.pl:107
23212 msgid "By default, no backup file is made."
23213 msgstr ""
23214
23215 # type: =item
23216 #: ../tools/virt-edit.pl:125
23217 msgid "B<--expr EXPR> | B<-e EXPR>"
23218 msgstr ""
23219
23220 # type: textblock
23221 #: ../tools/virt-edit.pl:127
23222 msgid ""
23223 "Instead of launching the external editor, non-interactively apply the Perl "
23224 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
23225 "EDITING> below."
23226 msgstr ""
23227
23228 # type: textblock
23229 #: ../tools/virt-edit.pl:131
23230 msgid ""
23231 "Be careful to properly quote the expression to prevent it from being altered "
23232 "by the shell."
23233 msgstr ""
23234
23235 # type: =head1
23236 #: ../tools/virt-edit.pl:250
23237 msgid "NON-INTERACTIVE EDITING"
23238 msgstr ""
23239
23240 # type: textblock
23241 #: ../tools/virt-edit.pl:252
23242 msgid ""
23243 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
23244 "administrator can interactively edit the file."
23245 msgstr ""
23246
23247 # type: textblock
23248 #: ../tools/virt-edit.pl:255
23249 msgid ""
23250 "There are two ways also to use C<virt-edit> from scripts in order to make "
23251 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
23252 "like this, it's less error-prone to write scripts directly using the "
23253 "libguestfs API and Augeas for configuration file editing.)"
23254 msgstr ""
23255
23256 # type: textblock
23257 #: ../tools/virt-edit.pl:261
23258 msgid ""
23259 "The first method is to temporarily set C<$EDITOR> to any script or program "
23260 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
23261 "update C<tmpfile> in place however it likes."
23262 msgstr ""
23263
23264 # type: textblock
23265 #: ../tools/virt-edit.pl:265
23266 msgid ""
23267 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
23268 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
23269 "instances of C<foo> with C<bar> in a file:"
23270 msgstr ""
23271
23272 # type: verbatim
23273 #: ../tools/virt-edit.pl:269
23274 #, no-wrap
23275 msgid ""
23276 " virt-edit domname filename -e 's/foo/bar/'\n"
23277 "\n"
23278 msgstr ""
23279
23280 # type: textblock
23281 #: ../tools/virt-edit.pl:271
23282 msgid ""
23283 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
23284 "For example to delete root's password you could do:"
23285 msgstr ""
23286
23287 # type: verbatim
23288 #: ../tools/virt-edit.pl:274
23289 #, no-wrap
23290 msgid ""
23291 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
23292 "\n"
23293 msgstr ""
23294
23295 # type: textblock
23296 #: ../tools/virt-edit.pl:276
23297 msgid ""
23298 "What really happens is that the snippet is evaluated as a Perl expression "
23299 "for each line of the file.  The line, including the final C<\\n>, is passed "
23300 "in C<$_> and the expression should update C<$_> or leave it unchanged."
23301 msgstr ""
23302
23303 # type: textblock
23304 #: ../tools/virt-edit.pl:281
23305 msgid ""
23306 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
23307 "C<apache> user account from the password file you can do:"
23308 msgstr ""
23309
23310 # type: verbatim
23311 #: ../tools/virt-edit.pl:284
23312 #, no-wrap
23313 msgid ""
23314 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
23315 "\n"
23316 msgstr ""
23317
23318 # type: textblock
23319 #: ../tools/virt-edit.pl:286
23320 msgid ""
23321 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
23322 "the end of the file is rather difficult this way since there is no concept "
23323 "of \"last line of the file\" - your expression just doesn't get called "
23324 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
23325 "want to do this."
23326 msgstr ""
23327
23328 # type: textblock
23329 #: ../tools/virt-edit.pl:292
23330 msgid ""
23331 "The variable C<$lineno> contains the current line number.  As is "
23332 "traditional, the first line in the file is number C<1>."
23333 msgstr ""
23334
23335 # type: textblock
23336 #: ../tools/virt-edit.pl:295
23337 msgid ""
23338 "The return value from the expression is ignored, but the expression may call "
23339 "C<die> in order to abort the whole program, leaving the original file "
23340 "untouched."
23341 msgstr ""
23342
23343 # type: textblock
23344 #: ../tools/virt-edit.pl:299
23345 msgid ""
23346 "Remember when matching the end of a line that C<$_> may contain the final "
23347 "C<\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
23348 "newline then neither of these.  Thus to match or substitute some text at the "
23349 "end of a line, use this regular expression:"
23350 msgstr ""
23351
23352 # type: verbatim
23353 #: ../tools/virt-edit.pl:304
23354 #, no-wrap
23355 msgid ""
23356 " /some text(\\r?\\n)?$/\n"
23357 "\n"
23358 msgstr ""
23359
23360 # type: textblock
23361 #: ../tools/virt-edit.pl:306
23362 msgid ""
23363 "Alternately, use the perl C<chomp> function, being careful not to chomp "
23364 "C<$_> itself (since that would remove all newlines from the file):"
23365 msgstr ""
23366
23367 # type: verbatim
23368 #: ../tools/virt-edit.pl:310
23369 #, no-wrap
23370 msgid ""
23371 " my $m = $_; chomp $m; $m =~ /some text$/\n"
23372 "\n"
23373 msgstr ""
23374
23375 # type: =item
23376 #: ../tools/virt-edit.pl:316
23377 msgid "C<EDITOR>"
23378 msgstr ""
23379
23380 # type: textblock
23381 #: ../tools/virt-edit.pl:318
23382 msgid ""
23383 "If set, this string is used as the editor.  It may contain arguments, "
23384 "eg. C<\"emacs -nw\">"
23385 msgstr ""
23386
23387 # type: textblock
23388 #: ../tools/virt-edit.pl:321
23389 msgid "If not set, C<vi> is used."
23390 msgstr ""
23391
23392 # type: textblock
23393 #: ../tools/virt-edit.pl:327
23394 msgid ""
23395 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
23396 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, "
23397 "L<perl(1)>, L<perlre(1)>."
23398 msgstr ""
23399
23400 # type: textblock
23401 #: ../tools/virt-list-filesystems.pl:32
23402 msgid "virt-list-filesystems - List filesystems in a virtual machine or disk image"
23403 msgstr ""
23404
23405 # type: verbatim
23406 #: ../tools/virt-list-filesystems.pl:36
23407 #, no-wrap
23408 msgid ""
23409 " virt-list-filesystems [--options] domname\n"
23410 "\n"
23411 msgstr ""
23412
23413 # type: verbatim
23414 #: ../tools/virt-list-filesystems.pl:38
23415 #, no-wrap
23416 msgid ""
23417 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
23418 "\n"
23419 msgstr ""
23420
23421 # type: textblock
23422 #: ../tools/virt-list-filesystems.pl:42
23423 msgid ""
23424 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
23425 "are contained in a virtual machine or disk image."
23426 msgstr ""
23427
23428 # type: textblock
23429 #: ../tools/virt-list-filesystems.pl:46
23430 msgid ""
23431 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
23432 "functionality.  For more complex cases you should look at the "
23433 "L<guestfish(1)> tool."
23434 msgstr ""
23435
23436 # type: =item
23437 #: ../tools/virt-list-filesystems.pl:86 ../tools/virt-list-partitions.pl:95 ../tools/virt-ls.pl:115
23438 msgid "B<-l> | B<--long>"
23439 msgstr ""
23440
23441 # type: textblock
23442 #: ../tools/virt-list-filesystems.pl:88
23443 msgid ""
23444 "With this option, C<virt-list-filesystems> displays the type of each "
23445 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
23446 msgstr ""
23447
23448 # type: =item
23449 #: ../tools/virt-list-filesystems.pl:95
23450 msgid "B<-a> | B<--all>"
23451 msgstr ""
23452
23453 # type: textblock
23454 #: ../tools/virt-list-filesystems.pl:97
23455 msgid ""
23456 "Normally we only show mountable filesystems.  If this option is given then "
23457 "swap devices are shown too."
23458 msgstr ""
23459
23460 # type: textblock
23461 #: ../tools/virt-list-filesystems.pl:193
23462 msgid ""
23463 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
23464 "L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23465 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23466 msgstr ""
23467
23468 # type: textblock
23469 #: ../tools/virt-list-partitions.pl:32
23470 msgid "virt-list-partitions - List partitions in a virtual machine or disk image"
23471 msgstr ""
23472
23473 # type: verbatim
23474 #: ../tools/virt-list-partitions.pl:36
23475 #, no-wrap
23476 msgid ""
23477 " virt-list-partitions [--options] domname\n"
23478 "\n"
23479 msgstr ""
23480
23481 # type: verbatim
23482 #: ../tools/virt-list-partitions.pl:38
23483 #, no-wrap
23484 msgid ""
23485 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
23486 "\n"
23487 msgstr ""
23488
23489 # type: textblock
23490 #: ../tools/virt-list-partitions.pl:42
23491 msgid ""
23492 "C<virt-list-partitions> is a command line tool to list the partitions that "
23493 "are contained in a virtual machine or disk image.  It is mainly useful as a "
23494 "first step to using L<virt-resize(1)>."
23495 msgstr ""
23496
23497 # type: textblock
23498 #: ../tools/virt-list-partitions.pl:47
23499 msgid ""
23500 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
23501 "functionality.  For more complex cases you should look at the "
23502 "L<guestfish(1)> tool."
23503 msgstr ""
23504
23505 # type: =item
23506 #: ../tools/virt-list-partitions.pl:87
23507 msgid "B<-h> | B<--human-readable>"
23508 msgstr ""
23509
23510 # type: textblock
23511 #: ../tools/virt-list-partitions.pl:89
23512 msgid "Show sizes in human-readable form (eg. \"1G\")."
23513 msgstr ""
23514
23515 # type: textblock
23516 #: ../tools/virt-list-partitions.pl:97
23517 msgid ""
23518 "With this option, C<virt-list-partitions> displays the type and size of each "
23519 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
23520 msgstr ""
23521
23522 # type: =item
23523 #: ../tools/virt-list-partitions.pl:104
23524 msgid "B<-t> | B<--total>"
23525 msgstr ""
23526
23527 # type: textblock
23528 #: ../tools/virt-list-partitions.pl:106
23529 msgid "Display the total size of each block device (as a separate row or rows)."
23530 msgstr ""
23531
23532 # type: textblock
23533 #: ../tools/virt-list-partitions.pl:231
23534 msgid ""
23535 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, "
23536 "L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23537 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23538 msgstr ""
23539
23540 # type: textblock
23541 #: ../tools/virt-ls.pl:35
23542 msgid "virt-ls - List files in a virtual machine"
23543 msgstr ""
23544
23545 # type: verbatim
23546 #: ../tools/virt-ls.pl:39
23547 #, no-wrap
23548 msgid ""
23549 " virt-ls [--options] domname directory\n"
23550 "\n"
23551 msgstr ""
23552
23553 # type: verbatim
23554 #: ../tools/virt-ls.pl:41
23555 #, no-wrap
23556 msgid ""
23557 " virt-ls [--options] disk.img [disk.img ...] directory\n"
23558 "\n"
23559 msgstr ""
23560
23561 # type: textblock
23562 #: ../tools/virt-ls.pl:45
23563 msgid ""
23564 "C<virt-ls> is a command line tool to list the names of files in a directory "
23565 "inside a virtual machine or disk image."
23566 msgstr ""
23567
23568 # type: textblock
23569 #: ../tools/virt-ls.pl:48
23570 msgid ""
23571 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
23572 "For more complex cases you should look at the L<guestfish(1)> tool."
23573 msgstr ""
23574
23575 # type: textblock
23576 #: ../tools/virt-ls.pl:52
23577 msgid ""
23578 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
23579 "simple listing is like the ordinary L<ls(1)> command:"
23580 msgstr ""
23581
23582 # type: verbatim
23583 #: ../tools/virt-ls.pl:55
23584 #, no-wrap
23585 msgid ""
23586 " $ virt-ls myguest /\n"
23587 " bin\n"
23588 " boot\n"
23589 " [etc.]\n"
23590 "\n"
23591 msgstr ""
23592
23593 # type: textblock
23594 #: ../tools/virt-ls.pl:60
23595 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
23596 msgstr ""
23597
23598 # type: verbatim
23599 #: ../tools/virt-ls.pl:62
23600 #, no-wrap
23601 msgid ""
23602 " $ virt-ls -l myguest /\n"
23603 " total 204\n"
23604 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
23605 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
23606 " [etc.]\n"
23607 "\n"
23608 msgstr ""
23609
23610 # type: textblock
23611 #: ../tools/virt-ls.pl:68
23612 msgid ""
23613 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
23614 "and directories recursively:"
23615 msgstr ""
23616
23617 # type: verbatim
23618 #: ../tools/virt-ls.pl:71
23619 #, no-wrap
23620 msgid ""
23621 " $ virt-ls -R myguest /tmp\n"
23622 " foo\n"
23623 " foo/bar\n"
23624 " [etc.]\n"
23625 "\n"
23626 msgstr ""
23627
23628 # type: textblock
23629 #: ../tools/virt-ls.pl:76
23630 msgid ""
23631 "You I<cannot> combine these options.  To do more complicated things, use "
23632 "L<guestfish(1)>."
23633 msgstr ""
23634
23635 # type: =item
23636 #: ../tools/virt-ls.pl:117
23637 msgid "B<-R> | B<--recursive>"
23638 msgstr ""
23639
23640 # type: textblock
23641 #: ../tools/virt-ls.pl:119
23642 msgid ""
23643 "Select the mode.  With neither of these options, C<virt-ls> produces a "
23644 "simple, flat list of the files in the named directory."
23645 msgstr ""
23646
23647 # type: textblock
23648 #: ../tools/virt-ls.pl:122
23649 msgid ""
23650 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
23651 "like the plain C<ls -l> command)."
23652 msgstr ""
23653
23654 # type: textblock
23655 #: ../tools/virt-ls.pl:125
23656 msgid ""
23657 "C<virt-ls -R> produces a recursive list of files starting at the named "
23658 "directory.  See the documentation for the C<guestfs_find> command "
23659 "L<guestfs(3)> for precise details."
23660 msgstr ""
23661
23662 # type: textblock
23663 #: ../tools/virt-ls.pl:129
23664 msgid "You cannot combine these options."
23665 msgstr ""
23666
23667 # type: textblock
23668 #: ../tools/virt-ls.pl:212
23669 msgid ""
23670 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
23671 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
23672 "L<http://libguestfs.org/>."
23673 msgstr ""
23674
23675 # type: textblock
23676 #: ../tools/virt-make-fs.pl:37
23677 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
23678 msgstr ""
23679
23680 # type: verbatim
23681 #: ../tools/virt-make-fs.pl:41
23682 #, no-wrap
23683 msgid ""
23684 " virt-make-fs [--options] input.tar output.img\n"
23685 "\n"
23686 msgstr ""
23687
23688 # type: verbatim
23689 #: ../tools/virt-make-fs.pl:43
23690 #, no-wrap
23691 msgid ""
23692 " virt-make-fs [--options] input.tar.gz output.img\n"
23693 "\n"
23694 msgstr ""
23695
23696 # type: verbatim
23697 #: ../tools/virt-make-fs.pl:45
23698 #, no-wrap
23699 msgid ""
23700 " virt-make-fs [--options] directory output.img\n"
23701 "\n"
23702 msgstr ""
23703
23704 # type: textblock
23705 #: ../tools/virt-make-fs.pl:49
23706 msgid ""
23707 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
23708 "archive or some files in a directory.  It is similar to tools like "
23709 "L<mkisofs(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, "
23710 "it can create common filesystem types like ext2/3 or NTFS, which can be "
23711 "useful if you want to attach these filesystems to existing virtual machines "
23712 "(eg. to import large amounts of read-only data to a VM)."
23713 msgstr ""
23714
23715 # type: textblock
23716 #: ../tools/virt-make-fs.pl:57
23717 msgid "Basic usage is:"
23718 msgstr ""
23719
23720 # type: verbatim
23721 #: ../tools/virt-make-fs.pl:59
23722 #, no-wrap
23723 msgid ""
23724 " virt-make-fs input output\n"
23725 "\n"
23726 msgstr ""
23727
23728 # type: textblock
23729 #: ../tools/virt-make-fs.pl:61
23730 msgid ""
23731 "where C<input> is either a directory containing files that you want to add, "
23732 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
23733 "C<output> is a disk image.  The input type is detected automatically.  The "
23734 "output disk image defaults to a raw ext2 image unless you specify extra "
23735 "flags (see L</OPTIONS> below)."
23736 msgstr ""
23737
23738 # type: =head2
23739 #: ../tools/virt-make-fs.pl:67
23740 msgid "EXTRA SPACE"
23741 msgstr ""
23742
23743 # type: textblock
23744 #: ../tools/virt-make-fs.pl:69
23745 msgid ""
23746 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
23747 "the files that it contains, but might have extra space.  Depending on how "
23748 "you are going to use the output, you might think this extra space is wasted "
23749 "and want to minimize it, or you might want to leave space so that more files "
23750 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
23751 "but you can use the C<--size> flag to leave space in the filesystem if you "
23752 "want it."
23753 msgstr ""
23754
23755 # type: textblock
23756 #: ../tools/virt-make-fs.pl:77
23757 msgid ""
23758 "An alternative way to leave extra space but not make the output image any "
23759 "bigger is to use an alternative disk image format (instead of the default "
23760 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
23761 "image format (check your hypervisor supports this before using it).  This "
23762 "allows you to choose a large C<--size> but the extra space won't actually be "
23763 "allocated in the image until you try to store something in it."
23764 msgstr ""
23765
23766 # type: textblock
23767 #: ../tools/virt-make-fs.pl:85
23768 msgid ""
23769 "Don't forget that you can also use local commands including L<resize2fs(8)> "
23770 "and L<virt-resize(1)> to resize existing filesystems, or rerun "
23771 "virt-make-resize to build another image from scratch."
23772 msgstr ""
23773
23774 # type: =head3
23775 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123 ../tools/virt-make-fs.pl:142
23776 msgid "EXAMPLE"
23777 msgstr ""
23778
23779 # type: verbatim
23780 #: ../tools/virt-make-fs.pl:91
23781 #, no-wrap
23782 msgid ""
23783 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
23784 "\n"
23785 msgstr ""
23786
23787 # type: =head2
23788 #: ../tools/virt-make-fs.pl:93
23789 msgid "FILESYSTEM TYPE"
23790 msgstr ""
23791
23792 # type: textblock
23793 #: ../tools/virt-make-fs.pl:95
23794 msgid ""
23795 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
23796 "libguestfs supports can be used (but I<not> read-only formats like "
23797 "ISO9660).  Here are some of the more common choices:"
23798 msgstr ""
23799
23800 # type: =item
23801 #: ../tools/virt-make-fs.pl:101
23802 msgid "I<ext3>"
23803 msgstr ""
23804
23805 # type: textblock
23806 #: ../tools/virt-make-fs.pl:103
23807 msgid ""
23808 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
23809 "you are not going to use the filesystem in a way that requires the journal, "
23810 "then this is just wasted overhead."
23811 msgstr ""
23812
23813 # type: =item
23814 #: ../tools/virt-make-fs.pl:107
23815 msgid "I<ntfs> or I<vfat>"
23816 msgstr ""
23817
23818 # type: textblock
23819 #: ../tools/virt-make-fs.pl:109
23820 msgid "Useful if exporting data to a Windows guest."
23821 msgstr ""
23822
23823 # type: textblock
23824 #: ../tools/virt-make-fs.pl:111
23825 msgid ""
23826 "I<Note for vfat>: The tar archive or local directory must only contain files "
23827 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
23828 "program running within libguestfs is unable to change the ownership of "
23829 "non-root files, since vfat itself does not support this."
23830 msgstr ""
23831
23832 # type: =item
23833 #: ../tools/virt-make-fs.pl:116
23834 msgid "I<minix>"
23835 msgstr ""
23836
23837 # type: textblock
23838 #: ../tools/virt-make-fs.pl:118
23839 msgid ""
23840 "Lower overhead than C<ext2>, but certain limitations on filename length and "
23841 "total filesystem size."
23842 msgstr ""
23843
23844 # type: verbatim
23845 #: ../tools/virt-make-fs.pl:125
23846 #, no-wrap
23847 msgid ""
23848 " virt-make-fs --type=minix input minixfs.img\n"
23849 "\n"
23850 msgstr ""
23851
23852 # type: =head2
23853 #: ../tools/virt-make-fs.pl:127
23854 msgid "TO PARTITION OR NOT TO PARTITION"
23855 msgstr ""
23856
23857 # type: textblock
23858 #: ../tools/virt-make-fs.pl:129
23859 msgid "Optionally virt-make-fs can add a partition table to the output disk."
23860 msgstr ""
23861
23862 # type: textblock
23863 #: ../tools/virt-make-fs.pl:131
23864 msgid ""
23865 "Adding a partition can make the disk image more compatible with certain "
23866 "virtualized operating systems which don't expect to see a filesystem "
23867 "directly located on a block device (Linux doesn't care and will happily "
23868 "handle both types)."
23869 msgstr ""
23870
23871 # type: textblock
23872 #: ../tools/virt-make-fs.pl:136
23873 msgid ""
23874 "On the other hand, if you have a partition table then the output image is no "
23875 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
23876 "directly on a partitioned disk image.  (However libguestfs tools such as "
23877 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
23878 msgstr ""
23879
23880 # type: textblock
23881 #: ../tools/virt-make-fs.pl:144
23882 msgid "Add an MBR partition:"
23883 msgstr ""
23884
23885 # type: verbatim
23886 #: ../tools/virt-make-fs.pl:146
23887 #, no-wrap
23888 msgid ""
23889 " virt-make-fs --partition -- input disk.img\n"
23890 "\n"
23891 msgstr ""
23892
23893 # type: textblock
23894 #: ../tools/virt-make-fs.pl:148
23895 msgid ""
23896 "If the output disk image could be terabyte-sized or larger, it's better to "
23897 "use an EFI/GPT-compatible partition table:"
23898 msgstr ""
23899
23900 # type: verbatim
23901 #: ../tools/virt-make-fs.pl:151
23902 #, no-wrap
23903 msgid ""
23904 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
23905 "\n"
23906 msgstr ""
23907
23908 # type: =item
23909 #: ../tools/virt-make-fs.pl:177 ../tools/virt-win-reg.pl:196
23910 msgid "B<--debug>"
23911 msgstr ""
23912
23913 # type: textblock
23914 #: ../tools/virt-make-fs.pl:179
23915 msgid "Enable debugging information."
23916 msgstr ""
23917
23918 # type: =item
23919 #: ../tools/virt-make-fs.pl:185
23920 msgid "B<--size=E<lt>NE<gt>>"
23921 msgstr ""
23922
23923 # type: =item
23924 #: ../tools/virt-make-fs.pl:187
23925 msgid "B<--size=+E<lt>NE<gt>>"
23926 msgstr ""
23927
23928 # type: =item
23929 #: ../tools/virt-make-fs.pl:189
23930 msgid "B<-s E<lt>NE<gt>>"
23931 msgstr ""
23932
23933 # type: =item
23934 #: ../tools/virt-make-fs.pl:191
23935 msgid "B<-s +E<lt>NE<gt>>"
23936 msgstr ""
23937
23938 # type: textblock
23939 #: ../tools/virt-make-fs.pl:193
23940 msgid "Use the C<--size> (or C<-s>) option to choose the size of the output image."
23941 msgstr ""
23942
23943 # type: textblock
23944 #: ../tools/virt-make-fs.pl:196
23945 msgid ""
23946 "If this option is I<not> given, then the output image will be just large "
23947 "enough to contain all the files, with not much wasted space."
23948 msgstr ""
23949
23950 # type: textblock
23951 #: ../tools/virt-make-fs.pl:199
23952 msgid ""
23953 "To choose a fixed size output disk, specify an absolute number followed by "
23954 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
23955 "Petabytes or Exabytes.  This must be large enough to contain all the input "
23956 "files, else you will get an error."
23957 msgstr ""
23958
23959 # type: textblock
23960 #: ../tools/virt-make-fs.pl:204
23961 msgid ""
23962 "To leave extra space, specify C<+> (plus sign) and a number followed by "
23963 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
23964 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
23965 "the input files, and (approximately) an extra 200 MB free space."
23966 msgstr ""
23967
23968 # type: textblock
23969 #: ../tools/virt-make-fs.pl:210
23970 msgid ""
23971 "Note that virt-make-fs estimates free space, and therefore will not produce "
23972 "filesystems containing precisely the free space requested.  (It is much more "
23973 "expensive and time-consuming to produce a filesystem which has precisely the "
23974 "desired free space)."
23975 msgstr ""
23976
23977 # type: =item
23978 #: ../tools/virt-make-fs.pl:219
23979 msgid "B<--format=E<lt>fmtE<gt>>"
23980 msgstr ""
23981
23982 # type: =item
23983 #: ../tools/virt-make-fs.pl:221
23984 msgid "B<-F E<lt>fmtE<gt>>"
23985 msgstr ""
23986
23987 # type: textblock
23988 #: ../tools/virt-make-fs.pl:223
23989 msgid "Choose the output disk image format."
23990 msgstr ""
23991
23992 # type: textblock
23993 #: ../tools/virt-make-fs.pl:225
23994 msgid "The default is C<raw> (raw disk image)."
23995 msgstr ""
23996
23997 # type: textblock
23998 #: ../tools/virt-make-fs.pl:227
23999 msgid ""
24000 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
24001 "that would really make sense here is C<qcow2>."
24002 msgstr ""
24003
24004 # type: =item
24005 #: ../tools/virt-make-fs.pl:234
24006 msgid "B<--type=E<lt>fsE<gt>>"
24007 msgstr ""
24008
24009 # type: =item
24010 #: ../tools/virt-make-fs.pl:236
24011 msgid "B<-t E<lt>fsE<gt>>"
24012 msgstr ""
24013
24014 # type: textblock
24015 #: ../tools/virt-make-fs.pl:238
24016 msgid "Choose the output filesystem type."
24017 msgstr ""
24018
24019 # type: textblock
24020 #: ../tools/virt-make-fs.pl:240
24021 msgid "The default is C<ext2>."
24022 msgstr ""
24023
24024 # type: textblock
24025 #: ../tools/virt-make-fs.pl:242
24026 msgid "Any filesystem which is supported read-write by libguestfs can be used here."
24027 msgstr ""
24028
24029 # type: =item
24030 #: ../tools/virt-make-fs.pl:249
24031 msgid "B<--partition>"
24032 msgstr ""
24033
24034 # type: =item
24035 #: ../tools/virt-make-fs.pl:251
24036 msgid "B<--partition=E<lt>parttypeE<gt>>"
24037 msgstr ""
24038
24039 # type: textblock
24040 #: ../tools/virt-make-fs.pl:253
24041 msgid ""
24042 "If specified, this flag adds an MBR partition table to the output disk "
24043 "image."
24044 msgstr ""
24045
24046 # type: textblock
24047 #: ../tools/virt-make-fs.pl:256
24048 msgid ""
24049 "You can change the partition table type, eg. C<--partition=gpt> for large "
24050 "disks."
24051 msgstr ""
24052
24053 # type: textblock
24054 #: ../tools/virt-make-fs.pl:259
24055 msgid ""
24056 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
24057 "might consider the next parameter to be the partition type.  For example:"
24058 msgstr ""
24059
24060 # type: verbatim
24061 #: ../tools/virt-make-fs.pl:263
24062 #, no-wrap
24063 msgid ""
24064 " virt-make-fs --partition input.tar ...\n"
24065 "\n"
24066 msgstr ""
24067
24068 # type: textblock
24069 #: ../tools/virt-make-fs.pl:265
24070 msgid ""
24071 "would cause virt-make-fs to think you wanted to use a partition type of "
24072 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
24073 "dash) between options and the input file argument:"
24074 msgstr ""
24075
24076 # type: verbatim
24077 #: ../tools/virt-make-fs.pl:269
24078 #, no-wrap
24079 msgid ""
24080 " virt-make-fs --partition -- input.tar ...\n"
24081 "\n"
24082 msgstr ""
24083
24084 # type: textblock
24085 #: ../tools/virt-make-fs.pl:529
24086 msgid ""
24087 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
24088 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, "
24089 "L<guestfs(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
24090 msgstr ""
24091
24092 # type: textblock
24093 #: ../tools/virt-make-fs.pl:543 ../tools/virt-win-reg.pl:478
24094 msgid ""
24095 "When reporting bugs, please enable debugging and capture the I<complete> "
24096 "output:"
24097 msgstr ""
24098
24099 # type: verbatim
24100 #: ../tools/virt-make-fs.pl:546
24101 #, no-wrap
24102 msgid ""
24103 " export LIBGUESTFS_DEBUG=1\n"
24104 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
24105 "\n"
24106 msgstr ""
24107
24108 # type: textblock
24109 #: ../tools/virt-make-fs.pl:549
24110 msgid ""
24111 "Attach /tmp/virt-make-fs.log to a new bug report at "
24112 "L<https://bugzilla.redhat.com/>"
24113 msgstr ""
24114
24115 # type: textblock
24116 #: ../tools/virt-make-fs.pl:558 ../tools/virt-resize.pl:1413 ../tools/virt-win-reg.pl:493
24117 msgid "Copyright (C) 2010 Red Hat Inc."
24118 msgstr ""
24119
24120 # type: textblock
24121 #: ../tools/virt-rescue.pl:33
24122 msgid "virt-rescue - Run a rescue shell on a virtual machine"
24123 msgstr ""
24124
24125 # type: verbatim
24126 #: ../tools/virt-rescue.pl:37
24127 #, no-wrap
24128 msgid ""
24129 " virt-rescue [--options] domname\n"
24130 "\n"
24131 msgstr ""
24132
24133 # type: verbatim
24134 #: ../tools/virt-rescue.pl:39
24135 #, no-wrap
24136 msgid ""
24137 " virt-rescue [--options] disk.img [disk.img ...]\n"
24138 "\n"
24139 msgstr ""
24140
24141 # type: textblock
24142 #: ../tools/virt-rescue.pl:43
24143 msgid ""
24144 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
24145 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
24146 "you from doing this, but doesn't catch all cases."
24147 msgstr ""
24148
24149 # type: textblock
24150 #: ../tools/virt-rescue.pl:47
24151 msgid ""
24152 "However if you use the I<--ro> (read only) option, then you can attach a "
24153 "shell to a live virtual machine.  The results might be strange or "
24154 "inconsistent at times but you won't get disk corruption."
24155 msgstr ""
24156
24157 # type: textblock
24158 #: ../tools/virt-rescue.pl:53
24159 msgid ""
24160 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
24161 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
24162 "recovery tools which you can use to examine or rescue a virtual machine or "
24163 "disk image."
24164 msgstr ""
24165
24166 # type: textblock
24167 #: ../tools/virt-rescue.pl:58
24168 msgid ""
24169 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
24170 "on disk image(s):"
24171 msgstr ""
24172
24173 # type: verbatim
24174 #: ../tools/virt-rescue.pl:61
24175 #, no-wrap
24176 msgid ""
24177 " virt-rescue GuestName\n"
24178 "\n"
24179 msgstr ""
24180
24181 # type: verbatim
24182 #: ../tools/virt-rescue.pl:63
24183 #, no-wrap
24184 msgid ""
24185 " virt-rescue --ro /path/to/disk.img\n"
24186 "\n"
24187 msgstr ""
24188
24189 # type: verbatim
24190 #: ../tools/virt-rescue.pl:65
24191 #, no-wrap
24192 msgid ""
24193 " virt-rescue /dev/sdc\n"
24194 "\n"
24195 msgstr ""
24196
24197 # type: textblock
24198 #: ../tools/virt-rescue.pl:67
24199 msgid "For live VMs you I<must> use the --ro option."
24200 msgstr ""
24201
24202 # type: textblock
24203 #: ../tools/virt-rescue.pl:69
24204 msgid ""
24205 "When you run virt-rescue on a virtual machine or disk image, you are placed "
24206 "in an interactive bash shell where you can use many ordinary Linux "
24207 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
24208 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
24209 "is an empty directory called C</sysroot> where you can mount filesystems."
24210 msgstr ""
24211
24212 # type: textblock
24213 #: ../tools/virt-rescue.pl:76
24214 msgid ""
24215 "In the example below, we list logical volumes, then choose one to mount "
24216 "under C</sysroot>:"
24217 msgstr ""
24218
24219 # type: verbatim
24220 #: ../tools/virt-rescue.pl:79
24221 #, no-wrap
24222 msgid ""
24223 " ><rescue> lvs\n"
24224 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
24225 " lv_root vg_f11x64 -wi-a-   8.83G\n"
24226 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
24227 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
24228 " ><rescue> ls /sysroot\n"
24229 "\n"
24230 msgstr ""
24231
24232 # type: textblock
24233 #: ../tools/virt-rescue.pl:86
24234 msgid ""
24235 "If you don't know what filesystems are available on the virtual machine then "
24236 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
24237 msgstr ""
24238
24239 # type: =head1
24240 #: ../tools/virt-rescue.pl:90 ../tools/virt-resize.pl:1350
24241 msgid "NOTES"
24242 msgstr ""
24243
24244 # type: textblock
24245 #: ../tools/virt-rescue.pl:92
24246 msgid ""
24247 "Virt-rescue can be used on I<any> disk image file or device, not just a "
24248 "virtual machine.  For example you can use it on a blank file if you want to "
24249 "partition that file (although we would recommend using L<guestfish(1)> "
24250 "instead as it is more suitable for this purpose).  You can even use "
24251 "virt-rescue on things like SD cards."
24252 msgstr ""
24253
24254 # type: textblock
24255 #: ../tools/virt-rescue.pl:98
24256 msgid ""
24257 "This tool is just designed for quick interactive hacking on a virtual "
24258 "machine.  For more structured access to a virtual machine disk image, you "
24259 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
24260 "make scripted changes to guests, use L<guestfish(1)>."
24261 msgstr ""
24262
24263 # type: =item
24264 #: ../tools/virt-rescue.pl:127
24265 msgid "B<--append kernelopts>"
24266 msgstr ""
24267
24268 # type: textblock
24269 #: ../tools/virt-rescue.pl:129
24270 msgid "Pass additional options to the rescue kernel."
24271 msgstr ""
24272
24273 # type: =item
24274 #: ../tools/virt-rescue.pl:147
24275 msgid "B<--memsize MB> | B<-m MB>"
24276 msgstr ""
24277
24278 # type: textblock
24279 #: ../tools/virt-rescue.pl:149
24280 msgid ""
24281 "Change the amount of memory allocated to the rescue system.  The default is "
24282 "set by libguestfs and is small but adequate for running system tools.  The "
24283 "occasional program might need more memory.  The parameter is specified in "
24284 "megabytes."
24285 msgstr ""
24286
24287 # type: =item
24288 #: ../tools/virt-rescue.pl:158
24289 msgid "B<--ro> | B<-r>"
24290 msgstr ""
24291
24292 # type: textblock
24293 #: ../tools/virt-rescue.pl:160
24294 msgid "Open the image read-only."
24295 msgstr ""
24296
24297 # type: textblock
24298 #: ../tools/virt-rescue.pl:172
24299 msgid ""
24300 "Enable SELinux in the rescue appliance.  You should read "
24301 "L<guestfs(3)/SELINUX> before using this option."
24302 msgstr ""
24303
24304 # type: textblock
24305 #: ../tools/virt-rescue.pl:228
24306 msgid ""
24307 "Several environment variables affect virt-rescue.  See "
24308 "L<guestfs(3)/ENVIRONMENT VARIABLES> for the complete list."
24309 msgstr ""
24310
24311 # type: textblock
24312 #: ../tools/virt-rescue.pl:233
24313 msgid ""
24314 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
24315 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24316 msgstr ""
24317
24318 # type: textblock
24319 #: ../tools/virt-resize.pl:42
24320 msgid "virt-resize - Resize a virtual machine disk"
24321 msgstr ""
24322
24323 # type: verbatim
24324 #: ../tools/virt-resize.pl:46
24325 #, no-wrap
24326 msgid ""
24327 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
24328 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
24329 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
24330 "\n"
24331 msgstr ""
24332
24333 # type: textblock
24334 #: ../tools/virt-resize.pl:52
24335 msgid ""
24336 "Virt-resize is a tool which can resize a virtual machine disk, making it "
24337 "larger or smaller overall, and resizing or deleting any partitions contained "
24338 "within."
24339 msgstr ""
24340
24341 # type: textblock
24342 #: ../tools/virt-resize.pl:56
24343 msgid ""
24344 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
24345 "not> be used on live virtual machines - for consistent results, shut the "
24346 "virtual machine down before resizing it."
24347 msgstr ""
24348
24349 # type: textblock
24350 #: ../tools/virt-resize.pl:60
24351 msgid ""
24352 "If you are not familiar with the associated tools: "
24353 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)> and L<virt-df(1)>, "
24354 "we recommend you go and read those manual pages first."
24355 msgstr ""
24356
24357 # type: textblock
24358 #: ../tools/virt-resize.pl:68
24359 msgid ""
24360 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
24361 "fill the extra 5GB of space."
24362 msgstr ""
24363
24364 # type: verbatim
24365 #: ../tools/virt-resize.pl:71
24366 #, no-wrap
24367 msgid ""
24368 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
24369 " virt-list-partitions -lht olddisk\n"
24370 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
24371 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
24372 "\n"
24373 msgstr ""
24374
24375 # type: textblock
24376 #: ../tools/virt-resize.pl:76
24377 msgid ""
24378 "As above, but make the /boot partition 200MB bigger, while giving the "
24379 "remaining space to /dev/sda2:"
24380 msgstr ""
24381
24382 # type: verbatim
24383 #: ../tools/virt-resize.pl:79
24384 #, no-wrap
24385 msgid ""
24386 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
24387 "\n"
24388 msgstr ""
24389
24390 # type: =head1
24391 #: ../tools/virt-resize.pl:81
24392 msgid "DETAILED USAGE"
24393 msgstr ""
24394
24395 # type: =head2
24396 #: ../tools/virt-resize.pl:83
24397 msgid "EXPANDING A VIRTUAL MACHINE DISK"
24398 msgstr ""
24399
24400 # type: =item
24401 #: ../tools/virt-resize.pl:87
24402 msgid "1. Shut down the virtual machine"
24403 msgstr ""
24404
24405 # type: =item
24406 #: ../tools/virt-resize.pl:89
24407 msgid "2. Locate input disk image"
24408 msgstr ""
24409
24410 # type: textblock
24411 #: ../tools/virt-resize.pl:91
24412 msgid ""
24413 "Locate the input disk image (ie. the file or device on the host containing "
24414 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
24415 "dumpxml> like this to find the disk image name:"
24416 msgstr ""
24417
24418 # type: verbatim
24419 #: ../tools/virt-resize.pl:95
24420 #, no-wrap
24421 msgid ""
24422 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
24423 " Found 1 nodes:\n"
24424 " -- NODE --\n"
24425 " <source dev=\"/dev/vg/lv_guest\" />\n"
24426 "\n"
24427 msgstr ""
24428
24429 # type: =item
24430 #: ../tools/virt-resize.pl:100
24431 msgid "3. Look at current sizing"
24432 msgstr ""
24433
24434 # type: textblock
24435 #: ../tools/virt-resize.pl:102
24436 msgid "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
24437 msgstr ""
24438
24439 # type: verbatim
24440 #: ../tools/virt-resize.pl:105
24441 #, no-wrap
24442 msgid ""
24443 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
24444 " /dev/sda1 ext3 101.9M\n"
24445 " /dev/sda2 pv 7.9G\n"
24446 " /dev/sda device 8.0G\n"
24447 "\n"
24448 msgstr ""
24449
24450 # type: textblock
24451 #: ../tools/virt-resize.pl:110
24452 msgid ""
24453 "(This example is a virtual machine with an 8 GB disk which we would like to "
24454 "expand up to 10 GB)."
24455 msgstr ""
24456
24457 # type: =item
24458 #: ../tools/virt-resize.pl:113
24459 msgid "4. Create output disk"
24460 msgstr ""
24461
24462 # type: textblock
24463 #: ../tools/virt-resize.pl:115
24464 msgid ""
24465 "Virt-resize cannot do in-place disk modifications.  You have to have space "
24466 "to store the resized output disk."
24467 msgstr ""
24468
24469 # type: textblock
24470 #: ../tools/virt-resize.pl:118
24471 msgid "To store the resized disk image in a file, create a file of a suitable size:"
24472 msgstr ""
24473
24474 # type: verbatim
24475 #: ../tools/virt-resize.pl:121
24476 #, no-wrap
24477 msgid ""
24478 " # rm -f outdisk\n"
24479 " # truncate -s 10G outdisk\n"
24480 "\n"
24481 msgstr ""
24482
24483 # type: textblock
24484 #: ../tools/virt-resize.pl:124
24485 msgid "Or use L<lvcreate(1)> to create a logical volume:"
24486 msgstr ""
24487
24488 # type: verbatim
24489 #: ../tools/virt-resize.pl:126
24490 #, no-wrap
24491 msgid ""
24492 " # lvcreate -L 10G -n lv_name vg_name\n"
24493 "\n"
24494 msgstr ""
24495
24496 # type: textblock
24497 #: ../tools/virt-resize.pl:128
24498 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
24499 msgstr ""
24500
24501 # type: verbatim
24502 #: ../tools/virt-resize.pl:130
24503 #, no-wrap
24504 msgid ""
24505 " # virsh pool-list\n"
24506 " # virsh vol-create-as poolname newvol 10G\n"
24507 "\n"
24508 msgstr ""
24509
24510 # type: =item
24511 #: ../tools/virt-resize.pl:133
24512 msgid "5. Resize"
24513 msgstr ""
24514
24515 # type: textblock
24516 #: ../tools/virt-resize.pl:135
24517 msgid ""
24518 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
24519 "file) and the output disk.  The output disk is the one created in the "
24520 "previous step."
24521 msgstr ""
24522
24523 # type: verbatim
24524 #: ../tools/virt-resize.pl:139
24525 #, no-wrap
24526 msgid ""
24527 " # virt-resize indisk outdisk\n"
24528 "\n"
24529 msgstr ""
24530
24531 # type: textblock
24532 #: ../tools/virt-resize.pl:141
24533 msgid ""
24534 "This command just copies disk image C<indisk> to disk image C<outdisk> "
24535 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
24536 "larger, then an extra, empty partition is created at the end of the disk "
24537 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
24538 "error."
24539 msgstr ""
24540
24541 # type: textblock
24542 #: ../tools/virt-resize.pl:147
24543 msgid ""
24544 "More realistically you'd want to expand existing partitions in the disk "
24545 "image by passing extra options (for the full list see the L</OPTIONS> "
24546 "section below)."
24547 msgstr ""
24548
24549 # type: textblock
24550 #: ../tools/virt-resize.pl:151
24551 msgid ""
24552 "L</--expand> is the most useful option.  It expands the named partition "
24553 "within the disk to fill any extra space:"
24554 msgstr ""
24555
24556 # type: verbatim
24557 #: ../tools/virt-resize.pl:154
24558 #, no-wrap
24559 msgid ""
24560 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
24561 "\n"
24562 msgstr ""
24563
24564 # type: textblock
24565 #: ../tools/virt-resize.pl:156
24566 msgid ""
24567 "(In this case, an extra partition is I<not> created at the end of the disk, "
24568 "because there will be no unused space)."
24569 msgstr ""
24570
24571 # type: textblock
24572 #: ../tools/virt-resize.pl:159
24573 msgid ""
24574 "L</--resize> is the other commonly used option.  The following would "
24575 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
24576 "rest of the available space:"
24577 msgstr ""
24578
24579 # type: verbatim
24580 #: ../tools/virt-resize.pl:163
24581 #, no-wrap
24582 msgid ""
24583 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
24584 "     indisk outdisk\n"
24585 "\n"
24586 msgstr ""
24587
24588 # type: textblock
24589 #: ../tools/virt-resize.pl:166
24590 msgid ""
24591 "If the expanded partition in the image contains a filesystem or LVM PV, then "
24592 "if virt-resize knows how, it will resize the contents, the equivalent of "
24593 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or "
24594 "L<ntfsresize(8)>.  However virt-resize does not know how to resize some "
24595 "filesystems, so you would have to online resize them after booting the "
24596 "guest.  And virt-resize also does not resize anything inside an LVM PV, it "
24597 "just resizes the PV itself and leaves the user to resize any LVs inside that "
24598 "PV as desired."
24599 msgstr ""
24600
24601 # type: textblock
24602 #: ../tools/virt-resize.pl:175
24603 msgid "Other options are covered below."
24604 msgstr ""
24605
24606 # type: =item
24607 #: ../tools/virt-resize.pl:177
24608 msgid "6. Test"
24609 msgstr ""
24610
24611 # type: textblock
24612 #: ../tools/virt-resize.pl:179
24613 msgid "Thoroughly test the new disk image I<before> discarding the old one."
24614 msgstr ""
24615
24616 # type: textblock
24617 #: ../tools/virt-resize.pl:181
24618 msgid "If you are using libvirt, edit the XML to point at the new disk:"
24619 msgstr ""
24620
24621 # type: verbatim
24622 #: ../tools/virt-resize.pl:183
24623 #, no-wrap
24624 msgid ""
24625 " # virsh edit guestname\n"
24626 "\n"
24627 msgstr ""
24628
24629 # type: textblock
24630 #: ../tools/virt-resize.pl:185
24631 msgid ""
24632 "Change E<lt>source ...E<gt>, see "
24633 "L<http://libvirt.org/formatdomain.html#elementsDisks>"
24634 msgstr ""
24635
24636 # type: textblock
24637 #: ../tools/virt-resize.pl:188
24638 msgid "Then start up the domain with the new, resized disk:"
24639 msgstr ""
24640
24641 # type: verbatim
24642 #: ../tools/virt-resize.pl:190
24643 #, no-wrap
24644 msgid ""
24645 " # virsh start guestname\n"
24646 "\n"
24647 msgstr ""
24648
24649 # type: textblock
24650 #: ../tools/virt-resize.pl:192
24651 msgid ""
24652 "and check that it still works.  See also the L</NOTES> section below for "
24653 "additional information."
24654 msgstr ""
24655
24656 # type: =item
24657 #: ../tools/virt-resize.pl:195
24658 msgid "7. Resize LVs etc inside the guest"
24659 msgstr ""
24660
24661 # type: textblock
24662 #: ../tools/virt-resize.pl:197
24663 msgid "(This can also be done offline using L<guestfish(1)>)"
24664 msgstr ""
24665
24666 # type: textblock
24667 #: ../tools/virt-resize.pl:199
24668 msgid ""
24669 "Once the guest has booted you should see the new space available, at least "
24670 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
24671 "may need to resize LVs inside PVs, and also resize filesystem types that "
24672 "virt-resize does not know how to expand."
24673 msgstr ""
24674
24675 # type: =head2
24676 #: ../tools/virt-resize.pl:206
24677 msgid "SHRINKING A VIRTUAL MACHINE DISK"
24678 msgstr ""
24679
24680 # type: textblock
24681 #: ../tools/virt-resize.pl:208
24682 msgid ""
24683 "Shrinking is somewhat more complex than expanding, and only an overview is "
24684 "given here."
24685 msgstr ""
24686
24687 # type: textblock
24688 #: ../tools/virt-resize.pl:211
24689 msgid ""
24690 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
24691 "filesystems).  The user has to shrink content before passing the disk image "
24692 "to virt-resize, and virt-resize will check that the content has been shrunk "
24693 "properly."
24694 msgstr ""
24695
24696 # type: textblock
24697 #: ../tools/virt-resize.pl:216
24698 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
24699 msgstr ""
24700
24701 # type: textblock
24702 #: ../tools/virt-resize.pl:218
24703 msgid ""
24704 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
24705 "steps 3 and 4 above to allocate a new disk image."
24706 msgstr ""
24707
24708 # type: textblock
24709 #: ../tools/virt-resize.pl:221
24710 msgid "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
24711 msgstr ""
24712
24713 # type: =head2
24714 #: ../tools/virt-resize.pl:224
24715 msgid "IGNORING OR DELETING PARTITIONS"
24716 msgstr ""
24717
24718 # type: textblock
24719 #: ../tools/virt-resize.pl:226
24720 msgid ""
24721 "virt-resize also gives a convenient way to ignore or delete partitions when "
24722 "copying from the input disk to the output disk.  Ignoring a partition speeds "
24723 "up the copy where you don't care about the existing contents of a "
24724 "partition.  Deleting a partition removes it completely, but note that it "
24725 "also renumbers any partitions after the one which is deleted, which can "
24726 "leave some guests unbootable."
24727 msgstr ""
24728
24729 # type: textblock
24730 #: ../tools/virt-resize.pl:243
24731 msgid "Display help."
24732 msgstr ""
24733
24734 # type: =item
24735 #: ../tools/virt-resize.pl:257
24736 msgid "B<--resize part=size>"
24737 msgstr ""
24738
24739 # type: textblock
24740 #: ../tools/virt-resize.pl:259
24741 msgid ""
24742 "Resize the named partition (expanding or shrinking it) so that it has the "
24743 "given size."
24744 msgstr ""
24745
24746 # type: textblock
24747 #: ../tools/virt-resize.pl:262
24748 msgid ""
24749 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
24750 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
24751 "Exabytes; or as a percentage of the current size; or as a relative number or "
24752 "percentage.  For example:"
24753 msgstr ""
24754
24755 # type: verbatim
24756 #: ../tools/virt-resize.pl:267
24757 #, no-wrap
24758 msgid ""
24759 " --resize /dev/sda2=10G\n"
24760 "\n"
24761 msgstr ""
24762
24763 # type: verbatim
24764 #: ../tools/virt-resize.pl:269
24765 #, no-wrap
24766 msgid ""
24767 " --resize /dev/sda4=90%\n"
24768 "\n"
24769 msgstr ""
24770
24771 # type: verbatim
24772 #: ../tools/virt-resize.pl:271
24773 #, no-wrap
24774 msgid ""
24775 " --resize /dev/sda2=+1G\n"
24776 "\n"
24777 msgstr ""
24778
24779 # type: verbatim
24780 #: ../tools/virt-resize.pl:273
24781 #, no-wrap
24782 msgid ""
24783 " --resize /dev/sda2=-200M\n"
24784 "\n"
24785 msgstr ""
24786
24787 # type: verbatim
24788 #: ../tools/virt-resize.pl:275
24789 #, no-wrap
24790 msgid ""
24791 " --resize /dev/sda1=+128K\n"
24792 "\n"
24793 msgstr ""
24794
24795 # type: verbatim
24796 #: ../tools/virt-resize.pl:277
24797 #, no-wrap
24798 msgid ""
24799 " --resize /dev/sda1=+10%\n"
24800 "\n"
24801 msgstr ""
24802
24803 # type: verbatim
24804 #: ../tools/virt-resize.pl:279
24805 #, no-wrap
24806 msgid ""
24807 " --resize /dev/sda1=-10%\n"
24808 "\n"
24809 msgstr ""
24810
24811 # type: textblock
24812 #: ../tools/virt-resize.pl:281
24813 msgid ""
24814 "You can increase the size of any partition.  Virt-resize will expand the "
24815 "direct content of the partition if it knows how (see C<--expand> below)."
24816 msgstr ""
24817
24818 # type: textblock
24819 #: ../tools/virt-resize.pl:285
24820 msgid ""
24821 "You can only I<decrease> the size of partitions that contain filesystems or "
24822 "PVs which have already been shrunk.  Virt-resize will check this has been "
24823 "done before proceeding, or else will print an error (see also "
24824 "C<--resize-force>)."
24825 msgstr ""
24826
24827 # type: textblock
24828 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382 ../tools/virt-resize.pl:399
24829 msgid "You can give this option multiple times."
24830 msgstr ""
24831
24832 # type: =item
24833 #: ../tools/virt-resize.pl:296
24834 msgid "B<--resize-force part=size>"
24835 msgstr ""
24836
24837 # type: textblock
24838 #: ../tools/virt-resize.pl:298
24839 msgid ""
24840 "This is the same as C<--resize> except that it will let you decrease the "
24841 "size of any partition.  Generally this means you will lose any data which "
24842 "was at the end of the partition you shrink, but you may not care about that "
24843 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
24844 "as a swap partition)."
24845 msgstr ""
24846
24847 # type: textblock
24848 #: ../tools/virt-resize.pl:304
24849 msgid "See also the C<--ignore> option."
24850 msgstr ""
24851
24852 # type: =item
24853 #: ../tools/virt-resize.pl:310
24854 msgid "B<--expand part>"
24855 msgstr ""
24856
24857 # type: textblock
24858 #: ../tools/virt-resize.pl:312
24859 msgid ""
24860 "Expand the named partition so it uses up all extra space (space left over "
24861 "after any other resize changes that you request have been done)."
24862 msgstr ""
24863
24864 # type: textblock
24865 #: ../tools/virt-resize.pl:315
24866 msgid ""
24867 "If virt-resize knows how, it will expand the direct content of the "
24868 "partition.  For example, if the partition is an LVM PV, it will expand the "
24869 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
24870 "content it doesn't know about alone."
24871 msgstr ""
24872
24873 # type: textblock
24874 #: ../tools/virt-resize.pl:320
24875 msgid "Currently virt-resize can resize:"
24876 msgstr ""
24877
24878 # type: textblock
24879 #: ../tools/virt-resize.pl:326
24880 msgid ""
24881 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
24882 "partition."
24883 msgstr ""
24884
24885 # type: textblock
24886 #: ../tools/virt-resize.pl:331
24887 msgid ""
24888 "NTFS filesystems contained directly in a partition, if libguestfs was "
24889 "compiled with support for NTFS."
24890 msgstr ""
24891
24892 # type: textblock
24893 #: ../tools/virt-resize.pl:334
24894 msgid ""
24895 "The filesystem must have been shut down consistently last time it was used.  "
24896 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
24897 "consistency check, so at the first boot after resizing Windows will check "
24898 "the disk."
24899 msgstr ""
24900
24901 # type: textblock
24902 #: ../tools/virt-resize.pl:341
24903 msgid ""
24904 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
24905 "inside the PV.  The user will have to resize LVs as desired."
24906 msgstr ""
24907
24908 # type: textblock
24909 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
24910 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
24911 msgstr ""
24912
24913 # type: =item
24914 #: ../tools/virt-resize.pl:353
24915 msgid "B<--shrink part>"
24916 msgstr ""
24917
24918 # type: textblock
24919 #: ../tools/virt-resize.pl:355
24920 msgid ""
24921 "Shrink the named partition until the overall disk image fits in the "
24922 "destination.  The named partition B<must> contain a filesystem or PV which "
24923 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
24924 "online tools).  Virt-resize will check this and give an error if it has not "
24925 "been done."
24926 msgstr ""
24927
24928 # type: textblock
24929 #: ../tools/virt-resize.pl:361
24930 msgid ""
24931 "The amount by which the overall disk must be shrunk (after carrying out all "
24932 "other operations requested by the user) is called the \"deficit\".  For "
24933 "example, a straight copy (assume no other operations)  from a 5GB disk image "
24934 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
24935 "would give an error unless the user specified a partition to shrink and that "
24936 "partition had more than a gigabyte of free space."
24937 msgstr ""
24938
24939 # type: =item
24940 #: ../tools/virt-resize.pl:375
24941 msgid "B<--ignore part>"
24942 msgstr ""
24943
24944 # type: textblock
24945 #: ../tools/virt-resize.pl:377
24946 msgid ""
24947 "Ignore the named partition.  Effectively this means the partition is "
24948 "allocated on the destination disk, but the content is not copied across from "
24949 "the source disk.  The content of the partition will be blank (all zero "
24950 "bytes)."
24951 msgstr ""
24952
24953 # type: =item
24954 #: ../tools/virt-resize.pl:388
24955 msgid "B<--delete part>"
24956 msgstr ""
24957
24958 # type: textblock
24959 #: ../tools/virt-resize.pl:390
24960 msgid ""
24961 "Delete the named partition.  It would be more accurate to describe this as "
24962 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
24963 "the original disk image is left intact."
24964 msgstr ""
24965
24966 # type: textblock
24967 #: ../tools/virt-resize.pl:394
24968 msgid ""
24969 "Note that when you delete a partition, then anything contained in the "
24970 "partition is also deleted.  Furthermore, this causes any partitions that "
24971 "come after to be I<renumbered>, which can easily make your guest unbootable."
24972 msgstr ""
24973
24974 # type: =item
24975 #: ../tools/virt-resize.pl:405
24976 msgid "B<--LV-expand logvol>"
24977 msgstr ""
24978
24979 # type: textblock
24980 #: ../tools/virt-resize.pl:407
24981 msgid ""
24982 "This takes the logical volume and, as a final step, expands it to fill all "
24983 "the space available in its volume group.  A typical usage, assuming a Linux "
24984 "guest with a single PV C</dev/sda2> and a root device called "
24985 "C</dev/vg_guest/lv_root> would be:"
24986 msgstr ""
24987
24988 # type: verbatim
24989 #: ../tools/virt-resize.pl:412
24990 #, no-wrap
24991 msgid ""
24992 " virt-resize indisk outdisk \\\n"
24993 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
24994 "\n"
24995 msgstr ""
24996
24997 # type: textblock
24998 #: ../tools/virt-resize.pl:415
24999 msgid ""
25000 "This would first expand the partition (and PV), and then expand the root "
25001 "device to fill the extra space in the PV."
25002 msgstr ""
25003
25004 # type: textblock
25005 #: ../tools/virt-resize.pl:418
25006 msgid ""
25007 "The contents of the LV are also resized if virt-resize knows how to do "
25008 "that.  You can stop virt-resize from trying to expand the content by using "
25009 "the option C<--no-expand-content>."
25010 msgstr ""
25011
25012 # type: textblock
25013 #: ../tools/virt-resize.pl:422
25014 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
25015 msgstr ""
25016
25017 # type: textblock
25018 #: ../tools/virt-resize.pl:425
25019 msgid ""
25020 "You can give this option multiple times, I<but> it doesn't make sense to do "
25021 "this unless the logical volumes you specify are all in different volume "
25022 "groups."
25023 msgstr ""
25024
25025 # type: =item
25026 #: ../tools/virt-resize.pl:433
25027 msgid "B<--no-copy-boot-loader>"
25028 msgstr ""
25029
25030 # type: textblock
25031 #: ../tools/virt-resize.pl:435
25032 msgid ""
25033 "By default, virt-resize copies over some sectors at the start of the disk "
25034 "(up to the beginning of the first partition).  Commonly these sectors "
25035 "contain the Master Boot Record (MBR) and the boot loader, and are required "
25036 "in order for the guest to boot correctly."
25037 msgstr ""
25038
25039 # type: textblock
25040 #: ../tools/virt-resize.pl:440
25041 msgid ""
25042 "If you specify this flag, then this initial copy is not done.  You may need "
25043 "to reinstall the boot loader in this case."
25044 msgstr ""
25045
25046 # type: =item
25047 #: ../tools/virt-resize.pl:448
25048 msgid "B<--no-extra-partition>"
25049 msgstr ""
25050
25051 # type: textblock
25052 #: ../tools/virt-resize.pl:450
25053 msgid ""
25054 "By default, virt-resize creates an extra partition if there is any extra, "
25055 "unused space after all resizing has happened.  Use this option to prevent "
25056 "the extra partition from being created.  If you do this then the extra space "
25057 "will be inaccessible until you run fdisk, parted, or some other partitioning "
25058 "tool in the guest."
25059 msgstr ""
25060
25061 # type: textblock
25062 #: ../tools/virt-resize.pl:456
25063 msgid ""
25064 "Note that if the surplus space is smaller than 10 MB, no extra partition "
25065 "will be created."
25066 msgstr ""
25067
25068 # type: =item
25069 #: ../tools/virt-resize.pl:463
25070 msgid "B<--no-expand-content>"
25071 msgstr ""
25072
25073 # type: textblock
25074 #: ../tools/virt-resize.pl:465
25075 msgid ""
25076 "By default, virt-resize will try to expand the direct contents of "
25077 "partitions, if it knows how (see C<--expand> option above)."
25078 msgstr ""
25079
25080 # type: textblock
25081 #: ../tools/virt-resize.pl:468
25082 msgid ""
25083 "If you give the C<--no-expand-content> option then virt-resize will not "
25084 "attempt this."
25085 msgstr ""
25086
25087 # type: =item
25088 #: ../tools/virt-resize.pl:475
25089 msgid "B<-d> | B<--debug>"
25090 msgstr ""
25091
25092 # type: textblock
25093 #: ../tools/virt-resize.pl:477 ../tools/virt-win-reg.pl:198
25094 msgid "Enable debugging messages."
25095 msgstr ""
25096
25097 # type: =item
25098 #: ../tools/virt-resize.pl:483
25099 msgid "B<-n> | B<--dryrun>"
25100 msgstr ""
25101
25102 # type: textblock
25103 #: ../tools/virt-resize.pl:485
25104 msgid "Print a summary of what would be done, but don't do anything."
25105 msgstr ""
25106
25107 # type: =item
25108 #: ../tools/virt-resize.pl:491
25109 msgid "B<-q> | B<--quiet>"
25110 msgstr ""
25111
25112 # type: textblock
25113 #: ../tools/virt-resize.pl:493
25114 msgid "Don't print the summary."
25115 msgstr ""
25116
25117 # type: =head2
25118 #: ../tools/virt-resize.pl:1352
25119 msgid "\"Partition 1 does not end on cylinder boundary.\""
25120 msgstr ""
25121
25122 # type: textblock
25123 #: ../tools/virt-resize.pl:1354
25124 msgid ""
25125 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
25126 "means the partitions will not be aligned to the ancient CHS geometry.  "
25127 "However CHS geometry is meaningless for disks manufactured since the early "
25128 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
25129 "cylinders is not required by any modern operating system."
25130 msgstr ""
25131
25132 # type: =head2
25133 #: ../tools/virt-resize.pl:1361
25134 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
25135 msgstr ""
25136
25137 # type: textblock
25138 #: ../tools/virt-resize.pl:1363
25139 msgid ""
25140 "In Windows Vista and later versions, Microsoft switched to using a separate "
25141 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
25142 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
25143 "the boot partition.  Doing so seems to break the guest completely.  However "
25144 "expanding the second partition (ie. C: drive) should work."
25145 msgstr ""
25146
25147 # type: textblock
25148 #: ../tools/virt-resize.pl:1370
25149 msgid ""
25150 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
25151 "NTFS partitions have been expanded.  This is just a safety check and (unless "
25152 "it find errors) is nothing to worry about."
25153 msgstr ""
25154
25155 # type: =head1
25156 #: ../tools/virt-resize.pl:1374
25157 msgid "ALTERNATIVE TOOLS"
25158 msgstr ""
25159
25160 # type: textblock
25161 #: ../tools/virt-resize.pl:1376
25162 msgid ""
25163 "There are several proprietary tools for resizing partitions.  We won't "
25164 "mention any here."
25165 msgstr ""
25166
25167 # type: textblock
25168 #: ../tools/virt-resize.pl:1379
25169 msgid ""
25170 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
25171 "operations on disk images.  They can resize and move partitions, but I don't "
25172 "think they can do anything with the contents, and they certainly don't "
25173 "understand LVM."
25174 msgstr ""
25175
25176 # type: textblock
25177 #: ../tools/virt-resize.pl:1384
25178 msgid ""
25179 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
25180 "but at a much lower level.  You will probably end up hand-calculating sector "
25181 "offsets, which is something that virt-resize was designed to avoid.  If you "
25182 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
25183 "C<--debug> flag."
25184 msgstr ""
25185
25186 # type: textblock
25187 #: ../tools/virt-resize.pl:1392
25188 msgid ""
25189 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
25190 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
25191 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, "
25192 "L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
25193 msgstr ""
25194
25195 # type: textblock
25196 #: ../tools/virt-tar.pl:34
25197 msgid "virt-tar - Extract or upload files to a virtual machine"
25198 msgstr ""
25199
25200 # type: verbatim
25201 #: ../tools/virt-tar.pl:38
25202 #, no-wrap
25203 msgid ""
25204 " virt-tar [--options] -x domname directory tarball\n"
25205 "\n"
25206 msgstr ""
25207
25208 # type: verbatim
25209 #: ../tools/virt-tar.pl:40
25210 #, no-wrap
25211 msgid ""
25212 " virt-tar [--options] -u domname tarball directory\n"
25213 "\n"
25214 msgstr ""
25215
25216 # type: verbatim
25217 #: ../tools/virt-tar.pl:42
25218 #, no-wrap
25219 msgid ""
25220 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
25221 "\n"
25222 msgstr ""
25223
25224 # type: verbatim
25225 #: ../tools/virt-tar.pl:44
25226 #, no-wrap
25227 msgid ""
25228 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
25229 "\n"
25230 msgstr ""
25231
25232 # type: textblock
25233 #: ../tools/virt-tar.pl:48
25234 msgid "Download C</home> from the VM into a local tarball:"
25235 msgstr ""
25236
25237 # type: verbatim
25238 #: ../tools/virt-tar.pl:50
25239 #, no-wrap
25240 msgid ""
25241 " virt-tar -x domname /home home.tar\n"
25242 "\n"
25243 msgstr ""
25244
25245 # type: verbatim
25246 #: ../tools/virt-tar.pl:52
25247 #, no-wrap
25248 msgid ""
25249 " virt-tar -zx domname /home home.tar.gz\n"
25250 "\n"
25251 msgstr ""
25252
25253 # type: textblock
25254 #: ../tools/virt-tar.pl:54
25255 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
25256 msgstr ""
25257
25258 # type: verbatim
25259 #: ../tools/virt-tar.pl:56
25260 #, no-wrap
25261 msgid ""
25262 " virt-tar -u domname uploadstuff.tar /tmp\n"
25263 "\n"
25264 msgstr ""
25265
25266 # type: verbatim
25267 #: ../tools/virt-tar.pl:58
25268 #, no-wrap
25269 msgid ""
25270 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
25271 "\n"
25272 msgstr ""
25273
25274 # type: textblock
25275 #: ../tools/virt-tar.pl:62
25276 msgid ""
25277 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
25278 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
25279 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
25280 msgstr ""
25281
25282 # type: textblock
25283 #: ../tools/virt-tar.pl:67
25284 msgid ""
25285 "You can use C<-x> (extract) on live virtual machines, but you might get "
25286 "inconsistent results or errors if there is filesystem activity inside the "
25287 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
25288 "work, but the only way to guarantee consistent results is if the virtual "
25289 "machine is shut down."
25290 msgstr ""
25291
25292 # type: textblock
25293 #: ../tools/virt-tar.pl:75
25294 msgid ""
25295 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
25296 "parts of a guest filesystem.  There are many possibilities: making backups, "
25297 "uploading data files, snooping on guest activity, fixing or customizing "
25298 "guests, etc."
25299 msgstr ""
25300
25301 # type: textblock
25302 #: ../tools/virt-tar.pl:80
25303 msgid ""
25304 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
25305 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
25306 "should look at the L<guestfish(1)> tool."
25307 msgstr ""
25308
25309 # type: textblock
25310 #: ../tools/virt-tar.pl:84
25311 msgid ""
25312 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
25313 "its contents (recursively) from the virtual machine into a local tarball.  "
25314 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
25315 "virtual machine.  You cannot use these two options together."
25316 msgstr ""
25317
25318 # type: textblock
25319 #: ../tools/virt-tar.pl:90
25320 msgid ""
25321 "In addition, you may need to use the C<-z> (gZip) option to enable "
25322 "compression.  When uploading, you have to specify C<-z> if the upload file "
25323 "is compressed because virt-tar won't detect this on its own."
25324 msgstr ""
25325
25326 # type: textblock
25327 #: ../tools/virt-tar.pl:94
25328 msgid ""
25329 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
25330 "example it cannot do PKZip files or bzip2 compression.  If you want that "
25331 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
25332 "the L<libguestfs(3)> API)."
25333 msgstr ""
25334
25335 # type: =item
25336 #: ../tools/virt-tar.pl:135
25337 msgid "B<-x> | B<--extract> | B<--download>"
25338 msgstr ""
25339
25340 # type: =item
25341 #: ../tools/virt-tar.pl:137
25342 msgid "B<-u> | B<--upload>"
25343 msgstr ""
25344
25345 # type: textblock
25346 #: ../tools/virt-tar.pl:139
25347 msgid ""
25348 "Use C<-x> to extract (download) a directory from a virtual machine to a "
25349 "local tarball."
25350 msgstr ""
25351
25352 # type: textblock
25353 #: ../tools/virt-tar.pl:142
25354 msgid ""
25355 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
25356 "Please read the L</WARNING> section above before using this option."
25357 msgstr ""
25358
25359 # type: textblock
25360 #: ../tools/virt-tar.pl:146
25361 msgid "You must specify exactly one of these options."
25362 msgstr ""
25363
25364 # type: =item
25365 #: ../tools/virt-tar.pl:152
25366 msgid "B<-z> | B<--gzip>"
25367 msgstr ""
25368
25369 # type: textblock
25370 #: ../tools/virt-tar.pl:154
25371 msgid "Specify that the input or output tarball is gzip-compressed."
25372 msgstr ""
25373
25374 # type: textblock
25375 #: ../tools/virt-tar.pl:259
25376 msgid ""
25377 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
25378 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
25379 "L<http://libguestfs.org/>."
25380 msgstr ""
25381
25382 # type: textblock
25383 #: ../tools/virt-win-reg.pl:38
25384 msgid ""
25385 "virt-win-reg - Export and merge Windows Registry entries from a Windows "
25386 "guest"
25387 msgstr ""
25388
25389 # type: verbatim
25390 #: ../tools/virt-win-reg.pl:42
25391 #, no-wrap
25392 msgid ""
25393 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
25394 "\n"
25395 msgstr ""
25396
25397 # type: verbatim
25398 #: ../tools/virt-win-reg.pl:44
25399 #, no-wrap
25400 msgid ""
25401 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
25402 "\n"
25403 msgstr ""
25404
25405 # type: verbatim
25406 #: ../tools/virt-win-reg.pl:46
25407 #, no-wrap
25408 msgid ""
25409 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
25410 "\n"
25411 msgstr ""
25412
25413 # type: verbatim
25414 #: ../tools/virt-win-reg.pl:48
25415 #, no-wrap
25416 msgid ""
25417 " virt-win-reg --merge domname [input.reg ...]\n"
25418 "\n"
25419 msgstr ""
25420
25421 # type: verbatim
25422 #: ../tools/virt-win-reg.pl:50
25423 #, no-wrap
25424 msgid ""
25425 " virt-win-reg [--options] disk.img ... # instead of domname\n"
25426 "\n"
25427 msgstr ""
25428
25429 # type: textblock
25430 #: ../tools/virt-win-reg.pl:54
25431 msgid ""
25432 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
25433 "virtual machines.  If you do this, you I<will> get irreversible disk "
25434 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
25435 "but doesn't catch all cases."
25436 msgstr ""
25437
25438 # type: textblock
25439 #: ../tools/virt-win-reg.pl:59
25440 msgid ""
25441 "Modifying the Windows Registry is an inherently risky operation.  The format "
25442 "is deliberately obscure and undocumented, and Registry changes can leave the "
25443 "system unbootable.  Therefore when using the C<--merge> option, make sure "
25444 "you have a reliable backup first."
25445 msgstr ""
25446
25447 # type: textblock
25448 #: ../tools/virt-win-reg.pl:66
25449 msgid ""
25450 "This program can export and merge Windows Registry entries from a Windows "
25451 "guest."
25452 msgstr ""
25453
25454 # type: textblock
25455 #: ../tools/virt-win-reg.pl:69
25456 msgid ""
25457 "The first parameter is the libvirt guest name or the raw disk image of a "
25458 "Windows guest."
25459 msgstr ""
25460
25461 # type: textblock
25462 #: ../tools/virt-win-reg.pl:72
25463 msgid ""
25464 "If C<--merge> is I<not> specified, then the chosen registry key is "
25465 "displayed/exported (recursively).  For example:"
25466 msgstr ""
25467
25468 # type: verbatim
25469 #: ../tools/virt-win-reg.pl:75
25470 #, no-wrap
25471 msgid ""
25472 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
25473 "\n"
25474 msgstr ""
25475
25476 # type: textblock
25477 #: ../tools/virt-win-reg.pl:77
25478 msgid "You can also display single values from within registry keys, for example:"
25479 msgstr ""
25480
25481 # type: verbatim
25482 #: ../tools/virt-win-reg.pl:80
25483 #, no-wrap
25484 msgid ""
25485 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
25486 " $ virt-win-reg Windows7 $cvkey ProductName\n"
25487 " Windows 7 Enterprise\n"
25488 "\n"
25489 msgstr ""
25490
25491 # type: textblock
25492 #: ../tools/virt-win-reg.pl:84
25493 msgid ""
25494 "With C<--merge>, you can merge a textual regedit file into the Windows "
25495 "Registry:"
25496 msgstr ""
25497
25498 # type: verbatim
25499 #: ../tools/virt-win-reg.pl:87
25500 #, no-wrap
25501 msgid ""
25502 " $ virt-win-reg --merge Windows7 changes.reg\n"
25503 "\n"
25504 msgstr ""
25505
25506 # type: =head2
25507 #: ../tools/virt-win-reg.pl:89
25508 msgid "SUPPORTED SYSTEMS"
25509 msgstr ""
25510
25511 # type: textblock
25512 #: ../tools/virt-win-reg.pl:91
25513 msgid ""
25514 "The program currently supports Windows NT-derived guests starting with "
25515 "Windows XP through to at least Windows 7."
25516 msgstr ""
25517
25518 # type: textblock
25519 #: ../tools/virt-win-reg.pl:94
25520 msgid ""
25521 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, "
25522 "C<HKEY_LOCAL_MACHINE\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, "
25523 "C<HKEY_LOCAL_MACHINE\\SYSTEM> and C<HKEY_USERS\\.DEFAULT>."
25524 msgstr ""
25525
25526 # type: textblock
25527 #: ../tools/virt-win-reg.pl:98
25528 msgid ""
25529 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
25530 "C<HKEY_USERS>."
25531 msgstr ""
25532
25533 # type: textblock
25534 #: ../tools/virt-win-reg.pl:101
25535 msgid ""
25536 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
25537 "time."
25538 msgstr ""
25539
25540 # type: =head2
25541 #: ../tools/virt-win-reg.pl:104
25542 msgid "NOTE"
25543 msgstr ""
25544
25545 # type: textblock
25546 #: ../tools/virt-win-reg.pl:106
25547 msgid ""
25548 "This program is only meant for simple access to the registry.  If you want "
25549 "to do complicated things with the registry, we suggest you download the "
25550 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
25551 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
25552 "L<hivexregedit(1)>."
25553 msgstr ""
25554
25555 # type: =head2
25556 #: ../tools/virt-win-reg.pl:112
25557 msgid "ENCODING"
25558 msgstr ""
25559
25560 # type: textblock
25561 #: ../tools/virt-win-reg.pl:114
25562 msgid ""
25563 "C<virt-win-reg> expects that regedit files have already been reencoded in "
25564 "the local encoding.  Usually on Linux hosts, this means UTF-8 with "
25565 "Unix-style line endings.  Since Windows regedit files are often in UTF-16LE "
25566 "with Windows-style line endings, you may need to reencode the whole file "
25567 "before or after processing."
25568 msgstr ""
25569
25570 # type: textblock
25571 #: ../tools/virt-win-reg.pl:120
25572 msgid ""
25573 "To reencode a file from Windows format to Linux (before processing it with "
25574 "the C<--merge> option), you would do something like this:"
25575 msgstr ""
25576
25577 # type: verbatim
25578 #: ../tools/virt-win-reg.pl:123
25579 #, no-wrap
25580 msgid ""
25581 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
25582 "\n"
25583 msgstr ""
25584
25585 # type: textblock
25586 #: ../tools/virt-win-reg.pl:125
25587 msgid ""
25588 "To go in the opposite direction, after exporting and before sending the file "
25589 "to a Windows user, do something like this:"
25590 msgstr ""
25591
25592 # type: verbatim
25593 #: ../tools/virt-win-reg.pl:128
25594 #, no-wrap
25595 msgid ""
25596 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
25597 "\n"
25598 msgstr ""
25599
25600 # type: textblock
25601 #: ../tools/virt-win-reg.pl:130
25602 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
25603 msgstr ""
25604
25605 # type: textblock
25606 #: ../tools/virt-win-reg.pl:132
25607 msgid ""
25608 "If you are unsure about the current encoding, use the L<file(1)> command.  "
25609 "Recent versions of Windows regedit.exe produce a UTF-16LE file with "
25610 "Windows-style (CRLF) line endings, like this:"
25611 msgstr ""
25612
25613 # type: verbatim
25614 #: ../tools/virt-win-reg.pl:136
25615 #, no-wrap
25616 msgid ""
25617 " $ file software.reg\n"
25618 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
25619 " with CRLF line terminators\n"
25620 "\n"
25621 msgstr ""
25622
25623 # type: textblock
25624 #: ../tools/virt-win-reg.pl:140
25625 msgid "This file would need conversion before you could C<--merge> it."
25626 msgstr ""
25627
25628 # type: =head2
25629 #: ../tools/virt-win-reg.pl:142
25630 msgid "SHELL QUOTING"
25631 msgstr ""
25632
25633 # type: textblock
25634 #: ../tools/virt-win-reg.pl:144
25635 msgid ""
25636 "Be careful when passing parameters containing C<\\> (backslash) in the "
25637 "shell.  Usually you will have to use 'single quotes' or double backslashes "
25638 "(but not both) to protect them from the shell."
25639 msgstr ""
25640
25641 # type: textblock
25642 #: ../tools/virt-win-reg.pl:148
25643 msgid "Paths and value names are case-insensitive."
25644 msgstr ""
25645
25646 # type: =head2
25647 #: ../tools/virt-win-reg.pl:150
25648 msgid "CurrentControlSet etc."
25649 msgstr ""
25650
25651 # type: textblock
25652 #: ../tools/virt-win-reg.pl:152
25653 msgid ""
25654 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
25655 "Registry at the level of the hive file, and therefore you cannot modify "
25656 "these."
25657 msgstr ""
25658
25659 # type: textblock
25660 #: ../tools/virt-win-reg.pl:156
25661 msgid ""
25662 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
25663 "circumstances it might refer to another control set.  The way to find out is "
25664 "to look at the C<HKLM\\SYSTEM\\Select> key:"
25665 msgstr ""
25666
25667 # type: verbatim
25668 #: ../tools/virt-win-reg.pl:160
25669 #, no-wrap
25670 msgid ""
25671 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
25672 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
25673 " \"Current\"=dword:00000001\n"
25674 " \"Default\"=dword:00000001\n"
25675 " \"Failed\"=dword:00000000\n"
25676 " \"LastKnownGood\"=dword:00000002\n"
25677 "\n"
25678 msgstr ""
25679
25680 # type: textblock
25681 #: ../tools/virt-win-reg.pl:167
25682 msgid "\"Default\" is the one which Windows will choose when it boots."
25683 msgstr ""
25684
25685 # type: textblock
25686 #: ../tools/virt-win-reg.pl:169
25687 msgid "Similarly, other C<Current...> keys in the path may need to be replaced."
25688 msgstr ""
25689
25690 # type: =item
25691 #: ../tools/virt-win-reg.pl:216
25692 msgid "B<--merge>"
25693 msgstr ""
25694
25695 # type: textblock
25696 #: ../tools/virt-win-reg.pl:218
25697 msgid ""
25698 "In merge mode, this merges a textual regedit file into the Windows Registry "
25699 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
25700 "displays or exports Registry entries instead."
25701 msgstr ""
25702
25703 # type: textblock
25704 #: ../tools/virt-win-reg.pl:222
25705 msgid ""
25706 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
25707 "result in disk corruption.  However exporting (without this flag)  is always "
25708 "safe."
25709 msgstr ""
25710
25711 # type: =item
25712 #: ../tools/virt-win-reg.pl:230
25713 msgid "B<--encoding> UTF-16LE|ASCII"
25714 msgstr ""
25715
25716 # type: textblock
25717 #: ../tools/virt-win-reg.pl:232
25718 msgid ""
25719 "When merging (only), you may need to specify the encoding for strings to be "
25720 "used in the hive file.  This is explained in detail in "
25721 "L<Win::Hivex::Regedit(3)/ENCODING STRINGS>."
25722 msgstr ""
25723
25724 # type: textblock
25725 #: ../tools/virt-win-reg.pl:236
25726 msgid ""
25727 "The default is to use UTF-16LE, which should work with recent versions of "
25728 "Windows."
25729 msgstr ""
25730
25731 # type: textblock
25732 #: ../tools/virt-win-reg.pl:463
25733 msgid ""
25734 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, "
25735 "L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
25736 "L<Sys::Guestfs::Lib(3)>, L<Win::Hivex(3)>, L<Win::Hivex::Regedit(3)>, "
25737 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25738 msgstr ""
25739
25740 # type: verbatim
25741 #: ../tools/virt-win-reg.pl:481
25742 #, no-wrap
25743 msgid ""
25744 " export LIBGUESTFS_DEBUG=1\n"
25745 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
25746 "\n"
25747 msgstr ""
25748
25749 # type: textblock
25750 #: ../tools/virt-win-reg.pl:484
25751 msgid ""
25752 "Attach /tmp/virt-win-reg.log to a new bug report at "
25753 "L<https://bugzilla.redhat.com/>"
25754 msgstr ""