90c914baa9c9f4ec9ae2e0d1e953ca7a1eb9e845
[libguestfs.git] / po-docs / ja.po
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
10 "POT-Creation-Date: 2010-09-18 09:23+0200\n"
11 "PO-Revision-Date: 2010-09-02 14:46+0100\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # type: =encoding
20 #: ../src/guestfs.pod:1 ../fish/guestfish.pod:1
21 #: ../test-tool/libguestfs-test-tool.pod:1 ../fuse/guestmount.pod:1
22 #: ../inspector/virt-inspector.pl:36 ../tools/virt-cat.pl:30
23 #: ../tools/virt-df.pl:32 ../tools/virt-edit.pl:31
24 #: ../tools/virt-list-filesystems.pl:28 ../tools/virt-list-partitions.pl:28
25 #: ../tools/virt-ls.pl:31 ../tools/virt-make-fs.pl:33
26 #: ../tools/virt-rescue.pl:29 ../tools/virt-resize.pl:38
27 #: ../tools/virt-tar.pl:30 ../tools/virt-win-reg.pl:34
28 msgid "utf8"
29 msgstr ""
30
31 # type: =head1
32 #: ../src/guestfs.pod:3 ../fish/guestfish.pod:3
33 #: ../test-tool/libguestfs-test-tool.pod:3 ../fuse/guestmount.pod:3
34 #: ../inspector/virt-inspector.pl:38 ../tools/virt-cat.pl:32
35 #: ../tools/virt-df.pl:34 ../tools/virt-edit.pl:33
36 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
37 #: ../tools/virt-ls.pl:33 ../tools/virt-make-fs.pl:35
38 #: ../tools/virt-rescue.pl:31 ../tools/virt-resize.pl:40
39 #: ../tools/virt-tar.pl:32 ../tools/virt-win-reg.pl:36
40 msgid "NAME"
41 msgstr "名前"
42
43 # type: textblock
44 #: ../src/guestfs.pod:5
45 msgid "guestfs - Library for accessing and modifying virtual machine images"
46 msgstr ""
47
48 # type: =head1
49 #: ../src/guestfs.pod:7 ../fish/guestfish.pod:7
50 #: ../test-tool/libguestfs-test-tool.pod:7 ../fuse/guestmount.pod:7
51 #: ../inspector/virt-inspector.pl:42 ../tools/virt-cat.pl:36
52 #: ../tools/virt-df.pl:38 ../tools/virt-edit.pl:37
53 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
54 #: ../tools/virt-ls.pl:37 ../tools/virt-make-fs.pl:39
55 #: ../tools/virt-rescue.pl:35 ../tools/virt-resize.pl:44
56 #: ../tools/virt-tar.pl:36 ../tools/virt-win-reg.pl:40
57 msgid "SYNOPSIS"
58 msgstr ""
59
60 # type: verbatim
61 #: ../src/guestfs.pod:9
62 #, no-wrap
63 msgid ""
64 " #include <guestfs.h>\n"
65 " \n"
66 msgstr ""
67
68 # type: verbatim
69 #: ../src/guestfs.pod:11
70 #, no-wrap
71 msgid ""
72 " guestfs_h *g = guestfs_create ();\n"
73 " guestfs_add_drive (g, \"guest.img\");\n"
74 " guestfs_launch (g);\n"
75 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
76 " guestfs_touch (g, \"/hello\");\n"
77 " guestfs_umount (g, \"/\");\n"
78 " guestfs_sync (g);\n"
79 " guestfs_close (g);\n"
80 "\n"
81 msgstr ""
82
83 # type: verbatim
84 #: ../src/guestfs.pod:20
85 #, no-wrap
86 msgid ""
87 " cc prog.c -o prog -lguestfs\n"
88 "or:\n"
89 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
90 "\n"
91 msgstr ""
92
93 # type: =head1
94 #: ../src/guestfs.pod:24 ../fish/guestfish.pod:115
95 #: ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:16
96 #: ../inspector/virt-inspector.pl:48 ../tools/virt-cat.pl:42
97 #: ../tools/virt-df.pl:46 ../tools/virt-edit.pl:51
98 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
99 #: ../tools/virt-ls.pl:43 ../tools/virt-make-fs.pl:47
100 #: ../tools/virt-rescue.pl:51 ../tools/virt-resize.pl:50
101 #: ../tools/virt-tar.pl:73 ../tools/virt-win-reg.pl:64
102 msgid "DESCRIPTION"
103 msgstr ""
104
105 # type: textblock
106 #: ../src/guestfs.pod:26
107 msgid ""
108 "Libguestfs is a library for accessing and modifying guest disk images.  "
109 "Amongst the things this is good for: making batch configuration changes to "
110 "guests, getting disk used/free statistics (see also: virt-df), migrating "
111 "between virtualization systems (see also: virt-p2v), performing partial "
112 "backups, performing partial guest clones, cloning guests and changing "
113 "registry/UUID/hostname info, and much else besides."
114 msgstr ""
115
116 # type: textblock
117 #: ../src/guestfs.pod:34
118 msgid ""
119 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
120 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
121 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
122 "qcow2, vmdk."
123 msgstr ""
124
125 # type: textblock
126 #: ../src/guestfs.pod:39
127 msgid ""
128 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
129 "what filesystem is in each LV, etc.).  It can also run commands in the "
130 "context of the guest.  Also you can access filesystems over FUSE."
131 msgstr ""
132
133 # type: textblock
134 #: ../src/guestfs.pod:44
135 msgid ""
136 "Libguestfs is a library that can be linked with C and C++ management "
137 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
138 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
139 "line."
140 msgstr ""
141
142 # type: textblock
143 #: ../src/guestfs.pod:49
144 msgid ""
145 "You don't need to be root to use libguestfs, although obviously you do need "
146 "enough permissions to access the disk images."
147 msgstr ""
148
149 # type: textblock
150 #: ../src/guestfs.pod:52
151 msgid ""
152 "Libguestfs is a large API because it can do many things.  For a gentle "
153 "introduction, please read the L</API OVERVIEW> section next."
154 msgstr ""
155
156 # type: =head1
157 #: ../src/guestfs.pod:55
158 msgid "API OVERVIEW"
159 msgstr ""
160
161 # type: textblock
162 #: ../src/guestfs.pod:57
163 msgid ""
164 "This section provides a gentler overview of the libguestfs API.  We also try "
165 "to group API calls together, where that may not be obvious from reading "
166 "about the individual calls in the main section of this manual."
167 msgstr ""
168
169 # type: =head2
170 #: ../src/guestfs.pod:62
171 msgid "HANDLES"
172 msgstr ""
173
174 # type: textblock
175 #: ../src/guestfs.pod:64
176 msgid ""
177 "Before you can use libguestfs calls, you have to create a handle.  Then you "
178 "must add at least one disk image to the handle, followed by launching the "
179 "handle, then performing whatever operations you want, and finally closing "
180 "the handle.  By convention we use the single letter C<g> for the name of the "
181 "handle variable, although of course you can use any name you want."
182 msgstr ""
183
184 # type: textblock
185 #: ../src/guestfs.pod:71
186 msgid "The general structure of all libguestfs-using programs looks like this:"
187 msgstr ""
188
189 # type: verbatim
190 #: ../src/guestfs.pod:74
191 #, no-wrap
192 msgid ""
193 " guestfs_h *g = guestfs_create ();\n"
194 " \n"
195 msgstr ""
196
197 # type: verbatim
198 #: ../src/guestfs.pod:76
199 #, no-wrap
200 msgid ""
201 " /* Call guestfs_add_drive additional times if there are\n"
202 "  * multiple disk images.\n"
203 "  */\n"
204 " guestfs_add_drive (g, \"guest.img\");\n"
205 " \n"
206 msgstr ""
207
208 # type: verbatim
209 #: ../src/guestfs.pod:81
210 #, no-wrap
211 msgid ""
212 " /* Most manipulation calls won't work until you've launched\n"
213 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
214 "  * and _before_ other commands.\n"
215 "  */\n"
216 " guestfs_launch (g);\n"
217 " \n"
218 msgstr ""
219
220 # type: verbatim
221 #: ../src/guestfs.pod:87
222 #, no-wrap
223 msgid ""
224 " /* Now you can examine what partitions, LVs etc are available.\n"
225 "  */\n"
226 " char **partitions = guestfs_list_partitions (g);\n"
227 " char **logvols = guestfs_lvs (g);\n"
228 " \n"
229 msgstr ""
230
231 # type: verbatim
232 #: ../src/guestfs.pod:92
233 #, no-wrap
234 msgid ""
235 " /* To access a filesystem in the image, you must mount it.\n"
236 "  */\n"
237 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
238 " \n"
239 msgstr ""
240
241 # type: verbatim
242 #: ../src/guestfs.pod:96
243 #, no-wrap
244 msgid ""
245 " /* Now you can perform filesystem actions on the guest\n"
246 "  * disk image.\n"
247 "  */\n"
248 " guestfs_touch (g, \"/hello\");\n"
249 " \n"
250 msgstr ""
251
252 # type: verbatim
253 #: ../src/guestfs.pod:101
254 #, no-wrap
255 msgid ""
256 " /* You only need to call guestfs_sync if you have made\n"
257 "  * changes to the guest image.  (But if you've made changes\n"
258 "  * then you *must* sync).  See also: guestfs_umount and\n"
259 "  * guestfs_umount_all calls.\n"
260 "  */\n"
261 " guestfs_sync (g);\n"
262 " \n"
263 msgstr ""
264
265 # type: verbatim
266 #: ../src/guestfs.pod:108
267 #, no-wrap
268 msgid ""
269 " /* Close the handle 'g'. */\n"
270 " guestfs_close (g);\n"
271 "\n"
272 msgstr ""
273
274 # type: textblock
275 #: ../src/guestfs.pod:111
276 msgid ""
277 "The code above doesn't include any error checking.  In real code you should "
278 "check return values carefully for errors.  In general all functions that "
279 "return integers return C<-1> on error, and all functions that return "
280 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
281 "how to handle errors, and consult the documentation for each function call "
282 "below to see precisely how they return error indications."
283 msgstr ""
284
285 # type: =head2
286 #: ../src/guestfs.pod:119
287 msgid "DISK IMAGES"
288 msgstr ""
289
290 # type: textblock
291 #: ../src/guestfs.pod:121
292 msgid ""
293 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
294 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
295 "actual block device, or simply an empty file of zeroes that you have created "
296 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
297 "of these."
298 msgstr ""
299
300 # type: textblock
301 #: ../src/guestfs.pod:127
302 msgid ""
303 "You can add a disk read-only using L</guestfs_add_drive_ro>, in which case "
304 "libguestfs won't modify the file."
305 msgstr ""
306
307 # type: textblock
308 #: ../src/guestfs.pod:130
309 msgid ""
310 "Be extremely cautious if the disk image is in use, eg. if it is being used "
311 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
312 "corruption, but adding it read-only is safe."
313 msgstr ""
314
315 # type: textblock
316 #: ../src/guestfs.pod:134
317 msgid ""
318 "You must add at least one disk image, and you may add multiple disk images.  "
319 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
320 "first one you added), C</dev/sdb> (for the second one you added), etc."
321 msgstr ""
322
323 # type: textblock
324 #: ../src/guestfs.pod:139
325 msgid ""
326 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
327 "can call L</guestfs_list_devices> to get a list of the device names, in the "
328 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
329 msgstr ""
330
331 # type: =head2
332 #: ../src/guestfs.pod:144
333 msgid "MOUNTING"
334 msgstr ""
335
336 # type: textblock
337 #: ../src/guestfs.pod:146
338 msgid ""
339 "Before you can read or write files, create directories and so on in a disk "
340 "image that contains filesystems, you have to mount those filesystems using "
341 "L</guestfs_mount>.  If you already know that a disk image contains (for "
342 "example) one partition with a filesystem on that partition, then you can "
343 "mount it directly:"
344 msgstr ""
345
346 # type: verbatim
347 #: ../src/guestfs.pod:152
348 #, no-wrap
349 msgid ""
350 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
351 "\n"
352 msgstr ""
353
354 # type: textblock
355 #: ../src/guestfs.pod:154
356 msgid ""
357 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
358 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
359 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
360 msgstr ""
361
362 # type: textblock
363 #: ../src/guestfs.pod:158
364 msgid ""
365 "If you are given a disk image and you don't know what it contains then you "
366 "have to find out.  Libguestfs can do that too: use L</"
367 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
368 "LVs, and either try mounting each to see what is mountable, or else examine "
369 "them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also has a "
370 "set of APIs for inspection of disk images (see L</INSPECTION> below).  But "
371 "you might find it easier to look at higher level programs built on top of "
372 "libguestfs, in particular L<virt-inspector(1)>."
373 msgstr ""
374
375 # type: textblock
376 #: ../src/guestfs.pod:168
377 msgid ""
378 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
379 "several other variations of the C<guestfs_mount_*> call."
380 msgstr ""
381
382 # type: =head2
383 #: ../src/guestfs.pod:171
384 msgid "FILESYSTEM ACCESS AND MODIFICATION"
385 msgstr ""
386
387 # type: textblock
388 #: ../src/guestfs.pod:173
389 msgid ""
390 "The majority of the libguestfs API consists of fairly low-level calls for "
391 "accessing and modifying the files, directories, symlinks etc on mounted "
392 "filesystems.  There are over a hundred such calls which you can find listed "
393 "in detail below in this man page, and we don't even pretend to cover them "
394 "all in this overview."
395 msgstr ""
396
397 # type: textblock
398 #: ../src/guestfs.pod:179
399 msgid ""
400 "Specify filenames as full paths, starting with C<\"/\"> and including the "
401 "mount point."
402 msgstr ""
403
404 # type: textblock
405 #: ../src/guestfs.pod:182
406 msgid ""
407 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
408 "the file called C<\"etc/passwd\"> then you could do:"
409 msgstr ""
410
411 # type: verbatim
412 #: ../src/guestfs.pod:185
413 #, no-wrap
414 msgid ""
415 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
416 "\n"
417 msgstr ""
418
419 # type: textblock
420 #: ../src/guestfs.pod:187
421 msgid ""
422 "This would return C<data> as a newly allocated buffer containing the full "
423 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
424 "or C<NULL> if there was an error."
425 msgstr ""
426
427 # type: textblock
428 #: ../src/guestfs.pod:191
429 msgid ""
430 "As another example, to create a top-level directory on that filesystem "
431 "called C<\"var\"> you would do:"
432 msgstr ""
433
434 # type: verbatim
435 #: ../src/guestfs.pod:194
436 #, no-wrap
437 msgid ""
438 " guestfs_mkdir (g, \"/var\");\n"
439 "\n"
440 msgstr ""
441
442 # type: textblock
443 #: ../src/guestfs.pod:196
444 msgid "To create a symlink you could do:"
445 msgstr ""
446
447 # type: verbatim
448 #: ../src/guestfs.pod:198
449 #, no-wrap
450 msgid ""
451 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
452 "               \"/etc/rc3.d/S30portmap\");\n"
453 "\n"
454 msgstr ""
455
456 # type: textblock
457 #: ../src/guestfs.pod:201
458 msgid ""
459 "Libguestfs will reject attempts to use relative paths and there is no "
460 "concept of a current working directory."
461 msgstr ""
462
463 # type: textblock
464 #: ../src/guestfs.pod:204
465 msgid ""
466 "Libguestfs can return errors in many situations: for example if the "
467 "filesystem isn't writable, or if a file or directory that you requested "
468 "doesn't exist.  If you are using the C API (documented here)  you have to "
469 "check for those error conditions after each call.  (Other language bindings "
470 "turn these errors into exceptions)."
471 msgstr ""
472
473 # type: textblock
474 #: ../src/guestfs.pod:210
475 msgid ""
476 "File writes are affected by the per-handle umask, set by calling L</"
477 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
478 msgstr ""
479
480 # type: =head2
481 #: ../src/guestfs.pod:213
482 msgid "PARTITIONING"
483 msgstr ""
484
485 # type: textblock
486 #: ../src/guestfs.pod:215
487 msgid ""
488 "Libguestfs contains API calls to read, create and modify partition tables on "
489 "disk images."
490 msgstr ""
491
492 # type: textblock
493 #: ../src/guestfs.pod:218
494 msgid ""
495 "In the common case where you want to create a single partition covering the "
496 "whole disk, you should use the L</guestfs_part_disk> call:"
497 msgstr ""
498
499 # type: verbatim
500 #: ../src/guestfs.pod:222
501 #, no-wrap
502 msgid ""
503 " const char *parttype = \"mbr\";\n"
504 " if (disk_is_larger_than_2TB)\n"
505 "   parttype = \"gpt\";\n"
506 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
507 "\n"
508 msgstr ""
509
510 # type: textblock
511 #: ../src/guestfs.pod:227
512 msgid ""
513 "Obviously this effectively wipes anything that was on that disk image before."
514 msgstr ""
515
516 # type: =head2
517 #: ../src/guestfs.pod:230
518 msgid "LVM2"
519 msgstr ""
520
521 # type: textblock
522 #: ../src/guestfs.pod:232
523 msgid ""
524 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
525 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
526 "you familiarize yourself with the concepts of physical volumes, volume "
527 "groups and logical volumes."
528 msgstr ""
529
530 # type: textblock
531 #: ../src/guestfs.pod:237
532 msgid ""
533 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
534 "tldp.org/HOWTO/LVM-HOWTO/>."
535 msgstr ""
536
537 # type: =head2
538 #: ../src/guestfs.pod:240
539 msgid "DOWNLOADING"
540 msgstr ""
541
542 # type: textblock
543 #: ../src/guestfs.pod:242
544 msgid ""
545 "Use L</guestfs_cat> to download small, text only files.  This call is "
546 "limited to files which are less than 2 MB and which cannot contain any ASCII "
547 "NUL (C<\\0>) characters.  However it has a very simple to use API."
548 msgstr ""
549
550 # type: textblock
551 #: ../src/guestfs.pod:247
552 msgid ""
553 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
554 "bit data, since it returns a (pointer, size) pair.  However it is still "
555 "limited to \"small\" files, less than 2 MB."
556 msgstr ""
557
558 # type: textblock
559 #: ../src/guestfs.pod:251
560 msgid ""
561 "L</guestfs_download> can be used to download any file, with no limits on "
562 "content or size (even files larger than 4 GB)."
563 msgstr ""
564
565 # type: textblock
566 #: ../src/guestfs.pod:254
567 msgid ""
568 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
569 msgstr ""
570
571 # type: =head2
572 #: ../src/guestfs.pod:257
573 msgid "UPLOADING"
574 msgstr ""
575
576 # type: textblock
577 #: ../src/guestfs.pod:259
578 msgid ""
579 "It's often the case that you want to write a file or files to the disk image."
580 msgstr ""
581
582 # type: textblock
583 #: ../src/guestfs.pod:262
584 msgid ""
585 "To write a small file with fixed content, use L</guestfs_write>.  To create "
586 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
587 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
588 "of other functions for creating test files, for example L</guestfs_fill> and "
589 "L</guestfs_fill_pattern>."
590 msgstr ""
591
592 # type: textblock
593 #: ../src/guestfs.pod:268
594 msgid ""
595 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
596 "file content or size (even files larger than 4 GB)."
597 msgstr ""
598
599 # type: textblock
600 #: ../src/guestfs.pod:271
601 msgid ""
602 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
603 msgstr ""
604
605 # type: textblock
606 #: ../src/guestfs.pod:273
607 msgid ""
608 "However the fastest way to upload I<large numbers of arbitrary files> is to "
609 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
610 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
611 "in a predictable way (eg. adding it last after all other drives) then you "
612 "can get the device name from L</guestfs_list_devices> and mount it directly "
613 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
614 "portable between kernel versions, and they don't support labels or UUIDs.  "
615 "If you want to pre-build an image or you need to mount it using a label or "
616 "UUID, use an ISO image instead."
617 msgstr ""
618
619 # type: =head2
620 #: ../src/guestfs.pod:284
621 msgid "COPYING"
622 msgstr ""
623
624 # type: textblock
625 #: ../src/guestfs.pod:286
626 msgid ""
627 "There are various different commands for copying between files and devices "
628 "and in and out of the guest filesystem.  These are summarised in the table "
629 "below."
630 msgstr ""
631
632 # type: =item
633 #: ../src/guestfs.pod:292
634 msgid "B<file> to B<file>"
635 msgstr ""
636
637 # type: textblock
638 #: ../src/guestfs.pod:294
639 msgid ""
640 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
641 "directories recursively."
642 msgstr ""
643
644 # type: =item
645 #: ../src/guestfs.pod:297
646 msgid "B<file or device> to B<file or device>"
647 msgstr ""
648
649 # type: textblock
650 #: ../src/guestfs.pod:299
651 msgid ""
652 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
653 "devices in the guest."
654 msgstr ""
655
656 # type: textblock
657 #: ../src/guestfs.pod:302
658 msgid "Example: duplicate the contents of an LV:"
659 msgstr ""
660
661 # type: verbatim
662 #: ../src/guestfs.pod:304
663 #, no-wrap
664 msgid ""
665 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
666 "\n"
667 msgstr ""
668
669 # type: textblock
670 #: ../src/guestfs.pod:306
671 msgid ""
672 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
673 "(C</dev/VG/Original>).  To copy less than the whole source device, use L</"
674 "guestfs_copy_size>."
675 msgstr ""
676
677 # type: =item
678 #: ../src/guestfs.pod:310
679 msgid "B<file on the host> to B<file or device>"
680 msgstr ""
681
682 # type: textblock
683 #: ../src/guestfs.pod:312
684 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
685 msgstr ""
686
687 # type: =item
688 #: ../src/guestfs.pod:314
689 msgid "B<file or device> to B<file on the host>"
690 msgstr ""
691
692 # type: textblock
693 #: ../src/guestfs.pod:316
694 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
695 msgstr ""
696
697 # type: =head2
698 #: ../src/guestfs.pod:320
699 msgid "LISTING FILES"
700 msgstr ""
701
702 # type: textblock
703 #: ../src/guestfs.pod:322
704 msgid ""
705 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
706 "L<guestfish(1)>-equivalent command C<ll>)."
707 msgstr ""
708
709 # type: textblock
710 #: ../src/guestfs.pod:325
711 msgid ""
712 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
713 "programs, as a flat list of strings."
714 msgstr ""
715
716 # type: textblock
717 #: ../src/guestfs.pod:328
718 msgid ""
719 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
720 "directory, plus additional information about each one.  It is more "
721 "equivalent to using the L<readdir(3)> call on a local filesystem."
722 msgstr ""
723
724 # type: textblock
725 #: ../src/guestfs.pod:332
726 msgid ""
727 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
728 msgstr ""
729
730 # type: =head2
731 #: ../src/guestfs.pod:335
732 msgid "RUNNING COMMANDS"
733 msgstr ""
734
735 # type: textblock
736 #: ../src/guestfs.pod:337
737 msgid ""
738 "Although libguestfs is primarily an API for manipulating files inside guest "
739 "images, we also provide some limited facilities for running commands inside "
740 "guests."
741 msgstr ""
742
743 # type: textblock
744 #: ../src/guestfs.pod:341
745 msgid "There are many limitations to this:"
746 msgstr ""
747
748 # type: =item
749 #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355
750 #: ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368
751 #: ../src/guestfs.pod:373 ../src/guestfs.pod:1223 ../src/guestfs.pod:1228
752 #: ../src/guestfs.pod:1232 ../src/guestfs.pod:1334 ../src/guestfs.pod:1338
753 #: ../src/guestfs.pod:1342 ../src/guestfs.pod:1347 ../src/guestfs.pod:1355
754 #: ../src/guestfs.pod:1374 ../src/guestfs.pod:1382 ../src/guestfs.pod:1612
755 #: ../src/guestfs.pod:1618 ../src/guestfs.pod:1623 ../src/guestfs.pod:1629
756 #: ../src/guestfs.pod:1736 ../src/guestfs.pod:1740 ../src/guestfs.pod:1744
757 #: ../src/guestfs.pod:1748 ../src/guestfs-actions.pod:14
758 #: ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372
759 #: ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387
760 #: ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1257
761 #: ../src/guestfs-actions.pod:1261 ../src/guestfs-actions.pod:1265
762 #: ../src/guestfs-actions.pod:1269 ../src/guestfs-actions.pod:1277
763 #: ../src/guestfs-actions.pod:1281 ../src/guestfs-actions.pod:1285
764 #: ../src/guestfs-actions.pod:1295 ../src/guestfs-actions.pod:1299
765 #: ../src/guestfs-actions.pod:1303 ../src/guestfs-actions.pod:1426
766 #: ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1435
767 #: ../src/guestfs-actions.pod:1440 ../src/guestfs-actions.pod:1492
768 #: ../src/guestfs-actions.pod:1496 ../src/guestfs-actions.pod:1501
769 #: ../fish/guestfish.pod:309 ../fish/guestfish.pod:313
770 #: ../fish/guestfish.pod:317 ../fish/guestfish.pod:321
771 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
772 #: ../fish/guestfish-actions.pod:300 ../fish/guestfish-actions.pod:308
773 #: ../fish/guestfish-actions.pod:315 ../fish/guestfish-actions.pod:322
774 #: ../fish/guestfish-actions.pod:998 ../fish/guestfish-actions.pod:1002
775 #: ../fish/guestfish-actions.pod:1006 ../fish/guestfish-actions.pod:1010
776 #: ../fish/guestfish-actions.pod:1018 ../fish/guestfish-actions.pod:1022
777 #: ../fish/guestfish-actions.pod:1026 ../fish/guestfish-actions.pod:1036
778 #: ../fish/guestfish-actions.pod:1040 ../fish/guestfish-actions.pod:1044
779 #: ../fish/guestfish-actions.pod:1134 ../fish/guestfish-actions.pod:1138
780 #: ../fish/guestfish-actions.pod:1143 ../fish/guestfish-actions.pod:1148
781 #: ../fish/guestfish-actions.pod:1190 ../fish/guestfish-actions.pod:1194
782 #: ../fish/guestfish-actions.pod:1199 ../tools/virt-resize.pl:324
783 #: ../tools/virt-resize.pl:329 ../tools/virt-resize.pl:339
784 msgid "*"
785 msgstr ""
786
787 # type: textblock
788 #: ../src/guestfs.pod:347
789 msgid ""
790 "The kernel version that the command runs under will be different from what "
791 "it expects."
792 msgstr ""
793
794 # type: textblock
795 #: ../src/guestfs.pod:352
796 msgid ""
797 "If the command needs to communicate with daemons, then most likely they "
798 "won't be running."
799 msgstr ""
800
801 # type: textblock
802 #: ../src/guestfs.pod:357
803 msgid "The command will be running in limited memory."
804 msgstr ""
805
806 # type: textblock
807 #: ../src/guestfs.pod:361
808 msgid ""
809 "The network may not be available unless you enable it (see L</"
810 "guestfs_set_network>)."
811 msgstr ""
812
813 # type: textblock
814 #: ../src/guestfs.pod:366
815 msgid "Only supports Linux guests (not Windows, BSD, etc)."
816 msgstr ""
817
818 # type: textblock
819 #: ../src/guestfs.pod:370
820 msgid ""
821 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
822 msgstr ""
823
824 # type: textblock
825 #: ../src/guestfs.pod:375
826 msgid ""
827 "For SELinux guests, you may need to enable SELinux and load policy first.  "
828 "See L</SELINUX> in this manpage."
829 msgstr ""
830
831 # type: textblock
832 #: ../src/guestfs.pod:380
833 msgid ""
834 "The two main API calls to run commands are L</guestfs_command> and L</"
835 "guestfs_sh> (there are also variations)."
836 msgstr ""
837
838 # type: textblock
839 #: ../src/guestfs.pod:383
840 msgid ""
841 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
842 "shell globs, redirections, etc will work."
843 msgstr ""
844
845 # type: =head2
846 #: ../src/guestfs.pod:386
847 msgid "CONFIGURATION FILES"
848 msgstr ""
849
850 # type: textblock
851 #: ../src/guestfs.pod:388
852 msgid ""
853 "To read and write configuration files in Linux guest filesystems, we "
854 "strongly recommend using Augeas.  For example, Augeas understands how to "
855 "read and write, say, a Linux shadow password file or X.org configuration "
856 "file, and so avoids you having to write that code."
857 msgstr ""
858
859 # type: textblock
860 #: ../src/guestfs.pod:393
861 msgid ""
862 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
863 "document Augeas itself here because there is excellent documentation on the "
864 "L<http://augeas.net/> website."
865 msgstr ""
866
867 # type: textblock
868 #: ../src/guestfs.pod:397
869 msgid ""
870 "If you don't want to use Augeas (you fool!) then try calling L</"
871 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
872 "over."
873 msgstr ""
874
875 # type: =head2
876 #: ../src/guestfs.pod:401
877 msgid "SELINUX"
878 msgstr ""
879
880 # type: textblock
881 #: ../src/guestfs.pod:403
882 msgid ""
883 "We support SELinux guests.  To ensure that labeling happens correctly in "
884 "SELinux guests, you need to enable SELinux and load the guest's policy:"
885 msgstr ""
886
887 # type: =item
888 #: ../src/guestfs.pod:409
889 msgid "1."
890 msgstr ""
891
892 # type: textblock
893 #: ../src/guestfs.pod:411
894 msgid "Before launching, do:"
895 msgstr ""
896
897 # type: verbatim
898 #: ../src/guestfs.pod:413
899 #, no-wrap
900 msgid ""
901 " guestfs_set_selinux (g, 1);\n"
902 "\n"
903 msgstr ""
904
905 # type: =item
906 #: ../src/guestfs.pod:415
907 msgid "2."
908 msgstr ""
909
910 # type: textblock
911 #: ../src/guestfs.pod:417
912 msgid ""
913 "After mounting the guest's filesystem(s), load the policy.  This is best "
914 "done by running the L<load_policy(8)> command in the guest itself:"
915 msgstr ""
916
917 # type: verbatim
918 #: ../src/guestfs.pod:421
919 #, no-wrap
920 msgid ""
921 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
922 "\n"
923 msgstr ""
924
925 # type: textblock
926 #: ../src/guestfs.pod:423
927 msgid ""
928 "(Older versions of C<load_policy> require you to specify the name of the "
929 "policy file)."
930 msgstr ""
931
932 # type: =item
933 #: ../src/guestfs.pod:426
934 msgid "3."
935 msgstr ""
936
937 # type: textblock
938 #: ../src/guestfs.pod:428
939 msgid ""
940 "Optionally, set the security context for the API.  The correct security "
941 "context to use can only be known by inspecting the guest.  As an example:"
942 msgstr ""
943
944 # type: verbatim
945 #: ../src/guestfs.pod:432
946 #, no-wrap
947 msgid ""
948 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
949 "\n"
950 msgstr ""
951
952 # type: textblock
953 #: ../src/guestfs.pod:436
954 msgid "This will work for running commands and editing existing files."
955 msgstr ""
956
957 # type: textblock
958 #: ../src/guestfs.pod:438
959 msgid ""
960 "When new files are created, you may need to label them explicitly, for "
961 "example by running the external command C<restorecon pathname>."
962 msgstr ""
963
964 # type: =head2
965 #: ../src/guestfs.pod:442
966 msgid "UMASK"
967 msgstr ""
968
969 # type: textblock
970 #: ../src/guestfs.pod:444
971 msgid ""
972 "Certain calls are affected by the current file mode creation mask (the "
973 "\"umask\").  In particular ones which create files or directories, such as "
974 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
975 "either the default mode that the file is created with or modifies the mode "
976 "that you supply."
977 msgstr ""
978
979 # type: textblock
980 #: ../src/guestfs.pod:450
981 msgid ""
982 "The default umask is C<022>, so files are created with modes such as C<0644> "
983 "and directories with C<0755>."
984 msgstr ""
985
986 # type: textblock
987 #: ../src/guestfs.pod:453
988 msgid ""
989 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
990 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
991 "guestfs_chmod> after creating each file or directory."
992 msgstr ""
993
994 # type: textblock
995 #: ../src/guestfs.pod:457
996 msgid "For more information about umask, see L<umask(2)>."
997 msgstr ""
998
999 # type: =head1
1000 #: ../src/guestfs.pod:459 ../fish/guestfish.pod:559
1001 msgid "ENCRYPTED DISKS"
1002 msgstr ""
1003
1004 # type: textblock
1005 #: ../src/guestfs.pod:461
1006 msgid ""
1007 "Libguestfs allows you to access Linux guests which have been encrypted using "
1008 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
1009 "standard.  This includes nearly all whole disk encryption systems used by "
1010 "modern Linux guests."
1011 msgstr ""
1012
1013 # type: textblock
1014 #: ../src/guestfs.pod:467
1015 msgid ""
1016 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
1017 "returns the string C<crypto_LUKS>)."
1018 msgstr ""
1019
1020 # type: textblock
1021 #: ../src/guestfs.pod:470
1022 msgid ""
1023 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
1024 "will require the passphrase!"
1025 msgstr ""
1026
1027 # type: textblock
1028 #: ../src/guestfs.pod:473
1029 msgid ""
1030 "Opening a LUKS device creates a new device mapper device called C</dev/"
1031 "mapper/mapname> (where C<mapname> is the string you supply to L</"
1032 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
1033 "from and encrypted to the underlying block device respectively."
1034 msgstr ""
1035
1036 # type: textblock
1037 #: ../src/guestfs.pod:479
1038 msgid ""
1039 "LVM volume groups on the device can be made visible by calling L</"
1040 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
1041 "(s) can now be mounted in the usual way."
1042 msgstr ""
1043
1044 # type: textblock
1045 #: ../src/guestfs.pod:483
1046 msgid ""
1047 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
1048 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
1049 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
1050 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
1051 "underlying encrypted block device)."
1052 msgstr ""
1053
1054 # type: =head2
1055 #: ../src/guestfs.pod:490
1056 msgid "INSPECTION"
1057 msgstr ""
1058
1059 # type: textblock
1060 #: ../src/guestfs.pod:492
1061 msgid ""
1062 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1063 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1064 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1065 "frequently used part of this library has been rewritten in C and moved into "
1066 "the core code)."
1067 msgstr ""
1068
1069 # type: textblock
1070 #: ../src/guestfs.pod:498
1071 msgid ""
1072 "Add all disks belonging to the unknown virtual machine and call L</"
1073 "guestfs_launch> in the usual way."
1074 msgstr ""
1075
1076 # type: textblock
1077 #: ../src/guestfs.pod:501
1078 msgid ""
1079 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1080 "and certain heuristics, and returns a list of operating systems that were "
1081 "found.  An empty list means none were found.  A single element is the root "
1082 "filesystem of the operating system.  For dual- or multi-boot guests, "
1083 "multiple roots can be returned, each one corresponding to a separate "
1084 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1085 "world of virtualization, but since this scenario can happen, we have built "
1086 "libguestfs to deal with it.)"
1087 msgstr ""
1088
1089 # type: textblock
1090 #: ../src/guestfs.pod:510
1091 msgid ""
1092 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1093 "to get additional details about that operating system.  For example, call L</"
1094 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1095 "Windows and Linux-based operating systems respectively."
1096 msgstr ""
1097
1098 # type: textblock
1099 #: ../src/guestfs.pod:516
1100 msgid ""
1101 "Un*x-like and Linux-based operating systems usually consist of several "
1102 "filesystems which are mounted at boot time (for example, a separate boot "
1103 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1104 "filesystems correspond to mount points.  Call "
1105 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1106 "hash table like this example:"
1107 msgstr ""
1108
1109 # type: verbatim
1110 #: ../src/guestfs.pod:523
1111 #, no-wrap
1112 msgid ""
1113 " /boot => /dev/sda1\n"
1114 " /     => /dev/vg_guest/lv_root\n"
1115 " /usr  => /dev/vg_guest/lv_usr\n"
1116 "\n"
1117 msgstr ""
1118
1119 # type: textblock
1120 #: ../src/guestfs.pod:527
1121 msgid ""
1122 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1123 "filesystems as suggested."
1124 msgstr ""
1125
1126 # type: textblock
1127 #: ../src/guestfs.pod:530
1128 msgid ""
1129 "Be careful to mount filesystems in the right order (eg. C</> before C</"
1130 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
1131 msgstr ""
1132
1133 # type: textblock
1134 #: ../src/guestfs.pod:534
1135 msgid ""
1136 "Inspection currently only works for some common operating systems.  "
1137 "Contributors are welcome to send patches for other operating systems that we "
1138 "currently cannot detect."
1139 msgstr ""
1140
1141 # type: textblock
1142 #: ../src/guestfs.pod:538
1143 msgid ""
1144 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1145 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1146 "encrypted devices."
1147 msgstr ""
1148
1149 # type: textblock
1150 #: ../src/guestfs.pod:542
1151 msgid ""
1152 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1153 "inspection and caches the results in the guest handle.  Subsequent calls to "
1154 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
1155 "read the disks.  If you change the content of the guest disks, you can redo "
1156 "inspection by calling L</guestfs_inspect_os> again."
1157 msgstr ""
1158
1159 # type: =head2
1160 #: ../src/guestfs.pod:549
1161 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1162 msgstr ""
1163
1164 # type: textblock
1165 #: ../src/guestfs.pod:551
1166 msgid ""
1167 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
1168 "ntfs-3g.org/> driver."
1169 msgstr ""
1170
1171 # type: textblock
1172 #: ../src/guestfs.pod:554
1173 msgid ""
1174 "DOS and Windows still use drive letters, and the filesystems are always "
1175 "treated as case insensitive by Windows itself, and therefore you might find "
1176 "a Windows configuration file referring to a path like C<c:\\windows"
1177 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
1178 "might be referred to as C</WINDOWS/System32>."
1179 msgstr ""
1180
1181 # type: textblock
1182 #: ../src/guestfs.pod:560
1183 msgid ""
1184 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1185 "libguestfs to read the appropriate Windows Registry and configuration files, "
1186 "to determine yourself how drives are mapped (see also L<hivex(3)> and L<virt-"
1187 "inspector(1)>)."
1188 msgstr ""
1189
1190 # type: textblock
1191 #: ../src/guestfs.pod:565
1192 msgid ""
1193 "Replacing backslash characters with forward slash characters is also outside "
1194 "the scope of libguestfs, but something that you can easily do."
1195 msgstr ""
1196
1197 # type: textblock
1198 #: ../src/guestfs.pod:568
1199 msgid ""
1200 "Where we can help is in resolving the case insensitivity of paths.  For "
1201 "this, call L</guestfs_case_sensitive_path>."
1202 msgstr ""
1203
1204 # type: textblock
1205 #: ../src/guestfs.pod:571
1206 msgid ""
1207 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1208 "files, through the library C<hivex> which is part of the libguestfs project "
1209 "although ships as a separate tarball.  You have to locate and download the "
1210 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1211 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
1212 "reg(1)> for more help on this issue."
1213 msgstr ""
1214
1215 # type: =head2
1216 #: ../src/guestfs.pod:579
1217 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1218 msgstr ""
1219
1220 # type: textblock
1221 #: ../src/guestfs.pod:581
1222 msgid ""
1223 "Although we don't want to discourage you from using the C API, we will "
1224 "mention here that the same API is also available in other languages."
1225 msgstr ""
1226
1227 # type: textblock
1228 #: ../src/guestfs.pod:584
1229 msgid ""
1230 "The API is broadly identical in all supported languages.  This means that "
1231 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, C<g."
1232 "mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1233 "words, a straightforward, predictable isomorphism between each language."
1234 msgstr ""
1235
1236 # type: textblock
1237 #: ../src/guestfs.pod:590
1238 msgid ""
1239 "Error messages are automatically transformed into exceptions if the language "
1240 "supports it."
1241 msgstr ""
1242
1243 # type: textblock
1244 #: ../src/guestfs.pod:593
1245 msgid ""
1246 "We don't try to \"object orientify\" parts of the API in OO languages, "
1247 "although contributors are welcome to write higher level APIs above what we "
1248 "provide in their favourite languages if they wish."
1249 msgstr ""
1250
1251 # type: =item
1252 #: ../src/guestfs.pod:599
1253 msgid "B<C++>"
1254 msgstr ""
1255
1256 # type: textblock
1257 #: ../src/guestfs.pod:601
1258 msgid ""
1259 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1260 "identical to the C API.  C++ classes and exceptions are not used."
1261 msgstr ""
1262
1263 # type: =item
1264 #: ../src/guestfs.pod:605
1265 msgid "B<C#>"
1266 msgstr ""
1267
1268 # type: textblock
1269 #: ../src/guestfs.pod:607
1270 msgid ""
1271 "The C# bindings are highly experimental.  Please read the warnings at the "
1272 "top of C<csharp/Libguestfs.cs>."
1273 msgstr ""
1274
1275 # type: =item
1276 #: ../src/guestfs.pod:610
1277 msgid "B<Haskell>"
1278 msgstr ""
1279
1280 # type: textblock
1281 #: ../src/guestfs.pod:612
1282 msgid ""
1283 "This is the only language binding that is working but incomplete.  Only "
1284 "calls which return simple integers have been bound in Haskell, and we are "
1285 "looking for help to complete this binding."
1286 msgstr ""
1287
1288 # type: =item
1289 #: ../src/guestfs.pod:616
1290 msgid "B<Java>"
1291 msgstr ""
1292
1293 # type: textblock
1294 #: ../src/guestfs.pod:618
1295 msgid ""
1296 "Full documentation is contained in the Javadoc which is distributed with "
1297 "libguestfs."
1298 msgstr ""
1299
1300 # type: =item
1301 #: ../src/guestfs.pod:621
1302 msgid "B<OCaml>"
1303 msgstr ""
1304
1305 # type: textblock
1306 #: ../src/guestfs.pod:623
1307 msgid "For documentation see the file C<guestfs.mli>."
1308 msgstr ""
1309
1310 # type: =item
1311 #: ../src/guestfs.pod:625
1312 msgid "B<Perl>"
1313 msgstr ""
1314
1315 # type: textblock
1316 #: ../src/guestfs.pod:627
1317 msgid "For documentation see L<Sys::Guestfs(3)>."
1318 msgstr ""
1319
1320 # type: =item
1321 #: ../src/guestfs.pod:629
1322 msgid "B<PHP>"
1323 msgstr ""
1324
1325 # type: textblock
1326 #: ../src/guestfs.pod:631
1327 msgid ""
1328 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
1329 "the php-libguestfs package for your distribution."
1330 msgstr ""
1331
1332 # type: textblock
1333 #: ../src/guestfs.pod:634
1334 msgid "The PHP binding only works correctly on 64 bit machines."
1335 msgstr ""
1336
1337 # type: =item
1338 #: ../src/guestfs.pod:636
1339 msgid "B<Python>"
1340 msgstr ""
1341
1342 # type: textblock
1343 #: ../src/guestfs.pod:638
1344 msgid "For documentation do:"
1345 msgstr ""
1346
1347 # type: verbatim
1348 #: ../src/guestfs.pod:640
1349 #, no-wrap
1350 msgid ""
1351 " $ python\n"
1352 " >>> import guestfs\n"
1353 " >>> help (guestfs)\n"
1354 "\n"
1355 msgstr ""
1356
1357 # type: =item
1358 #: ../src/guestfs.pod:644
1359 msgid "B<Ruby>"
1360 msgstr ""
1361
1362 # type: textblock
1363 #: ../src/guestfs.pod:646
1364 msgid ""
1365 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1366 "can find examples written in Ruby in the libguestfs source."
1367 msgstr ""
1368
1369 # type: =item
1370 #: ../src/guestfs.pod:649
1371 msgid "B<shell scripts>"
1372 msgstr ""
1373
1374 # type: textblock
1375 #: ../src/guestfs.pod:651
1376 msgid "For documentation see L<guestfish(1)>."
1377 msgstr ""
1378
1379 # type: =head2
1380 #: ../src/guestfs.pod:655
1381 msgid "LIBGUESTFS GOTCHAS"
1382 msgstr ""
1383
1384 # type: textblock
1385 #: ../src/guestfs.pod:657
1386 msgid ""
1387 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1388 "system [...] that works in the way it is documented but is counterintuitive "
1389 "and almost invites mistakes.\""
1390 msgstr ""
1391
1392 # type: textblock
1393 #: ../src/guestfs.pod:661
1394 msgid ""
1395 "Since we developed libguestfs and the associated tools, there are several "
1396 "things we would have designed differently, but are now stuck with for "
1397 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1398 "release, you can expect these to change.  Beware of them."
1399 msgstr ""
1400
1401 # type: =item
1402 #: ../src/guestfs.pod:669
1403 msgid "Autosync / forgetting to sync."
1404 msgstr ""
1405
1406 # type: textblock
1407 #: ../src/guestfs.pod:671
1408 msgid ""
1409 "When modifying a filesystem from C or another language, you B<must> unmount "
1410 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1411 "libguestfs handle.  You can also call:"
1412 msgstr ""
1413
1414 # type: verbatim
1415 #: ../src/guestfs.pod:675
1416 #, no-wrap
1417 msgid ""
1418 " guestfs_set_autosync (g, 1);\n"
1419 "\n"
1420 msgstr ""
1421
1422 # type: textblock
1423 #: ../src/guestfs.pod:677
1424 msgid ""
1425 "to have the unmount/sync done automatically for you when the handle 'g' is "
1426 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
1427 msgstr ""
1428
1429 # type: textblock
1430 #: ../src/guestfs.pod:681
1431 msgid ""
1432 "If you forget to do this, then it is entirely possible that your changes "
1433 "won't be written out, or will be partially written, or (very rarely) that "
1434 "you'll get disk corruption."
1435 msgstr ""
1436
1437 # type: textblock
1438 #: ../src/guestfs.pod:685
1439 msgid ""
1440 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1441 "guestfish scripts that forget to sync will work just fine, which can make "
1442 "this very puzzling if you are trying to debug a problem."
1443 msgstr ""
1444
1445 # type: =item
1446 #: ../src/guestfs.pod:689
1447 msgid "Mount option C<-o sync> should not be the default."
1448 msgstr ""
1449
1450 # type: textblock
1451 #: ../src/guestfs.pod:691
1452 msgid ""
1453 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1454 "However C<-o sync> does not add any reliability benefit, but does have a "
1455 "very large performance impact."
1456 msgstr ""
1457
1458 # type: textblock
1459 #: ../src/guestfs.pod:695
1460 msgid ""
1461 "The work around is to use L</guestfs_mount_options> and set the mount "
1462 "options that you actually want to use."
1463 msgstr ""
1464
1465 # type: =item
1466 #: ../src/guestfs.pod:698
1467 msgid "Read-only should be the default."
1468 msgstr ""
1469
1470 # type: textblock
1471 #: ../src/guestfs.pod:700
1472 msgid ""
1473 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1474 "specify I<--rw> if you want to make changes to the image."
1475 msgstr ""
1476
1477 # type: textblock
1478 #: ../src/guestfs.pod:703
1479 msgid "This would reduce the potential to corrupt live VM images."
1480 msgstr ""
1481
1482 # type: textblock
1483 #: ../src/guestfs.pod:705
1484 msgid ""
1485 "Note that many filesystems change the disk when you just mount and unmount, "
1486 "even if you didn't perform any writes.  You need to use L</"
1487 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
1488 msgstr ""
1489
1490 # type: =item
1491 #: ../src/guestfs.pod:709
1492 msgid "guestfish command line is hard to use."
1493 msgstr ""
1494
1495 # type: textblock
1496 #: ../src/guestfs.pod:711
1497 msgid ""
1498 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1499 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1500 "exist, so it fails.  In earlier versions of guestfish the error message was "
1501 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1502 "we should have used C<guestfish -c command> to run commands."
1503 msgstr ""
1504
1505 # type: =item
1506 #: ../src/guestfs.pod:718
1507 msgid "guestfish megabyte modifiers don't work right on all commands"
1508 msgstr ""
1509
1510 # type: textblock
1511 #: ../src/guestfs.pod:720
1512 msgid ""
1513 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1514 "other modifiers).  What guestfish actually does is to multiply the number "
1515 "part by the modifier part and pass the result to the C API.  However this "
1516 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1517 "expecting some other unit (eg. megabytes)."
1518 msgstr ""
1519
1520 # type: textblock
1521 #: ../src/guestfs.pod:727
1522 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1523 msgstr ""
1524
1525 # type: verbatim
1526 #: ../src/guestfs.pod:729
1527 #, no-wrap
1528 msgid ""
1529 " lvcreate LV VG 100M\n"
1530 "\n"
1531 msgstr ""
1532
1533 # type: textblock
1534 #: ../src/guestfs.pod:731
1535 msgid ""
1536 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1537 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1538 "megabytes * megabytes) logical volume.  The error message you get from this "
1539 "is also a little obscure."
1540 msgstr ""
1541
1542 # type: textblock
1543 #: ../src/guestfs.pod:736
1544 msgid ""
1545 "This could be fixed in the generator by specially marking parameters and "
1546 "return values which take bytes or other units."
1547 msgstr ""
1548
1549 # type: =item
1550 #: ../src/guestfs.pod:739
1551 msgid "Library should return errno with error messages."
1552 msgstr ""
1553
1554 # type: textblock
1555 #: ../src/guestfs.pod:741
1556 msgid ""
1557 "It would be a nice-to-have to be able to get the original value of 'errno' "
1558 "from inside the appliance along error paths (where set).  Currently "
1559 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1560 "string into an errno, see the function error() in fuse/guestmount.c."
1561 msgstr ""
1562
1563 # type: textblock
1564 #: ../src/guestfs.pod:747
1565 msgid ""
1566 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1567 "sent back from the daemon."
1568 msgstr ""
1569
1570 # type: =head2
1571 #: ../src/guestfs.pod:752
1572 msgid "PROTOCOL LIMITS"
1573 msgstr ""
1574
1575 # type: textblock
1576 #: ../src/guestfs.pod:754
1577 msgid ""
1578 "Internally libguestfs uses a message-based protocol to pass API calls and "
1579 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1580 "plenty more detail about this).  The maximum message size used by the "
1581 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1582 "aware of this limit.  The API calls which may be affected are individually "
1583 "documented, with a link back to this section of the documentation."
1584 msgstr ""
1585
1586 # type: textblock
1587 #: ../src/guestfs.pod:762
1588 msgid ""
1589 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1590 "a simple string.  Because this string is at some point internally encoded as "
1591 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1592 "the requested file is larger than this then you will get an error."
1593 msgstr ""
1594
1595 # type: textblock
1596 #: ../src/guestfs.pod:768
1597 msgid ""
1598 "In order to transfer large files into and out of the guest filesystem, you "
1599 "need to use particular calls that support this.  The sections L</UPLOADING> "
1600 "and L</DOWNLOADING> document how to do this."
1601 msgstr ""
1602
1603 # type: textblock
1604 #: ../src/guestfs.pod:772
1605 msgid ""
1606 "You might also consider mounting the disk image using our FUSE filesystem "
1607 "support (L<guestmount(1)>)."
1608 msgstr ""
1609
1610 # type: =head2
1611 #: ../src/guestfs.pod:775
1612 msgid "KEYS AND PASSPHRASES"
1613 msgstr ""
1614
1615 # type: textblock
1616 #: ../src/guestfs.pod:777
1617 msgid ""
1618 "Certain libguestfs calls take a parameter that contains sensitive key "
1619 "material, passed in as a C string."
1620 msgstr ""
1621
1622 # type: textblock
1623 #: ../src/guestfs.pod:780
1624 msgid ""
1625 "In the future we would hope to change the libguestfs implementation so that "
1626 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1627 "swap.  However this is I<not> done at the moment, because of the complexity "
1628 "of such an implementation."
1629 msgstr ""
1630
1631 # type: textblock
1632 #: ../src/guestfs.pod:785
1633 msgid ""
1634 "Therefore you should be aware that any key parameter you pass to libguestfs "
1635 "might end up being written out to the swap partition.  If this is a concern, "
1636 "scrub the swap partition or don't use libguestfs on encrypted devices."
1637 msgstr ""
1638
1639 # type: =head1
1640 #: ../src/guestfs.pod:790
1641 msgid "CONNECTION MANAGEMENT"
1642 msgstr ""
1643
1644 # type: =head2
1645 #: ../src/guestfs.pod:792
1646 msgid "guestfs_h *"
1647 msgstr ""
1648
1649 # type: textblock
1650 #: ../src/guestfs.pod:794
1651 msgid ""
1652 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1653 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1654 "handle and release all resources used."
1655 msgstr ""
1656
1657 # type: textblock
1658 #: ../src/guestfs.pod:798
1659 msgid ""
1660 "For information on using multiple handles and threads, see the section L</"
1661 "MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1662 msgstr ""
1663
1664 # type: =head2
1665 #: ../src/guestfs.pod:801
1666 msgid "guestfs_create"
1667 msgstr ""
1668
1669 # type: verbatim
1670 #: ../src/guestfs.pod:803
1671 #, no-wrap
1672 msgid ""
1673 " guestfs_h *guestfs_create (void);\n"
1674 "\n"
1675 msgstr ""
1676
1677 # type: textblock
1678 #: ../src/guestfs.pod:805
1679 msgid "Create a connection handle."
1680 msgstr ""
1681
1682 # type: textblock
1683 #: ../src/guestfs.pod:807
1684 msgid "You have to call L</guestfs_add_drive> on the handle at least once."
1685 msgstr ""
1686
1687 # type: textblock
1688 #: ../src/guestfs.pod:809
1689 msgid ""
1690 "This function returns a non-NULL pointer to a handle on success or NULL on "
1691 "error."
1692 msgstr ""
1693
1694 # type: textblock
1695 #: ../src/guestfs.pod:812
1696 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1697 msgstr ""
1698
1699 # type: textblock
1700 #: ../src/guestfs.pod:814
1701 msgid ""
1702 "You may also want to configure error handling for the handle.  See L</ERROR "
1703 "HANDLING> section below."
1704 msgstr ""
1705
1706 # type: =head2
1707 #: ../src/guestfs.pod:817
1708 msgid "guestfs_close"
1709 msgstr ""
1710
1711 # type: verbatim
1712 #: ../src/guestfs.pod:819
1713 #, no-wrap
1714 msgid ""
1715 " void guestfs_close (guestfs_h *g);\n"
1716 "\n"
1717 msgstr ""
1718
1719 # type: textblock
1720 #: ../src/guestfs.pod:821
1721 msgid "This closes the connection handle and frees up all resources used."
1722 msgstr ""
1723
1724 # type: =head1
1725 #: ../src/guestfs.pod:823
1726 msgid "ERROR HANDLING"
1727 msgstr ""
1728
1729 # type: textblock
1730 #: ../src/guestfs.pod:825
1731 msgid ""
1732 "The convention in all functions that return C<int> is that they return C<-1> "
1733 "to indicate an error.  You can get additional information on errors by "
1734 "calling L</guestfs_last_error> and/or by setting up an error handler with L</"
1735 "guestfs_set_error_handler>."
1736 msgstr ""
1737
1738 # type: textblock
1739 #: ../src/guestfs.pod:830
1740 msgid "The default error handler prints the information string to C<stderr>."
1741 msgstr ""
1742
1743 # type: textblock
1744 #: ../src/guestfs.pod:832
1745 msgid ""
1746 "Out of memory errors are handled differently.  The default action is to call "
1747 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
1748 "guestfs_set_out_of_memory_handler>."
1749 msgstr ""
1750
1751 # type: =head2
1752 #: ../src/guestfs.pod:836
1753 msgid "guestfs_last_error"
1754 msgstr ""
1755
1756 # type: verbatim
1757 #: ../src/guestfs.pod:838
1758 #, no-wrap
1759 msgid ""
1760 " const char *guestfs_last_error (guestfs_h *g);\n"
1761 "\n"
1762 msgstr ""
1763
1764 # type: textblock
1765 #: ../src/guestfs.pod:840
1766 msgid ""
1767 "This returns the last error message that happened on C<g>.  If there has not "
1768 "been an error since the handle was created, then this returns C<NULL>."
1769 msgstr ""
1770
1771 # type: textblock
1772 #: ../src/guestfs.pod:844
1773 msgid ""
1774 "The lifetime of the returned string is until the next error occurs, or L</"
1775 "guestfs_close> is called."
1776 msgstr ""
1777
1778 # type: textblock
1779 #: ../src/guestfs.pod:847
1780 msgid ""
1781 "The error string is not localized (ie. is always in English), because this "
1782 "makes searching for error messages in search engines give the largest number "
1783 "of results."
1784 msgstr ""
1785
1786 # type: =head2
1787 #: ../src/guestfs.pod:851
1788 msgid "guestfs_set_error_handler"
1789 msgstr ""
1790
1791 # type: verbatim
1792 #: ../src/guestfs.pod:853
1793 #, no-wrap
1794 msgid ""
1795 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1796 "                                           void *opaque,\n"
1797 "                                           const char *msg);\n"
1798 " void guestfs_set_error_handler (guestfs_h *g,\n"
1799 "                                 guestfs_error_handler_cb cb,\n"
1800 "                                 void *opaque);\n"
1801 "\n"
1802 msgstr ""
1803
1804 # type: textblock
1805 #: ../src/guestfs.pod:860
1806 msgid ""
1807 "The callback C<cb> will be called if there is an error.  The parameters "
1808 "passed to the callback are an opaque data pointer and the error message "
1809 "string."
1810 msgstr ""
1811
1812 # type: textblock
1813 #: ../src/guestfs.pod:864
1814 msgid ""
1815 "Note that the message string C<msg> is freed as soon as the callback "
1816 "function returns, so if you want to stash it somewhere you must make your "
1817 "own copy."
1818 msgstr ""
1819
1820 # type: textblock
1821 #: ../src/guestfs.pod:868
1822 msgid "The default handler prints messages on C<stderr>."
1823 msgstr ""
1824
1825 # type: textblock
1826 #: ../src/guestfs.pod:870
1827 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1828 msgstr ""
1829
1830 # type: =head2
1831 #: ../src/guestfs.pod:872
1832 msgid "guestfs_get_error_handler"
1833 msgstr ""
1834
1835 # type: verbatim
1836 #: ../src/guestfs.pod:874
1837 #, no-wrap
1838 msgid ""
1839 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1840 "                                                     void **opaque_rtn);\n"
1841 "\n"
1842 msgstr ""
1843
1844 # type: textblock
1845 #: ../src/guestfs.pod:877
1846 msgid "Returns the current error handler callback."
1847 msgstr ""
1848
1849 # type: =head2
1850 #: ../src/guestfs.pod:879
1851 msgid "guestfs_set_out_of_memory_handler"
1852 msgstr ""
1853
1854 # type: verbatim
1855 #: ../src/guestfs.pod:881
1856 #, no-wrap
1857 msgid ""
1858 " typedef void (*guestfs_abort_cb) (void);\n"
1859 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1860 "                                        guestfs_abort_cb);\n"
1861 "\n"
1862 msgstr ""
1863
1864 # type: textblock
1865 #: ../src/guestfs.pod:885
1866 msgid ""
1867 "The callback C<cb> will be called if there is an out of memory situation.  "
1868 "I<Note this callback must not return>."
1869 msgstr ""
1870
1871 # type: textblock
1872 #: ../src/guestfs.pod:888
1873 msgid "The default is to call L<abort(3)>."
1874 msgstr ""
1875
1876 # type: textblock
1877 #: ../src/guestfs.pod:890
1878 msgid ""
1879 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1880 msgstr ""
1881
1882 # type: =head2
1883 #: ../src/guestfs.pod:893
1884 msgid "guestfs_get_out_of_memory_handler"
1885 msgstr ""
1886
1887 # type: verbatim
1888 #: ../src/guestfs.pod:895
1889 #, no-wrap
1890 msgid ""
1891 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1892 "\n"
1893 msgstr ""
1894
1895 # type: textblock
1896 #: ../src/guestfs.pod:897
1897 msgid "This returns the current out of memory handler."
1898 msgstr ""
1899
1900 # type: =head1
1901 #: ../src/guestfs.pod:899
1902 msgid "PATH"
1903 msgstr ""
1904
1905 # type: textblock
1906 #: ../src/guestfs.pod:901
1907 msgid ""
1908 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1909 "internal path."
1910 msgstr ""
1911
1912 # type: textblock
1913 #: ../src/guestfs.pod:904
1914 msgid ""
1915 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
1916 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1917 msgstr ""
1918
1919 # type: textblock
1920 #: ../src/guestfs.pod:907
1921 msgid ""
1922 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1923 "to change the directories that libguestfs will search in.  The value is a "
1924 "colon-separated list of paths.  The current directory is I<not> searched "
1925 "unless the path contains an empty element or C<.>.  For example "
1926 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1927 "then C</usr/lib/guestfs>."
1928 msgstr ""
1929
1930 # type: =head1
1931 #: ../src/guestfs.pod:914
1932 msgid "HIGH-LEVEL API ACTIONS"
1933 msgstr ""
1934
1935 # type: =head2
1936 #: ../src/guestfs.pod:916
1937 msgid "ABI GUARANTEE"
1938 msgstr ""
1939
1940 # type: textblock
1941 #: ../src/guestfs.pod:918
1942 msgid ""
1943 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
1944 "actions as outlined in this section.  Although we will deprecate some "
1945 "actions, for example if they get replaced by newer calls, we will keep the "
1946 "old actions forever.  This allows you the developer to program in confidence "
1947 "against the libguestfs API."
1948 msgstr ""
1949
1950 # type: textblock
1951 #: ../src/guestfs.pod:924 ../fish/guestfish.pod:789
1952 msgid "@ACTIONS@"
1953 msgstr ""
1954
1955 # type: =head1
1956 #: ../src/guestfs.pod:926
1957 msgid "STRUCTURES"
1958 msgstr ""
1959
1960 # type: textblock
1961 #: ../src/guestfs.pod:928
1962 msgid "@STRUCTS@"
1963 msgstr ""
1964
1965 # type: =head1
1966 #: ../src/guestfs.pod:930
1967 msgid "AVAILABILITY"
1968 msgstr ""
1969
1970 # type: =head2
1971 #: ../src/guestfs.pod:932
1972 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
1973 msgstr ""
1974
1975 # type: textblock
1976 #: ../src/guestfs.pod:934
1977 msgid ""
1978 "Using L</guestfs_available> you can test availability of the following "
1979 "groups of functions.  This test queries the appliance to see if the "
1980 "appliance you are currently using supports the functionality."
1981 msgstr ""
1982
1983 # type: textblock
1984 #: ../src/guestfs.pod:939
1985 msgid "@AVAILABILITY@"
1986 msgstr ""
1987
1988 # type: =head2
1989 #: ../src/guestfs.pod:941
1990 msgid "GUESTFISH supported COMMAND"
1991 msgstr ""
1992
1993 # type: textblock
1994 #: ../src/guestfs.pod:943
1995 msgid ""
1996 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
1997 "prints out the available groups and whether they are supported by this build "
1998 "of libguestfs.  Note however that you have to do C<run> first."
1999 msgstr ""
2000
2001 # type: =head2
2002 #: ../src/guestfs.pod:948
2003 msgid "SINGLE CALLS AT COMPILE TIME"
2004 msgstr ""
2005
2006 # type: textblock
2007 #: ../src/guestfs.pod:950
2008 msgid ""
2009 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
2010 "function, such as:"
2011 msgstr ""
2012
2013 # type: verbatim
2014 #: ../src/guestfs.pod:953
2015 #, no-wrap
2016 msgid ""
2017 " #define LIBGUESTFS_HAVE_DD 1\n"
2018 "\n"
2019 msgstr ""
2020
2021 # type: textblock
2022 #: ../src/guestfs.pod:955
2023 msgid "if L</guestfs_dd> is available."
2024 msgstr ""
2025
2026 # type: textblock
2027 #: ../src/guestfs.pod:957
2028 msgid ""
2029 "Before version 1.5.8, if you needed to test whether a single libguestfs "
2030 "function is available at compile time, we recommended using build tools such "
2031 "as autoconf or cmake.  For example in autotools you could use:"
2032 msgstr ""
2033
2034 # type: verbatim
2035 #: ../src/guestfs.pod:962
2036 #, no-wrap
2037 msgid ""
2038 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
2039 " AC_CHECK_FUNCS([guestfs_dd])\n"
2040 "\n"
2041 msgstr ""
2042
2043 # type: textblock
2044 #: ../src/guestfs.pod:965
2045 msgid ""
2046 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
2047 "in your program."
2048 msgstr ""
2049
2050 # type: =head2
2051 #: ../src/guestfs.pod:968
2052 msgid "SINGLE CALLS AT RUN TIME"
2053 msgstr ""
2054
2055 # type: textblock
2056 #: ../src/guestfs.pod:970
2057 msgid ""
2058 "Testing at compile time doesn't guarantee that a function really exists in "
2059 "the library.  The reason is that you might be dynamically linked against a "
2060 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2061 "This situation unfortunately results in a segmentation fault, which is a "
2062 "shortcoming of the C dynamic linking system itself."
2063 msgstr ""
2064
2065 # type: textblock
2066 #: ../src/guestfs.pod:977
2067 msgid ""
2068 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2069 "in this example program (note that you still need the compile time check as "
2070 "well):"
2071 msgstr ""
2072
2073 # type: verbatim
2074 #: ../src/guestfs.pod:981
2075 #, no-wrap
2076 msgid ""
2077 " #include <stdio.h>\n"
2078 " #include <stdlib.h>\n"
2079 " #include <unistd.h>\n"
2080 " #include <dlfcn.h>\n"
2081 " #include <guestfs.h>\n"
2082 " \n"
2083 msgstr ""
2084
2085 # type: verbatim
2086 #: ../src/guestfs.pod:987
2087 #, no-wrap
2088 msgid ""
2089 " main ()\n"
2090 " {\n"
2091 " #ifdef LIBGUESTFS_HAVE_DD\n"
2092 "   void *dl;\n"
2093 "   int has_function;\n"
2094 " \n"
2095 msgstr ""
2096
2097 # type: verbatim
2098 #: ../src/guestfs.pod:993
2099 #, no-wrap
2100 msgid ""
2101 "   /* Test if the function guestfs_dd is really available. */\n"
2102 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2103 "   if (!dl) {\n"
2104 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2105 "     exit (EXIT_FAILURE);\n"
2106 "   }\n"
2107 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2108 "   dlclose (dl);\n"
2109 " \n"
2110 msgstr ""
2111
2112 # type: verbatim
2113 #: ../src/guestfs.pod:1002
2114 #, no-wrap
2115 msgid ""
2116 "   if (!has_function)\n"
2117 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2118 "   else {\n"
2119 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2120 "     /* Now it's safe to call\n"
2121 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2122 "     */\n"
2123 "   }\n"
2124 " #else\n"
2125 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2126 " #endif\n"
2127 "  }\n"
2128 "\n"
2129 msgstr ""
2130
2131 # type: textblock
2132 #: ../src/guestfs.pod:1015
2133 msgid ""
2134 "You may think the above is an awful lot of hassle, and it is.  There are "
2135 "other ways outside of the C linking system to ensure that this kind of "
2136 "incompatibility never arises, such as using package versioning:"
2137 msgstr ""
2138
2139 # type: verbatim
2140 #: ../src/guestfs.pod:1020
2141 #, no-wrap
2142 msgid ""
2143 " Requires: libguestfs >= 1.0.80\n"
2144 "\n"
2145 msgstr ""
2146
2147 # type: =end
2148 #: ../src/guestfs.pod:1022 ../src/guestfs.pod:1027
2149 msgid "html"
2150 msgstr ""
2151
2152 # type: textblock
2153 #: ../src/guestfs.pod:1024
2154 msgid ""
2155 "<!-- old anchor for the next section --> <a name="
2156 "\"state_machine_and_low_level_event_api\"/>"
2157 msgstr ""
2158
2159 # type: =head1
2160 #: ../src/guestfs.pod:1029
2161 msgid "ARCHITECTURE"
2162 msgstr ""
2163
2164 # type: textblock
2165 #: ../src/guestfs.pod:1031
2166 msgid ""
2167 "Internally, libguestfs is implemented by running an appliance (a special "
2168 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2169 "process of the main program."
2170 msgstr ""
2171
2172 # type: verbatim
2173 #: ../src/guestfs.pod:1035
2174 #, no-wrap
2175 msgid ""
2176 "  ___________________\n"
2177 " /                   \\\n"
2178 " | main program      |\n"
2179 " |                   |\n"
2180 " |                   |           child process / appliance\n"
2181 " |                   |           __________________________\n"
2182 " |                   |          / qemu                     \\\n"
2183 " +-------------------+   RPC    |      +-----------------+ |\n"
2184 " | libguestfs     <--------------------> guestfsd        | |\n"
2185 " |                   |          |      +-----------------+ |\n"
2186 " \\___________________/          |      | Linux kernel    | |\n"
2187 "                                |      +--^--------------+ |\n"
2188 "                                \\_________|________________/\n"
2189 "                                          |\n"
2190 "                                   _______v______\n"
2191 "                                  /              \\\n"
2192 "                                  | Device or    |\n"
2193 "                                  | disk image   |\n"
2194 "                                  \\______________/\n"
2195 "\n"
2196 msgstr ""
2197
2198 # type: textblock
2199 #: ../src/guestfs.pod:1055
2200 msgid ""
2201 "The library, linked to the main program, creates the child process and hence "
2202 "the appliance in the L</guestfs_launch> function."
2203 msgstr ""
2204
2205 # type: textblock
2206 #: ../src/guestfs.pod:1058
2207 msgid ""
2208 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2209 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2210 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2211 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2212 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2213 "attached to the qemu process which translates device access by the "
2214 "appliance's Linux kernel into accesses to the image."
2215 msgstr ""
2216
2217 # type: textblock
2218 #: ../src/guestfs.pod:1067
2219 msgid ""
2220 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2221 "Although the disk image you are attached to might also be used by some "
2222 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2223 "care if both libguestfs's qemu process and your virtual machine are trying "
2224 "to update the disk image at the same time, since these usually results in "
2225 "massive disk corruption)."
2226 msgstr ""
2227
2228 # type: =head1
2229 #: ../src/guestfs.pod:1074
2230 msgid "STATE MACHINE"
2231 msgstr ""
2232
2233 # type: textblock
2234 #: ../src/guestfs.pod:1076
2235 msgid "libguestfs uses a state machine to model the child process:"
2236 msgstr ""
2237
2238 # type: verbatim
2239 #: ../src/guestfs.pod:1078
2240 #, no-wrap
2241 msgid ""
2242 "                         |\n"
2243 "                    guestfs_create\n"
2244 "                         |\n"
2245 "                         |\n"
2246 "                     ____V_____\n"
2247 "                    /          \\\n"
2248 "                    |  CONFIG  |\n"
2249 "                    \\__________/\n"
2250 "                     ^ ^   ^  \\\n"
2251 "                    /  |    \\  \\ guestfs_launch\n"
2252 "                   /   |    _\\__V______\n"
2253 "                  /    |   /           \\\n"
2254 "                 /     |   | LAUNCHING |\n"
2255 "                /      |   \\___________/\n"
2256 "               /       |       /\n"
2257 "              /        |  guestfs_launch\n"
2258 "             /         |     /\n"
2259 "    ______  /        __|____V\n"
2260 "   /      \\ ------> /        \\\n"
2261 "   | BUSY |         | READY  |\n"
2262 "   \\______/ <------ \\________/\n"
2263 "\n"
2264 msgstr ""
2265
2266 # type: textblock
2267 #: ../src/guestfs.pod:1100
2268 msgid ""
2269 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2270 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2271 "(3) alternating between READY and BUSY as commands are issued to, and "
2272 "carried out by, the child process."
2273 msgstr ""
2274
2275 # type: textblock
2276 #: ../src/guestfs.pod:1105
2277 msgid ""
2278 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2279 "asynchronously at any time (eg. due to some internal error), and that causes "
2280 "the state to transition back to CONFIG."
2281 msgstr ""
2282
2283 # type: textblock
2284 #: ../src/guestfs.pod:1109
2285 msgid ""
2286 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2287 "issued when in the CONFIG state."
2288 msgstr ""
2289
2290 # type: textblock
2291 #: ../src/guestfs.pod:1112
2292 msgid ""
2293 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
2294 "L</guestfs_launch> blocks until the child process is READY to accept "
2295 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2296 "moves the state from CONFIG to LAUNCHING while it is running."
2297 msgstr ""
2298
2299 # type: textblock
2300 #: ../src/guestfs.pod:1118
2301 msgid ""
2302 "API actions such as L</guestfs_mount> can only be issued when in the READY "
2303 "state.  These API calls block waiting for the command to be carried out (ie. "
2304 "the state to transition to BUSY and then back to READY).  There are no non-"
2305 "blocking versions, and no way to issue more than one command per handle at "
2306 "the same time."
2307 msgstr ""
2308
2309 # type: textblock
2310 #: ../src/guestfs.pod:1124
2311 msgid ""
2312 "Finally, the child process sends asynchronous messages back to the main "
2313 "program, such as kernel log messages.  You can register a callback to "
2314 "receive these messages."
2315 msgstr ""
2316
2317 # type: =head2
2318 #: ../src/guestfs.pod:1128
2319 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2320 msgstr ""
2321
2322 # type: textblock
2323 #: ../src/guestfs.pod:1130
2324 msgid ""
2325 "The child process generates events in some situations.  Current events "
2326 "include: receiving a log message, the child process exits."
2327 msgstr ""
2328
2329 # type: textblock
2330 #: ../src/guestfs.pod:1133
2331 msgid ""
2332 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2333 "types of events."
2334 msgstr ""
2335
2336 # type: textblock
2337 #: ../src/guestfs.pod:1136
2338 msgid ""
2339 "Only I<one callback of each type> can be registered for each handle.  "
2340 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2341 "that type.  Cancel all callbacks of this type by calling this function with "
2342 "C<cb> set to C<NULL>."
2343 msgstr ""
2344
2345 # type: =head2
2346 #: ../src/guestfs.pod:1141
2347 msgid "guestfs_set_log_message_callback"
2348 msgstr ""
2349
2350 # type: verbatim
2351 #: ../src/guestfs.pod:1143
2352 #, no-wrap
2353 msgid ""
2354 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2355 "                                         char *buf, int len);\n"
2356 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2357 "                                        guestfs_log_message_cb cb,\n"
2358 "                                        void *opaque);\n"
2359 "\n"
2360 msgstr ""
2361
2362 # type: textblock
2363 #: ../src/guestfs.pod:1149
2364 msgid ""
2365 "The callback function C<cb> will be called whenever qemu or the guest writes "
2366 "anything to the console."
2367 msgstr ""
2368
2369 # type: textblock
2370 #: ../src/guestfs.pod:1152
2371 msgid "Use this function to capture kernel messages and similar."
2372 msgstr ""
2373
2374 # type: textblock
2375 #: ../src/guestfs.pod:1154
2376 msgid ""
2377 "Normally there is no log message handler, and log messages are just "
2378 "discarded."
2379 msgstr ""
2380
2381 # type: =head2
2382 #: ../src/guestfs.pod:1157
2383 msgid "guestfs_set_subprocess_quit_callback"
2384 msgstr ""
2385
2386 # type: verbatim
2387 #: ../src/guestfs.pod:1159
2388 #, no-wrap
2389 msgid ""
2390 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2391 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2392 "                                            guestfs_subprocess_quit_cb cb,\n"
2393 "                                            void *opaque);\n"
2394 "\n"
2395 msgstr ""
2396
2397 # type: textblock
2398 #: ../src/guestfs.pod:1164
2399 msgid ""
2400 "The callback function C<cb> will be called when the child process quits, "
2401 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2402 "corresponds to a transition from any state to the CONFIG state)."
2403 msgstr ""
2404
2405 # type: =head2
2406 #: ../src/guestfs.pod:1169
2407 msgid "guestfs_set_launch_done_callback"
2408 msgstr ""
2409
2410 # type: verbatim
2411 #: ../src/guestfs.pod:1171
2412 #, no-wrap
2413 msgid ""
2414 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2415 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2416 "                                        guestfs_launch_done_cb cb,\n"
2417 "                                        void *opaque);\n"
2418 "\n"
2419 msgstr ""
2420
2421 # type: textblock
2422 #: ../src/guestfs.pod:1176
2423 msgid ""
2424 "The callback function C<cb> will be called when the child process becomes "
2425 "ready first time after it has been launched.  (This corresponds to a "
2426 "transition from LAUNCHING to the READY state)."
2427 msgstr ""
2428
2429 # type: =head2
2430 #: ../src/guestfs.pod:1180
2431 msgid "guestfs_set_close_callback"
2432 msgstr ""
2433
2434 # type: verbatim
2435 #: ../src/guestfs.pod:1182
2436 #, no-wrap
2437 msgid ""
2438 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2439 " void guestfs_set_close_callback (guestfs_h *g,\n"
2440 "                                  guestfs_close_cb cb,\n"
2441 "                                  void *opaque);\n"
2442 "\n"
2443 msgstr ""
2444
2445 # type: textblock
2446 #: ../src/guestfs.pod:1187
2447 msgid ""
2448 "The callback function C<cb> will be called while the handle is being closed "
2449 "(synchronously from L</guestfs_close>)."
2450 msgstr ""
2451
2452 # type: textblock
2453 #: ../src/guestfs.pod:1190
2454 msgid ""
2455 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2456 "handles that are open when the program exits.  This means that this callback "
2457 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2458 "problems in higher-level languages (eg. if your HLL interpreter has already "
2459 "been cleaned up by the time this is called, and if your callback then jumps "
2460 "into some HLL function)."
2461 msgstr ""
2462
2463 # type: =head2
2464 #: ../src/guestfs.pod:1198
2465 msgid "guestfs_set_progress_callback"
2466 msgstr ""
2467
2468 # type: verbatim
2469 #: ../src/guestfs.pod:1200
2470 #, no-wrap
2471 msgid ""
2472 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2473 "                                      int proc_nr, int serial,\n"
2474 "                                      uint64_t position, uint64_t total);\n"
2475 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2476 "                                     guestfs_progress_cb cb,\n"
2477 "                                     void *opaque);\n"
2478 "\n"
2479 msgstr ""
2480
2481 # type: textblock
2482 #: ../src/guestfs.pod:1207
2483 msgid ""
2484 "Some long-running operations can generate progress messages.  If this "
2485 "callback is registered, then it will be called each time a progress message "
2486 "is generated (usually two seconds after the operation started, and three "
2487 "times per second thereafter until it completes, although the frequency may "
2488 "change in future versions)."
2489 msgstr ""
2490
2491 # type: textblock
2492 #: ../src/guestfs.pod:1213
2493 msgid ""
2494 "The callback receives two numbers: C<position> and C<total>.  The units of "
2495 "C<total> are not defined, although for some operations C<total> may relate "
2496 "in some way to the amount of data to be transferred (eg. in bytes or "
2497 "megabytes), and C<position> may be the portion which has been transferred."
2498 msgstr ""
2499
2500 # type: textblock
2501 #: ../src/guestfs.pod:1219
2502 msgid "The only defined and stable parts of the API are:"
2503 msgstr ""
2504
2505 # type: textblock
2506 #: ../src/guestfs.pod:1225
2507 msgid ""
2508 "The callback can display to the user some type of progress bar or indicator "
2509 "which shows the ratio of C<position>:C<total>."
2510 msgstr ""
2511
2512 # type: textblock
2513 #: ../src/guestfs.pod:1230
2514 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2515 msgstr ""
2516
2517 # type: textblock
2518 #: ../src/guestfs.pod:1234
2519 msgid ""
2520 "If any progress notification is sent during a call, then a final progress "
2521 "notification is always sent when C<position> = C<total>."
2522 msgstr ""
2523
2524 # type: textblock
2525 #: ../src/guestfs.pod:1237
2526 msgid ""
2527 "This is to simplify caller code, so callers can easily set the progress "
2528 "indicator to \"100%\" at the end of the operation, without requiring special "
2529 "code to detect this case."
2530 msgstr ""
2531
2532 # type: textblock
2533 #: ../src/guestfs.pod:1243
2534 msgid ""
2535 "The callback also receives the procedure number and serial number of the "
2536 "call.  These are only useful for debugging protocol issues, and the callback "
2537 "can normally ignore them.  The callback may want to print these numbers in "
2538 "error messages or debugging messages."
2539 msgstr ""
2540
2541 # type: =head1
2542 #: ../src/guestfs.pod:1248
2543 msgid "PRIVATE DATA AREA"
2544 msgstr ""
2545
2546 # type: textblock
2547 #: ../src/guestfs.pod:1250
2548 msgid ""
2549 "You can attach named pieces of private data to the libguestfs handle, and "
2550 "fetch them by name for the lifetime of the handle.  This is called the "
2551 "private data area and is only available from the C API."
2552 msgstr ""
2553
2554 # type: textblock
2555 #: ../src/guestfs.pod:1254
2556 msgid "To attach a named piece of data, use the following call:"
2557 msgstr ""
2558
2559 # type: verbatim
2560 #: ../src/guestfs.pod:1256
2561 #, no-wrap
2562 msgid ""
2563 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2564 "\n"
2565 msgstr ""
2566
2567 # type: textblock
2568 #: ../src/guestfs.pod:1258
2569 msgid ""
2570 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2571 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2572 "overwritten."
2573 msgstr ""
2574
2575 # type: textblock
2576 #: ../src/guestfs.pod:1262
2577 msgid ""
2578 "You can use any C<key> you want, but names beginning with an underscore "
2579 "character are reserved for internal libguestfs purposes (for implementing "
2580 "language bindings).  It is recommended to prefix the name with some unique "
2581 "string to avoid collisions with other users."
2582 msgstr ""
2583
2584 # type: textblock
2585 #: ../src/guestfs.pod:1267
2586 msgid "To retrieve the pointer, use:"
2587 msgstr ""
2588
2589 # type: verbatim
2590 #: ../src/guestfs.pod:1269
2591 #, no-wrap
2592 msgid ""
2593 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2594 "\n"
2595 msgstr ""
2596
2597 # type: textblock
2598 #: ../src/guestfs.pod:1271
2599 msgid ""
2600 "This function returns C<NULL> if either no data is found associated with "
2601 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2602 "C<NULL>."
2603 msgstr ""
2604
2605 # type: textblock
2606 #: ../src/guestfs.pod:1275
2607 msgid ""
2608 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2609 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2610 "all.  In particular, libguestfs does I<not> try to free the data when the "
2611 "handle is closed.  If the data must be freed, then the caller must either "
2612 "free it before calling L</guestfs_close> or must set up a close callback to "
2613 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2614 "can be registered for a handle)."
2615 msgstr ""
2616
2617 # type: textblock
2618 #: ../src/guestfs.pod:1283
2619 msgid ""
2620 "The private data area is implemented using a hash table, and should be "
2621 "reasonably efficient for moderate numbers of keys."
2622 msgstr ""
2623
2624 # type: =head1
2625 #: ../src/guestfs.pod:1286
2626 msgid "BLOCK DEVICE NAMING"
2627 msgstr ""
2628
2629 # type: textblock
2630 #: ../src/guestfs.pod:1288
2631 msgid ""
2632 "In the kernel there is now quite a profusion of schemata for naming block "
2633 "devices (in this context, by I<block device> I mean a physical or virtual "
2634 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
2635 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
2636 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
2637 "for the old IDE driver (particularly for SATA devices) those devices also "
2638 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
2639 "paravirtualized drivers.  This has created several different naming systems, "
2640 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
2641 msgstr ""
2642
2643 # type: textblock
2644 #: ../src/guestfs.pod:1300
2645 msgid ""
2646 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2647 "Linux kernel to access block devices.  We can run a variety of appliances "
2648 "based on a variety of Linux kernels."
2649 msgstr ""
2650
2651 # type: textblock
2652 #: ../src/guestfs.pod:1304
2653 msgid ""
2654 "This causes a problem for libguestfs because many API calls use device or "
2655 "partition names.  Working scripts and the recipe (example) scripts that we "
2656 "make available over the internet could fail if the naming scheme changes."
2657 msgstr ""
2658
2659 # type: textblock
2660 #: ../src/guestfs.pod:1309
2661 msgid ""
2662 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2663 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2664 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2665 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2666 msgstr ""
2667
2668 # type: textblock
2669 #: ../src/guestfs.pod:1315
2670 msgid ""
2671 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2672 "L</guestfs_list_partitions> and similar calls return the true names of the "
2673 "devices and partitions as known to the appliance."
2674 msgstr ""
2675
2676 # type: =head2
2677 #: ../src/guestfs.pod:1320
2678 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2679 msgstr ""
2680
2681 # type: textblock
2682 #: ../src/guestfs.pod:1322
2683 msgid ""
2684 "Usually this translation is transparent.  However in some (very rare)  cases "
2685 "you may need to know the exact algorithm.  Such cases include where you use "
2686 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
2687 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
2688 msgstr ""
2689
2690 # type: textblock
2691 #: ../src/guestfs.pod:1328
2692 msgid ""
2693 "The algorithm is applied only to I<parameters> which are known to be either "
2694 "device or partition names.  Return values from functions such as L</"
2695 "guestfs_list_devices> are never changed."
2696 msgstr ""
2697
2698 # type: textblock
2699 #: ../src/guestfs.pod:1336
2700 msgid "Is the string a parameter which is a device or partition name?"
2701 msgstr ""
2702
2703 # type: textblock
2704 #: ../src/guestfs.pod:1340
2705 msgid "Does the string begin with C</dev/sd>?"
2706 msgstr ""
2707
2708 # type: textblock
2709 #: ../src/guestfs.pod:1344
2710 msgid ""
2711 "Does the named device exist? If so, we use that device.  However if I<not> "
2712 "then we continue with this algorithm."
2713 msgstr ""
2714
2715 # type: textblock
2716 #: ../src/guestfs.pod:1349
2717 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2718 msgstr ""
2719
2720 # type: textblock
2721 #: ../src/guestfs.pod:1351
2722 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2723 msgstr ""
2724
2725 # type: textblock
2726 #: ../src/guestfs.pod:1353
2727 msgid "If that named device exists, use it.  If not, continue."
2728 msgstr ""
2729
2730 # type: textblock
2731 #: ../src/guestfs.pod:1357
2732 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2733 msgstr ""
2734
2735 # type: textblock
2736 #: ../src/guestfs.pod:1359
2737 msgid "If that named device exists, use it.  If not, return an error."
2738 msgstr ""
2739
2740 # type: =head2
2741 #: ../src/guestfs.pod:1363
2742 msgid "PORTABILITY CONCERNS"
2743 msgstr ""
2744
2745 # type: textblock
2746 #: ../src/guestfs.pod:1365
2747 msgid ""
2748 "Although the standard naming scheme and automatic translation is useful for "
2749 "simple programs and guestfish scripts, for larger programs it is best not to "
2750 "rely on this mechanism."
2751 msgstr ""
2752
2753 # type: textblock
2754 #: ../src/guestfs.pod:1369
2755 msgid ""
2756 "Where possible for maximum future portability programs using libguestfs "
2757 "should use these future-proof techniques:"
2758 msgstr ""
2759
2760 # type: textblock
2761 #: ../src/guestfs.pod:1376
2762 msgid ""
2763 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
2764 "device names, and then use those names directly."
2765 msgstr ""
2766
2767 # type: textblock
2768 #: ../src/guestfs.pod:1379
2769 msgid ""
2770 "Since those device names exist by definition, they will never be translated."
2771 msgstr ""
2772
2773 # type: textblock
2774 #: ../src/guestfs.pod:1384
2775 msgid ""
2776 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
2777 "filesystem labels."
2778 msgstr ""
2779
2780 # type: =head1
2781 #: ../src/guestfs.pod:1389
2782 msgid "INTERNALS"
2783 msgstr ""
2784
2785 # type: =head2
2786 #: ../src/guestfs.pod:1391
2787 msgid "COMMUNICATION PROTOCOL"
2788 msgstr ""
2789
2790 # type: textblock
2791 #: ../src/guestfs.pod:1393
2792 msgid ""
2793 "Don't rely on using this protocol directly.  This section documents how it "
2794 "currently works, but it may change at any time."
2795 msgstr ""
2796
2797 # type: textblock
2798 #: ../src/guestfs.pod:1396
2799 msgid ""
2800 "The protocol used to talk between the library and the daemon running inside "
2801 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
2802 "1014, RFC 1832, RFC 4506)."
2803 msgstr ""
2804
2805 # type: textblock
2806 #: ../src/guestfs.pod:1400
2807 msgid ""
2808 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
2809 "this file is automatically generated)."
2810 msgstr ""
2811
2812 # type: textblock
2813 #: ../src/guestfs.pod:1403
2814 msgid ""
2815 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
2816 "and C<FileOut> parameters, which are handled with very simple request/reply "
2817 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
2818 "parameters, which use the same request and reply messages, but they may also "
2819 "be followed by files sent using a chunked encoding."
2820 msgstr ""
2821
2822 # type: =head3
2823 #: ../src/guestfs.pod:1410
2824 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
2825 msgstr ""
2826
2827 # type: textblock
2828 #: ../src/guestfs.pod:1412
2829 msgid "For ordinary functions, the request message is:"
2830 msgstr ""
2831
2832 # type: verbatim
2833 #: ../src/guestfs.pod:1414
2834 #, no-wrap
2835 msgid ""
2836 " total length (header + arguments,\n"
2837 "      but not including the length word itself)\n"
2838 " struct guestfs_message_header (encoded as XDR)\n"
2839 " struct guestfs_<foo>_args (encoded as XDR)\n"
2840 "\n"
2841 msgstr ""
2842
2843 # type: textblock
2844 #: ../src/guestfs.pod:1419
2845 msgid ""
2846 "The total length field allows the daemon to allocate a fixed size buffer "
2847 "into which it slurps the rest of the message.  As a result, the total length "
2848 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
2849 "effective size of any request is limited to somewhere under this size."
2850 msgstr ""
2851
2852 # type: textblock
2853 #: ../src/guestfs.pod:1425
2854 msgid ""
2855 "Note also that many functions don't take any arguments, in which case the "
2856 "C<guestfs_I<foo>_args> is completely omitted."
2857 msgstr ""
2858
2859 # type: textblock
2860 #: ../src/guestfs.pod:1428
2861 msgid ""
2862 "The header contains the procedure number (C<guestfs_proc>) which is how the "
2863 "receiver knows what type of args structure to expect, or none at all."
2864 msgstr ""
2865
2866 # type: textblock
2867 #: ../src/guestfs.pod:1432
2868 msgid "The reply message for ordinary functions is:"
2869 msgstr ""
2870
2871 # type: verbatim
2872 #: ../src/guestfs.pod:1434
2873 #, no-wrap
2874 msgid ""
2875 " total length (header + ret,\n"
2876 "      but not including the length word itself)\n"
2877 " struct guestfs_message_header (encoded as XDR)\n"
2878 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2879 "\n"
2880 msgstr ""
2881
2882 # type: textblock
2883 #: ../src/guestfs.pod:1439
2884 msgid ""
2885 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
2886 "functions that return no formal return values."
2887 msgstr ""
2888
2889 # type: textblock
2890 #: ../src/guestfs.pod:1442
2891 msgid ""
2892 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
2893 msgstr ""
2894
2895 # type: textblock
2896 #: ../src/guestfs.pod:1445
2897 msgid ""
2898 "In the case of an error, a flag is set in the header, and the reply message "
2899 "is slightly changed:"
2900 msgstr ""
2901
2902 # type: verbatim
2903 #: ../src/guestfs.pod:1448
2904 #, no-wrap
2905 msgid ""
2906 " total length (header + error,\n"
2907 "      but not including the length word itself)\n"
2908 " struct guestfs_message_header (encoded as XDR)\n"
2909 " struct guestfs_message_error (encoded as XDR)\n"
2910 "\n"
2911 msgstr ""
2912
2913 # type: textblock
2914 #: ../src/guestfs.pod:1453
2915 msgid ""
2916 "The C<guestfs_message_error> structure contains the error message as a "
2917 "string."
2918 msgstr ""
2919
2920 # type: =head3
2921 #: ../src/guestfs.pod:1456
2922 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
2923 msgstr ""
2924
2925 # type: textblock
2926 #: ../src/guestfs.pod:1458
2927 msgid ""
2928 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
2929 "The normal request message is sent (see above).  However this is followed by "
2930 "a sequence of file chunks."
2931 msgstr ""
2932
2933 # type: verbatim
2934 #: ../src/guestfs.pod:1462
2935 #, no-wrap
2936 msgid ""
2937 " total length (header + arguments,\n"
2938 "      but not including the length word itself,\n"
2939 "      and not including the chunks)\n"
2940 " struct guestfs_message_header (encoded as XDR)\n"
2941 " struct guestfs_<foo>_args (encoded as XDR)\n"
2942 " sequence of chunks for FileIn param #0\n"
2943 " sequence of chunks for FileIn param #1 etc.\n"
2944 "\n"
2945 msgstr ""
2946
2947 # type: textblock
2948 #: ../src/guestfs.pod:1470
2949 msgid "The \"sequence of chunks\" is:"
2950 msgstr ""
2951
2952 # type: verbatim
2953 #: ../src/guestfs.pod:1472
2954 #, no-wrap
2955 msgid ""
2956 " length of chunk (not including length word itself)\n"
2957 " struct guestfs_chunk (encoded as XDR)\n"
2958 " length of chunk\n"
2959 " struct guestfs_chunk (encoded as XDR)\n"
2960 "   ...\n"
2961 " length of chunk\n"
2962 " struct guestfs_chunk (with data.data_len == 0)\n"
2963 "\n"
2964 msgstr ""
2965
2966 # type: textblock
2967 #: ../src/guestfs.pod:1480
2968 msgid ""
2969 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
2970 "is set in the final chunk to indicate either successful completion or early "
2971 "cancellation."
2972 msgstr ""
2973
2974 # type: textblock
2975 #: ../src/guestfs.pod:1484
2976 msgid ""
2977 "At time of writing there are no functions that have more than one FileIn "
2978 "parameter.  However this is (theoretically) supported, by sending the "
2979 "sequence of chunks for each FileIn parameter one after another (from left to "
2980 "right)."
2981 msgstr ""
2982
2983 # type: textblock
2984 #: ../src/guestfs.pod:1489
2985 msgid ""
2986 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
2987 "transfer.  The library does this by sending a chunk with a special flag set "
2988 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
2989 "RPC, does I<not> send any reply, and goes back to reading the next request."
2990 msgstr ""
2991
2992 # type: textblock
2993 #: ../src/guestfs.pod:1495
2994 msgid ""
2995 "The daemon may also cancel.  It does this by writing a special word "
2996 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
2997 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
2998 "cancel chunk).  The special word is chosen so that even if cancellation "
2999 "happens right at the end of the transfer (after the library has finished "
3000 "writing and has started listening for the reply), the \"spurious\" cancel "
3001 "flag will not be confused with the reply message."
3002 msgstr ""
3003
3004 # type: textblock
3005 #: ../src/guestfs.pod:1504
3006 msgid ""
3007 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
3008 "limit), and also files where the size is not known in advance (eg. from "
3009 "pipes or sockets).  However the chunks are rather small "
3010 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
3011 "to keep much in memory."
3012 msgstr ""
3013
3014 # type: =head3
3015 #: ../src/guestfs.pod:1510
3016 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
3017 msgstr ""
3018
3019 # type: textblock
3020 #: ../src/guestfs.pod:1512
3021 msgid ""
3022 "The protocol for FileOut parameters is exactly the same as for FileIn "
3023 "parameters, but with the roles of daemon and library reversed."
3024 msgstr ""
3025
3026 # type: verbatim
3027 #: ../src/guestfs.pod:1515
3028 #, no-wrap
3029 msgid ""
3030 " total length (header + ret,\n"
3031 "      but not including the length word itself,\n"
3032 "      and not including the chunks)\n"
3033 " struct guestfs_message_header (encoded as XDR)\n"
3034 " struct guestfs_<foo>_ret (encoded as XDR)\n"
3035 " sequence of chunks for FileOut param #0\n"
3036 " sequence of chunks for FileOut param #1 etc.\n"
3037 "\n"
3038 msgstr ""
3039
3040 # type: =head3
3041 #: ../src/guestfs.pod:1523
3042 msgid "INITIAL MESSAGE"
3043 msgstr ""
3044
3045 # type: textblock
3046 #: ../src/guestfs.pod:1525
3047 msgid ""
3048 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
3049 "which indicates that the guest and daemon is alive.  This is what L</"
3050 "guestfs_launch> waits for."
3051 msgstr ""
3052
3053 # type: =head3
3054 #: ../src/guestfs.pod:1529
3055 msgid "PROGRESS NOTIFICATION MESSAGES"
3056 msgstr ""
3057
3058 # type: textblock
3059 #: ../src/guestfs.pod:1531
3060 msgid ""
3061 "The daemon may send progress notification messages at any time.  These are "
3062 "distinguished by the normal length word being replaced by "
3063 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
3064 msgstr ""
3065
3066 # type: textblock
3067 #: ../src/guestfs.pod:1535
3068 msgid ""
3069 "The library turns them into progress callbacks (see "
3070 "C<guestfs_set_progress_callback>) if there is a callback registered, or "
3071 "discards them if not."
3072 msgstr ""
3073
3074 # type: textblock
3075 #: ../src/guestfs.pod:1539
3076 msgid ""
3077 "The daemon self-limits the frequency of progress messages it sends (see "
3078 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
3079 "messages."
3080 msgstr ""
3081
3082 # type: =head1
3083 #: ../src/guestfs.pod:1543
3084 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
3085 msgstr ""
3086
3087 # type: textblock
3088 #: ../src/guestfs.pod:1545
3089 msgid ""
3090 "All high-level libguestfs actions are synchronous.  If you want to use "
3091 "libguestfs asynchronously then you must create a thread."
3092 msgstr ""
3093
3094 # type: textblock
3095 #: ../src/guestfs.pod:1548
3096 msgid ""
3097 "Only use the handle from a single thread.  Either use the handle exclusively "
3098 "from one thread, or provide your own mutex so that two threads cannot issue "
3099 "calls on the same handle at the same time."
3100 msgstr ""
3101
3102 # type: textblock
3103 #: ../src/guestfs.pod:1552
3104 msgid ""
3105 "See the graphical program guestfs-browser for one possible architecture for "
3106 "multithreaded programs using libvirt and libguestfs."
3107 msgstr ""
3108
3109 # type: =head1
3110 #: ../src/guestfs.pod:1555
3111 msgid "QEMU WRAPPERS"
3112 msgstr ""
3113
3114 # type: textblock
3115 #: ../src/guestfs.pod:1557
3116 msgid ""
3117 "If you want to compile your own qemu, run qemu from a non-standard location, "
3118 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3119 "around qemu."
3120 msgstr ""
3121
3122 # type: textblock
3123 #: ../src/guestfs.pod:1561
3124 msgid ""
3125 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3126 "last command in the shell script (so that qemu replaces the shell and "
3127 "becomes the direct child of the libguestfs-using program).  If you don't do "
3128 "this, then the qemu process won't be cleaned up correctly."
3129 msgstr ""
3130
3131 # type: textblock
3132 #: ../src/guestfs.pod:1566
3133 msgid ""
3134 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3135 "source:"
3136 msgstr ""
3137
3138 # type: verbatim
3139 #: ../src/guestfs.pod:1569
3140 #, no-wrap
3141 msgid ""
3142 " #!/bin/sh -\n"
3143 " qemudir=/home/rjones/d/qemu\n"
3144 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
3145 "\n"
3146 msgstr ""
3147
3148 # type: textblock
3149 #: ../src/guestfs.pod:1573
3150 msgid ""
3151 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3152 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3153 "example:"
3154 msgstr ""
3155
3156 # type: verbatim
3157 #: ../src/guestfs.pod:1577
3158 #, no-wrap
3159 msgid ""
3160 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3161 "\n"
3162 msgstr ""
3163
3164 # type: textblock
3165 #: ../src/guestfs.pod:1579
3166 msgid ""
3167 "Note that libguestfs also calls qemu with the -help and -version options in "
3168 "order to determine features."
3169 msgstr ""
3170
3171 # type: =head1
3172 #: ../src/guestfs.pod:1582
3173 msgid "LIBGUESTFS VERSION NUMBERS"
3174 msgstr ""
3175
3176 # type: textblock
3177 #: ../src/guestfs.pod:1584
3178 msgid ""
3179 "Since April 2010, libguestfs has started to make separate development and "
3180 "stable releases, along with corresponding branches in our git repository.  "
3181 "These separate releases can be identified by version number:"
3182 msgstr ""
3183
3184 # type: verbatim
3185 #: ../src/guestfs.pod:1589
3186 #, no-wrap
3187 msgid ""
3188 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3189 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3190 "       |\n"
3191 "       v\n"
3192 " 1  .  3  .  5\n"
3193 " ^           ^\n"
3194 " |           |\n"
3195 " |           `-------- sub-version\n"
3196 " |\n"
3197 " `------ always '1' because we don't change the ABI\n"
3198 "\n"
3199 msgstr ""
3200
3201 # type: textblock
3202 #: ../src/guestfs.pod:1600
3203 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3204 msgstr ""
3205
3206 # type: textblock
3207 #: ../src/guestfs.pod:1602
3208 msgid ""
3209 "As time passes we cherry pick fixes from the development branch and backport "
3210 "those into the stable branch, the effect being that the stable branch should "
3211 "get more stable and less buggy over time.  So the stable releases are ideal "
3212 "for people who don't need new features but would just like the software to "
3213 "work."
3214 msgstr ""
3215
3216 # type: textblock
3217 #: ../src/guestfs.pod:1608
3218 msgid "Our criteria for backporting changes are:"
3219 msgstr ""
3220
3221 # type: textblock
3222 #: ../src/guestfs.pod:1614
3223 msgid ""
3224 "Documentation changes which don't affect any code are backported unless the "
3225 "documentation refers to a future feature which is not in stable."
3226 msgstr ""
3227
3228 # type: textblock
3229 #: ../src/guestfs.pod:1620
3230 msgid ""
3231 "Bug fixes which are not controversial, fix obvious problems, and have been "
3232 "well tested are backported."
3233 msgstr ""
3234
3235 # type: textblock
3236 #: ../src/guestfs.pod:1625
3237 msgid ""
3238 "Simple rearrangements of code which shouldn't affect how it works get "
3239 "backported.  This is so that the code in the two branches doesn't get too "
3240 "far out of step, allowing us to backport future fixes more easily."
3241 msgstr ""
3242
3243 # type: textblock
3244 #: ../src/guestfs.pod:1631
3245 msgid ""
3246 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3247 "exceptional case: the new feature is required in order to implement an "
3248 "important bug fix."
3249 msgstr ""
3250
3251 # type: textblock
3252 #: ../src/guestfs.pod:1637
3253 msgid ""
3254 "A new stable branch starts when we think the new features in development are "
3255 "substantial and compelling enough over the current stable branch to warrant "
3256 "it.  When that happens we create new stable and development versions 1.N.0 "
3257 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3258 "stable at this point, but by backporting fixes from development, that branch "
3259 "will stabilize over time."
3260 msgstr ""
3261
3262 # type: =head1
3263 #: ../src/guestfs.pod:1645 ../fish/guestfish.pod:796
3264 #: ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312
3265 #: ../tools/virt-rescue.pl:226
3266 msgid "ENVIRONMENT VARIABLES"
3267 msgstr ""
3268
3269 # type: =item
3270 #: ../src/guestfs.pod:1649 ../fish/guestfish.pod:816
3271 msgid "LIBGUESTFS_APPEND"
3272 msgstr ""
3273
3274 # type: textblock
3275 #: ../src/guestfs.pod:1651 ../fish/guestfish.pod:818
3276 msgid "Pass additional options to the guest kernel."
3277 msgstr ""
3278
3279 # type: =item
3280 #: ../src/guestfs.pod:1653 ../fish/guestfish.pod:820
3281 msgid "LIBGUESTFS_DEBUG"
3282 msgstr ""
3283
3284 # type: textblock
3285 #: ../src/guestfs.pod:1655
3286 msgid ""
3287 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3288 "effect as calling C<guestfs_set_verbose (g, 1)>."
3289 msgstr ""
3290
3291 # type: =item
3292 #: ../src/guestfs.pod:1658 ../fish/guestfish.pod:825
3293 msgid "LIBGUESTFS_MEMSIZE"
3294 msgstr ""
3295
3296 # type: textblock
3297 #: ../src/guestfs.pod:1660 ../fish/guestfish.pod:827
3298 msgid ""
3299 "Set the memory allocated to the qemu process, in megabytes.  For example:"
3300 msgstr ""
3301
3302 # type: verbatim
3303 #: ../src/guestfs.pod:1663 ../fish/guestfish.pod:830
3304 #, no-wrap
3305 msgid ""
3306 " LIBGUESTFS_MEMSIZE=700\n"
3307 "\n"
3308 msgstr ""
3309
3310 # type: =item
3311 #: ../src/guestfs.pod:1665 ../fish/guestfish.pod:832
3312 msgid "LIBGUESTFS_PATH"
3313 msgstr ""
3314
3315 # type: textblock
3316 #: ../src/guestfs.pod:1667
3317 msgid ""
3318 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3319 "the discussion of paths in section PATH above."
3320 msgstr ""
3321
3322 # type: =item
3323 #: ../src/guestfs.pod:1670 ../fish/guestfish.pod:837
3324 msgid "LIBGUESTFS_QEMU"
3325 msgstr ""
3326
3327 # type: textblock
3328 #: ../src/guestfs.pod:1672 ../fish/guestfish.pod:839
3329 msgid ""
3330 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3331 "which was found at compile time by the configure script is used."
3332 msgstr ""
3333
3334 # type: textblock
3335 #: ../src/guestfs.pod:1676
3336 msgid "See also L</QEMU WRAPPERS> above."
3337 msgstr ""
3338
3339 # type: =item
3340 #: ../src/guestfs.pod:1678 ../fish/guestfish.pod:843
3341 msgid "LIBGUESTFS_TRACE"
3342 msgstr ""
3343
3344 # type: textblock
3345 #: ../src/guestfs.pod:1680
3346 msgid ""
3347 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3348 "effect as calling C<guestfs_set_trace (g, 1)>."
3349 msgstr ""
3350
3351 # type: =item
3352 #: ../src/guestfs.pod:1683 ../fish/guestfish.pod:852
3353 msgid "TMPDIR"
3354 msgstr ""
3355
3356 # type: textblock
3357 #: ../src/guestfs.pod:1685 ../fish/guestfish.pod:854
3358 msgid "Location of temporary directory, defaults to C</tmp>."
3359 msgstr ""
3360
3361 # type: textblock
3362 #: ../src/guestfs.pod:1687 ../fish/guestfish.pod:856
3363 msgid ""
3364 "If libguestfs was compiled to use the supermin appliance then each handle "
3365 "will require rather a large amount of space in this directory for short "
3366 "periods of time (~ 80 MB).  You can use C<$TMPDIR> to configure another "
3367 "directory to use in case C</tmp> is not large enough."
3368 msgstr ""
3369
3370 # type: =head1
3371 #: ../src/guestfs.pod:1695 ../fish/guestfish.pod:914
3372 #: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178
3373 #: ../inspector/virt-inspector.pl:846 ../tools/virt-cat.pl:163
3374 #: ../tools/virt-df.pl:482 ../tools/virt-edit.pl:325
3375 #: ../tools/virt-list-filesystems.pl:191 ../tools/virt-list-partitions.pl:229
3376 #: ../tools/virt-ls.pl:210 ../tools/virt-make-fs.pl:527
3377 #: ../tools/virt-rescue.pl:231 ../tools/virt-resize.pl:1390
3378 #: ../tools/virt-tar.pl:257 ../tools/virt-win-reg.pl:461
3379 msgid "SEE ALSO"
3380 msgstr ""
3381
3382 # type: textblock
3383 #: ../src/guestfs.pod:1697
3384 msgid ""
3385 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-edit"
3386 "(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-"
3387 "partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-"
3388 "tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, L<hivex(3)>, "
3389 "L<http://libguestfs.org/>."
3390 msgstr ""
3391
3392 # type: textblock
3393 #: ../src/guestfs.pod:1715
3394 msgid ""
3395 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
3396 "(8)>, L<disktype(1)>."
3397 msgstr ""
3398
3399 # type: =head1
3400 #: ../src/guestfs.pod:1722 ../tools/virt-make-fs.pl:541
3401 #: ../tools/virt-win-reg.pl:476
3402 msgid "BUGS"
3403 msgstr ""
3404
3405 # type: textblock
3406 #: ../src/guestfs.pod:1724
3407 msgid "To get a list of bugs against libguestfs use this link:"
3408 msgstr ""
3409
3410 # type: textblock
3411 #: ../src/guestfs.pod:1726
3412 msgid ""
3413 "L<https://bugzilla.redhat.com/buglist.cgi?"
3414 "component=libguestfs&product=Virtualization+Tools>"
3415 msgstr ""
3416
3417 # type: textblock
3418 #: ../src/guestfs.pod:1728
3419 msgid "To report a new bug against libguestfs use this link:"
3420 msgstr ""
3421
3422 # type: textblock
3423 #: ../src/guestfs.pod:1730
3424 msgid ""
3425 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
3426 "component=libguestfs&product=Virtualization+Tools>"
3427 msgstr ""
3428
3429 # type: textblock
3430 #: ../src/guestfs.pod:1732
3431 msgid "When reporting a bug, please check:"
3432 msgstr ""
3433
3434 # type: textblock
3435 #: ../src/guestfs.pod:1738
3436 msgid "That the bug hasn't been reported already."
3437 msgstr ""
3438
3439 # type: textblock
3440 #: ../src/guestfs.pod:1742
3441 msgid "That you are testing a recent version."
3442 msgstr ""
3443
3444 # type: textblock
3445 #: ../src/guestfs.pod:1746
3446 msgid "Describe the bug accurately, and give a way to reproduce it."
3447 msgstr ""
3448
3449 # type: textblock
3450 #: ../src/guestfs.pod:1750
3451 msgid ""
3452 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3453 "bug report."
3454 msgstr ""
3455
3456 # type: =head1
3457 #: ../src/guestfs.pod:1755 ../fish/guestfish.pod:930
3458 #: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189
3459 #: ../inspector/virt-inspector.pl:855
3460 msgid "AUTHORS"
3461 msgstr ""
3462
3463 # type: textblock
3464 #: ../src/guestfs.pod:1757 ../fish/guestfish.pod:932
3465 #: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191
3466 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3467 msgstr ""
3468
3469 # type: =head1
3470 #: ../src/guestfs.pod:1759 ../fish/guestfish.pod:934
3471 #: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193
3472 #: ../inspector/virt-inspector.pl:861 ../tools/virt-cat.pl:177
3473 #: ../tools/virt-df.pl:495 ../tools/virt-edit.pl:341
3474 #: ../tools/virt-list-filesystems.pl:207 ../tools/virt-list-partitions.pl:244
3475 #: ../tools/virt-ls.pl:225 ../tools/virt-make-fs.pl:556
3476 #: ../tools/virt-rescue.pl:245 ../tools/virt-resize.pl:1411
3477 #: ../tools/virt-tar.pl:272 ../tools/virt-win-reg.pl:491
3478 msgid "COPYRIGHT"
3479 msgstr ""
3480
3481 # type: textblock
3482 #: ../src/guestfs.pod:1761 ../fish/guestfish.pod:936
3483 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3484 msgstr ""
3485
3486 # type: textblock
3487 #: ../src/guestfs.pod:1764
3488 msgid ""
3489 "This library is free software; you can redistribute it and/or modify it "
3490 "under the terms of the GNU Lesser General Public License as published by the "
3491 "Free Software Foundation; either version 2 of the License, or (at your "
3492 "option) any later version."
3493 msgstr ""
3494
3495 # type: textblock
3496 #: ../src/guestfs.pod:1769
3497 msgid ""
3498 "This library is distributed in the hope that it will be useful, but WITHOUT "
3499 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3500 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3501 "for more details."
3502 msgstr ""
3503
3504 # type: textblock
3505 #: ../src/guestfs.pod:1774
3506 msgid ""
3507 "You should have received a copy of the GNU Lesser General Public License "
3508 "along with this library; if not, write to the Free Software Foundation, "
3509 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3510 msgstr ""
3511
3512 # type: =head2
3513 #: ../src/guestfs-actions.pod:1
3514 msgid "guestfs_add_cdrom"
3515 msgstr ""
3516
3517 # type: verbatim
3518 #: ../src/guestfs-actions.pod:3
3519 #, no-wrap
3520 msgid ""
3521 " int guestfs_add_cdrom (guestfs_h *g,\n"
3522 "\t\tconst char *filename);\n"
3523 "\n"
3524 msgstr ""
3525
3526 # type: textblock
3527 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5
3528 msgid "This function adds a virtual CD-ROM disk image to the guest."
3529 msgstr ""
3530
3531 # type: textblock
3532 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7
3533 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3534 msgstr ""
3535
3536 # type: textblock
3537 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1488
3538 #: ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1186
3539 msgid "Notes:"
3540 msgstr ""
3541
3542 # type: textblock
3543 #: ../src/guestfs-actions.pod:16
3544 msgid ""
3545 "This call checks for the existence of C<filename>.  This stops you from "
3546 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3547 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3548 "instead."
3549 msgstr ""
3550
3551 # type: textblock
3552 #: ../src/guestfs-actions.pod:23
3553 msgid ""
3554 "If you just want to add an ISO file (often you use this as an efficient way "
3555 "to transfer large files into the guest), then you should probably use "
3556 "C<guestfs_add_drive_ro> instead."
3557 msgstr ""
3558
3559 # type: textblock
3560 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:63
3561 #: ../src/guestfs-actions.pod:92 ../src/guestfs-actions.pod:103
3562 #: ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:124
3563 #: ../src/guestfs-actions.pod:135 ../src/guestfs-actions.pod:238
3564 #: ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:266
3565 #: ../src/guestfs-actions.pod:302 ../src/guestfs-actions.pod:324
3566 #: ../src/guestfs-actions.pod:339 ../src/guestfs-actions.pod:403
3567 #: ../src/guestfs-actions.pod:430 ../src/guestfs-actions.pod:441
3568 #: ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:534
3569 #: ../src/guestfs-actions.pod:549 ../src/guestfs-actions.pod:560
3570 #: ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:717
3571 #: ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:749
3572 #: ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:839
3573 #: ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:866
3574 #: ../src/guestfs-actions.pod:883 ../src/guestfs-actions.pod:916
3575 #: ../src/guestfs-actions.pod:974 ../src/guestfs-actions.pod:996
3576 #: ../src/guestfs-actions.pod:1027 ../src/guestfs-actions.pod:1115
3577 #: ../src/guestfs-actions.pod:1146 ../src/guestfs-actions.pod:1346
3578 #: ../src/guestfs-actions.pod:1365 ../src/guestfs-actions.pod:1446
3579 #: ../src/guestfs-actions.pod:1794 ../src/guestfs-actions.pod:1917
3580 #: ../src/guestfs-actions.pod:1972 ../src/guestfs-actions.pod:2002
3581 #: ../src/guestfs-actions.pod:2411 ../src/guestfs-actions.pod:2423
3582 #: ../src/guestfs-actions.pod:2440 ../src/guestfs-actions.pod:2548
3583 #: ../src/guestfs-actions.pod:2559 ../src/guestfs-actions.pod:2569
3584 #: ../src/guestfs-actions.pod:2580 ../src/guestfs-actions.pod:2592
3585 #: ../src/guestfs-actions.pod:2622 ../src/guestfs-actions.pod:2686
3586 #: ../src/guestfs-actions.pod:2703 ../src/guestfs-actions.pod:2717
3587 #: ../src/guestfs-actions.pod:2737 ../src/guestfs-actions.pod:2757
3588 #: ../src/guestfs-actions.pod:2786 ../src/guestfs-actions.pod:2802
3589 #: ../src/guestfs-actions.pod:2818 ../src/guestfs-actions.pod:2830
3590 #: ../src/guestfs-actions.pod:2839 ../src/guestfs-actions.pod:2872
3591 #: ../src/guestfs-actions.pod:2885 ../src/guestfs-actions.pod:2895
3592 #: ../src/guestfs-actions.pod:2907 ../src/guestfs-actions.pod:2921
3593 #: ../src/guestfs-actions.pod:3001 ../src/guestfs-actions.pod:3018
3594 #: ../src/guestfs-actions.pod:3028 ../src/guestfs-actions.pod:3073
3595 #: ../src/guestfs-actions.pod:3088 ../src/guestfs-actions.pod:3103
3596 #: ../src/guestfs-actions.pod:3116 ../src/guestfs-actions.pod:3127
3597 #: ../src/guestfs-actions.pod:3138 ../src/guestfs-actions.pod:3152
3598 #: ../src/guestfs-actions.pod:3164 ../src/guestfs-actions.pod:3181
3599 #: ../src/guestfs-actions.pod:3212 ../src/guestfs-actions.pod:3240
3600 #: ../src/guestfs-actions.pod:3256 ../src/guestfs-actions.pod:3272
3601 #: ../src/guestfs-actions.pod:3281 ../src/guestfs-actions.pod:3295
3602 #: ../src/guestfs-actions.pod:3305 ../src/guestfs-actions.pod:3317
3603 #: ../src/guestfs-actions.pod:3329 ../src/guestfs-actions.pod:3361
3604 #: ../src/guestfs-actions.pod:3373 ../src/guestfs-actions.pod:3390
3605 #: ../src/guestfs-actions.pod:3401 ../src/guestfs-actions.pod:3415
3606 #: ../src/guestfs-actions.pod:3455 ../src/guestfs-actions.pod:3486
3607 #: ../src/guestfs-actions.pod:3497 ../src/guestfs-actions.pod:3522
3608 #: ../src/guestfs-actions.pod:3536 ../src/guestfs-actions.pod:3551
3609 #: ../src/guestfs-actions.pod:3673 ../src/guestfs-actions.pod:3725
3610 #: ../src/guestfs-actions.pod:3744 ../src/guestfs-actions.pod:3759
3611 #: ../src/guestfs-actions.pod:3785 ../src/guestfs-actions.pod:3819
3612 #: ../src/guestfs-actions.pod:3833 ../src/guestfs-actions.pod:3843
3613 #: ../src/guestfs-actions.pod:3854 ../src/guestfs-actions.pod:4086
3614 #: ../src/guestfs-actions.pod:4102 ../src/guestfs-actions.pod:4113
3615 #: ../src/guestfs-actions.pod:4122 ../src/guestfs-actions.pod:4133
3616 #: ../src/guestfs-actions.pod:4142 ../src/guestfs-actions.pod:4153
3617 #: ../src/guestfs-actions.pod:4166 ../src/guestfs-actions.pod:4184
3618 #: ../src/guestfs-actions.pod:4200 ../src/guestfs-actions.pod:4216
3619 #: ../src/guestfs-actions.pod:4231 ../src/guestfs-actions.pod:4251
3620 #: ../src/guestfs-actions.pod:4266 ../src/guestfs-actions.pod:4282
3621 #: ../src/guestfs-actions.pod:4300 ../src/guestfs-actions.pod:4316
3622 #: ../src/guestfs-actions.pod:4330 ../src/guestfs-actions.pod:4355
3623 #: ../src/guestfs-actions.pod:4376 ../src/guestfs-actions.pod:4392
3624 #: ../src/guestfs-actions.pod:4413 ../src/guestfs-actions.pod:4425
3625 #: ../src/guestfs-actions.pod:4437 ../src/guestfs-actions.pod:4453
3626 #: ../src/guestfs-actions.pod:4487 ../src/guestfs-actions.pod:4507
3627 #: ../src/guestfs-actions.pod:4530 ../src/guestfs-actions.pod:4620
3628 #: ../src/guestfs-actions.pod:4726 ../src/guestfs-actions.pod:4735
3629 #: ../src/guestfs-actions.pod:4745 ../src/guestfs-actions.pod:4755
3630 #: ../src/guestfs-actions.pod:4774 ../src/guestfs-actions.pod:4784
3631 #: ../src/guestfs-actions.pod:4794 ../src/guestfs-actions.pod:4804
3632 #: ../src/guestfs-actions.pod:4816 ../src/guestfs-actions.pod:4866
3633 #: ../src/guestfs-actions.pod:4880 ../src/guestfs-actions.pod:4893
3634 #: ../src/guestfs-actions.pod:4906 ../src/guestfs-actions.pod:4920
3635 #: ../src/guestfs-actions.pod:4930 ../src/guestfs-actions.pod:4947
3636 #: ../src/guestfs-actions.pod:4977 ../src/guestfs-actions.pod:4988
3637 #: ../src/guestfs-actions.pod:5023 ../src/guestfs-actions.pod:5033
3638 #: ../src/guestfs-actions.pod:5048 ../src/guestfs-actions.pod:5076
3639 #: ../src/guestfs-actions.pod:5180 ../src/guestfs-actions.pod:5195
3640 #: ../src/guestfs-actions.pod:5206 ../src/guestfs-actions.pod:5252
3641 #: ../src/guestfs-actions.pod:5262 ../src/guestfs-actions.pod:5299
3642 #: ../src/guestfs-actions.pod:5326 ../src/guestfs-actions.pod:5368
3643 #: ../src/guestfs-actions.pod:5391 ../src/guestfs-actions.pod:5448
3644 #: ../src/guestfs-actions.pod:5464 ../src/guestfs-actions.pod:5490
3645 msgid "This function returns 0 on success or -1 on error."
3646 msgstr ""
3647
3648 # type: =head2
3649 #: ../src/guestfs-actions.pod:31
3650 msgid "guestfs_add_drive"
3651 msgstr ""
3652
3653 # type: verbatim
3654 #: ../src/guestfs-actions.pod:33
3655 #, no-wrap
3656 msgid ""
3657 " int guestfs_add_drive (guestfs_h *g,\n"
3658 "\t\tconst char *filename);\n"
3659 "\n"
3660 msgstr ""
3661
3662 # type: textblock
3663 #: ../src/guestfs-actions.pod:36 ../fish/guestfish-actions.pod:32
3664 msgid ""
3665 "This function adds a virtual machine disk image C<filename> to the guest.  "
3666 "The first time you call this function, the disk appears as IDE disk 0 (C</"
3667 "dev/sda>) in the guest, the second time as C</dev/sdb>, and so on."
3668 msgstr ""
3669
3670 # type: textblock
3671 #: ../src/guestfs-actions.pod:41 ../fish/guestfish-actions.pod:37
3672 msgid ""
3673 "You don't necessarily need to be root when using libguestfs.  However you "
3674 "obviously do need sufficient permissions to access the filename for whatever "
3675 "operations you want to perform (ie. read access if you just want to read the "
3676 "image or write access if you want to modify the image)."
3677 msgstr ""
3678
3679 # type: textblock
3680 #: ../src/guestfs-actions.pod:47 ../fish/guestfish-actions.pod:43
3681 msgid ""
3682 "This is equivalent to the qemu parameter C<-drive file=filename,cache=off,"
3683 "if=...>."
3684 msgstr ""
3685
3686 # type: textblock
3687 #: ../src/guestfs-actions.pod:50 ../fish/guestfish-actions.pod:46
3688 msgid ""
3689 "C<cache=off> is omitted in cases where it is not supported by the underlying "
3690 "filesystem."
3691 msgstr ""
3692
3693 # type: textblock
3694 #: ../src/guestfs-actions.pod:53 ../src/guestfs-actions.pod:82
3695 msgid ""
3696 "C<if=...> is set at compile time by the configuration option C<./configure --"
3697 "with-drive-if=...>.  In the rare case where you might need to change this at "
3698 "run time, use C<guestfs_add_drive_with_if> or "
3699 "C<guestfs_add_drive_ro_with_if>."
3700 msgstr ""
3701
3702 # type: textblock
3703 #: ../src/guestfs-actions.pod:58 ../src/guestfs-actions.pod:87
3704 msgid ""
3705 "Note that this call checks for the existence of C<filename>.  This stops you "
3706 "from specifying other types of drive which are supported by qemu such as "
3707 "C<nbd:> and C<http:> URLs.  To specify those, use the general "
3708 "C<guestfs_config> call instead."
3709 msgstr ""
3710
3711 # type: =head2
3712 #: ../src/guestfs-actions.pod:65
3713 msgid "guestfs_add_drive_ro"
3714 msgstr ""
3715
3716 # type: verbatim
3717 #: ../src/guestfs-actions.pod:67
3718 #, no-wrap
3719 msgid ""
3720 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3721 "\t\tconst char *filename);\n"
3722 "\n"
3723 msgstr ""
3724
3725 # type: textblock
3726 #: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:63
3727 msgid "This adds a drive in snapshot mode, making it effectively read-only."
3728 msgstr ""
3729
3730 # type: textblock
3731 #: ../src/guestfs-actions.pod:73 ../fish/guestfish-actions.pod:66
3732 msgid ""
3733 "Note that writes to the device are allowed, and will be seen for the "
3734 "duration of the guestfs handle, but they are written to a temporary file "
3735 "which is discarded as soon as the guestfs handle is closed.  We don't "
3736 "currently have any method to enable changes to be committed, although qemu "
3737 "can support this."
3738 msgstr ""
3739
3740 # type: textblock
3741 #: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:72
3742 msgid ""
3743 "This is equivalent to the qemu parameter C<-drive file=filename,snapshot=on,"
3744 "if=...>."
3745 msgstr ""
3746
3747 # type: =head2
3748 #: ../src/guestfs-actions.pod:94
3749 msgid "guestfs_add_drive_ro_with_if"
3750 msgstr ""
3751
3752 # type: verbatim
3753 #: ../src/guestfs-actions.pod:96
3754 #, no-wrap
3755 msgid ""
3756 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
3757 "\t\tconst char *filename,\n"
3758 "\t\tconst char *iface);\n"
3759 "\n"
3760 msgstr ""
3761
3762 # type: textblock
3763 #: ../src/guestfs-actions.pod:100
3764 msgid ""
3765 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
3766 "QEMU interface emulation to use at run time."
3767 msgstr ""
3768
3769 # type: =head2
3770 #: ../src/guestfs-actions.pod:105
3771 msgid "guestfs_add_drive_with_if"
3772 msgstr ""
3773
3774 # type: verbatim
3775 #: ../src/guestfs-actions.pod:107
3776 #, no-wrap
3777 msgid ""
3778 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
3779 "\t\tconst char *filename,\n"
3780 "\t\tconst char *iface);\n"
3781 "\n"
3782 msgstr ""
3783
3784 # type: textblock
3785 #: ../src/guestfs-actions.pod:111
3786 msgid ""
3787 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
3788 "QEMU interface emulation to use at run time."
3789 msgstr ""
3790
3791 # type: =head2
3792 #: ../src/guestfs-actions.pod:116
3793 msgid "guestfs_aug_clear"
3794 msgstr ""
3795
3796 # type: verbatim
3797 #: ../src/guestfs-actions.pod:118
3798 #, no-wrap
3799 msgid ""
3800 " int guestfs_aug_clear (guestfs_h *g,\n"
3801 "\t\tconst char *augpath);\n"
3802 "\n"
3803 msgstr ""
3804
3805 # type: textblock
3806 #: ../src/guestfs-actions.pod:121 ../fish/guestfish-actions.pod:103
3807 msgid ""
3808 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
3809 "L<augtool(1)> C<clear> command."
3810 msgstr ""
3811
3812 # type: =head2
3813 #: ../src/guestfs-actions.pod:126
3814 msgid "guestfs_aug_close"
3815 msgstr ""
3816
3817 # type: verbatim
3818 #: ../src/guestfs-actions.pod:128
3819 #, no-wrap
3820 msgid ""
3821 " int guestfs_aug_close (guestfs_h *g);\n"
3822 "\n"
3823 msgstr ""
3824
3825 # type: textblock
3826 #: ../src/guestfs-actions.pod:130
3827 msgid ""
3828 "Close the current Augeas handle and free up any resources used by it.  After "
3829 "calling this, you have to call C<guestfs_aug_init> again before you can use "
3830 "any other Augeas functions."
3831 msgstr ""
3832
3833 # type: =head2
3834 #: ../src/guestfs-actions.pod:137
3835 msgid "guestfs_aug_defnode"
3836 msgstr ""
3837
3838 # type: verbatim
3839 #: ../src/guestfs-actions.pod:139
3840 #, no-wrap
3841 msgid ""
3842 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
3843 "\t\tconst char *name,\n"
3844 "\t\tconst char *expr,\n"
3845 "\t\tconst char *val);\n"
3846 "\n"
3847 msgstr ""
3848
3849 # type: textblock
3850 #: ../src/guestfs-actions.pod:144 ../fish/guestfish-actions.pod:119
3851 msgid ""
3852 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
3853 msgstr ""
3854
3855 # type: textblock
3856 #: ../src/guestfs-actions.pod:147
3857 msgid ""
3858 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
3859 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
3860 "containing that single node."
3861 msgstr ""
3862
3863 # type: textblock
3864 #: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:126
3865 msgid ""
3866 "On success this returns a pair containing the number of nodes in the "
3867 "nodeset, and a boolean flag if a node was created."
3868 msgstr ""
3869
3870 # type: textblock
3871 #: ../src/guestfs-actions.pod:155
3872 msgid ""
3873 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
3874 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
3875 msgstr ""
3876
3877 # type: =head2
3878 #: ../src/guestfs-actions.pod:159
3879 msgid "guestfs_aug_defvar"
3880 msgstr ""
3881
3882 # type: verbatim
3883 #: ../src/guestfs-actions.pod:161
3884 #, no-wrap
3885 msgid ""
3886 " int guestfs_aug_defvar (guestfs_h *g,\n"
3887 "\t\tconst char *name,\n"
3888 "\t\tconst char *expr);\n"
3889 "\n"
3890 msgstr ""
3891
3892 # type: textblock
3893 #: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:134
3894 msgid ""
3895 "Defines an Augeas variable C<name> whose value is the result of evaluating "
3896 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
3897 msgstr ""
3898
3899 # type: textblock
3900 #: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:138
3901 msgid ""
3902 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
3903 "evaluates to something which is not a nodeset."
3904 msgstr ""
3905
3906 # type: textblock
3907 #: ../src/guestfs-actions.pod:172 ../src/guestfs-actions.pod:313
3908 #: ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:492
3909 #: ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:523
3910 #: ../src/guestfs-actions.pod:1013 ../src/guestfs-actions.pod:1328
3911 #: ../src/guestfs-actions.pod:1510 ../src/guestfs-actions.pod:1591
3912 #: ../src/guestfs-actions.pod:1622 ../src/guestfs-actions.pod:1665
3913 #: ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1907
3914 #: ../src/guestfs-actions.pod:2119 ../src/guestfs-actions.pod:2137
3915 #: ../src/guestfs-actions.pod:3475 ../src/guestfs-actions.pod:3582
3916 #: ../src/guestfs-actions.pod:3913 ../src/guestfs-actions.pod:5012
3917 #: ../src/guestfs-actions.pod:5336 ../src/guestfs-actions.pod:5346
3918 #: ../src/guestfs-actions.pod:5356
3919 msgid "On error this function returns -1."
3920 msgstr ""
3921
3922 # type: =head2
3923 #: ../src/guestfs-actions.pod:174
3924 msgid "guestfs_aug_get"
3925 msgstr ""
3926
3927 # type: verbatim
3928 #: ../src/guestfs-actions.pod:176
3929 #, no-wrap
3930 msgid ""
3931 " char *guestfs_aug_get (guestfs_h *g,\n"
3932 "\t\tconst char *augpath);\n"
3933 "\n"
3934 msgstr ""
3935
3936 # type: textblock
3937 #: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:145
3938 msgid ""
3939 "Look up the value associated with C<path>.  If C<path> matches exactly one "
3940 "node, the C<value> is returned."
3941 msgstr ""
3942
3943 # type: textblock
3944 #: ../src/guestfs-actions.pod:182 ../src/guestfs-actions.pod:610
3945 #: ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:682
3946 #: ../src/guestfs-actions.pod:695 ../src/guestfs-actions.pod:786
3947 #: ../src/guestfs-actions.pod:899 ../src/guestfs-actions.pod:928
3948 #: ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:958
3949 #: ../src/guestfs-actions.pod:1041 ../src/guestfs-actions.pod:1205
3950 #: ../src/guestfs-actions.pod:1314 ../src/guestfs-actions.pod:1459
3951 #: ../src/guestfs-actions.pod:1473 ../src/guestfs-actions.pod:1549
3952 #: ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1701
3953 #: ../src/guestfs-actions.pod:1840 ../src/guestfs-actions.pod:2021
3954 #: ../src/guestfs-actions.pod:2071 ../src/guestfs-actions.pod:2187
3955 #: ../src/guestfs-actions.pod:2222 ../src/guestfs-actions.pod:2537
3956 #: ../src/guestfs-actions.pod:2958 ../src/guestfs-actions.pod:3054
3957 #: ../src/guestfs-actions.pod:3597 ../src/guestfs-actions.pod:3773
3958 #: ../src/guestfs-actions.pod:3891 ../src/guestfs-actions.pod:4029
3959 #: ../src/guestfs-actions.pod:4072 ../src/guestfs-actions.pod:4548
3960 #: ../src/guestfs-actions.pod:4561 ../src/guestfs-actions.pod:4575
3961 #: ../src/guestfs-actions.pod:4596 ../src/guestfs-actions.pod:5129
3962 #: ../src/guestfs-actions.pod:5145 ../src/guestfs-actions.pod:5160
3963 #: ../src/guestfs-actions.pod:5308 ../src/guestfs-actions.pod:5538
3964 msgid ""
3965 "This function returns a string, or NULL on error.  I<The caller must free "
3966 "the returned string after use>."
3967 msgstr ""
3968
3969 # type: =head2
3970 #: ../src/guestfs-actions.pod:185
3971 msgid "guestfs_aug_init"
3972 msgstr ""
3973
3974 # type: verbatim
3975 #: ../src/guestfs-actions.pod:187
3976 #, no-wrap
3977 msgid ""
3978 " int guestfs_aug_init (guestfs_h *g,\n"
3979 "\t\tconst char *root,\n"
3980 "\t\tint flags);\n"
3981 "\n"
3982 msgstr ""
3983
3984 # type: textblock
3985 #: ../src/guestfs-actions.pod:191 ../fish/guestfish-actions.pod:152
3986 msgid ""
3987 "Create a new Augeas handle for editing configuration files.  If there was "
3988 "any previous Augeas handle associated with this guestfs session, then it is "
3989 "closed."
3990 msgstr ""
3991
3992 # type: textblock
3993 #: ../src/guestfs-actions.pod:195
3994 msgid "You must call this before using any other C<guestfs_aug_*> commands."
3995 msgstr ""
3996
3997 # type: textblock
3998 #: ../src/guestfs-actions.pod:198 ../fish/guestfish-actions.pod:159
3999 msgid ""
4000 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
4001 msgstr ""
4002
4003 # type: textblock
4004 #: ../src/guestfs-actions.pod:201 ../fish/guestfish-actions.pod:162
4005 msgid ""
4006 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
4007 "logical I<or> of the following integers:"
4008 msgstr ""
4009
4010 # type: =item
4011 #: ../src/guestfs-actions.pod:207 ../fish/guestfish-actions.pod:168
4012 msgid "C<AUG_SAVE_BACKUP> = 1"
4013 msgstr ""
4014
4015 # type: textblock
4016 #: ../src/guestfs-actions.pod:209 ../fish/guestfish-actions.pod:170
4017 msgid "Keep the original file with a C<.augsave> extension."
4018 msgstr ""
4019
4020 # type: =item
4021 #: ../src/guestfs-actions.pod:211 ../fish/guestfish-actions.pod:172
4022 msgid "C<AUG_SAVE_NEWFILE> = 2"
4023 msgstr ""
4024
4025 # type: textblock
4026 #: ../src/guestfs-actions.pod:213 ../fish/guestfish-actions.pod:174
4027 msgid ""
4028 "Save changes into a file with extension C<.augnew>, and do not overwrite "
4029 "original.  Overrides C<AUG_SAVE_BACKUP>."
4030 msgstr ""
4031
4032 # type: =item
4033 #: ../src/guestfs-actions.pod:216 ../fish/guestfish-actions.pod:177
4034 msgid "C<AUG_TYPE_CHECK> = 4"
4035 msgstr ""
4036
4037 # type: textblock
4038 #: ../src/guestfs-actions.pod:218 ../fish/guestfish-actions.pod:179
4039 msgid "Typecheck lenses (can be expensive)."
4040 msgstr ""
4041
4042 # type: =item
4043 #: ../src/guestfs-actions.pod:220 ../fish/guestfish-actions.pod:181
4044 msgid "C<AUG_NO_STDINC> = 8"
4045 msgstr ""
4046
4047 # type: textblock
4048 #: ../src/guestfs-actions.pod:222 ../fish/guestfish-actions.pod:183
4049 msgid "Do not use standard load path for modules."
4050 msgstr ""
4051
4052 # type: =item
4053 #: ../src/guestfs-actions.pod:224 ../fish/guestfish-actions.pod:185
4054 msgid "C<AUG_SAVE_NOOP> = 16"
4055 msgstr ""
4056
4057 # type: textblock
4058 #: ../src/guestfs-actions.pod:226 ../fish/guestfish-actions.pod:187
4059 msgid "Make save a no-op, just record what would have been changed."
4060 msgstr ""
4061
4062 # type: =item
4063 #: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:189
4064 msgid "C<AUG_NO_LOAD> = 32"
4065 msgstr ""
4066
4067 # type: textblock
4068 #: ../src/guestfs-actions.pod:230
4069 msgid "Do not load the tree in C<guestfs_aug_init>."
4070 msgstr ""
4071
4072 # type: textblock
4073 #: ../src/guestfs-actions.pod:234
4074 msgid "To close the handle, you can call C<guestfs_aug_close>."
4075 msgstr ""
4076
4077 # type: textblock
4078 #: ../src/guestfs-actions.pod:236 ../fish/guestfish-actions.pod:197
4079 msgid "To find out more about Augeas, see L<http://augeas.net/>."
4080 msgstr ""
4081
4082 # type: =head2
4083 #: ../src/guestfs-actions.pod:240
4084 msgid "guestfs_aug_insert"
4085 msgstr ""
4086
4087 # type: verbatim
4088 #: ../src/guestfs-actions.pod:242
4089 #, no-wrap
4090 msgid ""
4091 " int guestfs_aug_insert (guestfs_h *g,\n"
4092 "\t\tconst char *augpath,\n"
4093 "\t\tconst char *label,\n"
4094 "\t\tint before);\n"
4095 "\n"
4096 msgstr ""
4097
4098 # type: textblock
4099 #: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:203
4100 msgid ""
4101 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
4102 "or after C<path> (depending on the boolean flag C<before>)."
4103 msgstr ""
4104
4105 # type: textblock
4106 #: ../src/guestfs-actions.pod:251 ../fish/guestfish-actions.pod:207
4107 msgid ""
4108 "C<path> must match exactly one existing node in the tree, and C<label> must "
4109 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
4110 msgstr ""
4111
4112 # type: =head2
4113 #: ../src/guestfs-actions.pod:257
4114 msgid "guestfs_aug_load"
4115 msgstr ""
4116
4117 # type: verbatim
4118 #: ../src/guestfs-actions.pod:259
4119 #, no-wrap
4120 msgid ""
4121 " int guestfs_aug_load (guestfs_h *g);\n"
4122 "\n"
4123 msgstr ""
4124
4125 # type: textblock
4126 #: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:215
4127 msgid "Load files into the tree."
4128 msgstr ""
4129
4130 # type: textblock
4131 #: ../src/guestfs-actions.pod:263 ../fish/guestfish-actions.pod:217
4132 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
4133 msgstr ""
4134
4135 # type: =head2
4136 #: ../src/guestfs-actions.pod:268
4137 msgid "guestfs_aug_ls"
4138 msgstr ""
4139
4140 # type: verbatim
4141 #: ../src/guestfs-actions.pod:270
4142 #, no-wrap
4143 msgid ""
4144 " char **guestfs_aug_ls (guestfs_h *g,\n"
4145 "\t\tconst char *augpath);\n"
4146 "\n"
4147 msgstr ""
4148
4149 # type: textblock
4150 #: ../src/guestfs-actions.pod:273
4151 msgid ""
4152 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
4153 "sorting the resulting nodes into alphabetical order."
4154 msgstr ""
4155
4156 # type: textblock
4157 #: ../src/guestfs-actions.pod:276 ../src/guestfs-actions.pod:289
4158 #: ../src/guestfs-actions.pod:417 ../src/guestfs-actions.pod:802
4159 #: ../src/guestfs-actions.pod:1053 ../src/guestfs-actions.pod:1069
4160 #: ../src/guestfs-actions.pod:1157 ../src/guestfs-actions.pod:1173
4161 #: ../src/guestfs-actions.pod:1404 ../src/guestfs-actions.pod:1738
4162 #: ../src/guestfs-actions.pod:1751 ../src/guestfs-actions.pod:1767
4163 #: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1825
4164 #: ../src/guestfs-actions.pod:1887 ../src/guestfs-actions.pod:1927
4165 #: ../src/guestfs-actions.pod:2093 ../src/guestfs-actions.pod:2261
4166 #: ../src/guestfs-actions.pod:2466 ../src/guestfs-actions.pod:2522
4167 #: ../src/guestfs-actions.pod:2606 ../src/guestfs-actions.pod:2935
4168 #: ../src/guestfs-actions.pod:3442 ../src/guestfs-actions.pod:3868
4169 #: ../src/guestfs-actions.pod:3954 ../src/guestfs-actions.pod:4060
4170 #: ../src/guestfs-actions.pod:4609 ../src/guestfs-actions.pod:4658
4171 #: ../src/guestfs-actions.pod:4710 ../src/guestfs-actions.pod:4826
4172 #: ../src/guestfs-actions.pod:4847 ../src/guestfs-actions.pod:5221
4173 #: ../src/guestfs-actions.pod:5238 ../src/guestfs-actions.pod:5276
4174 #: ../src/guestfs-actions.pod:5412 ../src/guestfs-actions.pod:5428
4175 #: ../src/guestfs-actions.pod:5501 ../src/guestfs-actions.pod:5517
4176 #: ../src/guestfs-actions.pod:5557 ../src/guestfs-actions.pod:5573
4177 msgid ""
4178 "This function returns a NULL-terminated array of strings (like L<environ(3)"
4179 ">), or NULL if there was an error.  I<The caller must free the strings and "
4180 "the array after use>."
4181 msgstr ""
4182
4183 # type: =head2
4184 #: ../src/guestfs-actions.pod:280
4185 msgid "guestfs_aug_match"
4186 msgstr ""
4187
4188 # type: verbatim
4189 #: ../src/guestfs-actions.pod:282
4190 #, no-wrap
4191 msgid ""
4192 " char **guestfs_aug_match (guestfs_h *g,\n"
4193 "\t\tconst char *augpath);\n"
4194 "\n"
4195 msgstr ""
4196
4197 # type: textblock
4198 #: ../src/guestfs-actions.pod:285 ../fish/guestfish-actions.pod:231
4199 msgid ""
4200 "Returns a list of paths which match the path expression C<path>.  The "
4201 "returned paths are sufficiently qualified so that they match exactly one "
4202 "node in the current tree."
4203 msgstr ""
4204
4205 # type: =head2
4206 #: ../src/guestfs-actions.pod:293
4207 msgid "guestfs_aug_mv"
4208 msgstr ""
4209
4210 # type: verbatim
4211 #: ../src/guestfs-actions.pod:295
4212 #, no-wrap
4213 msgid ""
4214 " int guestfs_aug_mv (guestfs_h *g,\n"
4215 "\t\tconst char *src,\n"
4216 "\t\tconst char *dest);\n"
4217 "\n"
4218 msgstr ""
4219
4220 # type: textblock
4221 #: ../src/guestfs-actions.pod:299 ../fish/guestfish-actions.pod:239
4222 msgid ""
4223 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
4224 "C<dest> is overwritten if it exists."
4225 msgstr ""
4226
4227 # type: =head2
4228 #: ../src/guestfs-actions.pod:304
4229 msgid "guestfs_aug_rm"
4230 msgstr ""
4231
4232 # type: verbatim
4233 #: ../src/guestfs-actions.pod:306
4234 #, no-wrap
4235 msgid ""
4236 " int guestfs_aug_rm (guestfs_h *g,\n"
4237 "\t\tconst char *augpath);\n"
4238 "\n"
4239 msgstr ""
4240
4241 # type: textblock
4242 #: ../src/guestfs-actions.pod:309 ../fish/guestfish-actions.pod:246
4243 msgid "Remove C<path> and all of its children."
4244 msgstr ""
4245
4246 # type: textblock
4247 #: ../src/guestfs-actions.pod:311 ../fish/guestfish-actions.pod:248
4248 msgid "On success this returns the number of entries which were removed."
4249 msgstr ""
4250
4251 # type: =head2
4252 #: ../src/guestfs-actions.pod:315
4253 msgid "guestfs_aug_save"
4254 msgstr ""
4255
4256 # type: verbatim
4257 #: ../src/guestfs-actions.pod:317
4258 #, no-wrap
4259 msgid ""
4260 " int guestfs_aug_save (guestfs_h *g);\n"
4261 "\n"
4262 msgstr ""
4263
4264 # type: textblock
4265 #: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:254
4266 msgid "This writes all pending changes to disk."
4267 msgstr ""
4268
4269 # type: textblock
4270 #: ../src/guestfs-actions.pod:321
4271 msgid ""
4272 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4273 "are saved."
4274 msgstr ""
4275
4276 # type: =head2
4277 #: ../src/guestfs-actions.pod:326
4278 msgid "guestfs_aug_set"
4279 msgstr ""
4280
4281 # type: verbatim
4282 #: ../src/guestfs-actions.pod:328
4283 #, no-wrap
4284 msgid ""
4285 " int guestfs_aug_set (guestfs_h *g,\n"
4286 "\t\tconst char *augpath,\n"
4287 "\t\tconst char *val);\n"
4288 "\n"
4289 msgstr ""
4290
4291 # type: textblock
4292 #: ../src/guestfs-actions.pod:332 ../fish/guestfish-actions.pod:263
4293 msgid "Set the value associated with C<path> to C<val>."
4294 msgstr ""
4295
4296 # type: textblock
4297 #: ../src/guestfs-actions.pod:334
4298 msgid ""
4299 "In the Augeas API, it is possible to clear a node by setting the value to "
4300 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4301 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4302 msgstr ""
4303
4304 # type: =head2
4305 #: ../src/guestfs-actions.pod:341
4306 msgid "guestfs_available"
4307 msgstr ""
4308
4309 # type: verbatim
4310 #: ../src/guestfs-actions.pod:343
4311 #, no-wrap
4312 msgid ""
4313 " int guestfs_available (guestfs_h *g,\n"
4314 "\t\tchar *const *groups);\n"
4315 "\n"
4316 msgstr ""
4317
4318 # type: textblock
4319 #: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:274
4320 msgid ""
4321 "This command is used to check the availability of some groups of "
4322 "functionality in the appliance, which not all builds of the libguestfs "
4323 "appliance will be able to provide."
4324 msgstr ""
4325
4326 # type: textblock
4327 #: ../src/guestfs-actions.pod:350
4328 msgid ""
4329 "The libguestfs groups, and the functions that those groups correspond to, "
4330 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4331 "runtime by calling C<guestfs_available_all_groups>."
4332 msgstr ""
4333
4334 # type: textblock
4335 #: ../src/guestfs-actions.pod:355 ../fish/guestfish-actions.pod:283
4336 msgid ""
4337 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
4338 "\"]> would check for the availability of the Linux inotify functions and "
4339 "Augeas (configuration file editing) functions."
4340 msgstr ""
4341
4342 # type: textblock
4343 #: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:288
4344 msgid "The command returns no error if I<all> requested groups are available."
4345 msgstr ""
4346
4347 # type: textblock
4348 #: ../src/guestfs-actions.pod:362 ../fish/guestfish-actions.pod:290
4349 msgid ""
4350 "It fails with an error if one or more of the requested groups is unavailable "
4351 "in the appliance."
4352 msgstr ""
4353
4354 # type: textblock
4355 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:293
4356 msgid ""
4357 "If an unknown group name is included in the list of groups then an error is "
4358 "always returned."
4359 msgstr ""
4360
4361 # type: textblock
4362 #: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:296
4363 msgid "I<Notes:>"
4364 msgstr ""
4365
4366 # type: textblock
4367 #: ../src/guestfs-actions.pod:374
4368 msgid "You must call C<guestfs_launch> before calling this function."
4369 msgstr ""
4370
4371 # type: textblock
4372 #: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:304
4373 msgid ""
4374 "The reason is because we don't know what groups are supported by the "
4375 "appliance/daemon until it is running and can be queried."
4376 msgstr ""
4377
4378 # type: textblock
4379 #: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:310
4380 msgid ""
4381 "If a group of functions is available, this does not necessarily mean that "
4382 "they will work.  You still have to check for errors when calling individual "
4383 "API functions even if they are available."
4384 msgstr ""
4385
4386 # type: textblock
4387 #: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:317
4388 msgid ""
4389 "It is usually the job of distro packagers to build complete functionality "
4390 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4391 "with all requirements satisfied, will support everything."
4392 msgstr ""
4393
4394 # type: textblock
4395 #: ../src/guestfs-actions.pod:396
4396 msgid ""
4397 "This call was added in version C<1.0.80>.  In previous versions of "
4398 "libguestfs all you could do would be to speculatively execute a command to "
4399 "find out if the daemon implemented it.  See also C<guestfs_version>."
4400 msgstr ""
4401
4402 # type: =head2
4403 #: ../src/guestfs-actions.pod:405
4404 msgid "guestfs_available_all_groups"
4405 msgstr ""
4406
4407 # type: verbatim
4408 #: ../src/guestfs-actions.pod:407
4409 #, no-wrap
4410 msgid ""
4411 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4412 "\n"
4413 msgstr ""
4414
4415 # type: textblock
4416 #: ../src/guestfs-actions.pod:409
4417 msgid ""
4418 "This command returns a list of all optional groups that this daemon knows "
4419 "about.  Note this returns both supported and unsupported groups.  To find "
4420 "out which ones the daemon can actually support you have to call "
4421 "C<guestfs_available> on each member of the returned list."
4422 msgstr ""
4423
4424 # type: textblock
4425 #: ../src/guestfs-actions.pod:415
4426 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4427 msgstr ""
4428
4429 # type: =head2
4430 #: ../src/guestfs-actions.pod:421
4431 msgid "guestfs_base64_in"
4432 msgstr ""
4433
4434 # type: verbatim
4435 #: ../src/guestfs-actions.pod:423
4436 #, no-wrap
4437 msgid ""
4438 " int guestfs_base64_in (guestfs_h *g,\n"
4439 "\t\tconst char *base64file,\n"
4440 "\t\tconst char *filename);\n"
4441 "\n"
4442 msgstr ""
4443
4444 # type: textblock
4445 #: ../src/guestfs-actions.pod:427 ../fish/guestfish-actions.pod:347
4446 msgid ""
4447 "This command uploads base64-encoded data from C<base64file> to C<filename>."
4448 msgstr ""
4449
4450 # type: =head2
4451 #: ../src/guestfs-actions.pod:432
4452 msgid "guestfs_base64_out"
4453 msgstr ""
4454
4455 # type: verbatim
4456 #: ../src/guestfs-actions.pod:434
4457 #, no-wrap
4458 msgid ""
4459 " int guestfs_base64_out (guestfs_h *g,\n"
4460 "\t\tconst char *filename,\n"
4461 "\t\tconst char *base64file);\n"
4462 "\n"
4463 msgstr ""
4464
4465 # type: textblock
4466 #: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:356
4467 msgid ""
4468 "This command downloads the contents of C<filename>, writing it out to local "
4469 "file C<base64file> encoded as base64."
4470 msgstr ""
4471
4472 # type: =head2
4473 #: ../src/guestfs-actions.pod:443
4474 msgid "guestfs_blockdev_flushbufs"
4475 msgstr ""
4476
4477 # type: verbatim
4478 #: ../src/guestfs-actions.pod:445
4479 #, no-wrap
4480 msgid ""
4481 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4482 "\t\tconst char *device);\n"
4483 "\n"
4484 msgstr ""
4485
4486 # type: textblock
4487 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:365
4488 msgid ""
4489 "This tells the kernel to flush internal buffers associated with C<device>."
4490 msgstr ""
4491
4492 # type: textblock
4493 #: ../src/guestfs-actions.pod:451 ../src/guestfs-actions.pod:465
4494 #: ../src/guestfs-actions.pod:477 ../src/guestfs-actions.pod:490
4495 #: ../src/guestfs-actions.pod:505 ../src/guestfs-actions.pod:521
4496 #: ../src/guestfs-actions.pod:532 ../src/guestfs-actions.pod:547
4497 #: ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:569
4498 #: ../fish/guestfish-actions.pod:368 ../fish/guestfish-actions.pod:379
4499 #: ../fish/guestfish-actions.pod:388 ../fish/guestfish-actions.pod:398
4500 #: ../fish/guestfish-actions.pod:410 ../fish/guestfish-actions.pod:423
4501 #: ../fish/guestfish-actions.pod:431 ../fish/guestfish-actions.pod:442
4502 #: ../fish/guestfish-actions.pod:450 ../fish/guestfish-actions.pod:458
4503 msgid "This uses the L<blockdev(8)> command."
4504 msgstr ""
4505
4506 # type: =head2
4507 #: ../src/guestfs-actions.pod:455
4508 msgid "guestfs_blockdev_getbsz"
4509 msgstr ""
4510
4511 # type: verbatim
4512 #: ../src/guestfs-actions.pod:457
4513 #, no-wrap
4514 msgid ""
4515 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4516 "\t\tconst char *device);\n"
4517 "\n"
4518 msgstr ""
4519
4520 # type: textblock
4521 #: ../src/guestfs-actions.pod:460 ../fish/guestfish-actions.pod:374
4522 msgid "This returns the block size of a device."
4523 msgstr ""
4524
4525 # type: textblock
4526 #: ../src/guestfs-actions.pod:462 ../src/guestfs-actions.pod:544
4527 #: ../fish/guestfish-actions.pod:376 ../fish/guestfish-actions.pod:439
4528 msgid ""
4529 "(Note this is different from both I<size in blocks> and I<filesystem block "
4530 "size>)."
4531 msgstr ""
4532
4533 # type: =head2
4534 #: ../src/guestfs-actions.pod:469
4535 msgid "guestfs_blockdev_getro"
4536 msgstr ""
4537
4538 # type: verbatim
4539 #: ../src/guestfs-actions.pod:471
4540 #, no-wrap
4541 msgid ""
4542 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4543 "\t\tconst char *device);\n"
4544 "\n"
4545 msgstr ""
4546
4547 # type: textblock
4548 #: ../src/guestfs-actions.pod:474 ../fish/guestfish-actions.pod:385
4549 msgid ""
4550 "Returns a boolean indicating if the block device is read-only (true if read-"
4551 "only, false if not)."
4552 msgstr ""
4553
4554 # type: textblock
4555 #: ../src/guestfs-actions.pod:479 ../src/guestfs-actions.pod:1087
4556 #: ../src/guestfs-actions.pod:1099 ../src/guestfs-actions.pod:1531
4557 #: ../src/guestfs-actions.pod:1539 ../src/guestfs-actions.pod:1599
4558 #: ../src/guestfs-actions.pod:1642 ../src/guestfs-actions.pod:1654
4559 #: ../src/guestfs-actions.pod:1673 ../src/guestfs-actions.pod:1690
4560 #: ../src/guestfs-actions.pod:2275 ../src/guestfs-actions.pod:2286
4561 #: ../src/guestfs-actions.pod:2298 ../src/guestfs-actions.pod:2309
4562 #: ../src/guestfs-actions.pod:2322 ../src/guestfs-actions.pod:2334
4563 #: ../src/guestfs-actions.pod:2347 ../src/guestfs-actions.pod:2358
4564 #: ../src/guestfs-actions.pod:2368 ../src/guestfs-actions.pod:2379
4565 #: ../src/guestfs-actions.pod:2391 ../src/guestfs-actions.pod:2403
4566 #: ../src/guestfs-actions.pod:3567
4567 msgid "This function returns a C truth value on success or -1 on error."
4568 msgstr ""
4569
4570 # type: =head2
4571 #: ../src/guestfs-actions.pod:481
4572 msgid "guestfs_blockdev_getsize64"
4573 msgstr ""
4574
4575 # type: verbatim
4576 #: ../src/guestfs-actions.pod:483
4577 #, no-wrap
4578 msgid ""
4579 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4580 "\t\tconst char *device);\n"
4581 "\n"
4582 msgstr ""
4583
4584 # type: textblock
4585 #: ../src/guestfs-actions.pod:486 ../fish/guestfish-actions.pod:394
4586 msgid "This returns the size of the device in bytes."
4587 msgstr ""
4588
4589 # type: textblock
4590 #: ../src/guestfs-actions.pod:488
4591 msgid "See also C<guestfs_blockdev_getsz>."
4592 msgstr ""
4593
4594 # type: =head2
4595 #: ../src/guestfs-actions.pod:494
4596 msgid "guestfs_blockdev_getss"
4597 msgstr ""
4598
4599 # type: verbatim
4600 #: ../src/guestfs-actions.pod:496
4601 #, no-wrap
4602 msgid ""
4603 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4604 "\t\tconst char *device);\n"
4605 "\n"
4606 msgstr ""
4607
4608 # type: textblock
4609 #: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:404
4610 msgid ""
4611 "This returns the size of sectors on a block device.  Usually 512, but can be "
4612 "larger for modern devices."
4613 msgstr ""
4614
4615 # type: textblock
4616 #: ../src/guestfs-actions.pod:502
4617 msgid ""
4618 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4619 "that)."
4620 msgstr ""
4621
4622 # type: =head2
4623 #: ../src/guestfs-actions.pod:509
4624 msgid "guestfs_blockdev_getsz"
4625 msgstr ""
4626
4627 # type: verbatim
4628 #: ../src/guestfs-actions.pod:511
4629 #, no-wrap
4630 msgid ""
4631 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4632 "\t\tconst char *device);\n"
4633 "\n"
4634 msgstr ""
4635
4636 # type: textblock
4637 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:416
4638 msgid ""
4639 "This returns the size of the device in units of 512-byte sectors (even if "
4640 "the sectorsize isn't 512 bytes ... weird)."
4641 msgstr ""
4642
4643 # type: textblock
4644 #: ../src/guestfs-actions.pod:517
4645 msgid ""
4646 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4647 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4648 msgstr ""
4649
4650 # type: =head2
4651 #: ../src/guestfs-actions.pod:525
4652 msgid "guestfs_blockdev_rereadpt"
4653 msgstr ""
4654
4655 # type: verbatim
4656 #: ../src/guestfs-actions.pod:527
4657 #, no-wrap
4658 msgid ""
4659 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4660 "\t\tconst char *device);\n"
4661 "\n"
4662 msgstr ""
4663
4664 # type: textblock
4665 #: ../src/guestfs-actions.pod:530 ../fish/guestfish-actions.pod:429
4666 msgid "Reread the partition table on C<device>."
4667 msgstr ""
4668
4669 # type: =head2
4670 #: ../src/guestfs-actions.pod:536
4671 msgid "guestfs_blockdev_setbsz"
4672 msgstr ""
4673
4674 # type: verbatim
4675 #: ../src/guestfs-actions.pod:538
4676 #, no-wrap
4677 msgid ""
4678 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4679 "\t\tconst char *device,\n"
4680 "\t\tint blocksize);\n"
4681 "\n"
4682 msgstr ""
4683
4684 # type: textblock
4685 #: ../src/guestfs-actions.pod:542 ../fish/guestfish-actions.pod:437
4686 msgid "This sets the block size of a device."
4687 msgstr ""
4688
4689 # type: =head2
4690 #: ../src/guestfs-actions.pod:551
4691 msgid "guestfs_blockdev_setro"
4692 msgstr ""
4693
4694 # type: verbatim
4695 #: ../src/guestfs-actions.pod:553
4696 #, no-wrap
4697 msgid ""
4698 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4699 "\t\tconst char *device);\n"
4700 "\n"
4701 msgstr ""
4702
4703 # type: textblock
4704 #: ../src/guestfs-actions.pod:556 ../fish/guestfish-actions.pod:448
4705 msgid "Sets the block device named C<device> to read-only."
4706 msgstr ""
4707
4708 # type: =head2
4709 #: ../src/guestfs-actions.pod:562
4710 msgid "guestfs_blockdev_setrw"
4711 msgstr ""
4712
4713 # type: verbatim
4714 #: ../src/guestfs-actions.pod:564
4715 #, no-wrap
4716 msgid ""
4717 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4718 "\t\tconst char *device);\n"
4719 "\n"
4720 msgstr ""
4721
4722 # type: textblock
4723 #: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:456
4724 msgid "Sets the block device named C<device> to read-write."
4725 msgstr ""
4726
4727 # type: =head2
4728 #: ../src/guestfs-actions.pod:573
4729 msgid "guestfs_case_sensitive_path"
4730 msgstr ""
4731
4732 # type: verbatim
4733 #: ../src/guestfs-actions.pod:575
4734 #, no-wrap
4735 msgid ""
4736 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4737 "\t\tconst char *path);\n"
4738 "\n"
4739 msgstr ""
4740
4741 # type: textblock
4742 #: ../src/guestfs-actions.pod:578 ../fish/guestfish-actions.pod:464
4743 msgid ""
4744 "This can be used to resolve case insensitive paths on a filesystem which is "
4745 "case sensitive.  The use case is to resolve paths which you have read from "
4746 "Windows configuration files or the Windows Registry, to the true path."
4747 msgstr ""
4748
4749 # type: textblock
4750 #: ../src/guestfs-actions.pod:583 ../fish/guestfish-actions.pod:469
4751 msgid ""
4752 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4753 "(and probably others), which is that although the underlying filesystem is "
4754 "case-insensitive, the driver exports the filesystem to Linux as case-"
4755 "sensitive."
4756 msgstr ""
4757
4758 # type: textblock
4759 #: ../src/guestfs-actions.pod:588 ../fish/guestfish-actions.pod:474
4760 msgid ""
4761 "One consequence of this is that special directories such as C<c:\\windows> "
4762 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4763 "precise details of how they were created.  In Windows itself this would not "
4764 "be a problem."
4765 msgstr ""
4766
4767 # type: textblock
4768 #: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:480
4769 msgid ""
4770 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
4771 "#posixfilenames1>"
4772 msgstr ""
4773
4774 # type: textblock
4775 #: ../src/guestfs-actions.pod:597 ../fish/guestfish-actions.pod:483
4776 msgid ""
4777 "This function resolves the true case of each element in the path and returns "
4778 "the case-sensitive path."
4779 msgstr ""
4780
4781 # type: textblock
4782 #: ../src/guestfs-actions.pod:600
4783 msgid ""
4784 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
4785 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4786 "how the directories were originally created under Windows)."
4787 msgstr ""
4788
4789 # type: textblock
4790 #: ../src/guestfs-actions.pod:605 ../fish/guestfish-actions.pod:491
4791 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4792 msgstr ""
4793
4794 # type: textblock
4795 #: ../src/guestfs-actions.pod:608
4796 msgid "See also C<guestfs_realpath>."
4797 msgstr ""
4798
4799 # type: =head2
4800 #: ../src/guestfs-actions.pod:613
4801 msgid "guestfs_cat"
4802 msgstr ""
4803
4804 # type: verbatim
4805 #: ../src/guestfs-actions.pod:615
4806 #, no-wrap
4807 msgid ""
4808 " char *guestfs_cat (guestfs_h *g,\n"
4809 "\t\tconst char *path);\n"
4810 "\n"
4811 msgstr ""
4812
4813 # type: textblock
4814 #: ../src/guestfs-actions.pod:618 ../src/guestfs-actions.pod:3944
4815 #: ../fish/guestfish-actions.pod:500 ../fish/guestfish-actions.pod:3039
4816 msgid "Return the contents of the file named C<path>."
4817 msgstr ""
4818
4819 # type: textblock
4820 #: ../src/guestfs-actions.pod:620
4821 msgid ""
4822 "Note that this function cannot correctly handle binary files (specifically, "
4823 "files containing C<\\0> character which is treated as end of string).  For "
4824 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4825 "functions which have a more complex interface."
4826 msgstr ""
4827
4828 # type: textblock
4829 #: ../src/guestfs-actions.pod:628 ../src/guestfs-actions.pod:789
4830 #: ../src/guestfs-actions.pod:806 ../src/guestfs-actions.pod:1057
4831 #: ../src/guestfs-actions.pod:1073 ../src/guestfs-actions.pod:1161
4832 #: ../src/guestfs-actions.pod:1177 ../src/guestfs-actions.pod:1408
4833 #: ../src/guestfs-actions.pod:1755 ../src/guestfs-actions.pod:1771
4834 #: ../src/guestfs-actions.pod:1808 ../src/guestfs-actions.pod:1829
4835 #: ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:1869
4836 #: ../src/guestfs-actions.pod:3807 ../src/guestfs-actions.pod:3915
4837 #: ../src/guestfs-actions.pod:3936 ../src/guestfs-actions.pod:4662
4838 #: ../src/guestfs-actions.pod:4714 ../src/guestfs-actions.pod:4830
4839 #: ../src/guestfs-actions.pod:4851 ../src/guestfs-actions.pod:5370
4840 #: ../src/guestfs-actions.pod:5393 ../src/guestfs-actions.pod:5416
4841 #: ../src/guestfs-actions.pod:5432 ../src/guestfs-actions.pod:5505
4842 #: ../src/guestfs-actions.pod:5521 ../src/guestfs-actions.pod:5561
4843 #: ../src/guestfs-actions.pod:5577 ../fish/guestfish-actions.pod:507
4844 #: ../fish/guestfish-actions.pod:642 ../fish/guestfish-actions.pod:654
4845 #: ../fish/guestfish-actions.pod:836 ../fish/guestfish-actions.pod:846
4846 #: ../fish/guestfish-actions.pod:913 ../fish/guestfish-actions.pod:923
4847 #: ../fish/guestfish-actions.pod:1118 ../fish/guestfish-actions.pod:1391
4848 #: ../fish/guestfish-actions.pod:1401 ../fish/guestfish-actions.pod:1429
4849 #: ../fish/guestfish-actions.pod:1444 ../fish/guestfish-actions.pod:1454
4850 #: ../fish/guestfish-actions.pod:1473 ../fish/guestfish-actions.pod:2941
4851 #: ../fish/guestfish-actions.pod:3017 ../fish/guestfish-actions.pod:3032
4852 #: ../fish/guestfish-actions.pod:3593 ../fish/guestfish-actions.pod:3639
4853 #: ../fish/guestfish-actions.pod:3724 ../fish/guestfish-actions.pod:3739
4854 #: ../fish/guestfish-actions.pod:4122 ../fish/guestfish-actions.pod:4140
4855 #: ../fish/guestfish-actions.pod:4157 ../fish/guestfish-actions.pod:4167
4856 #: ../fish/guestfish-actions.pod:4215 ../fish/guestfish-actions.pod:4225
4857 #: ../fish/guestfish-actions.pod:4254 ../fish/guestfish-actions.pod:4264
4858 msgid ""
4859 "Because of the message protocol, there is a transfer limit of somewhere "
4860 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4861 msgstr ""
4862
4863 # type: =head2
4864 #: ../src/guestfs-actions.pod:631
4865 msgid "guestfs_checksum"
4866 msgstr ""
4867
4868 # type: verbatim
4869 #: ../src/guestfs-actions.pod:633
4870 #, no-wrap
4871 msgid ""
4872 " char *guestfs_checksum (guestfs_h *g,\n"
4873 "\t\tconst char *csumtype,\n"
4874 "\t\tconst char *path);\n"
4875 "\n"
4876 msgstr ""
4877
4878 # type: textblock
4879 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:514
4880 msgid ""
4881 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4882 msgstr ""
4883
4884 # type: textblock
4885 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:517
4886 msgid ""
4887 "The type of checksum to compute is given by the C<csumtype> parameter which "
4888 "must have one of the following values:"
4889 msgstr ""
4890
4891 # type: =item
4892 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:522
4893 msgid "C<crc>"
4894 msgstr ""
4895
4896 # type: textblock
4897 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:524
4898 msgid ""
4899 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4900 "C<cksum> command."
4901 msgstr ""
4902
4903 # type: =item
4904 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:527
4905 msgid "C<md5>"
4906 msgstr ""
4907
4908 # type: textblock
4909 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:529
4910 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4911 msgstr ""
4912
4913 # type: =item
4914 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:531
4915 msgid "C<sha1>"
4916 msgstr ""
4917
4918 # type: textblock
4919 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:533
4920 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4921 msgstr ""
4922
4923 # type: =item
4924 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:535
4925 msgid "C<sha224>"
4926 msgstr ""
4927
4928 # type: textblock
4929 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:537
4930 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4931 msgstr ""
4932
4933 # type: =item
4934 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:539
4935 msgid "C<sha256>"
4936 msgstr ""
4937
4938 # type: textblock
4939 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:541
4940 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
4941 msgstr ""
4942
4943 # type: =item
4944 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:543
4945 msgid "C<sha384>"
4946 msgstr ""
4947
4948 # type: textblock
4949 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:545
4950 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
4951 msgstr ""
4952
4953 # type: =item
4954 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:547
4955 msgid "C<sha512>"
4956 msgstr ""
4957
4958 # type: textblock
4959 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:549
4960 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
4961 msgstr ""
4962
4963 # type: textblock
4964 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:553
4965 msgid "The checksum is returned as a printable string."
4966 msgstr ""
4967
4968 # type: textblock
4969 #: ../src/guestfs-actions.pod:678
4970 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
4971 msgstr ""
4972
4973 # type: textblock
4974 #: ../src/guestfs-actions.pod:680
4975 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
4976 msgstr ""
4977
4978 # type: =head2
4979 #: ../src/guestfs-actions.pod:685
4980 msgid "guestfs_checksum_device"
4981 msgstr ""
4982
4983 # type: verbatim
4984 #: ../src/guestfs-actions.pod:687
4985 #, no-wrap
4986 msgid ""
4987 " char *guestfs_checksum_device (guestfs_h *g,\n"
4988 "\t\tconst char *csumtype,\n"
4989 "\t\tconst char *device);\n"
4990 "\n"
4991 msgstr ""
4992
4993 # type: textblock
4994 #: ../src/guestfs-actions.pod:691
4995 msgid ""
4996 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
4997 "device named C<device>.  For the types of checksums supported see the "
4998 "C<guestfs_checksum> command."
4999 msgstr ""
5000
5001 # type: =head2
5002 #: ../src/guestfs-actions.pod:698
5003 msgid "guestfs_checksums_out"
5004 msgstr ""
5005
5006 # type: verbatim
5007 #: ../src/guestfs-actions.pod:700
5008 #, no-wrap
5009 msgid ""
5010 " int guestfs_checksums_out (guestfs_h *g,\n"
5011 "\t\tconst char *csumtype,\n"
5012 "\t\tconst char *directory,\n"
5013 "\t\tconst char *sumsfile);\n"
5014 "\n"
5015 msgstr ""
5016
5017 # type: textblock
5018 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:571
5019 msgid ""
5020 "This command computes the checksums of all regular files in C<directory> and "
5021 "then emits a list of those checksums to the local output file C<sumsfile>."
5022 msgstr ""
5023
5024 # type: textblock
5025 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:575
5026 msgid ""
5027 "This can be used for verifying the integrity of a virtual machine.  However "
5028 "to be properly secure you should pay attention to the output of the checksum "
5029 "command (it uses the ones from GNU coreutils).  In particular when the "
5030 "filename is not printable, coreutils uses a special backslash syntax.  For "
5031 "more information, see the GNU coreutils info file."
5032 msgstr ""
5033
5034 # type: =head2
5035 #: ../src/guestfs-actions.pod:719
5036 msgid "guestfs_chmod"
5037 msgstr ""
5038
5039 # type: verbatim
5040 #: ../src/guestfs-actions.pod:721
5041 #, no-wrap
5042 msgid ""
5043 " int guestfs_chmod (guestfs_h *g,\n"
5044 "\t\tint mode,\n"
5045 "\t\tconst char *path);\n"
5046 "\n"
5047 msgstr ""
5048
5049 # type: textblock
5050 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:589
5051 msgid ""
5052 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
5053 "supported."
5054 msgstr ""
5055
5056 # type: textblock
5057 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:592
5058 msgid ""
5059 "I<Note>: When using this command from guestfish, C<mode> by default would be "
5060 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
5061 "C<700>."
5062 msgstr ""
5063
5064 # type: textblock
5065 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3150
5066 #: ../src/guestfs-actions.pod:3238 ../src/guestfs-actions.pod:3254
5067 #: ../src/guestfs-actions.pod:3270 ../fish/guestfish-actions.pod:596
5068 #: ../fish/guestfish-actions.pod:2446 ../fish/guestfish-actions.pod:2516
5069 #: ../fish/guestfish-actions.pod:2526 ../fish/guestfish-actions.pod:2536
5070 msgid "The mode actually set is affected by the umask."
5071 msgstr ""
5072
5073 # type: =head2
5074 #: ../src/guestfs-actions.pod:736
5075 msgid "guestfs_chown"
5076 msgstr ""
5077
5078 # type: verbatim
5079 #: ../src/guestfs-actions.pod:738
5080 #, no-wrap
5081 msgid ""
5082 " int guestfs_chown (guestfs_h *g,\n"
5083 "\t\tint owner,\n"
5084 "\t\tint group,\n"
5085 "\t\tconst char *path);\n"
5086 "\n"
5087 msgstr ""
5088
5089 # type: textblock
5090 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:602
5091 msgid "Change the file owner to C<owner> and group to C<group>."
5092 msgstr ""
5093
5094 # type: textblock
5095 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2436
5096 #: ../fish/guestfish-actions.pod:604 ../fish/guestfish-actions.pod:1937
5097 msgid ""
5098 "Only numeric uid and gid are supported.  If you want to use names, you will "
5099 "need to locate and parse the password file yourself (Augeas support makes "
5100 "this relatively easy)."
5101 msgstr ""
5102
5103 # type: =head2
5104 #: ../src/guestfs-actions.pod:751
5105 msgid "guestfs_command"
5106 msgstr ""
5107
5108 # type: verbatim
5109 #: ../src/guestfs-actions.pod:753
5110 #, no-wrap
5111 msgid ""
5112 " char *guestfs_command (guestfs_h *g,\n"
5113 "\t\tchar *const *arguments);\n"
5114 "\n"
5115 msgstr ""
5116
5117 # type: textblock
5118 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:612
5119 msgid ""
5120 "This call runs a command from the guest filesystem.  The filesystem must be "
5121 "mounted, and must contain a compatible operating system (ie. something "
5122 "Linux, with the same or compatible processor architecture)."
5123 msgstr ""
5124
5125 # type: textblock
5126 #: ../src/guestfs-actions.pod:761
5127 msgid ""
5128 "The single parameter is an argv-style list of arguments.  The first element "
5129 "is the name of the program to run.  Subsequent elements are parameters.  The "
5130 "list must be non-empty (ie. must contain a program name).  Note that the "
5131 "command runs directly, and is I<not> invoked via the shell (see "
5132 "C<guestfs_sh>)."
5133 msgstr ""
5134
5135 # type: textblock
5136 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:624
5137 msgid "The return value is anything printed to I<stdout> by the command."
5138 msgstr ""
5139
5140 # type: textblock
5141 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:627
5142 msgid ""
5143 "If the command returns a non-zero exit status, then this function returns an "
5144 "error message.  The error message string is the content of I<stderr> from "
5145 "the command."
5146 msgstr ""
5147
5148 # type: textblock
5149 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:631
5150 msgid ""
5151 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
5152 "bin>.  If you require a program from another location, you should provide "
5153 "the full path in the first parameter."
5154 msgstr ""
5155
5156 # type: textblock
5157 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:636
5158 msgid ""
5159 "Shared libraries and data files required by the program must be available on "
5160 "filesystems which are mounted in the correct places.  It is the caller's "
5161 "responsibility to ensure all filesystems that are needed are mounted at the "
5162 "right locations."
5163 msgstr ""
5164
5165 # type: =head2
5166 #: ../src/guestfs-actions.pod:792
5167 msgid "guestfs_command_lines"
5168 msgstr ""
5169
5170 # type: verbatim
5171 #: ../src/guestfs-actions.pod:794
5172 #, no-wrap
5173 msgid ""
5174 " char **guestfs_command_lines (guestfs_h *g,\n"
5175 "\t\tchar *const *arguments);\n"
5176 "\n"
5177 msgstr ""
5178
5179 # type: textblock
5180 #: ../src/guestfs-actions.pod:797
5181 msgid ""
5182 "This is the same as C<guestfs_command>, but splits the result into a list of "
5183 "lines."
5184 msgstr ""
5185
5186 # type: textblock
5187 #: ../src/guestfs-actions.pod:800
5188 msgid "See also: C<guestfs_sh_lines>"
5189 msgstr ""
5190
5191 # type: =head2
5192 #: ../src/guestfs-actions.pod:809
5193 msgid "guestfs_config"
5194 msgstr ""
5195
5196 # type: verbatim
5197 #: ../src/guestfs-actions.pod:811
5198 #, no-wrap
5199 msgid ""
5200 " int guestfs_config (guestfs_h *g,\n"
5201 "\t\tconst char *qemuparam,\n"
5202 "\t\tconst char *qemuvalue);\n"
5203 "\n"
5204 msgstr ""
5205
5206 # type: textblock
5207 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:661
5208 msgid ""
5209 "This can be used to add arbitrary qemu command line parameters of the form "
5210 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
5211 "setting some parameters which would interfere with parameters that we use."
5212 msgstr ""
5213
5214 # type: textblock
5215 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:666
5216 msgid "The first character of C<param> string must be a C<-> (dash)."
5217 msgstr ""
5218
5219 # type: textblock
5220 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:668
5221 msgid "C<value> can be NULL."
5222 msgstr ""
5223
5224 # type: =head2
5225 #: ../src/guestfs-actions.pod:826
5226 msgid "guestfs_copy_size"
5227 msgstr ""
5228
5229 # type: verbatim
5230 #: ../src/guestfs-actions.pod:828
5231 #, no-wrap
5232 msgid ""
5233 " int guestfs_copy_size (guestfs_h *g,\n"
5234 "\t\tconst char *src,\n"
5235 "\t\tconst char *dest,\n"
5236 "\t\tint64_t size);\n"
5237 "\n"
5238 msgstr ""
5239
5240 # type: textblock
5241 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:674
5242 msgid ""
5243 "This command copies exactly C<size> bytes from one source device or file "
5244 "C<src> to another destination device or file C<dest>."
5245 msgstr ""
5246
5247 # type: textblock
5248 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:677
5249 msgid ""
5250 "Note this will fail if the source is too short or if the destination is not "
5251 "large enough."
5252 msgstr ""
5253
5254 # type: textblock
5255 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976
5256 #: ../src/guestfs-actions.pod:1348 ../src/guestfs-actions.pod:1367
5257 #: ../src/guestfs-actions.pod:5450 ../src/guestfs-actions.pod:5466
5258 msgid ""
5259 "This long-running command can generate progress notification messages so "
5260 "that the caller can display a progress bar or indicator.  To receive these "
5261 "messages, the caller must register a progress callback.  See L<guestfs(3)/"
5262 "guestfs_set_progress_callback>."
5263 msgstr ""
5264
5265 # type: =head2
5266 #: ../src/guestfs-actions.pod:846
5267 msgid "guestfs_cp"
5268 msgstr ""
5269
5270 # type: verbatim
5271 #: ../src/guestfs-actions.pod:848
5272 #, no-wrap
5273 msgid ""
5274 " int guestfs_cp (guestfs_h *g,\n"
5275 "\t\tconst char *src,\n"
5276 "\t\tconst char *dest);\n"
5277 "\n"
5278 msgstr ""
5279
5280 # type: textblock
5281 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:684
5282 msgid ""
5283 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5284 "destination filename or destination directory."
5285 msgstr ""
5286
5287 # type: =head2
5288 #: ../src/guestfs-actions.pod:857
5289 msgid "guestfs_cp_a"
5290 msgstr ""
5291
5292 # type: verbatim
5293 #: ../src/guestfs-actions.pod:859
5294 #, no-wrap
5295 msgid ""
5296 " int guestfs_cp_a (guestfs_h *g,\n"
5297 "\t\tconst char *src,\n"
5298 "\t\tconst char *dest);\n"
5299 "\n"
5300 msgstr ""
5301
5302 # type: textblock
5303 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:691
5304 msgid ""
5305 "This copies a file or directory from C<src> to C<dest> recursively using the "
5306 "C<cp -a> command."
5307 msgstr ""
5308
5309 # type: =head2
5310 #: ../src/guestfs-actions.pod:868
5311 msgid "guestfs_dd"
5312 msgstr ""
5313
5314 # type: verbatim
5315 #: ../src/guestfs-actions.pod:870
5316 #, no-wrap
5317 msgid ""
5318 " int guestfs_dd (guestfs_h *g,\n"
5319 "\t\tconst char *src,\n"
5320 "\t\tconst char *dest);\n"
5321 "\n"
5322 msgstr ""
5323
5324 # type: textblock
5325 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:698
5326 msgid ""
5327 "This command copies from one source device or file C<src> to another "
5328 "destination device or file C<dest>.  Normally you would use this to copy to "
5329 "or from a device or partition, for example to duplicate a filesystem."
5330 msgstr ""
5331
5332 # type: textblock
5333 #: ../src/guestfs-actions.pod:879
5334 msgid ""
5335 "If the destination is a device, it must be as large or larger than the "
5336 "source file or device, otherwise the copy will fail.  This command cannot do "
5337 "partial copies (see C<guestfs_copy_size>)."
5338 msgstr ""
5339
5340 # type: =head2
5341 #: ../src/guestfs-actions.pod:885
5342 msgid "guestfs_debug"
5343 msgstr ""
5344
5345 # type: verbatim
5346 #: ../src/guestfs-actions.pod:887
5347 #, no-wrap
5348 msgid ""
5349 " char *guestfs_debug (guestfs_h *g,\n"
5350 "\t\tconst char *subcmd,\n"
5351 "\t\tchar *const *extraargs);\n"
5352 "\n"
5353 msgstr ""
5354
5355 # type: textblock
5356 #: ../src/guestfs-actions.pod:891
5357 msgid ""
5358 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5359 "guestfs daemon) that runs inside the qemu subprocess."
5360 msgstr ""
5361
5362 # type: textblock
5363 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:715
5364 msgid ""
5365 "There is no comprehensive help for this command.  You have to look at the "
5366 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5367 msgstr ""
5368
5369 # type: =head2
5370 #: ../src/guestfs-actions.pod:902
5371 msgid "guestfs_debug_upload"
5372 msgstr ""
5373
5374 # type: verbatim
5375 #: ../src/guestfs-actions.pod:904
5376 #, no-wrap
5377 msgid ""
5378 " int guestfs_debug_upload (guestfs_h *g,\n"
5379 "\t\tconst char *filename,\n"
5380 "\t\tconst char *tmpname,\n"
5381 "\t\tint mode);\n"
5382 "\n"
5383 msgstr ""
5384
5385 # type: textblock
5386 #: ../src/guestfs-actions.pod:909
5387 msgid ""
5388 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5389 "appliance."
5390 msgstr ""
5391
5392 # type: textblock
5393 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:726
5394 msgid ""
5395 "There is no comprehensive help for this command.  You have to look at the "
5396 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5397 msgstr ""
5398
5399 # type: =head2
5400 #: ../src/guestfs-actions.pod:918
5401 msgid "guestfs_df"
5402 msgstr ""
5403
5404 # type: verbatim
5405 #: ../src/guestfs-actions.pod:920
5406 #, no-wrap
5407 msgid ""
5408 " char *guestfs_df (guestfs_h *g);\n"
5409 "\n"
5410 msgstr ""
5411
5412 # type: textblock
5413 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:736
5414 msgid "This command runs the C<df> command to report disk space used."
5415 msgstr ""
5416
5417 # type: textblock
5418 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938
5419 #: ../fish/guestfish-actions.pod:738 ../fish/guestfish-actions.pod:749
5420 msgid ""
5421 "This command is mostly useful for interactive sessions.  It is I<not> "
5422 "intended that you try to parse the output string.  Use C<statvfs> from "
5423 "programs."
5424 msgstr ""
5425
5426 # type: =head2
5427 #: ../src/guestfs-actions.pod:931
5428 msgid "guestfs_df_h"
5429 msgstr ""
5430
5431 # type: verbatim
5432 #: ../src/guestfs-actions.pod:933
5433 #, no-wrap
5434 msgid ""
5435 " char *guestfs_df_h (guestfs_h *g);\n"
5436 "\n"
5437 msgstr ""
5438
5439 # type: textblock
5440 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:746
5441 msgid ""
5442 "This command runs the C<df -h> command to report disk space used in human-"
5443 "readable format."
5444 msgstr ""
5445
5446 # type: =head2
5447 #: ../src/guestfs-actions.pod:945
5448 msgid "guestfs_dmesg"
5449 msgstr ""
5450
5451 # type: verbatim
5452 #: ../src/guestfs-actions.pod:947
5453 #, no-wrap
5454 msgid ""
5455 " char *guestfs_dmesg (guestfs_h *g);\n"
5456 "\n"
5457 msgstr ""
5458
5459 # type: textblock
5460 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:757
5461 msgid ""
5462 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5463 "This is sometimes useful for extended debugging of problems."
5464 msgstr ""
5465
5466 # type: textblock
5467 #: ../src/guestfs-actions.pod:953
5468 msgid ""
5469 "Another way to get the same information is to enable verbose messages with "
5470 "C<guestfs_set_verbose> or by setting the environment variable "
5471 "C<LIBGUESTFS_DEBUG=1> before running the program."
5472 msgstr ""
5473
5474 # type: =head2
5475 #: ../src/guestfs-actions.pod:961
5476 msgid "guestfs_download"
5477 msgstr ""
5478
5479 # type: verbatim
5480 #: ../src/guestfs-actions.pod:963
5481 #, no-wrap
5482 msgid ""
5483 " int guestfs_download (guestfs_h *g,\n"
5484 "\t\tconst char *remotefilename,\n"
5485 "\t\tconst char *filename);\n"
5486 "\n"
5487 msgstr ""
5488
5489 # type: textblock
5490 #: ../src/guestfs-actions.pod:967 ../fish/guestfish-actions.pod:770
5491 msgid ""
5492 "Download file C<remotefilename> and save it as C<filename> on the local "
5493 "machine."
5494 msgstr ""
5495
5496 # type: textblock
5497 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:5044
5498 #: ../fish/guestfish-actions.pod:773 ../fish/guestfish-actions.pod:3893
5499 msgid "C<filename> can also be a named pipe."
5500 msgstr ""
5501
5502 # type: textblock
5503 #: ../src/guestfs-actions.pod:972
5504 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5505 msgstr ""
5506
5507 # type: =head2
5508 #: ../src/guestfs-actions.pod:981
5509 msgid "guestfs_drop_caches"
5510 msgstr ""
5511
5512 # type: verbatim
5513 #: ../src/guestfs-actions.pod:983
5514 #, no-wrap
5515 msgid ""
5516 " int guestfs_drop_caches (guestfs_h *g,\n"
5517 "\t\tint whattodrop);\n"
5518 "\n"
5519 msgstr ""
5520
5521 # type: textblock
5522 #: ../src/guestfs-actions.pod:986 ../fish/guestfish-actions.pod:783
5523 msgid ""
5524 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5525 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5526 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5527 msgstr ""
5528
5529 # type: textblock
5530 #: ../src/guestfs-actions.pod:991 ../fish/guestfish-actions.pod:788
5531 msgid "Setting C<whattodrop> to 3 should drop everything."
5532 msgstr ""
5533
5534 # type: textblock
5535 #: ../src/guestfs-actions.pod:993 ../fish/guestfish-actions.pod:790
5536 msgid ""
5537 "This automatically calls L<sync(2)> before the operation, so that the "
5538 "maximum guest memory is freed."
5539 msgstr ""
5540
5541 # type: =head2
5542 #: ../src/guestfs-actions.pod:998
5543 msgid "guestfs_du"
5544 msgstr ""
5545
5546 # type: verbatim
5547 #: ../src/guestfs-actions.pod:1000
5548 #, no-wrap
5549 msgid ""
5550 " int64_t guestfs_du (guestfs_h *g,\n"
5551 "\t\tconst char *path);\n"
5552 "\n"
5553 msgstr ""
5554
5555 # type: textblock
5556 #: ../src/guestfs-actions.pod:1003 ../fish/guestfish-actions.pod:797
5557 msgid ""
5558 "This command runs the C<du -s> command to estimate file space usage for "
5559 "C<path>."
5560 msgstr ""
5561
5562 # type: textblock
5563 #: ../src/guestfs-actions.pod:1006 ../fish/guestfish-actions.pod:800
5564 msgid ""
5565 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5566 "estimate includes the contents of the directory and all subdirectories "
5567 "(recursively)."
5568 msgstr ""
5569
5570 # type: textblock
5571 #: ../src/guestfs-actions.pod:1010 ../fish/guestfish-actions.pod:804
5572 msgid ""
5573 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5574 msgstr ""
5575
5576 # type: =head2
5577 #: ../src/guestfs-actions.pod:1015
5578 msgid "guestfs_e2fsck_f"
5579 msgstr ""
5580
5581 # type: verbatim
5582 #: ../src/guestfs-actions.pod:1017
5583 #, no-wrap
5584 msgid ""
5585 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5586 "\t\tconst char *device);\n"
5587 "\n"
5588 msgstr ""
5589
5590 # type: textblock
5591 #: ../src/guestfs-actions.pod:1020 ../fish/guestfish-actions.pod:811
5592 msgid ""
5593 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5594 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5595 "clean (C<-f>)."
5596 msgstr ""
5597
5598 # type: textblock
5599 #: ../src/guestfs-actions.pod:1024
5600 msgid ""
5601 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5602 "Normally you should use C<guestfs_fsck>."
5603 msgstr ""
5604
5605 # type: =head2
5606 #: ../src/guestfs-actions.pod:1029
5607 msgid "guestfs_echo_daemon"
5608 msgstr ""
5609
5610 # type: verbatim
5611 #: ../src/guestfs-actions.pod:1031
5612 #, no-wrap
5613 msgid ""
5614 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5615 "\t\tchar *const *words);\n"
5616 "\n"
5617 msgstr ""
5618
5619 # type: textblock
5620 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:822
5621 msgid ""
5622 "This command concatenates the list of C<words> passed with single spaces "
5623 "between them and returns the resulting string."
5624 msgstr ""
5625
5626 # type: textblock
5627 #: ../src/guestfs-actions.pod:1037 ../fish/guestfish-actions.pod:825
5628 msgid "You can use this command to test the connection through to the daemon."
5629 msgstr ""
5630
5631 # type: textblock
5632 #: ../src/guestfs-actions.pod:1039
5633 msgid "See also C<guestfs_ping_daemon>."
5634 msgstr ""
5635
5636 # type: =head2
5637 #: ../src/guestfs-actions.pod:1044
5638 msgid "guestfs_egrep"
5639 msgstr ""
5640
5641 # type: verbatim
5642 #: ../src/guestfs-actions.pod:1046
5643 #, no-wrap
5644 msgid ""
5645 " char **guestfs_egrep (guestfs_h *g,\n"
5646 "\t\tconst char *regex,\n"
5647 "\t\tconst char *path);\n"
5648 "\n"
5649 msgstr ""
5650
5651 # type: textblock
5652 #: ../src/guestfs-actions.pod:1050 ../fish/guestfish-actions.pod:833
5653 msgid ""
5654 "This calls the external C<egrep> program and returns the matching lines."
5655 msgstr ""
5656
5657 # type: =head2
5658 #: ../src/guestfs-actions.pod:1060
5659 msgid "guestfs_egrepi"
5660 msgstr ""
5661
5662 # type: verbatim
5663 #: ../src/guestfs-actions.pod:1062
5664 #, no-wrap
5665 msgid ""
5666 " char **guestfs_egrepi (guestfs_h *g,\n"
5667 "\t\tconst char *regex,\n"
5668 "\t\tconst char *path);\n"
5669 "\n"
5670 msgstr ""
5671
5672 # type: textblock
5673 #: ../src/guestfs-actions.pod:1066 ../fish/guestfish-actions.pod:843
5674 msgid ""
5675 "This calls the external C<egrep -i> program and returns the matching lines."
5676 msgstr ""
5677
5678 # type: =head2
5679 #: ../src/guestfs-actions.pod:1076
5680 msgid "guestfs_equal"
5681 msgstr ""
5682
5683 # type: verbatim
5684 #: ../src/guestfs-actions.pod:1078
5685 #, no-wrap
5686 msgid ""
5687 " int guestfs_equal (guestfs_h *g,\n"
5688 "\t\tconst char *file1,\n"
5689 "\t\tconst char *file2);\n"
5690 "\n"
5691 msgstr ""
5692
5693 # type: textblock
5694 #: ../src/guestfs-actions.pod:1082 ../fish/guestfish-actions.pod:853
5695 msgid ""
5696 "This compares the two files C<file1> and C<file2> and returns true if their "
5697 "content is exactly equal, or false otherwise."
5698 msgstr ""
5699
5700 # type: textblock
5701 #: ../src/guestfs-actions.pod:1085 ../fish/guestfish-actions.pod:856
5702 msgid "The external L<cmp(1)> program is used for the comparison."
5703 msgstr ""
5704
5705 # type: =head2
5706 #: ../src/guestfs-actions.pod:1089
5707 msgid "guestfs_exists"
5708 msgstr ""
5709
5710 # type: verbatim
5711 #: ../src/guestfs-actions.pod:1091
5712 #, no-wrap
5713 msgid ""
5714 " int guestfs_exists (guestfs_h *g,\n"
5715 "\t\tconst char *path);\n"
5716 "\n"
5717 msgstr ""
5718
5719 # type: textblock
5720 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:862
5721 msgid ""
5722 "This returns C<true> if and only if there is a file, directory (or anything) "
5723 "with the given C<path> name."
5724 msgstr ""
5725
5726 # type: textblock
5727 #: ../src/guestfs-actions.pod:1097
5728 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5729 msgstr ""
5730
5731 # type: =head2
5732 #: ../src/guestfs-actions.pod:1101
5733 msgid "guestfs_fallocate"
5734 msgstr ""
5735
5736 # type: verbatim
5737 #: ../src/guestfs-actions.pod:1103
5738 #, no-wrap
5739 msgid ""
5740 " int guestfs_fallocate (guestfs_h *g,\n"
5741 "\t\tconst char *path,\n"
5742 "\t\tint len);\n"
5743 "\n"
5744 msgstr ""
5745
5746 # type: textblock
5747 #: ../src/guestfs-actions.pod:1107 ../src/guestfs-actions.pod:1130
5748 #: ../fish/guestfish-actions.pod:871 ../fish/guestfish-actions.pod:890
5749 msgid ""
5750 "This command preallocates a file (containing zero bytes) named C<path> of "
5751 "size C<len> bytes.  If the file exists already, it is overwritten."
5752 msgstr ""
5753
5754 # type: textblock
5755 #: ../src/guestfs-actions.pod:1111 ../fish/guestfish-actions.pod:875
5756 msgid ""
5757 "Do not confuse this with the guestfish-specific C<alloc> command which "
5758 "allocates a file in the host and attaches it as a device."
5759 msgstr ""
5760
5761 # type: textblock
5762 #: ../src/guestfs-actions.pod:1117 ../fish/guestfish-actions.pod:879
5763 msgid ""
5764 "This function is deprecated.  In new code, use the C<fallocate64> call "
5765 "instead."
5766 msgstr ""
5767
5768 # type: textblock
5769 #: ../src/guestfs-actions.pod:1120 ../src/guestfs-actions.pod:1555
5770 #: ../src/guestfs-actions.pod:1573 ../src/guestfs-actions.pod:5399
5771 #: ../src/guestfs-actions.pod:5544 ../fish/guestfish-actions.pod:882
5772 #: ../fish/guestfish-actions.pod:1239 ../fish/guestfish-actions.pod:1253
5773 #: ../fish/guestfish-actions.pod:4146 ../fish/guestfish-actions.pod:4243
5774 msgid ""
5775 "Deprecated functions will not be removed from the API, but the fact that "
5776 "they are deprecated indicates that there are problems with correct use of "
5777 "these functions."
5778 msgstr ""
5779
5780 # type: =head2
5781 #: ../src/guestfs-actions.pod:1124
5782 msgid "guestfs_fallocate64"
5783 msgstr ""
5784
5785 # type: verbatim
5786 #: ../src/guestfs-actions.pod:1126
5787 #, no-wrap
5788 msgid ""
5789 " int guestfs_fallocate64 (guestfs_h *g,\n"
5790 "\t\tconst char *path,\n"
5791 "\t\tint64_t len);\n"
5792 "\n"
5793 msgstr ""
5794
5795 # type: textblock
5796 #: ../src/guestfs-actions.pod:1134
5797 msgid ""
5798 "Note that this call allocates disk blocks for the file.  To create a sparse "
5799 "file use C<guestfs_truncate_size> instead."
5800 msgstr ""
5801
5802 # type: textblock
5803 #: ../src/guestfs-actions.pod:1137
5804 msgid ""
5805 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5806 "oversight it only allowed 30 bit lengths to be specified, effectively "
5807 "limiting the maximum size of files created through that call to 1GB."
5808 msgstr ""
5809
5810 # type: textblock
5811 #: ../src/guestfs-actions.pod:1142 ../fish/guestfish-actions.pod:902
5812 msgid ""
5813 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5814 "commands which create a file in the host and attach it as a device."
5815 msgstr ""
5816
5817 # type: =head2
5818 #: ../src/guestfs-actions.pod:1148
5819 msgid "guestfs_fgrep"
5820 msgstr ""
5821
5822 # type: verbatim
5823 #: ../src/guestfs-actions.pod:1150
5824 #, no-wrap
5825 msgid ""
5826 " char **guestfs_fgrep (guestfs_h *g,\n"
5827 "\t\tconst char *pattern,\n"
5828 "\t\tconst char *path);\n"
5829 "\n"
5830 msgstr ""
5831
5832 # type: textblock
5833 #: ../src/guestfs-actions.pod:1154 ../fish/guestfish-actions.pod:910
5834 msgid ""
5835 "This calls the external C<fgrep> program and returns the matching lines."
5836 msgstr ""
5837
5838 # type: =head2
5839 #: ../src/guestfs-actions.pod:1164
5840 msgid "guestfs_fgrepi"
5841 msgstr ""
5842
5843 # type: verbatim
5844 #: ../src/guestfs-actions.pod:1166
5845 #, no-wrap
5846 msgid ""
5847 " char **guestfs_fgrepi (guestfs_h *g,\n"
5848 "\t\tconst char *pattern,\n"
5849 "\t\tconst char *path);\n"
5850 "\n"
5851 msgstr ""
5852
5853 # type: textblock
5854 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:920
5855 msgid ""
5856 "This calls the external C<fgrep -i> program and returns the matching lines."
5857 msgstr ""
5858
5859 # type: =head2
5860 #: ../src/guestfs-actions.pod:1180
5861 msgid "guestfs_file"
5862 msgstr ""
5863
5864 # type: verbatim
5865 #: ../src/guestfs-actions.pod:1182
5866 #, no-wrap
5867 msgid ""
5868 " char *guestfs_file (guestfs_h *g,\n"
5869 "\t\tconst char *path);\n"
5870 "\n"
5871 msgstr ""
5872
5873 # type: textblock
5874 #: ../src/guestfs-actions.pod:1185 ../fish/guestfish-actions.pod:930
5875 msgid ""
5876 "This call uses the standard L<file(1)> command to determine the type or "
5877 "contents of the file."
5878 msgstr ""
5879
5880 # type: textblock
5881 #: ../src/guestfs-actions.pod:1188 ../fish/guestfish-actions.pod:933
5882 msgid ""
5883 "This call will also transparently look inside various types of compressed "
5884 "file."
5885 msgstr ""
5886
5887 # type: textblock
5888 #: ../src/guestfs-actions.pod:1191 ../fish/guestfish-actions.pod:936
5889 msgid ""
5890 "The exact command which runs is C<file -zb path>.  Note in particular that "
5891 "the filename is not prepended to the output (the C<-b> option)."
5892 msgstr ""
5893
5894 # type: textblock
5895 #: ../src/guestfs-actions.pod:1195
5896 msgid ""
5897 "This command can also be used on C</dev/> devices (and partitions, LV "
5898 "names).  You can for example use this to determine if a device contains a "
5899 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
5900 msgstr ""
5901
5902 # type: textblock
5903 #: ../src/guestfs-actions.pod:1200 ../fish/guestfish-actions.pod:945
5904 msgid ""
5905 "If the C<path> does not begin with C</dev/> then this command only works for "
5906 "the content of regular files.  For other file types (directory, symbolic "
5907 "link etc) it will just return the string C<directory> etc."
5908 msgstr ""
5909
5910 # type: =head2
5911 #: ../src/guestfs-actions.pod:1208
5912 msgid "guestfs_file_architecture"
5913 msgstr ""
5914
5915 # type: verbatim
5916 #: ../src/guestfs-actions.pod:1210
5917 #, no-wrap
5918 msgid ""
5919 " char *guestfs_file_architecture (guestfs_h *g,\n"
5920 "\t\tconst char *filename);\n"
5921 "\n"
5922 msgstr ""
5923
5924 # type: textblock
5925 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:954
5926 msgid ""
5927 "This detects the architecture of the binary C<filename>, and returns it if "
5928 "known."
5929 msgstr ""
5930
5931 # type: textblock
5932 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:957
5933 msgid "Currently defined architectures are:"
5934 msgstr ""
5935
5936 # type: =item
5937 #: ../src/guestfs-actions.pod:1220 ../fish/guestfish-actions.pod:961
5938 msgid "\"i386\""
5939 msgstr ""
5940
5941 # type: textblock
5942 #: ../src/guestfs-actions.pod:1222 ../fish/guestfish-actions.pod:963
5943 msgid ""
5944 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
5945 "irrespective of the precise processor requirements of the binary."
5946 msgstr ""
5947
5948 # type: =item
5949 #: ../src/guestfs-actions.pod:1225 ../fish/guestfish-actions.pod:966
5950 msgid "\"x86_64\""
5951 msgstr ""
5952
5953 # type: textblock
5954 #: ../src/guestfs-actions.pod:1227 ../fish/guestfish-actions.pod:968
5955 msgid "64 bit x86-64."
5956 msgstr ""
5957
5958 # type: =item
5959 #: ../src/guestfs-actions.pod:1229 ../fish/guestfish-actions.pod:970
5960 msgid "\"sparc\""
5961 msgstr ""
5962
5963 # type: textblock
5964 #: ../src/guestfs-actions.pod:1231 ../fish/guestfish-actions.pod:972
5965 msgid "32 bit SPARC."
5966 msgstr ""
5967
5968 # type: =item
5969 #: ../src/guestfs-actions.pod:1233 ../fish/guestfish-actions.pod:974
5970 msgid "\"sparc64\""
5971 msgstr ""
5972
5973 # type: textblock
5974 #: ../src/guestfs-actions.pod:1235 ../fish/guestfish-actions.pod:976
5975 msgid "64 bit SPARC V9 and above."
5976 msgstr ""
5977
5978 # type: =item
5979 #: ../src/guestfs-actions.pod:1237 ../fish/guestfish-actions.pod:978
5980 msgid "\"ia64\""
5981 msgstr ""
5982
5983 # type: textblock
5984 #: ../src/guestfs-actions.pod:1239 ../fish/guestfish-actions.pod:980
5985 msgid "Intel Itanium."
5986 msgstr ""
5987
5988 # type: =item
5989 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:982
5990 msgid "\"ppc\""
5991 msgstr ""
5992
5993 # type: textblock
5994 #: ../src/guestfs-actions.pod:1243 ../fish/guestfish-actions.pod:984
5995 msgid "32 bit Power PC."
5996 msgstr ""
5997
5998 # type: =item
5999 #: ../src/guestfs-actions.pod:1245 ../fish/guestfish-actions.pod:986
6000 msgid "\"ppc64\""
6001 msgstr ""
6002
6003 # type: textblock
6004 #: ../src/guestfs-actions.pod:1247 ../fish/guestfish-actions.pod:988
6005 msgid "64 bit Power PC."
6006 msgstr ""
6007
6008 # type: textblock
6009 #: ../src/guestfs-actions.pod:1251 ../fish/guestfish-actions.pod:992
6010 msgid "Libguestfs may return other architecture strings in future."
6011 msgstr ""
6012
6013 # type: textblock
6014 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:994
6015 msgid "The function works on at least the following types of files:"
6016 msgstr ""
6017
6018 # type: textblock
6019 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:1000
6020 msgid "many types of Un*x and Linux binary"
6021 msgstr ""
6022
6023 # type: textblock
6024 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1004
6025 msgid "many types of Un*x and Linux shared library"
6026 msgstr ""
6027
6028 # type: textblock
6029 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1008
6030 msgid "Windows Win32 and Win64 binaries"
6031 msgstr ""
6032
6033 # type: textblock
6034 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1012
6035 msgid "Windows Win32 and Win64 DLLs"
6036 msgstr ""
6037
6038 # type: textblock
6039 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1014
6040 msgid "Win32 binaries and DLLs return C<i386>."
6041 msgstr ""
6042
6043 # type: textblock
6044 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1016
6045 msgid "Win64 binaries and DLLs return C<x86_64>."
6046 msgstr ""
6047
6048 # type: textblock
6049 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1020
6050 msgid "Linux kernel modules"
6051 msgstr ""
6052
6053 # type: textblock
6054 #: ../src/guestfs-actions.pod:1283 ../fish/guestfish-actions.pod:1024
6055 msgid "Linux new-style initrd images"
6056 msgstr ""
6057
6058 # type: textblock
6059 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1028
6060 msgid "some non-x86 Linux vmlinuz kernels"
6061 msgstr ""
6062
6063 # type: textblock
6064 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1032
6065 msgid "What it can't do currently:"
6066 msgstr ""
6067
6068 # type: textblock
6069 #: ../src/guestfs-actions.pod:1297 ../fish/guestfish-actions.pod:1038
6070 msgid "static libraries (libfoo.a)"
6071 msgstr ""
6072
6073 # type: textblock
6074 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1042
6075 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6076 msgstr ""
6077
6078 # type: textblock
6079 #: ../src/guestfs-actions.pod:1305 ../fish/guestfish-actions.pod:1046
6080 msgid "x86 Linux vmlinuz kernels"
6081 msgstr ""
6082
6083 # type: textblock
6084 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1048
6085 msgid ""
6086 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
6087 "compressed code, and are horribly hard to unpack.  If you want to find the "
6088 "architecture of a kernel, use the architecture of the associated initrd or "
6089 "kernel module(s) instead."
6090 msgstr ""
6091
6092 # type: =head2
6093 #: ../src/guestfs-actions.pod:1317
6094 msgid "guestfs_filesize"
6095 msgstr ""
6096
6097 # type: verbatim
6098 #: ../src/guestfs-actions.pod:1319
6099 #, no-wrap
6100 msgid ""
6101 " int64_t guestfs_filesize (guestfs_h *g,\n"
6102 "\t\tconst char *file);\n"
6103 "\n"
6104 msgstr ""
6105
6106 # type: textblock
6107 #: ../src/guestfs-actions.pod:1322 ../fish/guestfish-actions.pod:1059
6108 msgid "This command returns the size of C<file> in bytes."
6109 msgstr ""
6110
6111 # type: textblock
6112 #: ../src/guestfs-actions.pod:1324
6113 msgid ""
6114 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
6115 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
6116 "devices, use C<guestfs_blockdev_getsize64>."
6117 msgstr ""
6118
6119 # type: =head2
6120 #: ../src/guestfs-actions.pod:1330
6121 msgid "guestfs_fill"
6122 msgstr ""
6123
6124 # type: verbatim
6125 #: ../src/guestfs-actions.pod:1332
6126 #, no-wrap
6127 msgid ""
6128 " int guestfs_fill (guestfs_h *g,\n"
6129 "\t\tint c,\n"
6130 "\t\tint len,\n"
6131 "\t\tconst char *path);\n"
6132 "\n"
6133 msgstr ""
6134
6135 # type: textblock
6136 #: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:1069
6137 msgid ""
6138 "This command creates a new file called C<path>.  The initial content of the "
6139 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
6140 "[0..255]>."
6141 msgstr ""
6142
6143 # type: textblock
6144 #: ../src/guestfs-actions.pod:1341
6145 msgid ""
6146 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
6147 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
6148 "bytes use C<guestfs_fill_pattern>."
6149 msgstr ""
6150
6151 # type: =head2
6152 #: ../src/guestfs-actions.pod:1353
6153 msgid "guestfs_fill_pattern"
6154 msgstr ""
6155
6156 # type: verbatim
6157 #: ../src/guestfs-actions.pod:1355
6158 #, no-wrap
6159 msgid ""
6160 " int guestfs_fill_pattern (guestfs_h *g,\n"
6161 "\t\tconst char *pattern,\n"
6162 "\t\tint len,\n"
6163 "\t\tconst char *path);\n"
6164 "\n"
6165 msgstr ""
6166
6167 # type: textblock
6168 #: ../src/guestfs-actions.pod:1360
6169 msgid ""
6170 "This function is like C<guestfs_fill> except that it creates a new file of "
6171 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
6172 "pattern is truncated if necessary to ensure the length of the file is "
6173 "exactly C<len> bytes."
6174 msgstr ""
6175
6176 # type: =head2
6177 #: ../src/guestfs-actions.pod:1372
6178 msgid "guestfs_find"
6179 msgstr ""
6180
6181 # type: verbatim
6182 #: ../src/guestfs-actions.pod:1374
6183 #, no-wrap
6184 msgid ""
6185 " char **guestfs_find (guestfs_h *g,\n"
6186 "\t\tconst char *directory);\n"
6187 "\n"
6188 msgstr ""
6189
6190 # type: textblock
6191 #: ../src/guestfs-actions.pod:1377 ../fish/guestfish-actions.pod:1091
6192 msgid ""
6193 "This command lists out all files and directories, recursively, starting at "
6194 "C<directory>.  It is essentially equivalent to running the shell command "
6195 "C<find directory -print> but some post-processing happens on the output, "
6196 "described below."
6197 msgstr ""
6198
6199 # type: textblock
6200 #: ../src/guestfs-actions.pod:1382 ../fish/guestfish-actions.pod:1096
6201 msgid ""
6202 "This returns a list of strings I<without any prefix>.  Thus if the directory "
6203 "structure was:"
6204 msgstr ""
6205
6206 # type: verbatim
6207 #: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:1099
6208 #, no-wrap
6209 msgid ""
6210 " /tmp/a\n"
6211 " /tmp/b\n"
6212 " /tmp/c/d\n"
6213 "\n"
6214 msgstr ""
6215
6216 # type: textblock
6217 #: ../src/guestfs-actions.pod:1389
6218 msgid ""
6219 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
6220 msgstr ""
6221
6222 # type: verbatim
6223 #: ../src/guestfs-actions.pod:1392 ../fish/guestfish-actions.pod:1106
6224 #, no-wrap
6225 msgid ""
6226 " a\n"
6227 " b\n"
6228 " c\n"
6229 " c/d\n"
6230 "\n"
6231 msgstr ""
6232
6233 # type: textblock
6234 #: ../src/guestfs-actions.pod:1397 ../fish/guestfish-actions.pod:1111
6235 msgid "If C<directory> is not a directory, then this command returns an error."
6236 msgstr ""
6237
6238 # type: textblock
6239 #: ../src/guestfs-actions.pod:1400 ../fish/guestfish-actions.pod:1114
6240 msgid "The returned list is sorted."
6241 msgstr ""
6242
6243 # type: textblock
6244 #: ../src/guestfs-actions.pod:1402
6245 msgid "See also C<guestfs_find0>."
6246 msgstr ""
6247
6248 # type: =head2
6249 #: ../src/guestfs-actions.pod:1411
6250 msgid "guestfs_find0"
6251 msgstr ""
6252
6253 # type: verbatim
6254 #: ../src/guestfs-actions.pod:1413
6255 #, no-wrap
6256 msgid ""
6257 " int guestfs_find0 (guestfs_h *g,\n"
6258 "\t\tconst char *directory,\n"
6259 "\t\tconst char *files);\n"
6260 "\n"
6261 msgstr ""
6262
6263 # type: textblock
6264 #: ../src/guestfs-actions.pod:1417 ../fish/guestfish-actions.pod:1125
6265 msgid ""
6266 "This command lists out all files and directories, recursively, starting at "
6267 "C<directory>, placing the resulting list in the external file called "
6268 "C<files>."
6269 msgstr ""
6270
6271 # type: textblock
6272 #: ../src/guestfs-actions.pod:1421
6273 msgid ""
6274 "This command works the same way as C<guestfs_find> with the following "
6275 "exceptions:"
6276 msgstr ""
6277
6278 # type: textblock
6279 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1136
6280 msgid "The resulting list is written to an external file."
6281 msgstr ""
6282
6283 # type: textblock
6284 #: ../src/guestfs-actions.pod:1432 ../fish/guestfish-actions.pod:1140
6285 msgid ""
6286 "Items (filenames) in the result are separated by C<\\0> characters.  See "
6287 "L<find(1)> option I<-print0>."
6288 msgstr ""
6289
6290 # type: textblock
6291 #: ../src/guestfs-actions.pod:1437 ../fish/guestfish-actions.pod:1145
6292 msgid "This command is not limited in the number of names that it can return."
6293 msgstr ""
6294
6295 # type: textblock
6296 #: ../src/guestfs-actions.pod:1442 ../fish/guestfish-actions.pod:1150
6297 msgid "The result list is not sorted."
6298 msgstr ""
6299
6300 # type: =head2
6301 #: ../src/guestfs-actions.pod:1448
6302 msgid "guestfs_findfs_label"
6303 msgstr ""
6304
6305 # type: verbatim
6306 #: ../src/guestfs-actions.pod:1450
6307 #, no-wrap
6308 msgid ""
6309 " char *guestfs_findfs_label (guestfs_h *g,\n"
6310 "\t\tconst char *label);\n"
6311 "\n"
6312 msgstr ""
6313
6314 # type: textblock
6315 #: ../src/guestfs-actions.pod:1453 ../fish/guestfish-actions.pod:1160
6316 msgid ""
6317 "This command searches the filesystems and returns the one which has the "
6318 "given label.  An error is returned if no such filesystem can be found."
6319 msgstr ""
6320
6321 # type: textblock
6322 #: ../src/guestfs-actions.pod:1457
6323 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6324 msgstr ""
6325
6326 # type: =head2
6327 #: ../src/guestfs-actions.pod:1462
6328 msgid "guestfs_findfs_uuid"
6329 msgstr ""
6330
6331 # type: verbatim
6332 #: ../src/guestfs-actions.pod:1464
6333 #, no-wrap
6334 msgid ""
6335 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6336 "\t\tconst char *uuid);\n"
6337 "\n"
6338 msgstr ""
6339
6340 # type: textblock
6341 #: ../src/guestfs-actions.pod:1467 ../fish/guestfish-actions.pod:1170
6342 msgid ""
6343 "This command searches the filesystems and returns the one which has the "
6344 "given UUID.  An error is returned if no such filesystem can be found."
6345 msgstr ""
6346
6347 # type: textblock
6348 #: ../src/guestfs-actions.pod:1471
6349 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6350 msgstr ""
6351
6352 # type: =head2
6353 #: ../src/guestfs-actions.pod:1476
6354 msgid "guestfs_fsck"
6355 msgstr ""
6356
6357 # type: verbatim
6358 #: ../src/guestfs-actions.pod:1478
6359 #, no-wrap
6360 msgid ""
6361 " int guestfs_fsck (guestfs_h *g,\n"
6362 "\t\tconst char *fstype,\n"
6363 "\t\tconst char *device);\n"
6364 "\n"
6365 msgstr ""
6366
6367 # type: textblock
6368 #: ../src/guestfs-actions.pod:1482 ../fish/guestfish-actions.pod:1180
6369 msgid ""
6370 "This runs the filesystem checker (fsck) on C<device> which should have "
6371 "filesystem type C<fstype>."
6372 msgstr ""
6373
6374 # type: textblock
6375 #: ../src/guestfs-actions.pod:1485 ../fish/guestfish-actions.pod:1183
6376 msgid ""
6377 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6378 "codes from C<fsck>."
6379 msgstr ""
6380
6381 # type: textblock
6382 #: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:1192
6383 msgid "Multiple status codes can be summed together."
6384 msgstr ""
6385
6386 # type: textblock
6387 #: ../src/guestfs-actions.pod:1498 ../fish/guestfish-actions.pod:1196
6388 msgid ""
6389 "A non-zero return code can mean \"success\", for example if errors have been "
6390 "corrected on the filesystem."
6391 msgstr ""
6392
6393 # type: textblock
6394 #: ../src/guestfs-actions.pod:1503 ../fish/guestfish-actions.pod:1201
6395 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6396 msgstr ""
6397
6398 # type: textblock
6399 #: ../src/guestfs-actions.pod:1508 ../fish/guestfish-actions.pod:1206
6400 msgid ""
6401 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6402 msgstr ""
6403
6404 # type: =head2
6405 #: ../src/guestfs-actions.pod:1512
6406 msgid "guestfs_get_append"
6407 msgstr ""
6408
6409 # type: verbatim
6410 #: ../src/guestfs-actions.pod:1514
6411 #, no-wrap
6412 msgid ""
6413 " const char *guestfs_get_append (guestfs_h *g);\n"
6414 "\n"
6415 msgstr ""
6416
6417 # type: textblock
6418 #: ../src/guestfs-actions.pod:1516 ../fish/guestfish-actions.pod:1212
6419 msgid ""
6420 "Return the additional kernel options which are added to the guest kernel "
6421 "command line."
6422 msgstr ""
6423
6424 # type: textblock
6425 #: ../src/guestfs-actions.pod:1519 ../fish/guestfish-actions.pod:1215
6426 msgid "If C<NULL> then no options are added."
6427 msgstr ""
6428
6429 # type: textblock
6430 #: ../src/guestfs-actions.pod:1521
6431 msgid ""
6432 "This function returns a string which may be NULL.  There is no way to return "
6433 "an error from this function.  The string is owned by the guest handle and "
6434 "must I<not> be freed."
6435 msgstr ""
6436
6437 # type: =head2
6438 #: ../src/guestfs-actions.pod:1525
6439 msgid "guestfs_get_autosync"
6440 msgstr ""
6441
6442 # type: verbatim
6443 #: ../src/guestfs-actions.pod:1527
6444 #, no-wrap
6445 msgid ""
6446 " int guestfs_get_autosync (guestfs_h *g);\n"
6447 "\n"
6448 msgstr ""
6449
6450 # type: textblock
6451 #: ../src/guestfs-actions.pod:1529 ../fish/guestfish-actions.pod:1221
6452 msgid "Get the autosync flag."
6453 msgstr ""
6454
6455 # type: =head2
6456 #: ../src/guestfs-actions.pod:1533
6457 msgid "guestfs_get_direct"
6458 msgstr ""
6459
6460 # type: verbatim
6461 #: ../src/guestfs-actions.pod:1535
6462 #, no-wrap
6463 msgid ""
6464 " int guestfs_get_direct (guestfs_h *g);\n"
6465 "\n"
6466 msgstr ""
6467
6468 # type: textblock
6469 #: ../src/guestfs-actions.pod:1537 ../fish/guestfish-actions.pod:1227
6470 msgid "Return the direct appliance mode flag."
6471 msgstr ""
6472
6473 # type: =head2
6474 #: ../src/guestfs-actions.pod:1541
6475 msgid "guestfs_get_e2label"
6476 msgstr ""
6477
6478 # type: verbatim
6479 #: ../src/guestfs-actions.pod:1543
6480 #, no-wrap
6481 msgid ""
6482 " char *guestfs_get_e2label (guestfs_h *g,\n"
6483 "\t\tconst char *device);\n"
6484 "\n"
6485 msgstr ""
6486
6487 # type: textblock
6488 #: ../src/guestfs-actions.pod:1546 ../fish/guestfish-actions.pod:1233
6489 msgid ""
6490 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6491 msgstr ""
6492
6493 # type: textblock
6494 #: ../src/guestfs-actions.pod:1552 ../fish/guestfish-actions.pod:1236
6495 msgid ""
6496 "This function is deprecated.  In new code, use the C<vfs_label> call instead."
6497 msgstr ""
6498
6499 # type: =head2
6500 #: ../src/guestfs-actions.pod:1559
6501 msgid "guestfs_get_e2uuid"
6502 msgstr ""
6503
6504 # type: verbatim
6505 #: ../src/guestfs-actions.pod:1561
6506 #, no-wrap
6507 msgid ""
6508 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6509 "\t\tconst char *device);\n"
6510 "\n"
6511 msgstr ""
6512
6513 # type: textblock
6514 #: ../src/guestfs-actions.pod:1564 ../fish/guestfish-actions.pod:1247
6515 msgid ""
6516 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6517 msgstr ""
6518
6519 # type: textblock
6520 #: ../src/guestfs-actions.pod:1570 ../fish/guestfish-actions.pod:1250
6521 msgid ""
6522 "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6523 msgstr ""
6524
6525 # type: =head2
6526 #: ../src/guestfs-actions.pod:1577
6527 msgid "guestfs_get_memsize"
6528 msgstr ""
6529
6530 # type: verbatim
6531 #: ../src/guestfs-actions.pod:1579
6532 #, no-wrap
6533 msgid ""
6534 " int guestfs_get_memsize (guestfs_h *g);\n"
6535 "\n"
6536 msgstr ""
6537
6538 # type: textblock
6539 #: ../src/guestfs-actions.pod:1581 ../fish/guestfish-actions.pod:1261
6540 msgid ""
6541 "This gets the memory size in megabytes allocated to the qemu subprocess."
6542 msgstr ""
6543
6544 # type: textblock
6545 #: ../src/guestfs-actions.pod:1584
6546 msgid ""
6547 "If C<guestfs_set_memsize> was not called on this handle, and if "
6548 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6549 "value for memsize."
6550 msgstr ""
6551
6552 # type: textblock
6553 #: ../src/guestfs-actions.pod:1588 ../src/guestfs-actions.pod:1651
6554 #: ../src/guestfs-actions.pod:4297 ../src/guestfs-actions.pod:4389
6555 #: ../fish/guestfish-actions.pod:1268 ../fish/guestfish-actions.pod:1317
6556 #: ../fish/guestfish-actions.pod:3318 ../fish/guestfish-actions.pod:3395
6557 msgid ""
6558 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6559 msgstr ""
6560
6561 # type: =head2
6562 #: ../src/guestfs-actions.pod:1593
6563 msgid "guestfs_get_network"
6564 msgstr ""
6565
6566 # type: verbatim
6567 #: ../src/guestfs-actions.pod:1595
6568 #, no-wrap
6569 msgid ""
6570 " int guestfs_get_network (guestfs_h *g);\n"
6571 "\n"
6572 msgstr ""
6573
6574 # type: textblock
6575 #: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1275
6576 msgid "This returns the enable network flag."
6577 msgstr ""
6578
6579 # type: =head2
6580 #: ../src/guestfs-actions.pod:1601
6581 msgid "guestfs_get_path"
6582 msgstr ""
6583
6584 # type: verbatim
6585 #: ../src/guestfs-actions.pod:1603
6586 #, no-wrap
6587 msgid ""
6588 " const char *guestfs_get_path (guestfs_h *g);\n"
6589 "\n"
6590 msgstr ""
6591
6592 # type: textblock
6593 #: ../src/guestfs-actions.pod:1605 ../fish/guestfish-actions.pod:1281
6594 msgid "Return the current search path."
6595 msgstr ""
6596
6597 # type: textblock
6598 #: ../src/guestfs-actions.pod:1607 ../fish/guestfish-actions.pod:1283
6599 msgid ""
6600 "This is always non-NULL.  If it wasn't set already, then this will return "
6601 "the default path."
6602 msgstr ""
6603
6604 # type: textblock
6605 #: ../src/guestfs-actions.pod:1610 ../src/guestfs-actions.pod:1633
6606 msgid ""
6607 "This function returns a string, or NULL on error.  The string is owned by "
6608 "the guest handle and must I<not> be freed."
6609 msgstr ""
6610
6611 # type: =head2
6612 #: ../src/guestfs-actions.pod:1613
6613 msgid "guestfs_get_pid"
6614 msgstr ""
6615
6616 # type: verbatim
6617 #: ../src/guestfs-actions.pod:1615
6618 #, no-wrap
6619 msgid ""
6620 " int guestfs_get_pid (guestfs_h *g);\n"
6621 "\n"
6622 msgstr ""
6623
6624 # type: textblock
6625 #: ../src/guestfs-actions.pod:1617 ../fish/guestfish-actions.pod:1290
6626 msgid ""
6627 "Return the process ID of the qemu subprocess.  If there is no qemu "
6628 "subprocess, then this will return an error."
6629 msgstr ""
6630
6631 # type: textblock
6632 #: ../src/guestfs-actions.pod:1620 ../fish/guestfish-actions.pod:1293
6633 msgid "This is an internal call used for debugging and testing."
6634 msgstr ""
6635
6636 # type: =head2
6637 #: ../src/guestfs-actions.pod:1624
6638 msgid "guestfs_get_qemu"
6639 msgstr ""
6640
6641 # type: verbatim
6642 #: ../src/guestfs-actions.pod:1626
6643 #, no-wrap
6644 msgid ""
6645 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6646 "\n"
6647 msgstr ""
6648
6649 # type: textblock
6650 #: ../src/guestfs-actions.pod:1628 ../fish/guestfish-actions.pod:1299
6651 msgid "Return the current qemu binary."
6652 msgstr ""
6653
6654 # type: textblock
6655 #: ../src/guestfs-actions.pod:1630 ../fish/guestfish-actions.pod:1301
6656 msgid ""
6657 "This is always non-NULL.  If it wasn't set already, then this will return "
6658 "the default qemu binary name."
6659 msgstr ""
6660
6661 # type: =head2
6662 #: ../src/guestfs-actions.pod:1636
6663 msgid "guestfs_get_recovery_proc"
6664 msgstr ""
6665
6666 # type: verbatim
6667 #: ../src/guestfs-actions.pod:1638
6668 #, no-wrap
6669 msgid ""
6670 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6671 "\n"
6672 msgstr ""
6673
6674 # type: textblock
6675 #: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1308
6676 msgid "Return the recovery process enabled flag."
6677 msgstr ""
6678
6679 # type: =head2
6680 #: ../src/guestfs-actions.pod:1644
6681 msgid "guestfs_get_selinux"
6682 msgstr ""
6683
6684 # type: verbatim
6685 #: ../src/guestfs-actions.pod:1646
6686 #, no-wrap
6687 msgid ""
6688 " int guestfs_get_selinux (guestfs_h *g);\n"
6689 "\n"
6690 msgstr ""
6691
6692 # type: textblock
6693 #: ../src/guestfs-actions.pod:1648
6694 msgid ""
6695 "This returns the current setting of the selinux flag which is passed to the "
6696 "appliance at boot time.  See C<guestfs_set_selinux>."
6697 msgstr ""
6698
6699 # type: =head2
6700 #: ../src/guestfs-actions.pod:1656
6701 msgid "guestfs_get_state"
6702 msgstr ""
6703
6704 # type: verbatim
6705 #: ../src/guestfs-actions.pod:1658
6706 #, no-wrap
6707 msgid ""
6708 " int guestfs_get_state (guestfs_h *g);\n"
6709 "\n"
6710 msgstr ""
6711
6712 # type: textblock
6713 #: ../src/guestfs-actions.pod:1660 ../fish/guestfish-actions.pod:1324
6714 msgid ""
6715 "This returns the current state as an opaque integer.  This is only useful "
6716 "for printing debug and internal error messages."
6717 msgstr ""
6718
6719 # type: textblock
6720 #: ../src/guestfs-actions.pod:1663 ../src/guestfs-actions.pod:2284
6721 #: ../src/guestfs-actions.pod:2307 ../src/guestfs-actions.pod:2356
6722 #: ../src/guestfs-actions.pod:2377 ../fish/guestfish-actions.pod:1327
6723 #: ../fish/guestfish-actions.pod:1821 ../fish/guestfish-actions.pod:1839
6724 #: ../fish/guestfish-actions.pod:1877 ../fish/guestfish-actions.pod:1893
6725 msgid "For more information on states, see L<guestfs(3)>."
6726 msgstr ""
6727
6728 # type: =head2
6729 #: ../src/guestfs-actions.pod:1667
6730 msgid "guestfs_get_trace"
6731 msgstr ""
6732
6733 # type: verbatim
6734 #: ../src/guestfs-actions.pod:1669
6735 #, no-wrap
6736 msgid ""
6737 " int guestfs_get_trace (guestfs_h *g);\n"
6738 "\n"
6739 msgstr ""
6740
6741 # type: textblock
6742 #: ../src/guestfs-actions.pod:1671 ../fish/guestfish-actions.pod:1333
6743 msgid "Return the command trace flag."
6744 msgstr ""
6745
6746 # type: =head2
6747 #: ../src/guestfs-actions.pod:1675
6748 msgid "guestfs_get_umask"
6749 msgstr ""
6750
6751 # type: verbatim
6752 #: ../src/guestfs-actions.pod:1677
6753 #, no-wrap
6754 msgid ""
6755 " int guestfs_get_umask (guestfs_h *g);\n"
6756 "\n"
6757 msgstr ""
6758
6759 # type: textblock
6760 #: ../src/guestfs-actions.pod:1679
6761 msgid ""
6762 "Return the current umask.  By default the umask is C<022> unless it has been "
6763 "set by calling C<guestfs_umask>."
6764 msgstr ""
6765
6766 # type: =head2
6767 #: ../src/guestfs-actions.pod:1684
6768 msgid "guestfs_get_verbose"
6769 msgstr ""
6770
6771 # type: verbatim
6772 #: ../src/guestfs-actions.pod:1686
6773 #, no-wrap
6774 msgid ""
6775 " int guestfs_get_verbose (guestfs_h *g);\n"
6776 "\n"
6777 msgstr ""
6778
6779 # type: textblock
6780 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1346
6781 msgid "This returns the verbose messages flag."
6782 msgstr ""
6783
6784 # type: =head2
6785 #: ../src/guestfs-actions.pod:1692
6786 msgid "guestfs_getcon"
6787 msgstr ""
6788
6789 # type: verbatim
6790 #: ../src/guestfs-actions.pod:1694
6791 #, no-wrap
6792 msgid ""
6793 " char *guestfs_getcon (guestfs_h *g);\n"
6794 "\n"
6795 msgstr ""
6796
6797 # type: textblock
6798 #: ../src/guestfs-actions.pod:1696 ../fish/guestfish-actions.pod:1352
6799 msgid "This gets the SELinux security context of the daemon."
6800 msgstr ""
6801
6802 # type: textblock
6803 #: ../src/guestfs-actions.pod:1698
6804 msgid ""
6805 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6806 msgstr ""
6807
6808 # type: =head2
6809 #: ../src/guestfs-actions.pod:1704
6810 msgid "guestfs_getxattrs"
6811 msgstr ""
6812
6813 # type: verbatim
6814 #: ../src/guestfs-actions.pod:1706
6815 #, no-wrap
6816 msgid ""
6817 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6818 "\t\tconst char *path);\n"
6819 "\n"
6820 msgstr ""
6821
6822 # type: textblock
6823 #: ../src/guestfs-actions.pod:1709 ../fish/guestfish-actions.pod:1361
6824 msgid ""
6825 "This call lists the extended attributes of the file or directory C<path>."
6826 msgstr ""
6827
6828 # type: textblock
6829 #: ../src/guestfs-actions.pod:1712 ../fish/guestfish-actions.pod:1364
6830 msgid ""
6831 "At the system call level, this is a combination of the L<listxattr(2)> and "
6832 "L<getxattr(2)> calls."
6833 msgstr ""
6834
6835 # type: textblock
6836 #: ../src/guestfs-actions.pod:1715
6837 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6838 msgstr ""
6839
6840 # type: textblock
6841 #: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:2451
6842 #: ../src/guestfs-actions.pod:2989
6843 msgid ""
6844 "This function returns a C<struct guestfs_xattr_list *> (see E<lt>guestfs-"
6845 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
6846 "C<guestfs_free_xattr_list> after use>."
6847 msgstr ""
6848
6849 # type: =head2
6850 #: ../src/guestfs-actions.pod:1722
6851 msgid "guestfs_glob_expand"
6852 msgstr ""
6853
6854 # type: verbatim
6855 #: ../src/guestfs-actions.pod:1724
6856 #, no-wrap
6857 msgid ""
6858 " char **guestfs_glob_expand (guestfs_h *g,\n"
6859 "\t\tconst char *pattern);\n"
6860 "\n"
6861 msgstr ""
6862
6863 # type: textblock
6864 #: ../src/guestfs-actions.pod:1727 ../fish/guestfish-actions.pod:1373
6865 msgid ""
6866 "This command searches for all the pathnames matching C<pattern> according to "
6867 "the wildcard expansion rules used by the shell."
6868 msgstr ""
6869
6870 # type: textblock
6871 #: ../src/guestfs-actions.pod:1731 ../fish/guestfish-actions.pod:1377
6872 msgid ""
6873 "If no paths match, then this returns an empty list (note: not an error)."
6874 msgstr ""
6875
6876 # type: textblock
6877 #: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1380
6878 msgid ""
6879 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
6880 "GLOB_BRACE>.  See that manual page for more details."
6881 msgstr ""
6882
6883 # type: =head2
6884 #: ../src/guestfs-actions.pod:1742
6885 msgid "guestfs_grep"
6886 msgstr ""
6887
6888 # type: verbatim
6889 #: ../src/guestfs-actions.pod:1744
6890 #, no-wrap
6891 msgid ""
6892 " char **guestfs_grep (guestfs_h *g,\n"
6893 "\t\tconst char *regex,\n"
6894 "\t\tconst char *path);\n"
6895 "\n"
6896 msgstr ""
6897
6898 # type: textblock
6899 #: ../src/guestfs-actions.pod:1748 ../fish/guestfish-actions.pod:1388
6900 msgid "This calls the external C<grep> program and returns the matching lines."
6901 msgstr ""
6902
6903 # type: =head2
6904 #: ../src/guestfs-actions.pod:1758
6905 msgid "guestfs_grepi"
6906 msgstr ""
6907
6908 # type: verbatim
6909 #: ../src/guestfs-actions.pod:1760
6910 #, no-wrap
6911 msgid ""
6912 " char **guestfs_grepi (guestfs_h *g,\n"
6913 "\t\tconst char *regex,\n"
6914 "\t\tconst char *path);\n"
6915 "\n"
6916 msgstr ""
6917
6918 # type: textblock
6919 #: ../src/guestfs-actions.pod:1764 ../fish/guestfish-actions.pod:1398
6920 msgid ""
6921 "This calls the external C<grep -i> program and returns the matching lines."
6922 msgstr ""
6923
6924 # type: =head2
6925 #: ../src/guestfs-actions.pod:1774
6926 msgid "guestfs_grub_install"
6927 msgstr ""
6928
6929 # type: verbatim
6930 #: ../src/guestfs-actions.pod:1776
6931 #, no-wrap
6932 msgid ""
6933 " int guestfs_grub_install (guestfs_h *g,\n"
6934 "\t\tconst char *root,\n"
6935 "\t\tconst char *device);\n"
6936 "\n"
6937 msgstr ""
6938
6939 # type: textblock
6940 #: ../src/guestfs-actions.pod:1780 ../fish/guestfish-actions.pod:1408
6941 msgid ""
6942 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
6943 "the root directory being C<root>."
6944 msgstr ""
6945
6946 # type: textblock
6947 #: ../src/guestfs-actions.pod:1783 ../fish/guestfish-actions.pod:1411
6948 msgid ""
6949 "Note: If grub-install reports the error \"No suitable drive was found in the "
6950 "generated device map.\" it may be that you need to create a C</boot/grub/"
6951 "device.map> file first that contains the mapping between grub device names "
6952 "and Linux device names.  It is usually sufficient to create a file "
6953 "containing:"
6954 msgstr ""
6955
6956 # type: verbatim
6957 #: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1418
6958 #, no-wrap
6959 msgid ""
6960 " (hd0) /dev/vda\n"
6961 "\n"
6962 msgstr ""
6963
6964 # type: textblock
6965 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1420
6966 msgid "replacing C</dev/vda> with the name of the installation device."
6967 msgstr ""
6968
6969 # type: =head2
6970 #: ../src/guestfs-actions.pod:1796
6971 msgid "guestfs_head"
6972 msgstr ""
6973
6974 # type: verbatim
6975 #: ../src/guestfs-actions.pod:1798
6976 #, no-wrap
6977 msgid ""
6978 " char **guestfs_head (guestfs_h *g,\n"
6979 "\t\tconst char *path);\n"
6980 "\n"
6981 msgstr ""
6982
6983 # type: textblock
6984 #: ../src/guestfs-actions.pod:1801 ../fish/guestfish-actions.pod:1426
6985 msgid ""
6986 "This command returns up to the first 10 lines of a file as a list of strings."
6987 msgstr ""
6988
6989 # type: =head2
6990 #: ../src/guestfs-actions.pod:1811
6991 msgid "guestfs_head_n"
6992 msgstr ""
6993
6994 # type: verbatim
6995 #: ../src/guestfs-actions.pod:1813
6996 #, no-wrap
6997 msgid ""
6998 " char **guestfs_head_n (guestfs_h *g,\n"
6999 "\t\tint nrlines,\n"
7000 "\t\tconst char *path);\n"
7001 "\n"
7002 msgstr ""
7003
7004 # type: textblock
7005 #: ../src/guestfs-actions.pod:1817 ../fish/guestfish-actions.pod:1436
7006 msgid ""
7007 "If the parameter C<nrlines> is a positive number, this returns the first "
7008 "C<nrlines> lines of the file C<path>."
7009 msgstr ""
7010
7011 # type: textblock
7012 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1439
7013 msgid ""
7014 "If the parameter C<nrlines> is a negative number, this returns lines from "
7015 "the file C<path>, excluding the last C<nrlines> lines."
7016 msgstr ""
7017
7018 # type: textblock
7019 #: ../src/guestfs-actions.pod:1823 ../src/guestfs-actions.pod:4845
7020 #: ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:3737
7021 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
7022 msgstr ""
7023
7024 # type: =head2
7025 #: ../src/guestfs-actions.pod:1832
7026 msgid "guestfs_hexdump"
7027 msgstr ""
7028
7029 # type: verbatim
7030 #: ../src/guestfs-actions.pod:1834
7031 #, no-wrap
7032 msgid ""
7033 " char *guestfs_hexdump (guestfs_h *g,\n"
7034 "\t\tconst char *path);\n"
7035 "\n"
7036 msgstr ""
7037
7038 # type: textblock
7039 #: ../src/guestfs-actions.pod:1837 ../fish/guestfish-actions.pod:1451
7040 msgid ""
7041 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
7042 "readable, canonical hex dump of the file."
7043 msgstr ""
7044
7045 # type: =head2
7046 #: ../src/guestfs-actions.pod:1846
7047 msgid "guestfs_initrd_cat"
7048 msgstr ""
7049
7050 # type: verbatim
7051 #: ../src/guestfs-actions.pod:1848
7052 #, no-wrap
7053 msgid ""
7054 " char *guestfs_initrd_cat (guestfs_h *g,\n"
7055 "\t\tconst char *initrdpath,\n"
7056 "\t\tconst char *filename,\n"
7057 "\t\tsize_t *size_r);\n"
7058 "\n"
7059 msgstr ""
7060
7061 # type: textblock
7062 #: ../src/guestfs-actions.pod:1853 ../fish/guestfish-actions.pod:1461
7063 msgid ""
7064 "This command unpacks the file C<filename> from the initrd file called "
7065 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
7066 "character."
7067 msgstr ""
7068
7069 # type: textblock
7070 #: ../src/guestfs-actions.pod:1857 ../fish/guestfish-actions.pod:1465
7071 msgid ""
7072 "For example, in guestfish you could use the following command to examine the "
7073 "boot script (usually called C</init>)  contained in a Linux initrd or "
7074 "initramfs image:"
7075 msgstr ""
7076
7077 # type: verbatim
7078 #: ../src/guestfs-actions.pod:1861 ../fish/guestfish-actions.pod:1469
7079 #, no-wrap
7080 msgid ""
7081 " initrd-cat /boot/initrd-<version>.img init\n"
7082 "\n"
7083 msgstr ""
7084
7085 # type: textblock
7086 #: ../src/guestfs-actions.pod:1863
7087 msgid "See also C<guestfs_initrd_list>."
7088 msgstr ""
7089
7090 # type: textblock
7091 #: ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:3803
7092 #: ../src/guestfs-actions.pod:3932
7093 msgid ""
7094 "This function returns a buffer, or NULL on error.  The size of the returned "
7095 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
7096 "after use>."
7097 msgstr ""
7098
7099 # type: =head2
7100 #: ../src/guestfs-actions.pod:1872
7101 msgid "guestfs_initrd_list"
7102 msgstr ""
7103
7104 # type: verbatim
7105 #: ../src/guestfs-actions.pod:1874
7106 #, no-wrap
7107 msgid ""
7108 " char **guestfs_initrd_list (guestfs_h *g,\n"
7109 "\t\tconst char *path);\n"
7110 "\n"
7111 msgstr ""
7112
7113 # type: textblock
7114 #: ../src/guestfs-actions.pod:1877 ../fish/guestfish-actions.pod:1480
7115 msgid "This command lists out files contained in an initrd."
7116 msgstr ""
7117
7118 # type: textblock
7119 #: ../src/guestfs-actions.pod:1879 ../fish/guestfish-actions.pod:1482
7120 msgid ""
7121 "The files are listed without any initial C</> character.  The files are "
7122 "listed in the order they appear (not necessarily alphabetical).  Directory "
7123 "names are listed as separate items."
7124 msgstr ""
7125
7126 # type: textblock
7127 #: ../src/guestfs-actions.pod:1883 ../fish/guestfish-actions.pod:1486
7128 msgid ""
7129 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
7130 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
7131 "files)."
7132 msgstr ""
7133
7134 # type: =head2
7135 #: ../src/guestfs-actions.pod:1891
7136 msgid "guestfs_inotify_add_watch"
7137 msgstr ""
7138
7139 # type: verbatim
7140 #: ../src/guestfs-actions.pod:1893
7141 #, no-wrap
7142 msgid ""
7143 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
7144 "\t\tconst char *path,\n"
7145 "\t\tint mask);\n"
7146 "\n"
7147 msgstr ""
7148
7149 # type: textblock
7150 #: ../src/guestfs-actions.pod:1897 ../fish/guestfish-actions.pod:1494
7151 msgid "Watch C<path> for the events listed in C<mask>."
7152 msgstr ""
7153
7154 # type: textblock
7155 #: ../src/guestfs-actions.pod:1899 ../fish/guestfish-actions.pod:1496
7156 msgid ""
7157 "Note that if C<path> is a directory then events within that directory are "
7158 "watched, but this does I<not> happen recursively (in subdirectories)."
7159 msgstr ""
7160
7161 # type: textblock
7162 #: ../src/guestfs-actions.pod:1903 ../fish/guestfish-actions.pod:1500
7163 msgid ""
7164 "Note for non-C or non-Linux callers: the inotify events are defined by the "
7165 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
7166 msgstr ""
7167
7168 # type: =head2
7169 #: ../src/guestfs-actions.pod:1909
7170 msgid "guestfs_inotify_close"
7171 msgstr ""
7172
7173 # type: verbatim
7174 #: ../src/guestfs-actions.pod:1911
7175 #, no-wrap
7176 msgid ""
7177 " int guestfs_inotify_close (guestfs_h *g);\n"
7178 "\n"
7179 msgstr ""
7180
7181 # type: textblock
7182 #: ../src/guestfs-actions.pod:1913 ../fish/guestfish-actions.pod:1508
7183 msgid ""
7184 "This closes the inotify handle which was previously opened by inotify_init.  "
7185 "It removes all watches, throws away any pending events, and deallocates all "
7186 "resources."
7187 msgstr ""
7188
7189 # type: =head2
7190 #: ../src/guestfs-actions.pod:1919
7191 msgid "guestfs_inotify_files"
7192 msgstr ""
7193
7194 # type: verbatim
7195 #: ../src/guestfs-actions.pod:1921
7196 #, no-wrap
7197 msgid ""
7198 " char **guestfs_inotify_files (guestfs_h *g);\n"
7199 "\n"
7200 msgstr ""
7201
7202 # type: textblock
7203 #: ../src/guestfs-actions.pod:1923
7204 msgid ""
7205 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
7206 "returns a list of pathnames of objects that were touched.  The returned "
7207 "pathnames are sorted and deduplicated."
7208 msgstr ""
7209
7210 # type: =head2
7211 #: ../src/guestfs-actions.pod:1931
7212 msgid "guestfs_inotify_init"
7213 msgstr ""
7214
7215 # type: verbatim
7216 #: ../src/guestfs-actions.pod:1933
7217 #, no-wrap
7218 msgid ""
7219 " int guestfs_inotify_init (guestfs_h *g,\n"
7220 "\t\tint maxevents);\n"
7221 "\n"
7222 msgstr ""
7223
7224 # type: textblock
7225 #: ../src/guestfs-actions.pod:1936 ../fish/guestfish-actions.pod:1524
7226 msgid ""
7227 "This command creates a new inotify handle.  The inotify subsystem can be "
7228 "used to notify events which happen to objects in the guest filesystem."
7229 msgstr ""
7230
7231 # type: textblock
7232 #: ../src/guestfs-actions.pod:1940
7233 msgid ""
7234 "C<maxevents> is the maximum number of events which will be queued up between "
7235 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
7236 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
7237 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
7238 "throws away events, but records the fact that it threw them away by setting "
7239 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
7240 "C<guestfs_inotify_read>)."
7241 msgstr ""
7242
7243 # type: textblock
7244 #: ../src/guestfs-actions.pod:1950
7245 msgid ""
7246 "Before any events are generated, you have to add some watches to the "
7247 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
7248 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
7249 msgstr ""
7250
7251 # type: textblock
7252 #: ../src/guestfs-actions.pod:1956
7253 msgid ""
7254 "Queued up events should be read periodically by calling "
7255 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
7256 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
7257 "often enough then you risk the internal queue overflowing."
7258 msgstr ""
7259
7260 # type: textblock
7261 #: ../src/guestfs-actions.pod:1963
7262 msgid ""
7263 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
7264 "This also removes any watches automatically."
7265 msgstr ""
7266
7267 # type: textblock
7268 #: ../src/guestfs-actions.pod:1967 ../fish/guestfish-actions.pod:1555
7269 msgid ""
7270 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
7271 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
7272 "that there is one global inotify handle per libguestfs instance."
7273 msgstr ""
7274
7275 # type: =head2
7276 #: ../src/guestfs-actions.pod:1974
7277 msgid "guestfs_inotify_read"
7278 msgstr ""
7279
7280 # type: verbatim
7281 #: ../src/guestfs-actions.pod:1976
7282 #, no-wrap
7283 msgid ""
7284 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
7285 "\n"
7286 msgstr ""
7287
7288 # type: textblock
7289 #: ../src/guestfs-actions.pod:1978 ../fish/guestfish-actions.pod:1564
7290 msgid ""
7291 "Return the complete queue of events that have happened since the previous "
7292 "read call."
7293 msgstr ""
7294
7295 # type: textblock
7296 #: ../src/guestfs-actions.pod:1981 ../fish/guestfish-actions.pod:1567
7297 msgid "If no events have happened, this returns an empty list."
7298 msgstr ""
7299
7300 # type: textblock
7301 #: ../src/guestfs-actions.pod:1983 ../fish/guestfish-actions.pod:1569
7302 msgid ""
7303 "I<Note>: In order to make sure that all events have been read, you must call "
7304 "this function repeatedly until it returns an empty list.  The reason is that "
7305 "the call will read events up to the maximum appliance-to-host message size "
7306 "and leave remaining events in the queue."
7307 msgstr ""
7308
7309 # type: textblock
7310 #: ../src/guestfs-actions.pod:1989
7311 msgid ""
7312 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7313 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7314 "must call C<guestfs_free_inotify_event_list> after use>."
7315 msgstr ""
7316
7317 # type: =head2
7318 #: ../src/guestfs-actions.pod:1994
7319 msgid "guestfs_inotify_rm_watch"
7320 msgstr ""
7321
7322 # type: verbatim
7323 #: ../src/guestfs-actions.pod:1996
7324 #, no-wrap
7325 msgid ""
7326 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7327 "\t\tint wd);\n"
7328 "\n"
7329 msgstr ""
7330
7331 # type: textblock
7332 #: ../src/guestfs-actions.pod:1999
7333 msgid ""
7334 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
7335 msgstr ""
7336
7337 # type: =head2
7338 #: ../src/guestfs-actions.pod:2004
7339 msgid "guestfs_inspect_get_arch"
7340 msgstr ""
7341
7342 # type: verbatim
7343 #: ../src/guestfs-actions.pod:2006
7344 #, no-wrap
7345 msgid ""
7346 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7347 "\t\tconst char *root);\n"
7348 "\n"
7349 msgstr ""
7350
7351 # type: textblock
7352 #: ../src/guestfs-actions.pod:2009 ../src/guestfs-actions.pod:2029
7353 #: ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2102
7354 #: ../src/guestfs-actions.pod:2126 ../src/guestfs-actions.pod:2144
7355 #: ../src/guestfs-actions.pod:2174 ../src/guestfs-actions.pod:2195
7356 msgid ""
7357 "This function should only be called with a root device string as returned by "
7358 "C<guestfs_inspect_os>."
7359 msgstr ""
7360
7361 # type: textblock
7362 #: ../src/guestfs-actions.pod:2012
7363 msgid ""
7364 "This returns the architecture of the inspected operating system.  The "
7365 "possible return values are listed under C<guestfs_file_architecture>."
7366 msgstr ""
7367
7368 # type: textblock
7369 #: ../src/guestfs-actions.pod:2016 ../fish/guestfish-actions.pod:1593
7370 msgid ""
7371 "If the architecture could not be determined, then the string C<unknown> is "
7372 "returned."
7373 msgstr ""
7374
7375 # type: textblock
7376 #: ../src/guestfs-actions.pod:2019 ../src/guestfs-actions.pod:2069
7377 #: ../src/guestfs-actions.pod:2117 ../src/guestfs-actions.pod:2185
7378 #: ../src/guestfs-actions.pod:2220 ../src/guestfs-actions.pod:2257
7379 #: ../fish/guestfish-actions.pod:1596 ../fish/guestfish-actions.pod:1642
7380 #: ../fish/guestfish-actions.pod:1681 ../fish/guestfish-actions.pod:1736
7381 #: ../fish/guestfish-actions.pod:1767 ../fish/guestfish-actions.pod:1801
7382 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7383 msgstr ""
7384
7385 # type: =head2
7386 #: ../src/guestfs-actions.pod:2024
7387 msgid "guestfs_inspect_get_distro"
7388 msgstr ""
7389
7390 # type: verbatim
7391 #: ../src/guestfs-actions.pod:2026
7392 #, no-wrap
7393 msgid ""
7394 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7395 "\t\tconst char *root);\n"
7396 "\n"
7397 msgstr ""
7398
7399 # type: textblock
7400 #: ../src/guestfs-actions.pod:2032 ../fish/guestfish-actions.pod:1605
7401 msgid ""
7402 "This returns the distro (distribution) of the inspected operating system."
7403 msgstr ""
7404
7405 # type: textblock
7406 #: ../src/guestfs-actions.pod:2035 ../fish/guestfish-actions.pod:1608
7407 msgid "Currently defined distros are:"
7408 msgstr ""
7409
7410 # type: =item
7411 #: ../src/guestfs-actions.pod:2039 ../fish/guestfish-actions.pod:1612
7412 msgid "\"debian\""
7413 msgstr ""
7414
7415 # type: textblock
7416 #: ../src/guestfs-actions.pod:2041 ../fish/guestfish-actions.pod:1614
7417 msgid "Debian or a Debian-derived distro such as Ubuntu."
7418 msgstr ""
7419
7420 # type: =item
7421 #: ../src/guestfs-actions.pod:2043 ../fish/guestfish-actions.pod:1616
7422 msgid "\"fedora\""
7423 msgstr ""
7424
7425 # type: textblock
7426 #: ../src/guestfs-actions.pod:2045 ../fish/guestfish-actions.pod:1618
7427 msgid "Fedora."
7428 msgstr ""
7429
7430 # type: =item
7431 #: ../src/guestfs-actions.pod:2047 ../fish/guestfish-actions.pod:1620
7432 msgid "\"redhat-based\""
7433 msgstr ""
7434
7435 # type: textblock
7436 #: ../src/guestfs-actions.pod:2049 ../fish/guestfish-actions.pod:1622
7437 msgid "Some Red Hat-derived distro."
7438 msgstr ""
7439
7440 # type: =item
7441 #: ../src/guestfs-actions.pod:2051 ../fish/guestfish-actions.pod:1624
7442 msgid "\"rhel\""
7443 msgstr ""
7444
7445 # type: textblock
7446 #: ../src/guestfs-actions.pod:2053 ../fish/guestfish-actions.pod:1626
7447 msgid "Red Hat Enterprise Linux and some derivatives."
7448 msgstr ""
7449
7450 # type: =item
7451 #: ../src/guestfs-actions.pod:2055 ../src/guestfs-actions.pod:2207
7452 #: ../fish/guestfish-actions.pod:1628 ../fish/guestfish-actions.pod:1754
7453 msgid "\"windows\""
7454 msgstr ""
7455
7456 # type: textblock
7457 #: ../src/guestfs-actions.pod:2057 ../fish/guestfish-actions.pod:1630
7458 msgid ""
7459 "Windows does not have distributions.  This string is returned if the OS type "
7460 "is Windows."
7461 msgstr ""
7462
7463 # type: =item
7464 #: ../src/guestfs-actions.pod:2060 ../src/guestfs-actions.pod:2211
7465 #: ../fish/guestfish-actions.pod:1633 ../fish/guestfish-actions.pod:1758
7466 msgid "\"unknown\""
7467 msgstr ""
7468
7469 # type: textblock
7470 #: ../src/guestfs-actions.pod:2062 ../fish/guestfish-actions.pod:1635
7471 msgid "The distro could not be determined."
7472 msgstr ""
7473
7474 # type: textblock
7475 #: ../src/guestfs-actions.pod:2066 ../src/guestfs-actions.pod:2217
7476 #: ../fish/guestfish-actions.pod:1639 ../fish/guestfish-actions.pod:1764
7477 msgid ""
7478 "Future versions of libguestfs may return other strings here.  The caller "
7479 "should be prepared to handle any string."
7480 msgstr ""
7481
7482 # type: =head2
7483 #: ../src/guestfs-actions.pod:2074
7484 msgid "guestfs_inspect_get_filesystems"
7485 msgstr ""
7486
7487 # type: verbatim
7488 #: ../src/guestfs-actions.pod:2076
7489 #, no-wrap
7490 msgid ""
7491 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7492 "\t\tconst char *root);\n"
7493 "\n"
7494 msgstr ""
7495
7496 # type: textblock
7497 #: ../src/guestfs-actions.pod:2082 ../fish/guestfish-actions.pod:1651
7498 msgid ""
7499 "This returns a list of all the filesystems that we think are associated with "
7500 "this operating system.  This includes the root filesystem, other ordinary "
7501 "filesystems, and non-mounted devices like swap partitions."
7502 msgstr ""
7503
7504 # type: textblock
7505 #: ../src/guestfs-actions.pod:2087 ../fish/guestfish-actions.pod:1656
7506 msgid ""
7507 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7508 "to be shared between operating systems."
7509 msgstr ""
7510
7511 # type: textblock
7512 #: ../src/guestfs-actions.pod:2090
7513 msgid ""
7514 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7515 "C<guestfs_inspect_get_mountpoints>."
7516 msgstr ""
7517
7518 # type: =head2
7519 #: ../src/guestfs-actions.pod:2097
7520 msgid "guestfs_inspect_get_major_version"
7521 msgstr ""
7522
7523 # type: verbatim
7524 #: ../src/guestfs-actions.pod:2099
7525 #, no-wrap
7526 msgid ""
7527 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7528 "\t\tconst char *root);\n"
7529 "\n"
7530 msgstr ""
7531
7532 # type: textblock
7533 #: ../src/guestfs-actions.pod:2105 ../fish/guestfish-actions.pod:1669
7534 msgid ""
7535 "This returns the major version number of the inspected operating system."
7536 msgstr ""
7537
7538 # type: textblock
7539 #: ../src/guestfs-actions.pod:2108 ../fish/guestfish-actions.pod:1672
7540 msgid ""
7541 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7542 "popular public names used by the operating system.  Notably the operating "
7543 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7544 "1).  You can find out the real versions corresponding to releases of Windows "
7545 "by consulting Wikipedia or MSDN."
7546 msgstr ""
7547
7548 # type: textblock
7549 #: ../src/guestfs-actions.pod:2115 ../src/guestfs-actions.pod:2132
7550 #: ../fish/guestfish-actions.pod:1679 ../fish/guestfish-actions.pod:1693
7551 msgid "If the version could not be determined, then C<0> is returned."
7552 msgstr ""
7553
7554 # type: =head2
7555 #: ../src/guestfs-actions.pod:2121
7556 msgid "guestfs_inspect_get_minor_version"
7557 msgstr ""
7558
7559 # type: verbatim
7560 #: ../src/guestfs-actions.pod:2123
7561 #, no-wrap
7562 msgid ""
7563 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7564 "\t\tconst char *root);\n"
7565 "\n"
7566 msgstr ""
7567
7568 # type: textblock
7569 #: ../src/guestfs-actions.pod:2129 ../fish/guestfish-actions.pod:1690
7570 msgid ""
7571 "This returns the minor version number of the inspected operating system."
7572 msgstr ""
7573
7574 # type: textblock
7575 #: ../src/guestfs-actions.pod:2134
7576 msgid ""
7577 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7578 "C<guestfs_inspect_get_major_version>."
7579 msgstr ""
7580
7581 # type: =head2
7582 #: ../src/guestfs-actions.pod:2139
7583 msgid "guestfs_inspect_get_mountpoints"
7584 msgstr ""
7585
7586 # type: verbatim
7587 #: ../src/guestfs-actions.pod:2141
7588 #, no-wrap
7589 msgid ""
7590 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7591 "\t\tconst char *root);\n"
7592 "\n"
7593 msgstr ""
7594
7595 # type: textblock
7596 #: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1705
7597 msgid ""
7598 "This returns a hash of where we think the filesystems associated with this "
7599 "operating system should be mounted.  Callers should note that this is at "
7600 "best an educated guess made by reading configuration files such as C</etc/"
7601 "fstab>."
7602 msgstr ""
7603
7604 # type: textblock
7605 #: ../src/guestfs-actions.pod:2152 ../fish/guestfish-actions.pod:1710
7606 msgid ""
7607 "Each element in the returned hashtable has a key which is the path of the "
7608 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7609 "mounted there (eg. C</dev/sda1>)."
7610 msgstr ""
7611
7612 # type: textblock
7613 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1715
7614 msgid ""
7615 "Non-mounted devices such as swap devices are I<not> returned in this list."
7616 msgstr ""
7617
7618 # type: textblock
7619 #: ../src/guestfs-actions.pod:2160
7620 msgid ""
7621 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7622 "C<guestfs_inspect_get_filesystems>."
7623 msgstr ""
7624
7625 # type: textblock
7626 #: ../src/guestfs-actions.pod:2163 ../src/guestfs-actions.pod:2503
7627 #: ../src/guestfs-actions.pod:3425 ../src/guestfs-actions.pod:4962
7628 msgid ""
7629 "This function returns a NULL-terminated array of strings, or NULL if there "
7630 "was an error.  The array of strings will always have length C<2n+1>, where "
7631 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7632 "caller must free the strings and the array after use>."
7633 msgstr ""
7634
7635 # type: =head2
7636 #: ../src/guestfs-actions.pod:2169
7637 msgid "guestfs_inspect_get_product_name"
7638 msgstr ""
7639
7640 # type: verbatim
7641 #: ../src/guestfs-actions.pod:2171
7642 #, no-wrap
7643 msgid ""
7644 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7645 "\t\tconst char *root);\n"
7646 "\n"
7647 msgstr ""
7648
7649 # type: textblock
7650 #: ../src/guestfs-actions.pod:2177 ../fish/guestfish-actions.pod:1728
7651 msgid ""
7652 "This returns the product name of the inspected operating system.  The "
7653 "product name is generally some freeform string which can be displayed to the "
7654 "user, but should not be parsed by programs."
7655 msgstr ""
7656
7657 # type: textblock
7658 #: ../src/guestfs-actions.pod:2182 ../fish/guestfish-actions.pod:1733
7659 msgid ""
7660 "If the product name could not be determined, then the string C<unknown> is "
7661 "returned."
7662 msgstr ""
7663
7664 # type: =head2
7665 #: ../src/guestfs-actions.pod:2190
7666 msgid "guestfs_inspect_get_type"
7667 msgstr ""
7668
7669 # type: verbatim
7670 #: ../src/guestfs-actions.pod:2192
7671 #, no-wrap
7672 msgid ""
7673 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7674 "\t\tconst char *root);\n"
7675 "\n"
7676 msgstr ""
7677
7678 # type: textblock
7679 #: ../src/guestfs-actions.pod:2198 ../fish/guestfish-actions.pod:1745
7680 msgid ""
7681 "This returns the type of the inspected operating system.  Currently defined "
7682 "types are:"
7683 msgstr ""
7684
7685 # type: =item
7686 #: ../src/guestfs-actions.pod:2203 ../fish/guestfish-actions.pod:1750
7687 msgid "\"linux\""
7688 msgstr ""
7689
7690 # type: textblock
7691 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1752
7692 msgid "Any Linux-based operating system."
7693 msgstr ""
7694
7695 # type: textblock
7696 #: ../src/guestfs-actions.pod:2209 ../fish/guestfish-actions.pod:1756
7697 msgid "Any Microsoft Windows operating system."
7698 msgstr ""
7699
7700 # type: textblock
7701 #: ../src/guestfs-actions.pod:2213 ../fish/guestfish-actions.pod:1760
7702 msgid "The operating system type could not be determined."
7703 msgstr ""
7704
7705 # type: =head2
7706 #: ../src/guestfs-actions.pod:2225
7707 msgid "guestfs_inspect_os"
7708 msgstr ""
7709
7710 # type: verbatim
7711 #: ../src/guestfs-actions.pod:2227
7712 #, no-wrap
7713 msgid ""
7714 " char **guestfs_inspect_os (guestfs_h *g);\n"
7715 "\n"
7716 msgstr ""
7717
7718 # type: textblock
7719 #: ../src/guestfs-actions.pod:2229 ../fish/guestfish-actions.pod:1773
7720 msgid ""
7721 "This function uses other libguestfs functions and certain heuristics to "
7722 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7723 "for operating systems."
7724 msgstr ""
7725
7726 # type: textblock
7727 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1777
7728 msgid "The list returned is empty if no operating systems were found."
7729 msgstr ""
7730
7731 # type: textblock
7732 #: ../src/guestfs-actions.pod:2235 ../fish/guestfish-actions.pod:1779
7733 msgid ""
7734 "If one operating system was found, then this returns a list with a single "
7735 "element, which is the name of the root filesystem of this operating system.  "
7736 "It is also possible for this function to return a list containing more than "
7737 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7738 "element being the root filesystem of one of the operating systems."
7739 msgstr ""
7740
7741 # type: textblock
7742 #: ../src/guestfs-actions.pod:2242
7743 msgid ""
7744 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7745 "functions in order to query further information about each operating system, "
7746 "such as the name and version."
7747 msgstr ""
7748
7749 # type: textblock
7750 #: ../src/guestfs-actions.pod:2247
7751 msgid ""
7752 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7753 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7754 "the contents.  This should be called with no disks currently mounted.  The "
7755 "function may also use Augeas, so any existing Augeas handle will be closed."
7756 msgstr ""
7757
7758 # type: textblock
7759 #: ../src/guestfs-actions.pod:2253 ../fish/guestfish-actions.pod:1797
7760 msgid ""
7761 "This function cannot decrypt encrypted disks.  The caller must do that first "
7762 "(supplying the necessary keys) if the disk is encrypted."
7763 msgstr ""
7764
7765 # type: textblock
7766 #: ../src/guestfs-actions.pod:2259 ../src/guestfs-actions.pod:2464
7767 #: ../src/guestfs-actions.pod:2520
7768 msgid "See also C<guestfs_list_filesystems>."
7769 msgstr ""
7770
7771 # type: =head2
7772 #: ../src/guestfs-actions.pod:2265
7773 msgid "guestfs_is_blockdev"
7774 msgstr ""
7775
7776 # type: verbatim
7777 #: ../src/guestfs-actions.pod:2267
7778 #, no-wrap
7779 msgid ""
7780 " int guestfs_is_blockdev (guestfs_h *g,\n"
7781 "\t\tconst char *path);\n"
7782 "\n"
7783 msgstr ""
7784
7785 # type: textblock
7786 #: ../src/guestfs-actions.pod:2270 ../fish/guestfish-actions.pod:1809
7787 msgid ""
7788 "This returns C<true> if and only if there is a block device with the given "
7789 "C<path> name."
7790 msgstr ""
7791
7792 # type: textblock
7793 #: ../src/guestfs-actions.pod:2273 ../src/guestfs-actions.pod:2296
7794 #: ../src/guestfs-actions.pod:2320 ../src/guestfs-actions.pod:2332
7795 #: ../src/guestfs-actions.pod:2345 ../src/guestfs-actions.pod:2389
7796 #: ../src/guestfs-actions.pod:2401
7797 msgid "See also C<guestfs_stat>."
7798 msgstr ""
7799
7800 # type: =head2
7801 #: ../src/guestfs-actions.pod:2277
7802 msgid "guestfs_is_busy"
7803 msgstr ""
7804
7805 # type: verbatim
7806 #: ../src/guestfs-actions.pod:2279
7807 #, no-wrap
7808 msgid ""
7809 " int guestfs_is_busy (guestfs_h *g);\n"
7810 "\n"
7811 msgstr ""
7812
7813 # type: textblock
7814 #: ../src/guestfs-actions.pod:2281 ../fish/guestfish-actions.pod:1818
7815 msgid ""
7816 "This returns true iff this handle is busy processing a command (in the "
7817 "C<BUSY> state)."
7818 msgstr ""
7819
7820 # type: =head2
7821 #: ../src/guestfs-actions.pod:2288
7822 msgid "guestfs_is_chardev"
7823 msgstr ""
7824
7825 # type: verbatim
7826 #: ../src/guestfs-actions.pod:2290
7827 #, no-wrap
7828 msgid ""
7829 " int guestfs_is_chardev (guestfs_h *g,\n"
7830 "\t\tconst char *path);\n"
7831 "\n"
7832 msgstr ""
7833
7834 # type: textblock
7835 #: ../src/guestfs-actions.pod:2293 ../fish/guestfish-actions.pod:1827
7836 msgid ""
7837 "This returns C<true> if and only if there is a character device with the "
7838 "given C<path> name."
7839 msgstr ""
7840
7841 # type: =head2
7842 #: ../src/guestfs-actions.pod:2300
7843 msgid "guestfs_is_config"
7844 msgstr ""
7845
7846 # type: verbatim
7847 #: ../src/guestfs-actions.pod:2302
7848 #, no-wrap
7849 msgid ""
7850 " int guestfs_is_config (guestfs_h *g);\n"
7851 "\n"
7852 msgstr ""
7853
7854 # type: textblock
7855 #: ../src/guestfs-actions.pod:2304 ../fish/guestfish-actions.pod:1836
7856 msgid ""
7857 "This returns true iff this handle is being configured (in the C<CONFIG> "
7858 "state)."
7859 msgstr ""
7860
7861 # type: =head2
7862 #: ../src/guestfs-actions.pod:2311
7863 msgid "guestfs_is_dir"
7864 msgstr ""
7865
7866 # type: verbatim
7867 #: ../src/guestfs-actions.pod:2313
7868 #, no-wrap
7869 msgid ""
7870 " int guestfs_is_dir (guestfs_h *g,\n"
7871 "\t\tconst char *path);\n"
7872 "\n"
7873 msgstr ""
7874
7875 # type: textblock
7876 #: ../src/guestfs-actions.pod:2316 ../fish/guestfish-actions.pod:1845
7877 msgid ""
7878 "This returns C<true> if and only if there is a directory with the given "
7879 "C<path> name.  Note that it returns false for other objects like files."
7880 msgstr ""
7881
7882 # type: =head2
7883 #: ../src/guestfs-actions.pod:2324
7884 msgid "guestfs_is_fifo"
7885 msgstr ""
7886
7887 # type: verbatim
7888 #: ../src/guestfs-actions.pod:2326
7889 #, no-wrap
7890 msgid ""
7891 " int guestfs_is_fifo (guestfs_h *g,\n"
7892 "\t\tconst char *path);\n"
7893 "\n"
7894 msgstr ""
7895
7896 # type: textblock
7897 #: ../src/guestfs-actions.pod:2329 ../fish/guestfish-actions.pod:1855
7898 msgid ""
7899 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
7900 "given C<path> name."
7901 msgstr ""
7902
7903 # type: =head2
7904 #: ../src/guestfs-actions.pod:2336
7905 msgid "guestfs_is_file"
7906 msgstr ""
7907
7908 # type: verbatim
7909 #: ../src/guestfs-actions.pod:2338
7910 #, no-wrap
7911 msgid ""
7912 " int guestfs_is_file (guestfs_h *g,\n"
7913 "\t\tconst char *path);\n"
7914 "\n"
7915 msgstr ""
7916
7917 # type: textblock
7918 #: ../src/guestfs-actions.pod:2341 ../fish/guestfish-actions.pod:1864
7919 msgid ""
7920 "This returns C<true> if and only if there is a regular file with the given "
7921 "C<path> name.  Note that it returns false for other objects like directories."
7922 msgstr ""
7923
7924 # type: =head2
7925 #: ../src/guestfs-actions.pod:2349
7926 msgid "guestfs_is_launching"
7927 msgstr ""
7928
7929 # type: verbatim
7930 #: ../src/guestfs-actions.pod:2351
7931 #, no-wrap
7932 msgid ""
7933 " int guestfs_is_launching (guestfs_h *g);\n"
7934 "\n"
7935 msgstr ""
7936
7937 # type: textblock
7938 #: ../src/guestfs-actions.pod:2353 ../fish/guestfish-actions.pod:1874
7939 msgid ""
7940 "This returns true iff this handle is launching the subprocess (in the "
7941 "C<LAUNCHING> state)."
7942 msgstr ""
7943
7944 # type: =head2
7945 #: ../src/guestfs-actions.pod:2360
7946 msgid "guestfs_is_lv"
7947 msgstr ""
7948
7949 # type: verbatim
7950 #: ../src/guestfs-actions.pod:2362
7951 #, no-wrap
7952 msgid ""
7953 " int guestfs_is_lv (guestfs_h *g,\n"
7954 "\t\tconst char *device);\n"
7955 "\n"
7956 msgstr ""
7957
7958 # type: textblock
7959 #: ../src/guestfs-actions.pod:2365 ../fish/guestfish-actions.pod:1883
7960 msgid ""
7961 "This command tests whether C<device> is a logical volume, and returns true "
7962 "iff this is the case."
7963 msgstr ""
7964
7965 # type: =head2
7966 #: ../src/guestfs-actions.pod:2370
7967 msgid "guestfs_is_ready"
7968 msgstr ""
7969
7970 # type: verbatim
7971 #: ../src/guestfs-actions.pod:2372
7972 #, no-wrap
7973 msgid ""
7974 " int guestfs_is_ready (guestfs_h *g);\n"
7975 "\n"
7976 msgstr ""
7977
7978 # type: textblock
7979 #: ../src/guestfs-actions.pod:2374 ../fish/guestfish-actions.pod:1890
7980 msgid ""
7981 "This returns true iff this handle is ready to accept commands (in the "
7982 "C<READY> state)."
7983 msgstr ""
7984
7985 # type: =head2
7986 #: ../src/guestfs-actions.pod:2381
7987 msgid "guestfs_is_socket"
7988 msgstr ""
7989
7990 # type: verbatim
7991 #: ../src/guestfs-actions.pod:2383
7992 #, no-wrap
7993 msgid ""
7994 " int guestfs_is_socket (guestfs_h *g,\n"
7995 "\t\tconst char *path);\n"
7996 "\n"
7997 msgstr ""
7998
7999 # type: textblock
8000 #: ../src/guestfs-actions.pod:2386 ../fish/guestfish-actions.pod:1899
8001 msgid ""
8002 "This returns C<true> if and only if there is a Unix domain socket with the "
8003 "given C<path> name."
8004 msgstr ""
8005
8006 # type: =head2
8007 #: ../src/guestfs-actions.pod:2393
8008 msgid "guestfs_is_symlink"
8009 msgstr ""
8010
8011 # type: verbatim
8012 #: ../src/guestfs-actions.pod:2395
8013 #, no-wrap
8014 msgid ""
8015 " int guestfs_is_symlink (guestfs_h *g,\n"
8016 "\t\tconst char *path);\n"
8017 "\n"
8018 msgstr ""
8019
8020 # type: textblock
8021 #: ../src/guestfs-actions.pod:2398 ../fish/guestfish-actions.pod:1908
8022 msgid ""
8023 "This returns C<true> if and only if there is a symbolic link with the given "
8024 "C<path> name."
8025 msgstr ""
8026
8027 # type: =head2
8028 #: ../src/guestfs-actions.pod:2405
8029 msgid "guestfs_kill_subprocess"
8030 msgstr ""
8031
8032 # type: verbatim
8033 #: ../src/guestfs-actions.pod:2407
8034 #, no-wrap
8035 msgid ""
8036 " int guestfs_kill_subprocess (guestfs_h *g);\n"
8037 "\n"
8038 msgstr ""
8039
8040 # type: textblock
8041 #: ../src/guestfs-actions.pod:2409 ../fish/guestfish-actions.pod:1917
8042 msgid "This kills the qemu subprocess.  You should never need to call this."
8043 msgstr ""
8044
8045 # type: =head2
8046 #: ../src/guestfs-actions.pod:2413
8047 msgid "guestfs_launch"
8048 msgstr ""
8049
8050 # type: verbatim
8051 #: ../src/guestfs-actions.pod:2415
8052 #, no-wrap
8053 msgid ""
8054 " int guestfs_launch (guestfs_h *g);\n"
8055 "\n"
8056 msgstr ""
8057
8058 # type: textblock
8059 #: ../src/guestfs-actions.pod:2417 ../fish/guestfish-actions.pod:1923
8060 msgid ""
8061 "Internally libguestfs is implemented by running a virtual machine using "
8062 "L<qemu(1)>."
8063 msgstr ""
8064
8065 # type: textblock
8066 #: ../src/guestfs-actions.pod:2420 ../fish/guestfish-actions.pod:1926
8067 msgid ""
8068 "You should call this after configuring the handle (eg. adding drives) but "
8069 "before performing any actions."
8070 msgstr ""
8071
8072 # type: =head2
8073 #: ../src/guestfs-actions.pod:2425
8074 msgid "guestfs_lchown"
8075 msgstr ""
8076
8077 # type: verbatim
8078 #: ../src/guestfs-actions.pod:2427
8079 #, no-wrap
8080 msgid ""
8081 " int guestfs_lchown (guestfs_h *g,\n"
8082 "\t\tint owner,\n"
8083 "\t\tint group,\n"
8084 "\t\tconst char *path);\n"
8085 "\n"
8086 msgstr ""
8087
8088 # type: textblock
8089 #: ../src/guestfs-actions.pod:2432
8090 msgid ""
8091 "Change the file owner to C<owner> and group to C<group>.  This is like "
8092 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
8093 "changed, not the target."
8094 msgstr ""
8095
8096 # type: =head2
8097 #: ../src/guestfs-actions.pod:2442
8098 msgid "guestfs_lgetxattrs"
8099 msgstr ""
8100
8101 # type: verbatim
8102 #: ../src/guestfs-actions.pod:2444
8103 #, no-wrap
8104 msgid ""
8105 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
8106 "\t\tconst char *path);\n"
8107 "\n"
8108 msgstr ""
8109
8110 # type: textblock
8111 #: ../src/guestfs-actions.pod:2447
8112 msgid ""
8113 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
8114 "then it returns the extended attributes of the link itself."
8115 msgstr ""
8116
8117 # type: =head2
8118 #: ../src/guestfs-actions.pod:2456
8119 msgid "guestfs_list_devices"
8120 msgstr ""
8121
8122 # type: verbatim
8123 #: ../src/guestfs-actions.pod:2458
8124 #, no-wrap
8125 msgid ""
8126 " char **guestfs_list_devices (guestfs_h *g);\n"
8127 "\n"
8128 msgstr ""
8129
8130 # type: textblock
8131 #: ../src/guestfs-actions.pod:2460 ../fish/guestfish-actions.pod:1953
8132 msgid "List all the block devices."
8133 msgstr ""
8134
8135 # type: textblock
8136 #: ../src/guestfs-actions.pod:2462 ../fish/guestfish-actions.pod:1955
8137 msgid "The full block device names are returned, eg. C</dev/sda>."
8138 msgstr ""
8139
8140 # type: =head2
8141 #: ../src/guestfs-actions.pod:2470
8142 msgid "guestfs_list_filesystems"
8143 msgstr ""
8144
8145 # type: verbatim
8146 #: ../src/guestfs-actions.pod:2472
8147 #, no-wrap
8148 msgid ""
8149 " char **guestfs_list_filesystems (guestfs_h *g);\n"
8150 "\n"
8151 msgstr ""
8152
8153 # type: textblock
8154 #: ../src/guestfs-actions.pod:2474 ../fish/guestfish-actions.pod:1963
8155 msgid ""
8156 "This inspection command looks for filesystems on partitions, block devices "
8157 "and logical volumes, returning a list of devices containing filesystems and "
8158 "their type."
8159 msgstr ""
8160
8161 # type: textblock
8162 #: ../src/guestfs-actions.pod:2478 ../fish/guestfish-actions.pod:1967
8163 msgid ""
8164 "The return value is a hash, where the keys are the devices containing "
8165 "filesystems, and the values are the filesystem types.  For example:"
8166 msgstr ""
8167
8168 # type: verbatim
8169 #: ../src/guestfs-actions.pod:2482 ../fish/guestfish-actions.pod:1971
8170 #, no-wrap
8171 msgid ""
8172 " \"/dev/sda1\" => \"ntfs\"\n"
8173 " \"/dev/sda2\" => \"ext2\"\n"
8174 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
8175 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
8176 "\n"
8177 msgstr ""
8178
8179 # type: textblock
8180 #: ../src/guestfs-actions.pod:2487 ../fish/guestfish-actions.pod:1976
8181 msgid ""
8182 "The value can have the special value \"unknown\", meaning the content of the "
8183 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
8184 msgstr ""
8185
8186 # type: textblock
8187 #: ../src/guestfs-actions.pod:2491
8188 msgid ""
8189 "This command runs other libguestfs commands, which might include "
8190 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
8191 "soon after launch and only when nothing is mounted."
8192 msgstr ""
8193
8194 # type: textblock
8195 #: ../src/guestfs-actions.pod:2495
8196 msgid ""
8197 "Not all of the filesystems returned will be mountable.  In particular, swap "
8198 "partitions are returned in the list.  Also this command does not check that "
8199 "each filesystem found is valid and mountable, and some filesystems might be "
8200 "mountable but require special options.  Filesystems may not all belong to a "
8201 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
8202 msgstr ""
8203
8204 # type: =head2
8205 #: ../src/guestfs-actions.pod:2509
8206 msgid "guestfs_list_partitions"
8207 msgstr ""
8208
8209 # type: verbatim
8210 #: ../src/guestfs-actions.pod:2511
8211 #, no-wrap
8212 msgid ""
8213 " char **guestfs_list_partitions (guestfs_h *g);\n"
8214 "\n"
8215 msgstr ""
8216
8217 # type: textblock
8218 #: ../src/guestfs-actions.pod:2513 ../fish/guestfish-actions.pod:1996
8219 msgid "List all the partitions detected on all block devices."
8220 msgstr ""
8221
8222 # type: textblock
8223 #: ../src/guestfs-actions.pod:2515 ../fish/guestfish-actions.pod:1998
8224 msgid "The full partition device names are returned, eg. C</dev/sda1>"
8225 msgstr ""
8226
8227 # type: textblock
8228 #: ../src/guestfs-actions.pod:2517
8229 msgid ""
8230 "This does not return logical volumes.  For that you will need to call "
8231 "C<guestfs_lvs>."
8232 msgstr ""
8233
8234 # type: =head2
8235 #: ../src/guestfs-actions.pod:2526
8236 msgid "guestfs_ll"
8237 msgstr ""
8238
8239 # type: verbatim
8240 #: ../src/guestfs-actions.pod:2528
8241 #, no-wrap
8242 msgid ""
8243 " char *guestfs_ll (guestfs_h *g,\n"
8244 "\t\tconst char *directory);\n"
8245 "\n"
8246 msgstr ""
8247
8248 # type: textblock
8249 #: ../src/guestfs-actions.pod:2531 ../fish/guestfish-actions.pod:2009
8250 msgid ""
8251 "List the files in C<directory> (relative to the root directory, there is no "
8252 "cwd) in the format of 'ls -la'."
8253 msgstr ""
8254
8255 # type: textblock
8256 #: ../src/guestfs-actions.pod:2534 ../fish/guestfish-actions.pod:2012
8257 msgid ""
8258 "This command is mostly useful for interactive sessions.  It is I<not> "
8259 "intended that you try to parse the output string."
8260 msgstr ""
8261
8262 # type: =head2
8263 #: ../src/guestfs-actions.pod:2540
8264 msgid "guestfs_ln"
8265 msgstr ""
8266
8267 # type: verbatim
8268 #: ../src/guestfs-actions.pod:2542
8269 #, no-wrap
8270 msgid ""
8271 " int guestfs_ln (guestfs_h *g,\n"
8272 "\t\tconst char *target,\n"
8273 "\t\tconst char *linkname);\n"
8274 "\n"
8275 msgstr ""
8276
8277 # type: textblock
8278 #: ../src/guestfs-actions.pod:2546 ../fish/guestfish-actions.pod:2019
8279 msgid "This command creates a hard link using the C<ln> command."
8280 msgstr ""
8281
8282 # type: =head2
8283 #: ../src/guestfs-actions.pod:2550
8284 msgid "guestfs_ln_f"
8285 msgstr ""
8286
8287 # type: verbatim
8288 #: ../src/guestfs-actions.pod:2552
8289 #, no-wrap
8290 msgid ""
8291 " int guestfs_ln_f (guestfs_h *g,\n"
8292 "\t\tconst char *target,\n"
8293 "\t\tconst char *linkname);\n"
8294 "\n"
8295 msgstr ""
8296
8297 # type: textblock
8298 #: ../src/guestfs-actions.pod:2556 ../fish/guestfish-actions.pod:2025
8299 msgid ""
8300 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
8301 "option removes the link (C<linkname>) if it exists already."
8302 msgstr ""
8303
8304 # type: =head2
8305 #: ../src/guestfs-actions.pod:2561
8306 msgid "guestfs_ln_s"
8307 msgstr ""
8308
8309 # type: verbatim
8310 #: ../src/guestfs-actions.pod:2563
8311 #, no-wrap
8312 msgid ""
8313 " int guestfs_ln_s (guestfs_h *g,\n"
8314 "\t\tconst char *target,\n"
8315 "\t\tconst char *linkname);\n"
8316 "\n"
8317 msgstr ""
8318
8319 # type: textblock
8320 #: ../src/guestfs-actions.pod:2567 ../fish/guestfish-actions.pod:2032
8321 msgid "This command creates a symbolic link using the C<ln -s> command."
8322 msgstr ""
8323
8324 # type: =head2
8325 #: ../src/guestfs-actions.pod:2571
8326 msgid "guestfs_ln_sf"
8327 msgstr ""
8328
8329 # type: verbatim
8330 #: ../src/guestfs-actions.pod:2573
8331 #, no-wrap
8332 msgid ""
8333 " int guestfs_ln_sf (guestfs_h *g,\n"
8334 "\t\tconst char *target,\n"
8335 "\t\tconst char *linkname);\n"
8336 "\n"
8337 msgstr ""
8338
8339 # type: textblock
8340 #: ../src/guestfs-actions.pod:2577 ../fish/guestfish-actions.pod:2038
8341 msgid ""
8342 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
8343 "option removes the link (C<linkname>) if it exists already."
8344 msgstr ""
8345
8346 # type: =head2
8347 #: ../src/guestfs-actions.pod:2582
8348 msgid "guestfs_lremovexattr"
8349 msgstr ""
8350
8351 # type: verbatim
8352 #: ../src/guestfs-actions.pod:2584
8353 #, no-wrap
8354 msgid ""
8355 " int guestfs_lremovexattr (guestfs_h *g,\n"
8356 "\t\tconst char *xattr,\n"
8357 "\t\tconst char *path);\n"
8358 "\n"
8359 msgstr ""
8360
8361 # type: textblock
8362 #: ../src/guestfs-actions.pod:2588
8363 msgid ""
8364 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
8365 "link, then it removes an extended attribute of the link itself."
8366 msgstr ""
8367
8368 # type: =head2
8369 #: ../src/guestfs-actions.pod:2594
8370 msgid "guestfs_ls"
8371 msgstr ""
8372
8373 # type: verbatim
8374 #: ../src/guestfs-actions.pod:2596
8375 #, no-wrap
8376 msgid ""
8377 " char **guestfs_ls (guestfs_h *g,\n"
8378 "\t\tconst char *directory);\n"
8379 "\n"
8380 msgstr ""
8381
8382 # type: textblock
8383 #: ../src/guestfs-actions.pod:2599 ../fish/guestfish-actions.pod:2053
8384 msgid ""
8385 "List the files in C<directory> (relative to the root directory, there is no "
8386 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
8387 msgstr ""
8388
8389 # type: textblock
8390 #: ../src/guestfs-actions.pod:2603
8391 msgid ""
8392 "This command is mostly useful for interactive sessions.  Programs should "
8393 "probably use C<guestfs_readdir> instead."
8394 msgstr ""
8395
8396 # type: =head2
8397 #: ../src/guestfs-actions.pod:2610
8398 msgid "guestfs_lsetxattr"
8399 msgstr ""
8400
8401 # type: verbatim
8402 #: ../src/guestfs-actions.pod:2612
8403 #, no-wrap
8404 msgid ""
8405 " int guestfs_lsetxattr (guestfs_h *g,\n"
8406 "\t\tconst char *xattr,\n"
8407 "\t\tconst char *val,\n"
8408 "\t\tint vallen,\n"
8409 "\t\tconst char *path);\n"
8410 "\n"
8411 msgstr ""
8412
8413 # type: textblock
8414 #: ../src/guestfs-actions.pod:2618
8415 msgid ""
8416 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8417 "then it sets an extended attribute of the link itself."
8418 msgstr ""
8419
8420 # type: =head2
8421 #: ../src/guestfs-actions.pod:2624
8422 msgid "guestfs_lstat"
8423 msgstr ""
8424
8425 # type: verbatim
8426 #: ../src/guestfs-actions.pod:2626
8427 #, no-wrap
8428 msgid ""
8429 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8430 "\t\tconst char *path);\n"
8431 "\n"
8432 msgstr ""
8433
8434 # type: textblock
8435 #: ../src/guestfs-actions.pod:2629 ../src/guestfs-actions.pod:4627
8436 #: ../fish/guestfish-actions.pod:2072 ../fish/guestfish-actions.pod:3572
8437 msgid "Returns file information for the given C<path>."
8438 msgstr ""
8439
8440 # type: textblock
8441 #: ../src/guestfs-actions.pod:2631
8442 msgid ""
8443 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8444 "link, then the link is stat-ed, not the file it refers to."
8445 msgstr ""
8446
8447 # type: textblock
8448 #: ../src/guestfs-actions.pod:2635 ../fish/guestfish-actions.pod:2078
8449 msgid "This is the same as the C<lstat(2)> system call."
8450 msgstr ""
8451
8452 # type: textblock
8453 #: ../src/guestfs-actions.pod:2637 ../src/guestfs-actions.pod:4631
8454 msgid ""
8455 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8456 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8457 msgstr ""
8458
8459 # type: =head2
8460 #: ../src/guestfs-actions.pod:2641
8461 msgid "guestfs_lstatlist"
8462 msgstr ""
8463
8464 # type: verbatim
8465 #: ../src/guestfs-actions.pod:2643
8466 #, no-wrap
8467 msgid ""
8468 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8469 "\t\tconst char *path,\n"
8470 "\t\tchar *const *names);\n"
8471 "\n"
8472 msgstr ""
8473
8474 # type: textblock
8475 #: ../src/guestfs-actions.pod:2647
8476 msgid ""
8477 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8478 "files, where all files are in the directory C<path>.  C<names> is the list "
8479 "of files from this directory."
8480 msgstr ""
8481
8482 # type: textblock
8483 #: ../src/guestfs-actions.pod:2651 ../fish/guestfish-actions.pod:2088
8484 msgid ""
8485 "On return you get a list of stat structs, with a one-to-one correspondence "
8486 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8487 "then the C<ino> field of that structure is set to C<-1>."
8488 msgstr ""
8489
8490 # type: textblock
8491 #: ../src/guestfs-actions.pod:2656
8492 msgid ""
8493 "This call is intended for programs that want to efficiently list a directory "
8494 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8495 "for a similarly efficient call for getting extended attributes.  Very long "
8496 "directory listings might cause the protocol message size to be exceeded, "
8497 "causing this call to fail.  The caller must split up such requests into "
8498 "smaller groups of names."
8499 msgstr ""
8500
8501 # type: textblock
8502 #: ../src/guestfs-actions.pod:2664
8503 msgid ""
8504 "This function returns a C<struct guestfs_stat_list *> (see E<lt>guestfs-"
8505 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
8506 "C<guestfs_free_stat_list> after use>."
8507 msgstr ""
8508
8509 # type: =head2
8510 #: ../src/guestfs-actions.pod:2669
8511 msgid "guestfs_luks_add_key"
8512 msgstr ""
8513
8514 # type: verbatim
8515 #: ../src/guestfs-actions.pod:2671
8516 #, no-wrap
8517 msgid ""
8518 " int guestfs_luks_add_key (guestfs_h *g,\n"
8519 "\t\tconst char *device,\n"
8520 "\t\tconst char *key,\n"
8521 "\t\tconst char *newkey,\n"
8522 "\t\tint keyslot);\n"
8523 "\n"
8524 msgstr ""
8525
8526 # type: textblock
8527 #: ../src/guestfs-actions.pod:2677 ../fish/guestfish-actions.pod:2105
8528 msgid ""
8529 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8530 "existing key, and is used to access the device.  C<newkey> is the new key to "
8531 "add.  C<keyslot> is the key slot that will be replaced."
8532 msgstr ""
8533
8534 # type: textblock
8535 #: ../src/guestfs-actions.pod:2682
8536 msgid ""
8537 "Note that if C<keyslot> already contains a key, then this command will "
8538 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8539 msgstr ""
8540
8541 # type: textblock
8542 #: ../src/guestfs-actions.pod:2688 ../src/guestfs-actions.pod:2722
8543 #: ../src/guestfs-actions.pod:2742 ../src/guestfs-actions.pod:2759
8544 #: ../src/guestfs-actions.pod:2788 ../src/guestfs-actions.pod:2804
8545 msgid ""
8546 "This function takes a key or passphrase parameter which could contain "
8547 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8548 "information."
8549 msgstr ""
8550
8551 # type: =head2
8552 #: ../src/guestfs-actions.pod:2692
8553 msgid "guestfs_luks_close"
8554 msgstr ""
8555
8556 # type: verbatim
8557 #: ../src/guestfs-actions.pod:2694
8558 #, no-wrap
8559 msgid ""
8560 " int guestfs_luks_close (guestfs_h *g,\n"
8561 "\t\tconst char *device);\n"
8562 "\n"
8563 msgstr ""
8564
8565 # type: textblock
8566 #: ../src/guestfs-actions.pod:2697
8567 msgid ""
8568 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8569 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8570 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8571 "underlying block device."
8572 msgstr ""
8573
8574 # type: =head2
8575 #: ../src/guestfs-actions.pod:2705
8576 msgid "guestfs_luks_format"
8577 msgstr ""
8578
8579 # type: verbatim
8580 #: ../src/guestfs-actions.pod:2707
8581 #, no-wrap
8582 msgid ""
8583 " int guestfs_luks_format (guestfs_h *g,\n"
8584 "\t\tconst char *device,\n"
8585 "\t\tconst char *key,\n"
8586 "\t\tint keyslot);\n"
8587 "\n"
8588 msgstr ""
8589
8590 # type: textblock
8591 #: ../src/guestfs-actions.pod:2712 ../fish/guestfish-actions.pod:2131
8592 msgid ""
8593 "This command erases existing data on C<device> and formats the device as a "
8594 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8595 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8596 msgstr ""
8597
8598 # type: textblock
8599 #: ../src/guestfs-actions.pod:2719 ../src/guestfs-actions.pod:2739
8600 #: ../src/guestfs-actions.pod:2841 ../src/guestfs-actions.pod:3553
8601 #: ../src/guestfs-actions.pod:4168 ../src/guestfs-actions.pod:4489
8602 #: ../src/guestfs-actions.pod:4509 ../src/guestfs-actions.pod:4532
8603 #: ../src/guestfs-actions.pod:5471 ../fish/guestfish-actions.pod:2139
8604 #: ../fish/guestfish-actions.pod:2152 ../fish/guestfish-actions.pod:2223
8605 #: ../fish/guestfish-actions.pod:2738 ../fish/guestfish-actions.pod:3213
8606 #: ../fish/guestfish-actions.pod:3471 ../fish/guestfish-actions.pod:3487
8607 #: ../fish/guestfish-actions.pod:3502 ../fish/guestfish-actions.pod:4190
8608 msgid ""
8609 "B<This command is dangerous.  Without careful use you can easily destroy all "
8610 "your data>."
8611 msgstr ""
8612
8613 # type: =head2
8614 #: ../src/guestfs-actions.pod:2726
8615 msgid "guestfs_luks_format_cipher"
8616 msgstr ""
8617
8618 # type: verbatim
8619 #: ../src/guestfs-actions.pod:2728
8620 #, no-wrap
8621 msgid ""
8622 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8623 "\t\tconst char *device,\n"
8624 "\t\tconst char *key,\n"
8625 "\t\tint keyslot,\n"
8626 "\t\tconst char *cipher);\n"
8627 "\n"
8628 msgstr ""
8629
8630 # type: textblock
8631 #: ../src/guestfs-actions.pod:2734
8632 msgid ""
8633 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8634 "set the C<cipher> used."
8635 msgstr ""
8636
8637 # type: =head2
8638 #: ../src/guestfs-actions.pod:2746
8639 msgid "guestfs_luks_kill_slot"
8640 msgstr ""
8641
8642 # type: verbatim
8643 #: ../src/guestfs-actions.pod:2748
8644 #, no-wrap
8645 msgid ""
8646 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8647 "\t\tconst char *device,\n"
8648 "\t\tconst char *key,\n"
8649 "\t\tint keyslot);\n"
8650 "\n"
8651 msgstr ""
8652
8653 # type: textblock
8654 #: ../src/guestfs-actions.pod:2753 ../fish/guestfish-actions.pod:2159
8655 msgid ""
8656 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8657 "device C<device>.  C<key> must be one of the I<other> keys."
8658 msgstr ""
8659
8660 # type: =head2
8661 #: ../src/guestfs-actions.pod:2763
8662 msgid "guestfs_luks_open"
8663 msgstr ""
8664
8665 # type: verbatim
8666 #: ../src/guestfs-actions.pod:2765
8667 #, no-wrap
8668 msgid ""
8669 " int guestfs_luks_open (guestfs_h *g,\n"
8670 "\t\tconst char *device,\n"
8671 "\t\tconst char *key,\n"
8672 "\t\tconst char *mapname);\n"
8673 "\n"
8674 msgstr ""
8675
8676 # type: textblock
8677 #: ../src/guestfs-actions.pod:2770 ../fish/guestfish-actions.pod:2170
8678 msgid ""
8679 "This command opens a block device which has been encrypted according to the "
8680 "Linux Unified Key Setup (LUKS) standard."
8681 msgstr ""
8682
8683 # type: textblock
8684 #: ../src/guestfs-actions.pod:2773 ../fish/guestfish-actions.pod:2173
8685 msgid "C<device> is the encrypted block device or partition."
8686 msgstr ""
8687
8688 # type: textblock
8689 #: ../src/guestfs-actions.pod:2775 ../fish/guestfish-actions.pod:2175
8690 msgid ""
8691 "The caller must supply one of the keys associated with the LUKS block "
8692 "device, in the C<key> parameter."
8693 msgstr ""
8694
8695 # type: textblock
8696 #: ../src/guestfs-actions.pod:2778 ../fish/guestfish-actions.pod:2178
8697 msgid ""
8698 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8699 "writes to this block device are decrypted from and encrypted to the "
8700 "underlying C<device> respectively."
8701 msgstr ""
8702
8703 # type: textblock
8704 #: ../src/guestfs-actions.pod:2782
8705 msgid ""
8706 "If this block device contains LVM volume groups, then calling "
8707 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8708 "visible."
8709 msgstr ""
8710
8711 # type: =head2
8712 #: ../src/guestfs-actions.pod:2792
8713 msgid "guestfs_luks_open_ro"
8714 msgstr ""
8715
8716 # type: verbatim
8717 #: ../src/guestfs-actions.pod:2794
8718 #, no-wrap
8719 msgid ""
8720 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8721 "\t\tconst char *device,\n"
8722 "\t\tconst char *key,\n"
8723 "\t\tconst char *mapname);\n"
8724 "\n"
8725 msgstr ""
8726
8727 # type: textblock
8728 #: ../src/guestfs-actions.pod:2799
8729 msgid ""
8730 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8731 "created."
8732 msgstr ""
8733
8734 # type: =head2
8735 #: ../src/guestfs-actions.pod:2808
8736 msgid "guestfs_lvcreate"
8737 msgstr ""
8738
8739 # type: verbatim
8740 #: ../src/guestfs-actions.pod:2810
8741 #, no-wrap
8742 msgid ""
8743 " int guestfs_lvcreate (guestfs_h *g,\n"
8744 "\t\tconst char *logvol,\n"
8745 "\t\tconst char *volgroup,\n"
8746 "\t\tint mbytes);\n"
8747 "\n"
8748 msgstr ""
8749
8750 # type: textblock
8751 #: ../src/guestfs-actions.pod:2815 ../fish/guestfish-actions.pod:2203
8752 msgid ""
8753 "This creates an LVM logical volume called C<logvol> on the volume group "
8754 "C<volgroup>, with C<size> megabytes."
8755 msgstr ""
8756
8757 # type: =head2
8758 #: ../src/guestfs-actions.pod:2820
8759 msgid "guestfs_lvm_clear_filter"
8760 msgstr ""
8761
8762 # type: verbatim
8763 #: ../src/guestfs-actions.pod:2822
8764 #, no-wrap
8765 msgid ""
8766 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8767 "\n"
8768 msgstr ""
8769
8770 # type: textblock
8771 #: ../src/guestfs-actions.pod:2824
8772 msgid ""
8773 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8774 "see every block device."
8775 msgstr ""
8776
8777 # type: textblock
8778 #: ../src/guestfs-actions.pod:2827 ../src/guestfs-actions.pod:2863
8779 #: ../fish/guestfish-actions.pod:2213 ../fish/guestfish-actions.pod:2244
8780 msgid ""
8781 "This command also clears the LVM cache and performs a volume group scan."
8782 msgstr ""
8783
8784 # type: =head2
8785 #: ../src/guestfs-actions.pod:2832
8786 msgid "guestfs_lvm_remove_all"
8787 msgstr ""
8788
8789 # type: verbatim
8790 #: ../src/guestfs-actions.pod:2834
8791 #, no-wrap
8792 msgid ""
8793 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8794 "\n"
8795 msgstr ""
8796
8797 # type: textblock
8798 #: ../src/guestfs-actions.pod:2836 ../fish/guestfish-actions.pod:2220
8799 msgid ""
8800 "This command removes all LVM logical volumes, volume groups and physical "
8801 "volumes."
8802 msgstr ""
8803
8804 # type: =head2
8805 #: ../src/guestfs-actions.pod:2844
8806 msgid "guestfs_lvm_set_filter"
8807 msgstr ""
8808
8809 # type: verbatim
8810 #: ../src/guestfs-actions.pod:2846
8811 #, no-wrap
8812 msgid ""
8813 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8814 "\t\tchar *const *devices);\n"
8815 "\n"
8816 msgstr ""
8817
8818 # type: textblock
8819 #: ../src/guestfs-actions.pod:2849 ../fish/guestfish-actions.pod:2230
8820 msgid ""
8821 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8822 "block devices in the list C<devices>, and will ignore all other attached "
8823 "block devices."
8824 msgstr ""
8825
8826 # type: textblock
8827 #: ../src/guestfs-actions.pod:2853 ../fish/guestfish-actions.pod:2234
8828 msgid ""
8829 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8830 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8831 "there are two types of duplication possible: either cloned PVs/VGs which "
8832 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8833 "same name.  In normal operation you cannot create this situation, but you "
8834 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8835 "inside the LVM metadata."
8836 msgstr ""
8837
8838 # type: textblock
8839 #: ../src/guestfs-actions.pod:2866 ../fish/guestfish-actions.pod:2247
8840 msgid "You can filter whole block devices or individual partitions."
8841 msgstr ""
8842
8843 # type: textblock
8844 #: ../src/guestfs-actions.pod:2868 ../fish/guestfish-actions.pod:2249
8845 msgid ""
8846 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8847 "filesystem), even if you are not filtering out that VG."
8848 msgstr ""
8849
8850 # type: =head2
8851 #: ../src/guestfs-actions.pod:2874
8852 msgid "guestfs_lvremove"
8853 msgstr ""
8854
8855 # type: verbatim
8856 #: ../src/guestfs-actions.pod:2876
8857 #, no-wrap
8858 msgid ""
8859 " int guestfs_lvremove (guestfs_h *g,\n"
8860 "\t\tconst char *device);\n"
8861 "\n"
8862 msgstr ""
8863
8864 # type: textblock
8865 #: ../src/guestfs-actions.pod:2879 ../fish/guestfish-actions.pod:2257
8866 msgid ""
8867 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8868 "LV, such as C</dev/VG/LV>."
8869 msgstr ""
8870
8871 # type: textblock
8872 #: ../src/guestfs-actions.pod:2882 ../fish/guestfish-actions.pod:2260
8873 msgid ""
8874 "You can also remove all LVs in a volume group by specifying the VG name, C</"
8875 "dev/VG>."
8876 msgstr ""
8877
8878 # type: =head2
8879 #: ../src/guestfs-actions.pod:2887
8880 msgid "guestfs_lvrename"
8881 msgstr ""
8882
8883 # type: verbatim
8884 #: ../src/guestfs-actions.pod:2889
8885 #, no-wrap
8886 msgid ""
8887 " int guestfs_lvrename (guestfs_h *g,\n"
8888 "\t\tconst char *logvol,\n"
8889 "\t\tconst char *newlogvol);\n"
8890 "\n"
8891 msgstr ""
8892
8893 # type: textblock
8894 #: ../src/guestfs-actions.pod:2893 ../fish/guestfish-actions.pod:2267
8895 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8896 msgstr ""
8897
8898 # type: =head2
8899 #: ../src/guestfs-actions.pod:2897
8900 msgid "guestfs_lvresize"
8901 msgstr ""
8902
8903 # type: verbatim
8904 #: ../src/guestfs-actions.pod:2899
8905 #, no-wrap
8906 msgid ""
8907 " int guestfs_lvresize (guestfs_h *g,\n"
8908 "\t\tconst char *device,\n"
8909 "\t\tint mbytes);\n"
8910 "\n"
8911 msgstr ""
8912
8913 # type: textblock
8914 #: ../src/guestfs-actions.pod:2903 ../fish/guestfish-actions.pod:2273
8915 msgid ""
8916 "This resizes (expands or shrinks) an existing LVM logical volume to "
8917 "C<mbytes>.  When reducing, data in the reduced part is lost."
8918 msgstr ""
8919
8920 # type: =head2
8921 #: ../src/guestfs-actions.pod:2909
8922 msgid "guestfs_lvresize_free"
8923 msgstr ""
8924
8925 # type: verbatim
8926 #: ../src/guestfs-actions.pod:2911
8927 #, no-wrap
8928 msgid ""
8929 " int guestfs_lvresize_free (guestfs_h *g,\n"
8930 "\t\tconst char *lv,\n"
8931 "\t\tint percent);\n"
8932 "\n"
8933 msgstr ""
8934
8935 # type: textblock
8936 #: ../src/guestfs-actions.pod:2915 ../fish/guestfish-actions.pod:2281
8937 msgid ""
8938 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
8939 "remaining free space in the volume group.  Commonly you would call this with "
8940 "pc = 100 which expands the logical volume as much as possible, using all "
8941 "remaining free space in the volume group."
8942 msgstr ""
8943
8944 # type: =head2
8945 #: ../src/guestfs-actions.pod:2923
8946 msgid "guestfs_lvs"
8947 msgstr ""
8948
8949 # type: verbatim
8950 #: ../src/guestfs-actions.pod:2925
8951 #, no-wrap
8952 msgid ""
8953 " char **guestfs_lvs (guestfs_h *g);\n"
8954 "\n"
8955 msgstr ""
8956
8957 # type: textblock
8958 #: ../src/guestfs-actions.pod:2927 ../fish/guestfish-actions.pod:2291
8959 msgid ""
8960 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
8961 "(8)> command."
8962 msgstr ""
8963
8964 # type: textblock
8965 #: ../src/guestfs-actions.pod:2930 ../fish/guestfish-actions.pod:2294
8966 msgid ""
8967 "This returns a list of the logical volume device names (eg. C</dev/"
8968 "VolGroup00/LogVol00>)."
8969 msgstr ""
8970
8971 # type: textblock
8972 #: ../src/guestfs-actions.pod:2933
8973 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
8974 msgstr ""
8975
8976 # type: =head2
8977 #: ../src/guestfs-actions.pod:2939
8978 msgid "guestfs_lvs_full"
8979 msgstr ""
8980
8981 # type: verbatim
8982 #: ../src/guestfs-actions.pod:2941
8983 #, no-wrap
8984 msgid ""
8985 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
8986 "\n"
8987 msgstr ""
8988
8989 # type: textblock
8990 #: ../src/guestfs-actions.pod:2943 ../fish/guestfish-actions.pod:2303
8991 msgid ""
8992 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
8993 "(8)> command.  The \"full\" version includes all fields."
8994 msgstr ""
8995
8996 # type: textblock
8997 #: ../src/guestfs-actions.pod:2946
8998 msgid ""
8999 "This function returns a C<struct guestfs_lvm_lv_list *> (see E<lt>guestfs-"
9000 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
9001 "C<guestfs_free_lvm_lv_list> after use>."
9002 msgstr ""
9003
9004 # type: =head2
9005 #: ../src/guestfs-actions.pod:2951
9006 msgid "guestfs_lvuuid"
9007 msgstr ""
9008
9009 # type: verbatim
9010 #: ../src/guestfs-actions.pod:2953
9011 #, no-wrap
9012 msgid ""
9013 " char *guestfs_lvuuid (guestfs_h *g,\n"
9014 "\t\tconst char *device);\n"
9015 "\n"
9016 msgstr ""
9017
9018 # type: textblock
9019 #: ../src/guestfs-actions.pod:2956 ../fish/guestfish-actions.pod:2310
9020 msgid "This command returns the UUID of the LVM LV C<device>."
9021 msgstr ""
9022
9023 # type: =head2
9024 #: ../src/guestfs-actions.pod:2961
9025 msgid "guestfs_lxattrlist"
9026 msgstr ""
9027
9028 # type: verbatim
9029 #: ../src/guestfs-actions.pod:2963
9030 #, no-wrap
9031 msgid ""
9032 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
9033 "\t\tconst char *path,\n"
9034 "\t\tchar *const *names);\n"
9035 "\n"
9036 msgstr ""
9037
9038 # type: textblock
9039 #: ../src/guestfs-actions.pod:2967 ../fish/guestfish-actions.pod:2316
9040 msgid ""
9041 "This call allows you to get the extended attributes of multiple files, where "
9042 "all files are in the directory C<path>.  C<names> is the list of files from "
9043 "this directory."
9044 msgstr ""
9045
9046 # type: textblock
9047 #: ../src/guestfs-actions.pod:2971 ../fish/guestfish-actions.pod:2320
9048 msgid ""
9049 "On return you get a flat list of xattr structs which must be interpreted "
9050 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
9051 "C<attrval> in this struct is zero-length to indicate there was an error "
9052 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
9053 "number (the number of following attributes for this file, which could be C<"
9054 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
9055 "for the first named file.  This repeats for the second and subsequent files."
9056 msgstr ""
9057
9058 # type: textblock
9059 #: ../src/guestfs-actions.pod:2981
9060 msgid ""
9061 "This call is intended for programs that want to efficiently list a directory "
9062 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
9063 "a similarly efficient call for getting standard stats.  Very long directory "
9064 "listings might cause the protocol message size to be exceeded, causing this "
9065 "call to fail.  The caller must split up such requests into smaller groups of "
9066 "names."
9067 msgstr ""
9068
9069 # type: =head2
9070 #: ../src/guestfs-actions.pod:2994
9071 msgid "guestfs_mkdir"
9072 msgstr ""
9073
9074 # type: verbatim
9075 #: ../src/guestfs-actions.pod:2996
9076 #, no-wrap
9077 msgid ""
9078 " int guestfs_mkdir (guestfs_h *g,\n"
9079 "\t\tconst char *path);\n"
9080 "\n"
9081 msgstr ""
9082
9083 # type: textblock
9084 #: ../src/guestfs-actions.pod:2999 ../fish/guestfish-actions.pod:2342
9085 msgid "Create a directory named C<path>."
9086 msgstr ""
9087
9088 # type: =head2
9089 #: ../src/guestfs-actions.pod:3003
9090 msgid "guestfs_mkdir_mode"
9091 msgstr ""
9092
9093 # type: verbatim
9094 #: ../src/guestfs-actions.pod:3005
9095 #, no-wrap
9096 msgid ""
9097 " int guestfs_mkdir_mode (guestfs_h *g,\n"
9098 "\t\tconst char *path,\n"
9099 "\t\tint mode);\n"
9100 "\n"
9101 msgstr ""
9102
9103 # type: textblock
9104 #: ../src/guestfs-actions.pod:3009 ../fish/guestfish-actions.pod:2348
9105 msgid ""
9106 "This command creates a directory, setting the initial permissions of the "
9107 "directory to C<mode>."
9108 msgstr ""
9109
9110 # type: textblock
9111 #: ../src/guestfs-actions.pod:3012 ../fish/guestfish-actions.pod:2351
9112 msgid ""
9113 "For common Linux filesystems, the actual mode which is set will be C<mode & "
9114 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
9115 "other ways."
9116 msgstr ""
9117
9118 # type: textblock
9119 #: ../src/guestfs-actions.pod:3016
9120 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
9121 msgstr ""
9122
9123 # type: =head2
9124 #: ../src/guestfs-actions.pod:3020
9125 msgid "guestfs_mkdir_p"
9126 msgstr ""
9127
9128 # type: verbatim
9129 #: ../src/guestfs-actions.pod:3022
9130 #, no-wrap
9131 msgid ""
9132 " int guestfs_mkdir_p (guestfs_h *g,\n"
9133 "\t\tconst char *path);\n"
9134 "\n"
9135 msgstr ""
9136
9137 # type: textblock
9138 #: ../src/guestfs-actions.pod:3025 ../fish/guestfish-actions.pod:2361
9139 msgid ""
9140 "Create a directory named C<path>, creating any parent directories as "
9141 "necessary.  This is like the C<mkdir -p> shell command."
9142 msgstr ""
9143
9144 # type: =head2
9145 #: ../src/guestfs-actions.pod:3030
9146 msgid "guestfs_mkdtemp"
9147 msgstr ""
9148
9149 # type: verbatim
9150 #: ../src/guestfs-actions.pod:3032
9151 #, no-wrap
9152 msgid ""
9153 " char *guestfs_mkdtemp (guestfs_h *g,\n"
9154 "\t\tconst char *template);\n"
9155 "\n"
9156 msgstr ""
9157
9158 # type: textblock
9159 #: ../src/guestfs-actions.pod:3035 ../fish/guestfish-actions.pod:2368
9160 msgid ""
9161 "This command creates a temporary directory.  The C<template> parameter "
9162 "should be a full pathname for the temporary directory name with the final "
9163 "six characters being \"XXXXXX\"."
9164 msgstr ""
9165
9166 # type: textblock
9167 #: ../src/guestfs-actions.pod:3040 ../fish/guestfish-actions.pod:2373
9168 msgid ""
9169 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
9170 "being suitable for Windows filesystems."
9171 msgstr ""
9172
9173 # type: textblock
9174 #: ../src/guestfs-actions.pod:3043 ../fish/guestfish-actions.pod:2376
9175 msgid "The name of the temporary directory that was created is returned."
9176 msgstr ""
9177
9178 # type: textblock
9179 #: ../src/guestfs-actions.pod:3046 ../fish/guestfish-actions.pod:2379
9180 msgid "The temporary directory is created with mode 0700 and is owned by root."
9181 msgstr ""
9182
9183 # type: textblock
9184 #: ../src/guestfs-actions.pod:3049 ../fish/guestfish-actions.pod:2382
9185 msgid ""
9186 "The caller is responsible for deleting the temporary directory and its "
9187 "contents after use."
9188 msgstr ""
9189
9190 # type: textblock
9191 #: ../src/guestfs-actions.pod:3052 ../fish/guestfish-actions.pod:2385
9192 msgid "See also: L<mkdtemp(3)>"
9193 msgstr ""
9194
9195 # type: =head2
9196 #: ../src/guestfs-actions.pod:3057
9197 msgid "guestfs_mke2fs_J"
9198 msgstr ""
9199
9200 # type: verbatim
9201 #: ../src/guestfs-actions.pod:3059
9202 #, no-wrap
9203 msgid ""
9204 " int guestfs_mke2fs_J (guestfs_h *g,\n"
9205 "\t\tconst char *fstype,\n"
9206 "\t\tint blocksize,\n"
9207 "\t\tconst char *device,\n"
9208 "\t\tconst char *journal);\n"
9209 "\n"
9210 msgstr ""
9211
9212 # type: textblock
9213 #: ../src/guestfs-actions.pod:3065 ../fish/guestfish-actions.pod:2391
9214 msgid ""
9215 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9216 "C<journal>.  It is equivalent to the command:"
9217 msgstr ""
9218
9219 # type: verbatim
9220 #: ../src/guestfs-actions.pod:3069 ../fish/guestfish-actions.pod:2395
9221 #, no-wrap
9222 msgid ""
9223 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
9224 "\n"
9225 msgstr ""
9226
9227 # type: textblock
9228 #: ../src/guestfs-actions.pod:3071
9229 msgid "See also C<guestfs_mke2journal>."
9230 msgstr ""
9231
9232 # type: =head2
9233 #: ../src/guestfs-actions.pod:3075
9234 msgid "guestfs_mke2fs_JL"
9235 msgstr ""
9236
9237 # type: verbatim
9238 #: ../src/guestfs-actions.pod:3077
9239 #, no-wrap
9240 msgid ""
9241 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
9242 "\t\tconst char *fstype,\n"
9243 "\t\tint blocksize,\n"
9244 "\t\tconst char *device,\n"
9245 "\t\tconst char *label);\n"
9246 "\n"
9247 msgstr ""
9248
9249 # type: textblock
9250 #: ../src/guestfs-actions.pod:3083 ../fish/guestfish-actions.pod:2403
9251 msgid ""
9252 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9253 "the journal labeled C<label>."
9254 msgstr ""
9255
9256 # type: textblock
9257 #: ../src/guestfs-actions.pod:3086
9258 msgid "See also C<guestfs_mke2journal_L>."
9259 msgstr ""
9260
9261 # type: =head2
9262 #: ../src/guestfs-actions.pod:3090
9263 msgid "guestfs_mke2fs_JU"
9264 msgstr ""
9265
9266 # type: verbatim
9267 #: ../src/guestfs-actions.pod:3092
9268 #, no-wrap
9269 msgid ""
9270 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
9271 "\t\tconst char *fstype,\n"
9272 "\t\tint blocksize,\n"
9273 "\t\tconst char *device,\n"
9274 "\t\tconst char *uuid);\n"
9275 "\n"
9276 msgstr ""
9277
9278 # type: textblock
9279 #: ../src/guestfs-actions.pod:3098 ../fish/guestfish-actions.pod:2412
9280 msgid ""
9281 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9282 "the journal with UUID C<uuid>."
9283 msgstr ""
9284
9285 # type: textblock
9286 #: ../src/guestfs-actions.pod:3101
9287 msgid "See also C<guestfs_mke2journal_U>."
9288 msgstr ""
9289
9290 # type: =head2
9291 #: ../src/guestfs-actions.pod:3105
9292 msgid "guestfs_mke2journal"
9293 msgstr ""
9294
9295 # type: verbatim
9296 #: ../src/guestfs-actions.pod:3107
9297 #, no-wrap
9298 msgid ""
9299 " int guestfs_mke2journal (guestfs_h *g,\n"
9300 "\t\tint blocksize,\n"
9301 "\t\tconst char *device);\n"
9302 "\n"
9303 msgstr ""
9304
9305 # type: textblock
9306 #: ../src/guestfs-actions.pod:3111 ../fish/guestfish-actions.pod:2421
9307 msgid ""
9308 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
9309 "command:"
9310 msgstr ""
9311
9312 # type: verbatim
9313 #: ../src/guestfs-actions.pod:3114 ../fish/guestfish-actions.pod:2424
9314 #, no-wrap
9315 msgid ""
9316 " mke2fs -O journal_dev -b blocksize device\n"
9317 "\n"
9318 msgstr ""
9319
9320 # type: =head2
9321 #: ../src/guestfs-actions.pod:3118
9322 msgid "guestfs_mke2journal_L"
9323 msgstr ""
9324
9325 # type: verbatim
9326 #: ../src/guestfs-actions.pod:3120
9327 #, no-wrap
9328 msgid ""
9329 " int guestfs_mke2journal_L (guestfs_h *g,\n"
9330 "\t\tint blocksize,\n"
9331 "\t\tconst char *label,\n"
9332 "\t\tconst char *device);\n"
9333 "\n"
9334 msgstr ""
9335
9336 # type: textblock
9337 #: ../src/guestfs-actions.pod:3125 ../fish/guestfish-actions.pod:2430
9338 msgid "This creates an ext2 external journal on C<device> with label C<label>."
9339 msgstr ""
9340
9341 # type: =head2
9342 #: ../src/guestfs-actions.pod:3129
9343 msgid "guestfs_mke2journal_U"
9344 msgstr ""
9345
9346 # type: verbatim
9347 #: ../src/guestfs-actions.pod:3131
9348 #, no-wrap
9349 msgid ""
9350 " int guestfs_mke2journal_U (guestfs_h *g,\n"
9351 "\t\tint blocksize,\n"
9352 "\t\tconst char *uuid,\n"
9353 "\t\tconst char *device);\n"
9354 "\n"
9355 msgstr ""
9356
9357 # type: textblock
9358 #: ../src/guestfs-actions.pod:3136 ../fish/guestfish-actions.pod:2436
9359 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
9360 msgstr ""
9361
9362 # type: =head2
9363 #: ../src/guestfs-actions.pod:3140
9364 msgid "guestfs_mkfifo"
9365 msgstr ""
9366
9367 # type: verbatim
9368 #: ../src/guestfs-actions.pod:3142
9369 #, no-wrap
9370 msgid ""
9371 " int guestfs_mkfifo (guestfs_h *g,\n"
9372 "\t\tint mode,\n"
9373 "\t\tconst char *path);\n"
9374 "\n"
9375 msgstr ""
9376
9377 # type: textblock
9378 #: ../src/guestfs-actions.pod:3146
9379 msgid ""
9380 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
9381 "is just a convenient wrapper around C<guestfs_mknod>."
9382 msgstr ""
9383
9384 # type: =head2
9385 #: ../src/guestfs-actions.pod:3154
9386 msgid "guestfs_mkfs"
9387 msgstr ""
9388
9389 # type: verbatim
9390 #: ../src/guestfs-actions.pod:3156
9391 #, no-wrap
9392 msgid ""
9393 " int guestfs_mkfs (guestfs_h *g,\n"
9394 "\t\tconst char *fstype,\n"
9395 "\t\tconst char *device);\n"
9396 "\n"
9397 msgstr ""
9398
9399 # type: textblock
9400 #: ../src/guestfs-actions.pod:3160 ../fish/guestfish-actions.pod:2452
9401 msgid ""
9402 "This creates a filesystem on C<device> (usually a partition or LVM logical "
9403 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
9404 msgstr ""
9405
9406 # type: =head2
9407 #: ../src/guestfs-actions.pod:3166
9408 msgid "guestfs_mkfs_b"
9409 msgstr ""
9410
9411 # type: verbatim
9412 #: ../src/guestfs-actions.pod:3168
9413 #, no-wrap
9414 msgid ""
9415 " int guestfs_mkfs_b (guestfs_h *g,\n"
9416 "\t\tconst char *fstype,\n"
9417 "\t\tint blocksize,\n"
9418 "\t\tconst char *device);\n"
9419 "\n"
9420 msgstr ""
9421
9422 # type: textblock
9423 #: ../src/guestfs-actions.pod:3173
9424 msgid ""
9425 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9426 "block size of the resulting filesystem.  Supported block sizes depend on the "
9427 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9428 msgstr ""
9429
9430 # type: textblock
9431 #: ../src/guestfs-actions.pod:3178 ../fish/guestfish-actions.pod:2465
9432 msgid ""
9433 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9434 "cluster size."
9435 msgstr ""
9436
9437 # type: =head2
9438 #: ../src/guestfs-actions.pod:3183
9439 msgid "guestfs_mkmountpoint"
9440 msgstr ""
9441
9442 # type: verbatim
9443 #: ../src/guestfs-actions.pod:3185
9444 #, no-wrap
9445 msgid ""
9446 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9447 "\t\tconst char *exemptpath);\n"
9448 "\n"
9449 msgstr ""
9450
9451 # type: textblock
9452 #: ../src/guestfs-actions.pod:3188
9453 msgid ""
9454 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9455 "that can be used to create extra mountpoints before mounting the first "
9456 "filesystem."
9457 msgstr ""
9458
9459 # type: textblock
9460 #: ../src/guestfs-actions.pod:3192 ../fish/guestfish-actions.pod:2476
9461 msgid ""
9462 "These calls are I<only> necessary in some very limited circumstances, mainly "
9463 "the case where you want to mount a mix of unrelated and/or read-only "
9464 "filesystems together."
9465 msgstr ""
9466
9467 # type: textblock
9468 #: ../src/guestfs-actions.pod:3196 ../fish/guestfish-actions.pod:2480
9469 msgid ""
9470 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9471 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9472 "inside that.  You can unpack this as follows in guestfish:"
9473 msgstr ""
9474
9475 # type: verbatim
9476 #: ../src/guestfs-actions.pod:3201 ../fish/guestfish-actions.pod:2485
9477 #, no-wrap
9478 msgid ""
9479 " add-ro Fedora-11-i686-Live.iso\n"
9480 " run\n"
9481 " mkmountpoint /cd\n"
9482 " mkmountpoint /squash\n"
9483 " mkmountpoint /ext3\n"
9484 " mount /dev/sda /cd\n"
9485 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
9486 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
9487 "\n"
9488 msgstr ""
9489
9490 # type: textblock
9491 #: ../src/guestfs-actions.pod:3210 ../fish/guestfish-actions.pod:2494
9492 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
9493 msgstr ""
9494
9495 # type: =head2
9496 #: ../src/guestfs-actions.pod:3214
9497 msgid "guestfs_mknod"
9498 msgstr ""
9499
9500 # type: verbatim
9501 #: ../src/guestfs-actions.pod:3216
9502 #, no-wrap
9503 msgid ""
9504 " int guestfs_mknod (guestfs_h *g,\n"
9505 "\t\tint mode,\n"
9506 "\t\tint devmajor,\n"
9507 "\t\tint devminor,\n"
9508 "\t\tconst char *path);\n"
9509 "\n"
9510 msgstr ""
9511
9512 # type: textblock
9513 #: ../src/guestfs-actions.pod:3222 ../fish/guestfish-actions.pod:2500
9514 msgid ""
9515 "This call creates block or character special devices, or named pipes (FIFOs)."
9516 msgstr ""
9517
9518 # type: textblock
9519 #: ../src/guestfs-actions.pod:3225 ../fish/guestfish-actions.pod:2503
9520 msgid ""
9521 "The C<mode> parameter should be the mode, using the standard constants.  "
9522 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9523 "used when creating block and character special devices."
9524 msgstr ""
9525
9526 # type: textblock
9527 #: ../src/guestfs-actions.pod:3230
9528 msgid ""
9529 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9530 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9531 "regular file).  These constants are available in the standard Linux header "
9532 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9533 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9534 "the appropriate constant for you."
9535 msgstr ""
9536
9537 # type: =head2
9538 #: ../src/guestfs-actions.pod:3242
9539 msgid "guestfs_mknod_b"
9540 msgstr ""
9541
9542 # type: verbatim
9543 #: ../src/guestfs-actions.pod:3244
9544 #, no-wrap
9545 msgid ""
9546 " int guestfs_mknod_b (guestfs_h *g,\n"
9547 "\t\tint mode,\n"
9548 "\t\tint devmajor,\n"
9549 "\t\tint devminor,\n"
9550 "\t\tconst char *path);\n"
9551 "\n"
9552 msgstr ""
9553
9554 # type: textblock
9555 #: ../src/guestfs-actions.pod:3250
9556 msgid ""
9557 "This call creates a block device node called C<path> with mode C<mode> and "
9558 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9559 "wrapper around C<guestfs_mknod>."
9560 msgstr ""
9561
9562 # type: =head2
9563 #: ../src/guestfs-actions.pod:3258
9564 msgid "guestfs_mknod_c"
9565 msgstr ""
9566
9567 # type: verbatim
9568 #: ../src/guestfs-actions.pod:3260
9569 #, no-wrap
9570 msgid ""
9571 " int guestfs_mknod_c (guestfs_h *g,\n"
9572 "\t\tint mode,\n"
9573 "\t\tint devmajor,\n"
9574 "\t\tint devminor,\n"
9575 "\t\tconst char *path);\n"
9576 "\n"
9577 msgstr ""
9578
9579 # type: textblock
9580 #: ../src/guestfs-actions.pod:3266
9581 msgid ""
9582 "This call creates a char device node called C<path> with mode C<mode> and "
9583 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9584 "wrapper around C<guestfs_mknod>."
9585 msgstr ""
9586
9587 # type: =head2
9588 #: ../src/guestfs-actions.pod:3274
9589 msgid "guestfs_mkswap"
9590 msgstr ""
9591
9592 # type: verbatim
9593 #: ../src/guestfs-actions.pod:3276
9594 #, no-wrap
9595 msgid ""
9596 " int guestfs_mkswap (guestfs_h *g,\n"
9597 "\t\tconst char *device);\n"
9598 "\n"
9599 msgstr ""
9600
9601 # type: textblock
9602 #: ../src/guestfs-actions.pod:3279 ../fish/guestfish-actions.pod:2542
9603 msgid "Create a swap partition on C<device>."
9604 msgstr ""
9605
9606 # type: =head2
9607 #: ../src/guestfs-actions.pod:3283
9608 msgid "guestfs_mkswap_L"
9609 msgstr ""
9610
9611 # type: verbatim
9612 #: ../src/guestfs-actions.pod:3285
9613 #, no-wrap
9614 msgid ""
9615 " int guestfs_mkswap_L (guestfs_h *g,\n"
9616 "\t\tconst char *label,\n"
9617 "\t\tconst char *device);\n"
9618 "\n"
9619 msgstr ""
9620
9621 # type: textblock
9622 #: ../src/guestfs-actions.pod:3289 ../fish/guestfish-actions.pod:2548
9623 msgid "Create a swap partition on C<device> with label C<label>."
9624 msgstr ""
9625
9626 # type: textblock
9627 #: ../src/guestfs-actions.pod:3291 ../fish/guestfish-actions.pod:2550
9628 msgid ""
9629 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
9630 "sda>), just to a partition.  This appears to be a limitation of the kernel "
9631 "or swap tools."
9632 msgstr ""
9633
9634 # type: =head2
9635 #: ../src/guestfs-actions.pod:3297
9636 msgid "guestfs_mkswap_U"
9637 msgstr ""
9638
9639 # type: verbatim
9640 #: ../src/guestfs-actions.pod:3299
9641 #, no-wrap
9642 msgid ""
9643 " int guestfs_mkswap_U (guestfs_h *g,\n"
9644 "\t\tconst char *uuid,\n"
9645 "\t\tconst char *device);\n"
9646 "\n"
9647 msgstr ""
9648
9649 # type: textblock
9650 #: ../src/guestfs-actions.pod:3303 ../fish/guestfish-actions.pod:2558
9651 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9652 msgstr ""
9653
9654 # type: =head2
9655 #: ../src/guestfs-actions.pod:3307
9656 msgid "guestfs_mkswap_file"
9657 msgstr ""
9658
9659 # type: verbatim
9660 #: ../src/guestfs-actions.pod:3309
9661 #, no-wrap
9662 msgid ""
9663 " int guestfs_mkswap_file (guestfs_h *g,\n"
9664 "\t\tconst char *path);\n"
9665 "\n"
9666 msgstr ""
9667
9668 # type: textblock
9669 #: ../src/guestfs-actions.pod:3312 ../fish/guestfish-actions.pod:2564
9670 msgid "Create a swap file."
9671 msgstr ""
9672
9673 # type: textblock
9674 #: ../src/guestfs-actions.pod:3314
9675 msgid ""
9676 "This command just writes a swap file signature to an existing file.  To "
9677 "create the file itself, use something like C<guestfs_fallocate>."
9678 msgstr ""
9679
9680 # type: =head2
9681 #: ../src/guestfs-actions.pod:3319
9682 msgid "guestfs_modprobe"
9683 msgstr ""
9684
9685 # type: verbatim
9686 #: ../src/guestfs-actions.pod:3321
9687 #, no-wrap
9688 msgid ""
9689 " int guestfs_modprobe (guestfs_h *g,\n"
9690 "\t\tconst char *modulename);\n"
9691 "\n"
9692 msgstr ""
9693
9694 # type: textblock
9695 #: ../src/guestfs-actions.pod:3324 ../fish/guestfish-actions.pod:2573
9696 msgid "This loads a kernel module in the appliance."
9697 msgstr ""
9698
9699 # type: textblock
9700 #: ../src/guestfs-actions.pod:3326 ../fish/guestfish-actions.pod:2575
9701 msgid ""
9702 "The kernel module must have been whitelisted when libguestfs was built (see "
9703 "C<appliance/kmod.whitelist.in> in the source)."
9704 msgstr ""
9705
9706 # type: =head2
9707 #: ../src/guestfs-actions.pod:3331
9708 msgid "guestfs_mount"
9709 msgstr ""
9710
9711 # type: verbatim
9712 #: ../src/guestfs-actions.pod:3333
9713 #, no-wrap
9714 msgid ""
9715 " int guestfs_mount (guestfs_h *g,\n"
9716 "\t\tconst char *device,\n"
9717 "\t\tconst char *mountpoint);\n"
9718 "\n"
9719 msgstr ""
9720
9721 # type: textblock
9722 #: ../src/guestfs-actions.pod:3337 ../fish/guestfish-actions.pod:2582
9723 msgid ""
9724 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9725 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9726 "those block devices contain partitions, they will have the usual names (eg. "
9727 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9728 msgstr ""
9729
9730 # type: textblock
9731 #: ../src/guestfs-actions.pod:3343 ../fish/guestfish-actions.pod:2588
9732 msgid ""
9733 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9734 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9735 "mounted on directories which already exist."
9736 msgstr ""
9737
9738 # type: textblock
9739 #: ../src/guestfs-actions.pod:3348 ../fish/guestfish-actions.pod:2593
9740 msgid ""
9741 "The mounted filesystem is writable, if we have sufficient permissions on the "
9742 "underlying device."
9743 msgstr ""
9744
9745 # type: textblock
9746 #: ../src/guestfs-actions.pod:3351
9747 msgid ""
9748 "B<Important note:> When you use this call, the filesystem options C<sync> "
9749 "and C<noatime> are set implicitly.  This was originally done because we "
9750 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9751 "very large negative performance impact and negligible effect on "
9752 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9753 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9754 "(use an empty string for the first parameter if you don't want any options)."
9755 msgstr ""
9756
9757 # type: =head2
9758 #: ../src/guestfs-actions.pod:3363
9759 msgid "guestfs_mount_loop"
9760 msgstr ""
9761
9762 # type: verbatim
9763 #: ../src/guestfs-actions.pod:3365
9764 #, no-wrap
9765 msgid ""
9766 " int guestfs_mount_loop (guestfs_h *g,\n"
9767 "\t\tconst char *file,\n"
9768 "\t\tconst char *mountpoint);\n"
9769 "\n"
9770 msgstr ""
9771
9772 # type: textblock
9773 #: ../src/guestfs-actions.pod:3369 ../fish/guestfish-actions.pod:2610
9774 msgid ""
9775 "This command lets you mount C<file> (a filesystem image in a file) on a "
9776 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9777 "mountpoint>."
9778 msgstr ""
9779
9780 # type: =head2
9781 #: ../src/guestfs-actions.pod:3375
9782 msgid "guestfs_mount_options"
9783 msgstr ""
9784
9785 # type: verbatim
9786 #: ../src/guestfs-actions.pod:3377
9787 #, no-wrap
9788 msgid ""
9789 " int guestfs_mount_options (guestfs_h *g,\n"
9790 "\t\tconst char *options,\n"
9791 "\t\tconst char *device,\n"
9792 "\t\tconst char *mountpoint);\n"
9793 "\n"
9794 msgstr ""
9795
9796 # type: textblock
9797 #: ../src/guestfs-actions.pod:3382
9798 msgid ""
9799 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9800 "the mount options as for the L<mount(8)> I<-o> flag."
9801 msgstr ""
9802
9803 # type: textblock
9804 #: ../src/guestfs-actions.pod:3386 ../fish/guestfish-actions.pod:2622
9805 msgid ""
9806 "If the C<options> parameter is an empty string, then no options are passed "
9807 "(all options default to whatever the filesystem uses)."
9808 msgstr ""
9809
9810 # type: =head2
9811 #: ../src/guestfs-actions.pod:3392
9812 msgid "guestfs_mount_ro"
9813 msgstr ""
9814
9815 # type: verbatim
9816 #: ../src/guestfs-actions.pod:3394
9817 #, no-wrap
9818 msgid ""
9819 " int guestfs_mount_ro (guestfs_h *g,\n"
9820 "\t\tconst char *device,\n"
9821 "\t\tconst char *mountpoint);\n"
9822 "\n"
9823 msgstr ""
9824
9825 # type: textblock
9826 #: ../src/guestfs-actions.pod:3398
9827 msgid ""
9828 "This is the same as the C<guestfs_mount> command, but it mounts the "
9829 "filesystem with the read-only (I<-o ro>) flag."
9830 msgstr ""
9831
9832 # type: =head2
9833 #: ../src/guestfs-actions.pod:3403
9834 msgid "guestfs_mount_vfs"
9835 msgstr ""
9836
9837 # type: verbatim
9838 #: ../src/guestfs-actions.pod:3405
9839 #, no-wrap
9840 msgid ""
9841 " int guestfs_mount_vfs (guestfs_h *g,\n"
9842 "\t\tconst char *options,\n"
9843 "\t\tconst char *vfstype,\n"
9844 "\t\tconst char *device,\n"
9845 "\t\tconst char *mountpoint);\n"
9846 "\n"
9847 msgstr ""
9848
9849 # type: textblock
9850 #: ../src/guestfs-actions.pod:3411
9851 msgid ""
9852 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9853 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
9854 "t> flags."
9855 msgstr ""
9856
9857 # type: =head2
9858 #: ../src/guestfs-actions.pod:3417
9859 msgid "guestfs_mountpoints"
9860 msgstr ""
9861
9862 # type: verbatim
9863 #: ../src/guestfs-actions.pod:3419
9864 #, no-wrap
9865 msgid ""
9866 " char **guestfs_mountpoints (guestfs_h *g);\n"
9867 "\n"
9868 msgstr ""
9869
9870 # type: textblock
9871 #: ../src/guestfs-actions.pod:3421
9872 msgid ""
9873 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9874 "devices.  This one returns a hash table (map) of device name to directory "
9875 "where the device is mounted."
9876 msgstr ""
9877
9878 # type: =head2
9879 #: ../src/guestfs-actions.pod:3431
9880 msgid "guestfs_mounts"
9881 msgstr ""
9882
9883 # type: verbatim
9884 #: ../src/guestfs-actions.pod:3433
9885 #, no-wrap
9886 msgid ""
9887 " char **guestfs_mounts (guestfs_h *g);\n"
9888 "\n"
9889 msgstr ""
9890
9891 # type: textblock
9892 #: ../src/guestfs-actions.pod:3435 ../fish/guestfish-actions.pod:2653
9893 msgid ""
9894 "This returns the list of currently mounted filesystems.  It returns the list "
9895 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9896 msgstr ""
9897
9898 # type: textblock
9899 #: ../src/guestfs-actions.pod:3438 ../fish/guestfish-actions.pod:2656
9900 msgid "Some internal mounts are not shown."
9901 msgstr ""
9902
9903 # type: textblock
9904 #: ../src/guestfs-actions.pod:3440
9905 msgid "See also: C<guestfs_mountpoints>"
9906 msgstr ""
9907
9908 # type: =head2
9909 #: ../src/guestfs-actions.pod:3446
9910 msgid "guestfs_mv"
9911 msgstr ""
9912
9913 # type: verbatim
9914 #: ../src/guestfs-actions.pod:3448
9915 #, no-wrap
9916 msgid ""
9917 " int guestfs_mv (guestfs_h *g,\n"
9918 "\t\tconst char *src,\n"
9919 "\t\tconst char *dest);\n"
9920 "\n"
9921 msgstr ""
9922
9923 # type: textblock
9924 #: ../src/guestfs-actions.pod:3452 ../fish/guestfish-actions.pod:2664
9925 msgid ""
9926 "This moves a file from C<src> to C<dest> where C<dest> is either a "
9927 "destination filename or destination directory."
9928 msgstr ""
9929
9930 # type: =head2
9931 #: ../src/guestfs-actions.pod:3457
9932 msgid "guestfs_ntfs_3g_probe"
9933 msgstr ""
9934
9935 # type: verbatim
9936 #: ../src/guestfs-actions.pod:3459
9937 #, no-wrap
9938 msgid ""
9939 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
9940 "\t\tint rw,\n"
9941 "\t\tconst char *device);\n"
9942 "\n"
9943 msgstr ""
9944
9945 # type: textblock
9946 #: ../src/guestfs-actions.pod:3463 ../fish/guestfish-actions.pod:2671
9947 msgid ""
9948 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
9949 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
9950 "write, and some cannot be mounted at all)."
9951 msgstr ""
9952
9953 # type: textblock
9954 #: ../src/guestfs-actions.pod:3467 ../fish/guestfish-actions.pod:2675
9955 msgid ""
9956 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
9957 "can be mounted read-write.  Set it to false if you want to test if the "
9958 "volume can be mounted read-only."
9959 msgstr ""
9960
9961 # type: textblock
9962 #: ../src/guestfs-actions.pod:3471 ../fish/guestfish-actions.pod:2679
9963 msgid ""
9964 "The return value is an integer which C<0> if the operation would succeed, or "
9965 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
9966 msgstr ""
9967
9968 # type: =head2
9969 #: ../src/guestfs-actions.pod:3477
9970 msgid "guestfs_ntfsresize"
9971 msgstr ""
9972
9973 # type: verbatim
9974 #: ../src/guestfs-actions.pod:3479
9975 #, no-wrap
9976 msgid ""
9977 " int guestfs_ntfsresize (guestfs_h *g,\n"
9978 "\t\tconst char *device);\n"
9979 "\n"
9980 msgstr ""
9981
9982 # type: textblock
9983 #: ../src/guestfs-actions.pod:3482 ../fish/guestfish-actions.pod:2687
9984 msgid ""
9985 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
9986 "size of the underlying device.  See also L<ntfsresize(8)>."
9987 msgstr ""
9988
9989 # type: =head2
9990 #: ../src/guestfs-actions.pod:3488
9991 msgid "guestfs_ntfsresize_size"
9992 msgstr ""
9993
9994 # type: verbatim
9995 #: ../src/guestfs-actions.pod:3490
9996 #, no-wrap
9997 msgid ""
9998 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
9999 "\t\tconst char *device,\n"
10000 "\t\tint64_t size);\n"
10001 "\n"
10002 msgstr ""
10003
10004 # type: textblock
10005 #: ../src/guestfs-actions.pod:3494
10006 msgid ""
10007 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
10008 "to specify the new size (in bytes) explicitly."
10009 msgstr ""
10010
10011 # type: =head2
10012 #: ../src/guestfs-actions.pod:3499
10013 msgid "guestfs_part_add"
10014 msgstr ""
10015
10016 # type: verbatim
10017 #: ../src/guestfs-actions.pod:3501
10018 #, no-wrap
10019 msgid ""
10020 " int guestfs_part_add (guestfs_h *g,\n"
10021 "\t\tconst char *device,\n"
10022 "\t\tconst char *prlogex,\n"
10023 "\t\tint64_t startsect,\n"
10024 "\t\tint64_t endsect);\n"
10025 "\n"
10026 msgstr ""
10027
10028 # type: textblock
10029 #: ../src/guestfs-actions.pod:3507
10030 msgid ""
10031 "This command adds a partition to C<device>.  If there is no partition table "
10032 "on the device, call C<guestfs_part_init> first."
10033 msgstr ""
10034
10035 # type: textblock
10036 #: ../src/guestfs-actions.pod:3510 ../fish/guestfish-actions.pod:2705
10037 msgid ""
10038 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
10039 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
10040 "C<logical>) and C<e> (or C<extended>) partition types."
10041 msgstr ""
10042
10043 # type: textblock
10044 #: ../src/guestfs-actions.pod:3515 ../fish/guestfish-actions.pod:2710
10045 msgid ""
10046 "C<startsect> and C<endsect> are the start and end of the partition in "
10047 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
10048 "from the end of the disk (C<-1> is the last sector)."
10049 msgstr ""
10050
10051 # type: textblock
10052 #: ../src/guestfs-actions.pod:3519
10053 msgid ""
10054 "Creating a partition which covers the whole disk is not so easy.  Use "
10055 "C<guestfs_part_disk> to do that."
10056 msgstr ""
10057
10058 # type: =head2
10059 #: ../src/guestfs-actions.pod:3524
10060 msgid "guestfs_part_del"
10061 msgstr ""
10062
10063 # type: verbatim
10064 #: ../src/guestfs-actions.pod:3526
10065 #, no-wrap
10066 msgid ""
10067 " int guestfs_part_del (guestfs_h *g,\n"
10068 "\t\tconst char *device,\n"
10069 "\t\tint partnum);\n"
10070 "\n"
10071 msgstr ""
10072
10073 # type: textblock
10074 #: ../src/guestfs-actions.pod:3530 ../fish/guestfish-actions.pod:2721
10075 msgid "This command deletes the partition numbered C<partnum> on C<device>."
10076 msgstr ""
10077
10078 # type: textblock
10079 #: ../src/guestfs-actions.pod:3532 ../fish/guestfish-actions.pod:2723
10080 msgid ""
10081 "Note that in the case of MBR partitioning, deleting an extended partition "
10082 "also deletes any logical partitions it contains."
10083 msgstr ""
10084
10085 # type: =head2
10086 #: ../src/guestfs-actions.pod:3538
10087 msgid "guestfs_part_disk"
10088 msgstr ""
10089
10090 # type: verbatim
10091 #: ../src/guestfs-actions.pod:3540
10092 #, no-wrap
10093 msgid ""
10094 " int guestfs_part_disk (guestfs_h *g,\n"
10095 "\t\tconst char *device,\n"
10096 "\t\tconst char *parttype);\n"
10097 "\n"
10098 msgstr ""
10099
10100 # type: textblock
10101 #: ../src/guestfs-actions.pod:3544
10102 msgid ""
10103 "This command is simply a combination of C<guestfs_part_init> followed by "
10104 "C<guestfs_part_add> to create a single primary partition covering the whole "
10105 "disk."
10106 msgstr ""
10107
10108 # type: textblock
10109 #: ../src/guestfs-actions.pod:3548
10110 msgid ""
10111 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
10112 "possible values are described in C<guestfs_part_init>."
10113 msgstr ""
10114
10115 # type: =head2
10116 #: ../src/guestfs-actions.pod:3556
10117 msgid "guestfs_part_get_bootable"
10118 msgstr ""
10119
10120 # type: verbatim
10121 #: ../src/guestfs-actions.pod:3558
10122 #, no-wrap
10123 msgid ""
10124 " int guestfs_part_get_bootable (guestfs_h *g,\n"
10125 "\t\tconst char *device,\n"
10126 "\t\tint partnum);\n"
10127 "\n"
10128 msgstr ""
10129
10130 # type: textblock
10131 #: ../src/guestfs-actions.pod:3562 ../fish/guestfish-actions.pod:2745
10132 msgid ""
10133 "This command returns true if the partition C<partnum> on C<device> has the "
10134 "bootable flag set."
10135 msgstr ""
10136
10137 # type: textblock
10138 #: ../src/guestfs-actions.pod:3565
10139 msgid "See also C<guestfs_part_set_bootable>."
10140 msgstr ""
10141
10142 # type: =head2
10143 #: ../src/guestfs-actions.pod:3569
10144 msgid "guestfs_part_get_mbr_id"
10145 msgstr ""
10146
10147 # type: verbatim
10148 #: ../src/guestfs-actions.pod:3571
10149 #, no-wrap
10150 msgid ""
10151 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
10152 "\t\tconst char *device,\n"
10153 "\t\tint partnum);\n"
10154 "\n"
10155 msgstr ""
10156
10157 # type: textblock
10158 #: ../src/guestfs-actions.pod:3575 ../fish/guestfish-actions.pod:2754
10159 msgid ""
10160 "Returns the MBR type byte (also known as the ID byte) from the numbered "
10161 "partition C<partnum>."
10162 msgstr ""
10163
10164 # type: textblock
10165 #: ../src/guestfs-actions.pod:3578 ../src/guestfs-actions.pod:3740
10166 msgid ""
10167 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
10168 "undefined results for other partition table types (see "
10169 "C<guestfs_part_get_parttype>)."
10170 msgstr ""
10171
10172 # type: =head2
10173 #: ../src/guestfs-actions.pod:3584
10174 msgid "guestfs_part_get_parttype"
10175 msgstr ""
10176
10177 # type: verbatim
10178 #: ../src/guestfs-actions.pod:3586
10179 #, no-wrap
10180 msgid ""
10181 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
10182 "\t\tconst char *device);\n"
10183 "\n"
10184 msgstr ""
10185
10186 # type: textblock
10187 #: ../src/guestfs-actions.pod:3589 ../fish/guestfish-actions.pod:2765
10188 msgid ""
10189 "This command examines the partition table on C<device> and returns the "
10190 "partition table type (format) being used."
10191 msgstr ""
10192
10193 # type: textblock
10194 #: ../src/guestfs-actions.pod:3592
10195 msgid ""
10196 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
10197 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
10198 "possible, although unusual.  See C<guestfs_part_init> for a full list."
10199 msgstr ""
10200
10201 # type: =head2
10202 #: ../src/guestfs-actions.pod:3600
10203 msgid "guestfs_part_init"
10204 msgstr ""
10205
10206 # type: verbatim
10207 #: ../src/guestfs-actions.pod:3602
10208 #, no-wrap
10209 msgid ""
10210 " int guestfs_part_init (guestfs_h *g,\n"
10211 "\t\tconst char *device,\n"
10212 "\t\tconst char *parttype);\n"
10213 "\n"
10214 msgstr ""
10215
10216 # type: textblock
10217 #: ../src/guestfs-actions.pod:3606 ../fish/guestfish-actions.pod:2777
10218 msgid ""
10219 "This creates an empty partition table on C<device> of one of the partition "
10220 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
10221 "(for large disks)."
10222 msgstr ""
10223
10224 # type: textblock
10225 #: ../src/guestfs-actions.pod:3610
10226 msgid ""
10227 "Initially there are no partitions.  Following this, you should call "
10228 "C<guestfs_part_add> for each partition required."
10229 msgstr ""
10230
10231 # type: textblock
10232 #: ../src/guestfs-actions.pod:3613 ../fish/guestfish-actions.pod:2784
10233 msgid "Possible values for C<parttype> are:"
10234 msgstr ""
10235
10236 # type: =item
10237 #: ../src/guestfs-actions.pod:3617 ../fish/guestfish-actions.pod:2788
10238 msgid "B<efi> | B<gpt>"
10239 msgstr ""
10240
10241 # type: textblock
10242 #: ../src/guestfs-actions.pod:3619 ../fish/guestfish-actions.pod:2790
10243 msgid "Intel EFI / GPT partition table."
10244 msgstr ""
10245
10246 # type: textblock
10247 #: ../src/guestfs-actions.pod:3621 ../fish/guestfish-actions.pod:2792
10248 msgid ""
10249 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
10250 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
10251 "the C<mbr> format."
10252 msgstr ""
10253
10254 # type: =item
10255 #: ../src/guestfs-actions.pod:3625 ../fish/guestfish-actions.pod:2796
10256 msgid "B<mbr> | B<msdos>"
10257 msgstr ""
10258
10259 # type: textblock
10260 #: ../src/guestfs-actions.pod:3627 ../fish/guestfish-actions.pod:2798
10261 msgid ""
10262 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
10263 "Windows.  This partition type will B<only> work for device sizes up to 2 "
10264 "TB.  For large disks we recommend using C<gpt>."
10265 msgstr ""
10266
10267 # type: textblock
10268 #: ../src/guestfs-actions.pod:3634 ../fish/guestfish-actions.pod:2805
10269 msgid ""
10270 "Other partition table types that may work but are not supported include:"
10271 msgstr ""
10272
10273 # type: =item
10274 #: ../src/guestfs-actions.pod:3639 ../fish/guestfish-actions.pod:2810
10275 msgid "B<aix>"
10276 msgstr ""
10277
10278 # type: textblock
10279 #: ../src/guestfs-actions.pod:3641 ../fish/guestfish-actions.pod:2812
10280 msgid "AIX disk labels."
10281 msgstr ""
10282
10283 # type: =item
10284 #: ../src/guestfs-actions.pod:3643 ../fish/guestfish-actions.pod:2814
10285 msgid "B<amiga> | B<rdb>"
10286 msgstr ""
10287
10288 # type: textblock
10289 #: ../src/guestfs-actions.pod:3645 ../fish/guestfish-actions.pod:2816
10290 msgid "Amiga \"Rigid Disk Block\" format."
10291 msgstr ""
10292
10293 # type: =item
10294 #: ../src/guestfs-actions.pod:3647 ../fish/guestfish-actions.pod:2818
10295 msgid "B<bsd>"
10296 msgstr ""
10297
10298 # type: textblock
10299 #: ../src/guestfs-actions.pod:3649 ../fish/guestfish-actions.pod:2820
10300 msgid "BSD disk labels."
10301 msgstr ""
10302
10303 # type: =item
10304 #: ../src/guestfs-actions.pod:3651 ../fish/guestfish-actions.pod:2822
10305 msgid "B<dasd>"
10306 msgstr ""
10307
10308 # type: textblock
10309 #: ../src/guestfs-actions.pod:3653 ../fish/guestfish-actions.pod:2824
10310 msgid "DASD, used on IBM mainframes."
10311 msgstr ""
10312
10313 # type: =item
10314 #: ../src/guestfs-actions.pod:3655 ../fish/guestfish-actions.pod:2826
10315 msgid "B<dvh>"
10316 msgstr ""
10317
10318 # type: textblock
10319 #: ../src/guestfs-actions.pod:3657 ../fish/guestfish-actions.pod:2828
10320 msgid "MIPS/SGI volumes."
10321 msgstr ""
10322
10323 # type: =item
10324 #: ../src/guestfs-actions.pod:3659 ../fish/guestfish-actions.pod:2830
10325 msgid "B<mac>"
10326 msgstr ""
10327
10328 # type: textblock
10329 #: ../src/guestfs-actions.pod:3661 ../fish/guestfish-actions.pod:2832
10330 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
10331 msgstr ""
10332
10333 # type: =item
10334 #: ../src/guestfs-actions.pod:3663 ../fish/guestfish-actions.pod:2834
10335 msgid "B<pc98>"
10336 msgstr ""
10337
10338 # type: textblock
10339 #: ../src/guestfs-actions.pod:3665 ../fish/guestfish-actions.pod:2836
10340 msgid "NEC PC-98 format, common in Japan apparently."
10341 msgstr ""
10342
10343 # type: =item
10344 #: ../src/guestfs-actions.pod:3667 ../fish/guestfish-actions.pod:2838
10345 msgid "B<sun>"
10346 msgstr ""
10347
10348 # type: textblock
10349 #: ../src/guestfs-actions.pod:3669 ../fish/guestfish-actions.pod:2840
10350 msgid "Sun disk labels."
10351 msgstr ""
10352
10353 # type: =head2
10354 #: ../src/guestfs-actions.pod:3675
10355 msgid "guestfs_part_list"
10356 msgstr ""
10357
10358 # type: verbatim
10359 #: ../src/guestfs-actions.pod:3677
10360 #, no-wrap
10361 msgid ""
10362 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
10363 "\t\tconst char *device);\n"
10364 "\n"
10365 msgstr ""
10366
10367 # type: textblock
10368 #: ../src/guestfs-actions.pod:3680 ../fish/guestfish-actions.pod:2848
10369 msgid ""
10370 "This command parses the partition table on C<device> and returns the list of "
10371 "partitions found."
10372 msgstr ""
10373
10374 # type: textblock
10375 #: ../src/guestfs-actions.pod:3683 ../fish/guestfish-actions.pod:2851
10376 msgid "The fields in the returned structure are:"
10377 msgstr ""
10378
10379 # type: =item
10380 #: ../src/guestfs-actions.pod:3687 ../fish/guestfish-actions.pod:2855
10381 msgid "B<part_num>"
10382 msgstr ""
10383
10384 # type: textblock
10385 #: ../src/guestfs-actions.pod:3689 ../fish/guestfish-actions.pod:2857
10386 msgid "Partition number, counting from 1."
10387 msgstr ""
10388
10389 # type: =item
10390 #: ../src/guestfs-actions.pod:3691 ../fish/guestfish-actions.pod:2859
10391 msgid "B<part_start>"
10392 msgstr ""
10393
10394 # type: textblock
10395 #: ../src/guestfs-actions.pod:3693
10396 msgid ""
10397 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
10398 "the device's sector size, see C<guestfs_blockdev_getss>."
10399 msgstr ""
10400
10401 # type: =item
10402 #: ../src/guestfs-actions.pod:3696 ../fish/guestfish-actions.pod:2864
10403 msgid "B<part_end>"
10404 msgstr ""
10405
10406 # type: textblock
10407 #: ../src/guestfs-actions.pod:3698 ../fish/guestfish-actions.pod:2866
10408 msgid "End of the partition in bytes."
10409 msgstr ""
10410
10411 # type: =item
10412 #: ../src/guestfs-actions.pod:3700 ../fish/guestfish-actions.pod:2868
10413 msgid "B<part_size>"
10414 msgstr ""
10415
10416 # type: textblock
10417 #: ../src/guestfs-actions.pod:3702 ../fish/guestfish-actions.pod:2870
10418 msgid "Size of the partition in bytes."
10419 msgstr ""
10420
10421 # type: textblock
10422 #: ../src/guestfs-actions.pod:3706
10423 msgid ""
10424 "This function returns a C<struct guestfs_partition_list *> (see E<lt>guestfs-"
10425 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10426 "C<guestfs_free_partition_list> after use>."
10427 msgstr ""
10428
10429 # type: =head2
10430 #: ../src/guestfs-actions.pod:3711
10431 msgid "guestfs_part_set_bootable"
10432 msgstr ""
10433
10434 # type: verbatim
10435 #: ../src/guestfs-actions.pod:3713
10436 #, no-wrap
10437 msgid ""
10438 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10439 "\t\tconst char *device,\n"
10440 "\t\tint partnum,\n"
10441 "\t\tint bootable);\n"
10442 "\n"
10443 msgstr ""
10444
10445 # type: textblock
10446 #: ../src/guestfs-actions.pod:3718 ../fish/guestfish-actions.pod:2878
10447 msgid ""
10448 "This sets the bootable flag on partition numbered C<partnum> on device "
10449 "C<device>.  Note that partitions are numbered from 1."
10450 msgstr ""
10451
10452 # type: textblock
10453 #: ../src/guestfs-actions.pod:3721 ../fish/guestfish-actions.pod:2881
10454 msgid ""
10455 "The bootable flag is used by some operating systems (notably Windows) to "
10456 "determine which partition to boot from.  It is by no means universally "
10457 "recognized."
10458 msgstr ""
10459
10460 # type: =head2
10461 #: ../src/guestfs-actions.pod:3727
10462 msgid "guestfs_part_set_mbr_id"
10463 msgstr ""
10464
10465 # type: verbatim
10466 #: ../src/guestfs-actions.pod:3729
10467 #, no-wrap
10468 msgid ""
10469 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10470 "\t\tconst char *device,\n"
10471 "\t\tint partnum,\n"
10472 "\t\tint idbyte);\n"
10473 "\n"
10474 msgstr ""
10475
10476 # type: textblock
10477 #: ../src/guestfs-actions.pod:3734 ../fish/guestfish-actions.pod:2889
10478 msgid ""
10479 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10480 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10481 "documentation are in fact hexadecimal numbers, but usually documented "
10482 "without any leading \"0x\" which might be confusing."
10483 msgstr ""
10484
10485 # type: =head2
10486 #: ../src/guestfs-actions.pod:3746
10487 msgid "guestfs_part_set_name"
10488 msgstr ""
10489
10490 # type: verbatim
10491 #: ../src/guestfs-actions.pod:3748
10492 #, no-wrap
10493 msgid ""
10494 " int guestfs_part_set_name (guestfs_h *g,\n"
10495 "\t\tconst char *device,\n"
10496 "\t\tint partnum,\n"
10497 "\t\tconst char *name);\n"
10498 "\n"
10499 msgstr ""
10500
10501 # type: textblock
10502 #: ../src/guestfs-actions.pod:3753 ../fish/guestfish-actions.pod:2903
10503 msgid ""
10504 "This sets the partition name on partition numbered C<partnum> on device "
10505 "C<device>.  Note that partitions are numbered from 1."
10506 msgstr ""
10507
10508 # type: textblock
10509 #: ../src/guestfs-actions.pod:3756 ../fish/guestfish-actions.pod:2906
10510 msgid ""
10511 "The partition name can only be set on certain types of partition table.  "
10512 "This works on C<gpt> but not on C<mbr> partitions."
10513 msgstr ""
10514
10515 # type: =head2
10516 #: ../src/guestfs-actions.pod:3761
10517 msgid "guestfs_part_to_dev"
10518 msgstr ""
10519
10520 # type: verbatim
10521 #: ../src/guestfs-actions.pod:3763
10522 #, no-wrap
10523 msgid ""
10524 " char *guestfs_part_to_dev (guestfs_h *g,\n"
10525 "\t\tconst char *partition);\n"
10526 "\n"
10527 msgstr ""
10528
10529 # type: textblock
10530 #: ../src/guestfs-actions.pod:3766 ../fish/guestfish-actions.pod:2913
10531 msgid ""
10532 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
10533 "partition number, returning the device name (eg. \"/dev/sdb\")."
10534 msgstr ""
10535
10536 # type: textblock
10537 #: ../src/guestfs-actions.pod:3770
10538 msgid ""
10539 "The named partition must exist, for example as a string returned from "
10540 "C<guestfs_list_partitions>."
10541 msgstr ""
10542
10543 # type: =head2
10544 #: ../src/guestfs-actions.pod:3776
10545 msgid "guestfs_ping_daemon"
10546 msgstr ""
10547
10548 # type: verbatim
10549 #: ../src/guestfs-actions.pod:3778
10550 #, no-wrap
10551 msgid ""
10552 " int guestfs_ping_daemon (guestfs_h *g);\n"
10553 "\n"
10554 msgstr ""
10555
10556 # type: textblock
10557 #: ../src/guestfs-actions.pod:3780 ../fish/guestfish-actions.pod:2924
10558 msgid ""
10559 "This is a test probe into the guestfs daemon running inside the qemu "
10560 "subprocess.  Calling this function checks that the daemon responds to the "
10561 "ping message, without affecting the daemon or attached block device(s) in "
10562 "any other way."
10563 msgstr ""
10564
10565 # type: =head2
10566 #: ../src/guestfs-actions.pod:3787
10567 msgid "guestfs_pread"
10568 msgstr ""
10569
10570 # type: verbatim
10571 #: ../src/guestfs-actions.pod:3789
10572 #, no-wrap
10573 msgid ""
10574 " char *guestfs_pread (guestfs_h *g,\n"
10575 "\t\tconst char *path,\n"
10576 "\t\tint count,\n"
10577 "\t\tint64_t offset,\n"
10578 "\t\tsize_t *size_r);\n"
10579 "\n"
10580 msgstr ""
10581
10582 # type: textblock
10583 #: ../src/guestfs-actions.pod:3795 ../fish/guestfish-actions.pod:2933
10584 msgid ""
10585 "This command lets you read part of a file.  It reads C<count> bytes of the "
10586 "file, starting at C<offset>, from file C<path>."
10587 msgstr ""
10588
10589 # type: textblock
10590 #: ../src/guestfs-actions.pod:3798 ../fish/guestfish-actions.pod:2936
10591 msgid ""
10592 "This may read fewer bytes than requested.  For further details see the "
10593 "L<pread(2)> system call."
10594 msgstr ""
10595
10596 # type: textblock
10597 #: ../src/guestfs-actions.pod:3801
10598 msgid "See also C<guestfs_pwrite>."
10599 msgstr ""
10600
10601 # type: =head2
10602 #: ../src/guestfs-actions.pod:3810
10603 msgid "guestfs_pvcreate"
10604 msgstr ""
10605
10606 # type: verbatim
10607 #: ../src/guestfs-actions.pod:3812
10608 #, no-wrap
10609 msgid ""
10610 " int guestfs_pvcreate (guestfs_h *g,\n"
10611 "\t\tconst char *device);\n"
10612 "\n"
10613 msgstr ""
10614
10615 # type: textblock
10616 #: ../src/guestfs-actions.pod:3815 ../fish/guestfish-actions.pod:2948
10617 msgid ""
10618 "This creates an LVM physical volume on the named C<device>, where C<device> "
10619 "should usually be a partition name such as C</dev/sda1>."
10620 msgstr ""
10621
10622 # type: =head2
10623 #: ../src/guestfs-actions.pod:3821
10624 msgid "guestfs_pvremove"
10625 msgstr ""
10626
10627 # type: verbatim
10628 #: ../src/guestfs-actions.pod:3823
10629 #, no-wrap
10630 msgid ""
10631 " int guestfs_pvremove (guestfs_h *g,\n"
10632 "\t\tconst char *device);\n"
10633 "\n"
10634 msgstr ""
10635
10636 # type: textblock
10637 #: ../src/guestfs-actions.pod:3826 ../fish/guestfish-actions.pod:2956
10638 msgid ""
10639 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10640 "it."
10641 msgstr ""
10642
10643 # type: textblock
10644 #: ../src/guestfs-actions.pod:3829 ../fish/guestfish-actions.pod:2959
10645 msgid ""
10646 "The implementation uses the C<pvremove> command which refuses to wipe "
10647 "physical volumes that contain any volume groups, so you have to remove those "
10648 "first."
10649 msgstr ""
10650
10651 # type: =head2
10652 #: ../src/guestfs-actions.pod:3835
10653 msgid "guestfs_pvresize"
10654 msgstr ""
10655
10656 # type: verbatim
10657 #: ../src/guestfs-actions.pod:3837
10658 #, no-wrap
10659 msgid ""
10660 " int guestfs_pvresize (guestfs_h *g,\n"
10661 "\t\tconst char *device);\n"
10662 "\n"
10663 msgstr ""
10664
10665 # type: textblock
10666 #: ../src/guestfs-actions.pod:3840 ../fish/guestfish-actions.pod:2967
10667 msgid ""
10668 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10669 "the new size of the underlying device."
10670 msgstr ""
10671
10672 # type: =head2
10673 #: ../src/guestfs-actions.pod:3845
10674 msgid "guestfs_pvresize_size"
10675 msgstr ""
10676
10677 # type: verbatim
10678 #: ../src/guestfs-actions.pod:3847
10679 #, no-wrap
10680 msgid ""
10681 " int guestfs_pvresize_size (guestfs_h *g,\n"
10682 "\t\tconst char *device,\n"
10683 "\t\tint64_t size);\n"
10684 "\n"
10685 msgstr ""
10686
10687 # type: textblock
10688 #: ../src/guestfs-actions.pod:3851
10689 msgid ""
10690 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10691 "specify the new size (in bytes) explicitly."
10692 msgstr ""
10693
10694 # type: =head2
10695 #: ../src/guestfs-actions.pod:3856
10696 msgid "guestfs_pvs"
10697 msgstr ""
10698
10699 # type: verbatim
10700 #: ../src/guestfs-actions.pod:3858
10701 #, no-wrap
10702 msgid ""
10703 " char **guestfs_pvs (guestfs_h *g);\n"
10704 "\n"
10705 msgstr ""
10706
10707 # type: textblock
10708 #: ../src/guestfs-actions.pod:3860 ../fish/guestfish-actions.pod:2981
10709 msgid ""
10710 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10711 "(8)> command."
10712 msgstr ""
10713
10714 # type: textblock
10715 #: ../src/guestfs-actions.pod:3863 ../fish/guestfish-actions.pod:2984
10716 msgid ""
10717 "This returns a list of just the device names that contain PVs (eg. C</dev/"
10718 "sda2>)."
10719 msgstr ""
10720
10721 # type: textblock
10722 #: ../src/guestfs-actions.pod:3866
10723 msgid "See also C<guestfs_pvs_full>."
10724 msgstr ""
10725
10726 # type: =head2
10727 #: ../src/guestfs-actions.pod:3872
10728 msgid "guestfs_pvs_full"
10729 msgstr ""
10730
10731 # type: verbatim
10732 #: ../src/guestfs-actions.pod:3874
10733 #, no-wrap
10734 msgid ""
10735 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10736 "\n"
10737 msgstr ""
10738
10739 # type: textblock
10740 #: ../src/guestfs-actions.pod:3876 ../fish/guestfish-actions.pod:2993
10741 msgid ""
10742 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10743 "(8)> command.  The \"full\" version includes all fields."
10744 msgstr ""
10745
10746 # type: textblock
10747 #: ../src/guestfs-actions.pod:3879
10748 msgid ""
10749 "This function returns a C<struct guestfs_lvm_pv_list *> (see E<lt>guestfs-"
10750 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10751 "C<guestfs_free_lvm_pv_list> after use>."
10752 msgstr ""
10753
10754 # type: =head2
10755 #: ../src/guestfs-actions.pod:3884
10756 msgid "guestfs_pvuuid"
10757 msgstr ""
10758
10759 # type: verbatim
10760 #: ../src/guestfs-actions.pod:3886
10761 #, no-wrap
10762 msgid ""
10763 " char *guestfs_pvuuid (guestfs_h *g,\n"
10764 "\t\tconst char *device);\n"
10765 "\n"
10766 msgstr ""
10767
10768 # type: textblock
10769 #: ../src/guestfs-actions.pod:3889 ../fish/guestfish-actions.pod:3000
10770 msgid "This command returns the UUID of the LVM PV C<device>."
10771 msgstr ""
10772
10773 # type: =head2
10774 #: ../src/guestfs-actions.pod:3894
10775 msgid "guestfs_pwrite"
10776 msgstr ""
10777
10778 # type: verbatim
10779 #: ../src/guestfs-actions.pod:3896
10780 #, no-wrap
10781 msgid ""
10782 " int guestfs_pwrite (guestfs_h *g,\n"
10783 "\t\tconst char *path,\n"
10784 "\t\tconst char *content,\n"
10785 "\t\tsize_t content_size,\n"
10786 "\t\tint64_t offset);\n"
10787 "\n"
10788 msgstr ""
10789
10790 # type: textblock
10791 #: ../src/guestfs-actions.pod:3902 ../fish/guestfish-actions.pod:3006
10792 msgid ""
10793 "This command writes to part of a file.  It writes the data buffer C<content> "
10794 "to the file C<path> starting at offset C<offset>."
10795 msgstr ""
10796
10797 # type: textblock
10798 #: ../src/guestfs-actions.pod:3905 ../fish/guestfish-actions.pod:3009
10799 msgid ""
10800 "This command implements the L<pwrite(2)> system call, and like that system "
10801 "call it may not write the full data requested.  The return value is the "
10802 "number of bytes that were actually written to the file.  This could even be "
10803 "0, although short writes are unlikely for regular files in ordinary "
10804 "circumstances."
10805 msgstr ""
10806
10807 # type: textblock
10808 #: ../src/guestfs-actions.pod:3911
10809 msgid "See also C<guestfs_pread>."
10810 msgstr ""
10811
10812 # type: =head2
10813 #: ../src/guestfs-actions.pod:3918
10814 msgid "guestfs_read_file"
10815 msgstr ""
10816
10817 # type: verbatim
10818 #: ../src/guestfs-actions.pod:3920
10819 #, no-wrap
10820 msgid ""
10821 " char *guestfs_read_file (guestfs_h *g,\n"
10822 "\t\tconst char *path,\n"
10823 "\t\tsize_t *size_r);\n"
10824 "\n"
10825 msgstr ""
10826
10827 # type: textblock
10828 #: ../src/guestfs-actions.pod:3924 ../fish/guestfish-actions.pod:3024
10829 msgid "This calls returns the contents of the file C<path> as a buffer."
10830 msgstr ""
10831
10832 # type: textblock
10833 #: ../src/guestfs-actions.pod:3927
10834 msgid ""
10835 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
10836 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
10837 "function is limited in the total size of file that can be handled."
10838 msgstr ""
10839
10840 # type: =head2
10841 #: ../src/guestfs-actions.pod:3939
10842 msgid "guestfs_read_lines"
10843 msgstr ""
10844
10845 # type: verbatim
10846 #: ../src/guestfs-actions.pod:3941
10847 #, no-wrap
10848 msgid ""
10849 " char **guestfs_read_lines (guestfs_h *g,\n"
10850 "\t\tconst char *path);\n"
10851 "\n"
10852 msgstr ""
10853
10854 # type: textblock
10855 #: ../src/guestfs-actions.pod:3946 ../fish/guestfish-actions.pod:3041
10856 msgid ""
10857 "The file contents are returned as a list of lines.  Trailing C<LF> and "
10858 "C<CRLF> character sequences are I<not> returned."
10859 msgstr ""
10860
10861 # type: textblock
10862 #: ../src/guestfs-actions.pod:3949
10863 msgid ""
10864 "Note that this function cannot correctly handle binary files (specifically, "
10865 "files containing C<\\0> character which is treated as end of line).  For "
10866 "those you need to use the C<guestfs_read_file> function which has a more "
10867 "complex interface."
10868 msgstr ""
10869
10870 # type: =head2
10871 #: ../src/guestfs-actions.pod:3958
10872 msgid "guestfs_readdir"
10873 msgstr ""
10874
10875 # type: verbatim
10876 #: ../src/guestfs-actions.pod:3960
10877 #, no-wrap
10878 msgid ""
10879 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
10880 "\t\tconst char *dir);\n"
10881 "\n"
10882 msgstr ""
10883
10884 # type: textblock
10885 #: ../src/guestfs-actions.pod:3963 ../fish/guestfish-actions.pod:3053
10886 msgid "This returns the list of directory entries in directory C<dir>."
10887 msgstr ""
10888
10889 # type: textblock
10890 #: ../src/guestfs-actions.pod:3965 ../fish/guestfish-actions.pod:3055
10891 msgid ""
10892 "All entries in the directory are returned, including C<.> and C<..>.  The "
10893 "entries are I<not> sorted, but returned in the same order as the underlying "
10894 "filesystem."
10895 msgstr ""
10896
10897 # type: textblock
10898 #: ../src/guestfs-actions.pod:3969 ../fish/guestfish-actions.pod:3059
10899 msgid ""
10900 "Also this call returns basic file type information about each file.  The "
10901 "C<ftyp> field will contain one of the following characters:"
10902 msgstr ""
10903
10904 # type: =item
10905 #: ../src/guestfs-actions.pod:3974 ../fish/guestfish-actions.pod:3064
10906 msgid "'b'"
10907 msgstr ""
10908
10909 # type: textblock
10910 #: ../src/guestfs-actions.pod:3976 ../fish/guestfish-actions.pod:3066
10911 msgid "Block special"
10912 msgstr ""
10913
10914 # type: =item
10915 #: ../src/guestfs-actions.pod:3978 ../fish/guestfish-actions.pod:3068
10916 msgid "'c'"
10917 msgstr ""
10918
10919 # type: textblock
10920 #: ../src/guestfs-actions.pod:3980 ../fish/guestfish-actions.pod:3070
10921 msgid "Char special"
10922 msgstr ""
10923
10924 # type: =item
10925 #: ../src/guestfs-actions.pod:3982 ../fish/guestfish-actions.pod:3072
10926 msgid "'d'"
10927 msgstr ""
10928
10929 # type: textblock
10930 #: ../src/guestfs-actions.pod:3984 ../fish/guestfish-actions.pod:3074
10931 msgid "Directory"
10932 msgstr ""
10933
10934 # type: =item
10935 #: ../src/guestfs-actions.pod:3986 ../fish/guestfish-actions.pod:3076
10936 msgid "'f'"
10937 msgstr ""
10938
10939 # type: textblock
10940 #: ../src/guestfs-actions.pod:3988 ../fish/guestfish-actions.pod:3078
10941 msgid "FIFO (named pipe)"
10942 msgstr ""
10943
10944 # type: =item
10945 #: ../src/guestfs-actions.pod:3990 ../fish/guestfish-actions.pod:3080
10946 msgid "'l'"
10947 msgstr ""
10948
10949 # type: textblock
10950 #: ../src/guestfs-actions.pod:3992 ../fish/guestfish-actions.pod:3082
10951 msgid "Symbolic link"
10952 msgstr ""
10953
10954 # type: =item
10955 #: ../src/guestfs-actions.pod:3994 ../fish/guestfish-actions.pod:3084
10956 msgid "'r'"
10957 msgstr ""
10958
10959 # type: textblock
10960 #: ../src/guestfs-actions.pod:3996 ../fish/guestfish-actions.pod:3086
10961 msgid "Regular file"
10962 msgstr ""
10963
10964 # type: =item
10965 #: ../src/guestfs-actions.pod:3998 ../fish/guestfish-actions.pod:3088
10966 msgid "'s'"
10967 msgstr ""
10968
10969 # type: textblock
10970 #: ../src/guestfs-actions.pod:4000 ../fish/guestfish-actions.pod:3090
10971 msgid "Socket"
10972 msgstr ""
10973
10974 # type: =item
10975 #: ../src/guestfs-actions.pod:4002 ../fish/guestfish-actions.pod:3092
10976 msgid "'u'"
10977 msgstr ""
10978
10979 # type: textblock
10980 #: ../src/guestfs-actions.pod:4004 ../fish/guestfish-actions.pod:3094
10981 msgid "Unknown file type"
10982 msgstr ""
10983
10984 # type: =item
10985 #: ../src/guestfs-actions.pod:4006 ../fish/guestfish-actions.pod:3096
10986 msgid "'?'"
10987 msgstr ""
10988
10989 # type: textblock
10990 #: ../src/guestfs-actions.pod:4008 ../fish/guestfish-actions.pod:3098
10991 msgid ""
10992 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
10993 msgstr ""
10994
10995 # type: textblock
10996 #: ../src/guestfs-actions.pod:4013
10997 msgid ""
10998 "This function is primarily intended for use by programs.  To get a simple "
10999 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
11000 "consumption, use C<guestfs_ll>."
11001 msgstr ""
11002
11003 # type: textblock
11004 #: ../src/guestfs-actions.pod:4017
11005 msgid ""
11006 "This function returns a C<struct guestfs_dirent_list *> (see E<lt>guestfs-"
11007 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
11008 "C<guestfs_free_dirent_list> after use>."
11009 msgstr ""
11010
11011 # type: =head2
11012 #: ../src/guestfs-actions.pod:4022
11013 msgid "guestfs_readlink"
11014 msgstr ""
11015
11016 # type: verbatim
11017 #: ../src/guestfs-actions.pod:4024
11018 #, no-wrap
11019 msgid ""
11020 " char *guestfs_readlink (guestfs_h *g,\n"
11021 "\t\tconst char *path);\n"
11022 "\n"
11023 msgstr ""
11024
11025 # type: textblock
11026 #: ../src/guestfs-actions.pod:4027 ../fish/guestfish-actions.pod:3111
11027 msgid "This command reads the target of a symbolic link."
11028 msgstr ""
11029
11030 # type: =head2
11031 #: ../src/guestfs-actions.pod:4032
11032 msgid "guestfs_readlinklist"
11033 msgstr ""
11034
11035 # type: verbatim
11036 #: ../src/guestfs-actions.pod:4034
11037 #, no-wrap
11038 msgid ""
11039 " char **guestfs_readlinklist (guestfs_h *g,\n"
11040 "\t\tconst char *path,\n"
11041 "\t\tchar *const *names);\n"
11042 "\n"
11043 msgstr ""
11044
11045 # type: textblock
11046 #: ../src/guestfs-actions.pod:4038 ../fish/guestfish-actions.pod:3117
11047 msgid ""
11048 "This call allows you to do a C<readlink> operation on multiple files, where "
11049 "all files are in the directory C<path>.  C<names> is the list of files from "
11050 "this directory."
11051 msgstr ""
11052
11053 # type: textblock
11054 #: ../src/guestfs-actions.pod:4042 ../fish/guestfish-actions.pod:3121
11055 msgid ""
11056 "On return you get a list of strings, with a one-to-one correspondence to the "
11057 "C<names> list.  Each string is the value of the symbolic link."
11058 msgstr ""
11059
11060 # type: textblock
11061 #: ../src/guestfs-actions.pod:4046 ../fish/guestfish-actions.pod:3125
11062 msgid ""
11063 "If the C<readlink(2)> operation fails on any name, then the corresponding "
11064 "result string is the empty string C<\"\">.  However the whole operation is "
11065 "completed even if there were C<readlink(2)> errors, and so you can call this "
11066 "function with names where you don't know if they are symbolic links already "
11067 "(albeit slightly less efficient)."
11068 msgstr ""
11069
11070 # type: textblock
11071 #: ../src/guestfs-actions.pod:4053 ../fish/guestfish-actions.pod:3132
11072 msgid ""
11073 "This call is intended for programs that want to efficiently list a directory "
11074 "contents without making many round-trips.  Very long directory listings "
11075 "might cause the protocol message size to be exceeded, causing this call to "
11076 "fail.  The caller must split up such requests into smaller groups of names."
11077 msgstr ""
11078
11079 # type: =head2
11080 #: ../src/guestfs-actions.pod:4064
11081 msgid "guestfs_realpath"
11082 msgstr ""
11083
11084 # type: verbatim
11085 #: ../src/guestfs-actions.pod:4066
11086 #, no-wrap
11087 msgid ""
11088 " char *guestfs_realpath (guestfs_h *g,\n"
11089 "\t\tconst char *path);\n"
11090 "\n"
11091 msgstr ""
11092
11093 # type: textblock
11094 #: ../src/guestfs-actions.pod:4069 ../fish/guestfish-actions.pod:3143
11095 msgid ""
11096 "Return the canonicalized absolute pathname of C<path>.  The returned path "
11097 "has no C<.>, C<..> or symbolic link path elements."
11098 msgstr ""
11099
11100 # type: =head2
11101 #: ../src/guestfs-actions.pod:4075
11102 msgid "guestfs_removexattr"
11103 msgstr ""
11104
11105 # type: verbatim
11106 #: ../src/guestfs-actions.pod:4077
11107 #, no-wrap
11108 msgid ""
11109 " int guestfs_removexattr (guestfs_h *g,\n"
11110 "\t\tconst char *xattr,\n"
11111 "\t\tconst char *path);\n"
11112 "\n"
11113 msgstr ""
11114
11115 # type: textblock
11116 #: ../src/guestfs-actions.pod:4081 ../fish/guestfish-actions.pod:3150
11117 msgid ""
11118 "This call removes the extended attribute named C<xattr> of the file C<path>."
11119 msgstr ""
11120
11121 # type: textblock
11122 #: ../src/guestfs-actions.pod:4084
11123 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
11124 msgstr ""
11125
11126 # type: =head2
11127 #: ../src/guestfs-actions.pod:4088
11128 msgid "guestfs_resize2fs"
11129 msgstr ""
11130
11131 # type: verbatim
11132 #: ../src/guestfs-actions.pod:4090
11133 #, no-wrap
11134 msgid ""
11135 " int guestfs_resize2fs (guestfs_h *g,\n"
11136 "\t\tconst char *device);\n"
11137 "\n"
11138 msgstr ""
11139
11140 # type: textblock
11141 #: ../src/guestfs-actions.pod:4093 ../fish/guestfish-actions.pod:3159
11142 msgid ""
11143 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
11144 "underlying device."
11145 msgstr ""
11146
11147 # type: textblock
11148 #: ../src/guestfs-actions.pod:4096
11149 msgid ""
11150 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
11151 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
11152 "sometimes gives an error about this and sometimes not.  In any case, it is "
11153 "always safe to call C<guestfs_e2fsck_f> before calling this function."
11154 msgstr ""
11155
11156 # type: =head2
11157 #: ../src/guestfs-actions.pod:4104
11158 msgid "guestfs_resize2fs_size"
11159 msgstr ""
11160
11161 # type: verbatim
11162 #: ../src/guestfs-actions.pod:4106
11163 #, no-wrap
11164 msgid ""
11165 " int guestfs_resize2fs_size (guestfs_h *g,\n"
11166 "\t\tconst char *device,\n"
11167 "\t\tint64_t size);\n"
11168 "\n"
11169 msgstr ""
11170
11171 # type: textblock
11172 #: ../src/guestfs-actions.pod:4110
11173 msgid ""
11174 "This command is the same as C<guestfs_resize2fs> except that it allows you "
11175 "to specify the new size (in bytes) explicitly."
11176 msgstr ""
11177
11178 # type: =head2
11179 #: ../src/guestfs-actions.pod:4115
11180 msgid "guestfs_rm"
11181 msgstr ""
11182
11183 # type: verbatim
11184 #: ../src/guestfs-actions.pod:4117
11185 #, no-wrap
11186 msgid ""
11187 " int guestfs_rm (guestfs_h *g,\n"
11188 "\t\tconst char *path);\n"
11189 "\n"
11190 msgstr ""
11191
11192 # type: textblock
11193 #: ../src/guestfs-actions.pod:4120 ../fish/guestfish-actions.pod:3179
11194 msgid "Remove the single file C<path>."
11195 msgstr ""
11196
11197 # type: =head2
11198 #: ../src/guestfs-actions.pod:4124
11199 msgid "guestfs_rm_rf"
11200 msgstr ""
11201
11202 # type: verbatim
11203 #: ../src/guestfs-actions.pod:4126
11204 #, no-wrap
11205 msgid ""
11206 " int guestfs_rm_rf (guestfs_h *g,\n"
11207 "\t\tconst char *path);\n"
11208 "\n"
11209 msgstr ""
11210
11211 # type: textblock
11212 #: ../src/guestfs-actions.pod:4129 ../fish/guestfish-actions.pod:3185
11213 msgid ""
11214 "Remove the file or directory C<path>, recursively removing the contents if "
11215 "its a directory.  This is like the C<rm -rf> shell command."
11216 msgstr ""
11217
11218 # type: =head2
11219 #: ../src/guestfs-actions.pod:4135
11220 msgid "guestfs_rmdir"
11221 msgstr ""
11222
11223 # type: verbatim
11224 #: ../src/guestfs-actions.pod:4137
11225 #, no-wrap
11226 msgid ""
11227 " int guestfs_rmdir (guestfs_h *g,\n"
11228 "\t\tconst char *path);\n"
11229 "\n"
11230 msgstr ""
11231
11232 # type: textblock
11233 #: ../src/guestfs-actions.pod:4140 ../fish/guestfish-actions.pod:3193
11234 msgid "Remove the single directory C<path>."
11235 msgstr ""
11236
11237 # type: =head2
11238 #: ../src/guestfs-actions.pod:4144
11239 msgid "guestfs_rmmountpoint"
11240 msgstr ""
11241
11242 # type: verbatim
11243 #: ../src/guestfs-actions.pod:4146
11244 #, no-wrap
11245 msgid ""
11246 " int guestfs_rmmountpoint (guestfs_h *g,\n"
11247 "\t\tconst char *exemptpath);\n"
11248 "\n"
11249 msgstr ""
11250
11251 # type: textblock
11252 #: ../src/guestfs-actions.pod:4149
11253 msgid ""
11254 "This calls removes a mountpoint that was previously created with "
11255 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
11256 msgstr ""
11257
11258 # type: =head2
11259 #: ../src/guestfs-actions.pod:4155
11260 msgid "guestfs_scrub_device"
11261 msgstr ""
11262
11263 # type: verbatim
11264 #: ../src/guestfs-actions.pod:4157
11265 #, no-wrap
11266 msgid ""
11267 " int guestfs_scrub_device (guestfs_h *g,\n"
11268 "\t\tconst char *device);\n"
11269 "\n"
11270 msgstr ""
11271
11272 # type: textblock
11273 #: ../src/guestfs-actions.pod:4160 ../fish/guestfish-actions.pod:3207
11274 msgid ""
11275 "This command writes patterns over C<device> to make data retrieval more "
11276 "difficult."
11277 msgstr ""
11278
11279 # type: textblock
11280 #: ../src/guestfs-actions.pod:4163 ../src/guestfs-actions.pod:4181
11281 #: ../src/guestfs-actions.pod:4197 ../fish/guestfish-actions.pod:3210
11282 #: ../fish/guestfish-actions.pod:3225 ../fish/guestfish-actions.pod:3238
11283 msgid ""
11284 "It is an interface to the L<scrub(1)> program.  See that manual page for "
11285 "more details."
11286 msgstr ""
11287
11288 # type: =head2
11289 #: ../src/guestfs-actions.pod:4171
11290 msgid "guestfs_scrub_file"
11291 msgstr ""
11292
11293 # type: verbatim
11294 #: ../src/guestfs-actions.pod:4173
11295 #, no-wrap
11296 msgid ""
11297 " int guestfs_scrub_file (guestfs_h *g,\n"
11298 "\t\tconst char *file);\n"
11299 "\n"
11300 msgstr ""
11301
11302 # type: textblock
11303 #: ../src/guestfs-actions.pod:4176 ../fish/guestfish-actions.pod:3220
11304 msgid ""
11305 "This command writes patterns over a file to make data retrieval more "
11306 "difficult."
11307 msgstr ""
11308
11309 # type: textblock
11310 #: ../src/guestfs-actions.pod:4179 ../fish/guestfish-actions.pod:3223
11311 msgid "The file is I<removed> after scrubbing."
11312 msgstr ""
11313
11314 # type: =head2
11315 #: ../src/guestfs-actions.pod:4186
11316 msgid "guestfs_scrub_freespace"
11317 msgstr ""
11318
11319 # type: verbatim
11320 #: ../src/guestfs-actions.pod:4188
11321 #, no-wrap
11322 msgid ""
11323 " int guestfs_scrub_freespace (guestfs_h *g,\n"
11324 "\t\tconst char *dir);\n"
11325 "\n"
11326 msgstr ""
11327
11328 # type: textblock
11329 #: ../src/guestfs-actions.pod:4191
11330 msgid ""
11331 "This command creates the directory C<dir> and then fills it with files until "
11332 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
11333 "and deletes them.  The intention is to scrub any free space on the partition "
11334 "containing C<dir>."
11335 msgstr ""
11336
11337 # type: =head2
11338 #: ../src/guestfs-actions.pod:4202
11339 msgid "guestfs_set_append"
11340 msgstr ""
11341
11342 # type: verbatim
11343 #: ../src/guestfs-actions.pod:4204
11344 #, no-wrap
11345 msgid ""
11346 " int guestfs_set_append (guestfs_h *g,\n"
11347 "\t\tconst char *append);\n"
11348 "\n"
11349 msgstr ""
11350
11351 # type: textblock
11352 #: ../src/guestfs-actions.pod:4207 ../fish/guestfish-actions.pod:3245
11353 msgid ""
11354 "This function is used to add additional options to the guest kernel command "
11355 "line."
11356 msgstr ""
11357
11358 # type: textblock
11359 #: ../src/guestfs-actions.pod:4210 ../fish/guestfish-actions.pod:3248
11360 msgid ""
11361 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
11362 "environment variable."
11363 msgstr ""
11364
11365 # type: textblock
11366 #: ../src/guestfs-actions.pod:4213 ../fish/guestfish-actions.pod:3251
11367 msgid ""
11368 "Setting C<append> to C<NULL> means I<no> additional options are passed "
11369 "(libguestfs always adds a few of its own)."
11370 msgstr ""
11371
11372 # type: =head2
11373 #: ../src/guestfs-actions.pod:4218
11374 msgid "guestfs_set_autosync"
11375 msgstr ""
11376
11377 # type: verbatim
11378 #: ../src/guestfs-actions.pod:4220
11379 #, no-wrap
11380 msgid ""
11381 " int guestfs_set_autosync (guestfs_h *g,\n"
11382 "\t\tint autosync);\n"
11383 "\n"
11384 msgstr ""
11385
11386 # type: textblock
11387 #: ../src/guestfs-actions.pod:4223
11388 msgid ""
11389 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
11390 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
11391 "the handle is closed (also if the program exits without closing handles)."
11392 msgstr ""
11393
11394 # type: textblock
11395 #: ../src/guestfs-actions.pod:4228 ../fish/guestfish-actions.pod:3263
11396 msgid ""
11397 "This is disabled by default (except in guestfish where it is enabled by "
11398 "default)."
11399 msgstr ""
11400
11401 # type: =head2
11402 #: ../src/guestfs-actions.pod:4233
11403 msgid "guestfs_set_direct"
11404 msgstr ""
11405
11406 # type: verbatim
11407 #: ../src/guestfs-actions.pod:4235
11408 #, no-wrap
11409 msgid ""
11410 " int guestfs_set_direct (guestfs_h *g,\n"
11411 "\t\tint direct);\n"
11412 "\n"
11413 msgstr ""
11414
11415 # type: textblock
11416 #: ../src/guestfs-actions.pod:4238 ../fish/guestfish-actions.pod:3270
11417 msgid ""
11418 "If the direct appliance mode flag is enabled, then stdin and stdout are "
11419 "passed directly through to the appliance once it is launched."
11420 msgstr ""
11421
11422 # type: textblock
11423 #: ../src/guestfs-actions.pod:4242
11424 msgid ""
11425 "One consequence of this is that log messages aren't caught by the library "
11426 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
11427 "stdout."
11428 msgstr ""
11429
11430 # type: textblock
11431 #: ../src/guestfs-actions.pod:4246 ../fish/guestfish-actions.pod:3278
11432 msgid "You probably don't want to use this unless you know what you are doing."
11433 msgstr ""
11434
11435 # type: textblock
11436 #: ../src/guestfs-actions.pod:4249 ../fish/guestfish-actions.pod:3281
11437 msgid "The default is disabled."
11438 msgstr ""
11439
11440 # type: =head2
11441 #: ../src/guestfs-actions.pod:4253
11442 msgid "guestfs_set_e2label"
11443 msgstr ""
11444
11445 # type: verbatim
11446 #: ../src/guestfs-actions.pod:4255
11447 #, no-wrap
11448 msgid ""
11449 " int guestfs_set_e2label (guestfs_h *g,\n"
11450 "\t\tconst char *device,\n"
11451 "\t\tconst char *label);\n"
11452 "\n"
11453 msgstr ""
11454
11455 # type: textblock
11456 #: ../src/guestfs-actions.pod:4259 ../fish/guestfish-actions.pod:3287
11457 msgid ""
11458 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11459 "C<label>.  Filesystem labels are limited to 16 characters."
11460 msgstr ""
11461
11462 # type: textblock
11463 #: ../src/guestfs-actions.pod:4263
11464 msgid ""
11465 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11466 "the existing label on a filesystem."
11467 msgstr ""
11468
11469 # type: =head2
11470 #: ../src/guestfs-actions.pod:4268
11471 msgid "guestfs_set_e2uuid"
11472 msgstr ""
11473
11474 # type: verbatim
11475 #: ../src/guestfs-actions.pod:4270
11476 #, no-wrap
11477 msgid ""
11478 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11479 "\t\tconst char *device,\n"
11480 "\t\tconst char *uuid);\n"
11481 "\n"
11482 msgstr ""
11483
11484 # type: textblock
11485 #: ../src/guestfs-actions.pod:4274 ../fish/guestfish-actions.pod:3298
11486 msgid ""
11487 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11488 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11489 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11490 msgstr ""
11491
11492 # type: textblock
11493 #: ../src/guestfs-actions.pod:4279
11494 msgid ""
11495 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11496 "the existing UUID of a filesystem."
11497 msgstr ""
11498
11499 # type: =head2
11500 #: ../src/guestfs-actions.pod:4284
11501 msgid "guestfs_set_memsize"
11502 msgstr ""
11503
11504 # type: verbatim
11505 #: ../src/guestfs-actions.pod:4286
11506 #, no-wrap
11507 msgid ""
11508 " int guestfs_set_memsize (guestfs_h *g,\n"
11509 "\t\tint memsize);\n"
11510 "\n"
11511 msgstr ""
11512
11513 # type: textblock
11514 #: ../src/guestfs-actions.pod:4289
11515 msgid ""
11516 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11517 "This only has any effect if called before C<guestfs_launch>."
11518 msgstr ""
11519
11520 # type: textblock
11521 #: ../src/guestfs-actions.pod:4293 ../fish/guestfish-actions.pod:3314
11522 msgid ""
11523 "You can also change this by setting the environment variable "
11524 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11525 msgstr ""
11526
11527 # type: =head2
11528 #: ../src/guestfs-actions.pod:4302
11529 msgid "guestfs_set_network"
11530 msgstr ""
11531
11532 # type: verbatim
11533 #: ../src/guestfs-actions.pod:4304
11534 #, no-wrap
11535 msgid ""
11536 " int guestfs_set_network (guestfs_h *g,\n"
11537 "\t\tint network);\n"
11538 "\n"
11539 msgstr ""
11540
11541 # type: textblock
11542 #: ../src/guestfs-actions.pod:4307 ../fish/guestfish-actions.pod:3325
11543 msgid ""
11544 "If C<network> is true, then the network is enabled in the libguestfs "
11545 "appliance.  The default is false."
11546 msgstr ""
11547
11548 # type: textblock
11549 #: ../src/guestfs-actions.pod:4310 ../fish/guestfish-actions.pod:3328
11550 msgid ""
11551 "This affects whether commands are able to access the network (see L<guestfs"
11552 "(3)/RUNNING COMMANDS>)."
11553 msgstr ""
11554
11555 # type: textblock
11556 #: ../src/guestfs-actions.pod:4313
11557 msgid ""
11558 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11559 "effect."
11560 msgstr ""
11561
11562 # type: =head2
11563 #: ../src/guestfs-actions.pod:4318
11564 msgid "guestfs_set_path"
11565 msgstr ""
11566
11567 # type: verbatim
11568 #: ../src/guestfs-actions.pod:4320
11569 #, no-wrap
11570 msgid ""
11571 " int guestfs_set_path (guestfs_h *g,\n"
11572 "\t\tconst char *searchpath);\n"
11573 "\n"
11574 msgstr ""
11575
11576 # type: textblock
11577 #: ../src/guestfs-actions.pod:4323 ../fish/guestfish-actions.pod:3338
11578 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11579 msgstr ""
11580
11581 # type: textblock
11582 #: ../src/guestfs-actions.pod:4325 ../fish/guestfish-actions.pod:3340
11583 msgid ""
11584 "The default is C<$libdir/guestfs> unless overridden by setting "
11585 "C<LIBGUESTFS_PATH> environment variable."
11586 msgstr ""
11587
11588 # type: textblock
11589 #: ../src/guestfs-actions.pod:4328 ../fish/guestfish-actions.pod:3343
11590 msgid "Setting C<path> to C<NULL> restores the default path."
11591 msgstr ""
11592
11593 # type: =head2
11594 #: ../src/guestfs-actions.pod:4332
11595 msgid "guestfs_set_qemu"
11596 msgstr ""
11597
11598 # type: verbatim
11599 #: ../src/guestfs-actions.pod:4334
11600 #, no-wrap
11601 msgid ""
11602 " int guestfs_set_qemu (guestfs_h *g,\n"
11603 "\t\tconst char *qemu);\n"
11604 "\n"
11605 msgstr ""
11606
11607 # type: textblock
11608 #: ../src/guestfs-actions.pod:4337 ../fish/guestfish-actions.pod:3349
11609 msgid "Set the qemu binary that we will use."
11610 msgstr ""
11611
11612 # type: textblock
11613 #: ../src/guestfs-actions.pod:4339 ../fish/guestfish-actions.pod:3351
11614 msgid ""
11615 "The default is chosen when the library was compiled by the configure script."
11616 msgstr ""
11617
11618 # type: textblock
11619 #: ../src/guestfs-actions.pod:4342 ../fish/guestfish-actions.pod:3354
11620 msgid ""
11621 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11622 "variable."
11623 msgstr ""
11624
11625 # type: textblock
11626 #: ../src/guestfs-actions.pod:4345 ../fish/guestfish-actions.pod:3357
11627 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11628 msgstr ""
11629
11630 # type: textblock
11631 #: ../src/guestfs-actions.pod:4347 ../fish/guestfish-actions.pod:3359
11632 msgid ""
11633 "Note that you should call this function as early as possible after creating "
11634 "the handle.  This is because some pre-launch operations depend on testing "
11635 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11636 "don't retest features, and so you might see inconsistent results.  Using the "
11637 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11638 "the qemu binary at the same time as the handle is created."
11639 msgstr ""
11640
11641 # type: =head2
11642 #: ../src/guestfs-actions.pod:4357
11643 msgid "guestfs_set_recovery_proc"
11644 msgstr ""
11645
11646 # type: verbatim
11647 #: ../src/guestfs-actions.pod:4359
11648 #, no-wrap
11649 msgid ""
11650 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11651 "\t\tint recoveryproc);\n"
11652 "\n"
11653 msgstr ""
11654
11655 # type: textblock
11656 #: ../src/guestfs-actions.pod:4362
11657 msgid ""
11658 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11659 "not create a recovery process.  The purpose of the recovery process is to "
11660 "stop runaway qemu processes in the case where the main program aborts "
11661 "abruptly."
11662 msgstr ""
11663
11664 # type: textblock
11665 #: ../src/guestfs-actions.pod:4367
11666 msgid ""
11667 "This only has any effect if called before C<guestfs_launch>, and the default "
11668 "is true."
11669 msgstr ""
11670
11671 # type: textblock
11672 #: ../src/guestfs-actions.pod:4370 ../fish/guestfish-actions.pod:3379
11673 msgid ""
11674 "About the only time when you would want to disable this is if the main "
11675 "process will fork itself into the background (\"daemonize\" itself).  In "
11676 "this case the recovery process thinks that the main program has disappeared "
11677 "and so kills qemu, which is not very helpful."
11678 msgstr ""
11679
11680 # type: =head2
11681 #: ../src/guestfs-actions.pod:4378
11682 msgid "guestfs_set_selinux"
11683 msgstr ""
11684
11685 # type: verbatim
11686 #: ../src/guestfs-actions.pod:4380
11687 #, no-wrap
11688 msgid ""
11689 " int guestfs_set_selinux (guestfs_h *g,\n"
11690 "\t\tint selinux);\n"
11691 "\n"
11692 msgstr ""
11693
11694 # type: textblock
11695 #: ../src/guestfs-actions.pod:4383 ../fish/guestfish-actions.pod:3389
11696 msgid ""
11697 "This sets the selinux flag that is passed to the appliance at boot time.  "
11698 "The default is C<selinux=0> (disabled)."
11699 msgstr ""
11700
11701 # type: textblock
11702 #: ../src/guestfs-actions.pod:4386 ../fish/guestfish-actions.pod:3392
11703 msgid ""
11704 "Note that if SELinux is enabled, it is always in Permissive mode "
11705 "(C<enforcing=0>)."
11706 msgstr ""
11707
11708 # type: =head2
11709 #: ../src/guestfs-actions.pod:4394
11710 msgid "guestfs_set_trace"
11711 msgstr ""
11712
11713 # type: verbatim
11714 #: ../src/guestfs-actions.pod:4396
11715 #, no-wrap
11716 msgid ""
11717 " int guestfs_set_trace (guestfs_h *g,\n"
11718 "\t\tint trace);\n"
11719 "\n"
11720 msgstr ""
11721
11722 # type: textblock
11723 #: ../src/guestfs-actions.pod:4399 ../fish/guestfish-actions.pod:3402
11724 msgid ""
11725 "If the command trace flag is set to 1, then commands are printed on stderr "
11726 "before they are executed in a format which is very similar to the one used "
11727 "by guestfish.  In other words, you can run a program with this enabled, and "
11728 "you will get out a script which you can feed to guestfish to perform the "
11729 "same set of actions."
11730 msgstr ""
11731
11732 # type: textblock
11733 #: ../src/guestfs-actions.pod:4406 ../fish/guestfish-actions.pod:3409
11734 msgid ""
11735 "If you want to trace C API calls into libguestfs (and other libraries) then "
11736 "possibly a better way is to use the external ltrace(1) command."
11737 msgstr ""
11738
11739 # type: textblock
11740 #: ../src/guestfs-actions.pod:4410 ../fish/guestfish-actions.pod:3413
11741 msgid ""
11742 "Command traces are disabled unless the environment variable "
11743 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11744 msgstr ""
11745
11746 # type: =head2
11747 #: ../src/guestfs-actions.pod:4415
11748 msgid "guestfs_set_verbose"
11749 msgstr ""
11750
11751 # type: verbatim
11752 #: ../src/guestfs-actions.pod:4417
11753 #, no-wrap
11754 msgid ""
11755 " int guestfs_set_verbose (guestfs_h *g,\n"
11756 "\t\tint verbose);\n"
11757 "\n"
11758 msgstr ""
11759
11760 # type: textblock
11761 #: ../src/guestfs-actions.pod:4420 ../fish/guestfish-actions.pod:3420
11762 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11763 msgstr ""
11764
11765 # type: textblock
11766 #: ../src/guestfs-actions.pod:4422 ../fish/guestfish-actions.pod:3422
11767 msgid ""
11768 "Verbose messages are disabled unless the environment variable "
11769 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11770 msgstr ""
11771
11772 # type: =head2
11773 #: ../src/guestfs-actions.pod:4427
11774 msgid "guestfs_setcon"
11775 msgstr ""
11776
11777 # type: verbatim
11778 #: ../src/guestfs-actions.pod:4429
11779 #, no-wrap
11780 msgid ""
11781 " int guestfs_setcon (guestfs_h *g,\n"
11782 "\t\tconst char *context);\n"
11783 "\n"
11784 msgstr ""
11785
11786 # type: textblock
11787 #: ../src/guestfs-actions.pod:4432 ../fish/guestfish-actions.pod:3429
11788 msgid ""
11789 "This sets the SELinux security context of the daemon to the string "
11790 "C<context>."
11791 msgstr ""
11792
11793 # type: textblock
11794 #: ../src/guestfs-actions.pod:4435 ../fish/guestfish-actions.pod:3432
11795 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11796 msgstr ""
11797
11798 # type: =head2
11799 #: ../src/guestfs-actions.pod:4439
11800 msgid "guestfs_setxattr"
11801 msgstr ""
11802
11803 # type: verbatim
11804 #: ../src/guestfs-actions.pod:4441
11805 #, no-wrap
11806 msgid ""
11807 " int guestfs_setxattr (guestfs_h *g,\n"
11808 "\t\tconst char *xattr,\n"
11809 "\t\tconst char *val,\n"
11810 "\t\tint vallen,\n"
11811 "\t\tconst char *path);\n"
11812 "\n"
11813 msgstr ""
11814
11815 # type: textblock
11816 #: ../src/guestfs-actions.pod:4447 ../fish/guestfish-actions.pod:3438
11817 msgid ""
11818 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11819 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11820 msgstr ""
11821
11822 # type: textblock
11823 #: ../src/guestfs-actions.pod:4451
11824 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11825 msgstr ""
11826
11827 # type: =head2
11828 #: ../src/guestfs-actions.pod:4455
11829 msgid "guestfs_sfdisk"
11830 msgstr ""
11831
11832 # type: verbatim
11833 #: ../src/guestfs-actions.pod:4457
11834 #, no-wrap
11835 msgid ""
11836 " int guestfs_sfdisk (guestfs_h *g,\n"
11837 "\t\tconst char *device,\n"
11838 "\t\tint cyls,\n"
11839 "\t\tint heads,\n"
11840 "\t\tint sectors,\n"
11841 "\t\tchar *const *lines);\n"
11842 "\n"
11843 msgstr ""
11844
11845 # type: textblock
11846 #: ../src/guestfs-actions.pod:4464 ../fish/guestfish-actions.pod:3448
11847 msgid ""
11848 "This is a direct interface to the L<sfdisk(8)> program for creating "
11849 "partitions on block devices."
11850 msgstr ""
11851
11852 # type: textblock
11853 #: ../src/guestfs-actions.pod:4467 ../fish/guestfish-actions.pod:3451
11854 msgid "C<device> should be a block device, for example C</dev/sda>."
11855 msgstr ""
11856
11857 # type: textblock
11858 #: ../src/guestfs-actions.pod:4469 ../fish/guestfish-actions.pod:3453
11859 msgid ""
11860 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
11861 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
11862 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
11863 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
11864 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
11865 "the kernel) cannot work out the right geometry and you will need to tell it."
11866 msgstr ""
11867
11868 # type: textblock
11869 #: ../src/guestfs-actions.pod:4477 ../fish/guestfish-actions.pod:3461
11870 msgid ""
11871 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
11872 "refer to the L<sfdisk(8)> manpage."
11873 msgstr ""
11874
11875 # type: textblock
11876 #: ../src/guestfs-actions.pod:4480 ../fish/guestfish-actions.pod:3464
11877 msgid ""
11878 "To create a single partition occupying the whole disk, you would pass "
11879 "C<lines> as a single element list, when the single element being the string "
11880 "C<,> (comma)."
11881 msgstr ""
11882
11883 # type: textblock
11884 #: ../src/guestfs-actions.pod:4484
11885 msgid ""
11886 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
11887 msgstr ""
11888
11889 # type: =head2
11890 #: ../src/guestfs-actions.pod:4492
11891 msgid "guestfs_sfdiskM"
11892 msgstr ""
11893
11894 # type: verbatim
11895 #: ../src/guestfs-actions.pod:4494
11896 #, no-wrap
11897 msgid ""
11898 " int guestfs_sfdiskM (guestfs_h *g,\n"
11899 "\t\tconst char *device,\n"
11900 "\t\tchar *const *lines);\n"
11901 "\n"
11902 msgstr ""
11903
11904 # type: textblock
11905 #: ../src/guestfs-actions.pod:4498
11906 msgid ""
11907 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
11908 "partition sizes are specified in megabytes only (rounded to the nearest "
11909 "cylinder) and you don't need to specify the cyls, heads and sectors "
11910 "parameters which were rarely if ever used anyway."
11911 msgstr ""
11912
11913 # type: textblock
11914 #: ../src/guestfs-actions.pod:4504
11915 msgid ""
11916 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
11917 "C<guestfs_part_disk>"
11918 msgstr ""
11919
11920 # type: =head2
11921 #: ../src/guestfs-actions.pod:4512
11922 msgid "guestfs_sfdisk_N"
11923 msgstr ""
11924
11925 # type: verbatim
11926 #: ../src/guestfs-actions.pod:4514
11927 #, no-wrap
11928 msgid ""
11929 " int guestfs_sfdisk_N (guestfs_h *g,\n"
11930 "\t\tconst char *device,\n"
11931 "\t\tint partnum,\n"
11932 "\t\tint cyls,\n"
11933 "\t\tint heads,\n"
11934 "\t\tint sectors,\n"
11935 "\t\tconst char *line);\n"
11936 "\n"
11937 msgstr ""
11938
11939 # type: textblock
11940 #: ../src/guestfs-actions.pod:4522 ../fish/guestfish-actions.pod:3494
11941 msgid ""
11942 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
11943 "(note: C<n> counts from 1)."
11944 msgstr ""
11945
11946 # type: textblock
11947 #: ../src/guestfs-actions.pod:4525
11948 msgid ""
11949 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
11950 "for the cyls/heads/sectors parameters."
11951 msgstr ""
11952
11953 # type: textblock
11954 #: ../src/guestfs-actions.pod:4528
11955 msgid "See also: C<guestfs_part_add>"
11956 msgstr ""
11957
11958 # type: =head2
11959 #: ../src/guestfs-actions.pod:4535
11960 msgid "guestfs_sfdisk_disk_geometry"
11961 msgstr ""
11962
11963 # type: verbatim
11964 #: ../src/guestfs-actions.pod:4537
11965 #, no-wrap
11966 msgid ""
11967 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
11968 "\t\tconst char *device);\n"
11969 "\n"
11970 msgstr ""
11971
11972 # type: textblock
11973 #: ../src/guestfs-actions.pod:4540
11974 msgid ""
11975 "This displays the disk geometry of C<device> read from the partition table.  "
11976 "Especially in the case where the underlying block device has been resized, "
11977 "this can be different from the kernel's idea of the geometry (see "
11978 "C<guestfs_sfdisk_kernel_geometry>)."
11979 msgstr ""
11980
11981 # type: textblock
11982 #: ../src/guestfs-actions.pod:4545 ../src/guestfs-actions.pod:4558
11983 #: ../fish/guestfish-actions.pod:3514 ../fish/guestfish-actions.pod:3523
11984 msgid "The result is in human-readable format, and not designed to be parsed."
11985 msgstr ""
11986
11987 # type: =head2
11988 #: ../src/guestfs-actions.pod:4551
11989 msgid "guestfs_sfdisk_kernel_geometry"
11990 msgstr ""
11991
11992 # type: verbatim
11993 #: ../src/guestfs-actions.pod:4553
11994 #, no-wrap
11995 msgid ""
11996 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
11997 "\t\tconst char *device);\n"
11998 "\n"
11999 msgstr ""
12000
12001 # type: textblock
12002 #: ../src/guestfs-actions.pod:4556 ../fish/guestfish-actions.pod:3521
12003 msgid "This displays the kernel's idea of the geometry of C<device>."
12004 msgstr ""
12005
12006 # type: =head2
12007 #: ../src/guestfs-actions.pod:4564
12008 msgid "guestfs_sfdisk_l"
12009 msgstr ""
12010
12011 # type: verbatim
12012 #: ../src/guestfs-actions.pod:4566
12013 #, no-wrap
12014 msgid ""
12015 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
12016 "\t\tconst char *device);\n"
12017 "\n"
12018 msgstr ""
12019
12020 # type: textblock
12021 #: ../src/guestfs-actions.pod:4569 ../fish/guestfish-actions.pod:3530
12022 msgid ""
12023 "This displays the partition table on C<device>, in the human-readable output "
12024 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
12025 msgstr ""
12026
12027 # type: textblock
12028 #: ../src/guestfs-actions.pod:4573
12029 msgid "See also: C<guestfs_part_list>"
12030 msgstr ""
12031
12032 # type: =head2
12033 #: ../src/guestfs-actions.pod:4578
12034 msgid "guestfs_sh"
12035 msgstr ""
12036
12037 # type: verbatim
12038 #: ../src/guestfs-actions.pod:4580
12039 #, no-wrap
12040 msgid ""
12041 " char *guestfs_sh (guestfs_h *g,\n"
12042 "\t\tconst char *command);\n"
12043 "\n"
12044 msgstr ""
12045
12046 # type: textblock
12047 #: ../src/guestfs-actions.pod:4583 ../fish/guestfish-actions.pod:3540
12048 msgid ""
12049 "This call runs a command from the guest filesystem via the guest's C</bin/"
12050 "sh>."
12051 msgstr ""
12052
12053 # type: textblock
12054 #: ../src/guestfs-actions.pod:4586
12055 msgid "This is like C<guestfs_command>, but passes the command to:"
12056 msgstr ""
12057
12058 # type: verbatim
12059 #: ../src/guestfs-actions.pod:4588 ../fish/guestfish-actions.pod:3545
12060 #, no-wrap
12061 msgid ""
12062 " /bin/sh -c \"command\"\n"
12063 "\n"
12064 msgstr ""
12065
12066 # type: textblock
12067 #: ../src/guestfs-actions.pod:4590 ../fish/guestfish-actions.pod:3547
12068 msgid ""
12069 "Depending on the guest's shell, this usually results in wildcards being "
12070 "expanded, shell expressions being interpolated and so on."
12071 msgstr ""
12072
12073 # type: textblock
12074 #: ../src/guestfs-actions.pod:4594
12075 msgid "All the provisos about C<guestfs_command> apply to this call."
12076 msgstr ""
12077
12078 # type: =head2
12079 #: ../src/guestfs-actions.pod:4599
12080 msgid "guestfs_sh_lines"
12081 msgstr ""
12082
12083 # type: verbatim
12084 #: ../src/guestfs-actions.pod:4601
12085 #, no-wrap
12086 msgid ""
12087 " char **guestfs_sh_lines (guestfs_h *g,\n"
12088 "\t\tconst char *command);\n"
12089 "\n"
12090 msgstr ""
12091
12092 # type: textblock
12093 #: ../src/guestfs-actions.pod:4604
12094 msgid ""
12095 "This is the same as C<guestfs_sh>, but splits the result into a list of "
12096 "lines."
12097 msgstr ""
12098
12099 # type: textblock
12100 #: ../src/guestfs-actions.pod:4607
12101 msgid "See also: C<guestfs_command_lines>"
12102 msgstr ""
12103
12104 # type: =head2
12105 #: ../src/guestfs-actions.pod:4613
12106 msgid "guestfs_sleep"
12107 msgstr ""
12108
12109 # type: verbatim
12110 #: ../src/guestfs-actions.pod:4615
12111 #, no-wrap
12112 msgid ""
12113 " int guestfs_sleep (guestfs_h *g,\n"
12114 "\t\tint secs);\n"
12115 "\n"
12116 msgstr ""
12117
12118 # type: textblock
12119 #: ../src/guestfs-actions.pod:4618 ../fish/guestfish-actions.pod:3566
12120 msgid "Sleep for C<secs> seconds."
12121 msgstr ""
12122
12123 # type: =head2
12124 #: ../src/guestfs-actions.pod:4622 ../src/guestfs-structs.pod:109
12125 msgid "guestfs_stat"
12126 msgstr ""
12127
12128 # type: verbatim
12129 #: ../src/guestfs-actions.pod:4624
12130 #, no-wrap
12131 msgid ""
12132 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
12133 "\t\tconst char *path);\n"
12134 "\n"
12135 msgstr ""
12136
12137 # type: textblock
12138 #: ../src/guestfs-actions.pod:4629 ../fish/guestfish-actions.pod:3574
12139 msgid "This is the same as the C<stat(2)> system call."
12140 msgstr ""
12141
12142 # type: =head2
12143 #: ../src/guestfs-actions.pod:4635 ../src/guestfs-structs.pod:135
12144 msgid "guestfs_statvfs"
12145 msgstr ""
12146
12147 # type: verbatim
12148 #: ../src/guestfs-actions.pod:4637
12149 #, no-wrap
12150 msgid ""
12151 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
12152 "\t\tconst char *path);\n"
12153 "\n"
12154 msgstr ""
12155
12156 # type: textblock
12157 #: ../src/guestfs-actions.pod:4640 ../fish/guestfish-actions.pod:3580
12158 msgid ""
12159 "Returns file system statistics for any mounted file system.  C<path> should "
12160 "be a file or directory in the mounted file system (typically it is the mount "
12161 "point itself, but it doesn't need to be)."
12162 msgstr ""
12163
12164 # type: textblock
12165 #: ../src/guestfs-actions.pod:4644 ../fish/guestfish-actions.pod:3584
12166 msgid "This is the same as the C<statvfs(2)> system call."
12167 msgstr ""
12168
12169 # type: textblock
12170 #: ../src/guestfs-actions.pod:4646
12171 msgid ""
12172 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
12173 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
12174 msgstr ""
12175
12176 # type: =head2
12177 #: ../src/guestfs-actions.pod:4650
12178 msgid "guestfs_strings"
12179 msgstr ""
12180
12181 # type: verbatim
12182 #: ../src/guestfs-actions.pod:4652
12183 #, no-wrap
12184 msgid ""
12185 " char **guestfs_strings (guestfs_h *g,\n"
12186 "\t\tconst char *path);\n"
12187 "\n"
12188 msgstr ""
12189
12190 # type: textblock
12191 #: ../src/guestfs-actions.pod:4655 ../fish/guestfish-actions.pod:3590
12192 msgid ""
12193 "This runs the L<strings(1)> command on a file and returns the list of "
12194 "printable strings found."
12195 msgstr ""
12196
12197 # type: =head2
12198 #: ../src/guestfs-actions.pod:4665
12199 msgid "guestfs_strings_e"
12200 msgstr ""
12201
12202 # type: verbatim
12203 #: ../src/guestfs-actions.pod:4667
12204 #, no-wrap
12205 msgid ""
12206 " char **guestfs_strings_e (guestfs_h *g,\n"
12207 "\t\tconst char *encoding,\n"
12208 "\t\tconst char *path);\n"
12209 "\n"
12210 msgstr ""
12211
12212 # type: textblock
12213 #: ../src/guestfs-actions.pod:4671
12214 msgid ""
12215 "This is like the C<guestfs_strings> command, but allows you to specify the "
12216 "encoding of strings that are looked for in the source file C<path>."
12217 msgstr ""
12218
12219 # type: textblock
12220 #: ../src/guestfs-actions.pod:4675 ../fish/guestfish-actions.pod:3604
12221 msgid "Allowed encodings are:"
12222 msgstr ""
12223
12224 # type: =item
12225 #: ../src/guestfs-actions.pod:4679 ../fish/guestfish-actions.pod:3608
12226 msgid "s"
12227 msgstr ""
12228
12229 # type: textblock
12230 #: ../src/guestfs-actions.pod:4681
12231 msgid ""
12232 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
12233 "ISO-8859-X (this is what C<guestfs_strings> uses)."
12234 msgstr ""
12235
12236 # type: =item
12237 #: ../src/guestfs-actions.pod:4684 ../fish/guestfish-actions.pod:3613
12238 msgid "S"
12239 msgstr ""
12240
12241 # type: textblock
12242 #: ../src/guestfs-actions.pod:4686 ../fish/guestfish-actions.pod:3615
12243 msgid "Single 8-bit-byte characters."
12244 msgstr ""
12245
12246 # type: =item
12247 #: ../src/guestfs-actions.pod:4688 ../fish/guestfish-actions.pod:3617
12248 msgid "b"
12249 msgstr ""
12250
12251 # type: textblock
12252 #: ../src/guestfs-actions.pod:4690 ../fish/guestfish-actions.pod:3619
12253 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
12254 msgstr ""
12255
12256 # type: =item
12257 #: ../src/guestfs-actions.pod:4693 ../fish/guestfish-actions.pod:3622
12258 msgid "l (lower case letter L)"
12259 msgstr ""
12260
12261 # type: textblock
12262 #: ../src/guestfs-actions.pod:4695 ../fish/guestfish-actions.pod:3624
12263 msgid ""
12264 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
12265 "examining binaries in Windows guests."
12266 msgstr ""
12267
12268 # type: =item
12269 #: ../src/guestfs-actions.pod:4698 ../fish/guestfish-actions.pod:3627
12270 msgid "B"
12271 msgstr ""
12272
12273 # type: textblock
12274 #: ../src/guestfs-actions.pod:4700 ../fish/guestfish-actions.pod:3629
12275 msgid "32-bit big endian such as UCS-4BE."
12276 msgstr ""
12277
12278 # type: =item
12279 #: ../src/guestfs-actions.pod:4702 ../fish/guestfish-actions.pod:3631
12280 msgid "L"
12281 msgstr ""
12282
12283 # type: textblock
12284 #: ../src/guestfs-actions.pod:4704 ../fish/guestfish-actions.pod:3633
12285 msgid "32-bit little endian such as UCS-4LE."
12286 msgstr ""
12287
12288 # type: textblock
12289 #: ../src/guestfs-actions.pod:4708 ../fish/guestfish-actions.pod:3637
12290 msgid "The returned strings are transcoded to UTF-8."
12291 msgstr ""
12292
12293 # type: =head2
12294 #: ../src/guestfs-actions.pod:4717
12295 msgid "guestfs_swapoff_device"
12296 msgstr ""
12297
12298 # type: verbatim
12299 #: ../src/guestfs-actions.pod:4719
12300 #, no-wrap
12301 msgid ""
12302 " int guestfs_swapoff_device (guestfs_h *g,\n"
12303 "\t\tconst char *device);\n"
12304 "\n"
12305 msgstr ""
12306
12307 # type: textblock
12308 #: ../src/guestfs-actions.pod:4722
12309 msgid ""
12310 "This command disables the libguestfs appliance swap device or partition "
12311 "named C<device>.  See C<guestfs_swapon_device>."
12312 msgstr ""
12313
12314 # type: =head2
12315 #: ../src/guestfs-actions.pod:4728
12316 msgid "guestfs_swapoff_file"
12317 msgstr ""
12318
12319 # type: verbatim
12320 #: ../src/guestfs-actions.pod:4730
12321 #, no-wrap
12322 msgid ""
12323 " int guestfs_swapoff_file (guestfs_h *g,\n"
12324 "\t\tconst char *file);\n"
12325 "\n"
12326 msgstr ""
12327
12328 # type: textblock
12329 #: ../src/guestfs-actions.pod:4733 ../fish/guestfish-actions.pod:3654
12330 msgid "This command disables the libguestfs appliance swap on file."
12331 msgstr ""
12332
12333 # type: =head2
12334 #: ../src/guestfs-actions.pod:4737
12335 msgid "guestfs_swapoff_label"
12336 msgstr ""
12337
12338 # type: verbatim
12339 #: ../src/guestfs-actions.pod:4739
12340 #, no-wrap
12341 msgid ""
12342 " int guestfs_swapoff_label (guestfs_h *g,\n"
12343 "\t\tconst char *label);\n"
12344 "\n"
12345 msgstr ""
12346
12347 # type: textblock
12348 #: ../src/guestfs-actions.pod:4742 ../fish/guestfish-actions.pod:3660
12349 msgid ""
12350 "This command disables the libguestfs appliance swap on labeled swap "
12351 "partition."
12352 msgstr ""
12353
12354 # type: =head2
12355 #: ../src/guestfs-actions.pod:4747
12356 msgid "guestfs_swapoff_uuid"
12357 msgstr ""
12358
12359 # type: verbatim
12360 #: ../src/guestfs-actions.pod:4749
12361 #, no-wrap
12362 msgid ""
12363 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
12364 "\t\tconst char *uuid);\n"
12365 "\n"
12366 msgstr ""
12367
12368 # type: textblock
12369 #: ../src/guestfs-actions.pod:4752 ../fish/guestfish-actions.pod:3667
12370 msgid ""
12371 "This command disables the libguestfs appliance swap partition with the given "
12372 "UUID."
12373 msgstr ""
12374
12375 # type: =head2
12376 #: ../src/guestfs-actions.pod:4757
12377 msgid "guestfs_swapon_device"
12378 msgstr ""
12379
12380 # type: verbatim
12381 #: ../src/guestfs-actions.pod:4759
12382 #, no-wrap
12383 msgid ""
12384 " int guestfs_swapon_device (guestfs_h *g,\n"
12385 "\t\tconst char *device);\n"
12386 "\n"
12387 msgstr ""
12388
12389 # type: textblock
12390 #: ../src/guestfs-actions.pod:4762
12391 msgid ""
12392 "This command enables the libguestfs appliance to use the swap device or "
12393 "partition named C<device>.  The increased memory is made available for all "
12394 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
12395 msgstr ""
12396
12397 # type: textblock
12398 #: ../src/guestfs-actions.pod:4767 ../fish/guestfish-actions.pod:3679
12399 msgid ""
12400 "Note that you should not swap to existing guest swap partitions unless you "
12401 "know what you are doing.  They may contain hibernation information, or other "
12402 "information that the guest doesn't want you to trash.  You also risk leaking "
12403 "information about the host to the guest this way.  Instead, attach a new "
12404 "host device to the guest and swap on that."
12405 msgstr ""
12406
12407 # type: =head2
12408 #: ../src/guestfs-actions.pod:4776
12409 msgid "guestfs_swapon_file"
12410 msgstr ""
12411
12412 # type: verbatim
12413 #: ../src/guestfs-actions.pod:4778
12414 #, no-wrap
12415 msgid ""
12416 " int guestfs_swapon_file (guestfs_h *g,\n"
12417 "\t\tconst char *file);\n"
12418 "\n"
12419 msgstr ""
12420
12421 # type: textblock
12422 #: ../src/guestfs-actions.pod:4781
12423 msgid ""
12424 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
12425 "notes."
12426 msgstr ""
12427
12428 # type: =head2
12429 #: ../src/guestfs-actions.pod:4786
12430 msgid "guestfs_swapon_label"
12431 msgstr ""
12432
12433 # type: verbatim
12434 #: ../src/guestfs-actions.pod:4788
12435 #, no-wrap
12436 msgid ""
12437 " int guestfs_swapon_label (guestfs_h *g,\n"
12438 "\t\tconst char *label);\n"
12439 "\n"
12440 msgstr ""
12441
12442 # type: textblock
12443 #: ../src/guestfs-actions.pod:4791
12444 msgid ""
12445 "This command enables swap to a labeled swap partition.  See "
12446 "C<guestfs_swapon_device> for other notes."
12447 msgstr ""
12448
12449 # type: =head2
12450 #: ../src/guestfs-actions.pod:4796
12451 msgid "guestfs_swapon_uuid"
12452 msgstr ""
12453
12454 # type: verbatim
12455 #: ../src/guestfs-actions.pod:4798
12456 #, no-wrap
12457 msgid ""
12458 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12459 "\t\tconst char *uuid);\n"
12460 "\n"
12461 msgstr ""
12462
12463 # type: textblock
12464 #: ../src/guestfs-actions.pod:4801
12465 msgid ""
12466 "This command enables swap to a swap partition with the given UUID.  See "
12467 "C<guestfs_swapon_device> for other notes."
12468 msgstr ""
12469
12470 # type: =head2
12471 #: ../src/guestfs-actions.pod:4806
12472 msgid "guestfs_sync"
12473 msgstr ""
12474
12475 # type: verbatim
12476 #: ../src/guestfs-actions.pod:4808
12477 #, no-wrap
12478 msgid ""
12479 " int guestfs_sync (guestfs_h *g);\n"
12480 "\n"
12481 msgstr ""
12482
12483 # type: textblock
12484 #: ../src/guestfs-actions.pod:4810 ../fish/guestfish-actions.pod:3711
12485 msgid ""
12486 "This syncs the disk, so that any writes are flushed through to the "
12487 "underlying disk image."
12488 msgstr ""
12489
12490 # type: textblock
12491 #: ../src/guestfs-actions.pod:4813 ../fish/guestfish-actions.pod:3714
12492 msgid ""
12493 "You should always call this if you have modified a disk image, before "
12494 "closing the handle."
12495 msgstr ""
12496
12497 # type: =head2
12498 #: ../src/guestfs-actions.pod:4818
12499 msgid "guestfs_tail"
12500 msgstr ""
12501
12502 # type: verbatim
12503 #: ../src/guestfs-actions.pod:4820
12504 #, no-wrap
12505 msgid ""
12506 " char **guestfs_tail (guestfs_h *g,\n"
12507 "\t\tconst char *path);\n"
12508 "\n"
12509 msgstr ""
12510
12511 # type: textblock
12512 #: ../src/guestfs-actions.pod:4823 ../fish/guestfish-actions.pod:3721
12513 msgid ""
12514 "This command returns up to the last 10 lines of a file as a list of strings."
12515 msgstr ""
12516
12517 # type: =head2
12518 #: ../src/guestfs-actions.pod:4833
12519 msgid "guestfs_tail_n"
12520 msgstr ""
12521
12522 # type: verbatim
12523 #: ../src/guestfs-actions.pod:4835
12524 #, no-wrap
12525 msgid ""
12526 " char **guestfs_tail_n (guestfs_h *g,\n"
12527 "\t\tint nrlines,\n"
12528 "\t\tconst char *path);\n"
12529 "\n"
12530 msgstr ""
12531
12532 # type: textblock
12533 #: ../src/guestfs-actions.pod:4839 ../fish/guestfish-actions.pod:3731
12534 msgid ""
12535 "If the parameter C<nrlines> is a positive number, this returns the last "
12536 "C<nrlines> lines of the file C<path>."
12537 msgstr ""
12538
12539 # type: textblock
12540 #: ../src/guestfs-actions.pod:4842 ../fish/guestfish-actions.pod:3734
12541 msgid ""
12542 "If the parameter C<nrlines> is a negative number, this returns lines from "
12543 "the file C<path>, starting with the C<-nrlines>th line."
12544 msgstr ""
12545
12546 # type: =head2
12547 #: ../src/guestfs-actions.pod:4854
12548 msgid "guestfs_tar_in"
12549 msgstr ""
12550
12551 # type: verbatim
12552 #: ../src/guestfs-actions.pod:4856
12553 #, no-wrap
12554 msgid ""
12555 " int guestfs_tar_in (guestfs_h *g,\n"
12556 "\t\tconst char *tarfile,\n"
12557 "\t\tconst char *directory);\n"
12558 "\n"
12559 msgstr ""
12560
12561 # type: textblock
12562 #: ../src/guestfs-actions.pod:4860 ../fish/guestfish-actions.pod:3746
12563 msgid ""
12564 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12565 "tar file) into C<directory>."
12566 msgstr ""
12567
12568 # type: textblock
12569 #: ../src/guestfs-actions.pod:4863
12570 msgid ""
12571 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12572 msgstr ""
12573
12574 # type: =head2
12575 #: ../src/guestfs-actions.pod:4868
12576 msgid "guestfs_tar_out"
12577 msgstr ""
12578
12579 # type: verbatim
12580 #: ../src/guestfs-actions.pod:4870
12581 #, no-wrap
12582 msgid ""
12583 " int guestfs_tar_out (guestfs_h *g,\n"
12584 "\t\tconst char *directory,\n"
12585 "\t\tconst char *tarfile);\n"
12586 "\n"
12587 msgstr ""
12588
12589 # type: textblock
12590 #: ../src/guestfs-actions.pod:4874 ../fish/guestfish-actions.pod:3758
12591 msgid ""
12592 "This command packs the contents of C<directory> and downloads it to local "
12593 "file C<tarfile>."
12594 msgstr ""
12595
12596 # type: textblock
12597 #: ../src/guestfs-actions.pod:4877
12598 msgid ""
12599 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12600 "C<guestfs_txz_out>."
12601 msgstr ""
12602
12603 # type: =head2
12604 #: ../src/guestfs-actions.pod:4882
12605 msgid "guestfs_tgz_in"
12606 msgstr ""
12607
12608 # type: verbatim
12609 #: ../src/guestfs-actions.pod:4884
12610 #, no-wrap
12611 msgid ""
12612 " int guestfs_tgz_in (guestfs_h *g,\n"
12613 "\t\tconst char *tarball,\n"
12614 "\t\tconst char *directory);\n"
12615 "\n"
12616 msgstr ""
12617
12618 # type: textblock
12619 #: ../src/guestfs-actions.pod:4888 ../fish/guestfish-actions.pod:3770
12620 msgid ""
12621 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12622 "tar file) into C<directory>."
12623 msgstr ""
12624
12625 # type: textblock
12626 #: ../src/guestfs-actions.pod:4891
12627 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12628 msgstr ""
12629
12630 # type: =head2
12631 #: ../src/guestfs-actions.pod:4895
12632 msgid "guestfs_tgz_out"
12633 msgstr ""
12634
12635 # type: verbatim
12636 #: ../src/guestfs-actions.pod:4897
12637 #, no-wrap
12638 msgid ""
12639 " int guestfs_tgz_out (guestfs_h *g,\n"
12640 "\t\tconst char *directory,\n"
12641 "\t\tconst char *tarball);\n"
12642 "\n"
12643 msgstr ""
12644
12645 # type: textblock
12646 #: ../src/guestfs-actions.pod:4901 ../fish/guestfish-actions.pod:3781
12647 msgid ""
12648 "This command packs the contents of C<directory> and downloads it to local "
12649 "file C<tarball>."
12650 msgstr ""
12651
12652 # type: textblock
12653 #: ../src/guestfs-actions.pod:4904
12654 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12655 msgstr ""
12656
12657 # type: =head2
12658 #: ../src/guestfs-actions.pod:4908
12659 msgid "guestfs_touch"
12660 msgstr ""
12661
12662 # type: verbatim
12663 #: ../src/guestfs-actions.pod:4910
12664 #, no-wrap
12665 msgid ""
12666 " int guestfs_touch (guestfs_h *g,\n"
12667 "\t\tconst char *path);\n"
12668 "\n"
12669 msgstr ""
12670
12671 # type: textblock
12672 #: ../src/guestfs-actions.pod:4913 ../fish/guestfish-actions.pod:3792
12673 msgid ""
12674 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12675 "timestamps on a file, or, if the file does not exist, to create a new zero-"
12676 "length file."
12677 msgstr ""
12678
12679 # type: textblock
12680 #: ../src/guestfs-actions.pod:4917 ../fish/guestfish-actions.pod:3796
12681 msgid ""
12682 "This command only works on regular files, and will fail on other file types "
12683 "such as directories, symbolic links, block special etc."
12684 msgstr ""
12685
12686 # type: =head2
12687 #: ../src/guestfs-actions.pod:4922
12688 msgid "guestfs_truncate"
12689 msgstr ""
12690
12691 # type: verbatim
12692 #: ../src/guestfs-actions.pod:4924
12693 #, no-wrap
12694 msgid ""
12695 " int guestfs_truncate (guestfs_h *g,\n"
12696 "\t\tconst char *path);\n"
12697 "\n"
12698 msgstr ""
12699
12700 # type: textblock
12701 #: ../src/guestfs-actions.pod:4927 ../fish/guestfish-actions.pod:3803
12702 msgid ""
12703 "This command truncates C<path> to a zero-length file.  The file must exist "
12704 "already."
12705 msgstr ""
12706
12707 # type: =head2
12708 #: ../src/guestfs-actions.pod:4932
12709 msgid "guestfs_truncate_size"
12710 msgstr ""
12711
12712 # type: verbatim
12713 #: ../src/guestfs-actions.pod:4934
12714 #, no-wrap
12715 msgid ""
12716 " int guestfs_truncate_size (guestfs_h *g,\n"
12717 "\t\tconst char *path,\n"
12718 "\t\tint64_t size);\n"
12719 "\n"
12720 msgstr ""
12721
12722 # type: textblock
12723 #: ../src/guestfs-actions.pod:4938 ../fish/guestfish-actions.pod:3810
12724 msgid ""
12725 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12726 "already."
12727 msgstr ""
12728
12729 # type: textblock
12730 #: ../src/guestfs-actions.pod:4941
12731 msgid ""
12732 "If the current file size is less than C<size> then the file is extended to "
12733 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12734 "blocks are not allocated for the file until you write to it).  To create a "
12735 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12736 msgstr ""
12737
12738 # type: =head2
12739 #: ../src/guestfs-actions.pod:4949
12740 msgid "guestfs_tune2fs_l"
12741 msgstr ""
12742
12743 # type: verbatim
12744 #: ../src/guestfs-actions.pod:4951
12745 #, no-wrap
12746 msgid ""
12747 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12748 "\t\tconst char *device);\n"
12749 "\n"
12750 msgstr ""
12751
12752 # type: textblock
12753 #: ../src/guestfs-actions.pod:4954 ../fish/guestfish-actions.pod:3823
12754 msgid ""
12755 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12756 "C<device>."
12757 msgstr ""
12758
12759 # type: textblock
12760 #: ../src/guestfs-actions.pod:4957 ../fish/guestfish-actions.pod:3826
12761 msgid ""
12762 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12763 "for more details.  The list of fields returned isn't clearly defined, and "
12764 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12765 "and the filesystem itself."
12766 msgstr ""
12767
12768 # type: =head2
12769 #: ../src/guestfs-actions.pod:4968
12770 msgid "guestfs_txz_in"
12771 msgstr ""
12772
12773 # type: verbatim
12774 #: ../src/guestfs-actions.pod:4970
12775 #, no-wrap
12776 msgid ""
12777 " int guestfs_txz_in (guestfs_h *g,\n"
12778 "\t\tconst char *tarball,\n"
12779 "\t\tconst char *directory);\n"
12780 "\n"
12781 msgstr ""
12782
12783 # type: textblock
12784 #: ../src/guestfs-actions.pod:4974 ../fish/guestfish-actions.pod:3835
12785 msgid ""
12786 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12787 "tar file) into C<directory>."
12788 msgstr ""
12789
12790 # type: =head2
12791 #: ../src/guestfs-actions.pod:4979
12792 msgid "guestfs_txz_out"
12793 msgstr ""
12794
12795 # type: verbatim
12796 #: ../src/guestfs-actions.pod:4981
12797 #, no-wrap
12798 msgid ""
12799 " int guestfs_txz_out (guestfs_h *g,\n"
12800 "\t\tconst char *directory,\n"
12801 "\t\tconst char *tarball);\n"
12802 "\n"
12803 msgstr ""
12804
12805 # type: textblock
12806 #: ../src/guestfs-actions.pod:4985 ../fish/guestfish-actions.pod:3844
12807 msgid ""
12808 "This command packs the contents of C<directory> and downloads it to local "
12809 "file C<tarball> (as an xz compressed tar archive)."
12810 msgstr ""
12811
12812 # type: =head2
12813 #: ../src/guestfs-actions.pod:4990
12814 msgid "guestfs_umask"
12815 msgstr ""
12816
12817 # type: verbatim
12818 #: ../src/guestfs-actions.pod:4992
12819 #, no-wrap
12820 msgid ""
12821 " int guestfs_umask (guestfs_h *g,\n"
12822 "\t\tint mask);\n"
12823 "\n"
12824 msgstr ""
12825
12826 # type: textblock
12827 #: ../src/guestfs-actions.pod:4995 ../fish/guestfish-actions.pod:3853
12828 msgid ""
12829 "This function sets the mask used for creating new files and device nodes to "
12830 "C<mask & 0777>."
12831 msgstr ""
12832
12833 # type: textblock
12834 #: ../src/guestfs-actions.pod:4998 ../fish/guestfish-actions.pod:3856
12835 msgid ""
12836 "Typical umask values would be C<022> which creates new files with "
12837 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
12838 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
12839 msgstr ""
12840
12841 # type: textblock
12842 #: ../src/guestfs-actions.pod:5003 ../fish/guestfish-actions.pod:3861
12843 msgid ""
12844 "The default umask is C<022>.  This is important because it means that "
12845 "directories and device nodes will be created with C<0644> or C<0755> mode "
12846 "even if you specify C<0777>."
12847 msgstr ""
12848
12849 # type: textblock
12850 #: ../src/guestfs-actions.pod:5007
12851 msgid ""
12852 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
12853 "C<guestfs_mkdir>."
12854 msgstr ""
12855
12856 # type: textblock
12857 #: ../src/guestfs-actions.pod:5010 ../fish/guestfish-actions.pod:3868
12858 msgid "This call returns the previous umask."
12859 msgstr ""
12860
12861 # type: =head2
12862 #: ../src/guestfs-actions.pod:5014
12863 msgid "guestfs_umount"
12864 msgstr ""
12865
12866 # type: verbatim
12867 #: ../src/guestfs-actions.pod:5016
12868 #, no-wrap
12869 msgid ""
12870 " int guestfs_umount (guestfs_h *g,\n"
12871 "\t\tconst char *pathordevice);\n"
12872 "\n"
12873 msgstr ""
12874
12875 # type: textblock
12876 #: ../src/guestfs-actions.pod:5019 ../fish/guestfish-actions.pod:3874
12877 msgid ""
12878 "This unmounts the given filesystem.  The filesystem may be specified either "
12879 "by its mountpoint (path) or the device which contains the filesystem."
12880 msgstr ""
12881
12882 # type: =head2
12883 #: ../src/guestfs-actions.pod:5025
12884 msgid "guestfs_umount_all"
12885 msgstr ""
12886
12887 # type: verbatim
12888 #: ../src/guestfs-actions.pod:5027
12889 #, no-wrap
12890 msgid ""
12891 " int guestfs_umount_all (guestfs_h *g);\n"
12892 "\n"
12893 msgstr ""
12894
12895 # type: textblock
12896 #: ../src/guestfs-actions.pod:5029 ../fish/guestfish-actions.pod:3882
12897 msgid "This unmounts all mounted filesystems."
12898 msgstr ""
12899
12900 # type: textblock
12901 #: ../src/guestfs-actions.pod:5031 ../fish/guestfish-actions.pod:3884
12902 msgid "Some internal mounts are not unmounted by this call."
12903 msgstr ""
12904
12905 # type: =head2
12906 #: ../src/guestfs-actions.pod:5035
12907 msgid "guestfs_upload"
12908 msgstr ""
12909
12910 # type: verbatim
12911 #: ../src/guestfs-actions.pod:5037
12912 #, no-wrap
12913 msgid ""
12914 " int guestfs_upload (guestfs_h *g,\n"
12915 "\t\tconst char *filename,\n"
12916 "\t\tconst char *remotefilename);\n"
12917 "\n"
12918 msgstr ""
12919
12920 # type: textblock
12921 #: ../src/guestfs-actions.pod:5041 ../fish/guestfish-actions.pod:3890
12922 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
12923 msgstr ""
12924
12925 # type: textblock
12926 #: ../src/guestfs-actions.pod:5046
12927 msgid "See also C<guestfs_download>."
12928 msgstr ""
12929
12930 # type: =head2
12931 #: ../src/guestfs-actions.pod:5050
12932 msgid "guestfs_utimens"
12933 msgstr ""
12934
12935 # type: verbatim
12936 #: ../src/guestfs-actions.pod:5052
12937 #, no-wrap
12938 msgid ""
12939 " int guestfs_utimens (guestfs_h *g,\n"
12940 "\t\tconst char *path,\n"
12941 "\t\tint64_t atsecs,\n"
12942 "\t\tint64_t atnsecs,\n"
12943 "\t\tint64_t mtsecs,\n"
12944 "\t\tint64_t mtnsecs);\n"
12945 "\n"
12946 msgstr ""
12947
12948 # type: textblock
12949 #: ../src/guestfs-actions.pod:5059 ../fish/guestfish-actions.pod:3903
12950 msgid "This command sets the timestamps of a file with nanosecond precision."
12951 msgstr ""
12952
12953 # type: textblock
12954 #: ../src/guestfs-actions.pod:5062 ../fish/guestfish-actions.pod:3906
12955 msgid ""
12956 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
12957 "from the epoch."
12958 msgstr ""
12959
12960 # type: textblock
12961 #: ../src/guestfs-actions.pod:5065 ../fish/guestfish-actions.pod:3909
12962 msgid ""
12963 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
12964 "nanoseconds from the epoch."
12965 msgstr ""
12966
12967 # type: textblock
12968 #: ../src/guestfs-actions.pod:5068 ../fish/guestfish-actions.pod:3912
12969 msgid ""
12970 "If the C<*nsecs> field contains the special value C<-1> then the "
12971 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
12972 "ignored in this case)."
12973 msgstr ""
12974
12975 # type: textblock
12976 #: ../src/guestfs-actions.pod:5072 ../fish/guestfish-actions.pod:3916
12977 msgid ""
12978 "If the C<*nsecs> field contains the special value C<-2> then the "
12979 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
12980 "in this case)."
12981 msgstr ""
12982
12983 # type: =head2
12984 #: ../src/guestfs-actions.pod:5078 ../src/guestfs-structs.pod:175
12985 msgid "guestfs_version"
12986 msgstr ""
12987
12988 # type: verbatim
12989 #: ../src/guestfs-actions.pod:5080
12990 #, no-wrap
12991 msgid ""
12992 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
12993 "\n"
12994 msgstr ""
12995
12996 # type: textblock
12997 #: ../src/guestfs-actions.pod:5082 ../fish/guestfish-actions.pod:3924
12998 msgid ""
12999 "Return the libguestfs version number that the program is linked against."
13000 msgstr ""
13001
13002 # type: textblock
13003 #: ../src/guestfs-actions.pod:5085 ../fish/guestfish-actions.pod:3927
13004 msgid ""
13005 "Note that because of dynamic linking this is not necessarily the version of "
13006 "libguestfs that you compiled against.  You can compile the program, and then "
13007 "at runtime dynamically link against a completely different C<libguestfs.so> "
13008 "library."
13009 msgstr ""
13010
13011 # type: textblock
13012 #: ../src/guestfs-actions.pod:5090 ../fish/guestfish-actions.pod:3932
13013 msgid ""
13014 "This call was added in version C<1.0.58>.  In previous versions of "
13015 "libguestfs there was no way to get the version number.  From C code you can "
13016 "use dynamic linker functions to find out if this symbol exists (if it "
13017 "doesn't, then it's an earlier version)."
13018 msgstr ""
13019
13020 # type: textblock
13021 #: ../src/guestfs-actions.pod:5096 ../fish/guestfish-actions.pod:3938
13022 msgid ""
13023 "The call returns a structure with four elements.  The first three (C<major>, "
13024 "C<minor> and C<release>) are numbers and correspond to the usual version "
13025 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
13026 "but may be used for distro-specific information."
13027 msgstr ""
13028
13029 # type: textblock
13030 #: ../src/guestfs-actions.pod:5102 ../fish/guestfish-actions.pod:3944
13031 msgid ""
13032 "To construct the original version string: C<$major.$minor.$release$extra>"
13033 msgstr ""
13034
13035 # type: textblock
13036 #: ../src/guestfs-actions.pod:5105 ../fish/guestfish-actions.pod:3947
13037 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
13038 msgstr ""
13039
13040 # type: textblock
13041 #: ../src/guestfs-actions.pod:5107
13042 msgid ""
13043 "I<Note:> Don't use this call to test for availability of features.  In "
13044 "enterprise distributions we backport features from later versions into "
13045 "earlier versions, making this an unreliable way to test for features.  Use "
13046 "C<guestfs_available> instead."
13047 msgstr ""
13048
13049 # type: textblock
13050 #: ../src/guestfs-actions.pod:5113
13051 msgid ""
13052 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
13053 "error.  I<The caller must call C<guestfs_free_version> after use>."
13054 msgstr ""
13055
13056 # type: =head2
13057 #: ../src/guestfs-actions.pod:5117
13058 msgid "guestfs_vfs_label"
13059 msgstr ""
13060
13061 # type: verbatim
13062 #: ../src/guestfs-actions.pod:5119
13063 #, no-wrap
13064 msgid ""
13065 " char *guestfs_vfs_label (guestfs_h *g,\n"
13066 "\t\tconst char *device);\n"
13067 "\n"
13068 msgstr ""
13069
13070 # type: textblock
13071 #: ../src/guestfs-actions.pod:5122 ../fish/guestfish-actions.pod:3959
13072 msgid "This returns the filesystem label of the filesystem on C<device>."
13073 msgstr ""
13074
13075 # type: textblock
13076 #: ../src/guestfs-actions.pod:5125 ../fish/guestfish-actions.pod:3962
13077 msgid "If the filesystem is unlabeled, this returns the empty string."
13078 msgstr ""
13079
13080 # type: textblock
13081 #: ../src/guestfs-actions.pod:5127
13082 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
13083 msgstr ""
13084
13085 # type: =head2
13086 #: ../src/guestfs-actions.pod:5132
13087 msgid "guestfs_vfs_type"
13088 msgstr ""
13089
13090 # type: verbatim
13091 #: ../src/guestfs-actions.pod:5134
13092 #, no-wrap
13093 msgid ""
13094 " char *guestfs_vfs_type (guestfs_h *g,\n"
13095 "\t\tconst char *device);\n"
13096 "\n"
13097 msgstr ""
13098
13099 # type: textblock
13100 #: ../src/guestfs-actions.pod:5137 ../fish/guestfish-actions.pod:3970
13101 msgid ""
13102 "This command gets the filesystem type corresponding to the filesystem on "
13103 "C<device>."
13104 msgstr ""
13105
13106 # type: textblock
13107 #: ../src/guestfs-actions.pod:5140 ../fish/guestfish-actions.pod:3973
13108 msgid ""
13109 "For most filesystems, the result is the name of the Linux VFS module which "
13110 "would be used to mount this filesystem if you mounted it without specifying "
13111 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
13112 msgstr ""
13113
13114 # type: =head2
13115 #: ../src/guestfs-actions.pod:5148
13116 msgid "guestfs_vfs_uuid"
13117 msgstr ""
13118
13119 # type: verbatim
13120 #: ../src/guestfs-actions.pod:5150
13121 #, no-wrap
13122 msgid ""
13123 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
13124 "\t\tconst char *device);\n"
13125 "\n"
13126 msgstr ""
13127
13128 # type: textblock
13129 #: ../src/guestfs-actions.pod:5153 ../fish/guestfish-actions.pod:3982
13130 msgid "This returns the filesystem UUID of the filesystem on C<device>."
13131 msgstr ""
13132
13133 # type: textblock
13134 #: ../src/guestfs-actions.pod:5156 ../fish/guestfish-actions.pod:3985
13135 msgid "If the filesystem does not have a UUID, this returns the empty string."
13136 msgstr ""
13137
13138 # type: textblock
13139 #: ../src/guestfs-actions.pod:5158
13140 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
13141 msgstr ""
13142
13143 # type: =head2
13144 #: ../src/guestfs-actions.pod:5163
13145 msgid "guestfs_vg_activate"
13146 msgstr ""
13147
13148 # type: verbatim
13149 #: ../src/guestfs-actions.pod:5165
13150 #, no-wrap
13151 msgid ""
13152 " int guestfs_vg_activate (guestfs_h *g,\n"
13153 "\t\tint activate,\n"
13154 "\t\tchar *const *volgroups);\n"
13155 "\n"
13156 msgstr ""
13157
13158 # type: textblock
13159 #: ../src/guestfs-actions.pod:5169 ../fish/guestfish-actions.pod:3993
13160 msgid ""
13161 "This command activates or (if C<activate> is false) deactivates all logical "
13162 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
13163 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
13164 "deactivated, then those devices disappear."
13165 msgstr ""
13166
13167 # type: textblock
13168 #: ../src/guestfs-actions.pod:5175 ../fish/guestfish-actions.pod:3999
13169 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
13170 msgstr ""
13171
13172 # type: textblock
13173 #: ../src/guestfs-actions.pod:5177 ../fish/guestfish-actions.pod:4001
13174 msgid ""
13175 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
13176 "activated or deactivated."
13177 msgstr ""
13178
13179 # type: =head2
13180 #: ../src/guestfs-actions.pod:5182
13181 msgid "guestfs_vg_activate_all"
13182 msgstr ""
13183
13184 # type: verbatim
13185 #: ../src/guestfs-actions.pod:5184
13186 #, no-wrap
13187 msgid ""
13188 " int guestfs_vg_activate_all (guestfs_h *g,\n"
13189 "\t\tint activate);\n"
13190 "\n"
13191 msgstr ""
13192
13193 # type: textblock
13194 #: ../src/guestfs-actions.pod:5187 ../fish/guestfish-actions.pod:4008
13195 msgid ""
13196 "This command activates or (if C<activate> is false) deactivates all logical "
13197 "volumes in all volume groups.  If activated, then they are made known to the "
13198 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
13199 "those devices disappear."
13200 msgstr ""
13201
13202 # type: textblock
13203 #: ../src/guestfs-actions.pod:5193 ../fish/guestfish-actions.pod:4014
13204 msgid "This command is the same as running C<vgchange -a y|n>"
13205 msgstr ""
13206
13207 # type: =head2
13208 #: ../src/guestfs-actions.pod:5197
13209 msgid "guestfs_vgcreate"
13210 msgstr ""
13211
13212 # type: verbatim
13213 #: ../src/guestfs-actions.pod:5199
13214 #, no-wrap
13215 msgid ""
13216 " int guestfs_vgcreate (guestfs_h *g,\n"
13217 "\t\tconst char *volgroup,\n"
13218 "\t\tchar *const *physvols);\n"
13219 "\n"
13220 msgstr ""
13221
13222 # type: textblock
13223 #: ../src/guestfs-actions.pod:5203 ../fish/guestfish-actions.pod:4020
13224 msgid ""
13225 "This creates an LVM volume group called C<volgroup> from the non-empty list "
13226 "of physical volumes C<physvols>."
13227 msgstr ""
13228
13229 # type: =head2
13230 #: ../src/guestfs-actions.pod:5208
13231 msgid "guestfs_vglvuuids"
13232 msgstr ""
13233
13234 # type: verbatim
13235 #: ../src/guestfs-actions.pod:5210
13236 #, no-wrap
13237 msgid ""
13238 " char **guestfs_vglvuuids (guestfs_h *g,\n"
13239 "\t\tconst char *vgname);\n"
13240 "\n"
13241 msgstr ""
13242
13243 # type: textblock
13244 #: ../src/guestfs-actions.pod:5213 ../fish/guestfish-actions.pod:4027
13245 msgid ""
13246 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
13247 "volumes created in this volume group."
13248 msgstr ""
13249
13250 # type: textblock
13251 #: ../src/guestfs-actions.pod:5216
13252 msgid ""
13253 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
13254 "associate logical volumes and volume groups."
13255 msgstr ""
13256
13257 # type: textblock
13258 #: ../src/guestfs-actions.pod:5219
13259 msgid "See also C<guestfs_vgpvuuids>."
13260 msgstr ""
13261
13262 # type: =head2
13263 #: ../src/guestfs-actions.pod:5225
13264 msgid "guestfs_vgpvuuids"
13265 msgstr ""
13266
13267 # type: verbatim
13268 #: ../src/guestfs-actions.pod:5227
13269 #, no-wrap
13270 msgid ""
13271 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
13272 "\t\tconst char *vgname);\n"
13273 "\n"
13274 msgstr ""
13275
13276 # type: textblock
13277 #: ../src/guestfs-actions.pod:5230 ../fish/guestfish-actions.pod:4039
13278 msgid ""
13279 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
13280 "volumes that this volume group resides on."
13281 msgstr ""
13282
13283 # type: textblock
13284 #: ../src/guestfs-actions.pod:5233
13285 msgid ""
13286 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
13287 "associate physical volumes and volume groups."
13288 msgstr ""
13289
13290 # type: textblock
13291 #: ../src/guestfs-actions.pod:5236
13292 msgid "See also C<guestfs_vglvuuids>."
13293 msgstr ""
13294
13295 # type: =head2
13296 #: ../src/guestfs-actions.pod:5242
13297 msgid "guestfs_vgremove"
13298 msgstr ""
13299
13300 # type: verbatim
13301 #: ../src/guestfs-actions.pod:5244
13302 #, no-wrap
13303 msgid ""
13304 " int guestfs_vgremove (guestfs_h *g,\n"
13305 "\t\tconst char *vgname);\n"
13306 "\n"
13307 msgstr ""
13308
13309 # type: textblock
13310 #: ../src/guestfs-actions.pod:5247 ../fish/guestfish-actions.pod:4051
13311 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
13312 msgstr ""
13313
13314 # type: textblock
13315 #: ../src/guestfs-actions.pod:5249 ../fish/guestfish-actions.pod:4053
13316 msgid ""
13317 "This also forcibly removes all logical volumes in the volume group (if any)."
13318 msgstr ""
13319
13320 # type: =head2
13321 #: ../src/guestfs-actions.pod:5254
13322 msgid "guestfs_vgrename"
13323 msgstr ""
13324
13325 # type: verbatim
13326 #: ../src/guestfs-actions.pod:5256
13327 #, no-wrap
13328 msgid ""
13329 " int guestfs_vgrename (guestfs_h *g,\n"
13330 "\t\tconst char *volgroup,\n"
13331 "\t\tconst char *newvolgroup);\n"
13332 "\n"
13333 msgstr ""
13334
13335 # type: textblock
13336 #: ../src/guestfs-actions.pod:5260 ../fish/guestfish-actions.pod:4060
13337 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
13338 msgstr ""
13339
13340 # type: =head2
13341 #: ../src/guestfs-actions.pod:5264
13342 msgid "guestfs_vgs"
13343 msgstr ""
13344
13345 # type: verbatim
13346 #: ../src/guestfs-actions.pod:5266
13347 #, no-wrap
13348 msgid ""
13349 " char **guestfs_vgs (guestfs_h *g);\n"
13350 "\n"
13351 msgstr ""
13352
13353 # type: textblock
13354 #: ../src/guestfs-actions.pod:5268 ../fish/guestfish-actions.pod:4066
13355 msgid ""
13356 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13357 "> command."
13358 msgstr ""
13359
13360 # type: textblock
13361 #: ../src/guestfs-actions.pod:5271 ../fish/guestfish-actions.pod:4069
13362 msgid ""
13363 "This returns a list of just the volume group names that were detected (eg. "
13364 "C<VolGroup00>)."
13365 msgstr ""
13366
13367 # type: textblock
13368 #: ../src/guestfs-actions.pod:5274
13369 msgid "See also C<guestfs_vgs_full>."
13370 msgstr ""
13371
13372 # type: =head2
13373 #: ../src/guestfs-actions.pod:5280
13374 msgid "guestfs_vgs_full"
13375 msgstr ""
13376
13377 # type: verbatim
13378 #: ../src/guestfs-actions.pod:5282
13379 #, no-wrap
13380 msgid ""
13381 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
13382 "\n"
13383 msgstr ""
13384
13385 # type: textblock
13386 #: ../src/guestfs-actions.pod:5284 ../fish/guestfish-actions.pod:4078
13387 msgid ""
13388 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13389 "> command.  The \"full\" version includes all fields."
13390 msgstr ""
13391
13392 # type: textblock
13393 #: ../src/guestfs-actions.pod:5287
13394 msgid ""
13395 "This function returns a C<struct guestfs_lvm_vg_list *> (see E<lt>guestfs-"
13396 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
13397 "C<guestfs_free_lvm_vg_list> after use>."
13398 msgstr ""
13399
13400 # type: =head2
13401 #: ../src/guestfs-actions.pod:5292
13402 msgid "guestfs_vgscan"
13403 msgstr ""
13404
13405 # type: verbatim
13406 #: ../src/guestfs-actions.pod:5294
13407 #, no-wrap
13408 msgid ""
13409 " int guestfs_vgscan (guestfs_h *g);\n"
13410 "\n"
13411 msgstr ""
13412
13413 # type: textblock
13414 #: ../src/guestfs-actions.pod:5296 ../fish/guestfish-actions.pod:4085
13415 msgid ""
13416 "This rescans all block devices and rebuilds the list of LVM physical "
13417 "volumes, volume groups and logical volumes."
13418 msgstr ""
13419
13420 # type: =head2
13421 #: ../src/guestfs-actions.pod:5301
13422 msgid "guestfs_vguuid"
13423 msgstr ""
13424
13425 # type: verbatim
13426 #: ../src/guestfs-actions.pod:5303
13427 #, no-wrap
13428 msgid ""
13429 " char *guestfs_vguuid (guestfs_h *g,\n"
13430 "\t\tconst char *vgname);\n"
13431 "\n"
13432 msgstr ""
13433
13434 # type: textblock
13435 #: ../src/guestfs-actions.pod:5306 ../fish/guestfish-actions.pod:4092
13436 msgid "This command returns the UUID of the LVM VG named C<vgname>."
13437 msgstr ""
13438
13439 # type: =head2
13440 #: ../src/guestfs-actions.pod:5311
13441 msgid "guestfs_wait_ready"
13442 msgstr ""
13443
13444 # type: verbatim
13445 #: ../src/guestfs-actions.pod:5313
13446 #, no-wrap
13447 msgid ""
13448 " int guestfs_wait_ready (guestfs_h *g);\n"
13449 "\n"
13450 msgstr ""
13451
13452 # type: textblock
13453 #: ../src/guestfs-actions.pod:5315
13454 msgid "This function is a no op."
13455 msgstr ""
13456
13457 # type: textblock
13458 #: ../src/guestfs-actions.pod:5317
13459 msgid ""
13460 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13461 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13462 "is no longer necessary because C<guestfs_launch> now does the waiting."
13463 msgstr ""
13464
13465 # type: textblock
13466 #: ../src/guestfs-actions.pod:5322
13467 msgid ""
13468 "If you see any calls to this function in code then you can just remove them, "
13469 "unless you want to retain compatibility with older versions of the API."
13470 msgstr ""
13471
13472 # type: =head2
13473 #: ../src/guestfs-actions.pod:5328
13474 msgid "guestfs_wc_c"
13475 msgstr ""
13476
13477 # type: verbatim
13478 #: ../src/guestfs-actions.pod:5330
13479 #, no-wrap
13480 msgid ""
13481 " int guestfs_wc_c (guestfs_h *g,\n"
13482 "\t\tconst char *path);\n"
13483 "\n"
13484 msgstr ""
13485
13486 # type: textblock
13487 #: ../src/guestfs-actions.pod:5333 ../fish/guestfish-actions.pod:4098
13488 msgid ""
13489 "This command counts the characters in a file, using the C<wc -c> external "
13490 "command."
13491 msgstr ""
13492
13493 # type: =head2
13494 #: ../src/guestfs-actions.pod:5338
13495 msgid "guestfs_wc_l"
13496 msgstr ""
13497
13498 # type: verbatim
13499 #: ../src/guestfs-actions.pod:5340
13500 #, no-wrap
13501 msgid ""
13502 " int guestfs_wc_l (guestfs_h *g,\n"
13503 "\t\tconst char *path);\n"
13504 "\n"
13505 msgstr ""
13506
13507 # type: textblock
13508 #: ../src/guestfs-actions.pod:5343 ../fish/guestfish-actions.pod:4105
13509 msgid ""
13510 "This command counts the lines in a file, using the C<wc -l> external command."
13511 msgstr ""
13512
13513 # type: =head2
13514 #: ../src/guestfs-actions.pod:5348
13515 msgid "guestfs_wc_w"
13516 msgstr ""
13517
13518 # type: verbatim
13519 #: ../src/guestfs-actions.pod:5350
13520 #, no-wrap
13521 msgid ""
13522 " int guestfs_wc_w (guestfs_h *g,\n"
13523 "\t\tconst char *path);\n"
13524 "\n"
13525 msgstr ""
13526
13527 # type: textblock
13528 #: ../src/guestfs-actions.pod:5353 ../fish/guestfish-actions.pod:4112
13529 msgid ""
13530 "This command counts the words in a file, using the C<wc -w> external command."
13531 msgstr ""
13532
13533 # type: =head2
13534 #: ../src/guestfs-actions.pod:5358
13535 msgid "guestfs_write"
13536 msgstr ""
13537
13538 # type: verbatim
13539 #: ../src/guestfs-actions.pod:5360
13540 #, no-wrap
13541 msgid ""
13542 " int guestfs_write (guestfs_h *g,\n"
13543 "\t\tconst char *path,\n"
13544 "\t\tconst char *content,\n"
13545 "\t\tsize_t content_size);\n"
13546 "\n"
13547 msgstr ""
13548
13549 # type: textblock
13550 #: ../src/guestfs-actions.pod:5365 ../fish/guestfish-actions.pod:4119
13551 msgid ""
13552 "This call creates a file called C<path>.  The content of the file is the "
13553 "string C<content> (which can contain any 8 bit data)."
13554 msgstr ""
13555
13556 # type: =head2
13557 #: ../src/guestfs-actions.pod:5373
13558 msgid "guestfs_write_file"
13559 msgstr ""
13560
13561 # type: verbatim
13562 #: ../src/guestfs-actions.pod:5375
13563 #, no-wrap
13564 msgid ""
13565 " int guestfs_write_file (guestfs_h *g,\n"
13566 "\t\tconst char *path,\n"
13567 "\t\tconst char *content,\n"
13568 "\t\tint size);\n"
13569 "\n"
13570 msgstr ""
13571
13572 # type: textblock
13573 #: ../src/guestfs-actions.pod:5380 ../fish/guestfish-actions.pod:4129
13574 msgid ""
13575 "This call creates a file called C<path>.  The contents of the file is the "
13576 "string C<content> (which can contain any 8 bit data), with length C<size>."
13577 msgstr ""
13578
13579 # type: textblock
13580 #: ../src/guestfs-actions.pod:5384 ../fish/guestfish-actions.pod:4133
13581 msgid ""
13582 "As a special case, if C<size> is C<0> then the length is calculated using "
13583 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13584 msgstr ""
13585
13586 # type: textblock
13587 #: ../src/guestfs-actions.pod:5388 ../fish/guestfish-actions.pod:4137
13588 msgid ""
13589 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13590 "I<not> work, even if the length is specified."
13591 msgstr ""
13592
13593 # type: textblock
13594 #: ../src/guestfs-actions.pod:5396 ../fish/guestfish-actions.pod:4143
13595 msgid ""
13596 "This function is deprecated.  In new code, use the C<write> call instead."
13597 msgstr ""
13598
13599 # type: =head2
13600 #: ../src/guestfs-actions.pod:5403
13601 msgid "guestfs_zegrep"
13602 msgstr ""
13603
13604 # type: verbatim
13605 #: ../src/guestfs-actions.pod:5405
13606 #, no-wrap
13607 msgid ""
13608 " char **guestfs_zegrep (guestfs_h *g,\n"
13609 "\t\tconst char *regex,\n"
13610 "\t\tconst char *path);\n"
13611 "\n"
13612 msgstr ""
13613
13614 # type: textblock
13615 #: ../src/guestfs-actions.pod:5409 ../fish/guestfish-actions.pod:4154
13616 msgid ""
13617 "This calls the external C<zegrep> program and returns the matching lines."
13618 msgstr ""
13619
13620 # type: =head2
13621 #: ../src/guestfs-actions.pod:5419
13622 msgid "guestfs_zegrepi"
13623 msgstr ""
13624
13625 # type: verbatim
13626 #: ../src/guestfs-actions.pod:5421
13627 #, no-wrap
13628 msgid ""
13629 " char **guestfs_zegrepi (guestfs_h *g,\n"
13630 "\t\tconst char *regex,\n"
13631 "\t\tconst char *path);\n"
13632 "\n"
13633 msgstr ""
13634
13635 # type: textblock
13636 #: ../src/guestfs-actions.pod:5425 ../fish/guestfish-actions.pod:4164
13637 msgid ""
13638 "This calls the external C<zegrep -i> program and returns the matching lines."
13639 msgstr ""
13640
13641 # type: =head2
13642 #: ../src/guestfs-actions.pod:5435
13643 msgid "guestfs_zero"
13644 msgstr ""
13645
13646 # type: verbatim
13647 #: ../src/guestfs-actions.pod:5437
13648 #, no-wrap
13649 msgid ""
13650 " int guestfs_zero (guestfs_h *g,\n"
13651 "\t\tconst char *device);\n"
13652 "\n"
13653 msgstr ""
13654
13655 # type: textblock
13656 #: ../src/guestfs-actions.pod:5440 ../fish/guestfish-actions.pod:4174
13657 msgid "This command writes zeroes over the first few blocks of C<device>."
13658 msgstr ""
13659
13660 # type: textblock
13661 #: ../src/guestfs-actions.pod:5442 ../fish/guestfish-actions.pod:4176
13662 msgid ""
13663 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13664 "securely wipe the device).  It should be sufficient to remove any partition "
13665 "tables, filesystem superblocks and so on."
13666 msgstr ""
13667
13668 # type: textblock
13669 #: ../src/guestfs-actions.pod:5446
13670 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13671 msgstr ""
13672
13673 # type: =head2
13674 #: ../src/guestfs-actions.pod:5455
13675 msgid "guestfs_zero_device"
13676 msgstr ""
13677
13678 # type: verbatim
13679 #: ../src/guestfs-actions.pod:5457
13680 #, no-wrap
13681 msgid ""
13682 " int guestfs_zero_device (guestfs_h *g,\n"
13683 "\t\tconst char *device);\n"
13684 "\n"
13685 msgstr ""
13686
13687 # type: textblock
13688 #: ../src/guestfs-actions.pod:5460
13689 msgid ""
13690 "This command writes zeroes over the entire C<device>.  Compare with "
13691 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13692 msgstr ""
13693
13694 # type: =head2
13695 #: ../src/guestfs-actions.pod:5474
13696 msgid "guestfs_zerofree"
13697 msgstr ""
13698
13699 # type: verbatim
13700 #: ../src/guestfs-actions.pod:5476
13701 #, no-wrap
13702 msgid ""
13703 " int guestfs_zerofree (guestfs_h *g,\n"
13704 "\t\tconst char *device);\n"
13705 "\n"
13706 msgstr ""
13707
13708 # type: textblock
13709 #: ../src/guestfs-actions.pod:5479 ../fish/guestfish-actions.pod:4197
13710 msgid ""
13711 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13712 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13713 "possible to compress the filesystem more effectively."
13714 msgstr ""
13715
13716 # type: textblock
13717 #: ../src/guestfs-actions.pod:5484 ../fish/guestfish-actions.pod:4202
13718 msgid "You should B<not> run this program if the filesystem is mounted."
13719 msgstr ""
13720
13721 # type: textblock
13722 #: ../src/guestfs-actions.pod:5487 ../fish/guestfish-actions.pod:4205
13723 msgid ""
13724 "It is possible that using this program can damage the filesystem or data on "
13725 "the filesystem."
13726 msgstr ""
13727
13728 # type: =head2
13729 #: ../src/guestfs-actions.pod:5492
13730 msgid "guestfs_zfgrep"
13731 msgstr ""
13732
13733 # type: verbatim
13734 #: ../src/guestfs-actions.pod:5494
13735 #, no-wrap
13736 msgid ""
13737 " char **guestfs_zfgrep (guestfs_h *g,\n"
13738 "\t\tconst char *pattern,\n"
13739 "\t\tconst char *path);\n"
13740 "\n"
13741 msgstr ""
13742
13743 # type: textblock
13744 #: ../src/guestfs-actions.pod:5498 ../fish/guestfish-actions.pod:4212
13745 msgid ""
13746 "This calls the external C<zfgrep> program and returns the matching lines."
13747 msgstr ""
13748
13749 # type: =head2
13750 #: ../src/guestfs-actions.pod:5508
13751 msgid "guestfs_zfgrepi"
13752 msgstr ""
13753
13754 # type: verbatim
13755 #: ../src/guestfs-actions.pod:5510
13756 #, no-wrap
13757 msgid ""
13758 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13759 "\t\tconst char *pattern,\n"
13760 "\t\tconst char *path);\n"
13761 "\n"
13762 msgstr ""
13763
13764 # type: textblock
13765 #: ../src/guestfs-actions.pod:5514 ../fish/guestfish-actions.pod:4222
13766 msgid ""
13767 "This calls the external C<zfgrep -i> program and returns the matching lines."
13768 msgstr ""
13769
13770 # type: =head2
13771 #: ../src/guestfs-actions.pod:5524
13772 msgid "guestfs_zfile"
13773 msgstr ""
13774
13775 # type: verbatim
13776 #: ../src/guestfs-actions.pod:5526
13777 #, no-wrap
13778 msgid ""
13779 " char *guestfs_zfile (guestfs_h *g,\n"
13780 "\t\tconst char *meth,\n"
13781 "\t\tconst char *path);\n"
13782 "\n"
13783 msgstr ""
13784
13785 # type: textblock
13786 #: ../src/guestfs-actions.pod:5530 ../fish/guestfish-actions.pod:4232
13787 msgid ""
13788 "This command runs C<file> after first decompressing C<path> using C<method>."
13789 msgstr ""
13790
13791 # type: textblock
13792 #: ../src/guestfs-actions.pod:5533 ../fish/guestfish-actions.pod:4235
13793 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
13794 msgstr ""
13795
13796 # type: textblock
13797 #: ../src/guestfs-actions.pod:5535
13798 msgid ""
13799 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
13800 "files."
13801 msgstr ""
13802
13803 # type: textblock
13804 #: ../src/guestfs-actions.pod:5541 ../fish/guestfish-actions.pod:4240
13805 msgid ""
13806 "This function is deprecated.  In new code, use the C<file> call instead."
13807 msgstr ""
13808
13809 # type: =head2
13810 #: ../src/guestfs-actions.pod:5548
13811 msgid "guestfs_zgrep"
13812 msgstr ""
13813
13814 # type: verbatim
13815 #: ../src/guestfs-actions.pod:5550
13816 #, no-wrap
13817 msgid ""
13818 " char **guestfs_zgrep (guestfs_h *g,\n"
13819 "\t\tconst char *regex,\n"
13820 "\t\tconst char *path);\n"
13821 "\n"
13822 msgstr ""
13823
13824 # type: textblock
13825 #: ../src/guestfs-actions.pod:5554 ../fish/guestfish-actions.pod:4251
13826 msgid ""
13827 "This calls the external C<zgrep> program and returns the matching lines."
13828 msgstr ""
13829
13830 # type: =head2
13831 #: ../src/guestfs-actions.pod:5564
13832 msgid "guestfs_zgrepi"
13833 msgstr ""
13834
13835 # type: verbatim
13836 #: ../src/guestfs-actions.pod:5566
13837 #, no-wrap
13838 msgid ""
13839 " char **guestfs_zgrepi (guestfs_h *g,\n"
13840 "\t\tconst char *regex,\n"
13841 "\t\tconst char *path);\n"
13842 "\n"
13843 msgstr ""
13844
13845 # type: textblock
13846 #: ../src/guestfs-actions.pod:5570 ../fish/guestfish-actions.pod:4261
13847 msgid ""
13848 "This calls the external C<zgrep -i> program and returns the matching lines."
13849 msgstr ""
13850
13851 # type: =item
13852 #: ../src/guestfs-availability.pod:3
13853 msgid "B<augeas>"
13854 msgstr ""
13855
13856 # type: textblock
13857 #: ../src/guestfs-availability.pod:5
13858 msgid ""
13859 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
13860 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
13861 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
13862 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
13863 "L</guestfs_aug_save> L</guestfs_aug_set>"
13864 msgstr ""
13865
13866 # type: =item
13867 #: ../src/guestfs-availability.pod:21
13868 msgid "B<inotify>"
13869 msgstr ""
13870
13871 # type: textblock
13872 #: ../src/guestfs-availability.pod:23
13873 msgid ""
13874 "The following functions: L</guestfs_inotify_add_watch> L</"
13875 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
13876 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
13877 msgstr ""
13878
13879 # type: =item
13880 #: ../src/guestfs-availability.pod:31
13881 msgid "B<linuxfsuuid>"
13882 msgstr ""
13883
13884 # type: textblock
13885 #: ../src/guestfs-availability.pod:33
13886 msgid ""
13887 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
13888 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
13889 msgstr ""
13890
13891 # type: =item
13892 #: ../src/guestfs-availability.pod:40
13893 msgid "B<linuxmodules>"
13894 msgstr ""
13895
13896 # type: textblock
13897 #: ../src/guestfs-availability.pod:42
13898 msgid "The following functions: L</guestfs_modprobe>"
13899 msgstr ""
13900
13901 # type: =item
13902 #: ../src/guestfs-availability.pod:45
13903 msgid "B<linuxxattrs>"
13904 msgstr ""
13905
13906 # type: textblock
13907 #: ../src/guestfs-availability.pod:47
13908 msgid ""
13909 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> L</"
13910 "guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> L</"
13911 "guestfs_removexattr> L</guestfs_setxattr>"
13912 msgstr ""
13913
13914 # type: =item
13915 #: ../src/guestfs-availability.pod:56
13916 msgid "B<luks>"
13917 msgstr ""
13918
13919 # type: textblock
13920 #: ../src/guestfs-availability.pod:58
13921 msgid ""
13922 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
13923 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
13924 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
13925 msgstr ""
13926
13927 # type: =item
13928 #: ../src/guestfs-availability.pod:67
13929 msgid "B<lvm2>"
13930 msgstr ""
13931
13932 # type: textblock
13933 #: ../src/guestfs-availability.pod:69
13934 msgid ""
13935 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
13936 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
13937 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
13938 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
13939 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
13940 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
13941 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
13942 msgstr ""
13943
13944 # type: =item
13945 #: ../src/guestfs-availability.pod:92
13946 msgid "B<mknod>"
13947 msgstr ""
13948
13949 # type: textblock
13950 #: ../src/guestfs-availability.pod:94
13951 msgid ""
13952 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
13953 "guestfs_mknod_b> L</guestfs_mknod_c>"
13954 msgstr ""
13955
13956 # type: =item
13957 #: ../src/guestfs-availability.pod:100
13958 msgid "B<ntfs3g>"
13959 msgstr ""
13960
13961 # type: textblock
13962 #: ../src/guestfs-availability.pod:102
13963 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
13964 msgstr ""
13965
13966 # type: =item
13967 #: ../src/guestfs-availability.pod:105
13968 msgid "B<ntfsprogs>"
13969 msgstr ""
13970
13971 # type: textblock
13972 #: ../src/guestfs-availability.pod:107
13973 msgid ""
13974 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
13975 msgstr ""
13976
13977 # type: =item
13978 #: ../src/guestfs-availability.pod:111
13979 msgid "B<realpath>"
13980 msgstr ""
13981
13982 # type: textblock
13983 #: ../src/guestfs-availability.pod:113
13984 msgid "The following functions: L</guestfs_realpath>"
13985 msgstr ""
13986
13987 # type: =item
13988 #: ../src/guestfs-availability.pod:116
13989 msgid "B<scrub>"
13990 msgstr ""
13991
13992 # type: textblock
13993 #: ../src/guestfs-availability.pod:118
13994 msgid ""
13995 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
13996 "guestfs_scrub_freespace>"
13997 msgstr ""
13998
13999 # type: =item
14000 #: ../src/guestfs-availability.pod:123
14001 msgid "B<selinux>"
14002 msgstr ""
14003
14004 # type: textblock
14005 #: ../src/guestfs-availability.pod:125
14006 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
14007 msgstr ""
14008
14009 # type: =item
14010 #: ../src/guestfs-availability.pod:129
14011 msgid "B<xz>"
14012 msgstr ""
14013
14014 # type: textblock
14015 #: ../src/guestfs-availability.pod:131
14016 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
14017 msgstr ""
14018
14019 # type: =item
14020 #: ../src/guestfs-availability.pod:135
14021 msgid "B<zerofree>"
14022 msgstr ""
14023
14024 # type: textblock
14025 #: ../src/guestfs-availability.pod:137
14026 msgid "The following functions: L</guestfs_zerofree>"
14027 msgstr ""
14028
14029 # type: =head2
14030 #: ../src/guestfs-structs.pod:1
14031 msgid "guestfs_int_bool"
14032 msgstr ""
14033
14034 # type: verbatim
14035 #: ../src/guestfs-structs.pod:3
14036 #, no-wrap
14037 msgid ""
14038 " struct guestfs_int_bool {\n"
14039 "   int32_t i;\n"
14040 "   int32_t b;\n"
14041 " };\n"
14042 " \n"
14043 msgstr ""
14044
14045 # type: verbatim
14046 #: ../src/guestfs-structs.pod:8
14047 #, no-wrap
14048 msgid ""
14049 " struct guestfs_int_bool_list {\n"
14050 "   uint32_t len; /* Number of elements in list. */\n"
14051 "   struct guestfs_int_bool *val; /* Elements. */\n"
14052 " };\n"
14053 " \n"
14054 msgstr ""
14055
14056 # type: verbatim
14057 #: ../src/guestfs-structs.pod:13
14058 #, no-wrap
14059 msgid ""
14060 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
14061 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
14062 "\n"
14063 msgstr ""
14064
14065 # type: =head2
14066 #: ../src/guestfs-structs.pod:16
14067 msgid "guestfs_lvm_pv"
14068 msgstr ""
14069
14070 # type: verbatim
14071 #: ../src/guestfs-structs.pod:18
14072 #, no-wrap
14073 msgid ""
14074 " struct guestfs_lvm_pv {\n"
14075 "   char *pv_name;\n"
14076 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14077 "   char pv_uuid[32];\n"
14078 "   char *pv_fmt;\n"
14079 "   uint64_t pv_size;\n"
14080 "   uint64_t dev_size;\n"
14081 "   uint64_t pv_free;\n"
14082 "   uint64_t pv_used;\n"
14083 "   char *pv_attr;\n"
14084 "   int64_t pv_pe_count;\n"
14085 "   int64_t pv_pe_alloc_count;\n"
14086 "   char *pv_tags;\n"
14087 "   uint64_t pe_start;\n"
14088 "   int64_t pv_mda_count;\n"
14089 "   uint64_t pv_mda_free;\n"
14090 " };\n"
14091 " \n"
14092 msgstr ""
14093
14094 # type: verbatim
14095 #: ../src/guestfs-structs.pod:36
14096 #, no-wrap
14097 msgid ""
14098 " struct guestfs_lvm_pv_list {\n"
14099 "   uint32_t len; /* Number of elements in list. */\n"
14100 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
14101 " };\n"
14102 " \n"
14103 msgstr ""
14104
14105 # type: verbatim
14106 #: ../src/guestfs-structs.pod:41
14107 #, no-wrap
14108 msgid ""
14109 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
14110 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
14111 "\n"
14112 msgstr ""
14113
14114 # type: =head2
14115 #: ../src/guestfs-structs.pod:44
14116 msgid "guestfs_lvm_vg"
14117 msgstr ""
14118
14119 # type: verbatim
14120 #: ../src/guestfs-structs.pod:46
14121 #, no-wrap
14122 msgid ""
14123 " struct guestfs_lvm_vg {\n"
14124 "   char *vg_name;\n"
14125 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14126 "   char vg_uuid[32];\n"
14127 "   char *vg_fmt;\n"
14128 "   char *vg_attr;\n"
14129 "   uint64_t vg_size;\n"
14130 "   uint64_t vg_free;\n"
14131 "   char *vg_sysid;\n"
14132 "   uint64_t vg_extent_size;\n"
14133 "   int64_t vg_extent_count;\n"
14134 "   int64_t vg_free_count;\n"
14135 "   int64_t max_lv;\n"
14136 "   int64_t max_pv;\n"
14137 "   int64_t pv_count;\n"
14138 "   int64_t lv_count;\n"
14139 "   int64_t snap_count;\n"
14140 "   int64_t vg_seqno;\n"
14141 "   char *vg_tags;\n"
14142 "   int64_t vg_mda_count;\n"
14143 "   uint64_t vg_mda_free;\n"
14144 " };\n"
14145 " \n"
14146 msgstr ""
14147
14148 # type: verbatim
14149 #: ../src/guestfs-structs.pod:69
14150 #, no-wrap
14151 msgid ""
14152 " struct guestfs_lvm_vg_list {\n"
14153 "   uint32_t len; /* Number of elements in list. */\n"
14154 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
14155 " };\n"
14156 " \n"
14157 msgstr ""
14158
14159 # type: verbatim
14160 #: ../src/guestfs-structs.pod:74
14161 #, no-wrap
14162 msgid ""
14163 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
14164 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
14165 "\n"
14166 msgstr ""
14167
14168 # type: =head2
14169 #: ../src/guestfs-structs.pod:77
14170 msgid "guestfs_lvm_lv"
14171 msgstr ""
14172
14173 # type: verbatim
14174 #: ../src/guestfs-structs.pod:79
14175 #, no-wrap
14176 msgid ""
14177 " struct guestfs_lvm_lv {\n"
14178 "   char *lv_name;\n"
14179 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14180 "   char lv_uuid[32];\n"
14181 "   char *lv_attr;\n"
14182 "   int64_t lv_major;\n"
14183 "   int64_t lv_minor;\n"
14184 "   int64_t lv_kernel_major;\n"
14185 "   int64_t lv_kernel_minor;\n"
14186 "   uint64_t lv_size;\n"
14187 "   int64_t seg_count;\n"
14188 "   char *origin;\n"
14189 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14190 "   float snap_percent;\n"
14191 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14192 "   float copy_percent;\n"
14193 "   char *move_pv;\n"
14194 "   char *lv_tags;\n"
14195 "   char *mirror_log;\n"
14196 "   char *modules;\n"
14197 " };\n"
14198 " \n"
14199 msgstr ""
14200
14201 # type: verbatim
14202 #: ../src/guestfs-structs.pod:101
14203 #, no-wrap
14204 msgid ""
14205 " struct guestfs_lvm_lv_list {\n"
14206 "   uint32_t len; /* Number of elements in list. */\n"
14207 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
14208 " };\n"
14209 " \n"
14210 msgstr ""
14211
14212 # type: verbatim
14213 #: ../src/guestfs-structs.pod:106
14214 #, no-wrap
14215 msgid ""
14216 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
14217 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
14218 "\n"
14219 msgstr ""
14220
14221 # type: verbatim
14222 #: ../src/guestfs-structs.pod:111
14223 #, no-wrap
14224 msgid ""
14225 " struct guestfs_stat {\n"
14226 "   int64_t dev;\n"
14227 "   int64_t ino;\n"
14228 "   int64_t mode;\n"
14229 "   int64_t nlink;\n"
14230 "   int64_t uid;\n"
14231 "   int64_t gid;\n"
14232 "   int64_t rdev;\n"
14233 "   int64_t size;\n"
14234 "   int64_t blksize;\n"
14235 "   int64_t blocks;\n"
14236 "   int64_t atime;\n"
14237 "   int64_t mtime;\n"
14238 "   int64_t ctime;\n"
14239 " };\n"
14240 " \n"
14241 msgstr ""
14242
14243 # type: verbatim
14244 #: ../src/guestfs-structs.pod:127
14245 #, no-wrap
14246 msgid ""
14247 " struct guestfs_stat_list {\n"
14248 "   uint32_t len; /* Number of elements in list. */\n"
14249 "   struct guestfs_stat *val; /* Elements. */\n"
14250 " };\n"
14251 " \n"
14252 msgstr ""
14253
14254 # type: verbatim
14255 #: ../src/guestfs-structs.pod:132
14256 #, no-wrap
14257 msgid ""
14258 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
14259 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
14260 "\n"
14261 msgstr ""
14262
14263 # type: verbatim
14264 #: ../src/guestfs-structs.pod:137
14265 #, no-wrap
14266 msgid ""
14267 " struct guestfs_statvfs {\n"
14268 "   int64_t bsize;\n"
14269 "   int64_t frsize;\n"
14270 "   int64_t blocks;\n"
14271 "   int64_t bfree;\n"
14272 "   int64_t bavail;\n"
14273 "   int64_t files;\n"
14274 "   int64_t ffree;\n"
14275 "   int64_t favail;\n"
14276 "   int64_t fsid;\n"
14277 "   int64_t flag;\n"
14278 "   int64_t namemax;\n"
14279 " };\n"
14280 " \n"
14281 msgstr ""
14282
14283 # type: verbatim
14284 #: ../src/guestfs-structs.pod:151
14285 #, no-wrap
14286 msgid ""
14287 " struct guestfs_statvfs_list {\n"
14288 "   uint32_t len; /* Number of elements in list. */\n"
14289 "   struct guestfs_statvfs *val; /* Elements. */\n"
14290 " };\n"
14291 " \n"
14292 msgstr ""
14293
14294 # type: verbatim
14295 #: ../src/guestfs-structs.pod:156
14296 #, no-wrap
14297 msgid ""
14298 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
14299 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
14300 "\n"
14301 msgstr ""
14302
14303 # type: =head2
14304 #: ../src/guestfs-structs.pod:159
14305 msgid "guestfs_dirent"
14306 msgstr ""
14307
14308 # type: verbatim
14309 #: ../src/guestfs-structs.pod:161
14310 #, no-wrap
14311 msgid ""
14312 " struct guestfs_dirent {\n"
14313 "   int64_t ino;\n"
14314 "   char ftyp;\n"
14315 "   char *name;\n"
14316 " };\n"
14317 " \n"
14318 msgstr ""
14319
14320 # type: verbatim
14321 #: ../src/guestfs-structs.pod:167
14322 #, no-wrap
14323 msgid ""
14324 " struct guestfs_dirent_list {\n"
14325 "   uint32_t len; /* Number of elements in list. */\n"
14326 "   struct guestfs_dirent *val; /* Elements. */\n"
14327 " };\n"
14328 " \n"
14329 msgstr ""
14330
14331 # type: verbatim
14332 #: ../src/guestfs-structs.pod:172
14333 #, no-wrap
14334 msgid ""
14335 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
14336 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
14337 "\n"
14338 msgstr ""
14339
14340 # type: verbatim
14341 #: ../src/guestfs-structs.pod:177
14342 #, no-wrap
14343 msgid ""
14344 " struct guestfs_version {\n"
14345 "   int64_t major;\n"
14346 "   int64_t minor;\n"
14347 "   int64_t release;\n"
14348 "   char *extra;\n"
14349 " };\n"
14350 " \n"
14351 msgstr ""
14352
14353 # type: verbatim
14354 #: ../src/guestfs-structs.pod:184
14355 #, no-wrap
14356 msgid ""
14357 " struct guestfs_version_list {\n"
14358 "   uint32_t len; /* Number of elements in list. */\n"
14359 "   struct guestfs_version *val; /* Elements. */\n"
14360 " };\n"
14361 " \n"
14362 msgstr ""
14363
14364 # type: verbatim
14365 #: ../src/guestfs-structs.pod:189
14366 #, no-wrap
14367 msgid ""
14368 " void guestfs_free_version (struct guestfs_free_version *);\n"
14369 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
14370 "\n"
14371 msgstr ""
14372
14373 # type: =head2
14374 #: ../src/guestfs-structs.pod:192
14375 msgid "guestfs_xattr"
14376 msgstr ""
14377
14378 # type: verbatim
14379 #: ../src/guestfs-structs.pod:194
14380 #, no-wrap
14381 msgid ""
14382 " struct guestfs_xattr {\n"
14383 "   char *attrname;\n"
14384 "   /* The next two fields describe a byte array. */\n"
14385 "   uint32_t attrval_len;\n"
14386 "   char *attrval;\n"
14387 " };\n"
14388 " \n"
14389 msgstr ""
14390
14391 # type: verbatim
14392 #: ../src/guestfs-structs.pod:201
14393 #, no-wrap
14394 msgid ""
14395 " struct guestfs_xattr_list {\n"
14396 "   uint32_t len; /* Number of elements in list. */\n"
14397 "   struct guestfs_xattr *val; /* Elements. */\n"
14398 " };\n"
14399 " \n"
14400 msgstr ""
14401
14402 # type: verbatim
14403 #: ../src/guestfs-structs.pod:206
14404 #, no-wrap
14405 msgid ""
14406 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
14407 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
14408 "\n"
14409 msgstr ""
14410
14411 # type: =head2
14412 #: ../src/guestfs-structs.pod:209
14413 msgid "guestfs_inotify_event"
14414 msgstr ""
14415
14416 # type: verbatim
14417 #: ../src/guestfs-structs.pod:211
14418 #, no-wrap
14419 msgid ""
14420 " struct guestfs_inotify_event {\n"
14421 "   int64_t in_wd;\n"
14422 "   uint32_t in_mask;\n"
14423 "   uint32_t in_cookie;\n"
14424 "   char *in_name;\n"
14425 " };\n"
14426 " \n"
14427 msgstr ""
14428
14429 # type: verbatim
14430 #: ../src/guestfs-structs.pod:218
14431 #, no-wrap
14432 msgid ""
14433 " struct guestfs_inotify_event_list {\n"
14434 "   uint32_t len; /* Number of elements in list. */\n"
14435 "   struct guestfs_inotify_event *val; /* Elements. */\n"
14436 " };\n"
14437 " \n"
14438 msgstr ""
14439
14440 # type: verbatim
14441 #: ../src/guestfs-structs.pod:223
14442 #, no-wrap
14443 msgid ""
14444 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
14445 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
14446 "\n"
14447 msgstr ""
14448
14449 # type: =head2
14450 #: ../src/guestfs-structs.pod:226
14451 msgid "guestfs_partition"
14452 msgstr ""
14453
14454 # type: verbatim
14455 #: ../src/guestfs-structs.pod:228
14456 #, no-wrap
14457 msgid ""
14458 " struct guestfs_partition {\n"
14459 "   int32_t part_num;\n"
14460 "   uint64_t part_start;\n"
14461 "   uint64_t part_end;\n"
14462 "   uint64_t part_size;\n"
14463 " };\n"
14464 " \n"
14465 msgstr ""
14466
14467 # type: verbatim
14468 #: ../src/guestfs-structs.pod:235
14469 #, no-wrap
14470 msgid ""
14471 " struct guestfs_partition_list {\n"
14472 "   uint32_t len; /* Number of elements in list. */\n"
14473 "   struct guestfs_partition *val; /* Elements. */\n"
14474 " };\n"
14475 " \n"
14476 msgstr ""
14477
14478 # type: verbatim
14479 #: ../src/guestfs-structs.pod:240
14480 #, no-wrap
14481 msgid ""
14482 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14483 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14484 "\n"
14485 msgstr ""
14486
14487 # type: textblock
14488 #: ../fish/guestfish.pod:5
14489 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14490 msgstr ""
14491
14492 # type: verbatim
14493 #: ../fish/guestfish.pod:9
14494 #, no-wrap
14495 msgid ""
14496 " guestfish [--options] [commands]\n"
14497 "\n"
14498 msgstr ""
14499
14500 # type: verbatim
14501 #: ../fish/guestfish.pod:11
14502 #, no-wrap
14503 msgid ""
14504 " guestfish\n"
14505 "\n"
14506 msgstr ""
14507
14508 # type: verbatim
14509 #: ../fish/guestfish.pod:13
14510 #, no-wrap
14511 msgid ""
14512 " guestfish -a disk.img\n"
14513 "\n"
14514 msgstr ""
14515
14516 # type: verbatim
14517 #: ../fish/guestfish.pod:15
14518 #, no-wrap
14519 msgid ""
14520 " guestfish -a disk.img -m dev[:mountpoint]\n"
14521 "\n"
14522 msgstr ""
14523
14524 # type: verbatim
14525 #: ../fish/guestfish.pod:17
14526 #, no-wrap
14527 msgid ""
14528 " guestfish -d libvirt-domain\n"
14529 "\n"
14530 msgstr ""
14531
14532 # type: verbatim
14533 #: ../fish/guestfish.pod:19
14534 #, no-wrap
14535 msgid ""
14536 " guestfish -a disk.img -i\n"
14537 "\n"
14538 msgstr ""
14539
14540 # type: verbatim
14541 #: ../fish/guestfish.pod:21
14542 #, no-wrap
14543 msgid ""
14544 " guestfish -d libvirt-domain -i\n"
14545 "\n"
14546 msgstr ""
14547
14548 # type: =head1
14549 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45
14550 #: ../tools/virt-rescue.pl:41 ../tools/virt-tar.pl:60
14551 #: ../tools/virt-win-reg.pl:52
14552 msgid "WARNING"
14553 msgstr ""
14554
14555 # type: textblock
14556 #: ../fish/guestfish.pod:25
14557 msgid ""
14558 "Using guestfish in read/write mode on live virtual machines can be "
14559 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14560 "option to use guestfish safely if the disk image or virtual machine might be "
14561 "live."
14562 msgstr ""
14563
14564 # type: =head1
14565 #: ../fish/guestfish.pod:30 ../fish/guestfish.pod:729
14566 #: ../fuse/guestmount.pod:35 ../tools/virt-cat.pl:51 ../tools/virt-edit.pl:59
14567 #: ../tools/virt-resize.pl:66 ../tools/virt-tar.pl:46
14568 msgid "EXAMPLES"
14569 msgstr ""
14570
14571 # type: =head2
14572 #: ../fish/guestfish.pod:32
14573 msgid "As an interactive shell"
14574 msgstr ""
14575
14576 # type: verbatim
14577 #: ../fish/guestfish.pod:34
14578 #, no-wrap
14579 msgid ""
14580 " $ guestfish\n"
14581 " \n"
14582 msgstr ""
14583
14584 # type: verbatim
14585 #: ../fish/guestfish.pod:36
14586 #, no-wrap
14587 msgid ""
14588 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14589 " editing virtual machine filesystems.\n"
14590 " \n"
14591 msgstr ""
14592
14593 # type: verbatim
14594 #: ../fish/guestfish.pod:39
14595 #, no-wrap
14596 msgid ""
14597 " Type: 'help' for a list of commands\n"
14598 "       'man' to read the manual\n"
14599 "       'quit' to quit the shell\n"
14600 " \n"
14601 msgstr ""
14602
14603 # type: verbatim
14604 #: ../fish/guestfish.pod:43
14605 #, no-wrap
14606 msgid ""
14607 " ><fs> man\n"
14608 "\n"
14609 msgstr ""
14610
14611 # type: =head2
14612 #: ../fish/guestfish.pod:45
14613 msgid "From shell scripts"
14614 msgstr ""
14615
14616 # type: textblock
14617 #: ../fish/guestfish.pod:47
14618 msgid "Create a new C</etc/motd> file in a guest:"
14619 msgstr ""
14620
14621 # type: verbatim
14622 #: ../fish/guestfish.pod:49
14623 #, no-wrap
14624 msgid ""
14625 " guestfish <<_EOF_\n"
14626 " add disk.img\n"
14627 " run\n"
14628 " mount /dev/vg_guest/lv_root /\n"
14629 " write /etc/motd \"Welcome, new users\"\n"
14630 " _EOF_\n"
14631 "\n"
14632 msgstr ""
14633
14634 # type: textblock
14635 #: ../fish/guestfish.pod:56
14636 msgid "List the LVM logical volumes in a guest:"
14637 msgstr ""
14638
14639 # type: verbatim
14640 #: ../fish/guestfish.pod:58
14641 #, no-wrap
14642 msgid ""
14643 " guestfish -a disk.img --ro <<_EOF_\n"
14644 " run\n"
14645 " lvs\n"
14646 " _EOF_\n"
14647 "\n"
14648 msgstr ""
14649
14650 # type: =head2
14651 #: ../fish/guestfish.pod:63
14652 msgid "On one command line"
14653 msgstr ""
14654
14655 # type: textblock
14656 #: ../fish/guestfish.pod:65
14657 msgid "Update C</etc/resolv.conf> in a guest:"
14658 msgstr ""
14659
14660 # type: verbatim
14661 #: ../fish/guestfish.pod:67
14662 #, no-wrap
14663 msgid ""
14664 " guestfish \\\n"
14665 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14666 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14667 "\n"
14668 msgstr ""
14669
14670 # type: textblock
14671 #: ../fish/guestfish.pod:71
14672 msgid "Edit C</boot/grub/grub.conf> interactively:"
14673 msgstr ""
14674
14675 # type: verbatim
14676 #: ../fish/guestfish.pod:73
14677 #, no-wrap
14678 msgid ""
14679 " guestfish --add disk.img \\\n"
14680 "   --mount /dev/vg_guest/lv_root \\\n"
14681 "   --mount /dev/sda1:/boot \\\n"
14682 "   edit /boot/grub/grub.conf\n"
14683 "\n"
14684 msgstr ""
14685
14686 # type: =head2
14687 #: ../fish/guestfish.pod:78
14688 msgid "Mount disks automatically"
14689 msgstr ""
14690
14691 # type: textblock
14692 #: ../fish/guestfish.pod:80
14693 msgid ""
14694 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
14695 msgstr ""
14696
14697 # type: verbatim
14698 #: ../fish/guestfish.pod:83
14699 #, no-wrap
14700 msgid ""
14701 " guestfish --ro -a disk.img -i cat /etc/group\n"
14702 "\n"
14703 msgstr ""
14704
14705 # type: verbatim
14706 #: ../fish/guestfish.pod:85
14707 #, no-wrap
14708 msgid ""
14709 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14710 "\n"
14711 msgstr ""
14712
14713 # type: =head2
14714 #: ../fish/guestfish.pod:87
14715 msgid "As a script interpreter"
14716 msgstr ""
14717
14718 # type: textblock
14719 #: ../fish/guestfish.pod:89
14720 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14721 msgstr ""
14722
14723 # type: verbatim
14724 #: ../fish/guestfish.pod:91
14725 #, no-wrap
14726 msgid ""
14727 " #!/usr/bin/guestfish -f\n"
14728 " sparse test1.img 100M\n"
14729 " run\n"
14730 " part-disk /dev/sda mbr\n"
14731 " mkfs ext2 /dev/sda1\n"
14732 "\n"
14733 msgstr ""
14734
14735 # type: =head2
14736 #: ../fish/guestfish.pod:97
14737 msgid "Start with a prepared disk"
14738 msgstr ""
14739
14740 # type: textblock
14741 #: ../fish/guestfish.pod:99
14742 msgid ""
14743 "An alternate way to create a 100MB disk called C<test1.img> containing a "
14744 "single ext2-formatted partition:"
14745 msgstr ""
14746
14747 # type: verbatim
14748 #: ../fish/guestfish.pod:102
14749 #, no-wrap
14750 msgid ""
14751 " guestfish -N fs\n"
14752 "\n"
14753 msgstr ""
14754
14755 # type: textblock
14756 #: ../fish/guestfish.pod:104
14757 msgid "To list what is available do:"
14758 msgstr ""
14759
14760 # type: verbatim
14761 #: ../fish/guestfish.pod:106 ../fish/guestfish.pod:720
14762 #, no-wrap
14763 msgid ""
14764 " guestfish -N help | less\n"
14765 "\n"
14766 msgstr ""
14767
14768 # type: =head2
14769 #: ../fish/guestfish.pod:108
14770 msgid "Remote control"
14771 msgstr ""
14772
14773 # type: verbatim
14774 #: ../fish/guestfish.pod:110
14775 #, no-wrap
14776 msgid ""
14777 " eval `guestfish --listen --ro`\n"
14778 " guestfish --remote add disk.img\n"
14779 " guestfish --remote run\n"
14780 " guestfish --remote lvs\n"
14781 "\n"
14782 msgstr ""
14783
14784 # type: textblock
14785 #: ../fish/guestfish.pod:117
14786 msgid ""
14787 "Guestfish is a shell and command-line tool for examining and modifying "
14788 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14789 "functionality of the guestfs API, see L<guestfs(3)>."
14790 msgstr ""
14791
14792 # type: textblock
14793 #: ../fish/guestfish.pod:121
14794 msgid ""
14795 "Guestfish gives you structured access to the libguestfs API, from shell "
14796 "scripts or the command line or interactively.  If you want to rescue a "
14797 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14798 "command."
14799 msgstr ""
14800
14801 # type: =head1
14802 #: ../fish/guestfish.pod:126 ../test-tool/libguestfs-test-tool.pod:37
14803 #: ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75
14804 #: ../tools/virt-cat.pl:80 ../tools/virt-df.pl:71 ../tools/virt-edit.pl:73
14805 #: ../tools/virt-list-filesystems.pl:50 ../tools/virt-list-partitions.pl:51
14806 #: ../tools/virt-ls.pl:79 ../tools/virt-make-fs.pl:153
14807 #: ../tools/virt-rescue.pl:103 ../tools/virt-resize.pl:233
14808 #: ../tools/virt-tar.pl:99 ../tools/virt-win-reg.pl:172
14809 msgid "OPTIONS"
14810 msgstr ""
14811
14812 # type: =item
14813 #: ../fish/guestfish.pod:130 ../fuse/guestmount.pod:94
14814 #: ../inspector/virt-inspector.pl:83 ../tools/virt-cat.pl:88
14815 #: ../tools/virt-df.pl:79 ../tools/virt-edit.pl:81
14816 #: ../tools/virt-list-filesystems.pl:58 ../tools/virt-list-partitions.pl:59
14817 #: ../tools/virt-ls.pl:87 ../tools/virt-make-fs.pl:161
14818 #: ../tools/virt-rescue.pl:111 ../tools/virt-resize.pl:241
14819 #: ../tools/virt-tar.pl:107 ../tools/virt-win-reg.pl:180
14820 msgid "B<--help>"
14821 msgstr ""
14822
14823 # type: textblock
14824 #: ../fish/guestfish.pod:132
14825 msgid "Displays general help on options."
14826 msgstr ""
14827
14828 # type: =item
14829 #: ../fish/guestfish.pod:134
14830 msgid "B<-h> | B<--cmd-help>"
14831 msgstr ""
14832
14833 # type: textblock
14834 #: ../fish/guestfish.pod:136
14835 msgid "Lists all available guestfish commands."
14836 msgstr ""
14837
14838 # type: =item
14839 #: ../fish/guestfish.pod:138
14840 msgid "B<-h cmd> | B<--cmd-help cmd>"
14841 msgstr ""
14842
14843 # type: textblock
14844 #: ../fish/guestfish.pod:140
14845 msgid "Displays detailed help on a single command C<cmd>."
14846 msgstr ""
14847
14848 # type: =item
14849 #: ../fish/guestfish.pod:142 ../fuse/guestmount.pod:74
14850 msgid "B<-a image> | B<--add image>"
14851 msgstr ""
14852
14853 # type: textblock
14854 #: ../fish/guestfish.pod:144
14855 msgid "Add a block device or virtual machine image to the shell."
14856 msgstr ""
14857
14858 # type: =item
14859 #: ../fish/guestfish.pod:146
14860 msgid "B<-c URI> | B<--connect URI>"
14861 msgstr ""
14862
14863 # type: textblock
14864 #: ../fish/guestfish.pod:148
14865 msgid ""
14866 "When used in conjunction with the I<-d> option, this specifies the libvirt "
14867 "URI to use.  The default is to use the default libvirt connection."
14868 msgstr ""
14869
14870 # type: =item
14871 #: ../fish/guestfish.pod:152
14872 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
14873 msgstr ""
14874
14875 # type: textblock
14876 #: ../fish/guestfish.pod:154
14877 msgid ""
14878 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
14879 "used, then any libvirt domain can be used.  However in write mode, only "
14880 "libvirt domains which are shut down can be named here."
14881 msgstr ""
14882
14883 # type: =item
14884 #: ../fish/guestfish.pod:158
14885 msgid "B<-D> | B<--no-dest-paths>"
14886 msgstr ""
14887
14888 # type: textblock
14889 #: ../fish/guestfish.pod:160
14890 msgid ""
14891 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
14892 "to hit the tab key to complete paths on the guest filesystem, but this "
14893 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
14894 "allow this feature to be disabled."
14895 msgstr ""
14896
14897 # type: =item
14898 #: ../fish/guestfish.pod:165
14899 msgid "B<-f file> | B<--file file>"
14900 msgstr ""
14901
14902 # type: textblock
14903 #: ../fish/guestfish.pod:167
14904 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
14905 msgstr ""
14906
14907 # type: verbatim
14908 #: ../fish/guestfish.pod:170
14909 #, no-wrap
14910 msgid ""
14911 " #!/usr/bin/guestfish -f\n"
14912 "\n"
14913 msgstr ""
14914
14915 # type: =item
14916 #: ../fish/guestfish.pod:172
14917 msgid "B<-i> | B<--inspector>"
14918 msgstr ""
14919
14920 # type: textblock
14921 #: ../fish/guestfish.pod:174
14922 msgid ""
14923 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
14924 "system and mount filesystems as they would be mounted on the real virtual "
14925 "machine."
14926 msgstr ""
14927
14928 # type: textblock
14929 #: ../fish/guestfish.pod:178
14930 msgid "Typical usage is either:"
14931 msgstr ""
14932
14933 # type: verbatim
14934 #: ../fish/guestfish.pod:180
14935 #, no-wrap
14936 msgid ""
14937 " guestfish -d myguest -i\n"
14938 "\n"
14939 msgstr ""
14940
14941 # type: textblock
14942 #: ../fish/guestfish.pod:182
14943 msgid "(for an inactive libvirt domain called I<myguest>), or:"
14944 msgstr ""
14945
14946 # type: verbatim
14947 #: ../fish/guestfish.pod:184
14948 #, no-wrap
14949 msgid ""
14950 " guestfish --ro -d myguest -i\n"
14951 "\n"
14952 msgstr ""
14953
14954 # type: textblock
14955 #: ../fish/guestfish.pod:186
14956 msgid "(for active domains, readonly), or specify the block device directly:"
14957 msgstr ""
14958
14959 # type: verbatim
14960 #: ../fish/guestfish.pod:188
14961 #, no-wrap
14962 msgid ""
14963 " guestfish -a /dev/Guests/MyGuest -i\n"
14964 "\n"
14965 msgstr ""
14966
14967 # type: textblock
14968 #: ../fish/guestfish.pod:190
14969 msgid ""
14970 "Note that the command line syntax changed slightly over older versions of "
14971 "guestfish.  You can still use the old syntax:"
14972 msgstr ""
14973
14974 # type: verbatim
14975 #: ../fish/guestfish.pod:193
14976 #, no-wrap
14977 msgid ""
14978 " guestfish [--ro] -i disk.img\n"
14979 "\n"
14980 msgstr ""
14981
14982 # type: verbatim
14983 #: ../fish/guestfish.pod:195
14984 #, no-wrap
14985 msgid ""
14986 " guestfish [--ro] -i libvirt-domain\n"
14987 "\n"
14988 msgstr ""
14989
14990 # type: =item
14991 #: ../fish/guestfish.pod:197
14992 msgid "B<--keys-from-stdin>"
14993 msgstr ""
14994
14995 # type: textblock
14996 #: ../fish/guestfish.pod:199
14997 msgid ""
14998 "Read key or passphrase parameters from stdin.  The default is to try to read "
14999 "passphrases from the user by opening C</dev/tty>."
15000 msgstr ""
15001
15002 # type: =item
15003 #: ../fish/guestfish.pod:202
15004 msgid "B<--listen>"
15005 msgstr ""
15006
15007 # type: textblock
15008 #: ../fish/guestfish.pod:204
15009 msgid ""
15010 "Fork into the background and listen for remote commands.  See section L</"
15011 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
15012 msgstr ""
15013
15014 # type: =item
15015 #: ../fish/guestfish.pod:207
15016 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
15017 msgstr ""
15018
15019 # type: textblock
15020 #: ../fish/guestfish.pod:209
15021 msgid "Mount the named partition or logical volume on the given mountpoint."
15022 msgstr ""
15023
15024 # type: textblock
15025 #: ../fish/guestfish.pod:211
15026 msgid "If the mountpoint is omitted, it defaults to C</>."
15027 msgstr ""
15028
15029 # type: textblock
15030 #: ../fish/guestfish.pod:213
15031 msgid "You have to mount something on C</> before most commands will work."
15032 msgstr ""
15033
15034 # type: textblock
15035 #: ../fish/guestfish.pod:215
15036 msgid ""
15037 "If any I<-m> or I<--mount> options are given, the guest is automatically "
15038 "launched."
15039 msgstr ""
15040
15041 # type: textblock
15042 #: ../fish/guestfish.pod:218
15043 msgid ""
15044 "If you don't know what filesystems a disk image contains, you can either run "
15045 "guestfish without this option, then list the partitions and LVs available "
15046 "(see L</list-partitions> and L</lvs> commands), or you can use the L<virt-"
15047 "list-filesystems(1)> program."
15048 msgstr ""
15049
15050 # type: =item
15051 #: ../fish/guestfish.pod:223 ../fuse/guestmount.pod:106
15052 msgid "B<-n> | B<--no-sync>"
15053 msgstr ""
15054
15055 # type: textblock
15056 #: ../fish/guestfish.pod:225
15057 msgid ""
15058 "Disable autosync.  This is enabled by default.  See the discussion of "
15059 "autosync in the L<guestfs(3)> manpage."
15060 msgstr ""
15061
15062 # type: =item
15063 #: ../fish/guestfish.pod:228
15064 msgid "B<-N type> | B<--new type> | B<-N help>"
15065 msgstr ""
15066
15067 # type: textblock
15068 #: ../fish/guestfish.pod:230
15069 msgid ""
15070 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
15071 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
15072 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
15073 "IMAGES> below."
15074 msgstr ""
15075
15076 # type: =item
15077 #: ../fish/guestfish.pod:235
15078 msgid "B<--progress-bars>"
15079 msgstr ""
15080
15081 # type: textblock
15082 #: ../fish/guestfish.pod:237
15083 msgid "Enable progress bars, even when guestfish is used non-interactively."
15084 msgstr ""
15085
15086 # type: textblock
15087 #: ../fish/guestfish.pod:239
15088 msgid ""
15089 "Progress bars are enabled by default when guestfish is used as an "
15090 "interactive shell."
15091 msgstr ""
15092
15093 # type: =item
15094 #: ../fish/guestfish.pod:242
15095 msgid "B<--no-progress-bars>"
15096 msgstr ""
15097
15098 # type: textblock
15099 #: ../fish/guestfish.pod:244
15100 msgid "Disable progress bars."
15101 msgstr ""
15102
15103 # type: =item
15104 #: ../fish/guestfish.pod:246
15105 msgid "B<--remote[=pid]>"
15106 msgstr ""
15107
15108 # type: textblock
15109 #: ../fish/guestfish.pod:248
15110 msgid ""
15111 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
15112 "CONTROL GUESTFISH OVER A SOCKET> below."
15113 msgstr ""
15114
15115 # type: =item
15116 #: ../fish/guestfish.pod:251 ../fuse/guestmount.pod:148
15117 msgid "B<-r> | B<--ro>"
15118 msgstr ""
15119
15120 # type: textblock
15121 #: ../fish/guestfish.pod:253
15122 msgid ""
15123 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
15124 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
15125 msgstr ""
15126
15127 # type: textblock
15128 #: ../fish/guestfish.pod:256 ../tools/virt-rescue.pl:162
15129 msgid ""
15130 "The option must always be used if the disk image or virtual machine might be "
15131 "running, and is generally recommended in cases where you don't need write "
15132 "access to the disk."
15133 msgstr ""
15134
15135 # type: textblock
15136 #: ../fish/guestfish.pod:260
15137 msgid ""
15138 "Note that prepared disk images created with I<-N> are not affected by the "
15139 "I<--ro> option."
15140 msgstr ""
15141
15142 # type: =item
15143 #: ../fish/guestfish.pod:263 ../fuse/guestmount.pod:158
15144 #: ../tools/virt-rescue.pl:170
15145 msgid "B<--selinux>"
15146 msgstr ""
15147
15148 # type: textblock
15149 #: ../fish/guestfish.pod:265
15150 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
15151 msgstr ""
15152
15153 # type: =item
15154 #: ../fish/guestfish.pod:267 ../fuse/guestmount.pod:168
15155 msgid "B<-v> | B<--verbose>"
15156 msgstr ""
15157
15158 # type: textblock
15159 #: ../fish/guestfish.pod:269
15160 msgid ""
15161 "Enable very verbose messages.  This is particularly useful if you find a bug."
15162 msgstr ""
15163
15164 # type: =item
15165 #: ../fish/guestfish.pod:272 ../fuse/guestmount.pod:172
15166 msgid "B<-V> | B<--version>"
15167 msgstr ""
15168
15169 # type: textblock
15170 #: ../fish/guestfish.pod:274
15171 msgid "Display the guestfish / libguestfs version number and exit."
15172 msgstr ""
15173
15174 # type: =item
15175 #: ../fish/guestfish.pod:276
15176 msgid "B<-x>"
15177 msgstr ""
15178
15179 # type: textblock
15180 #: ../fish/guestfish.pod:278
15181 msgid "Echo each command before executing it."
15182 msgstr ""
15183
15184 # type: =head1
15185 #: ../fish/guestfish.pod:282
15186 msgid "COMMANDS ON COMMAND LINE"
15187 msgstr ""
15188
15189 # type: textblock
15190 #: ../fish/guestfish.pod:284
15191 msgid ""
15192 "Any additional (non-option) arguments are treated as commands to execute."
15193 msgstr ""
15194
15195 # type: textblock
15196 #: ../fish/guestfish.pod:287
15197 msgid ""
15198 "Commands to execute should be separated by a colon (C<:>), where the colon "
15199 "is a separate parameter.  Thus:"
15200 msgstr ""
15201
15202 # type: verbatim
15203 #: ../fish/guestfish.pod:290
15204 #, no-wrap
15205 msgid ""
15206 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
15207 "\n"
15208 msgstr ""
15209
15210 # type: textblock
15211 #: ../fish/guestfish.pod:292
15212 msgid ""
15213 "If there are no additional arguments, then we enter a shell, either an "
15214 "interactive shell with a prompt (if the input is a terminal) or a non-"
15215 "interactive shell."
15216 msgstr ""
15217
15218 # type: textblock
15219 #: ../fish/guestfish.pod:296
15220 msgid ""
15221 "In either command line mode or non-interactive shell, the first command that "
15222 "gives an error causes the whole shell to exit.  In interactive mode (with a "
15223 "prompt) if a command fails, you can continue to enter commands."
15224 msgstr ""
15225
15226 # type: =head1
15227 #: ../fish/guestfish.pod:301
15228 msgid "USING launch (OR run)"
15229 msgstr ""
15230
15231 # type: textblock
15232 #: ../fish/guestfish.pod:303
15233 msgid ""
15234 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
15235 "then launch it, then mount any disks you need, and finally issue actions/"
15236 "commands.  So the general order of the day is:"
15237 msgstr ""
15238
15239 # type: textblock
15240 #: ../fish/guestfish.pod:311
15241 msgid "add or -a/--add"
15242 msgstr ""
15243
15244 # type: textblock
15245 #: ../fish/guestfish.pod:315
15246 msgid "launch (aka run)"
15247 msgstr ""
15248
15249 # type: textblock
15250 #: ../fish/guestfish.pod:319
15251 msgid "mount or -m/--mount"
15252 msgstr ""
15253
15254 # type: textblock
15255 #: ../fish/guestfish.pod:323
15256 msgid "any other commands"
15257 msgstr ""
15258
15259 # type: textblock
15260 #: ../fish/guestfish.pod:327
15261 msgid ""
15262 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
15263 "guest before mounting or performing any other commands."
15264 msgstr ""
15265
15266 # type: textblock
15267 #: ../fish/guestfish.pod:330
15268 msgid ""
15269 "The only exception is that if the I<-m> or I<--mount> option was given, the "
15270 "guest is automatically run for you (simply because guestfish can't mount the "
15271 "disks you asked for without doing this)."
15272 msgstr ""
15273
15274 # type: =head1
15275 #: ../fish/guestfish.pod:334
15276 msgid "QUOTING"
15277 msgstr ""
15278
15279 # type: textblock
15280 #: ../fish/guestfish.pod:336
15281 msgid ""
15282 "You can quote ordinary parameters using either single or double quotes.  For "
15283 "example:"
15284 msgstr ""
15285
15286 # type: verbatim
15287 #: ../fish/guestfish.pod:339
15288 #, no-wrap
15289 msgid ""
15290 " add \"file with a space.img\"\n"
15291 "\n"
15292 msgstr ""
15293
15294 # type: verbatim
15295 #: ../fish/guestfish.pod:341
15296 #, no-wrap
15297 msgid ""
15298 " rm '/file name'\n"
15299 "\n"
15300 msgstr ""
15301
15302 # type: verbatim
15303 #: ../fish/guestfish.pod:343
15304 #, no-wrap
15305 msgid ""
15306 " rm '/\"'\n"
15307 "\n"
15308 msgstr ""
15309
15310 # type: textblock
15311 #: ../fish/guestfish.pod:345
15312 msgid ""
15313 "A few commands require a list of strings to be passed.  For these, use a "
15314 "whitespace-separated list, enclosed in quotes.  Strings containing "
15315 "whitespace to be passed through must be enclosed in single quotes.  A "
15316 "literal single quote must be escaped with a backslash."
15317 msgstr ""
15318
15319 # type: verbatim
15320 #: ../fish/guestfish.pod:350
15321 #, no-wrap
15322 msgid ""
15323 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
15324 " command \"/bin/echo 'foo      bar'\"\n"
15325 " command \"/bin/echo \\'foo\\'\"\n"
15326 "\n"
15327 msgstr ""
15328
15329 # type: =head1
15330 #: ../fish/guestfish.pod:354
15331 msgid "NUMBERS"
15332 msgstr ""
15333
15334 # type: textblock
15335 #: ../fish/guestfish.pod:356
15336 msgid ""
15337 "This section applies to all commands which can take integers as parameters."
15338 msgstr ""
15339
15340 # type: =head2
15341 #: ../fish/guestfish.pod:359
15342 msgid "SIZE SUFFIX"
15343 msgstr ""
15344
15345 # type: textblock
15346 #: ../fish/guestfish.pod:361
15347 msgid ""
15348 "When the command takes a parameter measured in bytes, you can use one of the "
15349 "following suffixes to specify kilobytes, megabytes and larger sizes:"
15350 msgstr ""
15351
15352 # type: =item
15353 #: ../fish/guestfish.pod:367
15354 msgid "B<k> or B<K> or B<KiB>"
15355 msgstr ""
15356
15357 # type: textblock
15358 #: ../fish/guestfish.pod:369
15359 msgid "The size in kilobytes (multiplied by 1024)."
15360 msgstr ""
15361
15362 # type: =item
15363 #: ../fish/guestfish.pod:371
15364 msgid "B<KB>"
15365 msgstr ""
15366
15367 # type: textblock
15368 #: ../fish/guestfish.pod:373
15369 msgid "The size in SI 1000 byte units."
15370 msgstr ""
15371
15372 # type: =item
15373 #: ../fish/guestfish.pod:375
15374 msgid "B<M> or B<MiB>"
15375 msgstr ""
15376
15377 # type: textblock
15378 #: ../fish/guestfish.pod:377
15379 msgid "The size in megabytes (multiplied by 1048576)."
15380 msgstr ""
15381
15382 # type: =item
15383 #: ../fish/guestfish.pod:379
15384 msgid "B<MB>"
15385 msgstr ""
15386
15387 # type: textblock
15388 #: ../fish/guestfish.pod:381
15389 msgid "The size in SI 1000000 byte units."
15390 msgstr ""
15391
15392 # type: =item
15393 #: ../fish/guestfish.pod:383
15394 msgid "B<G> or B<GiB>"
15395 msgstr ""
15396
15397 # type: textblock
15398 #: ../fish/guestfish.pod:385
15399 msgid "The size in gigabytes (multiplied by 2**30)."
15400 msgstr ""
15401
15402 # type: =item
15403 #: ../fish/guestfish.pod:387
15404 msgid "B<GB>"
15405 msgstr ""
15406
15407 # type: textblock
15408 #: ../fish/guestfish.pod:389
15409 msgid "The size in SI 10**9 byte units."
15410 msgstr ""
15411
15412 # type: =item
15413 #: ../fish/guestfish.pod:391
15414 msgid "B<T> or B<TiB>"
15415 msgstr ""
15416
15417 # type: textblock
15418 #: ../fish/guestfish.pod:393
15419 msgid "The size in terabytes (multiplied by 2**40)."
15420 msgstr ""
15421
15422 # type: =item
15423 #: ../fish/guestfish.pod:395
15424 msgid "B<TB>"
15425 msgstr ""
15426
15427 # type: textblock
15428 #: ../fish/guestfish.pod:397
15429 msgid "The size in SI 10**12 byte units."
15430 msgstr ""
15431
15432 # type: =item
15433 #: ../fish/guestfish.pod:399
15434 msgid "B<P> or B<PiB>"
15435 msgstr ""
15436
15437 # type: textblock
15438 #: ../fish/guestfish.pod:401
15439 msgid "The size in petabytes (multiplied by 2**50)."
15440 msgstr ""
15441
15442 # type: =item
15443 #: ../fish/guestfish.pod:403
15444 msgid "B<PB>"
15445 msgstr ""
15446
15447 # type: textblock
15448 #: ../fish/guestfish.pod:405
15449 msgid "The size in SI 10**15 byte units."
15450 msgstr ""
15451
15452 # type: =item
15453 #: ../fish/guestfish.pod:407
15454 msgid "B<E> or B<EiB>"
15455 msgstr ""
15456
15457 # type: textblock
15458 #: ../fish/guestfish.pod:409
15459 msgid "The size in exabytes (multiplied by 2**60)."
15460 msgstr ""
15461
15462 # type: =item
15463 #: ../fish/guestfish.pod:411
15464 msgid "B<EB>"
15465 msgstr ""
15466
15467 # type: textblock
15468 #: ../fish/guestfish.pod:413
15469 msgid "The size in SI 10**18 byte units."
15470 msgstr ""
15471
15472 # type: =item
15473 #: ../fish/guestfish.pod:415
15474 msgid "B<Z> or B<ZiB>"
15475 msgstr ""
15476
15477 # type: textblock
15478 #: ../fish/guestfish.pod:417
15479 msgid "The size in zettabytes (multiplied by 2**70)."
15480 msgstr ""
15481
15482 # type: =item
15483 #: ../fish/guestfish.pod:419
15484 msgid "B<ZB>"
15485 msgstr ""
15486
15487 # type: textblock
15488 #: ../fish/guestfish.pod:421
15489 msgid "The size in SI 10**21 byte units."
15490 msgstr ""
15491
15492 # type: =item
15493 #: ../fish/guestfish.pod:423
15494 msgid "B<Y> or B<YiB>"
15495 msgstr ""
15496
15497 # type: textblock
15498 #: ../fish/guestfish.pod:425
15499 msgid "The size in yottabytes (multiplied by 2**80)."
15500 msgstr ""
15501
15502 # type: =item
15503 #: ../fish/guestfish.pod:427
15504 msgid "B<YB>"
15505 msgstr ""
15506
15507 # type: textblock
15508 #: ../fish/guestfish.pod:429
15509 msgid "The size in SI 10**24 byte units."
15510 msgstr ""
15511
15512 # type: textblock
15513 #: ../fish/guestfish.pod:433
15514 msgid "For example:"
15515 msgstr ""
15516
15517 # type: verbatim
15518 #: ../fish/guestfish.pod:435
15519 #, no-wrap
15520 msgid ""
15521 " truncate-size /file 1G\n"
15522 "\n"
15523 msgstr ""
15524
15525 # type: textblock
15526 #: ../fish/guestfish.pod:437
15527 msgid "would truncate the file to 1 gigabyte."
15528 msgstr ""
15529
15530 # type: textblock
15531 #: ../fish/guestfish.pod:439
15532 msgid ""
15533 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
15534 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
15535 "suffix will probably not do what you expect."
15536 msgstr ""
15537
15538 # type: =head2
15539 #: ../fish/guestfish.pod:443
15540 msgid "OCTAL AND HEXADECIMAL NUMBERS"
15541 msgstr ""
15542
15543 # type: textblock
15544 #: ../fish/guestfish.pod:445
15545 msgid ""
15546 "For specifying the radix (base) use the C convention: C<0> to prefix an "
15547 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
15548 msgstr ""
15549
15550 # type: verbatim
15551 #: ../fish/guestfish.pod:448
15552 #, no-wrap
15553 msgid ""
15554 " 1234      decimal number 1234\n"
15555 " 02322     octal number, equivalent to decimal 1234\n"
15556 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
15557 "\n"
15558 msgstr ""
15559
15560 # type: textblock
15561 #: ../fish/guestfish.pod:452
15562 msgid ""
15563 "When using the C<chmod> command, you almost always want to specify an octal "
15564 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
15565 "L<chmod(1)> program):"
15566 msgstr ""
15567
15568 # type: verbatim
15569 #: ../fish/guestfish.pod:456
15570 #, no-wrap
15571 msgid ""
15572 " chmod 0777 /public  # OK\n"
15573 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
15574 "\n"
15575 msgstr ""
15576
15577 # type: textblock
15578 #: ../fish/guestfish.pod:459
15579 msgid ""
15580 "Commands that return numbers usually print them in decimal, but some "
15581 "commands print numbers in other radices (eg. C<umask> prints the mode in "
15582 "octal, preceeded by C<0>)."
15583 msgstr ""
15584
15585 # type: =head1
15586 #: ../fish/guestfish.pod:463
15587 msgid "WILDCARDS AND GLOBBING"
15588 msgstr ""
15589
15590 # type: textblock
15591 #: ../fish/guestfish.pod:465
15592 msgid ""
15593 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
15594 "(globbing) by default.  So for example the following will not do what you "
15595 "expect:"
15596 msgstr ""
15597
15598 # type: verbatim
15599 #: ../fish/guestfish.pod:469
15600 #, no-wrap
15601 msgid ""
15602 " rm-rf /home/*\n"
15603 "\n"
15604 msgstr ""
15605
15606 # type: textblock
15607 #: ../fish/guestfish.pod:471
15608 msgid ""
15609 "Assuming you don't have a directory literally called C</home/*> then the "
15610 "above command will return an error."
15611 msgstr ""
15612
15613 # type: textblock
15614 #: ../fish/guestfish.pod:474
15615 msgid "To perform wildcard expansion, use the C<glob> command."
15616 msgstr ""
15617
15618 # type: verbatim
15619 #: ../fish/guestfish.pod:476
15620 #, no-wrap
15621 msgid ""
15622 " glob rm-rf /home/*\n"
15623 "\n"
15624 msgstr ""
15625
15626 # type: textblock
15627 #: ../fish/guestfish.pod:478
15628 msgid ""
15629 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
15630 "many times), equivalent to:"
15631 msgstr ""
15632
15633 # type: verbatim
15634 #: ../fish/guestfish.pod:481
15635 #, no-wrap
15636 msgid ""
15637 " rm-rf /home/jim\n"
15638 " rm-rf /home/joe\n"
15639 " rm-rf /home/mary\n"
15640 "\n"
15641 msgstr ""
15642
15643 # type: textblock
15644 #: ../fish/guestfish.pod:485
15645 msgid "C<glob> only works on simple guest paths and not on device names."
15646 msgstr ""
15647
15648 # type: textblock
15649 #: ../fish/guestfish.pod:487
15650 msgid ""
15651 "If you have several parameters, each containing a wildcard, then glob will "
15652 "perform a cartesian product."
15653 msgstr ""
15654
15655 # type: =head1
15656 #: ../fish/guestfish.pod:490
15657 msgid "COMMENTS"
15658 msgstr ""
15659
15660 # type: textblock
15661 #: ../fish/guestfish.pod:492
15662 msgid ""
15663 "Any line which starts with a I<#> character is treated as a comment and "
15664 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15665 "a command.  For example:"
15666 msgstr ""
15667
15668 # type: verbatim
15669 #: ../fish/guestfish.pod:496
15670 #, no-wrap
15671 msgid ""
15672 " # this is a comment\n"
15673 "         # this is a comment\n"
15674 " foo # NOT a comment\n"
15675 "\n"
15676 msgstr ""
15677
15678 # type: textblock
15679 #: ../fish/guestfish.pod:500
15680 msgid "Blank lines are also ignored."
15681 msgstr ""
15682
15683 # type: =head1
15684 #: ../fish/guestfish.pod:502
15685 msgid "RUNNING COMMANDS LOCALLY"
15686 msgstr ""
15687
15688 # type: textblock
15689 #: ../fish/guestfish.pod:504
15690 msgid ""
15691 "Any line which starts with a I<!> character is treated as a command sent to "
15692 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15693 msgstr ""
15694
15695 # type: verbatim
15696 #: ../fish/guestfish.pod:508
15697 #, no-wrap
15698 msgid ""
15699 " !mkdir local\n"
15700 " tgz-out /remote local/remote-data.tar.gz\n"
15701 "\n"
15702 msgstr ""
15703
15704 # type: textblock
15705 #: ../fish/guestfish.pod:511
15706 msgid ""
15707 "will create a directory C<local> on the host, and then export the contents "
15708 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15709 "(See C<tgz-out>)."
15710 msgstr ""
15711
15712 # type: textblock
15713 #: ../fish/guestfish.pod:515
15714 msgid ""
15715 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15716 "effect, due to the way that subprocesses work in Unix."
15717 msgstr ""
15718
15719 # type: =head1
15720 #: ../fish/guestfish.pod:518
15721 msgid "PIPES"
15722 msgstr ""
15723
15724 # type: textblock
15725 #: ../fish/guestfish.pod:520
15726 msgid ""
15727 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15728 "command (a guestfish command) to the second command (any host command).  For "
15729 "example:"
15730 msgstr ""
15731
15732 # type: verbatim
15733 #: ../fish/guestfish.pod:524
15734 #, no-wrap
15735 msgid ""
15736 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
15737 "\n"
15738 msgstr ""
15739
15740 # type: textblock
15741 #: ../fish/guestfish.pod:526
15742 msgid ""
15743 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
15744 "program).  The above command would list all accounts in the guest filesystem "
15745 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
15746 msgstr ""
15747
15748 # type: verbatim
15749 #: ../fish/guestfish.pod:531
15750 #, no-wrap
15751 msgid ""
15752 " hexdump /bin/ls | head\n"
15753 " list-devices | tail -1\n"
15754 " tgz-out / - | tar ztf -\n"
15755 "\n"
15756 msgstr ""
15757
15758 # type: textblock
15759 #: ../fish/guestfish.pod:535
15760 msgid ""
15761 "The space before the pipe symbol is required, any space after the pipe "
15762 "symbol is optional.  Everything after the pipe symbol is just passed "
15763 "straight to the host shell, so it can contain redirections, globs and "
15764 "anything else that makes sense on the host side."
15765 msgstr ""
15766
15767 # type: textblock
15768 #: ../fish/guestfish.pod:540
15769 msgid ""
15770 "To use a literal argument which begins with a pipe symbol, you have to quote "
15771 "it, eg:"
15772 msgstr ""
15773
15774 # type: verbatim
15775 #: ../fish/guestfish.pod:543
15776 #, no-wrap
15777 msgid ""
15778 " echo \"|\"\n"
15779 "\n"
15780 msgstr ""
15781
15782 # type: =head1
15783 #: ../fish/guestfish.pod:545
15784 msgid "HOME DIRECTORIES"
15785 msgstr ""
15786
15787 # type: textblock
15788 #: ../fish/guestfish.pod:547
15789 msgid ""
15790 "If a parameter starts with the character C<~> then the tilde may be expanded "
15791 "as a home directory path (either C<~> for the current user's home directory, "
15792 "or C<~user> for another user)."
15793 msgstr ""
15794
15795 # type: textblock
15796 #: ../fish/guestfish.pod:551
15797 msgid ""
15798 "Note that home directory expansion happens for users known I<on the host>, "
15799 "not in the guest filesystem."
15800 msgstr ""
15801
15802 # type: textblock
15803 #: ../fish/guestfish.pod:554
15804 msgid ""
15805 "To use a literal argument which begins with a tilde, you have to quote it, "
15806 "eg:"
15807 msgstr ""
15808
15809 # type: verbatim
15810 #: ../fish/guestfish.pod:557
15811 #, no-wrap
15812 msgid ""
15813 " echo \"~\"\n"
15814 "\n"
15815 msgstr ""
15816
15817 # type: textblock
15818 #: ../fish/guestfish.pod:561
15819 msgid ""
15820 "Libguestfs has some support for Linux guests encrypted according to the "
15821 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
15822 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
15823 "LUKS is supported."
15824 msgstr ""
15825
15826 # type: textblock
15827 #: ../fish/guestfish.pod:566
15828 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
15829 msgstr ""
15830
15831 # type: verbatim
15832 #: ../fish/guestfish.pod:568
15833 #, no-wrap
15834 msgid ""
15835 " ><fs> vfs-type /dev/sda2\n"
15836 " crypto_LUKS\n"
15837 "\n"
15838 msgstr ""
15839
15840 # type: textblock
15841 #: ../fish/guestfish.pod:571
15842 msgid ""
15843 "Then open those devices using L</luks-open>.  This creates a device-mapper "
15844 "device called C</dev/mapper/luksdev>."
15845 msgstr ""
15846
15847 # type: verbatim
15848 #: ../fish/guestfish.pod:574
15849 #, no-wrap
15850 msgid ""
15851 " ><fs> luks-open /dev/sda2 luksdev\n"
15852 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
15853 "\n"
15854 msgstr ""
15855
15856 # type: textblock
15857 #: ../fish/guestfish.pod:577
15858 msgid ""
15859 "Finally you have to tell LVM to scan for volume groups on the newly created "
15860 "mapper device:"
15861 msgstr ""
15862
15863 # type: verbatim
15864 #: ../fish/guestfish.pod:580
15865 #, no-wrap
15866 msgid ""
15867 " ><fs> vgscan\n"
15868 " ><fs> vg-activate-all true\n"
15869 "\n"
15870 msgstr ""
15871
15872 # type: textblock
15873 #: ../fish/guestfish.pod:583
15874 msgid "The logical volume(s) can now be mounted in the usual way."
15875 msgstr ""
15876
15877 # type: textblock
15878 #: ../fish/guestfish.pod:585
15879 msgid ""
15880 "Before closing a LUKS device you must unmount any logical volumes on it and "
15881 "deactivate the volume groups by calling C<vg-activate false VG> on each "
15882 "one.  Then you can close the mapper device:"
15883 msgstr ""
15884
15885 # type: verbatim
15886 #: ../fish/guestfish.pod:589
15887 #, no-wrap
15888 msgid ""
15889 " ><fs> vg-activate false /dev/VG\n"
15890 " ><fs> luks-close /dev/mapper/luksdev\n"
15891 "\n"
15892 msgstr ""
15893
15894 # type: =head1
15895 #: ../fish/guestfish.pod:592
15896 msgid "WINDOWS PATHS"
15897 msgstr ""
15898
15899 # type: textblock
15900 #: ../fish/guestfish.pod:594
15901 msgid ""
15902 "If a path is prefixed with C<win:> then you can use Windows-style paths "
15903 "(with some limitations).  The following commands are equivalent:"
15904 msgstr ""
15905
15906 # type: verbatim
15907 #: ../fish/guestfish.pod:597
15908 #, no-wrap
15909 msgid ""
15910 " file /WINDOWS/system32/config/system.LOG\n"
15911 "\n"
15912 msgstr ""
15913
15914 # type: verbatim
15915 #: ../fish/guestfish.pod:599
15916 #, no-wrap
15917 msgid ""
15918 " file win:/windows/system32/config/system.log\n"
15919 "\n"
15920 msgstr ""
15921
15922 # type: verbatim
15923 #: ../fish/guestfish.pod:601
15924 #, no-wrap
15925 msgid ""
15926 " file win:\\windows\\system32\\config\\system.log\n"
15927 "\n"
15928 msgstr ""
15929
15930 # type: verbatim
15931 #: ../fish/guestfish.pod:603
15932 #, no-wrap
15933 msgid ""
15934 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
15935 "\n"
15936 msgstr ""
15937
15938 # type: textblock
15939 #: ../fish/guestfish.pod:605
15940 msgid ""
15941 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
15942 "handles case insensitivity like Windows would.  This only works in argument "
15943 "positions that expect a path."
15944 msgstr ""
15945
15946 # type: =head1
15947 #: ../fish/guestfish.pod:609
15948 msgid "UPLOADING AND DOWNLOADING FILES"
15949 msgstr ""
15950
15951 # type: textblock
15952 #: ../fish/guestfish.pod:611
15953 msgid ""
15954 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
15955 "others which upload from or download to a local file, you can use the "
15956 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
15957 msgstr ""
15958
15959 # type: verbatim
15960 #: ../fish/guestfish.pod:615
15961 #, no-wrap
15962 msgid ""
15963 " upload - /foo\n"
15964 "\n"
15965 msgstr ""
15966
15967 # type: textblock
15968 #: ../fish/guestfish.pod:617
15969 msgid ""
15970 "reads stdin and creates from that a file C</foo> in the disk image, and:"
15971 msgstr ""
15972
15973 # type: verbatim
15974 #: ../fish/guestfish.pod:620
15975 #, no-wrap
15976 msgid ""
15977 " tar-out /etc - | tar tf -\n"
15978 "\n"
15979 msgstr ""
15980
15981 # type: textblock
15982 #: ../fish/guestfish.pod:622
15983 msgid ""
15984 "writes the tarball to stdout and then pipes that into the external \"tar\" "
15985 "command (see L</PIPES>)."
15986 msgstr ""
15987
15988 # type: textblock
15989 #: ../fish/guestfish.pod:625
15990 msgid ""
15991 "When using C<-> to read from stdin, the input is read up to the end of "
15992 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
15993 "some arbitrary end marker:"
15994 msgstr ""
15995
15996 # type: verbatim
15997 #: ../fish/guestfish.pod:629
15998 #, no-wrap
15999 msgid ""
16000 " upload -<<END /foo\n"
16001 " input line 1\n"
16002 " input line 2\n"
16003 " input line 3\n"
16004 " END\n"
16005 "\n"
16006 msgstr ""
16007
16008 # type: textblock
16009 #: ../fish/guestfish.pod:635
16010 msgid ""
16011 "Any string of characters can be used instead of C<END>.  The end marker must "
16012 "appear on a line of its own, without any preceeding or following characters "
16013 "(not even spaces)."
16014 msgstr ""
16015
16016 # type: textblock
16017 #: ../fish/guestfish.pod:639
16018 msgid ""
16019 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
16020 "upload local files (so-called \"FileIn\" parameters in the generator)."
16021 msgstr ""
16022
16023 # type: =head1
16024 #: ../fish/guestfish.pod:642
16025 msgid "EXIT ON ERROR BEHAVIOUR"
16026 msgstr ""
16027
16028 # type: textblock
16029 #: ../fish/guestfish.pod:644
16030 msgid ""
16031 "By default, guestfish will ignore any errors when in interactive mode (ie. "
16032 "taking commands from a human over a tty), and will exit on the first error "
16033 "in non-interactive mode (scripts, commands given on the command line)."
16034 msgstr ""
16035
16036 # type: textblock
16037 #: ../fish/guestfish.pod:649
16038 msgid ""
16039 "If you prefix a command with a I<-> character, then that command will not "
16040 "cause guestfish to exit, even if that (one) command returns an error."
16041 msgstr ""
16042
16043 # type: =head1
16044 #: ../fish/guestfish.pod:653
16045 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
16046 msgstr ""
16047
16048 # type: textblock
16049 #: ../fish/guestfish.pod:655
16050 msgid ""
16051 "Guestfish can be remote-controlled over a socket.  This is useful "
16052 "particularly in shell scripts where you want to make several different "
16053 "changes to a filesystem, but you don't want the overhead of starting up a "
16054 "guestfish process each time."
16055 msgstr ""
16056
16057 # type: textblock
16058 #: ../fish/guestfish.pod:660
16059 msgid "Start a guestfish server process using:"
16060 msgstr ""
16061
16062 # type: verbatim
16063 #: ../fish/guestfish.pod:662
16064 #, no-wrap
16065 msgid ""
16066 " eval `guestfish --listen`\n"
16067 "\n"
16068 msgstr ""
16069
16070 # type: textblock
16071 #: ../fish/guestfish.pod:664
16072 msgid "and then send it commands by doing:"
16073 msgstr ""
16074
16075 # type: verbatim
16076 #: ../fish/guestfish.pod:666
16077 #, no-wrap
16078 msgid ""
16079 " guestfish --remote cmd [...]\n"
16080 "\n"
16081 msgstr ""
16082
16083 # type: textblock
16084 #: ../fish/guestfish.pod:668
16085 msgid "To cause the server to exit, send it the exit command:"
16086 msgstr ""
16087
16088 # type: verbatim
16089 #: ../fish/guestfish.pod:670
16090 #, no-wrap
16091 msgid ""
16092 " guestfish --remote exit\n"
16093 "\n"
16094 msgstr ""
16095
16096 # type: textblock
16097 #: ../fish/guestfish.pod:672
16098 msgid ""
16099 "Note that the server will normally exit if there is an error in a command.  "
16100 "You can change this in the usual way.  See section L</EXIT ON ERROR "
16101 "BEHAVIOUR>."
16102 msgstr ""
16103
16104 # type: =head2
16105 #: ../fish/guestfish.pod:676
16106 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
16107 msgstr ""
16108
16109 # type: textblock
16110 #: ../fish/guestfish.pod:678
16111 msgid ""
16112 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
16113 "is how the I<--remote> option knows where to send the commands.  You can "
16114 "have several guestfish listener processes running using:"
16115 msgstr ""
16116
16117 # type: verbatim
16118 #: ../fish/guestfish.pod:682
16119 #, no-wrap
16120 msgid ""
16121 " eval `guestfish --listen`\n"
16122 " pid1=$GUESTFISH_PID\n"
16123 " eval `guestfish --listen`\n"
16124 " pid2=$GUESTFISH_PID\n"
16125 " ...\n"
16126 " guestfish --remote=$pid1 cmd\n"
16127 " guestfish --remote=$pid2 cmd\n"
16128 "\n"
16129 msgstr ""
16130
16131 # type: =head2
16132 #: ../fish/guestfish.pod:690
16133 msgid "REMOTE CONTROL DETAILS"
16134 msgstr ""
16135
16136 # type: textblock
16137 #: ../fish/guestfish.pod:692
16138 msgid ""
16139 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
16140 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
16141 "and C<$PID> is the process ID of the server."
16142 msgstr ""
16143
16144 # type: textblock
16145 #: ../fish/guestfish.pod:696
16146 msgid "Guestfish client and server versions must match exactly."
16147 msgstr ""
16148
16149 # type: =head1
16150 #: ../fish/guestfish.pod:698
16151 msgid "PREPARED DISK IMAGES"
16152 msgstr ""
16153
16154 # type: textblock
16155 #: ../fish/guestfish.pod:700
16156 msgid ""
16157 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
16158 "preformatted disk images that guestfish can make for you to save typing.  "
16159 "This is particularly useful for testing purposes.  This option is used "
16160 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
16161 "can be mixed with I<-a>)."
16162 msgstr ""
16163
16164 # type: textblock
16165 #: ../fish/guestfish.pod:706
16166 msgid ""
16167 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
16168 "the second and so on.  Existing files in the current directory are "
16169 "I<overwritten>."
16170 msgstr ""
16171
16172 # type: textblock
16173 #: ../fish/guestfish.pod:710
16174 msgid ""
16175 "The type briefly describes how the disk should be sized, partitioned, how "
16176 "filesystem(s) should be created, and how content should be added.  "
16177 "Optionally the type can be followed by extra parameters, separated by C<:> "
16178 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
16179 "allocated disk, containing a single partition, with the partition formatted "
16180 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
16181 "disk instead."
16182 msgstr ""
16183
16184 # type: textblock
16185 #: ../fish/guestfish.pod:718
16186 msgid "To list the available types and any extra parameters they take, run:"
16187 msgstr ""
16188
16189 # type: textblock
16190 #: ../fish/guestfish.pod:722
16191 msgid ""
16192 "Note that the prepared filesystem is not mounted.  You would usually have to "
16193 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
16194 msgstr ""
16195
16196 # type: textblock
16197 #: ../fish/guestfish.pod:726
16198 msgid ""
16199 "If any I<-N> or I<--new> options are given, the guest is automatically "
16200 "launched."
16201 msgstr ""
16202
16203 # type: textblock
16204 #: ../fish/guestfish.pod:731
16205 msgid "Create a 100MB disk with an ext4-formatted partition:"
16206 msgstr ""
16207
16208 # type: verbatim
16209 #: ../fish/guestfish.pod:733
16210 #, no-wrap
16211 msgid ""
16212 " guestfish -N fs:ext4\n"
16213 "\n"
16214 msgstr ""
16215
16216 # type: textblock
16217 #: ../fish/guestfish.pod:735
16218 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
16219 msgstr ""
16220
16221 # type: verbatim
16222 #: ../fish/guestfish.pod:737
16223 #, no-wrap
16224 msgid ""
16225 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
16226 "\n"
16227 msgstr ""
16228
16229 # type: textblock
16230 #: ../fish/guestfish.pod:739
16231 msgid "Create a blank 200MB disk:"
16232 msgstr ""
16233
16234 # type: verbatim
16235 #: ../fish/guestfish.pod:741
16236 #, no-wrap
16237 msgid ""
16238 " guestfish -N disk:200M\n"
16239 "\n"
16240 msgstr ""
16241
16242 # type: =head1
16243 #: ../fish/guestfish.pod:743
16244 msgid "PROGRESS BARS"
16245 msgstr ""
16246
16247 # type: textblock
16248 #: ../fish/guestfish.pod:745
16249 msgid ""
16250 "Some (not all) long-running commands send progress notification messages as "
16251 "they are running.  Guestfish turns these messages into progress bars."
16252 msgstr ""
16253
16254 # type: textblock
16255 #: ../fish/guestfish.pod:749
16256 msgid ""
16257 "When a command that supports progress bars takes longer than two seconds to "
16258 "run, and if progress bars are enabled, then you will see one appearing below "
16259 "the command:"
16260 msgstr ""
16261
16262 # type: verbatim
16263 #: ../fish/guestfish.pod:753
16264 #, no-wrap
16265 msgid ""
16266 " ><fs> copy-size /large-file /another-file 2048M\n"
16267 " / 10% [#####-----------------------------------------] 00:30\n"
16268 "\n"
16269 msgstr ""
16270
16271 # type: textblock
16272 #: ../fish/guestfish.pod:756
16273 msgid ""
16274 "The spinner on the left hand side moves round once for every progress "
16275 "notification received from the backend.  This is a (reasonably) golden "
16276 "assurance that the command is \"doing something\" even if the progress bar "
16277 "is not moving, because the command is able to send the progress "
16278 "notifications.  When the bar reaches 100% and the command finishes, the "
16279 "spinner disappears."
16280 msgstr ""
16281
16282 # type: textblock
16283 #: ../fish/guestfish.pod:763
16284 msgid ""
16285 "Progress bars are enabled by default when guestfish is used interactively.  "
16286 "You can enable them even for non-interactive modes using I<--progress-bars>, "
16287 "and you can disable them completely using I<--no-progress-bars>."
16288 msgstr ""
16289
16290 # type: =head1
16291 #: ../fish/guestfish.pod:768
16292 msgid "GUESTFISH COMMANDS"
16293 msgstr ""
16294
16295 # type: textblock
16296 #: ../fish/guestfish.pod:770
16297 msgid ""
16298 "The commands in this section are guestfish convenience commands, in other "
16299 "words, they are not part of the L<guestfs(3)> API."
16300 msgstr ""
16301
16302 # type: =head2
16303 #: ../fish/guestfish.pod:773
16304 msgid "help"
16305 msgstr ""
16306
16307 # type: verbatim
16308 #: ../fish/guestfish.pod:775
16309 #, no-wrap
16310 msgid ""
16311 " help\n"
16312 " help cmd\n"
16313 "\n"
16314 msgstr ""
16315
16316 # type: textblock
16317 #: ../fish/guestfish.pod:778
16318 msgid ""
16319 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16320 "this displays detailed help for a command."
16321 msgstr ""
16322
16323 # type: =head2
16324 #: ../fish/guestfish.pod:781
16325 msgid "quit | exit"
16326 msgstr ""
16327
16328 # type: textblock
16329 #: ../fish/guestfish.pod:783
16330 msgid "This exits guestfish.  You can also use C<^D> key."
16331 msgstr ""
16332
16333 # type: textblock
16334 #: ../fish/guestfish.pod:785
16335 msgid "@FISH_COMMANDS@"
16336 msgstr ""
16337
16338 # type: =head1
16339 #: ../fish/guestfish.pod:787
16340 msgid "COMMANDS"
16341 msgstr ""
16342
16343 # type: =head1
16344 #: ../fish/guestfish.pod:791 ../test-tool/libguestfs-test-tool.pod:83
16345 msgid "EXIT CODE"
16346 msgstr ""
16347
16348 # type: textblock
16349 #: ../fish/guestfish.pod:793
16350 msgid ""
16351 "guestfish returns 0 if the commands completed without error, or 1 if there "
16352 "was an error."
16353 msgstr ""
16354
16355 # type: =item
16356 #: ../fish/guestfish.pod:800
16357 msgid "EDITOR"
16358 msgstr ""
16359
16360 # type: textblock
16361 #: ../fish/guestfish.pod:802
16362 msgid ""
16363 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16364 "C<vi>."
16365 msgstr ""
16366
16367 # type: =item
16368 #: ../fish/guestfish.pod:805
16369 msgid "GUESTFISH_PID"
16370 msgstr ""
16371
16372 # type: textblock
16373 #: ../fish/guestfish.pod:807
16374 msgid ""
16375 "Used with the I<--remote> option to specify the remote guestfish process to "
16376 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16377 msgstr ""
16378
16379 # type: =item
16380 #: ../fish/guestfish.pod:811
16381 msgid "HOME"
16382 msgstr ""
16383
16384 # type: textblock
16385 #: ../fish/guestfish.pod:813
16386 msgid ""
16387 "If compiled with GNU readline support, various files in the home directory "
16388 "can be used.  See L</FILES>."
16389 msgstr ""
16390
16391 # type: textblock
16392 #: ../fish/guestfish.pod:822
16393 msgid ""
16394 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16395 "effect as using the B<-v> option."
16396 msgstr ""
16397
16398 # type: textblock
16399 #: ../fish/guestfish.pod:834
16400 msgid ""
16401 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16402 "the discussion of paths in L<guestfs(3)>."
16403 msgstr ""
16404
16405 # type: textblock
16406 #: ../fish/guestfish.pod:845
16407 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16408 msgstr ""
16409
16410 # type: =item
16411 #: ../fish/guestfish.pod:847
16412 msgid "PAGER"
16413 msgstr ""
16414
16415 # type: textblock
16416 #: ../fish/guestfish.pod:849
16417 msgid ""
16418 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16419 "C<more>."
16420 msgstr ""
16421
16422 # type: =head1
16423 #: ../fish/guestfish.pod:864 ../test-tool/libguestfs-test-tool.pod:88
16424 msgid "FILES"
16425 msgstr ""
16426
16427 # type: =item
16428 #: ../fish/guestfish.pod:868
16429 msgid "$HOME/.guestfish"
16430 msgstr ""
16431
16432 # type: textblock
16433 #: ../fish/guestfish.pod:870
16434 msgid ""
16435 "If compiled with GNU readline support, then the command history is saved in "
16436 "this file."
16437 msgstr ""
16438
16439 # type: =item
16440 #: ../fish/guestfish.pod:873
16441 msgid "$HOME/.inputrc"
16442 msgstr ""
16443
16444 # type: =item
16445 #: ../fish/guestfish.pod:875
16446 msgid "/etc/inputrc"
16447 msgstr ""
16448
16449 # type: textblock
16450 #: ../fish/guestfish.pod:877
16451 msgid ""
16452 "If compiled with GNU readline support, then these files can be used to "
16453 "configure readline.  For further information, please see L<readline(3)/"
16454 "INITIALIZATION FILE>."
16455 msgstr ""
16456
16457 # type: textblock
16458 #: ../fish/guestfish.pod:881
16459 msgid "To write rules which only apply to guestfish, use:"
16460 msgstr ""
16461
16462 # type: verbatim
16463 #: ../fish/guestfish.pod:883
16464 #, no-wrap
16465 msgid ""
16466 " $if guestfish\n"
16467 " ...\n"
16468 " $endif\n"
16469 "\n"
16470 msgstr ""
16471
16472 # type: textblock
16473 #: ../fish/guestfish.pod:887
16474 msgid ""
16475 "Variables that you can set in inputrc that change the behaviour of guestfish "
16476 "in useful ways include:"
16477 msgstr ""
16478
16479 # type: =item
16480 #: ../fish/guestfish.pod:892
16481 msgid "completion-ignore-case (default: on)"
16482 msgstr ""
16483
16484 # type: textblock
16485 #: ../fish/guestfish.pod:894
16486 msgid ""
16487 "By default, guestfish will ignore case when tab-completing paths on the "
16488 "disk.  Use:"
16489 msgstr ""
16490
16491 # type: verbatim
16492 #: ../fish/guestfish.pod:897
16493 #, no-wrap
16494 msgid ""
16495 " set completion-ignore-case off\n"
16496 "\n"
16497 msgstr ""
16498
16499 # type: textblock
16500 #: ../fish/guestfish.pod:899
16501 msgid "to make guestfish case sensitive."
16502 msgstr ""
16503
16504 # type: =item
16505 #: ../fish/guestfish.pod:903
16506 msgid "test1.img"
16507 msgstr ""
16508
16509 # type: =item
16510 #: ../fish/guestfish.pod:905
16511 msgid "test2.img (etc)"
16512 msgstr ""
16513
16514 # type: textblock
16515 #: ../fish/guestfish.pod:907
16516 msgid ""
16517 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16518 "will be created in the file C<test1.img> in the current directory.  The "
16519 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16520 "the same name will be overwritten."
16521 msgstr ""
16522
16523 # type: textblock
16524 #: ../fish/guestfish.pod:916
16525 msgid ""
16526 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16527 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16528 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16529 "L<virt-tar(1)>, L<virt-win-reg(1)>."
16530 msgstr ""
16531
16532 # type: textblock
16533 #: ../fish/guestfish.pod:939 ../test-tool/libguestfs-test-tool.pod:124
16534 #: ../fuse/guestmount.pod:198 ../inspector/virt-inspector.pl:865
16535 #: ../tools/virt-cat.pl:181 ../tools/virt-df.pl:499 ../tools/virt-edit.pl:345
16536 #: ../tools/virt-list-filesystems.pl:211 ../tools/virt-list-partitions.pl:248
16537 #: ../tools/virt-ls.pl:229 ../tools/virt-make-fs.pl:560
16538 #: ../tools/virt-rescue.pl:249 ../tools/virt-resize.pl:1415
16539 #: ../tools/virt-tar.pl:276 ../tools/virt-win-reg.pl:495
16540 msgid ""
16541 "This program is free software; you can redistribute it and/or modify it "
16542 "under the terms of the GNU General Public License as published by the Free "
16543 "Software Foundation; either version 2 of the License, or (at your option) "
16544 "any later version."
16545 msgstr ""
16546
16547 # type: textblock
16548 #: ../fish/guestfish.pod:944 ../test-tool/libguestfs-test-tool.pod:129
16549 #: ../fuse/guestmount.pod:203 ../inspector/virt-inspector.pl:870
16550 #: ../tools/virt-cat.pl:186 ../tools/virt-df.pl:504 ../tools/virt-edit.pl:350
16551 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:253
16552 #: ../tools/virt-ls.pl:234 ../tools/virt-make-fs.pl:565
16553 #: ../tools/virt-rescue.pl:254 ../tools/virt-resize.pl:1420
16554 #: ../tools/virt-tar.pl:281 ../tools/virt-win-reg.pl:500
16555 msgid ""
16556 "This program is distributed in the hope that it will be useful, but WITHOUT "
16557 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16558 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16559 "more details."
16560 msgstr ""
16561
16562 # type: textblock
16563 #: ../fish/guestfish.pod:949 ../test-tool/libguestfs-test-tool.pod:134
16564 #: ../fuse/guestmount.pod:208 ../inspector/virt-inspector.pl:875
16565 #: ../tools/virt-cat.pl:191 ../tools/virt-df.pl:509 ../tools/virt-edit.pl:355
16566 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:258
16567 #: ../tools/virt-ls.pl:239 ../tools/virt-make-fs.pl:570
16568 #: ../tools/virt-rescue.pl:259 ../tools/virt-resize.pl:1425
16569 #: ../tools/virt-tar.pl:286 ../tools/virt-win-reg.pl:505
16570 msgid ""
16571 "You should have received a copy of the GNU General Public License along with "
16572 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16573 "Ave, Cambridge, MA 02139, USA."
16574 msgstr ""
16575
16576 # type: =head2
16577 #: ../fish/guestfish-actions.pod:1
16578 msgid "add-cdrom | cdrom"
16579 msgstr ""
16580
16581 # type: verbatim
16582 #: ../fish/guestfish-actions.pod:3
16583 #, no-wrap
16584 msgid ""
16585 " add-cdrom filename\n"
16586 "\n"
16587 msgstr ""
16588
16589 # type: textblock
16590 #: ../fish/guestfish-actions.pod:15
16591 msgid ""
16592 "This call checks for the existence of C<filename>.  This stops you from "
16593 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16594 "and C<http:> URLs.  To specify those, use the general L</config> call "
16595 "instead."
16596 msgstr ""
16597
16598 # type: textblock
16599 #: ../fish/guestfish-actions.pod:22
16600 msgid ""
16601 "If you just want to add an ISO file (often you use this as an efficient way "
16602 "to transfer large files into the guest), then you should probably use L</add-"
16603 "drive-ro> instead."
16604 msgstr ""
16605
16606 # type: =head2
16607 #: ../fish/guestfish-actions.pod:28
16608 msgid "add-drive | add"
16609 msgstr ""
16610
16611 # type: verbatim
16612 #: ../fish/guestfish-actions.pod:30
16613 #, no-wrap
16614 msgid ""
16615 " add-drive filename\n"
16616 "\n"
16617 msgstr ""
16618
16619 # type: textblock
16620 #: ../fish/guestfish-actions.pod:49 ../fish/guestfish-actions.pod:75
16621 msgid ""
16622 "C<if=...> is set at compile time by the configuration option C<./configure --"
16623 "with-drive-if=...>.  In the rare case where you might need to change this at "
16624 "run time, use L</add-drive-with-if> or L</add-drive-ro-with-if>."
16625 msgstr ""
16626
16627 # type: textblock
16628 #: ../fish/guestfish-actions.pod:54 ../fish/guestfish-actions.pod:80
16629 msgid ""
16630 "Note that this call checks for the existence of C<filename>.  This stops you "
16631 "from specifying other types of drive which are supported by qemu such as "
16632 "C<nbd:> and C<http:> URLs.  To specify those, use the general L</config> "
16633 "call instead."
16634 msgstr ""
16635
16636 # type: =head2
16637 #: ../fish/guestfish-actions.pod:59
16638 msgid "add-drive-ro | add-ro"
16639 msgstr ""
16640
16641 # type: verbatim
16642 #: ../fish/guestfish-actions.pod:61
16643 #, no-wrap
16644 msgid ""
16645 " add-drive-ro filename\n"
16646 "\n"
16647 msgstr ""
16648
16649 # type: =head2
16650 #: ../fish/guestfish-actions.pod:85
16651 msgid "add-drive-ro-with-if"
16652 msgstr ""
16653
16654 # type: verbatim
16655 #: ../fish/guestfish-actions.pod:87
16656 #, no-wrap
16657 msgid ""
16658 " add-drive-ro-with-if filename iface\n"
16659 "\n"
16660 msgstr ""
16661
16662 # type: textblock
16663 #: ../fish/guestfish-actions.pod:89
16664 msgid ""
16665 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
16666 "interface emulation to use at run time."
16667 msgstr ""
16668
16669 # type: =head2
16670 #: ../fish/guestfish-actions.pod:92
16671 msgid "add-drive-with-if"
16672 msgstr ""
16673
16674 # type: verbatim
16675 #: ../fish/guestfish-actions.pod:94
16676 #, no-wrap
16677 msgid ""
16678 " add-drive-with-if filename iface\n"
16679 "\n"
16680 msgstr ""
16681
16682 # type: textblock
16683 #: ../fish/guestfish-actions.pod:96
16684 msgid ""
16685 "This is the same as L</add-drive> but it allows you to specify the QEMU "
16686 "interface emulation to use at run time."
16687 msgstr ""
16688
16689 # type: =head2
16690 #: ../fish/guestfish-actions.pod:99
16691 msgid "aug-clear"
16692 msgstr ""
16693
16694 # type: verbatim
16695 #: ../fish/guestfish-actions.pod:101
16696 #, no-wrap
16697 msgid ""
16698 " aug-clear augpath\n"
16699 "\n"
16700 msgstr ""
16701
16702 # type: =head2
16703 #: ../fish/guestfish-actions.pod:106
16704 msgid "aug-close"
16705 msgstr ""
16706
16707 # type: verbatim
16708 #: ../fish/guestfish-actions.pod:108
16709 #, no-wrap
16710 msgid ""
16711 " aug-close\n"
16712 "\n"
16713 msgstr ""
16714
16715 # type: textblock
16716 #: ../fish/guestfish-actions.pod:110
16717 msgid ""
16718 "Close the current Augeas handle and free up any resources used by it.  After "
16719 "calling this, you have to call L</aug-init> again before you can use any "
16720 "other Augeas functions."
16721 msgstr ""
16722
16723 # type: =head2
16724 #: ../fish/guestfish-actions.pod:115
16725 msgid "aug-defnode"
16726 msgstr ""
16727
16728 # type: verbatim
16729 #: ../fish/guestfish-actions.pod:117
16730 #, no-wrap
16731 msgid ""
16732 " aug-defnode name expr val\n"
16733 "\n"
16734 msgstr ""
16735
16736 # type: textblock
16737 #: ../fish/guestfish-actions.pod:122
16738 msgid ""
16739 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
16740 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
16741 "containing that single node."
16742 msgstr ""
16743
16744 # type: =head2
16745 #: ../fish/guestfish-actions.pod:130
16746 msgid "aug-defvar"
16747 msgstr ""
16748
16749 # type: verbatim
16750 #: ../fish/guestfish-actions.pod:132
16751 #, no-wrap
16752 msgid ""
16753 " aug-defvar name expr\n"
16754 "\n"
16755 msgstr ""
16756
16757 # type: =head2
16758 #: ../fish/guestfish-actions.pod:141
16759 msgid "aug-get"
16760 msgstr ""
16761
16762 # type: verbatim
16763 #: ../fish/guestfish-actions.pod:143
16764 #, no-wrap
16765 msgid ""
16766 " aug-get augpath\n"
16767 "\n"
16768 msgstr ""
16769
16770 # type: =head2
16771 #: ../fish/guestfish-actions.pod:148
16772 msgid "aug-init"
16773 msgstr ""
16774
16775 # type: verbatim
16776 #: ../fish/guestfish-actions.pod:150
16777 #, no-wrap
16778 msgid ""
16779 " aug-init root flags\n"
16780 "\n"
16781 msgstr ""
16782
16783 # type: textblock
16784 #: ../fish/guestfish-actions.pod:156
16785 msgid "You must call this before using any other L</aug-*> commands."
16786 msgstr ""
16787
16788 # type: textblock
16789 #: ../fish/guestfish-actions.pod:191
16790 msgid "Do not load the tree in L</aug-init>."
16791 msgstr ""
16792
16793 # type: textblock
16794 #: ../fish/guestfish-actions.pod:195
16795 msgid "To close the handle, you can call L</aug-close>."
16796 msgstr ""
16797
16798 # type: =head2
16799 #: ../fish/guestfish-actions.pod:199
16800 msgid "aug-insert"
16801 msgstr ""
16802
16803 # type: verbatim
16804 #: ../fish/guestfish-actions.pod:201
16805 #, no-wrap
16806 msgid ""
16807 " aug-insert augpath label true|false\n"
16808 "\n"
16809 msgstr ""
16810
16811 # type: =head2
16812 #: ../fish/guestfish-actions.pod:211
16813 msgid "aug-load"
16814 msgstr ""
16815
16816 # type: verbatim
16817 #: ../fish/guestfish-actions.pod:213
16818 #, no-wrap
16819 msgid ""
16820 " aug-load\n"
16821 "\n"
16822 msgstr ""
16823
16824 # type: =head2
16825 #: ../fish/guestfish-actions.pod:220
16826 msgid "aug-ls"
16827 msgstr ""
16828
16829 # type: verbatim
16830 #: ../fish/guestfish-actions.pod:222
16831 #, no-wrap
16832 msgid ""
16833 " aug-ls augpath\n"
16834 "\n"
16835 msgstr ""
16836
16837 # type: textblock
16838 #: ../fish/guestfish-actions.pod:224
16839 msgid ""
16840 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
16841 "resulting nodes into alphabetical order."
16842 msgstr ""
16843
16844 # type: =head2
16845 #: ../fish/guestfish-actions.pod:227
16846 msgid "aug-match"
16847 msgstr ""
16848
16849 # type: verbatim
16850 #: ../fish/guestfish-actions.pod:229
16851 #, no-wrap
16852 msgid ""
16853 " aug-match augpath\n"
16854 "\n"
16855 msgstr ""
16856
16857 # type: =head2
16858 #: ../fish/guestfish-actions.pod:235
16859 msgid "aug-mv"
16860 msgstr ""
16861
16862 # type: verbatim
16863 #: ../fish/guestfish-actions.pod:237
16864 #, no-wrap
16865 msgid ""
16866 " aug-mv src dest\n"
16867 "\n"
16868 msgstr ""
16869
16870 # type: =head2
16871 #: ../fish/guestfish-actions.pod:242
16872 msgid "aug-rm"
16873 msgstr ""
16874
16875 # type: verbatim
16876 #: ../fish/guestfish-actions.pod:244
16877 #, no-wrap
16878 msgid ""
16879 " aug-rm augpath\n"
16880 "\n"
16881 msgstr ""
16882
16883 # type: =head2
16884 #: ../fish/guestfish-actions.pod:250
16885 msgid "aug-save"
16886 msgstr ""
16887
16888 # type: verbatim
16889 #: ../fish/guestfish-actions.pod:252
16890 #, no-wrap
16891 msgid ""
16892 " aug-save\n"
16893 "\n"
16894 msgstr ""
16895
16896 # type: textblock
16897 #: ../fish/guestfish-actions.pod:256
16898 msgid ""
16899 "The flags which were passed to L</aug-init> affect exactly how files are "
16900 "saved."
16901 msgstr ""
16902
16903 # type: =head2
16904 #: ../fish/guestfish-actions.pod:259
16905 msgid "aug-set"
16906 msgstr ""
16907
16908 # type: verbatim
16909 #: ../fish/guestfish-actions.pod:261
16910 #, no-wrap
16911 msgid ""
16912 " aug-set augpath val\n"
16913 "\n"
16914 msgstr ""
16915
16916 # type: textblock
16917 #: ../fish/guestfish-actions.pod:265
16918 msgid ""
16919 "In the Augeas API, it is possible to clear a node by setting the value to "
16920 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
16921 "this call.  Instead you must use the L</aug-clear> call."
16922 msgstr ""
16923
16924 # type: =head2
16925 #: ../fish/guestfish-actions.pod:270
16926 msgid "available"
16927 msgstr ""
16928
16929 # type: verbatim
16930 #: ../fish/guestfish-actions.pod:272
16931 #, no-wrap
16932 msgid ""
16933 " available 'groups ...'\n"
16934 "\n"
16935 msgstr ""
16936
16937 # type: textblock
16938 #: ../fish/guestfish-actions.pod:278
16939 msgid ""
16940 "The libguestfs groups, and the functions that those groups correspond to, "
16941 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
16942 "runtime by calling L</available-all-groups>."
16943 msgstr ""
16944
16945 # type: textblock
16946 #: ../fish/guestfish-actions.pod:302
16947 msgid "You must call L</launch> before calling this function."
16948 msgstr ""
16949
16950 # type: textblock
16951 #: ../fish/guestfish-actions.pod:324
16952 msgid ""
16953 "This call was added in version C<1.0.80>.  In previous versions of "
16954 "libguestfs all you could do would be to speculatively execute a command to "
16955 "find out if the daemon implemented it.  See also L</version>."
16956 msgstr ""
16957
16958 # type: =head2
16959 #: ../fish/guestfish-actions.pod:331
16960 msgid "available-all-groups"
16961 msgstr ""
16962
16963 # type: verbatim
16964 #: ../fish/guestfish-actions.pod:333
16965 #, no-wrap
16966 msgid ""
16967 " available-all-groups\n"
16968 "\n"
16969 msgstr ""
16970
16971 # type: textblock
16972 #: ../fish/guestfish-actions.pod:335
16973 msgid ""
16974 "This command returns a list of all optional groups that this daemon knows "
16975 "about.  Note this returns both supported and unsupported groups.  To find "
16976 "out which ones the daemon can actually support you have to call L</"
16977 "available> on each member of the returned list."
16978 msgstr ""
16979
16980 # type: textblock
16981 #: ../fish/guestfish-actions.pod:341
16982 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
16983 msgstr ""
16984
16985 # type: =head2
16986 #: ../fish/guestfish-actions.pod:343
16987 msgid "base64-in"
16988 msgstr ""
16989
16990 # type: verbatim
16991 #: ../fish/guestfish-actions.pod:345
16992 #, no-wrap
16993 msgid ""
16994 " base64-in (base64file|-) filename\n"
16995 "\n"
16996 msgstr ""
16997
16998 # type: textblock
16999 #: ../fish/guestfish-actions.pod:350 ../fish/guestfish-actions.pod:359
17000 #: ../fish/guestfish-actions.pod:583 ../fish/guestfish-actions.pod:730
17001 #: ../fish/guestfish-actions.pod:777 ../fish/guestfish-actions.pod:1154
17002 #: ../fish/guestfish-actions.pod:3752 ../fish/guestfish-actions.pod:3764
17003 #: ../fish/guestfish-actions.pod:3775 ../fish/guestfish-actions.pod:3786
17004 #: ../fish/guestfish-actions.pod:3838 ../fish/guestfish-actions.pod:3847
17005 #: ../fish/guestfish-actions.pod:3897
17006 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
17007 msgstr ""
17008
17009 # type: =head2
17010 #: ../fish/guestfish-actions.pod:352
17011 msgid "base64-out"
17012 msgstr ""
17013
17014 # type: verbatim
17015 #: ../fish/guestfish-actions.pod:354
17016 #, no-wrap
17017 msgid ""
17018 " base64-out filename (base64file|-)\n"
17019 "\n"
17020 msgstr ""
17021
17022 # type: =head2
17023 #: ../fish/guestfish-actions.pod:361
17024 msgid "blockdev-flushbufs"
17025 msgstr ""
17026
17027 # type: verbatim
17028 #: ../fish/guestfish-actions.pod:363
17029 #, no-wrap
17030 msgid ""
17031 " blockdev-flushbufs device\n"
17032 "\n"
17033 msgstr ""
17034
17035 # type: =head2
17036 #: ../fish/guestfish-actions.pod:370
17037 msgid "blockdev-getbsz"
17038 msgstr ""
17039
17040 # type: verbatim
17041 #: ../fish/guestfish-actions.pod:372
17042 #, no-wrap
17043 msgid ""
17044 " blockdev-getbsz device\n"
17045 "\n"
17046 msgstr ""
17047
17048 # type: =head2
17049 #: ../fish/guestfish-actions.pod:381
17050 msgid "blockdev-getro"
17051 msgstr ""
17052
17053 # type: verbatim
17054 #: ../fish/guestfish-actions.pod:383
17055 #, no-wrap
17056 msgid ""
17057 " blockdev-getro device\n"
17058 "\n"
17059 msgstr ""
17060
17061 # type: =head2
17062 #: ../fish/guestfish-actions.pod:390
17063 msgid "blockdev-getsize64"
17064 msgstr ""
17065
17066 # type: verbatim
17067 #: ../fish/guestfish-actions.pod:392
17068 #, no-wrap
17069 msgid ""
17070 " blockdev-getsize64 device\n"
17071 "\n"
17072 msgstr ""
17073
17074 # type: textblock
17075 #: ../fish/guestfish-actions.pod:396
17076 msgid "See also L</blockdev-getsz>."
17077 msgstr ""
17078
17079 # type: =head2
17080 #: ../fish/guestfish-actions.pod:400
17081 msgid "blockdev-getss"
17082 msgstr ""
17083
17084 # type: verbatim
17085 #: ../fish/guestfish-actions.pod:402
17086 #, no-wrap
17087 msgid ""
17088 " blockdev-getss device\n"
17089 "\n"
17090 msgstr ""
17091
17092 # type: textblock
17093 #: ../fish/guestfish-actions.pod:407
17094 msgid ""
17095 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
17096 msgstr ""
17097
17098 # type: =head2
17099 #: ../fish/guestfish-actions.pod:412
17100 msgid "blockdev-getsz"
17101 msgstr ""
17102
17103 # type: verbatim
17104 #: ../fish/guestfish-actions.pod:414
17105 #, no-wrap
17106 msgid ""
17107 " blockdev-getsz device\n"
17108 "\n"
17109 msgstr ""
17110
17111 # type: textblock
17112 #: ../fish/guestfish-actions.pod:419
17113 msgid ""
17114 "See also L</blockdev-getss> for the real sector size of the device, and L</"
17115 "blockdev-getsize64> for the more useful I<size in bytes>."
17116 msgstr ""
17117
17118 # type: =head2
17119 #: ../fish/guestfish-actions.pod:425
17120 msgid "blockdev-rereadpt"
17121 msgstr ""
17122
17123 # type: verbatim
17124 #: ../fish/guestfish-actions.pod:427
17125 #, no-wrap
17126 msgid ""
17127 " blockdev-rereadpt device\n"
17128 "\n"
17129 msgstr ""
17130
17131 # type: =head2
17132 #: ../fish/guestfish-actions.pod:433
17133 msgid "blockdev-setbsz"
17134 msgstr ""
17135
17136 # type: verbatim
17137 #: ../fish/guestfish-actions.pod:435
17138 #, no-wrap
17139 msgid ""
17140 " blockdev-setbsz device blocksize\n"
17141 "\n"
17142 msgstr ""
17143
17144 # type: =head2
17145 #: ../fish/guestfish-actions.pod:444
17146 msgid "blockdev-setro"
17147 msgstr ""
17148
17149 # type: verbatim
17150 #: ../fish/guestfish-actions.pod:446
17151 #, no-wrap
17152 msgid ""
17153 " blockdev-setro device\n"
17154 "\n"
17155 msgstr ""
17156
17157 # type: =head2
17158 #: ../fish/guestfish-actions.pod:452
17159 msgid "blockdev-setrw"
17160 msgstr ""
17161
17162 # type: verbatim
17163 #: ../fish/guestfish-actions.pod:454
17164 #, no-wrap
17165 msgid ""
17166 " blockdev-setrw device\n"
17167 "\n"
17168 msgstr ""
17169
17170 # type: =head2
17171 #: ../fish/guestfish-actions.pod:460
17172 msgid "case-sensitive-path"
17173 msgstr ""
17174
17175 # type: verbatim
17176 #: ../fish/guestfish-actions.pod:462
17177 #, no-wrap
17178 msgid ""
17179 " case-sensitive-path path\n"
17180 "\n"
17181 msgstr ""
17182
17183 # type: textblock
17184 #: ../fish/guestfish-actions.pod:486
17185 msgid ""
17186 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
17187 "WINDOWS/system32\"> (the exact return value would depend on details of how "
17188 "the directories were originally created under Windows)."
17189 msgstr ""
17190
17191 # type: textblock
17192 #: ../fish/guestfish-actions.pod:494
17193 msgid "See also L</realpath>."
17194 msgstr ""
17195
17196 # type: =head2
17197 #: ../fish/guestfish-actions.pod:496
17198 msgid "cat"
17199 msgstr ""
17200
17201 # type: verbatim
17202 #: ../fish/guestfish-actions.pod:498
17203 #, no-wrap
17204 msgid ""
17205 " cat path\n"
17206 "\n"
17207 msgstr ""
17208
17209 # type: textblock
17210 #: ../fish/guestfish-actions.pod:502
17211 msgid ""
17212 "Note that this function cannot correctly handle binary files (specifically, "
17213 "files containing C<\\0> character which is treated as end of string).  For "
17214 "those you need to use the L</read-file> or L</download> functions which have "
17215 "a more complex interface."
17216 msgstr ""
17217
17218 # type: =head2
17219 #: ../fish/guestfish-actions.pod:510
17220 msgid "checksum"
17221 msgstr ""
17222
17223 # type: verbatim
17224 #: ../fish/guestfish-actions.pod:512
17225 #, no-wrap
17226 msgid ""
17227 " checksum csumtype path\n"
17228 "\n"
17229 msgstr ""
17230
17231 # type: textblock
17232 #: ../fish/guestfish-actions.pod:555
17233 msgid "To get the checksum for a device, use L</checksum-device>."
17234 msgstr ""
17235
17236 # type: textblock
17237 #: ../fish/guestfish-actions.pod:557
17238 msgid "To get the checksums for many files, use L</checksums-out>."
17239 msgstr ""
17240
17241 # type: =head2
17242 #: ../fish/guestfish-actions.pod:559
17243 msgid "checksum-device"
17244 msgstr ""
17245
17246 # type: verbatim
17247 #: ../fish/guestfish-actions.pod:561
17248 #, no-wrap
17249 msgid ""
17250 " checksum-device csumtype device\n"
17251 "\n"
17252 msgstr ""
17253
17254 # type: textblock
17255 #: ../fish/guestfish-actions.pod:563
17256 msgid ""
17257 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17258 "device named C<device>.  For the types of checksums supported see the L</"
17259 "checksum> command."
17260 msgstr ""
17261
17262 # type: =head2
17263 #: ../fish/guestfish-actions.pod:567
17264 msgid "checksums-out"
17265 msgstr ""
17266
17267 # type: verbatim
17268 #: ../fish/guestfish-actions.pod:569
17269 #, no-wrap
17270 msgid ""
17271 " checksums-out csumtype directory (sumsfile|-)\n"
17272 "\n"
17273 msgstr ""
17274
17275 # type: =head2
17276 #: ../fish/guestfish-actions.pod:585
17277 msgid "chmod"
17278 msgstr ""
17279
17280 # type: verbatim
17281 #: ../fish/guestfish-actions.pod:587
17282 #, no-wrap
17283 msgid ""
17284 " chmod mode path\n"
17285 "\n"
17286 msgstr ""
17287
17288 # type: =head2
17289 #: ../fish/guestfish-actions.pod:598
17290 msgid "chown"
17291 msgstr ""
17292
17293 # type: verbatim
17294 #: ../fish/guestfish-actions.pod:600
17295 #, no-wrap
17296 msgid ""
17297 " chown owner group path\n"
17298 "\n"
17299 msgstr ""
17300
17301 # type: =head2
17302 #: ../fish/guestfish-actions.pod:608
17303 msgid "command"
17304 msgstr ""
17305
17306 # type: verbatim
17307 #: ../fish/guestfish-actions.pod:610
17308 #, no-wrap
17309 msgid ""
17310 " command 'arguments ...'\n"
17311 "\n"
17312 msgstr ""
17313
17314 # type: textblock
17315 #: ../fish/guestfish-actions.pod:617
17316 msgid ""
17317 "The single parameter is an argv-style list of arguments.  The first element "
17318 "is the name of the program to run.  Subsequent elements are parameters.  The "
17319 "list must be non-empty (ie. must contain a program name).  Note that the "
17320 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
17321 msgstr ""
17322
17323 # type: =head2
17324 #: ../fish/guestfish-actions.pod:645
17325 msgid "command-lines"
17326 msgstr ""
17327
17328 # type: verbatim
17329 #: ../fish/guestfish-actions.pod:647
17330 #, no-wrap
17331 msgid ""
17332 " command-lines 'arguments ...'\n"
17333 "\n"
17334 msgstr ""
17335
17336 # type: textblock
17337 #: ../fish/guestfish-actions.pod:649
17338 msgid ""
17339 "This is the same as L</command>, but splits the result into a list of lines."
17340 msgstr ""
17341
17342 # type: textblock
17343 #: ../fish/guestfish-actions.pod:652
17344 msgid "See also: L</sh-lines>"
17345 msgstr ""
17346
17347 # type: =head2
17348 #: ../fish/guestfish-actions.pod:657
17349 msgid "config"
17350 msgstr ""
17351
17352 # type: verbatim
17353 #: ../fish/guestfish-actions.pod:659
17354 #, no-wrap
17355 msgid ""
17356 " config qemuparam qemuvalue\n"
17357 "\n"
17358 msgstr ""
17359
17360 # type: =head2
17361 #: ../fish/guestfish-actions.pod:670
17362 msgid "copy-size"
17363 msgstr ""
17364
17365 # type: verbatim
17366 #: ../fish/guestfish-actions.pod:672
17367 #, no-wrap
17368 msgid ""
17369 " copy-size src dest size\n"
17370 "\n"
17371 msgstr ""
17372
17373 # type: =head2
17374 #: ../fish/guestfish-actions.pod:680
17375 msgid "cp"
17376 msgstr ""
17377
17378 # type: verbatim
17379 #: ../fish/guestfish-actions.pod:682
17380 #, no-wrap
17381 msgid ""
17382 " cp src dest\n"
17383 "\n"
17384 msgstr ""
17385
17386 # type: =head2
17387 #: ../fish/guestfish-actions.pod:687
17388 msgid "cp-a"
17389 msgstr ""
17390
17391 # type: verbatim
17392 #: ../fish/guestfish-actions.pod:689
17393 #, no-wrap
17394 msgid ""
17395 " cp-a src dest\n"
17396 "\n"
17397 msgstr ""
17398
17399 # type: =head2
17400 #: ../fish/guestfish-actions.pod:694
17401 msgid "dd"
17402 msgstr ""
17403
17404 # type: verbatim
17405 #: ../fish/guestfish-actions.pod:696
17406 #, no-wrap
17407 msgid ""
17408 " dd src dest\n"
17409 "\n"
17410 msgstr ""
17411
17412 # type: textblock
17413 #: ../fish/guestfish-actions.pod:703
17414 msgid ""
17415 "If the destination is a device, it must be as large or larger than the "
17416 "source file or device, otherwise the copy will fail.  This command cannot do "
17417 "partial copies (see L</copy-size>)."
17418 msgstr ""
17419
17420 # type: =head2
17421 #: ../fish/guestfish-actions.pod:707
17422 msgid "debug"
17423 msgstr ""
17424
17425 # type: verbatim
17426 #: ../fish/guestfish-actions.pod:709
17427 #, no-wrap
17428 msgid ""
17429 " debug subcmd 'extraargs ...'\n"
17430 "\n"
17431 msgstr ""
17432
17433 # type: textblock
17434 #: ../fish/guestfish-actions.pod:711
17435 msgid ""
17436 "The L</debug> command exposes some internals of C<guestfsd> (the guestfs "
17437 "daemon) that runs inside the qemu subprocess."
17438 msgstr ""
17439
17440 # type: =head2
17441 #: ../fish/guestfish-actions.pod:719
17442 msgid "debug-upload"
17443 msgstr ""
17444
17445 # type: verbatim
17446 #: ../fish/guestfish-actions.pod:721
17447 #, no-wrap
17448 msgid ""
17449 " debug-upload (filename|-) tmpname mode\n"
17450 "\n"
17451 msgstr ""
17452
17453 # type: textblock
17454 #: ../fish/guestfish-actions.pod:723
17455 msgid ""
17456 "The L</debug-upload> command uploads a file to the libguestfs appliance."
17457 msgstr ""
17458
17459 # type: =head2
17460 #: ../fish/guestfish-actions.pod:732
17461 msgid "df"
17462 msgstr ""
17463
17464 # type: verbatim
17465 #: ../fish/guestfish-actions.pod:734
17466 #, no-wrap
17467 msgid ""
17468 " df\n"
17469 "\n"
17470 msgstr ""
17471
17472 # type: =head2
17473 #: ../fish/guestfish-actions.pod:742
17474 msgid "df-h"
17475 msgstr ""
17476
17477 # type: verbatim
17478 #: ../fish/guestfish-actions.pod:744
17479 #, no-wrap
17480 msgid ""
17481 " df-h\n"
17482 "\n"
17483 msgstr ""
17484
17485 # type: =head2
17486 #: ../fish/guestfish-actions.pod:753
17487 msgid "dmesg"
17488 msgstr ""
17489
17490 # type: verbatim
17491 #: ../fish/guestfish-actions.pod:755
17492 #, no-wrap
17493 msgid ""
17494 " dmesg\n"
17495 "\n"
17496 msgstr ""
17497
17498 # type: textblock
17499 #: ../fish/guestfish-actions.pod:761
17500 msgid ""
17501 "Another way to get the same information is to enable verbose messages with "
17502 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17503 "before running the program."
17504 msgstr ""
17505
17506 # type: =head2
17507 #: ../fish/guestfish-actions.pod:766
17508 msgid "download"
17509 msgstr ""
17510
17511 # type: verbatim
17512 #: ../fish/guestfish-actions.pod:768
17513 #, no-wrap
17514 msgid ""
17515 " download remotefilename (filename|-)\n"
17516 "\n"
17517 msgstr ""
17518
17519 # type: textblock
17520 #: ../fish/guestfish-actions.pod:775
17521 msgid "See also L</upload>, L</cat>."
17522 msgstr ""
17523
17524 # type: =head2
17525 #: ../fish/guestfish-actions.pod:779
17526 msgid "drop-caches"
17527 msgstr ""
17528
17529 # type: verbatim
17530 #: ../fish/guestfish-actions.pod:781
17531 #, no-wrap
17532 msgid ""
17533 " drop-caches whattodrop\n"
17534 "\n"
17535 msgstr ""
17536
17537 # type: =head2
17538 #: ../fish/guestfish-actions.pod:793
17539 msgid "du"
17540 msgstr ""
17541
17542 # type: verbatim
17543 #: ../fish/guestfish-actions.pod:795
17544 #, no-wrap
17545 msgid ""
17546 " du path\n"
17547 "\n"
17548 msgstr ""
17549
17550 # type: =head2
17551 #: ../fish/guestfish-actions.pod:807
17552 msgid "e2fsck-f"
17553 msgstr ""
17554
17555 # type: verbatim
17556 #: ../fish/guestfish-actions.pod:809
17557 #, no-wrap
17558 msgid ""
17559 " e2fsck-f device\n"
17560 "\n"
17561 msgstr ""
17562
17563 # type: textblock
17564 #: ../fish/guestfish-actions.pod:815
17565 msgid ""
17566 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
17567 "should use L</fsck>."
17568 msgstr ""
17569
17570 # type: =head2
17571 #: ../fish/guestfish-actions.pod:818
17572 msgid "echo-daemon"
17573 msgstr ""
17574
17575 # type: verbatim
17576 #: ../fish/guestfish-actions.pod:820
17577 #, no-wrap
17578 msgid ""
17579 " echo-daemon 'words ...'\n"
17580 "\n"
17581 msgstr ""
17582
17583 # type: textblock
17584 #: ../fish/guestfish-actions.pod:827
17585 msgid "See also L</ping-daemon>."
17586 msgstr ""
17587
17588 # type: =head2
17589 #: ../fish/guestfish-actions.pod:829
17590 msgid "egrep"
17591 msgstr ""
17592
17593 # type: verbatim
17594 #: ../fish/guestfish-actions.pod:831
17595 #, no-wrap
17596 msgid ""
17597 " egrep regex path\n"
17598 "\n"
17599 msgstr ""
17600
17601 # type: =head2
17602 #: ../fish/guestfish-actions.pod:839
17603 msgid "egrepi"
17604 msgstr ""
17605
17606 # type: verbatim
17607 #: ../fish/guestfish-actions.pod:841
17608 #, no-wrap
17609 msgid ""
17610 " egrepi regex path\n"
17611 "\n"
17612 msgstr ""
17613
17614 # type: =head2
17615 #: ../fish/guestfish-actions.pod:849
17616 msgid "equal"
17617 msgstr ""
17618
17619 # type: verbatim
17620 #: ../fish/guestfish-actions.pod:851
17621 #, no-wrap
17622 msgid ""
17623 " equal file1 file2\n"
17624 "\n"
17625 msgstr ""
17626
17627 # type: =head2
17628 #: ../fish/guestfish-actions.pod:858
17629 msgid "exists"
17630 msgstr ""
17631
17632 # type: verbatim
17633 #: ../fish/guestfish-actions.pod:860
17634 #, no-wrap
17635 msgid ""
17636 " exists path\n"
17637 "\n"
17638 msgstr ""
17639
17640 # type: textblock
17641 #: ../fish/guestfish-actions.pod:865
17642 msgid "See also L</is-file>, L</is-dir>, L</stat>."
17643 msgstr ""
17644
17645 # type: =head2
17646 #: ../fish/guestfish-actions.pod:867
17647 msgid "fallocate"
17648 msgstr ""
17649
17650 # type: verbatim
17651 #: ../fish/guestfish-actions.pod:869
17652 #, no-wrap
17653 msgid ""
17654 " fallocate path len\n"
17655 "\n"
17656 msgstr ""
17657
17658 # type: =head2
17659 #: ../fish/guestfish-actions.pod:886
17660 msgid "fallocate64"
17661 msgstr ""
17662
17663 # type: verbatim
17664 #: ../fish/guestfish-actions.pod:888
17665 #, no-wrap
17666 msgid ""
17667 " fallocate64 path len\n"
17668 "\n"
17669 msgstr ""
17670
17671 # type: textblock
17672 #: ../fish/guestfish-actions.pod:894
17673 msgid ""
17674 "Note that this call allocates disk blocks for the file.  To create a sparse "
17675 "file use L</truncate-size> instead."
17676 msgstr ""
17677
17678 # type: textblock
17679 #: ../fish/guestfish-actions.pod:897
17680 msgid ""
17681 "The deprecated call L</fallocate> does the same, but owing to an oversight "
17682 "it only allowed 30 bit lengths to be specified, effectively limiting the "
17683 "maximum size of files created through that call to 1GB."
17684 msgstr ""
17685
17686 # type: =head2
17687 #: ../fish/guestfish-actions.pod:906
17688 msgid "fgrep"
17689 msgstr ""
17690
17691 # type: verbatim
17692 #: ../fish/guestfish-actions.pod:908
17693 #, no-wrap
17694 msgid ""
17695 " fgrep pattern path\n"
17696 "\n"
17697 msgstr ""
17698
17699 # type: =head2
17700 #: ../fish/guestfish-actions.pod:916
17701 msgid "fgrepi"
17702 msgstr ""
17703
17704 # type: verbatim
17705 #: ../fish/guestfish-actions.pod:918
17706 #, no-wrap
17707 msgid ""
17708 " fgrepi pattern path\n"
17709 "\n"
17710 msgstr ""
17711
17712 # type: =head2
17713 #: ../fish/guestfish-actions.pod:926
17714 msgid "file"
17715 msgstr ""
17716
17717 # type: verbatim
17718 #: ../fish/guestfish-actions.pod:928
17719 #, no-wrap
17720 msgid ""
17721 " file path\n"
17722 "\n"
17723 msgstr ""
17724
17725 # type: textblock
17726 #: ../fish/guestfish-actions.pod:940
17727 msgid ""
17728 "This command can also be used on C</dev/> devices (and partitions, LV "
17729 "names).  You can for example use this to determine if a device contains a "
17730 "filesystem, although it's usually better to use L</vfs-type>."
17731 msgstr ""
17732
17733 # type: =head2
17734 #: ../fish/guestfish-actions.pod:950
17735 msgid "file-architecture"
17736 msgstr ""
17737
17738 # type: verbatim
17739 #: ../fish/guestfish-actions.pod:952
17740 #, no-wrap
17741 msgid ""
17742 " file-architecture filename\n"
17743 "\n"
17744 msgstr ""
17745
17746 # type: =head2
17747 #: ../fish/guestfish-actions.pod:1055
17748 msgid "filesize"
17749 msgstr ""
17750
17751 # type: verbatim
17752 #: ../fish/guestfish-actions.pod:1057
17753 #, no-wrap
17754 msgid ""
17755 " filesize file\n"
17756 "\n"
17757 msgstr ""
17758
17759 # type: textblock
17760 #: ../fish/guestfish-actions.pod:1061
17761 msgid ""
17762 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
17763 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
17764 msgstr ""
17765
17766 # type: =head2
17767 #: ../fish/guestfish-actions.pod:1065
17768 msgid "fill"
17769 msgstr ""
17770
17771 # type: verbatim
17772 #: ../fish/guestfish-actions.pod:1067
17773 #, no-wrap
17774 msgid ""
17775 " fill c len path\n"
17776 "\n"
17777 msgstr ""
17778
17779 # type: textblock
17780 #: ../fish/guestfish-actions.pod:1073
17781 msgid ""
17782 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
17783 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
17784 "L</fill-pattern>."
17785 msgstr ""
17786
17787 # type: =head2
17788 #: ../fish/guestfish-actions.pod:1078
17789 msgid "fill-pattern"
17790 msgstr ""
17791
17792 # type: verbatim
17793 #: ../fish/guestfish-actions.pod:1080
17794 #, no-wrap
17795 msgid ""
17796 " fill-pattern pattern len path\n"
17797 "\n"
17798 msgstr ""
17799
17800 # type: textblock
17801 #: ../fish/guestfish-actions.pod:1082
17802 msgid ""
17803 "This function is like L</fill> except that it creates a new file of length "
17804 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
17805 "is truncated if necessary to ensure the length of the file is exactly C<len> "
17806 "bytes."
17807 msgstr ""
17808
17809 # type: =head2
17810 #: ../fish/guestfish-actions.pod:1087
17811 msgid "find"
17812 msgstr ""
17813
17814 # type: verbatim
17815 #: ../fish/guestfish-actions.pod:1089
17816 #, no-wrap
17817 msgid ""
17818 " find directory\n"
17819 "\n"
17820 msgstr ""
17821
17822 # type: textblock
17823 #: ../fish/guestfish-actions.pod:1103
17824 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
17825 msgstr ""
17826
17827 # type: textblock
17828 #: ../fish/guestfish-actions.pod:1116
17829 msgid "See also L</find0>."
17830 msgstr ""
17831
17832 # type: =head2
17833 #: ../fish/guestfish-actions.pod:1121
17834 msgid "find0"
17835 msgstr ""
17836
17837 # type: verbatim
17838 #: ../fish/guestfish-actions.pod:1123
17839 #, no-wrap
17840 msgid ""
17841 " find0 directory (files|-)\n"
17842 "\n"
17843 msgstr ""
17844
17845 # type: textblock
17846 #: ../fish/guestfish-actions.pod:1129
17847 msgid ""
17848 "This command works the same way as L</find> with the following exceptions:"
17849 msgstr ""
17850
17851 # type: =head2
17852 #: ../fish/guestfish-actions.pod:1156
17853 msgid "findfs-label"
17854 msgstr ""
17855
17856 # type: verbatim
17857 #: ../fish/guestfish-actions.pod:1158
17858 #, no-wrap
17859 msgid ""
17860 " findfs-label label\n"
17861 "\n"
17862 msgstr ""
17863
17864 # type: textblock
17865 #: ../fish/guestfish-actions.pod:1164
17866 msgid "To find the label of a filesystem, use L</vfs-label>."
17867 msgstr ""
17868
17869 # type: =head2
17870 #: ../fish/guestfish-actions.pod:1166
17871 msgid "findfs-uuid"
17872 msgstr ""
17873
17874 # type: verbatim
17875 #: ../fish/guestfish-actions.pod:1168
17876 #, no-wrap
17877 msgid ""
17878 " findfs-uuid uuid\n"
17879 "\n"
17880 msgstr ""
17881
17882 # type: textblock
17883 #: ../fish/guestfish-actions.pod:1174
17884 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
17885 msgstr ""
17886
17887 # type: =head2
17888 #: ../fish/guestfish-actions.pod:1176
17889 msgid "fsck"
17890 msgstr ""
17891
17892 # type: verbatim
17893 #: ../fish/guestfish-actions.pod:1178
17894 #, no-wrap
17895 msgid ""
17896 " fsck fstype device\n"
17897 "\n"
17898 msgstr ""
17899
17900 # type: =head2
17901 #: ../fish/guestfish-actions.pod:1208
17902 msgid "get-append"
17903 msgstr ""
17904
17905 # type: verbatim
17906 #: ../fish/guestfish-actions.pod:1210
17907 #, no-wrap
17908 msgid ""
17909 " get-append\n"
17910 "\n"
17911 msgstr ""
17912
17913 # type: =head2
17914 #: ../fish/guestfish-actions.pod:1217
17915 msgid "get-autosync"
17916 msgstr ""
17917
17918 # type: verbatim
17919 #: ../fish/guestfish-actions.pod:1219
17920 #, no-wrap
17921 msgid ""
17922 " get-autosync\n"
17923 "\n"
17924 msgstr ""
17925
17926 # type: =head2
17927 #: ../fish/guestfish-actions.pod:1223
17928 msgid "get-direct"
17929 msgstr ""
17930
17931 # type: verbatim
17932 #: ../fish/guestfish-actions.pod:1225
17933 #, no-wrap
17934 msgid ""
17935 " get-direct\n"
17936 "\n"
17937 msgstr ""
17938
17939 # type: =head2
17940 #: ../fish/guestfish-actions.pod:1229
17941 msgid "get-e2label"
17942 msgstr ""
17943
17944 # type: verbatim
17945 #: ../fish/guestfish-actions.pod:1231
17946 #, no-wrap
17947 msgid ""
17948 " get-e2label device\n"
17949 "\n"
17950 msgstr ""
17951
17952 # type: =head2
17953 #: ../fish/guestfish-actions.pod:1243
17954 msgid "get-e2uuid"
17955 msgstr ""
17956
17957 # type: verbatim
17958 #: ../fish/guestfish-actions.pod:1245
17959 #, no-wrap
17960 msgid ""
17961 " get-e2uuid device\n"
17962 "\n"
17963 msgstr ""
17964
17965 # type: =head2
17966 #: ../fish/guestfish-actions.pod:1257
17967 msgid "get-memsize"
17968 msgstr ""
17969
17970 # type: verbatim
17971 #: ../fish/guestfish-actions.pod:1259
17972 #, no-wrap
17973 msgid ""
17974 " get-memsize\n"
17975 "\n"
17976 msgstr ""
17977
17978 # type: textblock
17979 #: ../fish/guestfish-actions.pod:1264
17980 msgid ""
17981 "If L</set-memsize> was not called on this handle, and if "
17982 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
17983 "value for memsize."
17984 msgstr ""
17985
17986 # type: =head2
17987 #: ../fish/guestfish-actions.pod:1271
17988 msgid "get-network"
17989 msgstr ""
17990
17991 # type: verbatim
17992 #: ../fish/guestfish-actions.pod:1273
17993 #, no-wrap
17994 msgid ""
17995 " get-network\n"
17996 "\n"
17997 msgstr ""
17998
17999 # type: =head2
18000 #: ../fish/guestfish-actions.pod:1277
18001 msgid "get-path"
18002 msgstr ""
18003
18004 # type: verbatim
18005 #: ../fish/guestfish-actions.pod:1279
18006 #, no-wrap
18007 msgid ""
18008 " get-path\n"
18009 "\n"
18010 msgstr ""
18011
18012 # type: =head2
18013 #: ../fish/guestfish-actions.pod:1286
18014 msgid "get-pid | pid"
18015 msgstr ""
18016
18017 # type: verbatim
18018 #: ../fish/guestfish-actions.pod:1288
18019 #, no-wrap
18020 msgid ""
18021 " get-pid\n"
18022 "\n"
18023 msgstr ""
18024
18025 # type: =head2
18026 #: ../fish/guestfish-actions.pod:1295
18027 msgid "get-qemu"
18028 msgstr ""
18029
18030 # type: verbatim
18031 #: ../fish/guestfish-actions.pod:1297
18032 #, no-wrap
18033 msgid ""
18034 " get-qemu\n"
18035 "\n"
18036 msgstr ""
18037
18038 # type: =head2
18039 #: ../fish/guestfish-actions.pod:1304
18040 msgid "get-recovery-proc"
18041 msgstr ""
18042
18043 # type: verbatim
18044 #: ../fish/guestfish-actions.pod:1306
18045 #, no-wrap
18046 msgid ""
18047 " get-recovery-proc\n"
18048 "\n"
18049 msgstr ""
18050
18051 # type: =head2
18052 #: ../fish/guestfish-actions.pod:1310
18053 msgid "get-selinux"
18054 msgstr ""
18055
18056 # type: verbatim
18057 #: ../fish/guestfish-actions.pod:1312
18058 #, no-wrap
18059 msgid ""
18060 " get-selinux\n"
18061 "\n"
18062 msgstr ""
18063
18064 # type: textblock
18065 #: ../fish/guestfish-actions.pod:1314
18066 msgid ""
18067 "This returns the current setting of the selinux flag which is passed to the "
18068 "appliance at boot time.  See L</set-selinux>."
18069 msgstr ""
18070
18071 # type: =head2
18072 #: ../fish/guestfish-actions.pod:1320
18073 msgid "get-state"
18074 msgstr ""
18075
18076 # type: verbatim
18077 #: ../fish/guestfish-actions.pod:1322
18078 #, no-wrap
18079 msgid ""
18080 " get-state\n"
18081 "\n"
18082 msgstr ""
18083
18084 # type: =head2
18085 #: ../fish/guestfish-actions.pod:1329
18086 msgid "get-trace"
18087 msgstr ""
18088
18089 # type: verbatim
18090 #: ../fish/guestfish-actions.pod:1331
18091 #, no-wrap
18092 msgid ""
18093 " get-trace\n"
18094 "\n"
18095 msgstr ""
18096
18097 # type: =head2
18098 #: ../fish/guestfish-actions.pod:1335
18099 msgid "get-umask"
18100 msgstr ""
18101
18102 # type: verbatim
18103 #: ../fish/guestfish-actions.pod:1337
18104 #, no-wrap
18105 msgid ""
18106 " get-umask\n"
18107 "\n"
18108 msgstr ""
18109
18110 # type: textblock
18111 #: ../fish/guestfish-actions.pod:1339
18112 msgid ""
18113 "Return the current umask.  By default the umask is C<022> unless it has been "
18114 "set by calling L</umask>."
18115 msgstr ""
18116
18117 # type: =head2
18118 #: ../fish/guestfish-actions.pod:1342
18119 msgid "get-verbose"
18120 msgstr ""
18121
18122 # type: verbatim
18123 #: ../fish/guestfish-actions.pod:1344
18124 #, no-wrap
18125 msgid ""
18126 " get-verbose\n"
18127 "\n"
18128 msgstr ""
18129
18130 # type: =head2
18131 #: ../fish/guestfish-actions.pod:1348
18132 msgid "getcon"
18133 msgstr ""
18134
18135 # type: verbatim
18136 #: ../fish/guestfish-actions.pod:1350
18137 #, no-wrap
18138 msgid ""
18139 " getcon\n"
18140 "\n"
18141 msgstr ""
18142
18143 # type: textblock
18144 #: ../fish/guestfish-actions.pod:1354
18145 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
18146 msgstr ""
18147
18148 # type: =head2
18149 #: ../fish/guestfish-actions.pod:1357
18150 msgid "getxattrs"
18151 msgstr ""
18152
18153 # type: verbatim
18154 #: ../fish/guestfish-actions.pod:1359
18155 #, no-wrap
18156 msgid ""
18157 " getxattrs path\n"
18158 "\n"
18159 msgstr ""
18160
18161 # type: textblock
18162 #: ../fish/guestfish-actions.pod:1367
18163 msgid "See also: L</lgetxattrs>, L<attr(5)>."
18164 msgstr ""
18165
18166 # type: =head2
18167 #: ../fish/guestfish-actions.pod:1369
18168 msgid "glob-expand"
18169 msgstr ""
18170
18171 # type: verbatim
18172 #: ../fish/guestfish-actions.pod:1371
18173 #, no-wrap
18174 msgid ""
18175 " glob-expand pattern\n"
18176 "\n"
18177 msgstr ""
18178
18179 # type: =head2
18180 #: ../fish/guestfish-actions.pod:1384
18181 msgid "grep"
18182 msgstr ""
18183
18184 # type: verbatim
18185 #: ../fish/guestfish-actions.pod:1386
18186 #, no-wrap
18187 msgid ""
18188 " grep regex path\n"
18189 "\n"
18190 msgstr ""
18191
18192 # type: =head2
18193 #: ../fish/guestfish-actions.pod:1394
18194 msgid "grepi"
18195 msgstr ""
18196
18197 # type: verbatim
18198 #: ../fish/guestfish-actions.pod:1396
18199 #, no-wrap
18200 msgid ""
18201 " grepi regex path\n"
18202 "\n"
18203 msgstr ""
18204
18205 # type: =head2
18206 #: ../fish/guestfish-actions.pod:1404
18207 msgid "grub-install"
18208 msgstr ""
18209
18210 # type: verbatim
18211 #: ../fish/guestfish-actions.pod:1406
18212 #, no-wrap
18213 msgid ""
18214 " grub-install root device\n"
18215 "\n"
18216 msgstr ""
18217
18218 # type: =head2
18219 #: ../fish/guestfish-actions.pod:1422
18220 msgid "head"
18221 msgstr ""
18222
18223 # type: verbatim
18224 #: ../fish/guestfish-actions.pod:1424
18225 #, no-wrap
18226 msgid ""
18227 " head path\n"
18228 "\n"
18229 msgstr ""
18230
18231 # type: =head2
18232 #: ../fish/guestfish-actions.pod:1432
18233 msgid "head-n"
18234 msgstr ""
18235
18236 # type: verbatim
18237 #: ../fish/guestfish-actions.pod:1434
18238 #, no-wrap
18239 msgid ""
18240 " head-n nrlines path\n"
18241 "\n"
18242 msgstr ""
18243
18244 # type: =head2
18245 #: ../fish/guestfish-actions.pod:1447
18246 msgid "hexdump"
18247 msgstr ""
18248
18249 # type: verbatim
18250 #: ../fish/guestfish-actions.pod:1449
18251 #, no-wrap
18252 msgid ""
18253 " hexdump path\n"
18254 "\n"
18255 msgstr ""
18256
18257 # type: =head2
18258 #: ../fish/guestfish-actions.pod:1457
18259 msgid "initrd-cat"
18260 msgstr ""
18261
18262 # type: verbatim
18263 #: ../fish/guestfish-actions.pod:1459
18264 #, no-wrap
18265 msgid ""
18266 " initrd-cat initrdpath filename\n"
18267 "\n"
18268 msgstr ""
18269
18270 # type: textblock
18271 #: ../fish/guestfish-actions.pod:1471
18272 msgid "See also L</initrd-list>."
18273 msgstr ""
18274
18275 # type: =head2
18276 #: ../fish/guestfish-actions.pod:1476
18277 msgid "initrd-list"
18278 msgstr ""
18279
18280 # type: verbatim
18281 #: ../fish/guestfish-actions.pod:1478
18282 #, no-wrap
18283 msgid ""
18284 " initrd-list path\n"
18285 "\n"
18286 msgstr ""
18287
18288 # type: =head2
18289 #: ../fish/guestfish-actions.pod:1490
18290 msgid "inotify-add-watch"
18291 msgstr ""
18292
18293 # type: verbatim
18294 #: ../fish/guestfish-actions.pod:1492
18295 #, no-wrap
18296 msgid ""
18297 " inotify-add-watch path mask\n"
18298 "\n"
18299 msgstr ""
18300
18301 # type: =head2
18302 #: ../fish/guestfish-actions.pod:1504
18303 msgid "inotify-close"
18304 msgstr ""
18305
18306 # type: verbatim
18307 #: ../fish/guestfish-actions.pod:1506
18308 #, no-wrap
18309 msgid ""
18310 " inotify-close\n"
18311 "\n"
18312 msgstr ""
18313
18314 # type: =head2
18315 #: ../fish/guestfish-actions.pod:1512
18316 msgid "inotify-files"
18317 msgstr ""
18318
18319 # type: verbatim
18320 #: ../fish/guestfish-actions.pod:1514
18321 #, no-wrap
18322 msgid ""
18323 " inotify-files\n"
18324 "\n"
18325 msgstr ""
18326
18327 # type: textblock
18328 #: ../fish/guestfish-actions.pod:1516
18329 msgid ""
18330 "This function is a helpful wrapper around L</inotify-read> which just "
18331 "returns a list of pathnames of objects that were touched.  The returned "
18332 "pathnames are sorted and deduplicated."
18333 msgstr ""
18334
18335 # type: =head2
18336 #: ../fish/guestfish-actions.pod:1520
18337 msgid "inotify-init"
18338 msgstr ""
18339
18340 # type: verbatim
18341 #: ../fish/guestfish-actions.pod:1522
18342 #, no-wrap
18343 msgid ""
18344 " inotify-init maxevents\n"
18345 "\n"
18346 msgstr ""
18347
18348 # type: textblock
18349 #: ../fish/guestfish-actions.pod:1528
18350 msgid ""
18351 "C<maxevents> is the maximum number of events which will be queued up between "
18352 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
18353 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18354 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18355 "but records the fact that it threw them away by setting a flag "
18356 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
18357 msgstr ""
18358
18359 # type: textblock
18360 #: ../fish/guestfish-actions.pod:1538
18361 msgid ""
18362 "Before any events are generated, you have to add some watches to the "
18363 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
18364 "L</inotify-watch-all>."
18365 msgstr ""
18366
18367 # type: textblock
18368 #: ../fish/guestfish-actions.pod:1544
18369 msgid ""
18370 "Queued up events should be read periodically by calling L</inotify-read> (or "
18371 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
18372 "If you don't read the events out often enough then you risk the internal "
18373 "queue overflowing."
18374 msgstr ""
18375
18376 # type: textblock
18377 #: ../fish/guestfish-actions.pod:1551
18378 msgid ""
18379 "The handle should be closed after use by calling L</inotify-close>.  This "
18380 "also removes any watches automatically."
18381 msgstr ""
18382
18383 # type: =head2
18384 #: ../fish/guestfish-actions.pod:1560
18385 msgid "inotify-read"
18386 msgstr ""
18387
18388 # type: verbatim
18389 #: ../fish/guestfish-actions.pod:1562
18390 #, no-wrap
18391 msgid ""
18392 " inotify-read\n"
18393 "\n"
18394 msgstr ""
18395
18396 # type: =head2
18397 #: ../fish/guestfish-actions.pod:1575
18398 msgid "inotify-rm-watch"
18399 msgstr ""
18400
18401 # type: verbatim
18402 #: ../fish/guestfish-actions.pod:1577
18403 #, no-wrap
18404 msgid ""
18405 " inotify-rm-watch wd\n"
18406 "\n"
18407 msgstr ""
18408
18409 # type: textblock
18410 #: ../fish/guestfish-actions.pod:1579
18411 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
18412 msgstr ""
18413
18414 # type: =head2
18415 #: ../fish/guestfish-actions.pod:1582
18416 msgid "inspect-get-arch"
18417 msgstr ""
18418
18419 # type: verbatim
18420 #: ../fish/guestfish-actions.pod:1584
18421 #, no-wrap
18422 msgid ""
18423 " inspect-get-arch root\n"
18424 "\n"
18425 msgstr ""
18426
18427 # type: textblock
18428 #: ../fish/guestfish-actions.pod:1586 ../fish/guestfish-actions.pod:1602
18429 #: ../fish/guestfish-actions.pod:1648 ../fish/guestfish-actions.pod:1666
18430 #: ../fish/guestfish-actions.pod:1687 ../fish/guestfish-actions.pod:1702
18431 #: ../fish/guestfish-actions.pod:1725 ../fish/guestfish-actions.pod:1742
18432 msgid ""
18433 "This function should only be called with a root device string as returned by "
18434 "L</inspect-os>."
18435 msgstr ""
18436
18437 # type: textblock
18438 #: ../fish/guestfish-actions.pod:1589
18439 msgid ""
18440 "This returns the architecture of the inspected operating system.  The "
18441 "possible return values are listed under L</file-architecture>."
18442 msgstr ""
18443
18444 # type: =head2
18445 #: ../fish/guestfish-actions.pod:1598
18446 msgid "inspect-get-distro"
18447 msgstr ""
18448
18449 # type: verbatim
18450 #: ../fish/guestfish-actions.pod:1600
18451 #, no-wrap
18452 msgid ""
18453 " inspect-get-distro root\n"
18454 "\n"
18455 msgstr ""
18456
18457 # type: =head2
18458 #: ../fish/guestfish-actions.pod:1644
18459 msgid "inspect-get-filesystems"
18460 msgstr ""
18461
18462 # type: verbatim
18463 #: ../fish/guestfish-actions.pod:1646
18464 #, no-wrap
18465 msgid ""
18466 " inspect-get-filesystems root\n"
18467 "\n"
18468 msgstr ""
18469
18470 # type: textblock
18471 #: ../fish/guestfish-actions.pod:1659
18472 msgid ""
18473 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18474 "get-mountpoints>."
18475 msgstr ""
18476
18477 # type: =head2
18478 #: ../fish/guestfish-actions.pod:1662
18479 msgid "inspect-get-major-version"
18480 msgstr ""
18481
18482 # type: verbatim
18483 #: ../fish/guestfish-actions.pod:1664
18484 #, no-wrap
18485 msgid ""
18486 " inspect-get-major-version root\n"
18487 "\n"
18488 msgstr ""
18489
18490 # type: =head2
18491 #: ../fish/guestfish-actions.pod:1683
18492 msgid "inspect-get-minor-version"
18493 msgstr ""
18494
18495 # type: verbatim
18496 #: ../fish/guestfish-actions.pod:1685
18497 #, no-wrap
18498 msgid ""
18499 " inspect-get-minor-version root\n"
18500 "\n"
18501 msgstr ""
18502
18503 # type: textblock
18504 #: ../fish/guestfish-actions.pod:1695
18505 msgid ""
18506 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18507 "get-major-version>."
18508 msgstr ""
18509
18510 # type: =head2
18511 #: ../fish/guestfish-actions.pod:1698
18512 msgid "inspect-get-mountpoints"
18513 msgstr ""
18514
18515 # type: verbatim
18516 #: ../fish/guestfish-actions.pod:1700
18517 #, no-wrap
18518 msgid ""
18519 " inspect-get-mountpoints root\n"
18520 "\n"
18521 msgstr ""
18522
18523 # type: textblock
18524 #: ../fish/guestfish-actions.pod:1718
18525 msgid ""
18526 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18527 "get-filesystems>."
18528 msgstr ""
18529
18530 # type: =head2
18531 #: ../fish/guestfish-actions.pod:1721
18532 msgid "inspect-get-product-name"
18533 msgstr ""
18534
18535 # type: verbatim
18536 #: ../fish/guestfish-actions.pod:1723
18537 #, no-wrap
18538 msgid ""
18539 " inspect-get-product-name root\n"
18540 "\n"
18541 msgstr ""
18542
18543 # type: =head2
18544 #: ../fish/guestfish-actions.pod:1738
18545 msgid "inspect-get-type"
18546 msgstr ""
18547
18548 # type: verbatim
18549 #: ../fish/guestfish-actions.pod:1740
18550 #, no-wrap
18551 msgid ""
18552 " inspect-get-type root\n"
18553 "\n"
18554 msgstr ""
18555
18556 # type: =head2
18557 #: ../fish/guestfish-actions.pod:1769
18558 msgid "inspect-os"
18559 msgstr ""
18560
18561 # type: verbatim
18562 #: ../fish/guestfish-actions.pod:1771
18563 #, no-wrap
18564 msgid ""
18565 " inspect-os\n"
18566 "\n"
18567 msgstr ""
18568
18569 # type: textblock
18570 #: ../fish/guestfish-actions.pod:1786
18571 msgid ""
18572 "You can pass the root string(s) returned to other L</inspect-get-*> "
18573 "functions in order to query further information about each operating system, "
18574 "such as the name and version."
18575 msgstr ""
18576
18577 # type: textblock
18578 #: ../fish/guestfish-actions.pod:1791
18579 msgid ""
18580 "This function uses other libguestfs features such as L</mount-ro> and L</"
18581 "umount-all> in order to mount and unmount filesystems and look at the "
18582 "contents.  This should be called with no disks currently mounted.  The "
18583 "function may also use Augeas, so any existing Augeas handle will be closed."
18584 msgstr ""
18585
18586 # type: textblock
18587 #: ../fish/guestfish-actions.pod:1803 ../fish/guestfish-actions.pod:1957
18588 #: ../fish/guestfish-actions.pod:2003
18589 msgid "See also L</list-filesystems>."
18590 msgstr ""
18591
18592 # type: =head2
18593 #: ../fish/guestfish-actions.pod:1805
18594 msgid "is-blockdev"
18595 msgstr ""
18596
18597 # type: verbatim
18598 #: ../fish/guestfish-actions.pod:1807
18599 #, no-wrap
18600 msgid ""
18601 " is-blockdev path\n"
18602 "\n"
18603 msgstr ""
18604
18605 # type: textblock
18606 #: ../fish/guestfish-actions.pod:1812 ../fish/guestfish-actions.pod:1830
18607 #: ../fish/guestfish-actions.pod:1849 ../fish/guestfish-actions.pod:1858
18608 #: ../fish/guestfish-actions.pod:1868 ../fish/guestfish-actions.pod:1902
18609 #: ../fish/guestfish-actions.pod:1911
18610 msgid "See also L</stat>."
18611 msgstr ""
18612
18613 # type: =head2
18614 #: ../fish/guestfish-actions.pod:1814
18615 msgid "is-busy"
18616 msgstr ""
18617
18618 # type: verbatim
18619 #: ../fish/guestfish-actions.pod:1816
18620 #, no-wrap
18621 msgid ""
18622 " is-busy\n"
18623 "\n"
18624 msgstr ""
18625
18626 # type: =head2
18627 #: ../fish/guestfish-actions.pod:1823
18628 msgid "is-chardev"
18629 msgstr ""
18630
18631 # type: verbatim
18632 #: ../fish/guestfish-actions.pod:1825
18633 #, no-wrap
18634 msgid ""
18635 " is-chardev path\n"
18636 "\n"
18637 msgstr ""
18638
18639 # type: =head2
18640 #: ../fish/guestfish-actions.pod:1832
18641 msgid "is-config"
18642 msgstr ""
18643
18644 # type: verbatim
18645 #: ../fish/guestfish-actions.pod:1834
18646 #, no-wrap
18647 msgid ""
18648 " is-config\n"
18649 "\n"
18650 msgstr ""
18651
18652 # type: =head2
18653 #: ../fish/guestfish-actions.pod:1841
18654 msgid "is-dir"
18655 msgstr ""
18656
18657 # type: verbatim
18658 #: ../fish/guestfish-actions.pod:1843
18659 #, no-wrap
18660 msgid ""
18661 " is-dir path\n"
18662 "\n"
18663 msgstr ""
18664
18665 # type: =head2
18666 #: ../fish/guestfish-actions.pod:1851
18667 msgid "is-fifo"
18668 msgstr ""
18669
18670 # type: verbatim
18671 #: ../fish/guestfish-actions.pod:1853
18672 #, no-wrap
18673 msgid ""
18674 " is-fifo path\n"
18675 "\n"
18676 msgstr ""
18677
18678 # type: =head2
18679 #: ../fish/guestfish-actions.pod:1860
18680 msgid "is-file"
18681 msgstr ""
18682
18683 # type: verbatim
18684 #: ../fish/guestfish-actions.pod:1862
18685 #, no-wrap
18686 msgid ""
18687 " is-file path\n"
18688 "\n"
18689 msgstr ""
18690
18691 # type: =head2
18692 #: ../fish/guestfish-actions.pod:1870
18693 msgid "is-launching"
18694 msgstr ""
18695
18696 # type: verbatim
18697 #: ../fish/guestfish-actions.pod:1872
18698 #, no-wrap
18699 msgid ""
18700 " is-launching\n"
18701 "\n"
18702 msgstr ""
18703
18704 # type: =head2
18705 #: ../fish/guestfish-actions.pod:1879
18706 msgid "is-lv"
18707 msgstr ""
18708
18709 # type: verbatim
18710 #: ../fish/guestfish-actions.pod:1881
18711 #, no-wrap
18712 msgid ""
18713 " is-lv device\n"
18714 "\n"
18715 msgstr ""
18716
18717 # type: =head2
18718 #: ../fish/guestfish-actions.pod:1886
18719 msgid "is-ready"
18720 msgstr ""
18721
18722 # type: verbatim
18723 #: ../fish/guestfish-actions.pod:1888
18724 #, no-wrap
18725 msgid ""
18726 " is-ready\n"
18727 "\n"
18728 msgstr ""
18729
18730 # type: =head2
18731 #: ../fish/guestfish-actions.pod:1895
18732 msgid "is-socket"
18733 msgstr ""
18734
18735 # type: verbatim
18736 #: ../fish/guestfish-actions.pod:1897
18737 #, no-wrap
18738 msgid ""
18739 " is-socket path\n"
18740 "\n"
18741 msgstr ""
18742
18743 # type: =head2
18744 #: ../fish/guestfish-actions.pod:1904
18745 msgid "is-symlink"
18746 msgstr ""
18747
18748 # type: verbatim
18749 #: ../fish/guestfish-actions.pod:1906
18750 #, no-wrap
18751 msgid ""
18752 " is-symlink path\n"
18753 "\n"
18754 msgstr ""
18755
18756 # type: =head2
18757 #: ../fish/guestfish-actions.pod:1913
18758 msgid "kill-subprocess"
18759 msgstr ""
18760
18761 # type: verbatim
18762 #: ../fish/guestfish-actions.pod:1915
18763 #, no-wrap
18764 msgid ""
18765 " kill-subprocess\n"
18766 "\n"
18767 msgstr ""
18768
18769 # type: =head2
18770 #: ../fish/guestfish-actions.pod:1919
18771 msgid "launch | run"
18772 msgstr ""
18773
18774 # type: verbatim
18775 #: ../fish/guestfish-actions.pod:1921
18776 #, no-wrap
18777 msgid ""
18778 " launch\n"
18779 "\n"
18780 msgstr ""
18781
18782 # type: =head2
18783 #: ../fish/guestfish-actions.pod:1929
18784 msgid "lchown"
18785 msgstr ""
18786
18787 # type: verbatim
18788 #: ../fish/guestfish-actions.pod:1931
18789 #, no-wrap
18790 msgid ""
18791 " lchown owner group path\n"
18792 "\n"
18793 msgstr ""
18794
18795 # type: textblock
18796 #: ../fish/guestfish-actions.pod:1933
18797 msgid ""
18798 "Change the file owner to C<owner> and group to C<group>.  This is like L</"
18799 "chown> but if C<path> is a symlink then the link itself is changed, not the "
18800 "target."
18801 msgstr ""
18802
18803 # type: =head2
18804 #: ../fish/guestfish-actions.pod:1941
18805 msgid "lgetxattrs"
18806 msgstr ""
18807
18808 # type: verbatim
18809 #: ../fish/guestfish-actions.pod:1943
18810 #, no-wrap
18811 msgid ""
18812 " lgetxattrs path\n"
18813 "\n"
18814 msgstr ""
18815
18816 # type: textblock
18817 #: ../fish/guestfish-actions.pod:1945
18818 msgid ""
18819 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
18820 "it returns the extended attributes of the link itself."
18821 msgstr ""
18822
18823 # type: =head2
18824 #: ../fish/guestfish-actions.pod:1949
18825 msgid "list-devices"
18826 msgstr ""
18827
18828 # type: verbatim
18829 #: ../fish/guestfish-actions.pod:1951
18830 #, no-wrap
18831 msgid ""
18832 " list-devices\n"
18833 "\n"
18834 msgstr ""
18835
18836 # type: =head2
18837 #: ../fish/guestfish-actions.pod:1959
18838 msgid "list-filesystems"
18839 msgstr ""
18840
18841 # type: verbatim
18842 #: ../fish/guestfish-actions.pod:1961
18843 #, no-wrap
18844 msgid ""
18845 " list-filesystems\n"
18846 "\n"
18847 msgstr ""
18848
18849 # type: textblock
18850 #: ../fish/guestfish-actions.pod:1980
18851 msgid ""
18852 "This command runs other libguestfs commands, which might include L</mount> "
18853 "and L</umount>, and therefore you should use this soon after launch and only "
18854 "when nothing is mounted."
18855 msgstr ""
18856
18857 # type: textblock
18858 #: ../fish/guestfish-actions.pod:1984
18859 msgid ""
18860 "Not all of the filesystems returned will be mountable.  In particular, swap "
18861 "partitions are returned in the list.  Also this command does not check that "
18862 "each filesystem found is valid and mountable, and some filesystems might be "
18863 "mountable but require special options.  Filesystems may not all belong to a "
18864 "single logical operating system (use L</inspect-os> to look for OSes)."
18865 msgstr ""
18866
18867 # type: =head2
18868 #: ../fish/guestfish-actions.pod:1992
18869 msgid "list-partitions"
18870 msgstr ""
18871
18872 # type: verbatim
18873 #: ../fish/guestfish-actions.pod:1994
18874 #, no-wrap
18875 msgid ""
18876 " list-partitions\n"
18877 "\n"
18878 msgstr ""
18879
18880 # type: textblock
18881 #: ../fish/guestfish-actions.pod:2000
18882 msgid ""
18883 "This does not return logical volumes.  For that you will need to call L</"
18884 "lvs>."
18885 msgstr ""
18886
18887 # type: =head2
18888 #: ../fish/guestfish-actions.pod:2005
18889 msgid "ll"
18890 msgstr ""
18891
18892 # type: verbatim
18893 #: ../fish/guestfish-actions.pod:2007
18894 #, no-wrap
18895 msgid ""
18896 " ll directory\n"
18897 "\n"
18898 msgstr ""
18899
18900 # type: =head2
18901 #: ../fish/guestfish-actions.pod:2015
18902 msgid "ln"
18903 msgstr ""
18904
18905 # type: verbatim
18906 #: ../fish/guestfish-actions.pod:2017
18907 #, no-wrap
18908 msgid ""
18909 " ln target linkname\n"
18910 "\n"
18911 msgstr ""
18912
18913 # type: =head2
18914 #: ../fish/guestfish-actions.pod:2021
18915 msgid "ln-f"
18916 msgstr ""
18917
18918 # type: verbatim
18919 #: ../fish/guestfish-actions.pod:2023
18920 #, no-wrap
18921 msgid ""
18922 " ln-f target linkname\n"
18923 "\n"
18924 msgstr ""
18925
18926 # type: =head2
18927 #: ../fish/guestfish-actions.pod:2028
18928 msgid "ln-s"
18929 msgstr ""
18930
18931 # type: verbatim
18932 #: ../fish/guestfish-actions.pod:2030
18933 #, no-wrap
18934 msgid ""
18935 " ln-s target linkname\n"
18936 "\n"
18937 msgstr ""
18938
18939 # type: =head2
18940 #: ../fish/guestfish-actions.pod:2034
18941 msgid "ln-sf"
18942 msgstr ""
18943
18944 # type: verbatim
18945 #: ../fish/guestfish-actions.pod:2036
18946 #, no-wrap
18947 msgid ""
18948 " ln-sf target linkname\n"
18949 "\n"
18950 msgstr ""
18951
18952 # type: =head2
18953 #: ../fish/guestfish-actions.pod:2041
18954 msgid "lremovexattr"
18955 msgstr ""
18956
18957 # type: verbatim
18958 #: ../fish/guestfish-actions.pod:2043
18959 #, no-wrap
18960 msgid ""
18961 " lremovexattr xattr path\n"
18962 "\n"
18963 msgstr ""
18964
18965 # type: textblock
18966 #: ../fish/guestfish-actions.pod:2045
18967 msgid ""
18968 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
18969 "it removes an extended attribute of the link itself."
18970 msgstr ""
18971
18972 # type: =head2
18973 #: ../fish/guestfish-actions.pod:2049
18974 msgid "ls"
18975 msgstr ""
18976
18977 # type: verbatim
18978 #: ../fish/guestfish-actions.pod:2051
18979 #, no-wrap
18980 msgid ""
18981 " ls directory\n"
18982 "\n"
18983 msgstr ""
18984
18985 # type: textblock
18986 #: ../fish/guestfish-actions.pod:2057
18987 msgid ""
18988 "This command is mostly useful for interactive sessions.  Programs should "
18989 "probably use L</readdir> instead."
18990 msgstr ""
18991
18992 # type: =head2
18993 #: ../fish/guestfish-actions.pod:2060
18994 msgid "lsetxattr"
18995 msgstr ""
18996
18997 # type: verbatim
18998 #: ../fish/guestfish-actions.pod:2062
18999 #, no-wrap
19000 msgid ""
19001 " lsetxattr xattr val vallen path\n"
19002 "\n"
19003 msgstr ""
19004
19005 # type: textblock
19006 #: ../fish/guestfish-actions.pod:2064
19007 msgid ""
19008 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
19009 "sets an extended attribute of the link itself."
19010 msgstr ""
19011
19012 # type: =head2
19013 #: ../fish/guestfish-actions.pod:2068
19014 msgid "lstat"
19015 msgstr ""
19016
19017 # type: verbatim
19018 #: ../fish/guestfish-actions.pod:2070
19019 #, no-wrap
19020 msgid ""
19021 " lstat path\n"
19022 "\n"
19023 msgstr ""
19024
19025 # type: textblock
19026 #: ../fish/guestfish-actions.pod:2074
19027 msgid ""
19028 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
19029 "the link is stat-ed, not the file it refers to."
19030 msgstr ""
19031
19032 # type: =head2
19033 #: ../fish/guestfish-actions.pod:2080
19034 msgid "lstatlist"
19035 msgstr ""
19036
19037 # type: verbatim
19038 #: ../fish/guestfish-actions.pod:2082
19039 #, no-wrap
19040 msgid ""
19041 " lstatlist path 'names ...'\n"
19042 "\n"
19043 msgstr ""
19044
19045 # type: textblock
19046 #: ../fish/guestfish-actions.pod:2084
19047 msgid ""
19048 "This call allows you to perform the L</lstat> operation on multiple files, "
19049 "where all files are in the directory C<path>.  C<names> is the list of files "
19050 "from this directory."
19051 msgstr ""
19052
19053 # type: textblock
19054 #: ../fish/guestfish-actions.pod:2093
19055 msgid ""
19056 "This call is intended for programs that want to efficiently list a directory "
19057 "contents without making many round-trips.  See also L</lxattrlist> for a "
19058 "similarly efficient call for getting extended attributes.  Very long "
19059 "directory listings might cause the protocol message size to be exceeded, "
19060 "causing this call to fail.  The caller must split up such requests into "
19061 "smaller groups of names."
19062 msgstr ""
19063
19064 # type: =head2
19065 #: ../fish/guestfish-actions.pod:2101
19066 msgid "luks-add-key"
19067 msgstr ""
19068
19069 # type: verbatim
19070 #: ../fish/guestfish-actions.pod:2103
19071 #, no-wrap
19072 msgid ""
19073 " luks-add-key device keyslot\n"
19074 "\n"
19075 msgstr ""
19076
19077 # type: textblock
19078 #: ../fish/guestfish-actions.pod:2110
19079 msgid ""
19080 "Note that if C<keyslot> already contains a key, then this command will "
19081 "fail.  You have to use L</luks-kill-slot> first to remove that key."
19082 msgstr ""
19083
19084 # type: textblock
19085 #: ../fish/guestfish-actions.pod:2114 ../fish/guestfish-actions.pod:2136
19086 #: ../fish/guestfish-actions.pod:2149 ../fish/guestfish-actions.pod:2163
19087 #: ../fish/guestfish-actions.pod:2186 ../fish/guestfish-actions.pod:2196
19088 msgid ""
19089 "This command has one or more key or passphrase parameters.  Guestfish will "
19090 "prompt for these separately."
19091 msgstr ""
19092
19093 # type: =head2
19094 #: ../fish/guestfish-actions.pod:2117
19095 msgid "luks-close"
19096 msgstr ""
19097
19098 # type: verbatim
19099 #: ../fish/guestfish-actions.pod:2119
19100 #, no-wrap
19101 msgid ""
19102 " luks-close device\n"
19103 "\n"
19104 msgstr ""
19105
19106 # type: textblock
19107 #: ../fish/guestfish-actions.pod:2121
19108 msgid ""
19109 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
19110 "luks-open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
19111 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
19112 "block device."
19113 msgstr ""
19114
19115 # type: =head2
19116 #: ../fish/guestfish-actions.pod:2127
19117 msgid "luks-format"
19118 msgstr ""
19119
19120 # type: verbatim
19121 #: ../fish/guestfish-actions.pod:2129
19122 #, no-wrap
19123 msgid ""
19124 " luks-format device keyslot\n"
19125 "\n"
19126 msgstr ""
19127
19128 # type: =head2
19129 #: ../fish/guestfish-actions.pod:2142
19130 msgid "luks-format-cipher"
19131 msgstr ""
19132
19133 # type: verbatim
19134 #: ../fish/guestfish-actions.pod:2144
19135 #, no-wrap
19136 msgid ""
19137 " luks-format-cipher device keyslot cipher\n"
19138 "\n"
19139 msgstr ""
19140
19141 # type: textblock
19142 #: ../fish/guestfish-actions.pod:2146
19143 msgid ""
19144 "This command is the same as L</luks-format> but it also allows you to set "
19145 "the C<cipher> used."
19146 msgstr ""
19147
19148 # type: =head2
19149 #: ../fish/guestfish-actions.pod:2155
19150 msgid "luks-kill-slot"
19151 msgstr ""
19152
19153 # type: verbatim
19154 #: ../fish/guestfish-actions.pod:2157
19155 #, no-wrap
19156 msgid ""
19157 " luks-kill-slot device keyslot\n"
19158 "\n"
19159 msgstr ""
19160
19161 # type: =head2
19162 #: ../fish/guestfish-actions.pod:2166
19163 msgid "luks-open"
19164 msgstr ""
19165
19166 # type: verbatim
19167 #: ../fish/guestfish-actions.pod:2168
19168 #, no-wrap
19169 msgid ""
19170 " luks-open device mapname\n"
19171 "\n"
19172 msgstr ""
19173
19174 # type: textblock
19175 #: ../fish/guestfish-actions.pod:2182
19176 msgid ""
19177 "If this block device contains LVM volume groups, then calling L</vgscan> "
19178 "followed by L</vg-activate-all> will make them visible."
19179 msgstr ""
19180
19181 # type: =head2
19182 #: ../fish/guestfish-actions.pod:2189
19183 msgid "luks-open-ro"
19184 msgstr ""
19185
19186 # type: verbatim
19187 #: ../fish/guestfish-actions.pod:2191
19188 #, no-wrap
19189 msgid ""
19190 " luks-open-ro device mapname\n"
19191 "\n"
19192 msgstr ""
19193
19194 # type: textblock
19195 #: ../fish/guestfish-actions.pod:2193
19196 msgid ""
19197 "This is the same as L</luks-open> except that a read-only mapping is created."
19198 msgstr ""
19199
19200 # type: =head2
19201 #: ../fish/guestfish-actions.pod:2199
19202 msgid "lvcreate"
19203 msgstr ""
19204
19205 # type: verbatim
19206 #: ../fish/guestfish-actions.pod:2201
19207 #, no-wrap
19208 msgid ""
19209 " lvcreate logvol volgroup mbytes\n"
19210 "\n"
19211 msgstr ""
19212
19213 # type: =head2
19214 #: ../fish/guestfish-actions.pod:2206
19215 msgid "lvm-clear-filter"
19216 msgstr ""
19217
19218 # type: verbatim
19219 #: ../fish/guestfish-actions.pod:2208
19220 #, no-wrap
19221 msgid ""
19222 " lvm-clear-filter\n"
19223 "\n"
19224 msgstr ""
19225
19226 # type: textblock
19227 #: ../fish/guestfish-actions.pod:2210
19228 msgid ""
19229 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
19230 "block device."
19231 msgstr ""
19232
19233 # type: =head2
19234 #: ../fish/guestfish-actions.pod:2216
19235 msgid "lvm-remove-all"
19236 msgstr ""
19237
19238 # type: verbatim
19239 #: ../fish/guestfish-actions.pod:2218
19240 #, no-wrap
19241 msgid ""
19242 " lvm-remove-all\n"
19243 "\n"
19244 msgstr ""
19245
19246 # type: =head2
19247 #: ../fish/guestfish-actions.pod:2226
19248 msgid "lvm-set-filter"
19249 msgstr ""
19250
19251 # type: verbatim
19252 #: ../fish/guestfish-actions.pod:2228
19253 #, no-wrap
19254 msgid ""
19255 " lvm-set-filter 'devices ...'\n"
19256 "\n"
19257 msgstr ""
19258
19259 # type: =head2
19260 #: ../fish/guestfish-actions.pod:2253
19261 msgid "lvremove"
19262 msgstr ""
19263
19264 # type: verbatim
19265 #: ../fish/guestfish-actions.pod:2255
19266 #, no-wrap
19267 msgid ""
19268 " lvremove device\n"
19269 "\n"
19270 msgstr ""
19271
19272 # type: =head2
19273 #: ../fish/guestfish-actions.pod:2263
19274 msgid "lvrename"
19275 msgstr ""
19276
19277 # type: verbatim
19278 #: ../fish/guestfish-actions.pod:2265
19279 #, no-wrap
19280 msgid ""
19281 " lvrename logvol newlogvol\n"
19282 "\n"
19283 msgstr ""
19284
19285 # type: =head2
19286 #: ../fish/guestfish-actions.pod:2269
19287 msgid "lvresize"
19288 msgstr ""
19289
19290 # type: verbatim
19291 #: ../fish/guestfish-actions.pod:2271
19292 #, no-wrap
19293 msgid ""
19294 " lvresize device mbytes\n"
19295 "\n"
19296 msgstr ""
19297
19298 # type: =head2
19299 #: ../fish/guestfish-actions.pod:2277
19300 msgid "lvresize-free"
19301 msgstr ""
19302
19303 # type: verbatim
19304 #: ../fish/guestfish-actions.pod:2279
19305 #, no-wrap
19306 msgid ""
19307 " lvresize-free lv percent\n"
19308 "\n"
19309 msgstr ""
19310
19311 # type: =head2
19312 #: ../fish/guestfish-actions.pod:2287
19313 msgid "lvs"
19314 msgstr ""
19315
19316 # type: verbatim
19317 #: ../fish/guestfish-actions.pod:2289
19318 #, no-wrap
19319 msgid ""
19320 " lvs\n"
19321 "\n"
19322 msgstr ""
19323
19324 # type: textblock
19325 #: ../fish/guestfish-actions.pod:2297
19326 msgid "See also L</lvs-full>, L</list-filesystems>."
19327 msgstr ""
19328
19329 # type: =head2
19330 #: ../fish/guestfish-actions.pod:2299
19331 msgid "lvs-full"
19332 msgstr ""
19333
19334 # type: verbatim
19335 #: ../fish/guestfish-actions.pod:2301
19336 #, no-wrap
19337 msgid ""
19338 " lvs-full\n"
19339 "\n"
19340 msgstr ""
19341
19342 # type: =head2
19343 #: ../fish/guestfish-actions.pod:2306
19344 msgid "lvuuid"
19345 msgstr ""
19346
19347 # type: verbatim
19348 #: ../fish/guestfish-actions.pod:2308
19349 #, no-wrap
19350 msgid ""
19351 " lvuuid device\n"
19352 "\n"
19353 msgstr ""
19354
19355 # type: =head2
19356 #: ../fish/guestfish-actions.pod:2312
19357 msgid "lxattrlist"
19358 msgstr ""
19359
19360 # type: verbatim
19361 #: ../fish/guestfish-actions.pod:2314
19362 #, no-wrap
19363 msgid ""
19364 " lxattrlist path 'names ...'\n"
19365 "\n"
19366 msgstr ""
19367
19368 # type: textblock
19369 #: ../fish/guestfish-actions.pod:2330
19370 msgid ""
19371 "This call is intended for programs that want to efficiently list a directory "
19372 "contents without making many round-trips.  See also L</lstatlist> for a "
19373 "similarly efficient call for getting standard stats.  Very long directory "
19374 "listings might cause the protocol message size to be exceeded, causing this "
19375 "call to fail.  The caller must split up such requests into smaller groups of "
19376 "names."
19377 msgstr ""
19378
19379 # type: =head2
19380 #: ../fish/guestfish-actions.pod:2338
19381 msgid "mkdir"
19382 msgstr ""
19383
19384 # type: verbatim
19385 #: ../fish/guestfish-actions.pod:2340
19386 #, no-wrap
19387 msgid ""
19388 " mkdir path\n"
19389 "\n"
19390 msgstr ""
19391
19392 # type: =head2
19393 #: ../fish/guestfish-actions.pod:2344
19394 msgid "mkdir-mode"
19395 msgstr ""
19396
19397 # type: verbatim
19398 #: ../fish/guestfish-actions.pod:2346
19399 #, no-wrap
19400 msgid ""
19401 " mkdir-mode path mode\n"
19402 "\n"
19403 msgstr ""
19404
19405 # type: textblock
19406 #: ../fish/guestfish-actions.pod:2355
19407 msgid "See also L</mkdir>, L</umask>"
19408 msgstr ""
19409
19410 # type: =head2
19411 #: ../fish/guestfish-actions.pod:2357
19412 msgid "mkdir-p"
19413 msgstr ""
19414
19415 # type: verbatim
19416 #: ../fish/guestfish-actions.pod:2359
19417 #, no-wrap
19418 msgid ""
19419 " mkdir-p path\n"
19420 "\n"
19421 msgstr ""
19422
19423 # type: =head2
19424 #: ../fish/guestfish-actions.pod:2364
19425 msgid "mkdtemp"
19426 msgstr ""
19427
19428 # type: verbatim
19429 #: ../fish/guestfish-actions.pod:2366
19430 #, no-wrap
19431 msgid ""
19432 " mkdtemp template\n"
19433 "\n"
19434 msgstr ""
19435
19436 # type: =head2
19437 #: ../fish/guestfish-actions.pod:2387
19438 msgid "mke2fs-J"
19439 msgstr ""
19440
19441 # type: verbatim
19442 #: ../fish/guestfish-actions.pod:2389
19443 #, no-wrap
19444 msgid ""
19445 " mke2fs-J fstype blocksize device journal\n"
19446 "\n"
19447 msgstr ""
19448
19449 # type: textblock
19450 #: ../fish/guestfish-actions.pod:2397
19451 msgid "See also L</mke2journal>."
19452 msgstr ""
19453
19454 # type: =head2
19455 #: ../fish/guestfish-actions.pod:2399
19456 msgid "mke2fs-JL"
19457 msgstr ""
19458
19459 # type: verbatim
19460 #: ../fish/guestfish-actions.pod:2401
19461 #, no-wrap
19462 msgid ""
19463 " mke2fs-JL fstype blocksize device label\n"
19464 "\n"
19465 msgstr ""
19466
19467 # type: textblock
19468 #: ../fish/guestfish-actions.pod:2406
19469 msgid "See also L</mke2journal-L>."
19470 msgstr ""
19471
19472 # type: =head2
19473 #: ../fish/guestfish-actions.pod:2408
19474 msgid "mke2fs-JU"
19475 msgstr ""
19476
19477 # type: verbatim
19478 #: ../fish/guestfish-actions.pod:2410
19479 #, no-wrap
19480 msgid ""
19481 " mke2fs-JU fstype blocksize device uuid\n"
19482 "\n"
19483 msgstr ""
19484
19485 # type: textblock
19486 #: ../fish/guestfish-actions.pod:2415
19487 msgid "See also L</mke2journal-U>."
19488 msgstr ""
19489
19490 # type: =head2
19491 #: ../fish/guestfish-actions.pod:2417
19492 msgid "mke2journal"
19493 msgstr ""
19494
19495 # type: verbatim
19496 #: ../fish/guestfish-actions.pod:2419
19497 #, no-wrap
19498 msgid ""
19499 " mke2journal blocksize device\n"
19500 "\n"
19501 msgstr ""
19502
19503 # type: =head2
19504 #: ../fish/guestfish-actions.pod:2426
19505 msgid "mke2journal-L"
19506 msgstr ""
19507
19508 # type: verbatim
19509 #: ../fish/guestfish-actions.pod:2428
19510 #, no-wrap
19511 msgid ""
19512 " mke2journal-L blocksize label device\n"
19513 "\n"
19514 msgstr ""
19515
19516 # type: =head2
19517 #: ../fish/guestfish-actions.pod:2432
19518 msgid "mke2journal-U"
19519 msgstr ""
19520
19521 # type: verbatim
19522 #: ../fish/guestfish-actions.pod:2434
19523 #, no-wrap
19524 msgid ""
19525 " mke2journal-U blocksize uuid device\n"
19526 "\n"
19527 msgstr ""
19528
19529 # type: =head2
19530 #: ../fish/guestfish-actions.pod:2438
19531 msgid "mkfifo"
19532 msgstr ""
19533
19534 # type: verbatim
19535 #: ../fish/guestfish-actions.pod:2440
19536 #, no-wrap
19537 msgid ""
19538 " mkfifo mode path\n"
19539 "\n"
19540 msgstr ""
19541
19542 # type: textblock
19543 #: ../fish/guestfish-actions.pod:2442
19544 msgid ""
19545 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19546 "is just a convenient wrapper around L</mknod>."
19547 msgstr ""
19548
19549 # type: =head2
19550 #: ../fish/guestfish-actions.pod:2448
19551 msgid "mkfs"
19552 msgstr ""
19553
19554 # type: verbatim
19555 #: ../fish/guestfish-actions.pod:2450
19556 #, no-wrap
19557 msgid ""
19558 " mkfs fstype device\n"
19559 "\n"
19560 msgstr ""
19561
19562 # type: =head2
19563 #: ../fish/guestfish-actions.pod:2456
19564 msgid "mkfs-b"
19565 msgstr ""
19566
19567 # type: verbatim
19568 #: ../fish/guestfish-actions.pod:2458
19569 #, no-wrap
19570 msgid ""
19571 " mkfs-b fstype blocksize device\n"
19572 "\n"
19573 msgstr ""
19574
19575 # type: textblock
19576 #: ../fish/guestfish-actions.pod:2460
19577 msgid ""
19578 "This call is similar to L</mkfs>, but it allows you to control the block "
19579 "size of the resulting filesystem.  Supported block sizes depend on the "
19580 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
19581 msgstr ""
19582
19583 # type: =head2
19584 #: ../fish/guestfish-actions.pod:2468
19585 msgid "mkmountpoint"
19586 msgstr ""
19587
19588 # type: verbatim
19589 #: ../fish/guestfish-actions.pod:2470
19590 #, no-wrap
19591 msgid ""
19592 " mkmountpoint exemptpath\n"
19593 "\n"
19594 msgstr ""
19595
19596 # type: textblock
19597 #: ../fish/guestfish-actions.pod:2472
19598 msgid ""
19599 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
19600 "to create extra mountpoints before mounting the first filesystem."
19601 msgstr ""
19602
19603 # type: =head2
19604 #: ../fish/guestfish-actions.pod:2496
19605 msgid "mknod"
19606 msgstr ""
19607
19608 # type: verbatim
19609 #: ../fish/guestfish-actions.pod:2498
19610 #, no-wrap
19611 msgid ""
19612 " mknod mode devmajor devminor path\n"
19613 "\n"
19614 msgstr ""
19615
19616 # type: textblock
19617 #: ../fish/guestfish-actions.pod:2508
19618 msgid ""
19619 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19620 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19621 "regular file).  These constants are available in the standard Linux header "
19622 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
19623 "wrappers around this command which bitwise OR in the appropriate constant "
19624 "for you."
19625 msgstr ""
19626
19627 # type: =head2
19628 #: ../fish/guestfish-actions.pod:2518
19629 msgid "mknod-b"
19630 msgstr ""
19631
19632 # type: verbatim
19633 #: ../fish/guestfish-actions.pod:2520
19634 #, no-wrap
19635 msgid ""
19636 " mknod-b mode devmajor devminor path\n"
19637 "\n"
19638 msgstr ""
19639
19640 # type: textblock
19641 #: ../fish/guestfish-actions.pod:2522
19642 msgid ""
19643 "This call creates a block device node called C<path> with mode C<mode> and "
19644 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19645 "wrapper around L</mknod>."
19646 msgstr ""
19647
19648 # type: =head2
19649 #: ../fish/guestfish-actions.pod:2528
19650 msgid "mknod-c"
19651 msgstr ""
19652
19653 # type: verbatim
19654 #: ../fish/guestfish-actions.pod:2530
19655 #, no-wrap
19656 msgid ""
19657 " mknod-c mode devmajor devminor path\n"
19658 "\n"
19659 msgstr ""
19660
19661 # type: textblock
19662 #: ../fish/guestfish-actions.pod:2532
19663 msgid ""
19664 "This call creates a char device node called C<path> with mode C<mode> and "
19665 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19666 "wrapper around L</mknod>."
19667 msgstr ""
19668
19669 # type: =head2
19670 #: ../fish/guestfish-actions.pod:2538
19671 msgid "mkswap"
19672 msgstr ""
19673
19674 # type: verbatim
19675 #: ../fish/guestfish-actions.pod:2540
19676 #, no-wrap
19677 msgid ""
19678 " mkswap device\n"
19679 "\n"
19680 msgstr ""
19681
19682 # type: =head2
19683 #: ../fish/guestfish-actions.pod:2544
19684 msgid "mkswap-L"
19685 msgstr ""
19686
19687 # type: verbatim
19688 #: ../fish/guestfish-actions.pod:2546
19689 #, no-wrap
19690 msgid ""
19691 " mkswap-L label device\n"
19692 "\n"
19693 msgstr ""
19694
19695 # type: =head2
19696 #: ../fish/guestfish-actions.pod:2554
19697 msgid "mkswap-U"
19698 msgstr ""
19699
19700 # type: verbatim
19701 #: ../fish/guestfish-actions.pod:2556
19702 #, no-wrap
19703 msgid ""
19704 " mkswap-U uuid device\n"
19705 "\n"
19706 msgstr ""
19707
19708 # type: =head2
19709 #: ../fish/guestfish-actions.pod:2560
19710 msgid "mkswap-file"
19711 msgstr ""
19712
19713 # type: verbatim
19714 #: ../fish/guestfish-actions.pod:2562
19715 #, no-wrap
19716 msgid ""
19717 " mkswap-file path\n"
19718 "\n"
19719 msgstr ""
19720
19721 # type: textblock
19722 #: ../fish/guestfish-actions.pod:2566
19723 msgid ""
19724 "This command just writes a swap file signature to an existing file.  To "
19725 "create the file itself, use something like L</fallocate>."
19726 msgstr ""
19727
19728 # type: =head2
19729 #: ../fish/guestfish-actions.pod:2569
19730 msgid "modprobe"
19731 msgstr ""
19732
19733 # type: verbatim
19734 #: ../fish/guestfish-actions.pod:2571
19735 #, no-wrap
19736 msgid ""
19737 " modprobe modulename\n"
19738 "\n"
19739 msgstr ""
19740
19741 # type: =head2
19742 #: ../fish/guestfish-actions.pod:2578
19743 msgid "mount"
19744 msgstr ""
19745
19746 # type: verbatim
19747 #: ../fish/guestfish-actions.pod:2580
19748 #, no-wrap
19749 msgid ""
19750 " mount device mountpoint\n"
19751 "\n"
19752 msgstr ""
19753
19754 # type: textblock
19755 #: ../fish/guestfish-actions.pod:2596
19756 msgid ""
19757 "B<Important note:> When you use this call, the filesystem options C<sync> "
19758 "and C<noatime> are set implicitly.  This was originally done because we "
19759 "thought it would improve reliability, but it turns out that I<-o sync> has a "
19760 "very large negative performance impact and negligible effect on "
19761 "reliability.  Therefore we recommend that you avoid using L</mount> in any "
19762 "code that needs performance, and instead use L</mount-options> (use an empty "
19763 "string for the first parameter if you don't want any options)."
19764 msgstr ""
19765
19766 # type: =head2
19767 #: ../fish/guestfish-actions.pod:2606
19768 msgid "mount-loop"
19769 msgstr ""
19770
19771 # type: verbatim
19772 #: ../fish/guestfish-actions.pod:2608
19773 #, no-wrap
19774 msgid ""
19775 " mount-loop file mountpoint\n"
19776 "\n"
19777 msgstr ""
19778
19779 # type: =head2
19780 #: ../fish/guestfish-actions.pod:2614
19781 msgid "mount-options"
19782 msgstr ""
19783
19784 # type: verbatim
19785 #: ../fish/guestfish-actions.pod:2616
19786 #, no-wrap
19787 msgid ""
19788 " mount-options options device mountpoint\n"
19789 "\n"
19790 msgstr ""
19791
19792 # type: textblock
19793 #: ../fish/guestfish-actions.pod:2618
19794 msgid ""
19795 "This is the same as the L</mount> command, but it allows you to set the "
19796 "mount options as for the L<mount(8)> I<-o> flag."
19797 msgstr ""
19798
19799 # type: =head2
19800 #: ../fish/guestfish-actions.pod:2626
19801 msgid "mount-ro"
19802 msgstr ""
19803
19804 # type: verbatim
19805 #: ../fish/guestfish-actions.pod:2628
19806 #, no-wrap
19807 msgid ""
19808 " mount-ro device mountpoint\n"
19809 "\n"
19810 msgstr ""
19811
19812 # type: textblock
19813 #: ../fish/guestfish-actions.pod:2630
19814 msgid ""
19815 "This is the same as the L</mount> command, but it mounts the filesystem with "
19816 "the read-only (I<-o ro>) flag."
19817 msgstr ""
19818
19819 # type: =head2
19820 #: ../fish/guestfish-actions.pod:2633
19821 msgid "mount-vfs"
19822 msgstr ""
19823
19824 # type: verbatim
19825 #: ../fish/guestfish-actions.pod:2635
19826 #, no-wrap
19827 msgid ""
19828 " mount-vfs options vfstype device mountpoint\n"
19829 "\n"
19830 msgstr ""
19831
19832 # type: textblock
19833 #: ../fish/guestfish-actions.pod:2637
19834 msgid ""
19835 "This is the same as the L</mount> command, but it allows you to set both the "
19836 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
19837 msgstr ""
19838
19839 # type: =head2
19840 #: ../fish/guestfish-actions.pod:2641
19841 msgid "mountpoints"
19842 msgstr ""
19843
19844 # type: verbatim
19845 #: ../fish/guestfish-actions.pod:2643
19846 #, no-wrap
19847 msgid ""
19848 " mountpoints\n"
19849 "\n"
19850 msgstr ""
19851
19852 # type: textblock
19853 #: ../fish/guestfish-actions.pod:2645
19854 msgid ""
19855 "This call is similar to L</mounts>.  That call returns a list of devices.  "
19856 "This one returns a hash table (map) of device name to directory where the "
19857 "device is mounted."
19858 msgstr ""
19859
19860 # type: =head2
19861 #: ../fish/guestfish-actions.pod:2649
19862 msgid "mounts"
19863 msgstr ""
19864
19865 # type: verbatim
19866 #: ../fish/guestfish-actions.pod:2651
19867 #, no-wrap
19868 msgid ""
19869 " mounts\n"
19870 "\n"
19871 msgstr ""
19872
19873 # type: textblock
19874 #: ../fish/guestfish-actions.pod:2658
19875 msgid "See also: L</mountpoints>"
19876 msgstr ""
19877
19878 # type: =head2
19879 #: ../fish/guestfish-actions.pod:2660
19880 msgid "mv"
19881 msgstr ""
19882
19883 # type: verbatim
19884 #: ../fish/guestfish-actions.pod:2662
19885 #, no-wrap
19886 msgid ""
19887 " mv src dest\n"
19888 "\n"
19889 msgstr ""
19890
19891 # type: =head2
19892 #: ../fish/guestfish-actions.pod:2667
19893 msgid "ntfs-3g-probe"
19894 msgstr ""
19895
19896 # type: verbatim
19897 #: ../fish/guestfish-actions.pod:2669
19898 #, no-wrap
19899 msgid ""
19900 " ntfs-3g-probe true|false device\n"
19901 "\n"
19902 msgstr ""
19903
19904 # type: =head2
19905 #: ../fish/guestfish-actions.pod:2683
19906 msgid "ntfsresize"
19907 msgstr ""
19908
19909 # type: verbatim
19910 #: ../fish/guestfish-actions.pod:2685
19911 #, no-wrap
19912 msgid ""
19913 " ntfsresize device\n"
19914 "\n"
19915 msgstr ""
19916
19917 # type: =head2
19918 #: ../fish/guestfish-actions.pod:2691
19919 msgid "ntfsresize-size"
19920 msgstr ""
19921
19922 # type: verbatim
19923 #: ../fish/guestfish-actions.pod:2693
19924 #, no-wrap
19925 msgid ""
19926 " ntfsresize-size device size\n"
19927 "\n"
19928 msgstr ""
19929
19930 # type: textblock
19931 #: ../fish/guestfish-actions.pod:2695
19932 msgid ""
19933 "This command is the same as L</ntfsresize> except that it allows you to "
19934 "specify the new size (in bytes) explicitly."
19935 msgstr ""
19936
19937 # type: =head2
19938 #: ../fish/guestfish-actions.pod:2698
19939 msgid "part-add"
19940 msgstr ""
19941
19942 # type: verbatim
19943 #: ../fish/guestfish-actions.pod:2700
19944 #, no-wrap
19945 msgid ""
19946 " part-add device prlogex startsect endsect\n"
19947 "\n"
19948 msgstr ""
19949
19950 # type: textblock
19951 #: ../fish/guestfish-actions.pod:2702
19952 msgid ""
19953 "This command adds a partition to C<device>.  If there is no partition table "
19954 "on the device, call L</part-init> first."
19955 msgstr ""
19956
19957 # type: textblock
19958 #: ../fish/guestfish-actions.pod:2714
19959 msgid ""
19960 "Creating a partition which covers the whole disk is not so easy.  Use L</"
19961 "part-disk> to do that."
19962 msgstr ""
19963
19964 # type: =head2
19965 #: ../fish/guestfish-actions.pod:2717
19966 msgid "part-del"
19967 msgstr ""
19968
19969 # type: verbatim
19970 #: ../fish/guestfish-actions.pod:2719
19971 #, no-wrap
19972 msgid ""
19973 " part-del device partnum\n"
19974 "\n"
19975 msgstr ""
19976
19977 # type: =head2
19978 #: ../fish/guestfish-actions.pod:2727
19979 msgid "part-disk"
19980 msgstr ""
19981
19982 # type: verbatim
19983 #: ../fish/guestfish-actions.pod:2729
19984 #, no-wrap
19985 msgid ""
19986 " part-disk device parttype\n"
19987 "\n"
19988 msgstr ""
19989
19990 # type: textblock
19991 #: ../fish/guestfish-actions.pod:2731
19992 msgid ""
19993 "This command is simply a combination of L</part-init> followed by L</part-"
19994 "add> to create a single primary partition covering the whole disk."
19995 msgstr ""
19996
19997 # type: textblock
19998 #: ../fish/guestfish-actions.pod:2735
19999 msgid ""
20000 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
20001 "possible values are described in L</part-init>."
20002 msgstr ""
20003
20004 # type: =head2
20005 #: ../fish/guestfish-actions.pod:2741
20006 msgid "part-get-bootable"
20007 msgstr ""
20008
20009 # type: verbatim
20010 #: ../fish/guestfish-actions.pod:2743
20011 #, no-wrap
20012 msgid ""
20013 " part-get-bootable device partnum\n"
20014 "\n"
20015 msgstr ""
20016
20017 # type: textblock
20018 #: ../fish/guestfish-actions.pod:2748
20019 msgid "See also L</part-set-bootable>."
20020 msgstr ""
20021
20022 # type: =head2
20023 #: ../fish/guestfish-actions.pod:2750
20024 msgid "part-get-mbr-id"
20025 msgstr ""
20026
20027 # type: verbatim
20028 #: ../fish/guestfish-actions.pod:2752
20029 #, no-wrap
20030 msgid ""
20031 " part-get-mbr-id device partnum\n"
20032 "\n"
20033 msgstr ""
20034
20035 # type: textblock
20036 #: ../fish/guestfish-actions.pod:2757 ../fish/guestfish-actions.pod:2895
20037 msgid ""
20038 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
20039 "undefined results for other partition table types (see L</part-get-"
20040 "parttype>)."
20041 msgstr ""
20042
20043 # type: =head2
20044 #: ../fish/guestfish-actions.pod:2761
20045 msgid "part-get-parttype"
20046 msgstr ""
20047
20048 # type: verbatim
20049 #: ../fish/guestfish-actions.pod:2763
20050 #, no-wrap
20051 msgid ""
20052 " part-get-parttype device\n"
20053 "\n"
20054 msgstr ""
20055
20056 # type: textblock
20057 #: ../fish/guestfish-actions.pod:2768
20058 msgid ""
20059 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
20060 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
20061 "possible, although unusual.  See L</part-init> for a full list."
20062 msgstr ""
20063
20064 # type: =head2
20065 #: ../fish/guestfish-actions.pod:2773
20066 msgid "part-init"
20067 msgstr ""
20068
20069 # type: verbatim
20070 #: ../fish/guestfish-actions.pod:2775
20071 #, no-wrap
20072 msgid ""
20073 " part-init device parttype\n"
20074 "\n"
20075 msgstr ""
20076
20077 # type: textblock
20078 #: ../fish/guestfish-actions.pod:2781
20079 msgid ""
20080 "Initially there are no partitions.  Following this, you should call L</part-"
20081 "add> for each partition required."
20082 msgstr ""
20083
20084 # type: =head2
20085 #: ../fish/guestfish-actions.pod:2844
20086 msgid "part-list"
20087 msgstr ""
20088
20089 # type: verbatim
20090 #: ../fish/guestfish-actions.pod:2846
20091 #, no-wrap
20092 msgid ""
20093 " part-list device\n"
20094 "\n"
20095 msgstr ""
20096
20097 # type: textblock
20098 #: ../fish/guestfish-actions.pod:2861
20099 msgid ""
20100 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
20101 "the device's sector size, see L</blockdev-getss>."
20102 msgstr ""
20103
20104 # type: =head2
20105 #: ../fish/guestfish-actions.pod:2874
20106 msgid "part-set-bootable"
20107 msgstr ""
20108
20109 # type: verbatim
20110 #: ../fish/guestfish-actions.pod:2876
20111 #, no-wrap
20112 msgid ""
20113 " part-set-bootable device partnum true|false\n"
20114 "\n"
20115 msgstr ""
20116
20117 # type: =head2
20118 #: ../fish/guestfish-actions.pod:2885
20119 msgid "part-set-mbr-id"
20120 msgstr ""
20121
20122 # type: verbatim
20123 #: ../fish/guestfish-actions.pod:2887
20124 #, no-wrap
20125 msgid ""
20126 " part-set-mbr-id device partnum idbyte\n"
20127 "\n"
20128 msgstr ""
20129
20130 # type: =head2
20131 #: ../fish/guestfish-actions.pod:2899
20132 msgid "part-set-name"
20133 msgstr ""
20134
20135 # type: verbatim
20136 #: ../fish/guestfish-actions.pod:2901
20137 #, no-wrap
20138 msgid ""
20139 " part-set-name device partnum name\n"
20140 "\n"
20141 msgstr ""
20142
20143 # type: =head2
20144 #: ../fish/guestfish-actions.pod:2909
20145 msgid "part-to-dev"
20146 msgstr ""
20147
20148 # type: verbatim
20149 #: ../fish/guestfish-actions.pod:2911
20150 #, no-wrap
20151 msgid ""
20152 " part-to-dev partition\n"
20153 "\n"
20154 msgstr ""
20155
20156 # type: textblock
20157 #: ../fish/guestfish-actions.pod:2917
20158 msgid ""
20159 "The named partition must exist, for example as a string returned from L</"
20160 "list-partitions>."
20161 msgstr ""
20162
20163 # type: =head2
20164 #: ../fish/guestfish-actions.pod:2920
20165 msgid "ping-daemon"
20166 msgstr ""
20167
20168 # type: verbatim
20169 #: ../fish/guestfish-actions.pod:2922
20170 #, no-wrap
20171 msgid ""
20172 " ping-daemon\n"
20173 "\n"
20174 msgstr ""
20175
20176 # type: =head2
20177 #: ../fish/guestfish-actions.pod:2929
20178 msgid "pread"
20179 msgstr ""
20180
20181 # type: verbatim
20182 #: ../fish/guestfish-actions.pod:2931
20183 #, no-wrap
20184 msgid ""
20185 " pread path count offset\n"
20186 "\n"
20187 msgstr ""
20188
20189 # type: textblock
20190 #: ../fish/guestfish-actions.pod:2939
20191 msgid "See also L</pwrite>."
20192 msgstr ""
20193
20194 # type: =head2
20195 #: ../fish/guestfish-actions.pod:2944
20196 msgid "pvcreate"
20197 msgstr ""
20198
20199 # type: verbatim
20200 #: ../fish/guestfish-actions.pod:2946
20201 #, no-wrap
20202 msgid ""
20203 " pvcreate device\n"
20204 "\n"
20205 msgstr ""
20206
20207 # type: =head2
20208 #: ../fish/guestfish-actions.pod:2952
20209 msgid "pvremove"
20210 msgstr ""
20211
20212 # type: verbatim
20213 #: ../fish/guestfish-actions.pod:2954
20214 #, no-wrap
20215 msgid ""
20216 " pvremove device\n"
20217 "\n"
20218 msgstr ""
20219
20220 # type: =head2
20221 #: ../fish/guestfish-actions.pod:2963
20222 msgid "pvresize"
20223 msgstr ""
20224
20225 # type: verbatim
20226 #: ../fish/guestfish-actions.pod:2965
20227 #, no-wrap
20228 msgid ""
20229 " pvresize device\n"
20230 "\n"
20231 msgstr ""
20232
20233 # type: =head2
20234 #: ../fish/guestfish-actions.pod:2970
20235 msgid "pvresize-size"
20236 msgstr ""
20237
20238 # type: verbatim
20239 #: ../fish/guestfish-actions.pod:2972
20240 #, no-wrap
20241 msgid ""
20242 " pvresize-size device size\n"
20243 "\n"
20244 msgstr ""
20245
20246 # type: textblock
20247 #: ../fish/guestfish-actions.pod:2974
20248 msgid ""
20249 "This command is the same as L</pvresize> except that it allows you to "
20250 "specify the new size (in bytes) explicitly."
20251 msgstr ""
20252
20253 # type: =head2
20254 #: ../fish/guestfish-actions.pod:2977
20255 msgid "pvs"
20256 msgstr ""
20257
20258 # type: verbatim
20259 #: ../fish/guestfish-actions.pod:2979
20260 #, no-wrap
20261 msgid ""
20262 " pvs\n"
20263 "\n"
20264 msgstr ""
20265
20266 # type: textblock
20267 #: ../fish/guestfish-actions.pod:2987
20268 msgid "See also L</pvs-full>."
20269 msgstr ""
20270
20271 # type: =head2
20272 #: ../fish/guestfish-actions.pod:2989
20273 msgid "pvs-full"
20274 msgstr ""
20275
20276 # type: verbatim
20277 #: ../fish/guestfish-actions.pod:2991
20278 #, no-wrap
20279 msgid ""
20280 " pvs-full\n"
20281 "\n"
20282 msgstr ""
20283
20284 # type: =head2
20285 #: ../fish/guestfish-actions.pod:2996
20286 msgid "pvuuid"
20287 msgstr ""
20288
20289 # type: verbatim
20290 #: ../fish/guestfish-actions.pod:2998
20291 #, no-wrap
20292 msgid ""
20293 " pvuuid device\n"
20294 "\n"
20295 msgstr ""
20296
20297 # type: =head2
20298 #: ../fish/guestfish-actions.pod:3002
20299 msgid "pwrite"
20300 msgstr ""
20301
20302 # type: verbatim
20303 #: ../fish/guestfish-actions.pod:3004
20304 #, no-wrap
20305 msgid ""
20306 " pwrite path content offset\n"
20307 "\n"
20308 msgstr ""
20309
20310 # type: textblock
20311 #: ../fish/guestfish-actions.pod:3015
20312 msgid "See also L</pread>."
20313 msgstr ""
20314
20315 # type: =head2
20316 #: ../fish/guestfish-actions.pod:3020
20317 msgid "read-file"
20318 msgstr ""
20319
20320 # type: verbatim
20321 #: ../fish/guestfish-actions.pod:3022
20322 #, no-wrap
20323 msgid ""
20324 " read-file path\n"
20325 "\n"
20326 msgstr ""
20327
20328 # type: textblock
20329 #: ../fish/guestfish-actions.pod:3027
20330 msgid ""
20331 "Unlike L</cat>, this function can correctly handle files that contain "
20332 "embedded ASCII NUL characters.  However unlike L</download>, this function "
20333 "is limited in the total size of file that can be handled."
20334 msgstr ""
20335
20336 # type: =head2
20337 #: ../fish/guestfish-actions.pod:3035
20338 msgid "read-lines"
20339 msgstr ""
20340
20341 # type: verbatim
20342 #: ../fish/guestfish-actions.pod:3037
20343 #, no-wrap
20344 msgid ""
20345 " read-lines path\n"
20346 "\n"
20347 msgstr ""
20348
20349 # type: textblock
20350 #: ../fish/guestfish-actions.pod:3044
20351 msgid ""
20352 "Note that this function cannot correctly handle binary files (specifically, "
20353 "files containing C<\\0> character which is treated as end of line).  For "
20354 "those you need to use the L</read-file> function which has a more complex "
20355 "interface."
20356 msgstr ""
20357
20358 # type: =head2
20359 #: ../fish/guestfish-actions.pod:3049
20360 msgid "readdir"
20361 msgstr ""
20362
20363 # type: verbatim
20364 #: ../fish/guestfish-actions.pod:3051
20365 #, no-wrap
20366 msgid ""
20367 " readdir dir\n"
20368 "\n"
20369 msgstr ""
20370
20371 # type: textblock
20372 #: ../fish/guestfish-actions.pod:3103
20373 msgid ""
20374 "This function is primarily intended for use by programs.  To get a simple "
20375 "list of names, use L</ls>.  To get a printable directory for human "
20376 "consumption, use L</ll>."
20377 msgstr ""
20378
20379 # type: =head2
20380 #: ../fish/guestfish-actions.pod:3107
20381 msgid "readlink"
20382 msgstr ""
20383
20384 # type: verbatim
20385 #: ../fish/guestfish-actions.pod:3109
20386 #, no-wrap
20387 msgid ""
20388 " readlink path\n"
20389 "\n"
20390 msgstr ""
20391
20392 # type: =head2
20393 #: ../fish/guestfish-actions.pod:3113
20394 msgid "readlinklist"
20395 msgstr ""
20396
20397 # type: verbatim
20398 #: ../fish/guestfish-actions.pod:3115
20399 #, no-wrap
20400 msgid ""
20401 " readlinklist path 'names ...'\n"
20402 "\n"
20403 msgstr ""
20404
20405 # type: =head2
20406 #: ../fish/guestfish-actions.pod:3139
20407 msgid "realpath"
20408 msgstr ""
20409
20410 # type: verbatim
20411 #: ../fish/guestfish-actions.pod:3141
20412 #, no-wrap
20413 msgid ""
20414 " realpath path\n"
20415 "\n"
20416 msgstr ""
20417
20418 # type: =head2
20419 #: ../fish/guestfish-actions.pod:3146
20420 msgid "removexattr"
20421 msgstr ""
20422
20423 # type: verbatim
20424 #: ../fish/guestfish-actions.pod:3148
20425 #, no-wrap
20426 msgid ""
20427 " removexattr xattr path\n"
20428 "\n"
20429 msgstr ""
20430
20431 # type: textblock
20432 #: ../fish/guestfish-actions.pod:3153
20433 msgid "See also: L</lremovexattr>, L<attr(5)>."
20434 msgstr ""
20435
20436 # type: =head2
20437 #: ../fish/guestfish-actions.pod:3155
20438 msgid "resize2fs"
20439 msgstr ""
20440
20441 # type: verbatim
20442 #: ../fish/guestfish-actions.pod:3157
20443 #, no-wrap
20444 msgid ""
20445 " resize2fs device\n"
20446 "\n"
20447 msgstr ""
20448
20449 # type: textblock
20450 #: ../fish/guestfish-actions.pod:3162
20451 msgid ""
20452 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
20453 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
20454 "gives an error about this and sometimes not.  In any case, it is always safe "
20455 "to call L</e2fsck-f> before calling this function."
20456 msgstr ""
20457
20458 # type: =head2
20459 #: ../fish/guestfish-actions.pod:3168
20460 msgid "resize2fs-size"
20461 msgstr ""
20462
20463 # type: verbatim
20464 #: ../fish/guestfish-actions.pod:3170
20465 #, no-wrap
20466 msgid ""
20467 " resize2fs-size device size\n"
20468 "\n"
20469 msgstr ""
20470
20471 # type: textblock
20472 #: ../fish/guestfish-actions.pod:3172
20473 msgid ""
20474 "This command is the same as L</resize2fs> except that it allows you to "
20475 "specify the new size (in bytes) explicitly."
20476 msgstr ""
20477
20478 # type: =head2
20479 #: ../fish/guestfish-actions.pod:3175
20480 msgid "rm"
20481 msgstr ""
20482
20483 # type: verbatim
20484 #: ../fish/guestfish-actions.pod:3177
20485 #, no-wrap
20486 msgid ""
20487 " rm path\n"
20488 "\n"
20489 msgstr ""
20490
20491 # type: =head2
20492 #: ../fish/guestfish-actions.pod:3181
20493 msgid "rm-rf"
20494 msgstr ""
20495
20496 # type: verbatim
20497 #: ../fish/guestfish-actions.pod:3183
20498 #, no-wrap
20499 msgid ""
20500 " rm-rf path\n"
20501 "\n"
20502 msgstr ""
20503
20504 # type: =head2
20505 #: ../fish/guestfish-actions.pod:3189
20506 msgid "rmdir"
20507 msgstr ""
20508
20509 # type: verbatim
20510 #: ../fish/guestfish-actions.pod:3191
20511 #, no-wrap
20512 msgid ""
20513 " rmdir path\n"
20514 "\n"
20515 msgstr ""
20516
20517 # type: =head2
20518 #: ../fish/guestfish-actions.pod:3195
20519 msgid "rmmountpoint"
20520 msgstr ""
20521
20522 # type: verbatim
20523 #: ../fish/guestfish-actions.pod:3197
20524 #, no-wrap
20525 msgid ""
20526 " rmmountpoint exemptpath\n"
20527 "\n"
20528 msgstr ""
20529
20530 # type: textblock
20531 #: ../fish/guestfish-actions.pod:3199
20532 msgid ""
20533 "This calls removes a mountpoint that was previously created with L</"
20534 "mkmountpoint>.  See L</mkmountpoint> for full details."
20535 msgstr ""
20536
20537 # type: =head2
20538 #: ../fish/guestfish-actions.pod:3203
20539 msgid "scrub-device"
20540 msgstr ""
20541
20542 # type: verbatim
20543 #: ../fish/guestfish-actions.pod:3205
20544 #, no-wrap
20545 msgid ""
20546 " scrub-device device\n"
20547 "\n"
20548 msgstr ""
20549
20550 # type: =head2
20551 #: ../fish/guestfish-actions.pod:3216
20552 msgid "scrub-file"
20553 msgstr ""
20554
20555 # type: verbatim
20556 #: ../fish/guestfish-actions.pod:3218
20557 #, no-wrap
20558 msgid ""
20559 " scrub-file file\n"
20560 "\n"
20561 msgstr ""
20562
20563 # type: =head2
20564 #: ../fish/guestfish-actions.pod:3228
20565 msgid "scrub-freespace"
20566 msgstr ""
20567
20568 # type: verbatim
20569 #: ../fish/guestfish-actions.pod:3230
20570 #, no-wrap
20571 msgid ""
20572 " scrub-freespace dir\n"
20573 "\n"
20574 msgstr ""
20575
20576 # type: textblock
20577 #: ../fish/guestfish-actions.pod:3232
20578 msgid ""
20579 "This command creates the directory C<dir> and then fills it with files until "
20580 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
20581 "deletes them.  The intention is to scrub any free space on the partition "
20582 "containing C<dir>."
20583 msgstr ""
20584
20585 # type: =head2
20586 #: ../fish/guestfish-actions.pod:3241
20587 msgid "set-append | append"
20588 msgstr ""
20589
20590 # type: verbatim
20591 #: ../fish/guestfish-actions.pod:3243
20592 #, no-wrap
20593 msgid ""
20594 " set-append append\n"
20595 "\n"
20596 msgstr ""
20597
20598 # type: =head2
20599 #: ../fish/guestfish-actions.pod:3254
20600 msgid "set-autosync | autosync"
20601 msgstr ""
20602
20603 # type: verbatim
20604 #: ../fish/guestfish-actions.pod:3256
20605 #, no-wrap
20606 msgid ""
20607 " set-autosync true|false\n"
20608 "\n"
20609 msgstr ""
20610
20611 # type: textblock
20612 #: ../fish/guestfish-actions.pod:3258
20613 msgid ""
20614 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20615 "effort attempt to run L</umount-all> followed by L</sync> when the handle is "
20616 "closed (also if the program exits without closing handles)."
20617 msgstr ""
20618
20619 # type: =head2
20620 #: ../fish/guestfish-actions.pod:3266
20621 msgid "set-direct | direct"
20622 msgstr ""
20623
20624 # type: verbatim
20625 #: ../fish/guestfish-actions.pod:3268
20626 #, no-wrap
20627 msgid ""
20628 " set-direct true|false\n"
20629 "\n"
20630 msgstr ""
20631
20632 # type: textblock
20633 #: ../fish/guestfish-actions.pod:3274
20634 msgid ""
20635 "One consequence of this is that log messages aren't caught by the library "
20636 "and handled by L</set-log-message-callback>, but go straight to stdout."
20637 msgstr ""
20638
20639 # type: =head2
20640 #: ../fish/guestfish-actions.pod:3283
20641 msgid "set-e2label"
20642 msgstr ""
20643
20644 # type: verbatim
20645 #: ../fish/guestfish-actions.pod:3285
20646 #, no-wrap
20647 msgid ""
20648 " set-e2label device label\n"
20649 "\n"
20650 msgstr ""
20651
20652 # type: textblock
20653 #: ../fish/guestfish-actions.pod:3291
20654 msgid ""
20655 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
20656 "label on a filesystem."
20657 msgstr ""
20658
20659 # type: =head2
20660 #: ../fish/guestfish-actions.pod:3294
20661 msgid "set-e2uuid"
20662 msgstr ""
20663
20664 # type: verbatim
20665 #: ../fish/guestfish-actions.pod:3296
20666 #, no-wrap
20667 msgid ""
20668 " set-e2uuid device uuid\n"
20669 "\n"
20670 msgstr ""
20671
20672 # type: textblock
20673 #: ../fish/guestfish-actions.pod:3303
20674 msgid ""
20675 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
20676 "UUID of a filesystem."
20677 msgstr ""
20678
20679 # type: =head2
20680 #: ../fish/guestfish-actions.pod:3306
20681 msgid "set-memsize | memsize"
20682 msgstr ""
20683
20684 # type: verbatim
20685 #: ../fish/guestfish-actions.pod:3308
20686 #, no-wrap
20687 msgid ""
20688 " set-memsize memsize\n"
20689 "\n"
20690 msgstr ""
20691
20692 # type: textblock
20693 #: ../fish/guestfish-actions.pod:3310
20694 msgid ""
20695 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
20696 "This only has any effect if called before L</launch>."
20697 msgstr ""
20698
20699 # type: =head2
20700 #: ../fish/guestfish-actions.pod:3321
20701 msgid "set-network | network"
20702 msgstr ""
20703
20704 # type: verbatim
20705 #: ../fish/guestfish-actions.pod:3323
20706 #, no-wrap
20707 msgid ""
20708 " set-network true|false\n"
20709 "\n"
20710 msgstr ""
20711
20712 # type: textblock
20713 #: ../fish/guestfish-actions.pod:3331
20714 msgid ""
20715 "You must call this before calling L</launch>, otherwise it has no effect."
20716 msgstr ""
20717
20718 # type: =head2
20719 #: ../fish/guestfish-actions.pod:3334
20720 msgid "set-path | path"
20721 msgstr ""
20722
20723 # type: verbatim
20724 #: ../fish/guestfish-actions.pod:3336
20725 #, no-wrap
20726 msgid ""
20727 " set-path searchpath\n"
20728 "\n"
20729 msgstr ""
20730
20731 # type: =head2
20732 #: ../fish/guestfish-actions.pod:3345
20733 msgid "set-qemu | qemu"
20734 msgstr ""
20735
20736 # type: verbatim
20737 #: ../fish/guestfish-actions.pod:3347
20738 #, no-wrap
20739 msgid ""
20740 " set-qemu qemu\n"
20741 "\n"
20742 msgstr ""
20743
20744 # type: =head2
20745 #: ../fish/guestfish-actions.pod:3367
20746 msgid "set-recovery-proc | recovery-proc"
20747 msgstr ""
20748
20749 # type: verbatim
20750 #: ../fish/guestfish-actions.pod:3369
20751 #, no-wrap
20752 msgid ""
20753 " set-recovery-proc true|false\n"
20754 "\n"
20755 msgstr ""
20756
20757 # type: textblock
20758 #: ../fish/guestfish-actions.pod:3371
20759 msgid ""
20760 "If this is called with the parameter C<false> then L</launch> does not "
20761 "create a recovery process.  The purpose of the recovery process is to stop "
20762 "runaway qemu processes in the case where the main program aborts abruptly."
20763 msgstr ""
20764
20765 # type: textblock
20766 #: ../fish/guestfish-actions.pod:3376
20767 msgid ""
20768 "This only has any effect if called before L</launch>, and the default is "
20769 "true."
20770 msgstr ""
20771
20772 # type: =head2
20773 #: ../fish/guestfish-actions.pod:3385
20774 msgid "set-selinux | selinux"
20775 msgstr ""
20776
20777 # type: verbatim
20778 #: ../fish/guestfish-actions.pod:3387
20779 #, no-wrap
20780 msgid ""
20781 " set-selinux true|false\n"
20782 "\n"
20783 msgstr ""
20784
20785 # type: =head2
20786 #: ../fish/guestfish-actions.pod:3398
20787 msgid "set-trace | trace"
20788 msgstr ""
20789
20790 # type: verbatim
20791 #: ../fish/guestfish-actions.pod:3400
20792 #, no-wrap
20793 msgid ""
20794 " set-trace true|false\n"
20795 "\n"
20796 msgstr ""
20797
20798 # type: =head2
20799 #: ../fish/guestfish-actions.pod:3416
20800 msgid "set-verbose | verbose"
20801 msgstr ""
20802
20803 # type: verbatim
20804 #: ../fish/guestfish-actions.pod:3418
20805 #, no-wrap
20806 msgid ""
20807 " set-verbose true|false\n"
20808 "\n"
20809 msgstr ""
20810
20811 # type: =head2
20812 #: ../fish/guestfish-actions.pod:3425
20813 msgid "setcon"
20814 msgstr ""
20815
20816 # type: verbatim
20817 #: ../fish/guestfish-actions.pod:3427
20818 #, no-wrap
20819 msgid ""
20820 " setcon context\n"
20821 "\n"
20822 msgstr ""
20823
20824 # type: =head2
20825 #: ../fish/guestfish-actions.pod:3434
20826 msgid "setxattr"
20827 msgstr ""
20828
20829 # type: verbatim
20830 #: ../fish/guestfish-actions.pod:3436
20831 #, no-wrap
20832 msgid ""
20833 " setxattr xattr val vallen path\n"
20834 "\n"
20835 msgstr ""
20836
20837 # type: textblock
20838 #: ../fish/guestfish-actions.pod:3442
20839 msgid "See also: L</lsetxattr>, L<attr(5)>."
20840 msgstr ""
20841
20842 # type: =head2
20843 #: ../fish/guestfish-actions.pod:3444
20844 msgid "sfdisk"
20845 msgstr ""
20846
20847 # type: verbatim
20848 #: ../fish/guestfish-actions.pod:3446
20849 #, no-wrap
20850 msgid ""
20851 " sfdisk device cyls heads sectors 'lines ...'\n"
20852 "\n"
20853 msgstr ""
20854
20855 # type: textblock
20856 #: ../fish/guestfish-actions.pod:3468
20857 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
20858 msgstr ""
20859
20860 # type: =head2
20861 #: ../fish/guestfish-actions.pod:3474
20862 msgid "sfdiskM"
20863 msgstr ""
20864
20865 # type: verbatim
20866 #: ../fish/guestfish-actions.pod:3476
20867 #, no-wrap
20868 msgid ""
20869 " sfdiskM device 'lines ...'\n"
20870 "\n"
20871 msgstr ""
20872
20873 # type: textblock
20874 #: ../fish/guestfish-actions.pod:3478
20875 msgid ""
20876 "This is a simplified interface to the L</sfdisk> command, where partition "
20877 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
20878 "you don't need to specify the cyls, heads and sectors parameters which were "
20879 "rarely if ever used anyway."
20880 msgstr ""
20881
20882 # type: textblock
20883 #: ../fish/guestfish-actions.pod:3484
20884 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
20885 msgstr ""
20886
20887 # type: =head2
20888 #: ../fish/guestfish-actions.pod:3490
20889 msgid "sfdisk-N"
20890 msgstr ""
20891
20892 # type: verbatim
20893 #: ../fish/guestfish-actions.pod:3492
20894 #, no-wrap
20895 msgid ""
20896 " sfdisk-N device partnum cyls heads sectors line\n"
20897 "\n"
20898 msgstr ""
20899
20900 # type: textblock
20901 #: ../fish/guestfish-actions.pod:3497
20902 msgid ""
20903 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
20904 "cyls/heads/sectors parameters."
20905 msgstr ""
20906
20907 # type: textblock
20908 #: ../fish/guestfish-actions.pod:3500
20909 msgid "See also: L</part-add>"
20910 msgstr ""
20911
20912 # type: =head2
20913 #: ../fish/guestfish-actions.pod:3505
20914 msgid "sfdisk-disk-geometry"
20915 msgstr ""
20916
20917 # type: verbatim
20918 #: ../fish/guestfish-actions.pod:3507
20919 #, no-wrap
20920 msgid ""
20921 " sfdisk-disk-geometry device\n"
20922 "\n"
20923 msgstr ""
20924
20925 # type: textblock
20926 #: ../fish/guestfish-actions.pod:3509
20927 msgid ""
20928 "This displays the disk geometry of C<device> read from the partition table.  "
20929 "Especially in the case where the underlying block device has been resized, "
20930 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
20931 "kernel-geometry>)."
20932 msgstr ""
20933
20934 # type: =head2
20935 #: ../fish/guestfish-actions.pod:3517
20936 msgid "sfdisk-kernel-geometry"
20937 msgstr ""
20938
20939 # type: verbatim
20940 #: ../fish/guestfish-actions.pod:3519
20941 #, no-wrap
20942 msgid ""
20943 " sfdisk-kernel-geometry device\n"
20944 "\n"
20945 msgstr ""
20946
20947 # type: =head2
20948 #: ../fish/guestfish-actions.pod:3526
20949 msgid "sfdisk-l"
20950 msgstr ""
20951
20952 # type: verbatim
20953 #: ../fish/guestfish-actions.pod:3528
20954 #, no-wrap
20955 msgid ""
20956 " sfdisk-l device\n"
20957 "\n"
20958 msgstr ""
20959
20960 # type: textblock
20961 #: ../fish/guestfish-actions.pod:3534
20962 msgid "See also: L</part-list>"
20963 msgstr ""
20964
20965 # type: =head2
20966 #: ../fish/guestfish-actions.pod:3536
20967 msgid "sh"
20968 msgstr ""
20969
20970 # type: verbatim
20971 #: ../fish/guestfish-actions.pod:3538
20972 #, no-wrap
20973 msgid ""
20974 " sh command\n"
20975 "\n"
20976 msgstr ""
20977
20978 # type: textblock
20979 #: ../fish/guestfish-actions.pod:3543
20980 msgid "This is like L</command>, but passes the command to:"
20981 msgstr ""
20982
20983 # type: textblock
20984 #: ../fish/guestfish-actions.pod:3551
20985 msgid "All the provisos about L</command> apply to this call."
20986 msgstr ""
20987
20988 # type: =head2
20989 #: ../fish/guestfish-actions.pod:3553
20990 msgid "sh-lines"
20991 msgstr ""
20992
20993 # type: verbatim
20994 #: ../fish/guestfish-actions.pod:3555
20995 #, no-wrap
20996 msgid ""
20997 " sh-lines command\n"
20998 "\n"
20999 msgstr ""
21000
21001 # type: textblock
21002 #: ../fish/guestfish-actions.pod:3557
21003 msgid "This is the same as L</sh>, but splits the result into a list of lines."
21004 msgstr ""
21005
21006 # type: textblock
21007 #: ../fish/guestfish-actions.pod:3560
21008 msgid "See also: L</command-lines>"
21009 msgstr ""
21010
21011 # type: =head2
21012 #: ../fish/guestfish-actions.pod:3562
21013 msgid "sleep"
21014 msgstr ""
21015
21016 # type: verbatim
21017 #: ../fish/guestfish-actions.pod:3564
21018 #, no-wrap
21019 msgid ""
21020 " sleep secs\n"
21021 "\n"
21022 msgstr ""
21023
21024 # type: =head2
21025 #: ../fish/guestfish-actions.pod:3568
21026 msgid "stat"
21027 msgstr ""
21028
21029 # type: verbatim
21030 #: ../fish/guestfish-actions.pod:3570
21031 #, no-wrap
21032 msgid ""
21033 " stat path\n"
21034 "\n"
21035 msgstr ""
21036
21037 # type: =head2
21038 #: ../fish/guestfish-actions.pod:3576
21039 msgid "statvfs"
21040 msgstr ""
21041
21042 # type: verbatim
21043 #: ../fish/guestfish-actions.pod:3578
21044 #, no-wrap
21045 msgid ""
21046 " statvfs path\n"
21047 "\n"
21048 msgstr ""
21049
21050 # type: =head2
21051 #: ../fish/guestfish-actions.pod:3586
21052 msgid "strings"
21053 msgstr ""
21054
21055 # type: verbatim
21056 #: ../fish/guestfish-actions.pod:3588
21057 #, no-wrap
21058 msgid ""
21059 " strings path\n"
21060 "\n"
21061 msgstr ""
21062
21063 # type: =head2
21064 #: ../fish/guestfish-actions.pod:3596
21065 msgid "strings-e"
21066 msgstr ""
21067
21068 # type: verbatim
21069 #: ../fish/guestfish-actions.pod:3598
21070 #, no-wrap
21071 msgid ""
21072 " strings-e encoding path\n"
21073 "\n"
21074 msgstr ""
21075
21076 # type: textblock
21077 #: ../fish/guestfish-actions.pod:3600
21078 msgid ""
21079 "This is like the L</strings> command, but allows you to specify the encoding "
21080 "of strings that are looked for in the source file C<path>."
21081 msgstr ""
21082
21083 # type: textblock
21084 #: ../fish/guestfish-actions.pod:3610
21085 msgid ""
21086 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
21087 "ISO-8859-X (this is what L</strings> uses)."
21088 msgstr ""
21089
21090 # type: =head2
21091 #: ../fish/guestfish-actions.pod:3642
21092 msgid "swapoff-device"
21093 msgstr ""
21094
21095 # type: verbatim
21096 #: ../fish/guestfish-actions.pod:3644
21097 #, no-wrap
21098 msgid ""
21099 " swapoff-device device\n"
21100 "\n"
21101 msgstr ""
21102
21103 # type: textblock
21104 #: ../fish/guestfish-actions.pod:3646
21105 msgid ""
21106 "This command disables the libguestfs appliance swap device or partition "
21107 "named C<device>.  See L</swapon-device>."
21108 msgstr ""
21109
21110 # type: =head2
21111 #: ../fish/guestfish-actions.pod:3650
21112 msgid "swapoff-file"
21113 msgstr ""
21114
21115 # type: verbatim
21116 #: ../fish/guestfish-actions.pod:3652
21117 #, no-wrap
21118 msgid ""
21119 " swapoff-file file\n"
21120 "\n"
21121 msgstr ""
21122
21123 # type: =head2
21124 #: ../fish/guestfish-actions.pod:3656
21125 msgid "swapoff-label"
21126 msgstr ""
21127
21128 # type: verbatim
21129 #: ../fish/guestfish-actions.pod:3658
21130 #, no-wrap
21131 msgid ""
21132 " swapoff-label label\n"
21133 "\n"
21134 msgstr ""
21135
21136 # type: =head2
21137 #: ../fish/guestfish-actions.pod:3663
21138 msgid "swapoff-uuid"
21139 msgstr ""
21140
21141 # type: verbatim
21142 #: ../fish/guestfish-actions.pod:3665
21143 #, no-wrap
21144 msgid ""
21145 " swapoff-uuid uuid\n"
21146 "\n"
21147 msgstr ""
21148
21149 # type: =head2
21150 #: ../fish/guestfish-actions.pod:3670
21151 msgid "swapon-device"
21152 msgstr ""
21153
21154 # type: verbatim
21155 #: ../fish/guestfish-actions.pod:3672
21156 #, no-wrap
21157 msgid ""
21158 " swapon-device device\n"
21159 "\n"
21160 msgstr ""
21161
21162 # type: textblock
21163 #: ../fish/guestfish-actions.pod:3674
21164 msgid ""
21165 "This command enables the libguestfs appliance to use the swap device or "
21166 "partition named C<device>.  The increased memory is made available for all "
21167 "commands, for example those run using L</command> or L</sh>."
21168 msgstr ""
21169
21170 # type: =head2
21171 #: ../fish/guestfish-actions.pod:3686
21172 msgid "swapon-file"
21173 msgstr ""
21174
21175 # type: verbatim
21176 #: ../fish/guestfish-actions.pod:3688
21177 #, no-wrap
21178 msgid ""
21179 " swapon-file file\n"
21180 "\n"
21181 msgstr ""
21182
21183 # type: textblock
21184 #: ../fish/guestfish-actions.pod:3690
21185 msgid ""
21186 "This command enables swap to a file.  See L</swapon-device> for other notes."
21187 msgstr ""
21188
21189 # type: =head2
21190 #: ../fish/guestfish-actions.pod:3693
21191 msgid "swapon-label"
21192 msgstr ""
21193
21194 # type: verbatim
21195 #: ../fish/guestfish-actions.pod:3695
21196 #, no-wrap
21197 msgid ""
21198 " swapon-label label\n"
21199 "\n"
21200 msgstr ""
21201
21202 # type: textblock
21203 #: ../fish/guestfish-actions.pod:3697
21204 msgid ""
21205 "This command enables swap to a labeled swap partition.  See L</swapon-"
21206 "device> for other notes."
21207 msgstr ""
21208
21209 # type: =head2
21210 #: ../fish/guestfish-actions.pod:3700
21211 msgid "swapon-uuid"
21212 msgstr ""
21213
21214 # type: verbatim
21215 #: ../fish/guestfish-actions.pod:3702
21216 #, no-wrap
21217 msgid ""
21218 " swapon-uuid uuid\n"
21219 "\n"
21220 msgstr ""
21221
21222 # type: textblock
21223 #: ../fish/guestfish-actions.pod:3704
21224 msgid ""
21225 "This command enables swap to a swap partition with the given UUID.  See L</"
21226 "swapon-device> for other notes."
21227 msgstr ""
21228
21229 # type: =head2
21230 #: ../fish/guestfish-actions.pod:3707
21231 msgid "sync"
21232 msgstr ""
21233
21234 # type: verbatim
21235 #: ../fish/guestfish-actions.pod:3709
21236 #, no-wrap
21237 msgid ""
21238 " sync\n"
21239 "\n"
21240 msgstr ""
21241
21242 # type: =head2
21243 #: ../fish/guestfish-actions.pod:3717
21244 msgid "tail"
21245 msgstr ""
21246
21247 # type: verbatim
21248 #: ../fish/guestfish-actions.pod:3719
21249 #, no-wrap
21250 msgid ""
21251 " tail path\n"
21252 "\n"
21253 msgstr ""
21254
21255 # type: =head2
21256 #: ../fish/guestfish-actions.pod:3727
21257 msgid "tail-n"
21258 msgstr ""
21259
21260 # type: verbatim
21261 #: ../fish/guestfish-actions.pod:3729
21262 #, no-wrap
21263 msgid ""
21264 " tail-n nrlines path\n"
21265 "\n"
21266 msgstr ""
21267
21268 # type: =head2
21269 #: ../fish/guestfish-actions.pod:3742
21270 msgid "tar-in"
21271 msgstr ""
21272
21273 # type: verbatim
21274 #: ../fish/guestfish-actions.pod:3744
21275 #, no-wrap
21276 msgid ""
21277 " tar-in (tarfile|-) directory\n"
21278 "\n"
21279 msgstr ""
21280
21281 # type: textblock
21282 #: ../fish/guestfish-actions.pod:3749
21283 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
21284 msgstr ""
21285
21286 # type: =head2
21287 #: ../fish/guestfish-actions.pod:3754
21288 msgid "tar-out"
21289 msgstr ""
21290
21291 # type: verbatim
21292 #: ../fish/guestfish-actions.pod:3756
21293 #, no-wrap
21294 msgid ""
21295 " tar-out directory (tarfile|-)\n"
21296 "\n"
21297 msgstr ""
21298
21299 # type: textblock
21300 #: ../fish/guestfish-actions.pod:3761
21301 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
21302 msgstr ""
21303
21304 # type: =head2
21305 #: ../fish/guestfish-actions.pod:3766
21306 msgid "tgz-in"
21307 msgstr ""
21308
21309 # type: verbatim
21310 #: ../fish/guestfish-actions.pod:3768
21311 #, no-wrap
21312 msgid ""
21313 " tgz-in (tarball|-) directory\n"
21314 "\n"
21315 msgstr ""
21316
21317 # type: textblock
21318 #: ../fish/guestfish-actions.pod:3773
21319 msgid "To upload an uncompressed tarball, use L</tar-in>."
21320 msgstr ""
21321
21322 # type: =head2
21323 #: ../fish/guestfish-actions.pod:3777
21324 msgid "tgz-out"
21325 msgstr ""
21326
21327 # type: verbatim
21328 #: ../fish/guestfish-actions.pod:3779
21329 #, no-wrap
21330 msgid ""
21331 " tgz-out directory (tarball|-)\n"
21332 "\n"
21333 msgstr ""
21334
21335 # type: textblock
21336 #: ../fish/guestfish-actions.pod:3784
21337 msgid "To download an uncompressed tarball, use L</tar-out>."
21338 msgstr ""
21339
21340 # type: =head2
21341 #: ../fish/guestfish-actions.pod:3788
21342 msgid "touch"
21343 msgstr ""
21344
21345 # type: verbatim
21346 #: ../fish/guestfish-actions.pod:3790
21347 #, no-wrap
21348 msgid ""
21349 " touch path\n"
21350 "\n"
21351 msgstr ""
21352
21353 # type: =head2
21354 #: ../fish/guestfish-actions.pod:3799
21355 msgid "truncate"
21356 msgstr ""
21357
21358 # type: verbatim
21359 #: ../fish/guestfish-actions.pod:3801
21360 #, no-wrap
21361 msgid ""
21362 " truncate path\n"
21363 "\n"
21364 msgstr ""
21365
21366 # type: =head2
21367 #: ../fish/guestfish-actions.pod:3806
21368 msgid "truncate-size"
21369 msgstr ""
21370
21371 # type: verbatim
21372 #: ../fish/guestfish-actions.pod:3808
21373 #, no-wrap
21374 msgid ""
21375 " truncate-size path size\n"
21376 "\n"
21377 msgstr ""
21378
21379 # type: textblock
21380 #: ../fish/guestfish-actions.pod:3813
21381 msgid ""
21382 "If the current file size is less than C<size> then the file is extended to "
21383 "the required size with zero bytes.  This creates a sparse file (ie. disk "
21384 "blocks are not allocated for the file until you write to it).  To create a "
21385 "non-sparse file of zeroes, use L</fallocate64> instead."
21386 msgstr ""
21387
21388 # type: =head2
21389 #: ../fish/guestfish-actions.pod:3819
21390 msgid "tune2fs-l"
21391 msgstr ""
21392
21393 # type: verbatim
21394 #: ../fish/guestfish-actions.pod:3821
21395 #, no-wrap
21396 msgid ""
21397 " tune2fs-l device\n"
21398 "\n"
21399 msgstr ""
21400
21401 # type: =head2
21402 #: ../fish/guestfish-actions.pod:3831
21403 msgid "txz-in"
21404 msgstr ""
21405
21406 # type: verbatim
21407 #: ../fish/guestfish-actions.pod:3833
21408 #, no-wrap
21409 msgid ""
21410 " txz-in (tarball|-) directory\n"
21411 "\n"
21412 msgstr ""
21413
21414 # type: =head2
21415 #: ../fish/guestfish-actions.pod:3840
21416 msgid "txz-out"
21417 msgstr ""
21418
21419 # type: verbatim
21420 #: ../fish/guestfish-actions.pod:3842
21421 #, no-wrap
21422 msgid ""
21423 " txz-out directory (tarball|-)\n"
21424 "\n"
21425 msgstr ""
21426
21427 # type: =head2
21428 #: ../fish/guestfish-actions.pod:3849
21429 msgid "umask"
21430 msgstr ""
21431
21432 # type: verbatim
21433 #: ../fish/guestfish-actions.pod:3851
21434 #, no-wrap
21435 msgid ""
21436 " umask mask\n"
21437 "\n"
21438 msgstr ""
21439
21440 # type: textblock
21441 #: ../fish/guestfish-actions.pod:3865
21442 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
21443 msgstr ""
21444
21445 # type: =head2
21446 #: ../fish/guestfish-actions.pod:3870
21447 msgid "umount | unmount"
21448 msgstr ""
21449
21450 # type: verbatim
21451 #: ../fish/guestfish-actions.pod:3872
21452 #, no-wrap
21453 msgid ""
21454 " umount pathordevice\n"
21455 "\n"
21456 msgstr ""
21457
21458 # type: =head2
21459 #: ../fish/guestfish-actions.pod:3878
21460 msgid "umount-all | unmount-all"
21461 msgstr ""
21462
21463 # type: verbatim
21464 #: ../fish/guestfish-actions.pod:3880
21465 #, no-wrap
21466 msgid ""
21467 " umount-all\n"
21468 "\n"
21469 msgstr ""
21470
21471 # type: =head2
21472 #: ../fish/guestfish-actions.pod:3886
21473 msgid "upload"
21474 msgstr ""
21475
21476 # type: verbatim
21477 #: ../fish/guestfish-actions.pod:3888
21478 #, no-wrap
21479 msgid ""
21480 " upload (filename|-) remotefilename\n"
21481 "\n"
21482 msgstr ""
21483
21484 # type: textblock
21485 #: ../fish/guestfish-actions.pod:3895
21486 msgid "See also L</download>."
21487 msgstr ""
21488
21489 # type: =head2
21490 #: ../fish/guestfish-actions.pod:3899
21491 msgid "utimens"
21492 msgstr ""
21493
21494 # type: verbatim
21495 #: ../fish/guestfish-actions.pod:3901
21496 #, no-wrap
21497 msgid ""
21498 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
21499 "\n"
21500 msgstr ""
21501
21502 # type: =head2
21503 #: ../fish/guestfish-actions.pod:3920
21504 msgid "version"
21505 msgstr ""
21506
21507 # type: verbatim
21508 #: ../fish/guestfish-actions.pod:3922
21509 #, no-wrap
21510 msgid ""
21511 " version\n"
21512 "\n"
21513 msgstr ""
21514
21515 # type: textblock
21516 #: ../fish/guestfish-actions.pod:3949
21517 msgid ""
21518 "I<Note:> Don't use this call to test for availability of features.  In "
21519 "enterprise distributions we backport features from later versions into "
21520 "earlier versions, making this an unreliable way to test for features.  Use "
21521 "L</available> instead."
21522 msgstr ""
21523
21524 # type: =head2
21525 #: ../fish/guestfish-actions.pod:3955
21526 msgid "vfs-label"
21527 msgstr ""
21528
21529 # type: verbatim
21530 #: ../fish/guestfish-actions.pod:3957
21531 #, no-wrap
21532 msgid ""
21533 " vfs-label device\n"
21534 "\n"
21535 msgstr ""
21536
21537 # type: textblock
21538 #: ../fish/guestfish-actions.pod:3964
21539 msgid "To find a filesystem from the label, use L</findfs-label>."
21540 msgstr ""
21541
21542 # type: =head2
21543 #: ../fish/guestfish-actions.pod:3966
21544 msgid "vfs-type"
21545 msgstr ""
21546
21547 # type: verbatim
21548 #: ../fish/guestfish-actions.pod:3968
21549 #, no-wrap
21550 msgid ""
21551 " vfs-type device\n"
21552 "\n"
21553 msgstr ""
21554
21555 # type: =head2
21556 #: ../fish/guestfish-actions.pod:3978
21557 msgid "vfs-uuid"
21558 msgstr ""
21559
21560 # type: verbatim
21561 #: ../fish/guestfish-actions.pod:3980
21562 #, no-wrap
21563 msgid ""
21564 " vfs-uuid device\n"
21565 "\n"
21566 msgstr ""
21567
21568 # type: textblock
21569 #: ../fish/guestfish-actions.pod:3987
21570 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
21571 msgstr ""
21572
21573 # type: =head2
21574 #: ../fish/guestfish-actions.pod:3989
21575 msgid "vg-activate"
21576 msgstr ""
21577
21578 # type: verbatim
21579 #: ../fish/guestfish-actions.pod:3991
21580 #, no-wrap
21581 msgid ""
21582 " vg-activate true|false 'volgroups ...'\n"
21583 "\n"
21584 msgstr ""
21585
21586 # type: =head2
21587 #: ../fish/guestfish-actions.pod:4004
21588 msgid "vg-activate-all"
21589 msgstr ""
21590
21591 # type: verbatim
21592 #: ../fish/guestfish-actions.pod:4006
21593 #, no-wrap
21594 msgid ""
21595 " vg-activate-all true|false\n"
21596 "\n"
21597 msgstr ""
21598
21599 # type: =head2
21600 #: ../fish/guestfish-actions.pod:4016
21601 msgid "vgcreate"
21602 msgstr ""
21603
21604 # type: verbatim
21605 #: ../fish/guestfish-actions.pod:4018
21606 #, no-wrap
21607 msgid ""
21608 " vgcreate volgroup 'physvols ...'\n"
21609 "\n"
21610 msgstr ""
21611
21612 # type: =head2
21613 #: ../fish/guestfish-actions.pod:4023
21614 msgid "vglvuuids"
21615 msgstr ""
21616
21617 # type: verbatim
21618 #: ../fish/guestfish-actions.pod:4025
21619 #, no-wrap
21620 msgid ""
21621 " vglvuuids vgname\n"
21622 "\n"
21623 msgstr ""
21624
21625 # type: textblock
21626 #: ../fish/guestfish-actions.pod:4030
21627 msgid ""
21628 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
21629 "logical volumes and volume groups."
21630 msgstr ""
21631
21632 # type: textblock
21633 #: ../fish/guestfish-actions.pod:4033
21634 msgid "See also L</vgpvuuids>."
21635 msgstr ""
21636
21637 # type: =head2
21638 #: ../fish/guestfish-actions.pod:4035
21639 msgid "vgpvuuids"
21640 msgstr ""
21641
21642 # type: verbatim
21643 #: ../fish/guestfish-actions.pod:4037
21644 #, no-wrap
21645 msgid ""
21646 " vgpvuuids vgname\n"
21647 "\n"
21648 msgstr ""
21649
21650 # type: textblock
21651 #: ../fish/guestfish-actions.pod:4042
21652 msgid ""
21653 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
21654 "physical volumes and volume groups."
21655 msgstr ""
21656
21657 # type: textblock
21658 #: ../fish/guestfish-actions.pod:4045
21659 msgid "See also L</vglvuuids>."
21660 msgstr ""
21661
21662 # type: =head2
21663 #: ../fish/guestfish-actions.pod:4047
21664 msgid "vgremove"
21665 msgstr ""
21666
21667 # type: verbatim
21668 #: ../fish/guestfish-actions.pod:4049
21669 #, no-wrap
21670 msgid ""
21671 " vgremove vgname\n"
21672 "\n"
21673 msgstr ""
21674
21675 # type: =head2
21676 #: ../fish/guestfish-actions.pod:4056
21677 msgid "vgrename"
21678 msgstr ""
21679
21680 # type: verbatim
21681 #: ../fish/guestfish-actions.pod:4058
21682 #, no-wrap
21683 msgid ""
21684 " vgrename volgroup newvolgroup\n"
21685 "\n"
21686 msgstr ""
21687
21688 # type: =head2
21689 #: ../fish/guestfish-actions.pod:4062
21690 msgid "vgs"
21691 msgstr ""
21692
21693 # type: verbatim
21694 #: ../fish/guestfish-actions.pod:4064
21695 #, no-wrap
21696 msgid ""
21697 " vgs\n"
21698 "\n"
21699 msgstr ""
21700
21701 # type: textblock
21702 #: ../fish/guestfish-actions.pod:4072
21703 msgid "See also L</vgs-full>."
21704 msgstr ""
21705
21706 # type: =head2
21707 #: ../fish/guestfish-actions.pod:4074
21708 msgid "vgs-full"
21709 msgstr ""
21710
21711 # type: verbatim
21712 #: ../fish/guestfish-actions.pod:4076
21713 #, no-wrap
21714 msgid ""
21715 " vgs-full\n"
21716 "\n"
21717 msgstr ""
21718
21719 # type: =head2
21720 #: ../fish/guestfish-actions.pod:4081
21721 msgid "vgscan"
21722 msgstr ""
21723
21724 # type: verbatim
21725 #: ../fish/guestfish-actions.pod:4083
21726 #, no-wrap
21727 msgid ""
21728 " vgscan\n"
21729 "\n"
21730 msgstr ""
21731
21732 # type: =head2
21733 #: ../fish/guestfish-actions.pod:4088
21734 msgid "vguuid"
21735 msgstr ""
21736
21737 # type: verbatim
21738 #: ../fish/guestfish-actions.pod:4090
21739 #, no-wrap
21740 msgid ""
21741 " vguuid vgname\n"
21742 "\n"
21743 msgstr ""
21744
21745 # type: =head2
21746 #: ../fish/guestfish-actions.pod:4094
21747 msgid "wc-c"
21748 msgstr ""
21749
21750 # type: verbatim
21751 #: ../fish/guestfish-actions.pod:4096
21752 #, no-wrap
21753 msgid ""
21754 " wc-c path\n"
21755 "\n"
21756 msgstr ""
21757
21758 # type: =head2
21759 #: ../fish/guestfish-actions.pod:4101
21760 msgid "wc-l"
21761 msgstr ""
21762
21763 # type: verbatim
21764 #: ../fish/guestfish-actions.pod:4103
21765 #, no-wrap
21766 msgid ""
21767 " wc-l path\n"
21768 "\n"
21769 msgstr ""
21770
21771 # type: =head2
21772 #: ../fish/guestfish-actions.pod:4108
21773 msgid "wc-w"
21774 msgstr ""
21775
21776 # type: verbatim
21777 #: ../fish/guestfish-actions.pod:4110
21778 #, no-wrap
21779 msgid ""
21780 " wc-w path\n"
21781 "\n"
21782 msgstr ""
21783
21784 # type: =head2
21785 #: ../fish/guestfish-actions.pod:4115
21786 msgid "write"
21787 msgstr ""
21788
21789 # type: verbatim
21790 #: ../fish/guestfish-actions.pod:4117
21791 #, no-wrap
21792 msgid ""
21793 " write path content\n"
21794 "\n"
21795 msgstr ""
21796
21797 # type: =head2
21798 #: ../fish/guestfish-actions.pod:4125
21799 msgid "write-file"
21800 msgstr ""
21801
21802 # type: verbatim
21803 #: ../fish/guestfish-actions.pod:4127
21804 #, no-wrap
21805 msgid ""
21806 " write-file path content size\n"
21807 "\n"
21808 msgstr ""
21809
21810 # type: =head2
21811 #: ../fish/guestfish-actions.pod:4150
21812 msgid "zegrep"
21813 msgstr ""
21814
21815 # type: verbatim
21816 #: ../fish/guestfish-actions.pod:4152
21817 #, no-wrap
21818 msgid ""
21819 " zegrep regex path\n"
21820 "\n"
21821 msgstr ""
21822
21823 # type: =head2
21824 #: ../fish/guestfish-actions.pod:4160
21825 msgid "zegrepi"
21826 msgstr ""
21827
21828 # type: verbatim
21829 #: ../fish/guestfish-actions.pod:4162
21830 #, no-wrap
21831 msgid ""
21832 " zegrepi regex path\n"
21833 "\n"
21834 msgstr ""
21835
21836 # type: =head2
21837 #: ../fish/guestfish-actions.pod:4170
21838 msgid "zero"
21839 msgstr ""
21840
21841 # type: verbatim
21842 #: ../fish/guestfish-actions.pod:4172
21843 #, no-wrap
21844 msgid ""
21845 " zero device\n"
21846 "\n"
21847 msgstr ""
21848
21849 # type: textblock
21850 #: ../fish/guestfish-actions.pod:4180
21851 msgid "See also: L</zero-device>, L</scrub-device>."
21852 msgstr ""
21853
21854 # type: =head2
21855 #: ../fish/guestfish-actions.pod:4182
21856 msgid "zero-device"
21857 msgstr ""
21858
21859 # type: verbatim
21860 #: ../fish/guestfish-actions.pod:4184
21861 #, no-wrap
21862 msgid ""
21863 " zero-device device\n"
21864 "\n"
21865 msgstr ""
21866
21867 # type: textblock
21868 #: ../fish/guestfish-actions.pod:4186
21869 msgid ""
21870 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
21871 "which just zeroes the first few blocks of a device."
21872 msgstr ""
21873
21874 # type: =head2
21875 #: ../fish/guestfish-actions.pod:4193
21876 msgid "zerofree"
21877 msgstr ""
21878
21879 # type: verbatim
21880 #: ../fish/guestfish-actions.pod:4195
21881 #, no-wrap
21882 msgid ""
21883 " zerofree device\n"
21884 "\n"
21885 msgstr ""
21886
21887 # type: =head2
21888 #: ../fish/guestfish-actions.pod:4208
21889 msgid "zfgrep"
21890 msgstr ""
21891
21892 # type: verbatim
21893 #: ../fish/guestfish-actions.pod:4210
21894 #, no-wrap
21895 msgid ""
21896 " zfgrep pattern path\n"
21897 "\n"
21898 msgstr ""
21899
21900 # type: =head2
21901 #: ../fish/guestfish-actions.pod:4218
21902 msgid "zfgrepi"
21903 msgstr ""
21904
21905 # type: verbatim
21906 #: ../fish/guestfish-actions.pod:4220
21907 #, no-wrap
21908 msgid ""
21909 " zfgrepi pattern path\n"
21910 "\n"
21911 msgstr ""
21912
21913 # type: =head2
21914 #: ../fish/guestfish-actions.pod:4228
21915 msgid "zfile"
21916 msgstr ""
21917
21918 # type: verbatim
21919 #: ../fish/guestfish-actions.pod:4230
21920 #, no-wrap
21921 msgid ""
21922 " zfile meth path\n"
21923 "\n"
21924 msgstr ""
21925
21926 # type: textblock
21927 #: ../fish/guestfish-actions.pod:4237
21928 msgid ""
21929 "Since 1.0.63, use L</file> instead which can now process compressed files."
21930 msgstr ""
21931
21932 # type: =head2
21933 #: ../fish/guestfish-actions.pod:4247
21934 msgid "zgrep"
21935 msgstr ""
21936
21937 # type: verbatim
21938 #: ../fish/guestfish-actions.pod:4249
21939 #, no-wrap
21940 msgid ""
21941 " zgrep regex path\n"
21942 "\n"
21943 msgstr ""
21944
21945 # type: =head2
21946 #: ../fish/guestfish-actions.pod:4257
21947 msgid "zgrepi"
21948 msgstr ""
21949
21950 # type: verbatim
21951 #: ../fish/guestfish-actions.pod:4259
21952 #, no-wrap
21953 msgid ""
21954 " zgrepi regex path\n"
21955 "\n"
21956 msgstr ""
21957
21958 # type: =head2
21959 #: ../fish/guestfish-commands.pod:1
21960 msgid "alloc"
21961 msgstr ""
21962
21963 # type: =head2
21964 #: ../fish/guestfish-commands.pod:3
21965 msgid "allocate"
21966 msgstr ""
21967
21968 # type: verbatim
21969 #: ../fish/guestfish-commands.pod:5
21970 #, no-wrap
21971 msgid ""
21972 " alloc filename size\n"
21973 "\n"
21974 msgstr ""
21975
21976 # type: textblock
21977 #: ../fish/guestfish-commands.pod:7
21978 msgid ""
21979 "This creates an empty (zeroed) file of the given size, and then adds so it "
21980 "can be further examined."
21981 msgstr ""
21982
21983 # type: textblock
21984 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:132
21985 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
21986 msgstr ""
21987
21988 # type: textblock
21989 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:134
21990 msgid "Size can be specified using standard suffixes, eg. C<1M>."
21991 msgstr ""
21992
21993 # type: textblock
21994 #: ../fish/guestfish-commands.pod:14
21995 msgid ""
21996 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
21997 "image, see L</PREPARED DISK IMAGES>."
21998 msgstr ""
21999
22000 # type: =head2
22001 #: ../fish/guestfish-commands.pod:17
22002 msgid "copy-in"
22003 msgstr ""
22004
22005 # type: verbatim
22006 #: ../fish/guestfish-commands.pod:19
22007 #, no-wrap
22008 msgid ""
22009 " copy-in local [local ...] /remotedir\n"
22010 "\n"
22011 msgstr ""
22012
22013 # type: textblock
22014 #: ../fish/guestfish-commands.pod:21
22015 msgid ""
22016 "C<copy-in> copies local files or directories recursively into the disk "
22017 "image, placing them in the directory called C</remotedir> (which must "
22018 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
22019 "other commands as necessary."
22020 msgstr ""
22021
22022 # type: textblock
22023 #: ../fish/guestfish-commands.pod:26
22024 msgid ""
22025 "Multiple local files and directories can be specified, but the last "
22026 "parameter must always be a remote directory.  Wildcards cannot be used."
22027 msgstr ""
22028
22029 # type: =head2
22030 #: ../fish/guestfish-commands.pod:30
22031 msgid "copy-out"
22032 msgstr ""
22033
22034 # type: verbatim
22035 #: ../fish/guestfish-commands.pod:32
22036 #, no-wrap
22037 msgid ""
22038 " copy-out remote [remote ...] localdir\n"
22039 "\n"
22040 msgstr ""
22041
22042 # type: textblock
22043 #: ../fish/guestfish-commands.pod:34
22044 msgid ""
22045 "C<copy-out> copies remote files or directories recursively out of the disk "
22046 "image, placing them on the host disk in a local directory called C<localdir> "
22047 "(which must exist).  This guestfish meta-command turns into a sequence of L</"
22048 "download>, L</tar-out> and other commands as necessary."
22049 msgstr ""
22050
22051 # type: textblock
22052 #: ../fish/guestfish-commands.pod:40
22053 msgid ""
22054 "Multiple remote files and directories can be specified, but the last "
22055 "parameter must always be a local directory.  To download to the current "
22056 "directory, use C<.> as in:"
22057 msgstr ""
22058
22059 # type: verbatim
22060 #: ../fish/guestfish-commands.pod:44
22061 #, no-wrap
22062 msgid ""
22063 " copy-out /home .\n"
22064 "\n"
22065 msgstr ""
22066
22067 # type: textblock
22068 #: ../fish/guestfish-commands.pod:46
22069 msgid ""
22070 "Wildcards cannot be used in the ordinary command, but you can use them with "
22071 "the help of L</glob> like this:"
22072 msgstr ""
22073
22074 # type: verbatim
22075 #: ../fish/guestfish-commands.pod:49
22076 #, no-wrap
22077 msgid ""
22078 " glob copy-out /home/* .\n"
22079 "\n"
22080 msgstr ""
22081
22082 # type: =head2
22083 #: ../fish/guestfish-commands.pod:51
22084 msgid "echo"
22085 msgstr ""
22086
22087 # type: verbatim
22088 #: ../fish/guestfish-commands.pod:53
22089 #, no-wrap
22090 msgid ""
22091 " echo [params ...]\n"
22092 "\n"
22093 msgstr ""
22094
22095 # type: textblock
22096 #: ../fish/guestfish-commands.pod:55
22097 msgid "This echos the parameters to the terminal."
22098 msgstr ""
22099
22100 # type: =head2
22101 #: ../fish/guestfish-commands.pod:57
22102 msgid "edit"
22103 msgstr ""
22104
22105 # type: =head2
22106 #: ../fish/guestfish-commands.pod:59
22107 msgid "vi"
22108 msgstr ""
22109
22110 # type: =head2
22111 #: ../fish/guestfish-commands.pod:61
22112 msgid "emacs"
22113 msgstr ""
22114
22115 # type: verbatim
22116 #: ../fish/guestfish-commands.pod:63
22117 #, no-wrap
22118 msgid ""
22119 " edit filename\n"
22120 "\n"
22121 msgstr ""
22122
22123 # type: textblock
22124 #: ../fish/guestfish-commands.pod:65
22125 msgid ""
22126 "This is used to edit a file.  It downloads the file, edits it locally using "
22127 "your editor, then uploads the result."
22128 msgstr ""
22129
22130 # type: textblock
22131 #: ../fish/guestfish-commands.pod:68
22132 msgid ""
22133 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
22134 "or C<emacs> you will get those corresponding editors."
22135 msgstr ""
22136
22137 # type: =head2
22138 #: ../fish/guestfish-commands.pod:72
22139 msgid "glob"
22140 msgstr ""
22141
22142 # type: verbatim
22143 #: ../fish/guestfish-commands.pod:74
22144 #, no-wrap
22145 msgid ""
22146 " glob command args...\n"
22147 "\n"
22148 msgstr ""
22149
22150 # type: textblock
22151 #: ../fish/guestfish-commands.pod:76
22152 msgid ""
22153 "Expand wildcards in any paths in the args list, and run C<command> "
22154 "repeatedly on each matching path."
22155 msgstr ""
22156
22157 # type: textblock
22158 #: ../fish/guestfish-commands.pod:79
22159 msgid "See L</WILDCARDS AND GLOBBING>."
22160 msgstr ""
22161
22162 # type: =head2
22163 #: ../fish/guestfish-commands.pod:81
22164 msgid "lcd"
22165 msgstr ""
22166
22167 # type: verbatim
22168 #: ../fish/guestfish-commands.pod:83
22169 #, no-wrap
22170 msgid ""
22171 " lcd directory\n"
22172 "\n"
22173 msgstr ""
22174
22175 # type: textblock
22176 #: ../fish/guestfish-commands.pod:85
22177 msgid ""
22178 "Change the local directory, ie. the current directory of guestfish itself."
22179 msgstr ""
22180
22181 # type: textblock
22182 #: ../fish/guestfish-commands.pod:88
22183 msgid "Note that C<!cd> won't do what you might expect."
22184 msgstr ""
22185
22186 # type: =head2
22187 #: ../fish/guestfish-commands.pod:90
22188 msgid "man"
22189 msgstr ""
22190
22191 # type: =head2
22192 #: ../fish/guestfish-commands.pod:92
22193 msgid "manual"
22194 msgstr ""
22195
22196 # type: verbatim
22197 #: ../fish/guestfish-commands.pod:94
22198 #, no-wrap
22199 msgid ""
22200 "  man\n"
22201 "\n"
22202 msgstr ""
22203
22204 # type: textblock
22205 #: ../fish/guestfish-commands.pod:96
22206 msgid "Opens the manual page for guestfish."
22207 msgstr ""
22208
22209 # type: =head2
22210 #: ../fish/guestfish-commands.pod:98
22211 msgid "more"
22212 msgstr ""
22213
22214 # type: =head2
22215 #: ../fish/guestfish-commands.pod:100
22216 msgid "less"
22217 msgstr ""
22218
22219 # type: verbatim
22220 #: ../fish/guestfish-commands.pod:102
22221 #, no-wrap
22222 msgid ""
22223 "  more filename\n"
22224 "\n"
22225 msgstr ""
22226
22227 # type: verbatim
22228 #: ../fish/guestfish-commands.pod:104
22229 #, no-wrap
22230 msgid ""
22231 " less filename\n"
22232 "\n"
22233 msgstr ""
22234
22235 # type: textblock
22236 #: ../fish/guestfish-commands.pod:106
22237 msgid "This is used to view a file."
22238 msgstr ""
22239
22240 # type: textblock
22241 #: ../fish/guestfish-commands.pod:108
22242 msgid ""
22243 "The default viewer is C<$PAGER>.  However if you use the alternate command "
22244 "C<less> you will get the C<less> command specifically."
22245 msgstr ""
22246
22247 # type: =head2
22248 #: ../fish/guestfish-commands.pod:111
22249 msgid "reopen"
22250 msgstr ""
22251
22252 # type: verbatim
22253 #: ../fish/guestfish-commands.pod:113
22254 #, no-wrap
22255 msgid ""
22256 "  reopen\n"
22257 "\n"
22258 msgstr ""
22259
22260 # type: textblock
22261 #: ../fish/guestfish-commands.pod:115
22262 msgid ""
22263 "Close and reopen the libguestfs handle.  It is not necessary to use this "
22264 "normally, because the handle is closed properly when guestfish exits.  "
22265 "However this is occasionally useful for testing."
22266 msgstr ""
22267
22268 # type: =head2
22269 #: ../fish/guestfish-commands.pod:119
22270 msgid "sparse"
22271 msgstr ""
22272
22273 # type: verbatim
22274 #: ../fish/guestfish-commands.pod:121
22275 #, no-wrap
22276 msgid ""
22277 " sparse filename size\n"
22278 "\n"
22279 msgstr ""
22280
22281 # type: textblock
22282 #: ../fish/guestfish-commands.pod:123
22283 msgid ""
22284 "This creates an empty sparse file of the given size, and then adds so it can "
22285 "be further examined."
22286 msgstr ""
22287
22288 # type: textblock
22289 #: ../fish/guestfish-commands.pod:126
22290 msgid ""
22291 "In all respects it works the same as the L</alloc> command, except that the "
22292 "image file is allocated sparsely, which means that disk blocks are not "
22293 "assigned to the file until they are needed.  Sparse disk files only use "
22294 "space when written to, but they are slower and there is a danger you could "
22295 "run out of real disk space during a write operation."
22296 msgstr ""
22297
22298 # type: =head2
22299 #: ../fish/guestfish-commands.pod:136
22300 msgid "supported"
22301 msgstr ""
22302
22303 # type: verbatim
22304 #: ../fish/guestfish-commands.pod:138
22305 #, no-wrap
22306 msgid ""
22307 " supported\n"
22308 "\n"
22309 msgstr ""
22310
22311 # type: textblock
22312 #: ../fish/guestfish-commands.pod:140
22313 msgid ""
22314 "This command returns a list of the optional groups known to the daemon, and "
22315 "indicates which ones are supported by this build of the libguestfs appliance."
22316 msgstr ""
22317
22318 # type: textblock
22319 #: ../fish/guestfish-commands.pod:144
22320 msgid "See also L<guestfs(3)/AVAILABILITY>."
22321 msgstr ""
22322
22323 # type: =head2
22324 #: ../fish/guestfish-commands.pod:146
22325 msgid "time"
22326 msgstr ""
22327
22328 # type: verbatim
22329 #: ../fish/guestfish-commands.pod:148
22330 #, no-wrap
22331 msgid ""
22332 " time command args...\n"
22333 "\n"
22334 msgstr ""
22335
22336 # type: textblock
22337 #: ../fish/guestfish-commands.pod:150
22338 msgid ""
22339 "Run the command as usual, but print the elapsed time afterwards.  This can "
22340 "be useful for benchmarking operations."
22341 msgstr ""
22342
22343 # type: textblock
22344 #: ../test-tool/libguestfs-test-tool.pod:5
22345 msgid "libguestfs-test-tool - End user tests for libguestfs"
22346 msgstr ""
22347
22348 # type: verbatim
22349 #: ../test-tool/libguestfs-test-tool.pod:9
22350 #, no-wrap
22351 msgid ""
22352 " libguestfs-test-tool [--options]\n"
22353 "\n"
22354 msgstr ""
22355
22356 # type: textblock
22357 #: ../test-tool/libguestfs-test-tool.pod:13
22358 msgid ""
22359 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
22360 "and developers, to allow them to check basic libguestfs functionality is "
22361 "working.  This is needed because libguestfs occasionally breaks for reasons "
22362 "beyond our control: usually because of changes in the underlying qemu or "
22363 "kernel packages, or the host environment."
22364 msgstr ""
22365
22366 # type: textblock
22367 #: ../test-tool/libguestfs-test-tool.pod:20
22368 msgid "If you suspect a problem in libguestfs, then just run:"
22369 msgstr ""
22370
22371 # type: verbatim
22372 #: ../test-tool/libguestfs-test-tool.pod:22
22373 #, no-wrap
22374 msgid ""
22375 " libguestfs-test-tool\n"
22376 "\n"
22377 msgstr ""
22378
22379 # type: textblock
22380 #: ../test-tool/libguestfs-test-tool.pod:24
22381 msgid "It will print lots of diagnostic messages."
22382 msgstr ""
22383
22384 # type: textblock
22385 #: ../test-tool/libguestfs-test-tool.pod:26
22386 msgid "If it runs to completion successfully, you will see this near the end:"
22387 msgstr ""
22388
22389 # type: verbatim
22390 #: ../test-tool/libguestfs-test-tool.pod:28
22391 #, no-wrap
22392 msgid ""
22393 " ===== TEST FINISHED OK =====\n"
22394 "\n"
22395 msgstr ""
22396
22397 # type: textblock
22398 #: ../test-tool/libguestfs-test-tool.pod:30
22399 msgid "and the test tool will exit with code 0."
22400 msgstr ""
22401
22402 # type: textblock
22403 #: ../test-tool/libguestfs-test-tool.pod:32
22404 msgid ""
22405 "If it fails (and/or exits with non-zero error code), please paste the "
22406 "B<complete, unedited> output of the test tool into a bug report.  More "
22407 "information about reporting bugs can be found on the L<http://libguestfs.org/"
22408 "> website."
22409 msgstr ""
22410
22411 # type: =item
22412 #: ../test-tool/libguestfs-test-tool.pod:41
22413 msgid "I<--help>"
22414 msgstr ""
22415
22416 # type: textblock
22417 #: ../test-tool/libguestfs-test-tool.pod:43
22418 msgid "Display short usage information and exit."
22419 msgstr ""
22420
22421 # type: =item
22422 #: ../test-tool/libguestfs-test-tool.pod:45
22423 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
22424 msgstr ""
22425
22426 # type: textblock
22427 #: ../test-tool/libguestfs-test-tool.pod:47
22428 msgid ""
22429 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
22430 "normally look in the C<$libexec> directory that was configured when the tool "
22431 "was built."
22432 msgstr ""
22433
22434 # type: =item
22435 #: ../test-tool/libguestfs-test-tool.pod:51
22436 msgid "I<--qemu qemu_binary>"
22437 msgstr ""
22438
22439 # type: textblock
22440 #: ../test-tool/libguestfs-test-tool.pod:53
22441 msgid ""
22442 "If you have downloaded another qemu binary, point this option at the full "
22443 "path of the binary to try it."
22444 msgstr ""
22445
22446 # type: =item
22447 #: ../test-tool/libguestfs-test-tool.pod:56
22448 msgid "I<--qemudir qemu_source_dir>"
22449 msgstr ""
22450
22451 # type: textblock
22452 #: ../test-tool/libguestfs-test-tool.pod:58
22453 msgid ""
22454 "If you have compiled qemu from source, point this option at the source "
22455 "directory to try it."
22456 msgstr ""
22457
22458 # type: =item
22459 #: ../test-tool/libguestfs-test-tool.pod:61
22460 msgid "I<--timeout N>"
22461 msgstr ""
22462
22463 # type: textblock
22464 #: ../test-tool/libguestfs-test-tool.pod:63
22465 msgid ""
22466 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
22467 "does not usually need to be adjusted unless your machine is very slow."
22468 msgstr ""
22469
22470 # type: =head1
22471 #: ../test-tool/libguestfs-test-tool.pod:69
22472 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
22473 msgstr ""
22474
22475 # type: textblock
22476 #: ../test-tool/libguestfs-test-tool.pod:71
22477 msgid ""
22478 "If you have compiled another version of qemu from source and would like to "
22479 "try that, then you can use the I<--qemudir> option to point to the qemu "
22480 "source directory."
22481 msgstr ""
22482
22483 # type: textblock
22484 #: ../test-tool/libguestfs-test-tool.pod:75
22485 msgid ""
22486 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
22487 "option to point to the binary."
22488 msgstr ""
22489
22490 # type: textblock
22491 #: ../test-tool/libguestfs-test-tool.pod:78
22492 msgid ""
22493 "When using an alternate qemu with libguestfs, usually you would need to "
22494 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
22495 ">).  libguestfs-test-tool writes a temporary qemu wrapper script when you "
22496 "use either of the I<--qemudir> or I<--qemu> options."
22497 msgstr ""
22498
22499 # type: textblock
22500 #: ../test-tool/libguestfs-test-tool.pod:85
22501 msgid ""
22502 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
22503 "I<1> if there was an error."
22504 msgstr ""
22505
22506 # type: =item
22507 #: ../test-tool/libguestfs-test-tool.pod:92
22508 msgid "/usr/libexec/libguestfs-test-tool-helper"
22509 msgstr ""
22510
22511 # type: textblock
22512 #: ../test-tool/libguestfs-test-tool.pod:94
22513 msgid ""
22514 "This helper program is run inside the appliance and provides additional "
22515 "tests."
22516 msgstr ""
22517
22518 # type: =item
22519 #: ../test-tool/libguestfs-test-tool.pod:97
22520 msgid "/usr/bin/mkisofs"
22521 msgstr ""
22522
22523 # type: textblock
22524 #: ../test-tool/libguestfs-test-tool.pod:99
22525 msgid ""
22526 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
22527 "which is used as part of the tests."
22528 msgstr ""
22529
22530 # type: textblock
22531 #: ../test-tool/libguestfs-test-tool.pod:106
22532 msgid ""
22533 "For the full list of environment variables which may affect libguestfs, "
22534 "please see the L<guestfs(3)> manual page."
22535 msgstr ""
22536
22537 # type: textblock
22538 #: ../test-tool/libguestfs-test-tool.pod:111
22539 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
22540 msgstr ""
22541
22542 # type: textblock
22543 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
22544 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
22545 msgstr ""
22546
22547 # type: textblock
22548 #: ../fuse/guestmount.pod:5
22549 msgid ""
22550 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
22551 msgstr ""
22552
22553 # type: verbatim
22554 #: ../fuse/guestmount.pod:9
22555 #, no-wrap
22556 msgid ""
22557 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
22558 "\n"
22559 msgstr ""
22560
22561 # type: textblock
22562 #: ../fuse/guestmount.pod:13
22563 msgid ""
22564 "You must I<not> use C<guestmount> in read-write mode on live virtual "
22565 "machines.  If you do this, you risk disk corruption in the VM."
22566 msgstr ""
22567
22568 # type: textblock
22569 #: ../fuse/guestmount.pod:18
22570 msgid ""
22571 "The guestmount program can be used to mount virtual machine filesystems and "
22572 "other disk images on the host.  It uses libguestfs for access to the guest "
22573 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
22574 "a mountable device."
22575 msgstr ""
22576
22577 # type: textblock
22578 #: ../fuse/guestmount.pod:23
22579 msgid ""
22580 "Along with other options, you have to give at least one device (I<-a> "
22581 "option) and at least one mountpoint (I<-m> option).  How this works is "
22582 "better explained in the L<guestfish(1)> manual page, or you can use L<virt-"
22583 "inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help you."
22584 msgstr ""
22585
22586 # type: textblock
22587 #: ../fuse/guestmount.pod:29
22588 msgid ""
22589 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
22590 "by you, and the filesystem will not be visible to any other users unless you "
22591 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
22592 "the filesystem, use the C<fusermount -u> command."
22593 msgstr ""
22594
22595 # type: textblock
22596 #: ../fuse/guestmount.pod:37
22597 msgid ""
22598 "For a typical Windows guest which has its main filesystem on the first "
22599 "partition:"
22600 msgstr ""
22601
22602 # type: verbatim
22603 #: ../fuse/guestmount.pod:40
22604 #, no-wrap
22605 msgid ""
22606 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
22607 "\n"
22608 msgstr ""
22609
22610 # type: textblock
22611 #: ../fuse/guestmount.pod:42
22612 msgid ""
22613 "For a typical Linux guest which has a /boot filesystem on the first "
22614 "partition, and the root filesystem on a logical volume:"
22615 msgstr ""
22616
22617 # type: verbatim
22618 #: ../fuse/guestmount.pod:45
22619 #, no-wrap
22620 msgid ""
22621 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
22622 "\n"
22623 msgstr ""
22624
22625 # type: textblock
22626 #: ../fuse/guestmount.pod:47
22627 msgid ""
22628 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
22629 "mountpoints for you:"
22630 msgstr ""
22631
22632 # type: verbatim
22633 #: ../fuse/guestmount.pod:50
22634 #, no-wrap
22635 msgid ""
22636 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
22637 "\n"
22638 msgstr ""
22639
22640 # type: textblock
22641 #: ../fuse/guestmount.pod:52
22642 msgid ""
22643 "(or use --fish if you don't want it to be a read only mount).  The option is "
22644 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
22645 "with L<guestfish(1)>."
22646 msgstr ""
22647
22648 # type: textblock
22649 #: ../fuse/guestmount.pod:56
22650 msgid ""
22651 "If you don't know what filesystems are contained in a guest or disk image, "
22652 "use L<virt-list-filesystems(1)> first:"
22653 msgstr ""
22654
22655 # type: verbatim
22656 #: ../fuse/guestmount.pod:59
22657 #, no-wrap
22658 msgid ""
22659 " virt-list-filesystems MyGuest\n"
22660 "\n"
22661 msgstr ""
22662
22663 # type: textblock
22664 #: ../fuse/guestmount.pod:61
22665 msgid ""
22666 "If you want to trace the libguestfs calls but without excessive debugging, "
22667 "we recommend:"
22668 msgstr ""
22669
22670 # type: verbatim
22671 #: ../fuse/guestmount.pod:64
22672 #, no-wrap
22673 msgid ""
22674 " guestmount [-a ... -m ...] --trace /mnt\n"
22675 "\n"
22676 msgstr ""
22677
22678 # type: textblock
22679 #: ../fuse/guestmount.pod:66
22680 msgid "If you want to debug the program, we recommend:"
22681 msgstr ""
22682
22683 # type: verbatim
22684 #: ../fuse/guestmount.pod:68
22685 #, no-wrap
22686 msgid ""
22687 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
22688 "\n"
22689 msgstr ""
22690
22691 # type: textblock
22692 #: ../fuse/guestmount.pod:76
22693 msgid "Add a block device or virtual machine image."
22694 msgstr ""
22695
22696 # type: =item
22697 #: ../fuse/guestmount.pod:78
22698 msgid "B<--dir-cache-timeout N>"
22699 msgstr ""
22700
22701 # type: textblock
22702 #: ../fuse/guestmount.pod:80
22703 msgid ""
22704 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
22705 "seconds.  The readdir cache [actually, there are several semi-independent "
22706 "caches] is populated after a readdir(2) call with the stat and extended "
22707 "attributes of the files in the directory, in anticipation that they will be "
22708 "requested soon after."
22709 msgstr ""
22710
22711 # type: textblock
22712 #: ../fuse/guestmount.pod:86
22713 msgid ""
22714 "There is also a different attribute cache implemented by FUSE (see the FUSE "
22715 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
22716 "requests, only cache existing ones."
22717 msgstr ""
22718
22719 # type: =item
22720 #: ../fuse/guestmount.pod:90
22721 msgid "B<--fuse-help>"
22722 msgstr ""
22723
22724 # type: textblock
22725 #: ../fuse/guestmount.pod:92
22726 msgid "Display help on special FUSE options (see I<-o> below)."
22727 msgstr ""
22728
22729 # type: textblock
22730 #: ../fuse/guestmount.pod:96
22731 msgid "Display brief help and exit."
22732 msgstr ""
22733
22734 # type: =item
22735 #: ../fuse/guestmount.pod:98
22736 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
22737 msgstr ""
22738
22739 # type: textblock
22740 #: ../fuse/guestmount.pod:100
22741 msgid ""
22742 "Mount the named partition or logical volume on the given mountpoint B<in the "
22743 "guest> (this has nothing to do with mountpoints in the host)."
22744 msgstr ""
22745
22746 # type: textblock
22747 #: ../fuse/guestmount.pod:103
22748 msgid ""
22749 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
22750 "something on C</>."
22751 msgstr ""
22752
22753 # type: textblock
22754 #: ../fuse/guestmount.pod:108
22755 msgid ""
22756 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
22757 "unmounted.  If you specify this option, then we don't attempt to sync the "
22758 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
22759 msgstr ""
22760
22761 # type: =item
22762 #: ../fuse/guestmount.pod:113
22763 msgid "B<-o option> | B<--option option>"
22764 msgstr ""
22765
22766 # type: textblock
22767 #: ../fuse/guestmount.pod:115
22768 msgid "Pass extra options to FUSE."
22769 msgstr ""
22770
22771 # type: textblock
22772 #: ../fuse/guestmount.pod:117
22773 msgid ""
22774 "To get a list of all the extra options supported by FUSE, use the command "
22775 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
22776 "of them are a good idea."
22777 msgstr ""
22778
22779 # type: verbatim
22780 #: ../fuse/guestmount.pod:121
22781 #, no-wrap
22782 msgid ""
22783 " guestmount --fuse-help\n"
22784 "\n"
22785 msgstr ""
22786
22787 # type: textblock
22788 #: ../fuse/guestmount.pod:123
22789 msgid "Some potentially useful FUSE options:"
22790 msgstr ""
22791
22792 # type: =item
22793 #: ../fuse/guestmount.pod:127
22794 msgid "B<-o allow_other>"
22795 msgstr ""
22796
22797 # type: textblock
22798 #: ../fuse/guestmount.pod:129
22799 msgid "Allow other users to see the filesystem."
22800 msgstr ""
22801
22802 # type: =item
22803 #: ../fuse/guestmount.pod:131
22804 msgid "B<-o attr_timeout=N>"
22805 msgstr ""
22806
22807 # type: textblock
22808 #: ../fuse/guestmount.pod:133
22809 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
22810 msgstr ""
22811
22812 # type: =item
22813 #: ../fuse/guestmount.pod:135
22814 msgid "B<-o kernel_cache>"
22815 msgstr ""
22816
22817 # type: textblock
22818 #: ../fuse/guestmount.pod:137
22819 msgid ""
22820 "Allow the kernel to cache files (reduces the number of reads that have to go "
22821 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
22822 "afford the extra memory usage."
22823 msgstr ""
22824
22825 # type: =item
22826 #: ../fuse/guestmount.pod:141
22827 msgid "B<-o uid=N> B<-o gid=N>"
22828 msgstr ""
22829
22830 # type: textblock
22831 #: ../fuse/guestmount.pod:143
22832 msgid ""
22833 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
22834 "the chosen values."
22835 msgstr ""
22836
22837 # type: textblock
22838 #: ../fuse/guestmount.pod:150
22839 msgid ""
22840 "Add devices and mount everything read-only.  Also disallow writes and make "
22841 "the disk appear read-only to FUSE."
22842 msgstr ""
22843
22844 # type: textblock
22845 #: ../fuse/guestmount.pod:153
22846 msgid ""
22847 "This is highly recommended if you are not going to edit the guest disk.  If "
22848 "the guest is running and this option is I<not> supplied, then there is a "
22849 "strong risk of disk corruption in the guest.  We try to prevent this from "
22850 "happening, but it is not always possible."
22851 msgstr ""
22852
22853 # type: textblock
22854 #: ../fuse/guestmount.pod:160
22855 msgid "Enable SELinux support for the guest."
22856 msgstr ""
22857
22858 # type: =item
22859 #: ../fuse/guestmount.pod:162
22860 msgid "B<--trace>"
22861 msgstr ""
22862
22863 # type: textblock
22864 #: ../fuse/guestmount.pod:164
22865 msgid "Trace libguestfs calls (to stderr)."
22866 msgstr ""
22867
22868 # type: textblock
22869 #: ../fuse/guestmount.pod:166
22870 msgid "This also stops the daemon from forking into the background."
22871 msgstr ""
22872
22873 # type: textblock
22874 #: ../fuse/guestmount.pod:170
22875 msgid "Enable verbose messages from underlying libguestfs."
22876 msgstr ""
22877
22878 # type: textblock
22879 #: ../fuse/guestmount.pod:174
22880 msgid "Display the program version and exit."
22881 msgstr ""
22882
22883 # type: textblock
22884 #: ../fuse/guestmount.pod:180
22885 msgid ""
22886 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
22887 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
22888 "net/>."
22889 msgstr ""
22890
22891 # type: textblock
22892 #: ../inspector/virt-inspector.pl:40
22893 msgid ""
22894 "virt-inspector - Display OS version, kernel, drivers, mount points, "
22895 "applications, etc. in a virtual machine"
22896 msgstr ""
22897
22898 # type: verbatim
22899 #: ../inspector/virt-inspector.pl:44
22900 #, no-wrap
22901 msgid ""
22902 " virt-inspector [--connect URI] domname\n"
22903 "\n"
22904 msgstr ""
22905
22906 # type: verbatim
22907 #: ../inspector/virt-inspector.pl:46
22908 #, no-wrap
22909 msgid ""
22910 " virt-inspector guest.img [guest.img ...]\n"
22911 "\n"
22912 msgstr ""
22913
22914 # type: textblock
22915 #: ../inspector/virt-inspector.pl:50
22916 msgid ""
22917 "B<virt-inspector> examines a virtual machine and tries to determine the "
22918 "version of the OS, the kernel version, what drivers are installed, whether "
22919 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
22920 "applications are installed and more."
22921 msgstr ""
22922
22923 # type: textblock
22924 #: ../inspector/virt-inspector.pl:55
22925 msgid ""
22926 "Virt-inspector can produce output in several formats, including a readable "
22927 "text report, and XML for feeding into other programs."
22928 msgstr ""
22929
22930 # type: textblock
22931 #: ../inspector/virt-inspector.pl:58
22932 msgid ""
22933 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
22934 "libvirt domain (see: C<virsh list --all>)."
22935 msgstr ""
22936
22937 # type: textblock
22938 #: ../inspector/virt-inspector.pl:61
22939 msgid ""
22940 "You can also run virt-inspector directly on disk images from a single "
22941 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
22942 "has several block devices, in which case you should list them one after "
22943 "another, with the first corresponding to the guest's C</dev/sda>, the second "
22944 "to the guest's C</dev/sdb> and so on."
22945 msgstr ""
22946
22947 # type: textblock
22948 #: ../inspector/virt-inspector.pl:67
22949 msgid ""
22950 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
22951 "inspect several virtual machines, you have to run virt-inspector several "
22952 "times (for example, from a shell script for-loop)."
22953 msgstr ""
22954
22955 # type: textblock
22956 #: ../inspector/virt-inspector.pl:72
22957 msgid ""
22958 "Because virt-inspector needs direct access to guest images, it won't "
22959 "normally work over remote libvirt connections."
22960 msgstr ""
22961
22962 # type: textblock
22963 #: ../inspector/virt-inspector.pl:85 ../tools/virt-cat.pl:90
22964 #: ../tools/virt-df.pl:81 ../tools/virt-edit.pl:83
22965 #: ../tools/virt-list-filesystems.pl:60 ../tools/virt-list-partitions.pl:61
22966 #: ../tools/virt-ls.pl:89 ../tools/virt-make-fs.pl:163
22967 #: ../tools/virt-rescue.pl:113 ../tools/virt-tar.pl:109
22968 #: ../tools/virt-win-reg.pl:182
22969 msgid "Display brief help."
22970 msgstr ""
22971
22972 # type: =item
22973 #: ../inspector/virt-inspector.pl:91 ../tools/virt-cat.pl:96
22974 #: ../tools/virt-df.pl:87 ../tools/virt-edit.pl:89
22975 #: ../tools/virt-list-filesystems.pl:66 ../tools/virt-list-partitions.pl:67
22976 #: ../tools/virt-ls.pl:95 ../tools/virt-make-fs.pl:169
22977 #: ../tools/virt-rescue.pl:119 ../tools/virt-resize.pl:249
22978 #: ../tools/virt-tar.pl:115 ../tools/virt-win-reg.pl:188
22979 msgid "B<--version>"
22980 msgstr ""
22981
22982 # type: textblock
22983 #: ../inspector/virt-inspector.pl:93 ../tools/virt-cat.pl:98
22984 #: ../tools/virt-df.pl:89 ../tools/virt-edit.pl:91
22985 #: ../tools/virt-list-filesystems.pl:68 ../tools/virt-list-partitions.pl:69
22986 #: ../tools/virt-ls.pl:97 ../tools/virt-make-fs.pl:171
22987 #: ../tools/virt-rescue.pl:121 ../tools/virt-resize.pl:251
22988 #: ../tools/virt-tar.pl:117 ../tools/virt-win-reg.pl:190
22989 msgid "Display version number and exit."
22990 msgstr ""
22991
22992 # type: =item
22993 #: ../inspector/virt-inspector.pl:99 ../tools/virt-cat.pl:104
22994 #: ../tools/virt-df.pl:95 ../tools/virt-edit.pl:113
22995 #: ../tools/virt-list-filesystems.pl:74 ../tools/virt-list-partitions.pl:75
22996 #: ../tools/virt-ls.pl:103 ../tools/virt-rescue.pl:135
22997 #: ../tools/virt-tar.pl:123 ../tools/virt-win-reg.pl:204
22998 msgid "B<--connect URI> | B<-c URI>"
22999 msgstr ""
23000
23001 # type: textblock
23002 #: ../inspector/virt-inspector.pl:101 ../tools/virt-cat.pl:106
23003 #: ../tools/virt-df.pl:97 ../tools/virt-edit.pl:115
23004 #: ../tools/virt-list-filesystems.pl:76 ../tools/virt-list-partitions.pl:77
23005 #: ../tools/virt-ls.pl:105 ../tools/virt-rescue.pl:137
23006 #: ../tools/virt-tar.pl:125 ../tools/virt-win-reg.pl:206
23007 msgid ""
23008 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
23009 "to the default libvirt hypervisor."
23010 msgstr ""
23011
23012 # type: textblock
23013 #: ../inspector/virt-inspector.pl:104
23014 msgid ""
23015 "Libvirt is only used if you specify a C<domname> on the command line.  If "
23016 "you specify guest block devices directly, then libvirt is not used at all."
23017 msgstr ""
23018
23019 # type: textblock
23020 #: ../inspector/virt-inspector.pl:114
23021 msgid ""
23022 "The following options select the output format.  Use only one of them.  The "
23023 "default is a readable text report."
23024 msgstr ""
23025
23026 # type: =item
23027 #: ../inspector/virt-inspector.pl:119
23028 msgid "B<--text> (default)"
23029 msgstr ""
23030
23031 # type: textblock
23032 #: ../inspector/virt-inspector.pl:121
23033 msgid "Plain text report."
23034 msgstr ""
23035
23036 # type: =item
23037 #: ../inspector/virt-inspector.pl:123
23038 msgid "B<--none>"
23039 msgstr ""
23040
23041 # type: textblock
23042 #: ../inspector/virt-inspector.pl:125
23043 msgid "Produce no output at all."
23044 msgstr ""
23045
23046 # type: =item
23047 #: ../inspector/virt-inspector.pl:127
23048 msgid "B<--xml>"
23049 msgstr ""
23050
23051 # type: textblock
23052 #: ../inspector/virt-inspector.pl:129
23053 msgid ""
23054 "If you select I<--xml> then you get XML output which can be fed to other "
23055 "programs."
23056 msgstr ""
23057
23058 # type: =item
23059 #: ../inspector/virt-inspector.pl:132
23060 msgid "B<--yaml>"
23061 msgstr ""
23062
23063 # type: textblock
23064 #: ../inspector/virt-inspector.pl:134
23065 msgid ""
23066 "If you select I<--yaml> then you get YAML output which can be fed to other "
23067 "programs."
23068 msgstr ""
23069
23070 # type: =item
23071 #: ../inspector/virt-inspector.pl:137
23072 msgid "B<--perl>"
23073 msgstr ""
23074
23075 # type: textblock
23076 #: ../inspector/virt-inspector.pl:139
23077 msgid ""
23078 "If you select I<--perl> then you get Perl structures output which can be "
23079 "used directly in another Perl program."
23080 msgstr ""
23081
23082 # type: =item
23083 #: ../inspector/virt-inspector.pl:142
23084 msgid "B<--fish>"
23085 msgstr ""
23086
23087 # type: =item
23088 #: ../inspector/virt-inspector.pl:144
23089 msgid "B<--ro-fish>"
23090 msgstr ""
23091
23092 # type: textblock
23093 #: ../inspector/virt-inspector.pl:146
23094 msgid ""
23095 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
23096 "will automatically mount up the filesystems on the correct mount points.  "
23097 "Try this for example:"
23098 msgstr ""
23099
23100 # type: verbatim
23101 #: ../inspector/virt-inspector.pl:150
23102 #, no-wrap
23103 msgid ""
23104 " guestfish $(virt-inspector --fish guest.img)\n"
23105 "\n"
23106 msgstr ""
23107
23108 # type: textblock
23109 #: ../inspector/virt-inspector.pl:152
23110 msgid ""
23111 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
23112 "that the filesystems are mounted read-only."
23113 msgstr ""
23114
23115 # type: =item
23116 #: ../inspector/virt-inspector.pl:155
23117 msgid "B<--query>"
23118 msgstr ""
23119
23120 # type: textblock
23121 #: ../inspector/virt-inspector.pl:157
23122 msgid ""
23123 "In \"query mode\" we answer common questions about the guest, such as "
23124 "whether it is fullvirt or needs a Xen hypervisor to run."
23125 msgstr ""
23126
23127 # type: textblock
23128 #: ../inspector/virt-inspector.pl:160
23129 msgid "See section I<QUERY MODE> below."
23130 msgstr ""
23131
23132 # type: =item
23133 #: ../inspector/virt-inspector.pl:166
23134 msgid "B<--windows-registry>"
23135 msgstr ""
23136
23137 # type: textblock
23138 #: ../inspector/virt-inspector.pl:168
23139 msgid ""
23140 "This flag is ignored for compatibility with earlier releases of the software."
23141 msgstr ""
23142
23143 # type: textblock
23144 #: ../inspector/virt-inspector.pl:171
23145 msgid ""
23146 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
23147 "information out of the Registry for any Windows guest."
23148 msgstr ""
23149
23150 # type: =head1
23151 #: ../inspector/virt-inspector.pl:218
23152 msgid "OUTPUT FORMAT"
23153 msgstr ""
23154
23155 # type: verbatim
23156 #: ../inspector/virt-inspector.pl:220
23157 #, no-wrap
23158 msgid ""
23159 " Operating system(s)\n"
23160 " -------------------\n"
23161 " Linux (distro + version)\n"
23162 " Windows (version)\n"
23163 "    |\n"
23164 "    |\n"
23165 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
23166 "         -----------            --------------     ----------------\n"
23167 "         mount point => device  List of apps       Extra information\n"
23168 "         mount point => device  and versions       about kernel(s)\n"
23169 "              ...                                  and drivers\n"
23170 "         swap => swap device\n"
23171 "         (plus lots of extra information\n"
23172 "         about each filesystem)\n"
23173 "\n"
23174 msgstr ""
23175
23176 # type: textblock
23177 #: ../inspector/virt-inspector.pl:235
23178 msgid "The output of virt-inspector is a complex two-level data structure."
23179 msgstr ""
23180
23181 # type: textblock
23182 #: ../inspector/virt-inspector.pl:237
23183 msgid ""
23184 "At the top level is a list of the operating systems installed on the guest.  "
23185 "(For the vast majority of guests, only a single OS is installed.)  The data "
23186 "returned for the OS includes the name (Linux, Windows), the distribution and "
23187 "version."
23188 msgstr ""
23189
23190 # type: textblock
23191 #: ../inspector/virt-inspector.pl:242
23192 msgid "The diagram above shows what we return for each OS."
23193 msgstr ""
23194
23195 # type: textblock
23196 #: ../inspector/virt-inspector.pl:244
23197 msgid ""
23198 "With the I<--xml> option the output is mapped into an XML document.  There "
23199 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
23200 "normally ships with virt-inspector, or can be found in the source."
23201 msgstr ""
23202
23203 # type: textblock
23204 #: ../inspector/virt-inspector.pl:249
23205 msgid ""
23206 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
23207 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
23208 "and inspect the guest with everything mounted in the right place.  For "
23209 "example:"
23210 msgstr ""
23211
23212 # type: verbatim
23213 #: ../inspector/virt-inspector.pl:254
23214 #, no-wrap
23215 msgid ""
23216 " guestfish $(virt-inspector --ro-fish guest.img)\n"
23217 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
23218 "\n"
23219 msgstr ""
23220
23221 # type: =head1
23222 #: ../inspector/virt-inspector.pl:589
23223 msgid "QUERY MODE"
23224 msgstr ""
23225
23226 # type: textblock
23227 #: ../inspector/virt-inspector.pl:591
23228 msgid ""
23229 "When you use C<virt-inspector --query>, the output is a series of lines of "
23230 "the form:"
23231 msgstr ""
23232
23233 # type: verbatim
23234 #: ../inspector/virt-inspector.pl:594
23235 #, no-wrap
23236 msgid ""
23237 " windows=no\n"
23238 " linux=yes\n"
23239 " fullvirt=yes\n"
23240 " xen_pv_drivers=no\n"
23241 "\n"
23242 msgstr ""
23243
23244 # type: textblock
23245 #: ../inspector/virt-inspector.pl:599
23246 msgid ""
23247 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
23248 "if we could not determine the answer at all)."
23249 msgstr ""
23250
23251 # type: textblock
23252 #: ../inspector/virt-inspector.pl:602
23253 msgid ""
23254 "If the guest is multiboot, you can get apparently conflicting answers (eg. "
23255 "C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and has a "
23256 "Xen PV kernel).  This is normal, and just means that the guest can do both "
23257 "things, although it might require operator intervention such as selecting a "
23258 "boot option when the guest is booting."
23259 msgstr ""
23260
23261 # type: textblock
23262 #: ../inspector/virt-inspector.pl:609
23263 msgid "This section describes the full range of answers possible."
23264 msgstr ""
23265
23266 # type: =item
23267 #: ../inspector/virt-inspector.pl:630
23268 msgid "windows=(yes|no)"
23269 msgstr ""
23270
23271 # type: textblock
23272 #: ../inspector/virt-inspector.pl:632
23273 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
23274 msgstr ""
23275
23276 # type: =item
23277 #: ../inspector/virt-inspector.pl:645
23278 msgid "linux=(yes|no)"
23279 msgstr ""
23280
23281 # type: textblock
23282 #: ../inspector/virt-inspector.pl:647
23283 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
23284 msgstr ""
23285
23286 # type: =item
23287 #: ../inspector/virt-inspector.pl:660
23288 msgid "rhel=(yes|no)"
23289 msgstr ""
23290
23291 # type: textblock
23292 #: ../inspector/virt-inspector.pl:662
23293 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
23294 msgstr ""
23295
23296 # type: =item
23297 #: ../inspector/virt-inspector.pl:676
23298 msgid "fedora=(yes|no)"
23299 msgstr ""
23300
23301 # type: textblock
23302 #: ../inspector/virt-inspector.pl:678
23303 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
23304 msgstr ""
23305
23306 # type: =item
23307 #: ../inspector/virt-inspector.pl:691
23308 msgid "debian=(yes|no)"
23309 msgstr ""
23310
23311 # type: textblock
23312 #: ../inspector/virt-inspector.pl:693
23313 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
23314 msgstr ""
23315
23316 # type: =item
23317 #: ../inspector/virt-inspector.pl:706
23318 msgid "fullvirt=(yes|no)"
23319 msgstr ""
23320
23321 # type: textblock
23322 #: ../inspector/virt-inspector.pl:708
23323 msgid ""
23324 "Answer C<yes> if there is at least one operating system kernel installed in "
23325 "the guest which runs fully virtualized.  Such a guest would require a "
23326 "hypervisor which supports full system virtualization."
23327 msgstr ""
23328
23329 # type: =item
23330 #: ../inspector/virt-inspector.pl:731
23331 msgid "xen_domU_kernel=(yes|no)"
23332 msgstr ""
23333
23334 # type: textblock
23335 #: ../inspector/virt-inspector.pl:733
23336 msgid ""
23337 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
23338 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
23339 msgstr ""
23340
23341 # type: =item
23342 #: ../inspector/virt-inspector.pl:753
23343 msgid "xen_pv_drivers=(yes|no)"
23344 msgstr ""
23345
23346 # type: textblock
23347 #: ../inspector/virt-inspector.pl:755
23348 msgid ""
23349 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
23350 "(usually the kernel itself will be fully virtualized, but the PV drivers "
23351 "have been installed by the administrator for performance reasons)."
23352 msgstr ""
23353
23354 # type: =item
23355 #: ../inspector/virt-inspector.pl:777
23356 msgid "virtio_drivers=(yes|no)"
23357 msgstr ""
23358
23359 # type: textblock
23360 #: ../inspector/virt-inspector.pl:779
23361 msgid ""
23362 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
23363 "Virtio drivers are commonly used to improve the performance of KVM."
23364 msgstr ""
23365
23366 # type: =item
23367 #: ../inspector/virt-inspector.pl:800
23368 msgid "userspace_arch=(x86_64|...)"
23369 msgstr ""
23370
23371 # type: textblock
23372 #: ../inspector/virt-inspector.pl:802
23373 msgid "Print the architecture of userspace."
23374 msgstr ""
23375
23376 # type: textblock
23377 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
23378 msgid "NB. For multi-boot VMs this can print several lines."
23379 msgstr ""
23380
23381 # type: =item
23382 #: ../inspector/virt-inspector.pl:821
23383 msgid "kernel_arch=(x86_64|...)"
23384 msgstr ""
23385
23386 # type: textblock
23387 #: ../inspector/virt-inspector.pl:823
23388 msgid "Print the architecture of the kernel."
23389 msgstr ""
23390
23391 # type: textblock
23392 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:484
23393 msgid ""
23394 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23395 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23396 msgstr ""
23397
23398 # type: textblock
23399 #: ../inspector/virt-inspector.pl:857 ../tools/virt-cat.pl:175
23400 #: ../tools/virt-df.pl:493 ../tools/virt-edit.pl:339
23401 #: ../tools/virt-list-filesystems.pl:205 ../tools/virt-list-partitions.pl:242
23402 #: ../tools/virt-ls.pl:223 ../tools/virt-make-fs.pl:554
23403 #: ../tools/virt-rescue.pl:243 ../tools/virt-resize.pl:1409
23404 #: ../tools/virt-tar.pl:270 ../tools/virt-win-reg.pl:489
23405 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
23406 msgstr ""
23407
23408 # type: textblock
23409 #: ../inspector/virt-inspector.pl:859
23410 msgid "Matthew Booth L<mbooth@redhat.com>"
23411 msgstr ""
23412
23413 # type: textblock
23414 #: ../inspector/virt-inspector.pl:863 ../tools/virt-cat.pl:179
23415 #: ../tools/virt-list-filesystems.pl:209 ../tools/virt-ls.pl:227
23416 #: ../tools/virt-tar.pl:274
23417 msgid "Copyright (C) 2009 Red Hat Inc."
23418 msgstr ""
23419
23420 # type: textblock
23421 #: ../tools/virt-cat.pl:34
23422 msgid "virt-cat - Display a file in a virtual machine"
23423 msgstr ""
23424
23425 # type: verbatim
23426 #: ../tools/virt-cat.pl:38
23427 #, no-wrap
23428 msgid ""
23429 " virt-cat [--options] domname file\n"
23430 "\n"
23431 msgstr ""
23432
23433 # type: verbatim
23434 #: ../tools/virt-cat.pl:40
23435 #, no-wrap
23436 msgid ""
23437 " virt-cat [--options] disk.img [disk.img ...] file\n"
23438 "\n"
23439 msgstr ""
23440
23441 # type: textblock
23442 #: ../tools/virt-cat.pl:44
23443 msgid ""
23444 "C<virt-cat> is a command line tool to display the contents of C<file> where "
23445 "C<file> exists in the named virtual machine (or disk image)."
23446 msgstr ""
23447
23448 # type: textblock
23449 #: ../tools/virt-cat.pl:47
23450 msgid ""
23451 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
23452 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
23453 "tool."
23454 msgstr ""
23455
23456 # type: textblock
23457 #: ../tools/virt-cat.pl:53
23458 msgid ""
23459 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
23460 msgstr ""
23461
23462 # type: verbatim
23463 #: ../tools/virt-cat.pl:56
23464 #, no-wrap
23465 msgid ""
23466 " virt-cat mydomain /etc/fstab\n"
23467 "\n"
23468 msgstr ""
23469
23470 # type: textblock
23471 #: ../tools/virt-cat.pl:58
23472 msgid "List syslog messages from a VM:"
23473 msgstr ""
23474
23475 # type: verbatim
23476 #: ../tools/virt-cat.pl:60
23477 #, no-wrap
23478 msgid ""
23479 " virt-cat mydomain /var/log/messages | tail\n"
23480 "\n"
23481 msgstr ""
23482
23483 # type: textblock
23484 #: ../tools/virt-cat.pl:62
23485 msgid "Find out what DHCP IP address a VM acquired:"
23486 msgstr ""
23487
23488 # type: verbatim
23489 #: ../tools/virt-cat.pl:64
23490 #, no-wrap
23491 msgid ""
23492 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
23493 "\n"
23494 msgstr ""
23495
23496 # type: textblock
23497 #: ../tools/virt-cat.pl:66
23498 msgid "Find out what packages were recently installed:"
23499 msgstr ""
23500
23501 # type: verbatim
23502 #: ../tools/virt-cat.pl:68
23503 #, no-wrap
23504 msgid ""
23505 " virt-cat mydomain /var/log/yum.log | tail\n"
23506 "\n"
23507 msgstr ""
23508
23509 # type: textblock
23510 #: ../tools/virt-cat.pl:70
23511 msgid "Find out who is logged on inside a virtual machine:"
23512 msgstr ""
23513
23514 # type: verbatim
23515 #: ../tools/virt-cat.pl:72
23516 #, no-wrap
23517 msgid ""
23518 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
23519 " who /tmp/utmp\n"
23520 "\n"
23521 msgstr ""
23522
23523 # type: textblock
23524 #: ../tools/virt-cat.pl:75
23525 msgid "or who was logged on:"
23526 msgstr ""
23527
23528 # type: verbatim
23529 #: ../tools/virt-cat.pl:77
23530 #, no-wrap
23531 msgid ""
23532 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
23533 " last -f /tmp/wtmp\n"
23534 "\n"
23535 msgstr ""
23536
23537 # type: textblock
23538 #: ../tools/virt-cat.pl:109 ../tools/virt-df.pl:100 ../tools/virt-edit.pl:118
23539 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
23540 #: ../tools/virt-ls.pl:108 ../tools/virt-rescue.pl:140
23541 #: ../tools/virt-tar.pl:128 ../tools/virt-win-reg.pl:209
23542 msgid ""
23543 "If you specify guest block devices directly, then libvirt is not used at all."
23544 msgstr ""
23545
23546 # type: textblock
23547 #: ../tools/virt-cat.pl:165
23548 msgid ""
23549 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, L<Sys::"
23550 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23551 msgstr ""
23552
23553 # type: =head1
23554 #: ../tools/virt-cat.pl:173 ../tools/virt-df.pl:491 ../tools/virt-edit.pl:337
23555 #: ../tools/virt-list-filesystems.pl:203 ../tools/virt-list-partitions.pl:240
23556 #: ../tools/virt-ls.pl:221 ../tools/virt-make-fs.pl:552
23557 #: ../tools/virt-rescue.pl:241 ../tools/virt-resize.pl:1407
23558 #: ../tools/virt-tar.pl:268 ../tools/virt-win-reg.pl:487
23559 msgid "AUTHOR"
23560 msgstr ""
23561
23562 # type: textblock
23563 #: ../tools/virt-df.pl:36
23564 msgid "virt-df - Display free space on virtual filesystems"
23565 msgstr ""
23566
23567 # type: verbatim
23568 #: ../tools/virt-df.pl:40
23569 #, no-wrap
23570 msgid ""
23571 " virt-df [--options]\n"
23572 "\n"
23573 msgstr ""
23574
23575 # type: verbatim
23576 #: ../tools/virt-df.pl:42
23577 #, no-wrap
23578 msgid ""
23579 " virt-df [--options] domname\n"
23580 "\n"
23581 msgstr ""
23582
23583 # type: verbatim
23584 #: ../tools/virt-df.pl:44
23585 #, no-wrap
23586 msgid ""
23587 " virt-df [--options] disk.img [disk.img ...]\n"
23588 "\n"
23589 msgstr ""
23590
23591 # type: textblock
23592 #: ../tools/virt-df.pl:48
23593 msgid ""
23594 "C<virt-df> is a command line tool to display free space on virtual machine "
23595 "filesystems.  Unlike other tools, it doesn't just display the amount of "
23596 "space allocated to a virtual machine, but can look inside the virtual "
23597 "machine to see how much space is really being used."
23598 msgstr ""
23599
23600 # type: textblock
23601 #: ../tools/virt-df.pl:53
23602 msgid ""
23603 "It is like the L<df(1)> command, but for virtual machines, except that it "
23604 "also works for Windows virtual machines."
23605 msgstr ""
23606
23607 # type: textblock
23608 #: ../tools/virt-df.pl:56
23609 msgid ""
23610 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
23611 "of all active and inactive guests, and performs a C<df>-type operation on "
23612 "each one in turn, printing out the results."
23613 msgstr ""
23614
23615 # type: textblock
23616 #: ../tools/virt-df.pl:60
23617 msgid ""
23618 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
23619 "either the single named libvirt domain, or on the disk image(s) listed on "
23620 "the command line (which must all belong to a single VM).  In this mode (with "
23621 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
23622 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
23623 msgstr ""
23624
23625 # type: textblock
23626 #: ../tools/virt-df.pl:67
23627 msgid ""
23628 "Use the C<--csv> option to get a format which can be easily parsed by other "
23629 "programs.  Other options are mostly similar to standard C<df> options.  See "
23630 "below for the complete list."
23631 msgstr ""
23632
23633 # type: =item
23634 #: ../tools/virt-df.pl:107
23635 msgid "B<--csv>"
23636 msgstr ""
23637
23638 # type: textblock
23639 #: ../tools/virt-df.pl:109
23640 msgid ""
23641 "Write out the results in CSV format (comma-separated values).  This format "
23642 "can be imported easily into databases and spreadsheets, but read L</NOTE "
23643 "ABOUT CSV FORMAT> below."
23644 msgstr ""
23645
23646 # type: =item
23647 #: ../tools/virt-df.pl:117
23648 msgid "B<--human-readable> | B<-h>"
23649 msgstr ""
23650
23651 # type: textblock
23652 #: ../tools/virt-df.pl:119
23653 msgid "Print sizes in human-readable format."
23654 msgstr ""
23655
23656 # type: textblock
23657 #: ../tools/virt-df.pl:121
23658 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
23659 msgstr ""
23660
23661 # type: =item
23662 #: ../tools/virt-df.pl:127
23663 msgid "B<--inodes> | B<-i>"
23664 msgstr ""
23665
23666 # type: textblock
23667 #: ../tools/virt-df.pl:129
23668 msgid "Print inodes instead of blocks."
23669 msgstr ""
23670
23671 # type: =head1
23672 #: ../tools/virt-df.pl:458
23673 msgid "NOTE ABOUT CSV FORMAT"
23674 msgstr ""
23675
23676 # type: textblock
23677 #: ../tools/virt-df.pl:460
23678 msgid ""
23679 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
23680 "should be easy to parse, but it is definitely not easy to parse."
23681 msgstr ""
23682
23683 # type: textblock
23684 #: ../tools/virt-df.pl:463
23685 msgid ""
23686 "Myth: Just split fields at commas.  Reality: This does I<not> work "
23687 "reliably.  This example has two columns:"
23688 msgstr ""
23689
23690 # type: verbatim
23691 #: ../tools/virt-df.pl:466
23692 #, no-wrap
23693 msgid ""
23694 " \"foo,bar\",baz\n"
23695 "\n"
23696 msgstr ""
23697
23698 # type: textblock
23699 #: ../tools/virt-df.pl:468
23700 msgid ""
23701 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
23702 "reliably.  This example has one row:"
23703 msgstr ""
23704
23705 # type: verbatim
23706 #: ../tools/virt-df.pl:471
23707 #, no-wrap
23708 msgid ""
23709 " \"foo\n"
23710 " bar\",baz\n"
23711 "\n"
23712 msgstr ""
23713
23714 # type: textblock
23715 #: ../tools/virt-df.pl:474
23716 msgid ""
23717 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
23718 "packaged in major Linux distributions)."
23719 msgstr ""
23720
23721 # type: textblock
23722 #: ../tools/virt-df.pl:477
23723 msgid ""
23724 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
23725 "or Python's built-in csv library)."
23726 msgstr ""
23727
23728 # type: textblock
23729 #: ../tools/virt-df.pl:480
23730 msgid "Most spreadsheets and databases can import CSV directly."
23731 msgstr ""
23732
23733 # type: textblock
23734 #: ../tools/virt-df.pl:497 ../tools/virt-edit.pl:343
23735 #: ../tools/virt-list-partitions.pl:246 ../tools/virt-rescue.pl:247
23736 msgid "Copyright (C) 2009-2010 Red Hat Inc."
23737 msgstr ""
23738
23739 # type: textblock
23740 #: ../tools/virt-edit.pl:35
23741 msgid "virt-edit - Edit a file in a virtual machine"
23742 msgstr ""
23743
23744 # type: verbatim
23745 #: ../tools/virt-edit.pl:39
23746 #, no-wrap
23747 msgid ""
23748 " virt-edit [--options] domname file\n"
23749 "\n"
23750 msgstr ""
23751
23752 # type: verbatim
23753 #: ../tools/virt-edit.pl:41
23754 #, no-wrap
23755 msgid ""
23756 " virt-edit [--options] disk.img [disk.img ...] file\n"
23757 "\n"
23758 msgstr ""
23759
23760 # type: verbatim
23761 #: ../tools/virt-edit.pl:43
23762 #, no-wrap
23763 msgid ""
23764 " virt-edit [domname|disk.img] file -e 'expr'\n"
23765 "\n"
23766 msgstr ""
23767
23768 # type: textblock
23769 #: ../tools/virt-edit.pl:47
23770 msgid ""
23771 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
23772 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
23773 "doing this, but doesn't catch all cases."
23774 msgstr ""
23775
23776 # type: textblock
23777 #: ../tools/virt-edit.pl:53
23778 msgid ""
23779 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
23780 "the named virtual machine (or disk image)."
23781 msgstr ""
23782
23783 # type: textblock
23784 #: ../tools/virt-edit.pl:56
23785 msgid ""
23786 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
23787 "you should look at the L<guestfish(1)> tool."
23788 msgstr ""
23789
23790 # type: textblock
23791 #: ../tools/virt-edit.pl:61
23792 msgid "Edit the named files interactively:"
23793 msgstr ""
23794
23795 # type: verbatim
23796 #: ../tools/virt-edit.pl:63
23797 #, no-wrap
23798 msgid ""
23799 " virt-edit mydomain /boot/grub/grub.conf\n"
23800 "\n"
23801 msgstr ""
23802
23803 # type: verbatim
23804 #: ../tools/virt-edit.pl:65
23805 #, no-wrap
23806 msgid ""
23807 " virt-edit mydomain /etc/passwd\n"
23808 "\n"
23809 msgstr ""
23810
23811 # type: textblock
23812 #: ../tools/virt-edit.pl:67
23813 msgid ""
23814 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
23815 "below).  To change the init default level to 5:"
23816 msgstr ""
23817
23818 # type: verbatim
23819 #: ../tools/virt-edit.pl:71
23820 #, no-wrap
23821 msgid ""
23822 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
23823 "\n"
23824 msgstr ""
23825
23826 # type: =item
23827 #: ../tools/virt-edit.pl:97
23828 msgid "B<--backup extension> | B<-b extension>"
23829 msgstr ""
23830
23831 # type: textblock
23832 #: ../tools/virt-edit.pl:99
23833 msgid ""
23834 "Create a backup of the original file I<in the guest disk image>.  The backup "
23835 "has the original filename with C<extension> added."
23836 msgstr ""
23837
23838 # type: textblock
23839 #: ../tools/virt-edit.pl:102
23840 msgid ""
23841 "Usually the first character of C<extension> would be a dot C<.> so you would "
23842 "write:"
23843 msgstr ""
23844
23845 # type: verbatim
23846 #: ../tools/virt-edit.pl:105
23847 #, no-wrap
23848 msgid ""
23849 " virt-edit -b .orig [etc]\n"
23850 "\n"
23851 msgstr ""
23852
23853 # type: textblock
23854 #: ../tools/virt-edit.pl:107
23855 msgid "By default, no backup file is made."
23856 msgstr ""
23857
23858 # type: =item
23859 #: ../tools/virt-edit.pl:125
23860 msgid "B<--expr EXPR> | B<-e EXPR>"
23861 msgstr ""
23862
23863 # type: textblock
23864 #: ../tools/virt-edit.pl:127
23865 msgid ""
23866 "Instead of launching the external editor, non-interactively apply the Perl "
23867 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
23868 "EDITING> below."
23869 msgstr ""
23870
23871 # type: textblock
23872 #: ../tools/virt-edit.pl:131
23873 msgid ""
23874 "Be careful to properly quote the expression to prevent it from being altered "
23875 "by the shell."
23876 msgstr ""
23877
23878 # type: =head1
23879 #: ../tools/virt-edit.pl:250
23880 msgid "NON-INTERACTIVE EDITING"
23881 msgstr ""
23882
23883 # type: textblock
23884 #: ../tools/virt-edit.pl:252
23885 msgid ""
23886 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
23887 "administrator can interactively edit the file."
23888 msgstr ""
23889
23890 # type: textblock
23891 #: ../tools/virt-edit.pl:255
23892 msgid ""
23893 "There are two ways also to use C<virt-edit> from scripts in order to make "
23894 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
23895 "like this, it's less error-prone to write scripts directly using the "
23896 "libguestfs API and Augeas for configuration file editing.)"
23897 msgstr ""
23898
23899 # type: textblock
23900 #: ../tools/virt-edit.pl:261
23901 msgid ""
23902 "The first method is to temporarily set C<$EDITOR> to any script or program "
23903 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
23904 "update C<tmpfile> in place however it likes."
23905 msgstr ""
23906
23907 # type: textblock
23908 #: ../tools/virt-edit.pl:265
23909 msgid ""
23910 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
23911 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
23912 "instances of C<foo> with C<bar> in a file:"
23913 msgstr ""
23914
23915 # type: verbatim
23916 #: ../tools/virt-edit.pl:269
23917 #, no-wrap
23918 msgid ""
23919 " virt-edit domname filename -e 's/foo/bar/'\n"
23920 "\n"
23921 msgstr ""
23922
23923 # type: textblock
23924 #: ../tools/virt-edit.pl:271
23925 msgid ""
23926 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
23927 "For example to delete root's password you could do:"
23928 msgstr ""
23929
23930 # type: verbatim
23931 #: ../tools/virt-edit.pl:274
23932 #, no-wrap
23933 msgid ""
23934 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
23935 "\n"
23936 msgstr ""
23937
23938 # type: textblock
23939 #: ../tools/virt-edit.pl:276
23940 msgid ""
23941 "What really happens is that the snippet is evaluated as a Perl expression "
23942 "for each line of the file.  The line, including the final C<\\n>, is passed "
23943 "in C<$_> and the expression should update C<$_> or leave it unchanged."
23944 msgstr ""
23945
23946 # type: textblock
23947 #: ../tools/virt-edit.pl:281
23948 msgid ""
23949 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
23950 "C<apache> user account from the password file you can do:"
23951 msgstr ""
23952
23953 # type: verbatim
23954 #: ../tools/virt-edit.pl:284
23955 #, no-wrap
23956 msgid ""
23957 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
23958 "\n"
23959 msgstr ""
23960
23961 # type: textblock
23962 #: ../tools/virt-edit.pl:286
23963 msgid ""
23964 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
23965 "the end of the file is rather difficult this way since there is no concept "
23966 "of \"last line of the file\" - your expression just doesn't get called "
23967 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
23968 "want to do this."
23969 msgstr ""
23970
23971 # type: textblock
23972 #: ../tools/virt-edit.pl:292
23973 msgid ""
23974 "The variable C<$lineno> contains the current line number.  As is "
23975 "traditional, the first line in the file is number C<1>."
23976 msgstr ""
23977
23978 # type: textblock
23979 #: ../tools/virt-edit.pl:295
23980 msgid ""
23981 "The return value from the expression is ignored, but the expression may call "
23982 "C<die> in order to abort the whole program, leaving the original file "
23983 "untouched."
23984 msgstr ""
23985
23986 # type: textblock
23987 #: ../tools/virt-edit.pl:299
23988 msgid ""
23989 "Remember when matching the end of a line that C<$_> may contain the final C<"
23990 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
23991 "newline then neither of these.  Thus to match or substitute some text at the "
23992 "end of a line, use this regular expression:"
23993 msgstr ""
23994
23995 # type: verbatim
23996 #: ../tools/virt-edit.pl:304
23997 #, no-wrap
23998 msgid ""
23999 " /some text(\\r?\\n)?$/\n"
24000 "\n"
24001 msgstr ""
24002
24003 # type: textblock
24004 #: ../tools/virt-edit.pl:306
24005 msgid ""
24006 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
24007 "$_> itself (since that would remove all newlines from the file):"
24008 msgstr ""
24009
24010 # type: verbatim
24011 #: ../tools/virt-edit.pl:310
24012 #, no-wrap
24013 msgid ""
24014 " my $m = $_; chomp $m; $m =~ /some text$/\n"
24015 "\n"
24016 msgstr ""
24017
24018 # type: =item
24019 #: ../tools/virt-edit.pl:316
24020 msgid "C<EDITOR>"
24021 msgstr ""
24022
24023 # type: textblock
24024 #: ../tools/virt-edit.pl:318
24025 msgid ""
24026 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
24027 "\"emacs -nw\">"
24028 msgstr ""
24029
24030 # type: textblock
24031 #: ../tools/virt-edit.pl:321
24032 msgid "If not set, C<vi> is used."
24033 msgstr ""
24034
24035 # type: textblock
24036 #: ../tools/virt-edit.pl:327
24037 msgid ""
24038 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
24039 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, L<perl(1)>, "
24040 "L<perlre(1)>."
24041 msgstr ""
24042
24043 # type: textblock
24044 #: ../tools/virt-list-filesystems.pl:32
24045 msgid ""
24046 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
24047 msgstr ""
24048
24049 # type: verbatim
24050 #: ../tools/virt-list-filesystems.pl:36
24051 #, no-wrap
24052 msgid ""
24053 " virt-list-filesystems [--options] domname\n"
24054 "\n"
24055 msgstr ""
24056
24057 # type: verbatim
24058 #: ../tools/virt-list-filesystems.pl:38
24059 #, no-wrap
24060 msgid ""
24061 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
24062 "\n"
24063 msgstr ""
24064
24065 # type: textblock
24066 #: ../tools/virt-list-filesystems.pl:42
24067 msgid ""
24068 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
24069 "are contained in a virtual machine or disk image."
24070 msgstr ""
24071
24072 # type: textblock
24073 #: ../tools/virt-list-filesystems.pl:46
24074 msgid ""
24075 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
24076 "functionality.  For more complex cases you should look at the L<guestfish(1)"
24077 "> tool."
24078 msgstr ""
24079
24080 # type: =item
24081 #: ../tools/virt-list-filesystems.pl:86 ../tools/virt-list-partitions.pl:95
24082 #: ../tools/virt-ls.pl:115
24083 msgid "B<-l> | B<--long>"
24084 msgstr ""
24085
24086 # type: textblock
24087 #: ../tools/virt-list-filesystems.pl:88
24088 msgid ""
24089 "With this option, C<virt-list-filesystems> displays the type of each "
24090 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
24091 msgstr ""
24092
24093 # type: =item
24094 #: ../tools/virt-list-filesystems.pl:95
24095 msgid "B<-a> | B<--all>"
24096 msgstr ""
24097
24098 # type: textblock
24099 #: ../tools/virt-list-filesystems.pl:97
24100 msgid ""
24101 "Normally we only show mountable filesystems.  If this option is given then "
24102 "swap devices are shown too."
24103 msgstr ""
24104
24105 # type: textblock
24106 #: ../tools/virt-list-filesystems.pl:193
24107 msgid ""
24108 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-list-"
24109 "partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)"
24110 ">, L<http://libguestfs.org/>."
24111 msgstr ""
24112
24113 # type: textblock
24114 #: ../tools/virt-list-partitions.pl:32
24115 msgid ""
24116 "virt-list-partitions - List partitions in a virtual machine or disk image"
24117 msgstr ""
24118
24119 # type: verbatim
24120 #: ../tools/virt-list-partitions.pl:36
24121 #, no-wrap
24122 msgid ""
24123 " virt-list-partitions [--options] domname\n"
24124 "\n"
24125 msgstr ""
24126
24127 # type: verbatim
24128 #: ../tools/virt-list-partitions.pl:38
24129 #, no-wrap
24130 msgid ""
24131 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
24132 "\n"
24133 msgstr ""
24134
24135 # type: textblock
24136 #: ../tools/virt-list-partitions.pl:42
24137 msgid ""
24138 "C<virt-list-partitions> is a command line tool to list the partitions that "
24139 "are contained in a virtual machine or disk image.  It is mainly useful as a "
24140 "first step to using L<virt-resize(1)>."
24141 msgstr ""
24142
24143 # type: textblock
24144 #: ../tools/virt-list-partitions.pl:47
24145 msgid ""
24146 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
24147 "functionality.  For more complex cases you should look at the L<guestfish(1)"
24148 "> tool."
24149 msgstr ""
24150
24151 # type: =item
24152 #: ../tools/virt-list-partitions.pl:87
24153 msgid "B<-h> | B<--human-readable>"
24154 msgstr ""
24155
24156 # type: textblock
24157 #: ../tools/virt-list-partitions.pl:89
24158 msgid "Show sizes in human-readable form (eg. \"1G\")."
24159 msgstr ""
24160
24161 # type: textblock
24162 #: ../tools/virt-list-partitions.pl:97
24163 msgid ""
24164 "With this option, C<virt-list-partitions> displays the type and size of each "
24165 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
24166 msgstr ""
24167
24168 # type: =item
24169 #: ../tools/virt-list-partitions.pl:104
24170 msgid "B<-t> | B<--total>"
24171 msgstr ""
24172
24173 # type: textblock
24174 #: ../tools/virt-list-partitions.pl:106
24175 msgid ""
24176 "Display the total size of each block device (as a separate row or rows)."
24177 msgstr ""
24178
24179 # type: textblock
24180 #: ../tools/virt-list-partitions.pl:231
24181 msgid ""
24182 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, L<virt-resize(1)"
24183 ">, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24184 "libguestfs.org/>."
24185 msgstr ""
24186
24187 # type: textblock
24188 #: ../tools/virt-ls.pl:35
24189 msgid "virt-ls - List files in a virtual machine"
24190 msgstr ""
24191
24192 # type: verbatim
24193 #: ../tools/virt-ls.pl:39
24194 #, no-wrap
24195 msgid ""
24196 " virt-ls [--options] domname directory\n"
24197 "\n"
24198 msgstr ""
24199
24200 # type: verbatim
24201 #: ../tools/virt-ls.pl:41
24202 #, no-wrap
24203 msgid ""
24204 " virt-ls [--options] disk.img [disk.img ...] directory\n"
24205 "\n"
24206 msgstr ""
24207
24208 # type: textblock
24209 #: ../tools/virt-ls.pl:45
24210 msgid ""
24211 "C<virt-ls> is a command line tool to list the names of files in a directory "
24212 "inside a virtual machine or disk image."
24213 msgstr ""
24214
24215 # type: textblock
24216 #: ../tools/virt-ls.pl:48
24217 msgid ""
24218 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
24219 "For more complex cases you should look at the L<guestfish(1)> tool."
24220 msgstr ""
24221
24222 # type: textblock
24223 #: ../tools/virt-ls.pl:52
24224 msgid ""
24225 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
24226 "simple listing is like the ordinary L<ls(1)> command:"
24227 msgstr ""
24228
24229 # type: verbatim
24230 #: ../tools/virt-ls.pl:55
24231 #, no-wrap
24232 msgid ""
24233 " $ virt-ls myguest /\n"
24234 " bin\n"
24235 " boot\n"
24236 " [etc.]\n"
24237 "\n"
24238 msgstr ""
24239
24240 # type: textblock
24241 #: ../tools/virt-ls.pl:60
24242 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
24243 msgstr ""
24244
24245 # type: verbatim
24246 #: ../tools/virt-ls.pl:62
24247 #, no-wrap
24248 msgid ""
24249 " $ virt-ls -l myguest /\n"
24250 " total 204\n"
24251 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
24252 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
24253 " [etc.]\n"
24254 "\n"
24255 msgstr ""
24256
24257 # type: textblock
24258 #: ../tools/virt-ls.pl:68
24259 msgid ""
24260 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
24261 "and directories recursively:"
24262 msgstr ""
24263
24264 # type: verbatim
24265 #: ../tools/virt-ls.pl:71
24266 #, no-wrap
24267 msgid ""
24268 " $ virt-ls -R myguest /tmp\n"
24269 " foo\n"
24270 " foo/bar\n"
24271 " [etc.]\n"
24272 "\n"
24273 msgstr ""
24274
24275 # type: textblock
24276 #: ../tools/virt-ls.pl:76
24277 msgid ""
24278 "You I<cannot> combine these options.  To do more complicated things, use "
24279 "L<guestfish(1)>."
24280 msgstr ""
24281
24282 # type: =item
24283 #: ../tools/virt-ls.pl:117
24284 msgid "B<-R> | B<--recursive>"
24285 msgstr ""
24286
24287 # type: textblock
24288 #: ../tools/virt-ls.pl:119
24289 msgid ""
24290 "Select the mode.  With neither of these options, C<virt-ls> produces a "
24291 "simple, flat list of the files in the named directory."
24292 msgstr ""
24293
24294 # type: textblock
24295 #: ../tools/virt-ls.pl:122
24296 msgid ""
24297 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
24298 "like the plain C<ls -l> command)."
24299 msgstr ""
24300
24301 # type: textblock
24302 #: ../tools/virt-ls.pl:125
24303 msgid ""
24304 "C<virt-ls -R> produces a recursive list of files starting at the named "
24305 "directory.  See the documentation for the C<guestfs_find> command L<guestfs"
24306 "(3)> for precise details."
24307 msgstr ""
24308
24309 # type: textblock
24310 #: ../tools/virt-ls.pl:129
24311 msgid "You cannot combine these options."
24312 msgstr ""
24313
24314 # type: textblock
24315 #: ../tools/virt-ls.pl:212
24316 msgid ""
24317 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<Sys::"
24318 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24319 "org/>."
24320 msgstr ""
24321
24322 # type: textblock
24323 #: ../tools/virt-make-fs.pl:37
24324 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
24325 msgstr ""
24326
24327 # type: verbatim
24328 #: ../tools/virt-make-fs.pl:41
24329 #, no-wrap
24330 msgid ""
24331 " virt-make-fs [--options] input.tar output.img\n"
24332 "\n"
24333 msgstr ""
24334
24335 # type: verbatim
24336 #: ../tools/virt-make-fs.pl:43
24337 #, no-wrap
24338 msgid ""
24339 " virt-make-fs [--options] input.tar.gz output.img\n"
24340 "\n"
24341 msgstr ""
24342
24343 # type: verbatim
24344 #: ../tools/virt-make-fs.pl:45
24345 #, no-wrap
24346 msgid ""
24347 " virt-make-fs [--options] directory output.img\n"
24348 "\n"
24349 msgstr ""
24350
24351 # type: textblock
24352 #: ../tools/virt-make-fs.pl:49
24353 msgid ""
24354 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
24355 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
24356 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
24357 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
24358 "you want to attach these filesystems to existing virtual machines (eg. to "
24359 "import large amounts of read-only data to a VM)."
24360 msgstr ""
24361
24362 # type: textblock
24363 #: ../tools/virt-make-fs.pl:57
24364 msgid "Basic usage is:"
24365 msgstr ""
24366
24367 # type: verbatim
24368 #: ../tools/virt-make-fs.pl:59
24369 #, no-wrap
24370 msgid ""
24371 " virt-make-fs input output\n"
24372 "\n"
24373 msgstr ""
24374
24375 # type: textblock
24376 #: ../tools/virt-make-fs.pl:61
24377 msgid ""
24378 "where C<input> is either a directory containing files that you want to add, "
24379 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
24380 "C<output> is a disk image.  The input type is detected automatically.  The "
24381 "output disk image defaults to a raw ext2 image unless you specify extra "
24382 "flags (see L</OPTIONS> below)."
24383 msgstr ""
24384
24385 # type: =head2
24386 #: ../tools/virt-make-fs.pl:67
24387 msgid "EXTRA SPACE"
24388 msgstr ""
24389
24390 # type: textblock
24391 #: ../tools/virt-make-fs.pl:69
24392 msgid ""
24393 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
24394 "the files that it contains, but might have extra space.  Depending on how "
24395 "you are going to use the output, you might think this extra space is wasted "
24396 "and want to minimize it, or you might want to leave space so that more files "
24397 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
24398 "but you can use the C<--size> flag to leave space in the filesystem if you "
24399 "want it."
24400 msgstr ""
24401
24402 # type: textblock
24403 #: ../tools/virt-make-fs.pl:77
24404 msgid ""
24405 "An alternative way to leave extra space but not make the output image any "
24406 "bigger is to use an alternative disk image format (instead of the default "
24407 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
24408 "image format (check your hypervisor supports this before using it).  This "
24409 "allows you to choose a large C<--size> but the extra space won't actually be "
24410 "allocated in the image until you try to store something in it."
24411 msgstr ""
24412
24413 # type: textblock
24414 #: ../tools/virt-make-fs.pl:85
24415 msgid ""
24416 "Don't forget that you can also use local commands including L<resize2fs(8)> "
24417 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-"
24418 "resize to build another image from scratch."
24419 msgstr ""
24420
24421 # type: =head3
24422 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
24423 #: ../tools/virt-make-fs.pl:142
24424 msgid "EXAMPLE"
24425 msgstr ""
24426
24427 # type: verbatim
24428 #: ../tools/virt-make-fs.pl:91
24429 #, no-wrap
24430 msgid ""
24431 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
24432 "\n"
24433 msgstr ""
24434
24435 # type: =head2
24436 #: ../tools/virt-make-fs.pl:93
24437 msgid "FILESYSTEM TYPE"
24438 msgstr ""
24439
24440 # type: textblock
24441 #: ../tools/virt-make-fs.pl:95
24442 msgid ""
24443 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
24444 "libguestfs supports can be used (but I<not> read-only formats like "
24445 "ISO9660).  Here are some of the more common choices:"
24446 msgstr ""
24447
24448 # type: =item
24449 #: ../tools/virt-make-fs.pl:101
24450 msgid "I<ext3>"
24451 msgstr ""
24452
24453 # type: textblock
24454 #: ../tools/virt-make-fs.pl:103
24455 msgid ""
24456 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
24457 "you are not going to use the filesystem in a way that requires the journal, "
24458 "then this is just wasted overhead."
24459 msgstr ""
24460
24461 # type: =item
24462 #: ../tools/virt-make-fs.pl:107
24463 msgid "I<ntfs> or I<vfat>"
24464 msgstr ""
24465
24466 # type: textblock
24467 #: ../tools/virt-make-fs.pl:109
24468 msgid "Useful if exporting data to a Windows guest."
24469 msgstr ""
24470
24471 # type: textblock
24472 #: ../tools/virt-make-fs.pl:111
24473 msgid ""
24474 "I<Note for vfat>: The tar archive or local directory must only contain files "
24475 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
24476 "program running within libguestfs is unable to change the ownership of non-"
24477 "root files, since vfat itself does not support this."
24478 msgstr ""
24479
24480 # type: =item
24481 #: ../tools/virt-make-fs.pl:116
24482 msgid "I<minix>"
24483 msgstr ""
24484
24485 # type: textblock
24486 #: ../tools/virt-make-fs.pl:118
24487 msgid ""
24488 "Lower overhead than C<ext2>, but certain limitations on filename length and "
24489 "total filesystem size."
24490 msgstr ""
24491
24492 # type: verbatim
24493 #: ../tools/virt-make-fs.pl:125
24494 #, no-wrap
24495 msgid ""
24496 " virt-make-fs --type=minix input minixfs.img\n"
24497 "\n"
24498 msgstr ""
24499
24500 # type: =head2
24501 #: ../tools/virt-make-fs.pl:127
24502 msgid "TO PARTITION OR NOT TO PARTITION"
24503 msgstr ""
24504
24505 # type: textblock
24506 #: ../tools/virt-make-fs.pl:129
24507 msgid "Optionally virt-make-fs can add a partition table to the output disk."
24508 msgstr ""
24509
24510 # type: textblock
24511 #: ../tools/virt-make-fs.pl:131
24512 msgid ""
24513 "Adding a partition can make the disk image more compatible with certain "
24514 "virtualized operating systems which don't expect to see a filesystem "
24515 "directly located on a block device (Linux doesn't care and will happily "
24516 "handle both types)."
24517 msgstr ""
24518
24519 # type: textblock
24520 #: ../tools/virt-make-fs.pl:136
24521 msgid ""
24522 "On the other hand, if you have a partition table then the output image is no "
24523 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
24524 "directly on a partitioned disk image.  (However libguestfs tools such as "
24525 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
24526 msgstr ""
24527
24528 # type: textblock
24529 #: ../tools/virt-make-fs.pl:144
24530 msgid "Add an MBR partition:"
24531 msgstr ""
24532
24533 # type: verbatim
24534 #: ../tools/virt-make-fs.pl:146
24535 #, no-wrap
24536 msgid ""
24537 " virt-make-fs --partition -- input disk.img\n"
24538 "\n"
24539 msgstr ""
24540
24541 # type: textblock
24542 #: ../tools/virt-make-fs.pl:148
24543 msgid ""
24544 "If the output disk image could be terabyte-sized or larger, it's better to "
24545 "use an EFI/GPT-compatible partition table:"
24546 msgstr ""
24547
24548 # type: verbatim
24549 #: ../tools/virt-make-fs.pl:151
24550 #, no-wrap
24551 msgid ""
24552 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
24553 "\n"
24554 msgstr ""
24555
24556 # type: =item
24557 #: ../tools/virt-make-fs.pl:177 ../tools/virt-win-reg.pl:196
24558 msgid "B<--debug>"
24559 msgstr ""
24560
24561 # type: textblock
24562 #: ../tools/virt-make-fs.pl:179
24563 msgid "Enable debugging information."
24564 msgstr ""
24565
24566 # type: =item
24567 #: ../tools/virt-make-fs.pl:185
24568 msgid "B<--size=E<lt>NE<gt>>"
24569 msgstr ""
24570
24571 # type: =item
24572 #: ../tools/virt-make-fs.pl:187
24573 msgid "B<--size=+E<lt>NE<gt>>"
24574 msgstr ""
24575
24576 # type: =item
24577 #: ../tools/virt-make-fs.pl:189
24578 msgid "B<-s E<lt>NE<gt>>"
24579 msgstr ""
24580
24581 # type: =item
24582 #: ../tools/virt-make-fs.pl:191
24583 msgid "B<-s +E<lt>NE<gt>>"
24584 msgstr ""
24585
24586 # type: textblock
24587 #: ../tools/virt-make-fs.pl:193
24588 msgid ""
24589 "Use the C<--size> (or C<-s>) option to choose the size of the output image."
24590 msgstr ""
24591
24592 # type: textblock
24593 #: ../tools/virt-make-fs.pl:196
24594 msgid ""
24595 "If this option is I<not> given, then the output image will be just large "
24596 "enough to contain all the files, with not much wasted space."
24597 msgstr ""
24598
24599 # type: textblock
24600 #: ../tools/virt-make-fs.pl:199
24601 msgid ""
24602 "To choose a fixed size output disk, specify an absolute number followed by b/"
24603 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
24604 "Petabytes or Exabytes.  This must be large enough to contain all the input "
24605 "files, else you will get an error."
24606 msgstr ""
24607
24608 # type: textblock
24609 #: ../tools/virt-make-fs.pl:204
24610 msgid ""
24611 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
24612 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
24613 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
24614 "the input files, and (approximately) an extra 200 MB free space."
24615 msgstr ""
24616
24617 # type: textblock
24618 #: ../tools/virt-make-fs.pl:210
24619 msgid ""
24620 "Note that virt-make-fs estimates free space, and therefore will not produce "
24621 "filesystems containing precisely the free space requested.  (It is much more "
24622 "expensive and time-consuming to produce a filesystem which has precisely the "
24623 "desired free space)."
24624 msgstr ""
24625
24626 # type: =item
24627 #: ../tools/virt-make-fs.pl:219
24628 msgid "B<--format=E<lt>fmtE<gt>>"
24629 msgstr ""
24630
24631 # type: =item
24632 #: ../tools/virt-make-fs.pl:221
24633 msgid "B<-F E<lt>fmtE<gt>>"
24634 msgstr ""
24635
24636 # type: textblock
24637 #: ../tools/virt-make-fs.pl:223
24638 msgid "Choose the output disk image format."
24639 msgstr ""
24640
24641 # type: textblock
24642 #: ../tools/virt-make-fs.pl:225
24643 msgid "The default is C<raw> (raw disk image)."
24644 msgstr ""
24645
24646 # type: textblock
24647 #: ../tools/virt-make-fs.pl:227
24648 msgid ""
24649 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
24650 "that would really make sense here is C<qcow2>."
24651 msgstr ""
24652
24653 # type: =item
24654 #: ../tools/virt-make-fs.pl:234
24655 msgid "B<--type=E<lt>fsE<gt>>"
24656 msgstr ""
24657
24658 # type: =item
24659 #: ../tools/virt-make-fs.pl:236
24660 msgid "B<-t E<lt>fsE<gt>>"
24661 msgstr ""
24662
24663 # type: textblock
24664 #: ../tools/virt-make-fs.pl:238
24665 msgid "Choose the output filesystem type."
24666 msgstr ""
24667
24668 # type: textblock
24669 #: ../tools/virt-make-fs.pl:240
24670 msgid "The default is C<ext2>."
24671 msgstr ""
24672
24673 # type: textblock
24674 #: ../tools/virt-make-fs.pl:242
24675 msgid ""
24676 "Any filesystem which is supported read-write by libguestfs can be used here."
24677 msgstr ""
24678
24679 # type: =item
24680 #: ../tools/virt-make-fs.pl:249
24681 msgid "B<--partition>"
24682 msgstr ""
24683
24684 # type: =item
24685 #: ../tools/virt-make-fs.pl:251
24686 msgid "B<--partition=E<lt>parttypeE<gt>>"
24687 msgstr ""
24688
24689 # type: textblock
24690 #: ../tools/virt-make-fs.pl:253
24691 msgid ""
24692 "If specified, this flag adds an MBR partition table to the output disk image."
24693 msgstr ""
24694
24695 # type: textblock
24696 #: ../tools/virt-make-fs.pl:256
24697 msgid ""
24698 "You can change the partition table type, eg. C<--partition=gpt> for large "
24699 "disks."
24700 msgstr ""
24701
24702 # type: textblock
24703 #: ../tools/virt-make-fs.pl:259
24704 msgid ""
24705 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
24706 "might consider the next parameter to be the partition type.  For example:"
24707 msgstr ""
24708
24709 # type: verbatim
24710 #: ../tools/virt-make-fs.pl:263
24711 #, no-wrap
24712 msgid ""
24713 " virt-make-fs --partition input.tar ...\n"
24714 "\n"
24715 msgstr ""
24716
24717 # type: textblock
24718 #: ../tools/virt-make-fs.pl:265
24719 msgid ""
24720 "would cause virt-make-fs to think you wanted to use a partition type of "
24721 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
24722 "dash) between options and the input file argument:"
24723 msgstr ""
24724
24725 # type: verbatim
24726 #: ../tools/virt-make-fs.pl:269
24727 #, no-wrap
24728 msgid ""
24729 " virt-make-fs --partition -- input.tar ...\n"
24730 "\n"
24731 msgstr ""
24732
24733 # type: textblock
24734 #: ../tools/virt-make-fs.pl:529
24735 msgid ""
24736 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
24737 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
24738 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
24739 msgstr ""
24740
24741 # type: textblock
24742 #: ../tools/virt-make-fs.pl:543 ../tools/virt-win-reg.pl:478
24743 msgid ""
24744 "When reporting bugs, please enable debugging and capture the I<complete> "
24745 "output:"
24746 msgstr ""
24747
24748 # type: verbatim
24749 #: ../tools/virt-make-fs.pl:546
24750 #, no-wrap
24751 msgid ""
24752 " export LIBGUESTFS_DEBUG=1\n"
24753 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
24754 "\n"
24755 msgstr ""
24756
24757 # type: textblock
24758 #: ../tools/virt-make-fs.pl:549
24759 msgid ""
24760 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
24761 "redhat.com/>"
24762 msgstr ""
24763
24764 # type: textblock
24765 #: ../tools/virt-make-fs.pl:558 ../tools/virt-resize.pl:1413
24766 #: ../tools/virt-win-reg.pl:493
24767 msgid "Copyright (C) 2010 Red Hat Inc."
24768 msgstr ""
24769
24770 # type: textblock
24771 #: ../tools/virt-rescue.pl:33
24772 msgid "virt-rescue - Run a rescue shell on a virtual machine"
24773 msgstr ""
24774
24775 # type: verbatim
24776 #: ../tools/virt-rescue.pl:37
24777 #, no-wrap
24778 msgid ""
24779 " virt-rescue [--options] domname\n"
24780 "\n"
24781 msgstr ""
24782
24783 # type: verbatim
24784 #: ../tools/virt-rescue.pl:39
24785 #, no-wrap
24786 msgid ""
24787 " virt-rescue [--options] disk.img [disk.img ...]\n"
24788 "\n"
24789 msgstr ""
24790
24791 # type: textblock
24792 #: ../tools/virt-rescue.pl:43
24793 msgid ""
24794 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
24795 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
24796 "you from doing this, but doesn't catch all cases."
24797 msgstr ""
24798
24799 # type: textblock
24800 #: ../tools/virt-rescue.pl:47
24801 msgid ""
24802 "However if you use the I<--ro> (read only) option, then you can attach a "
24803 "shell to a live virtual machine.  The results might be strange or "
24804 "inconsistent at times but you won't get disk corruption."
24805 msgstr ""
24806
24807 # type: textblock
24808 #: ../tools/virt-rescue.pl:53
24809 msgid ""
24810 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
24811 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
24812 "recovery tools which you can use to examine or rescue a virtual machine or "
24813 "disk image."
24814 msgstr ""
24815
24816 # type: textblock
24817 #: ../tools/virt-rescue.pl:58
24818 msgid ""
24819 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
24820 "on disk image(s):"
24821 msgstr ""
24822
24823 # type: verbatim
24824 #: ../tools/virt-rescue.pl:61
24825 #, no-wrap
24826 msgid ""
24827 " virt-rescue GuestName\n"
24828 "\n"
24829 msgstr ""
24830
24831 # type: verbatim
24832 #: ../tools/virt-rescue.pl:63
24833 #, no-wrap
24834 msgid ""
24835 " virt-rescue --ro /path/to/disk.img\n"
24836 "\n"
24837 msgstr ""
24838
24839 # type: verbatim
24840 #: ../tools/virt-rescue.pl:65
24841 #, no-wrap
24842 msgid ""
24843 " virt-rescue /dev/sdc\n"
24844 "\n"
24845 msgstr ""
24846
24847 # type: textblock
24848 #: ../tools/virt-rescue.pl:67
24849 msgid "For live VMs you I<must> use the --ro option."
24850 msgstr ""
24851
24852 # type: textblock
24853 #: ../tools/virt-rescue.pl:69
24854 msgid ""
24855 "When you run virt-rescue on a virtual machine or disk image, you are placed "
24856 "in an interactive bash shell where you can use many ordinary Linux "
24857 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
24858 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
24859 "is an empty directory called C</sysroot> where you can mount filesystems."
24860 msgstr ""
24861
24862 # type: textblock
24863 #: ../tools/virt-rescue.pl:76
24864 msgid ""
24865 "In the example below, we list logical volumes, then choose one to mount "
24866 "under C</sysroot>:"
24867 msgstr ""
24868
24869 # type: verbatim
24870 #: ../tools/virt-rescue.pl:79
24871 #, no-wrap
24872 msgid ""
24873 " ><rescue> lvs\n"
24874 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
24875 " lv_root vg_f11x64 -wi-a-   8.83G\n"
24876 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
24877 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
24878 " ><rescue> ls /sysroot\n"
24879 "\n"
24880 msgstr ""
24881
24882 # type: textblock
24883 #: ../tools/virt-rescue.pl:86
24884 msgid ""
24885 "If you don't know what filesystems are available on the virtual machine then "
24886 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
24887 msgstr ""
24888
24889 # type: =head1
24890 #: ../tools/virt-rescue.pl:90 ../tools/virt-resize.pl:1350
24891 msgid "NOTES"
24892 msgstr ""
24893
24894 # type: textblock
24895 #: ../tools/virt-rescue.pl:92
24896 msgid ""
24897 "Virt-rescue can be used on I<any> disk image file or device, not just a "
24898 "virtual machine.  For example you can use it on a blank file if you want to "
24899 "partition that file (although we would recommend using L<guestfish(1)> "
24900 "instead as it is more suitable for this purpose).  You can even use virt-"
24901 "rescue on things like SD cards."
24902 msgstr ""
24903
24904 # type: textblock
24905 #: ../tools/virt-rescue.pl:98
24906 msgid ""
24907 "This tool is just designed for quick interactive hacking on a virtual "
24908 "machine.  For more structured access to a virtual machine disk image, you "
24909 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
24910 "make scripted changes to guests, use L<guestfish(1)>."
24911 msgstr ""
24912
24913 # type: =item
24914 #: ../tools/virt-rescue.pl:127
24915 msgid "B<--append kernelopts>"
24916 msgstr ""
24917
24918 # type: textblock
24919 #: ../tools/virt-rescue.pl:129
24920 msgid "Pass additional options to the rescue kernel."
24921 msgstr ""
24922
24923 # type: =item
24924 #: ../tools/virt-rescue.pl:147
24925 msgid "B<--memsize MB> | B<-m MB>"
24926 msgstr ""
24927
24928 # type: textblock
24929 #: ../tools/virt-rescue.pl:149
24930 msgid ""
24931 "Change the amount of memory allocated to the rescue system.  The default is "
24932 "set by libguestfs and is small but adequate for running system tools.  The "
24933 "occasional program might need more memory.  The parameter is specified in "
24934 "megabytes."
24935 msgstr ""
24936
24937 # type: =item
24938 #: ../tools/virt-rescue.pl:158
24939 msgid "B<--ro> | B<-r>"
24940 msgstr ""
24941
24942 # type: textblock
24943 #: ../tools/virt-rescue.pl:160
24944 msgid "Open the image read-only."
24945 msgstr ""
24946
24947 # type: textblock
24948 #: ../tools/virt-rescue.pl:172
24949 msgid ""
24950 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
24951 "SELINUX> before using this option."
24952 msgstr ""
24953
24954 # type: textblock
24955 #: ../tools/virt-rescue.pl:228
24956 msgid ""
24957 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
24958 "ENVIRONMENT VARIABLES> for the complete list."
24959 msgstr ""
24960
24961 # type: textblock
24962 #: ../tools/virt-rescue.pl:233
24963 msgid ""
24964 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
24965 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24966 msgstr ""
24967
24968 # type: textblock
24969 #: ../tools/virt-resize.pl:42
24970 msgid "virt-resize - Resize a virtual machine disk"
24971 msgstr ""
24972
24973 # type: verbatim
24974 #: ../tools/virt-resize.pl:46
24975 #, no-wrap
24976 msgid ""
24977 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
24978 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
24979 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
24980 "\n"
24981 msgstr ""
24982
24983 # type: textblock
24984 #: ../tools/virt-resize.pl:52
24985 msgid ""
24986 "Virt-resize is a tool which can resize a virtual machine disk, making it "
24987 "larger or smaller overall, and resizing or deleting any partitions contained "
24988 "within."
24989 msgstr ""
24990
24991 # type: textblock
24992 #: ../tools/virt-resize.pl:56
24993 msgid ""
24994 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
24995 "not> be used on live virtual machines - for consistent results, shut the "
24996 "virtual machine down before resizing it."
24997 msgstr ""
24998
24999 # type: textblock
25000 #: ../tools/virt-resize.pl:60
25001 msgid ""
25002 "If you are not familiar with the associated tools: L<virt-list-partitions(1)"
25003 ">, L<virt-list-filesystems(1)> and L<virt-df(1)>, we recommend you go and "
25004 "read those manual pages first."
25005 msgstr ""
25006
25007 # type: textblock
25008 #: ../tools/virt-resize.pl:68
25009 msgid ""
25010 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
25011 "fill the extra 5GB of space."
25012 msgstr ""
25013
25014 # type: verbatim
25015 #: ../tools/virt-resize.pl:71
25016 #, no-wrap
25017 msgid ""
25018 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
25019 " virt-list-partitions -lht olddisk\n"
25020 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
25021 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
25022 "\n"
25023 msgstr ""
25024
25025 # type: textblock
25026 #: ../tools/virt-resize.pl:76
25027 msgid ""
25028 "As above, but make the /boot partition 200MB bigger, while giving the "
25029 "remaining space to /dev/sda2:"
25030 msgstr ""
25031
25032 # type: verbatim
25033 #: ../tools/virt-resize.pl:79
25034 #, no-wrap
25035 msgid ""
25036 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
25037 "\n"
25038 msgstr ""
25039
25040 # type: =head1
25041 #: ../tools/virt-resize.pl:81
25042 msgid "DETAILED USAGE"
25043 msgstr ""
25044
25045 # type: =head2
25046 #: ../tools/virt-resize.pl:83
25047 msgid "EXPANDING A VIRTUAL MACHINE DISK"
25048 msgstr ""
25049
25050 # type: =item
25051 #: ../tools/virt-resize.pl:87
25052 msgid "1. Shut down the virtual machine"
25053 msgstr ""
25054
25055 # type: =item
25056 #: ../tools/virt-resize.pl:89
25057 msgid "2. Locate input disk image"
25058 msgstr ""
25059
25060 # type: textblock
25061 #: ../tools/virt-resize.pl:91
25062 msgid ""
25063 "Locate the input disk image (ie. the file or device on the host containing "
25064 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
25065 "dumpxml> like this to find the disk image name:"
25066 msgstr ""
25067
25068 # type: verbatim
25069 #: ../tools/virt-resize.pl:95
25070 #, no-wrap
25071 msgid ""
25072 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
25073 " Found 1 nodes:\n"
25074 " -- NODE --\n"
25075 " <source dev=\"/dev/vg/lv_guest\" />\n"
25076 "\n"
25077 msgstr ""
25078
25079 # type: =item
25080 #: ../tools/virt-resize.pl:100
25081 msgid "3. Look at current sizing"
25082 msgstr ""
25083
25084 # type: textblock
25085 #: ../tools/virt-resize.pl:102
25086 msgid ""
25087 "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
25088 msgstr ""
25089
25090 # type: verbatim
25091 #: ../tools/virt-resize.pl:105
25092 #, no-wrap
25093 msgid ""
25094 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
25095 " /dev/sda1 ext3 101.9M\n"
25096 " /dev/sda2 pv 7.9G\n"
25097 " /dev/sda device 8.0G\n"
25098 "\n"
25099 msgstr ""
25100
25101 # type: textblock
25102 #: ../tools/virt-resize.pl:110
25103 msgid ""
25104 "(This example is a virtual machine with an 8 GB disk which we would like to "
25105 "expand up to 10 GB)."
25106 msgstr ""
25107
25108 # type: =item
25109 #: ../tools/virt-resize.pl:113
25110 msgid "4. Create output disk"
25111 msgstr ""
25112
25113 # type: textblock
25114 #: ../tools/virt-resize.pl:115
25115 msgid ""
25116 "Virt-resize cannot do in-place disk modifications.  You have to have space "
25117 "to store the resized output disk."
25118 msgstr ""
25119
25120 # type: textblock
25121 #: ../tools/virt-resize.pl:118
25122 msgid ""
25123 "To store the resized disk image in a file, create a file of a suitable size:"
25124 msgstr ""
25125
25126 # type: verbatim
25127 #: ../tools/virt-resize.pl:121
25128 #, no-wrap
25129 msgid ""
25130 " # rm -f outdisk\n"
25131 " # truncate -s 10G outdisk\n"
25132 "\n"
25133 msgstr ""
25134
25135 # type: textblock
25136 #: ../tools/virt-resize.pl:124
25137 msgid "Or use L<lvcreate(1)> to create a logical volume:"
25138 msgstr ""
25139
25140 # type: verbatim
25141 #: ../tools/virt-resize.pl:126
25142 #, no-wrap
25143 msgid ""
25144 " # lvcreate -L 10G -n lv_name vg_name\n"
25145 "\n"
25146 msgstr ""
25147
25148 # type: textblock
25149 #: ../tools/virt-resize.pl:128
25150 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
25151 msgstr ""
25152
25153 # type: verbatim
25154 #: ../tools/virt-resize.pl:130
25155 #, no-wrap
25156 msgid ""
25157 " # virsh pool-list\n"
25158 " # virsh vol-create-as poolname newvol 10G\n"
25159 "\n"
25160 msgstr ""
25161
25162 # type: =item
25163 #: ../tools/virt-resize.pl:133
25164 msgid "5. Resize"
25165 msgstr ""
25166
25167 # type: textblock
25168 #: ../tools/virt-resize.pl:135
25169 msgid ""
25170 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
25171 "file) and the output disk.  The output disk is the one created in the "
25172 "previous step."
25173 msgstr ""
25174
25175 # type: verbatim
25176 #: ../tools/virt-resize.pl:139
25177 #, no-wrap
25178 msgid ""
25179 " # virt-resize indisk outdisk\n"
25180 "\n"
25181 msgstr ""
25182
25183 # type: textblock
25184 #: ../tools/virt-resize.pl:141
25185 msgid ""
25186 "This command just copies disk image C<indisk> to disk image C<outdisk> "
25187 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
25188 "larger, then an extra, empty partition is created at the end of the disk "
25189 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
25190 "error."
25191 msgstr ""
25192
25193 # type: textblock
25194 #: ../tools/virt-resize.pl:147
25195 msgid ""
25196 "More realistically you'd want to expand existing partitions in the disk "
25197 "image by passing extra options (for the full list see the L</OPTIONS> "
25198 "section below)."
25199 msgstr ""
25200
25201 # type: textblock
25202 #: ../tools/virt-resize.pl:151
25203 msgid ""
25204 "L</--expand> is the most useful option.  It expands the named partition "
25205 "within the disk to fill any extra space:"
25206 msgstr ""
25207
25208 # type: verbatim
25209 #: ../tools/virt-resize.pl:154
25210 #, no-wrap
25211 msgid ""
25212 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
25213 "\n"
25214 msgstr ""
25215
25216 # type: textblock
25217 #: ../tools/virt-resize.pl:156
25218 msgid ""
25219 "(In this case, an extra partition is I<not> created at the end of the disk, "
25220 "because there will be no unused space)."
25221 msgstr ""
25222
25223 # type: textblock
25224 #: ../tools/virt-resize.pl:159
25225 msgid ""
25226 "L</--resize> is the other commonly used option.  The following would "
25227 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
25228 "rest of the available space:"
25229 msgstr ""
25230
25231 # type: verbatim
25232 #: ../tools/virt-resize.pl:163
25233 #, no-wrap
25234 msgid ""
25235 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25236 "     indisk outdisk\n"
25237 "\n"
25238 msgstr ""
25239
25240 # type: textblock
25241 #: ../tools/virt-resize.pl:166
25242 msgid ""
25243 "If the expanded partition in the image contains a filesystem or LVM PV, then "
25244 "if virt-resize knows how, it will resize the contents, the equivalent of "
25245 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or L<ntfsresize(8)"
25246 ">.  However virt-resize does not know how to resize some filesystems, so you "
25247 "would have to online resize them after booting the guest.  And virt-resize "
25248 "also does not resize anything inside an LVM PV, it just resizes the PV "
25249 "itself and leaves the user to resize any LVs inside that PV as desired."
25250 msgstr ""
25251
25252 # type: textblock
25253 #: ../tools/virt-resize.pl:175
25254 msgid "Other options are covered below."
25255 msgstr ""
25256
25257 # type: =item
25258 #: ../tools/virt-resize.pl:177
25259 msgid "6. Test"
25260 msgstr ""
25261
25262 # type: textblock
25263 #: ../tools/virt-resize.pl:179
25264 msgid "Thoroughly test the new disk image I<before> discarding the old one."
25265 msgstr ""
25266
25267 # type: textblock
25268 #: ../tools/virt-resize.pl:181
25269 msgid "If you are using libvirt, edit the XML to point at the new disk:"
25270 msgstr ""
25271
25272 # type: verbatim
25273 #: ../tools/virt-resize.pl:183
25274 #, no-wrap
25275 msgid ""
25276 " # virsh edit guestname\n"
25277 "\n"
25278 msgstr ""
25279
25280 # type: textblock
25281 #: ../tools/virt-resize.pl:185
25282 msgid ""
25283 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
25284 "html#elementsDisks>"
25285 msgstr ""
25286
25287 # type: textblock
25288 #: ../tools/virt-resize.pl:188
25289 msgid "Then start up the domain with the new, resized disk:"
25290 msgstr ""
25291
25292 # type: verbatim
25293 #: ../tools/virt-resize.pl:190
25294 #, no-wrap
25295 msgid ""
25296 " # virsh start guestname\n"
25297 "\n"
25298 msgstr ""
25299
25300 # type: textblock
25301 #: ../tools/virt-resize.pl:192
25302 msgid ""
25303 "and check that it still works.  See also the L</NOTES> section below for "
25304 "additional information."
25305 msgstr ""
25306
25307 # type: =item
25308 #: ../tools/virt-resize.pl:195
25309 msgid "7. Resize LVs etc inside the guest"
25310 msgstr ""
25311
25312 # type: textblock
25313 #: ../tools/virt-resize.pl:197
25314 msgid "(This can also be done offline using L<guestfish(1)>)"
25315 msgstr ""
25316
25317 # type: textblock
25318 #: ../tools/virt-resize.pl:199
25319 msgid ""
25320 "Once the guest has booted you should see the new space available, at least "
25321 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
25322 "may need to resize LVs inside PVs, and also resize filesystem types that "
25323 "virt-resize does not know how to expand."
25324 msgstr ""
25325
25326 # type: =head2
25327 #: ../tools/virt-resize.pl:206
25328 msgid "SHRINKING A VIRTUAL MACHINE DISK"
25329 msgstr ""
25330
25331 # type: textblock
25332 #: ../tools/virt-resize.pl:208
25333 msgid ""
25334 "Shrinking is somewhat more complex than expanding, and only an overview is "
25335 "given here."
25336 msgstr ""
25337
25338 # type: textblock
25339 #: ../tools/virt-resize.pl:211
25340 msgid ""
25341 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
25342 "filesystems).  The user has to shrink content before passing the disk image "
25343 "to virt-resize, and virt-resize will check that the content has been shrunk "
25344 "properly."
25345 msgstr ""
25346
25347 # type: textblock
25348 #: ../tools/virt-resize.pl:216
25349 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
25350 msgstr ""
25351
25352 # type: textblock
25353 #: ../tools/virt-resize.pl:218
25354 msgid ""
25355 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
25356 "steps 3 and 4 above to allocate a new disk image."
25357 msgstr ""
25358
25359 # type: textblock
25360 #: ../tools/virt-resize.pl:221
25361 msgid ""
25362 "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
25363 msgstr ""
25364
25365 # type: =head2
25366 #: ../tools/virt-resize.pl:224
25367 msgid "IGNORING OR DELETING PARTITIONS"
25368 msgstr ""
25369
25370 # type: textblock
25371 #: ../tools/virt-resize.pl:226
25372 msgid ""
25373 "virt-resize also gives a convenient way to ignore or delete partitions when "
25374 "copying from the input disk to the output disk.  Ignoring a partition speeds "
25375 "up the copy where you don't care about the existing contents of a "
25376 "partition.  Deleting a partition removes it completely, but note that it "
25377 "also renumbers any partitions after the one which is deleted, which can "
25378 "leave some guests unbootable."
25379 msgstr ""
25380
25381 # type: textblock
25382 #: ../tools/virt-resize.pl:243
25383 msgid "Display help."
25384 msgstr ""
25385
25386 # type: =item
25387 #: ../tools/virt-resize.pl:257
25388 msgid "B<--resize part=size>"
25389 msgstr ""
25390
25391 # type: textblock
25392 #: ../tools/virt-resize.pl:259
25393 msgid ""
25394 "Resize the named partition (expanding or shrinking it) so that it has the "
25395 "given size."
25396 msgstr ""
25397
25398 # type: textblock
25399 #: ../tools/virt-resize.pl:262
25400 msgid ""
25401 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
25402 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
25403 "Exabytes; or as a percentage of the current size; or as a relative number or "
25404 "percentage.  For example:"
25405 msgstr ""
25406
25407 # type: verbatim
25408 #: ../tools/virt-resize.pl:267
25409 #, no-wrap
25410 msgid ""
25411 " --resize /dev/sda2=10G\n"
25412 "\n"
25413 msgstr ""
25414
25415 # type: verbatim
25416 #: ../tools/virt-resize.pl:269
25417 #, no-wrap
25418 msgid ""
25419 " --resize /dev/sda4=90%\n"
25420 "\n"
25421 msgstr ""
25422
25423 # type: verbatim
25424 #: ../tools/virt-resize.pl:271
25425 #, no-wrap
25426 msgid ""
25427 " --resize /dev/sda2=+1G\n"
25428 "\n"
25429 msgstr ""
25430
25431 # type: verbatim
25432 #: ../tools/virt-resize.pl:273
25433 #, no-wrap
25434 msgid ""
25435 " --resize /dev/sda2=-200M\n"
25436 "\n"
25437 msgstr ""
25438
25439 # type: verbatim
25440 #: ../tools/virt-resize.pl:275
25441 #, no-wrap
25442 msgid ""
25443 " --resize /dev/sda1=+128K\n"
25444 "\n"
25445 msgstr ""
25446
25447 # type: verbatim
25448 #: ../tools/virt-resize.pl:277
25449 #, no-wrap
25450 msgid ""
25451 " --resize /dev/sda1=+10%\n"
25452 "\n"
25453 msgstr ""
25454
25455 # type: verbatim
25456 #: ../tools/virt-resize.pl:279
25457 #, no-wrap
25458 msgid ""
25459 " --resize /dev/sda1=-10%\n"
25460 "\n"
25461 msgstr ""
25462
25463 # type: textblock
25464 #: ../tools/virt-resize.pl:281
25465 msgid ""
25466 "You can increase the size of any partition.  Virt-resize will expand the "
25467 "direct content of the partition if it knows how (see C<--expand> below)."
25468 msgstr ""
25469
25470 # type: textblock
25471 #: ../tools/virt-resize.pl:285
25472 msgid ""
25473 "You can only I<decrease> the size of partitions that contain filesystems or "
25474 "PVs which have already been shrunk.  Virt-resize will check this has been "
25475 "done before proceeding, or else will print an error (see also C<--resize-"
25476 "force>)."
25477 msgstr ""
25478
25479 # type: textblock
25480 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382
25481 #: ../tools/virt-resize.pl:399
25482 msgid "You can give this option multiple times."
25483 msgstr ""
25484
25485 # type: =item
25486 #: ../tools/virt-resize.pl:296
25487 msgid "B<--resize-force part=size>"
25488 msgstr ""
25489
25490 # type: textblock
25491 #: ../tools/virt-resize.pl:298
25492 msgid ""
25493 "This is the same as C<--resize> except that it will let you decrease the "
25494 "size of any partition.  Generally this means you will lose any data which "
25495 "was at the end of the partition you shrink, but you may not care about that "
25496 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
25497 "as a swap partition)."
25498 msgstr ""
25499
25500 # type: textblock
25501 #: ../tools/virt-resize.pl:304
25502 msgid "See also the C<--ignore> option."
25503 msgstr ""
25504
25505 # type: =item
25506 #: ../tools/virt-resize.pl:310
25507 msgid "B<--expand part>"
25508 msgstr ""
25509
25510 # type: textblock
25511 #: ../tools/virt-resize.pl:312
25512 msgid ""
25513 "Expand the named partition so it uses up all extra space (space left over "
25514 "after any other resize changes that you request have been done)."
25515 msgstr ""
25516
25517 # type: textblock
25518 #: ../tools/virt-resize.pl:315
25519 msgid ""
25520 "If virt-resize knows how, it will expand the direct content of the "
25521 "partition.  For example, if the partition is an LVM PV, it will expand the "
25522 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25523 "content it doesn't know about alone."
25524 msgstr ""
25525
25526 # type: textblock
25527 #: ../tools/virt-resize.pl:320
25528 msgid "Currently virt-resize can resize:"
25529 msgstr ""
25530
25531 # type: textblock
25532 #: ../tools/virt-resize.pl:326
25533 msgid ""
25534 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
25535 "partition."
25536 msgstr ""
25537
25538 # type: textblock
25539 #: ../tools/virt-resize.pl:331
25540 msgid ""
25541 "NTFS filesystems contained directly in a partition, if libguestfs was "
25542 "compiled with support for NTFS."
25543 msgstr ""
25544
25545 # type: textblock
25546 #: ../tools/virt-resize.pl:334
25547 msgid ""
25548 "The filesystem must have been shut down consistently last time it was used.  "
25549 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25550 "consistency check, so at the first boot after resizing Windows will check "
25551 "the disk."
25552 msgstr ""
25553
25554 # type: textblock
25555 #: ../tools/virt-resize.pl:341
25556 msgid ""
25557 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
25558 "inside the PV.  The user will have to resize LVs as desired."
25559 msgstr ""
25560
25561 # type: textblock
25562 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
25563 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
25564 msgstr ""
25565
25566 # type: =item
25567 #: ../tools/virt-resize.pl:353
25568 msgid "B<--shrink part>"
25569 msgstr ""
25570
25571 # type: textblock
25572 #: ../tools/virt-resize.pl:355
25573 msgid ""
25574 "Shrink the named partition until the overall disk image fits in the "
25575 "destination.  The named partition B<must> contain a filesystem or PV which "
25576 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
25577 "online tools).  Virt-resize will check this and give an error if it has not "
25578 "been done."
25579 msgstr ""
25580
25581 # type: textblock
25582 #: ../tools/virt-resize.pl:361
25583 msgid ""
25584 "The amount by which the overall disk must be shrunk (after carrying out all "
25585 "other operations requested by the user) is called the \"deficit\".  For "
25586 "example, a straight copy (assume no other operations)  from a 5GB disk image "
25587 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
25588 "would give an error unless the user specified a partition to shrink and that "
25589 "partition had more than a gigabyte of free space."
25590 msgstr ""
25591
25592 # type: =item
25593 #: ../tools/virt-resize.pl:375
25594 msgid "B<--ignore part>"
25595 msgstr ""
25596
25597 # type: textblock
25598 #: ../tools/virt-resize.pl:377
25599 msgid ""
25600 "Ignore the named partition.  Effectively this means the partition is "
25601 "allocated on the destination disk, but the content is not copied across from "
25602 "the source disk.  The content of the partition will be blank (all zero "
25603 "bytes)."
25604 msgstr ""
25605
25606 # type: =item
25607 #: ../tools/virt-resize.pl:388
25608 msgid "B<--delete part>"
25609 msgstr ""
25610
25611 # type: textblock
25612 #: ../tools/virt-resize.pl:390
25613 msgid ""
25614 "Delete the named partition.  It would be more accurate to describe this as "
25615 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25616 "the original disk image is left intact."
25617 msgstr ""
25618
25619 # type: textblock
25620 #: ../tools/virt-resize.pl:394
25621 msgid ""
25622 "Note that when you delete a partition, then anything contained in the "
25623 "partition is also deleted.  Furthermore, this causes any partitions that "
25624 "come after to be I<renumbered>, which can easily make your guest unbootable."
25625 msgstr ""
25626
25627 # type: =item
25628 #: ../tools/virt-resize.pl:405
25629 msgid "B<--LV-expand logvol>"
25630 msgstr ""
25631
25632 # type: textblock
25633 #: ../tools/virt-resize.pl:407
25634 msgid ""
25635 "This takes the logical volume and, as a final step, expands it to fill all "
25636 "the space available in its volume group.  A typical usage, assuming a Linux "
25637 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
25638 "lv_root> would be:"
25639 msgstr ""
25640
25641 # type: verbatim
25642 #: ../tools/virt-resize.pl:412
25643 #, no-wrap
25644 msgid ""
25645 " virt-resize indisk outdisk \\\n"
25646 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
25647 "\n"
25648 msgstr ""
25649
25650 # type: textblock
25651 #: ../tools/virt-resize.pl:415
25652 msgid ""
25653 "This would first expand the partition (and PV), and then expand the root "
25654 "device to fill the extra space in the PV."
25655 msgstr ""
25656
25657 # type: textblock
25658 #: ../tools/virt-resize.pl:418
25659 msgid ""
25660 "The contents of the LV are also resized if virt-resize knows how to do "
25661 "that.  You can stop virt-resize from trying to expand the content by using "
25662 "the option C<--no-expand-content>."
25663 msgstr ""
25664
25665 # type: textblock
25666 #: ../tools/virt-resize.pl:422
25667 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
25668 msgstr ""
25669
25670 # type: textblock
25671 #: ../tools/virt-resize.pl:425
25672 msgid ""
25673 "You can give this option multiple times, I<but> it doesn't make sense to do "
25674 "this unless the logical volumes you specify are all in different volume "
25675 "groups."
25676 msgstr ""
25677
25678 # type: =item
25679 #: ../tools/virt-resize.pl:433
25680 msgid "B<--no-copy-boot-loader>"
25681 msgstr ""
25682
25683 # type: textblock
25684 #: ../tools/virt-resize.pl:435
25685 msgid ""
25686 "By default, virt-resize copies over some sectors at the start of the disk "
25687 "(up to the beginning of the first partition).  Commonly these sectors "
25688 "contain the Master Boot Record (MBR) and the boot loader, and are required "
25689 "in order for the guest to boot correctly."
25690 msgstr ""
25691
25692 # type: textblock
25693 #: ../tools/virt-resize.pl:440
25694 msgid ""
25695 "If you specify this flag, then this initial copy is not done.  You may need "
25696 "to reinstall the boot loader in this case."
25697 msgstr ""
25698
25699 # type: =item
25700 #: ../tools/virt-resize.pl:448
25701 msgid "B<--no-extra-partition>"
25702 msgstr ""
25703
25704 # type: textblock
25705 #: ../tools/virt-resize.pl:450
25706 msgid ""
25707 "By default, virt-resize creates an extra partition if there is any extra, "
25708 "unused space after all resizing has happened.  Use this option to prevent "
25709 "the extra partition from being created.  If you do this then the extra space "
25710 "will be inaccessible until you run fdisk, parted, or some other partitioning "
25711 "tool in the guest."
25712 msgstr ""
25713
25714 # type: textblock
25715 #: ../tools/virt-resize.pl:456
25716 msgid ""
25717 "Note that if the surplus space is smaller than 10 MB, no extra partition "
25718 "will be created."
25719 msgstr ""
25720
25721 # type: =item
25722 #: ../tools/virt-resize.pl:463
25723 msgid "B<--no-expand-content>"
25724 msgstr ""
25725
25726 # type: textblock
25727 #: ../tools/virt-resize.pl:465
25728 msgid ""
25729 "By default, virt-resize will try to expand the direct contents of "
25730 "partitions, if it knows how (see C<--expand> option above)."
25731 msgstr ""
25732
25733 # type: textblock
25734 #: ../tools/virt-resize.pl:468
25735 msgid ""
25736 "If you give the C<--no-expand-content> option then virt-resize will not "
25737 "attempt this."
25738 msgstr ""
25739
25740 # type: =item
25741 #: ../tools/virt-resize.pl:475
25742 msgid "B<-d> | B<--debug>"
25743 msgstr ""
25744
25745 # type: textblock
25746 #: ../tools/virt-resize.pl:477 ../tools/virt-win-reg.pl:198
25747 msgid "Enable debugging messages."
25748 msgstr ""
25749
25750 # type: =item
25751 #: ../tools/virt-resize.pl:483
25752 msgid "B<-n> | B<--dryrun>"
25753 msgstr ""
25754
25755 # type: textblock
25756 #: ../tools/virt-resize.pl:485
25757 msgid "Print a summary of what would be done, but don't do anything."
25758 msgstr ""
25759
25760 # type: =item
25761 #: ../tools/virt-resize.pl:491
25762 msgid "B<-q> | B<--quiet>"
25763 msgstr ""
25764
25765 # type: textblock
25766 #: ../tools/virt-resize.pl:493
25767 msgid "Don't print the summary."
25768 msgstr ""
25769
25770 # type: =head2
25771 #: ../tools/virt-resize.pl:1352
25772 msgid "\"Partition 1 does not end on cylinder boundary.\""
25773 msgstr ""
25774
25775 # type: textblock
25776 #: ../tools/virt-resize.pl:1354
25777 msgid ""
25778 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
25779 "means the partitions will not be aligned to the ancient CHS geometry.  "
25780 "However CHS geometry is meaningless for disks manufactured since the early "
25781 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
25782 "cylinders is not required by any modern operating system."
25783 msgstr ""
25784
25785 # type: =head2
25786 #: ../tools/virt-resize.pl:1361
25787 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
25788 msgstr ""
25789
25790 # type: textblock
25791 #: ../tools/virt-resize.pl:1363
25792 msgid ""
25793 "In Windows Vista and later versions, Microsoft switched to using a separate "
25794 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
25795 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
25796 "the boot partition.  Doing so seems to break the guest completely.  However "
25797 "expanding the second partition (ie. C: drive) should work."
25798 msgstr ""
25799
25800 # type: textblock
25801 #: ../tools/virt-resize.pl:1370
25802 msgid ""
25803 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
25804 "NTFS partitions have been expanded.  This is just a safety check and (unless "
25805 "it find errors) is nothing to worry about."
25806 msgstr ""
25807
25808 # type: =head1
25809 #: ../tools/virt-resize.pl:1374
25810 msgid "ALTERNATIVE TOOLS"
25811 msgstr ""
25812
25813 # type: textblock
25814 #: ../tools/virt-resize.pl:1376
25815 msgid ""
25816 "There are several proprietary tools for resizing partitions.  We won't "
25817 "mention any here."
25818 msgstr ""
25819
25820 # type: textblock
25821 #: ../tools/virt-resize.pl:1379
25822 msgid ""
25823 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
25824 "operations on disk images.  They can resize and move partitions, but I don't "
25825 "think they can do anything with the contents, and they certainly don't "
25826 "understand LVM."
25827 msgstr ""
25828
25829 # type: textblock
25830 #: ../tools/virt-resize.pl:1384
25831 msgid ""
25832 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
25833 "but at a much lower level.  You will probably end up hand-calculating sector "
25834 "offsets, which is something that virt-resize was designed to avoid.  If you "
25835 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
25836 "C<--debug> flag."
25837 msgstr ""
25838
25839 # type: textblock
25840 #: ../tools/virt-resize.pl:1392
25841 msgid ""
25842 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
25843 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
25844 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, L<Sys::Guestfs"
25845 "(3)>, L<http://libguestfs.org/>."
25846 msgstr ""
25847
25848 # type: textblock
25849 #: ../tools/virt-tar.pl:34
25850 msgid "virt-tar - Extract or upload files to a virtual machine"
25851 msgstr ""
25852
25853 # type: verbatim
25854 #: ../tools/virt-tar.pl:38
25855 #, no-wrap
25856 msgid ""
25857 " virt-tar [--options] -x domname directory tarball\n"
25858 "\n"
25859 msgstr ""
25860
25861 # type: verbatim
25862 #: ../tools/virt-tar.pl:40
25863 #, no-wrap
25864 msgid ""
25865 " virt-tar [--options] -u domname tarball directory\n"
25866 "\n"
25867 msgstr ""
25868
25869 # type: verbatim
25870 #: ../tools/virt-tar.pl:42
25871 #, no-wrap
25872 msgid ""
25873 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
25874 "\n"
25875 msgstr ""
25876
25877 # type: verbatim
25878 #: ../tools/virt-tar.pl:44
25879 #, no-wrap
25880 msgid ""
25881 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
25882 "\n"
25883 msgstr ""
25884
25885 # type: textblock
25886 #: ../tools/virt-tar.pl:48
25887 msgid "Download C</home> from the VM into a local tarball:"
25888 msgstr ""
25889
25890 # type: verbatim
25891 #: ../tools/virt-tar.pl:50
25892 #, no-wrap
25893 msgid ""
25894 " virt-tar -x domname /home home.tar\n"
25895 "\n"
25896 msgstr ""
25897
25898 # type: verbatim
25899 #: ../tools/virt-tar.pl:52
25900 #, no-wrap
25901 msgid ""
25902 " virt-tar -zx domname /home home.tar.gz\n"
25903 "\n"
25904 msgstr ""
25905
25906 # type: textblock
25907 #: ../tools/virt-tar.pl:54
25908 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
25909 msgstr ""
25910
25911 # type: verbatim
25912 #: ../tools/virt-tar.pl:56
25913 #, no-wrap
25914 msgid ""
25915 " virt-tar -u domname uploadstuff.tar /tmp\n"
25916 "\n"
25917 msgstr ""
25918
25919 # type: verbatim
25920 #: ../tools/virt-tar.pl:58
25921 #, no-wrap
25922 msgid ""
25923 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
25924 "\n"
25925 msgstr ""
25926
25927 # type: textblock
25928 #: ../tools/virt-tar.pl:62
25929 msgid ""
25930 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
25931 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
25932 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
25933 msgstr ""
25934
25935 # type: textblock
25936 #: ../tools/virt-tar.pl:67
25937 msgid ""
25938 "You can use C<-x> (extract) on live virtual machines, but you might get "
25939 "inconsistent results or errors if there is filesystem activity inside the "
25940 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
25941 "work, but the only way to guarantee consistent results is if the virtual "
25942 "machine is shut down."
25943 msgstr ""
25944
25945 # type: textblock
25946 #: ../tools/virt-tar.pl:75
25947 msgid ""
25948 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
25949 "parts of a guest filesystem.  There are many possibilities: making backups, "
25950 "uploading data files, snooping on guest activity, fixing or customizing "
25951 "guests, etc."
25952 msgstr ""
25953
25954 # type: textblock
25955 #: ../tools/virt-tar.pl:80
25956 msgid ""
25957 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
25958 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
25959 "should look at the L<guestfish(1)> tool."
25960 msgstr ""
25961
25962 # type: textblock
25963 #: ../tools/virt-tar.pl:84
25964 msgid ""
25965 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
25966 "its contents (recursively) from the virtual machine into a local tarball.  "
25967 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
25968 "virtual machine.  You cannot use these two options together."
25969 msgstr ""
25970
25971 # type: textblock
25972 #: ../tools/virt-tar.pl:90
25973 msgid ""
25974 "In addition, you may need to use the C<-z> (gZip) option to enable "
25975 "compression.  When uploading, you have to specify C<-z> if the upload file "
25976 "is compressed because virt-tar won't detect this on its own."
25977 msgstr ""
25978
25979 # type: textblock
25980 #: ../tools/virt-tar.pl:94
25981 msgid ""
25982 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
25983 "example it cannot do PKZip files or bzip2 compression.  If you want that "
25984 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
25985 "the L<libguestfs(3)> API)."
25986 msgstr ""
25987
25988 # type: =item
25989 #: ../tools/virt-tar.pl:135
25990 msgid "B<-x> | B<--extract> | B<--download>"
25991 msgstr ""
25992
25993 # type: =item
25994 #: ../tools/virt-tar.pl:137
25995 msgid "B<-u> | B<--upload>"
25996 msgstr ""
25997
25998 # type: textblock
25999 #: ../tools/virt-tar.pl:139
26000 msgid ""
26001 "Use C<-x> to extract (download) a directory from a virtual machine to a "
26002 "local tarball."
26003 msgstr ""
26004
26005 # type: textblock
26006 #: ../tools/virt-tar.pl:142
26007 msgid ""
26008 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
26009 "Please read the L</WARNING> section above before using this option."
26010 msgstr ""
26011
26012 # type: textblock
26013 #: ../tools/virt-tar.pl:146
26014 msgid "You must specify exactly one of these options."
26015 msgstr ""
26016
26017 # type: =item
26018 #: ../tools/virt-tar.pl:152
26019 msgid "B<-z> | B<--gzip>"
26020 msgstr ""
26021
26022 # type: textblock
26023 #: ../tools/virt-tar.pl:154
26024 msgid "Specify that the input or output tarball is gzip-compressed."
26025 msgstr ""
26026
26027 # type: textblock
26028 #: ../tools/virt-tar.pl:259
26029 msgid ""
26030 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<Sys::"
26031 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
26032 "org/>."
26033 msgstr ""
26034
26035 # type: textblock
26036 #: ../tools/virt-win-reg.pl:38
26037 msgid ""
26038 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
26039 msgstr ""
26040
26041 # type: verbatim
26042 #: ../tools/virt-win-reg.pl:42
26043 #, no-wrap
26044 msgid ""
26045 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
26046 "\n"
26047 msgstr ""
26048
26049 # type: verbatim
26050 #: ../tools/virt-win-reg.pl:44
26051 #, no-wrap
26052 msgid ""
26053 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
26054 "\n"
26055 msgstr ""
26056
26057 # type: verbatim
26058 #: ../tools/virt-win-reg.pl:46
26059 #, no-wrap
26060 msgid ""
26061 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
26062 "\n"
26063 msgstr ""
26064
26065 # type: verbatim
26066 #: ../tools/virt-win-reg.pl:48
26067 #, no-wrap
26068 msgid ""
26069 " virt-win-reg --merge domname [input.reg ...]\n"
26070 "\n"
26071 msgstr ""
26072
26073 # type: verbatim
26074 #: ../tools/virt-win-reg.pl:50
26075 #, no-wrap
26076 msgid ""
26077 " virt-win-reg [--options] disk.img ... # instead of domname\n"
26078 "\n"
26079 msgstr ""
26080
26081 # type: textblock
26082 #: ../tools/virt-win-reg.pl:54
26083 msgid ""
26084 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
26085 "virtual machines.  If you do this, you I<will> get irreversible disk "
26086 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
26087 "but doesn't catch all cases."
26088 msgstr ""
26089
26090 # type: textblock
26091 #: ../tools/virt-win-reg.pl:59
26092 msgid ""
26093 "Modifying the Windows Registry is an inherently risky operation.  The format "
26094 "is deliberately obscure and undocumented, and Registry changes can leave the "
26095 "system unbootable.  Therefore when using the C<--merge> option, make sure "
26096 "you have a reliable backup first."
26097 msgstr ""
26098
26099 # type: textblock
26100 #: ../tools/virt-win-reg.pl:66
26101 msgid ""
26102 "This program can export and merge Windows Registry entries from a Windows "
26103 "guest."
26104 msgstr ""
26105
26106 # type: textblock
26107 #: ../tools/virt-win-reg.pl:69
26108 msgid ""
26109 "The first parameter is the libvirt guest name or the raw disk image of a "
26110 "Windows guest."
26111 msgstr ""
26112
26113 # type: textblock
26114 #: ../tools/virt-win-reg.pl:72
26115 msgid ""
26116 "If C<--merge> is I<not> specified, then the chosen registry key is displayed/"
26117 "exported (recursively).  For example:"
26118 msgstr ""
26119
26120 # type: verbatim
26121 #: ../tools/virt-win-reg.pl:75
26122 #, no-wrap
26123 msgid ""
26124 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
26125 "\n"
26126 msgstr ""
26127
26128 # type: textblock
26129 #: ../tools/virt-win-reg.pl:77
26130 msgid ""
26131 "You can also display single values from within registry keys, for example:"
26132 msgstr ""
26133
26134 # type: verbatim
26135 #: ../tools/virt-win-reg.pl:80
26136 #, no-wrap
26137 msgid ""
26138 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
26139 " $ virt-win-reg Windows7 $cvkey ProductName\n"
26140 " Windows 7 Enterprise\n"
26141 "\n"
26142 msgstr ""
26143
26144 # type: textblock
26145 #: ../tools/virt-win-reg.pl:84
26146 msgid ""
26147 "With C<--merge>, you can merge a textual regedit file into the Windows "
26148 "Registry:"
26149 msgstr ""
26150
26151 # type: verbatim
26152 #: ../tools/virt-win-reg.pl:87
26153 #, no-wrap
26154 msgid ""
26155 " $ virt-win-reg --merge Windows7 changes.reg\n"
26156 "\n"
26157 msgstr ""
26158
26159 # type: =head2
26160 #: ../tools/virt-win-reg.pl:89
26161 msgid "SUPPORTED SYSTEMS"
26162 msgstr ""
26163
26164 # type: textblock
26165 #: ../tools/virt-win-reg.pl:91
26166 msgid ""
26167 "The program currently supports Windows NT-derived guests starting with "
26168 "Windows XP through to at least Windows 7."
26169 msgstr ""
26170
26171 # type: textblock
26172 #: ../tools/virt-win-reg.pl:94
26173 msgid ""
26174 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, C<HKEY_LOCAL_MACHINE"
26175 "\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, C<HKEY_LOCAL_MACHINE\\SYSTEM> "
26176 "and C<HKEY_USERS\\.DEFAULT>."
26177 msgstr ""
26178
26179 # type: textblock
26180 #: ../tools/virt-win-reg.pl:98
26181 msgid ""
26182 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
26183 "C<HKEY_USERS>."
26184 msgstr ""
26185
26186 # type: textblock
26187 #: ../tools/virt-win-reg.pl:101
26188 msgid ""
26189 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
26190 "time."
26191 msgstr ""
26192
26193 # type: =head2
26194 #: ../tools/virt-win-reg.pl:104
26195 msgid "NOTE"
26196 msgstr ""
26197
26198 # type: textblock
26199 #: ../tools/virt-win-reg.pl:106
26200 msgid ""
26201 "This program is only meant for simple access to the registry.  If you want "
26202 "to do complicated things with the registry, we suggest you download the "
26203 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
26204 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
26205 "L<hivexregedit(1)>."
26206 msgstr ""
26207
26208 # type: =head2
26209 #: ../tools/virt-win-reg.pl:112
26210 msgid "ENCODING"
26211 msgstr ""
26212
26213 # type: textblock
26214 #: ../tools/virt-win-reg.pl:114
26215 msgid ""
26216 "C<virt-win-reg> expects that regedit files have already been reencoded in "
26217 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
26218 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
26219 "Windows-style line endings, you may need to reencode the whole file before "
26220 "or after processing."
26221 msgstr ""
26222
26223 # type: textblock
26224 #: ../tools/virt-win-reg.pl:120
26225 msgid ""
26226 "To reencode a file from Windows format to Linux (before processing it with "
26227 "the C<--merge> option), you would do something like this:"
26228 msgstr ""
26229
26230 # type: verbatim
26231 #: ../tools/virt-win-reg.pl:123
26232 #, no-wrap
26233 msgid ""
26234 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
26235 "\n"
26236 msgstr ""
26237
26238 # type: textblock
26239 #: ../tools/virt-win-reg.pl:125
26240 msgid ""
26241 "To go in the opposite direction, after exporting and before sending the file "
26242 "to a Windows user, do something like this:"
26243 msgstr ""
26244
26245 # type: verbatim
26246 #: ../tools/virt-win-reg.pl:128
26247 #, no-wrap
26248 msgid ""
26249 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
26250 "\n"
26251 msgstr ""
26252
26253 # type: textblock
26254 #: ../tools/virt-win-reg.pl:130
26255 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
26256 msgstr ""
26257
26258 # type: textblock
26259 #: ../tools/virt-win-reg.pl:132
26260 msgid ""
26261 "If you are unsure about the current encoding, use the L<file(1)> command.  "
26262 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
26263 "style (CRLF) line endings, like this:"
26264 msgstr ""
26265
26266 # type: verbatim
26267 #: ../tools/virt-win-reg.pl:136
26268 #, no-wrap
26269 msgid ""
26270 " $ file software.reg\n"
26271 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
26272 " with CRLF line terminators\n"
26273 "\n"
26274 msgstr ""
26275
26276 # type: textblock
26277 #: ../tools/virt-win-reg.pl:140
26278 msgid "This file would need conversion before you could C<--merge> it."
26279 msgstr ""
26280
26281 # type: =head2
26282 #: ../tools/virt-win-reg.pl:142
26283 msgid "SHELL QUOTING"
26284 msgstr ""
26285
26286 # type: textblock
26287 #: ../tools/virt-win-reg.pl:144
26288 msgid ""
26289 "Be careful when passing parameters containing C<\\> (backslash) in the "
26290 "shell.  Usually you will have to use 'single quotes' or double backslashes "
26291 "(but not both) to protect them from the shell."
26292 msgstr ""
26293
26294 # type: textblock
26295 #: ../tools/virt-win-reg.pl:148
26296 msgid "Paths and value names are case-insensitive."
26297 msgstr ""
26298
26299 # type: =head2
26300 #: ../tools/virt-win-reg.pl:150
26301 msgid "CurrentControlSet etc."
26302 msgstr ""
26303
26304 # type: textblock
26305 #: ../tools/virt-win-reg.pl:152
26306 msgid ""
26307 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
26308 "Registry at the level of the hive file, and therefore you cannot modify "
26309 "these."
26310 msgstr ""
26311
26312 # type: textblock
26313 #: ../tools/virt-win-reg.pl:156
26314 msgid ""
26315 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
26316 "circumstances it might refer to another control set.  The way to find out is "
26317 "to look at the C<HKLM\\SYSTEM\\Select> key:"
26318 msgstr ""
26319
26320 # type: verbatim
26321 #: ../tools/virt-win-reg.pl:160
26322 #, no-wrap
26323 msgid ""
26324 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
26325 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
26326 " \"Current\"=dword:00000001\n"
26327 " \"Default\"=dword:00000001\n"
26328 " \"Failed\"=dword:00000000\n"
26329 " \"LastKnownGood\"=dword:00000002\n"
26330 "\n"
26331 msgstr ""
26332
26333 # type: textblock
26334 #: ../tools/virt-win-reg.pl:167
26335 msgid "\"Default\" is the one which Windows will choose when it boots."
26336 msgstr ""
26337
26338 # type: textblock
26339 #: ../tools/virt-win-reg.pl:169
26340 msgid ""
26341 "Similarly, other C<Current...> keys in the path may need to be replaced."
26342 msgstr ""
26343
26344 # type: =item
26345 #: ../tools/virt-win-reg.pl:216
26346 msgid "B<--merge>"
26347 msgstr ""
26348
26349 # type: textblock
26350 #: ../tools/virt-win-reg.pl:218
26351 msgid ""
26352 "In merge mode, this merges a textual regedit file into the Windows Registry "
26353 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
26354 "displays or exports Registry entries instead."
26355 msgstr ""
26356
26357 # type: textblock
26358 #: ../tools/virt-win-reg.pl:222
26359 msgid ""
26360 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
26361 "result in disk corruption.  However exporting (without this flag)  is always "
26362 "safe."
26363 msgstr ""
26364
26365 # type: =item
26366 #: ../tools/virt-win-reg.pl:230
26367 msgid "B<--encoding> UTF-16LE|ASCII"
26368 msgstr ""
26369
26370 # type: textblock
26371 #: ../tools/virt-win-reg.pl:232
26372 msgid ""
26373 "When merging (only), you may need to specify the encoding for strings to be "
26374 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
26375 "(3)/ENCODING STRINGS>."
26376 msgstr ""
26377
26378 # type: textblock
26379 #: ../tools/virt-win-reg.pl:236
26380 msgid ""
26381 "The default is to use UTF-16LE, which should work with recent versions of "
26382 "Windows."
26383 msgstr ""
26384
26385 # type: textblock
26386 #: ../tools/virt-win-reg.pl:463
26387 msgid ""
26388 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
26389 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
26390 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26391 msgstr ""
26392
26393 # type: verbatim
26394 #: ../tools/virt-win-reg.pl:481
26395 #, no-wrap
26396 msgid ""
26397 " export LIBGUESTFS_DEBUG=1\n"
26398 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
26399 "\n"
26400 msgstr ""
26401
26402 # type: textblock
26403 #: ../tools/virt-win-reg.pl:484
26404 msgid ""
26405 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
26406 "redhat.com/>"
26407 msgstr ""