95acacc5ca32a42f6d65eecc03c0fdf5604c2601
[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-02 20:33+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 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 # type: =encoding
19 #: ../src/guestfs.pod:1 ../fish/guestfish.pod:1
20 #: ../test-tool/libguestfs-test-tool.pod:1 ../fuse/guestmount.pod:1
21 #: ../inspector/virt-inspector.pl:36 ../tools/virt-cat.pl:30
22 #: ../tools/virt-df.pl:32 ../tools/virt-edit.pl:31
23 #: ../tools/virt-list-filesystems.pl:28 ../tools/virt-list-partitions.pl:28
24 #: ../tools/virt-ls.pl:31 ../tools/virt-make-fs.pl:33
25 #: ../tools/virt-rescue.pl:29 ../tools/virt-resize.pl:38
26 #: ../tools/virt-tar.pl:30 ../tools/virt-win-reg.pl:34
27 msgid "utf8"
28 msgstr ""
29
30 # type: =head1
31 #: ../src/guestfs.pod:3 ../fish/guestfish.pod:3
32 #: ../test-tool/libguestfs-test-tool.pod:3 ../fuse/guestmount.pod:3
33 #: ../inspector/virt-inspector.pl:38 ../tools/virt-cat.pl:32
34 #: ../tools/virt-df.pl:34 ../tools/virt-edit.pl:33
35 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
36 #: ../tools/virt-ls.pl:33 ../tools/virt-make-fs.pl:35
37 #: ../tools/virt-rescue.pl:31 ../tools/virt-resize.pl:40
38 #: ../tools/virt-tar.pl:32 ../tools/virt-win-reg.pl:36
39 msgid "NAME"
40 msgstr "名前"
41
42 # type: textblock
43 #: ../src/guestfs.pod:5
44 msgid "guestfs - Library for accessing and modifying virtual machine images"
45 msgstr ""
46
47 # type: =head1
48 #: ../src/guestfs.pod:7 ../fish/guestfish.pod:7
49 #: ../test-tool/libguestfs-test-tool.pod:7 ../fuse/guestmount.pod:7
50 #: ../inspector/virt-inspector.pl:42 ../tools/virt-cat.pl:36
51 #: ../tools/virt-df.pl:38 ../tools/virt-edit.pl:37
52 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
53 #: ../tools/virt-ls.pl:37 ../tools/virt-make-fs.pl:39
54 #: ../tools/virt-rescue.pl:35 ../tools/virt-resize.pl:44
55 #: ../tools/virt-tar.pl:36 ../tools/virt-win-reg.pl:40
56 msgid "SYNOPSIS"
57 msgstr ""
58
59 # type: verbatim
60 #: ../src/guestfs.pod:9
61 #, no-wrap
62 msgid ""
63 " #include <guestfs.h>\n"
64 " \n"
65 msgstr ""
66
67 # type: verbatim
68 #: ../src/guestfs.pod:11
69 #, no-wrap
70 msgid ""
71 " guestfs_h *g = guestfs_create ();\n"
72 " guestfs_add_drive (g, \"guest.img\");\n"
73 " guestfs_launch (g);\n"
74 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
75 " guestfs_touch (g, \"/hello\");\n"
76 " guestfs_umount (g, \"/\");\n"
77 " guestfs_sync (g);\n"
78 " guestfs_close (g);\n"
79 "\n"
80 msgstr ""
81
82 # type: verbatim
83 #: ../src/guestfs.pod:20
84 #, no-wrap
85 msgid ""
86 " cc prog.c -o prog -lguestfs\n"
87 "or:\n"
88 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
89 "\n"
90 msgstr ""
91
92 # type: =head1
93 #: ../src/guestfs.pod:24 ../fish/guestfish.pod:115
94 #: ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:16
95 #: ../inspector/virt-inspector.pl:48 ../tools/virt-cat.pl:42
96 #: ../tools/virt-df.pl:46 ../tools/virt-edit.pl:51
97 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
98 #: ../tools/virt-ls.pl:43 ../tools/virt-make-fs.pl:47
99 #: ../tools/virt-rescue.pl:51 ../tools/virt-resize.pl:50
100 #: ../tools/virt-tar.pl:73 ../tools/virt-win-reg.pl:64
101 msgid "DESCRIPTION"
102 msgstr ""
103
104 # type: textblock
105 #: ../src/guestfs.pod:26
106 msgid ""
107 "Libguestfs is a library for accessing and modifying guest disk images.  "
108 "Amongst the things this is good for: making batch configuration changes to "
109 "guests, getting disk used/free statistics (see also: virt-df), migrating "
110 "between virtualization systems (see also: virt-p2v), performing partial "
111 "backups, performing partial guest clones, cloning guests and changing "
112 "registry/UUID/hostname info, and much else besides."
113 msgstr ""
114
115 # type: textblock
116 #: ../src/guestfs.pod:34
117 msgid ""
118 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
119 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
120 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
121 "qcow2, vmdk."
122 msgstr ""
123
124 # type: textblock
125 #: ../src/guestfs.pod:39
126 msgid ""
127 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
128 "what filesystem is in each LV, etc.).  It can also run commands in the "
129 "context of the guest.  Also you can access filesystems over FUSE."
130 msgstr ""
131
132 # type: textblock
133 #: ../src/guestfs.pod:44
134 msgid ""
135 "Libguestfs is a library that can be linked with C and C++ management "
136 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
137 "Haskell or C#).  You can also use it from shell scripts or the command line."
138 msgstr ""
139
140 # type: textblock
141 #: ../src/guestfs.pod:49
142 msgid ""
143 "You don't need to be root to use libguestfs, although obviously you do need "
144 "enough permissions to access the disk images."
145 msgstr ""
146
147 # type: textblock
148 #: ../src/guestfs.pod:52
149 msgid ""
150 "Libguestfs is a large API because it can do many things.  For a gentle "
151 "introduction, please read the L</API OVERVIEW> section next."
152 msgstr ""
153
154 # type: =head1
155 #: ../src/guestfs.pod:55
156 msgid "API OVERVIEW"
157 msgstr ""
158
159 # type: textblock
160 #: ../src/guestfs.pod:57
161 msgid ""
162 "This section provides a gentler overview of the libguestfs API.  We also try "
163 "to group API calls together, where that may not be obvious from reading "
164 "about the individual calls in the main section of this manual."
165 msgstr ""
166
167 # type: =head2
168 #: ../src/guestfs.pod:62
169 msgid "HANDLES"
170 msgstr ""
171
172 # type: textblock
173 #: ../src/guestfs.pod:64
174 msgid ""
175 "Before you can use libguestfs calls, you have to create a handle.  Then you "
176 "must add at least one disk image to the handle, followed by launching the "
177 "handle, then performing whatever operations you want, and finally closing "
178 "the handle.  By convention we use the single letter C<g> for the name of the "
179 "handle variable, although of course you can use any name you want."
180 msgstr ""
181
182 # type: textblock
183 #: ../src/guestfs.pod:71
184 msgid "The general structure of all libguestfs-using programs looks like this:"
185 msgstr ""
186
187 # type: verbatim
188 #: ../src/guestfs.pod:74
189 #, no-wrap
190 msgid ""
191 " guestfs_h *g = guestfs_create ();\n"
192 " \n"
193 msgstr ""
194
195 # type: verbatim
196 #: ../src/guestfs.pod:76
197 #, no-wrap
198 msgid ""
199 " /* Call guestfs_add_drive additional times if there are\n"
200 "  * multiple disk images.\n"
201 "  */\n"
202 " guestfs_add_drive (g, \"guest.img\");\n"
203 " \n"
204 msgstr ""
205
206 # type: verbatim
207 #: ../src/guestfs.pod:81
208 #, no-wrap
209 msgid ""
210 " /* Most manipulation calls won't work until you've launched\n"
211 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
212 "  * and _before_ other commands.\n"
213 "  */\n"
214 " guestfs_launch (g);\n"
215 " \n"
216 msgstr ""
217
218 # type: verbatim
219 #: ../src/guestfs.pod:87
220 #, no-wrap
221 msgid ""
222 " /* Now you can examine what partitions, LVs etc are available.\n"
223 "  */\n"
224 " char **partitions = guestfs_list_partitions (g);\n"
225 " char **logvols = guestfs_lvs (g);\n"
226 " \n"
227 msgstr ""
228
229 # type: verbatim
230 #: ../src/guestfs.pod:92
231 #, no-wrap
232 msgid ""
233 " /* To access a filesystem in the image, you must mount it.\n"
234 "  */\n"
235 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
236 " \n"
237 msgstr ""
238
239 # type: verbatim
240 #: ../src/guestfs.pod:96
241 #, no-wrap
242 msgid ""
243 " /* Now you can perform filesystem actions on the guest\n"
244 "  * disk image.\n"
245 "  */\n"
246 " guestfs_touch (g, \"/hello\");\n"
247 " \n"
248 msgstr ""
249
250 # type: verbatim
251 #: ../src/guestfs.pod:101
252 #, no-wrap
253 msgid ""
254 " /* You only need to call guestfs_sync if you have made\n"
255 "  * changes to the guest image.  (But if you've made changes\n"
256 "  * then you *must* sync).  See also: guestfs_umount and\n"
257 "  * guestfs_umount_all calls.\n"
258 "  */\n"
259 " guestfs_sync (g);\n"
260 " \n"
261 msgstr ""
262
263 # type: verbatim
264 #: ../src/guestfs.pod:108
265 #, no-wrap
266 msgid ""
267 " /* Close the handle 'g'. */\n"
268 " guestfs_close (g);\n"
269 "\n"
270 msgstr ""
271
272 # type: textblock
273 #: ../src/guestfs.pod:111
274 msgid ""
275 "The code above doesn't include any error checking.  In real code you should "
276 "check return values carefully for errors.  In general all functions that "
277 "return integers return C<-1> on error, and all functions that return "
278 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
279 "how to handle errors, and consult the documentation for each function call "
280 "below to see precisely how they return error indications."
281 msgstr ""
282
283 # type: =head2
284 #: ../src/guestfs.pod:119
285 msgid "DISK IMAGES"
286 msgstr ""
287
288 # type: textblock
289 #: ../src/guestfs.pod:121
290 msgid ""
291 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
292 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
293 "actual block device, or simply an empty file of zeroes that you have created "
294 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
295 "of these."
296 msgstr ""
297
298 # type: textblock
299 #: ../src/guestfs.pod:127
300 msgid ""
301 "You can add a disk read-only using L</guestfs_add_drive_ro>, in which case "
302 "libguestfs won't modify the file."
303 msgstr ""
304
305 # type: textblock
306 #: ../src/guestfs.pod:130
307 msgid ""
308 "Be extremely cautious if the disk image is in use, eg. if it is being used "
309 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
310 "corruption, but adding it read-only is safe."
311 msgstr ""
312
313 # type: textblock
314 #: ../src/guestfs.pod:134
315 msgid ""
316 "You must add at least one disk image, and you may add multiple disk images.  "
317 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
318 "first one you added), C</dev/sdb> (for the second one you added), etc."
319 msgstr ""
320
321 # type: textblock
322 #: ../src/guestfs.pod:139
323 msgid ""
324 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
325 "can call L</guestfs_list_devices> to get a list of the device names, in the "
326 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
327 msgstr ""
328
329 # type: =head2
330 #: ../src/guestfs.pod:144
331 msgid "MOUNTING"
332 msgstr ""
333
334 # type: textblock
335 #: ../src/guestfs.pod:146
336 msgid ""
337 "Before you can read or write files, create directories and so on in a disk "
338 "image that contains filesystems, you have to mount those filesystems using "
339 "L</guestfs_mount>.  If you already know that a disk image contains (for "
340 "example) one partition with a filesystem on that partition, then you can "
341 "mount it directly:"
342 msgstr ""
343
344 # type: verbatim
345 #: ../src/guestfs.pod:152
346 #, no-wrap
347 msgid ""
348 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
349 "\n"
350 msgstr ""
351
352 # type: textblock
353 #: ../src/guestfs.pod:154
354 msgid ""
355 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
356 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
357 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
358 msgstr ""
359
360 # type: textblock
361 #: ../src/guestfs.pod:158
362 msgid ""
363 "If you are given a disk image and you don't know what it contains then you "
364 "have to find out.  Libguestfs can do that too: use L</"
365 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
366 "LVs, and either try mounting each to see what is mountable, or else examine "
367 "them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also has a "
368 "set of APIs for inspection of disk images (see L</INSPECTION> below).  But "
369 "you might find it easier to look at higher level programs built on top of "
370 "libguestfs, in particular L<virt-inspector(1)>."
371 msgstr ""
372
373 # type: textblock
374 #: ../src/guestfs.pod:168
375 msgid ""
376 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
377 "several other variations of the C<guestfs_mount_*> call."
378 msgstr ""
379
380 # type: =head2
381 #: ../src/guestfs.pod:171
382 msgid "FILESYSTEM ACCESS AND MODIFICATION"
383 msgstr ""
384
385 # type: textblock
386 #: ../src/guestfs.pod:173
387 msgid ""
388 "The majority of the libguestfs API consists of fairly low-level calls for "
389 "accessing and modifying the files, directories, symlinks etc on mounted "
390 "filesystems.  There are over a hundred such calls which you can find listed "
391 "in detail below in this man page, and we don't even pretend to cover them "
392 "all in this overview."
393 msgstr ""
394
395 # type: textblock
396 #: ../src/guestfs.pod:179
397 msgid ""
398 "Specify filenames as full paths, starting with C<\"/\"> and including the "
399 "mount point."
400 msgstr ""
401
402 # type: textblock
403 #: ../src/guestfs.pod:182
404 msgid ""
405 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
406 "the file called C<\"etc/passwd\"> then you could do:"
407 msgstr ""
408
409 # type: verbatim
410 #: ../src/guestfs.pod:185
411 #, no-wrap
412 msgid ""
413 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
414 "\n"
415 msgstr ""
416
417 # type: textblock
418 #: ../src/guestfs.pod:187
419 msgid ""
420 "This would return C<data> as a newly allocated buffer containing the full "
421 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
422 "or C<NULL> if there was an error."
423 msgstr ""
424
425 # type: textblock
426 #: ../src/guestfs.pod:191
427 msgid ""
428 "As another example, to create a top-level directory on that filesystem "
429 "called C<\"var\"> you would do:"
430 msgstr ""
431
432 # type: verbatim
433 #: ../src/guestfs.pod:194
434 #, no-wrap
435 msgid ""
436 " guestfs_mkdir (g, \"/var\");\n"
437 "\n"
438 msgstr ""
439
440 # type: textblock
441 #: ../src/guestfs.pod:196
442 msgid "To create a symlink you could do:"
443 msgstr ""
444
445 # type: verbatim
446 #: ../src/guestfs.pod:198
447 #, no-wrap
448 msgid ""
449 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
450 "               \"/etc/rc3.d/S30portmap\");\n"
451 "\n"
452 msgstr ""
453
454 # type: textblock
455 #: ../src/guestfs.pod:201
456 msgid ""
457 "Libguestfs will reject attempts to use relative paths and there is no "
458 "concept of a current working directory."
459 msgstr ""
460
461 # type: textblock
462 #: ../src/guestfs.pod:204
463 msgid ""
464 "Libguestfs can return errors in many situations: for example if the "
465 "filesystem isn't writable, or if a file or directory that you requested "
466 "doesn't exist.  If you are using the C API (documented here)  you have to "
467 "check for those error conditions after each call.  (Other language bindings "
468 "turn these errors into exceptions)."
469 msgstr ""
470
471 # type: textblock
472 #: ../src/guestfs.pod:210
473 msgid ""
474 "File writes are affected by the per-handle umask, set by calling L</"
475 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
476 msgstr ""
477
478 # type: =head2
479 #: ../src/guestfs.pod:213
480 msgid "PARTITIONING"
481 msgstr ""
482
483 # type: textblock
484 #: ../src/guestfs.pod:215
485 msgid ""
486 "Libguestfs contains API calls to read, create and modify partition tables on "
487 "disk images."
488 msgstr ""
489
490 # type: textblock
491 #: ../src/guestfs.pod:218
492 msgid ""
493 "In the common case where you want to create a single partition covering the "
494 "whole disk, you should use the L</guestfs_part_disk> call:"
495 msgstr ""
496
497 # type: verbatim
498 #: ../src/guestfs.pod:222
499 #, no-wrap
500 msgid ""
501 " const char *parttype = \"mbr\";\n"
502 " if (disk_is_larger_than_2TB)\n"
503 "   parttype = \"gpt\";\n"
504 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
505 "\n"
506 msgstr ""
507
508 # type: textblock
509 #: ../src/guestfs.pod:227
510 msgid ""
511 "Obviously this effectively wipes anything that was on that disk image before."
512 msgstr ""
513
514 # type: =head2
515 #: ../src/guestfs.pod:230
516 msgid "LVM2"
517 msgstr ""
518
519 # type: textblock
520 #: ../src/guestfs.pod:232
521 msgid ""
522 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
523 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
524 "you familiarize yourself with the concepts of physical volumes, volume "
525 "groups and logical volumes."
526 msgstr ""
527
528 # type: textblock
529 #: ../src/guestfs.pod:237
530 msgid ""
531 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
532 "tldp.org/HOWTO/LVM-HOWTO/>."
533 msgstr ""
534
535 # type: =head2
536 #: ../src/guestfs.pod:240
537 msgid "DOWNLOADING"
538 msgstr ""
539
540 # type: textblock
541 #: ../src/guestfs.pod:242
542 msgid ""
543 "Use L</guestfs_cat> to download small, text only files.  This call is "
544 "limited to files which are less than 2 MB and which cannot contain any ASCII "
545 "NUL (C<\\0>) characters.  However it has a very simple to use API."
546 msgstr ""
547
548 # type: textblock
549 #: ../src/guestfs.pod:247
550 msgid ""
551 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
552 "bit data, since it returns a (pointer, size) pair.  However it is still "
553 "limited to \"small\" files, less than 2 MB."
554 msgstr ""
555
556 # type: textblock
557 #: ../src/guestfs.pod:251
558 msgid ""
559 "L</guestfs_download> can be used to download any file, with no limits on "
560 "content or size (even files larger than 4 GB)."
561 msgstr ""
562
563 # type: textblock
564 #: ../src/guestfs.pod:254
565 msgid ""
566 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
567 msgstr ""
568
569 # type: =head2
570 #: ../src/guestfs.pod:257
571 msgid "UPLOADING"
572 msgstr ""
573
574 # type: textblock
575 #: ../src/guestfs.pod:259
576 msgid ""
577 "It's often the case that you want to write a file or files to the disk image."
578 msgstr ""
579
580 # type: textblock
581 #: ../src/guestfs.pod:262
582 msgid ""
583 "To write a small file with fixed content, use L</guestfs_write>.  To create "
584 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
585 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
586 "of other functions for creating test files, for example L</guestfs_fill> and "
587 "L</guestfs_fill_pattern>."
588 msgstr ""
589
590 # type: textblock
591 #: ../src/guestfs.pod:268
592 msgid ""
593 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
594 "file content or size (even files larger than 4 GB)."
595 msgstr ""
596
597 # type: textblock
598 #: ../src/guestfs.pod:271
599 msgid ""
600 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
601 msgstr ""
602
603 # type: textblock
604 #: ../src/guestfs.pod:273
605 msgid ""
606 "However the fastest way to upload I<large numbers of arbitrary files> is to "
607 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
608 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
609 "in a predictable way (eg. adding it last after all other drives) then you "
610 "can get the device name from L</guestfs_list_devices> and mount it directly "
611 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
612 "portable between kernel versions, and they don't support labels or UUIDs.  "
613 "If you want to pre-build an image or you need to mount it using a label or "
614 "UUID, use an ISO image instead."
615 msgstr ""
616
617 # type: =head2
618 #: ../src/guestfs.pod:284
619 msgid "COPYING"
620 msgstr ""
621
622 # type: textblock
623 #: ../src/guestfs.pod:286
624 msgid ""
625 "There are various different commands for copying between files and devices "
626 "and in and out of the guest filesystem.  These are summarised in the table "
627 "below."
628 msgstr ""
629
630 # type: =item
631 #: ../src/guestfs.pod:292
632 msgid "B<file> to B<file>"
633 msgstr ""
634
635 # type: textblock
636 #: ../src/guestfs.pod:294
637 msgid ""
638 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
639 "directories recursively."
640 msgstr ""
641
642 # type: =item
643 #: ../src/guestfs.pod:297
644 msgid "B<file or device> to B<file or device>"
645 msgstr ""
646
647 # type: textblock
648 #: ../src/guestfs.pod:299
649 msgid ""
650 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
651 "devices in the guest."
652 msgstr ""
653
654 # type: textblock
655 #: ../src/guestfs.pod:302
656 msgid "Example: duplicate the contents of an LV:"
657 msgstr ""
658
659 # type: verbatim
660 #: ../src/guestfs.pod:304
661 #, no-wrap
662 msgid ""
663 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
664 "\n"
665 msgstr ""
666
667 # type: textblock
668 #: ../src/guestfs.pod:306
669 msgid ""
670 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
671 "(C</dev/VG/Original>).  To copy less than the whole source device, use L</"
672 "guestfs_copy_size>."
673 msgstr ""
674
675 # type: =item
676 #: ../src/guestfs.pod:310
677 msgid "B<file on the host> to B<file or device>"
678 msgstr ""
679
680 # type: textblock
681 #: ../src/guestfs.pod:312
682 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
683 msgstr ""
684
685 # type: =item
686 #: ../src/guestfs.pod:314
687 msgid "B<file or device> to B<file on the host>"
688 msgstr ""
689
690 # type: textblock
691 #: ../src/guestfs.pod:316
692 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
693 msgstr ""
694
695 # type: =head2
696 #: ../src/guestfs.pod:320
697 msgid "LISTING FILES"
698 msgstr ""
699
700 # type: textblock
701 #: ../src/guestfs.pod:322
702 msgid ""
703 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
704 "L<guestfish(1)>-equivalent command C<ll>)."
705 msgstr ""
706
707 # type: textblock
708 #: ../src/guestfs.pod:325
709 msgid ""
710 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
711 "programs, as a flat list of strings."
712 msgstr ""
713
714 # type: textblock
715 #: ../src/guestfs.pod:328
716 msgid ""
717 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
718 "directory, plus additional information about each one.  It is more "
719 "equivalent to using the L<readdir(3)> call on a local filesystem."
720 msgstr ""
721
722 # type: textblock
723 #: ../src/guestfs.pod:332
724 msgid ""
725 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
726 msgstr ""
727
728 # type: =head2
729 #: ../src/guestfs.pod:335
730 msgid "RUNNING COMMANDS"
731 msgstr ""
732
733 # type: textblock
734 #: ../src/guestfs.pod:337
735 msgid ""
736 "Although libguestfs is a primarily an API for manipulating files inside "
737 "guest images, we also provide some limited facilities for running commands "
738 "inside guests."
739 msgstr ""
740
741 # type: textblock
742 #: ../src/guestfs.pod:341
743 msgid "There are many limitations to this:"
744 msgstr ""
745
746 # type: =item
747 #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355
748 #: ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368
749 #: ../src/guestfs.pod:373 ../src/guestfs.pod:1214 ../src/guestfs.pod:1219
750 #: ../src/guestfs.pod:1223 ../src/guestfs.pod:1325 ../src/guestfs.pod:1329
751 #: ../src/guestfs.pod:1333 ../src/guestfs.pod:1338 ../src/guestfs.pod:1346
752 #: ../src/guestfs.pod:1365 ../src/guestfs.pod:1373 ../src/guestfs.pod:1587
753 #: ../src/guestfs.pod:1593 ../src/guestfs.pod:1598 ../src/guestfs.pod:1604
754 #: ../src/guestfs.pod:1711 ../src/guestfs.pod:1715 ../src/guestfs.pod:1719
755 #: ../src/guestfs.pod:1723 ../src/guestfs-actions.pod:14
756 #: ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372
757 #: ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387
758 #: ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1257
759 #: ../src/guestfs-actions.pod:1261 ../src/guestfs-actions.pod:1265
760 #: ../src/guestfs-actions.pod:1269 ../src/guestfs-actions.pod:1277
761 #: ../src/guestfs-actions.pod:1281 ../src/guestfs-actions.pod:1285
762 #: ../src/guestfs-actions.pod:1295 ../src/guestfs-actions.pod:1299
763 #: ../src/guestfs-actions.pod:1303 ../src/guestfs-actions.pod:1426
764 #: ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1435
765 #: ../src/guestfs-actions.pod:1440 ../src/guestfs-actions.pod:1492
766 #: ../src/guestfs-actions.pod:1496 ../src/guestfs-actions.pod:1501
767 #: ../fish/guestfish.pod:309 ../fish/guestfish.pod:313
768 #: ../fish/guestfish.pod:317 ../fish/guestfish.pod:321
769 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
770 #: ../fish/guestfish-actions.pod:300 ../fish/guestfish-actions.pod:308
771 #: ../fish/guestfish-actions.pod:315 ../fish/guestfish-actions.pod:322
772 #: ../fish/guestfish-actions.pod:998 ../fish/guestfish-actions.pod:1002
773 #: ../fish/guestfish-actions.pod:1006 ../fish/guestfish-actions.pod:1010
774 #: ../fish/guestfish-actions.pod:1018 ../fish/guestfish-actions.pod:1022
775 #: ../fish/guestfish-actions.pod:1026 ../fish/guestfish-actions.pod:1036
776 #: ../fish/guestfish-actions.pod:1040 ../fish/guestfish-actions.pod:1044
777 #: ../fish/guestfish-actions.pod:1134 ../fish/guestfish-actions.pod:1138
778 #: ../fish/guestfish-actions.pod:1143 ../fish/guestfish-actions.pod:1148
779 #: ../fish/guestfish-actions.pod:1190 ../fish/guestfish-actions.pod:1194
780 #: ../fish/guestfish-actions.pod:1199 ../tools/virt-resize.pl:324
781 #: ../tools/virt-resize.pl:329 ../tools/virt-resize.pl:339
782 msgid "*"
783 msgstr ""
784
785 # type: textblock
786 #: ../src/guestfs.pod:347
787 msgid ""
788 "The kernel version that the command runs under will be different from what "
789 "it expects."
790 msgstr ""
791
792 # type: textblock
793 #: ../src/guestfs.pod:352
794 msgid ""
795 "If the command needs to communicate with daemons, then most likely they "
796 "won't be running."
797 msgstr ""
798
799 # type: textblock
800 #: ../src/guestfs.pod:357
801 msgid "The command will be running in limited memory."
802 msgstr ""
803
804 # type: textblock
805 #: ../src/guestfs.pod:361
806 msgid ""
807 "The network may not be available unless you enable it (see L</"
808 "guestfs_set_network>)."
809 msgstr ""
810
811 # type: textblock
812 #: ../src/guestfs.pod:366
813 msgid "Only supports Linux guests (not Windows, BSD, etc)."
814 msgstr ""
815
816 # type: textblock
817 #: ../src/guestfs.pod:370
818 msgid ""
819 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
820 msgstr ""
821
822 # type: textblock
823 #: ../src/guestfs.pod:375
824 msgid ""
825 "For SELinux guests, you may need to enable SELinux and load policy first.  "
826 "See L</SELINUX> in this manpage."
827 msgstr ""
828
829 # type: textblock
830 #: ../src/guestfs.pod:380
831 msgid ""
832 "The two main API calls to run commands are L</guestfs_command> and L</"
833 "guestfs_sh> (there are also variations)."
834 msgstr ""
835
836 # type: textblock
837 #: ../src/guestfs.pod:383
838 msgid ""
839 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
840 "shell globs, redirections, etc will work."
841 msgstr ""
842
843 # type: =head2
844 #: ../src/guestfs.pod:386
845 msgid "CONFIGURATION FILES"
846 msgstr ""
847
848 # type: textblock
849 #: ../src/guestfs.pod:388
850 msgid ""
851 "To read and write configuration files in Linux guest filesystems, we "
852 "strongly recommend using Augeas.  For example, Augeas understands how to "
853 "read and write, say, a Linux shadow password file or X.org configuration "
854 "file, and so avoids you having to write that code."
855 msgstr ""
856
857 # type: textblock
858 #: ../src/guestfs.pod:393
859 msgid ""
860 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
861 "document Augeas itself here because there is excellent documentation on the "
862 "L<http://augeas.net/> website."
863 msgstr ""
864
865 # type: textblock
866 #: ../src/guestfs.pod:397
867 msgid ""
868 "If you don't want to use Augeas (you fool!) then try calling L</"
869 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
870 "over."
871 msgstr ""
872
873 # type: =head2
874 #: ../src/guestfs.pod:401
875 msgid "SELINUX"
876 msgstr ""
877
878 # type: textblock
879 #: ../src/guestfs.pod:403
880 msgid ""
881 "We support SELinux guests.  To ensure that labeling happens correctly in "
882 "SELinux guests, you need to enable SELinux and load the guest's policy:"
883 msgstr ""
884
885 # type: =item
886 #: ../src/guestfs.pod:409
887 msgid "1."
888 msgstr ""
889
890 # type: textblock
891 #: ../src/guestfs.pod:411
892 msgid "Before launching, do:"
893 msgstr ""
894
895 # type: verbatim
896 #: ../src/guestfs.pod:413
897 #, no-wrap
898 msgid ""
899 " guestfs_set_selinux (g, 1);\n"
900 "\n"
901 msgstr ""
902
903 # type: =item
904 #: ../src/guestfs.pod:415
905 msgid "2."
906 msgstr ""
907
908 # type: textblock
909 #: ../src/guestfs.pod:417
910 msgid ""
911 "After mounting the guest's filesystem(s), load the policy.  This is best "
912 "done by running the L<load_policy(8)> command in the guest itself:"
913 msgstr ""
914
915 # type: verbatim
916 #: ../src/guestfs.pod:421
917 #, no-wrap
918 msgid ""
919 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
920 "\n"
921 msgstr ""
922
923 # type: textblock
924 #: ../src/guestfs.pod:423
925 msgid ""
926 "(Older versions of C<load_policy> require you to specify the name of the "
927 "policy file)."
928 msgstr ""
929
930 # type: =item
931 #: ../src/guestfs.pod:426
932 msgid "3."
933 msgstr ""
934
935 # type: textblock
936 #: ../src/guestfs.pod:428
937 msgid ""
938 "Optionally, set the security context for the API.  The correct security "
939 "context to use can only be known by inspecting the guest.  As an example:"
940 msgstr ""
941
942 # type: verbatim
943 #: ../src/guestfs.pod:432
944 #, no-wrap
945 msgid ""
946 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
947 "\n"
948 msgstr ""
949
950 # type: textblock
951 #: ../src/guestfs.pod:436
952 msgid "This will work for running commands and editing existing files."
953 msgstr ""
954
955 # type: textblock
956 #: ../src/guestfs.pod:438
957 msgid ""
958 "When new files are created, you may need to label them explicitly, for "
959 "example by running the external command C<restorecon pathname>."
960 msgstr ""
961
962 # type: =head2
963 #: ../src/guestfs.pod:442
964 msgid "UMASK"
965 msgstr ""
966
967 # type: textblock
968 #: ../src/guestfs.pod:444
969 msgid ""
970 "Certain calls are affected by the current file mode creation mask (the "
971 "\"umask\").  In particular ones which create files or directories, such as "
972 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
973 "either the default mode that the file is created with or modifies the mode "
974 "that you supply."
975 msgstr ""
976
977 # type: textblock
978 #: ../src/guestfs.pod:450
979 msgid ""
980 "The default umask is C<022>, so files are created with modes such as C<0644> "
981 "and directories with C<0755>."
982 msgstr ""
983
984 # type: textblock
985 #: ../src/guestfs.pod:453
986 msgid ""
987 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
988 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
989 "guestfs_chmod> after creating each file or directory."
990 msgstr ""
991
992 # type: textblock
993 #: ../src/guestfs.pod:457
994 msgid "For more information about umask, see L<umask(2)>."
995 msgstr ""
996
997 # type: =head1
998 #: ../src/guestfs.pod:459 ../fish/guestfish.pod:559
999 msgid "ENCRYPTED DISKS"
1000 msgstr ""
1001
1002 # type: textblock
1003 #: ../src/guestfs.pod:461
1004 msgid ""
1005 "Libguestfs allows you to access Linux guests which have been encrypted using "
1006 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
1007 "standard.  This includes nearly all whole disk encryption systems used by "
1008 "modern Linux guests."
1009 msgstr ""
1010
1011 # type: textblock
1012 #: ../src/guestfs.pod:467
1013 msgid ""
1014 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
1015 "returns the string C<crypto_LUKS>)."
1016 msgstr ""
1017
1018 # type: textblock
1019 #: ../src/guestfs.pod:470
1020 msgid ""
1021 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
1022 "will require the passphrase!"
1023 msgstr ""
1024
1025 # type: textblock
1026 #: ../src/guestfs.pod:473
1027 msgid ""
1028 "Opening a LUKS device creates a new device mapper device called C</dev/"
1029 "mapper/mapname> (where C<mapname> is the string you supply to L</"
1030 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
1031 "from and encrypted to the underlying block device respectively."
1032 msgstr ""
1033
1034 # type: textblock
1035 #: ../src/guestfs.pod:479
1036 msgid ""
1037 "LVM volume groups on the device can be made visible by calling L</"
1038 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
1039 "(s) can now be mounted in the usual way."
1040 msgstr ""
1041
1042 # type: textblock
1043 #: ../src/guestfs.pod:483
1044 msgid ""
1045 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
1046 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
1047 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
1048 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
1049 "underlying encrypted block device)."
1050 msgstr ""
1051
1052 # type: =head2
1053 #: ../src/guestfs.pod:490
1054 msgid "INSPECTION"
1055 msgstr ""
1056
1057 # type: textblock
1058 #: ../src/guestfs.pod:492
1059 msgid ""
1060 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1061 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1062 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1063 "frequently used part of this library has been rewritten in C and moved into "
1064 "the core code)."
1065 msgstr ""
1066
1067 # type: textblock
1068 #: ../src/guestfs.pod:498
1069 msgid ""
1070 "Add all disks belonging to the unknown virtual machine and call L</"
1071 "guestfs_launch> in the usual way."
1072 msgstr ""
1073
1074 # type: textblock
1075 #: ../src/guestfs.pod:501
1076 msgid ""
1077 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1078 "and certain heuristics, and returns a list of operating systems that were "
1079 "found.  An empty list means none were found.  A single element is the root "
1080 "filesystem of the operating system.  For dual- or multi-boot guests, "
1081 "multiple roots can be returned, each one corresponding to a separate "
1082 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1083 "world of virtualization, but since this scenario can happen, we have built "
1084 "libguestfs to deal with it.)"
1085 msgstr ""
1086
1087 # type: textblock
1088 #: ../src/guestfs.pod:510
1089 msgid ""
1090 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1091 "to get additional details about that operating system.  For example, call L</"
1092 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1093 "Windows and Linux-based operating systems respectively."
1094 msgstr ""
1095
1096 # type: textblock
1097 #: ../src/guestfs.pod:516
1098 msgid ""
1099 "Un*x-like and Linux-based operating systems usually consist of several "
1100 "filesystems which are mounted at boot time (for example, a separate boot "
1101 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1102 "filesystems correspond to mount points.  Call "
1103 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1104 "hash table like this example:"
1105 msgstr ""
1106
1107 # type: verbatim
1108 #: ../src/guestfs.pod:523
1109 #, no-wrap
1110 msgid ""
1111 " /boot => /dev/sda1\n"
1112 " /     => /dev/vg_guest/lv_root\n"
1113 " /usr  => /dev/vg_guest/lv_usr\n"
1114 "\n"
1115 msgstr ""
1116
1117 # type: textblock
1118 #: ../src/guestfs.pod:527
1119 msgid ""
1120 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1121 "filesystems as suggested."
1122 msgstr ""
1123
1124 # type: textblock
1125 #: ../src/guestfs.pod:530
1126 msgid ""
1127 "Be careful to mount filesystems in the right order (eg. C</> before C</"
1128 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
1129 msgstr ""
1130
1131 # type: textblock
1132 #: ../src/guestfs.pod:534
1133 msgid ""
1134 "Inspection currently only works for some common operating systems.  "
1135 "Contributors are welcome to send patches for other operating systems that we "
1136 "currently cannot detect."
1137 msgstr ""
1138
1139 # type: textblock
1140 #: ../src/guestfs.pod:538
1141 msgid ""
1142 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1143 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1144 "encrypted devices."
1145 msgstr ""
1146
1147 # type: textblock
1148 #: ../src/guestfs.pod:542
1149 msgid ""
1150 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1151 "inspection and caches the results in the guest handle.  Subsequent calls to "
1152 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
1153 "read the disks.  If you change the content of the guest disks, you can redo "
1154 "inspection by calling L</guestfs_inspect_os> again."
1155 msgstr ""
1156
1157 # type: =head2
1158 #: ../src/guestfs.pod:549
1159 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1160 msgstr ""
1161
1162 # type: textblock
1163 #: ../src/guestfs.pod:551
1164 msgid ""
1165 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
1166 "ntfs-3g.org/> driver."
1167 msgstr ""
1168
1169 # type: textblock
1170 #: ../src/guestfs.pod:554
1171 msgid ""
1172 "DOS and Windows still use drive letters, and the filesystems are always "
1173 "treated as case insensitive by Windows itself, and therefore you might find "
1174 "a Windows configuration file referring to a path like C<c:\\windows"
1175 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
1176 "might be referred to as C</WINDOWS/System32>."
1177 msgstr ""
1178
1179 # type: textblock
1180 #: ../src/guestfs.pod:560
1181 msgid ""
1182 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1183 "libguestfs to read the appropriate Windows Registry and configuration files, "
1184 "to determine yourself how drives are mapped (see also L<hivex(3)> and L<virt-"
1185 "inspector(1)>)."
1186 msgstr ""
1187
1188 # type: textblock
1189 #: ../src/guestfs.pod:565
1190 msgid ""
1191 "Replacing backslash characters with forward slash characters is also outside "
1192 "the scope of libguestfs, but something that you can easily do."
1193 msgstr ""
1194
1195 # type: textblock
1196 #: ../src/guestfs.pod:568
1197 msgid ""
1198 "Where we can help is in resolving the case insensitivity of paths.  For "
1199 "this, call L</guestfs_case_sensitive_path>."
1200 msgstr ""
1201
1202 # type: textblock
1203 #: ../src/guestfs.pod:571
1204 msgid ""
1205 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1206 "files, through the library C<hivex> which is part of the libguestfs project "
1207 "although ships as a separate tarball.  You have to locate and download the "
1208 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1209 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
1210 "reg(1)> for more help on this issue."
1211 msgstr ""
1212
1213 # type: =head2
1214 #: ../src/guestfs.pod:579
1215 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1216 msgstr ""
1217
1218 # type: textblock
1219 #: ../src/guestfs.pod:581
1220 msgid ""
1221 "Although we don't want to discourage you from using the C API, we will "
1222 "mention here that the same API is also available in other languages."
1223 msgstr ""
1224
1225 # type: textblock
1226 #: ../src/guestfs.pod:584
1227 msgid ""
1228 "The API is broadly identical in all supported languages.  This means that "
1229 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, C<g."
1230 "mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1231 "words, a straightforward, predictable isomorphism between each language."
1232 msgstr ""
1233
1234 # type: textblock
1235 #: ../src/guestfs.pod:590
1236 msgid ""
1237 "Error messages are automatically transformed into exceptions if the language "
1238 "supports it."
1239 msgstr ""
1240
1241 # type: textblock
1242 #: ../src/guestfs.pod:593
1243 msgid ""
1244 "We don't try to \"object orientify\" parts of the API in OO languages, "
1245 "although contributors are welcome to write higher level APIs above what we "
1246 "provide in their favourite languages if they wish."
1247 msgstr ""
1248
1249 # type: =item
1250 #: ../src/guestfs.pod:599
1251 msgid "B<C++>"
1252 msgstr ""
1253
1254 # type: textblock
1255 #: ../src/guestfs.pod:601
1256 msgid ""
1257 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1258 "identical to the C API.  C++ classes and exceptions are not used."
1259 msgstr ""
1260
1261 # type: =item
1262 #: ../src/guestfs.pod:605
1263 msgid "B<C#>"
1264 msgstr ""
1265
1266 # type: textblock
1267 #: ../src/guestfs.pod:607
1268 msgid ""
1269 "The C# bindings are highly experimental.  Please read the warnings at the "
1270 "top of C<csharp/Libguestfs.cs>."
1271 msgstr ""
1272
1273 # type: =item
1274 #: ../src/guestfs.pod:610
1275 msgid "B<Haskell>"
1276 msgstr ""
1277
1278 # type: textblock
1279 #: ../src/guestfs.pod:612
1280 msgid ""
1281 "This is the only language binding that is working but incomplete.  Only "
1282 "calls which return simple integers have been bound in Haskell, and we are "
1283 "looking for help to complete this binding."
1284 msgstr ""
1285
1286 # type: =item
1287 #: ../src/guestfs.pod:616
1288 msgid "B<Java>"
1289 msgstr ""
1290
1291 # type: textblock
1292 #: ../src/guestfs.pod:618
1293 msgid ""
1294 "Full documentation is contained in the Javadoc which is distributed with "
1295 "libguestfs."
1296 msgstr ""
1297
1298 # type: =item
1299 #: ../src/guestfs.pod:621
1300 msgid "B<OCaml>"
1301 msgstr ""
1302
1303 # type: textblock
1304 #: ../src/guestfs.pod:623
1305 msgid "For documentation see the file C<guestfs.mli>."
1306 msgstr ""
1307
1308 # type: =item
1309 #: ../src/guestfs.pod:625
1310 msgid "B<Perl>"
1311 msgstr ""
1312
1313 # type: textblock
1314 #: ../src/guestfs.pod:627
1315 msgid "For documentation see L<Sys::Guestfs(3)>."
1316 msgstr ""
1317
1318 # type: =item
1319 #: ../src/guestfs.pod:629
1320 msgid "B<Python>"
1321 msgstr ""
1322
1323 # type: textblock
1324 #: ../src/guestfs.pod:631
1325 msgid "For documentation do:"
1326 msgstr ""
1327
1328 # type: verbatim
1329 #: ../src/guestfs.pod:633
1330 #, no-wrap
1331 msgid ""
1332 " $ python\n"
1333 " >>> import guestfs\n"
1334 " >>> help (guestfs)\n"
1335 "\n"
1336 msgstr ""
1337
1338 # type: =item
1339 #: ../src/guestfs.pod:637
1340 msgid "B<Ruby>"
1341 msgstr ""
1342
1343 # type: textblock
1344 #: ../src/guestfs.pod:639
1345 msgid ""
1346 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1347 "can find examples written in Ruby in the libguestfs source."
1348 msgstr ""
1349
1350 # type: =item
1351 #: ../src/guestfs.pod:642
1352 msgid "B<shell scripts>"
1353 msgstr ""
1354
1355 # type: textblock
1356 #: ../src/guestfs.pod:644
1357 msgid "For documentation see L<guestfish(1)>."
1358 msgstr ""
1359
1360 # type: =head2
1361 #: ../src/guestfs.pod:648
1362 msgid "LIBGUESTFS GOTCHAS"
1363 msgstr ""
1364
1365 # type: textblock
1366 #: ../src/guestfs.pod:650
1367 msgid ""
1368 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1369 "system [...] that works in the way it is documented but is counterintuitive "
1370 "and almost invites mistakes.\""
1371 msgstr ""
1372
1373 # type: textblock
1374 #: ../src/guestfs.pod:654
1375 msgid ""
1376 "Since we developed libguestfs and the associated tools, there are several "
1377 "things we would have designed differently, but are now stuck with for "
1378 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1379 "release, you can expect these to change.  Beware of them."
1380 msgstr ""
1381
1382 # type: =item
1383 #: ../src/guestfs.pod:662
1384 msgid "Autosync / forgetting to sync."
1385 msgstr ""
1386
1387 # type: textblock
1388 #: ../src/guestfs.pod:664
1389 msgid ""
1390 "When modifying a filesystem from C or another language, you B<must> unmount "
1391 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1392 "libguestfs handle.  You can also call:"
1393 msgstr ""
1394
1395 # type: verbatim
1396 #: ../src/guestfs.pod:668
1397 #, no-wrap
1398 msgid ""
1399 " guestfs_set_autosync (g, 1);\n"
1400 "\n"
1401 msgstr ""
1402
1403 # type: textblock
1404 #: ../src/guestfs.pod:670
1405 msgid ""
1406 "to have the unmount/sync done automatically for you when the handle 'g' is "
1407 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
1408 msgstr ""
1409
1410 # type: textblock
1411 #: ../src/guestfs.pod:674
1412 msgid ""
1413 "If you forget to do this, then it is entirely possible that your changes "
1414 "won't be written out, or will be partially written, or (very rarely) that "
1415 "you'll get disk corruption."
1416 msgstr ""
1417
1418 # type: textblock
1419 #: ../src/guestfs.pod:678
1420 msgid ""
1421 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1422 "guestfish scripts that forget to sync will work just fine, which can make "
1423 "this very puzzling if you are trying to debug a problem."
1424 msgstr ""
1425
1426 # type: =item
1427 #: ../src/guestfs.pod:682
1428 msgid "Mount option C<-o sync> should not be the default."
1429 msgstr ""
1430
1431 # type: textblock
1432 #: ../src/guestfs.pod:684
1433 msgid ""
1434 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1435 "However C<-o sync> does not add any reliability benefit, but does have a "
1436 "very large performance impact."
1437 msgstr ""
1438
1439 # type: textblock
1440 #: ../src/guestfs.pod:688
1441 msgid ""
1442 "The work around is to use L</guestfs_mount_options> and set the mount "
1443 "options that you actually want to use."
1444 msgstr ""
1445
1446 # type: =item
1447 #: ../src/guestfs.pod:691
1448 msgid "Read-only should be the default."
1449 msgstr ""
1450
1451 # type: textblock
1452 #: ../src/guestfs.pod:693
1453 msgid ""
1454 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1455 "specify I<--rw> if you want to make changes to the image."
1456 msgstr ""
1457
1458 # type: textblock
1459 #: ../src/guestfs.pod:696
1460 msgid "This would reduce the potential to corrupt live VM images."
1461 msgstr ""
1462
1463 # type: textblock
1464 #: ../src/guestfs.pod:698
1465 msgid ""
1466 "Note that many filesystems change the disk when you just mount and unmount, "
1467 "even if you didn't perform any writes.  You need to use L</"
1468 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
1469 msgstr ""
1470
1471 # type: =item
1472 #: ../src/guestfs.pod:702
1473 msgid "guestfish command line is hard to use."
1474 msgstr ""
1475
1476 # type: textblock
1477 #: ../src/guestfs.pod:704
1478 msgid ""
1479 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1480 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1481 "exist, so it fails.  In earlier versions of guestfish the error message was "
1482 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1483 "we should have used C<guestfish -c command> to run commands."
1484 msgstr ""
1485
1486 # type: =item
1487 #: ../src/guestfs.pod:711
1488 msgid "guestfish megabyte modifiers don't work right on all commands"
1489 msgstr ""
1490
1491 # type: textblock
1492 #: ../src/guestfs.pod:713
1493 msgid ""
1494 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1495 "other modifiers).  What guestfish actually does is to multiply the number "
1496 "part by the modifier part and pass the result to the C API.  However this "
1497 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1498 "expecting some other unit (eg. megabytes)."
1499 msgstr ""
1500
1501 # type: textblock
1502 #: ../src/guestfs.pod:720
1503 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1504 msgstr ""
1505
1506 # type: verbatim
1507 #: ../src/guestfs.pod:722
1508 #, no-wrap
1509 msgid ""
1510 " lvcreate LV VG 100M\n"
1511 "\n"
1512 msgstr ""
1513
1514 # type: textblock
1515 #: ../src/guestfs.pod:724
1516 msgid ""
1517 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1518 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1519 "megabytes * megabytes) logical volume.  The error message you get from this "
1520 "is also a little obscure."
1521 msgstr ""
1522
1523 # type: textblock
1524 #: ../src/guestfs.pod:729
1525 msgid ""
1526 "This could be fixed in the generator by specially marking parameters and "
1527 "return values which take bytes or other units."
1528 msgstr ""
1529
1530 # type: =item
1531 #: ../src/guestfs.pod:732
1532 msgid "Library should return errno with error messages."
1533 msgstr ""
1534
1535 # type: textblock
1536 #: ../src/guestfs.pod:734
1537 msgid ""
1538 "It would be a nice-to-have to be able to get the original value of 'errno' "
1539 "from inside the appliance along error paths (where set).  Currently "
1540 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1541 "string into an errno, see the function error() in fuse/guestmount.c."
1542 msgstr ""
1543
1544 # type: textblock
1545 #: ../src/guestfs.pod:740
1546 msgid ""
1547 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1548 "sent back from the daemon."
1549 msgstr ""
1550
1551 # type: =head2
1552 #: ../src/guestfs.pod:745
1553 msgid "PROTOCOL LIMITS"
1554 msgstr ""
1555
1556 # type: textblock
1557 #: ../src/guestfs.pod:747
1558 msgid ""
1559 "Internally libguestfs uses a message-based protocol to pass API calls and "
1560 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1561 "plenty more detail about this).  The maximum message size used by the "
1562 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1563 "aware of this limit.  The API calls which may be affected are individually "
1564 "documented, with a link back to this section of the documentation."
1565 msgstr ""
1566
1567 # type: textblock
1568 #: ../src/guestfs.pod:755
1569 msgid ""
1570 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1571 "a simple string.  Because this string is at some point internally encoded as "
1572 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1573 "the requested file is larger than this then you will get an error."
1574 msgstr ""
1575
1576 # type: textblock
1577 #: ../src/guestfs.pod:761
1578 msgid ""
1579 "In order to transfer large files into and out of the guest filesystem, you "
1580 "need to use particular calls that support this.  The sections L</UPLOADING> "
1581 "and L</DOWNLOADING> document how to do this."
1582 msgstr ""
1583
1584 # type: textblock
1585 #: ../src/guestfs.pod:765
1586 msgid ""
1587 "You might also consider mounting the disk image using our FUSE filesystem "
1588 "support (L<guestmount(1)>)."
1589 msgstr ""
1590
1591 # type: =head2
1592 #: ../src/guestfs.pod:768
1593 msgid "KEYS AND PASSPHRASES"
1594 msgstr ""
1595
1596 # type: textblock
1597 #: ../src/guestfs.pod:770
1598 msgid ""
1599 "Certain libguestfs calls take a parameter that contains sensitive key "
1600 "material, passed in as a C string."
1601 msgstr ""
1602
1603 # type: textblock
1604 #: ../src/guestfs.pod:773
1605 msgid ""
1606 "In the future we would hope to change the libguestfs implementation so that "
1607 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1608 "swap.  However this is I<not> done at the moment, because of the complexity "
1609 "of such an implementation."
1610 msgstr ""
1611
1612 # type: textblock
1613 #: ../src/guestfs.pod:778
1614 msgid ""
1615 "Therefore you should be aware that any key parameter you pass to libguestfs "
1616 "might end up being written out to the swap partition.  If this is a concern, "
1617 "scrub the swap partition or don't use libguestfs on encrypted devices."
1618 msgstr ""
1619
1620 # type: =head1
1621 #: ../src/guestfs.pod:783
1622 msgid "CONNECTION MANAGEMENT"
1623 msgstr ""
1624
1625 # type: =head2
1626 #: ../src/guestfs.pod:785
1627 msgid "guestfs_h *"
1628 msgstr ""
1629
1630 # type: textblock
1631 #: ../src/guestfs.pod:787
1632 msgid ""
1633 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1634 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1635 "handle and release all resources used."
1636 msgstr ""
1637
1638 # type: textblock
1639 #: ../src/guestfs.pod:791
1640 msgid ""
1641 "For information on using multiple handles and threads, see the section L</"
1642 "MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1643 msgstr ""
1644
1645 # type: =head2
1646 #: ../src/guestfs.pod:794
1647 msgid "guestfs_create"
1648 msgstr ""
1649
1650 # type: verbatim
1651 #: ../src/guestfs.pod:796
1652 #, no-wrap
1653 msgid ""
1654 " guestfs_h *guestfs_create (void);\n"
1655 "\n"
1656 msgstr ""
1657
1658 # type: textblock
1659 #: ../src/guestfs.pod:798
1660 msgid "Create a connection handle."
1661 msgstr ""
1662
1663 # type: textblock
1664 #: ../src/guestfs.pod:800
1665 msgid "You have to call L</guestfs_add_drive> on the handle at least once."
1666 msgstr ""
1667
1668 # type: textblock
1669 #: ../src/guestfs.pod:802
1670 msgid ""
1671 "This function returns a non-NULL pointer to a handle on success or NULL on "
1672 "error."
1673 msgstr ""
1674
1675 # type: textblock
1676 #: ../src/guestfs.pod:805
1677 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1678 msgstr ""
1679
1680 # type: textblock
1681 #: ../src/guestfs.pod:807
1682 msgid ""
1683 "You may also want to configure error handling for the handle.  See L</ERROR "
1684 "HANDLING> section below."
1685 msgstr ""
1686
1687 # type: =head2
1688 #: ../src/guestfs.pod:810
1689 msgid "guestfs_close"
1690 msgstr ""
1691
1692 # type: verbatim
1693 #: ../src/guestfs.pod:812
1694 #, no-wrap
1695 msgid ""
1696 " void guestfs_close (guestfs_h *g);\n"
1697 "\n"
1698 msgstr ""
1699
1700 # type: textblock
1701 #: ../src/guestfs.pod:814
1702 msgid "This closes the connection handle and frees up all resources used."
1703 msgstr ""
1704
1705 # type: =head1
1706 #: ../src/guestfs.pod:816
1707 msgid "ERROR HANDLING"
1708 msgstr ""
1709
1710 # type: textblock
1711 #: ../src/guestfs.pod:818
1712 msgid ""
1713 "The convention in all functions that return C<int> is that they return C<-1> "
1714 "to indicate an error.  You can get additional information on errors by "
1715 "calling L</guestfs_last_error> and/or by setting up an error handler with L</"
1716 "guestfs_set_error_handler>."
1717 msgstr ""
1718
1719 # type: textblock
1720 #: ../src/guestfs.pod:823
1721 msgid "The default error handler prints the information string to C<stderr>."
1722 msgstr ""
1723
1724 # type: textblock
1725 #: ../src/guestfs.pod:825
1726 msgid ""
1727 "Out of memory errors are handled differently.  The default action is to call "
1728 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
1729 "guestfs_set_out_of_memory_handler>."
1730 msgstr ""
1731
1732 # type: =head2
1733 #: ../src/guestfs.pod:829
1734 msgid "guestfs_last_error"
1735 msgstr ""
1736
1737 # type: verbatim
1738 #: ../src/guestfs.pod:831
1739 #, no-wrap
1740 msgid ""
1741 " const char *guestfs_last_error (guestfs_h *g);\n"
1742 "\n"
1743 msgstr ""
1744
1745 # type: textblock
1746 #: ../src/guestfs.pod:833
1747 msgid ""
1748 "This returns the last error message that happened on C<g>.  If there has not "
1749 "been an error since the handle was created, then this returns C<NULL>."
1750 msgstr ""
1751
1752 # type: textblock
1753 #: ../src/guestfs.pod:837
1754 msgid ""
1755 "The lifetime of the returned string is until the next error occurs, or L</"
1756 "guestfs_close> is called."
1757 msgstr ""
1758
1759 # type: textblock
1760 #: ../src/guestfs.pod:840
1761 msgid ""
1762 "The error string is not localized (ie. is always in English), because this "
1763 "makes searching for error messages in search engines give the largest number "
1764 "of results."
1765 msgstr ""
1766
1767 # type: =head2
1768 #: ../src/guestfs.pod:844
1769 msgid "guestfs_set_error_handler"
1770 msgstr ""
1771
1772 # type: verbatim
1773 #: ../src/guestfs.pod:846
1774 #, no-wrap
1775 msgid ""
1776 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1777 "                                           void *opaque,\n"
1778 "                                           const char *msg);\n"
1779 " void guestfs_set_error_handler (guestfs_h *g,\n"
1780 "                                 guestfs_error_handler_cb cb,\n"
1781 "                                 void *opaque);\n"
1782 "\n"
1783 msgstr ""
1784
1785 # type: textblock
1786 #: ../src/guestfs.pod:853
1787 msgid ""
1788 "The callback C<cb> will be called if there is an error.  The parameters "
1789 "passed to the callback are an opaque data pointer and the error message "
1790 "string."
1791 msgstr ""
1792
1793 # type: textblock
1794 #: ../src/guestfs.pod:857
1795 msgid ""
1796 "Note that the message string C<msg> is freed as soon as the callback "
1797 "function returns, so if you want to stash it somewhere you must make your "
1798 "own copy."
1799 msgstr ""
1800
1801 # type: textblock
1802 #: ../src/guestfs.pod:861
1803 msgid "The default handler prints messages on C<stderr>."
1804 msgstr ""
1805
1806 # type: textblock
1807 #: ../src/guestfs.pod:863
1808 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1809 msgstr ""
1810
1811 # type: =head2
1812 #: ../src/guestfs.pod:865
1813 msgid "guestfs_get_error_handler"
1814 msgstr ""
1815
1816 # type: verbatim
1817 #: ../src/guestfs.pod:867
1818 #, no-wrap
1819 msgid ""
1820 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1821 "                                                     void **opaque_rtn);\n"
1822 "\n"
1823 msgstr ""
1824
1825 # type: textblock
1826 #: ../src/guestfs.pod:870
1827 msgid "Returns the current error handler callback."
1828 msgstr ""
1829
1830 # type: =head2
1831 #: ../src/guestfs.pod:872
1832 msgid "guestfs_set_out_of_memory_handler"
1833 msgstr ""
1834
1835 # type: verbatim
1836 #: ../src/guestfs.pod:874
1837 #, no-wrap
1838 msgid ""
1839 " typedef void (*guestfs_abort_cb) (void);\n"
1840 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1841 "                                        guestfs_abort_cb);\n"
1842 "\n"
1843 msgstr ""
1844
1845 # type: textblock
1846 #: ../src/guestfs.pod:878
1847 msgid ""
1848 "The callback C<cb> will be called if there is an out of memory situation.  "
1849 "I<Note this callback must not return>."
1850 msgstr ""
1851
1852 # type: textblock
1853 #: ../src/guestfs.pod:881
1854 msgid "The default is to call L<abort(3)>."
1855 msgstr ""
1856
1857 # type: textblock
1858 #: ../src/guestfs.pod:883
1859 msgid ""
1860 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1861 msgstr ""
1862
1863 # type: =head2
1864 #: ../src/guestfs.pod:886
1865 msgid "guestfs_get_out_of_memory_handler"
1866 msgstr ""
1867
1868 # type: verbatim
1869 #: ../src/guestfs.pod:888
1870 #, no-wrap
1871 msgid ""
1872 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1873 "\n"
1874 msgstr ""
1875
1876 # type: textblock
1877 #: ../src/guestfs.pod:890
1878 msgid "This returns the current out of memory handler."
1879 msgstr ""
1880
1881 # type: =head1
1882 #: ../src/guestfs.pod:892
1883 msgid "PATH"
1884 msgstr ""
1885
1886 # type: textblock
1887 #: ../src/guestfs.pod:894
1888 msgid ""
1889 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1890 "internal path."
1891 msgstr ""
1892
1893 # type: textblock
1894 #: ../src/guestfs.pod:897
1895 msgid ""
1896 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
1897 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1898 msgstr ""
1899
1900 # type: textblock
1901 #: ../src/guestfs.pod:900
1902 msgid ""
1903 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1904 "to change the directories that libguestfs will search in.  The value is a "
1905 "colon-separated list of paths.  The current directory is I<not> searched "
1906 "unless the path contains an empty element or C<.>.  For example "
1907 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1908 "then C</usr/lib/guestfs>."
1909 msgstr ""
1910
1911 # type: =head1
1912 #: ../src/guestfs.pod:907
1913 msgid "HIGH-LEVEL API ACTIONS"
1914 msgstr ""
1915
1916 # type: =head2
1917 #: ../src/guestfs.pod:909
1918 msgid "ABI GUARANTEE"
1919 msgstr ""
1920
1921 # type: textblock
1922 #: ../src/guestfs.pod:911
1923 msgid ""
1924 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
1925 "actions as outlined in this section.  Although we will deprecate some "
1926 "actions, for example if they get replaced by newer calls, we will keep the "
1927 "old actions forever.  This allows you the developer to program in confidence "
1928 "against the libguestfs API."
1929 msgstr ""
1930
1931 # type: textblock
1932 #: ../src/guestfs.pod:917 ../fish/guestfish.pod:898
1933 msgid "@ACTIONS@"
1934 msgstr ""
1935
1936 # type: =head1
1937 #: ../src/guestfs.pod:919
1938 msgid "STRUCTURES"
1939 msgstr ""
1940
1941 # type: textblock
1942 #: ../src/guestfs.pod:921
1943 msgid "@STRUCTS@"
1944 msgstr ""
1945
1946 # type: =head1
1947 #: ../src/guestfs.pod:923
1948 msgid "AVAILABILITY"
1949 msgstr ""
1950
1951 # type: =head2
1952 #: ../src/guestfs.pod:925
1953 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
1954 msgstr ""
1955
1956 # type: textblock
1957 #: ../src/guestfs.pod:927
1958 msgid ""
1959 "Using L</guestfs_available> you can test availability of the following "
1960 "groups of functions.  This test queries the appliance to see if the "
1961 "appliance you are currently using supports the functionality."
1962 msgstr ""
1963
1964 # type: textblock
1965 #: ../src/guestfs.pod:932
1966 msgid "@AVAILABILITY@"
1967 msgstr ""
1968
1969 # type: =head2
1970 #: ../src/guestfs.pod:934
1971 msgid "GUESTFISH supported COMMAND"
1972 msgstr ""
1973
1974 # type: textblock
1975 #: ../src/guestfs.pod:936
1976 msgid ""
1977 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
1978 "prints out the available groups and whether they are supported by this build "
1979 "of libguestfs.  Note however that you have to do C<run> first."
1980 msgstr ""
1981
1982 # type: =head2
1983 #: ../src/guestfs.pod:941
1984 msgid "SINGLE CALLS AT COMPILE TIME"
1985 msgstr ""
1986
1987 # type: textblock
1988 #: ../src/guestfs.pod:943
1989 msgid ""
1990 "If you need to test whether a single libguestfs function is available at "
1991 "compile time, we recommend using build tools such as autoconf or cmake.  For "
1992 "example in autotools you could use:"
1993 msgstr ""
1994
1995 # type: verbatim
1996 #: ../src/guestfs.pod:948
1997 #, no-wrap
1998 msgid ""
1999 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
2000 " AC_CHECK_FUNCS([guestfs_dd])\n"
2001 "\n"
2002 msgstr ""
2003
2004 # type: textblock
2005 #: ../src/guestfs.pod:951
2006 msgid ""
2007 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
2008 "in your program."
2009 msgstr ""
2010
2011 # type: =head2
2012 #: ../src/guestfs.pod:954
2013 msgid "SINGLE CALLS AT RUN TIME"
2014 msgstr ""
2015
2016 # type: textblock
2017 #: ../src/guestfs.pod:956
2018 msgid ""
2019 "Testing at compile time doesn't guarantee that a function really exists in "
2020 "the library.  The reason is that you might be dynamically linked against a "
2021 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2022 "This situation unfortunately results in a segmentation fault, which is a "
2023 "shortcoming of the C dynamic linking system itself."
2024 msgstr ""
2025
2026 # type: textblock
2027 #: ../src/guestfs.pod:963
2028 msgid ""
2029 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2030 "in this example program (note that you still need the compile time check as "
2031 "well):"
2032 msgstr ""
2033
2034 # type: verbatim
2035 #: ../src/guestfs.pod:967
2036 #, no-wrap
2037 msgid ""
2038 " #include <config.h>\n"
2039 " \n"
2040 msgstr ""
2041
2042 # type: verbatim
2043 #: ../src/guestfs.pod:969
2044 #, no-wrap
2045 msgid ""
2046 " #include <stdio.h>\n"
2047 " #include <stdlib.h>\n"
2048 " #include <unistd.h>\n"
2049 " #include <dlfcn.h>\n"
2050 " #include <guestfs.h>\n"
2051 " \n"
2052 msgstr ""
2053
2054 # type: verbatim
2055 #: ../src/guestfs.pod:975
2056 #, no-wrap
2057 msgid ""
2058 " main ()\n"
2059 " {\n"
2060 " #ifdef HAVE_GUESTFS_DD\n"
2061 "   void *dl;\n"
2062 "   int has_function;\n"
2063 " \n"
2064 msgstr ""
2065
2066 # type: verbatim
2067 #: ../src/guestfs.pod:981
2068 #, no-wrap
2069 msgid ""
2070 "   /* Test if the function guestfs_dd is really available. */\n"
2071 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2072 "   if (!dl) {\n"
2073 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2074 "     exit (EXIT_FAILURE);\n"
2075 "   }\n"
2076 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2077 "   dlclose (dl);\n"
2078 " \n"
2079 msgstr ""
2080
2081 # type: verbatim
2082 #: ../src/guestfs.pod:990
2083 #, no-wrap
2084 msgid ""
2085 "   if (!has_function)\n"
2086 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2087 "   else {\n"
2088 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2089 "     /* Now it's safe to call\n"
2090 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2091 "     */\n"
2092 "   }\n"
2093 " #else\n"
2094 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2095 " #endif\n"
2096 "  }\n"
2097 "\n"
2098 msgstr ""
2099
2100 # type: textblock
2101 #: ../src/guestfs.pod:1003
2102 msgid ""
2103 "You may think the above is an awful lot of hassle, and it is.  There are "
2104 "other ways outside of the C linking system to ensure that this kind of "
2105 "incompatibility never arises, such as using package versioning:"
2106 msgstr ""
2107
2108 # type: verbatim
2109 #: ../src/guestfs.pod:1008
2110 #, no-wrap
2111 msgid ""
2112 " Requires: libguestfs >= 1.0.80\n"
2113 "\n"
2114 msgstr ""
2115
2116 # type: =end
2117 #: ../src/guestfs.pod:1010 ../src/guestfs.pod:1015
2118 msgid "html"
2119 msgstr ""
2120
2121 # type: textblock
2122 #: ../src/guestfs.pod:1012
2123 msgid ""
2124 "<!-- old anchor for the next section --> <a name="
2125 "\"state_machine_and_low_level_event_api\"/>"
2126 msgstr ""
2127
2128 # type: =head1
2129 #: ../src/guestfs.pod:1017
2130 msgid "ARCHITECTURE"
2131 msgstr ""
2132
2133 # type: textblock
2134 #: ../src/guestfs.pod:1019
2135 msgid ""
2136 "Internally, libguestfs is implemented by running an appliance (a special "
2137 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2138 "process of the main program."
2139 msgstr ""
2140
2141 # type: verbatim
2142 #: ../src/guestfs.pod:1023
2143 #, no-wrap
2144 msgid ""
2145 "  ___________________\n"
2146 " /                   \\\n"
2147 " | main program      |\n"
2148 " |                   |\n"
2149 " |                   |           child process / appliance\n"
2150 " |                   |           __________________________\n"
2151 " |                   |          / qemu                     \\\n"
2152 " +-------------------+   RPC    |      +-----------------+ |\n"
2153 " | libguestfs     <--------------------> guestfsd        | |\n"
2154 " |                   |          |      +-----------------+ |\n"
2155 " \\___________________/          |      | Linux kernel    | |\n"
2156 "                                |      +--^--------------+ |\n"
2157 "                                \\_________|________________/\n"
2158 "                                          |\n"
2159 "                                   _______v______\n"
2160 "                                  /              \\\n"
2161 "                                  | Device or    |\n"
2162 "                                  | disk image   |\n"
2163 "                                  \\______________/\n"
2164 "\n"
2165 msgstr ""
2166
2167 # type: textblock
2168 #: ../src/guestfs.pod:1043
2169 msgid ""
2170 "The library, linked to the main program, creates the child process and hence "
2171 "the appliance in the L</guestfs_launch> function."
2172 msgstr ""
2173
2174 # type: textblock
2175 #: ../src/guestfs.pod:1046
2176 msgid ""
2177 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2178 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2179 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2180 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2181 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2182 "attached to the qemu process which translates device access by the "
2183 "appliance's Linux kernel into accesses to the image."
2184 msgstr ""
2185
2186 # type: textblock
2187 #: ../src/guestfs.pod:1055
2188 msgid ""
2189 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2190 "Although the disk image you are attached to might also be used by some "
2191 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2192 "care if both libguestfs's qemu process and your virtual machine are trying "
2193 "to update the disk image at the same time, since these usually results in "
2194 "massive disk corruption)."
2195 msgstr ""
2196
2197 # type: =head1
2198 #: ../src/guestfs.pod:1062
2199 msgid "STATE MACHINE"
2200 msgstr ""
2201
2202 # type: textblock
2203 #: ../src/guestfs.pod:1064
2204 msgid "libguestfs uses a state machine to model the child process:"
2205 msgstr ""
2206
2207 # type: verbatim
2208 #: ../src/guestfs.pod:1066
2209 #, no-wrap
2210 msgid ""
2211 "                         |\n"
2212 "                    guestfs_create\n"
2213 "                         |\n"
2214 "                         |\n"
2215 "                     ____V_____\n"
2216 "                    /          \\\n"
2217 "                    |  CONFIG  |\n"
2218 "                    \\__________/\n"
2219 "                     ^ ^   ^  \\\n"
2220 "                    /  |    \\  \\ guestfs_launch\n"
2221 "                   /   |    _\\__V______\n"
2222 "                  /    |   /           \\\n"
2223 "                 /     |   | LAUNCHING |\n"
2224 "                /      |   \\___________/\n"
2225 "               /       |       /\n"
2226 "              /        |  guestfs_launch\n"
2227 "             /         |     /\n"
2228 "    ______  /        __|____V\n"
2229 "   /      \\ ------> /        \\\n"
2230 "   | BUSY |         | READY  |\n"
2231 "   \\______/ <------ \\________/\n"
2232 "\n"
2233 msgstr ""
2234
2235 # type: textblock
2236 #: ../src/guestfs.pod:1088
2237 msgid ""
2238 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2239 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2240 "(3) alternating between READY and BUSY as commands are issued to, and "
2241 "carried out by, the child process."
2242 msgstr ""
2243
2244 # type: textblock
2245 #: ../src/guestfs.pod:1093
2246 msgid ""
2247 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2248 "asynchronously at any time (eg. due to some internal error), and that causes "
2249 "the state to transition back to CONFIG."
2250 msgstr ""
2251
2252 # type: textblock
2253 #: ../src/guestfs.pod:1097
2254 msgid ""
2255 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2256 "issued when in the CONFIG state."
2257 msgstr ""
2258
2259 # type: textblock
2260 #: ../src/guestfs.pod:1100
2261 msgid ""
2262 "The high-level API offers two calls that go from CONFIG through LAUNCHING to "
2263 "READY.  L</guestfs_launch> blocks until the child process is READY to accept "
2264 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2265 "moves the state from CONFIG to LAUNCHING while it is running."
2266 msgstr ""
2267
2268 # type: textblock
2269 #: ../src/guestfs.pod:1106
2270 msgid ""
2271 "High-level API actions such as L</guestfs_mount> can only be issued when in "
2272 "the READY state.  These high-level API calls block waiting for the command "
2273 "to be carried out (ie. the state to transition to BUSY and then back to "
2274 "READY).  But using the low-level event API, you get non-blocking versions.  "
2275 "(But you can still only carry out one operation per handle at a time - that "
2276 "is a limitation of the communications protocol we use)."
2277 msgstr ""
2278
2279 # type: textblock
2280 #: ../src/guestfs.pod:1114
2281 msgid ""
2282 "Finally, the child process sends asynchronous messages back to the main "
2283 "program, such as kernel log messages.  Mostly these are ignored by the high-"
2284 "level API, but using the low-level event API you can register to receive "
2285 "these messages."
2286 msgstr ""
2287
2288 # type: =head2
2289 #: ../src/guestfs.pod:1119
2290 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2291 msgstr ""
2292
2293 # type: textblock
2294 #: ../src/guestfs.pod:1121
2295 msgid ""
2296 "The child process generates events in some situations.  Current events "
2297 "include: receiving a log message, the child process exits."
2298 msgstr ""
2299
2300 # type: textblock
2301 #: ../src/guestfs.pod:1124
2302 msgid ""
2303 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2304 "types of events."
2305 msgstr ""
2306
2307 # type: textblock
2308 #: ../src/guestfs.pod:1127
2309 msgid ""
2310 "Only I<one callback of each type> can be registered for each handle.  "
2311 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2312 "that type.  Cancel all callbacks of this type by calling this function with "
2313 "C<cb> set to C<NULL>."
2314 msgstr ""
2315
2316 # type: =head2
2317 #: ../src/guestfs.pod:1132
2318 msgid "guestfs_set_log_message_callback"
2319 msgstr ""
2320
2321 # type: verbatim
2322 #: ../src/guestfs.pod:1134
2323 #, no-wrap
2324 msgid ""
2325 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2326 "                                         char *buf, int len);\n"
2327 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2328 "                                        guestfs_log_message_cb cb,\n"
2329 "                                        void *opaque);\n"
2330 "\n"
2331 msgstr ""
2332
2333 # type: textblock
2334 #: ../src/guestfs.pod:1140
2335 msgid ""
2336 "The callback function C<cb> will be called whenever qemu or the guest writes "
2337 "anything to the console."
2338 msgstr ""
2339
2340 # type: textblock
2341 #: ../src/guestfs.pod:1143
2342 msgid "Use this function to capture kernel messages and similar."
2343 msgstr ""
2344
2345 # type: textblock
2346 #: ../src/guestfs.pod:1145
2347 msgid ""
2348 "Normally there is no log message handler, and log messages are just "
2349 "discarded."
2350 msgstr ""
2351
2352 # type: =head2
2353 #: ../src/guestfs.pod:1148
2354 msgid "guestfs_set_subprocess_quit_callback"
2355 msgstr ""
2356
2357 # type: verbatim
2358 #: ../src/guestfs.pod:1150
2359 #, no-wrap
2360 msgid ""
2361 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2362 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2363 "                                            guestfs_subprocess_quit_cb cb,\n"
2364 "                                            void *opaque);\n"
2365 "\n"
2366 msgstr ""
2367
2368 # type: textblock
2369 #: ../src/guestfs.pod:1155
2370 msgid ""
2371 "The callback function C<cb> will be called when the child process quits, "
2372 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2373 "corresponds to a transition from any state to the CONFIG state)."
2374 msgstr ""
2375
2376 # type: =head2
2377 #: ../src/guestfs.pod:1160
2378 msgid "guestfs_set_launch_done_callback"
2379 msgstr ""
2380
2381 # type: verbatim
2382 #: ../src/guestfs.pod:1162
2383 #, no-wrap
2384 msgid ""
2385 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2386 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2387 "                                        guestfs_launch_done_cb cb,\n"
2388 "                                        void *opaque);\n"
2389 "\n"
2390 msgstr ""
2391
2392 # type: textblock
2393 #: ../src/guestfs.pod:1167
2394 msgid ""
2395 "The callback function C<cb> will be called when the child process becomes "
2396 "ready first time after it has been launched.  (This corresponds to a "
2397 "transition from LAUNCHING to the READY state)."
2398 msgstr ""
2399
2400 # type: =head2
2401 #: ../src/guestfs.pod:1171
2402 msgid "guestfs_set_close_callback"
2403 msgstr ""
2404
2405 # type: verbatim
2406 #: ../src/guestfs.pod:1173
2407 #, no-wrap
2408 msgid ""
2409 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2410 " void guestfs_set_close_callback (guestfs_h *g,\n"
2411 "                                  guestfs_close_cb cb,\n"
2412 "                                  void *opaque);\n"
2413 "\n"
2414 msgstr ""
2415
2416 # type: textblock
2417 #: ../src/guestfs.pod:1178
2418 msgid ""
2419 "The callback function C<cb> will be called while the handle is being closed "
2420 "(synchronously from L</guestfs_close>)."
2421 msgstr ""
2422
2423 # type: textblock
2424 #: ../src/guestfs.pod:1181
2425 msgid ""
2426 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2427 "handles that are open when the program exits.  This means that this callback "
2428 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2429 "problems in higher-level languages (eg. if your HLL interpreter has already "
2430 "been cleaned up by the time this is called, and if your callback then jumps "
2431 "into some HLL function)."
2432 msgstr ""
2433
2434 # type: =head2
2435 #: ../src/guestfs.pod:1189
2436 msgid "guestfs_set_progress_callback"
2437 msgstr ""
2438
2439 # type: verbatim
2440 #: ../src/guestfs.pod:1191
2441 #, no-wrap
2442 msgid ""
2443 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2444 "                                      int proc_nr, int serial,\n"
2445 "                                      uint64_t position, uint64_t total);\n"
2446 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2447 "                                     guestfs_progress_cb cb,\n"
2448 "                                     void *opaque);\n"
2449 "\n"
2450 msgstr ""
2451
2452 # type: textblock
2453 #: ../src/guestfs.pod:1198
2454 msgid ""
2455 "Some long-running operations can generate progress messages.  If this "
2456 "callback is registered, then it will be called each time a progress message "
2457 "is generated (usually two seconds after the operation started, and three "
2458 "times per second thereafter until it completes, although the frequency may "
2459 "change in future versions)."
2460 msgstr ""
2461
2462 # type: textblock
2463 #: ../src/guestfs.pod:1204
2464 msgid ""
2465 "The callback receives two numbers: C<position> and C<total>.  The units of "
2466 "C<total> are not defined, although for some operations C<total> may relate "
2467 "in some way to the amount of data to be transferred (eg. in bytes or "
2468 "megabytes), and C<position> may be the portion which has been transferred."
2469 msgstr ""
2470
2471 # type: textblock
2472 #: ../src/guestfs.pod:1210
2473 msgid "The only defined and stable parts of the API are:"
2474 msgstr ""
2475
2476 # type: textblock
2477 #: ../src/guestfs.pod:1216
2478 msgid ""
2479 "The callback can display to the user some type of progress bar or indicator "
2480 "which shows the ratio of C<position>:C<total>."
2481 msgstr ""
2482
2483 # type: textblock
2484 #: ../src/guestfs.pod:1221
2485 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2486 msgstr ""
2487
2488 # type: textblock
2489 #: ../src/guestfs.pod:1225
2490 msgid ""
2491 "If any progress notification is sent during a call, then a final progress "
2492 "notification is always sent when C<position> = C<total>."
2493 msgstr ""
2494
2495 # type: textblock
2496 #: ../src/guestfs.pod:1228
2497 msgid ""
2498 "This is to simplify caller code, so callers can easily set the progress "
2499 "indicator to \"100%\" at the end of the operation, without requiring special "
2500 "code to detect this case."
2501 msgstr ""
2502
2503 # type: textblock
2504 #: ../src/guestfs.pod:1234
2505 msgid ""
2506 "The callback also receives the procedure number and serial number of the "
2507 "call.  These are only useful for debugging protocol issues, and the callback "
2508 "can normally ignore them.  The callback may want to print these numbers in "
2509 "error messages or debugging messages."
2510 msgstr ""
2511
2512 # type: =head1
2513 #: ../src/guestfs.pod:1239
2514 msgid "PRIVATE DATA AREA"
2515 msgstr ""
2516
2517 # type: textblock
2518 #: ../src/guestfs.pod:1241
2519 msgid ""
2520 "You can attach named pieces of private data to the libguestfs handle, and "
2521 "fetch them by name for the lifetime of the handle.  This is called the "
2522 "private data area and is only available from the C API."
2523 msgstr ""
2524
2525 # type: textblock
2526 #: ../src/guestfs.pod:1245
2527 msgid "To attach a named piece of data, use the following call:"
2528 msgstr ""
2529
2530 # type: verbatim
2531 #: ../src/guestfs.pod:1247
2532 #, no-wrap
2533 msgid ""
2534 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2535 "\n"
2536 msgstr ""
2537
2538 # type: textblock
2539 #: ../src/guestfs.pod:1249
2540 msgid ""
2541 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2542 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2543 "overwritten."
2544 msgstr ""
2545
2546 # type: textblock
2547 #: ../src/guestfs.pod:1253
2548 msgid ""
2549 "You can use any C<key> you want, but names beginning with an underscore "
2550 "character are reserved for internal libguestfs purposes (for implementing "
2551 "language bindings).  It is recommended to prefix the name with some unique "
2552 "string to avoid collisions with other users."
2553 msgstr ""
2554
2555 # type: textblock
2556 #: ../src/guestfs.pod:1258
2557 msgid "To retrieve the pointer, use:"
2558 msgstr ""
2559
2560 # type: verbatim
2561 #: ../src/guestfs.pod:1260
2562 #, no-wrap
2563 msgid ""
2564 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2565 "\n"
2566 msgstr ""
2567
2568 # type: textblock
2569 #: ../src/guestfs.pod:1262
2570 msgid ""
2571 "This function returns C<NULL> if either no data is found associated with "
2572 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2573 "C<NULL>."
2574 msgstr ""
2575
2576 # type: textblock
2577 #: ../src/guestfs.pod:1266
2578 msgid ""
2579 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2580 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2581 "all.  In particular, libguestfs does I<not> try to free the data when the "
2582 "handle is closed.  If the data must be freed, then the caller must either "
2583 "free it before calling L</guestfs_close> or must set up a close callback to "
2584 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2585 "can be registered for a handle)."
2586 msgstr ""
2587
2588 # type: textblock
2589 #: ../src/guestfs.pod:1274
2590 msgid ""
2591 "The private data area is implemented using a hash table, and should be "
2592 "reasonably efficient for moderate numbers of keys."
2593 msgstr ""
2594
2595 # type: =head1
2596 #: ../src/guestfs.pod:1277
2597 msgid "BLOCK DEVICE NAMING"
2598 msgstr ""
2599
2600 # type: textblock
2601 #: ../src/guestfs.pod:1279
2602 msgid ""
2603 "In the kernel there is now quite a profusion of schemata for naming block "
2604 "devices (in this context, by I<block device> I mean a physical or virtual "
2605 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
2606 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
2607 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
2608 "for the old IDE driver (particularly for SATA devices) those devices also "
2609 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
2610 "paravirtualized drivers.  This has created several different naming systems, "
2611 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
2612 msgstr ""
2613
2614 # type: textblock
2615 #: ../src/guestfs.pod:1291
2616 msgid ""
2617 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2618 "Linux kernel to access block devices.  We can run a variety of appliances "
2619 "based on a variety of Linux kernels."
2620 msgstr ""
2621
2622 # type: textblock
2623 #: ../src/guestfs.pod:1295
2624 msgid ""
2625 "This causes a problem for libguestfs because many API calls use device or "
2626 "partition names.  Working scripts and the recipe (example) scripts that we "
2627 "make available over the internet could fail if the naming scheme changes."
2628 msgstr ""
2629
2630 # type: textblock
2631 #: ../src/guestfs.pod:1300
2632 msgid ""
2633 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2634 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2635 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2636 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2637 msgstr ""
2638
2639 # type: textblock
2640 #: ../src/guestfs.pod:1306
2641 msgid ""
2642 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2643 "L</guestfs_list_partitions> and similar calls return the true names of the "
2644 "devices and partitions as known to the appliance."
2645 msgstr ""
2646
2647 # type: =head2
2648 #: ../src/guestfs.pod:1311
2649 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2650 msgstr ""
2651
2652 # type: textblock
2653 #: ../src/guestfs.pod:1313
2654 msgid ""
2655 "Usually this translation is transparent.  However in some (very rare)  cases "
2656 "you may need to know the exact algorithm.  Such cases include where you use "
2657 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
2658 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
2659 msgstr ""
2660
2661 # type: textblock
2662 #: ../src/guestfs.pod:1319
2663 msgid ""
2664 "The algorithm is applied only to I<parameters> which are known to be either "
2665 "device or partition names.  Return values from functions such as L</"
2666 "guestfs_list_devices> are never changed."
2667 msgstr ""
2668
2669 # type: textblock
2670 #: ../src/guestfs.pod:1327
2671 msgid "Is the string a parameter which is a device or partition name?"
2672 msgstr ""
2673
2674 # type: textblock
2675 #: ../src/guestfs.pod:1331
2676 msgid "Does the string begin with C</dev/sd>?"
2677 msgstr ""
2678
2679 # type: textblock
2680 #: ../src/guestfs.pod:1335
2681 msgid ""
2682 "Does the named device exist? If so, we use that device.  However if I<not> "
2683 "then we continue with this algorithm."
2684 msgstr ""
2685
2686 # type: textblock
2687 #: ../src/guestfs.pod:1340
2688 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2689 msgstr ""
2690
2691 # type: textblock
2692 #: ../src/guestfs.pod:1342
2693 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2694 msgstr ""
2695
2696 # type: textblock
2697 #: ../src/guestfs.pod:1344
2698 msgid "If that named device exists, use it.  If not, continue."
2699 msgstr ""
2700
2701 # type: textblock
2702 #: ../src/guestfs.pod:1348
2703 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2704 msgstr ""
2705
2706 # type: textblock
2707 #: ../src/guestfs.pod:1350
2708 msgid "If that named device exists, use it.  If not, return an error."
2709 msgstr ""
2710
2711 # type: =head2
2712 #: ../src/guestfs.pod:1354
2713 msgid "PORTABILITY CONCERNS"
2714 msgstr ""
2715
2716 # type: textblock
2717 #: ../src/guestfs.pod:1356
2718 msgid ""
2719 "Although the standard naming scheme and automatic translation is useful for "
2720 "simple programs and guestfish scripts, for larger programs it is best not to "
2721 "rely on this mechanism."
2722 msgstr ""
2723
2724 # type: textblock
2725 #: ../src/guestfs.pod:1360
2726 msgid ""
2727 "Where possible for maximum future portability programs using libguestfs "
2728 "should use these future-proof techniques:"
2729 msgstr ""
2730
2731 # type: textblock
2732 #: ../src/guestfs.pod:1367
2733 msgid ""
2734 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
2735 "device names, and then use those names directly."
2736 msgstr ""
2737
2738 # type: textblock
2739 #: ../src/guestfs.pod:1370
2740 msgid ""
2741 "Since those device names exist by definition, they will never be translated."
2742 msgstr ""
2743
2744 # type: textblock
2745 #: ../src/guestfs.pod:1375
2746 msgid ""
2747 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
2748 "filesystem labels."
2749 msgstr ""
2750
2751 # type: =head1
2752 #: ../src/guestfs.pod:1380
2753 msgid "INTERNALS"
2754 msgstr ""
2755
2756 # type: =head2
2757 #: ../src/guestfs.pod:1382
2758 msgid "COMMUNICATION PROTOCOL"
2759 msgstr ""
2760
2761 # type: textblock
2762 #: ../src/guestfs.pod:1384
2763 msgid ""
2764 "Don't rely on using this protocol directly.  This section documents how it "
2765 "currently works, but it may change at any time."
2766 msgstr ""
2767
2768 # type: textblock
2769 #: ../src/guestfs.pod:1387
2770 msgid ""
2771 "The protocol used to talk between the library and the daemon running inside "
2772 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
2773 "1014, RFC 1832, RFC 4506)."
2774 msgstr ""
2775
2776 # type: textblock
2777 #: ../src/guestfs.pod:1391
2778 msgid ""
2779 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
2780 "this file is automatically generated)."
2781 msgstr ""
2782
2783 # type: textblock
2784 #: ../src/guestfs.pod:1394
2785 msgid ""
2786 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
2787 "and C<FileOut> parameters, which are handled with very simple request/reply "
2788 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
2789 "parameters, which use the same request and reply messages, but they may also "
2790 "be followed by files sent using a chunked encoding."
2791 msgstr ""
2792
2793 # type: =head3
2794 #: ../src/guestfs.pod:1401
2795 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
2796 msgstr ""
2797
2798 # type: textblock
2799 #: ../src/guestfs.pod:1403
2800 msgid "For ordinary functions, the request message is:"
2801 msgstr ""
2802
2803 # type: verbatim
2804 #: ../src/guestfs.pod:1405
2805 #, no-wrap
2806 msgid ""
2807 " total length (header + arguments,\n"
2808 "      but not including the length word itself)\n"
2809 " struct guestfs_message_header (encoded as XDR)\n"
2810 " struct guestfs_<foo>_args (encoded as XDR)\n"
2811 "\n"
2812 msgstr ""
2813
2814 # type: textblock
2815 #: ../src/guestfs.pod:1410
2816 msgid ""
2817 "The total length field allows the daemon to allocate a fixed size buffer "
2818 "into which it slurps the rest of the message.  As a result, the total length "
2819 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
2820 "effective size of any request is limited to somewhere under this size."
2821 msgstr ""
2822
2823 # type: textblock
2824 #: ../src/guestfs.pod:1416
2825 msgid ""
2826 "Note also that many functions don't take any arguments, in which case the "
2827 "C<guestfs_I<foo>_args> is completely omitted."
2828 msgstr ""
2829
2830 # type: textblock
2831 #: ../src/guestfs.pod:1419
2832 msgid ""
2833 "The header contains the procedure number (C<guestfs_proc>) which is how the "
2834 "receiver knows what type of args structure to expect, or none at all."
2835 msgstr ""
2836
2837 # type: textblock
2838 #: ../src/guestfs.pod:1423
2839 msgid "The reply message for ordinary functions is:"
2840 msgstr ""
2841
2842 # type: verbatim
2843 #: ../src/guestfs.pod:1425
2844 #, no-wrap
2845 msgid ""
2846 " total length (header + ret,\n"
2847 "      but not including the length word itself)\n"
2848 " struct guestfs_message_header (encoded as XDR)\n"
2849 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2850 "\n"
2851 msgstr ""
2852
2853 # type: textblock
2854 #: ../src/guestfs.pod:1430
2855 msgid ""
2856 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
2857 "functions that return no formal return values."
2858 msgstr ""
2859
2860 # type: textblock
2861 #: ../src/guestfs.pod:1433
2862 msgid ""
2863 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
2864 msgstr ""
2865
2866 # type: textblock
2867 #: ../src/guestfs.pod:1436
2868 msgid ""
2869 "In the case of an error, a flag is set in the header, and the reply message "
2870 "is slightly changed:"
2871 msgstr ""
2872
2873 # type: verbatim
2874 #: ../src/guestfs.pod:1439
2875 #, no-wrap
2876 msgid ""
2877 " total length (header + error,\n"
2878 "      but not including the length word itself)\n"
2879 " struct guestfs_message_header (encoded as XDR)\n"
2880 " struct guestfs_message_error (encoded as XDR)\n"
2881 "\n"
2882 msgstr ""
2883
2884 # type: textblock
2885 #: ../src/guestfs.pod:1444
2886 msgid ""
2887 "The C<guestfs_message_error> structure contains the error message as a "
2888 "string."
2889 msgstr ""
2890
2891 # type: =head3
2892 #: ../src/guestfs.pod:1447
2893 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
2894 msgstr ""
2895
2896 # type: textblock
2897 #: ../src/guestfs.pod:1449
2898 msgid ""
2899 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
2900 "The normal request message is sent (see above).  However this is followed by "
2901 "a sequence of file chunks."
2902 msgstr ""
2903
2904 # type: verbatim
2905 #: ../src/guestfs.pod:1453
2906 #, no-wrap
2907 msgid ""
2908 " total length (header + arguments,\n"
2909 "      but not including the length word itself,\n"
2910 "      and not including the chunks)\n"
2911 " struct guestfs_message_header (encoded as XDR)\n"
2912 " struct guestfs_<foo>_args (encoded as XDR)\n"
2913 " sequence of chunks for FileIn param #0\n"
2914 " sequence of chunks for FileIn param #1 etc.\n"
2915 "\n"
2916 msgstr ""
2917
2918 # type: textblock
2919 #: ../src/guestfs.pod:1461
2920 msgid "The \"sequence of chunks\" is:"
2921 msgstr ""
2922
2923 # type: verbatim
2924 #: ../src/guestfs.pod:1463
2925 #, no-wrap
2926 msgid ""
2927 " length of chunk (not including length word itself)\n"
2928 " struct guestfs_chunk (encoded as XDR)\n"
2929 " length of chunk\n"
2930 " struct guestfs_chunk (encoded as XDR)\n"
2931 "   ...\n"
2932 " length of chunk\n"
2933 " struct guestfs_chunk (with data.data_len == 0)\n"
2934 "\n"
2935 msgstr ""
2936
2937 # type: textblock
2938 #: ../src/guestfs.pod:1471
2939 msgid ""
2940 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
2941 "is set in the final chunk to indicate either successful completion or early "
2942 "cancellation."
2943 msgstr ""
2944
2945 # type: textblock
2946 #: ../src/guestfs.pod:1475
2947 msgid ""
2948 "At time of writing there are no functions that have more than one FileIn "
2949 "parameter.  However this is (theoretically) supported, by sending the "
2950 "sequence of chunks for each FileIn parameter one after another (from left to "
2951 "right)."
2952 msgstr ""
2953
2954 # type: textblock
2955 #: ../src/guestfs.pod:1480
2956 msgid ""
2957 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
2958 "transfer.  The library does this by sending a chunk with a special flag set "
2959 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
2960 "RPC, does I<not> send any reply, and goes back to reading the next request."
2961 msgstr ""
2962
2963 # type: textblock
2964 #: ../src/guestfs.pod:1486
2965 msgid ""
2966 "The daemon may also cancel.  It does this by writing a special word "
2967 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
2968 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
2969 "cancel chunk).  The special word is chosen so that even if cancellation "
2970 "happens right at the end of the transfer (after the library has finished "
2971 "writing and has started listening for the reply), the \"spurious\" cancel "
2972 "flag will not be confused with the reply message."
2973 msgstr ""
2974
2975 # type: textblock
2976 #: ../src/guestfs.pod:1495
2977 msgid ""
2978 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
2979 "limit), and also files where the size is not known in advance (eg. from "
2980 "pipes or sockets).  However the chunks are rather small "
2981 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
2982 "to keep much in memory."
2983 msgstr ""
2984
2985 # type: =head3
2986 #: ../src/guestfs.pod:1501
2987 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
2988 msgstr ""
2989
2990 # type: textblock
2991 #: ../src/guestfs.pod:1503
2992 msgid ""
2993 "The protocol for FileOut parameters is exactly the same as for FileIn "
2994 "parameters, but with the roles of daemon and library reversed."
2995 msgstr ""
2996
2997 # type: verbatim
2998 #: ../src/guestfs.pod:1506
2999 #, no-wrap
3000 msgid ""
3001 " total length (header + ret,\n"
3002 "      but not including the length word itself,\n"
3003 "      and not including the chunks)\n"
3004 " struct guestfs_message_header (encoded as XDR)\n"
3005 " struct guestfs_<foo>_ret (encoded as XDR)\n"
3006 " sequence of chunks for FileOut param #0\n"
3007 " sequence of chunks for FileOut param #1 etc.\n"
3008 "\n"
3009 msgstr ""
3010
3011 # type: =head3
3012 #: ../src/guestfs.pod:1514
3013 msgid "INITIAL MESSAGE"
3014 msgstr ""
3015
3016 # type: textblock
3017 #: ../src/guestfs.pod:1516
3018 msgid ""
3019 "Because the underlying channel (QEmu -net channel) doesn't have any sort of "
3020 "connection control, when the daemon launches it sends an initial word "
3021 "(C<GUESTFS_LAUNCH_FLAG>) which indicates that the guest and daemon is "
3022 "alive.  This is what L</guestfs_launch> waits for."
3023 msgstr ""
3024
3025 # type: =head1
3026 #: ../src/guestfs.pod:1521
3027 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
3028 msgstr ""
3029
3030 # type: textblock
3031 #: ../src/guestfs.pod:1523
3032 msgid ""
3033 "All high-level libguestfs actions are synchronous.  If you want to use "
3034 "libguestfs asynchronously then you must create a thread."
3035 msgstr ""
3036
3037 # type: textblock
3038 #: ../src/guestfs.pod:1526
3039 msgid ""
3040 "Only use the handle from a single thread.  Either use the handle exclusively "
3041 "from one thread, or provide your own mutex so that two threads cannot issue "
3042 "calls on the same handle at the same time."
3043 msgstr ""
3044
3045 # type: =head1
3046 #: ../src/guestfs.pod:1530
3047 msgid "QEMU WRAPPERS"
3048 msgstr ""
3049
3050 # type: textblock
3051 #: ../src/guestfs.pod:1532
3052 msgid ""
3053 "If you want to compile your own qemu, run qemu from a non-standard location, "
3054 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3055 "around qemu."
3056 msgstr ""
3057
3058 # type: textblock
3059 #: ../src/guestfs.pod:1536
3060 msgid ""
3061 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3062 "last command in the shell script (so that qemu replaces the shell and "
3063 "becomes the direct child of the libguestfs-using program).  If you don't do "
3064 "this, then the qemu process won't be cleaned up correctly."
3065 msgstr ""
3066
3067 # type: textblock
3068 #: ../src/guestfs.pod:1541
3069 msgid ""
3070 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3071 "source:"
3072 msgstr ""
3073
3074 # type: verbatim
3075 #: ../src/guestfs.pod:1544
3076 #, no-wrap
3077 msgid ""
3078 " #!/bin/sh -\n"
3079 " qemudir=/home/rjones/d/qemu\n"
3080 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
3081 "\n"
3082 msgstr ""
3083
3084 # type: textblock
3085 #: ../src/guestfs.pod:1548
3086 msgid ""
3087 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3088 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3089 "example:"
3090 msgstr ""
3091
3092 # type: verbatim
3093 #: ../src/guestfs.pod:1552
3094 #, no-wrap
3095 msgid ""
3096 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3097 "\n"
3098 msgstr ""
3099
3100 # type: textblock
3101 #: ../src/guestfs.pod:1554
3102 msgid ""
3103 "Note that libguestfs also calls qemu with the -help and -version options in "
3104 "order to determine features."
3105 msgstr ""
3106
3107 # type: =head1
3108 #: ../src/guestfs.pod:1557
3109 msgid "LIBGUESTFS VERSION NUMBERS"
3110 msgstr ""
3111
3112 # type: textblock
3113 #: ../src/guestfs.pod:1559
3114 msgid ""
3115 "Since April 2010, libguestfs has started to make separate development and "
3116 "stable releases, along with corresponding branches in our git repository.  "
3117 "These separate releases can be identified by version number:"
3118 msgstr ""
3119
3120 # type: verbatim
3121 #: ../src/guestfs.pod:1564
3122 #, no-wrap
3123 msgid ""
3124 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3125 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3126 "       |\n"
3127 "       v\n"
3128 " 1  .  3  .  5\n"
3129 " ^           ^\n"
3130 " |           |\n"
3131 " |           `-------- sub-version\n"
3132 " |\n"
3133 " `------ always '1' because we don't change the ABI\n"
3134 "\n"
3135 msgstr ""
3136
3137 # type: textblock
3138 #: ../src/guestfs.pod:1575
3139 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3140 msgstr ""
3141
3142 # type: textblock
3143 #: ../src/guestfs.pod:1577
3144 msgid ""
3145 "As time passes we cherry pick fixes from the development branch and backport "
3146 "those into the stable branch, the effect being that the stable branch should "
3147 "get more stable and less buggy over time.  So the stable releases are ideal "
3148 "for people who don't need new features but would just like the software to "
3149 "work."
3150 msgstr ""
3151
3152 # type: textblock
3153 #: ../src/guestfs.pod:1583
3154 msgid "Our criteria for backporting changes are:"
3155 msgstr ""
3156
3157 # type: textblock
3158 #: ../src/guestfs.pod:1589
3159 msgid ""
3160 "Documentation changes which don't affect any code are backported unless the "
3161 "documentation refers to a future feature which is not in stable."
3162 msgstr ""
3163
3164 # type: textblock
3165 #: ../src/guestfs.pod:1595
3166 msgid ""
3167 "Bug fixes which are not controversial, fix obvious problems, and have been "
3168 "well tested are backported."
3169 msgstr ""
3170
3171 # type: textblock
3172 #: ../src/guestfs.pod:1600
3173 msgid ""
3174 "Simple rearrangements of code which shouldn't affect how it works get "
3175 "backported.  This is so that the code in the two branches doesn't get too "
3176 "far out of step, allowing us to backport future fixes more easily."
3177 msgstr ""
3178
3179 # type: textblock
3180 #: ../src/guestfs.pod:1606
3181 msgid ""
3182 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3183 "exceptional case: the new feature is required in order to implement an "
3184 "important bug fix."
3185 msgstr ""
3186
3187 # type: textblock
3188 #: ../src/guestfs.pod:1612
3189 msgid ""
3190 "A new stable branch starts when we think the new features in development are "
3191 "substantial and compelling enough over the current stable branch to warrant "
3192 "it.  When that happens we create new stable and development versions 1.N.0 "
3193 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3194 "stable at this point, but by backporting fixes from development, that branch "
3195 "will stabilize over time."
3196 msgstr ""
3197
3198 # type: =head1
3199 #: ../src/guestfs.pod:1620 ../fish/guestfish.pod:905
3200 #: ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312
3201 #: ../tools/virt-rescue.pl:226
3202 msgid "ENVIRONMENT VARIABLES"
3203 msgstr ""
3204
3205 # type: =item
3206 #: ../src/guestfs.pod:1624 ../fish/guestfish.pod:925
3207 msgid "LIBGUESTFS_APPEND"
3208 msgstr ""
3209
3210 # type: textblock
3211 #: ../src/guestfs.pod:1626 ../fish/guestfish.pod:927
3212 msgid "Pass additional options to the guest kernel."
3213 msgstr ""
3214
3215 # type: =item
3216 #: ../src/guestfs.pod:1628 ../fish/guestfish.pod:929
3217 msgid "LIBGUESTFS_DEBUG"
3218 msgstr ""
3219
3220 # type: textblock
3221 #: ../src/guestfs.pod:1630
3222 msgid ""
3223 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3224 "effect as calling C<guestfs_set_verbose (g, 1)>."
3225 msgstr ""
3226
3227 # type: =item
3228 #: ../src/guestfs.pod:1633 ../fish/guestfish.pod:934
3229 msgid "LIBGUESTFS_MEMSIZE"
3230 msgstr ""
3231
3232 # type: textblock
3233 #: ../src/guestfs.pod:1635 ../fish/guestfish.pod:936
3234 msgid ""
3235 "Set the memory allocated to the qemu process, in megabytes.  For example:"
3236 msgstr ""
3237
3238 # type: verbatim
3239 #: ../src/guestfs.pod:1638 ../fish/guestfish.pod:939
3240 #, no-wrap
3241 msgid ""
3242 " LIBGUESTFS_MEMSIZE=700\n"
3243 "\n"
3244 msgstr ""
3245
3246 # type: =item
3247 #: ../src/guestfs.pod:1640 ../fish/guestfish.pod:941
3248 msgid "LIBGUESTFS_PATH"
3249 msgstr ""
3250
3251 # type: textblock
3252 #: ../src/guestfs.pod:1642
3253 msgid ""
3254 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3255 "the discussion of paths in section PATH above."
3256 msgstr ""
3257
3258 # type: =item
3259 #: ../src/guestfs.pod:1645 ../fish/guestfish.pod:946
3260 msgid "LIBGUESTFS_QEMU"
3261 msgstr ""
3262
3263 # type: textblock
3264 #: ../src/guestfs.pod:1647 ../fish/guestfish.pod:948
3265 msgid ""
3266 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3267 "which was found at compile time by the configure script is used."
3268 msgstr ""
3269
3270 # type: textblock
3271 #: ../src/guestfs.pod:1651
3272 msgid "See also L</QEMU WRAPPERS> above."
3273 msgstr ""
3274
3275 # type: =item
3276 #: ../src/guestfs.pod:1653 ../fish/guestfish.pod:952
3277 msgid "LIBGUESTFS_TRACE"
3278 msgstr ""
3279
3280 # type: textblock
3281 #: ../src/guestfs.pod:1655
3282 msgid ""
3283 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3284 "effect as calling C<guestfs_set_trace (g, 1)>."
3285 msgstr ""
3286
3287 # type: =item
3288 #: ../src/guestfs.pod:1658 ../fish/guestfish.pod:961
3289 msgid "TMPDIR"
3290 msgstr ""
3291
3292 # type: textblock
3293 #: ../src/guestfs.pod:1660 ../fish/guestfish.pod:963
3294 msgid "Location of temporary directory, defaults to C</tmp>."
3295 msgstr ""
3296
3297 # type: textblock
3298 #: ../src/guestfs.pod:1662 ../fish/guestfish.pod:965
3299 msgid ""
3300 "If libguestfs was compiled to use the supermin appliance then each handle "
3301 "will require rather a large amount of space in this directory for short "
3302 "periods of time (~ 80 MB).  You can use C<$TMPDIR> to configure another "
3303 "directory to use in case C</tmp> is not large enough."
3304 msgstr ""
3305
3306 # type: =head1
3307 #: ../src/guestfs.pod:1670 ../fish/guestfish.pod:1023
3308 #: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178
3309 #: ../inspector/virt-inspector.pl:846 ../tools/virt-cat.pl:163
3310 #: ../tools/virt-df.pl:482 ../tools/virt-edit.pl:325
3311 #: ../tools/virt-list-filesystems.pl:191 ../tools/virt-list-partitions.pl:229
3312 #: ../tools/virt-ls.pl:210 ../tools/virt-make-fs.pl:527
3313 #: ../tools/virt-rescue.pl:231 ../tools/virt-resize.pl:1390
3314 #: ../tools/virt-tar.pl:257 ../tools/virt-win-reg.pl:461
3315 msgid "SEE ALSO"
3316 msgstr ""
3317
3318 # type: textblock
3319 #: ../src/guestfs.pod:1672
3320 msgid ""
3321 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-edit"
3322 "(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-"
3323 "partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-"
3324 "tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, L<hivex(3)>, "
3325 "L<http://libguestfs.org/>."
3326 msgstr ""
3327
3328 # type: textblock
3329 #: ../src/guestfs.pod:1690
3330 msgid ""
3331 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
3332 "(8)>, L<disktype(1)>."
3333 msgstr ""
3334
3335 # type: =head1
3336 #: ../src/guestfs.pod:1697 ../tools/virt-make-fs.pl:541
3337 #: ../tools/virt-win-reg.pl:476
3338 msgid "BUGS"
3339 msgstr ""
3340
3341 # type: textblock
3342 #: ../src/guestfs.pod:1699
3343 msgid "To get a list of bugs against libguestfs use this link:"
3344 msgstr ""
3345
3346 # type: textblock
3347 #: ../src/guestfs.pod:1701
3348 msgid ""
3349 "L<https://bugzilla.redhat.com/buglist.cgi?"
3350 "component=libguestfs&product=Virtualization+Tools>"
3351 msgstr ""
3352
3353 # type: textblock
3354 #: ../src/guestfs.pod:1703
3355 msgid "To report a new bug against libguestfs use this link:"
3356 msgstr ""
3357
3358 # type: textblock
3359 #: ../src/guestfs.pod:1705
3360 msgid ""
3361 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
3362 "component=libguestfs&product=Virtualization+Tools>"
3363 msgstr ""
3364
3365 # type: textblock
3366 #: ../src/guestfs.pod:1707
3367 msgid "When reporting a bug, please check:"
3368 msgstr ""
3369
3370 # type: textblock
3371 #: ../src/guestfs.pod:1713
3372 msgid "That the bug hasn't been reported already."
3373 msgstr ""
3374
3375 # type: textblock
3376 #: ../src/guestfs.pod:1717
3377 msgid "That you are testing a recent version."
3378 msgstr ""
3379
3380 # type: textblock
3381 #: ../src/guestfs.pod:1721
3382 msgid "Describe the bug accurately, and give a way to reproduce it."
3383 msgstr ""
3384
3385 # type: textblock
3386 #: ../src/guestfs.pod:1725
3387 msgid ""
3388 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3389 "bug report."
3390 msgstr ""
3391
3392 # type: =head1
3393 #: ../src/guestfs.pod:1730 ../fish/guestfish.pod:1039
3394 #: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189
3395 #: ../inspector/virt-inspector.pl:855
3396 msgid "AUTHORS"
3397 msgstr ""
3398
3399 # type: textblock
3400 #: ../src/guestfs.pod:1732 ../fish/guestfish.pod:1041
3401 #: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191
3402 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3403 msgstr ""
3404
3405 # type: =head1
3406 #: ../src/guestfs.pod:1734 ../fish/guestfish.pod:1043
3407 #: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193
3408 #: ../inspector/virt-inspector.pl:861 ../tools/virt-cat.pl:177
3409 #: ../tools/virt-df.pl:495 ../tools/virt-edit.pl:341
3410 #: ../tools/virt-list-filesystems.pl:207 ../tools/virt-list-partitions.pl:244
3411 #: ../tools/virt-ls.pl:225 ../tools/virt-make-fs.pl:556
3412 #: ../tools/virt-rescue.pl:245 ../tools/virt-resize.pl:1411
3413 #: ../tools/virt-tar.pl:272 ../tools/virt-win-reg.pl:491
3414 msgid "COPYRIGHT"
3415 msgstr ""
3416
3417 # type: textblock
3418 #: ../src/guestfs.pod:1736 ../fish/guestfish.pod:1045
3419 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3420 msgstr ""
3421
3422 # type: textblock
3423 #: ../src/guestfs.pod:1739
3424 msgid ""
3425 "This library is free software; you can redistribute it and/or modify it "
3426 "under the terms of the GNU Lesser General Public License as published by the "
3427 "Free Software Foundation; either version 2 of the License, or (at your "
3428 "option) any later version."
3429 msgstr ""
3430
3431 # type: textblock
3432 #: ../src/guestfs.pod:1744
3433 msgid ""
3434 "This library is distributed in the hope that it will be useful, but WITHOUT "
3435 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3436 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3437 "for more details."
3438 msgstr ""
3439
3440 # type: textblock
3441 #: ../src/guestfs.pod:1749
3442 msgid ""
3443 "You should have received a copy of the GNU Lesser General Public License "
3444 "along with this library; if not, write to the Free Software Foundation, "
3445 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3446 msgstr ""
3447
3448 # type: =head2
3449 #: ../src/guestfs-actions.pod:1
3450 msgid "guestfs_add_cdrom"
3451 msgstr ""
3452
3453 # type: verbatim
3454 #: ../src/guestfs-actions.pod:3
3455 #, no-wrap
3456 msgid ""
3457 " int guestfs_add_cdrom (guestfs_h *g,\n"
3458 "\t\tconst char *filename);\n"
3459 "\n"
3460 msgstr ""
3461
3462 # type: textblock
3463 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5
3464 msgid "This function adds a virtual CD-ROM disk image to the guest."
3465 msgstr ""
3466
3467 # type: textblock
3468 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7
3469 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3470 msgstr ""
3471
3472 # type: textblock
3473 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1488
3474 #: ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1186
3475 msgid "Notes:"
3476 msgstr ""
3477
3478 # type: textblock
3479 #: ../src/guestfs-actions.pod:16
3480 msgid ""
3481 "This call checks for the existence of C<filename>.  This stops you from "
3482 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3483 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3484 "instead."
3485 msgstr ""
3486
3487 # type: textblock
3488 #: ../src/guestfs-actions.pod:23
3489 msgid ""
3490 "If you just want to add an ISO file (often you use this as an efficient way "
3491 "to transfer large files into the guest), then you should probably use "
3492 "C<guestfs_add_drive_ro> instead."
3493 msgstr ""
3494
3495 # type: textblock
3496 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:63
3497 #: ../src/guestfs-actions.pod:92 ../src/guestfs-actions.pod:103
3498 #: ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:124
3499 #: ../src/guestfs-actions.pod:135 ../src/guestfs-actions.pod:238
3500 #: ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:266
3501 #: ../src/guestfs-actions.pod:302 ../src/guestfs-actions.pod:324
3502 #: ../src/guestfs-actions.pod:339 ../src/guestfs-actions.pod:403
3503 #: ../src/guestfs-actions.pod:430 ../src/guestfs-actions.pod:441
3504 #: ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:534
3505 #: ../src/guestfs-actions.pod:549 ../src/guestfs-actions.pod:560
3506 #: ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:717
3507 #: ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:749
3508 #: ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:839
3509 #: ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:866
3510 #: ../src/guestfs-actions.pod:883 ../src/guestfs-actions.pod:916
3511 #: ../src/guestfs-actions.pod:974 ../src/guestfs-actions.pod:996
3512 #: ../src/guestfs-actions.pod:1027 ../src/guestfs-actions.pod:1115
3513 #: ../src/guestfs-actions.pod:1146 ../src/guestfs-actions.pod:1346
3514 #: ../src/guestfs-actions.pod:1365 ../src/guestfs-actions.pod:1446
3515 #: ../src/guestfs-actions.pod:1794 ../src/guestfs-actions.pod:1917
3516 #: ../src/guestfs-actions.pod:1972 ../src/guestfs-actions.pod:2002
3517 #: ../src/guestfs-actions.pod:2349 ../src/guestfs-actions.pod:2361
3518 #: ../src/guestfs-actions.pod:2378 ../src/guestfs-actions.pod:2443
3519 #: ../src/guestfs-actions.pod:2454 ../src/guestfs-actions.pod:2464
3520 #: ../src/guestfs-actions.pod:2475 ../src/guestfs-actions.pod:2487
3521 #: ../src/guestfs-actions.pod:2517 ../src/guestfs-actions.pod:2581
3522 #: ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2612
3523 #: ../src/guestfs-actions.pod:2632 ../src/guestfs-actions.pod:2652
3524 #: ../src/guestfs-actions.pod:2681 ../src/guestfs-actions.pod:2697
3525 #: ../src/guestfs-actions.pod:2713 ../src/guestfs-actions.pod:2725
3526 #: ../src/guestfs-actions.pod:2734 ../src/guestfs-actions.pod:2767
3527 #: ../src/guestfs-actions.pod:2780 ../src/guestfs-actions.pod:2790
3528 #: ../src/guestfs-actions.pod:2802 ../src/guestfs-actions.pod:2816
3529 #: ../src/guestfs-actions.pod:2896 ../src/guestfs-actions.pod:2913
3530 #: ../src/guestfs-actions.pod:2923 ../src/guestfs-actions.pod:2968
3531 #: ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:2998
3532 #: ../src/guestfs-actions.pod:3011 ../src/guestfs-actions.pod:3022
3533 #: ../src/guestfs-actions.pod:3033 ../src/guestfs-actions.pod:3047
3534 #: ../src/guestfs-actions.pod:3059 ../src/guestfs-actions.pod:3076
3535 #: ../src/guestfs-actions.pod:3107 ../src/guestfs-actions.pod:3135
3536 #: ../src/guestfs-actions.pod:3151 ../src/guestfs-actions.pod:3167
3537 #: ../src/guestfs-actions.pod:3176 ../src/guestfs-actions.pod:3190
3538 #: ../src/guestfs-actions.pod:3200 ../src/guestfs-actions.pod:3212
3539 #: ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3256
3540 #: ../src/guestfs-actions.pod:3268 ../src/guestfs-actions.pod:3285
3541 #: ../src/guestfs-actions.pod:3296 ../src/guestfs-actions.pod:3310
3542 #: ../src/guestfs-actions.pod:3350 ../src/guestfs-actions.pod:3381
3543 #: ../src/guestfs-actions.pod:3392 ../src/guestfs-actions.pod:3417
3544 #: ../src/guestfs-actions.pod:3431 ../src/guestfs-actions.pod:3446
3545 #: ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:3620
3546 #: ../src/guestfs-actions.pod:3639 ../src/guestfs-actions.pod:3654
3547 #: ../src/guestfs-actions.pod:3665 ../src/guestfs-actions.pod:3699
3548 #: ../src/guestfs-actions.pod:3713 ../src/guestfs-actions.pod:3723
3549 #: ../src/guestfs-actions.pod:3734 ../src/guestfs-actions.pod:3966
3550 #: ../src/guestfs-actions.pod:3982 ../src/guestfs-actions.pod:3993
3551 #: ../src/guestfs-actions.pod:4002 ../src/guestfs-actions.pod:4013
3552 #: ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:4033
3553 #: ../src/guestfs-actions.pod:4046 ../src/guestfs-actions.pod:4064
3554 #: ../src/guestfs-actions.pod:4080 ../src/guestfs-actions.pod:4096
3555 #: ../src/guestfs-actions.pod:4111 ../src/guestfs-actions.pod:4131
3556 #: ../src/guestfs-actions.pod:4146 ../src/guestfs-actions.pod:4162
3557 #: ../src/guestfs-actions.pod:4180 ../src/guestfs-actions.pod:4196
3558 #: ../src/guestfs-actions.pod:4210 ../src/guestfs-actions.pod:4235
3559 #: ../src/guestfs-actions.pod:4256 ../src/guestfs-actions.pod:4272
3560 #: ../src/guestfs-actions.pod:4293 ../src/guestfs-actions.pod:4305
3561 #: ../src/guestfs-actions.pod:4317 ../src/guestfs-actions.pod:4333
3562 #: ../src/guestfs-actions.pod:4367 ../src/guestfs-actions.pod:4387
3563 #: ../src/guestfs-actions.pod:4410 ../src/guestfs-actions.pod:4500
3564 #: ../src/guestfs-actions.pod:4606 ../src/guestfs-actions.pod:4615
3565 #: ../src/guestfs-actions.pod:4625 ../src/guestfs-actions.pod:4635
3566 #: ../src/guestfs-actions.pod:4654 ../src/guestfs-actions.pod:4664
3567 #: ../src/guestfs-actions.pod:4674 ../src/guestfs-actions.pod:4684
3568 #: ../src/guestfs-actions.pod:4696 ../src/guestfs-actions.pod:4746
3569 #: ../src/guestfs-actions.pod:4760 ../src/guestfs-actions.pod:4773
3570 #: ../src/guestfs-actions.pod:4786 ../src/guestfs-actions.pod:4800
3571 #: ../src/guestfs-actions.pod:4810 ../src/guestfs-actions.pod:4827
3572 #: ../src/guestfs-actions.pod:4857 ../src/guestfs-actions.pod:4868
3573 #: ../src/guestfs-actions.pod:4903 ../src/guestfs-actions.pod:4913
3574 #: ../src/guestfs-actions.pod:4928 ../src/guestfs-actions.pod:4956
3575 #: ../src/guestfs-actions.pod:5060 ../src/guestfs-actions.pod:5075
3576 #: ../src/guestfs-actions.pod:5086 ../src/guestfs-actions.pod:5132
3577 #: ../src/guestfs-actions.pod:5142 ../src/guestfs-actions.pod:5179
3578 #: ../src/guestfs-actions.pod:5206 ../src/guestfs-actions.pod:5248
3579 #: ../src/guestfs-actions.pod:5271 ../src/guestfs-actions.pod:5328
3580 #: ../src/guestfs-actions.pod:5344 ../src/guestfs-actions.pod:5370
3581 msgid "This function returns 0 on success or -1 on error."
3582 msgstr ""
3583
3584 # type: =head2
3585 #: ../src/guestfs-actions.pod:31
3586 msgid "guestfs_add_drive"
3587 msgstr ""
3588
3589 # type: verbatim
3590 #: ../src/guestfs-actions.pod:33
3591 #, no-wrap
3592 msgid ""
3593 " int guestfs_add_drive (guestfs_h *g,\n"
3594 "\t\tconst char *filename);\n"
3595 "\n"
3596 msgstr ""
3597
3598 # type: textblock
3599 #: ../src/guestfs-actions.pod:36 ../fish/guestfish-actions.pod:32
3600 msgid ""
3601 "This function adds a virtual machine disk image C<filename> to the guest.  "
3602 "The first time you call this function, the disk appears as IDE disk 0 (C</"
3603 "dev/sda>) in the guest, the second time as C</dev/sdb>, and so on."
3604 msgstr ""
3605
3606 # type: textblock
3607 #: ../src/guestfs-actions.pod:41 ../fish/guestfish-actions.pod:37
3608 msgid ""
3609 "You don't necessarily need to be root when using libguestfs.  However you "
3610 "obviously do need sufficient permissions to access the filename for whatever "
3611 "operations you want to perform (ie. read access if you just want to read the "
3612 "image or write access if you want to modify the image)."
3613 msgstr ""
3614
3615 # type: textblock
3616 #: ../src/guestfs-actions.pod:47 ../fish/guestfish-actions.pod:43
3617 msgid ""
3618 "This is equivalent to the qemu parameter C<-drive file=filename,cache=off,"
3619 "if=...>."
3620 msgstr ""
3621
3622 # type: textblock
3623 #: ../src/guestfs-actions.pod:50 ../fish/guestfish-actions.pod:46
3624 msgid ""
3625 "C<cache=off> is omitted in cases where it is not supported by the underlying "
3626 "filesystem."
3627 msgstr ""
3628
3629 # type: textblock
3630 #: ../src/guestfs-actions.pod:53 ../src/guestfs-actions.pod:82
3631 msgid ""
3632 "C<if=...> is set at compile time by the configuration option C<./configure --"
3633 "with-drive-if=...>.  In the rare case where you might need to change this at "
3634 "run time, use C<guestfs_add_drive_with_if> or "
3635 "C<guestfs_add_drive_ro_with_if>."
3636 msgstr ""
3637
3638 # type: textblock
3639 #: ../src/guestfs-actions.pod:58 ../src/guestfs-actions.pod:87
3640 msgid ""
3641 "Note that this call checks for the existence of C<filename>.  This stops you "
3642 "from specifying other types of drive which are supported by qemu such as "
3643 "C<nbd:> and C<http:> URLs.  To specify those, use the general "
3644 "C<guestfs_config> call instead."
3645 msgstr ""
3646
3647 # type: =head2
3648 #: ../src/guestfs-actions.pod:65
3649 msgid "guestfs_add_drive_ro"
3650 msgstr ""
3651
3652 # type: verbatim
3653 #: ../src/guestfs-actions.pod:67
3654 #, no-wrap
3655 msgid ""
3656 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3657 "\t\tconst char *filename);\n"
3658 "\n"
3659 msgstr ""
3660
3661 # type: textblock
3662 #: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:63
3663 msgid "This adds a drive in snapshot mode, making it effectively read-only."
3664 msgstr ""
3665
3666 # type: textblock
3667 #: ../src/guestfs-actions.pod:73 ../fish/guestfish-actions.pod:66
3668 msgid ""
3669 "Note that writes to the device are allowed, and will be seen for the "
3670 "duration of the guestfs handle, but they are written to a temporary file "
3671 "which is discarded as soon as the guestfs handle is closed.  We don't "
3672 "currently have any method to enable changes to be committed, although qemu "
3673 "can support this."
3674 msgstr ""
3675
3676 # type: textblock
3677 #: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:72
3678 msgid ""
3679 "This is equivalent to the qemu parameter C<-drive file=filename,snapshot=on,"
3680 "if=...>."
3681 msgstr ""
3682
3683 # type: =head2
3684 #: ../src/guestfs-actions.pod:94
3685 msgid "guestfs_add_drive_ro_with_if"
3686 msgstr ""
3687
3688 # type: verbatim
3689 #: ../src/guestfs-actions.pod:96
3690 #, no-wrap
3691 msgid ""
3692 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
3693 "\t\tconst char *filename,\n"
3694 "\t\tconst char *iface);\n"
3695 "\n"
3696 msgstr ""
3697
3698 # type: textblock
3699 #: ../src/guestfs-actions.pod:100
3700 msgid ""
3701 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
3702 "QEMU interface emulation to use at run time."
3703 msgstr ""
3704
3705 # type: =head2
3706 #: ../src/guestfs-actions.pod:105
3707 msgid "guestfs_add_drive_with_if"
3708 msgstr ""
3709
3710 # type: verbatim
3711 #: ../src/guestfs-actions.pod:107
3712 #, no-wrap
3713 msgid ""
3714 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
3715 "\t\tconst char *filename,\n"
3716 "\t\tconst char *iface);\n"
3717 "\n"
3718 msgstr ""
3719
3720 # type: textblock
3721 #: ../src/guestfs-actions.pod:111
3722 msgid ""
3723 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
3724 "QEMU interface emulation to use at run time."
3725 msgstr ""
3726
3727 # type: =head2
3728 #: ../src/guestfs-actions.pod:116
3729 msgid "guestfs_aug_clear"
3730 msgstr ""
3731
3732 # type: verbatim
3733 #: ../src/guestfs-actions.pod:118
3734 #, no-wrap
3735 msgid ""
3736 " int guestfs_aug_clear (guestfs_h *g,\n"
3737 "\t\tconst char *augpath);\n"
3738 "\n"
3739 msgstr ""
3740
3741 # type: textblock
3742 #: ../src/guestfs-actions.pod:121 ../fish/guestfish-actions.pod:103
3743 msgid ""
3744 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
3745 "L<augtool(1)> C<clear> command."
3746 msgstr ""
3747
3748 # type: =head2
3749 #: ../src/guestfs-actions.pod:126
3750 msgid "guestfs_aug_close"
3751 msgstr ""
3752
3753 # type: verbatim
3754 #: ../src/guestfs-actions.pod:128
3755 #, no-wrap
3756 msgid ""
3757 " int guestfs_aug_close (guestfs_h *g);\n"
3758 "\n"
3759 msgstr ""
3760
3761 # type: textblock
3762 #: ../src/guestfs-actions.pod:130
3763 msgid ""
3764 "Close the current Augeas handle and free up any resources used by it.  After "
3765 "calling this, you have to call C<guestfs_aug_init> again before you can use "
3766 "any other Augeas functions."
3767 msgstr ""
3768
3769 # type: =head2
3770 #: ../src/guestfs-actions.pod:137
3771 msgid "guestfs_aug_defnode"
3772 msgstr ""
3773
3774 # type: verbatim
3775 #: ../src/guestfs-actions.pod:139
3776 #, no-wrap
3777 msgid ""
3778 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
3779 "\t\tconst char *name,\n"
3780 "\t\tconst char *expr,\n"
3781 "\t\tconst char *val);\n"
3782 "\n"
3783 msgstr ""
3784
3785 # type: textblock
3786 #: ../src/guestfs-actions.pod:144 ../fish/guestfish-actions.pod:119
3787 msgid ""
3788 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
3789 msgstr ""
3790
3791 # type: textblock
3792 #: ../src/guestfs-actions.pod:147
3793 msgid ""
3794 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
3795 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
3796 "containing that single node."
3797 msgstr ""
3798
3799 # type: textblock
3800 #: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:126
3801 msgid ""
3802 "On success this returns a pair containing the number of nodes in the "
3803 "nodeset, and a boolean flag if a node was created."
3804 msgstr ""
3805
3806 # type: textblock
3807 #: ../src/guestfs-actions.pod:155
3808 msgid ""
3809 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
3810 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
3811 msgstr ""
3812
3813 # type: =head2
3814 #: ../src/guestfs-actions.pod:159
3815 msgid "guestfs_aug_defvar"
3816 msgstr ""
3817
3818 # type: verbatim
3819 #: ../src/guestfs-actions.pod:161
3820 #, no-wrap
3821 msgid ""
3822 " int guestfs_aug_defvar (guestfs_h *g,\n"
3823 "\t\tconst char *name,\n"
3824 "\t\tconst char *expr);\n"
3825 "\n"
3826 msgstr ""
3827
3828 # type: textblock
3829 #: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:134
3830 msgid ""
3831 "Defines an Augeas variable C<name> whose value is the result of evaluating "
3832 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
3833 msgstr ""
3834
3835 # type: textblock
3836 #: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:138
3837 msgid ""
3838 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
3839 "evaluates to something which is not a nodeset."
3840 msgstr ""
3841
3842 # type: textblock
3843 #: ../src/guestfs-actions.pod:172 ../src/guestfs-actions.pod:313
3844 #: ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:492
3845 #: ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:523
3846 #: ../src/guestfs-actions.pod:1013 ../src/guestfs-actions.pod:1328
3847 #: ../src/guestfs-actions.pod:1510 ../src/guestfs-actions.pod:1591
3848 #: ../src/guestfs-actions.pod:1622 ../src/guestfs-actions.pod:1665
3849 #: ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1907
3850 #: ../src/guestfs-actions.pod:2119 ../src/guestfs-actions.pod:2137
3851 #: ../src/guestfs-actions.pod:3370 ../src/guestfs-actions.pod:3477
3852 #: ../src/guestfs-actions.pod:3793 ../src/guestfs-actions.pod:4892
3853 #: ../src/guestfs-actions.pod:5216 ../src/guestfs-actions.pod:5226
3854 #: ../src/guestfs-actions.pod:5236
3855 msgid "On error this function returns -1."
3856 msgstr ""
3857
3858 # type: =head2
3859 #: ../src/guestfs-actions.pod:174
3860 msgid "guestfs_aug_get"
3861 msgstr ""
3862
3863 # type: verbatim
3864 #: ../src/guestfs-actions.pod:176
3865 #, no-wrap
3866 msgid ""
3867 " char *guestfs_aug_get (guestfs_h *g,\n"
3868 "\t\tconst char *augpath);\n"
3869 "\n"
3870 msgstr ""
3871
3872 # type: textblock
3873 #: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:145
3874 msgid ""
3875 "Look up the value associated with C<path>.  If C<path> matches exactly one "
3876 "node, the C<value> is returned."
3877 msgstr ""
3878
3879 # type: textblock
3880 #: ../src/guestfs-actions.pod:182 ../src/guestfs-actions.pod:610
3881 #: ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:682
3882 #: ../src/guestfs-actions.pod:695 ../src/guestfs-actions.pod:786
3883 #: ../src/guestfs-actions.pod:899 ../src/guestfs-actions.pod:928
3884 #: ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:958
3885 #: ../src/guestfs-actions.pod:1041 ../src/guestfs-actions.pod:1205
3886 #: ../src/guestfs-actions.pod:1314 ../src/guestfs-actions.pod:1459
3887 #: ../src/guestfs-actions.pod:1473 ../src/guestfs-actions.pod:1549
3888 #: ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1701
3889 #: ../src/guestfs-actions.pod:1840 ../src/guestfs-actions.pod:2021
3890 #: ../src/guestfs-actions.pod:2071 ../src/guestfs-actions.pod:2187
3891 #: ../src/guestfs-actions.pod:2222 ../src/guestfs-actions.pod:2432
3892 #: ../src/guestfs-actions.pod:2853 ../src/guestfs-actions.pod:2949
3893 #: ../src/guestfs-actions.pod:3492 ../src/guestfs-actions.pod:3771
3894 #: ../src/guestfs-actions.pod:3909 ../src/guestfs-actions.pod:3952
3895 #: ../src/guestfs-actions.pod:4428 ../src/guestfs-actions.pod:4441
3896 #: ../src/guestfs-actions.pod:4455 ../src/guestfs-actions.pod:4476
3897 #: ../src/guestfs-actions.pod:5009 ../src/guestfs-actions.pod:5025
3898 #: ../src/guestfs-actions.pod:5040 ../src/guestfs-actions.pod:5188
3899 #: ../src/guestfs-actions.pod:5418
3900 msgid ""
3901 "This function returns a string, or NULL on error.  I<The caller must free "
3902 "the returned string after use>."
3903 msgstr ""
3904
3905 # type: =head2
3906 #: ../src/guestfs-actions.pod:185
3907 msgid "guestfs_aug_init"
3908 msgstr ""
3909
3910 # type: verbatim
3911 #: ../src/guestfs-actions.pod:187
3912 #, no-wrap
3913 msgid ""
3914 " int guestfs_aug_init (guestfs_h *g,\n"
3915 "\t\tconst char *root,\n"
3916 "\t\tint flags);\n"
3917 "\n"
3918 msgstr ""
3919
3920 # type: textblock
3921 #: ../src/guestfs-actions.pod:191 ../fish/guestfish-actions.pod:152
3922 msgid ""
3923 "Create a new Augeas handle for editing configuration files.  If there was "
3924 "any previous Augeas handle associated with this guestfs session, then it is "
3925 "closed."
3926 msgstr ""
3927
3928 # type: textblock
3929 #: ../src/guestfs-actions.pod:195
3930 msgid "You must call this before using any other C<guestfs_aug_*> commands."
3931 msgstr ""
3932
3933 # type: textblock
3934 #: ../src/guestfs-actions.pod:198 ../fish/guestfish-actions.pod:159
3935 msgid ""
3936 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
3937 msgstr ""
3938
3939 # type: textblock
3940 #: ../src/guestfs-actions.pod:201 ../fish/guestfish-actions.pod:162
3941 msgid ""
3942 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
3943 "logical I<or> of the following integers:"
3944 msgstr ""
3945
3946 # type: =item
3947 #: ../src/guestfs-actions.pod:207 ../fish/guestfish-actions.pod:168
3948 msgid "C<AUG_SAVE_BACKUP> = 1"
3949 msgstr ""
3950
3951 # type: textblock
3952 #: ../src/guestfs-actions.pod:209 ../fish/guestfish-actions.pod:170
3953 msgid "Keep the original file with a C<.augsave> extension."
3954 msgstr ""
3955
3956 # type: =item
3957 #: ../src/guestfs-actions.pod:211 ../fish/guestfish-actions.pod:172
3958 msgid "C<AUG_SAVE_NEWFILE> = 2"
3959 msgstr ""
3960
3961 # type: textblock
3962 #: ../src/guestfs-actions.pod:213 ../fish/guestfish-actions.pod:174
3963 msgid ""
3964 "Save changes into a file with extension C<.augnew>, and do not overwrite "
3965 "original.  Overrides C<AUG_SAVE_BACKUP>."
3966 msgstr ""
3967
3968 # type: =item
3969 #: ../src/guestfs-actions.pod:216 ../fish/guestfish-actions.pod:177
3970 msgid "C<AUG_TYPE_CHECK> = 4"
3971 msgstr ""
3972
3973 # type: textblock
3974 #: ../src/guestfs-actions.pod:218 ../fish/guestfish-actions.pod:179
3975 msgid "Typecheck lenses (can be expensive)."
3976 msgstr ""
3977
3978 # type: =item
3979 #: ../src/guestfs-actions.pod:220 ../fish/guestfish-actions.pod:181
3980 msgid "C<AUG_NO_STDINC> = 8"
3981 msgstr ""
3982
3983 # type: textblock
3984 #: ../src/guestfs-actions.pod:222 ../fish/guestfish-actions.pod:183
3985 msgid "Do not use standard load path for modules."
3986 msgstr ""
3987
3988 # type: =item
3989 #: ../src/guestfs-actions.pod:224 ../fish/guestfish-actions.pod:185
3990 msgid "C<AUG_SAVE_NOOP> = 16"
3991 msgstr ""
3992
3993 # type: textblock
3994 #: ../src/guestfs-actions.pod:226 ../fish/guestfish-actions.pod:187
3995 msgid "Make save a no-op, just record what would have been changed."
3996 msgstr ""
3997
3998 # type: =item
3999 #: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:189
4000 msgid "C<AUG_NO_LOAD> = 32"
4001 msgstr ""
4002
4003 # type: textblock
4004 #: ../src/guestfs-actions.pod:230
4005 msgid "Do not load the tree in C<guestfs_aug_init>."
4006 msgstr ""
4007
4008 # type: textblock
4009 #: ../src/guestfs-actions.pod:234
4010 msgid "To close the handle, you can call C<guestfs_aug_close>."
4011 msgstr ""
4012
4013 # type: textblock
4014 #: ../src/guestfs-actions.pod:236 ../fish/guestfish-actions.pod:197
4015 msgid "To find out more about Augeas, see L<http://augeas.net/>."
4016 msgstr ""
4017
4018 # type: =head2
4019 #: ../src/guestfs-actions.pod:240
4020 msgid "guestfs_aug_insert"
4021 msgstr ""
4022
4023 # type: verbatim
4024 #: ../src/guestfs-actions.pod:242
4025 #, no-wrap
4026 msgid ""
4027 " int guestfs_aug_insert (guestfs_h *g,\n"
4028 "\t\tconst char *augpath,\n"
4029 "\t\tconst char *label,\n"
4030 "\t\tint before);\n"
4031 "\n"
4032 msgstr ""
4033
4034 # type: textblock
4035 #: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:203
4036 msgid ""
4037 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
4038 "or after C<path> (depending on the boolean flag C<before>)."
4039 msgstr ""
4040
4041 # type: textblock
4042 #: ../src/guestfs-actions.pod:251 ../fish/guestfish-actions.pod:207
4043 msgid ""
4044 "C<path> must match exactly one existing node in the tree, and C<label> must "
4045 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
4046 msgstr ""
4047
4048 # type: =head2
4049 #: ../src/guestfs-actions.pod:257
4050 msgid "guestfs_aug_load"
4051 msgstr ""
4052
4053 # type: verbatim
4054 #: ../src/guestfs-actions.pod:259
4055 #, no-wrap
4056 msgid ""
4057 " int guestfs_aug_load (guestfs_h *g);\n"
4058 "\n"
4059 msgstr ""
4060
4061 # type: textblock
4062 #: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:215
4063 msgid "Load files into the tree."
4064 msgstr ""
4065
4066 # type: textblock
4067 #: ../src/guestfs-actions.pod:263 ../fish/guestfish-actions.pod:217
4068 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
4069 msgstr ""
4070
4071 # type: =head2
4072 #: ../src/guestfs-actions.pod:268
4073 msgid "guestfs_aug_ls"
4074 msgstr ""
4075
4076 # type: verbatim
4077 #: ../src/guestfs-actions.pod:270
4078 #, no-wrap
4079 msgid ""
4080 " char **guestfs_aug_ls (guestfs_h *g,\n"
4081 "\t\tconst char *augpath);\n"
4082 "\n"
4083 msgstr ""
4084
4085 # type: textblock
4086 #: ../src/guestfs-actions.pod:273
4087 msgid ""
4088 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
4089 "sorting the resulting nodes into alphabetical order."
4090 msgstr ""
4091
4092 # type: textblock
4093 #: ../src/guestfs-actions.pod:276 ../src/guestfs-actions.pod:289
4094 #: ../src/guestfs-actions.pod:417 ../src/guestfs-actions.pod:802
4095 #: ../src/guestfs-actions.pod:1053 ../src/guestfs-actions.pod:1069
4096 #: ../src/guestfs-actions.pod:1157 ../src/guestfs-actions.pod:1173
4097 #: ../src/guestfs-actions.pod:1404 ../src/guestfs-actions.pod:1738
4098 #: ../src/guestfs-actions.pod:1751 ../src/guestfs-actions.pod:1767
4099 #: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1825
4100 #: ../src/guestfs-actions.pod:1887 ../src/guestfs-actions.pod:1927
4101 #: ../src/guestfs-actions.pod:2093 ../src/guestfs-actions.pod:2259
4102 #: ../src/guestfs-actions.pod:2402 ../src/guestfs-actions.pod:2417
4103 #: ../src/guestfs-actions.pod:2501 ../src/guestfs-actions.pod:2830
4104 #: ../src/guestfs-actions.pod:3337 ../src/guestfs-actions.pod:3748
4105 #: ../src/guestfs-actions.pod:3834 ../src/guestfs-actions.pod:3940
4106 #: ../src/guestfs-actions.pod:4489 ../src/guestfs-actions.pod:4538
4107 #: ../src/guestfs-actions.pod:4590 ../src/guestfs-actions.pod:4706
4108 #: ../src/guestfs-actions.pod:4727 ../src/guestfs-actions.pod:5101
4109 #: ../src/guestfs-actions.pod:5118 ../src/guestfs-actions.pod:5156
4110 #: ../src/guestfs-actions.pod:5292 ../src/guestfs-actions.pod:5308
4111 #: ../src/guestfs-actions.pod:5381 ../src/guestfs-actions.pod:5397
4112 #: ../src/guestfs-actions.pod:5437 ../src/guestfs-actions.pod:5453
4113 msgid ""
4114 "This function returns a NULL-terminated array of strings (like L<environ(3)"
4115 ">), or NULL if there was an error.  I<The caller must free the strings and "
4116 "the array after use>."
4117 msgstr ""
4118
4119 # type: =head2
4120 #: ../src/guestfs-actions.pod:280
4121 msgid "guestfs_aug_match"
4122 msgstr ""
4123
4124 # type: verbatim
4125 #: ../src/guestfs-actions.pod:282
4126 #, no-wrap
4127 msgid ""
4128 " char **guestfs_aug_match (guestfs_h *g,\n"
4129 "\t\tconst char *augpath);\n"
4130 "\n"
4131 msgstr ""
4132
4133 # type: textblock
4134 #: ../src/guestfs-actions.pod:285 ../fish/guestfish-actions.pod:231
4135 msgid ""
4136 "Returns a list of paths which match the path expression C<path>.  The "
4137 "returned paths are sufficiently qualified so that they match exactly one "
4138 "node in the current tree."
4139 msgstr ""
4140
4141 # type: =head2
4142 #: ../src/guestfs-actions.pod:293
4143 msgid "guestfs_aug_mv"
4144 msgstr ""
4145
4146 # type: verbatim
4147 #: ../src/guestfs-actions.pod:295
4148 #, no-wrap
4149 msgid ""
4150 " int guestfs_aug_mv (guestfs_h *g,\n"
4151 "\t\tconst char *src,\n"
4152 "\t\tconst char *dest);\n"
4153 "\n"
4154 msgstr ""
4155
4156 # type: textblock
4157 #: ../src/guestfs-actions.pod:299 ../fish/guestfish-actions.pod:239
4158 msgid ""
4159 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
4160 "C<dest> is overwritten if it exists."
4161 msgstr ""
4162
4163 # type: =head2
4164 #: ../src/guestfs-actions.pod:304
4165 msgid "guestfs_aug_rm"
4166 msgstr ""
4167
4168 # type: verbatim
4169 #: ../src/guestfs-actions.pod:306
4170 #, no-wrap
4171 msgid ""
4172 " int guestfs_aug_rm (guestfs_h *g,\n"
4173 "\t\tconst char *augpath);\n"
4174 "\n"
4175 msgstr ""
4176
4177 # type: textblock
4178 #: ../src/guestfs-actions.pod:309 ../fish/guestfish-actions.pod:246
4179 msgid "Remove C<path> and all of its children."
4180 msgstr ""
4181
4182 # type: textblock
4183 #: ../src/guestfs-actions.pod:311 ../fish/guestfish-actions.pod:248
4184 msgid "On success this returns the number of entries which were removed."
4185 msgstr ""
4186
4187 # type: =head2
4188 #: ../src/guestfs-actions.pod:315
4189 msgid "guestfs_aug_save"
4190 msgstr ""
4191
4192 # type: verbatim
4193 #: ../src/guestfs-actions.pod:317
4194 #, no-wrap
4195 msgid ""
4196 " int guestfs_aug_save (guestfs_h *g);\n"
4197 "\n"
4198 msgstr ""
4199
4200 # type: textblock
4201 #: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:254
4202 msgid "This writes all pending changes to disk."
4203 msgstr ""
4204
4205 # type: textblock
4206 #: ../src/guestfs-actions.pod:321
4207 msgid ""
4208 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4209 "are saved."
4210 msgstr ""
4211
4212 # type: =head2
4213 #: ../src/guestfs-actions.pod:326
4214 msgid "guestfs_aug_set"
4215 msgstr ""
4216
4217 # type: verbatim
4218 #: ../src/guestfs-actions.pod:328
4219 #, no-wrap
4220 msgid ""
4221 " int guestfs_aug_set (guestfs_h *g,\n"
4222 "\t\tconst char *augpath,\n"
4223 "\t\tconst char *val);\n"
4224 "\n"
4225 msgstr ""
4226
4227 # type: textblock
4228 #: ../src/guestfs-actions.pod:332 ../fish/guestfish-actions.pod:263
4229 msgid "Set the value associated with C<path> to C<val>."
4230 msgstr ""
4231
4232 # type: textblock
4233 #: ../src/guestfs-actions.pod:334
4234 msgid ""
4235 "In the Augeas API, it is possible to clear a node by setting the value to "
4236 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4237 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4238 msgstr ""
4239
4240 # type: =head2
4241 #: ../src/guestfs-actions.pod:341
4242 msgid "guestfs_available"
4243 msgstr ""
4244
4245 # type: verbatim
4246 #: ../src/guestfs-actions.pod:343
4247 #, no-wrap
4248 msgid ""
4249 " int guestfs_available (guestfs_h *g,\n"
4250 "\t\tchar *const *groups);\n"
4251 "\n"
4252 msgstr ""
4253
4254 # type: textblock
4255 #: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:274
4256 msgid ""
4257 "This command is used to check the availability of some groups of "
4258 "functionality in the appliance, which not all builds of the libguestfs "
4259 "appliance will be able to provide."
4260 msgstr ""
4261
4262 # type: textblock
4263 #: ../src/guestfs-actions.pod:350
4264 msgid ""
4265 "The libguestfs groups, and the functions that those groups correspond to, "
4266 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4267 "runtime by calling C<guestfs_available_all_groups>."
4268 msgstr ""
4269
4270 # type: textblock
4271 #: ../src/guestfs-actions.pod:355 ../fish/guestfish-actions.pod:283
4272 msgid ""
4273 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
4274 "\"]> would check for the availability of the Linux inotify functions and "
4275 "Augeas (configuration file editing) functions."
4276 msgstr ""
4277
4278 # type: textblock
4279 #: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:288
4280 msgid "The command returns no error if I<all> requested groups are available."
4281 msgstr ""
4282
4283 # type: textblock
4284 #: ../src/guestfs-actions.pod:362 ../fish/guestfish-actions.pod:290
4285 msgid ""
4286 "It fails with an error if one or more of the requested groups is unavailable "
4287 "in the appliance."
4288 msgstr ""
4289
4290 # type: textblock
4291 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:293
4292 msgid ""
4293 "If an unknown group name is included in the list of groups then an error is "
4294 "always returned."
4295 msgstr ""
4296
4297 # type: textblock
4298 #: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:296
4299 msgid "I<Notes:>"
4300 msgstr ""
4301
4302 # type: textblock
4303 #: ../src/guestfs-actions.pod:374
4304 msgid "You must call C<guestfs_launch> before calling this function."
4305 msgstr ""
4306
4307 # type: textblock
4308 #: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:304
4309 msgid ""
4310 "The reason is because we don't know what groups are supported by the "
4311 "appliance/daemon until it is running and can be queried."
4312 msgstr ""
4313
4314 # type: textblock
4315 #: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:310
4316 msgid ""
4317 "If a group of functions is available, this does not necessarily mean that "
4318 "they will work.  You still have to check for errors when calling individual "
4319 "API functions even if they are available."
4320 msgstr ""
4321
4322 # type: textblock
4323 #: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:317
4324 msgid ""
4325 "It is usually the job of distro packagers to build complete functionality "
4326 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4327 "with all requirements satisfied, will support everything."
4328 msgstr ""
4329
4330 # type: textblock
4331 #: ../src/guestfs-actions.pod:396
4332 msgid ""
4333 "This call was added in version C<1.0.80>.  In previous versions of "
4334 "libguestfs all you could do would be to speculatively execute a command to "
4335 "find out if the daemon implemented it.  See also C<guestfs_version>."
4336 msgstr ""
4337
4338 # type: =head2
4339 #: ../src/guestfs-actions.pod:405
4340 msgid "guestfs_available_all_groups"
4341 msgstr ""
4342
4343 # type: verbatim
4344 #: ../src/guestfs-actions.pod:407
4345 #, no-wrap
4346 msgid ""
4347 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4348 "\n"
4349 msgstr ""
4350
4351 # type: textblock
4352 #: ../src/guestfs-actions.pod:409
4353 msgid ""
4354 "This command returns a list of all optional groups that this daemon knows "
4355 "about.  Note this returns both supported and unsupported groups.  To find "
4356 "out which ones the daemon can actually support you have to call "
4357 "C<guestfs_available> on each member of the returned list."
4358 msgstr ""
4359
4360 # type: textblock
4361 #: ../src/guestfs-actions.pod:415
4362 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4363 msgstr ""
4364
4365 # type: =head2
4366 #: ../src/guestfs-actions.pod:421
4367 msgid "guestfs_base64_in"
4368 msgstr ""
4369
4370 # type: verbatim
4371 #: ../src/guestfs-actions.pod:423
4372 #, no-wrap
4373 msgid ""
4374 " int guestfs_base64_in (guestfs_h *g,\n"
4375 "\t\tconst char *base64file,\n"
4376 "\t\tconst char *filename);\n"
4377 "\n"
4378 msgstr ""
4379
4380 # type: textblock
4381 #: ../src/guestfs-actions.pod:427 ../fish/guestfish-actions.pod:347
4382 msgid ""
4383 "This command uploads base64-encoded data from C<base64file> to C<filename>."
4384 msgstr ""
4385
4386 # type: =head2
4387 #: ../src/guestfs-actions.pod:432
4388 msgid "guestfs_base64_out"
4389 msgstr ""
4390
4391 # type: verbatim
4392 #: ../src/guestfs-actions.pod:434
4393 #, no-wrap
4394 msgid ""
4395 " int guestfs_base64_out (guestfs_h *g,\n"
4396 "\t\tconst char *filename,\n"
4397 "\t\tconst char *base64file);\n"
4398 "\n"
4399 msgstr ""
4400
4401 # type: textblock
4402 #: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:356
4403 msgid ""
4404 "This command downloads the contents of C<filename>, writing it out to local "
4405 "file C<base64file> encoded as base64."
4406 msgstr ""
4407
4408 # type: =head2
4409 #: ../src/guestfs-actions.pod:443
4410 msgid "guestfs_blockdev_flushbufs"
4411 msgstr ""
4412
4413 # type: verbatim
4414 #: ../src/guestfs-actions.pod:445
4415 #, no-wrap
4416 msgid ""
4417 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4418 "\t\tconst char *device);\n"
4419 "\n"
4420 msgstr ""
4421
4422 # type: textblock
4423 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:365
4424 msgid ""
4425 "This tells the kernel to flush internal buffers associated with C<device>."
4426 msgstr ""
4427
4428 # type: textblock
4429 #: ../src/guestfs-actions.pod:451 ../src/guestfs-actions.pod:465
4430 #: ../src/guestfs-actions.pod:477 ../src/guestfs-actions.pod:490
4431 #: ../src/guestfs-actions.pod:505 ../src/guestfs-actions.pod:521
4432 #: ../src/guestfs-actions.pod:532 ../src/guestfs-actions.pod:547
4433 #: ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:569
4434 #: ../fish/guestfish-actions.pod:368 ../fish/guestfish-actions.pod:379
4435 #: ../fish/guestfish-actions.pod:388 ../fish/guestfish-actions.pod:398
4436 #: ../fish/guestfish-actions.pod:410 ../fish/guestfish-actions.pod:423
4437 #: ../fish/guestfish-actions.pod:431 ../fish/guestfish-actions.pod:442
4438 #: ../fish/guestfish-actions.pod:450 ../fish/guestfish-actions.pod:458
4439 msgid "This uses the L<blockdev(8)> command."
4440 msgstr ""
4441
4442 # type: =head2
4443 #: ../src/guestfs-actions.pod:455
4444 msgid "guestfs_blockdev_getbsz"
4445 msgstr ""
4446
4447 # type: verbatim
4448 #: ../src/guestfs-actions.pod:457
4449 #, no-wrap
4450 msgid ""
4451 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4452 "\t\tconst char *device);\n"
4453 "\n"
4454 msgstr ""
4455
4456 # type: textblock
4457 #: ../src/guestfs-actions.pod:460 ../fish/guestfish-actions.pod:374
4458 msgid "This returns the block size of a device."
4459 msgstr ""
4460
4461 # type: textblock
4462 #: ../src/guestfs-actions.pod:462 ../src/guestfs-actions.pod:544
4463 #: ../fish/guestfish-actions.pod:376 ../fish/guestfish-actions.pod:439
4464 msgid ""
4465 "(Note this is different from both I<size in blocks> and I<filesystem block "
4466 "size>)."
4467 msgstr ""
4468
4469 # type: =head2
4470 #: ../src/guestfs-actions.pod:469
4471 msgid "guestfs_blockdev_getro"
4472 msgstr ""
4473
4474 # type: verbatim
4475 #: ../src/guestfs-actions.pod:471
4476 #, no-wrap
4477 msgid ""
4478 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4479 "\t\tconst char *device);\n"
4480 "\n"
4481 msgstr ""
4482
4483 # type: textblock
4484 #: ../src/guestfs-actions.pod:474 ../fish/guestfish-actions.pod:385
4485 msgid ""
4486 "Returns a boolean indicating if the block device is read-only (true if read-"
4487 "only, false if not)."
4488 msgstr ""
4489
4490 # type: textblock
4491 #: ../src/guestfs-actions.pod:479 ../src/guestfs-actions.pod:1087
4492 #: ../src/guestfs-actions.pod:1099 ../src/guestfs-actions.pod:1531
4493 #: ../src/guestfs-actions.pod:1539 ../src/guestfs-actions.pod:1599
4494 #: ../src/guestfs-actions.pod:1642 ../src/guestfs-actions.pod:1654
4495 #: ../src/guestfs-actions.pod:1673 ../src/guestfs-actions.pod:1690
4496 #: ../src/guestfs-actions.pod:2272 ../src/guestfs-actions.pod:2283
4497 #: ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:2309
4498 #: ../src/guestfs-actions.pod:2320 ../src/guestfs-actions.pod:2330
4499 #: ../src/guestfs-actions.pod:2341 ../src/guestfs-actions.pod:3462
4500 msgid "This function returns a C truth value on success or -1 on error."
4501 msgstr ""
4502
4503 # type: =head2
4504 #: ../src/guestfs-actions.pod:481
4505 msgid "guestfs_blockdev_getsize64"
4506 msgstr ""
4507
4508 # type: verbatim
4509 #: ../src/guestfs-actions.pod:483
4510 #, no-wrap
4511 msgid ""
4512 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4513 "\t\tconst char *device);\n"
4514 "\n"
4515 msgstr ""
4516
4517 # type: textblock
4518 #: ../src/guestfs-actions.pod:486 ../fish/guestfish-actions.pod:394
4519 msgid "This returns the size of the device in bytes."
4520 msgstr ""
4521
4522 # type: textblock
4523 #: ../src/guestfs-actions.pod:488
4524 msgid "See also C<guestfs_blockdev_getsz>."
4525 msgstr ""
4526
4527 # type: =head2
4528 #: ../src/guestfs-actions.pod:494
4529 msgid "guestfs_blockdev_getss"
4530 msgstr ""
4531
4532 # type: verbatim
4533 #: ../src/guestfs-actions.pod:496
4534 #, no-wrap
4535 msgid ""
4536 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4537 "\t\tconst char *device);\n"
4538 "\n"
4539 msgstr ""
4540
4541 # type: textblock
4542 #: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:404
4543 msgid ""
4544 "This returns the size of sectors on a block device.  Usually 512, but can be "
4545 "larger for modern devices."
4546 msgstr ""
4547
4548 # type: textblock
4549 #: ../src/guestfs-actions.pod:502
4550 msgid ""
4551 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4552 "that)."
4553 msgstr ""
4554
4555 # type: =head2
4556 #: ../src/guestfs-actions.pod:509
4557 msgid "guestfs_blockdev_getsz"
4558 msgstr ""
4559
4560 # type: verbatim
4561 #: ../src/guestfs-actions.pod:511
4562 #, no-wrap
4563 msgid ""
4564 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4565 "\t\tconst char *device);\n"
4566 "\n"
4567 msgstr ""
4568
4569 # type: textblock
4570 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:416
4571 msgid ""
4572 "This returns the size of the device in units of 512-byte sectors (even if "
4573 "the sectorsize isn't 512 bytes ... weird)."
4574 msgstr ""
4575
4576 # type: textblock
4577 #: ../src/guestfs-actions.pod:517
4578 msgid ""
4579 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4580 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4581 msgstr ""
4582
4583 # type: =head2
4584 #: ../src/guestfs-actions.pod:525
4585 msgid "guestfs_blockdev_rereadpt"
4586 msgstr ""
4587
4588 # type: verbatim
4589 #: ../src/guestfs-actions.pod:527
4590 #, no-wrap
4591 msgid ""
4592 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4593 "\t\tconst char *device);\n"
4594 "\n"
4595 msgstr ""
4596
4597 # type: textblock
4598 #: ../src/guestfs-actions.pod:530 ../fish/guestfish-actions.pod:429
4599 msgid "Reread the partition table on C<device>."
4600 msgstr ""
4601
4602 # type: =head2
4603 #: ../src/guestfs-actions.pod:536
4604 msgid "guestfs_blockdev_setbsz"
4605 msgstr ""
4606
4607 # type: verbatim
4608 #: ../src/guestfs-actions.pod:538
4609 #, no-wrap
4610 msgid ""
4611 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4612 "\t\tconst char *device,\n"
4613 "\t\tint blocksize);\n"
4614 "\n"
4615 msgstr ""
4616
4617 # type: textblock
4618 #: ../src/guestfs-actions.pod:542 ../fish/guestfish-actions.pod:437
4619 msgid "This sets the block size of a device."
4620 msgstr ""
4621
4622 # type: =head2
4623 #: ../src/guestfs-actions.pod:551
4624 msgid "guestfs_blockdev_setro"
4625 msgstr ""
4626
4627 # type: verbatim
4628 #: ../src/guestfs-actions.pod:553
4629 #, no-wrap
4630 msgid ""
4631 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4632 "\t\tconst char *device);\n"
4633 "\n"
4634 msgstr ""
4635
4636 # type: textblock
4637 #: ../src/guestfs-actions.pod:556 ../fish/guestfish-actions.pod:448
4638 msgid "Sets the block device named C<device> to read-only."
4639 msgstr ""
4640
4641 # type: =head2
4642 #: ../src/guestfs-actions.pod:562
4643 msgid "guestfs_blockdev_setrw"
4644 msgstr ""
4645
4646 # type: verbatim
4647 #: ../src/guestfs-actions.pod:564
4648 #, no-wrap
4649 msgid ""
4650 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4651 "\t\tconst char *device);\n"
4652 "\n"
4653 msgstr ""
4654
4655 # type: textblock
4656 #: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:456
4657 msgid "Sets the block device named C<device> to read-write."
4658 msgstr ""
4659
4660 # type: =head2
4661 #: ../src/guestfs-actions.pod:573
4662 msgid "guestfs_case_sensitive_path"
4663 msgstr ""
4664
4665 # type: verbatim
4666 #: ../src/guestfs-actions.pod:575
4667 #, no-wrap
4668 msgid ""
4669 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4670 "\t\tconst char *path);\n"
4671 "\n"
4672 msgstr ""
4673
4674 # type: textblock
4675 #: ../src/guestfs-actions.pod:578 ../fish/guestfish-actions.pod:464
4676 msgid ""
4677 "This can be used to resolve case insensitive paths on a filesystem which is "
4678 "case sensitive.  The use case is to resolve paths which you have read from "
4679 "Windows configuration files or the Windows Registry, to the true path."
4680 msgstr ""
4681
4682 # type: textblock
4683 #: ../src/guestfs-actions.pod:583 ../fish/guestfish-actions.pod:469
4684 msgid ""
4685 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4686 "(and probably others), which is that although the underlying filesystem is "
4687 "case-insensitive, the driver exports the filesystem to Linux as case-"
4688 "sensitive."
4689 msgstr ""
4690
4691 # type: textblock
4692 #: ../src/guestfs-actions.pod:588 ../fish/guestfish-actions.pod:474
4693 msgid ""
4694 "One consequence of this is that special directories such as C<c:\\windows> "
4695 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4696 "precise details of how they were created.  In Windows itself this would not "
4697 "be a problem."
4698 msgstr ""
4699
4700 # type: textblock
4701 #: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:480
4702 msgid ""
4703 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
4704 "#posixfilenames1>"
4705 msgstr ""
4706
4707 # type: textblock
4708 #: ../src/guestfs-actions.pod:597 ../fish/guestfish-actions.pod:483
4709 msgid ""
4710 "This function resolves the true case of each element in the path and returns "
4711 "the case-sensitive path."
4712 msgstr ""
4713
4714 # type: textblock
4715 #: ../src/guestfs-actions.pod:600
4716 msgid ""
4717 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
4718 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4719 "how the directories were originally created under Windows)."
4720 msgstr ""
4721
4722 # type: textblock
4723 #: ../src/guestfs-actions.pod:605 ../fish/guestfish-actions.pod:491
4724 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4725 msgstr ""
4726
4727 # type: textblock
4728 #: ../src/guestfs-actions.pod:608
4729 msgid "See also C<guestfs_realpath>."
4730 msgstr ""
4731
4732 # type: =head2
4733 #: ../src/guestfs-actions.pod:613
4734 msgid "guestfs_cat"
4735 msgstr ""
4736
4737 # type: verbatim
4738 #: ../src/guestfs-actions.pod:615
4739 #, no-wrap
4740 msgid ""
4741 " char *guestfs_cat (guestfs_h *g,\n"
4742 "\t\tconst char *path);\n"
4743 "\n"
4744 msgstr ""
4745
4746 # type: textblock
4747 #: ../src/guestfs-actions.pod:618 ../src/guestfs-actions.pod:3824
4748 #: ../fish/guestfish-actions.pod:500 ../fish/guestfish-actions.pod:2944
4749 msgid "Return the contents of the file named C<path>."
4750 msgstr ""
4751
4752 # type: textblock
4753 #: ../src/guestfs-actions.pod:620
4754 msgid ""
4755 "Note that this function cannot correctly handle binary files (specifically, "
4756 "files containing C<\\0> character which is treated as end of string).  For "
4757 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4758 "functions which have a more complex interface."
4759 msgstr ""
4760
4761 # type: textblock
4762 #: ../src/guestfs-actions.pod:628 ../src/guestfs-actions.pod:789
4763 #: ../src/guestfs-actions.pod:806 ../src/guestfs-actions.pod:1057
4764 #: ../src/guestfs-actions.pod:1073 ../src/guestfs-actions.pod:1161
4765 #: ../src/guestfs-actions.pod:1177 ../src/guestfs-actions.pod:1408
4766 #: ../src/guestfs-actions.pod:1755 ../src/guestfs-actions.pod:1771
4767 #: ../src/guestfs-actions.pod:1808 ../src/guestfs-actions.pod:1829
4768 #: ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:1869
4769 #: ../src/guestfs-actions.pod:3687 ../src/guestfs-actions.pod:3795
4770 #: ../src/guestfs-actions.pod:3816 ../src/guestfs-actions.pod:4542
4771 #: ../src/guestfs-actions.pod:4594 ../src/guestfs-actions.pod:4710
4772 #: ../src/guestfs-actions.pod:4731 ../src/guestfs-actions.pod:5250
4773 #: ../src/guestfs-actions.pod:5273 ../src/guestfs-actions.pod:5296
4774 #: ../src/guestfs-actions.pod:5312 ../src/guestfs-actions.pod:5385
4775 #: ../src/guestfs-actions.pod:5401 ../src/guestfs-actions.pod:5441
4776 #: ../src/guestfs-actions.pod:5457 ../fish/guestfish-actions.pod:507
4777 #: ../fish/guestfish-actions.pod:642 ../fish/guestfish-actions.pod:654
4778 #: ../fish/guestfish-actions.pod:836 ../fish/guestfish-actions.pod:846
4779 #: ../fish/guestfish-actions.pod:913 ../fish/guestfish-actions.pod:923
4780 #: ../fish/guestfish-actions.pod:1118 ../fish/guestfish-actions.pod:1391
4781 #: ../fish/guestfish-actions.pod:1401 ../fish/guestfish-actions.pod:1429
4782 #: ../fish/guestfish-actions.pod:1444 ../fish/guestfish-actions.pod:1454
4783 #: ../fish/guestfish-actions.pod:1473 ../fish/guestfish-actions.pod:2846
4784 #: ../fish/guestfish-actions.pod:2922 ../fish/guestfish-actions.pod:2937
4785 #: ../fish/guestfish-actions.pod:3498 ../fish/guestfish-actions.pod:3544
4786 #: ../fish/guestfish-actions.pod:3629 ../fish/guestfish-actions.pod:3644
4787 #: ../fish/guestfish-actions.pod:4027 ../fish/guestfish-actions.pod:4045
4788 #: ../fish/guestfish-actions.pod:4062 ../fish/guestfish-actions.pod:4072
4789 #: ../fish/guestfish-actions.pod:4120 ../fish/guestfish-actions.pod:4130
4790 #: ../fish/guestfish-actions.pod:4159 ../fish/guestfish-actions.pod:4169
4791 msgid ""
4792 "Because of the message protocol, there is a transfer limit of somewhere "
4793 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4794 msgstr ""
4795
4796 # type: =head2
4797 #: ../src/guestfs-actions.pod:631
4798 msgid "guestfs_checksum"
4799 msgstr ""
4800
4801 # type: verbatim
4802 #: ../src/guestfs-actions.pod:633
4803 #, no-wrap
4804 msgid ""
4805 " char *guestfs_checksum (guestfs_h *g,\n"
4806 "\t\tconst char *csumtype,\n"
4807 "\t\tconst char *path);\n"
4808 "\n"
4809 msgstr ""
4810
4811 # type: textblock
4812 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:514
4813 msgid ""
4814 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4815 msgstr ""
4816
4817 # type: textblock
4818 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:517
4819 msgid ""
4820 "The type of checksum to compute is given by the C<csumtype> parameter which "
4821 "must have one of the following values:"
4822 msgstr ""
4823
4824 # type: =item
4825 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:522
4826 msgid "C<crc>"
4827 msgstr ""
4828
4829 # type: textblock
4830 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:524
4831 msgid ""
4832 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4833 "C<cksum> command."
4834 msgstr ""
4835
4836 # type: =item
4837 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:527
4838 msgid "C<md5>"
4839 msgstr ""
4840
4841 # type: textblock
4842 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:529
4843 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4844 msgstr ""
4845
4846 # type: =item
4847 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:531
4848 msgid "C<sha1>"
4849 msgstr ""
4850
4851 # type: textblock
4852 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:533
4853 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4854 msgstr ""
4855
4856 # type: =item
4857 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:535
4858 msgid "C<sha224>"
4859 msgstr ""
4860
4861 # type: textblock
4862 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:537
4863 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4864 msgstr ""
4865
4866 # type: =item
4867 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:539
4868 msgid "C<sha256>"
4869 msgstr ""
4870
4871 # type: textblock
4872 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:541
4873 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
4874 msgstr ""
4875
4876 # type: =item
4877 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:543
4878 msgid "C<sha384>"
4879 msgstr ""
4880
4881 # type: textblock
4882 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:545
4883 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
4884 msgstr ""
4885
4886 # type: =item
4887 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:547
4888 msgid "C<sha512>"
4889 msgstr ""
4890
4891 # type: textblock
4892 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:549
4893 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
4894 msgstr ""
4895
4896 # type: textblock
4897 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:553
4898 msgid "The checksum is returned as a printable string."
4899 msgstr ""
4900
4901 # type: textblock
4902 #: ../src/guestfs-actions.pod:678
4903 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
4904 msgstr ""
4905
4906 # type: textblock
4907 #: ../src/guestfs-actions.pod:680
4908 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
4909 msgstr ""
4910
4911 # type: =head2
4912 #: ../src/guestfs-actions.pod:685
4913 msgid "guestfs_checksum_device"
4914 msgstr ""
4915
4916 # type: verbatim
4917 #: ../src/guestfs-actions.pod:687
4918 #, no-wrap
4919 msgid ""
4920 " char *guestfs_checksum_device (guestfs_h *g,\n"
4921 "\t\tconst char *csumtype,\n"
4922 "\t\tconst char *device);\n"
4923 "\n"
4924 msgstr ""
4925
4926 # type: textblock
4927 #: ../src/guestfs-actions.pod:691
4928 msgid ""
4929 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
4930 "device named C<device>.  For the types of checksums supported see the "
4931 "C<guestfs_checksum> command."
4932 msgstr ""
4933
4934 # type: =head2
4935 #: ../src/guestfs-actions.pod:698
4936 msgid "guestfs_checksums_out"
4937 msgstr ""
4938
4939 # type: verbatim
4940 #: ../src/guestfs-actions.pod:700
4941 #, no-wrap
4942 msgid ""
4943 " int guestfs_checksums_out (guestfs_h *g,\n"
4944 "\t\tconst char *csumtype,\n"
4945 "\t\tconst char *directory,\n"
4946 "\t\tconst char *sumsfile);\n"
4947 "\n"
4948 msgstr ""
4949
4950 # type: textblock
4951 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:571
4952 msgid ""
4953 "This command computes the checksums of all regular files in C<directory> and "
4954 "then emits a list of those checksums to the local output file C<sumsfile>."
4955 msgstr ""
4956
4957 # type: textblock
4958 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:575
4959 msgid ""
4960 "This can be used for verifying the integrity of a virtual machine.  However "
4961 "to be properly secure you should pay attention to the output of the checksum "
4962 "command (it uses the ones from GNU coreutils).  In particular when the "
4963 "filename is not printable, coreutils uses a special backslash syntax.  For "
4964 "more information, see the GNU coreutils info file."
4965 msgstr ""
4966
4967 # type: =head2
4968 #: ../src/guestfs-actions.pod:719
4969 msgid "guestfs_chmod"
4970 msgstr ""
4971
4972 # type: verbatim
4973 #: ../src/guestfs-actions.pod:721
4974 #, no-wrap
4975 msgid ""
4976 " int guestfs_chmod (guestfs_h *g,\n"
4977 "\t\tint mode,\n"
4978 "\t\tconst char *path);\n"
4979 "\n"
4980 msgstr ""
4981
4982 # type: textblock
4983 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:589
4984 msgid ""
4985 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
4986 "supported."
4987 msgstr ""
4988
4989 # type: textblock
4990 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:592
4991 msgid ""
4992 "I<Note>: When using this command from guestfish, C<mode> by default would be "
4993 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
4994 "C<700>."
4995 msgstr ""
4996
4997 # type: textblock
4998 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3045
4999 #: ../src/guestfs-actions.pod:3133 ../src/guestfs-actions.pod:3149
5000 #: ../src/guestfs-actions.pod:3165 ../fish/guestfish-actions.pod:596
5001 #: ../fish/guestfish-actions.pod:2362 ../fish/guestfish-actions.pod:2432
5002 #: ../fish/guestfish-actions.pod:2442 ../fish/guestfish-actions.pod:2452
5003 msgid "The mode actually set is affected by the umask."
5004 msgstr ""
5005
5006 # type: =head2
5007 #: ../src/guestfs-actions.pod:736
5008 msgid "guestfs_chown"
5009 msgstr ""
5010
5011 # type: verbatim
5012 #: ../src/guestfs-actions.pod:738
5013 #, no-wrap
5014 msgid ""
5015 " int guestfs_chown (guestfs_h *g,\n"
5016 "\t\tint owner,\n"
5017 "\t\tint group,\n"
5018 "\t\tconst char *path);\n"
5019 "\n"
5020 msgstr ""
5021
5022 # type: textblock
5023 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:602
5024 msgid "Change the file owner to C<owner> and group to C<group>."
5025 msgstr ""
5026
5027 # type: textblock
5028 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2374
5029 #: ../fish/guestfish-actions.pod:604 ../fish/guestfish-actions.pod:1890
5030 msgid ""
5031 "Only numeric uid and gid are supported.  If you want to use names, you will "
5032 "need to locate and parse the password file yourself (Augeas support makes "
5033 "this relatively easy)."
5034 msgstr ""
5035
5036 # type: =head2
5037 #: ../src/guestfs-actions.pod:751
5038 msgid "guestfs_command"
5039 msgstr ""
5040
5041 # type: verbatim
5042 #: ../src/guestfs-actions.pod:753
5043 #, no-wrap
5044 msgid ""
5045 " char *guestfs_command (guestfs_h *g,\n"
5046 "\t\tchar *const *arguments);\n"
5047 "\n"
5048 msgstr ""
5049
5050 # type: textblock
5051 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:612
5052 msgid ""
5053 "This call runs a command from the guest filesystem.  The filesystem must be "
5054 "mounted, and must contain a compatible operating system (ie. something "
5055 "Linux, with the same or compatible processor architecture)."
5056 msgstr ""
5057
5058 # type: textblock
5059 #: ../src/guestfs-actions.pod:761
5060 msgid ""
5061 "The single parameter is an argv-style list of arguments.  The first element "
5062 "is the name of the program to run.  Subsequent elements are parameters.  The "
5063 "list must be non-empty (ie. must contain a program name).  Note that the "
5064 "command runs directly, and is I<not> invoked via the shell (see "
5065 "C<guestfs_sh>)."
5066 msgstr ""
5067
5068 # type: textblock
5069 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:624
5070 msgid "The return value is anything printed to I<stdout> by the command."
5071 msgstr ""
5072
5073 # type: textblock
5074 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:627
5075 msgid ""
5076 "If the command returns a non-zero exit status, then this function returns an "
5077 "error message.  The error message string is the content of I<stderr> from "
5078 "the command."
5079 msgstr ""
5080
5081 # type: textblock
5082 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:631
5083 msgid ""
5084 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
5085 "bin>.  If you require a program from another location, you should provide "
5086 "the full path in the first parameter."
5087 msgstr ""
5088
5089 # type: textblock
5090 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:636
5091 msgid ""
5092 "Shared libraries and data files required by the program must be available on "
5093 "filesystems which are mounted in the correct places.  It is the caller's "
5094 "responsibility to ensure all filesystems that are needed are mounted at the "
5095 "right locations."
5096 msgstr ""
5097
5098 # type: =head2
5099 #: ../src/guestfs-actions.pod:792
5100 msgid "guestfs_command_lines"
5101 msgstr ""
5102
5103 # type: verbatim
5104 #: ../src/guestfs-actions.pod:794
5105 #, no-wrap
5106 msgid ""
5107 " char **guestfs_command_lines (guestfs_h *g,\n"
5108 "\t\tchar *const *arguments);\n"
5109 "\n"
5110 msgstr ""
5111
5112 # type: textblock
5113 #: ../src/guestfs-actions.pod:797
5114 msgid ""
5115 "This is the same as C<guestfs_command>, but splits the result into a list of "
5116 "lines."
5117 msgstr ""
5118
5119 # type: textblock
5120 #: ../src/guestfs-actions.pod:800
5121 msgid "See also: C<guestfs_sh_lines>"
5122 msgstr ""
5123
5124 # type: =head2
5125 #: ../src/guestfs-actions.pod:809
5126 msgid "guestfs_config"
5127 msgstr ""
5128
5129 # type: verbatim
5130 #: ../src/guestfs-actions.pod:811
5131 #, no-wrap
5132 msgid ""
5133 " int guestfs_config (guestfs_h *g,\n"
5134 "\t\tconst char *qemuparam,\n"
5135 "\t\tconst char *qemuvalue);\n"
5136 "\n"
5137 msgstr ""
5138
5139 # type: textblock
5140 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:661
5141 msgid ""
5142 "This can be used to add arbitrary qemu command line parameters of the form "
5143 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
5144 "setting some parameters which would interfere with parameters that we use."
5145 msgstr ""
5146
5147 # type: textblock
5148 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:666
5149 msgid "The first character of C<param> string must be a C<-> (dash)."
5150 msgstr ""
5151
5152 # type: textblock
5153 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:668
5154 msgid "C<value> can be NULL."
5155 msgstr ""
5156
5157 # type: =head2
5158 #: ../src/guestfs-actions.pod:826
5159 msgid "guestfs_copy_size"
5160 msgstr ""
5161
5162 # type: verbatim
5163 #: ../src/guestfs-actions.pod:828
5164 #, no-wrap
5165 msgid ""
5166 " int guestfs_copy_size (guestfs_h *g,\n"
5167 "\t\tconst char *src,\n"
5168 "\t\tconst char *dest,\n"
5169 "\t\tint64_t size);\n"
5170 "\n"
5171 msgstr ""
5172
5173 # type: textblock
5174 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:674
5175 msgid ""
5176 "This command copies exactly C<size> bytes from one source device or file "
5177 "C<src> to another destination device or file C<dest>."
5178 msgstr ""
5179
5180 # type: textblock
5181 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:677
5182 msgid ""
5183 "Note this will fail if the source is too short or if the destination is not "
5184 "large enough."
5185 msgstr ""
5186
5187 # type: textblock
5188 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976
5189 #: ../src/guestfs-actions.pod:1348 ../src/guestfs-actions.pod:1367
5190 #: ../src/guestfs-actions.pod:5330 ../src/guestfs-actions.pod:5346
5191 msgid ""
5192 "This long-running command can generate progress notification messages so "
5193 "that the caller can display a progress bar or indicator.  To receive these "
5194 "messages, the caller must register a progress callback.  See L<guestfs(3)/"
5195 "guestfs_set_progress_callback>."
5196 msgstr ""
5197
5198 # type: =head2
5199 #: ../src/guestfs-actions.pod:846
5200 msgid "guestfs_cp"
5201 msgstr ""
5202
5203 # type: verbatim
5204 #: ../src/guestfs-actions.pod:848
5205 #, no-wrap
5206 msgid ""
5207 " int guestfs_cp (guestfs_h *g,\n"
5208 "\t\tconst char *src,\n"
5209 "\t\tconst char *dest);\n"
5210 "\n"
5211 msgstr ""
5212
5213 # type: textblock
5214 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:684
5215 msgid ""
5216 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5217 "destination filename or destination directory."
5218 msgstr ""
5219
5220 # type: =head2
5221 #: ../src/guestfs-actions.pod:857
5222 msgid "guestfs_cp_a"
5223 msgstr ""
5224
5225 # type: verbatim
5226 #: ../src/guestfs-actions.pod:859
5227 #, no-wrap
5228 msgid ""
5229 " int guestfs_cp_a (guestfs_h *g,\n"
5230 "\t\tconst char *src,\n"
5231 "\t\tconst char *dest);\n"
5232 "\n"
5233 msgstr ""
5234
5235 # type: textblock
5236 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:691
5237 msgid ""
5238 "This copies a file or directory from C<src> to C<dest> recursively using the "
5239 "C<cp -a> command."
5240 msgstr ""
5241
5242 # type: =head2
5243 #: ../src/guestfs-actions.pod:868
5244 msgid "guestfs_dd"
5245 msgstr ""
5246
5247 # type: verbatim
5248 #: ../src/guestfs-actions.pod:870
5249 #, no-wrap
5250 msgid ""
5251 " int guestfs_dd (guestfs_h *g,\n"
5252 "\t\tconst char *src,\n"
5253 "\t\tconst char *dest);\n"
5254 "\n"
5255 msgstr ""
5256
5257 # type: textblock
5258 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:698
5259 msgid ""
5260 "This command copies from one source device or file C<src> to another "
5261 "destination device or file C<dest>.  Normally you would use this to copy to "
5262 "or from a device or partition, for example to duplicate a filesystem."
5263 msgstr ""
5264
5265 # type: textblock
5266 #: ../src/guestfs-actions.pod:879
5267 msgid ""
5268 "If the destination is a device, it must be as large or larger than the "
5269 "source file or device, otherwise the copy will fail.  This command cannot do "
5270 "partial copies (see C<guestfs_copy_size>)."
5271 msgstr ""
5272
5273 # type: =head2
5274 #: ../src/guestfs-actions.pod:885
5275 msgid "guestfs_debug"
5276 msgstr ""
5277
5278 # type: verbatim
5279 #: ../src/guestfs-actions.pod:887
5280 #, no-wrap
5281 msgid ""
5282 " char *guestfs_debug (guestfs_h *g,\n"
5283 "\t\tconst char *subcmd,\n"
5284 "\t\tchar *const *extraargs);\n"
5285 "\n"
5286 msgstr ""
5287
5288 # type: textblock
5289 #: ../src/guestfs-actions.pod:891
5290 msgid ""
5291 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5292 "guestfs daemon) that runs inside the qemu subprocess."
5293 msgstr ""
5294
5295 # type: textblock
5296 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:715
5297 msgid ""
5298 "There is no comprehensive help for this command.  You have to look at the "
5299 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5300 msgstr ""
5301
5302 # type: =head2
5303 #: ../src/guestfs-actions.pod:902
5304 msgid "guestfs_debug_upload"
5305 msgstr ""
5306
5307 # type: verbatim
5308 #: ../src/guestfs-actions.pod:904
5309 #, no-wrap
5310 msgid ""
5311 " int guestfs_debug_upload (guestfs_h *g,\n"
5312 "\t\tconst char *filename,\n"
5313 "\t\tconst char *tmpname,\n"
5314 "\t\tint mode);\n"
5315 "\n"
5316 msgstr ""
5317
5318 # type: textblock
5319 #: ../src/guestfs-actions.pod:909
5320 msgid ""
5321 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5322 "appliance."
5323 msgstr ""
5324
5325 # type: textblock
5326 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:726
5327 msgid ""
5328 "There is no comprehensive help for this command.  You have to look at the "
5329 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5330 msgstr ""
5331
5332 # type: =head2
5333 #: ../src/guestfs-actions.pod:918
5334 msgid "guestfs_df"
5335 msgstr ""
5336
5337 # type: verbatim
5338 #: ../src/guestfs-actions.pod:920
5339 #, no-wrap
5340 msgid ""
5341 " char *guestfs_df (guestfs_h *g);\n"
5342 "\n"
5343 msgstr ""
5344
5345 # type: textblock
5346 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:736
5347 msgid "This command runs the C<df> command to report disk space used."
5348 msgstr ""
5349
5350 # type: textblock
5351 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938
5352 #: ../fish/guestfish-actions.pod:738 ../fish/guestfish-actions.pod:749
5353 msgid ""
5354 "This command is mostly useful for interactive sessions.  It is I<not> "
5355 "intended that you try to parse the output string.  Use C<statvfs> from "
5356 "programs."
5357 msgstr ""
5358
5359 # type: =head2
5360 #: ../src/guestfs-actions.pod:931
5361 msgid "guestfs_df_h"
5362 msgstr ""
5363
5364 # type: verbatim
5365 #: ../src/guestfs-actions.pod:933
5366 #, no-wrap
5367 msgid ""
5368 " char *guestfs_df_h (guestfs_h *g);\n"
5369 "\n"
5370 msgstr ""
5371
5372 # type: textblock
5373 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:746
5374 msgid ""
5375 "This command runs the C<df -h> command to report disk space used in human-"
5376 "readable format."
5377 msgstr ""
5378
5379 # type: =head2
5380 #: ../src/guestfs-actions.pod:945
5381 msgid "guestfs_dmesg"
5382 msgstr ""
5383
5384 # type: verbatim
5385 #: ../src/guestfs-actions.pod:947
5386 #, no-wrap
5387 msgid ""
5388 " char *guestfs_dmesg (guestfs_h *g);\n"
5389 "\n"
5390 msgstr ""
5391
5392 # type: textblock
5393 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:757
5394 msgid ""
5395 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5396 "This is sometimes useful for extended debugging of problems."
5397 msgstr ""
5398
5399 # type: textblock
5400 #: ../src/guestfs-actions.pod:953
5401 msgid ""
5402 "Another way to get the same information is to enable verbose messages with "
5403 "C<guestfs_set_verbose> or by setting the environment variable "
5404 "C<LIBGUESTFS_DEBUG=1> before running the program."
5405 msgstr ""
5406
5407 # type: =head2
5408 #: ../src/guestfs-actions.pod:961
5409 msgid "guestfs_download"
5410 msgstr ""
5411
5412 # type: verbatim
5413 #: ../src/guestfs-actions.pod:963
5414 #, no-wrap
5415 msgid ""
5416 " int guestfs_download (guestfs_h *g,\n"
5417 "\t\tconst char *remotefilename,\n"
5418 "\t\tconst char *filename);\n"
5419 "\n"
5420 msgstr ""
5421
5422 # type: textblock
5423 #: ../src/guestfs-actions.pod:967 ../fish/guestfish-actions.pod:770
5424 msgid ""
5425 "Download file C<remotefilename> and save it as C<filename> on the local "
5426 "machine."
5427 msgstr ""
5428
5429 # type: textblock
5430 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:4924
5431 #: ../fish/guestfish-actions.pod:773 ../fish/guestfish-actions.pod:3798
5432 msgid "C<filename> can also be a named pipe."
5433 msgstr ""
5434
5435 # type: textblock
5436 #: ../src/guestfs-actions.pod:972
5437 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5438 msgstr ""
5439
5440 # type: =head2
5441 #: ../src/guestfs-actions.pod:981
5442 msgid "guestfs_drop_caches"
5443 msgstr ""
5444
5445 # type: verbatim
5446 #: ../src/guestfs-actions.pod:983
5447 #, no-wrap
5448 msgid ""
5449 " int guestfs_drop_caches (guestfs_h *g,\n"
5450 "\t\tint whattodrop);\n"
5451 "\n"
5452 msgstr ""
5453
5454 # type: textblock
5455 #: ../src/guestfs-actions.pod:986 ../fish/guestfish-actions.pod:783
5456 msgid ""
5457 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5458 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5459 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5460 msgstr ""
5461
5462 # type: textblock
5463 #: ../src/guestfs-actions.pod:991 ../fish/guestfish-actions.pod:788
5464 msgid "Setting C<whattodrop> to 3 should drop everything."
5465 msgstr ""
5466
5467 # type: textblock
5468 #: ../src/guestfs-actions.pod:993 ../fish/guestfish-actions.pod:790
5469 msgid ""
5470 "This automatically calls L<sync(2)> before the operation, so that the "
5471 "maximum guest memory is freed."
5472 msgstr ""
5473
5474 # type: =head2
5475 #: ../src/guestfs-actions.pod:998
5476 msgid "guestfs_du"
5477 msgstr ""
5478
5479 # type: verbatim
5480 #: ../src/guestfs-actions.pod:1000
5481 #, no-wrap
5482 msgid ""
5483 " int64_t guestfs_du (guestfs_h *g,\n"
5484 "\t\tconst char *path);\n"
5485 "\n"
5486 msgstr ""
5487
5488 # type: textblock
5489 #: ../src/guestfs-actions.pod:1003 ../fish/guestfish-actions.pod:797
5490 msgid ""
5491 "This command runs the C<du -s> command to estimate file space usage for "
5492 "C<path>."
5493 msgstr ""
5494
5495 # type: textblock
5496 #: ../src/guestfs-actions.pod:1006 ../fish/guestfish-actions.pod:800
5497 msgid ""
5498 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5499 "estimate includes the contents of the directory and all subdirectories "
5500 "(recursively)."
5501 msgstr ""
5502
5503 # type: textblock
5504 #: ../src/guestfs-actions.pod:1010 ../fish/guestfish-actions.pod:804
5505 msgid ""
5506 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5507 msgstr ""
5508
5509 # type: =head2
5510 #: ../src/guestfs-actions.pod:1015
5511 msgid "guestfs_e2fsck_f"
5512 msgstr ""
5513
5514 # type: verbatim
5515 #: ../src/guestfs-actions.pod:1017
5516 #, no-wrap
5517 msgid ""
5518 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5519 "\t\tconst char *device);\n"
5520 "\n"
5521 msgstr ""
5522
5523 # type: textblock
5524 #: ../src/guestfs-actions.pod:1020 ../fish/guestfish-actions.pod:811
5525 msgid ""
5526 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5527 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5528 "clean (C<-f>)."
5529 msgstr ""
5530
5531 # type: textblock
5532 #: ../src/guestfs-actions.pod:1024
5533 msgid ""
5534 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5535 "Normally you should use C<guestfs_fsck>."
5536 msgstr ""
5537
5538 # type: =head2
5539 #: ../src/guestfs-actions.pod:1029
5540 msgid "guestfs_echo_daemon"
5541 msgstr ""
5542
5543 # type: verbatim
5544 #: ../src/guestfs-actions.pod:1031
5545 #, no-wrap
5546 msgid ""
5547 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5548 "\t\tchar *const *words);\n"
5549 "\n"
5550 msgstr ""
5551
5552 # type: textblock
5553 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:822
5554 msgid ""
5555 "This command concatenates the list of C<words> passed with single spaces "
5556 "between them and returns the resulting string."
5557 msgstr ""
5558
5559 # type: textblock
5560 #: ../src/guestfs-actions.pod:1037 ../fish/guestfish-actions.pod:825
5561 msgid "You can use this command to test the connection through to the daemon."
5562 msgstr ""
5563
5564 # type: textblock
5565 #: ../src/guestfs-actions.pod:1039
5566 msgid "See also C<guestfs_ping_daemon>."
5567 msgstr ""
5568
5569 # type: =head2
5570 #: ../src/guestfs-actions.pod:1044
5571 msgid "guestfs_egrep"
5572 msgstr ""
5573
5574 # type: verbatim
5575 #: ../src/guestfs-actions.pod:1046
5576 #, no-wrap
5577 msgid ""
5578 " char **guestfs_egrep (guestfs_h *g,\n"
5579 "\t\tconst char *regex,\n"
5580 "\t\tconst char *path);\n"
5581 "\n"
5582 msgstr ""
5583
5584 # type: textblock
5585 #: ../src/guestfs-actions.pod:1050 ../fish/guestfish-actions.pod:833
5586 msgid ""
5587 "This calls the external C<egrep> program and returns the matching lines."
5588 msgstr ""
5589
5590 # type: =head2
5591 #: ../src/guestfs-actions.pod:1060
5592 msgid "guestfs_egrepi"
5593 msgstr ""
5594
5595 # type: verbatim
5596 #: ../src/guestfs-actions.pod:1062
5597 #, no-wrap
5598 msgid ""
5599 " char **guestfs_egrepi (guestfs_h *g,\n"
5600 "\t\tconst char *regex,\n"
5601 "\t\tconst char *path);\n"
5602 "\n"
5603 msgstr ""
5604
5605 # type: textblock
5606 #: ../src/guestfs-actions.pod:1066 ../fish/guestfish-actions.pod:843
5607 msgid ""
5608 "This calls the external C<egrep -i> program and returns the matching lines."
5609 msgstr ""
5610
5611 # type: =head2
5612 #: ../src/guestfs-actions.pod:1076
5613 msgid "guestfs_equal"
5614 msgstr ""
5615
5616 # type: verbatim
5617 #: ../src/guestfs-actions.pod:1078
5618 #, no-wrap
5619 msgid ""
5620 " int guestfs_equal (guestfs_h *g,\n"
5621 "\t\tconst char *file1,\n"
5622 "\t\tconst char *file2);\n"
5623 "\n"
5624 msgstr ""
5625
5626 # type: textblock
5627 #: ../src/guestfs-actions.pod:1082 ../fish/guestfish-actions.pod:853
5628 msgid ""
5629 "This compares the two files C<file1> and C<file2> and returns true if their "
5630 "content is exactly equal, or false otherwise."
5631 msgstr ""
5632
5633 # type: textblock
5634 #: ../src/guestfs-actions.pod:1085 ../fish/guestfish-actions.pod:856
5635 msgid "The external L<cmp(1)> program is used for the comparison."
5636 msgstr ""
5637
5638 # type: =head2
5639 #: ../src/guestfs-actions.pod:1089
5640 msgid "guestfs_exists"
5641 msgstr ""
5642
5643 # type: verbatim
5644 #: ../src/guestfs-actions.pod:1091
5645 #, no-wrap
5646 msgid ""
5647 " int guestfs_exists (guestfs_h *g,\n"
5648 "\t\tconst char *path);\n"
5649 "\n"
5650 msgstr ""
5651
5652 # type: textblock
5653 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:862
5654 msgid ""
5655 "This returns C<true> if and only if there is a file, directory (or anything) "
5656 "with the given C<path> name."
5657 msgstr ""
5658
5659 # type: textblock
5660 #: ../src/guestfs-actions.pod:1097
5661 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5662 msgstr ""
5663
5664 # type: =head2
5665 #: ../src/guestfs-actions.pod:1101
5666 msgid "guestfs_fallocate"
5667 msgstr ""
5668
5669 # type: verbatim
5670 #: ../src/guestfs-actions.pod:1103
5671 #, no-wrap
5672 msgid ""
5673 " int guestfs_fallocate (guestfs_h *g,\n"
5674 "\t\tconst char *path,\n"
5675 "\t\tint len);\n"
5676 "\n"
5677 msgstr ""
5678
5679 # type: textblock
5680 #: ../src/guestfs-actions.pod:1107 ../src/guestfs-actions.pod:1130
5681 #: ../fish/guestfish-actions.pod:871 ../fish/guestfish-actions.pod:890
5682 msgid ""
5683 "This command preallocates a file (containing zero bytes) named C<path> of "
5684 "size C<len> bytes.  If the file exists already, it is overwritten."
5685 msgstr ""
5686
5687 # type: textblock
5688 #: ../src/guestfs-actions.pod:1111 ../fish/guestfish-actions.pod:875
5689 msgid ""
5690 "Do not confuse this with the guestfish-specific C<alloc> command which "
5691 "allocates a file in the host and attaches it as a device."
5692 msgstr ""
5693
5694 # type: textblock
5695 #: ../src/guestfs-actions.pod:1117 ../fish/guestfish-actions.pod:879
5696 msgid ""
5697 "This function is deprecated.  In new code, use the C<fallocate64> call "
5698 "instead."
5699 msgstr ""
5700
5701 # type: textblock
5702 #: ../src/guestfs-actions.pod:1120 ../src/guestfs-actions.pod:1555
5703 #: ../src/guestfs-actions.pod:1573 ../src/guestfs-actions.pod:5279
5704 #: ../src/guestfs-actions.pod:5424 ../fish/guestfish-actions.pod:882
5705 #: ../fish/guestfish-actions.pod:1239 ../fish/guestfish-actions.pod:1253
5706 #: ../fish/guestfish-actions.pod:4051 ../fish/guestfish-actions.pod:4148
5707 msgid ""
5708 "Deprecated functions will not be removed from the API, but the fact that "
5709 "they are deprecated indicates that there are problems with correct use of "
5710 "these functions."
5711 msgstr ""
5712
5713 # type: =head2
5714 #: ../src/guestfs-actions.pod:1124
5715 msgid "guestfs_fallocate64"
5716 msgstr ""
5717
5718 # type: verbatim
5719 #: ../src/guestfs-actions.pod:1126
5720 #, no-wrap
5721 msgid ""
5722 " int guestfs_fallocate64 (guestfs_h *g,\n"
5723 "\t\tconst char *path,\n"
5724 "\t\tint64_t len);\n"
5725 "\n"
5726 msgstr ""
5727
5728 # type: textblock
5729 #: ../src/guestfs-actions.pod:1134
5730 msgid ""
5731 "Note that this call allocates disk blocks for the file.  To create a sparse "
5732 "file use C<guestfs_truncate_size> instead."
5733 msgstr ""
5734
5735 # type: textblock
5736 #: ../src/guestfs-actions.pod:1137
5737 msgid ""
5738 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5739 "oversight it only allowed 30 bit lengths to be specified, effectively "
5740 "limiting the maximum size of files created through that call to 1GB."
5741 msgstr ""
5742
5743 # type: textblock
5744 #: ../src/guestfs-actions.pod:1142 ../fish/guestfish-actions.pod:902
5745 msgid ""
5746 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5747 "commands which create a file in the host and attach it as a device."
5748 msgstr ""
5749
5750 # type: =head2
5751 #: ../src/guestfs-actions.pod:1148
5752 msgid "guestfs_fgrep"
5753 msgstr ""
5754
5755 # type: verbatim
5756 #: ../src/guestfs-actions.pod:1150
5757 #, no-wrap
5758 msgid ""
5759 " char **guestfs_fgrep (guestfs_h *g,\n"
5760 "\t\tconst char *pattern,\n"
5761 "\t\tconst char *path);\n"
5762 "\n"
5763 msgstr ""
5764
5765 # type: textblock
5766 #: ../src/guestfs-actions.pod:1154 ../fish/guestfish-actions.pod:910
5767 msgid ""
5768 "This calls the external C<fgrep> program and returns the matching lines."
5769 msgstr ""
5770
5771 # type: =head2
5772 #: ../src/guestfs-actions.pod:1164
5773 msgid "guestfs_fgrepi"
5774 msgstr ""
5775
5776 # type: verbatim
5777 #: ../src/guestfs-actions.pod:1166
5778 #, no-wrap
5779 msgid ""
5780 " char **guestfs_fgrepi (guestfs_h *g,\n"
5781 "\t\tconst char *pattern,\n"
5782 "\t\tconst char *path);\n"
5783 "\n"
5784 msgstr ""
5785
5786 # type: textblock
5787 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:920
5788 msgid ""
5789 "This calls the external C<fgrep -i> program and returns the matching lines."
5790 msgstr ""
5791
5792 # type: =head2
5793 #: ../src/guestfs-actions.pod:1180
5794 msgid "guestfs_file"
5795 msgstr ""
5796
5797 # type: verbatim
5798 #: ../src/guestfs-actions.pod:1182
5799 #, no-wrap
5800 msgid ""
5801 " char *guestfs_file (guestfs_h *g,\n"
5802 "\t\tconst char *path);\n"
5803 "\n"
5804 msgstr ""
5805
5806 # type: textblock
5807 #: ../src/guestfs-actions.pod:1185 ../fish/guestfish-actions.pod:930
5808 msgid ""
5809 "This call uses the standard L<file(1)> command to determine the type or "
5810 "contents of the file."
5811 msgstr ""
5812
5813 # type: textblock
5814 #: ../src/guestfs-actions.pod:1188 ../fish/guestfish-actions.pod:933
5815 msgid ""
5816 "This call will also transparently look inside various types of compressed "
5817 "file."
5818 msgstr ""
5819
5820 # type: textblock
5821 #: ../src/guestfs-actions.pod:1191 ../fish/guestfish-actions.pod:936
5822 msgid ""
5823 "The exact command which runs is C<file -zb path>.  Note in particular that "
5824 "the filename is not prepended to the output (the C<-b> option)."
5825 msgstr ""
5826
5827 # type: textblock
5828 #: ../src/guestfs-actions.pod:1195
5829 msgid ""
5830 "This command can also be used on C</dev/> devices (and partitions, LV "
5831 "names).  You can for example use this to determine if a device contains a "
5832 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
5833 msgstr ""
5834
5835 # type: textblock
5836 #: ../src/guestfs-actions.pod:1200 ../fish/guestfish-actions.pod:945
5837 msgid ""
5838 "If the C<path> does not begin with C</dev/> then this command only works for "
5839 "the content of regular files.  For other file types (directory, symbolic "
5840 "link etc) it will just return the string C<directory> etc."
5841 msgstr ""
5842
5843 # type: =head2
5844 #: ../src/guestfs-actions.pod:1208
5845 msgid "guestfs_file_architecture"
5846 msgstr ""
5847
5848 # type: verbatim
5849 #: ../src/guestfs-actions.pod:1210
5850 #, no-wrap
5851 msgid ""
5852 " char *guestfs_file_architecture (guestfs_h *g,\n"
5853 "\t\tconst char *filename);\n"
5854 "\n"
5855 msgstr ""
5856
5857 # type: textblock
5858 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:954
5859 msgid ""
5860 "This detects the architecture of the binary C<filename>, and returns it if "
5861 "known."
5862 msgstr ""
5863
5864 # type: textblock
5865 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:957
5866 msgid "Currently defined architectures are:"
5867 msgstr ""
5868
5869 # type: =item
5870 #: ../src/guestfs-actions.pod:1220 ../fish/guestfish-actions.pod:961
5871 msgid "\"i386\""
5872 msgstr ""
5873
5874 # type: textblock
5875 #: ../src/guestfs-actions.pod:1222 ../fish/guestfish-actions.pod:963
5876 msgid ""
5877 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
5878 "irrespective of the precise processor requirements of the binary."
5879 msgstr ""
5880
5881 # type: =item
5882 #: ../src/guestfs-actions.pod:1225 ../fish/guestfish-actions.pod:966
5883 msgid "\"x86_64\""
5884 msgstr ""
5885
5886 # type: textblock
5887 #: ../src/guestfs-actions.pod:1227 ../fish/guestfish-actions.pod:968
5888 msgid "64 bit x86-64."
5889 msgstr ""
5890
5891 # type: =item
5892 #: ../src/guestfs-actions.pod:1229 ../fish/guestfish-actions.pod:970
5893 msgid "\"sparc\""
5894 msgstr ""
5895
5896 # type: textblock
5897 #: ../src/guestfs-actions.pod:1231 ../fish/guestfish-actions.pod:972
5898 msgid "32 bit SPARC."
5899 msgstr ""
5900
5901 # type: =item
5902 #: ../src/guestfs-actions.pod:1233 ../fish/guestfish-actions.pod:974
5903 msgid "\"sparc64\""
5904 msgstr ""
5905
5906 # type: textblock
5907 #: ../src/guestfs-actions.pod:1235 ../fish/guestfish-actions.pod:976
5908 msgid "64 bit SPARC V9 and above."
5909 msgstr ""
5910
5911 # type: =item
5912 #: ../src/guestfs-actions.pod:1237 ../fish/guestfish-actions.pod:978
5913 msgid "\"ia64\""
5914 msgstr ""
5915
5916 # type: textblock
5917 #: ../src/guestfs-actions.pod:1239 ../fish/guestfish-actions.pod:980
5918 msgid "Intel Itanium."
5919 msgstr ""
5920
5921 # type: =item
5922 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:982
5923 msgid "\"ppc\""
5924 msgstr ""
5925
5926 # type: textblock
5927 #: ../src/guestfs-actions.pod:1243 ../fish/guestfish-actions.pod:984
5928 msgid "32 bit Power PC."
5929 msgstr ""
5930
5931 # type: =item
5932 #: ../src/guestfs-actions.pod:1245 ../fish/guestfish-actions.pod:986
5933 msgid "\"ppc64\""
5934 msgstr ""
5935
5936 # type: textblock
5937 #: ../src/guestfs-actions.pod:1247 ../fish/guestfish-actions.pod:988
5938 msgid "64 bit Power PC."
5939 msgstr ""
5940
5941 # type: textblock
5942 #: ../src/guestfs-actions.pod:1251 ../fish/guestfish-actions.pod:992
5943 msgid "Libguestfs may return other architecture strings in future."
5944 msgstr ""
5945
5946 # type: textblock
5947 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:994
5948 msgid "The function works on at least the following types of files:"
5949 msgstr ""
5950
5951 # type: textblock
5952 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:1000
5953 msgid "many types of Un*x and Linux binary"
5954 msgstr ""
5955
5956 # type: textblock
5957 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1004
5958 msgid "many types of Un*x and Linux shared library"
5959 msgstr ""
5960
5961 # type: textblock
5962 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1008
5963 msgid "Windows Win32 and Win64 binaries"
5964 msgstr ""
5965
5966 # type: textblock
5967 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1012
5968 msgid "Windows Win32 and Win64 DLLs"
5969 msgstr ""
5970
5971 # type: textblock
5972 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1014
5973 msgid "Win32 binaries and DLLs return C<i386>."
5974 msgstr ""
5975
5976 # type: textblock
5977 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1016
5978 msgid "Win64 binaries and DLLs return C<x86_64>."
5979 msgstr ""
5980
5981 # type: textblock
5982 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1020
5983 msgid "Linux kernel modules"
5984 msgstr ""
5985
5986 # type: textblock
5987 #: ../src/guestfs-actions.pod:1283 ../fish/guestfish-actions.pod:1024
5988 msgid "Linux new-style initrd images"
5989 msgstr ""
5990
5991 # type: textblock
5992 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1028
5993 msgid "some non-x86 Linux vmlinuz kernels"
5994 msgstr ""
5995
5996 # type: textblock
5997 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1032
5998 msgid "What it can't do currently:"
5999 msgstr ""
6000
6001 # type: textblock
6002 #: ../src/guestfs-actions.pod:1297 ../fish/guestfish-actions.pod:1038
6003 msgid "static libraries (libfoo.a)"
6004 msgstr ""
6005
6006 # type: textblock
6007 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1042
6008 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6009 msgstr ""
6010
6011 # type: textblock
6012 #: ../src/guestfs-actions.pod:1305 ../fish/guestfish-actions.pod:1046
6013 msgid "x86 Linux vmlinuz kernels"
6014 msgstr ""
6015
6016 # type: textblock
6017 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1048
6018 msgid ""
6019 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
6020 "compressed code, and are horribly hard to unpack.  If you want to find the "
6021 "architecture of a kernel, use the architecture of the associated initrd or "
6022 "kernel module(s) instead."
6023 msgstr ""
6024
6025 # type: =head2
6026 #: ../src/guestfs-actions.pod:1317
6027 msgid "guestfs_filesize"
6028 msgstr ""
6029
6030 # type: verbatim
6031 #: ../src/guestfs-actions.pod:1319
6032 #, no-wrap
6033 msgid ""
6034 " int64_t guestfs_filesize (guestfs_h *g,\n"
6035 "\t\tconst char *file);\n"
6036 "\n"
6037 msgstr ""
6038
6039 # type: textblock
6040 #: ../src/guestfs-actions.pod:1322 ../fish/guestfish-actions.pod:1059
6041 msgid "This command returns the size of C<file> in bytes."
6042 msgstr ""
6043
6044 # type: textblock
6045 #: ../src/guestfs-actions.pod:1324
6046 msgid ""
6047 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
6048 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
6049 "devices, use C<guestfs_blockdev_getsize64>."
6050 msgstr ""
6051
6052 # type: =head2
6053 #: ../src/guestfs-actions.pod:1330
6054 msgid "guestfs_fill"
6055 msgstr ""
6056
6057 # type: verbatim
6058 #: ../src/guestfs-actions.pod:1332
6059 #, no-wrap
6060 msgid ""
6061 " int guestfs_fill (guestfs_h *g,\n"
6062 "\t\tint c,\n"
6063 "\t\tint len,\n"
6064 "\t\tconst char *path);\n"
6065 "\n"
6066 msgstr ""
6067
6068 # type: textblock
6069 #: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:1069
6070 msgid ""
6071 "This command creates a new file called C<path>.  The initial content of the "
6072 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
6073 "[0..255]>."
6074 msgstr ""
6075
6076 # type: textblock
6077 #: ../src/guestfs-actions.pod:1341
6078 msgid ""
6079 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
6080 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
6081 "bytes use C<guestfs_fill_pattern>."
6082 msgstr ""
6083
6084 # type: =head2
6085 #: ../src/guestfs-actions.pod:1353
6086 msgid "guestfs_fill_pattern"
6087 msgstr ""
6088
6089 # type: verbatim
6090 #: ../src/guestfs-actions.pod:1355
6091 #, no-wrap
6092 msgid ""
6093 " int guestfs_fill_pattern (guestfs_h *g,\n"
6094 "\t\tconst char *pattern,\n"
6095 "\t\tint len,\n"
6096 "\t\tconst char *path);\n"
6097 "\n"
6098 msgstr ""
6099
6100 # type: textblock
6101 #: ../src/guestfs-actions.pod:1360
6102 msgid ""
6103 "This function is like C<guestfs_fill> except that it creates a new file of "
6104 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
6105 "pattern is truncated if necessary to ensure the length of the file is "
6106 "exactly C<len> bytes."
6107 msgstr ""
6108
6109 # type: =head2
6110 #: ../src/guestfs-actions.pod:1372
6111 msgid "guestfs_find"
6112 msgstr ""
6113
6114 # type: verbatim
6115 #: ../src/guestfs-actions.pod:1374
6116 #, no-wrap
6117 msgid ""
6118 " char **guestfs_find (guestfs_h *g,\n"
6119 "\t\tconst char *directory);\n"
6120 "\n"
6121 msgstr ""
6122
6123 # type: textblock
6124 #: ../src/guestfs-actions.pod:1377 ../fish/guestfish-actions.pod:1091
6125 msgid ""
6126 "This command lists out all files and directories, recursively, starting at "
6127 "C<directory>.  It is essentially equivalent to running the shell command "
6128 "C<find directory -print> but some post-processing happens on the output, "
6129 "described below."
6130 msgstr ""
6131
6132 # type: textblock
6133 #: ../src/guestfs-actions.pod:1382 ../fish/guestfish-actions.pod:1096
6134 msgid ""
6135 "This returns a list of strings I<without any prefix>.  Thus if the directory "
6136 "structure was:"
6137 msgstr ""
6138
6139 # type: verbatim
6140 #: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:1099
6141 #, no-wrap
6142 msgid ""
6143 " /tmp/a\n"
6144 " /tmp/b\n"
6145 " /tmp/c/d\n"
6146 "\n"
6147 msgstr ""
6148
6149 # type: textblock
6150 #: ../src/guestfs-actions.pod:1389
6151 msgid ""
6152 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
6153 msgstr ""
6154
6155 # type: verbatim
6156 #: ../src/guestfs-actions.pod:1392 ../fish/guestfish-actions.pod:1106
6157 #, no-wrap
6158 msgid ""
6159 " a\n"
6160 " b\n"
6161 " c\n"
6162 " c/d\n"
6163 "\n"
6164 msgstr ""
6165
6166 # type: textblock
6167 #: ../src/guestfs-actions.pod:1397 ../fish/guestfish-actions.pod:1111
6168 msgid "If C<directory> is not a directory, then this command returns an error."
6169 msgstr ""
6170
6171 # type: textblock
6172 #: ../src/guestfs-actions.pod:1400 ../fish/guestfish-actions.pod:1114
6173 msgid "The returned list is sorted."
6174 msgstr ""
6175
6176 # type: textblock
6177 #: ../src/guestfs-actions.pod:1402
6178 msgid "See also C<guestfs_find0>."
6179 msgstr ""
6180
6181 # type: =head2
6182 #: ../src/guestfs-actions.pod:1411
6183 msgid "guestfs_find0"
6184 msgstr ""
6185
6186 # type: verbatim
6187 #: ../src/guestfs-actions.pod:1413
6188 #, no-wrap
6189 msgid ""
6190 " int guestfs_find0 (guestfs_h *g,\n"
6191 "\t\tconst char *directory,\n"
6192 "\t\tconst char *files);\n"
6193 "\n"
6194 msgstr ""
6195
6196 # type: textblock
6197 #: ../src/guestfs-actions.pod:1417 ../fish/guestfish-actions.pod:1125
6198 msgid ""
6199 "This command lists out all files and directories, recursively, starting at "
6200 "C<directory>, placing the resulting list in the external file called "
6201 "C<files>."
6202 msgstr ""
6203
6204 # type: textblock
6205 #: ../src/guestfs-actions.pod:1421
6206 msgid ""
6207 "This command works the same way as C<guestfs_find> with the following "
6208 "exceptions:"
6209 msgstr ""
6210
6211 # type: textblock
6212 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1136
6213 msgid "The resulting list is written to an external file."
6214 msgstr ""
6215
6216 # type: textblock
6217 #: ../src/guestfs-actions.pod:1432 ../fish/guestfish-actions.pod:1140
6218 msgid ""
6219 "Items (filenames) in the result are separated by C<\\0> characters.  See "
6220 "L<find(1)> option I<-print0>."
6221 msgstr ""
6222
6223 # type: textblock
6224 #: ../src/guestfs-actions.pod:1437 ../fish/guestfish-actions.pod:1145
6225 msgid "This command is not limited in the number of names that it can return."
6226 msgstr ""
6227
6228 # type: textblock
6229 #: ../src/guestfs-actions.pod:1442 ../fish/guestfish-actions.pod:1150
6230 msgid "The result list is not sorted."
6231 msgstr ""
6232
6233 # type: =head2
6234 #: ../src/guestfs-actions.pod:1448
6235 msgid "guestfs_findfs_label"
6236 msgstr ""
6237
6238 # type: verbatim
6239 #: ../src/guestfs-actions.pod:1450
6240 #, no-wrap
6241 msgid ""
6242 " char *guestfs_findfs_label (guestfs_h *g,\n"
6243 "\t\tconst char *label);\n"
6244 "\n"
6245 msgstr ""
6246
6247 # type: textblock
6248 #: ../src/guestfs-actions.pod:1453 ../fish/guestfish-actions.pod:1160
6249 msgid ""
6250 "This command searches the filesystems and returns the one which has the "
6251 "given label.  An error is returned if no such filesystem can be found."
6252 msgstr ""
6253
6254 # type: textblock
6255 #: ../src/guestfs-actions.pod:1457
6256 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6257 msgstr ""
6258
6259 # type: =head2
6260 #: ../src/guestfs-actions.pod:1462
6261 msgid "guestfs_findfs_uuid"
6262 msgstr ""
6263
6264 # type: verbatim
6265 #: ../src/guestfs-actions.pod:1464
6266 #, no-wrap
6267 msgid ""
6268 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6269 "\t\tconst char *uuid);\n"
6270 "\n"
6271 msgstr ""
6272
6273 # type: textblock
6274 #: ../src/guestfs-actions.pod:1467 ../fish/guestfish-actions.pod:1170
6275 msgid ""
6276 "This command searches the filesystems and returns the one which has the "
6277 "given UUID.  An error is returned if no such filesystem can be found."
6278 msgstr ""
6279
6280 # type: textblock
6281 #: ../src/guestfs-actions.pod:1471
6282 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6283 msgstr ""
6284
6285 # type: =head2
6286 #: ../src/guestfs-actions.pod:1476
6287 msgid "guestfs_fsck"
6288 msgstr ""
6289
6290 # type: verbatim
6291 #: ../src/guestfs-actions.pod:1478
6292 #, no-wrap
6293 msgid ""
6294 " int guestfs_fsck (guestfs_h *g,\n"
6295 "\t\tconst char *fstype,\n"
6296 "\t\tconst char *device);\n"
6297 "\n"
6298 msgstr ""
6299
6300 # type: textblock
6301 #: ../src/guestfs-actions.pod:1482 ../fish/guestfish-actions.pod:1180
6302 msgid ""
6303 "This runs the filesystem checker (fsck) on C<device> which should have "
6304 "filesystem type C<fstype>."
6305 msgstr ""
6306
6307 # type: textblock
6308 #: ../src/guestfs-actions.pod:1485 ../fish/guestfish-actions.pod:1183
6309 msgid ""
6310 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6311 "codes from C<fsck>."
6312 msgstr ""
6313
6314 # type: textblock
6315 #: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:1192
6316 msgid "Multiple status codes can be summed together."
6317 msgstr ""
6318
6319 # type: textblock
6320 #: ../src/guestfs-actions.pod:1498 ../fish/guestfish-actions.pod:1196
6321 msgid ""
6322 "A non-zero return code can mean \"success\", for example if errors have been "
6323 "corrected on the filesystem."
6324 msgstr ""
6325
6326 # type: textblock
6327 #: ../src/guestfs-actions.pod:1503 ../fish/guestfish-actions.pod:1201
6328 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6329 msgstr ""
6330
6331 # type: textblock
6332 #: ../src/guestfs-actions.pod:1508 ../fish/guestfish-actions.pod:1206
6333 msgid ""
6334 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6335 msgstr ""
6336
6337 # type: =head2
6338 #: ../src/guestfs-actions.pod:1512
6339 msgid "guestfs_get_append"
6340 msgstr ""
6341
6342 # type: verbatim
6343 #: ../src/guestfs-actions.pod:1514
6344 #, no-wrap
6345 msgid ""
6346 " const char *guestfs_get_append (guestfs_h *g);\n"
6347 "\n"
6348 msgstr ""
6349
6350 # type: textblock
6351 #: ../src/guestfs-actions.pod:1516 ../fish/guestfish-actions.pod:1212
6352 msgid ""
6353 "Return the additional kernel options which are added to the guest kernel "
6354 "command line."
6355 msgstr ""
6356
6357 # type: textblock
6358 #: ../src/guestfs-actions.pod:1519 ../fish/guestfish-actions.pod:1215
6359 msgid "If C<NULL> then no options are added."
6360 msgstr ""
6361
6362 # type: textblock
6363 #: ../src/guestfs-actions.pod:1521
6364 msgid ""
6365 "This function returns a string which may be NULL.  There is no way to return "
6366 "an error from this function.  The string is owned by the guest handle and "
6367 "must I<not> be freed."
6368 msgstr ""
6369
6370 # type: =head2
6371 #: ../src/guestfs-actions.pod:1525
6372 msgid "guestfs_get_autosync"
6373 msgstr ""
6374
6375 # type: verbatim
6376 #: ../src/guestfs-actions.pod:1527
6377 #, no-wrap
6378 msgid ""
6379 " int guestfs_get_autosync (guestfs_h *g);\n"
6380 "\n"
6381 msgstr ""
6382
6383 # type: textblock
6384 #: ../src/guestfs-actions.pod:1529 ../fish/guestfish-actions.pod:1221
6385 msgid "Get the autosync flag."
6386 msgstr ""
6387
6388 # type: =head2
6389 #: ../src/guestfs-actions.pod:1533
6390 msgid "guestfs_get_direct"
6391 msgstr ""
6392
6393 # type: verbatim
6394 #: ../src/guestfs-actions.pod:1535
6395 #, no-wrap
6396 msgid ""
6397 " int guestfs_get_direct (guestfs_h *g);\n"
6398 "\n"
6399 msgstr ""
6400
6401 # type: textblock
6402 #: ../src/guestfs-actions.pod:1537 ../fish/guestfish-actions.pod:1227
6403 msgid "Return the direct appliance mode flag."
6404 msgstr ""
6405
6406 # type: =head2
6407 #: ../src/guestfs-actions.pod:1541
6408 msgid "guestfs_get_e2label"
6409 msgstr ""
6410
6411 # type: verbatim
6412 #: ../src/guestfs-actions.pod:1543
6413 #, no-wrap
6414 msgid ""
6415 " char *guestfs_get_e2label (guestfs_h *g,\n"
6416 "\t\tconst char *device);\n"
6417 "\n"
6418 msgstr ""
6419
6420 # type: textblock
6421 #: ../src/guestfs-actions.pod:1546 ../fish/guestfish-actions.pod:1233
6422 msgid ""
6423 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6424 msgstr ""
6425
6426 # type: textblock
6427 #: ../src/guestfs-actions.pod:1552 ../fish/guestfish-actions.pod:1236
6428 msgid ""
6429 "This function is deprecated.  In new code, use the C<vfs_label> call instead."
6430 msgstr ""
6431
6432 # type: =head2
6433 #: ../src/guestfs-actions.pod:1559
6434 msgid "guestfs_get_e2uuid"
6435 msgstr ""
6436
6437 # type: verbatim
6438 #: ../src/guestfs-actions.pod:1561
6439 #, no-wrap
6440 msgid ""
6441 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6442 "\t\tconst char *device);\n"
6443 "\n"
6444 msgstr ""
6445
6446 # type: textblock
6447 #: ../src/guestfs-actions.pod:1564 ../fish/guestfish-actions.pod:1247
6448 msgid ""
6449 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6450 msgstr ""
6451
6452 # type: textblock
6453 #: ../src/guestfs-actions.pod:1570 ../fish/guestfish-actions.pod:1250
6454 msgid ""
6455 "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6456 msgstr ""
6457
6458 # type: =head2
6459 #: ../src/guestfs-actions.pod:1577
6460 msgid "guestfs_get_memsize"
6461 msgstr ""
6462
6463 # type: verbatim
6464 #: ../src/guestfs-actions.pod:1579
6465 #, no-wrap
6466 msgid ""
6467 " int guestfs_get_memsize (guestfs_h *g);\n"
6468 "\n"
6469 msgstr ""
6470
6471 # type: textblock
6472 #: ../src/guestfs-actions.pod:1581 ../fish/guestfish-actions.pod:1261
6473 msgid ""
6474 "This gets the memory size in megabytes allocated to the qemu subprocess."
6475 msgstr ""
6476
6477 # type: textblock
6478 #: ../src/guestfs-actions.pod:1584
6479 msgid ""
6480 "If C<guestfs_set_memsize> was not called on this handle, and if "
6481 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6482 "value for memsize."
6483 msgstr ""
6484
6485 # type: textblock
6486 #: ../src/guestfs-actions.pod:1588 ../src/guestfs-actions.pod:1651
6487 #: ../src/guestfs-actions.pod:4177 ../src/guestfs-actions.pod:4269
6488 #: ../fish/guestfish-actions.pod:1268 ../fish/guestfish-actions.pod:1317
6489 #: ../fish/guestfish-actions.pod:3223 ../fish/guestfish-actions.pod:3300
6490 msgid ""
6491 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6492 msgstr ""
6493
6494 # type: =head2
6495 #: ../src/guestfs-actions.pod:1593
6496 msgid "guestfs_get_network"
6497 msgstr ""
6498
6499 # type: verbatim
6500 #: ../src/guestfs-actions.pod:1595
6501 #, no-wrap
6502 msgid ""
6503 " int guestfs_get_network (guestfs_h *g);\n"
6504 "\n"
6505 msgstr ""
6506
6507 # type: textblock
6508 #: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1275
6509 msgid "This returns the enable network flag."
6510 msgstr ""
6511
6512 # type: =head2
6513 #: ../src/guestfs-actions.pod:1601
6514 msgid "guestfs_get_path"
6515 msgstr ""
6516
6517 # type: verbatim
6518 #: ../src/guestfs-actions.pod:1603
6519 #, no-wrap
6520 msgid ""
6521 " const char *guestfs_get_path (guestfs_h *g);\n"
6522 "\n"
6523 msgstr ""
6524
6525 # type: textblock
6526 #: ../src/guestfs-actions.pod:1605 ../fish/guestfish-actions.pod:1281
6527 msgid "Return the current search path."
6528 msgstr ""
6529
6530 # type: textblock
6531 #: ../src/guestfs-actions.pod:1607 ../fish/guestfish-actions.pod:1283
6532 msgid ""
6533 "This is always non-NULL.  If it wasn't set already, then this will return "
6534 "the default path."
6535 msgstr ""
6536
6537 # type: textblock
6538 #: ../src/guestfs-actions.pod:1610 ../src/guestfs-actions.pod:1633
6539 msgid ""
6540 "This function returns a string, or NULL on error.  The string is owned by "
6541 "the guest handle and must I<not> be freed."
6542 msgstr ""
6543
6544 # type: =head2
6545 #: ../src/guestfs-actions.pod:1613
6546 msgid "guestfs_get_pid"
6547 msgstr ""
6548
6549 # type: verbatim
6550 #: ../src/guestfs-actions.pod:1615
6551 #, no-wrap
6552 msgid ""
6553 " int guestfs_get_pid (guestfs_h *g);\n"
6554 "\n"
6555 msgstr ""
6556
6557 # type: textblock
6558 #: ../src/guestfs-actions.pod:1617 ../fish/guestfish-actions.pod:1290
6559 msgid ""
6560 "Return the process ID of the qemu subprocess.  If there is no qemu "
6561 "subprocess, then this will return an error."
6562 msgstr ""
6563
6564 # type: textblock
6565 #: ../src/guestfs-actions.pod:1620 ../fish/guestfish-actions.pod:1293
6566 msgid "This is an internal call used for debugging and testing."
6567 msgstr ""
6568
6569 # type: =head2
6570 #: ../src/guestfs-actions.pod:1624
6571 msgid "guestfs_get_qemu"
6572 msgstr ""
6573
6574 # type: verbatim
6575 #: ../src/guestfs-actions.pod:1626
6576 #, no-wrap
6577 msgid ""
6578 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6579 "\n"
6580 msgstr ""
6581
6582 # type: textblock
6583 #: ../src/guestfs-actions.pod:1628 ../fish/guestfish-actions.pod:1299
6584 msgid "Return the current qemu binary."
6585 msgstr ""
6586
6587 # type: textblock
6588 #: ../src/guestfs-actions.pod:1630 ../fish/guestfish-actions.pod:1301
6589 msgid ""
6590 "This is always non-NULL.  If it wasn't set already, then this will return "
6591 "the default qemu binary name."
6592 msgstr ""
6593
6594 # type: =head2
6595 #: ../src/guestfs-actions.pod:1636
6596 msgid "guestfs_get_recovery_proc"
6597 msgstr ""
6598
6599 # type: verbatim
6600 #: ../src/guestfs-actions.pod:1638
6601 #, no-wrap
6602 msgid ""
6603 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6604 "\n"
6605 msgstr ""
6606
6607 # type: textblock
6608 #: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1308
6609 msgid "Return the recovery process enabled flag."
6610 msgstr ""
6611
6612 # type: =head2
6613 #: ../src/guestfs-actions.pod:1644
6614 msgid "guestfs_get_selinux"
6615 msgstr ""
6616
6617 # type: verbatim
6618 #: ../src/guestfs-actions.pod:1646
6619 #, no-wrap
6620 msgid ""
6621 " int guestfs_get_selinux (guestfs_h *g);\n"
6622 "\n"
6623 msgstr ""
6624
6625 # type: textblock
6626 #: ../src/guestfs-actions.pod:1648
6627 msgid ""
6628 "This returns the current setting of the selinux flag which is passed to the "
6629 "appliance at boot time.  See C<guestfs_set_selinux>."
6630 msgstr ""
6631
6632 # type: =head2
6633 #: ../src/guestfs-actions.pod:1656
6634 msgid "guestfs_get_state"
6635 msgstr ""
6636
6637 # type: verbatim
6638 #: ../src/guestfs-actions.pod:1658
6639 #, no-wrap
6640 msgid ""
6641 " int guestfs_get_state (guestfs_h *g);\n"
6642 "\n"
6643 msgstr ""
6644
6645 # type: textblock
6646 #: ../src/guestfs-actions.pod:1660 ../fish/guestfish-actions.pod:1324
6647 msgid ""
6648 "This returns the current state as an opaque integer.  This is only useful "
6649 "for printing debug and internal error messages."
6650 msgstr ""
6651
6652 # type: textblock
6653 #: ../src/guestfs-actions.pod:1663 ../src/guestfs-actions.pod:2270
6654 #: ../src/guestfs-actions.pod:2281 ../src/guestfs-actions.pod:2318
6655 #: ../src/guestfs-actions.pod:2339 ../fish/guestfish-actions.pod:1327
6656 #: ../fish/guestfish-actions.pod:1810 ../fish/guestfish-actions.pod:1819
6657 #: ../fish/guestfish-actions.pod:1848 ../fish/guestfish-actions.pod:1864
6658 msgid "For more information on states, see L<guestfs(3)>."
6659 msgstr ""
6660
6661 # type: =head2
6662 #: ../src/guestfs-actions.pod:1667
6663 msgid "guestfs_get_trace"
6664 msgstr ""
6665
6666 # type: verbatim
6667 #: ../src/guestfs-actions.pod:1669
6668 #, no-wrap
6669 msgid ""
6670 " int guestfs_get_trace (guestfs_h *g);\n"
6671 "\n"
6672 msgstr ""
6673
6674 # type: textblock
6675 #: ../src/guestfs-actions.pod:1671 ../fish/guestfish-actions.pod:1333
6676 msgid "Return the command trace flag."
6677 msgstr ""
6678
6679 # type: =head2
6680 #: ../src/guestfs-actions.pod:1675
6681 msgid "guestfs_get_umask"
6682 msgstr ""
6683
6684 # type: verbatim
6685 #: ../src/guestfs-actions.pod:1677
6686 #, no-wrap
6687 msgid ""
6688 " int guestfs_get_umask (guestfs_h *g);\n"
6689 "\n"
6690 msgstr ""
6691
6692 # type: textblock
6693 #: ../src/guestfs-actions.pod:1679
6694 msgid ""
6695 "Return the current umask.  By default the umask is C<022> unless it has been "
6696 "set by calling C<guestfs_umask>."
6697 msgstr ""
6698
6699 # type: =head2
6700 #: ../src/guestfs-actions.pod:1684
6701 msgid "guestfs_get_verbose"
6702 msgstr ""
6703
6704 # type: verbatim
6705 #: ../src/guestfs-actions.pod:1686
6706 #, no-wrap
6707 msgid ""
6708 " int guestfs_get_verbose (guestfs_h *g);\n"
6709 "\n"
6710 msgstr ""
6711
6712 # type: textblock
6713 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1346
6714 msgid "This returns the verbose messages flag."
6715 msgstr ""
6716
6717 # type: =head2
6718 #: ../src/guestfs-actions.pod:1692
6719 msgid "guestfs_getcon"
6720 msgstr ""
6721
6722 # type: verbatim
6723 #: ../src/guestfs-actions.pod:1694
6724 #, no-wrap
6725 msgid ""
6726 " char *guestfs_getcon (guestfs_h *g);\n"
6727 "\n"
6728 msgstr ""
6729
6730 # type: textblock
6731 #: ../src/guestfs-actions.pod:1696 ../fish/guestfish-actions.pod:1352
6732 msgid "This gets the SELinux security context of the daemon."
6733 msgstr ""
6734
6735 # type: textblock
6736 #: ../src/guestfs-actions.pod:1698
6737 msgid ""
6738 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6739 msgstr ""
6740
6741 # type: =head2
6742 #: ../src/guestfs-actions.pod:1704
6743 msgid "guestfs_getxattrs"
6744 msgstr ""
6745
6746 # type: verbatim
6747 #: ../src/guestfs-actions.pod:1706
6748 #, no-wrap
6749 msgid ""
6750 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6751 "\t\tconst char *path);\n"
6752 "\n"
6753 msgstr ""
6754
6755 # type: textblock
6756 #: ../src/guestfs-actions.pod:1709 ../fish/guestfish-actions.pod:1361
6757 msgid ""
6758 "This call lists the extended attributes of the file or directory C<path>."
6759 msgstr ""
6760
6761 # type: textblock
6762 #: ../src/guestfs-actions.pod:1712 ../fish/guestfish-actions.pod:1364
6763 msgid ""
6764 "At the system call level, this is a combination of the L<listxattr(2)> and "
6765 "L<getxattr(2)> calls."
6766 msgstr ""
6767
6768 # type: textblock
6769 #: ../src/guestfs-actions.pod:1715
6770 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6771 msgstr ""
6772
6773 # type: textblock
6774 #: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:2389
6775 #: ../src/guestfs-actions.pod:2884
6776 msgid ""
6777 "This function returns a C<struct guestfs_xattr_list *> (see E<lt>guestfs-"
6778 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
6779 "C<guestfs_free_xattr_list> after use>."
6780 msgstr ""
6781
6782 # type: =head2
6783 #: ../src/guestfs-actions.pod:1722
6784 msgid "guestfs_glob_expand"
6785 msgstr ""
6786
6787 # type: verbatim
6788 #: ../src/guestfs-actions.pod:1724
6789 #, no-wrap
6790 msgid ""
6791 " char **guestfs_glob_expand (guestfs_h *g,\n"
6792 "\t\tconst char *pattern);\n"
6793 "\n"
6794 msgstr ""
6795
6796 # type: textblock
6797 #: ../src/guestfs-actions.pod:1727 ../fish/guestfish-actions.pod:1373
6798 msgid ""
6799 "This command searches for all the pathnames matching C<pattern> according to "
6800 "the wildcard expansion rules used by the shell."
6801 msgstr ""
6802
6803 # type: textblock
6804 #: ../src/guestfs-actions.pod:1731 ../fish/guestfish-actions.pod:1377
6805 msgid ""
6806 "If no paths match, then this returns an empty list (note: not an error)."
6807 msgstr ""
6808
6809 # type: textblock
6810 #: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1380
6811 msgid ""
6812 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
6813 "GLOB_BRACE>.  See that manual page for more details."
6814 msgstr ""
6815
6816 # type: =head2
6817 #: ../src/guestfs-actions.pod:1742
6818 msgid "guestfs_grep"
6819 msgstr ""
6820
6821 # type: verbatim
6822 #: ../src/guestfs-actions.pod:1744
6823 #, no-wrap
6824 msgid ""
6825 " char **guestfs_grep (guestfs_h *g,\n"
6826 "\t\tconst char *regex,\n"
6827 "\t\tconst char *path);\n"
6828 "\n"
6829 msgstr ""
6830
6831 # type: textblock
6832 #: ../src/guestfs-actions.pod:1748 ../fish/guestfish-actions.pod:1388
6833 msgid "This calls the external C<grep> program and returns the matching lines."
6834 msgstr ""
6835
6836 # type: =head2
6837 #: ../src/guestfs-actions.pod:1758
6838 msgid "guestfs_grepi"
6839 msgstr ""
6840
6841 # type: verbatim
6842 #: ../src/guestfs-actions.pod:1760
6843 #, no-wrap
6844 msgid ""
6845 " char **guestfs_grepi (guestfs_h *g,\n"
6846 "\t\tconst char *regex,\n"
6847 "\t\tconst char *path);\n"
6848 "\n"
6849 msgstr ""
6850
6851 # type: textblock
6852 #: ../src/guestfs-actions.pod:1764 ../fish/guestfish-actions.pod:1398
6853 msgid ""
6854 "This calls the external C<grep -i> program and returns the matching lines."
6855 msgstr ""
6856
6857 # type: =head2
6858 #: ../src/guestfs-actions.pod:1774
6859 msgid "guestfs_grub_install"
6860 msgstr ""
6861
6862 # type: verbatim
6863 #: ../src/guestfs-actions.pod:1776
6864 #, no-wrap
6865 msgid ""
6866 " int guestfs_grub_install (guestfs_h *g,\n"
6867 "\t\tconst char *root,\n"
6868 "\t\tconst char *device);\n"
6869 "\n"
6870 msgstr ""
6871
6872 # type: textblock
6873 #: ../src/guestfs-actions.pod:1780 ../fish/guestfish-actions.pod:1408
6874 msgid ""
6875 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
6876 "the root directory being C<root>."
6877 msgstr ""
6878
6879 # type: textblock
6880 #: ../src/guestfs-actions.pod:1783 ../fish/guestfish-actions.pod:1411
6881 msgid ""
6882 "Note: If grub-install reports the error \"No suitable drive was found in the "
6883 "generated device map.\" it may be that you need to create a C</boot/grub/"
6884 "device.map> file first that contains the mapping between grub device names "
6885 "and Linux device names.  It is usually sufficient to create a file "
6886 "containing:"
6887 msgstr ""
6888
6889 # type: verbatim
6890 #: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1418
6891 #, no-wrap
6892 msgid ""
6893 " (hd0) /dev/vda\n"
6894 "\n"
6895 msgstr ""
6896
6897 # type: textblock
6898 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1420
6899 msgid "replacing C</dev/vda> with the name of the installation device."
6900 msgstr ""
6901
6902 # type: =head2
6903 #: ../src/guestfs-actions.pod:1796
6904 msgid "guestfs_head"
6905 msgstr ""
6906
6907 # type: verbatim
6908 #: ../src/guestfs-actions.pod:1798
6909 #, no-wrap
6910 msgid ""
6911 " char **guestfs_head (guestfs_h *g,\n"
6912 "\t\tconst char *path);\n"
6913 "\n"
6914 msgstr ""
6915
6916 # type: textblock
6917 #: ../src/guestfs-actions.pod:1801 ../fish/guestfish-actions.pod:1426
6918 msgid ""
6919 "This command returns up to the first 10 lines of a file as a list of strings."
6920 msgstr ""
6921
6922 # type: =head2
6923 #: ../src/guestfs-actions.pod:1811
6924 msgid "guestfs_head_n"
6925 msgstr ""
6926
6927 # type: verbatim
6928 #: ../src/guestfs-actions.pod:1813
6929 #, no-wrap
6930 msgid ""
6931 " char **guestfs_head_n (guestfs_h *g,\n"
6932 "\t\tint nrlines,\n"
6933 "\t\tconst char *path);\n"
6934 "\n"
6935 msgstr ""
6936
6937 # type: textblock
6938 #: ../src/guestfs-actions.pod:1817 ../fish/guestfish-actions.pod:1436
6939 msgid ""
6940 "If the parameter C<nrlines> is a positive number, this returns the first "
6941 "C<nrlines> lines of the file C<path>."
6942 msgstr ""
6943
6944 # type: textblock
6945 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1439
6946 msgid ""
6947 "If the parameter C<nrlines> is a negative number, this returns lines from "
6948 "the file C<path>, excluding the last C<nrlines> lines."
6949 msgstr ""
6950
6951 # type: textblock
6952 #: ../src/guestfs-actions.pod:1823 ../src/guestfs-actions.pod:4725
6953 #: ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:3642
6954 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
6955 msgstr ""
6956
6957 # type: =head2
6958 #: ../src/guestfs-actions.pod:1832
6959 msgid "guestfs_hexdump"
6960 msgstr ""
6961
6962 # type: verbatim
6963 #: ../src/guestfs-actions.pod:1834
6964 #, no-wrap
6965 msgid ""
6966 " char *guestfs_hexdump (guestfs_h *g,\n"
6967 "\t\tconst char *path);\n"
6968 "\n"
6969 msgstr ""
6970
6971 # type: textblock
6972 #: ../src/guestfs-actions.pod:1837 ../fish/guestfish-actions.pod:1451
6973 msgid ""
6974 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
6975 "readable, canonical hex dump of the file."
6976 msgstr ""
6977
6978 # type: =head2
6979 #: ../src/guestfs-actions.pod:1846
6980 msgid "guestfs_initrd_cat"
6981 msgstr ""
6982
6983 # type: verbatim
6984 #: ../src/guestfs-actions.pod:1848
6985 #, no-wrap
6986 msgid ""
6987 " char *guestfs_initrd_cat (guestfs_h *g,\n"
6988 "\t\tconst char *initrdpath,\n"
6989 "\t\tconst char *filename,\n"
6990 "\t\tsize_t *size_r);\n"
6991 "\n"
6992 msgstr ""
6993
6994 # type: textblock
6995 #: ../src/guestfs-actions.pod:1853 ../fish/guestfish-actions.pod:1461
6996 msgid ""
6997 "This command unpacks the file C<filename> from the initrd file called "
6998 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
6999 "character."
7000 msgstr ""
7001
7002 # type: textblock
7003 #: ../src/guestfs-actions.pod:1857 ../fish/guestfish-actions.pod:1465
7004 msgid ""
7005 "For example, in guestfish you could use the following command to examine the "
7006 "boot script (usually called C</init>)  contained in a Linux initrd or "
7007 "initramfs image:"
7008 msgstr ""
7009
7010 # type: verbatim
7011 #: ../src/guestfs-actions.pod:1861 ../fish/guestfish-actions.pod:1469
7012 #, no-wrap
7013 msgid ""
7014 " initrd-cat /boot/initrd-<version>.img init\n"
7015 "\n"
7016 msgstr ""
7017
7018 # type: textblock
7019 #: ../src/guestfs-actions.pod:1863
7020 msgid "See also C<guestfs_initrd_list>."
7021 msgstr ""
7022
7023 # type: textblock
7024 #: ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:3683
7025 #: ../src/guestfs-actions.pod:3812
7026 msgid ""
7027 "This function returns a buffer, or NULL on error.  The size of the returned "
7028 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
7029 "after use>."
7030 msgstr ""
7031
7032 # type: =head2
7033 #: ../src/guestfs-actions.pod:1872
7034 msgid "guestfs_initrd_list"
7035 msgstr ""
7036
7037 # type: verbatim
7038 #: ../src/guestfs-actions.pod:1874
7039 #, no-wrap
7040 msgid ""
7041 " char **guestfs_initrd_list (guestfs_h *g,\n"
7042 "\t\tconst char *path);\n"
7043 "\n"
7044 msgstr ""
7045
7046 # type: textblock
7047 #: ../src/guestfs-actions.pod:1877 ../fish/guestfish-actions.pod:1480
7048 msgid "This command lists out files contained in an initrd."
7049 msgstr ""
7050
7051 # type: textblock
7052 #: ../src/guestfs-actions.pod:1879 ../fish/guestfish-actions.pod:1482
7053 msgid ""
7054 "The files are listed without any initial C</> character.  The files are "
7055 "listed in the order they appear (not necessarily alphabetical).  Directory "
7056 "names are listed as separate items."
7057 msgstr ""
7058
7059 # type: textblock
7060 #: ../src/guestfs-actions.pod:1883 ../fish/guestfish-actions.pod:1486
7061 msgid ""
7062 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
7063 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
7064 "files)."
7065 msgstr ""
7066
7067 # type: =head2
7068 #: ../src/guestfs-actions.pod:1891
7069 msgid "guestfs_inotify_add_watch"
7070 msgstr ""
7071
7072 # type: verbatim
7073 #: ../src/guestfs-actions.pod:1893
7074 #, no-wrap
7075 msgid ""
7076 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
7077 "\t\tconst char *path,\n"
7078 "\t\tint mask);\n"
7079 "\n"
7080 msgstr ""
7081
7082 # type: textblock
7083 #: ../src/guestfs-actions.pod:1897 ../fish/guestfish-actions.pod:1494
7084 msgid "Watch C<path> for the events listed in C<mask>."
7085 msgstr ""
7086
7087 # type: textblock
7088 #: ../src/guestfs-actions.pod:1899 ../fish/guestfish-actions.pod:1496
7089 msgid ""
7090 "Note that if C<path> is a directory then events within that directory are "
7091 "watched, but this does I<not> happen recursively (in subdirectories)."
7092 msgstr ""
7093
7094 # type: textblock
7095 #: ../src/guestfs-actions.pod:1903 ../fish/guestfish-actions.pod:1500
7096 msgid ""
7097 "Note for non-C or non-Linux callers: the inotify events are defined by the "
7098 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
7099 msgstr ""
7100
7101 # type: =head2
7102 #: ../src/guestfs-actions.pod:1909
7103 msgid "guestfs_inotify_close"
7104 msgstr ""
7105
7106 # type: verbatim
7107 #: ../src/guestfs-actions.pod:1911
7108 #, no-wrap
7109 msgid ""
7110 " int guestfs_inotify_close (guestfs_h *g);\n"
7111 "\n"
7112 msgstr ""
7113
7114 # type: textblock
7115 #: ../src/guestfs-actions.pod:1913 ../fish/guestfish-actions.pod:1508
7116 msgid ""
7117 "This closes the inotify handle which was previously opened by inotify_init.  "
7118 "It removes all watches, throws away any pending events, and deallocates all "
7119 "resources."
7120 msgstr ""
7121
7122 # type: =head2
7123 #: ../src/guestfs-actions.pod:1919
7124 msgid "guestfs_inotify_files"
7125 msgstr ""
7126
7127 # type: verbatim
7128 #: ../src/guestfs-actions.pod:1921
7129 #, no-wrap
7130 msgid ""
7131 " char **guestfs_inotify_files (guestfs_h *g);\n"
7132 "\n"
7133 msgstr ""
7134
7135 # type: textblock
7136 #: ../src/guestfs-actions.pod:1923
7137 msgid ""
7138 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
7139 "returns a list of pathnames of objects that were touched.  The returned "
7140 "pathnames are sorted and deduplicated."
7141 msgstr ""
7142
7143 # type: =head2
7144 #: ../src/guestfs-actions.pod:1931
7145 msgid "guestfs_inotify_init"
7146 msgstr ""
7147
7148 # type: verbatim
7149 #: ../src/guestfs-actions.pod:1933
7150 #, no-wrap
7151 msgid ""
7152 " int guestfs_inotify_init (guestfs_h *g,\n"
7153 "\t\tint maxevents);\n"
7154 "\n"
7155 msgstr ""
7156
7157 # type: textblock
7158 #: ../src/guestfs-actions.pod:1936 ../fish/guestfish-actions.pod:1524
7159 msgid ""
7160 "This command creates a new inotify handle.  The inotify subsystem can be "
7161 "used to notify events which happen to objects in the guest filesystem."
7162 msgstr ""
7163
7164 # type: textblock
7165 #: ../src/guestfs-actions.pod:1940
7166 msgid ""
7167 "C<maxevents> is the maximum number of events which will be queued up between "
7168 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
7169 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
7170 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
7171 "throws away events, but records the fact that it threw them away by setting "
7172 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
7173 "C<guestfs_inotify_read>)."
7174 msgstr ""
7175
7176 # type: textblock
7177 #: ../src/guestfs-actions.pod:1950
7178 msgid ""
7179 "Before any events are generated, you have to add some watches to the "
7180 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
7181 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
7182 msgstr ""
7183
7184 # type: textblock
7185 #: ../src/guestfs-actions.pod:1956
7186 msgid ""
7187 "Queued up events should be read periodically by calling "
7188 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
7189 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
7190 "often enough then you risk the internal queue overflowing."
7191 msgstr ""
7192
7193 # type: textblock
7194 #: ../src/guestfs-actions.pod:1963
7195 msgid ""
7196 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
7197 "This also removes any watches automatically."
7198 msgstr ""
7199
7200 # type: textblock
7201 #: ../src/guestfs-actions.pod:1967 ../fish/guestfish-actions.pod:1555
7202 msgid ""
7203 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
7204 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
7205 "that there is one global inotify handle per libguestfs instance."
7206 msgstr ""
7207
7208 # type: =head2
7209 #: ../src/guestfs-actions.pod:1974
7210 msgid "guestfs_inotify_read"
7211 msgstr ""
7212
7213 # type: verbatim
7214 #: ../src/guestfs-actions.pod:1976
7215 #, no-wrap
7216 msgid ""
7217 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
7218 "\n"
7219 msgstr ""
7220
7221 # type: textblock
7222 #: ../src/guestfs-actions.pod:1978 ../fish/guestfish-actions.pod:1564
7223 msgid ""
7224 "Return the complete queue of events that have happened since the previous "
7225 "read call."
7226 msgstr ""
7227
7228 # type: textblock
7229 #: ../src/guestfs-actions.pod:1981 ../fish/guestfish-actions.pod:1567
7230 msgid "If no events have happened, this returns an empty list."
7231 msgstr ""
7232
7233 # type: textblock
7234 #: ../src/guestfs-actions.pod:1983 ../fish/guestfish-actions.pod:1569
7235 msgid ""
7236 "I<Note>: In order to make sure that all events have been read, you must call "
7237 "this function repeatedly until it returns an empty list.  The reason is that "
7238 "the call will read events up to the maximum appliance-to-host message size "
7239 "and leave remaining events in the queue."
7240 msgstr ""
7241
7242 # type: textblock
7243 #: ../src/guestfs-actions.pod:1989
7244 msgid ""
7245 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7246 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7247 "must call C<guestfs_free_inotify_event_list> after use>."
7248 msgstr ""
7249
7250 # type: =head2
7251 #: ../src/guestfs-actions.pod:1994
7252 msgid "guestfs_inotify_rm_watch"
7253 msgstr ""
7254
7255 # type: verbatim
7256 #: ../src/guestfs-actions.pod:1996
7257 #, no-wrap
7258 msgid ""
7259 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7260 "\t\tint wd);\n"
7261 "\n"
7262 msgstr ""
7263
7264 # type: textblock
7265 #: ../src/guestfs-actions.pod:1999
7266 msgid ""
7267 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
7268 msgstr ""
7269
7270 # type: =head2
7271 #: ../src/guestfs-actions.pod:2004
7272 msgid "guestfs_inspect_get_arch"
7273 msgstr ""
7274
7275 # type: verbatim
7276 #: ../src/guestfs-actions.pod:2006
7277 #, no-wrap
7278 msgid ""
7279 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7280 "\t\tconst char *root);\n"
7281 "\n"
7282 msgstr ""
7283
7284 # type: textblock
7285 #: ../src/guestfs-actions.pod:2009 ../src/guestfs-actions.pod:2029
7286 #: ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2102
7287 #: ../src/guestfs-actions.pod:2126 ../src/guestfs-actions.pod:2144
7288 #: ../src/guestfs-actions.pod:2174 ../src/guestfs-actions.pod:2195
7289 msgid ""
7290 "This function should only be called with a root device string as returned by "
7291 "C<guestfs_inspect_os>."
7292 msgstr ""
7293
7294 # type: textblock
7295 #: ../src/guestfs-actions.pod:2012
7296 msgid ""
7297 "This returns the architecture of the inspected operating system.  The "
7298 "possible return values are listed under C<guestfs_file_architecture>."
7299 msgstr ""
7300
7301 # type: textblock
7302 #: ../src/guestfs-actions.pod:2016 ../fish/guestfish-actions.pod:1593
7303 msgid ""
7304 "If the architecture could not be determined, then the string C<unknown> is "
7305 "returned."
7306 msgstr ""
7307
7308 # type: textblock
7309 #: ../src/guestfs-actions.pod:2019 ../src/guestfs-actions.pod:2069
7310 #: ../src/guestfs-actions.pod:2117 ../src/guestfs-actions.pod:2185
7311 #: ../src/guestfs-actions.pod:2220 ../src/guestfs-actions.pod:2257
7312 #: ../fish/guestfish-actions.pod:1596 ../fish/guestfish-actions.pod:1642
7313 #: ../fish/guestfish-actions.pod:1681 ../fish/guestfish-actions.pod:1736
7314 #: ../fish/guestfish-actions.pod:1767 ../fish/guestfish-actions.pod:1801
7315 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7316 msgstr ""
7317
7318 # type: =head2
7319 #: ../src/guestfs-actions.pod:2024
7320 msgid "guestfs_inspect_get_distro"
7321 msgstr ""
7322
7323 # type: verbatim
7324 #: ../src/guestfs-actions.pod:2026
7325 #, no-wrap
7326 msgid ""
7327 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7328 "\t\tconst char *root);\n"
7329 "\n"
7330 msgstr ""
7331
7332 # type: textblock
7333 #: ../src/guestfs-actions.pod:2032 ../fish/guestfish-actions.pod:1605
7334 msgid ""
7335 "This returns the distro (distribution) of the inspected operating system."
7336 msgstr ""
7337
7338 # type: textblock
7339 #: ../src/guestfs-actions.pod:2035 ../fish/guestfish-actions.pod:1608
7340 msgid "Currently defined distros are:"
7341 msgstr ""
7342
7343 # type: =item
7344 #: ../src/guestfs-actions.pod:2039 ../fish/guestfish-actions.pod:1612
7345 msgid "\"debian\""
7346 msgstr ""
7347
7348 # type: textblock
7349 #: ../src/guestfs-actions.pod:2041 ../fish/guestfish-actions.pod:1614
7350 msgid "Debian or a Debian-derived distro such as Ubuntu."
7351 msgstr ""
7352
7353 # type: =item
7354 #: ../src/guestfs-actions.pod:2043 ../fish/guestfish-actions.pod:1616
7355 msgid "\"fedora\""
7356 msgstr ""
7357
7358 # type: textblock
7359 #: ../src/guestfs-actions.pod:2045 ../fish/guestfish-actions.pod:1618
7360 msgid "Fedora."
7361 msgstr ""
7362
7363 # type: =item
7364 #: ../src/guestfs-actions.pod:2047 ../fish/guestfish-actions.pod:1620
7365 msgid "\"redhat-based\""
7366 msgstr ""
7367
7368 # type: textblock
7369 #: ../src/guestfs-actions.pod:2049 ../fish/guestfish-actions.pod:1622
7370 msgid "Some Red Hat-derived distro."
7371 msgstr ""
7372
7373 # type: =item
7374 #: ../src/guestfs-actions.pod:2051 ../fish/guestfish-actions.pod:1624
7375 msgid "\"rhel\""
7376 msgstr ""
7377
7378 # type: textblock
7379 #: ../src/guestfs-actions.pod:2053 ../fish/guestfish-actions.pod:1626
7380 msgid "Red Hat Enterprise Linux and some derivatives."
7381 msgstr ""
7382
7383 # type: =item
7384 #: ../src/guestfs-actions.pod:2055 ../src/guestfs-actions.pod:2207
7385 #: ../fish/guestfish-actions.pod:1628 ../fish/guestfish-actions.pod:1754
7386 msgid "\"windows\""
7387 msgstr ""
7388
7389 # type: textblock
7390 #: ../src/guestfs-actions.pod:2057 ../fish/guestfish-actions.pod:1630
7391 msgid ""
7392 "Windows does not have distributions.  This string is returned if the OS type "
7393 "is Windows."
7394 msgstr ""
7395
7396 # type: =item
7397 #: ../src/guestfs-actions.pod:2060 ../src/guestfs-actions.pod:2211
7398 #: ../fish/guestfish-actions.pod:1633 ../fish/guestfish-actions.pod:1758
7399 msgid "\"unknown\""
7400 msgstr ""
7401
7402 # type: textblock
7403 #: ../src/guestfs-actions.pod:2062 ../fish/guestfish-actions.pod:1635
7404 msgid "The distro could not be determined."
7405 msgstr ""
7406
7407 # type: textblock
7408 #: ../src/guestfs-actions.pod:2066 ../src/guestfs-actions.pod:2217
7409 #: ../fish/guestfish-actions.pod:1639 ../fish/guestfish-actions.pod:1764
7410 msgid ""
7411 "Future versions of libguestfs may return other strings here.  The caller "
7412 "should be prepared to handle any string."
7413 msgstr ""
7414
7415 # type: =head2
7416 #: ../src/guestfs-actions.pod:2074
7417 msgid "guestfs_inspect_get_filesystems"
7418 msgstr ""
7419
7420 # type: verbatim
7421 #: ../src/guestfs-actions.pod:2076
7422 #, no-wrap
7423 msgid ""
7424 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7425 "\t\tconst char *root);\n"
7426 "\n"
7427 msgstr ""
7428
7429 # type: textblock
7430 #: ../src/guestfs-actions.pod:2082 ../fish/guestfish-actions.pod:1651
7431 msgid ""
7432 "This returns a list of all the filesystems that we think are associated with "
7433 "this operating system.  This includes the root filesystem, other ordinary "
7434 "filesystems, and non-mounted devices like swap partitions."
7435 msgstr ""
7436
7437 # type: textblock
7438 #: ../src/guestfs-actions.pod:2087 ../fish/guestfish-actions.pod:1656
7439 msgid ""
7440 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7441 "to be shared between operating systems."
7442 msgstr ""
7443
7444 # type: textblock
7445 #: ../src/guestfs-actions.pod:2090
7446 msgid ""
7447 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7448 "C<guestfs_inspect_get_mountpoints>."
7449 msgstr ""
7450
7451 # type: =head2
7452 #: ../src/guestfs-actions.pod:2097
7453 msgid "guestfs_inspect_get_major_version"
7454 msgstr ""
7455
7456 # type: verbatim
7457 #: ../src/guestfs-actions.pod:2099
7458 #, no-wrap
7459 msgid ""
7460 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7461 "\t\tconst char *root);\n"
7462 "\n"
7463 msgstr ""
7464
7465 # type: textblock
7466 #: ../src/guestfs-actions.pod:2105 ../fish/guestfish-actions.pod:1669
7467 msgid ""
7468 "This returns the major version number of the inspected operating system."
7469 msgstr ""
7470
7471 # type: textblock
7472 #: ../src/guestfs-actions.pod:2108 ../fish/guestfish-actions.pod:1672
7473 msgid ""
7474 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7475 "popular public names used by the operating system.  Notably the operating "
7476 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7477 "1).  You can find out the real versions corresponding to releases of Windows "
7478 "by consulting Wikipedia or MSDN."
7479 msgstr ""
7480
7481 # type: textblock
7482 #: ../src/guestfs-actions.pod:2115 ../src/guestfs-actions.pod:2132
7483 #: ../fish/guestfish-actions.pod:1679 ../fish/guestfish-actions.pod:1693
7484 msgid "If the version could not be determined, then C<0> is returned."
7485 msgstr ""
7486
7487 # type: =head2
7488 #: ../src/guestfs-actions.pod:2121
7489 msgid "guestfs_inspect_get_minor_version"
7490 msgstr ""
7491
7492 # type: verbatim
7493 #: ../src/guestfs-actions.pod:2123
7494 #, no-wrap
7495 msgid ""
7496 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7497 "\t\tconst char *root);\n"
7498 "\n"
7499 msgstr ""
7500
7501 # type: textblock
7502 #: ../src/guestfs-actions.pod:2129 ../fish/guestfish-actions.pod:1690
7503 msgid ""
7504 "This returns the minor version number of the inspected operating system."
7505 msgstr ""
7506
7507 # type: textblock
7508 #: ../src/guestfs-actions.pod:2134
7509 msgid ""
7510 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7511 "C<guestfs_inspect_get_major_version>."
7512 msgstr ""
7513
7514 # type: =head2
7515 #: ../src/guestfs-actions.pod:2139
7516 msgid "guestfs_inspect_get_mountpoints"
7517 msgstr ""
7518
7519 # type: verbatim
7520 #: ../src/guestfs-actions.pod:2141
7521 #, no-wrap
7522 msgid ""
7523 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7524 "\t\tconst char *root);\n"
7525 "\n"
7526 msgstr ""
7527
7528 # type: textblock
7529 #: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1705
7530 msgid ""
7531 "This returns a hash of where we think the filesystems associated with this "
7532 "operating system should be mounted.  Callers should note that this is at "
7533 "best an educated guess made by reading configuration files such as C</etc/"
7534 "fstab>."
7535 msgstr ""
7536
7537 # type: textblock
7538 #: ../src/guestfs-actions.pod:2152 ../fish/guestfish-actions.pod:1710
7539 msgid ""
7540 "Each element in the returned hashtable has a key which is the path of the "
7541 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7542 "mounted there (eg. C</dev/sda1>)."
7543 msgstr ""
7544
7545 # type: textblock
7546 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1715
7547 msgid ""
7548 "Non-mounted devices such as swap devices are I<not> returned in this list."
7549 msgstr ""
7550
7551 # type: textblock
7552 #: ../src/guestfs-actions.pod:2160
7553 msgid ""
7554 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7555 "C<guestfs_inspect_get_filesystems>."
7556 msgstr ""
7557
7558 # type: textblock
7559 #: ../src/guestfs-actions.pod:2163 ../src/guestfs-actions.pod:3320
7560 #: ../src/guestfs-actions.pod:4842
7561 msgid ""
7562 "This function returns a NULL-terminated array of strings, or NULL if there "
7563 "was an error.  The array of strings will always have length C<2n+1>, where "
7564 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7565 "caller must free the strings and the array after use>."
7566 msgstr ""
7567
7568 # type: =head2
7569 #: ../src/guestfs-actions.pod:2169
7570 msgid "guestfs_inspect_get_product_name"
7571 msgstr ""
7572
7573 # type: verbatim
7574 #: ../src/guestfs-actions.pod:2171
7575 #, no-wrap
7576 msgid ""
7577 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7578 "\t\tconst char *root);\n"
7579 "\n"
7580 msgstr ""
7581
7582 # type: textblock
7583 #: ../src/guestfs-actions.pod:2177 ../fish/guestfish-actions.pod:1728
7584 msgid ""
7585 "This returns the product name of the inspected operating system.  The "
7586 "product name is generally some freeform string which can be displayed to the "
7587 "user, but should not be parsed by programs."
7588 msgstr ""
7589
7590 # type: textblock
7591 #: ../src/guestfs-actions.pod:2182 ../fish/guestfish-actions.pod:1733
7592 msgid ""
7593 "If the product name could not be determined, then the string C<unknown> is "
7594 "returned."
7595 msgstr ""
7596
7597 # type: =head2
7598 #: ../src/guestfs-actions.pod:2190
7599 msgid "guestfs_inspect_get_type"
7600 msgstr ""
7601
7602 # type: verbatim
7603 #: ../src/guestfs-actions.pod:2192
7604 #, no-wrap
7605 msgid ""
7606 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7607 "\t\tconst char *root);\n"
7608 "\n"
7609 msgstr ""
7610
7611 # type: textblock
7612 #: ../src/guestfs-actions.pod:2198 ../fish/guestfish-actions.pod:1745
7613 msgid ""
7614 "This returns the type of the inspected operating system.  Currently defined "
7615 "types are:"
7616 msgstr ""
7617
7618 # type: =item
7619 #: ../src/guestfs-actions.pod:2203 ../fish/guestfish-actions.pod:1750
7620 msgid "\"linux\""
7621 msgstr ""
7622
7623 # type: textblock
7624 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1752
7625 msgid "Any Linux-based operating system."
7626 msgstr ""
7627
7628 # type: textblock
7629 #: ../src/guestfs-actions.pod:2209 ../fish/guestfish-actions.pod:1756
7630 msgid "Any Microsoft Windows operating system."
7631 msgstr ""
7632
7633 # type: textblock
7634 #: ../src/guestfs-actions.pod:2213 ../fish/guestfish-actions.pod:1760
7635 msgid "The operating system type could not be determined."
7636 msgstr ""
7637
7638 # type: =head2
7639 #: ../src/guestfs-actions.pod:2225
7640 msgid "guestfs_inspect_os"
7641 msgstr ""
7642
7643 # type: verbatim
7644 #: ../src/guestfs-actions.pod:2227
7645 #, no-wrap
7646 msgid ""
7647 " char **guestfs_inspect_os (guestfs_h *g);\n"
7648 "\n"
7649 msgstr ""
7650
7651 # type: textblock
7652 #: ../src/guestfs-actions.pod:2229 ../fish/guestfish-actions.pod:1773
7653 msgid ""
7654 "This function uses other libguestfs functions and certain heuristics to "
7655 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7656 "for operating systems."
7657 msgstr ""
7658
7659 # type: textblock
7660 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1777
7661 msgid "The list returned is empty if no operating systems were found."
7662 msgstr ""
7663
7664 # type: textblock
7665 #: ../src/guestfs-actions.pod:2235 ../fish/guestfish-actions.pod:1779
7666 msgid ""
7667 "If one operating system was found, then this returns a list with a single "
7668 "element, which is the name of the root filesystem of this operating system.  "
7669 "It is also possible for this function to return a list containing more than "
7670 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7671 "element being the root filesystem of one of the operating systems."
7672 msgstr ""
7673
7674 # type: textblock
7675 #: ../src/guestfs-actions.pod:2242
7676 msgid ""
7677 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7678 "functions in order to query further information about each operating system, "
7679 "such as the name and version."
7680 msgstr ""
7681
7682 # type: textblock
7683 #: ../src/guestfs-actions.pod:2247
7684 msgid ""
7685 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7686 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7687 "the contents.  This should be called with no disks currently mounted.  The "
7688 "function may also use Augeas, so any existing Augeas handle will be closed."
7689 msgstr ""
7690
7691 # type: textblock
7692 #: ../src/guestfs-actions.pod:2253 ../fish/guestfish-actions.pod:1797
7693 msgid ""
7694 "This function cannot decrypt encrypted disks.  The caller must do that first "
7695 "(supplying the necessary keys) if the disk is encrypted."
7696 msgstr ""
7697
7698 # type: =head2
7699 #: ../src/guestfs-actions.pod:2263
7700 msgid "guestfs_is_busy"
7701 msgstr ""
7702
7703 # type: verbatim
7704 #: ../src/guestfs-actions.pod:2265
7705 #, no-wrap
7706 msgid ""
7707 " int guestfs_is_busy (guestfs_h *g);\n"
7708 "\n"
7709 msgstr ""
7710
7711 # type: textblock
7712 #: ../src/guestfs-actions.pod:2267 ../fish/guestfish-actions.pod:1807
7713 msgid ""
7714 "This returns true iff this handle is busy processing a command (in the "
7715 "C<BUSY> state)."
7716 msgstr ""
7717
7718 # type: =head2
7719 #: ../src/guestfs-actions.pod:2274
7720 msgid "guestfs_is_config"
7721 msgstr ""
7722
7723 # type: verbatim
7724 #: ../src/guestfs-actions.pod:2276
7725 #, no-wrap
7726 msgid ""
7727 " int guestfs_is_config (guestfs_h *g);\n"
7728 "\n"
7729 msgstr ""
7730
7731 # type: textblock
7732 #: ../src/guestfs-actions.pod:2278 ../fish/guestfish-actions.pod:1816
7733 msgid ""
7734 "This returns true iff this handle is being configured (in the C<CONFIG> "
7735 "state)."
7736 msgstr ""
7737
7738 # type: =head2
7739 #: ../src/guestfs-actions.pod:2285
7740 msgid "guestfs_is_dir"
7741 msgstr ""
7742
7743 # type: verbatim
7744 #: ../src/guestfs-actions.pod:2287
7745 #, no-wrap
7746 msgid ""
7747 " int guestfs_is_dir (guestfs_h *g,\n"
7748 "\t\tconst char *path);\n"
7749 "\n"
7750 msgstr ""
7751
7752 # type: textblock
7753 #: ../src/guestfs-actions.pod:2290 ../fish/guestfish-actions.pod:1825
7754 msgid ""
7755 "This returns C<true> if and only if there is a directory with the given "
7756 "C<path> name.  Note that it returns false for other objects like files."
7757 msgstr ""
7758
7759 # type: textblock
7760 #: ../src/guestfs-actions.pod:2294 ../src/guestfs-actions.pod:2307
7761 msgid "See also C<guestfs_stat>."
7762 msgstr ""
7763
7764 # type: =head2
7765 #: ../src/guestfs-actions.pod:2298
7766 msgid "guestfs_is_file"
7767 msgstr ""
7768
7769 # type: verbatim
7770 #: ../src/guestfs-actions.pod:2300
7771 #, no-wrap
7772 msgid ""
7773 " int guestfs_is_file (guestfs_h *g,\n"
7774 "\t\tconst char *path);\n"
7775 "\n"
7776 msgstr ""
7777
7778 # type: textblock
7779 #: ../src/guestfs-actions.pod:2303 ../fish/guestfish-actions.pod:1835
7780 msgid ""
7781 "This returns C<true> if and only if there is a file with the given C<path> "
7782 "name.  Note that it returns false for other objects like directories."
7783 msgstr ""
7784
7785 # type: =head2
7786 #: ../src/guestfs-actions.pod:2311
7787 msgid "guestfs_is_launching"
7788 msgstr ""
7789
7790 # type: verbatim
7791 #: ../src/guestfs-actions.pod:2313
7792 #, no-wrap
7793 msgid ""
7794 " int guestfs_is_launching (guestfs_h *g);\n"
7795 "\n"
7796 msgstr ""
7797
7798 # type: textblock
7799 #: ../src/guestfs-actions.pod:2315 ../fish/guestfish-actions.pod:1845
7800 msgid ""
7801 "This returns true iff this handle is launching the subprocess (in the "
7802 "C<LAUNCHING> state)."
7803 msgstr ""
7804
7805 # type: =head2
7806 #: ../src/guestfs-actions.pod:2322
7807 msgid "guestfs_is_lv"
7808 msgstr ""
7809
7810 # type: verbatim
7811 #: ../src/guestfs-actions.pod:2324
7812 #, no-wrap
7813 msgid ""
7814 " int guestfs_is_lv (guestfs_h *g,\n"
7815 "\t\tconst char *device);\n"
7816 "\n"
7817 msgstr ""
7818
7819 # type: textblock
7820 #: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1854
7821 msgid ""
7822 "This command tests whether C<device> is a logical volume, and returns true "
7823 "iff this is the case."
7824 msgstr ""
7825
7826 # type: =head2
7827 #: ../src/guestfs-actions.pod:2332
7828 msgid "guestfs_is_ready"
7829 msgstr ""
7830
7831 # type: verbatim
7832 #: ../src/guestfs-actions.pod:2334
7833 #, no-wrap
7834 msgid ""
7835 " int guestfs_is_ready (guestfs_h *g);\n"
7836 "\n"
7837 msgstr ""
7838
7839 # type: textblock
7840 #: ../src/guestfs-actions.pod:2336 ../fish/guestfish-actions.pod:1861
7841 msgid ""
7842 "This returns true iff this handle is ready to accept commands (in the "
7843 "C<READY> state)."
7844 msgstr ""
7845
7846 # type: =head2
7847 #: ../src/guestfs-actions.pod:2343
7848 msgid "guestfs_kill_subprocess"
7849 msgstr ""
7850
7851 # type: verbatim
7852 #: ../src/guestfs-actions.pod:2345
7853 #, no-wrap
7854 msgid ""
7855 " int guestfs_kill_subprocess (guestfs_h *g);\n"
7856 "\n"
7857 msgstr ""
7858
7859 # type: textblock
7860 #: ../src/guestfs-actions.pod:2347 ../fish/guestfish-actions.pod:1870
7861 msgid "This kills the qemu subprocess.  You should never need to call this."
7862 msgstr ""
7863
7864 # type: =head2
7865 #: ../src/guestfs-actions.pod:2351
7866 msgid "guestfs_launch"
7867 msgstr ""
7868
7869 # type: verbatim
7870 #: ../src/guestfs-actions.pod:2353
7871 #, no-wrap
7872 msgid ""
7873 " int guestfs_launch (guestfs_h *g);\n"
7874 "\n"
7875 msgstr ""
7876
7877 # type: textblock
7878 #: ../src/guestfs-actions.pod:2355 ../fish/guestfish-actions.pod:1876
7879 msgid ""
7880 "Internally libguestfs is implemented by running a virtual machine using "
7881 "L<qemu(1)>."
7882 msgstr ""
7883
7884 # type: textblock
7885 #: ../src/guestfs-actions.pod:2358 ../fish/guestfish-actions.pod:1879
7886 msgid ""
7887 "You should call this after configuring the handle (eg. adding drives) but "
7888 "before performing any actions."
7889 msgstr ""
7890
7891 # type: =head2
7892 #: ../src/guestfs-actions.pod:2363
7893 msgid "guestfs_lchown"
7894 msgstr ""
7895
7896 # type: verbatim
7897 #: ../src/guestfs-actions.pod:2365
7898 #, no-wrap
7899 msgid ""
7900 " int guestfs_lchown (guestfs_h *g,\n"
7901 "\t\tint owner,\n"
7902 "\t\tint group,\n"
7903 "\t\tconst char *path);\n"
7904 "\n"
7905 msgstr ""
7906
7907 # type: textblock
7908 #: ../src/guestfs-actions.pod:2370
7909 msgid ""
7910 "Change the file owner to C<owner> and group to C<group>.  This is like "
7911 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
7912 "changed, not the target."
7913 msgstr ""
7914
7915 # type: =head2
7916 #: ../src/guestfs-actions.pod:2380
7917 msgid "guestfs_lgetxattrs"
7918 msgstr ""
7919
7920 # type: verbatim
7921 #: ../src/guestfs-actions.pod:2382
7922 #, no-wrap
7923 msgid ""
7924 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
7925 "\t\tconst char *path);\n"
7926 "\n"
7927 msgstr ""
7928
7929 # type: textblock
7930 #: ../src/guestfs-actions.pod:2385
7931 msgid ""
7932 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
7933 "then it returns the extended attributes of the link itself."
7934 msgstr ""
7935
7936 # type: =head2
7937 #: ../src/guestfs-actions.pod:2394
7938 msgid "guestfs_list_devices"
7939 msgstr ""
7940
7941 # type: verbatim
7942 #: ../src/guestfs-actions.pod:2396
7943 #, no-wrap
7944 msgid ""
7945 " char **guestfs_list_devices (guestfs_h *g);\n"
7946 "\n"
7947 msgstr ""
7948
7949 # type: textblock
7950 #: ../src/guestfs-actions.pod:2398 ../fish/guestfish-actions.pod:1906
7951 msgid "List all the block devices."
7952 msgstr ""
7953
7954 # type: textblock
7955 #: ../src/guestfs-actions.pod:2400 ../fish/guestfish-actions.pod:1908
7956 msgid "The full block device names are returned, eg. C</dev/sda>"
7957 msgstr ""
7958
7959 # type: =head2
7960 #: ../src/guestfs-actions.pod:2406
7961 msgid "guestfs_list_partitions"
7962 msgstr ""
7963
7964 # type: verbatim
7965 #: ../src/guestfs-actions.pod:2408
7966 #, no-wrap
7967 msgid ""
7968 " char **guestfs_list_partitions (guestfs_h *g);\n"
7969 "\n"
7970 msgstr ""
7971
7972 # type: textblock
7973 #: ../src/guestfs-actions.pod:2410 ../fish/guestfish-actions.pod:1914
7974 msgid "List all the partitions detected on all block devices."
7975 msgstr ""
7976
7977 # type: textblock
7978 #: ../src/guestfs-actions.pod:2412 ../fish/guestfish-actions.pod:1916
7979 msgid "The full partition device names are returned, eg. C</dev/sda1>"
7980 msgstr ""
7981
7982 # type: textblock
7983 #: ../src/guestfs-actions.pod:2414
7984 msgid ""
7985 "This does not return logical volumes.  For that you will need to call "
7986 "C<guestfs_lvs>."
7987 msgstr ""
7988
7989 # type: =head2
7990 #: ../src/guestfs-actions.pod:2421
7991 msgid "guestfs_ll"
7992 msgstr ""
7993
7994 # type: verbatim
7995 #: ../src/guestfs-actions.pod:2423
7996 #, no-wrap
7997 msgid ""
7998 " char *guestfs_ll (guestfs_h *g,\n"
7999 "\t\tconst char *directory);\n"
8000 "\n"
8001 msgstr ""
8002
8003 # type: textblock
8004 #: ../src/guestfs-actions.pod:2426 ../fish/guestfish-actions.pod:1925
8005 msgid ""
8006 "List the files in C<directory> (relative to the root directory, there is no "
8007 "cwd) in the format of 'ls -la'."
8008 msgstr ""
8009
8010 # type: textblock
8011 #: ../src/guestfs-actions.pod:2429 ../fish/guestfish-actions.pod:1928
8012 msgid ""
8013 "This command is mostly useful for interactive sessions.  It is I<not> "
8014 "intended that you try to parse the output string."
8015 msgstr ""
8016
8017 # type: =head2
8018 #: ../src/guestfs-actions.pod:2435
8019 msgid "guestfs_ln"
8020 msgstr ""
8021
8022 # type: verbatim
8023 #: ../src/guestfs-actions.pod:2437
8024 #, no-wrap
8025 msgid ""
8026 " int guestfs_ln (guestfs_h *g,\n"
8027 "\t\tconst char *target,\n"
8028 "\t\tconst char *linkname);\n"
8029 "\n"
8030 msgstr ""
8031
8032 # type: textblock
8033 #: ../src/guestfs-actions.pod:2441 ../fish/guestfish-actions.pod:1935
8034 msgid "This command creates a hard link using the C<ln> command."
8035 msgstr ""
8036
8037 # type: =head2
8038 #: ../src/guestfs-actions.pod:2445
8039 msgid "guestfs_ln_f"
8040 msgstr ""
8041
8042 # type: verbatim
8043 #: ../src/guestfs-actions.pod:2447
8044 #, no-wrap
8045 msgid ""
8046 " int guestfs_ln_f (guestfs_h *g,\n"
8047 "\t\tconst char *target,\n"
8048 "\t\tconst char *linkname);\n"
8049 "\n"
8050 msgstr ""
8051
8052 # type: textblock
8053 #: ../src/guestfs-actions.pod:2451 ../fish/guestfish-actions.pod:1941
8054 msgid ""
8055 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
8056 "option removes the link (C<linkname>) if it exists already."
8057 msgstr ""
8058
8059 # type: =head2
8060 #: ../src/guestfs-actions.pod:2456
8061 msgid "guestfs_ln_s"
8062 msgstr ""
8063
8064 # type: verbatim
8065 #: ../src/guestfs-actions.pod:2458
8066 #, no-wrap
8067 msgid ""
8068 " int guestfs_ln_s (guestfs_h *g,\n"
8069 "\t\tconst char *target,\n"
8070 "\t\tconst char *linkname);\n"
8071 "\n"
8072 msgstr ""
8073
8074 # type: textblock
8075 #: ../src/guestfs-actions.pod:2462 ../fish/guestfish-actions.pod:1948
8076 msgid "This command creates a symbolic link using the C<ln -s> command."
8077 msgstr ""
8078
8079 # type: =head2
8080 #: ../src/guestfs-actions.pod:2466
8081 msgid "guestfs_ln_sf"
8082 msgstr ""
8083
8084 # type: verbatim
8085 #: ../src/guestfs-actions.pod:2468
8086 #, no-wrap
8087 msgid ""
8088 " int guestfs_ln_sf (guestfs_h *g,\n"
8089 "\t\tconst char *target,\n"
8090 "\t\tconst char *linkname);\n"
8091 "\n"
8092 msgstr ""
8093
8094 # type: textblock
8095 #: ../src/guestfs-actions.pod:2472 ../fish/guestfish-actions.pod:1954
8096 msgid ""
8097 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
8098 "option removes the link (C<linkname>) if it exists already."
8099 msgstr ""
8100
8101 # type: =head2
8102 #: ../src/guestfs-actions.pod:2477
8103 msgid "guestfs_lremovexattr"
8104 msgstr ""
8105
8106 # type: verbatim
8107 #: ../src/guestfs-actions.pod:2479
8108 #, no-wrap
8109 msgid ""
8110 " int guestfs_lremovexattr (guestfs_h *g,\n"
8111 "\t\tconst char *xattr,\n"
8112 "\t\tconst char *path);\n"
8113 "\n"
8114 msgstr ""
8115
8116 # type: textblock
8117 #: ../src/guestfs-actions.pod:2483
8118 msgid ""
8119 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
8120 "link, then it removes an extended attribute of the link itself."
8121 msgstr ""
8122
8123 # type: =head2
8124 #: ../src/guestfs-actions.pod:2489
8125 msgid "guestfs_ls"
8126 msgstr ""
8127
8128 # type: verbatim
8129 #: ../src/guestfs-actions.pod:2491
8130 #, no-wrap
8131 msgid ""
8132 " char **guestfs_ls (guestfs_h *g,\n"
8133 "\t\tconst char *directory);\n"
8134 "\n"
8135 msgstr ""
8136
8137 # type: textblock
8138 #: ../src/guestfs-actions.pod:2494 ../fish/guestfish-actions.pod:1969
8139 msgid ""
8140 "List the files in C<directory> (relative to the root directory, there is no "
8141 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
8142 msgstr ""
8143
8144 # type: textblock
8145 #: ../src/guestfs-actions.pod:2498
8146 msgid ""
8147 "This command is mostly useful for interactive sessions.  Programs should "
8148 "probably use C<guestfs_readdir> instead."
8149 msgstr ""
8150
8151 # type: =head2
8152 #: ../src/guestfs-actions.pod:2505
8153 msgid "guestfs_lsetxattr"
8154 msgstr ""
8155
8156 # type: verbatim
8157 #: ../src/guestfs-actions.pod:2507
8158 #, no-wrap
8159 msgid ""
8160 " int guestfs_lsetxattr (guestfs_h *g,\n"
8161 "\t\tconst char *xattr,\n"
8162 "\t\tconst char *val,\n"
8163 "\t\tint vallen,\n"
8164 "\t\tconst char *path);\n"
8165 "\n"
8166 msgstr ""
8167
8168 # type: textblock
8169 #: ../src/guestfs-actions.pod:2513
8170 msgid ""
8171 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8172 "then it sets an extended attribute of the link itself."
8173 msgstr ""
8174
8175 # type: =head2
8176 #: ../src/guestfs-actions.pod:2519
8177 msgid "guestfs_lstat"
8178 msgstr ""
8179
8180 # type: verbatim
8181 #: ../src/guestfs-actions.pod:2521
8182 #, no-wrap
8183 msgid ""
8184 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8185 "\t\tconst char *path);\n"
8186 "\n"
8187 msgstr ""
8188
8189 # type: textblock
8190 #: ../src/guestfs-actions.pod:2524 ../src/guestfs-actions.pod:4507
8191 #: ../fish/guestfish-actions.pod:1988 ../fish/guestfish-actions.pod:3477
8192 msgid "Returns file information for the given C<path>."
8193 msgstr ""
8194
8195 # type: textblock
8196 #: ../src/guestfs-actions.pod:2526
8197 msgid ""
8198 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8199 "link, then the link is stat-ed, not the file it refers to."
8200 msgstr ""
8201
8202 # type: textblock
8203 #: ../src/guestfs-actions.pod:2530 ../fish/guestfish-actions.pod:1994
8204 msgid "This is the same as the C<lstat(2)> system call."
8205 msgstr ""
8206
8207 # type: textblock
8208 #: ../src/guestfs-actions.pod:2532 ../src/guestfs-actions.pod:4511
8209 msgid ""
8210 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8211 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8212 msgstr ""
8213
8214 # type: =head2
8215 #: ../src/guestfs-actions.pod:2536
8216 msgid "guestfs_lstatlist"
8217 msgstr ""
8218
8219 # type: verbatim
8220 #: ../src/guestfs-actions.pod:2538
8221 #, no-wrap
8222 msgid ""
8223 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8224 "\t\tconst char *path,\n"
8225 "\t\tchar *const *names);\n"
8226 "\n"
8227 msgstr ""
8228
8229 # type: textblock
8230 #: ../src/guestfs-actions.pod:2542
8231 msgid ""
8232 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8233 "files, where all files are in the directory C<path>.  C<names> is the list "
8234 "of files from this directory."
8235 msgstr ""
8236
8237 # type: textblock
8238 #: ../src/guestfs-actions.pod:2546 ../fish/guestfish-actions.pod:2004
8239 msgid ""
8240 "On return you get a list of stat structs, with a one-to-one correspondence "
8241 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8242 "then the C<ino> field of that structure is set to C<-1>."
8243 msgstr ""
8244
8245 # type: textblock
8246 #: ../src/guestfs-actions.pod:2551
8247 msgid ""
8248 "This call is intended for programs that want to efficiently list a directory "
8249 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8250 "for a similarly efficient call for getting extended attributes.  Very long "
8251 "directory listings might cause the protocol message size to be exceeded, "
8252 "causing this call to fail.  The caller must split up such requests into "
8253 "smaller groups of names."
8254 msgstr ""
8255
8256 # type: textblock
8257 #: ../src/guestfs-actions.pod:2559
8258 msgid ""
8259 "This function returns a C<struct guestfs_stat_list *> (see E<lt>guestfs-"
8260 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
8261 "C<guestfs_free_stat_list> after use>."
8262 msgstr ""
8263
8264 # type: =head2
8265 #: ../src/guestfs-actions.pod:2564
8266 msgid "guestfs_luks_add_key"
8267 msgstr ""
8268
8269 # type: verbatim
8270 #: ../src/guestfs-actions.pod:2566
8271 #, no-wrap
8272 msgid ""
8273 " int guestfs_luks_add_key (guestfs_h *g,\n"
8274 "\t\tconst char *device,\n"
8275 "\t\tconst char *key,\n"
8276 "\t\tconst char *newkey,\n"
8277 "\t\tint keyslot);\n"
8278 "\n"
8279 msgstr ""
8280
8281 # type: textblock
8282 #: ../src/guestfs-actions.pod:2572 ../fish/guestfish-actions.pod:2021
8283 msgid ""
8284 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8285 "existing key, and is used to access the device.  C<newkey> is the new key to "
8286 "add.  C<keyslot> is the key slot that will be replaced."
8287 msgstr ""
8288
8289 # type: textblock
8290 #: ../src/guestfs-actions.pod:2577
8291 msgid ""
8292 "Note that if C<keyslot> already contains a key, then this command will "
8293 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8294 msgstr ""
8295
8296 # type: textblock
8297 #: ../src/guestfs-actions.pod:2583 ../src/guestfs-actions.pod:2617
8298 #: ../src/guestfs-actions.pod:2637 ../src/guestfs-actions.pod:2654
8299 #: ../src/guestfs-actions.pod:2683 ../src/guestfs-actions.pod:2699
8300 msgid ""
8301 "This function takes a key or passphrase parameter which could contain "
8302 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8303 "information."
8304 msgstr ""
8305
8306 # type: =head2
8307 #: ../src/guestfs-actions.pod:2587
8308 msgid "guestfs_luks_close"
8309 msgstr ""
8310
8311 # type: verbatim
8312 #: ../src/guestfs-actions.pod:2589
8313 #, no-wrap
8314 msgid ""
8315 " int guestfs_luks_close (guestfs_h *g,\n"
8316 "\t\tconst char *device);\n"
8317 "\n"
8318 msgstr ""
8319
8320 # type: textblock
8321 #: ../src/guestfs-actions.pod:2592
8322 msgid ""
8323 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8324 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8325 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8326 "underlying block device."
8327 msgstr ""
8328
8329 # type: =head2
8330 #: ../src/guestfs-actions.pod:2600
8331 msgid "guestfs_luks_format"
8332 msgstr ""
8333
8334 # type: verbatim
8335 #: ../src/guestfs-actions.pod:2602
8336 #, no-wrap
8337 msgid ""
8338 " int guestfs_luks_format (guestfs_h *g,\n"
8339 "\t\tconst char *device,\n"
8340 "\t\tconst char *key,\n"
8341 "\t\tint keyslot);\n"
8342 "\n"
8343 msgstr ""
8344
8345 # type: textblock
8346 #: ../src/guestfs-actions.pod:2607 ../fish/guestfish-actions.pod:2047
8347 msgid ""
8348 "This command erases existing data on C<device> and formats the device as a "
8349 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8350 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8351 msgstr ""
8352
8353 # type: textblock
8354 #: ../src/guestfs-actions.pod:2614 ../src/guestfs-actions.pod:2634
8355 #: ../src/guestfs-actions.pod:2736 ../src/guestfs-actions.pod:3448
8356 #: ../src/guestfs-actions.pod:4048 ../src/guestfs-actions.pod:4369
8357 #: ../src/guestfs-actions.pod:4389 ../src/guestfs-actions.pod:4412
8358 #: ../src/guestfs-actions.pod:5351 ../fish/guestfish-actions.pod:2055
8359 #: ../fish/guestfish-actions.pod:2068 ../fish/guestfish-actions.pod:2139
8360 #: ../fish/guestfish-actions.pod:2654 ../fish/guestfish-actions.pod:3118
8361 #: ../fish/guestfish-actions.pod:3376 ../fish/guestfish-actions.pod:3392
8362 #: ../fish/guestfish-actions.pod:3407 ../fish/guestfish-actions.pod:4095
8363 msgid ""
8364 "B<This command is dangerous.  Without careful use you can easily destroy all "
8365 "your data>."
8366 msgstr ""
8367
8368 # type: =head2
8369 #: ../src/guestfs-actions.pod:2621
8370 msgid "guestfs_luks_format_cipher"
8371 msgstr ""
8372
8373 # type: verbatim
8374 #: ../src/guestfs-actions.pod:2623
8375 #, no-wrap
8376 msgid ""
8377 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8378 "\t\tconst char *device,\n"
8379 "\t\tconst char *key,\n"
8380 "\t\tint keyslot,\n"
8381 "\t\tconst char *cipher);\n"
8382 "\n"
8383 msgstr ""
8384
8385 # type: textblock
8386 #: ../src/guestfs-actions.pod:2629
8387 msgid ""
8388 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8389 "set the C<cipher> used."
8390 msgstr ""
8391
8392 # type: =head2
8393 #: ../src/guestfs-actions.pod:2641
8394 msgid "guestfs_luks_kill_slot"
8395 msgstr ""
8396
8397 # type: verbatim
8398 #: ../src/guestfs-actions.pod:2643
8399 #, no-wrap
8400 msgid ""
8401 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8402 "\t\tconst char *device,\n"
8403 "\t\tconst char *key,\n"
8404 "\t\tint keyslot);\n"
8405 "\n"
8406 msgstr ""
8407
8408 # type: textblock
8409 #: ../src/guestfs-actions.pod:2648 ../fish/guestfish-actions.pod:2075
8410 msgid ""
8411 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8412 "device C<device>.  C<key> must be one of the I<other> keys."
8413 msgstr ""
8414
8415 # type: =head2
8416 #: ../src/guestfs-actions.pod:2658
8417 msgid "guestfs_luks_open"
8418 msgstr ""
8419
8420 # type: verbatim
8421 #: ../src/guestfs-actions.pod:2660
8422 #, no-wrap
8423 msgid ""
8424 " int guestfs_luks_open (guestfs_h *g,\n"
8425 "\t\tconst char *device,\n"
8426 "\t\tconst char *key,\n"
8427 "\t\tconst char *mapname);\n"
8428 "\n"
8429 msgstr ""
8430
8431 # type: textblock
8432 #: ../src/guestfs-actions.pod:2665 ../fish/guestfish-actions.pod:2086
8433 msgid ""
8434 "This command opens a block device which has been encrypted according to the "
8435 "Linux Unified Key Setup (LUKS) standard."
8436 msgstr ""
8437
8438 # type: textblock
8439 #: ../src/guestfs-actions.pod:2668 ../fish/guestfish-actions.pod:2089
8440 msgid "C<device> is the encrypted block device or partition."
8441 msgstr ""
8442
8443 # type: textblock
8444 #: ../src/guestfs-actions.pod:2670 ../fish/guestfish-actions.pod:2091
8445 msgid ""
8446 "The caller must supply one of the keys associated with the LUKS block "
8447 "device, in the C<key> parameter."
8448 msgstr ""
8449
8450 # type: textblock
8451 #: ../src/guestfs-actions.pod:2673 ../fish/guestfish-actions.pod:2094
8452 msgid ""
8453 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8454 "writes to this block device are decrypted from and encrypted to the "
8455 "underlying C<device> respectively."
8456 msgstr ""
8457
8458 # type: textblock
8459 #: ../src/guestfs-actions.pod:2677
8460 msgid ""
8461 "If this block device contains LVM volume groups, then calling "
8462 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8463 "visible."
8464 msgstr ""
8465
8466 # type: =head2
8467 #: ../src/guestfs-actions.pod:2687
8468 msgid "guestfs_luks_open_ro"
8469 msgstr ""
8470
8471 # type: verbatim
8472 #: ../src/guestfs-actions.pod:2689
8473 #, no-wrap
8474 msgid ""
8475 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8476 "\t\tconst char *device,\n"
8477 "\t\tconst char *key,\n"
8478 "\t\tconst char *mapname);\n"
8479 "\n"
8480 msgstr ""
8481
8482 # type: textblock
8483 #: ../src/guestfs-actions.pod:2694
8484 msgid ""
8485 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8486 "created."
8487 msgstr ""
8488
8489 # type: =head2
8490 #: ../src/guestfs-actions.pod:2703
8491 msgid "guestfs_lvcreate"
8492 msgstr ""
8493
8494 # type: verbatim
8495 #: ../src/guestfs-actions.pod:2705
8496 #, no-wrap
8497 msgid ""
8498 " int guestfs_lvcreate (guestfs_h *g,\n"
8499 "\t\tconst char *logvol,\n"
8500 "\t\tconst char *volgroup,\n"
8501 "\t\tint mbytes);\n"
8502 "\n"
8503 msgstr ""
8504
8505 # type: textblock
8506 #: ../src/guestfs-actions.pod:2710 ../fish/guestfish-actions.pod:2119
8507 msgid ""
8508 "This creates an LVM logical volume called C<logvol> on the volume group "
8509 "C<volgroup>, with C<size> megabytes."
8510 msgstr ""
8511
8512 # type: =head2
8513 #: ../src/guestfs-actions.pod:2715
8514 msgid "guestfs_lvm_clear_filter"
8515 msgstr ""
8516
8517 # type: verbatim
8518 #: ../src/guestfs-actions.pod:2717
8519 #, no-wrap
8520 msgid ""
8521 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8522 "\n"
8523 msgstr ""
8524
8525 # type: textblock
8526 #: ../src/guestfs-actions.pod:2719
8527 msgid ""
8528 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8529 "see every block device."
8530 msgstr ""
8531
8532 # type: textblock
8533 #: ../src/guestfs-actions.pod:2722 ../src/guestfs-actions.pod:2758
8534 #: ../fish/guestfish-actions.pod:2129 ../fish/guestfish-actions.pod:2160
8535 msgid ""
8536 "This command also clears the LVM cache and performs a volume group scan."
8537 msgstr ""
8538
8539 # type: =head2
8540 #: ../src/guestfs-actions.pod:2727
8541 msgid "guestfs_lvm_remove_all"
8542 msgstr ""
8543
8544 # type: verbatim
8545 #: ../src/guestfs-actions.pod:2729
8546 #, no-wrap
8547 msgid ""
8548 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8549 "\n"
8550 msgstr ""
8551
8552 # type: textblock
8553 #: ../src/guestfs-actions.pod:2731 ../fish/guestfish-actions.pod:2136
8554 msgid ""
8555 "This command removes all LVM logical volumes, volume groups and physical "
8556 "volumes."
8557 msgstr ""
8558
8559 # type: =head2
8560 #: ../src/guestfs-actions.pod:2739
8561 msgid "guestfs_lvm_set_filter"
8562 msgstr ""
8563
8564 # type: verbatim
8565 #: ../src/guestfs-actions.pod:2741
8566 #, no-wrap
8567 msgid ""
8568 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8569 "\t\tchar *const *devices);\n"
8570 "\n"
8571 msgstr ""
8572
8573 # type: textblock
8574 #: ../src/guestfs-actions.pod:2744 ../fish/guestfish-actions.pod:2146
8575 msgid ""
8576 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8577 "block devices in the list C<devices>, and will ignore all other attached "
8578 "block devices."
8579 msgstr ""
8580
8581 # type: textblock
8582 #: ../src/guestfs-actions.pod:2748 ../fish/guestfish-actions.pod:2150
8583 msgid ""
8584 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8585 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8586 "there are two types of duplication possible: either cloned PVs/VGs which "
8587 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8588 "same name.  In normal operation you cannot create this situation, but you "
8589 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8590 "inside the LVM metadata."
8591 msgstr ""
8592
8593 # type: textblock
8594 #: ../src/guestfs-actions.pod:2761 ../fish/guestfish-actions.pod:2163
8595 msgid "You can filter whole block devices or individual partitions."
8596 msgstr ""
8597
8598 # type: textblock
8599 #: ../src/guestfs-actions.pod:2763 ../fish/guestfish-actions.pod:2165
8600 msgid ""
8601 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8602 "filesystem), even if you are not filtering out that VG."
8603 msgstr ""
8604
8605 # type: =head2
8606 #: ../src/guestfs-actions.pod:2769
8607 msgid "guestfs_lvremove"
8608 msgstr ""
8609
8610 # type: verbatim
8611 #: ../src/guestfs-actions.pod:2771
8612 #, no-wrap
8613 msgid ""
8614 " int guestfs_lvremove (guestfs_h *g,\n"
8615 "\t\tconst char *device);\n"
8616 "\n"
8617 msgstr ""
8618
8619 # type: textblock
8620 #: ../src/guestfs-actions.pod:2774 ../fish/guestfish-actions.pod:2173
8621 msgid ""
8622 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8623 "LV, such as C</dev/VG/LV>."
8624 msgstr ""
8625
8626 # type: textblock
8627 #: ../src/guestfs-actions.pod:2777 ../fish/guestfish-actions.pod:2176
8628 msgid ""
8629 "You can also remove all LVs in a volume group by specifying the VG name, C</"
8630 "dev/VG>."
8631 msgstr ""
8632
8633 # type: =head2
8634 #: ../src/guestfs-actions.pod:2782
8635 msgid "guestfs_lvrename"
8636 msgstr ""
8637
8638 # type: verbatim
8639 #: ../src/guestfs-actions.pod:2784
8640 #, no-wrap
8641 msgid ""
8642 " int guestfs_lvrename (guestfs_h *g,\n"
8643 "\t\tconst char *logvol,\n"
8644 "\t\tconst char *newlogvol);\n"
8645 "\n"
8646 msgstr ""
8647
8648 # type: textblock
8649 #: ../src/guestfs-actions.pod:2788 ../fish/guestfish-actions.pod:2183
8650 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8651 msgstr ""
8652
8653 # type: =head2
8654 #: ../src/guestfs-actions.pod:2792
8655 msgid "guestfs_lvresize"
8656 msgstr ""
8657
8658 # type: verbatim
8659 #: ../src/guestfs-actions.pod:2794
8660 #, no-wrap
8661 msgid ""
8662 " int guestfs_lvresize (guestfs_h *g,\n"
8663 "\t\tconst char *device,\n"
8664 "\t\tint mbytes);\n"
8665 "\n"
8666 msgstr ""
8667
8668 # type: textblock
8669 #: ../src/guestfs-actions.pod:2798 ../fish/guestfish-actions.pod:2189
8670 msgid ""
8671 "This resizes (expands or shrinks) an existing LVM logical volume to "
8672 "C<mbytes>.  When reducing, data in the reduced part is lost."
8673 msgstr ""
8674
8675 # type: =head2
8676 #: ../src/guestfs-actions.pod:2804
8677 msgid "guestfs_lvresize_free"
8678 msgstr ""
8679
8680 # type: verbatim
8681 #: ../src/guestfs-actions.pod:2806
8682 #, no-wrap
8683 msgid ""
8684 " int guestfs_lvresize_free (guestfs_h *g,\n"
8685 "\t\tconst char *lv,\n"
8686 "\t\tint percent);\n"
8687 "\n"
8688 msgstr ""
8689
8690 # type: textblock
8691 #: ../src/guestfs-actions.pod:2810 ../fish/guestfish-actions.pod:2197
8692 msgid ""
8693 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
8694 "remaining free space in the volume group.  Commonly you would call this with "
8695 "pc = 100 which expands the logical volume as much as possible, using all "
8696 "remaining free space in the volume group."
8697 msgstr ""
8698
8699 # type: =head2
8700 #: ../src/guestfs-actions.pod:2818
8701 msgid "guestfs_lvs"
8702 msgstr ""
8703
8704 # type: verbatim
8705 #: ../src/guestfs-actions.pod:2820
8706 #, no-wrap
8707 msgid ""
8708 " char **guestfs_lvs (guestfs_h *g);\n"
8709 "\n"
8710 msgstr ""
8711
8712 # type: textblock
8713 #: ../src/guestfs-actions.pod:2822 ../fish/guestfish-actions.pod:2207
8714 msgid ""
8715 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
8716 "(8)> command."
8717 msgstr ""
8718
8719 # type: textblock
8720 #: ../src/guestfs-actions.pod:2825 ../fish/guestfish-actions.pod:2210
8721 msgid ""
8722 "This returns a list of the logical volume device names (eg. C</dev/"
8723 "VolGroup00/LogVol00>)."
8724 msgstr ""
8725
8726 # type: textblock
8727 #: ../src/guestfs-actions.pod:2828
8728 msgid "See also C<guestfs_lvs_full>."
8729 msgstr ""
8730
8731 # type: =head2
8732 #: ../src/guestfs-actions.pod:2834
8733 msgid "guestfs_lvs_full"
8734 msgstr ""
8735
8736 # type: verbatim
8737 #: ../src/guestfs-actions.pod:2836
8738 #, no-wrap
8739 msgid ""
8740 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
8741 "\n"
8742 msgstr ""
8743
8744 # type: textblock
8745 #: ../src/guestfs-actions.pod:2838 ../fish/guestfish-actions.pod:2219
8746 msgid ""
8747 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
8748 "(8)> command.  The \"full\" version includes all fields."
8749 msgstr ""
8750
8751 # type: textblock
8752 #: ../src/guestfs-actions.pod:2841
8753 msgid ""
8754 "This function returns a C<struct guestfs_lvm_lv_list *> (see E<lt>guestfs-"
8755 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
8756 "C<guestfs_free_lvm_lv_list> after use>."
8757 msgstr ""
8758
8759 # type: =head2
8760 #: ../src/guestfs-actions.pod:2846
8761 msgid "guestfs_lvuuid"
8762 msgstr ""
8763
8764 # type: verbatim
8765 #: ../src/guestfs-actions.pod:2848
8766 #, no-wrap
8767 msgid ""
8768 " char *guestfs_lvuuid (guestfs_h *g,\n"
8769 "\t\tconst char *device);\n"
8770 "\n"
8771 msgstr ""
8772
8773 # type: textblock
8774 #: ../src/guestfs-actions.pod:2851 ../fish/guestfish-actions.pod:2226
8775 msgid "This command returns the UUID of the LVM LV C<device>."
8776 msgstr ""
8777
8778 # type: =head2
8779 #: ../src/guestfs-actions.pod:2856
8780 msgid "guestfs_lxattrlist"
8781 msgstr ""
8782
8783 # type: verbatim
8784 #: ../src/guestfs-actions.pod:2858
8785 #, no-wrap
8786 msgid ""
8787 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
8788 "\t\tconst char *path,\n"
8789 "\t\tchar *const *names);\n"
8790 "\n"
8791 msgstr ""
8792
8793 # type: textblock
8794 #: ../src/guestfs-actions.pod:2862 ../fish/guestfish-actions.pod:2232
8795 msgid ""
8796 "This call allows you to get the extended attributes of multiple files, where "
8797 "all files are in the directory C<path>.  C<names> is the list of files from "
8798 "this directory."
8799 msgstr ""
8800
8801 # type: textblock
8802 #: ../src/guestfs-actions.pod:2866 ../fish/guestfish-actions.pod:2236
8803 msgid ""
8804 "On return you get a flat list of xattr structs which must be interpreted "
8805 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
8806 "C<attrval> in this struct is zero-length to indicate there was an error "
8807 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
8808 "number (the number of following attributes for this file, which could be C<"
8809 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
8810 "for the first named file.  This repeats for the second and subsequent files."
8811 msgstr ""
8812
8813 # type: textblock
8814 #: ../src/guestfs-actions.pod:2876
8815 msgid ""
8816 "This call is intended for programs that want to efficiently list a directory "
8817 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
8818 "a similarly efficient call for getting standard stats.  Very long directory "
8819 "listings might cause the protocol message size to be exceeded, causing this "
8820 "call to fail.  The caller must split up such requests into smaller groups of "
8821 "names."
8822 msgstr ""
8823
8824 # type: =head2
8825 #: ../src/guestfs-actions.pod:2889
8826 msgid "guestfs_mkdir"
8827 msgstr ""
8828
8829 # type: verbatim
8830 #: ../src/guestfs-actions.pod:2891
8831 #, no-wrap
8832 msgid ""
8833 " int guestfs_mkdir (guestfs_h *g,\n"
8834 "\t\tconst char *path);\n"
8835 "\n"
8836 msgstr ""
8837
8838 # type: textblock
8839 #: ../src/guestfs-actions.pod:2894 ../fish/guestfish-actions.pod:2258
8840 msgid "Create a directory named C<path>."
8841 msgstr ""
8842
8843 # type: =head2
8844 #: ../src/guestfs-actions.pod:2898
8845 msgid "guestfs_mkdir_mode"
8846 msgstr ""
8847
8848 # type: verbatim
8849 #: ../src/guestfs-actions.pod:2900
8850 #, no-wrap
8851 msgid ""
8852 " int guestfs_mkdir_mode (guestfs_h *g,\n"
8853 "\t\tconst char *path,\n"
8854 "\t\tint mode);\n"
8855 "\n"
8856 msgstr ""
8857
8858 # type: textblock
8859 #: ../src/guestfs-actions.pod:2904 ../fish/guestfish-actions.pod:2264
8860 msgid ""
8861 "This command creates a directory, setting the initial permissions of the "
8862 "directory to C<mode>."
8863 msgstr ""
8864
8865 # type: textblock
8866 #: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2267
8867 msgid ""
8868 "For common Linux filesystems, the actual mode which is set will be C<mode & "
8869 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
8870 "other ways."
8871 msgstr ""
8872
8873 # type: textblock
8874 #: ../src/guestfs-actions.pod:2911
8875 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
8876 msgstr ""
8877
8878 # type: =head2
8879 #: ../src/guestfs-actions.pod:2915
8880 msgid "guestfs_mkdir_p"
8881 msgstr ""
8882
8883 # type: verbatim
8884 #: ../src/guestfs-actions.pod:2917
8885 #, no-wrap
8886 msgid ""
8887 " int guestfs_mkdir_p (guestfs_h *g,\n"
8888 "\t\tconst char *path);\n"
8889 "\n"
8890 msgstr ""
8891
8892 # type: textblock
8893 #: ../src/guestfs-actions.pod:2920 ../fish/guestfish-actions.pod:2277
8894 msgid ""
8895 "Create a directory named C<path>, creating any parent directories as "
8896 "necessary.  This is like the C<mkdir -p> shell command."
8897 msgstr ""
8898
8899 # type: =head2
8900 #: ../src/guestfs-actions.pod:2925
8901 msgid "guestfs_mkdtemp"
8902 msgstr ""
8903
8904 # type: verbatim
8905 #: ../src/guestfs-actions.pod:2927
8906 #, no-wrap
8907 msgid ""
8908 " char *guestfs_mkdtemp (guestfs_h *g,\n"
8909 "\t\tconst char *template);\n"
8910 "\n"
8911 msgstr ""
8912
8913 # type: textblock
8914 #: ../src/guestfs-actions.pod:2930 ../fish/guestfish-actions.pod:2284
8915 msgid ""
8916 "This command creates a temporary directory.  The C<template> parameter "
8917 "should be a full pathname for the temporary directory name with the final "
8918 "six characters being \"XXXXXX\"."
8919 msgstr ""
8920
8921 # type: textblock
8922 #: ../src/guestfs-actions.pod:2935 ../fish/guestfish-actions.pod:2289
8923 msgid ""
8924 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
8925 "being suitable for Windows filesystems."
8926 msgstr ""
8927
8928 # type: textblock
8929 #: ../src/guestfs-actions.pod:2938 ../fish/guestfish-actions.pod:2292
8930 msgid "The name of the temporary directory that was created is returned."
8931 msgstr ""
8932
8933 # type: textblock
8934 #: ../src/guestfs-actions.pod:2941 ../fish/guestfish-actions.pod:2295
8935 msgid "The temporary directory is created with mode 0700 and is owned by root."
8936 msgstr ""
8937
8938 # type: textblock
8939 #: ../src/guestfs-actions.pod:2944 ../fish/guestfish-actions.pod:2298
8940 msgid ""
8941 "The caller is responsible for deleting the temporary directory and its "
8942 "contents after use."
8943 msgstr ""
8944
8945 # type: textblock
8946 #: ../src/guestfs-actions.pod:2947 ../fish/guestfish-actions.pod:2301
8947 msgid "See also: L<mkdtemp(3)>"
8948 msgstr ""
8949
8950 # type: =head2
8951 #: ../src/guestfs-actions.pod:2952
8952 msgid "guestfs_mke2fs_J"
8953 msgstr ""
8954
8955 # type: verbatim
8956 #: ../src/guestfs-actions.pod:2954
8957 #, no-wrap
8958 msgid ""
8959 " int guestfs_mke2fs_J (guestfs_h *g,\n"
8960 "\t\tconst char *fstype,\n"
8961 "\t\tint blocksize,\n"
8962 "\t\tconst char *device,\n"
8963 "\t\tconst char *journal);\n"
8964 "\n"
8965 msgstr ""
8966
8967 # type: textblock
8968 #: ../src/guestfs-actions.pod:2960 ../fish/guestfish-actions.pod:2307
8969 msgid ""
8970 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8971 "C<journal>.  It is equivalent to the command:"
8972 msgstr ""
8973
8974 # type: verbatim
8975 #: ../src/guestfs-actions.pod:2964 ../fish/guestfish-actions.pod:2311
8976 #, no-wrap
8977 msgid ""
8978 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
8979 "\n"
8980 msgstr ""
8981
8982 # type: textblock
8983 #: ../src/guestfs-actions.pod:2966
8984 msgid "See also C<guestfs_mke2journal>."
8985 msgstr ""
8986
8987 # type: =head2
8988 #: ../src/guestfs-actions.pod:2970
8989 msgid "guestfs_mke2fs_JL"
8990 msgstr ""
8991
8992 # type: verbatim
8993 #: ../src/guestfs-actions.pod:2972
8994 #, no-wrap
8995 msgid ""
8996 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
8997 "\t\tconst char *fstype,\n"
8998 "\t\tint blocksize,\n"
8999 "\t\tconst char *device,\n"
9000 "\t\tconst char *label);\n"
9001 "\n"
9002 msgstr ""
9003
9004 # type: textblock
9005 #: ../src/guestfs-actions.pod:2978 ../fish/guestfish-actions.pod:2319
9006 msgid ""
9007 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9008 "the journal labeled C<label>."
9009 msgstr ""
9010
9011 # type: textblock
9012 #: ../src/guestfs-actions.pod:2981
9013 msgid "See also C<guestfs_mke2journal_L>."
9014 msgstr ""
9015
9016 # type: =head2
9017 #: ../src/guestfs-actions.pod:2985
9018 msgid "guestfs_mke2fs_JU"
9019 msgstr ""
9020
9021 # type: verbatim
9022 #: ../src/guestfs-actions.pod:2987
9023 #, no-wrap
9024 msgid ""
9025 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
9026 "\t\tconst char *fstype,\n"
9027 "\t\tint blocksize,\n"
9028 "\t\tconst char *device,\n"
9029 "\t\tconst char *uuid);\n"
9030 "\n"
9031 msgstr ""
9032
9033 # type: textblock
9034 #: ../src/guestfs-actions.pod:2993 ../fish/guestfish-actions.pod:2328
9035 msgid ""
9036 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9037 "the journal with UUID C<uuid>."
9038 msgstr ""
9039
9040 # type: textblock
9041 #: ../src/guestfs-actions.pod:2996
9042 msgid "See also C<guestfs_mke2journal_U>."
9043 msgstr ""
9044
9045 # type: =head2
9046 #: ../src/guestfs-actions.pod:3000
9047 msgid "guestfs_mke2journal"
9048 msgstr ""
9049
9050 # type: verbatim
9051 #: ../src/guestfs-actions.pod:3002
9052 #, no-wrap
9053 msgid ""
9054 " int guestfs_mke2journal (guestfs_h *g,\n"
9055 "\t\tint blocksize,\n"
9056 "\t\tconst char *device);\n"
9057 "\n"
9058 msgstr ""
9059
9060 # type: textblock
9061 #: ../src/guestfs-actions.pod:3006 ../fish/guestfish-actions.pod:2337
9062 msgid ""
9063 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
9064 "command:"
9065 msgstr ""
9066
9067 # type: verbatim
9068 #: ../src/guestfs-actions.pod:3009 ../fish/guestfish-actions.pod:2340
9069 #, no-wrap
9070 msgid ""
9071 " mke2fs -O journal_dev -b blocksize device\n"
9072 "\n"
9073 msgstr ""
9074
9075 # type: =head2
9076 #: ../src/guestfs-actions.pod:3013
9077 msgid "guestfs_mke2journal_L"
9078 msgstr ""
9079
9080 # type: verbatim
9081 #: ../src/guestfs-actions.pod:3015
9082 #, no-wrap
9083 msgid ""
9084 " int guestfs_mke2journal_L (guestfs_h *g,\n"
9085 "\t\tint blocksize,\n"
9086 "\t\tconst char *label,\n"
9087 "\t\tconst char *device);\n"
9088 "\n"
9089 msgstr ""
9090
9091 # type: textblock
9092 #: ../src/guestfs-actions.pod:3020 ../fish/guestfish-actions.pod:2346
9093 msgid "This creates an ext2 external journal on C<device> with label C<label>."
9094 msgstr ""
9095
9096 # type: =head2
9097 #: ../src/guestfs-actions.pod:3024
9098 msgid "guestfs_mke2journal_U"
9099 msgstr ""
9100
9101 # type: verbatim
9102 #: ../src/guestfs-actions.pod:3026
9103 #, no-wrap
9104 msgid ""
9105 " int guestfs_mke2journal_U (guestfs_h *g,\n"
9106 "\t\tint blocksize,\n"
9107 "\t\tconst char *uuid,\n"
9108 "\t\tconst char *device);\n"
9109 "\n"
9110 msgstr ""
9111
9112 # type: textblock
9113 #: ../src/guestfs-actions.pod:3031 ../fish/guestfish-actions.pod:2352
9114 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
9115 msgstr ""
9116
9117 # type: =head2
9118 #: ../src/guestfs-actions.pod:3035
9119 msgid "guestfs_mkfifo"
9120 msgstr ""
9121
9122 # type: verbatim
9123 #: ../src/guestfs-actions.pod:3037
9124 #, no-wrap
9125 msgid ""
9126 " int guestfs_mkfifo (guestfs_h *g,\n"
9127 "\t\tint mode,\n"
9128 "\t\tconst char *path);\n"
9129 "\n"
9130 msgstr ""
9131
9132 # type: textblock
9133 #: ../src/guestfs-actions.pod:3041
9134 msgid ""
9135 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
9136 "is just a convenient wrapper around C<guestfs_mknod>."
9137 msgstr ""
9138
9139 # type: =head2
9140 #: ../src/guestfs-actions.pod:3049
9141 msgid "guestfs_mkfs"
9142 msgstr ""
9143
9144 # type: verbatim
9145 #: ../src/guestfs-actions.pod:3051
9146 #, no-wrap
9147 msgid ""
9148 " int guestfs_mkfs (guestfs_h *g,\n"
9149 "\t\tconst char *fstype,\n"
9150 "\t\tconst char *device);\n"
9151 "\n"
9152 msgstr ""
9153
9154 # type: textblock
9155 #: ../src/guestfs-actions.pod:3055 ../fish/guestfish-actions.pod:2368
9156 msgid ""
9157 "This creates a filesystem on C<device> (usually a partition or LVM logical "
9158 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
9159 msgstr ""
9160
9161 # type: =head2
9162 #: ../src/guestfs-actions.pod:3061
9163 msgid "guestfs_mkfs_b"
9164 msgstr ""
9165
9166 # type: verbatim
9167 #: ../src/guestfs-actions.pod:3063
9168 #, no-wrap
9169 msgid ""
9170 " int guestfs_mkfs_b (guestfs_h *g,\n"
9171 "\t\tconst char *fstype,\n"
9172 "\t\tint blocksize,\n"
9173 "\t\tconst char *device);\n"
9174 "\n"
9175 msgstr ""
9176
9177 # type: textblock
9178 #: ../src/guestfs-actions.pod:3068
9179 msgid ""
9180 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9181 "block size of the resulting filesystem.  Supported block sizes depend on the "
9182 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9183 msgstr ""
9184
9185 # type: textblock
9186 #: ../src/guestfs-actions.pod:3073 ../fish/guestfish-actions.pod:2381
9187 msgid ""
9188 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9189 "cluster size."
9190 msgstr ""
9191
9192 # type: =head2
9193 #: ../src/guestfs-actions.pod:3078
9194 msgid "guestfs_mkmountpoint"
9195 msgstr ""
9196
9197 # type: verbatim
9198 #: ../src/guestfs-actions.pod:3080
9199 #, no-wrap
9200 msgid ""
9201 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9202 "\t\tconst char *exemptpath);\n"
9203 "\n"
9204 msgstr ""
9205
9206 # type: textblock
9207 #: ../src/guestfs-actions.pod:3083
9208 msgid ""
9209 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9210 "that can be used to create extra mountpoints before mounting the first "
9211 "filesystem."
9212 msgstr ""
9213
9214 # type: textblock
9215 #: ../src/guestfs-actions.pod:3087 ../fish/guestfish-actions.pod:2392
9216 msgid ""
9217 "These calls are I<only> necessary in some very limited circumstances, mainly "
9218 "the case where you want to mount a mix of unrelated and/or read-only "
9219 "filesystems together."
9220 msgstr ""
9221
9222 # type: textblock
9223 #: ../src/guestfs-actions.pod:3091 ../fish/guestfish-actions.pod:2396
9224 msgid ""
9225 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9226 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9227 "inside that.  You can unpack this as follows in guestfish:"
9228 msgstr ""
9229
9230 # type: verbatim
9231 #: ../src/guestfs-actions.pod:3096 ../fish/guestfish-actions.pod:2401
9232 #, no-wrap
9233 msgid ""
9234 " add-ro Fedora-11-i686-Live.iso\n"
9235 " run\n"
9236 " mkmountpoint /cd\n"
9237 " mkmountpoint /squash\n"
9238 " mkmountpoint /ext3\n"
9239 " mount /dev/sda /cd\n"
9240 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
9241 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
9242 "\n"
9243 msgstr ""
9244
9245 # type: textblock
9246 #: ../src/guestfs-actions.pod:3105 ../fish/guestfish-actions.pod:2410
9247 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
9248 msgstr ""
9249
9250 # type: =head2
9251 #: ../src/guestfs-actions.pod:3109
9252 msgid "guestfs_mknod"
9253 msgstr ""
9254
9255 # type: verbatim
9256 #: ../src/guestfs-actions.pod:3111
9257 #, no-wrap
9258 msgid ""
9259 " int guestfs_mknod (guestfs_h *g,\n"
9260 "\t\tint mode,\n"
9261 "\t\tint devmajor,\n"
9262 "\t\tint devminor,\n"
9263 "\t\tconst char *path);\n"
9264 "\n"
9265 msgstr ""
9266
9267 # type: textblock
9268 #: ../src/guestfs-actions.pod:3117 ../fish/guestfish-actions.pod:2416
9269 msgid ""
9270 "This call creates block or character special devices, or named pipes (FIFOs)."
9271 msgstr ""
9272
9273 # type: textblock
9274 #: ../src/guestfs-actions.pod:3120 ../fish/guestfish-actions.pod:2419
9275 msgid ""
9276 "The C<mode> parameter should be the mode, using the standard constants.  "
9277 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9278 "used when creating block and character special devices."
9279 msgstr ""
9280
9281 # type: textblock
9282 #: ../src/guestfs-actions.pod:3125
9283 msgid ""
9284 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9285 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9286 "regular file).  These constants are available in the standard Linux header "
9287 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9288 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9289 "the appropriate constant for you."
9290 msgstr ""
9291
9292 # type: =head2
9293 #: ../src/guestfs-actions.pod:3137
9294 msgid "guestfs_mknod_b"
9295 msgstr ""
9296
9297 # type: verbatim
9298 #: ../src/guestfs-actions.pod:3139
9299 #, no-wrap
9300 msgid ""
9301 " int guestfs_mknod_b (guestfs_h *g,\n"
9302 "\t\tint mode,\n"
9303 "\t\tint devmajor,\n"
9304 "\t\tint devminor,\n"
9305 "\t\tconst char *path);\n"
9306 "\n"
9307 msgstr ""
9308
9309 # type: textblock
9310 #: ../src/guestfs-actions.pod:3145
9311 msgid ""
9312 "This call creates a block device node called C<path> with mode C<mode> and "
9313 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9314 "wrapper around C<guestfs_mknod>."
9315 msgstr ""
9316
9317 # type: =head2
9318 #: ../src/guestfs-actions.pod:3153
9319 msgid "guestfs_mknod_c"
9320 msgstr ""
9321
9322 # type: verbatim
9323 #: ../src/guestfs-actions.pod:3155
9324 #, no-wrap
9325 msgid ""
9326 " int guestfs_mknod_c (guestfs_h *g,\n"
9327 "\t\tint mode,\n"
9328 "\t\tint devmajor,\n"
9329 "\t\tint devminor,\n"
9330 "\t\tconst char *path);\n"
9331 "\n"
9332 msgstr ""
9333
9334 # type: textblock
9335 #: ../src/guestfs-actions.pod:3161
9336 msgid ""
9337 "This call creates a char device node called C<path> with mode C<mode> and "
9338 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9339 "wrapper around C<guestfs_mknod>."
9340 msgstr ""
9341
9342 # type: =head2
9343 #: ../src/guestfs-actions.pod:3169
9344 msgid "guestfs_mkswap"
9345 msgstr ""
9346
9347 # type: verbatim
9348 #: ../src/guestfs-actions.pod:3171
9349 #, no-wrap
9350 msgid ""
9351 " int guestfs_mkswap (guestfs_h *g,\n"
9352 "\t\tconst char *device);\n"
9353 "\n"
9354 msgstr ""
9355
9356 # type: textblock
9357 #: ../src/guestfs-actions.pod:3174 ../fish/guestfish-actions.pod:2458
9358 msgid "Create a swap partition on C<device>."
9359 msgstr ""
9360
9361 # type: =head2
9362 #: ../src/guestfs-actions.pod:3178
9363 msgid "guestfs_mkswap_L"
9364 msgstr ""
9365
9366 # type: verbatim
9367 #: ../src/guestfs-actions.pod:3180
9368 #, no-wrap
9369 msgid ""
9370 " int guestfs_mkswap_L (guestfs_h *g,\n"
9371 "\t\tconst char *label,\n"
9372 "\t\tconst char *device);\n"
9373 "\n"
9374 msgstr ""
9375
9376 # type: textblock
9377 #: ../src/guestfs-actions.pod:3184 ../fish/guestfish-actions.pod:2464
9378 msgid "Create a swap partition on C<device> with label C<label>."
9379 msgstr ""
9380
9381 # type: textblock
9382 #: ../src/guestfs-actions.pod:3186 ../fish/guestfish-actions.pod:2466
9383 msgid ""
9384 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
9385 "sda>), just to a partition.  This appears to be a limitation of the kernel "
9386 "or swap tools."
9387 msgstr ""
9388
9389 # type: =head2
9390 #: ../src/guestfs-actions.pod:3192
9391 msgid "guestfs_mkswap_U"
9392 msgstr ""
9393
9394 # type: verbatim
9395 #: ../src/guestfs-actions.pod:3194
9396 #, no-wrap
9397 msgid ""
9398 " int guestfs_mkswap_U (guestfs_h *g,\n"
9399 "\t\tconst char *uuid,\n"
9400 "\t\tconst char *device);\n"
9401 "\n"
9402 msgstr ""
9403
9404 # type: textblock
9405 #: ../src/guestfs-actions.pod:3198 ../fish/guestfish-actions.pod:2474
9406 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9407 msgstr ""
9408
9409 # type: =head2
9410 #: ../src/guestfs-actions.pod:3202
9411 msgid "guestfs_mkswap_file"
9412 msgstr ""
9413
9414 # type: verbatim
9415 #: ../src/guestfs-actions.pod:3204
9416 #, no-wrap
9417 msgid ""
9418 " int guestfs_mkswap_file (guestfs_h *g,\n"
9419 "\t\tconst char *path);\n"
9420 "\n"
9421 msgstr ""
9422
9423 # type: textblock
9424 #: ../src/guestfs-actions.pod:3207 ../fish/guestfish-actions.pod:2480
9425 msgid "Create a swap file."
9426 msgstr ""
9427
9428 # type: textblock
9429 #: ../src/guestfs-actions.pod:3209
9430 msgid ""
9431 "This command just writes a swap file signature to an existing file.  To "
9432 "create the file itself, use something like C<guestfs_fallocate>."
9433 msgstr ""
9434
9435 # type: =head2
9436 #: ../src/guestfs-actions.pod:3214
9437 msgid "guestfs_modprobe"
9438 msgstr ""
9439
9440 # type: verbatim
9441 #: ../src/guestfs-actions.pod:3216
9442 #, no-wrap
9443 msgid ""
9444 " int guestfs_modprobe (guestfs_h *g,\n"
9445 "\t\tconst char *modulename);\n"
9446 "\n"
9447 msgstr ""
9448
9449 # type: textblock
9450 #: ../src/guestfs-actions.pod:3219 ../fish/guestfish-actions.pod:2489
9451 msgid "This loads a kernel module in the appliance."
9452 msgstr ""
9453
9454 # type: textblock
9455 #: ../src/guestfs-actions.pod:3221 ../fish/guestfish-actions.pod:2491
9456 msgid ""
9457 "The kernel module must have been whitelisted when libguestfs was built (see "
9458 "C<appliance/kmod.whitelist.in> in the source)."
9459 msgstr ""
9460
9461 # type: =head2
9462 #: ../src/guestfs-actions.pod:3226
9463 msgid "guestfs_mount"
9464 msgstr ""
9465
9466 # type: verbatim
9467 #: ../src/guestfs-actions.pod:3228
9468 #, no-wrap
9469 msgid ""
9470 " int guestfs_mount (guestfs_h *g,\n"
9471 "\t\tconst char *device,\n"
9472 "\t\tconst char *mountpoint);\n"
9473 "\n"
9474 msgstr ""
9475
9476 # type: textblock
9477 #: ../src/guestfs-actions.pod:3232 ../fish/guestfish-actions.pod:2498
9478 msgid ""
9479 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9480 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9481 "those block devices contain partitions, they will have the usual names (eg. "
9482 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9483 msgstr ""
9484
9485 # type: textblock
9486 #: ../src/guestfs-actions.pod:3238 ../fish/guestfish-actions.pod:2504
9487 msgid ""
9488 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9489 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9490 "mounted on directories which already exist."
9491 msgstr ""
9492
9493 # type: textblock
9494 #: ../src/guestfs-actions.pod:3243 ../fish/guestfish-actions.pod:2509
9495 msgid ""
9496 "The mounted filesystem is writable, if we have sufficient permissions on the "
9497 "underlying device."
9498 msgstr ""
9499
9500 # type: textblock
9501 #: ../src/guestfs-actions.pod:3246
9502 msgid ""
9503 "B<Important note:> When you use this call, the filesystem options C<sync> "
9504 "and C<noatime> are set implicitly.  This was originally done because we "
9505 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9506 "very large negative performance impact and negligible effect on "
9507 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9508 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9509 "(use an empty string for the first parameter if you don't want any options)."
9510 msgstr ""
9511
9512 # type: =head2
9513 #: ../src/guestfs-actions.pod:3258
9514 msgid "guestfs_mount_loop"
9515 msgstr ""
9516
9517 # type: verbatim
9518 #: ../src/guestfs-actions.pod:3260
9519 #, no-wrap
9520 msgid ""
9521 " int guestfs_mount_loop (guestfs_h *g,\n"
9522 "\t\tconst char *file,\n"
9523 "\t\tconst char *mountpoint);\n"
9524 "\n"
9525 msgstr ""
9526
9527 # type: textblock
9528 #: ../src/guestfs-actions.pod:3264 ../fish/guestfish-actions.pod:2526
9529 msgid ""
9530 "This command lets you mount C<file> (a filesystem image in a file) on a "
9531 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9532 "mountpoint>."
9533 msgstr ""
9534
9535 # type: =head2
9536 #: ../src/guestfs-actions.pod:3270
9537 msgid "guestfs_mount_options"
9538 msgstr ""
9539
9540 # type: verbatim
9541 #: ../src/guestfs-actions.pod:3272
9542 #, no-wrap
9543 msgid ""
9544 " int guestfs_mount_options (guestfs_h *g,\n"
9545 "\t\tconst char *options,\n"
9546 "\t\tconst char *device,\n"
9547 "\t\tconst char *mountpoint);\n"
9548 "\n"
9549 msgstr ""
9550
9551 # type: textblock
9552 #: ../src/guestfs-actions.pod:3277
9553 msgid ""
9554 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9555 "the mount options as for the L<mount(8)> I<-o> flag."
9556 msgstr ""
9557
9558 # type: textblock
9559 #: ../src/guestfs-actions.pod:3281 ../fish/guestfish-actions.pod:2538
9560 msgid ""
9561 "If the C<options> parameter is an empty string, then no options are passed "
9562 "(all options default to whatever the filesystem uses)."
9563 msgstr ""
9564
9565 # type: =head2
9566 #: ../src/guestfs-actions.pod:3287
9567 msgid "guestfs_mount_ro"
9568 msgstr ""
9569
9570 # type: verbatim
9571 #: ../src/guestfs-actions.pod:3289
9572 #, no-wrap
9573 msgid ""
9574 " int guestfs_mount_ro (guestfs_h *g,\n"
9575 "\t\tconst char *device,\n"
9576 "\t\tconst char *mountpoint);\n"
9577 "\n"
9578 msgstr ""
9579
9580 # type: textblock
9581 #: ../src/guestfs-actions.pod:3293
9582 msgid ""
9583 "This is the same as the C<guestfs_mount> command, but it mounts the "
9584 "filesystem with the read-only (I<-o ro>) flag."
9585 msgstr ""
9586
9587 # type: =head2
9588 #: ../src/guestfs-actions.pod:3298
9589 msgid "guestfs_mount_vfs"
9590 msgstr ""
9591
9592 # type: verbatim
9593 #: ../src/guestfs-actions.pod:3300
9594 #, no-wrap
9595 msgid ""
9596 " int guestfs_mount_vfs (guestfs_h *g,\n"
9597 "\t\tconst char *options,\n"
9598 "\t\tconst char *vfstype,\n"
9599 "\t\tconst char *device,\n"
9600 "\t\tconst char *mountpoint);\n"
9601 "\n"
9602 msgstr ""
9603
9604 # type: textblock
9605 #: ../src/guestfs-actions.pod:3306
9606 msgid ""
9607 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9608 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
9609 "t> flags."
9610 msgstr ""
9611
9612 # type: =head2
9613 #: ../src/guestfs-actions.pod:3312
9614 msgid "guestfs_mountpoints"
9615 msgstr ""
9616
9617 # type: verbatim
9618 #: ../src/guestfs-actions.pod:3314
9619 #, no-wrap
9620 msgid ""
9621 " char **guestfs_mountpoints (guestfs_h *g);\n"
9622 "\n"
9623 msgstr ""
9624
9625 # type: textblock
9626 #: ../src/guestfs-actions.pod:3316
9627 msgid ""
9628 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9629 "devices.  This one returns a hash table (map) of device name to directory "
9630 "where the device is mounted."
9631 msgstr ""
9632
9633 # type: =head2
9634 #: ../src/guestfs-actions.pod:3326
9635 msgid "guestfs_mounts"
9636 msgstr ""
9637
9638 # type: verbatim
9639 #: ../src/guestfs-actions.pod:3328
9640 #, no-wrap
9641 msgid ""
9642 " char **guestfs_mounts (guestfs_h *g);\n"
9643 "\n"
9644 msgstr ""
9645
9646 # type: textblock
9647 #: ../src/guestfs-actions.pod:3330 ../fish/guestfish-actions.pod:2569
9648 msgid ""
9649 "This returns the list of currently mounted filesystems.  It returns the list "
9650 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9651 msgstr ""
9652
9653 # type: textblock
9654 #: ../src/guestfs-actions.pod:3333 ../fish/guestfish-actions.pod:2572
9655 msgid "Some internal mounts are not shown."
9656 msgstr ""
9657
9658 # type: textblock
9659 #: ../src/guestfs-actions.pod:3335
9660 msgid "See also: C<guestfs_mountpoints>"
9661 msgstr ""
9662
9663 # type: =head2
9664 #: ../src/guestfs-actions.pod:3341
9665 msgid "guestfs_mv"
9666 msgstr ""
9667
9668 # type: verbatim
9669 #: ../src/guestfs-actions.pod:3343
9670 #, no-wrap
9671 msgid ""
9672 " int guestfs_mv (guestfs_h *g,\n"
9673 "\t\tconst char *src,\n"
9674 "\t\tconst char *dest);\n"
9675 "\n"
9676 msgstr ""
9677
9678 # type: textblock
9679 #: ../src/guestfs-actions.pod:3347 ../fish/guestfish-actions.pod:2580
9680 msgid ""
9681 "This moves a file from C<src> to C<dest> where C<dest> is either a "
9682 "destination filename or destination directory."
9683 msgstr ""
9684
9685 # type: =head2
9686 #: ../src/guestfs-actions.pod:3352
9687 msgid "guestfs_ntfs_3g_probe"
9688 msgstr ""
9689
9690 # type: verbatim
9691 #: ../src/guestfs-actions.pod:3354
9692 #, no-wrap
9693 msgid ""
9694 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
9695 "\t\tint rw,\n"
9696 "\t\tconst char *device);\n"
9697 "\n"
9698 msgstr ""
9699
9700 # type: textblock
9701 #: ../src/guestfs-actions.pod:3358 ../fish/guestfish-actions.pod:2587
9702 msgid ""
9703 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
9704 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
9705 "write, and some cannot be mounted at all)."
9706 msgstr ""
9707
9708 # type: textblock
9709 #: ../src/guestfs-actions.pod:3362 ../fish/guestfish-actions.pod:2591
9710 msgid ""
9711 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
9712 "can be mounted read-write.  Set it to false if you want to test if the "
9713 "volume can be mounted read-only."
9714 msgstr ""
9715
9716 # type: textblock
9717 #: ../src/guestfs-actions.pod:3366 ../fish/guestfish-actions.pod:2595
9718 msgid ""
9719 "The return value is an integer which C<0> if the operation would succeed, or "
9720 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
9721 msgstr ""
9722
9723 # type: =head2
9724 #: ../src/guestfs-actions.pod:3372
9725 msgid "guestfs_ntfsresize"
9726 msgstr ""
9727
9728 # type: verbatim
9729 #: ../src/guestfs-actions.pod:3374
9730 #, no-wrap
9731 msgid ""
9732 " int guestfs_ntfsresize (guestfs_h *g,\n"
9733 "\t\tconst char *device);\n"
9734 "\n"
9735 msgstr ""
9736
9737 # type: textblock
9738 #: ../src/guestfs-actions.pod:3377 ../fish/guestfish-actions.pod:2603
9739 msgid ""
9740 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
9741 "size of the underlying device.  See also L<ntfsresize(8)>."
9742 msgstr ""
9743
9744 # type: =head2
9745 #: ../src/guestfs-actions.pod:3383
9746 msgid "guestfs_ntfsresize_size"
9747 msgstr ""
9748
9749 # type: verbatim
9750 #: ../src/guestfs-actions.pod:3385
9751 #, no-wrap
9752 msgid ""
9753 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
9754 "\t\tconst char *device,\n"
9755 "\t\tint64_t size);\n"
9756 "\n"
9757 msgstr ""
9758
9759 # type: textblock
9760 #: ../src/guestfs-actions.pod:3389
9761 msgid ""
9762 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
9763 "to specify the new size (in bytes) explicitly."
9764 msgstr ""
9765
9766 # type: =head2
9767 #: ../src/guestfs-actions.pod:3394
9768 msgid "guestfs_part_add"
9769 msgstr ""
9770
9771 # type: verbatim
9772 #: ../src/guestfs-actions.pod:3396
9773 #, no-wrap
9774 msgid ""
9775 " int guestfs_part_add (guestfs_h *g,\n"
9776 "\t\tconst char *device,\n"
9777 "\t\tconst char *prlogex,\n"
9778 "\t\tint64_t startsect,\n"
9779 "\t\tint64_t endsect);\n"
9780 "\n"
9781 msgstr ""
9782
9783 # type: textblock
9784 #: ../src/guestfs-actions.pod:3402
9785 msgid ""
9786 "This command adds a partition to C<device>.  If there is no partition table "
9787 "on the device, call C<guestfs_part_init> first."
9788 msgstr ""
9789
9790 # type: textblock
9791 #: ../src/guestfs-actions.pod:3405 ../fish/guestfish-actions.pod:2621
9792 msgid ""
9793 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
9794 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
9795 "C<logical>) and C<e> (or C<extended>) partition types."
9796 msgstr ""
9797
9798 # type: textblock
9799 #: ../src/guestfs-actions.pod:3410 ../fish/guestfish-actions.pod:2626
9800 msgid ""
9801 "C<startsect> and C<endsect> are the start and end of the partition in "
9802 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
9803 "from the end of the disk (C<-1> is the last sector)."
9804 msgstr ""
9805
9806 # type: textblock
9807 #: ../src/guestfs-actions.pod:3414
9808 msgid ""
9809 "Creating a partition which covers the whole disk is not so easy.  Use "
9810 "C<guestfs_part_disk> to do that."
9811 msgstr ""
9812
9813 # type: =head2
9814 #: ../src/guestfs-actions.pod:3419
9815 msgid "guestfs_part_del"
9816 msgstr ""
9817
9818 # type: verbatim
9819 #: ../src/guestfs-actions.pod:3421
9820 #, no-wrap
9821 msgid ""
9822 " int guestfs_part_del (guestfs_h *g,\n"
9823 "\t\tconst char *device,\n"
9824 "\t\tint partnum);\n"
9825 "\n"
9826 msgstr ""
9827
9828 # type: textblock
9829 #: ../src/guestfs-actions.pod:3425 ../fish/guestfish-actions.pod:2637
9830 msgid "This command deletes the partition numbered C<partnum> on C<device>."
9831 msgstr ""
9832
9833 # type: textblock
9834 #: ../src/guestfs-actions.pod:3427 ../fish/guestfish-actions.pod:2639
9835 msgid ""
9836 "Note that in the case of MBR partitioning, deleting an extended partition "
9837 "also deletes any logical partitions it contains."
9838 msgstr ""
9839
9840 # type: =head2
9841 #: ../src/guestfs-actions.pod:3433
9842 msgid "guestfs_part_disk"
9843 msgstr ""
9844
9845 # type: verbatim
9846 #: ../src/guestfs-actions.pod:3435
9847 #, no-wrap
9848 msgid ""
9849 " int guestfs_part_disk (guestfs_h *g,\n"
9850 "\t\tconst char *device,\n"
9851 "\t\tconst char *parttype);\n"
9852 "\n"
9853 msgstr ""
9854
9855 # type: textblock
9856 #: ../src/guestfs-actions.pod:3439
9857 msgid ""
9858 "This command is simply a combination of C<guestfs_part_init> followed by "
9859 "C<guestfs_part_add> to create a single primary partition covering the whole "
9860 "disk."
9861 msgstr ""
9862
9863 # type: textblock
9864 #: ../src/guestfs-actions.pod:3443
9865 msgid ""
9866 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
9867 "possible values are described in C<guestfs_part_init>."
9868 msgstr ""
9869
9870 # type: =head2
9871 #: ../src/guestfs-actions.pod:3451
9872 msgid "guestfs_part_get_bootable"
9873 msgstr ""
9874
9875 # type: verbatim
9876 #: ../src/guestfs-actions.pod:3453
9877 #, no-wrap
9878 msgid ""
9879 " int guestfs_part_get_bootable (guestfs_h *g,\n"
9880 "\t\tconst char *device,\n"
9881 "\t\tint partnum);\n"
9882 "\n"
9883 msgstr ""
9884
9885 # type: textblock
9886 #: ../src/guestfs-actions.pod:3457 ../fish/guestfish-actions.pod:2661
9887 msgid ""
9888 "This command returns true if the partition C<partnum> on C<device> has the "
9889 "bootable flag set."
9890 msgstr ""
9891
9892 # type: textblock
9893 #: ../src/guestfs-actions.pod:3460
9894 msgid "See also C<guestfs_part_set_bootable>."
9895 msgstr ""
9896
9897 # type: =head2
9898 #: ../src/guestfs-actions.pod:3464
9899 msgid "guestfs_part_get_mbr_id"
9900 msgstr ""
9901
9902 # type: verbatim
9903 #: ../src/guestfs-actions.pod:3466
9904 #, no-wrap
9905 msgid ""
9906 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
9907 "\t\tconst char *device,\n"
9908 "\t\tint partnum);\n"
9909 "\n"
9910 msgstr ""
9911
9912 # type: textblock
9913 #: ../src/guestfs-actions.pod:3470 ../fish/guestfish-actions.pod:2670
9914 msgid ""
9915 "Returns the MBR type byte (also known as the ID byte) from the numbered "
9916 "partition C<partnum>."
9917 msgstr ""
9918
9919 # type: textblock
9920 #: ../src/guestfs-actions.pod:3473 ../src/guestfs-actions.pod:3635
9921 msgid ""
9922 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
9923 "undefined results for other partition table types (see "
9924 "C<guestfs_part_get_parttype>)."
9925 msgstr ""
9926
9927 # type: =head2
9928 #: ../src/guestfs-actions.pod:3479
9929 msgid "guestfs_part_get_parttype"
9930 msgstr ""
9931
9932 # type: verbatim
9933 #: ../src/guestfs-actions.pod:3481
9934 #, no-wrap
9935 msgid ""
9936 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
9937 "\t\tconst char *device);\n"
9938 "\n"
9939 msgstr ""
9940
9941 # type: textblock
9942 #: ../src/guestfs-actions.pod:3484 ../fish/guestfish-actions.pod:2681
9943 msgid ""
9944 "This command examines the partition table on C<device> and returns the "
9945 "partition table type (format) being used."
9946 msgstr ""
9947
9948 # type: textblock
9949 #: ../src/guestfs-actions.pod:3487
9950 msgid ""
9951 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
9952 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
9953 "possible, although unusual.  See C<guestfs_part_init> for a full list."
9954 msgstr ""
9955
9956 # type: =head2
9957 #: ../src/guestfs-actions.pod:3495
9958 msgid "guestfs_part_init"
9959 msgstr ""
9960
9961 # type: verbatim
9962 #: ../src/guestfs-actions.pod:3497
9963 #, no-wrap
9964 msgid ""
9965 " int guestfs_part_init (guestfs_h *g,\n"
9966 "\t\tconst char *device,\n"
9967 "\t\tconst char *parttype);\n"
9968 "\n"
9969 msgstr ""
9970
9971 # type: textblock
9972 #: ../src/guestfs-actions.pod:3501 ../fish/guestfish-actions.pod:2693
9973 msgid ""
9974 "This creates an empty partition table on C<device> of one of the partition "
9975 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
9976 "(for large disks)."
9977 msgstr ""
9978
9979 # type: textblock
9980 #: ../src/guestfs-actions.pod:3505
9981 msgid ""
9982 "Initially there are no partitions.  Following this, you should call "
9983 "C<guestfs_part_add> for each partition required."
9984 msgstr ""
9985
9986 # type: textblock
9987 #: ../src/guestfs-actions.pod:3508 ../fish/guestfish-actions.pod:2700
9988 msgid "Possible values for C<parttype> are:"
9989 msgstr ""
9990
9991 # type: =item
9992 #: ../src/guestfs-actions.pod:3512 ../fish/guestfish-actions.pod:2704
9993 msgid "B<efi> | B<gpt>"
9994 msgstr ""
9995
9996 # type: textblock
9997 #: ../src/guestfs-actions.pod:3514 ../fish/guestfish-actions.pod:2706
9998 msgid "Intel EFI / GPT partition table."
9999 msgstr ""
10000
10001 # type: textblock
10002 #: ../src/guestfs-actions.pod:3516 ../fish/guestfish-actions.pod:2708
10003 msgid ""
10004 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
10005 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
10006 "the C<mbr> format."
10007 msgstr ""
10008
10009 # type: =item
10010 #: ../src/guestfs-actions.pod:3520 ../fish/guestfish-actions.pod:2712
10011 msgid "B<mbr> | B<msdos>"
10012 msgstr ""
10013
10014 # type: textblock
10015 #: ../src/guestfs-actions.pod:3522 ../fish/guestfish-actions.pod:2714
10016 msgid ""
10017 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
10018 "Windows.  This partition type will B<only> work for device sizes up to 2 "
10019 "TB.  For large disks we recommend using C<gpt>."
10020 msgstr ""
10021
10022 # type: textblock
10023 #: ../src/guestfs-actions.pod:3529 ../fish/guestfish-actions.pod:2721
10024 msgid ""
10025 "Other partition table types that may work but are not supported include:"
10026 msgstr ""
10027
10028 # type: =item
10029 #: ../src/guestfs-actions.pod:3534 ../fish/guestfish-actions.pod:2726
10030 msgid "B<aix>"
10031 msgstr ""
10032
10033 # type: textblock
10034 #: ../src/guestfs-actions.pod:3536 ../fish/guestfish-actions.pod:2728
10035 msgid "AIX disk labels."
10036 msgstr ""
10037
10038 # type: =item
10039 #: ../src/guestfs-actions.pod:3538 ../fish/guestfish-actions.pod:2730
10040 msgid "B<amiga> | B<rdb>"
10041 msgstr ""
10042
10043 # type: textblock
10044 #: ../src/guestfs-actions.pod:3540 ../fish/guestfish-actions.pod:2732
10045 msgid "Amiga \"Rigid Disk Block\" format."
10046 msgstr ""
10047
10048 # type: =item
10049 #: ../src/guestfs-actions.pod:3542 ../fish/guestfish-actions.pod:2734
10050 msgid "B<bsd>"
10051 msgstr ""
10052
10053 # type: textblock
10054 #: ../src/guestfs-actions.pod:3544 ../fish/guestfish-actions.pod:2736
10055 msgid "BSD disk labels."
10056 msgstr ""
10057
10058 # type: =item
10059 #: ../src/guestfs-actions.pod:3546 ../fish/guestfish-actions.pod:2738
10060 msgid "B<dasd>"
10061 msgstr ""
10062
10063 # type: textblock
10064 #: ../src/guestfs-actions.pod:3548 ../fish/guestfish-actions.pod:2740
10065 msgid "DASD, used on IBM mainframes."
10066 msgstr ""
10067
10068 # type: =item
10069 #: ../src/guestfs-actions.pod:3550 ../fish/guestfish-actions.pod:2742
10070 msgid "B<dvh>"
10071 msgstr ""
10072
10073 # type: textblock
10074 #: ../src/guestfs-actions.pod:3552 ../fish/guestfish-actions.pod:2744
10075 msgid "MIPS/SGI volumes."
10076 msgstr ""
10077
10078 # type: =item
10079 #: ../src/guestfs-actions.pod:3554 ../fish/guestfish-actions.pod:2746
10080 msgid "B<mac>"
10081 msgstr ""
10082
10083 # type: textblock
10084 #: ../src/guestfs-actions.pod:3556 ../fish/guestfish-actions.pod:2748
10085 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
10086 msgstr ""
10087
10088 # type: =item
10089 #: ../src/guestfs-actions.pod:3558 ../fish/guestfish-actions.pod:2750
10090 msgid "B<pc98>"
10091 msgstr ""
10092
10093 # type: textblock
10094 #: ../src/guestfs-actions.pod:3560 ../fish/guestfish-actions.pod:2752
10095 msgid "NEC PC-98 format, common in Japan apparently."
10096 msgstr ""
10097
10098 # type: =item
10099 #: ../src/guestfs-actions.pod:3562 ../fish/guestfish-actions.pod:2754
10100 msgid "B<sun>"
10101 msgstr ""
10102
10103 # type: textblock
10104 #: ../src/guestfs-actions.pod:3564 ../fish/guestfish-actions.pod:2756
10105 msgid "Sun disk labels."
10106 msgstr ""
10107
10108 # type: =head2
10109 #: ../src/guestfs-actions.pod:3570
10110 msgid "guestfs_part_list"
10111 msgstr ""
10112
10113 # type: verbatim
10114 #: ../src/guestfs-actions.pod:3572
10115 #, no-wrap
10116 msgid ""
10117 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
10118 "\t\tconst char *device);\n"
10119 "\n"
10120 msgstr ""
10121
10122 # type: textblock
10123 #: ../src/guestfs-actions.pod:3575 ../fish/guestfish-actions.pod:2764
10124 msgid ""
10125 "This command parses the partition table on C<device> and returns the list of "
10126 "partitions found."
10127 msgstr ""
10128
10129 # type: textblock
10130 #: ../src/guestfs-actions.pod:3578 ../fish/guestfish-actions.pod:2767
10131 msgid "The fields in the returned structure are:"
10132 msgstr ""
10133
10134 # type: =item
10135 #: ../src/guestfs-actions.pod:3582 ../fish/guestfish-actions.pod:2771
10136 msgid "B<part_num>"
10137 msgstr ""
10138
10139 # type: textblock
10140 #: ../src/guestfs-actions.pod:3584 ../fish/guestfish-actions.pod:2773
10141 msgid "Partition number, counting from 1."
10142 msgstr ""
10143
10144 # type: =item
10145 #: ../src/guestfs-actions.pod:3586 ../fish/guestfish-actions.pod:2775
10146 msgid "B<part_start>"
10147 msgstr ""
10148
10149 # type: textblock
10150 #: ../src/guestfs-actions.pod:3588
10151 msgid ""
10152 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
10153 "the device's sector size, see C<guestfs_blockdev_getss>."
10154 msgstr ""
10155
10156 # type: =item
10157 #: ../src/guestfs-actions.pod:3591 ../fish/guestfish-actions.pod:2780
10158 msgid "B<part_end>"
10159 msgstr ""
10160
10161 # type: textblock
10162 #: ../src/guestfs-actions.pod:3593 ../fish/guestfish-actions.pod:2782
10163 msgid "End of the partition in bytes."
10164 msgstr ""
10165
10166 # type: =item
10167 #: ../src/guestfs-actions.pod:3595 ../fish/guestfish-actions.pod:2784
10168 msgid "B<part_size>"
10169 msgstr ""
10170
10171 # type: textblock
10172 #: ../src/guestfs-actions.pod:3597 ../fish/guestfish-actions.pod:2786
10173 msgid "Size of the partition in bytes."
10174 msgstr ""
10175
10176 # type: textblock
10177 #: ../src/guestfs-actions.pod:3601
10178 msgid ""
10179 "This function returns a C<struct guestfs_partition_list *> (see E<lt>guestfs-"
10180 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10181 "C<guestfs_free_partition_list> after use>."
10182 msgstr ""
10183
10184 # type: =head2
10185 #: ../src/guestfs-actions.pod:3606
10186 msgid "guestfs_part_set_bootable"
10187 msgstr ""
10188
10189 # type: verbatim
10190 #: ../src/guestfs-actions.pod:3608
10191 #, no-wrap
10192 msgid ""
10193 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10194 "\t\tconst char *device,\n"
10195 "\t\tint partnum,\n"
10196 "\t\tint bootable);\n"
10197 "\n"
10198 msgstr ""
10199
10200 # type: textblock
10201 #: ../src/guestfs-actions.pod:3613 ../fish/guestfish-actions.pod:2794
10202 msgid ""
10203 "This sets the bootable flag on partition numbered C<partnum> on device "
10204 "C<device>.  Note that partitions are numbered from 1."
10205 msgstr ""
10206
10207 # type: textblock
10208 #: ../src/guestfs-actions.pod:3616 ../fish/guestfish-actions.pod:2797
10209 msgid ""
10210 "The bootable flag is used by some operating systems (notably Windows) to "
10211 "determine which partition to boot from.  It is by no means universally "
10212 "recognized."
10213 msgstr ""
10214
10215 # type: =head2
10216 #: ../src/guestfs-actions.pod:3622
10217 msgid "guestfs_part_set_mbr_id"
10218 msgstr ""
10219
10220 # type: verbatim
10221 #: ../src/guestfs-actions.pod:3624
10222 #, no-wrap
10223 msgid ""
10224 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10225 "\t\tconst char *device,\n"
10226 "\t\tint partnum,\n"
10227 "\t\tint idbyte);\n"
10228 "\n"
10229 msgstr ""
10230
10231 # type: textblock
10232 #: ../src/guestfs-actions.pod:3629 ../fish/guestfish-actions.pod:2805
10233 msgid ""
10234 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10235 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10236 "documentation are in fact hexadecimal numbers, but usually documented "
10237 "without any leading \"0x\" which might be confusing."
10238 msgstr ""
10239
10240 # type: =head2
10241 #: ../src/guestfs-actions.pod:3641
10242 msgid "guestfs_part_set_name"
10243 msgstr ""
10244
10245 # type: verbatim
10246 #: ../src/guestfs-actions.pod:3643
10247 #, no-wrap
10248 msgid ""
10249 " int guestfs_part_set_name (guestfs_h *g,\n"
10250 "\t\tconst char *device,\n"
10251 "\t\tint partnum,\n"
10252 "\t\tconst char *name);\n"
10253 "\n"
10254 msgstr ""
10255
10256 # type: textblock
10257 #: ../src/guestfs-actions.pod:3648 ../fish/guestfish-actions.pod:2819
10258 msgid ""
10259 "This sets the partition name on partition numbered C<partnum> on device "
10260 "C<device>.  Note that partitions are numbered from 1."
10261 msgstr ""
10262
10263 # type: textblock
10264 #: ../src/guestfs-actions.pod:3651 ../fish/guestfish-actions.pod:2822
10265 msgid ""
10266 "The partition name can only be set on certain types of partition table.  "
10267 "This works on C<gpt> but not on C<mbr> partitions."
10268 msgstr ""
10269
10270 # type: =head2
10271 #: ../src/guestfs-actions.pod:3656
10272 msgid "guestfs_ping_daemon"
10273 msgstr ""
10274
10275 # type: verbatim
10276 #: ../src/guestfs-actions.pod:3658
10277 #, no-wrap
10278 msgid ""
10279 " int guestfs_ping_daemon (guestfs_h *g);\n"
10280 "\n"
10281 msgstr ""
10282
10283 # type: textblock
10284 #: ../src/guestfs-actions.pod:3660 ../fish/guestfish-actions.pod:2829
10285 msgid ""
10286 "This is a test probe into the guestfs daemon running inside the qemu "
10287 "subprocess.  Calling this function checks that the daemon responds to the "
10288 "ping message, without affecting the daemon or attached block device(s) in "
10289 "any other way."
10290 msgstr ""
10291
10292 # type: =head2
10293 #: ../src/guestfs-actions.pod:3667
10294 msgid "guestfs_pread"
10295 msgstr ""
10296
10297 # type: verbatim
10298 #: ../src/guestfs-actions.pod:3669
10299 #, no-wrap
10300 msgid ""
10301 " char *guestfs_pread (guestfs_h *g,\n"
10302 "\t\tconst char *path,\n"
10303 "\t\tint count,\n"
10304 "\t\tint64_t offset,\n"
10305 "\t\tsize_t *size_r);\n"
10306 "\n"
10307 msgstr ""
10308
10309 # type: textblock
10310 #: ../src/guestfs-actions.pod:3675 ../fish/guestfish-actions.pod:2838
10311 msgid ""
10312 "This command lets you read part of a file.  It reads C<count> bytes of the "
10313 "file, starting at C<offset>, from file C<path>."
10314 msgstr ""
10315
10316 # type: textblock
10317 #: ../src/guestfs-actions.pod:3678 ../fish/guestfish-actions.pod:2841
10318 msgid ""
10319 "This may read fewer bytes than requested.  For further details see the "
10320 "L<pread(2)> system call."
10321 msgstr ""
10322
10323 # type: textblock
10324 #: ../src/guestfs-actions.pod:3681
10325 msgid "See also C<guestfs_pwrite>."
10326 msgstr ""
10327
10328 # type: =head2
10329 #: ../src/guestfs-actions.pod:3690
10330 msgid "guestfs_pvcreate"
10331 msgstr ""
10332
10333 # type: verbatim
10334 #: ../src/guestfs-actions.pod:3692
10335 #, no-wrap
10336 msgid ""
10337 " int guestfs_pvcreate (guestfs_h *g,\n"
10338 "\t\tconst char *device);\n"
10339 "\n"
10340 msgstr ""
10341
10342 # type: textblock
10343 #: ../src/guestfs-actions.pod:3695 ../fish/guestfish-actions.pod:2853
10344 msgid ""
10345 "This creates an LVM physical volume on the named C<device>, where C<device> "
10346 "should usually be a partition name such as C</dev/sda1>."
10347 msgstr ""
10348
10349 # type: =head2
10350 #: ../src/guestfs-actions.pod:3701
10351 msgid "guestfs_pvremove"
10352 msgstr ""
10353
10354 # type: verbatim
10355 #: ../src/guestfs-actions.pod:3703
10356 #, no-wrap
10357 msgid ""
10358 " int guestfs_pvremove (guestfs_h *g,\n"
10359 "\t\tconst char *device);\n"
10360 "\n"
10361 msgstr ""
10362
10363 # type: textblock
10364 #: ../src/guestfs-actions.pod:3706 ../fish/guestfish-actions.pod:2861
10365 msgid ""
10366 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10367 "it."
10368 msgstr ""
10369
10370 # type: textblock
10371 #: ../src/guestfs-actions.pod:3709 ../fish/guestfish-actions.pod:2864
10372 msgid ""
10373 "The implementation uses the C<pvremove> command which refuses to wipe "
10374 "physical volumes that contain any volume groups, so you have to remove those "
10375 "first."
10376 msgstr ""
10377
10378 # type: =head2
10379 #: ../src/guestfs-actions.pod:3715
10380 msgid "guestfs_pvresize"
10381 msgstr ""
10382
10383 # type: verbatim
10384 #: ../src/guestfs-actions.pod:3717
10385 #, no-wrap
10386 msgid ""
10387 " int guestfs_pvresize (guestfs_h *g,\n"
10388 "\t\tconst char *device);\n"
10389 "\n"
10390 msgstr ""
10391
10392 # type: textblock
10393 #: ../src/guestfs-actions.pod:3720 ../fish/guestfish-actions.pod:2872
10394 msgid ""
10395 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10396 "the new size of the underlying device."
10397 msgstr ""
10398
10399 # type: =head2
10400 #: ../src/guestfs-actions.pod:3725
10401 msgid "guestfs_pvresize_size"
10402 msgstr ""
10403
10404 # type: verbatim
10405 #: ../src/guestfs-actions.pod:3727
10406 #, no-wrap
10407 msgid ""
10408 " int guestfs_pvresize_size (guestfs_h *g,\n"
10409 "\t\tconst char *device,\n"
10410 "\t\tint64_t size);\n"
10411 "\n"
10412 msgstr ""
10413
10414 # type: textblock
10415 #: ../src/guestfs-actions.pod:3731
10416 msgid ""
10417 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10418 "specify the new size (in bytes) explicitly."
10419 msgstr ""
10420
10421 # type: =head2
10422 #: ../src/guestfs-actions.pod:3736
10423 msgid "guestfs_pvs"
10424 msgstr ""
10425
10426 # type: verbatim
10427 #: ../src/guestfs-actions.pod:3738
10428 #, no-wrap
10429 msgid ""
10430 " char **guestfs_pvs (guestfs_h *g);\n"
10431 "\n"
10432 msgstr ""
10433
10434 # type: textblock
10435 #: ../src/guestfs-actions.pod:3740 ../fish/guestfish-actions.pod:2886
10436 msgid ""
10437 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10438 "(8)> command."
10439 msgstr ""
10440
10441 # type: textblock
10442 #: ../src/guestfs-actions.pod:3743 ../fish/guestfish-actions.pod:2889
10443 msgid ""
10444 "This returns a list of just the device names that contain PVs (eg. C</dev/"
10445 "sda2>)."
10446 msgstr ""
10447
10448 # type: textblock
10449 #: ../src/guestfs-actions.pod:3746
10450 msgid "See also C<guestfs_pvs_full>."
10451 msgstr ""
10452
10453 # type: =head2
10454 #: ../src/guestfs-actions.pod:3752
10455 msgid "guestfs_pvs_full"
10456 msgstr ""
10457
10458 # type: verbatim
10459 #: ../src/guestfs-actions.pod:3754
10460 #, no-wrap
10461 msgid ""
10462 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10463 "\n"
10464 msgstr ""
10465
10466 # type: textblock
10467 #: ../src/guestfs-actions.pod:3756 ../fish/guestfish-actions.pod:2898
10468 msgid ""
10469 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10470 "(8)> command.  The \"full\" version includes all fields."
10471 msgstr ""
10472
10473 # type: textblock
10474 #: ../src/guestfs-actions.pod:3759
10475 msgid ""
10476 "This function returns a C<struct guestfs_lvm_pv_list *> (see E<lt>guestfs-"
10477 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10478 "C<guestfs_free_lvm_pv_list> after use>."
10479 msgstr ""
10480
10481 # type: =head2
10482 #: ../src/guestfs-actions.pod:3764
10483 msgid "guestfs_pvuuid"
10484 msgstr ""
10485
10486 # type: verbatim
10487 #: ../src/guestfs-actions.pod:3766
10488 #, no-wrap
10489 msgid ""
10490 " char *guestfs_pvuuid (guestfs_h *g,\n"
10491 "\t\tconst char *device);\n"
10492 "\n"
10493 msgstr ""
10494
10495 # type: textblock
10496 #: ../src/guestfs-actions.pod:3769 ../fish/guestfish-actions.pod:2905
10497 msgid "This command returns the UUID of the LVM PV C<device>."
10498 msgstr ""
10499
10500 # type: =head2
10501 #: ../src/guestfs-actions.pod:3774
10502 msgid "guestfs_pwrite"
10503 msgstr ""
10504
10505 # type: verbatim
10506 #: ../src/guestfs-actions.pod:3776
10507 #, no-wrap
10508 msgid ""
10509 " int guestfs_pwrite (guestfs_h *g,\n"
10510 "\t\tconst char *path,\n"
10511 "\t\tconst char *content,\n"
10512 "\t\tsize_t content_size,\n"
10513 "\t\tint64_t offset);\n"
10514 "\n"
10515 msgstr ""
10516
10517 # type: textblock
10518 #: ../src/guestfs-actions.pod:3782 ../fish/guestfish-actions.pod:2911
10519 msgid ""
10520 "This command writes to part of a file.  It writes the data buffer C<content> "
10521 "to the file C<path> starting at offset C<offset>."
10522 msgstr ""
10523
10524 # type: textblock
10525 #: ../src/guestfs-actions.pod:3785 ../fish/guestfish-actions.pod:2914
10526 msgid ""
10527 "This command implements the L<pwrite(2)> system call, and like that system "
10528 "call it may not write the full data requested.  The return value is the "
10529 "number of bytes that were actually written to the file.  This could even be "
10530 "0, although short writes are unlikely for regular files in ordinary "
10531 "circumstances."
10532 msgstr ""
10533
10534 # type: textblock
10535 #: ../src/guestfs-actions.pod:3791
10536 msgid "See also C<guestfs_pread>."
10537 msgstr ""
10538
10539 # type: =head2
10540 #: ../src/guestfs-actions.pod:3798
10541 msgid "guestfs_read_file"
10542 msgstr ""
10543
10544 # type: verbatim
10545 #: ../src/guestfs-actions.pod:3800
10546 #, no-wrap
10547 msgid ""
10548 " char *guestfs_read_file (guestfs_h *g,\n"
10549 "\t\tconst char *path,\n"
10550 "\t\tsize_t *size_r);\n"
10551 "\n"
10552 msgstr ""
10553
10554 # type: textblock
10555 #: ../src/guestfs-actions.pod:3804 ../fish/guestfish-actions.pod:2929
10556 msgid "This calls returns the contents of the file C<path> as a buffer."
10557 msgstr ""
10558
10559 # type: textblock
10560 #: ../src/guestfs-actions.pod:3807
10561 msgid ""
10562 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
10563 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
10564 "function is limited in the total size of file that can be handled."
10565 msgstr ""
10566
10567 # type: =head2
10568 #: ../src/guestfs-actions.pod:3819
10569 msgid "guestfs_read_lines"
10570 msgstr ""
10571
10572 # type: verbatim
10573 #: ../src/guestfs-actions.pod:3821
10574 #, no-wrap
10575 msgid ""
10576 " char **guestfs_read_lines (guestfs_h *g,\n"
10577 "\t\tconst char *path);\n"
10578 "\n"
10579 msgstr ""
10580
10581 # type: textblock
10582 #: ../src/guestfs-actions.pod:3826 ../fish/guestfish-actions.pod:2946
10583 msgid ""
10584 "The file contents are returned as a list of lines.  Trailing C<LF> and "
10585 "C<CRLF> character sequences are I<not> returned."
10586 msgstr ""
10587
10588 # type: textblock
10589 #: ../src/guestfs-actions.pod:3829
10590 msgid ""
10591 "Note that this function cannot correctly handle binary files (specifically, "
10592 "files containing C<\\0> character which is treated as end of line).  For "
10593 "those you need to use the C<guestfs_read_file> function which has a more "
10594 "complex interface."
10595 msgstr ""
10596
10597 # type: =head2
10598 #: ../src/guestfs-actions.pod:3838
10599 msgid "guestfs_readdir"
10600 msgstr ""
10601
10602 # type: verbatim
10603 #: ../src/guestfs-actions.pod:3840
10604 #, no-wrap
10605 msgid ""
10606 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
10607 "\t\tconst char *dir);\n"
10608 "\n"
10609 msgstr ""
10610
10611 # type: textblock
10612 #: ../src/guestfs-actions.pod:3843 ../fish/guestfish-actions.pod:2958
10613 msgid "This returns the list of directory entries in directory C<dir>."
10614 msgstr ""
10615
10616 # type: textblock
10617 #: ../src/guestfs-actions.pod:3845 ../fish/guestfish-actions.pod:2960
10618 msgid ""
10619 "All entries in the directory are returned, including C<.> and C<..>.  The "
10620 "entries are I<not> sorted, but returned in the same order as the underlying "
10621 "filesystem."
10622 msgstr ""
10623
10624 # type: textblock
10625 #: ../src/guestfs-actions.pod:3849 ../fish/guestfish-actions.pod:2964
10626 msgid ""
10627 "Also this call returns basic file type information about each file.  The "
10628 "C<ftyp> field will contain one of the following characters:"
10629 msgstr ""
10630
10631 # type: =item
10632 #: ../src/guestfs-actions.pod:3854 ../fish/guestfish-actions.pod:2969
10633 msgid "'b'"
10634 msgstr ""
10635
10636 # type: textblock
10637 #: ../src/guestfs-actions.pod:3856 ../fish/guestfish-actions.pod:2971
10638 msgid "Block special"
10639 msgstr ""
10640
10641 # type: =item
10642 #: ../src/guestfs-actions.pod:3858 ../fish/guestfish-actions.pod:2973
10643 msgid "'c'"
10644 msgstr ""
10645
10646 # type: textblock
10647 #: ../src/guestfs-actions.pod:3860 ../fish/guestfish-actions.pod:2975
10648 msgid "Char special"
10649 msgstr ""
10650
10651 # type: =item
10652 #: ../src/guestfs-actions.pod:3862 ../fish/guestfish-actions.pod:2977
10653 msgid "'d'"
10654 msgstr ""
10655
10656 # type: textblock
10657 #: ../src/guestfs-actions.pod:3864 ../fish/guestfish-actions.pod:2979
10658 msgid "Directory"
10659 msgstr ""
10660
10661 # type: =item
10662 #: ../src/guestfs-actions.pod:3866 ../fish/guestfish-actions.pod:2981
10663 msgid "'f'"
10664 msgstr ""
10665
10666 # type: textblock
10667 #: ../src/guestfs-actions.pod:3868 ../fish/guestfish-actions.pod:2983
10668 msgid "FIFO (named pipe)"
10669 msgstr ""
10670
10671 # type: =item
10672 #: ../src/guestfs-actions.pod:3870 ../fish/guestfish-actions.pod:2985
10673 msgid "'l'"
10674 msgstr ""
10675
10676 # type: textblock
10677 #: ../src/guestfs-actions.pod:3872 ../fish/guestfish-actions.pod:2987
10678 msgid "Symbolic link"
10679 msgstr ""
10680
10681 # type: =item
10682 #: ../src/guestfs-actions.pod:3874 ../fish/guestfish-actions.pod:2989
10683 msgid "'r'"
10684 msgstr ""
10685
10686 # type: textblock
10687 #: ../src/guestfs-actions.pod:3876 ../fish/guestfish-actions.pod:2991
10688 msgid "Regular file"
10689 msgstr ""
10690
10691 # type: =item
10692 #: ../src/guestfs-actions.pod:3878 ../fish/guestfish-actions.pod:2993
10693 msgid "'s'"
10694 msgstr ""
10695
10696 # type: textblock
10697 #: ../src/guestfs-actions.pod:3880 ../fish/guestfish-actions.pod:2995
10698 msgid "Socket"
10699 msgstr ""
10700
10701 # type: =item
10702 #: ../src/guestfs-actions.pod:3882 ../fish/guestfish-actions.pod:2997
10703 msgid "'u'"
10704 msgstr ""
10705
10706 # type: textblock
10707 #: ../src/guestfs-actions.pod:3884 ../fish/guestfish-actions.pod:2999
10708 msgid "Unknown file type"
10709 msgstr ""
10710
10711 # type: =item
10712 #: ../src/guestfs-actions.pod:3886 ../fish/guestfish-actions.pod:3001
10713 msgid "'?'"
10714 msgstr ""
10715
10716 # type: textblock
10717 #: ../src/guestfs-actions.pod:3888 ../fish/guestfish-actions.pod:3003
10718 msgid ""
10719 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
10720 msgstr ""
10721
10722 # type: textblock
10723 #: ../src/guestfs-actions.pod:3893
10724 msgid ""
10725 "This function is primarily intended for use by programs.  To get a simple "
10726 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
10727 "consumption, use C<guestfs_ll>."
10728 msgstr ""
10729
10730 # type: textblock
10731 #: ../src/guestfs-actions.pod:3897
10732 msgid ""
10733 "This function returns a C<struct guestfs_dirent_list *> (see E<lt>guestfs-"
10734 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10735 "C<guestfs_free_dirent_list> after use>."
10736 msgstr ""
10737
10738 # type: =head2
10739 #: ../src/guestfs-actions.pod:3902
10740 msgid "guestfs_readlink"
10741 msgstr ""
10742
10743 # type: verbatim
10744 #: ../src/guestfs-actions.pod:3904
10745 #, no-wrap
10746 msgid ""
10747 " char *guestfs_readlink (guestfs_h *g,\n"
10748 "\t\tconst char *path);\n"
10749 "\n"
10750 msgstr ""
10751
10752 # type: textblock
10753 #: ../src/guestfs-actions.pod:3907 ../fish/guestfish-actions.pod:3016
10754 msgid "This command reads the target of a symbolic link."
10755 msgstr ""
10756
10757 # type: =head2
10758 #: ../src/guestfs-actions.pod:3912
10759 msgid "guestfs_readlinklist"
10760 msgstr ""
10761
10762 # type: verbatim
10763 #: ../src/guestfs-actions.pod:3914
10764 #, no-wrap
10765 msgid ""
10766 " char **guestfs_readlinklist (guestfs_h *g,\n"
10767 "\t\tconst char *path,\n"
10768 "\t\tchar *const *names);\n"
10769 "\n"
10770 msgstr ""
10771
10772 # type: textblock
10773 #: ../src/guestfs-actions.pod:3918 ../fish/guestfish-actions.pod:3022
10774 msgid ""
10775 "This call allows you to do a C<readlink> operation on multiple files, where "
10776 "all files are in the directory C<path>.  C<names> is the list of files from "
10777 "this directory."
10778 msgstr ""
10779
10780 # type: textblock
10781 #: ../src/guestfs-actions.pod:3922 ../fish/guestfish-actions.pod:3026
10782 msgid ""
10783 "On return you get a list of strings, with a one-to-one correspondence to the "
10784 "C<names> list.  Each string is the value of the symbolic link."
10785 msgstr ""
10786
10787 # type: textblock
10788 #: ../src/guestfs-actions.pod:3926 ../fish/guestfish-actions.pod:3030
10789 msgid ""
10790 "If the C<readlink(2)> operation fails on any name, then the corresponding "
10791 "result string is the empty string C<\"\">.  However the whole operation is "
10792 "completed even if there were C<readlink(2)> errors, and so you can call this "
10793 "function with names where you don't know if they are symbolic links already "
10794 "(albeit slightly less efficient)."
10795 msgstr ""
10796
10797 # type: textblock
10798 #: ../src/guestfs-actions.pod:3933 ../fish/guestfish-actions.pod:3037
10799 msgid ""
10800 "This call is intended for programs that want to efficiently list a directory "
10801 "contents without making many round-trips.  Very long directory listings "
10802 "might cause the protocol message size to be exceeded, causing this call to "
10803 "fail.  The caller must split up such requests into smaller groups of names."
10804 msgstr ""
10805
10806 # type: =head2
10807 #: ../src/guestfs-actions.pod:3944
10808 msgid "guestfs_realpath"
10809 msgstr ""
10810
10811 # type: verbatim
10812 #: ../src/guestfs-actions.pod:3946
10813 #, no-wrap
10814 msgid ""
10815 " char *guestfs_realpath (guestfs_h *g,\n"
10816 "\t\tconst char *path);\n"
10817 "\n"
10818 msgstr ""
10819
10820 # type: textblock
10821 #: ../src/guestfs-actions.pod:3949 ../fish/guestfish-actions.pod:3048
10822 msgid ""
10823 "Return the canonicalized absolute pathname of C<path>.  The returned path "
10824 "has no C<.>, C<..> or symbolic link path elements."
10825 msgstr ""
10826
10827 # type: =head2
10828 #: ../src/guestfs-actions.pod:3955
10829 msgid "guestfs_removexattr"
10830 msgstr ""
10831
10832 # type: verbatim
10833 #: ../src/guestfs-actions.pod:3957
10834 #, no-wrap
10835 msgid ""
10836 " int guestfs_removexattr (guestfs_h *g,\n"
10837 "\t\tconst char *xattr,\n"
10838 "\t\tconst char *path);\n"
10839 "\n"
10840 msgstr ""
10841
10842 # type: textblock
10843 #: ../src/guestfs-actions.pod:3961 ../fish/guestfish-actions.pod:3055
10844 msgid ""
10845 "This call removes the extended attribute named C<xattr> of the file C<path>."
10846 msgstr ""
10847
10848 # type: textblock
10849 #: ../src/guestfs-actions.pod:3964
10850 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
10851 msgstr ""
10852
10853 # type: =head2
10854 #: ../src/guestfs-actions.pod:3968
10855 msgid "guestfs_resize2fs"
10856 msgstr ""
10857
10858 # type: verbatim
10859 #: ../src/guestfs-actions.pod:3970
10860 #, no-wrap
10861 msgid ""
10862 " int guestfs_resize2fs (guestfs_h *g,\n"
10863 "\t\tconst char *device);\n"
10864 "\n"
10865 msgstr ""
10866
10867 # type: textblock
10868 #: ../src/guestfs-actions.pod:3973 ../fish/guestfish-actions.pod:3064
10869 msgid ""
10870 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
10871 "underlying device."
10872 msgstr ""
10873
10874 # type: textblock
10875 #: ../src/guestfs-actions.pod:3976
10876 msgid ""
10877 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
10878 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
10879 "sometimes gives an error about this and sometimes not.  In any case, it is "
10880 "always safe to call C<guestfs_e2fsck_f> before calling this function."
10881 msgstr ""
10882
10883 # type: =head2
10884 #: ../src/guestfs-actions.pod:3984
10885 msgid "guestfs_resize2fs_size"
10886 msgstr ""
10887
10888 # type: verbatim
10889 #: ../src/guestfs-actions.pod:3986
10890 #, no-wrap
10891 msgid ""
10892 " int guestfs_resize2fs_size (guestfs_h *g,\n"
10893 "\t\tconst char *device,\n"
10894 "\t\tint64_t size);\n"
10895 "\n"
10896 msgstr ""
10897
10898 # type: textblock
10899 #: ../src/guestfs-actions.pod:3990
10900 msgid ""
10901 "This command is the same as C<guestfs_resize2fs> except that it allows you "
10902 "to specify the new size (in bytes) explicitly."
10903 msgstr ""
10904
10905 # type: =head2
10906 #: ../src/guestfs-actions.pod:3995
10907 msgid "guestfs_rm"
10908 msgstr ""
10909
10910 # type: verbatim
10911 #: ../src/guestfs-actions.pod:3997
10912 #, no-wrap
10913 msgid ""
10914 " int guestfs_rm (guestfs_h *g,\n"
10915 "\t\tconst char *path);\n"
10916 "\n"
10917 msgstr ""
10918
10919 # type: textblock
10920 #: ../src/guestfs-actions.pod:4000 ../fish/guestfish-actions.pod:3084
10921 msgid "Remove the single file C<path>."
10922 msgstr ""
10923
10924 # type: =head2
10925 #: ../src/guestfs-actions.pod:4004
10926 msgid "guestfs_rm_rf"
10927 msgstr ""
10928
10929 # type: verbatim
10930 #: ../src/guestfs-actions.pod:4006
10931 #, no-wrap
10932 msgid ""
10933 " int guestfs_rm_rf (guestfs_h *g,\n"
10934 "\t\tconst char *path);\n"
10935 "\n"
10936 msgstr ""
10937
10938 # type: textblock
10939 #: ../src/guestfs-actions.pod:4009 ../fish/guestfish-actions.pod:3090
10940 msgid ""
10941 "Remove the file or directory C<path>, recursively removing the contents if "
10942 "its a directory.  This is like the C<rm -rf> shell command."
10943 msgstr ""
10944
10945 # type: =head2
10946 #: ../src/guestfs-actions.pod:4015
10947 msgid "guestfs_rmdir"
10948 msgstr ""
10949
10950 # type: verbatim
10951 #: ../src/guestfs-actions.pod:4017
10952 #, no-wrap
10953 msgid ""
10954 " int guestfs_rmdir (guestfs_h *g,\n"
10955 "\t\tconst char *path);\n"
10956 "\n"
10957 msgstr ""
10958
10959 # type: textblock
10960 #: ../src/guestfs-actions.pod:4020 ../fish/guestfish-actions.pod:3098
10961 msgid "Remove the single directory C<path>."
10962 msgstr ""
10963
10964 # type: =head2
10965 #: ../src/guestfs-actions.pod:4024
10966 msgid "guestfs_rmmountpoint"
10967 msgstr ""
10968
10969 # type: verbatim
10970 #: ../src/guestfs-actions.pod:4026
10971 #, no-wrap
10972 msgid ""
10973 " int guestfs_rmmountpoint (guestfs_h *g,\n"
10974 "\t\tconst char *exemptpath);\n"
10975 "\n"
10976 msgstr ""
10977
10978 # type: textblock
10979 #: ../src/guestfs-actions.pod:4029
10980 msgid ""
10981 "This calls removes a mountpoint that was previously created with "
10982 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
10983 msgstr ""
10984
10985 # type: =head2
10986 #: ../src/guestfs-actions.pod:4035
10987 msgid "guestfs_scrub_device"
10988 msgstr ""
10989
10990 # type: verbatim
10991 #: ../src/guestfs-actions.pod:4037
10992 #, no-wrap
10993 msgid ""
10994 " int guestfs_scrub_device (guestfs_h *g,\n"
10995 "\t\tconst char *device);\n"
10996 "\n"
10997 msgstr ""
10998
10999 # type: textblock
11000 #: ../src/guestfs-actions.pod:4040 ../fish/guestfish-actions.pod:3112
11001 msgid ""
11002 "This command writes patterns over C<device> to make data retrieval more "
11003 "difficult."
11004 msgstr ""
11005
11006 # type: textblock
11007 #: ../src/guestfs-actions.pod:4043 ../src/guestfs-actions.pod:4061
11008 #: ../src/guestfs-actions.pod:4077 ../fish/guestfish-actions.pod:3115
11009 #: ../fish/guestfish-actions.pod:3130 ../fish/guestfish-actions.pod:3143
11010 msgid ""
11011 "It is an interface to the L<scrub(1)> program.  See that manual page for "
11012 "more details."
11013 msgstr ""
11014
11015 # type: =head2
11016 #: ../src/guestfs-actions.pod:4051
11017 msgid "guestfs_scrub_file"
11018 msgstr ""
11019
11020 # type: verbatim
11021 #: ../src/guestfs-actions.pod:4053
11022 #, no-wrap
11023 msgid ""
11024 " int guestfs_scrub_file (guestfs_h *g,\n"
11025 "\t\tconst char *file);\n"
11026 "\n"
11027 msgstr ""
11028
11029 # type: textblock
11030 #: ../src/guestfs-actions.pod:4056 ../fish/guestfish-actions.pod:3125
11031 msgid ""
11032 "This command writes patterns over a file to make data retrieval more "
11033 "difficult."
11034 msgstr ""
11035
11036 # type: textblock
11037 #: ../src/guestfs-actions.pod:4059 ../fish/guestfish-actions.pod:3128
11038 msgid "The file is I<removed> after scrubbing."
11039 msgstr ""
11040
11041 # type: =head2
11042 #: ../src/guestfs-actions.pod:4066
11043 msgid "guestfs_scrub_freespace"
11044 msgstr ""
11045
11046 # type: verbatim
11047 #: ../src/guestfs-actions.pod:4068
11048 #, no-wrap
11049 msgid ""
11050 " int guestfs_scrub_freespace (guestfs_h *g,\n"
11051 "\t\tconst char *dir);\n"
11052 "\n"
11053 msgstr ""
11054
11055 # type: textblock
11056 #: ../src/guestfs-actions.pod:4071
11057 msgid ""
11058 "This command creates the directory C<dir> and then fills it with files until "
11059 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
11060 "and deletes them.  The intention is to scrub any free space on the partition "
11061 "containing C<dir>."
11062 msgstr ""
11063
11064 # type: =head2
11065 #: ../src/guestfs-actions.pod:4082
11066 msgid "guestfs_set_append"
11067 msgstr ""
11068
11069 # type: verbatim
11070 #: ../src/guestfs-actions.pod:4084
11071 #, no-wrap
11072 msgid ""
11073 " int guestfs_set_append (guestfs_h *g,\n"
11074 "\t\tconst char *append);\n"
11075 "\n"
11076 msgstr ""
11077
11078 # type: textblock
11079 #: ../src/guestfs-actions.pod:4087 ../fish/guestfish-actions.pod:3150
11080 msgid ""
11081 "This function is used to add additional options to the guest kernel command "
11082 "line."
11083 msgstr ""
11084
11085 # type: textblock
11086 #: ../src/guestfs-actions.pod:4090 ../fish/guestfish-actions.pod:3153
11087 msgid ""
11088 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
11089 "environment variable."
11090 msgstr ""
11091
11092 # type: textblock
11093 #: ../src/guestfs-actions.pod:4093 ../fish/guestfish-actions.pod:3156
11094 msgid ""
11095 "Setting C<append> to C<NULL> means I<no> additional options are passed "
11096 "(libguestfs always adds a few of its own)."
11097 msgstr ""
11098
11099 # type: =head2
11100 #: ../src/guestfs-actions.pod:4098
11101 msgid "guestfs_set_autosync"
11102 msgstr ""
11103
11104 # type: verbatim
11105 #: ../src/guestfs-actions.pod:4100
11106 #, no-wrap
11107 msgid ""
11108 " int guestfs_set_autosync (guestfs_h *g,\n"
11109 "\t\tint autosync);\n"
11110 "\n"
11111 msgstr ""
11112
11113 # type: textblock
11114 #: ../src/guestfs-actions.pod:4103
11115 msgid ""
11116 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
11117 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
11118 "the handle is closed (also if the program exits without closing handles)."
11119 msgstr ""
11120
11121 # type: textblock
11122 #: ../src/guestfs-actions.pod:4108 ../fish/guestfish-actions.pod:3168
11123 msgid ""
11124 "This is disabled by default (except in guestfish where it is enabled by "
11125 "default)."
11126 msgstr ""
11127
11128 # type: =head2
11129 #: ../src/guestfs-actions.pod:4113
11130 msgid "guestfs_set_direct"
11131 msgstr ""
11132
11133 # type: verbatim
11134 #: ../src/guestfs-actions.pod:4115
11135 #, no-wrap
11136 msgid ""
11137 " int guestfs_set_direct (guestfs_h *g,\n"
11138 "\t\tint direct);\n"
11139 "\n"
11140 msgstr ""
11141
11142 # type: textblock
11143 #: ../src/guestfs-actions.pod:4118 ../fish/guestfish-actions.pod:3175
11144 msgid ""
11145 "If the direct appliance mode flag is enabled, then stdin and stdout are "
11146 "passed directly through to the appliance once it is launched."
11147 msgstr ""
11148
11149 # type: textblock
11150 #: ../src/guestfs-actions.pod:4122
11151 msgid ""
11152 "One consequence of this is that log messages aren't caught by the library "
11153 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
11154 "stdout."
11155 msgstr ""
11156
11157 # type: textblock
11158 #: ../src/guestfs-actions.pod:4126 ../fish/guestfish-actions.pod:3183
11159 msgid "You probably don't want to use this unless you know what you are doing."
11160 msgstr ""
11161
11162 # type: textblock
11163 #: ../src/guestfs-actions.pod:4129 ../fish/guestfish-actions.pod:3186
11164 msgid "The default is disabled."
11165 msgstr ""
11166
11167 # type: =head2
11168 #: ../src/guestfs-actions.pod:4133
11169 msgid "guestfs_set_e2label"
11170 msgstr ""
11171
11172 # type: verbatim
11173 #: ../src/guestfs-actions.pod:4135
11174 #, no-wrap
11175 msgid ""
11176 " int guestfs_set_e2label (guestfs_h *g,\n"
11177 "\t\tconst char *device,\n"
11178 "\t\tconst char *label);\n"
11179 "\n"
11180 msgstr ""
11181
11182 # type: textblock
11183 #: ../src/guestfs-actions.pod:4139 ../fish/guestfish-actions.pod:3192
11184 msgid ""
11185 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11186 "C<label>.  Filesystem labels are limited to 16 characters."
11187 msgstr ""
11188
11189 # type: textblock
11190 #: ../src/guestfs-actions.pod:4143
11191 msgid ""
11192 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11193 "the existing label on a filesystem."
11194 msgstr ""
11195
11196 # type: =head2
11197 #: ../src/guestfs-actions.pod:4148
11198 msgid "guestfs_set_e2uuid"
11199 msgstr ""
11200
11201 # type: verbatim
11202 #: ../src/guestfs-actions.pod:4150
11203 #, no-wrap
11204 msgid ""
11205 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11206 "\t\tconst char *device,\n"
11207 "\t\tconst char *uuid);\n"
11208 "\n"
11209 msgstr ""
11210
11211 # type: textblock
11212 #: ../src/guestfs-actions.pod:4154 ../fish/guestfish-actions.pod:3203
11213 msgid ""
11214 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11215 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11216 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11217 msgstr ""
11218
11219 # type: textblock
11220 #: ../src/guestfs-actions.pod:4159
11221 msgid ""
11222 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11223 "the existing UUID of a filesystem."
11224 msgstr ""
11225
11226 # type: =head2
11227 #: ../src/guestfs-actions.pod:4164
11228 msgid "guestfs_set_memsize"
11229 msgstr ""
11230
11231 # type: verbatim
11232 #: ../src/guestfs-actions.pod:4166
11233 #, no-wrap
11234 msgid ""
11235 " int guestfs_set_memsize (guestfs_h *g,\n"
11236 "\t\tint memsize);\n"
11237 "\n"
11238 msgstr ""
11239
11240 # type: textblock
11241 #: ../src/guestfs-actions.pod:4169
11242 msgid ""
11243 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11244 "This only has any effect if called before C<guestfs_launch>."
11245 msgstr ""
11246
11247 # type: textblock
11248 #: ../src/guestfs-actions.pod:4173 ../fish/guestfish-actions.pod:3219
11249 msgid ""
11250 "You can also change this by setting the environment variable "
11251 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11252 msgstr ""
11253
11254 # type: =head2
11255 #: ../src/guestfs-actions.pod:4182
11256 msgid "guestfs_set_network"
11257 msgstr ""
11258
11259 # type: verbatim
11260 #: ../src/guestfs-actions.pod:4184
11261 #, no-wrap
11262 msgid ""
11263 " int guestfs_set_network (guestfs_h *g,\n"
11264 "\t\tint network);\n"
11265 "\n"
11266 msgstr ""
11267
11268 # type: textblock
11269 #: ../src/guestfs-actions.pod:4187 ../fish/guestfish-actions.pod:3230
11270 msgid ""
11271 "If C<network> is true, then the network is enabled in the libguestfs "
11272 "appliance.  The default is false."
11273 msgstr ""
11274
11275 # type: textblock
11276 #: ../src/guestfs-actions.pod:4190 ../fish/guestfish-actions.pod:3233
11277 msgid ""
11278 "This affects whether commands are able to access the network (see L<guestfs"
11279 "(3)/RUNNING COMMANDS>)."
11280 msgstr ""
11281
11282 # type: textblock
11283 #: ../src/guestfs-actions.pod:4193
11284 msgid ""
11285 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11286 "effect."
11287 msgstr ""
11288
11289 # type: =head2
11290 #: ../src/guestfs-actions.pod:4198
11291 msgid "guestfs_set_path"
11292 msgstr ""
11293
11294 # type: verbatim
11295 #: ../src/guestfs-actions.pod:4200
11296 #, no-wrap
11297 msgid ""
11298 " int guestfs_set_path (guestfs_h *g,\n"
11299 "\t\tconst char *searchpath);\n"
11300 "\n"
11301 msgstr ""
11302
11303 # type: textblock
11304 #: ../src/guestfs-actions.pod:4203 ../fish/guestfish-actions.pod:3243
11305 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11306 msgstr ""
11307
11308 # type: textblock
11309 #: ../src/guestfs-actions.pod:4205 ../fish/guestfish-actions.pod:3245
11310 msgid ""
11311 "The default is C<$libdir/guestfs> unless overridden by setting "
11312 "C<LIBGUESTFS_PATH> environment variable."
11313 msgstr ""
11314
11315 # type: textblock
11316 #: ../src/guestfs-actions.pod:4208 ../fish/guestfish-actions.pod:3248
11317 msgid "Setting C<path> to C<NULL> restores the default path."
11318 msgstr ""
11319
11320 # type: =head2
11321 #: ../src/guestfs-actions.pod:4212
11322 msgid "guestfs_set_qemu"
11323 msgstr ""
11324
11325 # type: verbatim
11326 #: ../src/guestfs-actions.pod:4214
11327 #, no-wrap
11328 msgid ""
11329 " int guestfs_set_qemu (guestfs_h *g,\n"
11330 "\t\tconst char *qemu);\n"
11331 "\n"
11332 msgstr ""
11333
11334 # type: textblock
11335 #: ../src/guestfs-actions.pod:4217 ../fish/guestfish-actions.pod:3254
11336 msgid "Set the qemu binary that we will use."
11337 msgstr ""
11338
11339 # type: textblock
11340 #: ../src/guestfs-actions.pod:4219 ../fish/guestfish-actions.pod:3256
11341 msgid ""
11342 "The default is chosen when the library was compiled by the configure script."
11343 msgstr ""
11344
11345 # type: textblock
11346 #: ../src/guestfs-actions.pod:4222 ../fish/guestfish-actions.pod:3259
11347 msgid ""
11348 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11349 "variable."
11350 msgstr ""
11351
11352 # type: textblock
11353 #: ../src/guestfs-actions.pod:4225 ../fish/guestfish-actions.pod:3262
11354 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11355 msgstr ""
11356
11357 # type: textblock
11358 #: ../src/guestfs-actions.pod:4227 ../fish/guestfish-actions.pod:3264
11359 msgid ""
11360 "Note that you should call this function as early as possible after creating "
11361 "the handle.  This is because some pre-launch operations depend on testing "
11362 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11363 "don't retest features, and so you might see inconsistent results.  Using the "
11364 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11365 "the qemu binary at the same time as the handle is created."
11366 msgstr ""
11367
11368 # type: =head2
11369 #: ../src/guestfs-actions.pod:4237
11370 msgid "guestfs_set_recovery_proc"
11371 msgstr ""
11372
11373 # type: verbatim
11374 #: ../src/guestfs-actions.pod:4239
11375 #, no-wrap
11376 msgid ""
11377 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11378 "\t\tint recoveryproc);\n"
11379 "\n"
11380 msgstr ""
11381
11382 # type: textblock
11383 #: ../src/guestfs-actions.pod:4242
11384 msgid ""
11385 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11386 "not create a recovery process.  The purpose of the recovery process is to "
11387 "stop runaway qemu processes in the case where the main program aborts "
11388 "abruptly."
11389 msgstr ""
11390
11391 # type: textblock
11392 #: ../src/guestfs-actions.pod:4247
11393 msgid ""
11394 "This only has any effect if called before C<guestfs_launch>, and the default "
11395 "is true."
11396 msgstr ""
11397
11398 # type: textblock
11399 #: ../src/guestfs-actions.pod:4250 ../fish/guestfish-actions.pod:3284
11400 msgid ""
11401 "About the only time when you would want to disable this is if the main "
11402 "process will fork itself into the background (\"daemonize\" itself).  In "
11403 "this case the recovery process thinks that the main program has disappeared "
11404 "and so kills qemu, which is not very helpful."
11405 msgstr ""
11406
11407 # type: =head2
11408 #: ../src/guestfs-actions.pod:4258
11409 msgid "guestfs_set_selinux"
11410 msgstr ""
11411
11412 # type: verbatim
11413 #: ../src/guestfs-actions.pod:4260
11414 #, no-wrap
11415 msgid ""
11416 " int guestfs_set_selinux (guestfs_h *g,\n"
11417 "\t\tint selinux);\n"
11418 "\n"
11419 msgstr ""
11420
11421 # type: textblock
11422 #: ../src/guestfs-actions.pod:4263 ../fish/guestfish-actions.pod:3294
11423 msgid ""
11424 "This sets the selinux flag that is passed to the appliance at boot time.  "
11425 "The default is C<selinux=0> (disabled)."
11426 msgstr ""
11427
11428 # type: textblock
11429 #: ../src/guestfs-actions.pod:4266 ../fish/guestfish-actions.pod:3297
11430 msgid ""
11431 "Note that if SELinux is enabled, it is always in Permissive mode "
11432 "(C<enforcing=0>)."
11433 msgstr ""
11434
11435 # type: =head2
11436 #: ../src/guestfs-actions.pod:4274
11437 msgid "guestfs_set_trace"
11438 msgstr ""
11439
11440 # type: verbatim
11441 #: ../src/guestfs-actions.pod:4276
11442 #, no-wrap
11443 msgid ""
11444 " int guestfs_set_trace (guestfs_h *g,\n"
11445 "\t\tint trace);\n"
11446 "\n"
11447 msgstr ""
11448
11449 # type: textblock
11450 #: ../src/guestfs-actions.pod:4279 ../fish/guestfish-actions.pod:3307
11451 msgid ""
11452 "If the command trace flag is set to 1, then commands are printed on stderr "
11453 "before they are executed in a format which is very similar to the one used "
11454 "by guestfish.  In other words, you can run a program with this enabled, and "
11455 "you will get out a script which you can feed to guestfish to perform the "
11456 "same set of actions."
11457 msgstr ""
11458
11459 # type: textblock
11460 #: ../src/guestfs-actions.pod:4286 ../fish/guestfish-actions.pod:3314
11461 msgid ""
11462 "If you want to trace C API calls into libguestfs (and other libraries) then "
11463 "possibly a better way is to use the external ltrace(1) command."
11464 msgstr ""
11465
11466 # type: textblock
11467 #: ../src/guestfs-actions.pod:4290 ../fish/guestfish-actions.pod:3318
11468 msgid ""
11469 "Command traces are disabled unless the environment variable "
11470 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11471 msgstr ""
11472
11473 # type: =head2
11474 #: ../src/guestfs-actions.pod:4295
11475 msgid "guestfs_set_verbose"
11476 msgstr ""
11477
11478 # type: verbatim
11479 #: ../src/guestfs-actions.pod:4297
11480 #, no-wrap
11481 msgid ""
11482 " int guestfs_set_verbose (guestfs_h *g,\n"
11483 "\t\tint verbose);\n"
11484 "\n"
11485 msgstr ""
11486
11487 # type: textblock
11488 #: ../src/guestfs-actions.pod:4300 ../fish/guestfish-actions.pod:3325
11489 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11490 msgstr ""
11491
11492 # type: textblock
11493 #: ../src/guestfs-actions.pod:4302 ../fish/guestfish-actions.pod:3327
11494 msgid ""
11495 "Verbose messages are disabled unless the environment variable "
11496 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11497 msgstr ""
11498
11499 # type: =head2
11500 #: ../src/guestfs-actions.pod:4307
11501 msgid "guestfs_setcon"
11502 msgstr ""
11503
11504 # type: verbatim
11505 #: ../src/guestfs-actions.pod:4309
11506 #, no-wrap
11507 msgid ""
11508 " int guestfs_setcon (guestfs_h *g,\n"
11509 "\t\tconst char *context);\n"
11510 "\n"
11511 msgstr ""
11512
11513 # type: textblock
11514 #: ../src/guestfs-actions.pod:4312 ../fish/guestfish-actions.pod:3334
11515 msgid ""
11516 "This sets the SELinux security context of the daemon to the string "
11517 "C<context>."
11518 msgstr ""
11519
11520 # type: textblock
11521 #: ../src/guestfs-actions.pod:4315 ../fish/guestfish-actions.pod:3337
11522 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11523 msgstr ""
11524
11525 # type: =head2
11526 #: ../src/guestfs-actions.pod:4319
11527 msgid "guestfs_setxattr"
11528 msgstr ""
11529
11530 # type: verbatim
11531 #: ../src/guestfs-actions.pod:4321
11532 #, no-wrap
11533 msgid ""
11534 " int guestfs_setxattr (guestfs_h *g,\n"
11535 "\t\tconst char *xattr,\n"
11536 "\t\tconst char *val,\n"
11537 "\t\tint vallen,\n"
11538 "\t\tconst char *path);\n"
11539 "\n"
11540 msgstr ""
11541
11542 # type: textblock
11543 #: ../src/guestfs-actions.pod:4327 ../fish/guestfish-actions.pod:3343
11544 msgid ""
11545 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11546 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11547 msgstr ""
11548
11549 # type: textblock
11550 #: ../src/guestfs-actions.pod:4331
11551 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11552 msgstr ""
11553
11554 # type: =head2
11555 #: ../src/guestfs-actions.pod:4335
11556 msgid "guestfs_sfdisk"
11557 msgstr ""
11558
11559 # type: verbatim
11560 #: ../src/guestfs-actions.pod:4337
11561 #, no-wrap
11562 msgid ""
11563 " int guestfs_sfdisk (guestfs_h *g,\n"
11564 "\t\tconst char *device,\n"
11565 "\t\tint cyls,\n"
11566 "\t\tint heads,\n"
11567 "\t\tint sectors,\n"
11568 "\t\tchar *const *lines);\n"
11569 "\n"
11570 msgstr ""
11571
11572 # type: textblock
11573 #: ../src/guestfs-actions.pod:4344 ../fish/guestfish-actions.pod:3353
11574 msgid ""
11575 "This is a direct interface to the L<sfdisk(8)> program for creating "
11576 "partitions on block devices."
11577 msgstr ""
11578
11579 # type: textblock
11580 #: ../src/guestfs-actions.pod:4347 ../fish/guestfish-actions.pod:3356
11581 msgid "C<device> should be a block device, for example C</dev/sda>."
11582 msgstr ""
11583
11584 # type: textblock
11585 #: ../src/guestfs-actions.pod:4349 ../fish/guestfish-actions.pod:3358
11586 msgid ""
11587 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
11588 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
11589 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
11590 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
11591 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
11592 "the kernel) cannot work out the right geometry and you will need to tell it."
11593 msgstr ""
11594
11595 # type: textblock
11596 #: ../src/guestfs-actions.pod:4357 ../fish/guestfish-actions.pod:3366
11597 msgid ""
11598 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
11599 "refer to the L<sfdisk(8)> manpage."
11600 msgstr ""
11601
11602 # type: textblock
11603 #: ../src/guestfs-actions.pod:4360 ../fish/guestfish-actions.pod:3369
11604 msgid ""
11605 "To create a single partition occupying the whole disk, you would pass "
11606 "C<lines> as a single element list, when the single element being the string "
11607 "C<,> (comma)."
11608 msgstr ""
11609
11610 # type: textblock
11611 #: ../src/guestfs-actions.pod:4364
11612 msgid ""
11613 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
11614 msgstr ""
11615
11616 # type: =head2
11617 #: ../src/guestfs-actions.pod:4372
11618 msgid "guestfs_sfdiskM"
11619 msgstr ""
11620
11621 # type: verbatim
11622 #: ../src/guestfs-actions.pod:4374
11623 #, no-wrap
11624 msgid ""
11625 " int guestfs_sfdiskM (guestfs_h *g,\n"
11626 "\t\tconst char *device,\n"
11627 "\t\tchar *const *lines);\n"
11628 "\n"
11629 msgstr ""
11630
11631 # type: textblock
11632 #: ../src/guestfs-actions.pod:4378
11633 msgid ""
11634 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
11635 "partition sizes are specified in megabytes only (rounded to the nearest "
11636 "cylinder) and you don't need to specify the cyls, heads and sectors "
11637 "parameters which were rarely if ever used anyway."
11638 msgstr ""
11639
11640 # type: textblock
11641 #: ../src/guestfs-actions.pod:4384
11642 msgid ""
11643 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
11644 "C<guestfs_part_disk>"
11645 msgstr ""
11646
11647 # type: =head2
11648 #: ../src/guestfs-actions.pod:4392
11649 msgid "guestfs_sfdisk_N"
11650 msgstr ""
11651
11652 # type: verbatim
11653 #: ../src/guestfs-actions.pod:4394
11654 #, no-wrap
11655 msgid ""
11656 " int guestfs_sfdisk_N (guestfs_h *g,\n"
11657 "\t\tconst char *device,\n"
11658 "\t\tint partnum,\n"
11659 "\t\tint cyls,\n"
11660 "\t\tint heads,\n"
11661 "\t\tint sectors,\n"
11662 "\t\tconst char *line);\n"
11663 "\n"
11664 msgstr ""
11665
11666 # type: textblock
11667 #: ../src/guestfs-actions.pod:4402 ../fish/guestfish-actions.pod:3399
11668 msgid ""
11669 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
11670 "(note: C<n> counts from 1)."
11671 msgstr ""
11672
11673 # type: textblock
11674 #: ../src/guestfs-actions.pod:4405
11675 msgid ""
11676 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
11677 "for the cyls/heads/sectors parameters."
11678 msgstr ""
11679
11680 # type: textblock
11681 #: ../src/guestfs-actions.pod:4408
11682 msgid "See also: C<guestfs_part_add>"
11683 msgstr ""
11684
11685 # type: =head2
11686 #: ../src/guestfs-actions.pod:4415
11687 msgid "guestfs_sfdisk_disk_geometry"
11688 msgstr ""
11689
11690 # type: verbatim
11691 #: ../src/guestfs-actions.pod:4417
11692 #, no-wrap
11693 msgid ""
11694 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
11695 "\t\tconst char *device);\n"
11696 "\n"
11697 msgstr ""
11698
11699 # type: textblock
11700 #: ../src/guestfs-actions.pod:4420
11701 msgid ""
11702 "This displays the disk geometry of C<device> read from the partition table.  "
11703 "Especially in the case where the underlying block device has been resized, "
11704 "this can be different from the kernel's idea of the geometry (see "
11705 "C<guestfs_sfdisk_kernel_geometry>)."
11706 msgstr ""
11707
11708 # type: textblock
11709 #: ../src/guestfs-actions.pod:4425 ../src/guestfs-actions.pod:4438
11710 #: ../fish/guestfish-actions.pod:3419 ../fish/guestfish-actions.pod:3428
11711 msgid "The result is in human-readable format, and not designed to be parsed."
11712 msgstr ""
11713
11714 # type: =head2
11715 #: ../src/guestfs-actions.pod:4431
11716 msgid "guestfs_sfdisk_kernel_geometry"
11717 msgstr ""
11718
11719 # type: verbatim
11720 #: ../src/guestfs-actions.pod:4433
11721 #, no-wrap
11722 msgid ""
11723 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
11724 "\t\tconst char *device);\n"
11725 "\n"
11726 msgstr ""
11727
11728 # type: textblock
11729 #: ../src/guestfs-actions.pod:4436 ../fish/guestfish-actions.pod:3426
11730 msgid "This displays the kernel's idea of the geometry of C<device>."
11731 msgstr ""
11732
11733 # type: =head2
11734 #: ../src/guestfs-actions.pod:4444
11735 msgid "guestfs_sfdisk_l"
11736 msgstr ""
11737
11738 # type: verbatim
11739 #: ../src/guestfs-actions.pod:4446
11740 #, no-wrap
11741 msgid ""
11742 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
11743 "\t\tconst char *device);\n"
11744 "\n"
11745 msgstr ""
11746
11747 # type: textblock
11748 #: ../src/guestfs-actions.pod:4449 ../fish/guestfish-actions.pod:3435
11749 msgid ""
11750 "This displays the partition table on C<device>, in the human-readable output "
11751 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
11752 msgstr ""
11753
11754 # type: textblock
11755 #: ../src/guestfs-actions.pod:4453
11756 msgid "See also: C<guestfs_part_list>"
11757 msgstr ""
11758
11759 # type: =head2
11760 #: ../src/guestfs-actions.pod:4458
11761 msgid "guestfs_sh"
11762 msgstr ""
11763
11764 # type: verbatim
11765 #: ../src/guestfs-actions.pod:4460
11766 #, no-wrap
11767 msgid ""
11768 " char *guestfs_sh (guestfs_h *g,\n"
11769 "\t\tconst char *command);\n"
11770 "\n"
11771 msgstr ""
11772
11773 # type: textblock
11774 #: ../src/guestfs-actions.pod:4463 ../fish/guestfish-actions.pod:3445
11775 msgid ""
11776 "This call runs a command from the guest filesystem via the guest's C</bin/"
11777 "sh>."
11778 msgstr ""
11779
11780 # type: textblock
11781 #: ../src/guestfs-actions.pod:4466
11782 msgid "This is like C<guestfs_command>, but passes the command to:"
11783 msgstr ""
11784
11785 # type: verbatim
11786 #: ../src/guestfs-actions.pod:4468 ../fish/guestfish-actions.pod:3450
11787 #, no-wrap
11788 msgid ""
11789 " /bin/sh -c \"command\"\n"
11790 "\n"
11791 msgstr ""
11792
11793 # type: textblock
11794 #: ../src/guestfs-actions.pod:4470 ../fish/guestfish-actions.pod:3452
11795 msgid ""
11796 "Depending on the guest's shell, this usually results in wildcards being "
11797 "expanded, shell expressions being interpolated and so on."
11798 msgstr ""
11799
11800 # type: textblock
11801 #: ../src/guestfs-actions.pod:4474
11802 msgid "All the provisos about C<guestfs_command> apply to this call."
11803 msgstr ""
11804
11805 # type: =head2
11806 #: ../src/guestfs-actions.pod:4479
11807 msgid "guestfs_sh_lines"
11808 msgstr ""
11809
11810 # type: verbatim
11811 #: ../src/guestfs-actions.pod:4481
11812 #, no-wrap
11813 msgid ""
11814 " char **guestfs_sh_lines (guestfs_h *g,\n"
11815 "\t\tconst char *command);\n"
11816 "\n"
11817 msgstr ""
11818
11819 # type: textblock
11820 #: ../src/guestfs-actions.pod:4484
11821 msgid ""
11822 "This is the same as C<guestfs_sh>, but splits the result into a list of "
11823 "lines."
11824 msgstr ""
11825
11826 # type: textblock
11827 #: ../src/guestfs-actions.pod:4487
11828 msgid "See also: C<guestfs_command_lines>"
11829 msgstr ""
11830
11831 # type: =head2
11832 #: ../src/guestfs-actions.pod:4493
11833 msgid "guestfs_sleep"
11834 msgstr ""
11835
11836 # type: verbatim
11837 #: ../src/guestfs-actions.pod:4495
11838 #, no-wrap
11839 msgid ""
11840 " int guestfs_sleep (guestfs_h *g,\n"
11841 "\t\tint secs);\n"
11842 "\n"
11843 msgstr ""
11844
11845 # type: textblock
11846 #: ../src/guestfs-actions.pod:4498 ../fish/guestfish-actions.pod:3471
11847 msgid "Sleep for C<secs> seconds."
11848 msgstr ""
11849
11850 # type: =head2
11851 #: ../src/guestfs-actions.pod:4502 ../src/guestfs-structs.pod:109
11852 msgid "guestfs_stat"
11853 msgstr ""
11854
11855 # type: verbatim
11856 #: ../src/guestfs-actions.pod:4504
11857 #, no-wrap
11858 msgid ""
11859 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
11860 "\t\tconst char *path);\n"
11861 "\n"
11862 msgstr ""
11863
11864 # type: textblock
11865 #: ../src/guestfs-actions.pod:4509 ../fish/guestfish-actions.pod:3479
11866 msgid "This is the same as the C<stat(2)> system call."
11867 msgstr ""
11868
11869 # type: =head2
11870 #: ../src/guestfs-actions.pod:4515 ../src/guestfs-structs.pod:135
11871 msgid "guestfs_statvfs"
11872 msgstr ""
11873
11874 # type: verbatim
11875 #: ../src/guestfs-actions.pod:4517
11876 #, no-wrap
11877 msgid ""
11878 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
11879 "\t\tconst char *path);\n"
11880 "\n"
11881 msgstr ""
11882
11883 # type: textblock
11884 #: ../src/guestfs-actions.pod:4520 ../fish/guestfish-actions.pod:3485
11885 msgid ""
11886 "Returns file system statistics for any mounted file system.  C<path> should "
11887 "be a file or directory in the mounted file system (typically it is the mount "
11888 "point itself, but it doesn't need to be)."
11889 msgstr ""
11890
11891 # type: textblock
11892 #: ../src/guestfs-actions.pod:4524 ../fish/guestfish-actions.pod:3489
11893 msgid "This is the same as the C<statvfs(2)> system call."
11894 msgstr ""
11895
11896 # type: textblock
11897 #: ../src/guestfs-actions.pod:4526
11898 msgid ""
11899 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
11900 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
11901 msgstr ""
11902
11903 # type: =head2
11904 #: ../src/guestfs-actions.pod:4530
11905 msgid "guestfs_strings"
11906 msgstr ""
11907
11908 # type: verbatim
11909 #: ../src/guestfs-actions.pod:4532
11910 #, no-wrap
11911 msgid ""
11912 " char **guestfs_strings (guestfs_h *g,\n"
11913 "\t\tconst char *path);\n"
11914 "\n"
11915 msgstr ""
11916
11917 # type: textblock
11918 #: ../src/guestfs-actions.pod:4535 ../fish/guestfish-actions.pod:3495
11919 msgid ""
11920 "This runs the L<strings(1)> command on a file and returns the list of "
11921 "printable strings found."
11922 msgstr ""
11923
11924 # type: =head2
11925 #: ../src/guestfs-actions.pod:4545
11926 msgid "guestfs_strings_e"
11927 msgstr ""
11928
11929 # type: verbatim
11930 #: ../src/guestfs-actions.pod:4547
11931 #, no-wrap
11932 msgid ""
11933 " char **guestfs_strings_e (guestfs_h *g,\n"
11934 "\t\tconst char *encoding,\n"
11935 "\t\tconst char *path);\n"
11936 "\n"
11937 msgstr ""
11938
11939 # type: textblock
11940 #: ../src/guestfs-actions.pod:4551
11941 msgid ""
11942 "This is like the C<guestfs_strings> command, but allows you to specify the "
11943 "encoding of strings that are looked for in the source file C<path>."
11944 msgstr ""
11945
11946 # type: textblock
11947 #: ../src/guestfs-actions.pod:4555 ../fish/guestfish-actions.pod:3509
11948 msgid "Allowed encodings are:"
11949 msgstr ""
11950
11951 # type: =item
11952 #: ../src/guestfs-actions.pod:4559 ../fish/guestfish-actions.pod:3513
11953 msgid "s"
11954 msgstr ""
11955
11956 # type: textblock
11957 #: ../src/guestfs-actions.pod:4561
11958 msgid ""
11959 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
11960 "ISO-8859-X (this is what C<guestfs_strings> uses)."
11961 msgstr ""
11962
11963 # type: =item
11964 #: ../src/guestfs-actions.pod:4564 ../fish/guestfish-actions.pod:3518
11965 msgid "S"
11966 msgstr ""
11967
11968 # type: textblock
11969 #: ../src/guestfs-actions.pod:4566 ../fish/guestfish-actions.pod:3520
11970 msgid "Single 8-bit-byte characters."
11971 msgstr ""
11972
11973 # type: =item
11974 #: ../src/guestfs-actions.pod:4568 ../fish/guestfish-actions.pod:3522
11975 msgid "b"
11976 msgstr ""
11977
11978 # type: textblock
11979 #: ../src/guestfs-actions.pod:4570 ../fish/guestfish-actions.pod:3524
11980 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
11981 msgstr ""
11982
11983 # type: =item
11984 #: ../src/guestfs-actions.pod:4573 ../fish/guestfish-actions.pod:3527
11985 msgid "l (lower case letter L)"
11986 msgstr ""
11987
11988 # type: textblock
11989 #: ../src/guestfs-actions.pod:4575 ../fish/guestfish-actions.pod:3529
11990 msgid ""
11991 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
11992 "examining binaries in Windows guests."
11993 msgstr ""
11994
11995 # type: =item
11996 #: ../src/guestfs-actions.pod:4578 ../fish/guestfish-actions.pod:3532
11997 msgid "B"
11998 msgstr ""
11999
12000 # type: textblock
12001 #: ../src/guestfs-actions.pod:4580 ../fish/guestfish-actions.pod:3534
12002 msgid "32-bit big endian such as UCS-4BE."
12003 msgstr ""
12004
12005 # type: =item
12006 #: ../src/guestfs-actions.pod:4582 ../fish/guestfish-actions.pod:3536
12007 msgid "L"
12008 msgstr ""
12009
12010 # type: textblock
12011 #: ../src/guestfs-actions.pod:4584 ../fish/guestfish-actions.pod:3538
12012 msgid "32-bit little endian such as UCS-4LE."
12013 msgstr ""
12014
12015 # type: textblock
12016 #: ../src/guestfs-actions.pod:4588 ../fish/guestfish-actions.pod:3542
12017 msgid "The returned strings are transcoded to UTF-8."
12018 msgstr ""
12019
12020 # type: =head2
12021 #: ../src/guestfs-actions.pod:4597
12022 msgid "guestfs_swapoff_device"
12023 msgstr ""
12024
12025 # type: verbatim
12026 #: ../src/guestfs-actions.pod:4599
12027 #, no-wrap
12028 msgid ""
12029 " int guestfs_swapoff_device (guestfs_h *g,\n"
12030 "\t\tconst char *device);\n"
12031 "\n"
12032 msgstr ""
12033
12034 # type: textblock
12035 #: ../src/guestfs-actions.pod:4602
12036 msgid ""
12037 "This command disables the libguestfs appliance swap device or partition "
12038 "named C<device>.  See C<guestfs_swapon_device>."
12039 msgstr ""
12040
12041 # type: =head2
12042 #: ../src/guestfs-actions.pod:4608
12043 msgid "guestfs_swapoff_file"
12044 msgstr ""
12045
12046 # type: verbatim
12047 #: ../src/guestfs-actions.pod:4610
12048 #, no-wrap
12049 msgid ""
12050 " int guestfs_swapoff_file (guestfs_h *g,\n"
12051 "\t\tconst char *file);\n"
12052 "\n"
12053 msgstr ""
12054
12055 # type: textblock
12056 #: ../src/guestfs-actions.pod:4613 ../fish/guestfish-actions.pod:3559
12057 msgid "This command disables the libguestfs appliance swap on file."
12058 msgstr ""
12059
12060 # type: =head2
12061 #: ../src/guestfs-actions.pod:4617
12062 msgid "guestfs_swapoff_label"
12063 msgstr ""
12064
12065 # type: verbatim
12066 #: ../src/guestfs-actions.pod:4619
12067 #, no-wrap
12068 msgid ""
12069 " int guestfs_swapoff_label (guestfs_h *g,\n"
12070 "\t\tconst char *label);\n"
12071 "\n"
12072 msgstr ""
12073
12074 # type: textblock
12075 #: ../src/guestfs-actions.pod:4622 ../fish/guestfish-actions.pod:3565
12076 msgid ""
12077 "This command disables the libguestfs appliance swap on labeled swap "
12078 "partition."
12079 msgstr ""
12080
12081 # type: =head2
12082 #: ../src/guestfs-actions.pod:4627
12083 msgid "guestfs_swapoff_uuid"
12084 msgstr ""
12085
12086 # type: verbatim
12087 #: ../src/guestfs-actions.pod:4629
12088 #, no-wrap
12089 msgid ""
12090 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
12091 "\t\tconst char *uuid);\n"
12092 "\n"
12093 msgstr ""
12094
12095 # type: textblock
12096 #: ../src/guestfs-actions.pod:4632 ../fish/guestfish-actions.pod:3572
12097 msgid ""
12098 "This command disables the libguestfs appliance swap partition with the given "
12099 "UUID."
12100 msgstr ""
12101
12102 # type: =head2
12103 #: ../src/guestfs-actions.pod:4637
12104 msgid "guestfs_swapon_device"
12105 msgstr ""
12106
12107 # type: verbatim
12108 #: ../src/guestfs-actions.pod:4639
12109 #, no-wrap
12110 msgid ""
12111 " int guestfs_swapon_device (guestfs_h *g,\n"
12112 "\t\tconst char *device);\n"
12113 "\n"
12114 msgstr ""
12115
12116 # type: textblock
12117 #: ../src/guestfs-actions.pod:4642
12118 msgid ""
12119 "This command enables the libguestfs appliance to use the swap device or "
12120 "partition named C<device>.  The increased memory is made available for all "
12121 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
12122 msgstr ""
12123
12124 # type: textblock
12125 #: ../src/guestfs-actions.pod:4647 ../fish/guestfish-actions.pod:3584
12126 msgid ""
12127 "Note that you should not swap to existing guest swap partitions unless you "
12128 "know what you are doing.  They may contain hibernation information, or other "
12129 "information that the guest doesn't want you to trash.  You also risk leaking "
12130 "information about the host to the guest this way.  Instead, attach a new "
12131 "host device to the guest and swap on that."
12132 msgstr ""
12133
12134 # type: =head2
12135 #: ../src/guestfs-actions.pod:4656
12136 msgid "guestfs_swapon_file"
12137 msgstr ""
12138
12139 # type: verbatim
12140 #: ../src/guestfs-actions.pod:4658
12141 #, no-wrap
12142 msgid ""
12143 " int guestfs_swapon_file (guestfs_h *g,\n"
12144 "\t\tconst char *file);\n"
12145 "\n"
12146 msgstr ""
12147
12148 # type: textblock
12149 #: ../src/guestfs-actions.pod:4661
12150 msgid ""
12151 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
12152 "notes."
12153 msgstr ""
12154
12155 # type: =head2
12156 #: ../src/guestfs-actions.pod:4666
12157 msgid "guestfs_swapon_label"
12158 msgstr ""
12159
12160 # type: verbatim
12161 #: ../src/guestfs-actions.pod:4668
12162 #, no-wrap
12163 msgid ""
12164 " int guestfs_swapon_label (guestfs_h *g,\n"
12165 "\t\tconst char *label);\n"
12166 "\n"
12167 msgstr ""
12168
12169 # type: textblock
12170 #: ../src/guestfs-actions.pod:4671
12171 msgid ""
12172 "This command enables swap to a labeled swap partition.  See "
12173 "C<guestfs_swapon_device> for other notes."
12174 msgstr ""
12175
12176 # type: =head2
12177 #: ../src/guestfs-actions.pod:4676
12178 msgid "guestfs_swapon_uuid"
12179 msgstr ""
12180
12181 # type: verbatim
12182 #: ../src/guestfs-actions.pod:4678
12183 #, no-wrap
12184 msgid ""
12185 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12186 "\t\tconst char *uuid);\n"
12187 "\n"
12188 msgstr ""
12189
12190 # type: textblock
12191 #: ../src/guestfs-actions.pod:4681
12192 msgid ""
12193 "This command enables swap to a swap partition with the given UUID.  See "
12194 "C<guestfs_swapon_device> for other notes."
12195 msgstr ""
12196
12197 # type: =head2
12198 #: ../src/guestfs-actions.pod:4686
12199 msgid "guestfs_sync"
12200 msgstr ""
12201
12202 # type: verbatim
12203 #: ../src/guestfs-actions.pod:4688
12204 #, no-wrap
12205 msgid ""
12206 " int guestfs_sync (guestfs_h *g);\n"
12207 "\n"
12208 msgstr ""
12209
12210 # type: textblock
12211 #: ../src/guestfs-actions.pod:4690 ../fish/guestfish-actions.pod:3616
12212 msgid ""
12213 "This syncs the disk, so that any writes are flushed through to the "
12214 "underlying disk image."
12215 msgstr ""
12216
12217 # type: textblock
12218 #: ../src/guestfs-actions.pod:4693 ../fish/guestfish-actions.pod:3619
12219 msgid ""
12220 "You should always call this if you have modified a disk image, before "
12221 "closing the handle."
12222 msgstr ""
12223
12224 # type: =head2
12225 #: ../src/guestfs-actions.pod:4698
12226 msgid "guestfs_tail"
12227 msgstr ""
12228
12229 # type: verbatim
12230 #: ../src/guestfs-actions.pod:4700
12231 #, no-wrap
12232 msgid ""
12233 " char **guestfs_tail (guestfs_h *g,\n"
12234 "\t\tconst char *path);\n"
12235 "\n"
12236 msgstr ""
12237
12238 # type: textblock
12239 #: ../src/guestfs-actions.pod:4703 ../fish/guestfish-actions.pod:3626
12240 msgid ""
12241 "This command returns up to the last 10 lines of a file as a list of strings."
12242 msgstr ""
12243
12244 # type: =head2
12245 #: ../src/guestfs-actions.pod:4713
12246 msgid "guestfs_tail_n"
12247 msgstr ""
12248
12249 # type: verbatim
12250 #: ../src/guestfs-actions.pod:4715
12251 #, no-wrap
12252 msgid ""
12253 " char **guestfs_tail_n (guestfs_h *g,\n"
12254 "\t\tint nrlines,\n"
12255 "\t\tconst char *path);\n"
12256 "\n"
12257 msgstr ""
12258
12259 # type: textblock
12260 #: ../src/guestfs-actions.pod:4719 ../fish/guestfish-actions.pod:3636
12261 msgid ""
12262 "If the parameter C<nrlines> is a positive number, this returns the last "
12263 "C<nrlines> lines of the file C<path>."
12264 msgstr ""
12265
12266 # type: textblock
12267 #: ../src/guestfs-actions.pod:4722 ../fish/guestfish-actions.pod:3639
12268 msgid ""
12269 "If the parameter C<nrlines> is a negative number, this returns lines from "
12270 "the file C<path>, starting with the C<-nrlines>th line."
12271 msgstr ""
12272
12273 # type: =head2
12274 #: ../src/guestfs-actions.pod:4734
12275 msgid "guestfs_tar_in"
12276 msgstr ""
12277
12278 # type: verbatim
12279 #: ../src/guestfs-actions.pod:4736
12280 #, no-wrap
12281 msgid ""
12282 " int guestfs_tar_in (guestfs_h *g,\n"
12283 "\t\tconst char *tarfile,\n"
12284 "\t\tconst char *directory);\n"
12285 "\n"
12286 msgstr ""
12287
12288 # type: textblock
12289 #: ../src/guestfs-actions.pod:4740 ../fish/guestfish-actions.pod:3651
12290 msgid ""
12291 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12292 "tar file) into C<directory>."
12293 msgstr ""
12294
12295 # type: textblock
12296 #: ../src/guestfs-actions.pod:4743
12297 msgid ""
12298 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12299 msgstr ""
12300
12301 # type: =head2
12302 #: ../src/guestfs-actions.pod:4748
12303 msgid "guestfs_tar_out"
12304 msgstr ""
12305
12306 # type: verbatim
12307 #: ../src/guestfs-actions.pod:4750
12308 #, no-wrap
12309 msgid ""
12310 " int guestfs_tar_out (guestfs_h *g,\n"
12311 "\t\tconst char *directory,\n"
12312 "\t\tconst char *tarfile);\n"
12313 "\n"
12314 msgstr ""
12315
12316 # type: textblock
12317 #: ../src/guestfs-actions.pod:4754 ../fish/guestfish-actions.pod:3663
12318 msgid ""
12319 "This command packs the contents of C<directory> and downloads it to local "
12320 "file C<tarfile>."
12321 msgstr ""
12322
12323 # type: textblock
12324 #: ../src/guestfs-actions.pod:4757
12325 msgid ""
12326 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12327 "C<guestfs_txz_out>."
12328 msgstr ""
12329
12330 # type: =head2
12331 #: ../src/guestfs-actions.pod:4762
12332 msgid "guestfs_tgz_in"
12333 msgstr ""
12334
12335 # type: verbatim
12336 #: ../src/guestfs-actions.pod:4764
12337 #, no-wrap
12338 msgid ""
12339 " int guestfs_tgz_in (guestfs_h *g,\n"
12340 "\t\tconst char *tarball,\n"
12341 "\t\tconst char *directory);\n"
12342 "\n"
12343 msgstr ""
12344
12345 # type: textblock
12346 #: ../src/guestfs-actions.pod:4768 ../fish/guestfish-actions.pod:3675
12347 msgid ""
12348 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12349 "tar file) into C<directory>."
12350 msgstr ""
12351
12352 # type: textblock
12353 #: ../src/guestfs-actions.pod:4771
12354 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12355 msgstr ""
12356
12357 # type: =head2
12358 #: ../src/guestfs-actions.pod:4775
12359 msgid "guestfs_tgz_out"
12360 msgstr ""
12361
12362 # type: verbatim
12363 #: ../src/guestfs-actions.pod:4777
12364 #, no-wrap
12365 msgid ""
12366 " int guestfs_tgz_out (guestfs_h *g,\n"
12367 "\t\tconst char *directory,\n"
12368 "\t\tconst char *tarball);\n"
12369 "\n"
12370 msgstr ""
12371
12372 # type: textblock
12373 #: ../src/guestfs-actions.pod:4781 ../fish/guestfish-actions.pod:3686
12374 msgid ""
12375 "This command packs the contents of C<directory> and downloads it to local "
12376 "file C<tarball>."
12377 msgstr ""
12378
12379 # type: textblock
12380 #: ../src/guestfs-actions.pod:4784
12381 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12382 msgstr ""
12383
12384 # type: =head2
12385 #: ../src/guestfs-actions.pod:4788
12386 msgid "guestfs_touch"
12387 msgstr ""
12388
12389 # type: verbatim
12390 #: ../src/guestfs-actions.pod:4790
12391 #, no-wrap
12392 msgid ""
12393 " int guestfs_touch (guestfs_h *g,\n"
12394 "\t\tconst char *path);\n"
12395 "\n"
12396 msgstr ""
12397
12398 # type: textblock
12399 #: ../src/guestfs-actions.pod:4793 ../fish/guestfish-actions.pod:3697
12400 msgid ""
12401 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12402 "timestamps on a file, or, if the file does not exist, to create a new zero-"
12403 "length file."
12404 msgstr ""
12405
12406 # type: textblock
12407 #: ../src/guestfs-actions.pod:4797 ../fish/guestfish-actions.pod:3701
12408 msgid ""
12409 "This command only works on regular files, and will fail on other file types "
12410 "such as directories, symbolic links, block special etc."
12411 msgstr ""
12412
12413 # type: =head2
12414 #: ../src/guestfs-actions.pod:4802
12415 msgid "guestfs_truncate"
12416 msgstr ""
12417
12418 # type: verbatim
12419 #: ../src/guestfs-actions.pod:4804
12420 #, no-wrap
12421 msgid ""
12422 " int guestfs_truncate (guestfs_h *g,\n"
12423 "\t\tconst char *path);\n"
12424 "\n"
12425 msgstr ""
12426
12427 # type: textblock
12428 #: ../src/guestfs-actions.pod:4807 ../fish/guestfish-actions.pod:3708
12429 msgid ""
12430 "This command truncates C<path> to a zero-length file.  The file must exist "
12431 "already."
12432 msgstr ""
12433
12434 # type: =head2
12435 #: ../src/guestfs-actions.pod:4812
12436 msgid "guestfs_truncate_size"
12437 msgstr ""
12438
12439 # type: verbatim
12440 #: ../src/guestfs-actions.pod:4814
12441 #, no-wrap
12442 msgid ""
12443 " int guestfs_truncate_size (guestfs_h *g,\n"
12444 "\t\tconst char *path,\n"
12445 "\t\tint64_t size);\n"
12446 "\n"
12447 msgstr ""
12448
12449 # type: textblock
12450 #: ../src/guestfs-actions.pod:4818 ../fish/guestfish-actions.pod:3715
12451 msgid ""
12452 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12453 "already."
12454 msgstr ""
12455
12456 # type: textblock
12457 #: ../src/guestfs-actions.pod:4821
12458 msgid ""
12459 "If the current file size is less than C<size> then the file is extended to "
12460 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12461 "blocks are not allocated for the file until you write to it).  To create a "
12462 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12463 msgstr ""
12464
12465 # type: =head2
12466 #: ../src/guestfs-actions.pod:4829
12467 msgid "guestfs_tune2fs_l"
12468 msgstr ""
12469
12470 # type: verbatim
12471 #: ../src/guestfs-actions.pod:4831
12472 #, no-wrap
12473 msgid ""
12474 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12475 "\t\tconst char *device);\n"
12476 "\n"
12477 msgstr ""
12478
12479 # type: textblock
12480 #: ../src/guestfs-actions.pod:4834 ../fish/guestfish-actions.pod:3728
12481 msgid ""
12482 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12483 "C<device>."
12484 msgstr ""
12485
12486 # type: textblock
12487 #: ../src/guestfs-actions.pod:4837 ../fish/guestfish-actions.pod:3731
12488 msgid ""
12489 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12490 "for more details.  The list of fields returned isn't clearly defined, and "
12491 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12492 "and the filesystem itself."
12493 msgstr ""
12494
12495 # type: =head2
12496 #: ../src/guestfs-actions.pod:4848
12497 msgid "guestfs_txz_in"
12498 msgstr ""
12499
12500 # type: verbatim
12501 #: ../src/guestfs-actions.pod:4850
12502 #, no-wrap
12503 msgid ""
12504 " int guestfs_txz_in (guestfs_h *g,\n"
12505 "\t\tconst char *tarball,\n"
12506 "\t\tconst char *directory);\n"
12507 "\n"
12508 msgstr ""
12509
12510 # type: textblock
12511 #: ../src/guestfs-actions.pod:4854 ../fish/guestfish-actions.pod:3740
12512 msgid ""
12513 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12514 "tar file) into C<directory>."
12515 msgstr ""
12516
12517 # type: =head2
12518 #: ../src/guestfs-actions.pod:4859
12519 msgid "guestfs_txz_out"
12520 msgstr ""
12521
12522 # type: verbatim
12523 #: ../src/guestfs-actions.pod:4861
12524 #, no-wrap
12525 msgid ""
12526 " int guestfs_txz_out (guestfs_h *g,\n"
12527 "\t\tconst char *directory,\n"
12528 "\t\tconst char *tarball);\n"
12529 "\n"
12530 msgstr ""
12531
12532 # type: textblock
12533 #: ../src/guestfs-actions.pod:4865 ../fish/guestfish-actions.pod:3749
12534 msgid ""
12535 "This command packs the contents of C<directory> and downloads it to local "
12536 "file C<tarball> (as an xz compressed tar archive)."
12537 msgstr ""
12538
12539 # type: =head2
12540 #: ../src/guestfs-actions.pod:4870
12541 msgid "guestfs_umask"
12542 msgstr ""
12543
12544 # type: verbatim
12545 #: ../src/guestfs-actions.pod:4872
12546 #, no-wrap
12547 msgid ""
12548 " int guestfs_umask (guestfs_h *g,\n"
12549 "\t\tint mask);\n"
12550 "\n"
12551 msgstr ""
12552
12553 # type: textblock
12554 #: ../src/guestfs-actions.pod:4875 ../fish/guestfish-actions.pod:3758
12555 msgid ""
12556 "This function sets the mask used for creating new files and device nodes to "
12557 "C<mask & 0777>."
12558 msgstr ""
12559
12560 # type: textblock
12561 #: ../src/guestfs-actions.pod:4878 ../fish/guestfish-actions.pod:3761
12562 msgid ""
12563 "Typical umask values would be C<022> which creates new files with "
12564 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
12565 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
12566 msgstr ""
12567
12568 # type: textblock
12569 #: ../src/guestfs-actions.pod:4883 ../fish/guestfish-actions.pod:3766
12570 msgid ""
12571 "The default umask is C<022>.  This is important because it means that "
12572 "directories and device nodes will be created with C<0644> or C<0755> mode "
12573 "even if you specify C<0777>."
12574 msgstr ""
12575
12576 # type: textblock
12577 #: ../src/guestfs-actions.pod:4887
12578 msgid ""
12579 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
12580 "C<guestfs_mkdir>."
12581 msgstr ""
12582
12583 # type: textblock
12584 #: ../src/guestfs-actions.pod:4890 ../fish/guestfish-actions.pod:3773
12585 msgid "This call returns the previous umask."
12586 msgstr ""
12587
12588 # type: =head2
12589 #: ../src/guestfs-actions.pod:4894
12590 msgid "guestfs_umount"
12591 msgstr ""
12592
12593 # type: verbatim
12594 #: ../src/guestfs-actions.pod:4896
12595 #, no-wrap
12596 msgid ""
12597 " int guestfs_umount (guestfs_h *g,\n"
12598 "\t\tconst char *pathordevice);\n"
12599 "\n"
12600 msgstr ""
12601
12602 # type: textblock
12603 #: ../src/guestfs-actions.pod:4899 ../fish/guestfish-actions.pod:3779
12604 msgid ""
12605 "This unmounts the given filesystem.  The filesystem may be specified either "
12606 "by its mountpoint (path) or the device which contains the filesystem."
12607 msgstr ""
12608
12609 # type: =head2
12610 #: ../src/guestfs-actions.pod:4905
12611 msgid "guestfs_umount_all"
12612 msgstr ""
12613
12614 # type: verbatim
12615 #: ../src/guestfs-actions.pod:4907
12616 #, no-wrap
12617 msgid ""
12618 " int guestfs_umount_all (guestfs_h *g);\n"
12619 "\n"
12620 msgstr ""
12621
12622 # type: textblock
12623 #: ../src/guestfs-actions.pod:4909 ../fish/guestfish-actions.pod:3787
12624 msgid "This unmounts all mounted filesystems."
12625 msgstr ""
12626
12627 # type: textblock
12628 #: ../src/guestfs-actions.pod:4911 ../fish/guestfish-actions.pod:3789
12629 msgid "Some internal mounts are not unmounted by this call."
12630 msgstr ""
12631
12632 # type: =head2
12633 #: ../src/guestfs-actions.pod:4915
12634 msgid "guestfs_upload"
12635 msgstr ""
12636
12637 # type: verbatim
12638 #: ../src/guestfs-actions.pod:4917
12639 #, no-wrap
12640 msgid ""
12641 " int guestfs_upload (guestfs_h *g,\n"
12642 "\t\tconst char *filename,\n"
12643 "\t\tconst char *remotefilename);\n"
12644 "\n"
12645 msgstr ""
12646
12647 # type: textblock
12648 #: ../src/guestfs-actions.pod:4921 ../fish/guestfish-actions.pod:3795
12649 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
12650 msgstr ""
12651
12652 # type: textblock
12653 #: ../src/guestfs-actions.pod:4926
12654 msgid "See also C<guestfs_download>."
12655 msgstr ""
12656
12657 # type: =head2
12658 #: ../src/guestfs-actions.pod:4930
12659 msgid "guestfs_utimens"
12660 msgstr ""
12661
12662 # type: verbatim
12663 #: ../src/guestfs-actions.pod:4932
12664 #, no-wrap
12665 msgid ""
12666 " int guestfs_utimens (guestfs_h *g,\n"
12667 "\t\tconst char *path,\n"
12668 "\t\tint64_t atsecs,\n"
12669 "\t\tint64_t atnsecs,\n"
12670 "\t\tint64_t mtsecs,\n"
12671 "\t\tint64_t mtnsecs);\n"
12672 "\n"
12673 msgstr ""
12674
12675 # type: textblock
12676 #: ../src/guestfs-actions.pod:4939 ../fish/guestfish-actions.pod:3808
12677 msgid "This command sets the timestamps of a file with nanosecond precision."
12678 msgstr ""
12679
12680 # type: textblock
12681 #: ../src/guestfs-actions.pod:4942 ../fish/guestfish-actions.pod:3811
12682 msgid ""
12683 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
12684 "from the epoch."
12685 msgstr ""
12686
12687 # type: textblock
12688 #: ../src/guestfs-actions.pod:4945 ../fish/guestfish-actions.pod:3814
12689 msgid ""
12690 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
12691 "nanoseconds from the epoch."
12692 msgstr ""
12693
12694 # type: textblock
12695 #: ../src/guestfs-actions.pod:4948 ../fish/guestfish-actions.pod:3817
12696 msgid ""
12697 "If the C<*nsecs> field contains the special value C<-1> then the "
12698 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
12699 "ignored in this case)."
12700 msgstr ""
12701
12702 # type: textblock
12703 #: ../src/guestfs-actions.pod:4952 ../fish/guestfish-actions.pod:3821
12704 msgid ""
12705 "If the C<*nsecs> field contains the special value C<-2> then the "
12706 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
12707 "in this case)."
12708 msgstr ""
12709
12710 # type: =head2
12711 #: ../src/guestfs-actions.pod:4958 ../src/guestfs-structs.pod:175
12712 msgid "guestfs_version"
12713 msgstr ""
12714
12715 # type: verbatim
12716 #: ../src/guestfs-actions.pod:4960
12717 #, no-wrap
12718 msgid ""
12719 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
12720 "\n"
12721 msgstr ""
12722
12723 # type: textblock
12724 #: ../src/guestfs-actions.pod:4962 ../fish/guestfish-actions.pod:3829
12725 msgid ""
12726 "Return the libguestfs version number that the program is linked against."
12727 msgstr ""
12728
12729 # type: textblock
12730 #: ../src/guestfs-actions.pod:4965 ../fish/guestfish-actions.pod:3832
12731 msgid ""
12732 "Note that because of dynamic linking this is not necessarily the version of "
12733 "libguestfs that you compiled against.  You can compile the program, and then "
12734 "at runtime dynamically link against a completely different C<libguestfs.so> "
12735 "library."
12736 msgstr ""
12737
12738 # type: textblock
12739 #: ../src/guestfs-actions.pod:4970 ../fish/guestfish-actions.pod:3837
12740 msgid ""
12741 "This call was added in version C<1.0.58>.  In previous versions of "
12742 "libguestfs there was no way to get the version number.  From C code you can "
12743 "use dynamic linker functions to find out if this symbol exists (if it "
12744 "doesn't, then it's an earlier version)."
12745 msgstr ""
12746
12747 # type: textblock
12748 #: ../src/guestfs-actions.pod:4976 ../fish/guestfish-actions.pod:3843
12749 msgid ""
12750 "The call returns a structure with four elements.  The first three (C<major>, "
12751 "C<minor> and C<release>) are numbers and correspond to the usual version "
12752 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
12753 "but may be used for distro-specific information."
12754 msgstr ""
12755
12756 # type: textblock
12757 #: ../src/guestfs-actions.pod:4982 ../fish/guestfish-actions.pod:3849
12758 msgid ""
12759 "To construct the original version string: C<$major.$minor.$release$extra>"
12760 msgstr ""
12761
12762 # type: textblock
12763 #: ../src/guestfs-actions.pod:4985 ../fish/guestfish-actions.pod:3852
12764 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
12765 msgstr ""
12766
12767 # type: textblock
12768 #: ../src/guestfs-actions.pod:4987
12769 msgid ""
12770 "I<Note:> Don't use this call to test for availability of features.  In "
12771 "enterprise distributions we backport features from later versions into "
12772 "earlier versions, making this an unreliable way to test for features.  Use "
12773 "C<guestfs_available> instead."
12774 msgstr ""
12775
12776 # type: textblock
12777 #: ../src/guestfs-actions.pod:4993
12778 msgid ""
12779 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
12780 "error.  I<The caller must call C<guestfs_free_version> after use>."
12781 msgstr ""
12782
12783 # type: =head2
12784 #: ../src/guestfs-actions.pod:4997
12785 msgid "guestfs_vfs_label"
12786 msgstr ""
12787
12788 # type: verbatim
12789 #: ../src/guestfs-actions.pod:4999
12790 #, no-wrap
12791 msgid ""
12792 " char *guestfs_vfs_label (guestfs_h *g,\n"
12793 "\t\tconst char *device);\n"
12794 "\n"
12795 msgstr ""
12796
12797 # type: textblock
12798 #: ../src/guestfs-actions.pod:5002 ../fish/guestfish-actions.pod:3864
12799 msgid "This returns the filesystem label of the filesystem on C<device>."
12800 msgstr ""
12801
12802 # type: textblock
12803 #: ../src/guestfs-actions.pod:5005 ../fish/guestfish-actions.pod:3867
12804 msgid "If the filesystem is unlabeled, this returns the empty string."
12805 msgstr ""
12806
12807 # type: textblock
12808 #: ../src/guestfs-actions.pod:5007
12809 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
12810 msgstr ""
12811
12812 # type: =head2
12813 #: ../src/guestfs-actions.pod:5012
12814 msgid "guestfs_vfs_type"
12815 msgstr ""
12816
12817 # type: verbatim
12818 #: ../src/guestfs-actions.pod:5014
12819 #, no-wrap
12820 msgid ""
12821 " char *guestfs_vfs_type (guestfs_h *g,\n"
12822 "\t\tconst char *device);\n"
12823 "\n"
12824 msgstr ""
12825
12826 # type: textblock
12827 #: ../src/guestfs-actions.pod:5017 ../fish/guestfish-actions.pod:3875
12828 msgid ""
12829 "This command gets the filesystem type corresponding to the filesystem on "
12830 "C<device>."
12831 msgstr ""
12832
12833 # type: textblock
12834 #: ../src/guestfs-actions.pod:5020 ../fish/guestfish-actions.pod:3878
12835 msgid ""
12836 "For most filesystems, the result is the name of the Linux VFS module which "
12837 "would be used to mount this filesystem if you mounted it without specifying "
12838 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
12839 msgstr ""
12840
12841 # type: =head2
12842 #: ../src/guestfs-actions.pod:5028
12843 msgid "guestfs_vfs_uuid"
12844 msgstr ""
12845
12846 # type: verbatim
12847 #: ../src/guestfs-actions.pod:5030
12848 #, no-wrap
12849 msgid ""
12850 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
12851 "\t\tconst char *device);\n"
12852 "\n"
12853 msgstr ""
12854
12855 # type: textblock
12856 #: ../src/guestfs-actions.pod:5033 ../fish/guestfish-actions.pod:3887
12857 msgid "This returns the filesystem UUID of the filesystem on C<device>."
12858 msgstr ""
12859
12860 # type: textblock
12861 #: ../src/guestfs-actions.pod:5036 ../fish/guestfish-actions.pod:3890
12862 msgid "If the filesystem does not have a UUID, this returns the empty string."
12863 msgstr ""
12864
12865 # type: textblock
12866 #: ../src/guestfs-actions.pod:5038
12867 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
12868 msgstr ""
12869
12870 # type: =head2
12871 #: ../src/guestfs-actions.pod:5043
12872 msgid "guestfs_vg_activate"
12873 msgstr ""
12874
12875 # type: verbatim
12876 #: ../src/guestfs-actions.pod:5045
12877 #, no-wrap
12878 msgid ""
12879 " int guestfs_vg_activate (guestfs_h *g,\n"
12880 "\t\tint activate,\n"
12881 "\t\tchar *const *volgroups);\n"
12882 "\n"
12883 msgstr ""
12884
12885 # type: textblock
12886 #: ../src/guestfs-actions.pod:5049 ../fish/guestfish-actions.pod:3898
12887 msgid ""
12888 "This command activates or (if C<activate> is false) deactivates all logical "
12889 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
12890 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
12891 "deactivated, then those devices disappear."
12892 msgstr ""
12893
12894 # type: textblock
12895 #: ../src/guestfs-actions.pod:5055 ../fish/guestfish-actions.pod:3904
12896 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
12897 msgstr ""
12898
12899 # type: textblock
12900 #: ../src/guestfs-actions.pod:5057 ../fish/guestfish-actions.pod:3906
12901 msgid ""
12902 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
12903 "activated or deactivated."
12904 msgstr ""
12905
12906 # type: =head2
12907 #: ../src/guestfs-actions.pod:5062
12908 msgid "guestfs_vg_activate_all"
12909 msgstr ""
12910
12911 # type: verbatim
12912 #: ../src/guestfs-actions.pod:5064
12913 #, no-wrap
12914 msgid ""
12915 " int guestfs_vg_activate_all (guestfs_h *g,\n"
12916 "\t\tint activate);\n"
12917 "\n"
12918 msgstr ""
12919
12920 # type: textblock
12921 #: ../src/guestfs-actions.pod:5067 ../fish/guestfish-actions.pod:3913
12922 msgid ""
12923 "This command activates or (if C<activate> is false) deactivates all logical "
12924 "volumes in all volume groups.  If activated, then they are made known to the "
12925 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
12926 "those devices disappear."
12927 msgstr ""
12928
12929 # type: textblock
12930 #: ../src/guestfs-actions.pod:5073 ../fish/guestfish-actions.pod:3919
12931 msgid "This command is the same as running C<vgchange -a y|n>"
12932 msgstr ""
12933
12934 # type: =head2
12935 #: ../src/guestfs-actions.pod:5077
12936 msgid "guestfs_vgcreate"
12937 msgstr ""
12938
12939 # type: verbatim
12940 #: ../src/guestfs-actions.pod:5079
12941 #, no-wrap
12942 msgid ""
12943 " int guestfs_vgcreate (guestfs_h *g,\n"
12944 "\t\tconst char *volgroup,\n"
12945 "\t\tchar *const *physvols);\n"
12946 "\n"
12947 msgstr ""
12948
12949 # type: textblock
12950 #: ../src/guestfs-actions.pod:5083 ../fish/guestfish-actions.pod:3925
12951 msgid ""
12952 "This creates an LVM volume group called C<volgroup> from the non-empty list "
12953 "of physical volumes C<physvols>."
12954 msgstr ""
12955
12956 # type: =head2
12957 #: ../src/guestfs-actions.pod:5088
12958 msgid "guestfs_vglvuuids"
12959 msgstr ""
12960
12961 # type: verbatim
12962 #: ../src/guestfs-actions.pod:5090
12963 #, no-wrap
12964 msgid ""
12965 " char **guestfs_vglvuuids (guestfs_h *g,\n"
12966 "\t\tconst char *vgname);\n"
12967 "\n"
12968 msgstr ""
12969
12970 # type: textblock
12971 #: ../src/guestfs-actions.pod:5093 ../fish/guestfish-actions.pod:3932
12972 msgid ""
12973 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
12974 "volumes created in this volume group."
12975 msgstr ""
12976
12977 # type: textblock
12978 #: ../src/guestfs-actions.pod:5096
12979 msgid ""
12980 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
12981 "associate logical volumes and volume groups."
12982 msgstr ""
12983
12984 # type: textblock
12985 #: ../src/guestfs-actions.pod:5099
12986 msgid "See also C<guestfs_vgpvuuids>."
12987 msgstr ""
12988
12989 # type: =head2
12990 #: ../src/guestfs-actions.pod:5105
12991 msgid "guestfs_vgpvuuids"
12992 msgstr ""
12993
12994 # type: verbatim
12995 #: ../src/guestfs-actions.pod:5107
12996 #, no-wrap
12997 msgid ""
12998 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
12999 "\t\tconst char *vgname);\n"
13000 "\n"
13001 msgstr ""
13002
13003 # type: textblock
13004 #: ../src/guestfs-actions.pod:5110 ../fish/guestfish-actions.pod:3944
13005 msgid ""
13006 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
13007 "volumes that this volume group resides on."
13008 msgstr ""
13009
13010 # type: textblock
13011 #: ../src/guestfs-actions.pod:5113
13012 msgid ""
13013 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
13014 "associate physical volumes and volume groups."
13015 msgstr ""
13016
13017 # type: textblock
13018 #: ../src/guestfs-actions.pod:5116
13019 msgid "See also C<guestfs_vglvuuids>."
13020 msgstr ""
13021
13022 # type: =head2
13023 #: ../src/guestfs-actions.pod:5122
13024 msgid "guestfs_vgremove"
13025 msgstr ""
13026
13027 # type: verbatim
13028 #: ../src/guestfs-actions.pod:5124
13029 #, no-wrap
13030 msgid ""
13031 " int guestfs_vgremove (guestfs_h *g,\n"
13032 "\t\tconst char *vgname);\n"
13033 "\n"
13034 msgstr ""
13035
13036 # type: textblock
13037 #: ../src/guestfs-actions.pod:5127 ../fish/guestfish-actions.pod:3956
13038 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
13039 msgstr ""
13040
13041 # type: textblock
13042 #: ../src/guestfs-actions.pod:5129 ../fish/guestfish-actions.pod:3958
13043 msgid ""
13044 "This also forcibly removes all logical volumes in the volume group (if any)."
13045 msgstr ""
13046
13047 # type: =head2
13048 #: ../src/guestfs-actions.pod:5134
13049 msgid "guestfs_vgrename"
13050 msgstr ""
13051
13052 # type: verbatim
13053 #: ../src/guestfs-actions.pod:5136
13054 #, no-wrap
13055 msgid ""
13056 " int guestfs_vgrename (guestfs_h *g,\n"
13057 "\t\tconst char *volgroup,\n"
13058 "\t\tconst char *newvolgroup);\n"
13059 "\n"
13060 msgstr ""
13061
13062 # type: textblock
13063 #: ../src/guestfs-actions.pod:5140 ../fish/guestfish-actions.pod:3965
13064 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
13065 msgstr ""
13066
13067 # type: =head2
13068 #: ../src/guestfs-actions.pod:5144
13069 msgid "guestfs_vgs"
13070 msgstr ""
13071
13072 # type: verbatim
13073 #: ../src/guestfs-actions.pod:5146
13074 #, no-wrap
13075 msgid ""
13076 " char **guestfs_vgs (guestfs_h *g);\n"
13077 "\n"
13078 msgstr ""
13079
13080 # type: textblock
13081 #: ../src/guestfs-actions.pod:5148 ../fish/guestfish-actions.pod:3971
13082 msgid ""
13083 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13084 "> command."
13085 msgstr ""
13086
13087 # type: textblock
13088 #: ../src/guestfs-actions.pod:5151 ../fish/guestfish-actions.pod:3974
13089 msgid ""
13090 "This returns a list of just the volume group names that were detected (eg. "
13091 "C<VolGroup00>)."
13092 msgstr ""
13093
13094 # type: textblock
13095 #: ../src/guestfs-actions.pod:5154
13096 msgid "See also C<guestfs_vgs_full>."
13097 msgstr ""
13098
13099 # type: =head2
13100 #: ../src/guestfs-actions.pod:5160
13101 msgid "guestfs_vgs_full"
13102 msgstr ""
13103
13104 # type: verbatim
13105 #: ../src/guestfs-actions.pod:5162
13106 #, no-wrap
13107 msgid ""
13108 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
13109 "\n"
13110 msgstr ""
13111
13112 # type: textblock
13113 #: ../src/guestfs-actions.pod:5164 ../fish/guestfish-actions.pod:3983
13114 msgid ""
13115 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13116 "> command.  The \"full\" version includes all fields."
13117 msgstr ""
13118
13119 # type: textblock
13120 #: ../src/guestfs-actions.pod:5167
13121 msgid ""
13122 "This function returns a C<struct guestfs_lvm_vg_list *> (see E<lt>guestfs-"
13123 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
13124 "C<guestfs_free_lvm_vg_list> after use>."
13125 msgstr ""
13126
13127 # type: =head2
13128 #: ../src/guestfs-actions.pod:5172
13129 msgid "guestfs_vgscan"
13130 msgstr ""
13131
13132 # type: verbatim
13133 #: ../src/guestfs-actions.pod:5174
13134 #, no-wrap
13135 msgid ""
13136 " int guestfs_vgscan (guestfs_h *g);\n"
13137 "\n"
13138 msgstr ""
13139
13140 # type: textblock
13141 #: ../src/guestfs-actions.pod:5176 ../fish/guestfish-actions.pod:3990
13142 msgid ""
13143 "This rescans all block devices and rebuilds the list of LVM physical "
13144 "volumes, volume groups and logical volumes."
13145 msgstr ""
13146
13147 # type: =head2
13148 #: ../src/guestfs-actions.pod:5181
13149 msgid "guestfs_vguuid"
13150 msgstr ""
13151
13152 # type: verbatim
13153 #: ../src/guestfs-actions.pod:5183
13154 #, no-wrap
13155 msgid ""
13156 " char *guestfs_vguuid (guestfs_h *g,\n"
13157 "\t\tconst char *vgname);\n"
13158 "\n"
13159 msgstr ""
13160
13161 # type: textblock
13162 #: ../src/guestfs-actions.pod:5186 ../fish/guestfish-actions.pod:3997
13163 msgid "This command returns the UUID of the LVM VG named C<vgname>."
13164 msgstr ""
13165
13166 # type: =head2
13167 #: ../src/guestfs-actions.pod:5191
13168 msgid "guestfs_wait_ready"
13169 msgstr ""
13170
13171 # type: verbatim
13172 #: ../src/guestfs-actions.pod:5193
13173 #, no-wrap
13174 msgid ""
13175 " int guestfs_wait_ready (guestfs_h *g);\n"
13176 "\n"
13177 msgstr ""
13178
13179 # type: textblock
13180 #: ../src/guestfs-actions.pod:5195
13181 msgid "This function is a no op."
13182 msgstr ""
13183
13184 # type: textblock
13185 #: ../src/guestfs-actions.pod:5197
13186 msgid ""
13187 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13188 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13189 "is no longer necessary because C<guestfs_launch> now does the waiting."
13190 msgstr ""
13191
13192 # type: textblock
13193 #: ../src/guestfs-actions.pod:5202
13194 msgid ""
13195 "If you see any calls to this function in code then you can just remove them, "
13196 "unless you want to retain compatibility with older versions of the API."
13197 msgstr ""
13198
13199 # type: =head2
13200 #: ../src/guestfs-actions.pod:5208
13201 msgid "guestfs_wc_c"
13202 msgstr ""
13203
13204 # type: verbatim
13205 #: ../src/guestfs-actions.pod:5210
13206 #, no-wrap
13207 msgid ""
13208 " int guestfs_wc_c (guestfs_h *g,\n"
13209 "\t\tconst char *path);\n"
13210 "\n"
13211 msgstr ""
13212
13213 # type: textblock
13214 #: ../src/guestfs-actions.pod:5213 ../fish/guestfish-actions.pod:4003
13215 msgid ""
13216 "This command counts the characters in a file, using the C<wc -c> external "
13217 "command."
13218 msgstr ""
13219
13220 # type: =head2
13221 #: ../src/guestfs-actions.pod:5218
13222 msgid "guestfs_wc_l"
13223 msgstr ""
13224
13225 # type: verbatim
13226 #: ../src/guestfs-actions.pod:5220
13227 #, no-wrap
13228 msgid ""
13229 " int guestfs_wc_l (guestfs_h *g,\n"
13230 "\t\tconst char *path);\n"
13231 "\n"
13232 msgstr ""
13233
13234 # type: textblock
13235 #: ../src/guestfs-actions.pod:5223 ../fish/guestfish-actions.pod:4010
13236 msgid ""
13237 "This command counts the lines in a file, using the C<wc -l> external command."
13238 msgstr ""
13239
13240 # type: =head2
13241 #: ../src/guestfs-actions.pod:5228
13242 msgid "guestfs_wc_w"
13243 msgstr ""
13244
13245 # type: verbatim
13246 #: ../src/guestfs-actions.pod:5230
13247 #, no-wrap
13248 msgid ""
13249 " int guestfs_wc_w (guestfs_h *g,\n"
13250 "\t\tconst char *path);\n"
13251 "\n"
13252 msgstr ""
13253
13254 # type: textblock
13255 #: ../src/guestfs-actions.pod:5233 ../fish/guestfish-actions.pod:4017
13256 msgid ""
13257 "This command counts the words in a file, using the C<wc -w> external command."
13258 msgstr ""
13259
13260 # type: =head2
13261 #: ../src/guestfs-actions.pod:5238
13262 msgid "guestfs_write"
13263 msgstr ""
13264
13265 # type: verbatim
13266 #: ../src/guestfs-actions.pod:5240
13267 #, no-wrap
13268 msgid ""
13269 " int guestfs_write (guestfs_h *g,\n"
13270 "\t\tconst char *path,\n"
13271 "\t\tconst char *content,\n"
13272 "\t\tsize_t content_size);\n"
13273 "\n"
13274 msgstr ""
13275
13276 # type: textblock
13277 #: ../src/guestfs-actions.pod:5245 ../fish/guestfish-actions.pod:4024
13278 msgid ""
13279 "This call creates a file called C<path>.  The content of the file is the "
13280 "string C<content> (which can contain any 8 bit data)."
13281 msgstr ""
13282
13283 # type: =head2
13284 #: ../src/guestfs-actions.pod:5253
13285 msgid "guestfs_write_file"
13286 msgstr ""
13287
13288 # type: verbatim
13289 #: ../src/guestfs-actions.pod:5255
13290 #, no-wrap
13291 msgid ""
13292 " int guestfs_write_file (guestfs_h *g,\n"
13293 "\t\tconst char *path,\n"
13294 "\t\tconst char *content,\n"
13295 "\t\tint size);\n"
13296 "\n"
13297 msgstr ""
13298
13299 # type: textblock
13300 #: ../src/guestfs-actions.pod:5260 ../fish/guestfish-actions.pod:4034
13301 msgid ""
13302 "This call creates a file called C<path>.  The contents of the file is the "
13303 "string C<content> (which can contain any 8 bit data), with length C<size>."
13304 msgstr ""
13305
13306 # type: textblock
13307 #: ../src/guestfs-actions.pod:5264 ../fish/guestfish-actions.pod:4038
13308 msgid ""
13309 "As a special case, if C<size> is C<0> then the length is calculated using "
13310 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13311 msgstr ""
13312
13313 # type: textblock
13314 #: ../src/guestfs-actions.pod:5268 ../fish/guestfish-actions.pod:4042
13315 msgid ""
13316 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13317 "I<not> work, even if the length is specified."
13318 msgstr ""
13319
13320 # type: textblock
13321 #: ../src/guestfs-actions.pod:5276 ../fish/guestfish-actions.pod:4048
13322 msgid ""
13323 "This function is deprecated.  In new code, use the C<write> call instead."
13324 msgstr ""
13325
13326 # type: =head2
13327 #: ../src/guestfs-actions.pod:5283
13328 msgid "guestfs_zegrep"
13329 msgstr ""
13330
13331 # type: verbatim
13332 #: ../src/guestfs-actions.pod:5285
13333 #, no-wrap
13334 msgid ""
13335 " char **guestfs_zegrep (guestfs_h *g,\n"
13336 "\t\tconst char *regex,\n"
13337 "\t\tconst char *path);\n"
13338 "\n"
13339 msgstr ""
13340
13341 # type: textblock
13342 #: ../src/guestfs-actions.pod:5289 ../fish/guestfish-actions.pod:4059
13343 msgid ""
13344 "This calls the external C<zegrep> program and returns the matching lines."
13345 msgstr ""
13346
13347 # type: =head2
13348 #: ../src/guestfs-actions.pod:5299
13349 msgid "guestfs_zegrepi"
13350 msgstr ""
13351
13352 # type: verbatim
13353 #: ../src/guestfs-actions.pod:5301
13354 #, no-wrap
13355 msgid ""
13356 " char **guestfs_zegrepi (guestfs_h *g,\n"
13357 "\t\tconst char *regex,\n"
13358 "\t\tconst char *path);\n"
13359 "\n"
13360 msgstr ""
13361
13362 # type: textblock
13363 #: ../src/guestfs-actions.pod:5305 ../fish/guestfish-actions.pod:4069
13364 msgid ""
13365 "This calls the external C<zegrep -i> program and returns the matching lines."
13366 msgstr ""
13367
13368 # type: =head2
13369 #: ../src/guestfs-actions.pod:5315
13370 msgid "guestfs_zero"
13371 msgstr ""
13372
13373 # type: verbatim
13374 #: ../src/guestfs-actions.pod:5317
13375 #, no-wrap
13376 msgid ""
13377 " int guestfs_zero (guestfs_h *g,\n"
13378 "\t\tconst char *device);\n"
13379 "\n"
13380 msgstr ""
13381
13382 # type: textblock
13383 #: ../src/guestfs-actions.pod:5320 ../fish/guestfish-actions.pod:4079
13384 msgid "This command writes zeroes over the first few blocks of C<device>."
13385 msgstr ""
13386
13387 # type: textblock
13388 #: ../src/guestfs-actions.pod:5322 ../fish/guestfish-actions.pod:4081
13389 msgid ""
13390 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13391 "securely wipe the device).  It should be sufficient to remove any partition "
13392 "tables, filesystem superblocks and so on."
13393 msgstr ""
13394
13395 # type: textblock
13396 #: ../src/guestfs-actions.pod:5326
13397 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13398 msgstr ""
13399
13400 # type: =head2
13401 #: ../src/guestfs-actions.pod:5335
13402 msgid "guestfs_zero_device"
13403 msgstr ""
13404
13405 # type: verbatim
13406 #: ../src/guestfs-actions.pod:5337
13407 #, no-wrap
13408 msgid ""
13409 " int guestfs_zero_device (guestfs_h *g,\n"
13410 "\t\tconst char *device);\n"
13411 "\n"
13412 msgstr ""
13413
13414 # type: textblock
13415 #: ../src/guestfs-actions.pod:5340
13416 msgid ""
13417 "This command writes zeroes over the entire C<device>.  Compare with "
13418 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13419 msgstr ""
13420
13421 # type: =head2
13422 #: ../src/guestfs-actions.pod:5354
13423 msgid "guestfs_zerofree"
13424 msgstr ""
13425
13426 # type: verbatim
13427 #: ../src/guestfs-actions.pod:5356
13428 #, no-wrap
13429 msgid ""
13430 " int guestfs_zerofree (guestfs_h *g,\n"
13431 "\t\tconst char *device);\n"
13432 "\n"
13433 msgstr ""
13434
13435 # type: textblock
13436 #: ../src/guestfs-actions.pod:5359 ../fish/guestfish-actions.pod:4102
13437 msgid ""
13438 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13439 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13440 "possible to compress the filesystem more effectively."
13441 msgstr ""
13442
13443 # type: textblock
13444 #: ../src/guestfs-actions.pod:5364 ../fish/guestfish-actions.pod:4107
13445 msgid "You should B<not> run this program if the filesystem is mounted."
13446 msgstr ""
13447
13448 # type: textblock
13449 #: ../src/guestfs-actions.pod:5367 ../fish/guestfish-actions.pod:4110
13450 msgid ""
13451 "It is possible that using this program can damage the filesystem or data on "
13452 "the filesystem."
13453 msgstr ""
13454
13455 # type: =head2
13456 #: ../src/guestfs-actions.pod:5372
13457 msgid "guestfs_zfgrep"
13458 msgstr ""
13459
13460 # type: verbatim
13461 #: ../src/guestfs-actions.pod:5374
13462 #, no-wrap
13463 msgid ""
13464 " char **guestfs_zfgrep (guestfs_h *g,\n"
13465 "\t\tconst char *pattern,\n"
13466 "\t\tconst char *path);\n"
13467 "\n"
13468 msgstr ""
13469
13470 # type: textblock
13471 #: ../src/guestfs-actions.pod:5378 ../fish/guestfish-actions.pod:4117
13472 msgid ""
13473 "This calls the external C<zfgrep> program and returns the matching lines."
13474 msgstr ""
13475
13476 # type: =head2
13477 #: ../src/guestfs-actions.pod:5388
13478 msgid "guestfs_zfgrepi"
13479 msgstr ""
13480
13481 # type: verbatim
13482 #: ../src/guestfs-actions.pod:5390
13483 #, no-wrap
13484 msgid ""
13485 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13486 "\t\tconst char *pattern,\n"
13487 "\t\tconst char *path);\n"
13488 "\n"
13489 msgstr ""
13490
13491 # type: textblock
13492 #: ../src/guestfs-actions.pod:5394 ../fish/guestfish-actions.pod:4127
13493 msgid ""
13494 "This calls the external C<zfgrep -i> program and returns the matching lines."
13495 msgstr ""
13496
13497 # type: =head2
13498 #: ../src/guestfs-actions.pod:5404
13499 msgid "guestfs_zfile"
13500 msgstr ""
13501
13502 # type: verbatim
13503 #: ../src/guestfs-actions.pod:5406
13504 #, no-wrap
13505 msgid ""
13506 " char *guestfs_zfile (guestfs_h *g,\n"
13507 "\t\tconst char *meth,\n"
13508 "\t\tconst char *path);\n"
13509 "\n"
13510 msgstr ""
13511
13512 # type: textblock
13513 #: ../src/guestfs-actions.pod:5410 ../fish/guestfish-actions.pod:4137
13514 msgid ""
13515 "This command runs C<file> after first decompressing C<path> using C<method>."
13516 msgstr ""
13517
13518 # type: textblock
13519 #: ../src/guestfs-actions.pod:5413 ../fish/guestfish-actions.pod:4140
13520 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
13521 msgstr ""
13522
13523 # type: textblock
13524 #: ../src/guestfs-actions.pod:5415
13525 msgid ""
13526 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
13527 "files."
13528 msgstr ""
13529
13530 # type: textblock
13531 #: ../src/guestfs-actions.pod:5421 ../fish/guestfish-actions.pod:4145
13532 msgid ""
13533 "This function is deprecated.  In new code, use the C<file> call instead."
13534 msgstr ""
13535
13536 # type: =head2
13537 #: ../src/guestfs-actions.pod:5428
13538 msgid "guestfs_zgrep"
13539 msgstr ""
13540
13541 # type: verbatim
13542 #: ../src/guestfs-actions.pod:5430
13543 #, no-wrap
13544 msgid ""
13545 " char **guestfs_zgrep (guestfs_h *g,\n"
13546 "\t\tconst char *regex,\n"
13547 "\t\tconst char *path);\n"
13548 "\n"
13549 msgstr ""
13550
13551 # type: textblock
13552 #: ../src/guestfs-actions.pod:5434 ../fish/guestfish-actions.pod:4156
13553 msgid ""
13554 "This calls the external C<zgrep> program and returns the matching lines."
13555 msgstr ""
13556
13557 # type: =head2
13558 #: ../src/guestfs-actions.pod:5444
13559 msgid "guestfs_zgrepi"
13560 msgstr ""
13561
13562 # type: verbatim
13563 #: ../src/guestfs-actions.pod:5446
13564 #, no-wrap
13565 msgid ""
13566 " char **guestfs_zgrepi (guestfs_h *g,\n"
13567 "\t\tconst char *regex,\n"
13568 "\t\tconst char *path);\n"
13569 "\n"
13570 msgstr ""
13571
13572 # type: textblock
13573 #: ../src/guestfs-actions.pod:5450 ../fish/guestfish-actions.pod:4166
13574 msgid ""
13575 "This calls the external C<zgrep -i> program and returns the matching lines."
13576 msgstr ""
13577
13578 # type: =item
13579 #: ../src/guestfs-availability.pod:3
13580 msgid "B<augeas>"
13581 msgstr ""
13582
13583 # type: textblock
13584 #: ../src/guestfs-availability.pod:5
13585 msgid ""
13586 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
13587 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
13588 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
13589 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
13590 "L</guestfs_aug_save> L</guestfs_aug_set>"
13591 msgstr ""
13592
13593 # type: =item
13594 #: ../src/guestfs-availability.pod:21
13595 msgid "B<inotify>"
13596 msgstr ""
13597
13598 # type: textblock
13599 #: ../src/guestfs-availability.pod:23
13600 msgid ""
13601 "The following functions: L</guestfs_inotify_add_watch> L</"
13602 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
13603 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
13604 msgstr ""
13605
13606 # type: =item
13607 #: ../src/guestfs-availability.pod:31
13608 msgid "B<linuxfsuuid>"
13609 msgstr ""
13610
13611 # type: textblock
13612 #: ../src/guestfs-availability.pod:33
13613 msgid ""
13614 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
13615 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
13616 msgstr ""
13617
13618 # type: =item
13619 #: ../src/guestfs-availability.pod:40
13620 msgid "B<linuxmodules>"
13621 msgstr ""
13622
13623 # type: textblock
13624 #: ../src/guestfs-availability.pod:42
13625 msgid "The following functions: L</guestfs_modprobe>"
13626 msgstr ""
13627
13628 # type: =item
13629 #: ../src/guestfs-availability.pod:45
13630 msgid "B<linuxxattrs>"
13631 msgstr ""
13632
13633 # type: textblock
13634 #: ../src/guestfs-availability.pod:47
13635 msgid ""
13636 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> L</"
13637 "guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> L</"
13638 "guestfs_removexattr> L</guestfs_setxattr>"
13639 msgstr ""
13640
13641 # type: =item
13642 #: ../src/guestfs-availability.pod:56
13643 msgid "B<luks>"
13644 msgstr ""
13645
13646 # type: textblock
13647 #: ../src/guestfs-availability.pod:58
13648 msgid ""
13649 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
13650 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
13651 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
13652 msgstr ""
13653
13654 # type: =item
13655 #: ../src/guestfs-availability.pod:67
13656 msgid "B<lvm2>"
13657 msgstr ""
13658
13659 # type: textblock
13660 #: ../src/guestfs-availability.pod:69
13661 msgid ""
13662 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
13663 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
13664 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
13665 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
13666 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
13667 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
13668 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
13669 msgstr ""
13670
13671 # type: =item
13672 #: ../src/guestfs-availability.pod:92
13673 msgid "B<mknod>"
13674 msgstr ""
13675
13676 # type: textblock
13677 #: ../src/guestfs-availability.pod:94
13678 msgid ""
13679 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
13680 "guestfs_mknod_b> L</guestfs_mknod_c>"
13681 msgstr ""
13682
13683 # type: =item
13684 #: ../src/guestfs-availability.pod:100
13685 msgid "B<ntfs3g>"
13686 msgstr ""
13687
13688 # type: textblock
13689 #: ../src/guestfs-availability.pod:102
13690 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
13691 msgstr ""
13692
13693 # type: =item
13694 #: ../src/guestfs-availability.pod:105
13695 msgid "B<ntfsprogs>"
13696 msgstr ""
13697
13698 # type: textblock
13699 #: ../src/guestfs-availability.pod:107
13700 msgid ""
13701 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
13702 msgstr ""
13703
13704 # type: =item
13705 #: ../src/guestfs-availability.pod:111
13706 msgid "B<realpath>"
13707 msgstr ""
13708
13709 # type: textblock
13710 #: ../src/guestfs-availability.pod:113
13711 msgid "The following functions: L</guestfs_realpath>"
13712 msgstr ""
13713
13714 # type: =item
13715 #: ../src/guestfs-availability.pod:116
13716 msgid "B<scrub>"
13717 msgstr ""
13718
13719 # type: textblock
13720 #: ../src/guestfs-availability.pod:118
13721 msgid ""
13722 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
13723 "guestfs_scrub_freespace>"
13724 msgstr ""
13725
13726 # type: =item
13727 #: ../src/guestfs-availability.pod:123
13728 msgid "B<selinux>"
13729 msgstr ""
13730
13731 # type: textblock
13732 #: ../src/guestfs-availability.pod:125
13733 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
13734 msgstr ""
13735
13736 # type: =item
13737 #: ../src/guestfs-availability.pod:129
13738 msgid "B<xz>"
13739 msgstr ""
13740
13741 # type: textblock
13742 #: ../src/guestfs-availability.pod:131
13743 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
13744 msgstr ""
13745
13746 # type: =item
13747 #: ../src/guestfs-availability.pod:135
13748 msgid "B<zerofree>"
13749 msgstr ""
13750
13751 # type: textblock
13752 #: ../src/guestfs-availability.pod:137
13753 msgid "The following functions: L</guestfs_zerofree>"
13754 msgstr ""
13755
13756 # type: =head2
13757 #: ../src/guestfs-structs.pod:1
13758 msgid "guestfs_int_bool"
13759 msgstr ""
13760
13761 # type: verbatim
13762 #: ../src/guestfs-structs.pod:3
13763 #, no-wrap
13764 msgid ""
13765 " struct guestfs_int_bool {\n"
13766 "   int32_t i;\n"
13767 "   int32_t b;\n"
13768 " };\n"
13769 " \n"
13770 msgstr ""
13771
13772 # type: verbatim
13773 #: ../src/guestfs-structs.pod:8
13774 #, no-wrap
13775 msgid ""
13776 " struct guestfs_int_bool_list {\n"
13777 "   uint32_t len; /* Number of elements in list. */\n"
13778 "   struct guestfs_int_bool *val; /* Elements. */\n"
13779 " };\n"
13780 " \n"
13781 msgstr ""
13782
13783 # type: verbatim
13784 #: ../src/guestfs-structs.pod:13
13785 #, no-wrap
13786 msgid ""
13787 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
13788 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
13789 "\n"
13790 msgstr ""
13791
13792 # type: =head2
13793 #: ../src/guestfs-structs.pod:16
13794 msgid "guestfs_lvm_pv"
13795 msgstr ""
13796
13797 # type: verbatim
13798 #: ../src/guestfs-structs.pod:18
13799 #, no-wrap
13800 msgid ""
13801 " struct guestfs_lvm_pv {\n"
13802 "   char *pv_name;\n"
13803 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
13804 "   char pv_uuid[32];\n"
13805 "   char *pv_fmt;\n"
13806 "   uint64_t pv_size;\n"
13807 "   uint64_t dev_size;\n"
13808 "   uint64_t pv_free;\n"
13809 "   uint64_t pv_used;\n"
13810 "   char *pv_attr;\n"
13811 "   int64_t pv_pe_count;\n"
13812 "   int64_t pv_pe_alloc_count;\n"
13813 "   char *pv_tags;\n"
13814 "   uint64_t pe_start;\n"
13815 "   int64_t pv_mda_count;\n"
13816 "   uint64_t pv_mda_free;\n"
13817 " };\n"
13818 " \n"
13819 msgstr ""
13820
13821 # type: verbatim
13822 #: ../src/guestfs-structs.pod:36
13823 #, no-wrap
13824 msgid ""
13825 " struct guestfs_lvm_pv_list {\n"
13826 "   uint32_t len; /* Number of elements in list. */\n"
13827 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
13828 " };\n"
13829 " \n"
13830 msgstr ""
13831
13832 # type: verbatim
13833 #: ../src/guestfs-structs.pod:41
13834 #, no-wrap
13835 msgid ""
13836 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
13837 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
13838 "\n"
13839 msgstr ""
13840
13841 # type: =head2
13842 #: ../src/guestfs-structs.pod:44
13843 msgid "guestfs_lvm_vg"
13844 msgstr ""
13845
13846 # type: verbatim
13847 #: ../src/guestfs-structs.pod:46
13848 #, no-wrap
13849 msgid ""
13850 " struct guestfs_lvm_vg {\n"
13851 "   char *vg_name;\n"
13852 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
13853 "   char vg_uuid[32];\n"
13854 "   char *vg_fmt;\n"
13855 "   char *vg_attr;\n"
13856 "   uint64_t vg_size;\n"
13857 "   uint64_t vg_free;\n"
13858 "   char *vg_sysid;\n"
13859 "   uint64_t vg_extent_size;\n"
13860 "   int64_t vg_extent_count;\n"
13861 "   int64_t vg_free_count;\n"
13862 "   int64_t max_lv;\n"
13863 "   int64_t max_pv;\n"
13864 "   int64_t pv_count;\n"
13865 "   int64_t lv_count;\n"
13866 "   int64_t snap_count;\n"
13867 "   int64_t vg_seqno;\n"
13868 "   char *vg_tags;\n"
13869 "   int64_t vg_mda_count;\n"
13870 "   uint64_t vg_mda_free;\n"
13871 " };\n"
13872 " \n"
13873 msgstr ""
13874
13875 # type: verbatim
13876 #: ../src/guestfs-structs.pod:69
13877 #, no-wrap
13878 msgid ""
13879 " struct guestfs_lvm_vg_list {\n"
13880 "   uint32_t len; /* Number of elements in list. */\n"
13881 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
13882 " };\n"
13883 " \n"
13884 msgstr ""
13885
13886 # type: verbatim
13887 #: ../src/guestfs-structs.pod:74
13888 #, no-wrap
13889 msgid ""
13890 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
13891 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
13892 "\n"
13893 msgstr ""
13894
13895 # type: =head2
13896 #: ../src/guestfs-structs.pod:77
13897 msgid "guestfs_lvm_lv"
13898 msgstr ""
13899
13900 # type: verbatim
13901 #: ../src/guestfs-structs.pod:79
13902 #, no-wrap
13903 msgid ""
13904 " struct guestfs_lvm_lv {\n"
13905 "   char *lv_name;\n"
13906 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
13907 "   char lv_uuid[32];\n"
13908 "   char *lv_attr;\n"
13909 "   int64_t lv_major;\n"
13910 "   int64_t lv_minor;\n"
13911 "   int64_t lv_kernel_major;\n"
13912 "   int64_t lv_kernel_minor;\n"
13913 "   uint64_t lv_size;\n"
13914 "   int64_t seg_count;\n"
13915 "   char *origin;\n"
13916 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13917 "   float snap_percent;\n"
13918 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13919 "   float copy_percent;\n"
13920 "   char *move_pv;\n"
13921 "   char *lv_tags;\n"
13922 "   char *mirror_log;\n"
13923 "   char *modules;\n"
13924 " };\n"
13925 " \n"
13926 msgstr ""
13927
13928 # type: verbatim
13929 #: ../src/guestfs-structs.pod:101
13930 #, no-wrap
13931 msgid ""
13932 " struct guestfs_lvm_lv_list {\n"
13933 "   uint32_t len; /* Number of elements in list. */\n"
13934 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
13935 " };\n"
13936 " \n"
13937 msgstr ""
13938
13939 # type: verbatim
13940 #: ../src/guestfs-structs.pod:106
13941 #, no-wrap
13942 msgid ""
13943 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
13944 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
13945 "\n"
13946 msgstr ""
13947
13948 # type: verbatim
13949 #: ../src/guestfs-structs.pod:111
13950 #, no-wrap
13951 msgid ""
13952 " struct guestfs_stat {\n"
13953 "   int64_t dev;\n"
13954 "   int64_t ino;\n"
13955 "   int64_t mode;\n"
13956 "   int64_t nlink;\n"
13957 "   int64_t uid;\n"
13958 "   int64_t gid;\n"
13959 "   int64_t rdev;\n"
13960 "   int64_t size;\n"
13961 "   int64_t blksize;\n"
13962 "   int64_t blocks;\n"
13963 "   int64_t atime;\n"
13964 "   int64_t mtime;\n"
13965 "   int64_t ctime;\n"
13966 " };\n"
13967 " \n"
13968 msgstr ""
13969
13970 # type: verbatim
13971 #: ../src/guestfs-structs.pod:127
13972 #, no-wrap
13973 msgid ""
13974 " struct guestfs_stat_list {\n"
13975 "   uint32_t len; /* Number of elements in list. */\n"
13976 "   struct guestfs_stat *val; /* Elements. */\n"
13977 " };\n"
13978 " \n"
13979 msgstr ""
13980
13981 # type: verbatim
13982 #: ../src/guestfs-structs.pod:132
13983 #, no-wrap
13984 msgid ""
13985 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
13986 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
13987 "\n"
13988 msgstr ""
13989
13990 # type: verbatim
13991 #: ../src/guestfs-structs.pod:137
13992 #, no-wrap
13993 msgid ""
13994 " struct guestfs_statvfs {\n"
13995 "   int64_t bsize;\n"
13996 "   int64_t frsize;\n"
13997 "   int64_t blocks;\n"
13998 "   int64_t bfree;\n"
13999 "   int64_t bavail;\n"
14000 "   int64_t files;\n"
14001 "   int64_t ffree;\n"
14002 "   int64_t favail;\n"
14003 "   int64_t fsid;\n"
14004 "   int64_t flag;\n"
14005 "   int64_t namemax;\n"
14006 " };\n"
14007 " \n"
14008 msgstr ""
14009
14010 # type: verbatim
14011 #: ../src/guestfs-structs.pod:151
14012 #, no-wrap
14013 msgid ""
14014 " struct guestfs_statvfs_list {\n"
14015 "   uint32_t len; /* Number of elements in list. */\n"
14016 "   struct guestfs_statvfs *val; /* Elements. */\n"
14017 " };\n"
14018 " \n"
14019 msgstr ""
14020
14021 # type: verbatim
14022 #: ../src/guestfs-structs.pod:156
14023 #, no-wrap
14024 msgid ""
14025 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
14026 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
14027 "\n"
14028 msgstr ""
14029
14030 # type: =head2
14031 #: ../src/guestfs-structs.pod:159
14032 msgid "guestfs_dirent"
14033 msgstr ""
14034
14035 # type: verbatim
14036 #: ../src/guestfs-structs.pod:161
14037 #, no-wrap
14038 msgid ""
14039 " struct guestfs_dirent {\n"
14040 "   int64_t ino;\n"
14041 "   char ftyp;\n"
14042 "   char *name;\n"
14043 " };\n"
14044 " \n"
14045 msgstr ""
14046
14047 # type: verbatim
14048 #: ../src/guestfs-structs.pod:167
14049 #, no-wrap
14050 msgid ""
14051 " struct guestfs_dirent_list {\n"
14052 "   uint32_t len; /* Number of elements in list. */\n"
14053 "   struct guestfs_dirent *val; /* Elements. */\n"
14054 " };\n"
14055 " \n"
14056 msgstr ""
14057
14058 # type: verbatim
14059 #: ../src/guestfs-structs.pod:172
14060 #, no-wrap
14061 msgid ""
14062 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
14063 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
14064 "\n"
14065 msgstr ""
14066
14067 # type: verbatim
14068 #: ../src/guestfs-structs.pod:177
14069 #, no-wrap
14070 msgid ""
14071 " struct guestfs_version {\n"
14072 "   int64_t major;\n"
14073 "   int64_t minor;\n"
14074 "   int64_t release;\n"
14075 "   char *extra;\n"
14076 " };\n"
14077 " \n"
14078 msgstr ""
14079
14080 # type: verbatim
14081 #: ../src/guestfs-structs.pod:184
14082 #, no-wrap
14083 msgid ""
14084 " struct guestfs_version_list {\n"
14085 "   uint32_t len; /* Number of elements in list. */\n"
14086 "   struct guestfs_version *val; /* Elements. */\n"
14087 " };\n"
14088 " \n"
14089 msgstr ""
14090
14091 # type: verbatim
14092 #: ../src/guestfs-structs.pod:189
14093 #, no-wrap
14094 msgid ""
14095 " void guestfs_free_version (struct guestfs_free_version *);\n"
14096 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
14097 "\n"
14098 msgstr ""
14099
14100 # type: =head2
14101 #: ../src/guestfs-structs.pod:192
14102 msgid "guestfs_xattr"
14103 msgstr ""
14104
14105 # type: verbatim
14106 #: ../src/guestfs-structs.pod:194
14107 #, no-wrap
14108 msgid ""
14109 " struct guestfs_xattr {\n"
14110 "   char *attrname;\n"
14111 "   /* The next two fields describe a byte array. */\n"
14112 "   uint32_t attrval_len;\n"
14113 "   char *attrval;\n"
14114 " };\n"
14115 " \n"
14116 msgstr ""
14117
14118 # type: verbatim
14119 #: ../src/guestfs-structs.pod:201
14120 #, no-wrap
14121 msgid ""
14122 " struct guestfs_xattr_list {\n"
14123 "   uint32_t len; /* Number of elements in list. */\n"
14124 "   struct guestfs_xattr *val; /* Elements. */\n"
14125 " };\n"
14126 " \n"
14127 msgstr ""
14128
14129 # type: verbatim
14130 #: ../src/guestfs-structs.pod:206
14131 #, no-wrap
14132 msgid ""
14133 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
14134 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
14135 "\n"
14136 msgstr ""
14137
14138 # type: =head2
14139 #: ../src/guestfs-structs.pod:209
14140 msgid "guestfs_inotify_event"
14141 msgstr ""
14142
14143 # type: verbatim
14144 #: ../src/guestfs-structs.pod:211
14145 #, no-wrap
14146 msgid ""
14147 " struct guestfs_inotify_event {\n"
14148 "   int64_t in_wd;\n"
14149 "   uint32_t in_mask;\n"
14150 "   uint32_t in_cookie;\n"
14151 "   char *in_name;\n"
14152 " };\n"
14153 " \n"
14154 msgstr ""
14155
14156 # type: verbatim
14157 #: ../src/guestfs-structs.pod:218
14158 #, no-wrap
14159 msgid ""
14160 " struct guestfs_inotify_event_list {\n"
14161 "   uint32_t len; /* Number of elements in list. */\n"
14162 "   struct guestfs_inotify_event *val; /* Elements. */\n"
14163 " };\n"
14164 " \n"
14165 msgstr ""
14166
14167 # type: verbatim
14168 #: ../src/guestfs-structs.pod:223
14169 #, no-wrap
14170 msgid ""
14171 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
14172 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
14173 "\n"
14174 msgstr ""
14175
14176 # type: =head2
14177 #: ../src/guestfs-structs.pod:226
14178 msgid "guestfs_partition"
14179 msgstr ""
14180
14181 # type: verbatim
14182 #: ../src/guestfs-structs.pod:228
14183 #, no-wrap
14184 msgid ""
14185 " struct guestfs_partition {\n"
14186 "   int32_t part_num;\n"
14187 "   uint64_t part_start;\n"
14188 "   uint64_t part_end;\n"
14189 "   uint64_t part_size;\n"
14190 " };\n"
14191 " \n"
14192 msgstr ""
14193
14194 # type: verbatim
14195 #: ../src/guestfs-structs.pod:235
14196 #, no-wrap
14197 msgid ""
14198 " struct guestfs_partition_list {\n"
14199 "   uint32_t len; /* Number of elements in list. */\n"
14200 "   struct guestfs_partition *val; /* Elements. */\n"
14201 " };\n"
14202 " \n"
14203 msgstr ""
14204
14205 # type: verbatim
14206 #: ../src/guestfs-structs.pod:240
14207 #, no-wrap
14208 msgid ""
14209 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14210 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14211 "\n"
14212 msgstr ""
14213
14214 # type: textblock
14215 #: ../fish/guestfish.pod:5
14216 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14217 msgstr ""
14218
14219 # type: verbatim
14220 #: ../fish/guestfish.pod:9
14221 #, no-wrap
14222 msgid ""
14223 " guestfish [--options] [commands]\n"
14224 "\n"
14225 msgstr ""
14226
14227 # type: verbatim
14228 #: ../fish/guestfish.pod:11
14229 #, no-wrap
14230 msgid ""
14231 " guestfish\n"
14232 "\n"
14233 msgstr ""
14234
14235 # type: verbatim
14236 #: ../fish/guestfish.pod:13
14237 #, no-wrap
14238 msgid ""
14239 " guestfish -a disk.img\n"
14240 "\n"
14241 msgstr ""
14242
14243 # type: verbatim
14244 #: ../fish/guestfish.pod:15
14245 #, no-wrap
14246 msgid ""
14247 " guestfish -a disk.img -m dev[:mountpoint]\n"
14248 "\n"
14249 msgstr ""
14250
14251 # type: verbatim
14252 #: ../fish/guestfish.pod:17
14253 #, no-wrap
14254 msgid ""
14255 " guestfish -d libvirt-domain\n"
14256 "\n"
14257 msgstr ""
14258
14259 # type: verbatim
14260 #: ../fish/guestfish.pod:19
14261 #, no-wrap
14262 msgid ""
14263 " guestfish -a disk.img -i\n"
14264 "\n"
14265 msgstr ""
14266
14267 # type: verbatim
14268 #: ../fish/guestfish.pod:21
14269 #, no-wrap
14270 msgid ""
14271 " guestfish -d libvirt-domain -i\n"
14272 "\n"
14273 msgstr ""
14274
14275 # type: =head1
14276 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45
14277 #: ../tools/virt-rescue.pl:41 ../tools/virt-tar.pl:60
14278 #: ../tools/virt-win-reg.pl:52
14279 msgid "WARNING"
14280 msgstr ""
14281
14282 # type: textblock
14283 #: ../fish/guestfish.pod:25
14284 msgid ""
14285 "Using guestfish in read/write mode on live virtual machines can be "
14286 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14287 "option to use guestfish safely if the disk image or virtual machine might be "
14288 "live."
14289 msgstr ""
14290
14291 # type: =head1
14292 #: ../fish/guestfish.pod:30 ../fish/guestfish.pod:729
14293 #: ../fuse/guestmount.pod:35 ../tools/virt-cat.pl:51 ../tools/virt-edit.pl:59
14294 #: ../tools/virt-resize.pl:66 ../tools/virt-tar.pl:46
14295 msgid "EXAMPLES"
14296 msgstr ""
14297
14298 # type: =head2
14299 #: ../fish/guestfish.pod:32
14300 msgid "As an interactive shell"
14301 msgstr ""
14302
14303 # type: verbatim
14304 #: ../fish/guestfish.pod:34
14305 #, no-wrap
14306 msgid ""
14307 " $ guestfish\n"
14308 " \n"
14309 msgstr ""
14310
14311 # type: verbatim
14312 #: ../fish/guestfish.pod:36
14313 #, no-wrap
14314 msgid ""
14315 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14316 " editing virtual machine filesystems.\n"
14317 " \n"
14318 msgstr ""
14319
14320 # type: verbatim
14321 #: ../fish/guestfish.pod:39
14322 #, no-wrap
14323 msgid ""
14324 " Type: 'help' for a list of commands\n"
14325 "       'man' to read the manual\n"
14326 "       'quit' to quit the shell\n"
14327 " \n"
14328 msgstr ""
14329
14330 # type: verbatim
14331 #: ../fish/guestfish.pod:43
14332 #, no-wrap
14333 msgid ""
14334 " ><fs> man\n"
14335 "\n"
14336 msgstr ""
14337
14338 # type: =head2
14339 #: ../fish/guestfish.pod:45
14340 msgid "From shell scripts"
14341 msgstr ""
14342
14343 # type: textblock
14344 #: ../fish/guestfish.pod:47
14345 msgid "Create a new C</etc/motd> file in a guest:"
14346 msgstr ""
14347
14348 # type: verbatim
14349 #: ../fish/guestfish.pod:49
14350 #, no-wrap
14351 msgid ""
14352 " guestfish <<_EOF_\n"
14353 " add disk.img\n"
14354 " run\n"
14355 " mount /dev/vg_guest/lv_root /\n"
14356 " write /etc/motd \"Welcome, new users\"\n"
14357 " _EOF_\n"
14358 "\n"
14359 msgstr ""
14360
14361 # type: textblock
14362 #: ../fish/guestfish.pod:56
14363 msgid "List the LVM logical volumes in a guest:"
14364 msgstr ""
14365
14366 # type: verbatim
14367 #: ../fish/guestfish.pod:58
14368 #, no-wrap
14369 msgid ""
14370 " guestfish -a disk.img --ro <<_EOF_\n"
14371 " run\n"
14372 " lvs\n"
14373 " _EOF_\n"
14374 "\n"
14375 msgstr ""
14376
14377 # type: =head2
14378 #: ../fish/guestfish.pod:63
14379 msgid "On one command line"
14380 msgstr ""
14381
14382 # type: textblock
14383 #: ../fish/guestfish.pod:65
14384 msgid "Update C</etc/resolv.conf> in a guest:"
14385 msgstr ""
14386
14387 # type: verbatim
14388 #: ../fish/guestfish.pod:67
14389 #, no-wrap
14390 msgid ""
14391 " guestfish \\\n"
14392 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14393 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14394 "\n"
14395 msgstr ""
14396
14397 # type: textblock
14398 #: ../fish/guestfish.pod:71
14399 msgid "Edit C</boot/grub/grub.conf> interactively:"
14400 msgstr ""
14401
14402 # type: verbatim
14403 #: ../fish/guestfish.pod:73
14404 #, no-wrap
14405 msgid ""
14406 " guestfish --add disk.img \\\n"
14407 "   --mount /dev/vg_guest/lv_root \\\n"
14408 "   --mount /dev/sda1:/boot \\\n"
14409 "   edit /boot/grub/grub.conf\n"
14410 "\n"
14411 msgstr ""
14412
14413 # type: =head2
14414 #: ../fish/guestfish.pod:78
14415 msgid "Mount disks automatically"
14416 msgstr ""
14417
14418 # type: textblock
14419 #: ../fish/guestfish.pod:80
14420 msgid ""
14421 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
14422 msgstr ""
14423
14424 # type: verbatim
14425 #: ../fish/guestfish.pod:83
14426 #, no-wrap
14427 msgid ""
14428 " guestfish --ro -a disk.img -i cat /etc/group\n"
14429 "\n"
14430 msgstr ""
14431
14432 # type: verbatim
14433 #: ../fish/guestfish.pod:85
14434 #, no-wrap
14435 msgid ""
14436 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14437 "\n"
14438 msgstr ""
14439
14440 # type: =head2
14441 #: ../fish/guestfish.pod:87
14442 msgid "As a script interpreter"
14443 msgstr ""
14444
14445 # type: textblock
14446 #: ../fish/guestfish.pod:89
14447 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14448 msgstr ""
14449
14450 # type: verbatim
14451 #: ../fish/guestfish.pod:91
14452 #, no-wrap
14453 msgid ""
14454 " #!/usr/bin/guestfish -f\n"
14455 " sparse test1.img 100M\n"
14456 " run\n"
14457 " part-disk /dev/sda mbr\n"
14458 " mkfs ext2 /dev/sda1\n"
14459 "\n"
14460 msgstr ""
14461
14462 # type: =head2
14463 #: ../fish/guestfish.pod:97
14464 msgid "Start with a prepared disk"
14465 msgstr ""
14466
14467 # type: textblock
14468 #: ../fish/guestfish.pod:99
14469 msgid ""
14470 "An alternate way to create a 100MB disk called C<test1.img> containing a "
14471 "single ext2-formatted partition:"
14472 msgstr ""
14473
14474 # type: verbatim
14475 #: ../fish/guestfish.pod:102
14476 #, no-wrap
14477 msgid ""
14478 " guestfish -N fs\n"
14479 "\n"
14480 msgstr ""
14481
14482 # type: textblock
14483 #: ../fish/guestfish.pod:104
14484 msgid "To list what is available do:"
14485 msgstr ""
14486
14487 # type: verbatim
14488 #: ../fish/guestfish.pod:106 ../fish/guestfish.pod:720
14489 #, no-wrap
14490 msgid ""
14491 " guestfish -N list | less\n"
14492 "\n"
14493 msgstr ""
14494
14495 # type: =head2
14496 #: ../fish/guestfish.pod:108
14497 msgid "Remote control"
14498 msgstr ""
14499
14500 # type: verbatim
14501 #: ../fish/guestfish.pod:110
14502 #, no-wrap
14503 msgid ""
14504 " eval `guestfish --listen --ro`\n"
14505 " guestfish --remote add disk.img\n"
14506 " guestfish --remote run\n"
14507 " guestfish --remote lvs\n"
14508 "\n"
14509 msgstr ""
14510
14511 # type: textblock
14512 #: ../fish/guestfish.pod:117
14513 msgid ""
14514 "Guestfish is a shell and command-line tool for examining and modifying "
14515 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14516 "functionality of the guestfs API, see L<guestfs(3)>."
14517 msgstr ""
14518
14519 # type: textblock
14520 #: ../fish/guestfish.pod:121
14521 msgid ""
14522 "Guestfish gives you structured access to the libguestfs API, from shell "
14523 "scripts or the command line or interactively.  If you want to rescue a "
14524 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14525 "command."
14526 msgstr ""
14527
14528 # type: =head1
14529 #: ../fish/guestfish.pod:126 ../test-tool/libguestfs-test-tool.pod:37
14530 #: ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75
14531 #: ../tools/virt-cat.pl:80 ../tools/virt-df.pl:71 ../tools/virt-edit.pl:73
14532 #: ../tools/virt-list-filesystems.pl:50 ../tools/virt-list-partitions.pl:51
14533 #: ../tools/virt-ls.pl:79 ../tools/virt-make-fs.pl:153
14534 #: ../tools/virt-rescue.pl:103 ../tools/virt-resize.pl:233
14535 #: ../tools/virt-tar.pl:99 ../tools/virt-win-reg.pl:172
14536 msgid "OPTIONS"
14537 msgstr ""
14538
14539 # type: =item
14540 #: ../fish/guestfish.pod:130 ../fuse/guestmount.pod:94
14541 #: ../inspector/virt-inspector.pl:83 ../tools/virt-cat.pl:88
14542 #: ../tools/virt-df.pl:79 ../tools/virt-edit.pl:81
14543 #: ../tools/virt-list-filesystems.pl:58 ../tools/virt-list-partitions.pl:59
14544 #: ../tools/virt-ls.pl:87 ../tools/virt-make-fs.pl:161
14545 #: ../tools/virt-rescue.pl:111 ../tools/virt-resize.pl:241
14546 #: ../tools/virt-tar.pl:107 ../tools/virt-win-reg.pl:180
14547 msgid "B<--help>"
14548 msgstr ""
14549
14550 # type: textblock
14551 #: ../fish/guestfish.pod:132
14552 msgid "Displays general help on options."
14553 msgstr ""
14554
14555 # type: =item
14556 #: ../fish/guestfish.pod:134
14557 msgid "B<-h> | B<--cmd-help>"
14558 msgstr ""
14559
14560 # type: textblock
14561 #: ../fish/guestfish.pod:136
14562 msgid "Lists all available guestfish commands."
14563 msgstr ""
14564
14565 # type: =item
14566 #: ../fish/guestfish.pod:138
14567 msgid "B<-h cmd> | B<--cmd-help cmd>"
14568 msgstr ""
14569
14570 # type: textblock
14571 #: ../fish/guestfish.pod:140
14572 msgid "Displays detailed help on a single command C<cmd>."
14573 msgstr ""
14574
14575 # type: =item
14576 #: ../fish/guestfish.pod:142 ../fuse/guestmount.pod:74
14577 msgid "B<-a image> | B<--add image>"
14578 msgstr ""
14579
14580 # type: textblock
14581 #: ../fish/guestfish.pod:144
14582 msgid "Add a block device or virtual machine image to the shell."
14583 msgstr ""
14584
14585 # type: =item
14586 #: ../fish/guestfish.pod:146
14587 msgid "B<-c URI> | B<--connect URI>"
14588 msgstr ""
14589
14590 # type: textblock
14591 #: ../fish/guestfish.pod:148
14592 msgid ""
14593 "When used in conjunction with the I<-d> option, this specifies the libvirt "
14594 "URI to use.  The default is to use the default libvirt connection."
14595 msgstr ""
14596
14597 # type: =item
14598 #: ../fish/guestfish.pod:152
14599 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
14600 msgstr ""
14601
14602 # type: textblock
14603 #: ../fish/guestfish.pod:154
14604 msgid ""
14605 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
14606 "used, then any libvirt domain can be used.  However in write mode, only "
14607 "libvirt domains which are shut down can be named here."
14608 msgstr ""
14609
14610 # type: =item
14611 #: ../fish/guestfish.pod:158
14612 msgid "B<-D> | B<--no-dest-paths>"
14613 msgstr ""
14614
14615 # type: textblock
14616 #: ../fish/guestfish.pod:160
14617 msgid ""
14618 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
14619 "to hit the tab key to complete paths on the guest filesystem, but this "
14620 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
14621 "allow this feature to be disabled."
14622 msgstr ""
14623
14624 # type: =item
14625 #: ../fish/guestfish.pod:165
14626 msgid "B<-f file> | B<--file file>"
14627 msgstr ""
14628
14629 # type: textblock
14630 #: ../fish/guestfish.pod:167
14631 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
14632 msgstr ""
14633
14634 # type: verbatim
14635 #: ../fish/guestfish.pod:170
14636 #, no-wrap
14637 msgid ""
14638 " #!/usr/bin/guestfish -f\n"
14639 "\n"
14640 msgstr ""
14641
14642 # type: =item
14643 #: ../fish/guestfish.pod:172
14644 msgid "B<-i> | B<--inspector>"
14645 msgstr ""
14646
14647 # type: textblock
14648 #: ../fish/guestfish.pod:174
14649 msgid ""
14650 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
14651 "system and mount filesystems as they would be mounted on the real virtual "
14652 "machine."
14653 msgstr ""
14654
14655 # type: textblock
14656 #: ../fish/guestfish.pod:178
14657 msgid "Typical usage is either:"
14658 msgstr ""
14659
14660 # type: verbatim
14661 #: ../fish/guestfish.pod:180
14662 #, no-wrap
14663 msgid ""
14664 " guestfish -d myguest -i\n"
14665 "\n"
14666 msgstr ""
14667
14668 # type: textblock
14669 #: ../fish/guestfish.pod:182
14670 msgid "(for an inactive libvirt domain called I<myguest>), or:"
14671 msgstr ""
14672
14673 # type: verbatim
14674 #: ../fish/guestfish.pod:184
14675 #, no-wrap
14676 msgid ""
14677 " guestfish --ro -d myguest -i\n"
14678 "\n"
14679 msgstr ""
14680
14681 # type: textblock
14682 #: ../fish/guestfish.pod:186
14683 msgid "(for active domains, readonly), or specify the block device directly:"
14684 msgstr ""
14685
14686 # type: verbatim
14687 #: ../fish/guestfish.pod:188
14688 #, no-wrap
14689 msgid ""
14690 " guestfish -a /dev/Guests/MyGuest -i\n"
14691 "\n"
14692 msgstr ""
14693
14694 # type: textblock
14695 #: ../fish/guestfish.pod:190
14696 msgid ""
14697 "Note that the command line syntax changed slightly over older versions of "
14698 "guestfish.  You can still use the old syntax:"
14699 msgstr ""
14700
14701 # type: verbatim
14702 #: ../fish/guestfish.pod:193
14703 #, no-wrap
14704 msgid ""
14705 " guestfish [--ro] -i disk.img\n"
14706 "\n"
14707 msgstr ""
14708
14709 # type: verbatim
14710 #: ../fish/guestfish.pod:195
14711 #, no-wrap
14712 msgid ""
14713 " guestfish [--ro] -i libvirt-domain\n"
14714 "\n"
14715 msgstr ""
14716
14717 # type: =item
14718 #: ../fish/guestfish.pod:197
14719 msgid "B<--keys-from-stdin>"
14720 msgstr ""
14721
14722 # type: textblock
14723 #: ../fish/guestfish.pod:199
14724 msgid ""
14725 "Read key or passphrase parameters from stdin.  The default is to try to read "
14726 "passphrases from the user by opening C</dev/tty>."
14727 msgstr ""
14728
14729 # type: =item
14730 #: ../fish/guestfish.pod:202
14731 msgid "B<--listen>"
14732 msgstr ""
14733
14734 # type: textblock
14735 #: ../fish/guestfish.pod:204
14736 msgid ""
14737 "Fork into the background and listen for remote commands.  See section L</"
14738 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
14739 msgstr ""
14740
14741 # type: =item
14742 #: ../fish/guestfish.pod:207
14743 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
14744 msgstr ""
14745
14746 # type: textblock
14747 #: ../fish/guestfish.pod:209
14748 msgid "Mount the named partition or logical volume on the given mountpoint."
14749 msgstr ""
14750
14751 # type: textblock
14752 #: ../fish/guestfish.pod:211
14753 msgid "If the mountpoint is omitted, it defaults to C</>."
14754 msgstr ""
14755
14756 # type: textblock
14757 #: ../fish/guestfish.pod:213
14758 msgid "You have to mount something on C</> before most commands will work."
14759 msgstr ""
14760
14761 # type: textblock
14762 #: ../fish/guestfish.pod:215
14763 msgid ""
14764 "If any I<-m> or I<--mount> options are given, the guest is automatically "
14765 "launched."
14766 msgstr ""
14767
14768 # type: textblock
14769 #: ../fish/guestfish.pod:218
14770 msgid ""
14771 "If you don't know what filesystems a disk image contains, you can either run "
14772 "guestfish without this option, then list the partitions and LVs available "
14773 "(see L</list-partitions> and L</lvs> commands), or you can use the L<virt-"
14774 "list-filesystems(1)> program."
14775 msgstr ""
14776
14777 # type: =item
14778 #: ../fish/guestfish.pod:223 ../fuse/guestmount.pod:106
14779 msgid "B<-n> | B<--no-sync>"
14780 msgstr ""
14781
14782 # type: textblock
14783 #: ../fish/guestfish.pod:225
14784 msgid ""
14785 "Disable autosync.  This is enabled by default.  See the discussion of "
14786 "autosync in the L<guestfs(3)> manpage."
14787 msgstr ""
14788
14789 # type: =item
14790 #: ../fish/guestfish.pod:228
14791 msgid "B<-N type> | B<--new type> | B<-N list>"
14792 msgstr ""
14793
14794 # type: textblock
14795 #: ../fish/guestfish.pod:230
14796 msgid ""
14797 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
14798 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
14799 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
14800 "IMAGES> below."
14801 msgstr ""
14802
14803 # type: =item
14804 #: ../fish/guestfish.pod:235
14805 msgid "B<--progress-bars>"
14806 msgstr ""
14807
14808 # type: textblock
14809 #: ../fish/guestfish.pod:237
14810 msgid "Enable progress bars, even when guestfish is used non-interactively."
14811 msgstr ""
14812
14813 # type: textblock
14814 #: ../fish/guestfish.pod:239
14815 msgid ""
14816 "Progress bars are enabled by default when guestfish is used as an "
14817 "interactive shell."
14818 msgstr ""
14819
14820 # type: =item
14821 #: ../fish/guestfish.pod:242
14822 msgid "B<--no-progress-bars>"
14823 msgstr ""
14824
14825 # type: textblock
14826 #: ../fish/guestfish.pod:244
14827 msgid "Disable progress bars."
14828 msgstr ""
14829
14830 # type: =item
14831 #: ../fish/guestfish.pod:246
14832 msgid "B<--remote[=pid]>"
14833 msgstr ""
14834
14835 # type: textblock
14836 #: ../fish/guestfish.pod:248
14837 msgid ""
14838 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
14839 "CONTROL GUESTFISH OVER A SOCKET> below."
14840 msgstr ""
14841
14842 # type: =item
14843 #: ../fish/guestfish.pod:251 ../fuse/guestmount.pod:148
14844 msgid "B<-r> | B<--ro>"
14845 msgstr ""
14846
14847 # type: textblock
14848 #: ../fish/guestfish.pod:253
14849 msgid ""
14850 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
14851 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
14852 msgstr ""
14853
14854 # type: textblock
14855 #: ../fish/guestfish.pod:256 ../tools/virt-rescue.pl:162
14856 msgid ""
14857 "The option must always be used if the disk image or virtual machine might be "
14858 "running, and is generally recommended in cases where you don't need write "
14859 "access to the disk."
14860 msgstr ""
14861
14862 # type: textblock
14863 #: ../fish/guestfish.pod:260
14864 msgid ""
14865 "Note that prepared disk images created with I<-N> are not affected by the "
14866 "I<--ro> option."
14867 msgstr ""
14868
14869 # type: =item
14870 #: ../fish/guestfish.pod:263 ../fuse/guestmount.pod:158
14871 #: ../tools/virt-rescue.pl:170
14872 msgid "B<--selinux>"
14873 msgstr ""
14874
14875 # type: textblock
14876 #: ../fish/guestfish.pod:265
14877 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
14878 msgstr ""
14879
14880 # type: =item
14881 #: ../fish/guestfish.pod:267 ../fuse/guestmount.pod:168
14882 msgid "B<-v> | B<--verbose>"
14883 msgstr ""
14884
14885 # type: textblock
14886 #: ../fish/guestfish.pod:269
14887 msgid ""
14888 "Enable very verbose messages.  This is particularly useful if you find a bug."
14889 msgstr ""
14890
14891 # type: =item
14892 #: ../fish/guestfish.pod:272 ../fuse/guestmount.pod:172
14893 msgid "B<-V> | B<--version>"
14894 msgstr ""
14895
14896 # type: textblock
14897 #: ../fish/guestfish.pod:274
14898 msgid "Display the guestfish / libguestfs version number and exit."
14899 msgstr ""
14900
14901 # type: =item
14902 #: ../fish/guestfish.pod:276
14903 msgid "B<-x>"
14904 msgstr ""
14905
14906 # type: textblock
14907 #: ../fish/guestfish.pod:278
14908 msgid "Echo each command before executing it."
14909 msgstr ""
14910
14911 # type: =head1
14912 #: ../fish/guestfish.pod:282
14913 msgid "COMMANDS ON COMMAND LINE"
14914 msgstr ""
14915
14916 # type: textblock
14917 #: ../fish/guestfish.pod:284
14918 msgid ""
14919 "Any additional (non-option) arguments are treated as commands to execute."
14920 msgstr ""
14921
14922 # type: textblock
14923 #: ../fish/guestfish.pod:287
14924 msgid ""
14925 "Commands to execute should be separated by a colon (C<:>), where the colon "
14926 "is a separate parameter.  Thus:"
14927 msgstr ""
14928
14929 # type: verbatim
14930 #: ../fish/guestfish.pod:290
14931 #, no-wrap
14932 msgid ""
14933 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
14934 "\n"
14935 msgstr ""
14936
14937 # type: textblock
14938 #: ../fish/guestfish.pod:292
14939 msgid ""
14940 "If there are no additional arguments, then we enter a shell, either an "
14941 "interactive shell with a prompt (if the input is a terminal) or a non-"
14942 "interactive shell."
14943 msgstr ""
14944
14945 # type: textblock
14946 #: ../fish/guestfish.pod:296
14947 msgid ""
14948 "In either command line mode or non-interactive shell, the first command that "
14949 "gives an error causes the whole shell to exit.  In interactive mode (with a "
14950 "prompt) if a command fails, you can continue to enter commands."
14951 msgstr ""
14952
14953 # type: =head1
14954 #: ../fish/guestfish.pod:301
14955 msgid "USING launch (OR run)"
14956 msgstr ""
14957
14958 # type: textblock
14959 #: ../fish/guestfish.pod:303
14960 msgid ""
14961 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
14962 "then launch it, then mount any disks you need, and finally issue actions/"
14963 "commands.  So the general order of the day is:"
14964 msgstr ""
14965
14966 # type: textblock
14967 #: ../fish/guestfish.pod:311
14968 msgid "add or -a/--add"
14969 msgstr ""
14970
14971 # type: textblock
14972 #: ../fish/guestfish.pod:315
14973 msgid "launch (aka run)"
14974 msgstr ""
14975
14976 # type: textblock
14977 #: ../fish/guestfish.pod:319
14978 msgid "mount or -m/--mount"
14979 msgstr ""
14980
14981 # type: textblock
14982 #: ../fish/guestfish.pod:323
14983 msgid "any other commands"
14984 msgstr ""
14985
14986 # type: textblock
14987 #: ../fish/guestfish.pod:327
14988 msgid ""
14989 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
14990 "guest before mounting or performing any other commands."
14991 msgstr ""
14992
14993 # type: textblock
14994 #: ../fish/guestfish.pod:330
14995 msgid ""
14996 "The only exception is that if the I<-m> or I<--mount> option was given, the "
14997 "guest is automatically run for you (simply because guestfish can't mount the "
14998 "disks you asked for without doing this)."
14999 msgstr ""
15000
15001 # type: =head1
15002 #: ../fish/guestfish.pod:334
15003 msgid "QUOTING"
15004 msgstr ""
15005
15006 # type: textblock
15007 #: ../fish/guestfish.pod:336
15008 msgid ""
15009 "You can quote ordinary parameters using either single or double quotes.  For "
15010 "example:"
15011 msgstr ""
15012
15013 # type: verbatim
15014 #: ../fish/guestfish.pod:339
15015 #, no-wrap
15016 msgid ""
15017 " add \"file with a space.img\"\n"
15018 "\n"
15019 msgstr ""
15020
15021 # type: verbatim
15022 #: ../fish/guestfish.pod:341
15023 #, no-wrap
15024 msgid ""
15025 " rm '/file name'\n"
15026 "\n"
15027 msgstr ""
15028
15029 # type: verbatim
15030 #: ../fish/guestfish.pod:343
15031 #, no-wrap
15032 msgid ""
15033 " rm '/\"'\n"
15034 "\n"
15035 msgstr ""
15036
15037 # type: textblock
15038 #: ../fish/guestfish.pod:345
15039 msgid ""
15040 "A few commands require a list of strings to be passed.  For these, use a "
15041 "whitespace-separated list, enclosed in quotes.  Strings containing "
15042 "whitespace to be passed through must be enclosed in single quotes.  A "
15043 "literal single quote must be escaped with a backslash."
15044 msgstr ""
15045
15046 # type: verbatim
15047 #: ../fish/guestfish.pod:350
15048 #, no-wrap
15049 msgid ""
15050 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
15051 " command \"/bin/echo 'foo      bar'\"\n"
15052 " command \"/bin/echo \\'foo\\'\"\n"
15053 "\n"
15054 msgstr ""
15055
15056 # type: =head1
15057 #: ../fish/guestfish.pod:354
15058 msgid "NUMBERS"
15059 msgstr ""
15060
15061 # type: textblock
15062 #: ../fish/guestfish.pod:356
15063 msgid ""
15064 "This section applies to all commands which can take integers as parameters."
15065 msgstr ""
15066
15067 # type: =head2
15068 #: ../fish/guestfish.pod:359
15069 msgid "SIZE SUFFIX"
15070 msgstr ""
15071
15072 # type: textblock
15073 #: ../fish/guestfish.pod:361
15074 msgid ""
15075 "When the command takes a parameter measured in bytes, you can use one of the "
15076 "following suffixes to specify kilobytes, megabytes and larger sizes:"
15077 msgstr ""
15078
15079 # type: =item
15080 #: ../fish/guestfish.pod:367
15081 msgid "B<k> or B<K> or B<KiB>"
15082 msgstr ""
15083
15084 # type: textblock
15085 #: ../fish/guestfish.pod:369
15086 msgid "The size in kilobytes (multiplied by 1024)."
15087 msgstr ""
15088
15089 # type: =item
15090 #: ../fish/guestfish.pod:371
15091 msgid "B<KB>"
15092 msgstr ""
15093
15094 # type: textblock
15095 #: ../fish/guestfish.pod:373
15096 msgid "The size in SI 1000 byte units."
15097 msgstr ""
15098
15099 # type: =item
15100 #: ../fish/guestfish.pod:375
15101 msgid "B<M> or B<MiB>"
15102 msgstr ""
15103
15104 # type: textblock
15105 #: ../fish/guestfish.pod:377
15106 msgid "The size in megabytes (multiplied by 1048576)."
15107 msgstr ""
15108
15109 # type: =item
15110 #: ../fish/guestfish.pod:379
15111 msgid "B<MB>"
15112 msgstr ""
15113
15114 # type: textblock
15115 #: ../fish/guestfish.pod:381
15116 msgid "The size in SI 1000000 byte units."
15117 msgstr ""
15118
15119 # type: =item
15120 #: ../fish/guestfish.pod:383
15121 msgid "B<G> or B<GiB>"
15122 msgstr ""
15123
15124 # type: textblock
15125 #: ../fish/guestfish.pod:385
15126 msgid "The size in gigabytes (multiplied by 2**30)."
15127 msgstr ""
15128
15129 # type: =item
15130 #: ../fish/guestfish.pod:387
15131 msgid "B<GB>"
15132 msgstr ""
15133
15134 # type: textblock
15135 #: ../fish/guestfish.pod:389
15136 msgid "The size in SI 10**9 byte units."
15137 msgstr ""
15138
15139 # type: =item
15140 #: ../fish/guestfish.pod:391
15141 msgid "B<T> or B<TiB>"
15142 msgstr ""
15143
15144 # type: textblock
15145 #: ../fish/guestfish.pod:393
15146 msgid "The size in terabytes (multiplied by 2**40)."
15147 msgstr ""
15148
15149 # type: =item
15150 #: ../fish/guestfish.pod:395
15151 msgid "B<TB>"
15152 msgstr ""
15153
15154 # type: textblock
15155 #: ../fish/guestfish.pod:397
15156 msgid "The size in SI 10**12 byte units."
15157 msgstr ""
15158
15159 # type: =item
15160 #: ../fish/guestfish.pod:399
15161 msgid "B<P> or B<PiB>"
15162 msgstr ""
15163
15164 # type: textblock
15165 #: ../fish/guestfish.pod:401
15166 msgid "The size in petabytes (multiplied by 2**50)."
15167 msgstr ""
15168
15169 # type: =item
15170 #: ../fish/guestfish.pod:403
15171 msgid "B<PB>"
15172 msgstr ""
15173
15174 # type: textblock
15175 #: ../fish/guestfish.pod:405
15176 msgid "The size in SI 10**15 byte units."
15177 msgstr ""
15178
15179 # type: =item
15180 #: ../fish/guestfish.pod:407
15181 msgid "B<E> or B<EiB>"
15182 msgstr ""
15183
15184 # type: textblock
15185 #: ../fish/guestfish.pod:409
15186 msgid "The size in exabytes (multiplied by 2**60)."
15187 msgstr ""
15188
15189 # type: =item
15190 #: ../fish/guestfish.pod:411
15191 msgid "B<EB>"
15192 msgstr ""
15193
15194 # type: textblock
15195 #: ../fish/guestfish.pod:413
15196 msgid "The size in SI 10**18 byte units."
15197 msgstr ""
15198
15199 # type: =item
15200 #: ../fish/guestfish.pod:415
15201 msgid "B<Z> or B<ZiB>"
15202 msgstr ""
15203
15204 # type: textblock
15205 #: ../fish/guestfish.pod:417
15206 msgid "The size in zettabytes (multiplied by 2**70)."
15207 msgstr ""
15208
15209 # type: =item
15210 #: ../fish/guestfish.pod:419
15211 msgid "B<ZB>"
15212 msgstr ""
15213
15214 # type: textblock
15215 #: ../fish/guestfish.pod:421
15216 msgid "The size in SI 10**21 byte units."
15217 msgstr ""
15218
15219 # type: =item
15220 #: ../fish/guestfish.pod:423
15221 msgid "B<Y> or B<YiB>"
15222 msgstr ""
15223
15224 # type: textblock
15225 #: ../fish/guestfish.pod:425
15226 msgid "The size in yottabytes (multiplied by 2**80)."
15227 msgstr ""
15228
15229 # type: =item
15230 #: ../fish/guestfish.pod:427
15231 msgid "B<YB>"
15232 msgstr ""
15233
15234 # type: textblock
15235 #: ../fish/guestfish.pod:429
15236 msgid "The size in SI 10**24 byte units."
15237 msgstr ""
15238
15239 # type: textblock
15240 #: ../fish/guestfish.pod:433
15241 msgid "For example:"
15242 msgstr ""
15243
15244 # type: verbatim
15245 #: ../fish/guestfish.pod:435
15246 #, no-wrap
15247 msgid ""
15248 " truncate-size /file 1G\n"
15249 "\n"
15250 msgstr ""
15251
15252 # type: textblock
15253 #: ../fish/guestfish.pod:437
15254 msgid "would truncate the file to 1 gigabyte."
15255 msgstr ""
15256
15257 # type: textblock
15258 #: ../fish/guestfish.pod:439
15259 msgid ""
15260 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
15261 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
15262 "suffix will probably not do what you expect."
15263 msgstr ""
15264
15265 # type: =head2
15266 #: ../fish/guestfish.pod:443
15267 msgid "OCTAL AND HEXADECIMAL NUMBERS"
15268 msgstr ""
15269
15270 # type: textblock
15271 #: ../fish/guestfish.pod:445
15272 msgid ""
15273 "For specifying the radix (base) use the C convention: C<0> to prefix an "
15274 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
15275 msgstr ""
15276
15277 # type: verbatim
15278 #: ../fish/guestfish.pod:448
15279 #, no-wrap
15280 msgid ""
15281 " 1234      decimal number 1234\n"
15282 " 02322     octal number, equivalent to decimal 1234\n"
15283 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
15284 "\n"
15285 msgstr ""
15286
15287 # type: textblock
15288 #: ../fish/guestfish.pod:452
15289 msgid ""
15290 "When using the C<chmod> command, you almost always want to specify an octal "
15291 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
15292 "L<chmod(1)> program):"
15293 msgstr ""
15294
15295 # type: verbatim
15296 #: ../fish/guestfish.pod:456
15297 #, no-wrap
15298 msgid ""
15299 " chmod 0777 /public  # OK\n"
15300 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
15301 "\n"
15302 msgstr ""
15303
15304 # type: textblock
15305 #: ../fish/guestfish.pod:459
15306 msgid ""
15307 "Commands that return numbers usually print them in decimal, but some "
15308 "commands print numbers in other radices (eg. C<umask> prints the mode in "
15309 "octal, preceeded by C<0>)."
15310 msgstr ""
15311
15312 # type: =head1
15313 #: ../fish/guestfish.pod:463
15314 msgid "WILDCARDS AND GLOBBING"
15315 msgstr ""
15316
15317 # type: textblock
15318 #: ../fish/guestfish.pod:465
15319 msgid ""
15320 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
15321 "(globbing) by default.  So for example the following will not do what you "
15322 "expect:"
15323 msgstr ""
15324
15325 # type: verbatim
15326 #: ../fish/guestfish.pod:469
15327 #, no-wrap
15328 msgid ""
15329 " rm-rf /home/*\n"
15330 "\n"
15331 msgstr ""
15332
15333 # type: textblock
15334 #: ../fish/guestfish.pod:471
15335 msgid ""
15336 "Assuming you don't have a directory literally called C</home/*> then the "
15337 "above command will return an error."
15338 msgstr ""
15339
15340 # type: textblock
15341 #: ../fish/guestfish.pod:474
15342 msgid "To perform wildcard expansion, use the C<glob> command."
15343 msgstr ""
15344
15345 # type: verbatim
15346 #: ../fish/guestfish.pod:476
15347 #, no-wrap
15348 msgid ""
15349 " glob rm-rf /home/*\n"
15350 "\n"
15351 msgstr ""
15352
15353 # type: textblock
15354 #: ../fish/guestfish.pod:478
15355 msgid ""
15356 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
15357 "many times), equivalent to:"
15358 msgstr ""
15359
15360 # type: verbatim
15361 #: ../fish/guestfish.pod:481
15362 #, no-wrap
15363 msgid ""
15364 " rm-rf /home/jim\n"
15365 " rm-rf /home/joe\n"
15366 " rm-rf /home/mary\n"
15367 "\n"
15368 msgstr ""
15369
15370 # type: textblock
15371 #: ../fish/guestfish.pod:485
15372 msgid "C<glob> only works on simple guest paths and not on device names."
15373 msgstr ""
15374
15375 # type: textblock
15376 #: ../fish/guestfish.pod:487
15377 msgid ""
15378 "If you have several parameters, each containing a wildcard, then glob will "
15379 "perform a cartesian product."
15380 msgstr ""
15381
15382 # type: =head1
15383 #: ../fish/guestfish.pod:490
15384 msgid "COMMENTS"
15385 msgstr ""
15386
15387 # type: textblock
15388 #: ../fish/guestfish.pod:492
15389 msgid ""
15390 "Any line which starts with a I<#> character is treated as a comment and "
15391 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15392 "a command.  For example:"
15393 msgstr ""
15394
15395 # type: verbatim
15396 #: ../fish/guestfish.pod:496
15397 #, no-wrap
15398 msgid ""
15399 " # this is a comment\n"
15400 "         # this is a comment\n"
15401 " foo # NOT a comment\n"
15402 "\n"
15403 msgstr ""
15404
15405 # type: textblock
15406 #: ../fish/guestfish.pod:500
15407 msgid "Blank lines are also ignored."
15408 msgstr ""
15409
15410 # type: =head1
15411 #: ../fish/guestfish.pod:502
15412 msgid "RUNNING COMMANDS LOCALLY"
15413 msgstr ""
15414
15415 # type: textblock
15416 #: ../fish/guestfish.pod:504
15417 msgid ""
15418 "Any line which starts with a I<!> character is treated as a command sent to "
15419 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15420 msgstr ""
15421
15422 # type: verbatim
15423 #: ../fish/guestfish.pod:508
15424 #, no-wrap
15425 msgid ""
15426 " !mkdir local\n"
15427 " tgz-out /remote local/remote-data.tar.gz\n"
15428 "\n"
15429 msgstr ""
15430
15431 # type: textblock
15432 #: ../fish/guestfish.pod:511
15433 msgid ""
15434 "will create a directory C<local> on the host, and then export the contents "
15435 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15436 "(See C<tgz-out>)."
15437 msgstr ""
15438
15439 # type: textblock
15440 #: ../fish/guestfish.pod:515
15441 msgid ""
15442 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15443 "effect, due to the way that subprocesses work in Unix."
15444 msgstr ""
15445
15446 # type: =head1
15447 #: ../fish/guestfish.pod:518
15448 msgid "PIPES"
15449 msgstr ""
15450
15451 # type: textblock
15452 #: ../fish/guestfish.pod:520
15453 msgid ""
15454 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15455 "command (a guestfish command) to the second command (any host command).  For "
15456 "example:"
15457 msgstr ""
15458
15459 # type: verbatim
15460 #: ../fish/guestfish.pod:524
15461 #, no-wrap
15462 msgid ""
15463 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
15464 "\n"
15465 msgstr ""
15466
15467 # type: textblock
15468 #: ../fish/guestfish.pod:526
15469 msgid ""
15470 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
15471 "program).  The above command would list all accounts in the guest filesystem "
15472 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
15473 msgstr ""
15474
15475 # type: verbatim
15476 #: ../fish/guestfish.pod:531
15477 #, no-wrap
15478 msgid ""
15479 " hexdump /bin/ls | head\n"
15480 " list-devices | tail -1\n"
15481 " tgz-out / - | tar ztf -\n"
15482 "\n"
15483 msgstr ""
15484
15485 # type: textblock
15486 #: ../fish/guestfish.pod:535
15487 msgid ""
15488 "The space before the pipe symbol is required, any space after the pipe "
15489 "symbol is optional.  Everything after the pipe symbol is just passed "
15490 "straight to the host shell, so it can contain redirections, globs and "
15491 "anything else that makes sense on the host side."
15492 msgstr ""
15493
15494 # type: textblock
15495 #: ../fish/guestfish.pod:540
15496 msgid ""
15497 "To use a literal argument which begins with a pipe symbol, you have to quote "
15498 "it, eg:"
15499 msgstr ""
15500
15501 # type: verbatim
15502 #: ../fish/guestfish.pod:543
15503 #, no-wrap
15504 msgid ""
15505 " echo \"|\"\n"
15506 "\n"
15507 msgstr ""
15508
15509 # type: =head1
15510 #: ../fish/guestfish.pod:545
15511 msgid "HOME DIRECTORIES"
15512 msgstr ""
15513
15514 # type: textblock
15515 #: ../fish/guestfish.pod:547
15516 msgid ""
15517 "If a parameter starts with the character C<~> then the tilde may be expanded "
15518 "as a home directory path (either C<~> for the current user's home directory, "
15519 "or C<~user> for another user)."
15520 msgstr ""
15521
15522 # type: textblock
15523 #: ../fish/guestfish.pod:551
15524 msgid ""
15525 "Note that home directory expansion happens for users known I<on the host>, "
15526 "not in the guest filesystem."
15527 msgstr ""
15528
15529 # type: textblock
15530 #: ../fish/guestfish.pod:554
15531 msgid ""
15532 "To use a literal argument which begins with a tilde, you have to quote it, "
15533 "eg:"
15534 msgstr ""
15535
15536 # type: verbatim
15537 #: ../fish/guestfish.pod:557
15538 #, no-wrap
15539 msgid ""
15540 " echo \"~\"\n"
15541 "\n"
15542 msgstr ""
15543
15544 # type: textblock
15545 #: ../fish/guestfish.pod:561
15546 msgid ""
15547 "Libguestfs has some support for Linux guests encrypted according to the "
15548 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
15549 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
15550 "LUKS is supported."
15551 msgstr ""
15552
15553 # type: textblock
15554 #: ../fish/guestfish.pod:566
15555 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
15556 msgstr ""
15557
15558 # type: verbatim
15559 #: ../fish/guestfish.pod:568
15560 #, no-wrap
15561 msgid ""
15562 " ><fs> vfs-type /dev/sda2\n"
15563 " crypto_LUKS\n"
15564 "\n"
15565 msgstr ""
15566
15567 # type: textblock
15568 #: ../fish/guestfish.pod:571
15569 msgid ""
15570 "Then open those devices using L</luks-open>.  This creates a device-mapper "
15571 "device called C</dev/mapper/luksdev>."
15572 msgstr ""
15573
15574 # type: verbatim
15575 #: ../fish/guestfish.pod:574
15576 #, no-wrap
15577 msgid ""
15578 " ><fs> luks-open /dev/sda2 luksdev\n"
15579 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
15580 "\n"
15581 msgstr ""
15582
15583 # type: textblock
15584 #: ../fish/guestfish.pod:577
15585 msgid ""
15586 "Finally you have to tell LVM to scan for volume groups on the newly created "
15587 "mapper device:"
15588 msgstr ""
15589
15590 # type: verbatim
15591 #: ../fish/guestfish.pod:580
15592 #, no-wrap
15593 msgid ""
15594 " ><fs> vgscan\n"
15595 " ><fs> vg-activate-all true\n"
15596 "\n"
15597 msgstr ""
15598
15599 # type: textblock
15600 #: ../fish/guestfish.pod:583
15601 msgid "The logical volume(s) can now be mounted in the usual way."
15602 msgstr ""
15603
15604 # type: textblock
15605 #: ../fish/guestfish.pod:585
15606 msgid ""
15607 "Before closing a LUKS device you must unmount any logical volumes on it and "
15608 "deactivate the volume groups by calling C<vg-activate false VG> on each "
15609 "one.  Then you can close the mapper device:"
15610 msgstr ""
15611
15612 # type: verbatim
15613 #: ../fish/guestfish.pod:589
15614 #, no-wrap
15615 msgid ""
15616 " ><fs> vg-activate false /dev/VG\n"
15617 " ><fs> luks-close /dev/mapper/luksdev\n"
15618 "\n"
15619 msgstr ""
15620
15621 # type: =head1
15622 #: ../fish/guestfish.pod:592
15623 msgid "WINDOWS PATHS"
15624 msgstr ""
15625
15626 # type: textblock
15627 #: ../fish/guestfish.pod:594
15628 msgid ""
15629 "If a path is prefixed with C<win:> then you can use Windows-style paths "
15630 "(with some limitations).  The following commands are equivalent:"
15631 msgstr ""
15632
15633 # type: verbatim
15634 #: ../fish/guestfish.pod:597
15635 #, no-wrap
15636 msgid ""
15637 " file /WINDOWS/system32/config/system.LOG\n"
15638 "\n"
15639 msgstr ""
15640
15641 # type: verbatim
15642 #: ../fish/guestfish.pod:599
15643 #, no-wrap
15644 msgid ""
15645 " file win:/windows/system32/config/system.log\n"
15646 "\n"
15647 msgstr ""
15648
15649 # type: verbatim
15650 #: ../fish/guestfish.pod:601
15651 #, no-wrap
15652 msgid ""
15653 " file win:\\windows\\system32\\config\\system.log\n"
15654 "\n"
15655 msgstr ""
15656
15657 # type: verbatim
15658 #: ../fish/guestfish.pod:603
15659 #, no-wrap
15660 msgid ""
15661 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
15662 "\n"
15663 msgstr ""
15664
15665 # type: textblock
15666 #: ../fish/guestfish.pod:605
15667 msgid ""
15668 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
15669 "handles case insensitivity like Windows would.  This only works in argument "
15670 "positions that expect a path."
15671 msgstr ""
15672
15673 # type: =head1
15674 #: ../fish/guestfish.pod:609
15675 msgid "UPLOADING AND DOWNLOADING FILES"
15676 msgstr ""
15677
15678 # type: textblock
15679 #: ../fish/guestfish.pod:611
15680 msgid ""
15681 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
15682 "others which upload from or download to a local file, you can use the "
15683 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
15684 msgstr ""
15685
15686 # type: verbatim
15687 #: ../fish/guestfish.pod:615
15688 #, no-wrap
15689 msgid ""
15690 " upload - /foo\n"
15691 "\n"
15692 msgstr ""
15693
15694 # type: textblock
15695 #: ../fish/guestfish.pod:617
15696 msgid ""
15697 "reads stdin and creates from that a file C</foo> in the disk image, and:"
15698 msgstr ""
15699
15700 # type: verbatim
15701 #: ../fish/guestfish.pod:620
15702 #, no-wrap
15703 msgid ""
15704 " tar-out /etc - | tar tf -\n"
15705 "\n"
15706 msgstr ""
15707
15708 # type: textblock
15709 #: ../fish/guestfish.pod:622
15710 msgid ""
15711 "writes the tarball to stdout and then pipes that into the external \"tar\" "
15712 "command (see L</PIPES>)."
15713 msgstr ""
15714
15715 # type: textblock
15716 #: ../fish/guestfish.pod:625
15717 msgid ""
15718 "When using C<-> to read from stdin, the input is read up to the end of "
15719 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
15720 "some arbitrary end marker:"
15721 msgstr ""
15722
15723 # type: verbatim
15724 #: ../fish/guestfish.pod:629
15725 #, no-wrap
15726 msgid ""
15727 " upload -<<END /foo\n"
15728 " input line 1\n"
15729 " input line 2\n"
15730 " input line 3\n"
15731 " END\n"
15732 "\n"
15733 msgstr ""
15734
15735 # type: textblock
15736 #: ../fish/guestfish.pod:635
15737 msgid ""
15738 "Any string of characters can be used instead of C<END>.  The end marker must "
15739 "appear on a line of its own, without any preceeding or following characters "
15740 "(not even spaces)."
15741 msgstr ""
15742
15743 # type: textblock
15744 #: ../fish/guestfish.pod:639
15745 msgid ""
15746 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
15747 "upload local files (so-called \"FileIn\" parameters in the generator)."
15748 msgstr ""
15749
15750 # type: =head1
15751 #: ../fish/guestfish.pod:642
15752 msgid "EXIT ON ERROR BEHAVIOUR"
15753 msgstr ""
15754
15755 # type: textblock
15756 #: ../fish/guestfish.pod:644
15757 msgid ""
15758 "By default, guestfish will ignore any errors when in interactive mode (ie. "
15759 "taking commands from a human over a tty), and will exit on the first error "
15760 "in non-interactive mode (scripts, commands given on the command line)."
15761 msgstr ""
15762
15763 # type: textblock
15764 #: ../fish/guestfish.pod:649
15765 msgid ""
15766 "If you prefix a command with a I<-> character, then that command will not "
15767 "cause guestfish to exit, even if that (one) command returns an error."
15768 msgstr ""
15769
15770 # type: =head1
15771 #: ../fish/guestfish.pod:653
15772 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
15773 msgstr ""
15774
15775 # type: textblock
15776 #: ../fish/guestfish.pod:655
15777 msgid ""
15778 "Guestfish can be remote-controlled over a socket.  This is useful "
15779 "particularly in shell scripts where you want to make several different "
15780 "changes to a filesystem, but you don't want the overhead of starting up a "
15781 "guestfish process each time."
15782 msgstr ""
15783
15784 # type: textblock
15785 #: ../fish/guestfish.pod:660
15786 msgid "Start a guestfish server process using:"
15787 msgstr ""
15788
15789 # type: verbatim
15790 #: ../fish/guestfish.pod:662
15791 #, no-wrap
15792 msgid ""
15793 " eval `guestfish --listen`\n"
15794 "\n"
15795 msgstr ""
15796
15797 # type: textblock
15798 #: ../fish/guestfish.pod:664
15799 msgid "and then send it commands by doing:"
15800 msgstr ""
15801
15802 # type: verbatim
15803 #: ../fish/guestfish.pod:666
15804 #, no-wrap
15805 msgid ""
15806 " guestfish --remote cmd [...]\n"
15807 "\n"
15808 msgstr ""
15809
15810 # type: textblock
15811 #: ../fish/guestfish.pod:668
15812 msgid "To cause the server to exit, send it the exit command:"
15813 msgstr ""
15814
15815 # type: verbatim
15816 #: ../fish/guestfish.pod:670
15817 #, no-wrap
15818 msgid ""
15819 " guestfish --remote exit\n"
15820 "\n"
15821 msgstr ""
15822
15823 # type: textblock
15824 #: ../fish/guestfish.pod:672
15825 msgid ""
15826 "Note that the server will normally exit if there is an error in a command.  "
15827 "You can change this in the usual way.  See section L</EXIT ON ERROR "
15828 "BEHAVIOUR>."
15829 msgstr ""
15830
15831 # type: =head2
15832 #: ../fish/guestfish.pod:676
15833 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
15834 msgstr ""
15835
15836 # type: textblock
15837 #: ../fish/guestfish.pod:678
15838 msgid ""
15839 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
15840 "is how the I<--remote> option knows where to send the commands.  You can "
15841 "have several guestfish listener processes running using:"
15842 msgstr ""
15843
15844 # type: verbatim
15845 #: ../fish/guestfish.pod:682
15846 #, no-wrap
15847 msgid ""
15848 " eval `guestfish --listen`\n"
15849 " pid1=$GUESTFISH_PID\n"
15850 " eval `guestfish --listen`\n"
15851 " pid2=$GUESTFISH_PID\n"
15852 " ...\n"
15853 " guestfish --remote=$pid1 cmd\n"
15854 " guestfish --remote=$pid2 cmd\n"
15855 "\n"
15856 msgstr ""
15857
15858 # type: =head2
15859 #: ../fish/guestfish.pod:690
15860 msgid "REMOTE CONTROL DETAILS"
15861 msgstr ""
15862
15863 # type: textblock
15864 #: ../fish/guestfish.pod:692
15865 msgid ""
15866 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
15867 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
15868 "and C<$PID> is the process ID of the server."
15869 msgstr ""
15870
15871 # type: textblock
15872 #: ../fish/guestfish.pod:696
15873 msgid "Guestfish client and server versions must match exactly."
15874 msgstr ""
15875
15876 # type: =head1
15877 #: ../fish/guestfish.pod:698
15878 msgid "PREPARED DISK IMAGES"
15879 msgstr ""
15880
15881 # type: textblock
15882 #: ../fish/guestfish.pod:700
15883 msgid ""
15884 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
15885 "preformatted disk images that guestfish can make for you to save typing.  "
15886 "This is particularly useful for testing purposes.  This option is used "
15887 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
15888 "can be mixed with I<-a>)."
15889 msgstr ""
15890
15891 # type: textblock
15892 #: ../fish/guestfish.pod:706
15893 msgid ""
15894 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
15895 "the second and so on.  Existing files in the current directory are "
15896 "I<overwritten>."
15897 msgstr ""
15898
15899 # type: textblock
15900 #: ../fish/guestfish.pod:710
15901 msgid ""
15902 "The type briefly describes how the disk should be sized, partitioned, how "
15903 "filesystem(s) should be created, and how content should be added.  "
15904 "Optionally the type can be followed by extra parameters, separated by C<:> "
15905 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
15906 "allocated disk, containing a single partition, with the partition formatted "
15907 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
15908 "disk instead."
15909 msgstr ""
15910
15911 # type: textblock
15912 #: ../fish/guestfish.pod:718
15913 msgid "To list the available types and any extra parameters they take, run:"
15914 msgstr ""
15915
15916 # type: textblock
15917 #: ../fish/guestfish.pod:722
15918 msgid ""
15919 "Note that the prepared filesystem is not mounted.  You would usually have to "
15920 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
15921 msgstr ""
15922
15923 # type: textblock
15924 #: ../fish/guestfish.pod:726
15925 msgid ""
15926 "If any I<-N> or I<--new> options are given, the guest is automatically "
15927 "launched."
15928 msgstr ""
15929
15930 # type: textblock
15931 #: ../fish/guestfish.pod:731
15932 msgid "Create a 100MB disk with an ext4-formatted partition:"
15933 msgstr ""
15934
15935 # type: verbatim
15936 #: ../fish/guestfish.pod:733
15937 #, no-wrap
15938 msgid ""
15939 " guestfish -N fs:ext4\n"
15940 "\n"
15941 msgstr ""
15942
15943 # type: textblock
15944 #: ../fish/guestfish.pod:735
15945 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
15946 msgstr ""
15947
15948 # type: verbatim
15949 #: ../fish/guestfish.pod:737
15950 #, no-wrap
15951 msgid ""
15952 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
15953 "\n"
15954 msgstr ""
15955
15956 # type: textblock
15957 #: ../fish/guestfish.pod:739
15958 msgid "Create a blank 200MB disk:"
15959 msgstr ""
15960
15961 # type: verbatim
15962 #: ../fish/guestfish.pod:741
15963 #, no-wrap
15964 msgid ""
15965 " guestfish -N disk:200M\n"
15966 "\n"
15967 msgstr ""
15968
15969 # type: =head1
15970 #: ../fish/guestfish.pod:743
15971 msgid "PROGRESS BARS"
15972 msgstr ""
15973
15974 # type: textblock
15975 #: ../fish/guestfish.pod:745
15976 msgid ""
15977 "Some (not all) long-running commands send progress notification messages as "
15978 "they are running.  Guestfish turns these messages into progress bars."
15979 msgstr ""
15980
15981 # type: textblock
15982 #: ../fish/guestfish.pod:749
15983 msgid ""
15984 "When a command that supports progress bars takes longer than two seconds to "
15985 "run, and if progress bars are enabled, then you will see one appearing below "
15986 "the command:"
15987 msgstr ""
15988
15989 # type: verbatim
15990 #: ../fish/guestfish.pod:753
15991 #, no-wrap
15992 msgid ""
15993 " ><fs> copy-size /large-file /another-file 2048M\n"
15994 " / 10% [#####-----------------------------------------] 00:30\n"
15995 "\n"
15996 msgstr ""
15997
15998 # type: textblock
15999 #: ../fish/guestfish.pod:756
16000 msgid ""
16001 "The spinner on the left hand side moves round once for every progress "
16002 "notification received from the backend.  This is a (reasonably) golden "
16003 "assurance that the command is \"doing something\" even if the progress bar "
16004 "is not moving, because the command is able to send the progress "
16005 "notifications.  When the bar reaches 100% and the command finishes, the "
16006 "spinner disappears."
16007 msgstr ""
16008
16009 # type: textblock
16010 #: ../fish/guestfish.pod:763
16011 msgid ""
16012 "Progress bars are enabled by default when guestfish is used interactively.  "
16013 "You can enable them even for non-interactive modes using I<--progress-bars>, "
16014 "and you can disable them completely using I<--no-progress-bars>."
16015 msgstr ""
16016
16017 # type: =head1
16018 #: ../fish/guestfish.pod:768
16019 msgid "GUESTFISH COMMANDS"
16020 msgstr ""
16021
16022 # type: textblock
16023 #: ../fish/guestfish.pod:770
16024 msgid ""
16025 "The commands in this section are guestfish convenience commands, in other "
16026 "words, they are not part of the L<guestfs(3)> API."
16027 msgstr ""
16028
16029 # type: =head2
16030 #: ../fish/guestfish.pod:773
16031 msgid "alloc | allocate"
16032 msgstr ""
16033
16034 # type: verbatim
16035 #: ../fish/guestfish.pod:775
16036 #, no-wrap
16037 msgid ""
16038 " alloc filename size\n"
16039 "\n"
16040 msgstr ""
16041
16042 # type: textblock
16043 #: ../fish/guestfish.pod:777
16044 msgid ""
16045 "This creates an empty (zeroed) file of the given size, and then adds so it "
16046 "can be further examined."
16047 msgstr ""
16048
16049 # type: textblock
16050 #: ../fish/guestfish.pod:780 ../fish/guestfish.pod:875
16051 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
16052 msgstr ""
16053
16054 # type: textblock
16055 #: ../fish/guestfish.pod:782 ../fish/guestfish.pod:877
16056 msgid "Size can be specified using standard suffixes, eg. C<1M>."
16057 msgstr ""
16058
16059 # type: =head2
16060 #: ../fish/guestfish.pod:784
16061 msgid "echo"
16062 msgstr ""
16063
16064 # type: verbatim
16065 #: ../fish/guestfish.pod:786
16066 #, no-wrap
16067 msgid ""
16068 " echo [params ...]\n"
16069 "\n"
16070 msgstr ""
16071
16072 # type: textblock
16073 #: ../fish/guestfish.pod:788
16074 msgid "This echos the parameters to the terminal."
16075 msgstr ""
16076
16077 # type: =head2
16078 #: ../fish/guestfish.pod:790
16079 msgid "edit | vi | emacs"
16080 msgstr ""
16081
16082 # type: verbatim
16083 #: ../fish/guestfish.pod:792
16084 #, no-wrap
16085 msgid ""
16086 " edit filename\n"
16087 "\n"
16088 msgstr ""
16089
16090 # type: textblock
16091 #: ../fish/guestfish.pod:794
16092 msgid ""
16093 "This is used to edit a file.  It downloads the file, edits it locally using "
16094 "your editor, then uploads the result."
16095 msgstr ""
16096
16097 # type: textblock
16098 #: ../fish/guestfish.pod:797
16099 msgid ""
16100 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
16101 "or C<emacs> you will get those corresponding editors."
16102 msgstr ""
16103
16104 # type: textblock
16105 #: ../fish/guestfish.pod:801 ../fish/guestfish.pod:847
16106 msgid ""
16107 "NOTE: This will not work reliably for large files (> 2 MB) or binary files "
16108 "containing \\0 bytes."
16109 msgstr ""
16110
16111 # type: =head2
16112 #: ../fish/guestfish.pod:804
16113 msgid "glob"
16114 msgstr ""
16115
16116 # type: verbatim
16117 #: ../fish/guestfish.pod:806
16118 #, no-wrap
16119 msgid ""
16120 " glob command args...\n"
16121 "\n"
16122 msgstr ""
16123
16124 # type: textblock
16125 #: ../fish/guestfish.pod:808
16126 msgid ""
16127 "Expand wildcards in any paths in the args list, and run C<command> "
16128 "repeatedly on each matching path."
16129 msgstr ""
16130
16131 # type: textblock
16132 #: ../fish/guestfish.pod:811
16133 msgid "See section WILDCARDS AND GLOBBING."
16134 msgstr ""
16135
16136 # type: =head2
16137 #: ../fish/guestfish.pod:813
16138 msgid "help"
16139 msgstr ""
16140
16141 # type: verbatim
16142 #: ../fish/guestfish.pod:815
16143 #, no-wrap
16144 msgid ""
16145 " help\n"
16146 " help cmd\n"
16147 "\n"
16148 msgstr ""
16149
16150 # type: textblock
16151 #: ../fish/guestfish.pod:818
16152 msgid ""
16153 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16154 "this displays detailed help for a command."
16155 msgstr ""
16156
16157 # type: =head2
16158 #: ../fish/guestfish.pod:821
16159 msgid "lcd"
16160 msgstr ""
16161
16162 # type: verbatim
16163 #: ../fish/guestfish.pod:823
16164 #, no-wrap
16165 msgid ""
16166 " lcd directory\n"
16167 "\n"
16168 msgstr ""
16169
16170 # type: textblock
16171 #: ../fish/guestfish.pod:825
16172 msgid ""
16173 "Change the local directory, ie. the current directory of guestfish itself."
16174 msgstr ""
16175
16176 # type: textblock
16177 #: ../fish/guestfish.pod:828
16178 msgid "Note that C<!cd> won't do what you might expect."
16179 msgstr ""
16180
16181 # type: =head2
16182 #: ../fish/guestfish.pod:830
16183 msgid "man | manual"
16184 msgstr ""
16185
16186 # type: verbatim
16187 #: ../fish/guestfish.pod:832
16188 #, no-wrap
16189 msgid ""
16190 " man\n"
16191 "\n"
16192 msgstr ""
16193
16194 # type: textblock
16195 #: ../fish/guestfish.pod:834
16196 msgid "Opens the manual page for guestfish."
16197 msgstr ""
16198
16199 # type: =head2
16200 #: ../fish/guestfish.pod:836
16201 msgid "more | less"
16202 msgstr ""
16203
16204 # type: verbatim
16205 #: ../fish/guestfish.pod:838
16206 #, no-wrap
16207 msgid ""
16208 " more filename\n"
16209 "\n"
16210 msgstr ""
16211
16212 # type: verbatim
16213 #: ../fish/guestfish.pod:840
16214 #, no-wrap
16215 msgid ""
16216 " less filename\n"
16217 "\n"
16218 msgstr ""
16219
16220 # type: textblock
16221 #: ../fish/guestfish.pod:842
16222 msgid "This is used to view a file."
16223 msgstr ""
16224
16225 # type: textblock
16226 #: ../fish/guestfish.pod:844
16227 msgid ""
16228 "The default viewer is C<$PAGER>.  However if you use the alternate command "
16229 "C<less> you will get the C<less> command specifically."
16230 msgstr ""
16231
16232 # type: =head2
16233 #: ../fish/guestfish.pod:850
16234 msgid "quit | exit"
16235 msgstr ""
16236
16237 # type: textblock
16238 #: ../fish/guestfish.pod:852
16239 msgid "This exits guestfish.  You can also use C<^D> key."
16240 msgstr ""
16241
16242 # type: =head2
16243 #: ../fish/guestfish.pod:854
16244 msgid "reopen"
16245 msgstr ""
16246
16247 # type: verbatim
16248 #: ../fish/guestfish.pod:856
16249 #, no-wrap
16250 msgid ""
16251 " reopen\n"
16252 "\n"
16253 msgstr ""
16254
16255 # type: textblock
16256 #: ../fish/guestfish.pod:858
16257 msgid ""
16258 "Close and reopen the libguestfs handle.  It is not necessary to use this "
16259 "normally, because the handle is closed properly when guestfish exits.  "
16260 "However this is occasionally useful for testing."
16261 msgstr ""
16262
16263 # type: =head2
16264 #: ../fish/guestfish.pod:862
16265 msgid "sparse"
16266 msgstr ""
16267
16268 # type: verbatim
16269 #: ../fish/guestfish.pod:864
16270 #, no-wrap
16271 msgid ""
16272 " sparse filename size\n"
16273 "\n"
16274 msgstr ""
16275
16276 # type: textblock
16277 #: ../fish/guestfish.pod:866
16278 msgid ""
16279 "This creates an empty sparse file of the given size, and then adds so it can "
16280 "be further examined."
16281 msgstr ""
16282
16283 # type: textblock
16284 #: ../fish/guestfish.pod:869
16285 msgid ""
16286 "In all respects it works the same as the C<alloc> command, except that the "
16287 "image file is allocated sparsely, which means that disk blocks are not "
16288 "assigned to the file until they are needed.  Sparse disk files only use "
16289 "space when written to, but they are slower and there is a danger you could "
16290 "run out of real disk space during a write operation."
16291 msgstr ""
16292
16293 # type: =head2
16294 #: ../fish/guestfish.pod:879
16295 msgid "supported"
16296 msgstr ""
16297
16298 # type: verbatim
16299 #: ../fish/guestfish.pod:881
16300 #, no-wrap
16301 msgid ""
16302 " supported\n"
16303 "\n"
16304 msgstr ""
16305
16306 # type: textblock
16307 #: ../fish/guestfish.pod:883
16308 msgid ""
16309 "This command returns a list of the optional groups known to the daemon, and "
16310 "indicates which ones are supported by this build of the libguestfs appliance."
16311 msgstr ""
16312
16313 # type: textblock
16314 #: ../fish/guestfish.pod:887
16315 msgid "See also L<guestfs(3)/AVAILABILITY>."
16316 msgstr ""
16317
16318 # type: =head2
16319 #: ../fish/guestfish.pod:889
16320 msgid "time"
16321 msgstr ""
16322
16323 # type: verbatim
16324 #: ../fish/guestfish.pod:891
16325 #, no-wrap
16326 msgid ""
16327 " time command args...\n"
16328 "\n"
16329 msgstr ""
16330
16331 # type: textblock
16332 #: ../fish/guestfish.pod:893
16333 msgid ""
16334 "Run the command as usual, but print the elapsed time afterwards.  This can "
16335 "be useful for benchmarking operations."
16336 msgstr ""
16337
16338 # type: =head1
16339 #: ../fish/guestfish.pod:896
16340 msgid "COMMANDS"
16341 msgstr ""
16342
16343 # type: =head1
16344 #: ../fish/guestfish.pod:900 ../test-tool/libguestfs-test-tool.pod:83
16345 msgid "EXIT CODE"
16346 msgstr ""
16347
16348 # type: textblock
16349 #: ../fish/guestfish.pod:902
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:909
16357 msgid "EDITOR"
16358 msgstr ""
16359
16360 # type: textblock
16361 #: ../fish/guestfish.pod:911
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:914
16369 msgid "GUESTFISH_PID"
16370 msgstr ""
16371
16372 # type: textblock
16373 #: ../fish/guestfish.pod:916
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:920
16381 msgid "HOME"
16382 msgstr ""
16383
16384 # type: textblock
16385 #: ../fish/guestfish.pod:922
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:931
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:943
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:954
16407 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16408 msgstr ""
16409
16410 # type: =item
16411 #: ../fish/guestfish.pod:956
16412 msgid "PAGER"
16413 msgstr ""
16414
16415 # type: textblock
16416 #: ../fish/guestfish.pod:958
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:973 ../test-tool/libguestfs-test-tool.pod:88
16424 msgid "FILES"
16425 msgstr ""
16426
16427 # type: =item
16428 #: ../fish/guestfish.pod:977
16429 msgid "$HOME/.guestfish"
16430 msgstr ""
16431
16432 # type: textblock
16433 #: ../fish/guestfish.pod:979
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:982
16441 msgid "$HOME/.inputrc"
16442 msgstr ""
16443
16444 # type: =item
16445 #: ../fish/guestfish.pod:984
16446 msgid "/etc/inputrc"
16447 msgstr ""
16448
16449 # type: textblock
16450 #: ../fish/guestfish.pod:986
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:990
16459 msgid "To write rules which only apply to guestfish, use:"
16460 msgstr ""
16461
16462 # type: verbatim
16463 #: ../fish/guestfish.pod:992
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:996
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:1001
16481 msgid "completion-ignore-case (default: on)"
16482 msgstr ""
16483
16484 # type: textblock
16485 #: ../fish/guestfish.pod:1003
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:1006
16493 #, no-wrap
16494 msgid ""
16495 " set completion-ignore-case off\n"
16496 "\n"
16497 msgstr ""
16498
16499 # type: textblock
16500 #: ../fish/guestfish.pod:1008
16501 msgid "to make guestfish case sensitive."
16502 msgstr ""
16503
16504 # type: =item
16505 #: ../fish/guestfish.pod:1012
16506 msgid "test1.img"
16507 msgstr ""
16508
16509 # type: =item
16510 #: ../fish/guestfish.pod:1014
16511 msgid "test2.img (etc)"
16512 msgstr ""
16513
16514 # type: textblock
16515 #: ../fish/guestfish.pod:1016
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:1025
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:1048 ../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:1053 ../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:1058 ../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 C<config> call instead."
16595 msgstr ""
16596
16597 # type: textblock
16598 #: ../fish/guestfish-actions.pod:22
16599 msgid ""
16600 "If you just want to add an ISO file (often you use this as an efficient way "
16601 "to transfer large files into the guest), then you should probably use C<add-"
16602 "drive-ro> instead."
16603 msgstr ""
16604
16605 # type: =head2
16606 #: ../fish/guestfish-actions.pod:28
16607 msgid "add-drive | add"
16608 msgstr ""
16609
16610 # type: verbatim
16611 #: ../fish/guestfish-actions.pod:30
16612 #, no-wrap
16613 msgid ""
16614 " add-drive filename\n"
16615 "\n"
16616 msgstr ""
16617
16618 # type: textblock
16619 #: ../fish/guestfish-actions.pod:49 ../fish/guestfish-actions.pod:75
16620 msgid ""
16621 "C<if=...> is set at compile time by the configuration option C<./configure --"
16622 "with-drive-if=...>.  In the rare case where you might need to change this at "
16623 "run time, use C<add-drive-with-if> or C<add-drive-ro-with-if>."
16624 msgstr ""
16625
16626 # type: textblock
16627 #: ../fish/guestfish-actions.pod:54 ../fish/guestfish-actions.pod:80
16628 msgid ""
16629 "Note that this call checks for the existence of C<filename>.  This stops you "
16630 "from specifying other types of drive which are supported by qemu such as "
16631 "C<nbd:> and C<http:> URLs.  To specify those, use the general C<config> call "
16632 "instead."
16633 msgstr ""
16634
16635 # type: =head2
16636 #: ../fish/guestfish-actions.pod:59
16637 msgid "add-drive-ro | add-ro"
16638 msgstr ""
16639
16640 # type: verbatim
16641 #: ../fish/guestfish-actions.pod:61
16642 #, no-wrap
16643 msgid ""
16644 " add-drive-ro filename\n"
16645 "\n"
16646 msgstr ""
16647
16648 # type: =head2
16649 #: ../fish/guestfish-actions.pod:85
16650 msgid "add-drive-ro-with-if"
16651 msgstr ""
16652
16653 # type: verbatim
16654 #: ../fish/guestfish-actions.pod:87
16655 #, no-wrap
16656 msgid ""
16657 " add-drive-ro-with-if filename iface\n"
16658 "\n"
16659 msgstr ""
16660
16661 # type: textblock
16662 #: ../fish/guestfish-actions.pod:89
16663 msgid ""
16664 "This is the same as C<add-drive-ro> but it allows you to specify the QEMU "
16665 "interface emulation to use at run time."
16666 msgstr ""
16667
16668 # type: =head2
16669 #: ../fish/guestfish-actions.pod:92
16670 msgid "add-drive-with-if"
16671 msgstr ""
16672
16673 # type: verbatim
16674 #: ../fish/guestfish-actions.pod:94
16675 #, no-wrap
16676 msgid ""
16677 " add-drive-with-if filename iface\n"
16678 "\n"
16679 msgstr ""
16680
16681 # type: textblock
16682 #: ../fish/guestfish-actions.pod:96
16683 msgid ""
16684 "This is the same as C<add-drive> but it allows you to specify the QEMU "
16685 "interface emulation to use at run time."
16686 msgstr ""
16687
16688 # type: =head2
16689 #: ../fish/guestfish-actions.pod:99
16690 msgid "aug-clear"
16691 msgstr ""
16692
16693 # type: verbatim
16694 #: ../fish/guestfish-actions.pod:101
16695 #, no-wrap
16696 msgid ""
16697 " aug-clear augpath\n"
16698 "\n"
16699 msgstr ""
16700
16701 # type: =head2
16702 #: ../fish/guestfish-actions.pod:106
16703 msgid "aug-close"
16704 msgstr ""
16705
16706 # type: verbatim
16707 #: ../fish/guestfish-actions.pod:108
16708 #, no-wrap
16709 msgid ""
16710 " aug-close\n"
16711 "\n"
16712 msgstr ""
16713
16714 # type: textblock
16715 #: ../fish/guestfish-actions.pod:110
16716 msgid ""
16717 "Close the current Augeas handle and free up any resources used by it.  After "
16718 "calling this, you have to call C<aug-init> again before you can use any "
16719 "other Augeas functions."
16720 msgstr ""
16721
16722 # type: =head2
16723 #: ../fish/guestfish-actions.pod:115
16724 msgid "aug-defnode"
16725 msgstr ""
16726
16727 # type: verbatim
16728 #: ../fish/guestfish-actions.pod:117
16729 #, no-wrap
16730 msgid ""
16731 " aug-defnode name expr val\n"
16732 "\n"
16733 msgstr ""
16734
16735 # type: textblock
16736 #: ../fish/guestfish-actions.pod:122
16737 msgid ""
16738 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
16739 "calling C<aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
16740 "containing that single node."
16741 msgstr ""
16742
16743 # type: =head2
16744 #: ../fish/guestfish-actions.pod:130
16745 msgid "aug-defvar"
16746 msgstr ""
16747
16748 # type: verbatim
16749 #: ../fish/guestfish-actions.pod:132
16750 #, no-wrap
16751 msgid ""
16752 " aug-defvar name expr\n"
16753 "\n"
16754 msgstr ""
16755
16756 # type: =head2
16757 #: ../fish/guestfish-actions.pod:141
16758 msgid "aug-get"
16759 msgstr ""
16760
16761 # type: verbatim
16762 #: ../fish/guestfish-actions.pod:143
16763 #, no-wrap
16764 msgid ""
16765 " aug-get augpath\n"
16766 "\n"
16767 msgstr ""
16768
16769 # type: =head2
16770 #: ../fish/guestfish-actions.pod:148
16771 msgid "aug-init"
16772 msgstr ""
16773
16774 # type: verbatim
16775 #: ../fish/guestfish-actions.pod:150
16776 #, no-wrap
16777 msgid ""
16778 " aug-init root flags\n"
16779 "\n"
16780 msgstr ""
16781
16782 # type: textblock
16783 #: ../fish/guestfish-actions.pod:156
16784 msgid "You must call this before using any other C<aug-*> commands."
16785 msgstr ""
16786
16787 # type: textblock
16788 #: ../fish/guestfish-actions.pod:191
16789 msgid "Do not load the tree in C<aug-init>."
16790 msgstr ""
16791
16792 # type: textblock
16793 #: ../fish/guestfish-actions.pod:195
16794 msgid "To close the handle, you can call C<aug-close>."
16795 msgstr ""
16796
16797 # type: =head2
16798 #: ../fish/guestfish-actions.pod:199
16799 msgid "aug-insert"
16800 msgstr ""
16801
16802 # type: verbatim
16803 #: ../fish/guestfish-actions.pod:201
16804 #, no-wrap
16805 msgid ""
16806 " aug-insert augpath label true|false\n"
16807 "\n"
16808 msgstr ""
16809
16810 # type: =head2
16811 #: ../fish/guestfish-actions.pod:211
16812 msgid "aug-load"
16813 msgstr ""
16814
16815 # type: verbatim
16816 #: ../fish/guestfish-actions.pod:213
16817 #, no-wrap
16818 msgid ""
16819 " aug-load\n"
16820 "\n"
16821 msgstr ""
16822
16823 # type: =head2
16824 #: ../fish/guestfish-actions.pod:220
16825 msgid "aug-ls"
16826 msgstr ""
16827
16828 # type: verbatim
16829 #: ../fish/guestfish-actions.pod:222
16830 #, no-wrap
16831 msgid ""
16832 " aug-ls augpath\n"
16833 "\n"
16834 msgstr ""
16835
16836 # type: textblock
16837 #: ../fish/guestfish-actions.pod:224
16838 msgid ""
16839 "This is just a shortcut for listing C<aug-match> C<path/*> and sorting the "
16840 "resulting nodes into alphabetical order."
16841 msgstr ""
16842
16843 # type: =head2
16844 #: ../fish/guestfish-actions.pod:227
16845 msgid "aug-match"
16846 msgstr ""
16847
16848 # type: verbatim
16849 #: ../fish/guestfish-actions.pod:229
16850 #, no-wrap
16851 msgid ""
16852 " aug-match augpath\n"
16853 "\n"
16854 msgstr ""
16855
16856 # type: =head2
16857 #: ../fish/guestfish-actions.pod:235
16858 msgid "aug-mv"
16859 msgstr ""
16860
16861 # type: verbatim
16862 #: ../fish/guestfish-actions.pod:237
16863 #, no-wrap
16864 msgid ""
16865 " aug-mv src dest\n"
16866 "\n"
16867 msgstr ""
16868
16869 # type: =head2
16870 #: ../fish/guestfish-actions.pod:242
16871 msgid "aug-rm"
16872 msgstr ""
16873
16874 # type: verbatim
16875 #: ../fish/guestfish-actions.pod:244
16876 #, no-wrap
16877 msgid ""
16878 " aug-rm augpath\n"
16879 "\n"
16880 msgstr ""
16881
16882 # type: =head2
16883 #: ../fish/guestfish-actions.pod:250
16884 msgid "aug-save"
16885 msgstr ""
16886
16887 # type: verbatim
16888 #: ../fish/guestfish-actions.pod:252
16889 #, no-wrap
16890 msgid ""
16891 " aug-save\n"
16892 "\n"
16893 msgstr ""
16894
16895 # type: textblock
16896 #: ../fish/guestfish-actions.pod:256
16897 msgid ""
16898 "The flags which were passed to C<aug-init> affect exactly how files are "
16899 "saved."
16900 msgstr ""
16901
16902 # type: =head2
16903 #: ../fish/guestfish-actions.pod:259
16904 msgid "aug-set"
16905 msgstr ""
16906
16907 # type: verbatim
16908 #: ../fish/guestfish-actions.pod:261
16909 #, no-wrap
16910 msgid ""
16911 " aug-set augpath val\n"
16912 "\n"
16913 msgstr ""
16914
16915 # type: textblock
16916 #: ../fish/guestfish-actions.pod:265
16917 msgid ""
16918 "In the Augeas API, it is possible to clear a node by setting the value to "
16919 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
16920 "this call.  Instead you must use the C<aug-clear> call."
16921 msgstr ""
16922
16923 # type: =head2
16924 #: ../fish/guestfish-actions.pod:270
16925 msgid "available"
16926 msgstr ""
16927
16928 # type: verbatim
16929 #: ../fish/guestfish-actions.pod:272
16930 #, no-wrap
16931 msgid ""
16932 " available 'groups ...'\n"
16933 "\n"
16934 msgstr ""
16935
16936 # type: textblock
16937 #: ../fish/guestfish-actions.pod:278
16938 msgid ""
16939 "The libguestfs groups, and the functions that those groups correspond to, "
16940 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
16941 "runtime by calling C<available-all-groups>."
16942 msgstr ""
16943
16944 # type: textblock
16945 #: ../fish/guestfish-actions.pod:302
16946 msgid "You must call C<launch> before calling this function."
16947 msgstr ""
16948
16949 # type: textblock
16950 #: ../fish/guestfish-actions.pod:324
16951 msgid ""
16952 "This call was added in version C<1.0.80>.  In previous versions of "
16953 "libguestfs all you could do would be to speculatively execute a command to "
16954 "find out if the daemon implemented it.  See also C<version>."
16955 msgstr ""
16956
16957 # type: =head2
16958 #: ../fish/guestfish-actions.pod:331
16959 msgid "available-all-groups"
16960 msgstr ""
16961
16962 # type: verbatim
16963 #: ../fish/guestfish-actions.pod:333
16964 #, no-wrap
16965 msgid ""
16966 " available-all-groups\n"
16967 "\n"
16968 msgstr ""
16969
16970 # type: textblock
16971 #: ../fish/guestfish-actions.pod:335
16972 msgid ""
16973 "This command returns a list of all optional groups that this daemon knows "
16974 "about.  Note this returns both supported and unsupported groups.  To find "
16975 "out which ones the daemon can actually support you have to call C<available> "
16976 "on each member of the returned list."
16977 msgstr ""
16978
16979 # type: textblock
16980 #: ../fish/guestfish-actions.pod:341
16981 msgid "See also C<available> and L<guestfs(3)/AVAILABILITY>."
16982 msgstr ""
16983
16984 # type: =head2
16985 #: ../fish/guestfish-actions.pod:343
16986 msgid "base64-in"
16987 msgstr ""
16988
16989 # type: verbatim
16990 #: ../fish/guestfish-actions.pod:345
16991 #, no-wrap
16992 msgid ""
16993 " base64-in (base64file|-) filename\n"
16994 "\n"
16995 msgstr ""
16996
16997 # type: textblock
16998 #: ../fish/guestfish-actions.pod:350 ../fish/guestfish-actions.pod:359
16999 #: ../fish/guestfish-actions.pod:583 ../fish/guestfish-actions.pod:730
17000 #: ../fish/guestfish-actions.pod:777 ../fish/guestfish-actions.pod:1154
17001 #: ../fish/guestfish-actions.pod:3657 ../fish/guestfish-actions.pod:3669
17002 #: ../fish/guestfish-actions.pod:3680 ../fish/guestfish-actions.pod:3691
17003 #: ../fish/guestfish-actions.pod:3743 ../fish/guestfish-actions.pod:3752
17004 #: ../fish/guestfish-actions.pod:3802
17005 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
17006 msgstr ""
17007
17008 # type: =head2
17009 #: ../fish/guestfish-actions.pod:352
17010 msgid "base64-out"
17011 msgstr ""
17012
17013 # type: verbatim
17014 #: ../fish/guestfish-actions.pod:354
17015 #, no-wrap
17016 msgid ""
17017 " base64-out filename (base64file|-)\n"
17018 "\n"
17019 msgstr ""
17020
17021 # type: =head2
17022 #: ../fish/guestfish-actions.pod:361
17023 msgid "blockdev-flushbufs"
17024 msgstr ""
17025
17026 # type: verbatim
17027 #: ../fish/guestfish-actions.pod:363
17028 #, no-wrap
17029 msgid ""
17030 " blockdev-flushbufs device\n"
17031 "\n"
17032 msgstr ""
17033
17034 # type: =head2
17035 #: ../fish/guestfish-actions.pod:370
17036 msgid "blockdev-getbsz"
17037 msgstr ""
17038
17039 # type: verbatim
17040 #: ../fish/guestfish-actions.pod:372
17041 #, no-wrap
17042 msgid ""
17043 " blockdev-getbsz device\n"
17044 "\n"
17045 msgstr ""
17046
17047 # type: =head2
17048 #: ../fish/guestfish-actions.pod:381
17049 msgid "blockdev-getro"
17050 msgstr ""
17051
17052 # type: verbatim
17053 #: ../fish/guestfish-actions.pod:383
17054 #, no-wrap
17055 msgid ""
17056 " blockdev-getro device\n"
17057 "\n"
17058 msgstr ""
17059
17060 # type: =head2
17061 #: ../fish/guestfish-actions.pod:390
17062 msgid "blockdev-getsize64"
17063 msgstr ""
17064
17065 # type: verbatim
17066 #: ../fish/guestfish-actions.pod:392
17067 #, no-wrap
17068 msgid ""
17069 " blockdev-getsize64 device\n"
17070 "\n"
17071 msgstr ""
17072
17073 # type: textblock
17074 #: ../fish/guestfish-actions.pod:396
17075 msgid "See also C<blockdev-getsz>."
17076 msgstr ""
17077
17078 # type: =head2
17079 #: ../fish/guestfish-actions.pod:400
17080 msgid "blockdev-getss"
17081 msgstr ""
17082
17083 # type: verbatim
17084 #: ../fish/guestfish-actions.pod:402
17085 #, no-wrap
17086 msgid ""
17087 " blockdev-getss device\n"
17088 "\n"
17089 msgstr ""
17090
17091 # type: textblock
17092 #: ../fish/guestfish-actions.pod:407
17093 msgid ""
17094 "(Note, this is not the size in sectors, use C<blockdev-getsz> for that)."
17095 msgstr ""
17096
17097 # type: =head2
17098 #: ../fish/guestfish-actions.pod:412
17099 msgid "blockdev-getsz"
17100 msgstr ""
17101
17102 # type: verbatim
17103 #: ../fish/guestfish-actions.pod:414
17104 #, no-wrap
17105 msgid ""
17106 " blockdev-getsz device\n"
17107 "\n"
17108 msgstr ""
17109
17110 # type: textblock
17111 #: ../fish/guestfish-actions.pod:419
17112 msgid ""
17113 "See also C<blockdev-getss> for the real sector size of the device, and "
17114 "C<blockdev-getsize64> for the more useful I<size in bytes>."
17115 msgstr ""
17116
17117 # type: =head2
17118 #: ../fish/guestfish-actions.pod:425
17119 msgid "blockdev-rereadpt"
17120 msgstr ""
17121
17122 # type: verbatim
17123 #: ../fish/guestfish-actions.pod:427
17124 #, no-wrap
17125 msgid ""
17126 " blockdev-rereadpt device\n"
17127 "\n"
17128 msgstr ""
17129
17130 # type: =head2
17131 #: ../fish/guestfish-actions.pod:433
17132 msgid "blockdev-setbsz"
17133 msgstr ""
17134
17135 # type: verbatim
17136 #: ../fish/guestfish-actions.pod:435
17137 #, no-wrap
17138 msgid ""
17139 " blockdev-setbsz device blocksize\n"
17140 "\n"
17141 msgstr ""
17142
17143 # type: =head2
17144 #: ../fish/guestfish-actions.pod:444
17145 msgid "blockdev-setro"
17146 msgstr ""
17147
17148 # type: verbatim
17149 #: ../fish/guestfish-actions.pod:446
17150 #, no-wrap
17151 msgid ""
17152 " blockdev-setro device\n"
17153 "\n"
17154 msgstr ""
17155
17156 # type: =head2
17157 #: ../fish/guestfish-actions.pod:452
17158 msgid "blockdev-setrw"
17159 msgstr ""
17160
17161 # type: verbatim
17162 #: ../fish/guestfish-actions.pod:454
17163 #, no-wrap
17164 msgid ""
17165 " blockdev-setrw device\n"
17166 "\n"
17167 msgstr ""
17168
17169 # type: =head2
17170 #: ../fish/guestfish-actions.pod:460
17171 msgid "case-sensitive-path"
17172 msgstr ""
17173
17174 # type: verbatim
17175 #: ../fish/guestfish-actions.pod:462
17176 #, no-wrap
17177 msgid ""
17178 " case-sensitive-path path\n"
17179 "\n"
17180 msgstr ""
17181
17182 # type: textblock
17183 #: ../fish/guestfish-actions.pod:486
17184 msgid ""
17185 "Thus C<case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
17186 "WINDOWS/system32\"> (the exact return value would depend on details of how "
17187 "the directories were originally created under Windows)."
17188 msgstr ""
17189
17190 # type: textblock
17191 #: ../fish/guestfish-actions.pod:494
17192 msgid "See also C<realpath>."
17193 msgstr ""
17194
17195 # type: =head2
17196 #: ../fish/guestfish-actions.pod:496
17197 msgid "cat"
17198 msgstr ""
17199
17200 # type: verbatim
17201 #: ../fish/guestfish-actions.pod:498
17202 #, no-wrap
17203 msgid ""
17204 " cat path\n"
17205 "\n"
17206 msgstr ""
17207
17208 # type: textblock
17209 #: ../fish/guestfish-actions.pod:502
17210 msgid ""
17211 "Note that this function cannot correctly handle binary files (specifically, "
17212 "files containing C<\\0> character which is treated as end of string).  For "
17213 "those you need to use the C<read-file> or C<download> functions which have a "
17214 "more complex interface."
17215 msgstr ""
17216
17217 # type: =head2
17218 #: ../fish/guestfish-actions.pod:510
17219 msgid "checksum"
17220 msgstr ""
17221
17222 # type: verbatim
17223 #: ../fish/guestfish-actions.pod:512
17224 #, no-wrap
17225 msgid ""
17226 " checksum csumtype path\n"
17227 "\n"
17228 msgstr ""
17229
17230 # type: textblock
17231 #: ../fish/guestfish-actions.pod:555
17232 msgid "To get the checksum for a device, use C<checksum-device>."
17233 msgstr ""
17234
17235 # type: textblock
17236 #: ../fish/guestfish-actions.pod:557
17237 msgid "To get the checksums for many files, use C<checksums-out>."
17238 msgstr ""
17239
17240 # type: =head2
17241 #: ../fish/guestfish-actions.pod:559
17242 msgid "checksum-device"
17243 msgstr ""
17244
17245 # type: verbatim
17246 #: ../fish/guestfish-actions.pod:561
17247 #, no-wrap
17248 msgid ""
17249 " checksum-device csumtype device\n"
17250 "\n"
17251 msgstr ""
17252
17253 # type: textblock
17254 #: ../fish/guestfish-actions.pod:563
17255 msgid ""
17256 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17257 "device named C<device>.  For the types of checksums supported see the "
17258 "C<checksum> command."
17259 msgstr ""
17260
17261 # type: =head2
17262 #: ../fish/guestfish-actions.pod:567
17263 msgid "checksums-out"
17264 msgstr ""
17265
17266 # type: verbatim
17267 #: ../fish/guestfish-actions.pod:569
17268 #, no-wrap
17269 msgid ""
17270 " checksums-out csumtype directory (sumsfile|-)\n"
17271 "\n"
17272 msgstr ""
17273
17274 # type: =head2
17275 #: ../fish/guestfish-actions.pod:585
17276 msgid "chmod"
17277 msgstr ""
17278
17279 # type: verbatim
17280 #: ../fish/guestfish-actions.pod:587
17281 #, no-wrap
17282 msgid ""
17283 " chmod mode path\n"
17284 "\n"
17285 msgstr ""
17286
17287 # type: =head2
17288 #: ../fish/guestfish-actions.pod:598
17289 msgid "chown"
17290 msgstr ""
17291
17292 # type: verbatim
17293 #: ../fish/guestfish-actions.pod:600
17294 #, no-wrap
17295 msgid ""
17296 " chown owner group path\n"
17297 "\n"
17298 msgstr ""
17299
17300 # type: =head2
17301 #: ../fish/guestfish-actions.pod:608
17302 msgid "command"
17303 msgstr ""
17304
17305 # type: verbatim
17306 #: ../fish/guestfish-actions.pod:610
17307 #, no-wrap
17308 msgid ""
17309 " command 'arguments ...'\n"
17310 "\n"
17311 msgstr ""
17312
17313 # type: textblock
17314 #: ../fish/guestfish-actions.pod:617
17315 msgid ""
17316 "The single parameter is an argv-style list of arguments.  The first element "
17317 "is the name of the program to run.  Subsequent elements are parameters.  The "
17318 "list must be non-empty (ie. must contain a program name).  Note that the "
17319 "command runs directly, and is I<not> invoked via the shell (see C<sh>)."
17320 msgstr ""
17321
17322 # type: =head2
17323 #: ../fish/guestfish-actions.pod:645
17324 msgid "command-lines"
17325 msgstr ""
17326
17327 # type: verbatim
17328 #: ../fish/guestfish-actions.pod:647
17329 #, no-wrap
17330 msgid ""
17331 " command-lines 'arguments ...'\n"
17332 "\n"
17333 msgstr ""
17334
17335 # type: textblock
17336 #: ../fish/guestfish-actions.pod:649
17337 msgid ""
17338 "This is the same as C<command>, but splits the result into a list of lines."
17339 msgstr ""
17340
17341 # type: textblock
17342 #: ../fish/guestfish-actions.pod:652
17343 msgid "See also: C<sh-lines>"
17344 msgstr ""
17345
17346 # type: =head2
17347 #: ../fish/guestfish-actions.pod:657
17348 msgid "config"
17349 msgstr ""
17350
17351 # type: verbatim
17352 #: ../fish/guestfish-actions.pod:659
17353 #, no-wrap
17354 msgid ""
17355 " config qemuparam qemuvalue\n"
17356 "\n"
17357 msgstr ""
17358
17359 # type: =head2
17360 #: ../fish/guestfish-actions.pod:670
17361 msgid "copy-size"
17362 msgstr ""
17363
17364 # type: verbatim
17365 #: ../fish/guestfish-actions.pod:672
17366 #, no-wrap
17367 msgid ""
17368 " copy-size src dest size\n"
17369 "\n"
17370 msgstr ""
17371
17372 # type: =head2
17373 #: ../fish/guestfish-actions.pod:680
17374 msgid "cp"
17375 msgstr ""
17376
17377 # type: verbatim
17378 #: ../fish/guestfish-actions.pod:682
17379 #, no-wrap
17380 msgid ""
17381 " cp src dest\n"
17382 "\n"
17383 msgstr ""
17384
17385 # type: =head2
17386 #: ../fish/guestfish-actions.pod:687
17387 msgid "cp-a"
17388 msgstr ""
17389
17390 # type: verbatim
17391 #: ../fish/guestfish-actions.pod:689
17392 #, no-wrap
17393 msgid ""
17394 " cp-a src dest\n"
17395 "\n"
17396 msgstr ""
17397
17398 # type: =head2
17399 #: ../fish/guestfish-actions.pod:694
17400 msgid "dd"
17401 msgstr ""
17402
17403 # type: verbatim
17404 #: ../fish/guestfish-actions.pod:696
17405 #, no-wrap
17406 msgid ""
17407 " dd src dest\n"
17408 "\n"
17409 msgstr ""
17410
17411 # type: textblock
17412 #: ../fish/guestfish-actions.pod:703
17413 msgid ""
17414 "If the destination is a device, it must be as large or larger than the "
17415 "source file or device, otherwise the copy will fail.  This command cannot do "
17416 "partial copies (see C<copy-size>)."
17417 msgstr ""
17418
17419 # type: =head2
17420 #: ../fish/guestfish-actions.pod:707
17421 msgid "debug"
17422 msgstr ""
17423
17424 # type: verbatim
17425 #: ../fish/guestfish-actions.pod:709
17426 #, no-wrap
17427 msgid ""
17428 " debug subcmd 'extraargs ...'\n"
17429 "\n"
17430 msgstr ""
17431
17432 # type: textblock
17433 #: ../fish/guestfish-actions.pod:711
17434 msgid ""
17435 "The C<debug> command exposes some internals of C<guestfsd> (the guestfs "
17436 "daemon) that runs inside the qemu subprocess."
17437 msgstr ""
17438
17439 # type: =head2
17440 #: ../fish/guestfish-actions.pod:719
17441 msgid "debug-upload"
17442 msgstr ""
17443
17444 # type: verbatim
17445 #: ../fish/guestfish-actions.pod:721
17446 #, no-wrap
17447 msgid ""
17448 " debug-upload (filename|-) tmpname mode\n"
17449 "\n"
17450 msgstr ""
17451
17452 # type: textblock
17453 #: ../fish/guestfish-actions.pod:723
17454 msgid "The C<debug-upload> command uploads a file to the libguestfs appliance."
17455 msgstr ""
17456
17457 # type: =head2
17458 #: ../fish/guestfish-actions.pod:732
17459 msgid "df"
17460 msgstr ""
17461
17462 # type: verbatim
17463 #: ../fish/guestfish-actions.pod:734
17464 #, no-wrap
17465 msgid ""
17466 " df\n"
17467 "\n"
17468 msgstr ""
17469
17470 # type: =head2
17471 #: ../fish/guestfish-actions.pod:742
17472 msgid "df-h"
17473 msgstr ""
17474
17475 # type: verbatim
17476 #: ../fish/guestfish-actions.pod:744
17477 #, no-wrap
17478 msgid ""
17479 " df-h\n"
17480 "\n"
17481 msgstr ""
17482
17483 # type: =head2
17484 #: ../fish/guestfish-actions.pod:753
17485 msgid "dmesg"
17486 msgstr ""
17487
17488 # type: verbatim
17489 #: ../fish/guestfish-actions.pod:755
17490 #, no-wrap
17491 msgid ""
17492 " dmesg\n"
17493 "\n"
17494 msgstr ""
17495
17496 # type: textblock
17497 #: ../fish/guestfish-actions.pod:761
17498 msgid ""
17499 "Another way to get the same information is to enable verbose messages with "
17500 "C<set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17501 "before running the program."
17502 msgstr ""
17503
17504 # type: =head2
17505 #: ../fish/guestfish-actions.pod:766
17506 msgid "download"
17507 msgstr ""
17508
17509 # type: verbatim
17510 #: ../fish/guestfish-actions.pod:768
17511 #, no-wrap
17512 msgid ""
17513 " download remotefilename (filename|-)\n"
17514 "\n"
17515 msgstr ""
17516
17517 # type: textblock
17518 #: ../fish/guestfish-actions.pod:775
17519 msgid "See also C<upload>, C<cat>."
17520 msgstr ""
17521
17522 # type: =head2
17523 #: ../fish/guestfish-actions.pod:779
17524 msgid "drop-caches"
17525 msgstr ""
17526
17527 # type: verbatim
17528 #: ../fish/guestfish-actions.pod:781
17529 #, no-wrap
17530 msgid ""
17531 " drop-caches whattodrop\n"
17532 "\n"
17533 msgstr ""
17534
17535 # type: =head2
17536 #: ../fish/guestfish-actions.pod:793
17537 msgid "du"
17538 msgstr ""
17539
17540 # type: verbatim
17541 #: ../fish/guestfish-actions.pod:795
17542 #, no-wrap
17543 msgid ""
17544 " du path\n"
17545 "\n"
17546 msgstr ""
17547
17548 # type: =head2
17549 #: ../fish/guestfish-actions.pod:807
17550 msgid "e2fsck-f"
17551 msgstr ""
17552
17553 # type: verbatim
17554 #: ../fish/guestfish-actions.pod:809
17555 #, no-wrap
17556 msgid ""
17557 " e2fsck-f device\n"
17558 "\n"
17559 msgstr ""
17560
17561 # type: textblock
17562 #: ../fish/guestfish-actions.pod:815
17563 msgid ""
17564 "This command is only needed because of C<resize2fs> (q.v.).  Normally you "
17565 "should use C<fsck>."
17566 msgstr ""
17567
17568 # type: =head2
17569 #: ../fish/guestfish-actions.pod:818
17570 msgid "echo-daemon"
17571 msgstr ""
17572
17573 # type: verbatim
17574 #: ../fish/guestfish-actions.pod:820
17575 #, no-wrap
17576 msgid ""
17577 " echo-daemon 'words ...'\n"
17578 "\n"
17579 msgstr ""
17580
17581 # type: textblock
17582 #: ../fish/guestfish-actions.pod:827
17583 msgid "See also C<ping-daemon>."
17584 msgstr ""
17585
17586 # type: =head2
17587 #: ../fish/guestfish-actions.pod:829
17588 msgid "egrep"
17589 msgstr ""
17590
17591 # type: verbatim
17592 #: ../fish/guestfish-actions.pod:831
17593 #, no-wrap
17594 msgid ""
17595 " egrep regex path\n"
17596 "\n"
17597 msgstr ""
17598
17599 # type: =head2
17600 #: ../fish/guestfish-actions.pod:839
17601 msgid "egrepi"
17602 msgstr ""
17603
17604 # type: verbatim
17605 #: ../fish/guestfish-actions.pod:841
17606 #, no-wrap
17607 msgid ""
17608 " egrepi regex path\n"
17609 "\n"
17610 msgstr ""
17611
17612 # type: =head2
17613 #: ../fish/guestfish-actions.pod:849
17614 msgid "equal"
17615 msgstr ""
17616
17617 # type: verbatim
17618 #: ../fish/guestfish-actions.pod:851
17619 #, no-wrap
17620 msgid ""
17621 " equal file1 file2\n"
17622 "\n"
17623 msgstr ""
17624
17625 # type: =head2
17626 #: ../fish/guestfish-actions.pod:858
17627 msgid "exists"
17628 msgstr ""
17629
17630 # type: verbatim
17631 #: ../fish/guestfish-actions.pod:860
17632 #, no-wrap
17633 msgid ""
17634 " exists path\n"
17635 "\n"
17636 msgstr ""
17637
17638 # type: textblock
17639 #: ../fish/guestfish-actions.pod:865
17640 msgid "See also C<is-file>, C<is-dir>, C<stat>."
17641 msgstr ""
17642
17643 # type: =head2
17644 #: ../fish/guestfish-actions.pod:867
17645 msgid "fallocate"
17646 msgstr ""
17647
17648 # type: verbatim
17649 #: ../fish/guestfish-actions.pod:869
17650 #, no-wrap
17651 msgid ""
17652 " fallocate path len\n"
17653 "\n"
17654 msgstr ""
17655
17656 # type: =head2
17657 #: ../fish/guestfish-actions.pod:886
17658 msgid "fallocate64"
17659 msgstr ""
17660
17661 # type: verbatim
17662 #: ../fish/guestfish-actions.pod:888
17663 #, no-wrap
17664 msgid ""
17665 " fallocate64 path len\n"
17666 "\n"
17667 msgstr ""
17668
17669 # type: textblock
17670 #: ../fish/guestfish-actions.pod:894
17671 msgid ""
17672 "Note that this call allocates disk blocks for the file.  To create a sparse "
17673 "file use C<truncate-size> instead."
17674 msgstr ""
17675
17676 # type: textblock
17677 #: ../fish/guestfish-actions.pod:897
17678 msgid ""
17679 "The deprecated call C<fallocate> does the same, but owing to an oversight it "
17680 "only allowed 30 bit lengths to be specified, effectively limiting the "
17681 "maximum size of files created through that call to 1GB."
17682 msgstr ""
17683
17684 # type: =head2
17685 #: ../fish/guestfish-actions.pod:906
17686 msgid "fgrep"
17687 msgstr ""
17688
17689 # type: verbatim
17690 #: ../fish/guestfish-actions.pod:908
17691 #, no-wrap
17692 msgid ""
17693 " fgrep pattern path\n"
17694 "\n"
17695 msgstr ""
17696
17697 # type: =head2
17698 #: ../fish/guestfish-actions.pod:916
17699 msgid "fgrepi"
17700 msgstr ""
17701
17702 # type: verbatim
17703 #: ../fish/guestfish-actions.pod:918
17704 #, no-wrap
17705 msgid ""
17706 " fgrepi pattern path\n"
17707 "\n"
17708 msgstr ""
17709
17710 # type: =head2
17711 #: ../fish/guestfish-actions.pod:926
17712 msgid "file"
17713 msgstr ""
17714
17715 # type: verbatim
17716 #: ../fish/guestfish-actions.pod:928
17717 #, no-wrap
17718 msgid ""
17719 " file path\n"
17720 "\n"
17721 msgstr ""
17722
17723 # type: textblock
17724 #: ../fish/guestfish-actions.pod:940
17725 msgid ""
17726 "This command can also be used on C</dev/> devices (and partitions, LV "
17727 "names).  You can for example use this to determine if a device contains a "
17728 "filesystem, although it's usually better to use C<vfs-type>."
17729 msgstr ""
17730
17731 # type: =head2
17732 #: ../fish/guestfish-actions.pod:950
17733 msgid "file-architecture"
17734 msgstr ""
17735
17736 # type: verbatim
17737 #: ../fish/guestfish-actions.pod:952
17738 #, no-wrap
17739 msgid ""
17740 " file-architecture filename\n"
17741 "\n"
17742 msgstr ""
17743
17744 # type: =head2
17745 #: ../fish/guestfish-actions.pod:1055
17746 msgid "filesize"
17747 msgstr ""
17748
17749 # type: verbatim
17750 #: ../fish/guestfish-actions.pod:1057
17751 #, no-wrap
17752 msgid ""
17753 " filesize file\n"
17754 "\n"
17755 msgstr ""
17756
17757 # type: textblock
17758 #: ../fish/guestfish-actions.pod:1061
17759 msgid ""
17760 "To get other stats about a file, use C<stat>, C<lstat>, C<is-dir>, C<is-"
17761 "file> etc.  To get the size of block devices, use C<blockdev-getsize64>."
17762 msgstr ""
17763
17764 # type: =head2
17765 #: ../fish/guestfish-actions.pod:1065
17766 msgid "fill"
17767 msgstr ""
17768
17769 # type: verbatim
17770 #: ../fish/guestfish-actions.pod:1067
17771 #, no-wrap
17772 msgid ""
17773 " fill c len path\n"
17774 "\n"
17775 msgstr ""
17776
17777 # type: textblock
17778 #: ../fish/guestfish-actions.pod:1073
17779 msgid ""
17780 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
17781 "C<truncate-size>.  To create a file with a pattern of repeating bytes use "
17782 "C<fill-pattern>."
17783 msgstr ""
17784
17785 # type: =head2
17786 #: ../fish/guestfish-actions.pod:1078
17787 msgid "fill-pattern"
17788 msgstr ""
17789
17790 # type: verbatim
17791 #: ../fish/guestfish-actions.pod:1080
17792 #, no-wrap
17793 msgid ""
17794 " fill-pattern pattern len path\n"
17795 "\n"
17796 msgstr ""
17797
17798 # type: textblock
17799 #: ../fish/guestfish-actions.pod:1082
17800 msgid ""
17801 "This function is like C<fill> except that it creates a new file of length "
17802 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
17803 "is truncated if necessary to ensure the length of the file is exactly C<len> "
17804 "bytes."
17805 msgstr ""
17806
17807 # type: =head2
17808 #: ../fish/guestfish-actions.pod:1087
17809 msgid "find"
17810 msgstr ""
17811
17812 # type: verbatim
17813 #: ../fish/guestfish-actions.pod:1089
17814 #, no-wrap
17815 msgid ""
17816 " find directory\n"
17817 "\n"
17818 msgstr ""
17819
17820 # type: textblock
17821 #: ../fish/guestfish-actions.pod:1103
17822 msgid "then the returned list from C<find> C</tmp> would be 4 elements:"
17823 msgstr ""
17824
17825 # type: textblock
17826 #: ../fish/guestfish-actions.pod:1116
17827 msgid "See also C<find0>."
17828 msgstr ""
17829
17830 # type: =head2
17831 #: ../fish/guestfish-actions.pod:1121
17832 msgid "find0"
17833 msgstr ""
17834
17835 # type: verbatim
17836 #: ../fish/guestfish-actions.pod:1123
17837 #, no-wrap
17838 msgid ""
17839 " find0 directory (files|-)\n"
17840 "\n"
17841 msgstr ""
17842
17843 # type: textblock
17844 #: ../fish/guestfish-actions.pod:1129
17845 msgid ""
17846 "This command works the same way as C<find> with the following exceptions:"
17847 msgstr ""
17848
17849 # type: =head2
17850 #: ../fish/guestfish-actions.pod:1156
17851 msgid "findfs-label"
17852 msgstr ""
17853
17854 # type: verbatim
17855 #: ../fish/guestfish-actions.pod:1158
17856 #, no-wrap
17857 msgid ""
17858 " findfs-label label\n"
17859 "\n"
17860 msgstr ""
17861
17862 # type: textblock
17863 #: ../fish/guestfish-actions.pod:1164
17864 msgid "To find the label of a filesystem, use C<vfs-label>."
17865 msgstr ""
17866
17867 # type: =head2
17868 #: ../fish/guestfish-actions.pod:1166
17869 msgid "findfs-uuid"
17870 msgstr ""
17871
17872 # type: verbatim
17873 #: ../fish/guestfish-actions.pod:1168
17874 #, no-wrap
17875 msgid ""
17876 " findfs-uuid uuid\n"
17877 "\n"
17878 msgstr ""
17879
17880 # type: textblock
17881 #: ../fish/guestfish-actions.pod:1174
17882 msgid "To find the UUID of a filesystem, use C<vfs-uuid>."
17883 msgstr ""
17884
17885 # type: =head2
17886 #: ../fish/guestfish-actions.pod:1176
17887 msgid "fsck"
17888 msgstr ""
17889
17890 # type: verbatim
17891 #: ../fish/guestfish-actions.pod:1178
17892 #, no-wrap
17893 msgid ""
17894 " fsck fstype device\n"
17895 "\n"
17896 msgstr ""
17897
17898 # type: =head2
17899 #: ../fish/guestfish-actions.pod:1208
17900 msgid "get-append"
17901 msgstr ""
17902
17903 # type: verbatim
17904 #: ../fish/guestfish-actions.pod:1210
17905 #, no-wrap
17906 msgid ""
17907 " get-append\n"
17908 "\n"
17909 msgstr ""
17910
17911 # type: =head2
17912 #: ../fish/guestfish-actions.pod:1217
17913 msgid "get-autosync"
17914 msgstr ""
17915
17916 # type: verbatim
17917 #: ../fish/guestfish-actions.pod:1219
17918 #, no-wrap
17919 msgid ""
17920 " get-autosync\n"
17921 "\n"
17922 msgstr ""
17923
17924 # type: =head2
17925 #: ../fish/guestfish-actions.pod:1223
17926 msgid "get-direct"
17927 msgstr ""
17928
17929 # type: verbatim
17930 #: ../fish/guestfish-actions.pod:1225
17931 #, no-wrap
17932 msgid ""
17933 " get-direct\n"
17934 "\n"
17935 msgstr ""
17936
17937 # type: =head2
17938 #: ../fish/guestfish-actions.pod:1229
17939 msgid "get-e2label"
17940 msgstr ""
17941
17942 # type: verbatim
17943 #: ../fish/guestfish-actions.pod:1231
17944 #, no-wrap
17945 msgid ""
17946 " get-e2label device\n"
17947 "\n"
17948 msgstr ""
17949
17950 # type: =head2
17951 #: ../fish/guestfish-actions.pod:1243
17952 msgid "get-e2uuid"
17953 msgstr ""
17954
17955 # type: verbatim
17956 #: ../fish/guestfish-actions.pod:1245
17957 #, no-wrap
17958 msgid ""
17959 " get-e2uuid device\n"
17960 "\n"
17961 msgstr ""
17962
17963 # type: =head2
17964 #: ../fish/guestfish-actions.pod:1257
17965 msgid "get-memsize"
17966 msgstr ""
17967
17968 # type: verbatim
17969 #: ../fish/guestfish-actions.pod:1259
17970 #, no-wrap
17971 msgid ""
17972 " get-memsize\n"
17973 "\n"
17974 msgstr ""
17975
17976 # type: textblock
17977 #: ../fish/guestfish-actions.pod:1264
17978 msgid ""
17979 "If C<set-memsize> was not called on this handle, and if "
17980 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
17981 "value for memsize."
17982 msgstr ""
17983
17984 # type: =head2
17985 #: ../fish/guestfish-actions.pod:1271
17986 msgid "get-network"
17987 msgstr ""
17988
17989 # type: verbatim
17990 #: ../fish/guestfish-actions.pod:1273
17991 #, no-wrap
17992 msgid ""
17993 " get-network\n"
17994 "\n"
17995 msgstr ""
17996
17997 # type: =head2
17998 #: ../fish/guestfish-actions.pod:1277
17999 msgid "get-path"
18000 msgstr ""
18001
18002 # type: verbatim
18003 #: ../fish/guestfish-actions.pod:1279
18004 #, no-wrap
18005 msgid ""
18006 " get-path\n"
18007 "\n"
18008 msgstr ""
18009
18010 # type: =head2
18011 #: ../fish/guestfish-actions.pod:1286
18012 msgid "get-pid | pid"
18013 msgstr ""
18014
18015 # type: verbatim
18016 #: ../fish/guestfish-actions.pod:1288
18017 #, no-wrap
18018 msgid ""
18019 " get-pid\n"
18020 "\n"
18021 msgstr ""
18022
18023 # type: =head2
18024 #: ../fish/guestfish-actions.pod:1295
18025 msgid "get-qemu"
18026 msgstr ""
18027
18028 # type: verbatim
18029 #: ../fish/guestfish-actions.pod:1297
18030 #, no-wrap
18031 msgid ""
18032 " get-qemu\n"
18033 "\n"
18034 msgstr ""
18035
18036 # type: =head2
18037 #: ../fish/guestfish-actions.pod:1304
18038 msgid "get-recovery-proc"
18039 msgstr ""
18040
18041 # type: verbatim
18042 #: ../fish/guestfish-actions.pod:1306
18043 #, no-wrap
18044 msgid ""
18045 " get-recovery-proc\n"
18046 "\n"
18047 msgstr ""
18048
18049 # type: =head2
18050 #: ../fish/guestfish-actions.pod:1310
18051 msgid "get-selinux"
18052 msgstr ""
18053
18054 # type: verbatim
18055 #: ../fish/guestfish-actions.pod:1312
18056 #, no-wrap
18057 msgid ""
18058 " get-selinux\n"
18059 "\n"
18060 msgstr ""
18061
18062 # type: textblock
18063 #: ../fish/guestfish-actions.pod:1314
18064 msgid ""
18065 "This returns the current setting of the selinux flag which is passed to the "
18066 "appliance at boot time.  See C<set-selinux>."
18067 msgstr ""
18068
18069 # type: =head2
18070 #: ../fish/guestfish-actions.pod:1320
18071 msgid "get-state"
18072 msgstr ""
18073
18074 # type: verbatim
18075 #: ../fish/guestfish-actions.pod:1322
18076 #, no-wrap
18077 msgid ""
18078 " get-state\n"
18079 "\n"
18080 msgstr ""
18081
18082 # type: =head2
18083 #: ../fish/guestfish-actions.pod:1329
18084 msgid "get-trace"
18085 msgstr ""
18086
18087 # type: verbatim
18088 #: ../fish/guestfish-actions.pod:1331
18089 #, no-wrap
18090 msgid ""
18091 " get-trace\n"
18092 "\n"
18093 msgstr ""
18094
18095 # type: =head2
18096 #: ../fish/guestfish-actions.pod:1335
18097 msgid "get-umask"
18098 msgstr ""
18099
18100 # type: verbatim
18101 #: ../fish/guestfish-actions.pod:1337
18102 #, no-wrap
18103 msgid ""
18104 " get-umask\n"
18105 "\n"
18106 msgstr ""
18107
18108 # type: textblock
18109 #: ../fish/guestfish-actions.pod:1339
18110 msgid ""
18111 "Return the current umask.  By default the umask is C<022> unless it has been "
18112 "set by calling C<umask>."
18113 msgstr ""
18114
18115 # type: =head2
18116 #: ../fish/guestfish-actions.pod:1342
18117 msgid "get-verbose"
18118 msgstr ""
18119
18120 # type: verbatim
18121 #: ../fish/guestfish-actions.pod:1344
18122 #, no-wrap
18123 msgid ""
18124 " get-verbose\n"
18125 "\n"
18126 msgstr ""
18127
18128 # type: =head2
18129 #: ../fish/guestfish-actions.pod:1348
18130 msgid "getcon"
18131 msgstr ""
18132
18133 # type: verbatim
18134 #: ../fish/guestfish-actions.pod:1350
18135 #, no-wrap
18136 msgid ""
18137 " getcon\n"
18138 "\n"
18139 msgstr ""
18140
18141 # type: textblock
18142 #: ../fish/guestfish-actions.pod:1354
18143 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<setcon>"
18144 msgstr ""
18145
18146 # type: =head2
18147 #: ../fish/guestfish-actions.pod:1357
18148 msgid "getxattrs"
18149 msgstr ""
18150
18151 # type: verbatim
18152 #: ../fish/guestfish-actions.pod:1359
18153 #, no-wrap
18154 msgid ""
18155 " getxattrs path\n"
18156 "\n"
18157 msgstr ""
18158
18159 # type: textblock
18160 #: ../fish/guestfish-actions.pod:1367
18161 msgid "See also: C<lgetxattrs>, L<attr(5)>."
18162 msgstr ""
18163
18164 # type: =head2
18165 #: ../fish/guestfish-actions.pod:1369
18166 msgid "glob-expand"
18167 msgstr ""
18168
18169 # type: verbatim
18170 #: ../fish/guestfish-actions.pod:1371
18171 #, no-wrap
18172 msgid ""
18173 " glob-expand pattern\n"
18174 "\n"
18175 msgstr ""
18176
18177 # type: =head2
18178 #: ../fish/guestfish-actions.pod:1384
18179 msgid "grep"
18180 msgstr ""
18181
18182 # type: verbatim
18183 #: ../fish/guestfish-actions.pod:1386
18184 #, no-wrap
18185 msgid ""
18186 " grep regex path\n"
18187 "\n"
18188 msgstr ""
18189
18190 # type: =head2
18191 #: ../fish/guestfish-actions.pod:1394
18192 msgid "grepi"
18193 msgstr ""
18194
18195 # type: verbatim
18196 #: ../fish/guestfish-actions.pod:1396
18197 #, no-wrap
18198 msgid ""
18199 " grepi regex path\n"
18200 "\n"
18201 msgstr ""
18202
18203 # type: =head2
18204 #: ../fish/guestfish-actions.pod:1404
18205 msgid "grub-install"
18206 msgstr ""
18207
18208 # type: verbatim
18209 #: ../fish/guestfish-actions.pod:1406
18210 #, no-wrap
18211 msgid ""
18212 " grub-install root device\n"
18213 "\n"
18214 msgstr ""
18215
18216 # type: =head2
18217 #: ../fish/guestfish-actions.pod:1422
18218 msgid "head"
18219 msgstr ""
18220
18221 # type: verbatim
18222 #: ../fish/guestfish-actions.pod:1424
18223 #, no-wrap
18224 msgid ""
18225 " head path\n"
18226 "\n"
18227 msgstr ""
18228
18229 # type: =head2
18230 #: ../fish/guestfish-actions.pod:1432
18231 msgid "head-n"
18232 msgstr ""
18233
18234 # type: verbatim
18235 #: ../fish/guestfish-actions.pod:1434
18236 #, no-wrap
18237 msgid ""
18238 " head-n nrlines path\n"
18239 "\n"
18240 msgstr ""
18241
18242 # type: =head2
18243 #: ../fish/guestfish-actions.pod:1447
18244 msgid "hexdump"
18245 msgstr ""
18246
18247 # type: verbatim
18248 #: ../fish/guestfish-actions.pod:1449
18249 #, no-wrap
18250 msgid ""
18251 " hexdump path\n"
18252 "\n"
18253 msgstr ""
18254
18255 # type: =head2
18256 #: ../fish/guestfish-actions.pod:1457
18257 msgid "initrd-cat"
18258 msgstr ""
18259
18260 # type: verbatim
18261 #: ../fish/guestfish-actions.pod:1459
18262 #, no-wrap
18263 msgid ""
18264 " initrd-cat initrdpath filename\n"
18265 "\n"
18266 msgstr ""
18267
18268 # type: textblock
18269 #: ../fish/guestfish-actions.pod:1471
18270 msgid "See also C<initrd-list>."
18271 msgstr ""
18272
18273 # type: =head2
18274 #: ../fish/guestfish-actions.pod:1476
18275 msgid "initrd-list"
18276 msgstr ""
18277
18278 # type: verbatim
18279 #: ../fish/guestfish-actions.pod:1478
18280 #, no-wrap
18281 msgid ""
18282 " initrd-list path\n"
18283 "\n"
18284 msgstr ""
18285
18286 # type: =head2
18287 #: ../fish/guestfish-actions.pod:1490
18288 msgid "inotify-add-watch"
18289 msgstr ""
18290
18291 # type: verbatim
18292 #: ../fish/guestfish-actions.pod:1492
18293 #, no-wrap
18294 msgid ""
18295 " inotify-add-watch path mask\n"
18296 "\n"
18297 msgstr ""
18298
18299 # type: =head2
18300 #: ../fish/guestfish-actions.pod:1504
18301 msgid "inotify-close"
18302 msgstr ""
18303
18304 # type: verbatim
18305 #: ../fish/guestfish-actions.pod:1506
18306 #, no-wrap
18307 msgid ""
18308 " inotify-close\n"
18309 "\n"
18310 msgstr ""
18311
18312 # type: =head2
18313 #: ../fish/guestfish-actions.pod:1512
18314 msgid "inotify-files"
18315 msgstr ""
18316
18317 # type: verbatim
18318 #: ../fish/guestfish-actions.pod:1514
18319 #, no-wrap
18320 msgid ""
18321 " inotify-files\n"
18322 "\n"
18323 msgstr ""
18324
18325 # type: textblock
18326 #: ../fish/guestfish-actions.pod:1516
18327 msgid ""
18328 "This function is a helpful wrapper around C<inotify-read> which just returns "
18329 "a list of pathnames of objects that were touched.  The returned pathnames "
18330 "are sorted and deduplicated."
18331 msgstr ""
18332
18333 # type: =head2
18334 #: ../fish/guestfish-actions.pod:1520
18335 msgid "inotify-init"
18336 msgstr ""
18337
18338 # type: verbatim
18339 #: ../fish/guestfish-actions.pod:1522
18340 #, no-wrap
18341 msgid ""
18342 " inotify-init maxevents\n"
18343 "\n"
18344 msgstr ""
18345
18346 # type: textblock
18347 #: ../fish/guestfish-actions.pod:1528
18348 msgid ""
18349 "C<maxevents> is the maximum number of events which will be queued up between "
18350 "calls to C<inotify-read> or C<inotify-files>.  If this is passed as C<0>, "
18351 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18352 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18353 "but records the fact that it threw them away by setting a flag "
18354 "C<IN_Q_OVERFLOW> in the returned structure list (see C<inotify-read>)."
18355 msgstr ""
18356
18357 # type: textblock
18358 #: ../fish/guestfish-actions.pod:1538
18359 msgid ""
18360 "Before any events are generated, you have to add some watches to the "
18361 "internal watch list.  See: C<inotify-add-watch>, C<inotify-rm-watch> and "
18362 "C<inotify-watch-all>."
18363 msgstr ""
18364
18365 # type: textblock
18366 #: ../fish/guestfish-actions.pod:1544
18367 msgid ""
18368 "Queued up events should be read periodically by calling C<inotify-read> (or "
18369 "C<inotify-files> which is just a helpful wrapper around C<inotify-read>).  "
18370 "If you don't read the events out often enough then you risk the internal "
18371 "queue overflowing."
18372 msgstr ""
18373
18374 # type: textblock
18375 #: ../fish/guestfish-actions.pod:1551
18376 msgid ""
18377 "The handle should be closed after use by calling C<inotify-close>.  This "
18378 "also removes any watches automatically."
18379 msgstr ""
18380
18381 # type: =head2
18382 #: ../fish/guestfish-actions.pod:1560
18383 msgid "inotify-read"
18384 msgstr ""
18385
18386 # type: verbatim
18387 #: ../fish/guestfish-actions.pod:1562
18388 #, no-wrap
18389 msgid ""
18390 " inotify-read\n"
18391 "\n"
18392 msgstr ""
18393
18394 # type: =head2
18395 #: ../fish/guestfish-actions.pod:1575
18396 msgid "inotify-rm-watch"
18397 msgstr ""
18398
18399 # type: verbatim
18400 #: ../fish/guestfish-actions.pod:1577
18401 #, no-wrap
18402 msgid ""
18403 " inotify-rm-watch wd\n"
18404 "\n"
18405 msgstr ""
18406
18407 # type: textblock
18408 #: ../fish/guestfish-actions.pod:1579
18409 msgid "Remove a previously defined inotify watch.  See C<inotify-add-watch>."
18410 msgstr ""
18411
18412 # type: =head2
18413 #: ../fish/guestfish-actions.pod:1582
18414 msgid "inspect-get-arch"
18415 msgstr ""
18416
18417 # type: verbatim
18418 #: ../fish/guestfish-actions.pod:1584
18419 #, no-wrap
18420 msgid ""
18421 " inspect-get-arch root\n"
18422 "\n"
18423 msgstr ""
18424
18425 # type: textblock
18426 #: ../fish/guestfish-actions.pod:1586 ../fish/guestfish-actions.pod:1602
18427 #: ../fish/guestfish-actions.pod:1648 ../fish/guestfish-actions.pod:1666
18428 #: ../fish/guestfish-actions.pod:1687 ../fish/guestfish-actions.pod:1702
18429 #: ../fish/guestfish-actions.pod:1725 ../fish/guestfish-actions.pod:1742
18430 msgid ""
18431 "This function should only be called with a root device string as returned by "
18432 "C<inspect-os>."
18433 msgstr ""
18434
18435 # type: textblock
18436 #: ../fish/guestfish-actions.pod:1589
18437 msgid ""
18438 "This returns the architecture of the inspected operating system.  The "
18439 "possible return values are listed under C<file-architecture>."
18440 msgstr ""
18441
18442 # type: =head2
18443 #: ../fish/guestfish-actions.pod:1598
18444 msgid "inspect-get-distro"
18445 msgstr ""
18446
18447 # type: verbatim
18448 #: ../fish/guestfish-actions.pod:1600
18449 #, no-wrap
18450 msgid ""
18451 " inspect-get-distro root\n"
18452 "\n"
18453 msgstr ""
18454
18455 # type: =head2
18456 #: ../fish/guestfish-actions.pod:1644
18457 msgid "inspect-get-filesystems"
18458 msgstr ""
18459
18460 # type: verbatim
18461 #: ../fish/guestfish-actions.pod:1646
18462 #, no-wrap
18463 msgid ""
18464 " inspect-get-filesystems root\n"
18465 "\n"
18466 msgstr ""
18467
18468 # type: textblock
18469 #: ../fish/guestfish-actions.pod:1659
18470 msgid ""
18471 "Please read L<guestfs(3)/INSPECTION> for more details.  See also C<inspect-"
18472 "get-mountpoints>."
18473 msgstr ""
18474
18475 # type: =head2
18476 #: ../fish/guestfish-actions.pod:1662
18477 msgid "inspect-get-major-version"
18478 msgstr ""
18479
18480 # type: verbatim
18481 #: ../fish/guestfish-actions.pod:1664
18482 #, no-wrap
18483 msgid ""
18484 " inspect-get-major-version root\n"
18485 "\n"
18486 msgstr ""
18487
18488 # type: =head2
18489 #: ../fish/guestfish-actions.pod:1683
18490 msgid "inspect-get-minor-version"
18491 msgstr ""
18492
18493 # type: verbatim
18494 #: ../fish/guestfish-actions.pod:1685
18495 #, no-wrap
18496 msgid ""
18497 " inspect-get-minor-version root\n"
18498 "\n"
18499 msgstr ""
18500
18501 # type: textblock
18502 #: ../fish/guestfish-actions.pod:1695
18503 msgid ""
18504 "Please read L<guestfs(3)/INSPECTION> for more details.  See also C<inspect-"
18505 "get-major-version>."
18506 msgstr ""
18507
18508 # type: =head2
18509 #: ../fish/guestfish-actions.pod:1698
18510 msgid "inspect-get-mountpoints"
18511 msgstr ""
18512
18513 # type: verbatim
18514 #: ../fish/guestfish-actions.pod:1700
18515 #, no-wrap
18516 msgid ""
18517 " inspect-get-mountpoints root\n"
18518 "\n"
18519 msgstr ""
18520
18521 # type: textblock
18522 #: ../fish/guestfish-actions.pod:1718
18523 msgid ""
18524 "Please read L<guestfs(3)/INSPECTION> for more details.  See also C<inspect-"
18525 "get-filesystems>."
18526 msgstr ""
18527
18528 # type: =head2
18529 #: ../fish/guestfish-actions.pod:1721
18530 msgid "inspect-get-product-name"
18531 msgstr ""
18532
18533 # type: verbatim
18534 #: ../fish/guestfish-actions.pod:1723
18535 #, no-wrap
18536 msgid ""
18537 " inspect-get-product-name root\n"
18538 "\n"
18539 msgstr ""
18540
18541 # type: =head2
18542 #: ../fish/guestfish-actions.pod:1738
18543 msgid "inspect-get-type"
18544 msgstr ""
18545
18546 # type: verbatim
18547 #: ../fish/guestfish-actions.pod:1740
18548 #, no-wrap
18549 msgid ""
18550 " inspect-get-type root\n"
18551 "\n"
18552 msgstr ""
18553
18554 # type: =head2
18555 #: ../fish/guestfish-actions.pod:1769
18556 msgid "inspect-os"
18557 msgstr ""
18558
18559 # type: verbatim
18560 #: ../fish/guestfish-actions.pod:1771
18561 #, no-wrap
18562 msgid ""
18563 " inspect-os\n"
18564 "\n"
18565 msgstr ""
18566
18567 # type: textblock
18568 #: ../fish/guestfish-actions.pod:1786
18569 msgid ""
18570 "You can pass the root string(s) returned to other C<inspect-get-*> functions "
18571 "in order to query further information about each operating system, such as "
18572 "the name and version."
18573 msgstr ""
18574
18575 # type: textblock
18576 #: ../fish/guestfish-actions.pod:1791
18577 msgid ""
18578 "This function uses other libguestfs features such as C<mount-ro> and "
18579 "C<umount-all> in order to mount and unmount filesystems and look at the "
18580 "contents.  This should be called with no disks currently mounted.  The "
18581 "function may also use Augeas, so any existing Augeas handle will be closed."
18582 msgstr ""
18583
18584 # type: =head2
18585 #: ../fish/guestfish-actions.pod:1803
18586 msgid "is-busy"
18587 msgstr ""
18588
18589 # type: verbatim
18590 #: ../fish/guestfish-actions.pod:1805
18591 #, no-wrap
18592 msgid ""
18593 " is-busy\n"
18594 "\n"
18595 msgstr ""
18596
18597 # type: =head2
18598 #: ../fish/guestfish-actions.pod:1812
18599 msgid "is-config"
18600 msgstr ""
18601
18602 # type: verbatim
18603 #: ../fish/guestfish-actions.pod:1814
18604 #, no-wrap
18605 msgid ""
18606 " is-config\n"
18607 "\n"
18608 msgstr ""
18609
18610 # type: =head2
18611 #: ../fish/guestfish-actions.pod:1821
18612 msgid "is-dir"
18613 msgstr ""
18614
18615 # type: verbatim
18616 #: ../fish/guestfish-actions.pod:1823
18617 #, no-wrap
18618 msgid ""
18619 " is-dir path\n"
18620 "\n"
18621 msgstr ""
18622
18623 # type: textblock
18624 #: ../fish/guestfish-actions.pod:1829 ../fish/guestfish-actions.pod:1839
18625 msgid "See also C<stat>."
18626 msgstr ""
18627
18628 # type: =head2
18629 #: ../fish/guestfish-actions.pod:1831
18630 msgid "is-file"
18631 msgstr ""
18632
18633 # type: verbatim
18634 #: ../fish/guestfish-actions.pod:1833
18635 #, no-wrap
18636 msgid ""
18637 " is-file path\n"
18638 "\n"
18639 msgstr ""
18640
18641 # type: =head2
18642 #: ../fish/guestfish-actions.pod:1841
18643 msgid "is-launching"
18644 msgstr ""
18645
18646 # type: verbatim
18647 #: ../fish/guestfish-actions.pod:1843
18648 #, no-wrap
18649 msgid ""
18650 " is-launching\n"
18651 "\n"
18652 msgstr ""
18653
18654 # type: =head2
18655 #: ../fish/guestfish-actions.pod:1850
18656 msgid "is-lv"
18657 msgstr ""
18658
18659 # type: verbatim
18660 #: ../fish/guestfish-actions.pod:1852
18661 #, no-wrap
18662 msgid ""
18663 " is-lv device\n"
18664 "\n"
18665 msgstr ""
18666
18667 # type: =head2
18668 #: ../fish/guestfish-actions.pod:1857
18669 msgid "is-ready"
18670 msgstr ""
18671
18672 # type: verbatim
18673 #: ../fish/guestfish-actions.pod:1859
18674 #, no-wrap
18675 msgid ""
18676 " is-ready\n"
18677 "\n"
18678 msgstr ""
18679
18680 # type: =head2
18681 #: ../fish/guestfish-actions.pod:1866
18682 msgid "kill-subprocess"
18683 msgstr ""
18684
18685 # type: verbatim
18686 #: ../fish/guestfish-actions.pod:1868
18687 #, no-wrap
18688 msgid ""
18689 " kill-subprocess\n"
18690 "\n"
18691 msgstr ""
18692
18693 # type: =head2
18694 #: ../fish/guestfish-actions.pod:1872
18695 msgid "launch | run"
18696 msgstr ""
18697
18698 # type: verbatim
18699 #: ../fish/guestfish-actions.pod:1874
18700 #, no-wrap
18701 msgid ""
18702 " launch\n"
18703 "\n"
18704 msgstr ""
18705
18706 # type: =head2
18707 #: ../fish/guestfish-actions.pod:1882
18708 msgid "lchown"
18709 msgstr ""
18710
18711 # type: verbatim
18712 #: ../fish/guestfish-actions.pod:1884
18713 #, no-wrap
18714 msgid ""
18715 " lchown owner group path\n"
18716 "\n"
18717 msgstr ""
18718
18719 # type: textblock
18720 #: ../fish/guestfish-actions.pod:1886
18721 msgid ""
18722 "Change the file owner to C<owner> and group to C<group>.  This is like "
18723 "C<chown> but if C<path> is a symlink then the link itself is changed, not "
18724 "the target."
18725 msgstr ""
18726
18727 # type: =head2
18728 #: ../fish/guestfish-actions.pod:1894
18729 msgid "lgetxattrs"
18730 msgstr ""
18731
18732 # type: verbatim
18733 #: ../fish/guestfish-actions.pod:1896
18734 #, no-wrap
18735 msgid ""
18736 " lgetxattrs path\n"
18737 "\n"
18738 msgstr ""
18739
18740 # type: textblock
18741 #: ../fish/guestfish-actions.pod:1898
18742 msgid ""
18743 "This is the same as C<getxattrs>, but if C<path> is a symbolic link, then it "
18744 "returns the extended attributes of the link itself."
18745 msgstr ""
18746
18747 # type: =head2
18748 #: ../fish/guestfish-actions.pod:1902
18749 msgid "list-devices"
18750 msgstr ""
18751
18752 # type: verbatim
18753 #: ../fish/guestfish-actions.pod:1904
18754 #, no-wrap
18755 msgid ""
18756 " list-devices\n"
18757 "\n"
18758 msgstr ""
18759
18760 # type: =head2
18761 #: ../fish/guestfish-actions.pod:1910
18762 msgid "list-partitions"
18763 msgstr ""
18764
18765 # type: verbatim
18766 #: ../fish/guestfish-actions.pod:1912
18767 #, no-wrap
18768 msgid ""
18769 " list-partitions\n"
18770 "\n"
18771 msgstr ""
18772
18773 # type: textblock
18774 #: ../fish/guestfish-actions.pod:1918
18775 msgid ""
18776 "This does not return logical volumes.  For that you will need to call C<lvs>."
18777 msgstr ""
18778
18779 # type: =head2
18780 #: ../fish/guestfish-actions.pod:1921
18781 msgid "ll"
18782 msgstr ""
18783
18784 # type: verbatim
18785 #: ../fish/guestfish-actions.pod:1923
18786 #, no-wrap
18787 msgid ""
18788 " ll directory\n"
18789 "\n"
18790 msgstr ""
18791
18792 # type: =head2
18793 #: ../fish/guestfish-actions.pod:1931
18794 msgid "ln"
18795 msgstr ""
18796
18797 # type: verbatim
18798 #: ../fish/guestfish-actions.pod:1933
18799 #, no-wrap
18800 msgid ""
18801 " ln target linkname\n"
18802 "\n"
18803 msgstr ""
18804
18805 # type: =head2
18806 #: ../fish/guestfish-actions.pod:1937
18807 msgid "ln-f"
18808 msgstr ""
18809
18810 # type: verbatim
18811 #: ../fish/guestfish-actions.pod:1939
18812 #, no-wrap
18813 msgid ""
18814 " ln-f target linkname\n"
18815 "\n"
18816 msgstr ""
18817
18818 # type: =head2
18819 #: ../fish/guestfish-actions.pod:1944
18820 msgid "ln-s"
18821 msgstr ""
18822
18823 # type: verbatim
18824 #: ../fish/guestfish-actions.pod:1946
18825 #, no-wrap
18826 msgid ""
18827 " ln-s target linkname\n"
18828 "\n"
18829 msgstr ""
18830
18831 # type: =head2
18832 #: ../fish/guestfish-actions.pod:1950
18833 msgid "ln-sf"
18834 msgstr ""
18835
18836 # type: verbatim
18837 #: ../fish/guestfish-actions.pod:1952
18838 #, no-wrap
18839 msgid ""
18840 " ln-sf target linkname\n"
18841 "\n"
18842 msgstr ""
18843
18844 # type: =head2
18845 #: ../fish/guestfish-actions.pod:1957
18846 msgid "lremovexattr"
18847 msgstr ""
18848
18849 # type: verbatim
18850 #: ../fish/guestfish-actions.pod:1959
18851 #, no-wrap
18852 msgid ""
18853 " lremovexattr xattr path\n"
18854 "\n"
18855 msgstr ""
18856
18857 # type: textblock
18858 #: ../fish/guestfish-actions.pod:1961
18859 msgid ""
18860 "This is the same as C<removexattr>, but if C<path> is a symbolic link, then "
18861 "it removes an extended attribute of the link itself."
18862 msgstr ""
18863
18864 # type: =head2
18865 #: ../fish/guestfish-actions.pod:1965
18866 msgid "ls"
18867 msgstr ""
18868
18869 # type: verbatim
18870 #: ../fish/guestfish-actions.pod:1967
18871 #, no-wrap
18872 msgid ""
18873 " ls directory\n"
18874 "\n"
18875 msgstr ""
18876
18877 # type: textblock
18878 #: ../fish/guestfish-actions.pod:1973
18879 msgid ""
18880 "This command is mostly useful for interactive sessions.  Programs should "
18881 "probably use C<readdir> instead."
18882 msgstr ""
18883
18884 # type: =head2
18885 #: ../fish/guestfish-actions.pod:1976
18886 msgid "lsetxattr"
18887 msgstr ""
18888
18889 # type: verbatim
18890 #: ../fish/guestfish-actions.pod:1978
18891 #, no-wrap
18892 msgid ""
18893 " lsetxattr xattr val vallen path\n"
18894 "\n"
18895 msgstr ""
18896
18897 # type: textblock
18898 #: ../fish/guestfish-actions.pod:1980
18899 msgid ""
18900 "This is the same as C<setxattr>, but if C<path> is a symbolic link, then it "
18901 "sets an extended attribute of the link itself."
18902 msgstr ""
18903
18904 # type: =head2
18905 #: ../fish/guestfish-actions.pod:1984
18906 msgid "lstat"
18907 msgstr ""
18908
18909 # type: verbatim
18910 #: ../fish/guestfish-actions.pod:1986
18911 #, no-wrap
18912 msgid ""
18913 " lstat path\n"
18914 "\n"
18915 msgstr ""
18916
18917 # type: textblock
18918 #: ../fish/guestfish-actions.pod:1990
18919 msgid ""
18920 "This is the same as C<stat> except that if C<path> is a symbolic link, then "
18921 "the link is stat-ed, not the file it refers to."
18922 msgstr ""
18923
18924 # type: =head2
18925 #: ../fish/guestfish-actions.pod:1996
18926 msgid "lstatlist"
18927 msgstr ""
18928
18929 # type: verbatim
18930 #: ../fish/guestfish-actions.pod:1998
18931 #, no-wrap
18932 msgid ""
18933 " lstatlist path 'names ...'\n"
18934 "\n"
18935 msgstr ""
18936
18937 # type: textblock
18938 #: ../fish/guestfish-actions.pod:2000
18939 msgid ""
18940 "This call allows you to perform the C<lstat> operation on multiple files, "
18941 "where all files are in the directory C<path>.  C<names> is the list of files "
18942 "from this directory."
18943 msgstr ""
18944
18945 # type: textblock
18946 #: ../fish/guestfish-actions.pod:2009
18947 msgid ""
18948 "This call is intended for programs that want to efficiently list a directory "
18949 "contents without making many round-trips.  See also C<lxattrlist> for a "
18950 "similarly efficient call for getting extended attributes.  Very long "
18951 "directory listings might cause the protocol message size to be exceeded, "
18952 "causing this call to fail.  The caller must split up such requests into "
18953 "smaller groups of names."
18954 msgstr ""
18955
18956 # type: =head2
18957 #: ../fish/guestfish-actions.pod:2017
18958 msgid "luks-add-key"
18959 msgstr ""
18960
18961 # type: verbatim
18962 #: ../fish/guestfish-actions.pod:2019
18963 #, no-wrap
18964 msgid ""
18965 " luks-add-key device keyslot\n"
18966 "\n"
18967 msgstr ""
18968
18969 # type: textblock
18970 #: ../fish/guestfish-actions.pod:2026
18971 msgid ""
18972 "Note that if C<keyslot> already contains a key, then this command will "
18973 "fail.  You have to use C<luks-kill-slot> first to remove that key."
18974 msgstr ""
18975
18976 # type: textblock
18977 #: ../fish/guestfish-actions.pod:2030 ../fish/guestfish-actions.pod:2052
18978 #: ../fish/guestfish-actions.pod:2065 ../fish/guestfish-actions.pod:2079
18979 #: ../fish/guestfish-actions.pod:2102 ../fish/guestfish-actions.pod:2112
18980 msgid ""
18981 "This command has one or more key or passphrase parameters.  Guestfish will "
18982 "prompt for these separately."
18983 msgstr ""
18984
18985 # type: =head2
18986 #: ../fish/guestfish-actions.pod:2033
18987 msgid "luks-close"
18988 msgstr ""
18989
18990 # type: verbatim
18991 #: ../fish/guestfish-actions.pod:2035
18992 #, no-wrap
18993 msgid ""
18994 " luks-close device\n"
18995 "\n"
18996 msgstr ""
18997
18998 # type: textblock
18999 #: ../fish/guestfish-actions.pod:2037
19000 msgid ""
19001 "This closes a LUKS device that was created earlier by C<luks-open> or C<luks-"
19002 "open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
19003 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
19004 "block device."
19005 msgstr ""
19006
19007 # type: =head2
19008 #: ../fish/guestfish-actions.pod:2043
19009 msgid "luks-format"
19010 msgstr ""
19011
19012 # type: verbatim
19013 #: ../fish/guestfish-actions.pod:2045
19014 #, no-wrap
19015 msgid ""
19016 " luks-format device keyslot\n"
19017 "\n"
19018 msgstr ""
19019
19020 # type: =head2
19021 #: ../fish/guestfish-actions.pod:2058
19022 msgid "luks-format-cipher"
19023 msgstr ""
19024
19025 # type: verbatim
19026 #: ../fish/guestfish-actions.pod:2060
19027 #, no-wrap
19028 msgid ""
19029 " luks-format-cipher device keyslot cipher\n"
19030 "\n"
19031 msgstr ""
19032
19033 # type: textblock
19034 #: ../fish/guestfish-actions.pod:2062
19035 msgid ""
19036 "This command is the same as C<luks-format> but it also allows you to set the "
19037 "C<cipher> used."
19038 msgstr ""
19039
19040 # type: =head2
19041 #: ../fish/guestfish-actions.pod:2071
19042 msgid "luks-kill-slot"
19043 msgstr ""
19044
19045 # type: verbatim
19046 #: ../fish/guestfish-actions.pod:2073
19047 #, no-wrap
19048 msgid ""
19049 " luks-kill-slot device keyslot\n"
19050 "\n"
19051 msgstr ""
19052
19053 # type: =head2
19054 #: ../fish/guestfish-actions.pod:2082
19055 msgid "luks-open"
19056 msgstr ""
19057
19058 # type: verbatim
19059 #: ../fish/guestfish-actions.pod:2084
19060 #, no-wrap
19061 msgid ""
19062 " luks-open device mapname\n"
19063 "\n"
19064 msgstr ""
19065
19066 # type: textblock
19067 #: ../fish/guestfish-actions.pod:2098
19068 msgid ""
19069 "If this block device contains LVM volume groups, then calling C<vgscan> "
19070 "followed by C<vg-activate-all> will make them visible."
19071 msgstr ""
19072
19073 # type: =head2
19074 #: ../fish/guestfish-actions.pod:2105
19075 msgid "luks-open-ro"
19076 msgstr ""
19077
19078 # type: verbatim
19079 #: ../fish/guestfish-actions.pod:2107
19080 #, no-wrap
19081 msgid ""
19082 " luks-open-ro device mapname\n"
19083 "\n"
19084 msgstr ""
19085
19086 # type: textblock
19087 #: ../fish/guestfish-actions.pod:2109
19088 msgid ""
19089 "This is the same as C<luks-open> except that a read-only mapping is created."
19090 msgstr ""
19091
19092 # type: =head2
19093 #: ../fish/guestfish-actions.pod:2115
19094 msgid "lvcreate"
19095 msgstr ""
19096
19097 # type: verbatim
19098 #: ../fish/guestfish-actions.pod:2117
19099 #, no-wrap
19100 msgid ""
19101 " lvcreate logvol volgroup mbytes\n"
19102 "\n"
19103 msgstr ""
19104
19105 # type: =head2
19106 #: ../fish/guestfish-actions.pod:2122
19107 msgid "lvm-clear-filter"
19108 msgstr ""
19109
19110 # type: verbatim
19111 #: ../fish/guestfish-actions.pod:2124
19112 #, no-wrap
19113 msgid ""
19114 " lvm-clear-filter\n"
19115 "\n"
19116 msgstr ""
19117
19118 # type: textblock
19119 #: ../fish/guestfish-actions.pod:2126
19120 msgid ""
19121 "This undoes the effect of C<lvm-set-filter>.  LVM will be able to see every "
19122 "block device."
19123 msgstr ""
19124
19125 # type: =head2
19126 #: ../fish/guestfish-actions.pod:2132
19127 msgid "lvm-remove-all"
19128 msgstr ""
19129
19130 # type: verbatim
19131 #: ../fish/guestfish-actions.pod:2134
19132 #, no-wrap
19133 msgid ""
19134 " lvm-remove-all\n"
19135 "\n"
19136 msgstr ""
19137
19138 # type: =head2
19139 #: ../fish/guestfish-actions.pod:2142
19140 msgid "lvm-set-filter"
19141 msgstr ""
19142
19143 # type: verbatim
19144 #: ../fish/guestfish-actions.pod:2144
19145 #, no-wrap
19146 msgid ""
19147 " lvm-set-filter 'devices ...'\n"
19148 "\n"
19149 msgstr ""
19150
19151 # type: =head2
19152 #: ../fish/guestfish-actions.pod:2169
19153 msgid "lvremove"
19154 msgstr ""
19155
19156 # type: verbatim
19157 #: ../fish/guestfish-actions.pod:2171
19158 #, no-wrap
19159 msgid ""
19160 " lvremove device\n"
19161 "\n"
19162 msgstr ""
19163
19164 # type: =head2
19165 #: ../fish/guestfish-actions.pod:2179
19166 msgid "lvrename"
19167 msgstr ""
19168
19169 # type: verbatim
19170 #: ../fish/guestfish-actions.pod:2181
19171 #, no-wrap
19172 msgid ""
19173 " lvrename logvol newlogvol\n"
19174 "\n"
19175 msgstr ""
19176
19177 # type: =head2
19178 #: ../fish/guestfish-actions.pod:2185
19179 msgid "lvresize"
19180 msgstr ""
19181
19182 # type: verbatim
19183 #: ../fish/guestfish-actions.pod:2187
19184 #, no-wrap
19185 msgid ""
19186 " lvresize device mbytes\n"
19187 "\n"
19188 msgstr ""
19189
19190 # type: =head2
19191 #: ../fish/guestfish-actions.pod:2193
19192 msgid "lvresize-free"
19193 msgstr ""
19194
19195 # type: verbatim
19196 #: ../fish/guestfish-actions.pod:2195
19197 #, no-wrap
19198 msgid ""
19199 " lvresize-free lv percent\n"
19200 "\n"
19201 msgstr ""
19202
19203 # type: =head2
19204 #: ../fish/guestfish-actions.pod:2203
19205 msgid "lvs"
19206 msgstr ""
19207
19208 # type: verbatim
19209 #: ../fish/guestfish-actions.pod:2205
19210 #, no-wrap
19211 msgid ""
19212 " lvs\n"
19213 "\n"
19214 msgstr ""
19215
19216 # type: textblock
19217 #: ../fish/guestfish-actions.pod:2213
19218 msgid "See also C<lvs-full>."
19219 msgstr ""
19220
19221 # type: =head2
19222 #: ../fish/guestfish-actions.pod:2215
19223 msgid "lvs-full"
19224 msgstr ""
19225
19226 # type: verbatim
19227 #: ../fish/guestfish-actions.pod:2217
19228 #, no-wrap
19229 msgid ""
19230 " lvs-full\n"
19231 "\n"
19232 msgstr ""
19233
19234 # type: =head2
19235 #: ../fish/guestfish-actions.pod:2222
19236 msgid "lvuuid"
19237 msgstr ""
19238
19239 # type: verbatim
19240 #: ../fish/guestfish-actions.pod:2224
19241 #, no-wrap
19242 msgid ""
19243 " lvuuid device\n"
19244 "\n"
19245 msgstr ""
19246
19247 # type: =head2
19248 #: ../fish/guestfish-actions.pod:2228
19249 msgid "lxattrlist"
19250 msgstr ""
19251
19252 # type: verbatim
19253 #: ../fish/guestfish-actions.pod:2230
19254 #, no-wrap
19255 msgid ""
19256 " lxattrlist path 'names ...'\n"
19257 "\n"
19258 msgstr ""
19259
19260 # type: textblock
19261 #: ../fish/guestfish-actions.pod:2246
19262 msgid ""
19263 "This call is intended for programs that want to efficiently list a directory "
19264 "contents without making many round-trips.  See also C<lstatlist> for a "
19265 "similarly efficient call for getting standard stats.  Very long directory "
19266 "listings might cause the protocol message size to be exceeded, causing this "
19267 "call to fail.  The caller must split up such requests into smaller groups of "
19268 "names."
19269 msgstr ""
19270
19271 # type: =head2
19272 #: ../fish/guestfish-actions.pod:2254
19273 msgid "mkdir"
19274 msgstr ""
19275
19276 # type: verbatim
19277 #: ../fish/guestfish-actions.pod:2256
19278 #, no-wrap
19279 msgid ""
19280 " mkdir path\n"
19281 "\n"
19282 msgstr ""
19283
19284 # type: =head2
19285 #: ../fish/guestfish-actions.pod:2260
19286 msgid "mkdir-mode"
19287 msgstr ""
19288
19289 # type: verbatim
19290 #: ../fish/guestfish-actions.pod:2262
19291 #, no-wrap
19292 msgid ""
19293 " mkdir-mode path mode\n"
19294 "\n"
19295 msgstr ""
19296
19297 # type: textblock
19298 #: ../fish/guestfish-actions.pod:2271
19299 msgid "See also C<mkdir>, C<umask>"
19300 msgstr ""
19301
19302 # type: =head2
19303 #: ../fish/guestfish-actions.pod:2273
19304 msgid "mkdir-p"
19305 msgstr ""
19306
19307 # type: verbatim
19308 #: ../fish/guestfish-actions.pod:2275
19309 #, no-wrap
19310 msgid ""
19311 " mkdir-p path\n"
19312 "\n"
19313 msgstr ""
19314
19315 # type: =head2
19316 #: ../fish/guestfish-actions.pod:2280
19317 msgid "mkdtemp"
19318 msgstr ""
19319
19320 # type: verbatim
19321 #: ../fish/guestfish-actions.pod:2282
19322 #, no-wrap
19323 msgid ""
19324 " mkdtemp template\n"
19325 "\n"
19326 msgstr ""
19327
19328 # type: =head2
19329 #: ../fish/guestfish-actions.pod:2303
19330 msgid "mke2fs-J"
19331 msgstr ""
19332
19333 # type: verbatim
19334 #: ../fish/guestfish-actions.pod:2305
19335 #, no-wrap
19336 msgid ""
19337 " mke2fs-J fstype blocksize device journal\n"
19338 "\n"
19339 msgstr ""
19340
19341 # type: textblock
19342 #: ../fish/guestfish-actions.pod:2313
19343 msgid "See also C<mke2journal>."
19344 msgstr ""
19345
19346 # type: =head2
19347 #: ../fish/guestfish-actions.pod:2315
19348 msgid "mke2fs-JL"
19349 msgstr ""
19350
19351 # type: verbatim
19352 #: ../fish/guestfish-actions.pod:2317
19353 #, no-wrap
19354 msgid ""
19355 " mke2fs-JL fstype blocksize device label\n"
19356 "\n"
19357 msgstr ""
19358
19359 # type: textblock
19360 #: ../fish/guestfish-actions.pod:2322
19361 msgid "See also C<mke2journal-L>."
19362 msgstr ""
19363
19364 # type: =head2
19365 #: ../fish/guestfish-actions.pod:2324
19366 msgid "mke2fs-JU"
19367 msgstr ""
19368
19369 # type: verbatim
19370 #: ../fish/guestfish-actions.pod:2326
19371 #, no-wrap
19372 msgid ""
19373 " mke2fs-JU fstype blocksize device uuid\n"
19374 "\n"
19375 msgstr ""
19376
19377 # type: textblock
19378 #: ../fish/guestfish-actions.pod:2331
19379 msgid "See also C<mke2journal-U>."
19380 msgstr ""
19381
19382 # type: =head2
19383 #: ../fish/guestfish-actions.pod:2333
19384 msgid "mke2journal"
19385 msgstr ""
19386
19387 # type: verbatim
19388 #: ../fish/guestfish-actions.pod:2335
19389 #, no-wrap
19390 msgid ""
19391 " mke2journal blocksize device\n"
19392 "\n"
19393 msgstr ""
19394
19395 # type: =head2
19396 #: ../fish/guestfish-actions.pod:2342
19397 msgid "mke2journal-L"
19398 msgstr ""
19399
19400 # type: verbatim
19401 #: ../fish/guestfish-actions.pod:2344
19402 #, no-wrap
19403 msgid ""
19404 " mke2journal-L blocksize label device\n"
19405 "\n"
19406 msgstr ""
19407
19408 # type: =head2
19409 #: ../fish/guestfish-actions.pod:2348
19410 msgid "mke2journal-U"
19411 msgstr ""
19412
19413 # type: verbatim
19414 #: ../fish/guestfish-actions.pod:2350
19415 #, no-wrap
19416 msgid ""
19417 " mke2journal-U blocksize uuid device\n"
19418 "\n"
19419 msgstr ""
19420
19421 # type: =head2
19422 #: ../fish/guestfish-actions.pod:2354
19423 msgid "mkfifo"
19424 msgstr ""
19425
19426 # type: verbatim
19427 #: ../fish/guestfish-actions.pod:2356
19428 #, no-wrap
19429 msgid ""
19430 " mkfifo mode path\n"
19431 "\n"
19432 msgstr ""
19433
19434 # type: textblock
19435 #: ../fish/guestfish-actions.pod:2358
19436 msgid ""
19437 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19438 "is just a convenient wrapper around C<mknod>."
19439 msgstr ""
19440
19441 # type: =head2
19442 #: ../fish/guestfish-actions.pod:2364
19443 msgid "mkfs"
19444 msgstr ""
19445
19446 # type: verbatim
19447 #: ../fish/guestfish-actions.pod:2366
19448 #, no-wrap
19449 msgid ""
19450 " mkfs fstype device\n"
19451 "\n"
19452 msgstr ""
19453
19454 # type: =head2
19455 #: ../fish/guestfish-actions.pod:2372
19456 msgid "mkfs-b"
19457 msgstr ""
19458
19459 # type: verbatim
19460 #: ../fish/guestfish-actions.pod:2374
19461 #, no-wrap
19462 msgid ""
19463 " mkfs-b fstype blocksize device\n"
19464 "\n"
19465 msgstr ""
19466
19467 # type: textblock
19468 #: ../fish/guestfish-actions.pod:2376
19469 msgid ""
19470 "This call is similar to C<mkfs>, but it allows you to control the block size "
19471 "of the resulting filesystem.  Supported block sizes depend on the filesystem "
19472 "type, but typically they are C<1024>, C<2048> or C<4096> only."
19473 msgstr ""
19474
19475 # type: =head2
19476 #: ../fish/guestfish-actions.pod:2384
19477 msgid "mkmountpoint"
19478 msgstr ""
19479
19480 # type: verbatim
19481 #: ../fish/guestfish-actions.pod:2386
19482 #, no-wrap
19483 msgid ""
19484 " mkmountpoint exemptpath\n"
19485 "\n"
19486 msgstr ""
19487
19488 # type: textblock
19489 #: ../fish/guestfish-actions.pod:2388
19490 msgid ""
19491 "C<mkmountpoint> and C<rmmountpoint> are specialized calls that can be used "
19492 "to create extra mountpoints before mounting the first filesystem."
19493 msgstr ""
19494
19495 # type: =head2
19496 #: ../fish/guestfish-actions.pod:2412
19497 msgid "mknod"
19498 msgstr ""
19499
19500 # type: verbatim
19501 #: ../fish/guestfish-actions.pod:2414
19502 #, no-wrap
19503 msgid ""
19504 " mknod mode devmajor devminor path\n"
19505 "\n"
19506 msgstr ""
19507
19508 # type: textblock
19509 #: ../fish/guestfish-actions.pod:2424
19510 msgid ""
19511 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19512 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19513 "regular file).  These constants are available in the standard Linux header "
19514 "files, or you can use C<mknod-b>, C<mknod-c> or C<mkfifo> which are wrappers "
19515 "around this command which bitwise OR in the appropriate constant for you."
19516 msgstr ""
19517
19518 # type: =head2
19519 #: ../fish/guestfish-actions.pod:2434
19520 msgid "mknod-b"
19521 msgstr ""
19522
19523 # type: verbatim
19524 #: ../fish/guestfish-actions.pod:2436
19525 #, no-wrap
19526 msgid ""
19527 " mknod-b mode devmajor devminor path\n"
19528 "\n"
19529 msgstr ""
19530
19531 # type: textblock
19532 #: ../fish/guestfish-actions.pod:2438
19533 msgid ""
19534 "This call creates a block device node called C<path> with mode C<mode> and "
19535 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19536 "wrapper around C<mknod>."
19537 msgstr ""
19538
19539 # type: =head2
19540 #: ../fish/guestfish-actions.pod:2444
19541 msgid "mknod-c"
19542 msgstr ""
19543
19544 # type: verbatim
19545 #: ../fish/guestfish-actions.pod:2446
19546 #, no-wrap
19547 msgid ""
19548 " mknod-c mode devmajor devminor path\n"
19549 "\n"
19550 msgstr ""
19551
19552 # type: textblock
19553 #: ../fish/guestfish-actions.pod:2448
19554 msgid ""
19555 "This call creates a char device node called C<path> with mode C<mode> and "
19556 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19557 "wrapper around C<mknod>."
19558 msgstr ""
19559
19560 # type: =head2
19561 #: ../fish/guestfish-actions.pod:2454
19562 msgid "mkswap"
19563 msgstr ""
19564
19565 # type: verbatim
19566 #: ../fish/guestfish-actions.pod:2456
19567 #, no-wrap
19568 msgid ""
19569 " mkswap device\n"
19570 "\n"
19571 msgstr ""
19572
19573 # type: =head2
19574 #: ../fish/guestfish-actions.pod:2460
19575 msgid "mkswap-L"
19576 msgstr ""
19577
19578 # type: verbatim
19579 #: ../fish/guestfish-actions.pod:2462
19580 #, no-wrap
19581 msgid ""
19582 " mkswap-L label device\n"
19583 "\n"
19584 msgstr ""
19585
19586 # type: =head2
19587 #: ../fish/guestfish-actions.pod:2470
19588 msgid "mkswap-U"
19589 msgstr ""
19590
19591 # type: verbatim
19592 #: ../fish/guestfish-actions.pod:2472
19593 #, no-wrap
19594 msgid ""
19595 " mkswap-U uuid device\n"
19596 "\n"
19597 msgstr ""
19598
19599 # type: =head2
19600 #: ../fish/guestfish-actions.pod:2476
19601 msgid "mkswap-file"
19602 msgstr ""
19603
19604 # type: verbatim
19605 #: ../fish/guestfish-actions.pod:2478
19606 #, no-wrap
19607 msgid ""
19608 " mkswap-file path\n"
19609 "\n"
19610 msgstr ""
19611
19612 # type: textblock
19613 #: ../fish/guestfish-actions.pod:2482
19614 msgid ""
19615 "This command just writes a swap file signature to an existing file.  To "
19616 "create the file itself, use something like C<fallocate>."
19617 msgstr ""
19618
19619 # type: =head2
19620 #: ../fish/guestfish-actions.pod:2485
19621 msgid "modprobe"
19622 msgstr ""
19623
19624 # type: verbatim
19625 #: ../fish/guestfish-actions.pod:2487
19626 #, no-wrap
19627 msgid ""
19628 " modprobe modulename\n"
19629 "\n"
19630 msgstr ""
19631
19632 # type: =head2
19633 #: ../fish/guestfish-actions.pod:2494
19634 msgid "mount"
19635 msgstr ""
19636
19637 # type: verbatim
19638 #: ../fish/guestfish-actions.pod:2496
19639 #, no-wrap
19640 msgid ""
19641 " mount device mountpoint\n"
19642 "\n"
19643 msgstr ""
19644
19645 # type: textblock
19646 #: ../fish/guestfish-actions.pod:2512
19647 msgid ""
19648 "B<Important note:> When you use this call, the filesystem options C<sync> "
19649 "and C<noatime> are set implicitly.  This was originally done because we "
19650 "thought it would improve reliability, but it turns out that I<-o sync> has a "
19651 "very large negative performance impact and negligible effect on "
19652 "reliability.  Therefore we recommend that you avoid using C<mount> in any "
19653 "code that needs performance, and instead use C<mount-options> (use an empty "
19654 "string for the first parameter if you don't want any options)."
19655 msgstr ""
19656
19657 # type: =head2
19658 #: ../fish/guestfish-actions.pod:2522
19659 msgid "mount-loop"
19660 msgstr ""
19661
19662 # type: verbatim
19663 #: ../fish/guestfish-actions.pod:2524
19664 #, no-wrap
19665 msgid ""
19666 " mount-loop file mountpoint\n"
19667 "\n"
19668 msgstr ""
19669
19670 # type: =head2
19671 #: ../fish/guestfish-actions.pod:2530
19672 msgid "mount-options"
19673 msgstr ""
19674
19675 # type: verbatim
19676 #: ../fish/guestfish-actions.pod:2532
19677 #, no-wrap
19678 msgid ""
19679 " mount-options options device mountpoint\n"
19680 "\n"
19681 msgstr ""
19682
19683 # type: textblock
19684 #: ../fish/guestfish-actions.pod:2534
19685 msgid ""
19686 "This is the same as the C<mount> command, but it allows you to set the mount "
19687 "options as for the L<mount(8)> I<-o> flag."
19688 msgstr ""
19689
19690 # type: =head2
19691 #: ../fish/guestfish-actions.pod:2542
19692 msgid "mount-ro"
19693 msgstr ""
19694
19695 # type: verbatim
19696 #: ../fish/guestfish-actions.pod:2544
19697 #, no-wrap
19698 msgid ""
19699 " mount-ro device mountpoint\n"
19700 "\n"
19701 msgstr ""
19702
19703 # type: textblock
19704 #: ../fish/guestfish-actions.pod:2546
19705 msgid ""
19706 "This is the same as the C<mount> command, but it mounts the filesystem with "
19707 "the read-only (I<-o ro>) flag."
19708 msgstr ""
19709
19710 # type: =head2
19711 #: ../fish/guestfish-actions.pod:2549
19712 msgid "mount-vfs"
19713 msgstr ""
19714
19715 # type: verbatim
19716 #: ../fish/guestfish-actions.pod:2551
19717 #, no-wrap
19718 msgid ""
19719 " mount-vfs options vfstype device mountpoint\n"
19720 "\n"
19721 msgstr ""
19722
19723 # type: textblock
19724 #: ../fish/guestfish-actions.pod:2553
19725 msgid ""
19726 "This is the same as the C<mount> command, but it allows you to set both the "
19727 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
19728 msgstr ""
19729
19730 # type: =head2
19731 #: ../fish/guestfish-actions.pod:2557
19732 msgid "mountpoints"
19733 msgstr ""
19734
19735 # type: verbatim
19736 #: ../fish/guestfish-actions.pod:2559
19737 #, no-wrap
19738 msgid ""
19739 " mountpoints\n"
19740 "\n"
19741 msgstr ""
19742
19743 # type: textblock
19744 #: ../fish/guestfish-actions.pod:2561
19745 msgid ""
19746 "This call is similar to C<mounts>.  That call returns a list of devices.  "
19747 "This one returns a hash table (map) of device name to directory where the "
19748 "device is mounted."
19749 msgstr ""
19750
19751 # type: =head2
19752 #: ../fish/guestfish-actions.pod:2565
19753 msgid "mounts"
19754 msgstr ""
19755
19756 # type: verbatim
19757 #: ../fish/guestfish-actions.pod:2567
19758 #, no-wrap
19759 msgid ""
19760 " mounts\n"
19761 "\n"
19762 msgstr ""
19763
19764 # type: textblock
19765 #: ../fish/guestfish-actions.pod:2574
19766 msgid "See also: C<mountpoints>"
19767 msgstr ""
19768
19769 # type: =head2
19770 #: ../fish/guestfish-actions.pod:2576
19771 msgid "mv"
19772 msgstr ""
19773
19774 # type: verbatim
19775 #: ../fish/guestfish-actions.pod:2578
19776 #, no-wrap
19777 msgid ""
19778 " mv src dest\n"
19779 "\n"
19780 msgstr ""
19781
19782 # type: =head2
19783 #: ../fish/guestfish-actions.pod:2583
19784 msgid "ntfs-3g-probe"
19785 msgstr ""
19786
19787 # type: verbatim
19788 #: ../fish/guestfish-actions.pod:2585
19789 #, no-wrap
19790 msgid ""
19791 " ntfs-3g-probe true|false device\n"
19792 "\n"
19793 msgstr ""
19794
19795 # type: =head2
19796 #: ../fish/guestfish-actions.pod:2599
19797 msgid "ntfsresize"
19798 msgstr ""
19799
19800 # type: verbatim
19801 #: ../fish/guestfish-actions.pod:2601
19802 #, no-wrap
19803 msgid ""
19804 " ntfsresize device\n"
19805 "\n"
19806 msgstr ""
19807
19808 # type: =head2
19809 #: ../fish/guestfish-actions.pod:2607
19810 msgid "ntfsresize-size"
19811 msgstr ""
19812
19813 # type: verbatim
19814 #: ../fish/guestfish-actions.pod:2609
19815 #, no-wrap
19816 msgid ""
19817 " ntfsresize-size device size\n"
19818 "\n"
19819 msgstr ""
19820
19821 # type: textblock
19822 #: ../fish/guestfish-actions.pod:2611
19823 msgid ""
19824 "This command is the same as C<ntfsresize> except that it allows you to "
19825 "specify the new size (in bytes) explicitly."
19826 msgstr ""
19827
19828 # type: =head2
19829 #: ../fish/guestfish-actions.pod:2614
19830 msgid "part-add"
19831 msgstr ""
19832
19833 # type: verbatim
19834 #: ../fish/guestfish-actions.pod:2616
19835 #, no-wrap
19836 msgid ""
19837 " part-add device prlogex startsect endsect\n"
19838 "\n"
19839 msgstr ""
19840
19841 # type: textblock
19842 #: ../fish/guestfish-actions.pod:2618
19843 msgid ""
19844 "This command adds a partition to C<device>.  If there is no partition table "
19845 "on the device, call C<part-init> first."
19846 msgstr ""
19847
19848 # type: textblock
19849 #: ../fish/guestfish-actions.pod:2630
19850 msgid ""
19851 "Creating a partition which covers the whole disk is not so easy.  Use C<part-"
19852 "disk> to do that."
19853 msgstr ""
19854
19855 # type: =head2
19856 #: ../fish/guestfish-actions.pod:2633
19857 msgid "part-del"
19858 msgstr ""
19859
19860 # type: verbatim
19861 #: ../fish/guestfish-actions.pod:2635
19862 #, no-wrap
19863 msgid ""
19864 " part-del device partnum\n"
19865 "\n"
19866 msgstr ""
19867
19868 # type: =head2
19869 #: ../fish/guestfish-actions.pod:2643
19870 msgid "part-disk"
19871 msgstr ""
19872
19873 # type: verbatim
19874 #: ../fish/guestfish-actions.pod:2645
19875 #, no-wrap
19876 msgid ""
19877 " part-disk device parttype\n"
19878 "\n"
19879 msgstr ""
19880
19881 # type: textblock
19882 #: ../fish/guestfish-actions.pod:2647
19883 msgid ""
19884 "This command is simply a combination of C<part-init> followed by C<part-add> "
19885 "to create a single primary partition covering the whole disk."
19886 msgstr ""
19887
19888 # type: textblock
19889 #: ../fish/guestfish-actions.pod:2651
19890 msgid ""
19891 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
19892 "possible values are described in C<part-init>."
19893 msgstr ""
19894
19895 # type: =head2
19896 #: ../fish/guestfish-actions.pod:2657
19897 msgid "part-get-bootable"
19898 msgstr ""
19899
19900 # type: verbatim
19901 #: ../fish/guestfish-actions.pod:2659
19902 #, no-wrap
19903 msgid ""
19904 " part-get-bootable device partnum\n"
19905 "\n"
19906 msgstr ""
19907
19908 # type: textblock
19909 #: ../fish/guestfish-actions.pod:2664
19910 msgid "See also C<part-set-bootable>."
19911 msgstr ""
19912
19913 # type: =head2
19914 #: ../fish/guestfish-actions.pod:2666
19915 msgid "part-get-mbr-id"
19916 msgstr ""
19917
19918 # type: verbatim
19919 #: ../fish/guestfish-actions.pod:2668
19920 #, no-wrap
19921 msgid ""
19922 " part-get-mbr-id device partnum\n"
19923 "\n"
19924 msgstr ""
19925
19926 # type: textblock
19927 #: ../fish/guestfish-actions.pod:2673 ../fish/guestfish-actions.pod:2811
19928 msgid ""
19929 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
19930 "undefined results for other partition table types (see C<part-get-parttype>)."
19931 msgstr ""
19932
19933 # type: =head2
19934 #: ../fish/guestfish-actions.pod:2677
19935 msgid "part-get-parttype"
19936 msgstr ""
19937
19938 # type: verbatim
19939 #: ../fish/guestfish-actions.pod:2679
19940 #, no-wrap
19941 msgid ""
19942 " part-get-parttype device\n"
19943 "\n"
19944 msgstr ""
19945
19946 # type: textblock
19947 #: ../fish/guestfish-actions.pod:2684
19948 msgid ""
19949 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
19950 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
19951 "possible, although unusual.  See C<part-init> for a full list."
19952 msgstr ""
19953
19954 # type: =head2
19955 #: ../fish/guestfish-actions.pod:2689
19956 msgid "part-init"
19957 msgstr ""
19958
19959 # type: verbatim
19960 #: ../fish/guestfish-actions.pod:2691
19961 #, no-wrap
19962 msgid ""
19963 " part-init device parttype\n"
19964 "\n"
19965 msgstr ""
19966
19967 # type: textblock
19968 #: ../fish/guestfish-actions.pod:2697
19969 msgid ""
19970 "Initially there are no partitions.  Following this, you should call C<part-"
19971 "add> for each partition required."
19972 msgstr ""
19973
19974 # type: =head2
19975 #: ../fish/guestfish-actions.pod:2760
19976 msgid "part-list"
19977 msgstr ""
19978
19979 # type: verbatim
19980 #: ../fish/guestfish-actions.pod:2762
19981 #, no-wrap
19982 msgid ""
19983 " part-list device\n"
19984 "\n"
19985 msgstr ""
19986
19987 # type: textblock
19988 #: ../fish/guestfish-actions.pod:2777
19989 msgid ""
19990 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
19991 "the device's sector size, see C<blockdev-getss>."
19992 msgstr ""
19993
19994 # type: =head2
19995 #: ../fish/guestfish-actions.pod:2790
19996 msgid "part-set-bootable"
19997 msgstr ""
19998
19999 # type: verbatim
20000 #: ../fish/guestfish-actions.pod:2792
20001 #, no-wrap
20002 msgid ""
20003 " part-set-bootable device partnum true|false\n"
20004 "\n"
20005 msgstr ""
20006
20007 # type: =head2
20008 #: ../fish/guestfish-actions.pod:2801
20009 msgid "part-set-mbr-id"
20010 msgstr ""
20011
20012 # type: verbatim
20013 #: ../fish/guestfish-actions.pod:2803
20014 #, no-wrap
20015 msgid ""
20016 " part-set-mbr-id device partnum idbyte\n"
20017 "\n"
20018 msgstr ""
20019
20020 # type: =head2
20021 #: ../fish/guestfish-actions.pod:2815
20022 msgid "part-set-name"
20023 msgstr ""
20024
20025 # type: verbatim
20026 #: ../fish/guestfish-actions.pod:2817
20027 #, no-wrap
20028 msgid ""
20029 " part-set-name device partnum name\n"
20030 "\n"
20031 msgstr ""
20032
20033 # type: =head2
20034 #: ../fish/guestfish-actions.pod:2825
20035 msgid "ping-daemon"
20036 msgstr ""
20037
20038 # type: verbatim
20039 #: ../fish/guestfish-actions.pod:2827
20040 #, no-wrap
20041 msgid ""
20042 " ping-daemon\n"
20043 "\n"
20044 msgstr ""
20045
20046 # type: =head2
20047 #: ../fish/guestfish-actions.pod:2834
20048 msgid "pread"
20049 msgstr ""
20050
20051 # type: verbatim
20052 #: ../fish/guestfish-actions.pod:2836
20053 #, no-wrap
20054 msgid ""
20055 " pread path count offset\n"
20056 "\n"
20057 msgstr ""
20058
20059 # type: textblock
20060 #: ../fish/guestfish-actions.pod:2844
20061 msgid "See also C<pwrite>."
20062 msgstr ""
20063
20064 # type: =head2
20065 #: ../fish/guestfish-actions.pod:2849
20066 msgid "pvcreate"
20067 msgstr ""
20068
20069 # type: verbatim
20070 #: ../fish/guestfish-actions.pod:2851
20071 #, no-wrap
20072 msgid ""
20073 " pvcreate device\n"
20074 "\n"
20075 msgstr ""
20076
20077 # type: =head2
20078 #: ../fish/guestfish-actions.pod:2857
20079 msgid "pvremove"
20080 msgstr ""
20081
20082 # type: verbatim
20083 #: ../fish/guestfish-actions.pod:2859
20084 #, no-wrap
20085 msgid ""
20086 " pvremove device\n"
20087 "\n"
20088 msgstr ""
20089
20090 # type: =head2
20091 #: ../fish/guestfish-actions.pod:2868
20092 msgid "pvresize"
20093 msgstr ""
20094
20095 # type: verbatim
20096 #: ../fish/guestfish-actions.pod:2870
20097 #, no-wrap
20098 msgid ""
20099 " pvresize device\n"
20100 "\n"
20101 msgstr ""
20102
20103 # type: =head2
20104 #: ../fish/guestfish-actions.pod:2875
20105 msgid "pvresize-size"
20106 msgstr ""
20107
20108 # type: verbatim
20109 #: ../fish/guestfish-actions.pod:2877
20110 #, no-wrap
20111 msgid ""
20112 " pvresize-size device size\n"
20113 "\n"
20114 msgstr ""
20115
20116 # type: textblock
20117 #: ../fish/guestfish-actions.pod:2879
20118 msgid ""
20119 "This command is the same as C<pvresize> except that it allows you to specify "
20120 "the new size (in bytes) explicitly."
20121 msgstr ""
20122
20123 # type: =head2
20124 #: ../fish/guestfish-actions.pod:2882
20125 msgid "pvs"
20126 msgstr ""
20127
20128 # type: verbatim
20129 #: ../fish/guestfish-actions.pod:2884
20130 #, no-wrap
20131 msgid ""
20132 " pvs\n"
20133 "\n"
20134 msgstr ""
20135
20136 # type: textblock
20137 #: ../fish/guestfish-actions.pod:2892
20138 msgid "See also C<pvs-full>."
20139 msgstr ""
20140
20141 # type: =head2
20142 #: ../fish/guestfish-actions.pod:2894
20143 msgid "pvs-full"
20144 msgstr ""
20145
20146 # type: verbatim
20147 #: ../fish/guestfish-actions.pod:2896
20148 #, no-wrap
20149 msgid ""
20150 " pvs-full\n"
20151 "\n"
20152 msgstr ""
20153
20154 # type: =head2
20155 #: ../fish/guestfish-actions.pod:2901
20156 msgid "pvuuid"
20157 msgstr ""
20158
20159 # type: verbatim
20160 #: ../fish/guestfish-actions.pod:2903
20161 #, no-wrap
20162 msgid ""
20163 " pvuuid device\n"
20164 "\n"
20165 msgstr ""
20166
20167 # type: =head2
20168 #: ../fish/guestfish-actions.pod:2907
20169 msgid "pwrite"
20170 msgstr ""
20171
20172 # type: verbatim
20173 #: ../fish/guestfish-actions.pod:2909
20174 #, no-wrap
20175 msgid ""
20176 " pwrite path content offset\n"
20177 "\n"
20178 msgstr ""
20179
20180 # type: textblock
20181 #: ../fish/guestfish-actions.pod:2920
20182 msgid "See also C<pread>."
20183 msgstr ""
20184
20185 # type: =head2
20186 #: ../fish/guestfish-actions.pod:2925
20187 msgid "read-file"
20188 msgstr ""
20189
20190 # type: verbatim
20191 #: ../fish/guestfish-actions.pod:2927
20192 #, no-wrap
20193 msgid ""
20194 " read-file path\n"
20195 "\n"
20196 msgstr ""
20197
20198 # type: textblock
20199 #: ../fish/guestfish-actions.pod:2932
20200 msgid ""
20201 "Unlike C<cat>, this function can correctly handle files that contain "
20202 "embedded ASCII NUL characters.  However unlike C<download>, this function is "
20203 "limited in the total size of file that can be handled."
20204 msgstr ""
20205
20206 # type: =head2
20207 #: ../fish/guestfish-actions.pod:2940
20208 msgid "read-lines"
20209 msgstr ""
20210
20211 # type: verbatim
20212 #: ../fish/guestfish-actions.pod:2942
20213 #, no-wrap
20214 msgid ""
20215 " read-lines path\n"
20216 "\n"
20217 msgstr ""
20218
20219 # type: textblock
20220 #: ../fish/guestfish-actions.pod:2949
20221 msgid ""
20222 "Note that this function cannot correctly handle binary files (specifically, "
20223 "files containing C<\\0> character which is treated as end of line).  For "
20224 "those you need to use the C<read-file> function which has a more complex "
20225 "interface."
20226 msgstr ""
20227
20228 # type: =head2
20229 #: ../fish/guestfish-actions.pod:2954
20230 msgid "readdir"
20231 msgstr ""
20232
20233 # type: verbatim
20234 #: ../fish/guestfish-actions.pod:2956
20235 #, no-wrap
20236 msgid ""
20237 " readdir dir\n"
20238 "\n"
20239 msgstr ""
20240
20241 # type: textblock
20242 #: ../fish/guestfish-actions.pod:3008
20243 msgid ""
20244 "This function is primarily intended for use by programs.  To get a simple "
20245 "list of names, use C<ls>.  To get a printable directory for human "
20246 "consumption, use C<ll>."
20247 msgstr ""
20248
20249 # type: =head2
20250 #: ../fish/guestfish-actions.pod:3012
20251 msgid "readlink"
20252 msgstr ""
20253
20254 # type: verbatim
20255 #: ../fish/guestfish-actions.pod:3014
20256 #, no-wrap
20257 msgid ""
20258 " readlink path\n"
20259 "\n"
20260 msgstr ""
20261
20262 # type: =head2
20263 #: ../fish/guestfish-actions.pod:3018
20264 msgid "readlinklist"
20265 msgstr ""
20266
20267 # type: verbatim
20268 #: ../fish/guestfish-actions.pod:3020
20269 #, no-wrap
20270 msgid ""
20271 " readlinklist path 'names ...'\n"
20272 "\n"
20273 msgstr ""
20274
20275 # type: =head2
20276 #: ../fish/guestfish-actions.pod:3044
20277 msgid "realpath"
20278 msgstr ""
20279
20280 # type: verbatim
20281 #: ../fish/guestfish-actions.pod:3046
20282 #, no-wrap
20283 msgid ""
20284 " realpath path\n"
20285 "\n"
20286 msgstr ""
20287
20288 # type: =head2
20289 #: ../fish/guestfish-actions.pod:3051
20290 msgid "removexattr"
20291 msgstr ""
20292
20293 # type: verbatim
20294 #: ../fish/guestfish-actions.pod:3053
20295 #, no-wrap
20296 msgid ""
20297 " removexattr xattr path\n"
20298 "\n"
20299 msgstr ""
20300
20301 # type: textblock
20302 #: ../fish/guestfish-actions.pod:3058
20303 msgid "See also: C<lremovexattr>, L<attr(5)>."
20304 msgstr ""
20305
20306 # type: =head2
20307 #: ../fish/guestfish-actions.pod:3060
20308 msgid "resize2fs"
20309 msgstr ""
20310
20311 # type: verbatim
20312 #: ../fish/guestfish-actions.pod:3062
20313 #, no-wrap
20314 msgid ""
20315 " resize2fs device\n"
20316 "\n"
20317 msgstr ""
20318
20319 # type: textblock
20320 #: ../fish/guestfish-actions.pod:3067
20321 msgid ""
20322 "I<Note:> It is sometimes required that you run C<e2fsck-f> on the C<device> "
20323 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
20324 "gives an error about this and sometimes not.  In any case, it is always safe "
20325 "to call C<e2fsck-f> before calling this function."
20326 msgstr ""
20327
20328 # type: =head2
20329 #: ../fish/guestfish-actions.pod:3073
20330 msgid "resize2fs-size"
20331 msgstr ""
20332
20333 # type: verbatim
20334 #: ../fish/guestfish-actions.pod:3075
20335 #, no-wrap
20336 msgid ""
20337 " resize2fs-size device size\n"
20338 "\n"
20339 msgstr ""
20340
20341 # type: textblock
20342 #: ../fish/guestfish-actions.pod:3077
20343 msgid ""
20344 "This command is the same as C<resize2fs> except that it allows you to "
20345 "specify the new size (in bytes) explicitly."
20346 msgstr ""
20347
20348 # type: =head2
20349 #: ../fish/guestfish-actions.pod:3080
20350 msgid "rm"
20351 msgstr ""
20352
20353 # type: verbatim
20354 #: ../fish/guestfish-actions.pod:3082
20355 #, no-wrap
20356 msgid ""
20357 " rm path\n"
20358 "\n"
20359 msgstr ""
20360
20361 # type: =head2
20362 #: ../fish/guestfish-actions.pod:3086
20363 msgid "rm-rf"
20364 msgstr ""
20365
20366 # type: verbatim
20367 #: ../fish/guestfish-actions.pod:3088
20368 #, no-wrap
20369 msgid ""
20370 " rm-rf path\n"
20371 "\n"
20372 msgstr ""
20373
20374 # type: =head2
20375 #: ../fish/guestfish-actions.pod:3094
20376 msgid "rmdir"
20377 msgstr ""
20378
20379 # type: verbatim
20380 #: ../fish/guestfish-actions.pod:3096
20381 #, no-wrap
20382 msgid ""
20383 " rmdir path\n"
20384 "\n"
20385 msgstr ""
20386
20387 # type: =head2
20388 #: ../fish/guestfish-actions.pod:3100
20389 msgid "rmmountpoint"
20390 msgstr ""
20391
20392 # type: verbatim
20393 #: ../fish/guestfish-actions.pod:3102
20394 #, no-wrap
20395 msgid ""
20396 " rmmountpoint exemptpath\n"
20397 "\n"
20398 msgstr ""
20399
20400 # type: textblock
20401 #: ../fish/guestfish-actions.pod:3104
20402 msgid ""
20403 "This calls removes a mountpoint that was previously created with "
20404 "C<mkmountpoint>.  See C<mkmountpoint> for full details."
20405 msgstr ""
20406
20407 # type: =head2
20408 #: ../fish/guestfish-actions.pod:3108
20409 msgid "scrub-device"
20410 msgstr ""
20411
20412 # type: verbatim
20413 #: ../fish/guestfish-actions.pod:3110
20414 #, no-wrap
20415 msgid ""
20416 " scrub-device device\n"
20417 "\n"
20418 msgstr ""
20419
20420 # type: =head2
20421 #: ../fish/guestfish-actions.pod:3121
20422 msgid "scrub-file"
20423 msgstr ""
20424
20425 # type: verbatim
20426 #: ../fish/guestfish-actions.pod:3123
20427 #, no-wrap
20428 msgid ""
20429 " scrub-file file\n"
20430 "\n"
20431 msgstr ""
20432
20433 # type: =head2
20434 #: ../fish/guestfish-actions.pod:3133
20435 msgid "scrub-freespace"
20436 msgstr ""
20437
20438 # type: verbatim
20439 #: ../fish/guestfish-actions.pod:3135
20440 #, no-wrap
20441 msgid ""
20442 " scrub-freespace dir\n"
20443 "\n"
20444 msgstr ""
20445
20446 # type: textblock
20447 #: ../fish/guestfish-actions.pod:3137
20448 msgid ""
20449 "This command creates the directory C<dir> and then fills it with files until "
20450 "the filesystem is full, and scrubs the files as for C<scrub-file>, and "
20451 "deletes them.  The intention is to scrub any free space on the partition "
20452 "containing C<dir>."
20453 msgstr ""
20454
20455 # type: =head2
20456 #: ../fish/guestfish-actions.pod:3146
20457 msgid "set-append | append"
20458 msgstr ""
20459
20460 # type: verbatim
20461 #: ../fish/guestfish-actions.pod:3148
20462 #, no-wrap
20463 msgid ""
20464 " set-append append\n"
20465 "\n"
20466 msgstr ""
20467
20468 # type: =head2
20469 #: ../fish/guestfish-actions.pod:3159
20470 msgid "set-autosync | autosync"
20471 msgstr ""
20472
20473 # type: verbatim
20474 #: ../fish/guestfish-actions.pod:3161
20475 #, no-wrap
20476 msgid ""
20477 " set-autosync true|false\n"
20478 "\n"
20479 msgstr ""
20480
20481 # type: textblock
20482 #: ../fish/guestfish-actions.pod:3163
20483 msgid ""
20484 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20485 "effort attempt to run C<umount-all> followed by C<sync> when the handle is "
20486 "closed (also if the program exits without closing handles)."
20487 msgstr ""
20488
20489 # type: =head2
20490 #: ../fish/guestfish-actions.pod:3171
20491 msgid "set-direct | direct"
20492 msgstr ""
20493
20494 # type: verbatim
20495 #: ../fish/guestfish-actions.pod:3173
20496 #, no-wrap
20497 msgid ""
20498 " set-direct true|false\n"
20499 "\n"
20500 msgstr ""
20501
20502 # type: textblock
20503 #: ../fish/guestfish-actions.pod:3179
20504 msgid ""
20505 "One consequence of this is that log messages aren't caught by the library "
20506 "and handled by C<set-log-message-callback>, but go straight to stdout."
20507 msgstr ""
20508
20509 # type: =head2
20510 #: ../fish/guestfish-actions.pod:3188
20511 msgid "set-e2label"
20512 msgstr ""
20513
20514 # type: verbatim
20515 #: ../fish/guestfish-actions.pod:3190
20516 #, no-wrap
20517 msgid ""
20518 " set-e2label device label\n"
20519 "\n"
20520 msgstr ""
20521
20522 # type: textblock
20523 #: ../fish/guestfish-actions.pod:3196
20524 msgid ""
20525 "You can use either C<tune2fs-l> or C<get-e2label> to return the existing "
20526 "label on a filesystem."
20527 msgstr ""
20528
20529 # type: =head2
20530 #: ../fish/guestfish-actions.pod:3199
20531 msgid "set-e2uuid"
20532 msgstr ""
20533
20534 # type: verbatim
20535 #: ../fish/guestfish-actions.pod:3201
20536 #, no-wrap
20537 msgid ""
20538 " set-e2uuid device uuid\n"
20539 "\n"
20540 msgstr ""
20541
20542 # type: textblock
20543 #: ../fish/guestfish-actions.pod:3208
20544 msgid ""
20545 "You can use either C<tune2fs-l> or C<get-e2uuid> to return the existing UUID "
20546 "of a filesystem."
20547 msgstr ""
20548
20549 # type: =head2
20550 #: ../fish/guestfish-actions.pod:3211
20551 msgid "set-memsize | memsize"
20552 msgstr ""
20553
20554 # type: verbatim
20555 #: ../fish/guestfish-actions.pod:3213
20556 #, no-wrap
20557 msgid ""
20558 " set-memsize memsize\n"
20559 "\n"
20560 msgstr ""
20561
20562 # type: textblock
20563 #: ../fish/guestfish-actions.pod:3215
20564 msgid ""
20565 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
20566 "This only has any effect if called before C<launch>."
20567 msgstr ""
20568
20569 # type: =head2
20570 #: ../fish/guestfish-actions.pod:3226
20571 msgid "set-network | network"
20572 msgstr ""
20573
20574 # type: verbatim
20575 #: ../fish/guestfish-actions.pod:3228
20576 #, no-wrap
20577 msgid ""
20578 " set-network true|false\n"
20579 "\n"
20580 msgstr ""
20581
20582 # type: textblock
20583 #: ../fish/guestfish-actions.pod:3236
20584 msgid ""
20585 "You must call this before calling C<launch>, otherwise it has no effect."
20586 msgstr ""
20587
20588 # type: =head2
20589 #: ../fish/guestfish-actions.pod:3239
20590 msgid "set-path | path"
20591 msgstr ""
20592
20593 # type: verbatim
20594 #: ../fish/guestfish-actions.pod:3241
20595 #, no-wrap
20596 msgid ""
20597 " set-path searchpath\n"
20598 "\n"
20599 msgstr ""
20600
20601 # type: =head2
20602 #: ../fish/guestfish-actions.pod:3250
20603 msgid "set-qemu | qemu"
20604 msgstr ""
20605
20606 # type: verbatim
20607 #: ../fish/guestfish-actions.pod:3252
20608 #, no-wrap
20609 msgid ""
20610 " set-qemu qemu\n"
20611 "\n"
20612 msgstr ""
20613
20614 # type: =head2
20615 #: ../fish/guestfish-actions.pod:3272
20616 msgid "set-recovery-proc | recovery-proc"
20617 msgstr ""
20618
20619 # type: verbatim
20620 #: ../fish/guestfish-actions.pod:3274
20621 #, no-wrap
20622 msgid ""
20623 " set-recovery-proc true|false\n"
20624 "\n"
20625 msgstr ""
20626
20627 # type: textblock
20628 #: ../fish/guestfish-actions.pod:3276
20629 msgid ""
20630 "If this is called with the parameter C<false> then C<launch> does not create "
20631 "a recovery process.  The purpose of the recovery process is to stop runaway "
20632 "qemu processes in the case where the main program aborts abruptly."
20633 msgstr ""
20634
20635 # type: textblock
20636 #: ../fish/guestfish-actions.pod:3281
20637 msgid ""
20638 "This only has any effect if called before C<launch>, and the default is true."
20639 msgstr ""
20640
20641 # type: =head2
20642 #: ../fish/guestfish-actions.pod:3290
20643 msgid "set-selinux | selinux"
20644 msgstr ""
20645
20646 # type: verbatim
20647 #: ../fish/guestfish-actions.pod:3292
20648 #, no-wrap
20649 msgid ""
20650 " set-selinux true|false\n"
20651 "\n"
20652 msgstr ""
20653
20654 # type: =head2
20655 #: ../fish/guestfish-actions.pod:3303
20656 msgid "set-trace | trace"
20657 msgstr ""
20658
20659 # type: verbatim
20660 #: ../fish/guestfish-actions.pod:3305
20661 #, no-wrap
20662 msgid ""
20663 " set-trace true|false\n"
20664 "\n"
20665 msgstr ""
20666
20667 # type: =head2
20668 #: ../fish/guestfish-actions.pod:3321
20669 msgid "set-verbose | verbose"
20670 msgstr ""
20671
20672 # type: verbatim
20673 #: ../fish/guestfish-actions.pod:3323
20674 #, no-wrap
20675 msgid ""
20676 " set-verbose true|false\n"
20677 "\n"
20678 msgstr ""
20679
20680 # type: =head2
20681 #: ../fish/guestfish-actions.pod:3330
20682 msgid "setcon"
20683 msgstr ""
20684
20685 # type: verbatim
20686 #: ../fish/guestfish-actions.pod:3332
20687 #, no-wrap
20688 msgid ""
20689 " setcon context\n"
20690 "\n"
20691 msgstr ""
20692
20693 # type: =head2
20694 #: ../fish/guestfish-actions.pod:3339
20695 msgid "setxattr"
20696 msgstr ""
20697
20698 # type: verbatim
20699 #: ../fish/guestfish-actions.pod:3341
20700 #, no-wrap
20701 msgid ""
20702 " setxattr xattr val vallen path\n"
20703 "\n"
20704 msgstr ""
20705
20706 # type: textblock
20707 #: ../fish/guestfish-actions.pod:3347
20708 msgid "See also: C<lsetxattr>, L<attr(5)>."
20709 msgstr ""
20710
20711 # type: =head2
20712 #: ../fish/guestfish-actions.pod:3349
20713 msgid "sfdisk"
20714 msgstr ""
20715
20716 # type: verbatim
20717 #: ../fish/guestfish-actions.pod:3351
20718 #, no-wrap
20719 msgid ""
20720 " sfdisk device cyls heads sectors 'lines ...'\n"
20721 "\n"
20722 msgstr ""
20723
20724 # type: textblock
20725 #: ../fish/guestfish-actions.pod:3373
20726 msgid "See also: C<sfdisk-l>, C<sfdisk-N>, C<part-init>"
20727 msgstr ""
20728
20729 # type: =head2
20730 #: ../fish/guestfish-actions.pod:3379
20731 msgid "sfdiskM"
20732 msgstr ""
20733
20734 # type: verbatim
20735 #: ../fish/guestfish-actions.pod:3381
20736 #, no-wrap
20737 msgid ""
20738 " sfdiskM device 'lines ...'\n"
20739 "\n"
20740 msgstr ""
20741
20742 # type: textblock
20743 #: ../fish/guestfish-actions.pod:3383
20744 msgid ""
20745 "This is a simplified interface to the C<sfdisk> command, where partition "
20746 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
20747 "you don't need to specify the cyls, heads and sectors parameters which were "
20748 "rarely if ever used anyway."
20749 msgstr ""
20750
20751 # type: textblock
20752 #: ../fish/guestfish-actions.pod:3389
20753 msgid "See also: C<sfdisk>, the L<sfdisk(8)> manpage and C<part-disk>"
20754 msgstr ""
20755
20756 # type: =head2
20757 #: ../fish/guestfish-actions.pod:3395
20758 msgid "sfdisk-N"
20759 msgstr ""
20760
20761 # type: verbatim
20762 #: ../fish/guestfish-actions.pod:3397
20763 #, no-wrap
20764 msgid ""
20765 " sfdisk-N device partnum cyls heads sectors line\n"
20766 "\n"
20767 msgstr ""
20768
20769 # type: textblock
20770 #: ../fish/guestfish-actions.pod:3402
20771 msgid ""
20772 "For other parameters, see C<sfdisk>.  You should usually pass C<0> for the "
20773 "cyls/heads/sectors parameters."
20774 msgstr ""
20775
20776 # type: textblock
20777 #: ../fish/guestfish-actions.pod:3405
20778 msgid "See also: C<part-add>"
20779 msgstr ""
20780
20781 # type: =head2
20782 #: ../fish/guestfish-actions.pod:3410
20783 msgid "sfdisk-disk-geometry"
20784 msgstr ""
20785
20786 # type: verbatim
20787 #: ../fish/guestfish-actions.pod:3412
20788 #, no-wrap
20789 msgid ""
20790 " sfdisk-disk-geometry device\n"
20791 "\n"
20792 msgstr ""
20793
20794 # type: textblock
20795 #: ../fish/guestfish-actions.pod:3414
20796 msgid ""
20797 "This displays the disk geometry of C<device> read from the partition table.  "
20798 "Especially in the case where the underlying block device has been resized, "
20799 "this can be different from the kernel's idea of the geometry (see C<sfdisk-"
20800 "kernel-geometry>)."
20801 msgstr ""
20802
20803 # type: =head2
20804 #: ../fish/guestfish-actions.pod:3422
20805 msgid "sfdisk-kernel-geometry"
20806 msgstr ""
20807
20808 # type: verbatim
20809 #: ../fish/guestfish-actions.pod:3424
20810 #, no-wrap
20811 msgid ""
20812 " sfdisk-kernel-geometry device\n"
20813 "\n"
20814 msgstr ""
20815
20816 # type: =head2
20817 #: ../fish/guestfish-actions.pod:3431
20818 msgid "sfdisk-l"
20819 msgstr ""
20820
20821 # type: verbatim
20822 #: ../fish/guestfish-actions.pod:3433
20823 #, no-wrap
20824 msgid ""
20825 " sfdisk-l device\n"
20826 "\n"
20827 msgstr ""
20828
20829 # type: textblock
20830 #: ../fish/guestfish-actions.pod:3439
20831 msgid "See also: C<part-list>"
20832 msgstr ""
20833
20834 # type: =head2
20835 #: ../fish/guestfish-actions.pod:3441
20836 msgid "sh"
20837 msgstr ""
20838
20839 # type: verbatim
20840 #: ../fish/guestfish-actions.pod:3443
20841 #, no-wrap
20842 msgid ""
20843 " sh command\n"
20844 "\n"
20845 msgstr ""
20846
20847 # type: textblock
20848 #: ../fish/guestfish-actions.pod:3448
20849 msgid "This is like C<command>, but passes the command to:"
20850 msgstr ""
20851
20852 # type: textblock
20853 #: ../fish/guestfish-actions.pod:3456
20854 msgid "All the provisos about C<command> apply to this call."
20855 msgstr ""
20856
20857 # type: =head2
20858 #: ../fish/guestfish-actions.pod:3458
20859 msgid "sh-lines"
20860 msgstr ""
20861
20862 # type: verbatim
20863 #: ../fish/guestfish-actions.pod:3460
20864 #, no-wrap
20865 msgid ""
20866 " sh-lines command\n"
20867 "\n"
20868 msgstr ""
20869
20870 # type: textblock
20871 #: ../fish/guestfish-actions.pod:3462
20872 msgid "This is the same as C<sh>, but splits the result into a list of lines."
20873 msgstr ""
20874
20875 # type: textblock
20876 #: ../fish/guestfish-actions.pod:3465
20877 msgid "See also: C<command-lines>"
20878 msgstr ""
20879
20880 # type: =head2
20881 #: ../fish/guestfish-actions.pod:3467
20882 msgid "sleep"
20883 msgstr ""
20884
20885 # type: verbatim
20886 #: ../fish/guestfish-actions.pod:3469
20887 #, no-wrap
20888 msgid ""
20889 " sleep secs\n"
20890 "\n"
20891 msgstr ""
20892
20893 # type: =head2
20894 #: ../fish/guestfish-actions.pod:3473
20895 msgid "stat"
20896 msgstr ""
20897
20898 # type: verbatim
20899 #: ../fish/guestfish-actions.pod:3475
20900 #, no-wrap
20901 msgid ""
20902 " stat path\n"
20903 "\n"
20904 msgstr ""
20905
20906 # type: =head2
20907 #: ../fish/guestfish-actions.pod:3481
20908 msgid "statvfs"
20909 msgstr ""
20910
20911 # type: verbatim
20912 #: ../fish/guestfish-actions.pod:3483
20913 #, no-wrap
20914 msgid ""
20915 " statvfs path\n"
20916 "\n"
20917 msgstr ""
20918
20919 # type: =head2
20920 #: ../fish/guestfish-actions.pod:3491
20921 msgid "strings"
20922 msgstr ""
20923
20924 # type: verbatim
20925 #: ../fish/guestfish-actions.pod:3493
20926 #, no-wrap
20927 msgid ""
20928 " strings path\n"
20929 "\n"
20930 msgstr ""
20931
20932 # type: =head2
20933 #: ../fish/guestfish-actions.pod:3501
20934 msgid "strings-e"
20935 msgstr ""
20936
20937 # type: verbatim
20938 #: ../fish/guestfish-actions.pod:3503
20939 #, no-wrap
20940 msgid ""
20941 " strings-e encoding path\n"
20942 "\n"
20943 msgstr ""
20944
20945 # type: textblock
20946 #: ../fish/guestfish-actions.pod:3505
20947 msgid ""
20948 "This is like the C<strings> command, but allows you to specify the encoding "
20949 "of strings that are looked for in the source file C<path>."
20950 msgstr ""
20951
20952 # type: textblock
20953 #: ../fish/guestfish-actions.pod:3515
20954 msgid ""
20955 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
20956 "ISO-8859-X (this is what C<strings> uses)."
20957 msgstr ""
20958
20959 # type: =head2
20960 #: ../fish/guestfish-actions.pod:3547
20961 msgid "swapoff-device"
20962 msgstr ""
20963
20964 # type: verbatim
20965 #: ../fish/guestfish-actions.pod:3549
20966 #, no-wrap
20967 msgid ""
20968 " swapoff-device device\n"
20969 "\n"
20970 msgstr ""
20971
20972 # type: textblock
20973 #: ../fish/guestfish-actions.pod:3551
20974 msgid ""
20975 "This command disables the libguestfs appliance swap device or partition "
20976 "named C<device>.  See C<swapon-device>."
20977 msgstr ""
20978
20979 # type: =head2
20980 #: ../fish/guestfish-actions.pod:3555
20981 msgid "swapoff-file"
20982 msgstr ""
20983
20984 # type: verbatim
20985 #: ../fish/guestfish-actions.pod:3557
20986 #, no-wrap
20987 msgid ""
20988 " swapoff-file file\n"
20989 "\n"
20990 msgstr ""
20991
20992 # type: =head2
20993 #: ../fish/guestfish-actions.pod:3561
20994 msgid "swapoff-label"
20995 msgstr ""
20996
20997 # type: verbatim
20998 #: ../fish/guestfish-actions.pod:3563
20999 #, no-wrap
21000 msgid ""
21001 " swapoff-label label\n"
21002 "\n"
21003 msgstr ""
21004
21005 # type: =head2
21006 #: ../fish/guestfish-actions.pod:3568
21007 msgid "swapoff-uuid"
21008 msgstr ""
21009
21010 # type: verbatim
21011 #: ../fish/guestfish-actions.pod:3570
21012 #, no-wrap
21013 msgid ""
21014 " swapoff-uuid uuid\n"
21015 "\n"
21016 msgstr ""
21017
21018 # type: =head2
21019 #: ../fish/guestfish-actions.pod:3575
21020 msgid "swapon-device"
21021 msgstr ""
21022
21023 # type: verbatim
21024 #: ../fish/guestfish-actions.pod:3577
21025 #, no-wrap
21026 msgid ""
21027 " swapon-device device\n"
21028 "\n"
21029 msgstr ""
21030
21031 # type: textblock
21032 #: ../fish/guestfish-actions.pod:3579
21033 msgid ""
21034 "This command enables the libguestfs appliance to use the swap device or "
21035 "partition named C<device>.  The increased memory is made available for all "
21036 "commands, for example those run using C<command> or C<sh>."
21037 msgstr ""
21038
21039 # type: =head2
21040 #: ../fish/guestfish-actions.pod:3591
21041 msgid "swapon-file"
21042 msgstr ""
21043
21044 # type: verbatim
21045 #: ../fish/guestfish-actions.pod:3593
21046 #, no-wrap
21047 msgid ""
21048 " swapon-file file\n"
21049 "\n"
21050 msgstr ""
21051
21052 # type: textblock
21053 #: ../fish/guestfish-actions.pod:3595
21054 msgid ""
21055 "This command enables swap to a file.  See C<swapon-device> for other notes."
21056 msgstr ""
21057
21058 # type: =head2
21059 #: ../fish/guestfish-actions.pod:3598
21060 msgid "swapon-label"
21061 msgstr ""
21062
21063 # type: verbatim
21064 #: ../fish/guestfish-actions.pod:3600
21065 #, no-wrap
21066 msgid ""
21067 " swapon-label label\n"
21068 "\n"
21069 msgstr ""
21070
21071 # type: textblock
21072 #: ../fish/guestfish-actions.pod:3602
21073 msgid ""
21074 "This command enables swap to a labeled swap partition.  See C<swapon-device> "
21075 "for other notes."
21076 msgstr ""
21077
21078 # type: =head2
21079 #: ../fish/guestfish-actions.pod:3605
21080 msgid "swapon-uuid"
21081 msgstr ""
21082
21083 # type: verbatim
21084 #: ../fish/guestfish-actions.pod:3607
21085 #, no-wrap
21086 msgid ""
21087 " swapon-uuid uuid\n"
21088 "\n"
21089 msgstr ""
21090
21091 # type: textblock
21092 #: ../fish/guestfish-actions.pod:3609
21093 msgid ""
21094 "This command enables swap to a swap partition with the given UUID.  See "
21095 "C<swapon-device> for other notes."
21096 msgstr ""
21097
21098 # type: =head2
21099 #: ../fish/guestfish-actions.pod:3612
21100 msgid "sync"
21101 msgstr ""
21102
21103 # type: verbatim
21104 #: ../fish/guestfish-actions.pod:3614
21105 #, no-wrap
21106 msgid ""
21107 " sync\n"
21108 "\n"
21109 msgstr ""
21110
21111 # type: =head2
21112 #: ../fish/guestfish-actions.pod:3622
21113 msgid "tail"
21114 msgstr ""
21115
21116 # type: verbatim
21117 #: ../fish/guestfish-actions.pod:3624
21118 #, no-wrap
21119 msgid ""
21120 " tail path\n"
21121 "\n"
21122 msgstr ""
21123
21124 # type: =head2
21125 #: ../fish/guestfish-actions.pod:3632
21126 msgid "tail-n"
21127 msgstr ""
21128
21129 # type: verbatim
21130 #: ../fish/guestfish-actions.pod:3634
21131 #, no-wrap
21132 msgid ""
21133 " tail-n nrlines path\n"
21134 "\n"
21135 msgstr ""
21136
21137 # type: =head2
21138 #: ../fish/guestfish-actions.pod:3647
21139 msgid "tar-in"
21140 msgstr ""
21141
21142 # type: verbatim
21143 #: ../fish/guestfish-actions.pod:3649
21144 #, no-wrap
21145 msgid ""
21146 " tar-in (tarfile|-) directory\n"
21147 "\n"
21148 msgstr ""
21149
21150 # type: textblock
21151 #: ../fish/guestfish-actions.pod:3654
21152 msgid "To upload a compressed tarball, use C<tgz-in> or C<txz-in>."
21153 msgstr ""
21154
21155 # type: =head2
21156 #: ../fish/guestfish-actions.pod:3659
21157 msgid "tar-out"
21158 msgstr ""
21159
21160 # type: verbatim
21161 #: ../fish/guestfish-actions.pod:3661
21162 #, no-wrap
21163 msgid ""
21164 " tar-out directory (tarfile|-)\n"
21165 "\n"
21166 msgstr ""
21167
21168 # type: textblock
21169 #: ../fish/guestfish-actions.pod:3666
21170 msgid "To download a compressed tarball, use C<tgz-out> or C<txz-out>."
21171 msgstr ""
21172
21173 # type: =head2
21174 #: ../fish/guestfish-actions.pod:3671
21175 msgid "tgz-in"
21176 msgstr ""
21177
21178 # type: verbatim
21179 #: ../fish/guestfish-actions.pod:3673
21180 #, no-wrap
21181 msgid ""
21182 " tgz-in (tarball|-) directory\n"
21183 "\n"
21184 msgstr ""
21185
21186 # type: textblock
21187 #: ../fish/guestfish-actions.pod:3678
21188 msgid "To upload an uncompressed tarball, use C<tar-in>."
21189 msgstr ""
21190
21191 # type: =head2
21192 #: ../fish/guestfish-actions.pod:3682
21193 msgid "tgz-out"
21194 msgstr ""
21195
21196 # type: verbatim
21197 #: ../fish/guestfish-actions.pod:3684
21198 #, no-wrap
21199 msgid ""
21200 " tgz-out directory (tarball|-)\n"
21201 "\n"
21202 msgstr ""
21203
21204 # type: textblock
21205 #: ../fish/guestfish-actions.pod:3689
21206 msgid "To download an uncompressed tarball, use C<tar-out>."
21207 msgstr ""
21208
21209 # type: =head2
21210 #: ../fish/guestfish-actions.pod:3693
21211 msgid "touch"
21212 msgstr ""
21213
21214 # type: verbatim
21215 #: ../fish/guestfish-actions.pod:3695
21216 #, no-wrap
21217 msgid ""
21218 " touch path\n"
21219 "\n"
21220 msgstr ""
21221
21222 # type: =head2
21223 #: ../fish/guestfish-actions.pod:3704
21224 msgid "truncate"
21225 msgstr ""
21226
21227 # type: verbatim
21228 #: ../fish/guestfish-actions.pod:3706
21229 #, no-wrap
21230 msgid ""
21231 " truncate path\n"
21232 "\n"
21233 msgstr ""
21234
21235 # type: =head2
21236 #: ../fish/guestfish-actions.pod:3711
21237 msgid "truncate-size"
21238 msgstr ""
21239
21240 # type: verbatim
21241 #: ../fish/guestfish-actions.pod:3713
21242 #, no-wrap
21243 msgid ""
21244 " truncate-size path size\n"
21245 "\n"
21246 msgstr ""
21247
21248 # type: textblock
21249 #: ../fish/guestfish-actions.pod:3718
21250 msgid ""
21251 "If the current file size is less than C<size> then the file is extended to "
21252 "the required size with zero bytes.  This creates a sparse file (ie. disk "
21253 "blocks are not allocated for the file until you write to it).  To create a "
21254 "non-sparse file of zeroes, use C<fallocate64> instead."
21255 msgstr ""
21256
21257 # type: =head2
21258 #: ../fish/guestfish-actions.pod:3724
21259 msgid "tune2fs-l"
21260 msgstr ""
21261
21262 # type: verbatim
21263 #: ../fish/guestfish-actions.pod:3726
21264 #, no-wrap
21265 msgid ""
21266 " tune2fs-l device\n"
21267 "\n"
21268 msgstr ""
21269
21270 # type: =head2
21271 #: ../fish/guestfish-actions.pod:3736
21272 msgid "txz-in"
21273 msgstr ""
21274
21275 # type: verbatim
21276 #: ../fish/guestfish-actions.pod:3738
21277 #, no-wrap
21278 msgid ""
21279 " txz-in (tarball|-) directory\n"
21280 "\n"
21281 msgstr ""
21282
21283 # type: =head2
21284 #: ../fish/guestfish-actions.pod:3745
21285 msgid "txz-out"
21286 msgstr ""
21287
21288 # type: verbatim
21289 #: ../fish/guestfish-actions.pod:3747
21290 #, no-wrap
21291 msgid ""
21292 " txz-out directory (tarball|-)\n"
21293 "\n"
21294 msgstr ""
21295
21296 # type: =head2
21297 #: ../fish/guestfish-actions.pod:3754
21298 msgid "umask"
21299 msgstr ""
21300
21301 # type: verbatim
21302 #: ../fish/guestfish-actions.pod:3756
21303 #, no-wrap
21304 msgid ""
21305 " umask mask\n"
21306 "\n"
21307 msgstr ""
21308
21309 # type: textblock
21310 #: ../fish/guestfish-actions.pod:3770
21311 msgid "See also C<get-umask>, L<umask(2)>, C<mknod>, C<mkdir>."
21312 msgstr ""
21313
21314 # type: =head2
21315 #: ../fish/guestfish-actions.pod:3775
21316 msgid "umount | unmount"
21317 msgstr ""
21318
21319 # type: verbatim
21320 #: ../fish/guestfish-actions.pod:3777
21321 #, no-wrap
21322 msgid ""
21323 " umount pathordevice\n"
21324 "\n"
21325 msgstr ""
21326
21327 # type: =head2
21328 #: ../fish/guestfish-actions.pod:3783
21329 msgid "umount-all | unmount-all"
21330 msgstr ""
21331
21332 # type: verbatim
21333 #: ../fish/guestfish-actions.pod:3785
21334 #, no-wrap
21335 msgid ""
21336 " umount-all\n"
21337 "\n"
21338 msgstr ""
21339
21340 # type: =head2
21341 #: ../fish/guestfish-actions.pod:3791
21342 msgid "upload"
21343 msgstr ""
21344
21345 # type: verbatim
21346 #: ../fish/guestfish-actions.pod:3793
21347 #, no-wrap
21348 msgid ""
21349 " upload (filename|-) remotefilename\n"
21350 "\n"
21351 msgstr ""
21352
21353 # type: textblock
21354 #: ../fish/guestfish-actions.pod:3800
21355 msgid "See also C<download>."
21356 msgstr ""
21357
21358 # type: =head2
21359 #: ../fish/guestfish-actions.pod:3804
21360 msgid "utimens"
21361 msgstr ""
21362
21363 # type: verbatim
21364 #: ../fish/guestfish-actions.pod:3806
21365 #, no-wrap
21366 msgid ""
21367 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
21368 "\n"
21369 msgstr ""
21370
21371 # type: =head2
21372 #: ../fish/guestfish-actions.pod:3825
21373 msgid "version"
21374 msgstr ""
21375
21376 # type: verbatim
21377 #: ../fish/guestfish-actions.pod:3827
21378 #, no-wrap
21379 msgid ""
21380 " version\n"
21381 "\n"
21382 msgstr ""
21383
21384 # type: textblock
21385 #: ../fish/guestfish-actions.pod:3854
21386 msgid ""
21387 "I<Note:> Don't use this call to test for availability of features.  In "
21388 "enterprise distributions we backport features from later versions into "
21389 "earlier versions, making this an unreliable way to test for features.  Use "
21390 "C<available> instead."
21391 msgstr ""
21392
21393 # type: =head2
21394 #: ../fish/guestfish-actions.pod:3860
21395 msgid "vfs-label"
21396 msgstr ""
21397
21398 # type: verbatim
21399 #: ../fish/guestfish-actions.pod:3862
21400 #, no-wrap
21401 msgid ""
21402 " vfs-label device\n"
21403 "\n"
21404 msgstr ""
21405
21406 # type: textblock
21407 #: ../fish/guestfish-actions.pod:3869
21408 msgid "To find a filesystem from the label, use C<findfs-label>."
21409 msgstr ""
21410
21411 # type: =head2
21412 #: ../fish/guestfish-actions.pod:3871
21413 msgid "vfs-type"
21414 msgstr ""
21415
21416 # type: verbatim
21417 #: ../fish/guestfish-actions.pod:3873
21418 #, no-wrap
21419 msgid ""
21420 " vfs-type device\n"
21421 "\n"
21422 msgstr ""
21423
21424 # type: =head2
21425 #: ../fish/guestfish-actions.pod:3883
21426 msgid "vfs-uuid"
21427 msgstr ""
21428
21429 # type: verbatim
21430 #: ../fish/guestfish-actions.pod:3885
21431 #, no-wrap
21432 msgid ""
21433 " vfs-uuid device\n"
21434 "\n"
21435 msgstr ""
21436
21437 # type: textblock
21438 #: ../fish/guestfish-actions.pod:3892
21439 msgid "To find a filesystem from the UUID, use C<findfs-uuid>."
21440 msgstr ""
21441
21442 # type: =head2
21443 #: ../fish/guestfish-actions.pod:3894
21444 msgid "vg-activate"
21445 msgstr ""
21446
21447 # type: verbatim
21448 #: ../fish/guestfish-actions.pod:3896
21449 #, no-wrap
21450 msgid ""
21451 " vg-activate true|false 'volgroups ...'\n"
21452 "\n"
21453 msgstr ""
21454
21455 # type: =head2
21456 #: ../fish/guestfish-actions.pod:3909
21457 msgid "vg-activate-all"
21458 msgstr ""
21459
21460 # type: verbatim
21461 #: ../fish/guestfish-actions.pod:3911
21462 #, no-wrap
21463 msgid ""
21464 " vg-activate-all true|false\n"
21465 "\n"
21466 msgstr ""
21467
21468 # type: =head2
21469 #: ../fish/guestfish-actions.pod:3921
21470 msgid "vgcreate"
21471 msgstr ""
21472
21473 # type: verbatim
21474 #: ../fish/guestfish-actions.pod:3923
21475 #, no-wrap
21476 msgid ""
21477 " vgcreate volgroup 'physvols ...'\n"
21478 "\n"
21479 msgstr ""
21480
21481 # type: =head2
21482 #: ../fish/guestfish-actions.pod:3928
21483 msgid "vglvuuids"
21484 msgstr ""
21485
21486 # type: verbatim
21487 #: ../fish/guestfish-actions.pod:3930
21488 #, no-wrap
21489 msgid ""
21490 " vglvuuids vgname\n"
21491 "\n"
21492 msgstr ""
21493
21494 # type: textblock
21495 #: ../fish/guestfish-actions.pod:3935
21496 msgid ""
21497 "You can use this along with C<lvs> and C<lvuuid> calls to associate logical "
21498 "volumes and volume groups."
21499 msgstr ""
21500
21501 # type: textblock
21502 #: ../fish/guestfish-actions.pod:3938
21503 msgid "See also C<vgpvuuids>."
21504 msgstr ""
21505
21506 # type: =head2
21507 #: ../fish/guestfish-actions.pod:3940
21508 msgid "vgpvuuids"
21509 msgstr ""
21510
21511 # type: verbatim
21512 #: ../fish/guestfish-actions.pod:3942
21513 #, no-wrap
21514 msgid ""
21515 " vgpvuuids vgname\n"
21516 "\n"
21517 msgstr ""
21518
21519 # type: textblock
21520 #: ../fish/guestfish-actions.pod:3947
21521 msgid ""
21522 "You can use this along with C<pvs> and C<pvuuid> calls to associate physical "
21523 "volumes and volume groups."
21524 msgstr ""
21525
21526 # type: textblock
21527 #: ../fish/guestfish-actions.pod:3950
21528 msgid "See also C<vglvuuids>."
21529 msgstr ""
21530
21531 # type: =head2
21532 #: ../fish/guestfish-actions.pod:3952
21533 msgid "vgremove"
21534 msgstr ""
21535
21536 # type: verbatim
21537 #: ../fish/guestfish-actions.pod:3954
21538 #, no-wrap
21539 msgid ""
21540 " vgremove vgname\n"
21541 "\n"
21542 msgstr ""
21543
21544 # type: =head2
21545 #: ../fish/guestfish-actions.pod:3961
21546 msgid "vgrename"
21547 msgstr ""
21548
21549 # type: verbatim
21550 #: ../fish/guestfish-actions.pod:3963
21551 #, no-wrap
21552 msgid ""
21553 " vgrename volgroup newvolgroup\n"
21554 "\n"
21555 msgstr ""
21556
21557 # type: =head2
21558 #: ../fish/guestfish-actions.pod:3967
21559 msgid "vgs"
21560 msgstr ""
21561
21562 # type: verbatim
21563 #: ../fish/guestfish-actions.pod:3969
21564 #, no-wrap
21565 msgid ""
21566 " vgs\n"
21567 "\n"
21568 msgstr ""
21569
21570 # type: textblock
21571 #: ../fish/guestfish-actions.pod:3977
21572 msgid "See also C<vgs-full>."
21573 msgstr ""
21574
21575 # type: =head2
21576 #: ../fish/guestfish-actions.pod:3979
21577 msgid "vgs-full"
21578 msgstr ""
21579
21580 # type: verbatim
21581 #: ../fish/guestfish-actions.pod:3981
21582 #, no-wrap
21583 msgid ""
21584 " vgs-full\n"
21585 "\n"
21586 msgstr ""
21587
21588 # type: =head2
21589 #: ../fish/guestfish-actions.pod:3986
21590 msgid "vgscan"
21591 msgstr ""
21592
21593 # type: verbatim
21594 #: ../fish/guestfish-actions.pod:3988
21595 #, no-wrap
21596 msgid ""
21597 " vgscan\n"
21598 "\n"
21599 msgstr ""
21600
21601 # type: =head2
21602 #: ../fish/guestfish-actions.pod:3993
21603 msgid "vguuid"
21604 msgstr ""
21605
21606 # type: verbatim
21607 #: ../fish/guestfish-actions.pod:3995
21608 #, no-wrap
21609 msgid ""
21610 " vguuid vgname\n"
21611 "\n"
21612 msgstr ""
21613
21614 # type: =head2
21615 #: ../fish/guestfish-actions.pod:3999
21616 msgid "wc-c"
21617 msgstr ""
21618
21619 # type: verbatim
21620 #: ../fish/guestfish-actions.pod:4001
21621 #, no-wrap
21622 msgid ""
21623 " wc-c path\n"
21624 "\n"
21625 msgstr ""
21626
21627 # type: =head2
21628 #: ../fish/guestfish-actions.pod:4006
21629 msgid "wc-l"
21630 msgstr ""
21631
21632 # type: verbatim
21633 #: ../fish/guestfish-actions.pod:4008
21634 #, no-wrap
21635 msgid ""
21636 " wc-l path\n"
21637 "\n"
21638 msgstr ""
21639
21640 # type: =head2
21641 #: ../fish/guestfish-actions.pod:4013
21642 msgid "wc-w"
21643 msgstr ""
21644
21645 # type: verbatim
21646 #: ../fish/guestfish-actions.pod:4015
21647 #, no-wrap
21648 msgid ""
21649 " wc-w path\n"
21650 "\n"
21651 msgstr ""
21652
21653 # type: =head2
21654 #: ../fish/guestfish-actions.pod:4020
21655 msgid "write"
21656 msgstr ""
21657
21658 # type: verbatim
21659 #: ../fish/guestfish-actions.pod:4022
21660 #, no-wrap
21661 msgid ""
21662 " write path content\n"
21663 "\n"
21664 msgstr ""
21665
21666 # type: =head2
21667 #: ../fish/guestfish-actions.pod:4030
21668 msgid "write-file"
21669 msgstr ""
21670
21671 # type: verbatim
21672 #: ../fish/guestfish-actions.pod:4032
21673 #, no-wrap
21674 msgid ""
21675 " write-file path content size\n"
21676 "\n"
21677 msgstr ""
21678
21679 # type: =head2
21680 #: ../fish/guestfish-actions.pod:4055
21681 msgid "zegrep"
21682 msgstr ""
21683
21684 # type: verbatim
21685 #: ../fish/guestfish-actions.pod:4057
21686 #, no-wrap
21687 msgid ""
21688 " zegrep regex path\n"
21689 "\n"
21690 msgstr ""
21691
21692 # type: =head2
21693 #: ../fish/guestfish-actions.pod:4065
21694 msgid "zegrepi"
21695 msgstr ""
21696
21697 # type: verbatim
21698 #: ../fish/guestfish-actions.pod:4067
21699 #, no-wrap
21700 msgid ""
21701 " zegrepi regex path\n"
21702 "\n"
21703 msgstr ""
21704
21705 # type: =head2
21706 #: ../fish/guestfish-actions.pod:4075
21707 msgid "zero"
21708 msgstr ""
21709
21710 # type: verbatim
21711 #: ../fish/guestfish-actions.pod:4077
21712 #, no-wrap
21713 msgid ""
21714 " zero device\n"
21715 "\n"
21716 msgstr ""
21717
21718 # type: textblock
21719 #: ../fish/guestfish-actions.pod:4085
21720 msgid "See also: C<zero-device>, C<scrub-device>."
21721 msgstr ""
21722
21723 # type: =head2
21724 #: ../fish/guestfish-actions.pod:4087
21725 msgid "zero-device"
21726 msgstr ""
21727
21728 # type: verbatim
21729 #: ../fish/guestfish-actions.pod:4089
21730 #, no-wrap
21731 msgid ""
21732 " zero-device device\n"
21733 "\n"
21734 msgstr ""
21735
21736 # type: textblock
21737 #: ../fish/guestfish-actions.pod:4091
21738 msgid ""
21739 "This command writes zeroes over the entire C<device>.  Compare with C<zero> "
21740 "which just zeroes the first few blocks of a device."
21741 msgstr ""
21742
21743 # type: =head2
21744 #: ../fish/guestfish-actions.pod:4098
21745 msgid "zerofree"
21746 msgstr ""
21747
21748 # type: verbatim
21749 #: ../fish/guestfish-actions.pod:4100
21750 #, no-wrap
21751 msgid ""
21752 " zerofree device\n"
21753 "\n"
21754 msgstr ""
21755
21756 # type: =head2
21757 #: ../fish/guestfish-actions.pod:4113
21758 msgid "zfgrep"
21759 msgstr ""
21760
21761 # type: verbatim
21762 #: ../fish/guestfish-actions.pod:4115
21763 #, no-wrap
21764 msgid ""
21765 " zfgrep pattern path\n"
21766 "\n"
21767 msgstr ""
21768
21769 # type: =head2
21770 #: ../fish/guestfish-actions.pod:4123
21771 msgid "zfgrepi"
21772 msgstr ""
21773
21774 # type: verbatim
21775 #: ../fish/guestfish-actions.pod:4125
21776 #, no-wrap
21777 msgid ""
21778 " zfgrepi pattern path\n"
21779 "\n"
21780 msgstr ""
21781
21782 # type: =head2
21783 #: ../fish/guestfish-actions.pod:4133
21784 msgid "zfile"
21785 msgstr ""
21786
21787 # type: verbatim
21788 #: ../fish/guestfish-actions.pod:4135
21789 #, no-wrap
21790 msgid ""
21791 " zfile meth path\n"
21792 "\n"
21793 msgstr ""
21794
21795 # type: textblock
21796 #: ../fish/guestfish-actions.pod:4142
21797 msgid ""
21798 "Since 1.0.63, use C<file> instead which can now process compressed files."
21799 msgstr ""
21800
21801 # type: =head2
21802 #: ../fish/guestfish-actions.pod:4152
21803 msgid "zgrep"
21804 msgstr ""
21805
21806 # type: verbatim
21807 #: ../fish/guestfish-actions.pod:4154
21808 #, no-wrap
21809 msgid ""
21810 " zgrep regex path\n"
21811 "\n"
21812 msgstr ""
21813
21814 # type: =head2
21815 #: ../fish/guestfish-actions.pod:4162
21816 msgid "zgrepi"
21817 msgstr ""
21818
21819 # type: verbatim
21820 #: ../fish/guestfish-actions.pod:4164
21821 #, no-wrap
21822 msgid ""
21823 " zgrepi regex path\n"
21824 "\n"
21825 msgstr ""
21826
21827 # type: textblock
21828 #: ../test-tool/libguestfs-test-tool.pod:5
21829 msgid "libguestfs-test-tool - End user tests for libguestfs"
21830 msgstr ""
21831
21832 # type: verbatim
21833 #: ../test-tool/libguestfs-test-tool.pod:9
21834 #, no-wrap
21835 msgid ""
21836 " libguestfs-test-tool [--options]\n"
21837 "\n"
21838 msgstr ""
21839
21840 # type: textblock
21841 #: ../test-tool/libguestfs-test-tool.pod:13
21842 msgid ""
21843 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
21844 "and developers, to allow them to check basic libguestfs functionality is "
21845 "working.  This is needed because libguestfs occasionally breaks for reasons "
21846 "beyond our control: usually because of changes in the underlying qemu or "
21847 "kernel packages, or the host environment."
21848 msgstr ""
21849
21850 # type: textblock
21851 #: ../test-tool/libguestfs-test-tool.pod:20
21852 msgid "If you suspect a problem in libguestfs, then just run:"
21853 msgstr ""
21854
21855 # type: verbatim
21856 #: ../test-tool/libguestfs-test-tool.pod:22
21857 #, no-wrap
21858 msgid ""
21859 " libguestfs-test-tool\n"
21860 "\n"
21861 msgstr ""
21862
21863 # type: textblock
21864 #: ../test-tool/libguestfs-test-tool.pod:24
21865 msgid "It will print lots of diagnostic messages."
21866 msgstr ""
21867
21868 # type: textblock
21869 #: ../test-tool/libguestfs-test-tool.pod:26
21870 msgid "If it runs to completion successfully, you will see this near the end:"
21871 msgstr ""
21872
21873 # type: verbatim
21874 #: ../test-tool/libguestfs-test-tool.pod:28
21875 #, no-wrap
21876 msgid ""
21877 " ===== TEST FINISHED OK =====\n"
21878 "\n"
21879 msgstr ""
21880
21881 # type: textblock
21882 #: ../test-tool/libguestfs-test-tool.pod:30
21883 msgid "and the test tool will exit with code 0."
21884 msgstr ""
21885
21886 # type: textblock
21887 #: ../test-tool/libguestfs-test-tool.pod:32
21888 msgid ""
21889 "If it fails (and/or exits with non-zero error code), please paste the "
21890 "B<complete, unedited> output of the test tool into a bug report.  More "
21891 "information about reporting bugs can be found on the L<http://libguestfs.org/"
21892 "> website."
21893 msgstr ""
21894
21895 # type: =item
21896 #: ../test-tool/libguestfs-test-tool.pod:41
21897 msgid "I<--help>"
21898 msgstr ""
21899
21900 # type: textblock
21901 #: ../test-tool/libguestfs-test-tool.pod:43
21902 msgid "Display short usage information and exit."
21903 msgstr ""
21904
21905 # type: =item
21906 #: ../test-tool/libguestfs-test-tool.pod:45
21907 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
21908 msgstr ""
21909
21910 # type: textblock
21911 #: ../test-tool/libguestfs-test-tool.pod:47
21912 msgid ""
21913 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
21914 "normally look in the C<$libexec> directory that was configured when the tool "
21915 "was built."
21916 msgstr ""
21917
21918 # type: =item
21919 #: ../test-tool/libguestfs-test-tool.pod:51
21920 msgid "I<--qemu qemu_binary>"
21921 msgstr ""
21922
21923 # type: textblock
21924 #: ../test-tool/libguestfs-test-tool.pod:53
21925 msgid ""
21926 "If you have downloaded another qemu binary, point this option at the full "
21927 "path of the binary to try it."
21928 msgstr ""
21929
21930 # type: =item
21931 #: ../test-tool/libguestfs-test-tool.pod:56
21932 msgid "I<--qemudir qemu_source_dir>"
21933 msgstr ""
21934
21935 # type: textblock
21936 #: ../test-tool/libguestfs-test-tool.pod:58
21937 msgid ""
21938 "If you have compiled qemu from source, point this option at the source "
21939 "directory to try it."
21940 msgstr ""
21941
21942 # type: =item
21943 #: ../test-tool/libguestfs-test-tool.pod:61
21944 msgid "I<--timeout N>"
21945 msgstr ""
21946
21947 # type: textblock
21948 #: ../test-tool/libguestfs-test-tool.pod:63
21949 msgid ""
21950 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
21951 "does not usually need to be adjusted unless your machine is very slow."
21952 msgstr ""
21953
21954 # type: =head1
21955 #: ../test-tool/libguestfs-test-tool.pod:69
21956 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
21957 msgstr ""
21958
21959 # type: textblock
21960 #: ../test-tool/libguestfs-test-tool.pod:71
21961 msgid ""
21962 "If you have compiled another version of qemu from source and would like to "
21963 "try that, then you can use the I<--qemudir> option to point to the qemu "
21964 "source directory."
21965 msgstr ""
21966
21967 # type: textblock
21968 #: ../test-tool/libguestfs-test-tool.pod:75
21969 msgid ""
21970 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
21971 "option to point to the binary."
21972 msgstr ""
21973
21974 # type: textblock
21975 #: ../test-tool/libguestfs-test-tool.pod:78
21976 msgid ""
21977 "When using an alternate qemu with libguestfs, usually you would need to "
21978 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
21979 ">).  libguestfs-test-tool writes a temporary qemu wrapper script when you "
21980 "use either of the I<--qemudir> or I<--qemu> options."
21981 msgstr ""
21982
21983 # type: textblock
21984 #: ../test-tool/libguestfs-test-tool.pod:85
21985 msgid ""
21986 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
21987 "I<1> if there was an error."
21988 msgstr ""
21989
21990 # type: =item
21991 #: ../test-tool/libguestfs-test-tool.pod:92
21992 msgid "/usr/libexec/libguestfs-test-tool-helper"
21993 msgstr ""
21994
21995 # type: textblock
21996 #: ../test-tool/libguestfs-test-tool.pod:94
21997 msgid ""
21998 "This helper program is run inside the appliance and provides additional "
21999 "tests."
22000 msgstr ""
22001
22002 # type: =item
22003 #: ../test-tool/libguestfs-test-tool.pod:97
22004 msgid "/usr/bin/mkisofs"
22005 msgstr ""
22006
22007 # type: textblock
22008 #: ../test-tool/libguestfs-test-tool.pod:99
22009 msgid ""
22010 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
22011 "which is used as part of the tests."
22012 msgstr ""
22013
22014 # type: textblock
22015 #: ../test-tool/libguestfs-test-tool.pod:106
22016 msgid ""
22017 "For the full list of environment variables which may affect libguestfs, "
22018 "please see the L<guestfs(3)> manual page."
22019 msgstr ""
22020
22021 # type: textblock
22022 #: ../test-tool/libguestfs-test-tool.pod:111
22023 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
22024 msgstr ""
22025
22026 # type: textblock
22027 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
22028 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
22029 msgstr ""
22030
22031 # type: textblock
22032 #: ../fuse/guestmount.pod:5
22033 msgid ""
22034 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
22035 msgstr ""
22036
22037 # type: verbatim
22038 #: ../fuse/guestmount.pod:9
22039 #, no-wrap
22040 msgid ""
22041 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
22042 "\n"
22043 msgstr ""
22044
22045 # type: textblock
22046 #: ../fuse/guestmount.pod:13
22047 msgid ""
22048 "You must I<not> use C<guestmount> in read-write mode on live virtual "
22049 "machines.  If you do this, you risk disk corruption in the VM."
22050 msgstr ""
22051
22052 # type: textblock
22053 #: ../fuse/guestmount.pod:18
22054 msgid ""
22055 "The guestmount program can be used to mount virtual machine filesystems and "
22056 "other disk images on the host.  It uses libguestfs for access to the guest "
22057 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
22058 "a mountable device."
22059 msgstr ""
22060
22061 # type: textblock
22062 #: ../fuse/guestmount.pod:23
22063 msgid ""
22064 "Along with other options, you have to give at least one device (I<-a> "
22065 "option) and at least one mountpoint (I<-m> option).  How this works is "
22066 "better explained in the L<guestfish(1)> manual page, or you can use L<virt-"
22067 "inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help you."
22068 msgstr ""
22069
22070 # type: textblock
22071 #: ../fuse/guestmount.pod:29
22072 msgid ""
22073 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
22074 "by you, and the filesystem will not be visible to any other users unless you "
22075 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
22076 "the filesystem, use the C<fusermount -u> command."
22077 msgstr ""
22078
22079 # type: textblock
22080 #: ../fuse/guestmount.pod:37
22081 msgid ""
22082 "For a typical Windows guest which has its main filesystem on the first "
22083 "partition:"
22084 msgstr ""
22085
22086 # type: verbatim
22087 #: ../fuse/guestmount.pod:40
22088 #, no-wrap
22089 msgid ""
22090 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
22091 "\n"
22092 msgstr ""
22093
22094 # type: textblock
22095 #: ../fuse/guestmount.pod:42
22096 msgid ""
22097 "For a typical Linux guest which has a /boot filesystem on the first "
22098 "partition, and the root filesystem on a logical volume:"
22099 msgstr ""
22100
22101 # type: verbatim
22102 #: ../fuse/guestmount.pod:45
22103 #, no-wrap
22104 msgid ""
22105 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
22106 "\n"
22107 msgstr ""
22108
22109 # type: textblock
22110 #: ../fuse/guestmount.pod:47
22111 msgid ""
22112 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
22113 "mountpoints for you:"
22114 msgstr ""
22115
22116 # type: verbatim
22117 #: ../fuse/guestmount.pod:50
22118 #, no-wrap
22119 msgid ""
22120 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
22121 "\n"
22122 msgstr ""
22123
22124 # type: textblock
22125 #: ../fuse/guestmount.pod:52
22126 msgid ""
22127 "(or use --fish if you don't want it to be a read only mount).  The option is "
22128 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
22129 "with L<guestfish(1)>."
22130 msgstr ""
22131
22132 # type: textblock
22133 #: ../fuse/guestmount.pod:56
22134 msgid ""
22135 "If you don't know what filesystems are contained in a guest or disk image, "
22136 "use L<virt-list-filesystems(1)> first:"
22137 msgstr ""
22138
22139 # type: verbatim
22140 #: ../fuse/guestmount.pod:59
22141 #, no-wrap
22142 msgid ""
22143 " virt-list-filesystems MyGuest\n"
22144 "\n"
22145 msgstr ""
22146
22147 # type: textblock
22148 #: ../fuse/guestmount.pod:61
22149 msgid ""
22150 "If you want to trace the libguestfs calls but without excessive debugging, "
22151 "we recommend:"
22152 msgstr ""
22153
22154 # type: verbatim
22155 #: ../fuse/guestmount.pod:64
22156 #, no-wrap
22157 msgid ""
22158 " guestmount [-a ... -m ...] --trace /mnt\n"
22159 "\n"
22160 msgstr ""
22161
22162 # type: textblock
22163 #: ../fuse/guestmount.pod:66
22164 msgid "If you want to debug the program, we recommend:"
22165 msgstr ""
22166
22167 # type: verbatim
22168 #: ../fuse/guestmount.pod:68
22169 #, no-wrap
22170 msgid ""
22171 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
22172 "\n"
22173 msgstr ""
22174
22175 # type: textblock
22176 #: ../fuse/guestmount.pod:76
22177 msgid "Add a block device or virtual machine image."
22178 msgstr ""
22179
22180 # type: =item
22181 #: ../fuse/guestmount.pod:78
22182 msgid "B<--dir-cache-timeout N>"
22183 msgstr ""
22184
22185 # type: textblock
22186 #: ../fuse/guestmount.pod:80
22187 msgid ""
22188 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
22189 "seconds.  The readdir cache [actually, there are several semi-independent "
22190 "caches] is populated after a readdir(2) call with the stat and extended "
22191 "attributes of the files in the directory, in anticipation that they will be "
22192 "requested soon after."
22193 msgstr ""
22194
22195 # type: textblock
22196 #: ../fuse/guestmount.pod:86
22197 msgid ""
22198 "There is also a different attribute cache implemented by FUSE (see the FUSE "
22199 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
22200 "requests, only cache existing ones."
22201 msgstr ""
22202
22203 # type: =item
22204 #: ../fuse/guestmount.pod:90
22205 msgid "B<--fuse-help>"
22206 msgstr ""
22207
22208 # type: textblock
22209 #: ../fuse/guestmount.pod:92
22210 msgid "Display help on special FUSE options (see I<-o> below)."
22211 msgstr ""
22212
22213 # type: textblock
22214 #: ../fuse/guestmount.pod:96
22215 msgid "Display brief help and exit."
22216 msgstr ""
22217
22218 # type: =item
22219 #: ../fuse/guestmount.pod:98
22220 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
22221 msgstr ""
22222
22223 # type: textblock
22224 #: ../fuse/guestmount.pod:100
22225 msgid ""
22226 "Mount the named partition or logical volume on the given mountpoint B<in the "
22227 "guest> (this has nothing to do with mountpoints in the host)."
22228 msgstr ""
22229
22230 # type: textblock
22231 #: ../fuse/guestmount.pod:103
22232 msgid ""
22233 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
22234 "something on C</>."
22235 msgstr ""
22236
22237 # type: textblock
22238 #: ../fuse/guestmount.pod:108
22239 msgid ""
22240 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
22241 "unmounted.  If you specify this option, then we don't attempt to sync the "
22242 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
22243 msgstr ""
22244
22245 # type: =item
22246 #: ../fuse/guestmount.pod:113
22247 msgid "B<-o option> | B<--option option>"
22248 msgstr ""
22249
22250 # type: textblock
22251 #: ../fuse/guestmount.pod:115
22252 msgid "Pass extra options to FUSE."
22253 msgstr ""
22254
22255 # type: textblock
22256 #: ../fuse/guestmount.pod:117
22257 msgid ""
22258 "To get a list of all the extra options supported by FUSE, use the command "
22259 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
22260 "of them are a good idea."
22261 msgstr ""
22262
22263 # type: verbatim
22264 #: ../fuse/guestmount.pod:121
22265 #, no-wrap
22266 msgid ""
22267 " guestmount --fuse-help\n"
22268 "\n"
22269 msgstr ""
22270
22271 # type: textblock
22272 #: ../fuse/guestmount.pod:123
22273 msgid "Some potentially useful FUSE options:"
22274 msgstr ""
22275
22276 # type: =item
22277 #: ../fuse/guestmount.pod:127
22278 msgid "B<-o allow_other>"
22279 msgstr ""
22280
22281 # type: textblock
22282 #: ../fuse/guestmount.pod:129
22283 msgid "Allow other users to see the filesystem."
22284 msgstr ""
22285
22286 # type: =item
22287 #: ../fuse/guestmount.pod:131
22288 msgid "B<-o attr_timeout=N>"
22289 msgstr ""
22290
22291 # type: textblock
22292 #: ../fuse/guestmount.pod:133
22293 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
22294 msgstr ""
22295
22296 # type: =item
22297 #: ../fuse/guestmount.pod:135
22298 msgid "B<-o kernel_cache>"
22299 msgstr ""
22300
22301 # type: textblock
22302 #: ../fuse/guestmount.pod:137
22303 msgid ""
22304 "Allow the kernel to cache files (reduces the number of reads that have to go "
22305 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
22306 "afford the extra memory usage."
22307 msgstr ""
22308
22309 # type: =item
22310 #: ../fuse/guestmount.pod:141
22311 msgid "B<-o uid=N> B<-o gid=N>"
22312 msgstr ""
22313
22314 # type: textblock
22315 #: ../fuse/guestmount.pod:143
22316 msgid ""
22317 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
22318 "the chosen values."
22319 msgstr ""
22320
22321 # type: textblock
22322 #: ../fuse/guestmount.pod:150
22323 msgid ""
22324 "Add devices and mount everything read-only.  Also disallow writes and make "
22325 "the disk appear read-only to FUSE."
22326 msgstr ""
22327
22328 # type: textblock
22329 #: ../fuse/guestmount.pod:153
22330 msgid ""
22331 "This is highly recommended if you are not going to edit the guest disk.  If "
22332 "the guest is running and this option is I<not> supplied, then there is a "
22333 "strong risk of disk corruption in the guest.  We try to prevent this from "
22334 "happening, but it is not always possible."
22335 msgstr ""
22336
22337 # type: textblock
22338 #: ../fuse/guestmount.pod:160
22339 msgid "Enable SELinux support for the guest."
22340 msgstr ""
22341
22342 # type: =item
22343 #: ../fuse/guestmount.pod:162
22344 msgid "B<--trace>"
22345 msgstr ""
22346
22347 # type: textblock
22348 #: ../fuse/guestmount.pod:164
22349 msgid "Trace libguestfs calls (to stderr)."
22350 msgstr ""
22351
22352 # type: textblock
22353 #: ../fuse/guestmount.pod:166
22354 msgid "This also stops the daemon from forking into the background."
22355 msgstr ""
22356
22357 # type: textblock
22358 #: ../fuse/guestmount.pod:170
22359 msgid "Enable verbose messages from underlying libguestfs."
22360 msgstr ""
22361
22362 # type: textblock
22363 #: ../fuse/guestmount.pod:174
22364 msgid "Display the program version and exit."
22365 msgstr ""
22366
22367 # type: textblock
22368 #: ../fuse/guestmount.pod:180
22369 msgid ""
22370 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
22371 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
22372 "net/>."
22373 msgstr ""
22374
22375 # type: textblock
22376 #: ../inspector/virt-inspector.pl:40
22377 msgid ""
22378 "virt-inspector - Display OS version, kernel, drivers, mount points, "
22379 "applications, etc. in a virtual machine"
22380 msgstr ""
22381
22382 # type: verbatim
22383 #: ../inspector/virt-inspector.pl:44
22384 #, no-wrap
22385 msgid ""
22386 " virt-inspector [--connect URI] domname\n"
22387 "\n"
22388 msgstr ""
22389
22390 # type: verbatim
22391 #: ../inspector/virt-inspector.pl:46
22392 #, no-wrap
22393 msgid ""
22394 " virt-inspector guest.img [guest.img ...]\n"
22395 "\n"
22396 msgstr ""
22397
22398 # type: textblock
22399 #: ../inspector/virt-inspector.pl:50
22400 msgid ""
22401 "B<virt-inspector> examines a virtual machine and tries to determine the "
22402 "version of the OS, the kernel version, what drivers are installed, whether "
22403 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
22404 "applications are installed and more."
22405 msgstr ""
22406
22407 # type: textblock
22408 #: ../inspector/virt-inspector.pl:55
22409 msgid ""
22410 "Virt-inspector can produce output in several formats, including a readable "
22411 "text report, and XML for feeding into other programs."
22412 msgstr ""
22413
22414 # type: textblock
22415 #: ../inspector/virt-inspector.pl:58
22416 msgid ""
22417 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
22418 "libvirt domain (see: C<virsh list --all>)."
22419 msgstr ""
22420
22421 # type: textblock
22422 #: ../inspector/virt-inspector.pl:61
22423 msgid ""
22424 "You can also run virt-inspector directly on disk images from a single "
22425 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
22426 "has several block devices, in which case you should list them one after "
22427 "another, with the first corresponding to the guest's C</dev/sda>, the second "
22428 "to the guest's C</dev/sdb> and so on."
22429 msgstr ""
22430
22431 # type: textblock
22432 #: ../inspector/virt-inspector.pl:67
22433 msgid ""
22434 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
22435 "inspect several virtual machines, you have to run virt-inspector several "
22436 "times (for example, from a shell script for-loop)."
22437 msgstr ""
22438
22439 # type: textblock
22440 #: ../inspector/virt-inspector.pl:72
22441 msgid ""
22442 "Because virt-inspector needs direct access to guest images, it won't "
22443 "normally work over remote libvirt connections."
22444 msgstr ""
22445
22446 # type: textblock
22447 #: ../inspector/virt-inspector.pl:85 ../tools/virt-cat.pl:90
22448 #: ../tools/virt-df.pl:81 ../tools/virt-edit.pl:83
22449 #: ../tools/virt-list-filesystems.pl:60 ../tools/virt-list-partitions.pl:61
22450 #: ../tools/virt-ls.pl:89 ../tools/virt-make-fs.pl:163
22451 #: ../tools/virt-rescue.pl:113 ../tools/virt-tar.pl:109
22452 #: ../tools/virt-win-reg.pl:182
22453 msgid "Display brief help."
22454 msgstr ""
22455
22456 # type: =item
22457 #: ../inspector/virt-inspector.pl:91 ../tools/virt-cat.pl:96
22458 #: ../tools/virt-df.pl:87 ../tools/virt-edit.pl:89
22459 #: ../tools/virt-list-filesystems.pl:66 ../tools/virt-list-partitions.pl:67
22460 #: ../tools/virt-ls.pl:95 ../tools/virt-make-fs.pl:169
22461 #: ../tools/virt-rescue.pl:119 ../tools/virt-resize.pl:249
22462 #: ../tools/virt-tar.pl:115 ../tools/virt-win-reg.pl:188
22463 msgid "B<--version>"
22464 msgstr ""
22465
22466 # type: textblock
22467 #: ../inspector/virt-inspector.pl:93 ../tools/virt-cat.pl:98
22468 #: ../tools/virt-df.pl:89 ../tools/virt-edit.pl:91
22469 #: ../tools/virt-list-filesystems.pl:68 ../tools/virt-list-partitions.pl:69
22470 #: ../tools/virt-ls.pl:97 ../tools/virt-make-fs.pl:171
22471 #: ../tools/virt-rescue.pl:121 ../tools/virt-resize.pl:251
22472 #: ../tools/virt-tar.pl:117 ../tools/virt-win-reg.pl:190
22473 msgid "Display version number and exit."
22474 msgstr ""
22475
22476 # type: =item
22477 #: ../inspector/virt-inspector.pl:99 ../tools/virt-cat.pl:104
22478 #: ../tools/virt-df.pl:95 ../tools/virt-edit.pl:113
22479 #: ../tools/virt-list-filesystems.pl:74 ../tools/virt-list-partitions.pl:75
22480 #: ../tools/virt-ls.pl:103 ../tools/virt-rescue.pl:135
22481 #: ../tools/virt-tar.pl:123 ../tools/virt-win-reg.pl:204
22482 msgid "B<--connect URI> | B<-c URI>"
22483 msgstr ""
22484
22485 # type: textblock
22486 #: ../inspector/virt-inspector.pl:101 ../tools/virt-cat.pl:106
22487 #: ../tools/virt-df.pl:97 ../tools/virt-edit.pl:115
22488 #: ../tools/virt-list-filesystems.pl:76 ../tools/virt-list-partitions.pl:77
22489 #: ../tools/virt-ls.pl:105 ../tools/virt-rescue.pl:137
22490 #: ../tools/virt-tar.pl:125 ../tools/virt-win-reg.pl:206
22491 msgid ""
22492 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
22493 "to the default libvirt hypervisor."
22494 msgstr ""
22495
22496 # type: textblock
22497 #: ../inspector/virt-inspector.pl:104
22498 msgid ""
22499 "Libvirt is only used if you specify a C<domname> on the command line.  If "
22500 "you specify guest block devices directly, then libvirt is not used at all."
22501 msgstr ""
22502
22503 # type: textblock
22504 #: ../inspector/virt-inspector.pl:114
22505 msgid ""
22506 "The following options select the output format.  Use only one of them.  The "
22507 "default is a readable text report."
22508 msgstr ""
22509
22510 # type: =item
22511 #: ../inspector/virt-inspector.pl:119
22512 msgid "B<--text> (default)"
22513 msgstr ""
22514
22515 # type: textblock
22516 #: ../inspector/virt-inspector.pl:121
22517 msgid "Plain text report."
22518 msgstr ""
22519
22520 # type: =item
22521 #: ../inspector/virt-inspector.pl:123
22522 msgid "B<--none>"
22523 msgstr ""
22524
22525 # type: textblock
22526 #: ../inspector/virt-inspector.pl:125
22527 msgid "Produce no output at all."
22528 msgstr ""
22529
22530 # type: =item
22531 #: ../inspector/virt-inspector.pl:127
22532 msgid "B<--xml>"
22533 msgstr ""
22534
22535 # type: textblock
22536 #: ../inspector/virt-inspector.pl:129
22537 msgid ""
22538 "If you select I<--xml> then you get XML output which can be fed to other "
22539 "programs."
22540 msgstr ""
22541
22542 # type: =item
22543 #: ../inspector/virt-inspector.pl:132
22544 msgid "B<--yaml>"
22545 msgstr ""
22546
22547 # type: textblock
22548 #: ../inspector/virt-inspector.pl:134
22549 msgid ""
22550 "If you select I<--yaml> then you get YAML output which can be fed to other "
22551 "programs."
22552 msgstr ""
22553
22554 # type: =item
22555 #: ../inspector/virt-inspector.pl:137
22556 msgid "B<--perl>"
22557 msgstr ""
22558
22559 # type: textblock
22560 #: ../inspector/virt-inspector.pl:139
22561 msgid ""
22562 "If you select I<--perl> then you get Perl structures output which can be "
22563 "used directly in another Perl program."
22564 msgstr ""
22565
22566 # type: =item
22567 #: ../inspector/virt-inspector.pl:142
22568 msgid "B<--fish>"
22569 msgstr ""
22570
22571 # type: =item
22572 #: ../inspector/virt-inspector.pl:144
22573 msgid "B<--ro-fish>"
22574 msgstr ""
22575
22576 # type: textblock
22577 #: ../inspector/virt-inspector.pl:146
22578 msgid ""
22579 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
22580 "will automatically mount up the filesystems on the correct mount points.  "
22581 "Try this for example:"
22582 msgstr ""
22583
22584 # type: verbatim
22585 #: ../inspector/virt-inspector.pl:150
22586 #, no-wrap
22587 msgid ""
22588 " guestfish $(virt-inspector --fish guest.img)\n"
22589 "\n"
22590 msgstr ""
22591
22592 # type: textblock
22593 #: ../inspector/virt-inspector.pl:152
22594 msgid ""
22595 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
22596 "that the filesystems are mounted read-only."
22597 msgstr ""
22598
22599 # type: =item
22600 #: ../inspector/virt-inspector.pl:155
22601 msgid "B<--query>"
22602 msgstr ""
22603
22604 # type: textblock
22605 #: ../inspector/virt-inspector.pl:157
22606 msgid ""
22607 "In \"query mode\" we answer common questions about the guest, such as "
22608 "whether it is fullvirt or needs a Xen hypervisor to run."
22609 msgstr ""
22610
22611 # type: textblock
22612 #: ../inspector/virt-inspector.pl:160
22613 msgid "See section I<QUERY MODE> below."
22614 msgstr ""
22615
22616 # type: =item
22617 #: ../inspector/virt-inspector.pl:166
22618 msgid "B<--windows-registry>"
22619 msgstr ""
22620
22621 # type: textblock
22622 #: ../inspector/virt-inspector.pl:168
22623 msgid ""
22624 "This flag is ignored for compatibility with earlier releases of the software."
22625 msgstr ""
22626
22627 # type: textblock
22628 #: ../inspector/virt-inspector.pl:171
22629 msgid ""
22630 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
22631 "information out of the Registry for any Windows guest."
22632 msgstr ""
22633
22634 # type: =head1
22635 #: ../inspector/virt-inspector.pl:218
22636 msgid "OUTPUT FORMAT"
22637 msgstr ""
22638
22639 # type: verbatim
22640 #: ../inspector/virt-inspector.pl:220
22641 #, no-wrap
22642 msgid ""
22643 " Operating system(s)\n"
22644 " -------------------\n"
22645 " Linux (distro + version)\n"
22646 " Windows (version)\n"
22647 "    |\n"
22648 "    |\n"
22649 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
22650 "         -----------            --------------     ----------------\n"
22651 "         mount point => device  List of apps       Extra information\n"
22652 "         mount point => device  and versions       about kernel(s)\n"
22653 "              ...                                  and drivers\n"
22654 "         swap => swap device\n"
22655 "         (plus lots of extra information\n"
22656 "         about each filesystem)\n"
22657 "\n"
22658 msgstr ""
22659
22660 # type: textblock
22661 #: ../inspector/virt-inspector.pl:235
22662 msgid "The output of virt-inspector is a complex two-level data structure."
22663 msgstr ""
22664
22665 # type: textblock
22666 #: ../inspector/virt-inspector.pl:237
22667 msgid ""
22668 "At the top level is a list of the operating systems installed on the guest.  "
22669 "(For the vast majority of guests, only a single OS is installed.)  The data "
22670 "returned for the OS includes the name (Linux, Windows), the distribution and "
22671 "version."
22672 msgstr ""
22673
22674 # type: textblock
22675 #: ../inspector/virt-inspector.pl:242
22676 msgid "The diagram above shows what we return for each OS."
22677 msgstr ""
22678
22679 # type: textblock
22680 #: ../inspector/virt-inspector.pl:244
22681 msgid ""
22682 "With the I<--xml> option the output is mapped into an XML document.  There "
22683 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
22684 "normally ships with virt-inspector, or can be found in the source."
22685 msgstr ""
22686
22687 # type: textblock
22688 #: ../inspector/virt-inspector.pl:249
22689 msgid ""
22690 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
22691 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
22692 "and inspect the guest with everything mounted in the right place.  For "
22693 "example:"
22694 msgstr ""
22695
22696 # type: verbatim
22697 #: ../inspector/virt-inspector.pl:254
22698 #, no-wrap
22699 msgid ""
22700 " guestfish $(virt-inspector --ro-fish guest.img)\n"
22701 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
22702 "\n"
22703 msgstr ""
22704
22705 # type: =head1
22706 #: ../inspector/virt-inspector.pl:589
22707 msgid "QUERY MODE"
22708 msgstr ""
22709
22710 # type: textblock
22711 #: ../inspector/virt-inspector.pl:591
22712 msgid ""
22713 "When you use C<virt-inspector --query>, the output is a series of lines of "
22714 "the form:"
22715 msgstr ""
22716
22717 # type: verbatim
22718 #: ../inspector/virt-inspector.pl:594
22719 #, no-wrap
22720 msgid ""
22721 " windows=no\n"
22722 " linux=yes\n"
22723 " fullvirt=yes\n"
22724 " xen_pv_drivers=no\n"
22725 "\n"
22726 msgstr ""
22727
22728 # type: textblock
22729 #: ../inspector/virt-inspector.pl:599
22730 msgid ""
22731 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
22732 "if we could not determine the answer at all)."
22733 msgstr ""
22734
22735 # type: textblock
22736 #: ../inspector/virt-inspector.pl:602
22737 msgid ""
22738 "If the guest is multiboot, you can get apparently conflicting answers (eg. "
22739 "C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and has a "
22740 "Xen PV kernel).  This is normal, and just means that the guest can do both "
22741 "things, although it might require operator intervention such as selecting a "
22742 "boot option when the guest is booting."
22743 msgstr ""
22744
22745 # type: textblock
22746 #: ../inspector/virt-inspector.pl:609
22747 msgid "This section describes the full range of answers possible."
22748 msgstr ""
22749
22750 # type: =item
22751 #: ../inspector/virt-inspector.pl:630
22752 msgid "windows=(yes|no)"
22753 msgstr ""
22754
22755 # type: textblock
22756 #: ../inspector/virt-inspector.pl:632
22757 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
22758 msgstr ""
22759
22760 # type: =item
22761 #: ../inspector/virt-inspector.pl:645
22762 msgid "linux=(yes|no)"
22763 msgstr ""
22764
22765 # type: textblock
22766 #: ../inspector/virt-inspector.pl:647
22767 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
22768 msgstr ""
22769
22770 # type: =item
22771 #: ../inspector/virt-inspector.pl:660
22772 msgid "rhel=(yes|no)"
22773 msgstr ""
22774
22775 # type: textblock
22776 #: ../inspector/virt-inspector.pl:662
22777 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
22778 msgstr ""
22779
22780 # type: =item
22781 #: ../inspector/virt-inspector.pl:676
22782 msgid "fedora=(yes|no)"
22783 msgstr ""
22784
22785 # type: textblock
22786 #: ../inspector/virt-inspector.pl:678
22787 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
22788 msgstr ""
22789
22790 # type: =item
22791 #: ../inspector/virt-inspector.pl:691
22792 msgid "debian=(yes|no)"
22793 msgstr ""
22794
22795 # type: textblock
22796 #: ../inspector/virt-inspector.pl:693
22797 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
22798 msgstr ""
22799
22800 # type: =item
22801 #: ../inspector/virt-inspector.pl:706
22802 msgid "fullvirt=(yes|no)"
22803 msgstr ""
22804
22805 # type: textblock
22806 #: ../inspector/virt-inspector.pl:708
22807 msgid ""
22808 "Answer C<yes> if there is at least one operating system kernel installed in "
22809 "the guest which runs fully virtualized.  Such a guest would require a "
22810 "hypervisor which supports full system virtualization."
22811 msgstr ""
22812
22813 # type: =item
22814 #: ../inspector/virt-inspector.pl:731
22815 msgid "xen_domU_kernel=(yes|no)"
22816 msgstr ""
22817
22818 # type: textblock
22819 #: ../inspector/virt-inspector.pl:733
22820 msgid ""
22821 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
22822 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
22823 msgstr ""
22824
22825 # type: =item
22826 #: ../inspector/virt-inspector.pl:753
22827 msgid "xen_pv_drivers=(yes|no)"
22828 msgstr ""
22829
22830 # type: textblock
22831 #: ../inspector/virt-inspector.pl:755
22832 msgid ""
22833 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
22834 "(usually the kernel itself will be fully virtualized, but the PV drivers "
22835 "have been installed by the administrator for performance reasons)."
22836 msgstr ""
22837
22838 # type: =item
22839 #: ../inspector/virt-inspector.pl:777
22840 msgid "virtio_drivers=(yes|no)"
22841 msgstr ""
22842
22843 # type: textblock
22844 #: ../inspector/virt-inspector.pl:779
22845 msgid ""
22846 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
22847 "Virtio drivers are commonly used to improve the performance of KVM."
22848 msgstr ""
22849
22850 # type: =item
22851 #: ../inspector/virt-inspector.pl:800
22852 msgid "userspace_arch=(x86_64|...)"
22853 msgstr ""
22854
22855 # type: textblock
22856 #: ../inspector/virt-inspector.pl:802
22857 msgid "Print the architecture of userspace."
22858 msgstr ""
22859
22860 # type: textblock
22861 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
22862 msgid "NB. For multi-boot VMs this can print several lines."
22863 msgstr ""
22864
22865 # type: =item
22866 #: ../inspector/virt-inspector.pl:821
22867 msgid "kernel_arch=(x86_64|...)"
22868 msgstr ""
22869
22870 # type: textblock
22871 #: ../inspector/virt-inspector.pl:823
22872 msgid "Print the architecture of the kernel."
22873 msgstr ""
22874
22875 # type: textblock
22876 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:484
22877 msgid ""
22878 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
22879 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
22880 msgstr ""
22881
22882 # type: textblock
22883 #: ../inspector/virt-inspector.pl:857 ../tools/virt-cat.pl:175
22884 #: ../tools/virt-df.pl:493 ../tools/virt-edit.pl:339
22885 #: ../tools/virt-list-filesystems.pl:205 ../tools/virt-list-partitions.pl:242
22886 #: ../tools/virt-ls.pl:223 ../tools/virt-make-fs.pl:554
22887 #: ../tools/virt-rescue.pl:243 ../tools/virt-resize.pl:1409
22888 #: ../tools/virt-tar.pl:270 ../tools/virt-win-reg.pl:489
22889 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
22890 msgstr ""
22891
22892 # type: textblock
22893 #: ../inspector/virt-inspector.pl:859
22894 msgid "Matthew Booth L<mbooth@redhat.com>"
22895 msgstr ""
22896
22897 # type: textblock
22898 #: ../inspector/virt-inspector.pl:863 ../tools/virt-cat.pl:179
22899 #: ../tools/virt-list-filesystems.pl:209 ../tools/virt-ls.pl:227
22900 #: ../tools/virt-tar.pl:274
22901 msgid "Copyright (C) 2009 Red Hat Inc."
22902 msgstr ""
22903
22904 # type: textblock
22905 #: ../tools/virt-cat.pl:34
22906 msgid "virt-cat - Display a file in a virtual machine"
22907 msgstr ""
22908
22909 # type: verbatim
22910 #: ../tools/virt-cat.pl:38
22911 #, no-wrap
22912 msgid ""
22913 " virt-cat [--options] domname file\n"
22914 "\n"
22915 msgstr ""
22916
22917 # type: verbatim
22918 #: ../tools/virt-cat.pl:40
22919 #, no-wrap
22920 msgid ""
22921 " virt-cat [--options] disk.img [disk.img ...] file\n"
22922 "\n"
22923 msgstr ""
22924
22925 # type: textblock
22926 #: ../tools/virt-cat.pl:44
22927 msgid ""
22928 "C<virt-cat> is a command line tool to display the contents of C<file> where "
22929 "C<file> exists in the named virtual machine (or disk image)."
22930 msgstr ""
22931
22932 # type: textblock
22933 #: ../tools/virt-cat.pl:47
22934 msgid ""
22935 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
22936 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
22937 "tool."
22938 msgstr ""
22939
22940 # type: textblock
22941 #: ../tools/virt-cat.pl:53
22942 msgid ""
22943 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
22944 msgstr ""
22945
22946 # type: verbatim
22947 #: ../tools/virt-cat.pl:56
22948 #, no-wrap
22949 msgid ""
22950 " virt-cat mydomain /etc/fstab\n"
22951 "\n"
22952 msgstr ""
22953
22954 # type: textblock
22955 #: ../tools/virt-cat.pl:58
22956 msgid "List syslog messages from a VM:"
22957 msgstr ""
22958
22959 # type: verbatim
22960 #: ../tools/virt-cat.pl:60
22961 #, no-wrap
22962 msgid ""
22963 " virt-cat mydomain /var/log/messages | tail\n"
22964 "\n"
22965 msgstr ""
22966
22967 # type: textblock
22968 #: ../tools/virt-cat.pl:62
22969 msgid "Find out what DHCP IP address a VM acquired:"
22970 msgstr ""
22971
22972 # type: verbatim
22973 #: ../tools/virt-cat.pl:64
22974 #, no-wrap
22975 msgid ""
22976 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
22977 "\n"
22978 msgstr ""
22979
22980 # type: textblock
22981 #: ../tools/virt-cat.pl:66
22982 msgid "Find out what packages were recently installed:"
22983 msgstr ""
22984
22985 # type: verbatim
22986 #: ../tools/virt-cat.pl:68
22987 #, no-wrap
22988 msgid ""
22989 " virt-cat mydomain /var/log/yum.log | tail\n"
22990 "\n"
22991 msgstr ""
22992
22993 # type: textblock
22994 #: ../tools/virt-cat.pl:70
22995 msgid "Find out who is logged on inside a virtual machine:"
22996 msgstr ""
22997
22998 # type: verbatim
22999 #: ../tools/virt-cat.pl:72
23000 #, no-wrap
23001 msgid ""
23002 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
23003 " who /tmp/utmp\n"
23004 "\n"
23005 msgstr ""
23006
23007 # type: textblock
23008 #: ../tools/virt-cat.pl:75
23009 msgid "or who was logged on:"
23010 msgstr ""
23011
23012 # type: verbatim
23013 #: ../tools/virt-cat.pl:77
23014 #, no-wrap
23015 msgid ""
23016 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
23017 " last -f /tmp/wtmp\n"
23018 "\n"
23019 msgstr ""
23020
23021 # type: textblock
23022 #: ../tools/virt-cat.pl:109 ../tools/virt-df.pl:100 ../tools/virt-edit.pl:118
23023 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
23024 #: ../tools/virt-ls.pl:108 ../tools/virt-rescue.pl:140
23025 #: ../tools/virt-tar.pl:128 ../tools/virt-win-reg.pl:209
23026 msgid ""
23027 "If you specify guest block devices directly, then libvirt is not used at all."
23028 msgstr ""
23029
23030 # type: textblock
23031 #: ../tools/virt-cat.pl:165
23032 msgid ""
23033 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, L<Sys::"
23034 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23035 msgstr ""
23036
23037 # type: =head1
23038 #: ../tools/virt-cat.pl:173 ../tools/virt-df.pl:491 ../tools/virt-edit.pl:337
23039 #: ../tools/virt-list-filesystems.pl:203 ../tools/virt-list-partitions.pl:240
23040 #: ../tools/virt-ls.pl:221 ../tools/virt-make-fs.pl:552
23041 #: ../tools/virt-rescue.pl:241 ../tools/virt-resize.pl:1407
23042 #: ../tools/virt-tar.pl:268 ../tools/virt-win-reg.pl:487
23043 msgid "AUTHOR"
23044 msgstr ""
23045
23046 # type: textblock
23047 #: ../tools/virt-df.pl:36
23048 msgid "virt-df - Display free space on virtual filesystems"
23049 msgstr ""
23050
23051 # type: verbatim
23052 #: ../tools/virt-df.pl:40
23053 #, no-wrap
23054 msgid ""
23055 " virt-df [--options]\n"
23056 "\n"
23057 msgstr ""
23058
23059 # type: verbatim
23060 #: ../tools/virt-df.pl:42
23061 #, no-wrap
23062 msgid ""
23063 " virt-df [--options] domname\n"
23064 "\n"
23065 msgstr ""
23066
23067 # type: verbatim
23068 #: ../tools/virt-df.pl:44
23069 #, no-wrap
23070 msgid ""
23071 " virt-df [--options] disk.img [disk.img ...]\n"
23072 "\n"
23073 msgstr ""
23074
23075 # type: textblock
23076 #: ../tools/virt-df.pl:48
23077 msgid ""
23078 "C<virt-df> is a command line tool to display free space on virtual machine "
23079 "filesystems.  Unlike other tools, it doesn't just display the amount of "
23080 "space allocated to a virtual machine, but can look inside the virtual "
23081 "machine to see how much space is really being used."
23082 msgstr ""
23083
23084 # type: textblock
23085 #: ../tools/virt-df.pl:53
23086 msgid ""
23087 "It is like the L<df(1)> command, but for virtual machines, except that it "
23088 "also works for Windows virtual machines."
23089 msgstr ""
23090
23091 # type: textblock
23092 #: ../tools/virt-df.pl:56
23093 msgid ""
23094 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
23095 "of all active and inactive guests, and performs a C<df>-type operation on "
23096 "each one in turn, printing out the results."
23097 msgstr ""
23098
23099 # type: textblock
23100 #: ../tools/virt-df.pl:60
23101 msgid ""
23102 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
23103 "either the single named libvirt domain, or on the disk image(s) listed on "
23104 "the command line (which must all belong to a single VM).  In this mode (with "
23105 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
23106 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
23107 msgstr ""
23108
23109 # type: textblock
23110 #: ../tools/virt-df.pl:67
23111 msgid ""
23112 "Use the C<--csv> option to get a format which can be easily parsed by other "
23113 "programs.  Other options are mostly similar to standard C<df> options.  See "
23114 "below for the complete list."
23115 msgstr ""
23116
23117 # type: =item
23118 #: ../tools/virt-df.pl:107
23119 msgid "B<--csv>"
23120 msgstr ""
23121
23122 # type: textblock
23123 #: ../tools/virt-df.pl:109
23124 msgid ""
23125 "Write out the results in CSV format (comma-separated values).  This format "
23126 "can be imported easily into databases and spreadsheets, but read L</NOTE "
23127 "ABOUT CSV FORMAT> below."
23128 msgstr ""
23129
23130 # type: =item
23131 #: ../tools/virt-df.pl:117
23132 msgid "B<--human-readable> | B<-h>"
23133 msgstr ""
23134
23135 # type: textblock
23136 #: ../tools/virt-df.pl:119
23137 msgid "Print sizes in human-readable format."
23138 msgstr ""
23139
23140 # type: textblock
23141 #: ../tools/virt-df.pl:121
23142 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
23143 msgstr ""
23144
23145 # type: =item
23146 #: ../tools/virt-df.pl:127
23147 msgid "B<--inodes> | B<-i>"
23148 msgstr ""
23149
23150 # type: textblock
23151 #: ../tools/virt-df.pl:129
23152 msgid "Print inodes instead of blocks."
23153 msgstr ""
23154
23155 # type: =head1
23156 #: ../tools/virt-df.pl:458
23157 msgid "NOTE ABOUT CSV FORMAT"
23158 msgstr ""
23159
23160 # type: textblock
23161 #: ../tools/virt-df.pl:460
23162 msgid ""
23163 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
23164 "should be easy to parse, but it is definitely not easy to parse."
23165 msgstr ""
23166
23167 # type: textblock
23168 #: ../tools/virt-df.pl:463
23169 msgid ""
23170 "Myth: Just split fields at commas.  Reality: This does I<not> work "
23171 "reliably.  This example has two columns:"
23172 msgstr ""
23173
23174 # type: verbatim
23175 #: ../tools/virt-df.pl:466
23176 #, no-wrap
23177 msgid ""
23178 " \"foo,bar\",baz\n"
23179 "\n"
23180 msgstr ""
23181
23182 # type: textblock
23183 #: ../tools/virt-df.pl:468
23184 msgid ""
23185 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
23186 "reliably.  This example has one row:"
23187 msgstr ""
23188
23189 # type: verbatim
23190 #: ../tools/virt-df.pl:471
23191 #, no-wrap
23192 msgid ""
23193 " \"foo\n"
23194 " bar\",baz\n"
23195 "\n"
23196 msgstr ""
23197
23198 # type: textblock
23199 #: ../tools/virt-df.pl:474
23200 msgid ""
23201 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
23202 "packaged in major Linux distributions)."
23203 msgstr ""
23204
23205 # type: textblock
23206 #: ../tools/virt-df.pl:477
23207 msgid ""
23208 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
23209 "or Python's built-in csv library)."
23210 msgstr ""
23211
23212 # type: textblock
23213 #: ../tools/virt-df.pl:480
23214 msgid "Most spreadsheets and databases can import CSV directly."
23215 msgstr ""
23216
23217 # type: textblock
23218 #: ../tools/virt-df.pl:497 ../tools/virt-edit.pl:343
23219 #: ../tools/virt-list-partitions.pl:246 ../tools/virt-rescue.pl:247
23220 msgid "Copyright (C) 2009-2010 Red Hat Inc."
23221 msgstr ""
23222
23223 # type: textblock
23224 #: ../tools/virt-edit.pl:35
23225 msgid "virt-edit - Edit a file in a virtual machine"
23226 msgstr ""
23227
23228 # type: verbatim
23229 #: ../tools/virt-edit.pl:39
23230 #, no-wrap
23231 msgid ""
23232 " virt-edit [--options] domname file\n"
23233 "\n"
23234 msgstr ""
23235
23236 # type: verbatim
23237 #: ../tools/virt-edit.pl:41
23238 #, no-wrap
23239 msgid ""
23240 " virt-edit [--options] disk.img [disk.img ...] file\n"
23241 "\n"
23242 msgstr ""
23243
23244 # type: verbatim
23245 #: ../tools/virt-edit.pl:43
23246 #, no-wrap
23247 msgid ""
23248 " virt-edit [domname|disk.img] file -e 'expr'\n"
23249 "\n"
23250 msgstr ""
23251
23252 # type: textblock
23253 #: ../tools/virt-edit.pl:47
23254 msgid ""
23255 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
23256 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
23257 "doing this, but doesn't catch all cases."
23258 msgstr ""
23259
23260 # type: textblock
23261 #: ../tools/virt-edit.pl:53
23262 msgid ""
23263 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
23264 "the named virtual machine (or disk image)."
23265 msgstr ""
23266
23267 # type: textblock
23268 #: ../tools/virt-edit.pl:56
23269 msgid ""
23270 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
23271 "you should look at the L<guestfish(1)> tool."
23272 msgstr ""
23273
23274 # type: textblock
23275 #: ../tools/virt-edit.pl:61
23276 msgid "Edit the named files interactively:"
23277 msgstr ""
23278
23279 # type: verbatim
23280 #: ../tools/virt-edit.pl:63
23281 #, no-wrap
23282 msgid ""
23283 " virt-edit mydomain /boot/grub/grub.conf\n"
23284 "\n"
23285 msgstr ""
23286
23287 # type: verbatim
23288 #: ../tools/virt-edit.pl:65
23289 #, no-wrap
23290 msgid ""
23291 " virt-edit mydomain /etc/passwd\n"
23292 "\n"
23293 msgstr ""
23294
23295 # type: textblock
23296 #: ../tools/virt-edit.pl:67
23297 msgid ""
23298 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
23299 "below).  To change the init default level to 5:"
23300 msgstr ""
23301
23302 # type: verbatim
23303 #: ../tools/virt-edit.pl:71
23304 #, no-wrap
23305 msgid ""
23306 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
23307 "\n"
23308 msgstr ""
23309
23310 # type: =item
23311 #: ../tools/virt-edit.pl:97
23312 msgid "B<--backup extension> | B<-b extension>"
23313 msgstr ""
23314
23315 # type: textblock
23316 #: ../tools/virt-edit.pl:99
23317 msgid ""
23318 "Create a backup of the original file I<in the guest disk image>.  The backup "
23319 "has the original filename with C<extension> added."
23320 msgstr ""
23321
23322 # type: textblock
23323 #: ../tools/virt-edit.pl:102
23324 msgid ""
23325 "Usually the first character of C<extension> would be a dot C<.> so you would "
23326 "write:"
23327 msgstr ""
23328
23329 # type: verbatim
23330 #: ../tools/virt-edit.pl:105
23331 #, no-wrap
23332 msgid ""
23333 " virt-edit -b .orig [etc]\n"
23334 "\n"
23335 msgstr ""
23336
23337 # type: textblock
23338 #: ../tools/virt-edit.pl:107
23339 msgid "By default, no backup file is made."
23340 msgstr ""
23341
23342 # type: =item
23343 #: ../tools/virt-edit.pl:125
23344 msgid "B<--expr EXPR> | B<-e EXPR>"
23345 msgstr ""
23346
23347 # type: textblock
23348 #: ../tools/virt-edit.pl:127
23349 msgid ""
23350 "Instead of launching the external editor, non-interactively apply the Perl "
23351 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
23352 "EDITING> below."
23353 msgstr ""
23354
23355 # type: textblock
23356 #: ../tools/virt-edit.pl:131
23357 msgid ""
23358 "Be careful to properly quote the expression to prevent it from being altered "
23359 "by the shell."
23360 msgstr ""
23361
23362 # type: =head1
23363 #: ../tools/virt-edit.pl:250
23364 msgid "NON-INTERACTIVE EDITING"
23365 msgstr ""
23366
23367 # type: textblock
23368 #: ../tools/virt-edit.pl:252
23369 msgid ""
23370 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
23371 "administrator can interactively edit the file."
23372 msgstr ""
23373
23374 # type: textblock
23375 #: ../tools/virt-edit.pl:255
23376 msgid ""
23377 "There are two ways also to use C<virt-edit> from scripts in order to make "
23378 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
23379 "like this, it's less error-prone to write scripts directly using the "
23380 "libguestfs API and Augeas for configuration file editing.)"
23381 msgstr ""
23382
23383 # type: textblock
23384 #: ../tools/virt-edit.pl:261
23385 msgid ""
23386 "The first method is to temporarily set C<$EDITOR> to any script or program "
23387 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
23388 "update C<tmpfile> in place however it likes."
23389 msgstr ""
23390
23391 # type: textblock
23392 #: ../tools/virt-edit.pl:265
23393 msgid ""
23394 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
23395 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
23396 "instances of C<foo> with C<bar> in a file:"
23397 msgstr ""
23398
23399 # type: verbatim
23400 #: ../tools/virt-edit.pl:269
23401 #, no-wrap
23402 msgid ""
23403 " virt-edit domname filename -e 's/foo/bar/'\n"
23404 "\n"
23405 msgstr ""
23406
23407 # type: textblock
23408 #: ../tools/virt-edit.pl:271
23409 msgid ""
23410 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
23411 "For example to delete root's password you could do:"
23412 msgstr ""
23413
23414 # type: verbatim
23415 #: ../tools/virt-edit.pl:274
23416 #, no-wrap
23417 msgid ""
23418 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
23419 "\n"
23420 msgstr ""
23421
23422 # type: textblock
23423 #: ../tools/virt-edit.pl:276
23424 msgid ""
23425 "What really happens is that the snippet is evaluated as a Perl expression "
23426 "for each line of the file.  The line, including the final C<\\n>, is passed "
23427 "in C<$_> and the expression should update C<$_> or leave it unchanged."
23428 msgstr ""
23429
23430 # type: textblock
23431 #: ../tools/virt-edit.pl:281
23432 msgid ""
23433 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
23434 "C<apache> user account from the password file you can do:"
23435 msgstr ""
23436
23437 # type: verbatim
23438 #: ../tools/virt-edit.pl:284
23439 #, no-wrap
23440 msgid ""
23441 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
23442 "\n"
23443 msgstr ""
23444
23445 # type: textblock
23446 #: ../tools/virt-edit.pl:286
23447 msgid ""
23448 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
23449 "the end of the file is rather difficult this way since there is no concept "
23450 "of \"last line of the file\" - your expression just doesn't get called "
23451 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
23452 "want to do this."
23453 msgstr ""
23454
23455 # type: textblock
23456 #: ../tools/virt-edit.pl:292
23457 msgid ""
23458 "The variable C<$lineno> contains the current line number.  As is "
23459 "traditional, the first line in the file is number C<1>."
23460 msgstr ""
23461
23462 # type: textblock
23463 #: ../tools/virt-edit.pl:295
23464 msgid ""
23465 "The return value from the expression is ignored, but the expression may call "
23466 "C<die> in order to abort the whole program, leaving the original file "
23467 "untouched."
23468 msgstr ""
23469
23470 # type: textblock
23471 #: ../tools/virt-edit.pl:299
23472 msgid ""
23473 "Remember when matching the end of a line that C<$_> may contain the final C<"
23474 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
23475 "newline then neither of these.  Thus to match or substitute some text at the "
23476 "end of a line, use this regular expression:"
23477 msgstr ""
23478
23479 # type: verbatim
23480 #: ../tools/virt-edit.pl:304
23481 #, no-wrap
23482 msgid ""
23483 " /some text(\\r?\\n)?$/\n"
23484 "\n"
23485 msgstr ""
23486
23487 # type: textblock
23488 #: ../tools/virt-edit.pl:306
23489 msgid ""
23490 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
23491 "$_> itself (since that would remove all newlines from the file):"
23492 msgstr ""
23493
23494 # type: verbatim
23495 #: ../tools/virt-edit.pl:310
23496 #, no-wrap
23497 msgid ""
23498 " my $m = $_; chomp $m; $m =~ /some text$/\n"
23499 "\n"
23500 msgstr ""
23501
23502 # type: =item
23503 #: ../tools/virt-edit.pl:316
23504 msgid "C<EDITOR>"
23505 msgstr ""
23506
23507 # type: textblock
23508 #: ../tools/virt-edit.pl:318
23509 msgid ""
23510 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
23511 "\"emacs -nw\">"
23512 msgstr ""
23513
23514 # type: textblock
23515 #: ../tools/virt-edit.pl:321
23516 msgid "If not set, C<vi> is used."
23517 msgstr ""
23518
23519 # type: textblock
23520 #: ../tools/virt-edit.pl:327
23521 msgid ""
23522 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
23523 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, L<perl(1)>, "
23524 "L<perlre(1)>."
23525 msgstr ""
23526
23527 # type: textblock
23528 #: ../tools/virt-list-filesystems.pl:32
23529 msgid ""
23530 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
23531 msgstr ""
23532
23533 # type: verbatim
23534 #: ../tools/virt-list-filesystems.pl:36
23535 #, no-wrap
23536 msgid ""
23537 " virt-list-filesystems [--options] domname\n"
23538 "\n"
23539 msgstr ""
23540
23541 # type: verbatim
23542 #: ../tools/virt-list-filesystems.pl:38
23543 #, no-wrap
23544 msgid ""
23545 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
23546 "\n"
23547 msgstr ""
23548
23549 # type: textblock
23550 #: ../tools/virt-list-filesystems.pl:42
23551 msgid ""
23552 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
23553 "are contained in a virtual machine or disk image."
23554 msgstr ""
23555
23556 # type: textblock
23557 #: ../tools/virt-list-filesystems.pl:46
23558 msgid ""
23559 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
23560 "functionality.  For more complex cases you should look at the L<guestfish(1)"
23561 "> tool."
23562 msgstr ""
23563
23564 # type: =item
23565 #: ../tools/virt-list-filesystems.pl:86 ../tools/virt-list-partitions.pl:95
23566 #: ../tools/virt-ls.pl:115
23567 msgid "B<-l> | B<--long>"
23568 msgstr ""
23569
23570 # type: textblock
23571 #: ../tools/virt-list-filesystems.pl:88
23572 msgid ""
23573 "With this option, C<virt-list-filesystems> displays the type of each "
23574 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
23575 msgstr ""
23576
23577 # type: =item
23578 #: ../tools/virt-list-filesystems.pl:95
23579 msgid "B<-a> | B<--all>"
23580 msgstr ""
23581
23582 # type: textblock
23583 #: ../tools/virt-list-filesystems.pl:97
23584 msgid ""
23585 "Normally we only show mountable filesystems.  If this option is given then "
23586 "swap devices are shown too."
23587 msgstr ""
23588
23589 # type: textblock
23590 #: ../tools/virt-list-filesystems.pl:193
23591 msgid ""
23592 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-list-"
23593 "partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)"
23594 ">, L<http://libguestfs.org/>."
23595 msgstr ""
23596
23597 # type: textblock
23598 #: ../tools/virt-list-partitions.pl:32
23599 msgid ""
23600 "virt-list-partitions - List partitions in a virtual machine or disk image"
23601 msgstr ""
23602
23603 # type: verbatim
23604 #: ../tools/virt-list-partitions.pl:36
23605 #, no-wrap
23606 msgid ""
23607 " virt-list-partitions [--options] domname\n"
23608 "\n"
23609 msgstr ""
23610
23611 # type: verbatim
23612 #: ../tools/virt-list-partitions.pl:38
23613 #, no-wrap
23614 msgid ""
23615 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
23616 "\n"
23617 msgstr ""
23618
23619 # type: textblock
23620 #: ../tools/virt-list-partitions.pl:42
23621 msgid ""
23622 "C<virt-list-partitions> is a command line tool to list the partitions that "
23623 "are contained in a virtual machine or disk image.  It is mainly useful as a "
23624 "first step to using L<virt-resize(1)>."
23625 msgstr ""
23626
23627 # type: textblock
23628 #: ../tools/virt-list-partitions.pl:47
23629 msgid ""
23630 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
23631 "functionality.  For more complex cases you should look at the L<guestfish(1)"
23632 "> tool."
23633 msgstr ""
23634
23635 # type: =item
23636 #: ../tools/virt-list-partitions.pl:87
23637 msgid "B<-h> | B<--human-readable>"
23638 msgstr ""
23639
23640 # type: textblock
23641 #: ../tools/virt-list-partitions.pl:89
23642 msgid "Show sizes in human-readable form (eg. \"1G\")."
23643 msgstr ""
23644
23645 # type: textblock
23646 #: ../tools/virt-list-partitions.pl:97
23647 msgid ""
23648 "With this option, C<virt-list-partitions> displays the type and size of each "
23649 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
23650 msgstr ""
23651
23652 # type: =item
23653 #: ../tools/virt-list-partitions.pl:104
23654 msgid "B<-t> | B<--total>"
23655 msgstr ""
23656
23657 # type: textblock
23658 #: ../tools/virt-list-partitions.pl:106
23659 msgid ""
23660 "Display the total size of each block device (as a separate row or rows)."
23661 msgstr ""
23662
23663 # type: textblock
23664 #: ../tools/virt-list-partitions.pl:231
23665 msgid ""
23666 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, L<virt-resize(1)"
23667 ">, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
23668 "libguestfs.org/>."
23669 msgstr ""
23670
23671 # type: textblock
23672 #: ../tools/virt-ls.pl:35
23673 msgid "virt-ls - List files in a virtual machine"
23674 msgstr ""
23675
23676 # type: verbatim
23677 #: ../tools/virt-ls.pl:39
23678 #, no-wrap
23679 msgid ""
23680 " virt-ls [--options] domname directory\n"
23681 "\n"
23682 msgstr ""
23683
23684 # type: verbatim
23685 #: ../tools/virt-ls.pl:41
23686 #, no-wrap
23687 msgid ""
23688 " virt-ls [--options] disk.img [disk.img ...] directory\n"
23689 "\n"
23690 msgstr ""
23691
23692 # type: textblock
23693 #: ../tools/virt-ls.pl:45
23694 msgid ""
23695 "C<virt-ls> is a command line tool to list the names of files in a directory "
23696 "inside a virtual machine or disk image."
23697 msgstr ""
23698
23699 # type: textblock
23700 #: ../tools/virt-ls.pl:48
23701 msgid ""
23702 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
23703 "For more complex cases you should look at the L<guestfish(1)> tool."
23704 msgstr ""
23705
23706 # type: textblock
23707 #: ../tools/virt-ls.pl:52
23708 msgid ""
23709 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
23710 "simple listing is like the ordinary L<ls(1)> command:"
23711 msgstr ""
23712
23713 # type: verbatim
23714 #: ../tools/virt-ls.pl:55
23715 #, no-wrap
23716 msgid ""
23717 " $ virt-ls myguest /\n"
23718 " bin\n"
23719 " boot\n"
23720 " [etc.]\n"
23721 "\n"
23722 msgstr ""
23723
23724 # type: textblock
23725 #: ../tools/virt-ls.pl:60
23726 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
23727 msgstr ""
23728
23729 # type: verbatim
23730 #: ../tools/virt-ls.pl:62
23731 #, no-wrap
23732 msgid ""
23733 " $ virt-ls -l myguest /\n"
23734 " total 204\n"
23735 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
23736 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
23737 " [etc.]\n"
23738 "\n"
23739 msgstr ""
23740
23741 # type: textblock
23742 #: ../tools/virt-ls.pl:68
23743 msgid ""
23744 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
23745 "and directories recursively:"
23746 msgstr ""
23747
23748 # type: verbatim
23749 #: ../tools/virt-ls.pl:71
23750 #, no-wrap
23751 msgid ""
23752 " $ virt-ls -R myguest /tmp\n"
23753 " foo\n"
23754 " foo/bar\n"
23755 " [etc.]\n"
23756 "\n"
23757 msgstr ""
23758
23759 # type: textblock
23760 #: ../tools/virt-ls.pl:76
23761 msgid ""
23762 "You I<cannot> combine these options.  To do more complicated things, use "
23763 "L<guestfish(1)>."
23764 msgstr ""
23765
23766 # type: =item
23767 #: ../tools/virt-ls.pl:117
23768 msgid "B<-R> | B<--recursive>"
23769 msgstr ""
23770
23771 # type: textblock
23772 #: ../tools/virt-ls.pl:119
23773 msgid ""
23774 "Select the mode.  With neither of these options, C<virt-ls> produces a "
23775 "simple, flat list of the files in the named directory."
23776 msgstr ""
23777
23778 # type: textblock
23779 #: ../tools/virt-ls.pl:122
23780 msgid ""
23781 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
23782 "like the plain C<ls -l> command)."
23783 msgstr ""
23784
23785 # type: textblock
23786 #: ../tools/virt-ls.pl:125
23787 msgid ""
23788 "C<virt-ls -R> produces a recursive list of files starting at the named "
23789 "directory.  See the documentation for the C<guestfs_find> command L<guestfs"
23790 "(3)> for precise details."
23791 msgstr ""
23792
23793 # type: textblock
23794 #: ../tools/virt-ls.pl:129
23795 msgid "You cannot combine these options."
23796 msgstr ""
23797
23798 # type: textblock
23799 #: ../tools/virt-ls.pl:212
23800 msgid ""
23801 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<Sys::"
23802 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
23803 "org/>."
23804 msgstr ""
23805
23806 # type: textblock
23807 #: ../tools/virt-make-fs.pl:37
23808 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
23809 msgstr ""
23810
23811 # type: verbatim
23812 #: ../tools/virt-make-fs.pl:41
23813 #, no-wrap
23814 msgid ""
23815 " virt-make-fs [--options] input.tar output.img\n"
23816 "\n"
23817 msgstr ""
23818
23819 # type: verbatim
23820 #: ../tools/virt-make-fs.pl:43
23821 #, no-wrap
23822 msgid ""
23823 " virt-make-fs [--options] input.tar.gz output.img\n"
23824 "\n"
23825 msgstr ""
23826
23827 # type: verbatim
23828 #: ../tools/virt-make-fs.pl:45
23829 #, no-wrap
23830 msgid ""
23831 " virt-make-fs [--options] directory output.img\n"
23832 "\n"
23833 msgstr ""
23834
23835 # type: textblock
23836 #: ../tools/virt-make-fs.pl:49
23837 msgid ""
23838 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
23839 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
23840 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
23841 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
23842 "you want to attach these filesystems to existing virtual machines (eg. to "
23843 "import large amounts of read-only data to a VM)."
23844 msgstr ""
23845
23846 # type: textblock
23847 #: ../tools/virt-make-fs.pl:57
23848 msgid "Basic usage is:"
23849 msgstr ""
23850
23851 # type: verbatim
23852 #: ../tools/virt-make-fs.pl:59
23853 #, no-wrap
23854 msgid ""
23855 " virt-make-fs input output\n"
23856 "\n"
23857 msgstr ""
23858
23859 # type: textblock
23860 #: ../tools/virt-make-fs.pl:61
23861 msgid ""
23862 "where C<input> is either a directory containing files that you want to add, "
23863 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
23864 "C<output> is a disk image.  The input type is detected automatically.  The "
23865 "output disk image defaults to a raw ext2 image unless you specify extra "
23866 "flags (see L</OPTIONS> below)."
23867 msgstr ""
23868
23869 # type: =head2
23870 #: ../tools/virt-make-fs.pl:67
23871 msgid "EXTRA SPACE"
23872 msgstr ""
23873
23874 # type: textblock
23875 #: ../tools/virt-make-fs.pl:69
23876 msgid ""
23877 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
23878 "the files that it contains, but might have extra space.  Depending on how "
23879 "you are going to use the output, you might think this extra space is wasted "
23880 "and want to minimize it, or you might want to leave space so that more files "
23881 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
23882 "but you can use the C<--size> flag to leave space in the filesystem if you "
23883 "want it."
23884 msgstr ""
23885
23886 # type: textblock
23887 #: ../tools/virt-make-fs.pl:77
23888 msgid ""
23889 "An alternative way to leave extra space but not make the output image any "
23890 "bigger is to use an alternative disk image format (instead of the default "
23891 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
23892 "image format (check your hypervisor supports this before using it).  This "
23893 "allows you to choose a large C<--size> but the extra space won't actually be "
23894 "allocated in the image until you try to store something in it."
23895 msgstr ""
23896
23897 # type: textblock
23898 #: ../tools/virt-make-fs.pl:85
23899 msgid ""
23900 "Don't forget that you can also use local commands including L<resize2fs(8)> "
23901 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-"
23902 "resize to build another image from scratch."
23903 msgstr ""
23904
23905 # type: =head3
23906 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
23907 #: ../tools/virt-make-fs.pl:142
23908 msgid "EXAMPLE"
23909 msgstr ""
23910
23911 # type: verbatim
23912 #: ../tools/virt-make-fs.pl:91
23913 #, no-wrap
23914 msgid ""
23915 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
23916 "\n"
23917 msgstr ""
23918
23919 # type: =head2
23920 #: ../tools/virt-make-fs.pl:93
23921 msgid "FILESYSTEM TYPE"
23922 msgstr ""
23923
23924 # type: textblock
23925 #: ../tools/virt-make-fs.pl:95
23926 msgid ""
23927 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
23928 "libguestfs supports can be used (but I<not> read-only formats like "
23929 "ISO9660).  Here are some of the more common choices:"
23930 msgstr ""
23931
23932 # type: =item
23933 #: ../tools/virt-make-fs.pl:101
23934 msgid "I<ext3>"
23935 msgstr ""
23936
23937 # type: textblock
23938 #: ../tools/virt-make-fs.pl:103
23939 msgid ""
23940 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
23941 "you are not going to use the filesystem in a way that requires the journal, "
23942 "then this is just wasted overhead."
23943 msgstr ""
23944
23945 # type: =item
23946 #: ../tools/virt-make-fs.pl:107
23947 msgid "I<ntfs> or I<vfat>"
23948 msgstr ""
23949
23950 # type: textblock
23951 #: ../tools/virt-make-fs.pl:109
23952 msgid "Useful if exporting data to a Windows guest."
23953 msgstr ""
23954
23955 # type: textblock
23956 #: ../tools/virt-make-fs.pl:111
23957 msgid ""
23958 "I<Note for vfat>: The tar archive or local directory must only contain files "
23959 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
23960 "program running within libguestfs is unable to change the ownership of non-"
23961 "root files, since vfat itself does not support this."
23962 msgstr ""
23963
23964 # type: =item
23965 #: ../tools/virt-make-fs.pl:116
23966 msgid "I<minix>"
23967 msgstr ""
23968
23969 # type: textblock
23970 #: ../tools/virt-make-fs.pl:118
23971 msgid ""
23972 "Lower overhead than C<ext2>, but certain limitations on filename length and "
23973 "total filesystem size."
23974 msgstr ""
23975
23976 # type: verbatim
23977 #: ../tools/virt-make-fs.pl:125
23978 #, no-wrap
23979 msgid ""
23980 " virt-make-fs --type=minix input minixfs.img\n"
23981 "\n"
23982 msgstr ""
23983
23984 # type: =head2
23985 #: ../tools/virt-make-fs.pl:127
23986 msgid "TO PARTITION OR NOT TO PARTITION"
23987 msgstr ""
23988
23989 # type: textblock
23990 #: ../tools/virt-make-fs.pl:129
23991 msgid "Optionally virt-make-fs can add a partition table to the output disk."
23992 msgstr ""
23993
23994 # type: textblock
23995 #: ../tools/virt-make-fs.pl:131
23996 msgid ""
23997 "Adding a partition can make the disk image more compatible with certain "
23998 "virtualized operating systems which don't expect to see a filesystem "
23999 "directly located on a block device (Linux doesn't care and will happily "
24000 "handle both types)."
24001 msgstr ""
24002
24003 # type: textblock
24004 #: ../tools/virt-make-fs.pl:136
24005 msgid ""
24006 "On the other hand, if you have a partition table then the output image is no "
24007 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
24008 "directly on a partitioned disk image.  (However libguestfs tools such as "
24009 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
24010 msgstr ""
24011
24012 # type: textblock
24013 #: ../tools/virt-make-fs.pl:144
24014 msgid "Add an MBR partition:"
24015 msgstr ""
24016
24017 # type: verbatim
24018 #: ../tools/virt-make-fs.pl:146
24019 #, no-wrap
24020 msgid ""
24021 " virt-make-fs --partition -- input disk.img\n"
24022 "\n"
24023 msgstr ""
24024
24025 # type: textblock
24026 #: ../tools/virt-make-fs.pl:148
24027 msgid ""
24028 "If the output disk image could be terabyte-sized or larger, it's better to "
24029 "use an EFI/GPT-compatible partition table:"
24030 msgstr ""
24031
24032 # type: verbatim
24033 #: ../tools/virt-make-fs.pl:151
24034 #, no-wrap
24035 msgid ""
24036 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
24037 "\n"
24038 msgstr ""
24039
24040 # type: =item
24041 #: ../tools/virt-make-fs.pl:177 ../tools/virt-win-reg.pl:196
24042 msgid "B<--debug>"
24043 msgstr ""
24044
24045 # type: textblock
24046 #: ../tools/virt-make-fs.pl:179
24047 msgid "Enable debugging information."
24048 msgstr ""
24049
24050 # type: =item
24051 #: ../tools/virt-make-fs.pl:185
24052 msgid "B<--size=E<lt>NE<gt>>"
24053 msgstr ""
24054
24055 # type: =item
24056 #: ../tools/virt-make-fs.pl:187
24057 msgid "B<--size=+E<lt>NE<gt>>"
24058 msgstr ""
24059
24060 # type: =item
24061 #: ../tools/virt-make-fs.pl:189
24062 msgid "B<-s E<lt>NE<gt>>"
24063 msgstr ""
24064
24065 # type: =item
24066 #: ../tools/virt-make-fs.pl:191
24067 msgid "B<-s +E<lt>NE<gt>>"
24068 msgstr ""
24069
24070 # type: textblock
24071 #: ../tools/virt-make-fs.pl:193
24072 msgid ""
24073 "Use the C<--size> (or C<-s>) option to choose the size of the output image."
24074 msgstr ""
24075
24076 # type: textblock
24077 #: ../tools/virt-make-fs.pl:196
24078 msgid ""
24079 "If this option is I<not> given, then the output image will be just large "
24080 "enough to contain all the files, with not much wasted space."
24081 msgstr ""
24082
24083 # type: textblock
24084 #: ../tools/virt-make-fs.pl:199
24085 msgid ""
24086 "To choose a fixed size output disk, specify an absolute number followed by b/"
24087 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
24088 "Petabytes or Exabytes.  This must be large enough to contain all the input "
24089 "files, else you will get an error."
24090 msgstr ""
24091
24092 # type: textblock
24093 #: ../tools/virt-make-fs.pl:204
24094 msgid ""
24095 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
24096 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
24097 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
24098 "the input files, and (approximately) an extra 200 MB free space."
24099 msgstr ""
24100
24101 # type: textblock
24102 #: ../tools/virt-make-fs.pl:210
24103 msgid ""
24104 "Note that virt-make-fs estimates free space, and therefore will not produce "
24105 "filesystems containing precisely the free space requested.  (It is much more "
24106 "expensive and time-consuming to produce a filesystem which has precisely the "
24107 "desired free space)."
24108 msgstr ""
24109
24110 # type: =item
24111 #: ../tools/virt-make-fs.pl:219
24112 msgid "B<--format=E<lt>fmtE<gt>>"
24113 msgstr ""
24114
24115 # type: =item
24116 #: ../tools/virt-make-fs.pl:221
24117 msgid "B<-F E<lt>fmtE<gt>>"
24118 msgstr ""
24119
24120 # type: textblock
24121 #: ../tools/virt-make-fs.pl:223
24122 msgid "Choose the output disk image format."
24123 msgstr ""
24124
24125 # type: textblock
24126 #: ../tools/virt-make-fs.pl:225
24127 msgid "The default is C<raw> (raw disk image)."
24128 msgstr ""
24129
24130 # type: textblock
24131 #: ../tools/virt-make-fs.pl:227
24132 msgid ""
24133 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
24134 "that would really make sense here is C<qcow2>."
24135 msgstr ""
24136
24137 # type: =item
24138 #: ../tools/virt-make-fs.pl:234
24139 msgid "B<--type=E<lt>fsE<gt>>"
24140 msgstr ""
24141
24142 # type: =item
24143 #: ../tools/virt-make-fs.pl:236
24144 msgid "B<-t E<lt>fsE<gt>>"
24145 msgstr ""
24146
24147 # type: textblock
24148 #: ../tools/virt-make-fs.pl:238
24149 msgid "Choose the output filesystem type."
24150 msgstr ""
24151
24152 # type: textblock
24153 #: ../tools/virt-make-fs.pl:240
24154 msgid "The default is C<ext2>."
24155 msgstr ""
24156
24157 # type: textblock
24158 #: ../tools/virt-make-fs.pl:242
24159 msgid ""
24160 "Any filesystem which is supported read-write by libguestfs can be used here."
24161 msgstr ""
24162
24163 # type: =item
24164 #: ../tools/virt-make-fs.pl:249
24165 msgid "B<--partition>"
24166 msgstr ""
24167
24168 # type: =item
24169 #: ../tools/virt-make-fs.pl:251
24170 msgid "B<--partition=E<lt>parttypeE<gt>>"
24171 msgstr ""
24172
24173 # type: textblock
24174 #: ../tools/virt-make-fs.pl:253
24175 msgid ""
24176 "If specified, this flag adds an MBR partition table to the output disk image."
24177 msgstr ""
24178
24179 # type: textblock
24180 #: ../tools/virt-make-fs.pl:256
24181 msgid ""
24182 "You can change the partition table type, eg. C<--partition=gpt> for large "
24183 "disks."
24184 msgstr ""
24185
24186 # type: textblock
24187 #: ../tools/virt-make-fs.pl:259
24188 msgid ""
24189 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
24190 "might consider the next parameter to be the partition type.  For example:"
24191 msgstr ""
24192
24193 # type: verbatim
24194 #: ../tools/virt-make-fs.pl:263
24195 #, no-wrap
24196 msgid ""
24197 " virt-make-fs --partition input.tar ...\n"
24198 "\n"
24199 msgstr ""
24200
24201 # type: textblock
24202 #: ../tools/virt-make-fs.pl:265
24203 msgid ""
24204 "would cause virt-make-fs to think you wanted to use a partition type of "
24205 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
24206 "dash) between options and the input file argument:"
24207 msgstr ""
24208
24209 # type: verbatim
24210 #: ../tools/virt-make-fs.pl:269
24211 #, no-wrap
24212 msgid ""
24213 " virt-make-fs --partition -- input.tar ...\n"
24214 "\n"
24215 msgstr ""
24216
24217 # type: textblock
24218 #: ../tools/virt-make-fs.pl:529
24219 msgid ""
24220 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
24221 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
24222 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
24223 msgstr ""
24224
24225 # type: textblock
24226 #: ../tools/virt-make-fs.pl:543 ../tools/virt-win-reg.pl:478
24227 msgid ""
24228 "When reporting bugs, please enable debugging and capture the I<complete> "
24229 "output:"
24230 msgstr ""
24231
24232 # type: verbatim
24233 #: ../tools/virt-make-fs.pl:546
24234 #, no-wrap
24235 msgid ""
24236 " export LIBGUESTFS_DEBUG=1\n"
24237 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
24238 "\n"
24239 msgstr ""
24240
24241 # type: textblock
24242 #: ../tools/virt-make-fs.pl:549
24243 msgid ""
24244 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
24245 "redhat.com/>"
24246 msgstr ""
24247
24248 # type: textblock
24249 #: ../tools/virt-make-fs.pl:558 ../tools/virt-resize.pl:1413
24250 #: ../tools/virt-win-reg.pl:493
24251 msgid "Copyright (C) 2010 Red Hat Inc."
24252 msgstr ""
24253
24254 # type: textblock
24255 #: ../tools/virt-rescue.pl:33
24256 msgid "virt-rescue - Run a rescue shell on a virtual machine"
24257 msgstr ""
24258
24259 # type: verbatim
24260 #: ../tools/virt-rescue.pl:37
24261 #, no-wrap
24262 msgid ""
24263 " virt-rescue [--options] domname\n"
24264 "\n"
24265 msgstr ""
24266
24267 # type: verbatim
24268 #: ../tools/virt-rescue.pl:39
24269 #, no-wrap
24270 msgid ""
24271 " virt-rescue [--options] disk.img [disk.img ...]\n"
24272 "\n"
24273 msgstr ""
24274
24275 # type: textblock
24276 #: ../tools/virt-rescue.pl:43
24277 msgid ""
24278 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
24279 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
24280 "you from doing this, but doesn't catch all cases."
24281 msgstr ""
24282
24283 # type: textblock
24284 #: ../tools/virt-rescue.pl:47
24285 msgid ""
24286 "However if you use the I<--ro> (read only) option, then you can attach a "
24287 "shell to a live virtual machine.  The results might be strange or "
24288 "inconsistent at times but you won't get disk corruption."
24289 msgstr ""
24290
24291 # type: textblock
24292 #: ../tools/virt-rescue.pl:53
24293 msgid ""
24294 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
24295 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
24296 "recovery tools which you can use to examine or rescue a virtual machine or "
24297 "disk image."
24298 msgstr ""
24299
24300 # type: textblock
24301 #: ../tools/virt-rescue.pl:58
24302 msgid ""
24303 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
24304 "on disk image(s):"
24305 msgstr ""
24306
24307 # type: verbatim
24308 #: ../tools/virt-rescue.pl:61
24309 #, no-wrap
24310 msgid ""
24311 " virt-rescue GuestName\n"
24312 "\n"
24313 msgstr ""
24314
24315 # type: verbatim
24316 #: ../tools/virt-rescue.pl:63
24317 #, no-wrap
24318 msgid ""
24319 " virt-rescue --ro /path/to/disk.img\n"
24320 "\n"
24321 msgstr ""
24322
24323 # type: verbatim
24324 #: ../tools/virt-rescue.pl:65
24325 #, no-wrap
24326 msgid ""
24327 " virt-rescue /dev/sdc\n"
24328 "\n"
24329 msgstr ""
24330
24331 # type: textblock
24332 #: ../tools/virt-rescue.pl:67
24333 msgid "For live VMs you I<must> use the --ro option."
24334 msgstr ""
24335
24336 # type: textblock
24337 #: ../tools/virt-rescue.pl:69
24338 msgid ""
24339 "When you run virt-rescue on a virtual machine or disk image, you are placed "
24340 "in an interactive bash shell where you can use many ordinary Linux "
24341 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
24342 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
24343 "is an empty directory called C</sysroot> where you can mount filesystems."
24344 msgstr ""
24345
24346 # type: textblock
24347 #: ../tools/virt-rescue.pl:76
24348 msgid ""
24349 "In the example below, we list logical volumes, then choose one to mount "
24350 "under C</sysroot>:"
24351 msgstr ""
24352
24353 # type: verbatim
24354 #: ../tools/virt-rescue.pl:79
24355 #, no-wrap
24356 msgid ""
24357 " ><rescue> lvs\n"
24358 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
24359 " lv_root vg_f11x64 -wi-a-   8.83G\n"
24360 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
24361 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
24362 " ><rescue> ls /sysroot\n"
24363 "\n"
24364 msgstr ""
24365
24366 # type: textblock
24367 #: ../tools/virt-rescue.pl:86
24368 msgid ""
24369 "If you don't know what filesystems are available on the virtual machine then "
24370 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
24371 msgstr ""
24372
24373 # type: =head1
24374 #: ../tools/virt-rescue.pl:90 ../tools/virt-resize.pl:1350
24375 msgid "NOTES"
24376 msgstr ""
24377
24378 # type: textblock
24379 #: ../tools/virt-rescue.pl:92
24380 msgid ""
24381 "Virt-rescue can be used on I<any> disk image file or device, not just a "
24382 "virtual machine.  For example you can use it on a blank file if you want to "
24383 "partition that file (although we would recommend using L<guestfish(1)> "
24384 "instead as it is more suitable for this purpose).  You can even use virt-"
24385 "rescue on things like SD cards."
24386 msgstr ""
24387
24388 # type: textblock
24389 #: ../tools/virt-rescue.pl:98
24390 msgid ""
24391 "This tool is just designed for quick interactive hacking on a virtual "
24392 "machine.  For more structured access to a virtual machine disk image, you "
24393 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
24394 "make scripted changes to guests, use L<guestfish(1)>."
24395 msgstr ""
24396
24397 # type: =item
24398 #: ../tools/virt-rescue.pl:127
24399 msgid "B<--append kernelopts>"
24400 msgstr ""
24401
24402 # type: textblock
24403 #: ../tools/virt-rescue.pl:129
24404 msgid "Pass additional options to the rescue kernel."
24405 msgstr ""
24406
24407 # type: =item
24408 #: ../tools/virt-rescue.pl:147
24409 msgid "B<--memsize MB> | B<-m MB>"
24410 msgstr ""
24411
24412 # type: textblock
24413 #: ../tools/virt-rescue.pl:149
24414 msgid ""
24415 "Change the amount of memory allocated to the rescue system.  The default is "
24416 "set by libguestfs and is small but adequate for running system tools.  The "
24417 "occasional program might need more memory.  The parameter is specified in "
24418 "megabytes."
24419 msgstr ""
24420
24421 # type: =item
24422 #: ../tools/virt-rescue.pl:158
24423 msgid "B<--ro> | B<-r>"
24424 msgstr ""
24425
24426 # type: textblock
24427 #: ../tools/virt-rescue.pl:160
24428 msgid "Open the image read-only."
24429 msgstr ""
24430
24431 # type: textblock
24432 #: ../tools/virt-rescue.pl:172
24433 msgid ""
24434 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
24435 "SELINUX> before using this option."
24436 msgstr ""
24437
24438 # type: textblock
24439 #: ../tools/virt-rescue.pl:228
24440 msgid ""
24441 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
24442 "ENVIRONMENT VARIABLES> for the complete list."
24443 msgstr ""
24444
24445 # type: textblock
24446 #: ../tools/virt-rescue.pl:233
24447 msgid ""
24448 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
24449 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24450 msgstr ""
24451
24452 # type: textblock
24453 #: ../tools/virt-resize.pl:42
24454 msgid "virt-resize - Resize a virtual machine disk"
24455 msgstr ""
24456
24457 # type: verbatim
24458 #: ../tools/virt-resize.pl:46
24459 #, no-wrap
24460 msgid ""
24461 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
24462 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
24463 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
24464 "\n"
24465 msgstr ""
24466
24467 # type: textblock
24468 #: ../tools/virt-resize.pl:52
24469 msgid ""
24470 "Virt-resize is a tool which can resize a virtual machine disk, making it "
24471 "larger or smaller overall, and resizing or deleting any partitions contained "
24472 "within."
24473 msgstr ""
24474
24475 # type: textblock
24476 #: ../tools/virt-resize.pl:56
24477 msgid ""
24478 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
24479 "not> be used on live virtual machines - for consistent results, shut the "
24480 "virtual machine down before resizing it."
24481 msgstr ""
24482
24483 # type: textblock
24484 #: ../tools/virt-resize.pl:60
24485 msgid ""
24486 "If you are not familiar with the associated tools: L<virt-list-partitions(1)"
24487 ">, L<virt-list-filesystems(1)> and L<virt-df(1)>, we recommend you go and "
24488 "read those manual pages first."
24489 msgstr ""
24490
24491 # type: textblock
24492 #: ../tools/virt-resize.pl:68
24493 msgid ""
24494 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
24495 "fill the extra 5GB of space."
24496 msgstr ""
24497
24498 # type: verbatim
24499 #: ../tools/virt-resize.pl:71
24500 #, no-wrap
24501 msgid ""
24502 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
24503 " virt-list-partitions -lht olddisk\n"
24504 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
24505 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
24506 "\n"
24507 msgstr ""
24508
24509 # type: textblock
24510 #: ../tools/virt-resize.pl:76
24511 msgid ""
24512 "As above, but make the /boot partition 200MB bigger, while giving the "
24513 "remaining space to /dev/sda2:"
24514 msgstr ""
24515
24516 # type: verbatim
24517 #: ../tools/virt-resize.pl:79
24518 #, no-wrap
24519 msgid ""
24520 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
24521 "\n"
24522 msgstr ""
24523
24524 # type: =head1
24525 #: ../tools/virt-resize.pl:81
24526 msgid "DETAILED USAGE"
24527 msgstr ""
24528
24529 # type: =head2
24530 #: ../tools/virt-resize.pl:83
24531 msgid "EXPANDING A VIRTUAL MACHINE DISK"
24532 msgstr ""
24533
24534 # type: =item
24535 #: ../tools/virt-resize.pl:87
24536 msgid "1. Shut down the virtual machine"
24537 msgstr ""
24538
24539 # type: =item
24540 #: ../tools/virt-resize.pl:89
24541 msgid "2. Locate input disk image"
24542 msgstr ""
24543
24544 # type: textblock
24545 #: ../tools/virt-resize.pl:91
24546 msgid ""
24547 "Locate the input disk image (ie. the file or device on the host containing "
24548 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
24549 "dumpxml> like this to find the disk image name:"
24550 msgstr ""
24551
24552 # type: verbatim
24553 #: ../tools/virt-resize.pl:95
24554 #, no-wrap
24555 msgid ""
24556 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
24557 " Found 1 nodes:\n"
24558 " -- NODE --\n"
24559 " <source dev=\"/dev/vg/lv_guest\" />\n"
24560 "\n"
24561 msgstr ""
24562
24563 # type: =item
24564 #: ../tools/virt-resize.pl:100
24565 msgid "3. Look at current sizing"
24566 msgstr ""
24567
24568 # type: textblock
24569 #: ../tools/virt-resize.pl:102
24570 msgid ""
24571 "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
24572 msgstr ""
24573
24574 # type: verbatim
24575 #: ../tools/virt-resize.pl:105
24576 #, no-wrap
24577 msgid ""
24578 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
24579 " /dev/sda1 ext3 101.9M\n"
24580 " /dev/sda2 pv 7.9G\n"
24581 " /dev/sda device 8.0G\n"
24582 "\n"
24583 msgstr ""
24584
24585 # type: textblock
24586 #: ../tools/virt-resize.pl:110
24587 msgid ""
24588 "(This example is a virtual machine with an 8 GB disk which we would like to "
24589 "expand up to 10 GB)."
24590 msgstr ""
24591
24592 # type: =item
24593 #: ../tools/virt-resize.pl:113
24594 msgid "4. Create output disk"
24595 msgstr ""
24596
24597 # type: textblock
24598 #: ../tools/virt-resize.pl:115
24599 msgid ""
24600 "Virt-resize cannot do in-place disk modifications.  You have to have space "
24601 "to store the resized output disk."
24602 msgstr ""
24603
24604 # type: textblock
24605 #: ../tools/virt-resize.pl:118
24606 msgid ""
24607 "To store the resized disk image in a file, create a file of a suitable size:"
24608 msgstr ""
24609
24610 # type: verbatim
24611 #: ../tools/virt-resize.pl:121
24612 #, no-wrap
24613 msgid ""
24614 " # rm -f outdisk\n"
24615 " # truncate -s 10G outdisk\n"
24616 "\n"
24617 msgstr ""
24618
24619 # type: textblock
24620 #: ../tools/virt-resize.pl:124
24621 msgid "Or use L<lvcreate(1)> to create a logical volume:"
24622 msgstr ""
24623
24624 # type: verbatim
24625 #: ../tools/virt-resize.pl:126
24626 #, no-wrap
24627 msgid ""
24628 " # lvcreate -L 10G -n lv_name vg_name\n"
24629 "\n"
24630 msgstr ""
24631
24632 # type: textblock
24633 #: ../tools/virt-resize.pl:128
24634 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
24635 msgstr ""
24636
24637 # type: verbatim
24638 #: ../tools/virt-resize.pl:130
24639 #, no-wrap
24640 msgid ""
24641 " # virsh pool-list\n"
24642 " # virsh vol-create-as poolname newvol 10G\n"
24643 "\n"
24644 msgstr ""
24645
24646 # type: =item
24647 #: ../tools/virt-resize.pl:133
24648 msgid "5. Resize"
24649 msgstr ""
24650
24651 # type: textblock
24652 #: ../tools/virt-resize.pl:135
24653 msgid ""
24654 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
24655 "file) and the output disk.  The output disk is the one created in the "
24656 "previous step."
24657 msgstr ""
24658
24659 # type: verbatim
24660 #: ../tools/virt-resize.pl:139
24661 #, no-wrap
24662 msgid ""
24663 " # virt-resize indisk outdisk\n"
24664 "\n"
24665 msgstr ""
24666
24667 # type: textblock
24668 #: ../tools/virt-resize.pl:141
24669 msgid ""
24670 "This command just copies disk image C<indisk> to disk image C<outdisk> "
24671 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
24672 "larger, then an extra, empty partition is created at the end of the disk "
24673 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
24674 "error."
24675 msgstr ""
24676
24677 # type: textblock
24678 #: ../tools/virt-resize.pl:147
24679 msgid ""
24680 "More realistically you'd want to expand existing partitions in the disk "
24681 "image by passing extra options (for the full list see the L</OPTIONS> "
24682 "section below)."
24683 msgstr ""
24684
24685 # type: textblock
24686 #: ../tools/virt-resize.pl:151
24687 msgid ""
24688 "L</--expand> is the most useful option.  It expands the named partition "
24689 "within the disk to fill any extra space:"
24690 msgstr ""
24691
24692 # type: verbatim
24693 #: ../tools/virt-resize.pl:154
24694 #, no-wrap
24695 msgid ""
24696 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
24697 "\n"
24698 msgstr ""
24699
24700 # type: textblock
24701 #: ../tools/virt-resize.pl:156
24702 msgid ""
24703 "(In this case, an extra partition is I<not> created at the end of the disk, "
24704 "because there will be no unused space)."
24705 msgstr ""
24706
24707 # type: textblock
24708 #: ../tools/virt-resize.pl:159
24709 msgid ""
24710 "L</--resize> is the other commonly used option.  The following would "
24711 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
24712 "rest of the available space:"
24713 msgstr ""
24714
24715 # type: verbatim
24716 #: ../tools/virt-resize.pl:163
24717 #, no-wrap
24718 msgid ""
24719 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
24720 "     indisk outdisk\n"
24721 "\n"
24722 msgstr ""
24723
24724 # type: textblock
24725 #: ../tools/virt-resize.pl:166
24726 msgid ""
24727 "If the expanded partition in the image contains a filesystem or LVM PV, then "
24728 "if virt-resize knows how, it will resize the contents, the equivalent of "
24729 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or L<ntfsresize(8)"
24730 ">.  However virt-resize does not know how to resize some filesystems, so you "
24731 "would have to online resize them after booting the guest.  And virt-resize "
24732 "also does not resize anything inside an LVM PV, it just resizes the PV "
24733 "itself and leaves the user to resize any LVs inside that PV as desired."
24734 msgstr ""
24735
24736 # type: textblock
24737 #: ../tools/virt-resize.pl:175
24738 msgid "Other options are covered below."
24739 msgstr ""
24740
24741 # type: =item
24742 #: ../tools/virt-resize.pl:177
24743 msgid "6. Test"
24744 msgstr ""
24745
24746 # type: textblock
24747 #: ../tools/virt-resize.pl:179
24748 msgid "Thoroughly test the new disk image I<before> discarding the old one."
24749 msgstr ""
24750
24751 # type: textblock
24752 #: ../tools/virt-resize.pl:181
24753 msgid "If you are using libvirt, edit the XML to point at the new disk:"
24754 msgstr ""
24755
24756 # type: verbatim
24757 #: ../tools/virt-resize.pl:183
24758 #, no-wrap
24759 msgid ""
24760 " # virsh edit guestname\n"
24761 "\n"
24762 msgstr ""
24763
24764 # type: textblock
24765 #: ../tools/virt-resize.pl:185
24766 msgid ""
24767 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
24768 "html#elementsDisks>"
24769 msgstr ""
24770
24771 # type: textblock
24772 #: ../tools/virt-resize.pl:188
24773 msgid "Then start up the domain with the new, resized disk:"
24774 msgstr ""
24775
24776 # type: verbatim
24777 #: ../tools/virt-resize.pl:190
24778 #, no-wrap
24779 msgid ""
24780 " # virsh start guestname\n"
24781 "\n"
24782 msgstr ""
24783
24784 # type: textblock
24785 #: ../tools/virt-resize.pl:192
24786 msgid ""
24787 "and check that it still works.  See also the L</NOTES> section below for "
24788 "additional information."
24789 msgstr ""
24790
24791 # type: =item
24792 #: ../tools/virt-resize.pl:195
24793 msgid "7. Resize LVs etc inside the guest"
24794 msgstr ""
24795
24796 # type: textblock
24797 #: ../tools/virt-resize.pl:197
24798 msgid "(This can also be done offline using L<guestfish(1)>)"
24799 msgstr ""
24800
24801 # type: textblock
24802 #: ../tools/virt-resize.pl:199
24803 msgid ""
24804 "Once the guest has booted you should see the new space available, at least "
24805 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
24806 "may need to resize LVs inside PVs, and also resize filesystem types that "
24807 "virt-resize does not know how to expand."
24808 msgstr ""
24809
24810 # type: =head2
24811 #: ../tools/virt-resize.pl:206
24812 msgid "SHRINKING A VIRTUAL MACHINE DISK"
24813 msgstr ""
24814
24815 # type: textblock
24816 #: ../tools/virt-resize.pl:208
24817 msgid ""
24818 "Shrinking is somewhat more complex than expanding, and only an overview is "
24819 "given here."
24820 msgstr ""
24821
24822 # type: textblock
24823 #: ../tools/virt-resize.pl:211
24824 msgid ""
24825 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
24826 "filesystems).  The user has to shrink content before passing the disk image "
24827 "to virt-resize, and virt-resize will check that the content has been shrunk "
24828 "properly."
24829 msgstr ""
24830
24831 # type: textblock
24832 #: ../tools/virt-resize.pl:216
24833 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
24834 msgstr ""
24835
24836 # type: textblock
24837 #: ../tools/virt-resize.pl:218
24838 msgid ""
24839 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
24840 "steps 3 and 4 above to allocate a new disk image."
24841 msgstr ""
24842
24843 # type: textblock
24844 #: ../tools/virt-resize.pl:221
24845 msgid ""
24846 "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
24847 msgstr ""
24848
24849 # type: =head2
24850 #: ../tools/virt-resize.pl:224
24851 msgid "IGNORING OR DELETING PARTITIONS"
24852 msgstr ""
24853
24854 # type: textblock
24855 #: ../tools/virt-resize.pl:226
24856 msgid ""
24857 "virt-resize also gives a convenient way to ignore or delete partitions when "
24858 "copying from the input disk to the output disk.  Ignoring a partition speeds "
24859 "up the copy where you don't care about the existing contents of a "
24860 "partition.  Deleting a partition removes it completely, but note that it "
24861 "also renumbers any partitions after the one which is deleted, which can "
24862 "leave some guests unbootable."
24863 msgstr ""
24864
24865 # type: textblock
24866 #: ../tools/virt-resize.pl:243
24867 msgid "Display help."
24868 msgstr ""
24869
24870 # type: =item
24871 #: ../tools/virt-resize.pl:257
24872 msgid "B<--resize part=size>"
24873 msgstr ""
24874
24875 # type: textblock
24876 #: ../tools/virt-resize.pl:259
24877 msgid ""
24878 "Resize the named partition (expanding or shrinking it) so that it has the "
24879 "given size."
24880 msgstr ""
24881
24882 # type: textblock
24883 #: ../tools/virt-resize.pl:262
24884 msgid ""
24885 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
24886 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
24887 "Exabytes; or as a percentage of the current size; or as a relative number or "
24888 "percentage.  For example:"
24889 msgstr ""
24890
24891 # type: verbatim
24892 #: ../tools/virt-resize.pl:267
24893 #, no-wrap
24894 msgid ""
24895 " --resize /dev/sda2=10G\n"
24896 "\n"
24897 msgstr ""
24898
24899 # type: verbatim
24900 #: ../tools/virt-resize.pl:269
24901 #, no-wrap
24902 msgid ""
24903 " --resize /dev/sda4=90%\n"
24904 "\n"
24905 msgstr ""
24906
24907 # type: verbatim
24908 #: ../tools/virt-resize.pl:271
24909 #, no-wrap
24910 msgid ""
24911 " --resize /dev/sda2=+1G\n"
24912 "\n"
24913 msgstr ""
24914
24915 # type: verbatim
24916 #: ../tools/virt-resize.pl:273
24917 #, no-wrap
24918 msgid ""
24919 " --resize /dev/sda2=-200M\n"
24920 "\n"
24921 msgstr ""
24922
24923 # type: verbatim
24924 #: ../tools/virt-resize.pl:275
24925 #, no-wrap
24926 msgid ""
24927 " --resize /dev/sda1=+128K\n"
24928 "\n"
24929 msgstr ""
24930
24931 # type: verbatim
24932 #: ../tools/virt-resize.pl:277
24933 #, no-wrap
24934 msgid ""
24935 " --resize /dev/sda1=+10%\n"
24936 "\n"
24937 msgstr ""
24938
24939 # type: verbatim
24940 #: ../tools/virt-resize.pl:279
24941 #, no-wrap
24942 msgid ""
24943 " --resize /dev/sda1=-10%\n"
24944 "\n"
24945 msgstr ""
24946
24947 # type: textblock
24948 #: ../tools/virt-resize.pl:281
24949 msgid ""
24950 "You can increase the size of any partition.  Virt-resize will expand the "
24951 "direct content of the partition if it knows how (see C<--expand> below)."
24952 msgstr ""
24953
24954 # type: textblock
24955 #: ../tools/virt-resize.pl:285
24956 msgid ""
24957 "You can only I<decrease> the size of partitions that contain filesystems or "
24958 "PVs which have already been shrunk.  Virt-resize will check this has been "
24959 "done before proceeding, or else will print an error (see also C<--resize-"
24960 "force>)."
24961 msgstr ""
24962
24963 # type: textblock
24964 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382
24965 #: ../tools/virt-resize.pl:399
24966 msgid "You can give this option multiple times."
24967 msgstr ""
24968
24969 # type: =item
24970 #: ../tools/virt-resize.pl:296
24971 msgid "B<--resize-force part=size>"
24972 msgstr ""
24973
24974 # type: textblock
24975 #: ../tools/virt-resize.pl:298
24976 msgid ""
24977 "This is the same as C<--resize> except that it will let you decrease the "
24978 "size of any partition.  Generally this means you will lose any data which "
24979 "was at the end of the partition you shrink, but you may not care about that "
24980 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
24981 "as a swap partition)."
24982 msgstr ""
24983
24984 # type: textblock
24985 #: ../tools/virt-resize.pl:304
24986 msgid "See also the C<--ignore> option."
24987 msgstr ""
24988
24989 # type: =item
24990 #: ../tools/virt-resize.pl:310
24991 msgid "B<--expand part>"
24992 msgstr ""
24993
24994 # type: textblock
24995 #: ../tools/virt-resize.pl:312
24996 msgid ""
24997 "Expand the named partition so it uses up all extra space (space left over "
24998 "after any other resize changes that you request have been done)."
24999 msgstr ""
25000
25001 # type: textblock
25002 #: ../tools/virt-resize.pl:315
25003 msgid ""
25004 "If virt-resize knows how, it will expand the direct content of the "
25005 "partition.  For example, if the partition is an LVM PV, it will expand the "
25006 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25007 "content it doesn't know about alone."
25008 msgstr ""
25009
25010 # type: textblock
25011 #: ../tools/virt-resize.pl:320
25012 msgid "Currently virt-resize can resize:"
25013 msgstr ""
25014
25015 # type: textblock
25016 #: ../tools/virt-resize.pl:326
25017 msgid ""
25018 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
25019 "partition."
25020 msgstr ""
25021
25022 # type: textblock
25023 #: ../tools/virt-resize.pl:331
25024 msgid ""
25025 "NTFS filesystems contained directly in a partition, if libguestfs was "
25026 "compiled with support for NTFS."
25027 msgstr ""
25028
25029 # type: textblock
25030 #: ../tools/virt-resize.pl:334
25031 msgid ""
25032 "The filesystem must have been shut down consistently last time it was used.  "
25033 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25034 "consistency check, so at the first boot after resizing Windows will check "
25035 "the disk."
25036 msgstr ""
25037
25038 # type: textblock
25039 #: ../tools/virt-resize.pl:341
25040 msgid ""
25041 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
25042 "inside the PV.  The user will have to resize LVs as desired."
25043 msgstr ""
25044
25045 # type: textblock
25046 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
25047 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
25048 msgstr ""
25049
25050 # type: =item
25051 #: ../tools/virt-resize.pl:353
25052 msgid "B<--shrink part>"
25053 msgstr ""
25054
25055 # type: textblock
25056 #: ../tools/virt-resize.pl:355
25057 msgid ""
25058 "Shrink the named partition until the overall disk image fits in the "
25059 "destination.  The named partition B<must> contain a filesystem or PV which "
25060 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
25061 "online tools).  Virt-resize will check this and give an error if it has not "
25062 "been done."
25063 msgstr ""
25064
25065 # type: textblock
25066 #: ../tools/virt-resize.pl:361
25067 msgid ""
25068 "The amount by which the overall disk must be shrunk (after carrying out all "
25069 "other operations requested by the user) is called the \"deficit\".  For "
25070 "example, a straight copy (assume no other operations)  from a 5GB disk image "
25071 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
25072 "would give an error unless the user specified a partition to shrink and that "
25073 "partition had more than a gigabyte of free space."
25074 msgstr ""
25075
25076 # type: =item
25077 #: ../tools/virt-resize.pl:375
25078 msgid "B<--ignore part>"
25079 msgstr ""
25080
25081 # type: textblock
25082 #: ../tools/virt-resize.pl:377
25083 msgid ""
25084 "Ignore the named partition.  Effectively this means the partition is "
25085 "allocated on the destination disk, but the content is not copied across from "
25086 "the source disk.  The content of the partition will be blank (all zero "
25087 "bytes)."
25088 msgstr ""
25089
25090 # type: =item
25091 #: ../tools/virt-resize.pl:388
25092 msgid "B<--delete part>"
25093 msgstr ""
25094
25095 # type: textblock
25096 #: ../tools/virt-resize.pl:390
25097 msgid ""
25098 "Delete the named partition.  It would be more accurate to describe this as "
25099 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25100 "the original disk image is left intact."
25101 msgstr ""
25102
25103 # type: textblock
25104 #: ../tools/virt-resize.pl:394
25105 msgid ""
25106 "Note that when you delete a partition, then anything contained in the "
25107 "partition is also deleted.  Furthermore, this causes any partitions that "
25108 "come after to be I<renumbered>, which can easily make your guest unbootable."
25109 msgstr ""
25110
25111 # type: =item
25112 #: ../tools/virt-resize.pl:405
25113 msgid "B<--LV-expand logvol>"
25114 msgstr ""
25115
25116 # type: textblock
25117 #: ../tools/virt-resize.pl:407
25118 msgid ""
25119 "This takes the logical volume and, as a final step, expands it to fill all "
25120 "the space available in its volume group.  A typical usage, assuming a Linux "
25121 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
25122 "lv_root> would be:"
25123 msgstr ""
25124
25125 # type: verbatim
25126 #: ../tools/virt-resize.pl:412
25127 #, no-wrap
25128 msgid ""
25129 " virt-resize indisk outdisk \\\n"
25130 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
25131 "\n"
25132 msgstr ""
25133
25134 # type: textblock
25135 #: ../tools/virt-resize.pl:415
25136 msgid ""
25137 "This would first expand the partition (and PV), and then expand the root "
25138 "device to fill the extra space in the PV."
25139 msgstr ""
25140
25141 # type: textblock
25142 #: ../tools/virt-resize.pl:418
25143 msgid ""
25144 "The contents of the LV are also resized if virt-resize knows how to do "
25145 "that.  You can stop virt-resize from trying to expand the content by using "
25146 "the option C<--no-expand-content>."
25147 msgstr ""
25148
25149 # type: textblock
25150 #: ../tools/virt-resize.pl:422
25151 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
25152 msgstr ""
25153
25154 # type: textblock
25155 #: ../tools/virt-resize.pl:425
25156 msgid ""
25157 "You can give this option multiple times, I<but> it doesn't make sense to do "
25158 "this unless the logical volumes you specify are all in different volume "
25159 "groups."
25160 msgstr ""
25161
25162 # type: =item
25163 #: ../tools/virt-resize.pl:433
25164 msgid "B<--no-copy-boot-loader>"
25165 msgstr ""
25166
25167 # type: textblock
25168 #: ../tools/virt-resize.pl:435
25169 msgid ""
25170 "By default, virt-resize copies over some sectors at the start of the disk "
25171 "(up to the beginning of the first partition).  Commonly these sectors "
25172 "contain the Master Boot Record (MBR) and the boot loader, and are required "
25173 "in order for the guest to boot correctly."
25174 msgstr ""
25175
25176 # type: textblock
25177 #: ../tools/virt-resize.pl:440
25178 msgid ""
25179 "If you specify this flag, then this initial copy is not done.  You may need "
25180 "to reinstall the boot loader in this case."
25181 msgstr ""
25182
25183 # type: =item
25184 #: ../tools/virt-resize.pl:448
25185 msgid "B<--no-extra-partition>"
25186 msgstr ""
25187
25188 # type: textblock
25189 #: ../tools/virt-resize.pl:450
25190 msgid ""
25191 "By default, virt-resize creates an extra partition if there is any extra, "
25192 "unused space after all resizing has happened.  Use this option to prevent "
25193 "the extra partition from being created.  If you do this then the extra space "
25194 "will be inaccessible until you run fdisk, parted, or some other partitioning "
25195 "tool in the guest."
25196 msgstr ""
25197
25198 # type: textblock
25199 #: ../tools/virt-resize.pl:456
25200 msgid ""
25201 "Note that if the surplus space is smaller than 10 MB, no extra partition "
25202 "will be created."
25203 msgstr ""
25204
25205 # type: =item
25206 #: ../tools/virt-resize.pl:463
25207 msgid "B<--no-expand-content>"
25208 msgstr ""
25209
25210 # type: textblock
25211 #: ../tools/virt-resize.pl:465
25212 msgid ""
25213 "By default, virt-resize will try to expand the direct contents of "
25214 "partitions, if it knows how (see C<--expand> option above)."
25215 msgstr ""
25216
25217 # type: textblock
25218 #: ../tools/virt-resize.pl:468
25219 msgid ""
25220 "If you give the C<--no-expand-content> option then virt-resize will not "
25221 "attempt this."
25222 msgstr ""
25223
25224 # type: =item
25225 #: ../tools/virt-resize.pl:475
25226 msgid "B<-d> | B<--debug>"
25227 msgstr ""
25228
25229 # type: textblock
25230 #: ../tools/virt-resize.pl:477 ../tools/virt-win-reg.pl:198
25231 msgid "Enable debugging messages."
25232 msgstr ""
25233
25234 # type: =item
25235 #: ../tools/virt-resize.pl:483
25236 msgid "B<-n> | B<--dryrun>"
25237 msgstr ""
25238
25239 # type: textblock
25240 #: ../tools/virt-resize.pl:485
25241 msgid "Print a summary of what would be done, but don't do anything."
25242 msgstr ""
25243
25244 # type: =item
25245 #: ../tools/virt-resize.pl:491
25246 msgid "B<-q> | B<--quiet>"
25247 msgstr ""
25248
25249 # type: textblock
25250 #: ../tools/virt-resize.pl:493
25251 msgid "Don't print the summary."
25252 msgstr ""
25253
25254 # type: =head2
25255 #: ../tools/virt-resize.pl:1352
25256 msgid "\"Partition 1 does not end on cylinder boundary.\""
25257 msgstr ""
25258
25259 # type: textblock
25260 #: ../tools/virt-resize.pl:1354
25261 msgid ""
25262 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
25263 "means the partitions will not be aligned to the ancient CHS geometry.  "
25264 "However CHS geometry is meaningless for disks manufactured since the early "
25265 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
25266 "cylinders is not required by any modern operating system."
25267 msgstr ""
25268
25269 # type: =head2
25270 #: ../tools/virt-resize.pl:1361
25271 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
25272 msgstr ""
25273
25274 # type: textblock
25275 #: ../tools/virt-resize.pl:1363
25276 msgid ""
25277 "In Windows Vista and later versions, Microsoft switched to using a separate "
25278 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
25279 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
25280 "the boot partition.  Doing so seems to break the guest completely.  However "
25281 "expanding the second partition (ie. C: drive) should work."
25282 msgstr ""
25283
25284 # type: textblock
25285 #: ../tools/virt-resize.pl:1370
25286 msgid ""
25287 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
25288 "NTFS partitions have been expanded.  This is just a safety check and (unless "
25289 "it find errors) is nothing to worry about."
25290 msgstr ""
25291
25292 # type: =head1
25293 #: ../tools/virt-resize.pl:1374
25294 msgid "ALTERNATIVE TOOLS"
25295 msgstr ""
25296
25297 # type: textblock
25298 #: ../tools/virt-resize.pl:1376
25299 msgid ""
25300 "There are several proprietary tools for resizing partitions.  We won't "
25301 "mention any here."
25302 msgstr ""
25303
25304 # type: textblock
25305 #: ../tools/virt-resize.pl:1379
25306 msgid ""
25307 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
25308 "operations on disk images.  They can resize and move partitions, but I don't "
25309 "think they can do anything with the contents, and they certainly don't "
25310 "understand LVM."
25311 msgstr ""
25312
25313 # type: textblock
25314 #: ../tools/virt-resize.pl:1384
25315 msgid ""
25316 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
25317 "but at a much lower level.  You will probably end up hand-calculating sector "
25318 "offsets, which is something that virt-resize was designed to avoid.  If you "
25319 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
25320 "C<--debug> flag."
25321 msgstr ""
25322
25323 # type: textblock
25324 #: ../tools/virt-resize.pl:1392
25325 msgid ""
25326 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
25327 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
25328 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, L<Sys::Guestfs"
25329 "(3)>, L<http://libguestfs.org/>."
25330 msgstr ""
25331
25332 # type: textblock
25333 #: ../tools/virt-tar.pl:34
25334 msgid "virt-tar - Extract or upload files to a virtual machine"
25335 msgstr ""
25336
25337 # type: verbatim
25338 #: ../tools/virt-tar.pl:38
25339 #, no-wrap
25340 msgid ""
25341 " virt-tar [--options] -x domname directory tarball\n"
25342 "\n"
25343 msgstr ""
25344
25345 # type: verbatim
25346 #: ../tools/virt-tar.pl:40
25347 #, no-wrap
25348 msgid ""
25349 " virt-tar [--options] -u domname tarball directory\n"
25350 "\n"
25351 msgstr ""
25352
25353 # type: verbatim
25354 #: ../tools/virt-tar.pl:42
25355 #, no-wrap
25356 msgid ""
25357 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
25358 "\n"
25359 msgstr ""
25360
25361 # type: verbatim
25362 #: ../tools/virt-tar.pl:44
25363 #, no-wrap
25364 msgid ""
25365 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
25366 "\n"
25367 msgstr ""
25368
25369 # type: textblock
25370 #: ../tools/virt-tar.pl:48
25371 msgid "Download C</home> from the VM into a local tarball:"
25372 msgstr ""
25373
25374 # type: verbatim
25375 #: ../tools/virt-tar.pl:50
25376 #, no-wrap
25377 msgid ""
25378 " virt-tar -x domname /home home.tar\n"
25379 "\n"
25380 msgstr ""
25381
25382 # type: verbatim
25383 #: ../tools/virt-tar.pl:52
25384 #, no-wrap
25385 msgid ""
25386 " virt-tar -zx domname /home home.tar.gz\n"
25387 "\n"
25388 msgstr ""
25389
25390 # type: textblock
25391 #: ../tools/virt-tar.pl:54
25392 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
25393 msgstr ""
25394
25395 # type: verbatim
25396 #: ../tools/virt-tar.pl:56
25397 #, no-wrap
25398 msgid ""
25399 " virt-tar -u domname uploadstuff.tar /tmp\n"
25400 "\n"
25401 msgstr ""
25402
25403 # type: verbatim
25404 #: ../tools/virt-tar.pl:58
25405 #, no-wrap
25406 msgid ""
25407 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
25408 "\n"
25409 msgstr ""
25410
25411 # type: textblock
25412 #: ../tools/virt-tar.pl:62
25413 msgid ""
25414 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
25415 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
25416 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
25417 msgstr ""
25418
25419 # type: textblock
25420 #: ../tools/virt-tar.pl:67
25421 msgid ""
25422 "You can use C<-x> (extract) on live virtual machines, but you might get "
25423 "inconsistent results or errors if there is filesystem activity inside the "
25424 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
25425 "work, but the only way to guarantee consistent results is if the virtual "
25426 "machine is shut down."
25427 msgstr ""
25428
25429 # type: textblock
25430 #: ../tools/virt-tar.pl:75
25431 msgid ""
25432 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
25433 "parts of a guest filesystem.  There are many possibilities: making backups, "
25434 "uploading data files, snooping on guest activity, fixing or customizing "
25435 "guests, etc."
25436 msgstr ""
25437
25438 # type: textblock
25439 #: ../tools/virt-tar.pl:80
25440 msgid ""
25441 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
25442 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
25443 "should look at the L<guestfish(1)> tool."
25444 msgstr ""
25445
25446 # type: textblock
25447 #: ../tools/virt-tar.pl:84
25448 msgid ""
25449 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
25450 "its contents (recursively) from the virtual machine into a local tarball.  "
25451 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
25452 "virtual machine.  You cannot use these two options together."
25453 msgstr ""
25454
25455 # type: textblock
25456 #: ../tools/virt-tar.pl:90
25457 msgid ""
25458 "In addition, you may need to use the C<-z> (gZip) option to enable "
25459 "compression.  When uploading, you have to specify C<-z> if the upload file "
25460 "is compressed because virt-tar won't detect this on its own."
25461 msgstr ""
25462
25463 # type: textblock
25464 #: ../tools/virt-tar.pl:94
25465 msgid ""
25466 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
25467 "example it cannot do PKZip files or bzip2 compression.  If you want that "
25468 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
25469 "the L<libguestfs(3)> API)."
25470 msgstr ""
25471
25472 # type: =item
25473 #: ../tools/virt-tar.pl:135
25474 msgid "B<-x> | B<--extract> | B<--download>"
25475 msgstr ""
25476
25477 # type: =item
25478 #: ../tools/virt-tar.pl:137
25479 msgid "B<-u> | B<--upload>"
25480 msgstr ""
25481
25482 # type: textblock
25483 #: ../tools/virt-tar.pl:139
25484 msgid ""
25485 "Use C<-x> to extract (download) a directory from a virtual machine to a "
25486 "local tarball."
25487 msgstr ""
25488
25489 # type: textblock
25490 #: ../tools/virt-tar.pl:142
25491 msgid ""
25492 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
25493 "Please read the L</WARNING> section above before using this option."
25494 msgstr ""
25495
25496 # type: textblock
25497 #: ../tools/virt-tar.pl:146
25498 msgid "You must specify exactly one of these options."
25499 msgstr ""
25500
25501 # type: =item
25502 #: ../tools/virt-tar.pl:152
25503 msgid "B<-z> | B<--gzip>"
25504 msgstr ""
25505
25506 # type: textblock
25507 #: ../tools/virt-tar.pl:154
25508 msgid "Specify that the input or output tarball is gzip-compressed."
25509 msgstr ""
25510
25511 # type: textblock
25512 #: ../tools/virt-tar.pl:259
25513 msgid ""
25514 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<Sys::"
25515 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
25516 "org/>."
25517 msgstr ""
25518
25519 # type: textblock
25520 #: ../tools/virt-win-reg.pl:38
25521 msgid ""
25522 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
25523 msgstr ""
25524
25525 # type: verbatim
25526 #: ../tools/virt-win-reg.pl:42
25527 #, no-wrap
25528 msgid ""
25529 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
25530 "\n"
25531 msgstr ""
25532
25533 # type: verbatim
25534 #: ../tools/virt-win-reg.pl:44
25535 #, no-wrap
25536 msgid ""
25537 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
25538 "\n"
25539 msgstr ""
25540
25541 # type: verbatim
25542 #: ../tools/virt-win-reg.pl:46
25543 #, no-wrap
25544 msgid ""
25545 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
25546 "\n"
25547 msgstr ""
25548
25549 # type: verbatim
25550 #: ../tools/virt-win-reg.pl:48
25551 #, no-wrap
25552 msgid ""
25553 " virt-win-reg --merge domname [input.reg ...]\n"
25554 "\n"
25555 msgstr ""
25556
25557 # type: verbatim
25558 #: ../tools/virt-win-reg.pl:50
25559 #, no-wrap
25560 msgid ""
25561 " virt-win-reg [--options] disk.img ... # instead of domname\n"
25562 "\n"
25563 msgstr ""
25564
25565 # type: textblock
25566 #: ../tools/virt-win-reg.pl:54
25567 msgid ""
25568 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
25569 "virtual machines.  If you do this, you I<will> get irreversible disk "
25570 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
25571 "but doesn't catch all cases."
25572 msgstr ""
25573
25574 # type: textblock
25575 #: ../tools/virt-win-reg.pl:59
25576 msgid ""
25577 "Modifying the Windows Registry is an inherently risky operation.  The format "
25578 "is deliberately obscure and undocumented, and Registry changes can leave the "
25579 "system unbootable.  Therefore when using the C<--merge> option, make sure "
25580 "you have a reliable backup first."
25581 msgstr ""
25582
25583 # type: textblock
25584 #: ../tools/virt-win-reg.pl:66
25585 msgid ""
25586 "This program can export and merge Windows Registry entries from a Windows "
25587 "guest."
25588 msgstr ""
25589
25590 # type: textblock
25591 #: ../tools/virt-win-reg.pl:69
25592 msgid ""
25593 "The first parameter is the libvirt guest name or the raw disk image of a "
25594 "Windows guest."
25595 msgstr ""
25596
25597 # type: textblock
25598 #: ../tools/virt-win-reg.pl:72
25599 msgid ""
25600 "If C<--merge> is I<not> specified, then the chosen registry key is displayed/"
25601 "exported (recursively).  For example:"
25602 msgstr ""
25603
25604 # type: verbatim
25605 #: ../tools/virt-win-reg.pl:75
25606 #, no-wrap
25607 msgid ""
25608 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
25609 "\n"
25610 msgstr ""
25611
25612 # type: textblock
25613 #: ../tools/virt-win-reg.pl:77
25614 msgid ""
25615 "You can also display single values from within registry keys, for example:"
25616 msgstr ""
25617
25618 # type: verbatim
25619 #: ../tools/virt-win-reg.pl:80
25620 #, no-wrap
25621 msgid ""
25622 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
25623 " $ virt-win-reg Windows7 $cvkey ProductName\n"
25624 " Windows 7 Enterprise\n"
25625 "\n"
25626 msgstr ""
25627
25628 # type: textblock
25629 #: ../tools/virt-win-reg.pl:84
25630 msgid ""
25631 "With C<--merge>, you can merge a textual regedit file into the Windows "
25632 "Registry:"
25633 msgstr ""
25634
25635 # type: verbatim
25636 #: ../tools/virt-win-reg.pl:87
25637 #, no-wrap
25638 msgid ""
25639 " $ virt-win-reg --merge Windows7 changes.reg\n"
25640 "\n"
25641 msgstr ""
25642
25643 # type: =head2
25644 #: ../tools/virt-win-reg.pl:89
25645 msgid "SUPPORTED SYSTEMS"
25646 msgstr ""
25647
25648 # type: textblock
25649 #: ../tools/virt-win-reg.pl:91
25650 msgid ""
25651 "The program currently supports Windows NT-derived guests starting with "
25652 "Windows XP through to at least Windows 7."
25653 msgstr ""
25654
25655 # type: textblock
25656 #: ../tools/virt-win-reg.pl:94
25657 msgid ""
25658 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, C<HKEY_LOCAL_MACHINE"
25659 "\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, C<HKEY_LOCAL_MACHINE\\SYSTEM> "
25660 "and C<HKEY_USERS\\.DEFAULT>."
25661 msgstr ""
25662
25663 # type: textblock
25664 #: ../tools/virt-win-reg.pl:98
25665 msgid ""
25666 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
25667 "C<HKEY_USERS>."
25668 msgstr ""
25669
25670 # type: textblock
25671 #: ../tools/virt-win-reg.pl:101
25672 msgid ""
25673 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
25674 "time."
25675 msgstr ""
25676
25677 # type: =head2
25678 #: ../tools/virt-win-reg.pl:104
25679 msgid "NOTE"
25680 msgstr ""
25681
25682 # type: textblock
25683 #: ../tools/virt-win-reg.pl:106
25684 msgid ""
25685 "This program is only meant for simple access to the registry.  If you want "
25686 "to do complicated things with the registry, we suggest you download the "
25687 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
25688 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
25689 "L<hivexregedit(1)>."
25690 msgstr ""
25691
25692 # type: =head2
25693 #: ../tools/virt-win-reg.pl:112
25694 msgid "ENCODING"
25695 msgstr ""
25696
25697 # type: textblock
25698 #: ../tools/virt-win-reg.pl:114
25699 msgid ""
25700 "C<virt-win-reg> expects that regedit files have already been reencoded in "
25701 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
25702 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
25703 "Windows-style line endings, you may need to reencode the whole file before "
25704 "or after processing."
25705 msgstr ""
25706
25707 # type: textblock
25708 #: ../tools/virt-win-reg.pl:120
25709 msgid ""
25710 "To reencode a file from Windows format to Linux (before processing it with "
25711 "the C<--merge> option), you would do something like this:"
25712 msgstr ""
25713
25714 # type: verbatim
25715 #: ../tools/virt-win-reg.pl:123
25716 #, no-wrap
25717 msgid ""
25718 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
25719 "\n"
25720 msgstr ""
25721
25722 # type: textblock
25723 #: ../tools/virt-win-reg.pl:125
25724 msgid ""
25725 "To go in the opposite direction, after exporting and before sending the file "
25726 "to a Windows user, do something like this:"
25727 msgstr ""
25728
25729 # type: verbatim
25730 #: ../tools/virt-win-reg.pl:128
25731 #, no-wrap
25732 msgid ""
25733 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
25734 "\n"
25735 msgstr ""
25736
25737 # type: textblock
25738 #: ../tools/virt-win-reg.pl:130
25739 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
25740 msgstr ""
25741
25742 # type: textblock
25743 #: ../tools/virt-win-reg.pl:132
25744 msgid ""
25745 "If you are unsure about the current encoding, use the L<file(1)> command.  "
25746 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
25747 "style (CRLF) line endings, like this:"
25748 msgstr ""
25749
25750 # type: verbatim
25751 #: ../tools/virt-win-reg.pl:136
25752 #, no-wrap
25753 msgid ""
25754 " $ file software.reg\n"
25755 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
25756 " with CRLF line terminators\n"
25757 "\n"
25758 msgstr ""
25759
25760 # type: textblock
25761 #: ../tools/virt-win-reg.pl:140
25762 msgid "This file would need conversion before you could C<--merge> it."
25763 msgstr ""
25764
25765 # type: =head2
25766 #: ../tools/virt-win-reg.pl:142
25767 msgid "SHELL QUOTING"
25768 msgstr ""
25769
25770 # type: textblock
25771 #: ../tools/virt-win-reg.pl:144
25772 msgid ""
25773 "Be careful when passing parameters containing C<\\> (backslash) in the "
25774 "shell.  Usually you will have to use 'single quotes' or double backslashes "
25775 "(but not both) to protect them from the shell."
25776 msgstr ""
25777
25778 # type: textblock
25779 #: ../tools/virt-win-reg.pl:148
25780 msgid "Paths and value names are case-insensitive."
25781 msgstr ""
25782
25783 # type: =head2
25784 #: ../tools/virt-win-reg.pl:150
25785 msgid "CurrentControlSet etc."
25786 msgstr ""
25787
25788 # type: textblock
25789 #: ../tools/virt-win-reg.pl:152
25790 msgid ""
25791 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
25792 "Registry at the level of the hive file, and therefore you cannot modify "
25793 "these."
25794 msgstr ""
25795
25796 # type: textblock
25797 #: ../tools/virt-win-reg.pl:156
25798 msgid ""
25799 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
25800 "circumstances it might refer to another control set.  The way to find out is "
25801 "to look at the C<HKLM\\SYSTEM\\Select> key:"
25802 msgstr ""
25803
25804 # type: verbatim
25805 #: ../tools/virt-win-reg.pl:160
25806 #, no-wrap
25807 msgid ""
25808 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
25809 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
25810 " \"Current\"=dword:00000001\n"
25811 " \"Default\"=dword:00000001\n"
25812 " \"Failed\"=dword:00000000\n"
25813 " \"LastKnownGood\"=dword:00000002\n"
25814 "\n"
25815 msgstr ""
25816
25817 # type: textblock
25818 #: ../tools/virt-win-reg.pl:167
25819 msgid "\"Default\" is the one which Windows will choose when it boots."
25820 msgstr ""
25821
25822 # type: textblock
25823 #: ../tools/virt-win-reg.pl:169
25824 msgid ""
25825 "Similarly, other C<Current...> keys in the path may need to be replaced."
25826 msgstr ""
25827
25828 # type: =item
25829 #: ../tools/virt-win-reg.pl:216
25830 msgid "B<--merge>"
25831 msgstr ""
25832
25833 # type: textblock
25834 #: ../tools/virt-win-reg.pl:218
25835 msgid ""
25836 "In merge mode, this merges a textual regedit file into the Windows Registry "
25837 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
25838 "displays or exports Registry entries instead."
25839 msgstr ""
25840
25841 # type: textblock
25842 #: ../tools/virt-win-reg.pl:222
25843 msgid ""
25844 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
25845 "result in disk corruption.  However exporting (without this flag)  is always "
25846 "safe."
25847 msgstr ""
25848
25849 # type: =item
25850 #: ../tools/virt-win-reg.pl:230
25851 msgid "B<--encoding> UTF-16LE|ASCII"
25852 msgstr ""
25853
25854 # type: textblock
25855 #: ../tools/virt-win-reg.pl:232
25856 msgid ""
25857 "When merging (only), you may need to specify the encoding for strings to be "
25858 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
25859 "(3)/ENCODING STRINGS>."
25860 msgstr ""
25861
25862 # type: textblock
25863 #: ../tools/virt-win-reg.pl:236
25864 msgid ""
25865 "The default is to use UTF-16LE, which should work with recent versions of "
25866 "Windows."
25867 msgstr ""
25868
25869 # type: textblock
25870 #: ../tools/virt-win-reg.pl:463
25871 msgid ""
25872 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
25873 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
25874 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25875 msgstr ""
25876
25877 # type: verbatim
25878 #: ../tools/virt-win-reg.pl:481
25879 #, no-wrap
25880 msgid ""
25881 " export LIBGUESTFS_DEBUG=1\n"
25882 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
25883 "\n"
25884 msgstr ""
25885
25886 # type: textblock
25887 #: ../tools/virt-win-reg.pl:484
25888 msgid ""
25889 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
25890 "redhat.com/>"
25891 msgstr ""