Add full docs pot file.
[libguestfs.git] / po-docs / libguestfs-docs.pot
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Red Hat Inc.
3 # This file is distributed under the same license as the libguestfs package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: libguestfs 1.5.7\n"
10 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
11 "POT-Creation-Date: 2010-09-02 20:33+0200\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=utf-8\n"
17 "Content-Transfer-Encoding: ENCODING"
18
19 # type: =encoding
20 #: ../src/guestfs.pod:1 ../fish/guestfish.pod:1 ../test-tool/libguestfs-test-tool.pod:1 ../fuse/guestmount.pod:1 ../inspector/virt-inspector.pl:36 ../tools/virt-cat.pl:30 ../tools/virt-df.pl:32 ../tools/virt-edit.pl:31 ../tools/virt-list-filesystems.pl:28 ../tools/virt-list-partitions.pl:28 ../tools/virt-ls.pl:31 ../tools/virt-make-fs.pl:33 ../tools/virt-rescue.pl:29 ../tools/virt-resize.pl:38 ../tools/virt-tar.pl:30 ../tools/virt-win-reg.pl:34
21 msgid "utf8"
22 msgstr ""
23
24 # type: =head1
25 #: ../src/guestfs.pod:3 ../fish/guestfish.pod:3 ../test-tool/libguestfs-test-tool.pod:3 ../fuse/guestmount.pod:3 ../inspector/virt-inspector.pl:38 ../tools/virt-cat.pl:32 ../tools/virt-df.pl:34 ../tools/virt-edit.pl:33 ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30 ../tools/virt-ls.pl:33 ../tools/virt-make-fs.pl:35 ../tools/virt-rescue.pl:31 ../tools/virt-resize.pl:40 ../tools/virt-tar.pl:32 ../tools/virt-win-reg.pl:36
26 msgid "NAME"
27 msgstr ""
28
29 # type: textblock
30 #: ../src/guestfs.pod:5
31 msgid "guestfs - Library for accessing and modifying virtual machine images"
32 msgstr ""
33
34 # type: =head1
35 #: ../src/guestfs.pod:7 ../fish/guestfish.pod:7 ../test-tool/libguestfs-test-tool.pod:7 ../fuse/guestmount.pod:7 ../inspector/virt-inspector.pl:42 ../tools/virt-cat.pl:36 ../tools/virt-df.pl:38 ../tools/virt-edit.pl:37 ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34 ../tools/virt-ls.pl:37 ../tools/virt-make-fs.pl:39 ../tools/virt-rescue.pl:35 ../tools/virt-resize.pl:44 ../tools/virt-tar.pl:36 ../tools/virt-win-reg.pl:40
36 msgid "SYNOPSIS"
37 msgstr ""
38
39 # type: verbatim
40 #: ../src/guestfs.pod:9
41 #, no-wrap
42 msgid ""
43 " #include <guestfs.h>\n"
44 " \n"
45 msgstr ""
46
47 # type: verbatim
48 #: ../src/guestfs.pod:11
49 #, no-wrap
50 msgid ""
51 " guestfs_h *g = guestfs_create ();\n"
52 " guestfs_add_drive (g, \"guest.img\");\n"
53 " guestfs_launch (g);\n"
54 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
55 " guestfs_touch (g, \"/hello\");\n"
56 " guestfs_umount (g, \"/\");\n"
57 " guestfs_sync (g);\n"
58 " guestfs_close (g);\n"
59 "\n"
60 msgstr ""
61
62 # type: verbatim
63 #: ../src/guestfs.pod:20
64 #, no-wrap
65 msgid ""
66 " cc prog.c -o prog -lguestfs\n"
67 "or:\n"
68 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
69 "\n"
70 msgstr ""
71
72 # type: =head1
73 #: ../src/guestfs.pod:24 ../fish/guestfish.pod:115 ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:16 ../inspector/virt-inspector.pl:48 ../tools/virt-cat.pl:42 ../tools/virt-df.pl:46 ../tools/virt-edit.pl:51 ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40 ../tools/virt-ls.pl:43 ../tools/virt-make-fs.pl:47 ../tools/virt-rescue.pl:51 ../tools/virt-resize.pl:50 ../tools/virt-tar.pl:73 ../tools/virt-win-reg.pl:64
74 msgid "DESCRIPTION"
75 msgstr ""
76
77 # type: textblock
78 #: ../src/guestfs.pod:26
79 msgid ""
80 "Libguestfs is a library for accessing and modifying guest disk images.  "
81 "Amongst the things this is good for: making batch configuration changes to "
82 "guests, getting disk used/free statistics (see also: virt-df), migrating "
83 "between virtualization systems (see also: virt-p2v), performing partial "
84 "backups, performing partial guest clones, cloning guests and changing "
85 "registry/UUID/hostname info, and much else besides."
86 msgstr ""
87
88 # type: textblock
89 #: ../src/guestfs.pod:34
90 msgid ""
91 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
92 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
93 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
94 "qcow2, vmdk."
95 msgstr ""
96
97 # type: textblock
98 #: ../src/guestfs.pod:39
99 msgid ""
100 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
101 "what filesystem is in each LV, etc.).  It can also run commands in the "
102 "context of the guest.  Also you can access filesystems over FUSE."
103 msgstr ""
104
105 # type: textblock
106 #: ../src/guestfs.pod:44
107 msgid ""
108 "Libguestfs is a library that can be linked with C and C++ management "
109 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
110 "Haskell or C#).  You can also use it from shell scripts or the command line."
111 msgstr ""
112
113 # type: textblock
114 #: ../src/guestfs.pod:49
115 msgid ""
116 "You don't need to be root to use libguestfs, although obviously you do need "
117 "enough permissions to access the disk images."
118 msgstr ""
119
120 # type: textblock
121 #: ../src/guestfs.pod:52
122 msgid ""
123 "Libguestfs is a large API because it can do many things.  For a gentle "
124 "introduction, please read the L</API OVERVIEW> section next."
125 msgstr ""
126
127 # type: =head1
128 #: ../src/guestfs.pod:55
129 msgid "API OVERVIEW"
130 msgstr ""
131
132 # type: textblock
133 #: ../src/guestfs.pod:57
134 msgid ""
135 "This section provides a gentler overview of the libguestfs API.  We also try "
136 "to group API calls together, where that may not be obvious from reading "
137 "about the individual calls in the main section of this manual."
138 msgstr ""
139
140 # type: =head2
141 #: ../src/guestfs.pod:62
142 msgid "HANDLES"
143 msgstr ""
144
145 # type: textblock
146 #: ../src/guestfs.pod:64
147 msgid ""
148 "Before you can use libguestfs calls, you have to create a handle.  Then you "
149 "must add at least one disk image to the handle, followed by launching the "
150 "handle, then performing whatever operations you want, and finally closing "
151 "the handle.  By convention we use the single letter C<g> for the name of the "
152 "handle variable, although of course you can use any name you want."
153 msgstr ""
154
155 # type: textblock
156 #: ../src/guestfs.pod:71
157 msgid "The general structure of all libguestfs-using programs looks like this:"
158 msgstr ""
159
160 # type: verbatim
161 #: ../src/guestfs.pod:74
162 #, no-wrap
163 msgid ""
164 " guestfs_h *g = guestfs_create ();\n"
165 " \n"
166 msgstr ""
167
168 # type: verbatim
169 #: ../src/guestfs.pod:76
170 #, no-wrap
171 msgid ""
172 " /* Call guestfs_add_drive additional times if there are\n"
173 "  * multiple disk images.\n"
174 "  */\n"
175 " guestfs_add_drive (g, \"guest.img\");\n"
176 " \n"
177 msgstr ""
178
179 # type: verbatim
180 #: ../src/guestfs.pod:81
181 #, no-wrap
182 msgid ""
183 " /* Most manipulation calls won't work until you've launched\n"
184 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
185 "  * and _before_ other commands.\n"
186 "  */\n"
187 " guestfs_launch (g);\n"
188 " \n"
189 msgstr ""
190
191 # type: verbatim
192 #: ../src/guestfs.pod:87
193 #, no-wrap
194 msgid ""
195 " /* Now you can examine what partitions, LVs etc are available.\n"
196 "  */\n"
197 " char **partitions = guestfs_list_partitions (g);\n"
198 " char **logvols = guestfs_lvs (g);\n"
199 " \n"
200 msgstr ""
201
202 # type: verbatim
203 #: ../src/guestfs.pod:92
204 #, no-wrap
205 msgid ""
206 " /* To access a filesystem in the image, you must mount it.\n"
207 "  */\n"
208 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
209 " \n"
210 msgstr ""
211
212 # type: verbatim
213 #: ../src/guestfs.pod:96
214 #, no-wrap
215 msgid ""
216 " /* Now you can perform filesystem actions on the guest\n"
217 "  * disk image.\n"
218 "  */\n"
219 " guestfs_touch (g, \"/hello\");\n"
220 " \n"
221 msgstr ""
222
223 # type: verbatim
224 #: ../src/guestfs.pod:101
225 #, no-wrap
226 msgid ""
227 " /* You only need to call guestfs_sync if you have made\n"
228 "  * changes to the guest image.  (But if you've made changes\n"
229 "  * then you *must* sync).  See also: guestfs_umount and\n"
230 "  * guestfs_umount_all calls.\n"
231 "  */\n"
232 " guestfs_sync (g);\n"
233 " \n"
234 msgstr ""
235
236 # type: verbatim
237 #: ../src/guestfs.pod:108
238 #, no-wrap
239 msgid ""
240 " /* Close the handle 'g'. */\n"
241 " guestfs_close (g);\n"
242 "\n"
243 msgstr ""
244
245 # type: textblock
246 #: ../src/guestfs.pod:111
247 msgid ""
248 "The code above doesn't include any error checking.  In real code you should "
249 "check return values carefully for errors.  In general all functions that "
250 "return integers return C<-1> on error, and all functions that return "
251 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
252 "how to handle errors, and consult the documentation for each function call "
253 "below to see precisely how they return error indications."
254 msgstr ""
255
256 # type: =head2
257 #: ../src/guestfs.pod:119
258 msgid "DISK IMAGES"
259 msgstr ""
260
261 # type: textblock
262 #: ../src/guestfs.pod:121
263 msgid ""
264 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
265 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
266 "actual block device, or simply an empty file of zeroes that you have created "
267 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
268 "of these."
269 msgstr ""
270
271 # type: textblock
272 #: ../src/guestfs.pod:127
273 msgid ""
274 "You can add a disk read-only using L</guestfs_add_drive_ro>, in which case "
275 "libguestfs won't modify the file."
276 msgstr ""
277
278 # type: textblock
279 #: ../src/guestfs.pod:130
280 msgid ""
281 "Be extremely cautious if the disk image is in use, eg. if it is being used "
282 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
283 "corruption, but adding it read-only is safe."
284 msgstr ""
285
286 # type: textblock
287 #: ../src/guestfs.pod:134
288 msgid ""
289 "You must add at least one disk image, and you may add multiple disk images.  "
290 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
291 "first one you added), C</dev/sdb> (for the second one you added), etc."
292 msgstr ""
293
294 # type: textblock
295 #: ../src/guestfs.pod:139
296 msgid ""
297 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
298 "can call L</guestfs_list_devices> to get a list of the device names, in the "
299 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
300 msgstr ""
301
302 # type: =head2
303 #: ../src/guestfs.pod:144
304 msgid "MOUNTING"
305 msgstr ""
306
307 # type: textblock
308 #: ../src/guestfs.pod:146
309 msgid ""
310 "Before you can read or write files, create directories and so on in a disk "
311 "image that contains filesystems, you have to mount those filesystems using "
312 "L</guestfs_mount>.  If you already know that a disk image contains (for "
313 "example) one partition with a filesystem on that partition, then you can "
314 "mount it directly:"
315 msgstr ""
316
317 # type: verbatim
318 #: ../src/guestfs.pod:152
319 #, no-wrap
320 msgid ""
321 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
322 "\n"
323 msgstr ""
324
325 # type: textblock
326 #: ../src/guestfs.pod:154
327 msgid ""
328 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
329 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
330 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
331 msgstr ""
332
333 # type: textblock
334 #: ../src/guestfs.pod:158
335 msgid ""
336 "If you are given a disk image and you don't know what it contains then you "
337 "have to find out.  Libguestfs can do that too: use "
338 "L</guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions "
339 "and LVs, and either try mounting each to see what is mountable, or else "
340 "examine them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also "
341 "has a set of APIs for inspection of disk images (see L</INSPECTION> below).  "
342 "But you might find it easier to look at higher level programs built on top "
343 "of libguestfs, in particular L<virt-inspector(1)>."
344 msgstr ""
345
346 # type: textblock
347 #: ../src/guestfs.pod:168
348 msgid ""
349 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
350 "several other variations of the C<guestfs_mount_*> call."
351 msgstr ""
352
353 # type: =head2
354 #: ../src/guestfs.pod:171
355 msgid "FILESYSTEM ACCESS AND MODIFICATION"
356 msgstr ""
357
358 # type: textblock
359 #: ../src/guestfs.pod:173
360 msgid ""
361 "The majority of the libguestfs API consists of fairly low-level calls for "
362 "accessing and modifying the files, directories, symlinks etc on mounted "
363 "filesystems.  There are over a hundred such calls which you can find listed "
364 "in detail below in this man page, and we don't even pretend to cover them "
365 "all in this overview."
366 msgstr ""
367
368 # type: textblock
369 #: ../src/guestfs.pod:179
370 msgid ""
371 "Specify filenames as full paths, starting with C<\"/\"> and including the "
372 "mount point."
373 msgstr ""
374
375 # type: textblock
376 #: ../src/guestfs.pod:182
377 msgid ""
378 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
379 "the file called C<\"etc/passwd\"> then you could do:"
380 msgstr ""
381
382 # type: verbatim
383 #: ../src/guestfs.pod:185
384 #, no-wrap
385 msgid ""
386 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
387 "\n"
388 msgstr ""
389
390 # type: textblock
391 #: ../src/guestfs.pod:187
392 msgid ""
393 "This would return C<data> as a newly allocated buffer containing the full "
394 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
395 "or C<NULL> if there was an error."
396 msgstr ""
397
398 # type: textblock
399 #: ../src/guestfs.pod:191
400 msgid ""
401 "As another example, to create a top-level directory on that filesystem "
402 "called C<\"var\"> you would do:"
403 msgstr ""
404
405 # type: verbatim
406 #: ../src/guestfs.pod:194
407 #, no-wrap
408 msgid ""
409 " guestfs_mkdir (g, \"/var\");\n"
410 "\n"
411 msgstr ""
412
413 # type: textblock
414 #: ../src/guestfs.pod:196
415 msgid "To create a symlink you could do:"
416 msgstr ""
417
418 # type: verbatim
419 #: ../src/guestfs.pod:198
420 #, no-wrap
421 msgid ""
422 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
423 "               \"/etc/rc3.d/S30portmap\");\n"
424 "\n"
425 msgstr ""
426
427 # type: textblock
428 #: ../src/guestfs.pod:201
429 msgid ""
430 "Libguestfs will reject attempts to use relative paths and there is no "
431 "concept of a current working directory."
432 msgstr ""
433
434 # type: textblock
435 #: ../src/guestfs.pod:204
436 msgid ""
437 "Libguestfs can return errors in many situations: for example if the "
438 "filesystem isn't writable, or if a file or directory that you requested "
439 "doesn't exist.  If you are using the C API (documented here)  you have to "
440 "check for those error conditions after each call.  (Other language bindings "
441 "turn these errors into exceptions)."
442 msgstr ""
443
444 # type: textblock
445 #: ../src/guestfs.pod:210
446 msgid ""
447 "File writes are affected by the per-handle umask, set by calling "
448 "L</guestfs_umask> and defaulting to 022.  See L</UMASK>."
449 msgstr ""
450
451 # type: =head2
452 #: ../src/guestfs.pod:213
453 msgid "PARTITIONING"
454 msgstr ""
455
456 # type: textblock
457 #: ../src/guestfs.pod:215
458 msgid ""
459 "Libguestfs contains API calls to read, create and modify partition tables on "
460 "disk images."
461 msgstr ""
462
463 # type: textblock
464 #: ../src/guestfs.pod:218
465 msgid ""
466 "In the common case where you want to create a single partition covering the "
467 "whole disk, you should use the L</guestfs_part_disk> call:"
468 msgstr ""
469
470 # type: verbatim
471 #: ../src/guestfs.pod:222
472 #, no-wrap
473 msgid ""
474 " const char *parttype = \"mbr\";\n"
475 " if (disk_is_larger_than_2TB)\n"
476 "   parttype = \"gpt\";\n"
477 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
478 "\n"
479 msgstr ""
480
481 # type: textblock
482 #: ../src/guestfs.pod:227
483 msgid ""
484 "Obviously this effectively wipes anything that was on that disk image "
485 "before."
486 msgstr ""
487
488 # type: =head2
489 #: ../src/guestfs.pod:230
490 msgid "LVM2"
491 msgstr ""
492
493 # type: textblock
494 #: ../src/guestfs.pod:232
495 msgid ""
496 "Libguestfs provides access to a large part of the LVM2 API, such as "
497 "L</guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense "
498 "unless you familiarize yourself with the concepts of physical volumes, "
499 "volume groups and logical volumes."
500 msgstr ""
501
502 # type: textblock
503 #: ../src/guestfs.pod:237
504 msgid ""
505 "This author strongly recommends reading the LVM HOWTO, online at "
506 "L<http://tldp.org/HOWTO/LVM-HOWTO/>."
507 msgstr ""
508
509 # type: =head2
510 #: ../src/guestfs.pod:240
511 msgid "DOWNLOADING"
512 msgstr ""
513
514 # type: textblock
515 #: ../src/guestfs.pod:242
516 msgid ""
517 "Use L</guestfs_cat> to download small, text only files.  This call is "
518 "limited to files which are less than 2 MB and which cannot contain any ASCII "
519 "NUL (C<\\0>) characters.  However it has a very simple to use API."
520 msgstr ""
521
522 # type: textblock
523 #: ../src/guestfs.pod:247
524 msgid ""
525 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
526 "bit data, since it returns a (pointer, size) pair.  However it is still "
527 "limited to \"small\" files, less than 2 MB."
528 msgstr ""
529
530 # type: textblock
531 #: ../src/guestfs.pod:251
532 msgid ""
533 "L</guestfs_download> can be used to download any file, with no limits on "
534 "content or size (even files larger than 4 GB)."
535 msgstr ""
536
537 # type: textblock
538 #: ../src/guestfs.pod:254
539 msgid "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
540 msgstr ""
541
542 # type: =head2
543 #: ../src/guestfs.pod:257
544 msgid "UPLOADING"
545 msgstr ""
546
547 # type: textblock
548 #: ../src/guestfs.pod:259
549 msgid ""
550 "It's often the case that you want to write a file or files to the disk "
551 "image."
552 msgstr ""
553
554 # type: textblock
555 #: ../src/guestfs.pod:262
556 msgid ""
557 "To write a small file with fixed content, use L</guestfs_write>.  To create "
558 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or "
559 "L</guestfs_fallocate64> (with all disk blocks allocated).  There are a "
560 "variety of other functions for creating test files, for example "
561 "L</guestfs_fill> and L</guestfs_fill_pattern>."
562 msgstr ""
563
564 # type: textblock
565 #: ../src/guestfs.pod:268
566 msgid ""
567 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
568 "file content or size (even files larger than 4 GB)."
569 msgstr ""
570
571 # type: textblock
572 #: ../src/guestfs.pod:271
573 msgid "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
574 msgstr ""
575
576 # type: textblock
577 #: ../src/guestfs.pod:273
578 msgid ""
579 "However the fastest way to upload I<large numbers of arbitrary files> is to "
580 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and "
581 "L<mkisofs(8)>), then attach this using L</guestfs_add_drive_ro>.  If you add "
582 "the drive in a predictable way (eg. adding it last after all other drives) "
583 "then you can get the device name from L</guestfs_list_devices> and mount it "
584 "directly using L</guestfs_mount_ro>.  Note that squashfs images are "
585 "sometimes non-portable between kernel versions, and they don't support "
586 "labels or UUIDs.  If you want to pre-build an image or you need to mount it "
587 "using a label or UUID, use an ISO image instead."
588 msgstr ""
589
590 # type: =head2
591 #: ../src/guestfs.pod:284
592 msgid "COPYING"
593 msgstr ""
594
595 # type: textblock
596 #: ../src/guestfs.pod:286
597 msgid ""
598 "There are various different commands for copying between files and devices "
599 "and in and out of the guest filesystem.  These are summarised in the table "
600 "below."
601 msgstr ""
602
603 # type: =item
604 #: ../src/guestfs.pod:292
605 msgid "B<file> to B<file>"
606 msgstr ""
607
608 # type: textblock
609 #: ../src/guestfs.pod:294
610 msgid ""
611 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
612 "directories recursively."
613 msgstr ""
614
615 # type: =item
616 #: ../src/guestfs.pod:297
617 msgid "B<file or device> to B<file or device>"
618 msgstr ""
619
620 # type: textblock
621 #: ../src/guestfs.pod:299
622 msgid ""
623 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
624 "devices in the guest."
625 msgstr ""
626
627 # type: textblock
628 #: ../src/guestfs.pod:302
629 msgid "Example: duplicate the contents of an LV:"
630 msgstr ""
631
632 # type: verbatim
633 #: ../src/guestfs.pod:304
634 #, no-wrap
635 msgid ""
636 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
637 "\n"
638 msgstr ""
639
640 # type: textblock
641 #: ../src/guestfs.pod:306
642 msgid ""
643 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
644 "(C</dev/VG/Original>).  To copy less than the whole source device, use "
645 "L</guestfs_copy_size>."
646 msgstr ""
647
648 # type: =item
649 #: ../src/guestfs.pod:310
650 msgid "B<file on the host> to B<file or device>"
651 msgstr ""
652
653 # type: textblock
654 #: ../src/guestfs.pod:312
655 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
656 msgstr ""
657
658 # type: =item
659 #: ../src/guestfs.pod:314
660 msgid "B<file or device> to B<file on the host>"
661 msgstr ""
662
663 # type: textblock
664 #: ../src/guestfs.pod:316
665 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
666 msgstr ""
667
668 # type: =head2
669 #: ../src/guestfs.pod:320
670 msgid "LISTING FILES"
671 msgstr ""
672
673 # type: textblock
674 #: ../src/guestfs.pod:322
675 msgid ""
676 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
677 "L<guestfish(1)>-equivalent command C<ll>)."
678 msgstr ""
679
680 # type: textblock
681 #: ../src/guestfs.pod:325
682 msgid ""
683 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
684 "programs, as a flat list of strings."
685 msgstr ""
686
687 # type: textblock
688 #: ../src/guestfs.pod:328
689 msgid ""
690 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
691 "directory, plus additional information about each one.  It is more "
692 "equivalent to using the L<readdir(3)> call on a local filesystem."
693 msgstr ""
694
695 # type: textblock
696 #: ../src/guestfs.pod:332
697 msgid ""
698 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list "
699 "files."
700 msgstr ""
701
702 # type: =head2
703 #: ../src/guestfs.pod:335
704 msgid "RUNNING COMMANDS"
705 msgstr ""
706
707 # type: textblock
708 #: ../src/guestfs.pod:337
709 msgid ""
710 "Although libguestfs is a primarily an API for manipulating files inside "
711 "guest images, we also provide some limited facilities for running commands "
712 "inside guests."
713 msgstr ""
714
715 # type: textblock
716 #: ../src/guestfs.pod:341
717 msgid "There are many limitations to this:"
718 msgstr ""
719
720 # type: =item
721 #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355 ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368 ../src/guestfs.pod:373 ../src/guestfs.pod:1214 ../src/guestfs.pod:1219 ../src/guestfs.pod:1223 ../src/guestfs.pod:1325 ../src/guestfs.pod:1329 ../src/guestfs.pod:1333 ../src/guestfs.pod:1338 ../src/guestfs.pod:1346 ../src/guestfs.pod:1365 ../src/guestfs.pod:1373 ../src/guestfs.pod:1587 ../src/guestfs.pod:1593 ../src/guestfs.pod:1598 ../src/guestfs.pod:1604 ../src/guestfs.pod:1711 ../src/guestfs.pod:1715 ../src/guestfs.pod:1719 ../src/guestfs.pod:1723 ../src/guestfs-actions.pod:14 ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372 ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387 ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1257 ../src/guestfs-actions.pod:1261 ../src/guestfs-actions.pod:1265 ../src/guestfs-actions.pod:1269 ../src/guestfs-actions.pod:1277 ../src/guestfs-actions.pod:1281 ../src/guestfs-actions.pod:1285 ../src/guestfs-actions.pod:1295 ../src/guestfs-actions.pod:1299 ../src/guestfs-actions.pod:1303 ../src/guestfs-actions.pod:1426 ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1435 ../src/guestfs-actions.pod:1440 ../src/guestfs-actions.pod:1492 ../src/guestfs-actions.pod:1496 ../src/guestfs-actions.pod:1501 ../fish/guestfish.pod:309 ../fish/guestfish.pod:313 ../fish/guestfish.pod:317 ../fish/guestfish.pod:321 ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:300 ../fish/guestfish-actions.pod:308 ../fish/guestfish-actions.pod:315 ../fish/guestfish-actions.pod:322 ../fish/guestfish-actions.pod:998 ../fish/guestfish-actions.pod:1002 ../fish/guestfish-actions.pod:1006 ../fish/guestfish-actions.pod:1010 ../fish/guestfish-actions.pod:1018 ../fish/guestfish-actions.pod:1022 ../fish/guestfish-actions.pod:1026 ../fish/guestfish-actions.pod:1036 ../fish/guestfish-actions.pod:1040 ../fish/guestfish-actions.pod:1044 ../fish/guestfish-actions.pod:1134 ../fish/guestfish-actions.pod:1138 ../fish/guestfish-actions.pod:1143 ../fish/guestfish-actions.pod:1148 ../fish/guestfish-actions.pod:1190 ../fish/guestfish-actions.pod:1194 ../fish/guestfish-actions.pod:1199 ../tools/virt-resize.pl:324 ../tools/virt-resize.pl:329 ../tools/virt-resize.pl:339
722 msgid "*"
723 msgstr ""
724
725 # type: textblock
726 #: ../src/guestfs.pod:347
727 msgid ""
728 "The kernel version that the command runs under will be different from what "
729 "it expects."
730 msgstr ""
731
732 # type: textblock
733 #: ../src/guestfs.pod:352
734 msgid ""
735 "If the command needs to communicate with daemons, then most likely they "
736 "won't be running."
737 msgstr ""
738
739 # type: textblock
740 #: ../src/guestfs.pod:357
741 msgid "The command will be running in limited memory."
742 msgstr ""
743
744 # type: textblock
745 #: ../src/guestfs.pod:361
746 msgid ""
747 "The network may not be available unless you enable it (see "
748 "L</guestfs_set_network>)."
749 msgstr ""
750
751 # type: textblock
752 #: ../src/guestfs.pod:366
753 msgid "Only supports Linux guests (not Windows, BSD, etc)."
754 msgstr ""
755
756 # type: textblock
757 #: ../src/guestfs.pod:370
758 msgid "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
759 msgstr ""
760
761 # type: textblock
762 #: ../src/guestfs.pod:375
763 msgid ""
764 "For SELinux guests, you may need to enable SELinux and load policy first.  "
765 "See L</SELINUX> in this manpage."
766 msgstr ""
767
768 # type: textblock
769 #: ../src/guestfs.pod:380
770 msgid ""
771 "The two main API calls to run commands are L</guestfs_command> and "
772 "L</guestfs_sh> (there are also variations)."
773 msgstr ""
774
775 # type: textblock
776 #: ../src/guestfs.pod:383
777 msgid ""
778 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
779 "shell globs, redirections, etc will work."
780 msgstr ""
781
782 # type: =head2
783 #: ../src/guestfs.pod:386
784 msgid "CONFIGURATION FILES"
785 msgstr ""
786
787 # type: textblock
788 #: ../src/guestfs.pod:388
789 msgid ""
790 "To read and write configuration files in Linux guest filesystems, we "
791 "strongly recommend using Augeas.  For example, Augeas understands how to "
792 "read and write, say, a Linux shadow password file or X.org configuration "
793 "file, and so avoids you having to write that code."
794 msgstr ""
795
796 # type: textblock
797 #: ../src/guestfs.pod:393
798 msgid ""
799 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
800 "document Augeas itself here because there is excellent documentation on the "
801 "L<http://augeas.net/> website."
802 msgstr ""
803
804 # type: textblock
805 #: ../src/guestfs.pod:397
806 msgid ""
807 "If you don't want to use Augeas (you fool!) then try calling "
808 "L</guestfs_read_lines> to get the file as a list of lines which you can "
809 "iterate over."
810 msgstr ""
811
812 # type: =head2
813 #: ../src/guestfs.pod:401
814 msgid "SELINUX"
815 msgstr ""
816
817 # type: textblock
818 #: ../src/guestfs.pod:403
819 msgid ""
820 "We support SELinux guests.  To ensure that labeling happens correctly in "
821 "SELinux guests, you need to enable SELinux and load the guest's policy:"
822 msgstr ""
823
824 # type: =item
825 #: ../src/guestfs.pod:409
826 msgid "1."
827 msgstr ""
828
829 # type: textblock
830 #: ../src/guestfs.pod:411
831 msgid "Before launching, do:"
832 msgstr ""
833
834 # type: verbatim
835 #: ../src/guestfs.pod:413
836 #, no-wrap
837 msgid ""
838 " guestfs_set_selinux (g, 1);\n"
839 "\n"
840 msgstr ""
841
842 # type: =item
843 #: ../src/guestfs.pod:415
844 msgid "2."
845 msgstr ""
846
847 # type: textblock
848 #: ../src/guestfs.pod:417
849 msgid ""
850 "After mounting the guest's filesystem(s), load the policy.  This is best "
851 "done by running the L<load_policy(8)> command in the guest itself:"
852 msgstr ""
853
854 # type: verbatim
855 #: ../src/guestfs.pod:421
856 #, no-wrap
857 msgid ""
858 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
859 "\n"
860 msgstr ""
861
862 # type: textblock
863 #: ../src/guestfs.pod:423
864 msgid ""
865 "(Older versions of C<load_policy> require you to specify the name of the "
866 "policy file)."
867 msgstr ""
868
869 # type: =item
870 #: ../src/guestfs.pod:426
871 msgid "3."
872 msgstr ""
873
874 # type: textblock
875 #: ../src/guestfs.pod:428
876 msgid ""
877 "Optionally, set the security context for the API.  The correct security "
878 "context to use can only be known by inspecting the guest.  As an example:"
879 msgstr ""
880
881 # type: verbatim
882 #: ../src/guestfs.pod:432
883 #, no-wrap
884 msgid ""
885 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
886 "\n"
887 msgstr ""
888
889 # type: textblock
890 #: ../src/guestfs.pod:436
891 msgid "This will work for running commands and editing existing files."
892 msgstr ""
893
894 # type: textblock
895 #: ../src/guestfs.pod:438
896 msgid ""
897 "When new files are created, you may need to label them explicitly, for "
898 "example by running the external command C<restorecon pathname>."
899 msgstr ""
900
901 # type: =head2
902 #: ../src/guestfs.pod:442
903 msgid "UMASK"
904 msgstr ""
905
906 # type: textblock
907 #: ../src/guestfs.pod:444
908 msgid ""
909 "Certain calls are affected by the current file mode creation mask (the "
910 "\"umask\").  In particular ones which create files or directories, such as "
911 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
912 "either the default mode that the file is created with or modifies the mode "
913 "that you supply."
914 msgstr ""
915
916 # type: textblock
917 #: ../src/guestfs.pod:450
918 msgid ""
919 "The default umask is C<022>, so files are created with modes such as C<0644> "
920 "and directories with C<0755>."
921 msgstr ""
922
923 # type: textblock
924 #: ../src/guestfs.pod:453
925 msgid ""
926 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
927 "(call C<guestfs_umask (g, 0)> early after launching).  Or call "
928 "L</guestfs_chmod> after creating each file or directory."
929 msgstr ""
930
931 # type: textblock
932 #: ../src/guestfs.pod:457
933 msgid "For more information about umask, see L<umask(2)>."
934 msgstr ""
935
936 # type: =head1
937 #: ../src/guestfs.pod:459 ../fish/guestfish.pod:559
938 msgid "ENCRYPTED DISKS"
939 msgstr ""
940
941 # type: textblock
942 #: ../src/guestfs.pod:461
943 msgid ""
944 "Libguestfs allows you to access Linux guests which have been encrypted using "
945 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
946 "standard.  This includes nearly all whole disk encryption systems used by "
947 "modern Linux guests."
948 msgstr ""
949
950 # type: textblock
951 #: ../src/guestfs.pod:467
952 msgid ""
953 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
954 "returns the string C<crypto_LUKS>)."
955 msgstr ""
956
957 # type: textblock
958 #: ../src/guestfs.pod:470
959 msgid ""
960 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
961 "will require the passphrase!"
962 msgstr ""
963
964 # type: textblock
965 #: ../src/guestfs.pod:473
966 msgid ""
967 "Opening a LUKS device creates a new device mapper device called "
968 "C</dev/mapper/mapname> (where C<mapname> is the string you supply to "
969 "L</guestfs_luks_open>).  Reads and writes to this mapper device are "
970 "decrypted from and encrypted to the underlying block device respectively."
971 msgstr ""
972
973 # type: textblock
974 #: ../src/guestfs.pod:479
975 msgid ""
976 "LVM volume groups on the device can be made visible by calling "
977 "L</guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical "
978 "volume(s) can now be mounted in the usual way."
979 msgstr ""
980
981 # type: textblock
982 #: ../src/guestfs.pod:483
983 msgid ""
984 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
985 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
986 "[\"/dev/VG\"])>.  Then close the mapper device by calling "
987 "L</guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
988 "underlying encrypted block device)."
989 msgstr ""
990
991 # type: =head2
992 #: ../src/guestfs.pod:490
993 msgid "INSPECTION"
994 msgstr ""
995
996 # type: textblock
997 #: ../src/guestfs.pod:492
998 msgid ""
999 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1000 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1001 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1002 "frequently used part of this library has been rewritten in C and moved into "
1003 "the core code)."
1004 msgstr ""
1005
1006 # type: textblock
1007 #: ../src/guestfs.pod:498
1008 msgid ""
1009 "Add all disks belonging to the unknown virtual machine and call "
1010 "L</guestfs_launch> in the usual way."
1011 msgstr ""
1012
1013 # type: textblock
1014 #: ../src/guestfs.pod:501
1015 msgid ""
1016 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1017 "and certain heuristics, and returns a list of operating systems that were "
1018 "found.  An empty list means none were found.  A single element is the root "
1019 "filesystem of the operating system.  For dual- or multi-boot guests, "
1020 "multiple roots can be returned, each one corresponding to a separate "
1021 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1022 "world of virtualization, but since this scenario can happen, we have built "
1023 "libguestfs to deal with it.)"
1024 msgstr ""
1025
1026 # type: textblock
1027 #: ../src/guestfs.pod:510
1028 msgid ""
1029 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1030 "to get additional details about that operating system.  For example, call "
1031 "L</guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1032 "Windows and Linux-based operating systems respectively."
1033 msgstr ""
1034
1035 # type: textblock
1036 #: ../src/guestfs.pod:516
1037 msgid ""
1038 "Un*x-like and Linux-based operating systems usually consist of several "
1039 "filesystems which are mounted at boot time (for example, a separate boot "
1040 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1041 "filesystems correspond to mount points.  Call "
1042 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1043 "hash table like this example:"
1044 msgstr ""
1045
1046 # type: verbatim
1047 #: ../src/guestfs.pod:523
1048 #, no-wrap
1049 msgid ""
1050 " /boot => /dev/sda1\n"
1051 " /     => /dev/vg_guest/lv_root\n"
1052 " /usr  => /dev/vg_guest/lv_usr\n"
1053 "\n"
1054 msgstr ""
1055
1056 # type: textblock
1057 #: ../src/guestfs.pod:527
1058 msgid ""
1059 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1060 "filesystems as suggested."
1061 msgstr ""
1062
1063 # type: textblock
1064 #: ../src/guestfs.pod:530
1065 msgid ""
1066 "Be careful to mount filesystems in the right order (eg. C</> before "
1067 "C</usr>).  Sorting the keys of the hash by length, shortest first, should "
1068 "work."
1069 msgstr ""
1070
1071 # type: textblock
1072 #: ../src/guestfs.pod:534
1073 msgid ""
1074 "Inspection currently only works for some common operating systems.  "
1075 "Contributors are welcome to send patches for other operating systems that we "
1076 "currently cannot detect."
1077 msgstr ""
1078
1079 # type: textblock
1080 #: ../src/guestfs.pod:538
1081 msgid ""
1082 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1083 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1084 "encrypted devices."
1085 msgstr ""
1086
1087 # type: textblock
1088 #: ../src/guestfs.pod:542
1089 msgid ""
1090 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1091 "inspection and caches the results in the guest handle.  Subsequent calls to "
1092 "C<guestfs_inspect_get_*> return this cached information, but I<do not> "
1093 "re-read the disks.  If you change the content of the guest disks, you can "
1094 "redo inspection by calling L</guestfs_inspect_os> again."
1095 msgstr ""
1096
1097 # type: =head2
1098 #: ../src/guestfs.pod:549
1099 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1100 msgstr ""
1101
1102 # type: textblock
1103 #: ../src/guestfs.pod:551
1104 msgid ""
1105 "Libguestfs can mount NTFS partitions.  It does this using the "
1106 "L<http://www.ntfs-3g.org/> driver."
1107 msgstr ""
1108
1109 # type: textblock
1110 #: ../src/guestfs.pod:554
1111 msgid ""
1112 "DOS and Windows still use drive letters, and the filesystems are always "
1113 "treated as case insensitive by Windows itself, and therefore you might find "
1114 "a Windows configuration file referring to a path like "
1115 "C<c:\\windows\\system32>.  When the filesystem is mounted in libguestfs, "
1116 "that directory might be referred to as C</WINDOWS/System32>."
1117 msgstr ""
1118
1119 # type: textblock
1120 #: ../src/guestfs.pod:560
1121 msgid ""
1122 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1123 "libguestfs to read the appropriate Windows Registry and configuration files, "
1124 "to determine yourself how drives are mapped (see also L<hivex(3)> and "
1125 "L<virt-inspector(1)>)."
1126 msgstr ""
1127
1128 # type: textblock
1129 #: ../src/guestfs.pod:565
1130 msgid ""
1131 "Replacing backslash characters with forward slash characters is also outside "
1132 "the scope of libguestfs, but something that you can easily do."
1133 msgstr ""
1134
1135 # type: textblock
1136 #: ../src/guestfs.pod:568
1137 msgid ""
1138 "Where we can help is in resolving the case insensitivity of paths.  For "
1139 "this, call L</guestfs_case_sensitive_path>."
1140 msgstr ""
1141
1142 # type: textblock
1143 #: ../src/guestfs.pod:571
1144 msgid ""
1145 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1146 "files, through the library C<hivex> which is part of the libguestfs project "
1147 "although ships as a separate tarball.  You have to locate and download the "
1148 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1149 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and "
1150 "L<virt-win-reg(1)> for more help on this issue."
1151 msgstr ""
1152
1153 # type: =head2
1154 #: ../src/guestfs.pod:579
1155 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1156 msgstr ""
1157
1158 # type: textblock
1159 #: ../src/guestfs.pod:581
1160 msgid ""
1161 "Although we don't want to discourage you from using the C API, we will "
1162 "mention here that the same API is also available in other languages."
1163 msgstr ""
1164
1165 # type: textblock
1166 #: ../src/guestfs.pod:584
1167 msgid ""
1168 "The API is broadly identical in all supported languages.  This means that "
1169 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, "
1170 "C<g.mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1171 "words, a straightforward, predictable isomorphism between each language."
1172 msgstr ""
1173
1174 # type: textblock
1175 #: ../src/guestfs.pod:590
1176 msgid ""
1177 "Error messages are automatically transformed into exceptions if the language "
1178 "supports it."
1179 msgstr ""
1180
1181 # type: textblock
1182 #: ../src/guestfs.pod:593
1183 msgid ""
1184 "We don't try to \"object orientify\" parts of the API in OO languages, "
1185 "although contributors are welcome to write higher level APIs above what we "
1186 "provide in their favourite languages if they wish."
1187 msgstr ""
1188
1189 # type: =item
1190 #: ../src/guestfs.pod:599
1191 msgid "B<C++>"
1192 msgstr ""
1193
1194 # type: textblock
1195 #: ../src/guestfs.pod:601
1196 msgid ""
1197 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1198 "identical to the C API.  C++ classes and exceptions are not used."
1199 msgstr ""
1200
1201 # type: =item
1202 #: ../src/guestfs.pod:605
1203 msgid "B<C#>"
1204 msgstr ""
1205
1206 # type: textblock
1207 #: ../src/guestfs.pod:607
1208 msgid ""
1209 "The C# bindings are highly experimental.  Please read the warnings at the "
1210 "top of C<csharp/Libguestfs.cs>."
1211 msgstr ""
1212
1213 # type: =item
1214 #: ../src/guestfs.pod:610
1215 msgid "B<Haskell>"
1216 msgstr ""
1217
1218 # type: textblock
1219 #: ../src/guestfs.pod:612
1220 msgid ""
1221 "This is the only language binding that is working but incomplete.  Only "
1222 "calls which return simple integers have been bound in Haskell, and we are "
1223 "looking for help to complete this binding."
1224 msgstr ""
1225
1226 # type: =item
1227 #: ../src/guestfs.pod:616
1228 msgid "B<Java>"
1229 msgstr ""
1230
1231 # type: textblock
1232 #: ../src/guestfs.pod:618
1233 msgid ""
1234 "Full documentation is contained in the Javadoc which is distributed with "
1235 "libguestfs."
1236 msgstr ""
1237
1238 # type: =item
1239 #: ../src/guestfs.pod:621
1240 msgid "B<OCaml>"
1241 msgstr ""
1242
1243 # type: textblock
1244 #: ../src/guestfs.pod:623
1245 msgid "For documentation see the file C<guestfs.mli>."
1246 msgstr ""
1247
1248 # type: =item
1249 #: ../src/guestfs.pod:625
1250 msgid "B<Perl>"
1251 msgstr ""
1252
1253 # type: textblock
1254 #: ../src/guestfs.pod:627
1255 msgid "For documentation see L<Sys::Guestfs(3)>."
1256 msgstr ""
1257
1258 # type: =item
1259 #: ../src/guestfs.pod:629
1260 msgid "B<Python>"
1261 msgstr ""
1262
1263 # type: textblock
1264 #: ../src/guestfs.pod:631
1265 msgid "For documentation do:"
1266 msgstr ""
1267
1268 # type: verbatim
1269 #: ../src/guestfs.pod:633
1270 #, no-wrap
1271 msgid ""
1272 " $ python\n"
1273 " >>> import guestfs\n"
1274 " >>> help (guestfs)\n"
1275 "\n"
1276 msgstr ""
1277
1278 # type: =item
1279 #: ../src/guestfs.pod:637
1280 msgid "B<Ruby>"
1281 msgstr ""
1282
1283 # type: textblock
1284 #: ../src/guestfs.pod:639
1285 msgid ""
1286 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1287 "can find examples written in Ruby in the libguestfs source."
1288 msgstr ""
1289
1290 # type: =item
1291 #: ../src/guestfs.pod:642
1292 msgid "B<shell scripts>"
1293 msgstr ""
1294
1295 # type: textblock
1296 #: ../src/guestfs.pod:644
1297 msgid "For documentation see L<guestfish(1)>."
1298 msgstr ""
1299
1300 # type: =head2
1301 #: ../src/guestfs.pod:648
1302 msgid "LIBGUESTFS GOTCHAS"
1303 msgstr ""
1304
1305 # type: textblock
1306 #: ../src/guestfs.pod:650
1307 msgid ""
1308 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1309 "system [...] that works in the way it is documented but is counterintuitive "
1310 "and almost invites mistakes.\""
1311 msgstr ""
1312
1313 # type: textblock
1314 #: ../src/guestfs.pod:654
1315 msgid ""
1316 "Since we developed libguestfs and the associated tools, there are several "
1317 "things we would have designed differently, but are now stuck with for "
1318 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1319 "release, you can expect these to change.  Beware of them."
1320 msgstr ""
1321
1322 # type: =item
1323 #: ../src/guestfs.pod:662
1324 msgid "Autosync / forgetting to sync."
1325 msgstr ""
1326
1327 # type: textblock
1328 #: ../src/guestfs.pod:664
1329 msgid ""
1330 "When modifying a filesystem from C or another language, you B<must> unmount "
1331 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1332 "libguestfs handle.  You can also call:"
1333 msgstr ""
1334
1335 # type: verbatim
1336 #: ../src/guestfs.pod:668
1337 #, no-wrap
1338 msgid ""
1339 " guestfs_set_autosync (g, 1);\n"
1340 "\n"
1341 msgstr ""
1342
1343 # type: textblock
1344 #: ../src/guestfs.pod:670
1345 msgid ""
1346 "to have the unmount/sync done automatically for you when the handle 'g' is "
1347 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> "
1348 "q.v.)"
1349 msgstr ""
1350
1351 # type: textblock
1352 #: ../src/guestfs.pod:674
1353 msgid ""
1354 "If you forget to do this, then it is entirely possible that your changes "
1355 "won't be written out, or will be partially written, or (very rarely) that "
1356 "you'll get disk corruption."
1357 msgstr ""
1358
1359 # type: textblock
1360 #: ../src/guestfs.pod:678
1361 msgid ""
1362 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1363 "guestfish scripts that forget to sync will work just fine, which can make "
1364 "this very puzzling if you are trying to debug a problem."
1365 msgstr ""
1366
1367 # type: =item
1368 #: ../src/guestfs.pod:682
1369 msgid "Mount option C<-o sync> should not be the default."
1370 msgstr ""
1371
1372 # type: textblock
1373 #: ../src/guestfs.pod:684
1374 msgid ""
1375 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1376 "However C<-o sync> does not add any reliability benefit, but does have a "
1377 "very large performance impact."
1378 msgstr ""
1379
1380 # type: textblock
1381 #: ../src/guestfs.pod:688
1382 msgid ""
1383 "The work around is to use L</guestfs_mount_options> and set the mount "
1384 "options that you actually want to use."
1385 msgstr ""
1386
1387 # type: =item
1388 #: ../src/guestfs.pod:691
1389 msgid "Read-only should be the default."
1390 msgstr ""
1391
1392 # type: textblock
1393 #: ../src/guestfs.pod:693
1394 msgid ""
1395 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1396 "specify I<--rw> if you want to make changes to the image."
1397 msgstr ""
1398
1399 # type: textblock
1400 #: ../src/guestfs.pod:696
1401 msgid "This would reduce the potential to corrupt live VM images."
1402 msgstr ""
1403
1404 # type: textblock
1405 #: ../src/guestfs.pod:698
1406 msgid ""
1407 "Note that many filesystems change the disk when you just mount and unmount, "
1408 "even if you didn't perform any writes.  You need to use "
1409 "L</guestfs_add_drive_ro> to guarantee that the disk is not changed."
1410 msgstr ""
1411
1412 # type: =item
1413 #: ../src/guestfs.pod:702
1414 msgid "guestfish command line is hard to use."
1415 msgstr ""
1416
1417 # type: textblock
1418 #: ../src/guestfs.pod:704
1419 msgid ""
1420 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1421 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1422 "exist, so it fails.  In earlier versions of guestfish the error message was "
1423 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1424 "we should have used C<guestfish -c command> to run commands."
1425 msgstr ""
1426
1427 # type: =item
1428 #: ../src/guestfs.pod:711
1429 msgid "guestfish megabyte modifiers don't work right on all commands"
1430 msgstr ""
1431
1432 # type: textblock
1433 #: ../src/guestfs.pod:713
1434 msgid ""
1435 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1436 "other modifiers).  What guestfish actually does is to multiply the number "
1437 "part by the modifier part and pass the result to the C API.  However this "
1438 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1439 "expecting some other unit (eg. megabytes)."
1440 msgstr ""
1441
1442 # type: textblock
1443 #: ../src/guestfs.pod:720
1444 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1445 msgstr ""
1446
1447 # type: verbatim
1448 #: ../src/guestfs.pod:722
1449 #, no-wrap
1450 msgid ""
1451 " lvcreate LV VG 100M\n"
1452 "\n"
1453 msgstr ""
1454
1455 # type: textblock
1456 #: ../src/guestfs.pod:724
1457 msgid ""
1458 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1459 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1460 "megabytes * megabytes) logical volume.  The error message you get from this "
1461 "is also a little obscure."
1462 msgstr ""
1463
1464 # type: textblock
1465 #: ../src/guestfs.pod:729
1466 msgid ""
1467 "This could be fixed in the generator by specially marking parameters and "
1468 "return values which take bytes or other units."
1469 msgstr ""
1470
1471 # type: =item
1472 #: ../src/guestfs.pod:732
1473 msgid "Library should return errno with error messages."
1474 msgstr ""
1475
1476 # type: textblock
1477 #: ../src/guestfs.pod:734
1478 msgid ""
1479 "It would be a nice-to-have to be able to get the original value of 'errno' "
1480 "from inside the appliance along error paths (where set).  Currently "
1481 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1482 "string into an errno, see the function error() in fuse/guestmount.c."
1483 msgstr ""
1484
1485 # type: textblock
1486 #: ../src/guestfs.pod:740
1487 msgid ""
1488 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1489 "sent back from the daemon."
1490 msgstr ""
1491
1492 # type: =head2
1493 #: ../src/guestfs.pod:745
1494 msgid "PROTOCOL LIMITS"
1495 msgstr ""
1496
1497 # type: textblock
1498 #: ../src/guestfs.pod:747
1499 msgid ""
1500 "Internally libguestfs uses a message-based protocol to pass API calls and "
1501 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1502 "plenty more detail about this).  The maximum message size used by the "
1503 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1504 "aware of this limit.  The API calls which may be affected are individually "
1505 "documented, with a link back to this section of the documentation."
1506 msgstr ""
1507
1508 # type: textblock
1509 #: ../src/guestfs.pod:755
1510 msgid ""
1511 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1512 "a simple string.  Because this string is at some point internally encoded as "
1513 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1514 "the requested file is larger than this then you will get an error."
1515 msgstr ""
1516
1517 # type: textblock
1518 #: ../src/guestfs.pod:761
1519 msgid ""
1520 "In order to transfer large files into and out of the guest filesystem, you "
1521 "need to use particular calls that support this.  The sections L</UPLOADING> "
1522 "and L</DOWNLOADING> document how to do this."
1523 msgstr ""
1524
1525 # type: textblock
1526 #: ../src/guestfs.pod:765
1527 msgid ""
1528 "You might also consider mounting the disk image using our FUSE filesystem "
1529 "support (L<guestmount(1)>)."
1530 msgstr ""
1531
1532 # type: =head2
1533 #: ../src/guestfs.pod:768
1534 msgid "KEYS AND PASSPHRASES"
1535 msgstr ""
1536
1537 # type: textblock
1538 #: ../src/guestfs.pod:770
1539 msgid ""
1540 "Certain libguestfs calls take a parameter that contains sensitive key "
1541 "material, passed in as a C string."
1542 msgstr ""
1543
1544 # type: textblock
1545 #: ../src/guestfs.pod:773
1546 msgid ""
1547 "In the future we would hope to change the libguestfs implementation so that "
1548 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1549 "swap.  However this is I<not> done at the moment, because of the complexity "
1550 "of such an implementation."
1551 msgstr ""
1552
1553 # type: textblock
1554 #: ../src/guestfs.pod:778
1555 msgid ""
1556 "Therefore you should be aware that any key parameter you pass to libguestfs "
1557 "might end up being written out to the swap partition.  If this is a concern, "
1558 "scrub the swap partition or don't use libguestfs on encrypted devices."
1559 msgstr ""
1560
1561 # type: =head1
1562 #: ../src/guestfs.pod:783
1563 msgid "CONNECTION MANAGEMENT"
1564 msgstr ""
1565
1566 # type: =head2
1567 #: ../src/guestfs.pod:785
1568 msgid "guestfs_h *"
1569 msgstr ""
1570
1571 # type: textblock
1572 #: ../src/guestfs.pod:787
1573 msgid ""
1574 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1575 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1576 "handle and release all resources used."
1577 msgstr ""
1578
1579 # type: textblock
1580 #: ../src/guestfs.pod:791
1581 msgid ""
1582 "For information on using multiple handles and threads, see the section "
1583 "L</MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1584 msgstr ""
1585
1586 # type: =head2
1587 #: ../src/guestfs.pod:794
1588 msgid "guestfs_create"
1589 msgstr ""
1590
1591 # type: verbatim
1592 #: ../src/guestfs.pod:796
1593 #, no-wrap
1594 msgid ""
1595 " guestfs_h *guestfs_create (void);\n"
1596 "\n"
1597 msgstr ""
1598
1599 # type: textblock
1600 #: ../src/guestfs.pod:798
1601 msgid "Create a connection handle."
1602 msgstr ""
1603
1604 # type: textblock
1605 #: ../src/guestfs.pod:800
1606 msgid "You have to call L</guestfs_add_drive> on the handle at least once."
1607 msgstr ""
1608
1609 # type: textblock
1610 #: ../src/guestfs.pod:802
1611 msgid ""
1612 "This function returns a non-NULL pointer to a handle on success or NULL on "
1613 "error."
1614 msgstr ""
1615
1616 # type: textblock
1617 #: ../src/guestfs.pod:805
1618 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1619 msgstr ""
1620
1621 # type: textblock
1622 #: ../src/guestfs.pod:807
1623 msgid ""
1624 "You may also want to configure error handling for the handle.  See L</ERROR "
1625 "HANDLING> section below."
1626 msgstr ""
1627
1628 # type: =head2
1629 #: ../src/guestfs.pod:810
1630 msgid "guestfs_close"
1631 msgstr ""
1632
1633 # type: verbatim
1634 #: ../src/guestfs.pod:812
1635 #, no-wrap
1636 msgid ""
1637 " void guestfs_close (guestfs_h *g);\n"
1638 "\n"
1639 msgstr ""
1640
1641 # type: textblock
1642 #: ../src/guestfs.pod:814
1643 msgid "This closes the connection handle and frees up all resources used."
1644 msgstr ""
1645
1646 # type: =head1
1647 #: ../src/guestfs.pod:816
1648 msgid "ERROR HANDLING"
1649 msgstr ""
1650
1651 # type: textblock
1652 #: ../src/guestfs.pod:818
1653 msgid ""
1654 "The convention in all functions that return C<int> is that they return C<-1> "
1655 "to indicate an error.  You can get additional information on errors by "
1656 "calling L</guestfs_last_error> and/or by setting up an error handler with "
1657 "L</guestfs_set_error_handler>."
1658 msgstr ""
1659
1660 # type: textblock
1661 #: ../src/guestfs.pod:823
1662 msgid "The default error handler prints the information string to C<stderr>."
1663 msgstr ""
1664
1665 # type: textblock
1666 #: ../src/guestfs.pod:825
1667 msgid ""
1668 "Out of memory errors are handled differently.  The default action is to call "
1669 "L<abort(3)>.  If this is undesirable, then you can set a handler using "
1670 "L</guestfs_set_out_of_memory_handler>."
1671 msgstr ""
1672
1673 # type: =head2
1674 #: ../src/guestfs.pod:829
1675 msgid "guestfs_last_error"
1676 msgstr ""
1677
1678 # type: verbatim
1679 #: ../src/guestfs.pod:831
1680 #, no-wrap
1681 msgid ""
1682 " const char *guestfs_last_error (guestfs_h *g);\n"
1683 "\n"
1684 msgstr ""
1685
1686 # type: textblock
1687 #: ../src/guestfs.pod:833
1688 msgid ""
1689 "This returns the last error message that happened on C<g>.  If there has not "
1690 "been an error since the handle was created, then this returns C<NULL>."
1691 msgstr ""
1692
1693 # type: textblock
1694 #: ../src/guestfs.pod:837
1695 msgid ""
1696 "The lifetime of the returned string is until the next error occurs, or "
1697 "L</guestfs_close> is called."
1698 msgstr ""
1699
1700 # type: textblock
1701 #: ../src/guestfs.pod:840
1702 msgid ""
1703 "The error string is not localized (ie. is always in English), because this "
1704 "makes searching for error messages in search engines give the largest number "
1705 "of results."
1706 msgstr ""
1707
1708 # type: =head2
1709 #: ../src/guestfs.pod:844
1710 msgid "guestfs_set_error_handler"
1711 msgstr ""
1712
1713 # type: verbatim
1714 #: ../src/guestfs.pod:846
1715 #, no-wrap
1716 msgid ""
1717 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1718 "                                           void *opaque,\n"
1719 "                                           const char *msg);\n"
1720 " void guestfs_set_error_handler (guestfs_h *g,\n"
1721 "                                 guestfs_error_handler_cb cb,\n"
1722 "                                 void *opaque);\n"
1723 "\n"
1724 msgstr ""
1725
1726 # type: textblock
1727 #: ../src/guestfs.pod:853
1728 msgid ""
1729 "The callback C<cb> will be called if there is an error.  The parameters "
1730 "passed to the callback are an opaque data pointer and the error message "
1731 "string."
1732 msgstr ""
1733
1734 # type: textblock
1735 #: ../src/guestfs.pod:857
1736 msgid ""
1737 "Note that the message string C<msg> is freed as soon as the callback "
1738 "function returns, so if you want to stash it somewhere you must make your "
1739 "own copy."
1740 msgstr ""
1741
1742 # type: textblock
1743 #: ../src/guestfs.pod:861
1744 msgid "The default handler prints messages on C<stderr>."
1745 msgstr ""
1746
1747 # type: textblock
1748 #: ../src/guestfs.pod:863
1749 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1750 msgstr ""
1751
1752 # type: =head2
1753 #: ../src/guestfs.pod:865
1754 msgid "guestfs_get_error_handler"
1755 msgstr ""
1756
1757 # type: verbatim
1758 #: ../src/guestfs.pod:867
1759 #, no-wrap
1760 msgid ""
1761 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1762 "                                                     void **opaque_rtn);\n"
1763 "\n"
1764 msgstr ""
1765
1766 # type: textblock
1767 #: ../src/guestfs.pod:870
1768 msgid "Returns the current error handler callback."
1769 msgstr ""
1770
1771 # type: =head2
1772 #: ../src/guestfs.pod:872
1773 msgid "guestfs_set_out_of_memory_handler"
1774 msgstr ""
1775
1776 # type: verbatim
1777 #: ../src/guestfs.pod:874
1778 #, no-wrap
1779 msgid ""
1780 " typedef void (*guestfs_abort_cb) (void);\n"
1781 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1782 "                                        guestfs_abort_cb);\n"
1783 "\n"
1784 msgstr ""
1785
1786 # type: textblock
1787 #: ../src/guestfs.pod:878
1788 msgid ""
1789 "The callback C<cb> will be called if there is an out of memory situation.  "
1790 "I<Note this callback must not return>."
1791 msgstr ""
1792
1793 # type: textblock
1794 #: ../src/guestfs.pod:881
1795 msgid "The default is to call L<abort(3)>."
1796 msgstr ""
1797
1798 # type: textblock
1799 #: ../src/guestfs.pod:883
1800 msgid "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1801 msgstr ""
1802
1803 # type: =head2
1804 #: ../src/guestfs.pod:886
1805 msgid "guestfs_get_out_of_memory_handler"
1806 msgstr ""
1807
1808 # type: verbatim
1809 #: ../src/guestfs.pod:888
1810 #, no-wrap
1811 msgid ""
1812 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1813 "\n"
1814 msgstr ""
1815
1816 # type: textblock
1817 #: ../src/guestfs.pod:890
1818 msgid "This returns the current out of memory handler."
1819 msgstr ""
1820
1821 # type: =head1
1822 #: ../src/guestfs.pod:892
1823 msgid "PATH"
1824 msgstr ""
1825
1826 # type: textblock
1827 #: ../src/guestfs.pod:894
1828 msgid ""
1829 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1830 "internal path."
1831 msgstr ""
1832
1833 # type: textblock
1834 #: ../src/guestfs.pod:897
1835 msgid ""
1836 "By default it looks for these in the directory C<$libdir/guestfs> "
1837 "(eg. C</usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1838 msgstr ""
1839
1840 # type: textblock
1841 #: ../src/guestfs.pod:900
1842 msgid ""
1843 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1844 "to change the directories that libguestfs will search in.  The value is a "
1845 "colon-separated list of paths.  The current directory is I<not> searched "
1846 "unless the path contains an empty element or C<.>.  For example "
1847 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1848 "then C</usr/lib/guestfs>."
1849 msgstr ""
1850
1851 # type: =head1
1852 #: ../src/guestfs.pod:907
1853 msgid "HIGH-LEVEL API ACTIONS"
1854 msgstr ""
1855
1856 # type: =head2
1857 #: ../src/guestfs.pod:909
1858 msgid "ABI GUARANTEE"
1859 msgstr ""
1860
1861 # type: textblock
1862 #: ../src/guestfs.pod:911
1863 msgid ""
1864 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
1865 "actions as outlined in this section.  Although we will deprecate some "
1866 "actions, for example if they get replaced by newer calls, we will keep the "
1867 "old actions forever.  This allows you the developer to program in confidence "
1868 "against the libguestfs API."
1869 msgstr ""
1870
1871 # type: textblock
1872 #: ../src/guestfs.pod:917 ../fish/guestfish.pod:898
1873 msgid "@ACTIONS@"
1874 msgstr ""
1875
1876 # type: =head1
1877 #: ../src/guestfs.pod:919
1878 msgid "STRUCTURES"
1879 msgstr ""
1880
1881 # type: textblock
1882 #: ../src/guestfs.pod:921
1883 msgid "@STRUCTS@"
1884 msgstr ""
1885
1886 # type: =head1
1887 #: ../src/guestfs.pod:923
1888 msgid "AVAILABILITY"
1889 msgstr ""
1890
1891 # type: =head2
1892 #: ../src/guestfs.pod:925
1893 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
1894 msgstr ""
1895
1896 # type: textblock
1897 #: ../src/guestfs.pod:927
1898 msgid ""
1899 "Using L</guestfs_available> you can test availability of the following "
1900 "groups of functions.  This test queries the appliance to see if the "
1901 "appliance you are currently using supports the functionality."
1902 msgstr ""
1903
1904 # type: textblock
1905 #: ../src/guestfs.pod:932
1906 msgid "@AVAILABILITY@"
1907 msgstr ""
1908
1909 # type: =head2
1910 #: ../src/guestfs.pod:934
1911 msgid "GUESTFISH supported COMMAND"
1912 msgstr ""
1913
1914 # type: textblock
1915 #: ../src/guestfs.pod:936
1916 msgid ""
1917 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
1918 "prints out the available groups and whether they are supported by this build "
1919 "of libguestfs.  Note however that you have to do C<run> first."
1920 msgstr ""
1921
1922 # type: =head2
1923 #: ../src/guestfs.pod:941
1924 msgid "SINGLE CALLS AT COMPILE TIME"
1925 msgstr ""
1926
1927 # type: textblock
1928 #: ../src/guestfs.pod:943
1929 msgid ""
1930 "If you need to test whether a single libguestfs function is available at "
1931 "compile time, we recommend using build tools such as autoconf or cmake.  For "
1932 "example in autotools you could use:"
1933 msgstr ""
1934
1935 # type: verbatim
1936 #: ../src/guestfs.pod:948
1937 #, no-wrap
1938 msgid ""
1939 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
1940 " AC_CHECK_FUNCS([guestfs_dd])\n"
1941 "\n"
1942 msgstr ""
1943
1944 # type: textblock
1945 #: ../src/guestfs.pod:951
1946 msgid ""
1947 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
1948 "in your program."
1949 msgstr ""
1950
1951 # type: =head2
1952 #: ../src/guestfs.pod:954
1953 msgid "SINGLE CALLS AT RUN TIME"
1954 msgstr ""
1955
1956 # type: textblock
1957 #: ../src/guestfs.pod:956
1958 msgid ""
1959 "Testing at compile time doesn't guarantee that a function really exists in "
1960 "the library.  The reason is that you might be dynamically linked against a "
1961 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
1962 "This situation unfortunately results in a segmentation fault, which is a "
1963 "shortcoming of the C dynamic linking system itself."
1964 msgstr ""
1965
1966 # type: textblock
1967 #: ../src/guestfs.pod:963
1968 msgid ""
1969 "You can use L<dlopen(3)> to test if a function is available at run time, as "
1970 "in this example program (note that you still need the compile time check as "
1971 "well):"
1972 msgstr ""
1973
1974 # type: verbatim
1975 #: ../src/guestfs.pod:967
1976 #, no-wrap
1977 msgid ""
1978 " #include <config.h>\n"
1979 " \n"
1980 msgstr ""
1981
1982 # type: verbatim
1983 #: ../src/guestfs.pod:969
1984 #, no-wrap
1985 msgid ""
1986 " #include <stdio.h>\n"
1987 " #include <stdlib.h>\n"
1988 " #include <unistd.h>\n"
1989 " #include <dlfcn.h>\n"
1990 " #include <guestfs.h>\n"
1991 " \n"
1992 msgstr ""
1993
1994 # type: verbatim
1995 #: ../src/guestfs.pod:975
1996 #, no-wrap
1997 msgid ""
1998 " main ()\n"
1999 " {\n"
2000 " #ifdef HAVE_GUESTFS_DD\n"
2001 "   void *dl;\n"
2002 "   int has_function;\n"
2003 " \n"
2004 msgstr ""
2005
2006 # type: verbatim
2007 #: ../src/guestfs.pod:981
2008 #, no-wrap
2009 msgid ""
2010 "   /* Test if the function guestfs_dd is really available. */\n"
2011 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2012 "   if (!dl) {\n"
2013 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2014 "     exit (EXIT_FAILURE);\n"
2015 "   }\n"
2016 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2017 "   dlclose (dl);\n"
2018 " \n"
2019 msgstr ""
2020
2021 # type: verbatim
2022 #: ../src/guestfs.pod:990
2023 #, no-wrap
2024 msgid ""
2025 "   if (!has_function)\n"
2026 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2027 "   else {\n"
2028 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2029 "     /* Now it's safe to call\n"
2030 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2031 "     */\n"
2032 "   }\n"
2033 " #else\n"
2034 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2035 " #endif\n"
2036 "  }\n"
2037 "\n"
2038 msgstr ""
2039
2040 # type: textblock
2041 #: ../src/guestfs.pod:1003
2042 msgid ""
2043 "You may think the above is an awful lot of hassle, and it is.  There are "
2044 "other ways outside of the C linking system to ensure that this kind of "
2045 "incompatibility never arises, such as using package versioning:"
2046 msgstr ""
2047
2048 # type: verbatim
2049 #: ../src/guestfs.pod:1008
2050 #, no-wrap
2051 msgid ""
2052 " Requires: libguestfs >= 1.0.80\n"
2053 "\n"
2054 msgstr ""
2055
2056 # type: =end
2057 #: ../src/guestfs.pod:1010 ../src/guestfs.pod:1015
2058 msgid "html"
2059 msgstr ""
2060
2061 # type: textblock
2062 #: ../src/guestfs.pod:1012
2063 msgid ""
2064 "<!-- old anchor for the next section --> <a "
2065 "name=\"state_machine_and_low_level_event_api\"/>"
2066 msgstr ""
2067
2068 # type: =head1
2069 #: ../src/guestfs.pod:1017
2070 msgid "ARCHITECTURE"
2071 msgstr ""
2072
2073 # type: textblock
2074 #: ../src/guestfs.pod:1019
2075 msgid ""
2076 "Internally, libguestfs is implemented by running an appliance (a special "
2077 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2078 "process of the main program."
2079 msgstr ""
2080
2081 # type: verbatim
2082 #: ../src/guestfs.pod:1023
2083 #, no-wrap
2084 msgid ""
2085 "  ___________________\n"
2086 " /                   \\\n"
2087 " | main program      |\n"
2088 " |                   |\n"
2089 " |                   |           child process / appliance\n"
2090 " |                   |           __________________________\n"
2091 " |                   |          / qemu                     \\\n"
2092 " +-------------------+   RPC    |      +-----------------+ |\n"
2093 " | libguestfs     <--------------------> guestfsd        | |\n"
2094 " |                   |          |      +-----------------+ |\n"
2095 " \\___________________/          |      | Linux kernel    | |\n"
2096 "                                |      +--^--------------+ |\n"
2097 "                                \\_________|________________/\n"
2098 "                                          |\n"
2099 "                                   _______v______\n"
2100 "                                  /              \\\n"
2101 "                                  | Device or    |\n"
2102 "                                  | disk image   |\n"
2103 "                                  \\______________/\n"
2104 "\n"
2105 msgstr ""
2106
2107 # type: textblock
2108 #: ../src/guestfs.pod:1043
2109 msgid ""
2110 "The library, linked to the main program, creates the child process and hence "
2111 "the appliance in the L</guestfs_launch> function."
2112 msgstr ""
2113
2114 # type: textblock
2115 #: ../src/guestfs.pod:1046
2116 msgid ""
2117 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2118 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2119 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2120 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2121 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2122 "attached to the qemu process which translates device access by the "
2123 "appliance's Linux kernel into accesses to the image."
2124 msgstr ""
2125
2126 # type: textblock
2127 #: ../src/guestfs.pod:1055
2128 msgid ""
2129 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2130 "Although the disk image you are attached to might also be used by some "
2131 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2132 "care if both libguestfs's qemu process and your virtual machine are trying "
2133 "to update the disk image at the same time, since these usually results in "
2134 "massive disk corruption)."
2135 msgstr ""
2136
2137 # type: =head1
2138 #: ../src/guestfs.pod:1062
2139 msgid "STATE MACHINE"
2140 msgstr ""
2141
2142 # type: textblock
2143 #: ../src/guestfs.pod:1064
2144 msgid "libguestfs uses a state machine to model the child process:"
2145 msgstr ""
2146
2147 # type: verbatim
2148 #: ../src/guestfs.pod:1066
2149 #, no-wrap
2150 msgid ""
2151 "                         |\n"
2152 "                    guestfs_create\n"
2153 "                         |\n"
2154 "                         |\n"
2155 "                     ____V_____\n"
2156 "                    /          \\\n"
2157 "                    |  CONFIG  |\n"
2158 "                    \\__________/\n"
2159 "                     ^ ^   ^  \\\n"
2160 "                    /  |    \\  \\ guestfs_launch\n"
2161 "                   /   |    _\\__V______\n"
2162 "                  /    |   /           \\\n"
2163 "                 /     |   | LAUNCHING |\n"
2164 "                /      |   \\___________/\n"
2165 "               /       |       /\n"
2166 "              /        |  guestfs_launch\n"
2167 "             /         |     /\n"
2168 "    ______  /        __|____V\n"
2169 "   /      \\ ------> /        \\\n"
2170 "   | BUSY |         | READY  |\n"
2171 "   \\______/ <------ \\________/\n"
2172 "\n"
2173 msgstr ""
2174
2175 # type: textblock
2176 #: ../src/guestfs.pod:1088
2177 msgid ""
2178 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2179 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2180 "(3) alternating between READY and BUSY as commands are issued to, and "
2181 "carried out by, the child process."
2182 msgstr ""
2183
2184 # type: textblock
2185 #: ../src/guestfs.pod:1093
2186 msgid ""
2187 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2188 "asynchronously at any time (eg. due to some internal error), and that causes "
2189 "the state to transition back to CONFIG."
2190 msgstr ""
2191
2192 # type: textblock
2193 #: ../src/guestfs.pod:1097
2194 msgid ""
2195 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2196 "issued when in the CONFIG state."
2197 msgstr ""
2198
2199 # type: textblock
2200 #: ../src/guestfs.pod:1100
2201 msgid ""
2202 "The high-level API offers two calls that go from CONFIG through LAUNCHING to "
2203 "READY.  L</guestfs_launch> blocks until the child process is READY to accept "
2204 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2205 "moves the state from CONFIG to LAUNCHING while it is running."
2206 msgstr ""
2207
2208 # type: textblock
2209 #: ../src/guestfs.pod:1106
2210 msgid ""
2211 "High-level API actions such as L</guestfs_mount> can only be issued when in "
2212 "the READY state.  These high-level API calls block waiting for the command "
2213 "to be carried out (ie. the state to transition to BUSY and then back to "
2214 "READY).  But using the low-level event API, you get non-blocking versions.  "
2215 "(But you can still only carry out one operation per handle at a time - that "
2216 "is a limitation of the communications protocol we use)."
2217 msgstr ""
2218
2219 # type: textblock
2220 #: ../src/guestfs.pod:1114
2221 msgid ""
2222 "Finally, the child process sends asynchronous messages back to the main "
2223 "program, such as kernel log messages.  Mostly these are ignored by the "
2224 "high-level API, but using the low-level event API you can register to "
2225 "receive these messages."
2226 msgstr ""
2227
2228 # type: =head2
2229 #: ../src/guestfs.pod:1119
2230 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2231 msgstr ""
2232
2233 # type: textblock
2234 #: ../src/guestfs.pod:1121
2235 msgid ""
2236 "The child process generates events in some situations.  Current events "
2237 "include: receiving a log message, the child process exits."
2238 msgstr ""
2239
2240 # type: textblock
2241 #: ../src/guestfs.pod:1124
2242 msgid ""
2243 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2244 "types of events."
2245 msgstr ""
2246
2247 # type: textblock
2248 #: ../src/guestfs.pod:1127
2249 msgid ""
2250 "Only I<one callback of each type> can be registered for each handle.  "
2251 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2252 "that type.  Cancel all callbacks of this type by calling this function with "
2253 "C<cb> set to C<NULL>."
2254 msgstr ""
2255
2256 # type: =head2
2257 #: ../src/guestfs.pod:1132
2258 msgid "guestfs_set_log_message_callback"
2259 msgstr ""
2260
2261 # type: verbatim
2262 #: ../src/guestfs.pod:1134
2263 #, no-wrap
2264 msgid ""
2265 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2266 "                                         char *buf, int len);\n"
2267 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2268 "                                        guestfs_log_message_cb cb,\n"
2269 "                                        void *opaque);\n"
2270 "\n"
2271 msgstr ""
2272
2273 # type: textblock
2274 #: ../src/guestfs.pod:1140
2275 msgid ""
2276 "The callback function C<cb> will be called whenever qemu or the guest writes "
2277 "anything to the console."
2278 msgstr ""
2279
2280 # type: textblock
2281 #: ../src/guestfs.pod:1143
2282 msgid "Use this function to capture kernel messages and similar."
2283 msgstr ""
2284
2285 # type: textblock
2286 #: ../src/guestfs.pod:1145
2287 msgid ""
2288 "Normally there is no log message handler, and log messages are just "
2289 "discarded."
2290 msgstr ""
2291
2292 # type: =head2
2293 #: ../src/guestfs.pod:1148
2294 msgid "guestfs_set_subprocess_quit_callback"
2295 msgstr ""
2296
2297 # type: verbatim
2298 #: ../src/guestfs.pod:1150
2299 #, no-wrap
2300 msgid ""
2301 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2302 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2303 "                                            guestfs_subprocess_quit_cb cb,\n"
2304 "                                            void *opaque);\n"
2305 "\n"
2306 msgstr ""
2307
2308 # type: textblock
2309 #: ../src/guestfs.pod:1155
2310 msgid ""
2311 "The callback function C<cb> will be called when the child process quits, "
2312 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2313 "corresponds to a transition from any state to the CONFIG state)."
2314 msgstr ""
2315
2316 # type: =head2
2317 #: ../src/guestfs.pod:1160
2318 msgid "guestfs_set_launch_done_callback"
2319 msgstr ""
2320
2321 # type: verbatim
2322 #: ../src/guestfs.pod:1162
2323 #, no-wrap
2324 msgid ""
2325 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2326 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2327 "                                        guestfs_launch_done_cb cb,\n"
2328 "                                        void *opaque);\n"
2329 "\n"
2330 msgstr ""
2331
2332 # type: textblock
2333 #: ../src/guestfs.pod:1167
2334 msgid ""
2335 "The callback function C<cb> will be called when the child process becomes "
2336 "ready first time after it has been launched.  (This corresponds to a "
2337 "transition from LAUNCHING to the READY state)."
2338 msgstr ""
2339
2340 # type: =head2
2341 #: ../src/guestfs.pod:1171
2342 msgid "guestfs_set_close_callback"
2343 msgstr ""
2344
2345 # type: verbatim
2346 #: ../src/guestfs.pod:1173
2347 #, no-wrap
2348 msgid ""
2349 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2350 " void guestfs_set_close_callback (guestfs_h *g,\n"
2351 "                                  guestfs_close_cb cb,\n"
2352 "                                  void *opaque);\n"
2353 "\n"
2354 msgstr ""
2355
2356 # type: textblock
2357 #: ../src/guestfs.pod:1178
2358 msgid ""
2359 "The callback function C<cb> will be called while the handle is being closed "
2360 "(synchronously from L</guestfs_close>)."
2361 msgstr ""
2362
2363 # type: textblock
2364 #: ../src/guestfs.pod:1181
2365 msgid ""
2366 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2367 "handles that are open when the program exits.  This means that this callback "
2368 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2369 "problems in higher-level languages (eg. if your HLL interpreter has already "
2370 "been cleaned up by the time this is called, and if your callback then jumps "
2371 "into some HLL function)."
2372 msgstr ""
2373
2374 # type: =head2
2375 #: ../src/guestfs.pod:1189
2376 msgid "guestfs_set_progress_callback"
2377 msgstr ""
2378
2379 # type: verbatim
2380 #: ../src/guestfs.pod:1191
2381 #, no-wrap
2382 msgid ""
2383 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2384 "                                      int proc_nr, int serial,\n"
2385 "                                      uint64_t position, uint64_t total);\n"
2386 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2387 "                                     guestfs_progress_cb cb,\n"
2388 "                                     void *opaque);\n"
2389 "\n"
2390 msgstr ""
2391
2392 # type: textblock
2393 #: ../src/guestfs.pod:1198
2394 msgid ""
2395 "Some long-running operations can generate progress messages.  If this "
2396 "callback is registered, then it will be called each time a progress message "
2397 "is generated (usually two seconds after the operation started, and three "
2398 "times per second thereafter until it completes, although the frequency may "
2399 "change in future versions)."
2400 msgstr ""
2401
2402 # type: textblock
2403 #: ../src/guestfs.pod:1204
2404 msgid ""
2405 "The callback receives two numbers: C<position> and C<total>.  The units of "
2406 "C<total> are not defined, although for some operations C<total> may relate "
2407 "in some way to the amount of data to be transferred (eg. in bytes or "
2408 "megabytes), and C<position> may be the portion which has been transferred."
2409 msgstr ""
2410
2411 # type: textblock
2412 #: ../src/guestfs.pod:1210
2413 msgid "The only defined and stable parts of the API are:"
2414 msgstr ""
2415
2416 # type: textblock
2417 #: ../src/guestfs.pod:1216
2418 msgid ""
2419 "The callback can display to the user some type of progress bar or indicator "
2420 "which shows the ratio of C<position>:C<total>."
2421 msgstr ""
2422
2423 # type: textblock
2424 #: ../src/guestfs.pod:1221
2425 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2426 msgstr ""
2427
2428 # type: textblock
2429 #: ../src/guestfs.pod:1225
2430 msgid ""
2431 "If any progress notification is sent during a call, then a final progress "
2432 "notification is always sent when C<position> = C<total>."
2433 msgstr ""
2434
2435 # type: textblock
2436 #: ../src/guestfs.pod:1228
2437 msgid ""
2438 "This is to simplify caller code, so callers can easily set the progress "
2439 "indicator to \"100%\" at the end of the operation, without requiring special "
2440 "code to detect this case."
2441 msgstr ""
2442
2443 # type: textblock
2444 #: ../src/guestfs.pod:1234
2445 msgid ""
2446 "The callback also receives the procedure number and serial number of the "
2447 "call.  These are only useful for debugging protocol issues, and the callback "
2448 "can normally ignore them.  The callback may want to print these numbers in "
2449 "error messages or debugging messages."
2450 msgstr ""
2451
2452 # type: =head1
2453 #: ../src/guestfs.pod:1239
2454 msgid "PRIVATE DATA AREA"
2455 msgstr ""
2456
2457 # type: textblock
2458 #: ../src/guestfs.pod:1241
2459 msgid ""
2460 "You can attach named pieces of private data to the libguestfs handle, and "
2461 "fetch them by name for the lifetime of the handle.  This is called the "
2462 "private data area and is only available from the C API."
2463 msgstr ""
2464
2465 # type: textblock
2466 #: ../src/guestfs.pod:1245
2467 msgid "To attach a named piece of data, use the following call:"
2468 msgstr ""
2469
2470 # type: verbatim
2471 #: ../src/guestfs.pod:1247
2472 #, no-wrap
2473 msgid ""
2474 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2475 "\n"
2476 msgstr ""
2477
2478 # type: textblock
2479 #: ../src/guestfs.pod:1249
2480 msgid ""
2481 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2482 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2483 "overwritten."
2484 msgstr ""
2485
2486 # type: textblock
2487 #: ../src/guestfs.pod:1253
2488 msgid ""
2489 "You can use any C<key> you want, but names beginning with an underscore "
2490 "character are reserved for internal libguestfs purposes (for implementing "
2491 "language bindings).  It is recommended to prefix the name with some unique "
2492 "string to avoid collisions with other users."
2493 msgstr ""
2494
2495 # type: textblock
2496 #: ../src/guestfs.pod:1258
2497 msgid "To retrieve the pointer, use:"
2498 msgstr ""
2499
2500 # type: verbatim
2501 #: ../src/guestfs.pod:1260
2502 #, no-wrap
2503 msgid ""
2504 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2505 "\n"
2506 msgstr ""
2507
2508 # type: textblock
2509 #: ../src/guestfs.pod:1262
2510 msgid ""
2511 "This function returns C<NULL> if either no data is found associated with "
2512 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2513 "C<NULL>."
2514 msgstr ""
2515
2516 # type: textblock
2517 #: ../src/guestfs.pod:1266
2518 msgid ""
2519 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2520 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2521 "all.  In particular, libguestfs does I<not> try to free the data when the "
2522 "handle is closed.  If the data must be freed, then the caller must either "
2523 "free it before calling L</guestfs_close> or must set up a close callback to "
2524 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2525 "can be registered for a handle)."
2526 msgstr ""
2527
2528 # type: textblock
2529 #: ../src/guestfs.pod:1274
2530 msgid ""
2531 "The private data area is implemented using a hash table, and should be "
2532 "reasonably efficient for moderate numbers of keys."
2533 msgstr ""
2534
2535 # type: =head1
2536 #: ../src/guestfs.pod:1277
2537 msgid "BLOCK DEVICE NAMING"
2538 msgstr ""
2539
2540 # type: textblock
2541 #: ../src/guestfs.pod:1279
2542 msgid ""
2543 "In the kernel there is now quite a profusion of schemata for naming block "
2544 "devices (in this context, by I<block device> I mean a physical or virtual "
2545 "hard drive).  The original Linux IDE driver used names starting with "
2546 "C</dev/hd*>.  SCSI devices have historically used a different naming scheme, "
2547 "C</dev/sd*>.  When the Linux kernel I<libata> driver became a popular "
2548 "replacement for the old IDE driver (particularly for SATA devices) those "
2549 "devices also used the C</dev/sd*> scheme.  Additionally we now have virtual "
2550 "machines with paravirtualized drivers.  This has created several different "
2551 "naming systems, such as C</dev/vd*> for virtio disks and C</dev/xvd*> for "
2552 "Xen PV disks."
2553 msgstr ""
2554
2555 # type: textblock
2556 #: ../src/guestfs.pod:1291
2557 msgid ""
2558 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2559 "Linux kernel to access block devices.  We can run a variety of appliances "
2560 "based on a variety of Linux kernels."
2561 msgstr ""
2562
2563 # type: textblock
2564 #: ../src/guestfs.pod:1295
2565 msgid ""
2566 "This causes a problem for libguestfs because many API calls use device or "
2567 "partition names.  Working scripts and the recipe (example) scripts that we "
2568 "make available over the internet could fail if the naming scheme changes."
2569 msgstr ""
2570
2571 # type: textblock
2572 #: ../src/guestfs.pod:1300
2573 msgid ""
2574 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2575 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2576 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2577 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2578 msgstr ""
2579
2580 # type: textblock
2581 #: ../src/guestfs.pod:1306
2582 msgid ""
2583 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2584 "L</guestfs_list_partitions> and similar calls return the true names of the "
2585 "devices and partitions as known to the appliance."
2586 msgstr ""
2587
2588 # type: =head2
2589 #: ../src/guestfs.pod:1311
2590 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2591 msgstr ""
2592
2593 # type: textblock
2594 #: ../src/guestfs.pod:1313
2595 msgid ""
2596 "Usually this translation is transparent.  However in some (very rare)  cases "
2597 "you may need to know the exact algorithm.  Such cases include where you use "
2598 "L</guestfs_config> to add a mixture of virtio and IDE devices to the "
2599 "qemu-based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> "
2600 "devices."
2601 msgstr ""
2602
2603 # type: textblock
2604 #: ../src/guestfs.pod:1319
2605 msgid ""
2606 "The algorithm is applied only to I<parameters> which are known to be either "
2607 "device or partition names.  Return values from functions such as "
2608 "L</guestfs_list_devices> are never changed."
2609 msgstr ""
2610
2611 # type: textblock
2612 #: ../src/guestfs.pod:1327
2613 msgid "Is the string a parameter which is a device or partition name?"
2614 msgstr ""
2615
2616 # type: textblock
2617 #: ../src/guestfs.pod:1331
2618 msgid "Does the string begin with C</dev/sd>?"
2619 msgstr ""
2620
2621 # type: textblock
2622 #: ../src/guestfs.pod:1335
2623 msgid ""
2624 "Does the named device exist? If so, we use that device.  However if I<not> "
2625 "then we continue with this algorithm."
2626 msgstr ""
2627
2628 # type: textblock
2629 #: ../src/guestfs.pod:1340
2630 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2631 msgstr ""
2632
2633 # type: textblock
2634 #: ../src/guestfs.pod:1342
2635 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2636 msgstr ""
2637
2638 # type: textblock
2639 #: ../src/guestfs.pod:1344
2640 msgid "If that named device exists, use it.  If not, continue."
2641 msgstr ""
2642
2643 # type: textblock
2644 #: ../src/guestfs.pod:1348
2645 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2646 msgstr ""
2647
2648 # type: textblock
2649 #: ../src/guestfs.pod:1350
2650 msgid "If that named device exists, use it.  If not, return an error."
2651 msgstr ""
2652
2653 # type: =head2
2654 #: ../src/guestfs.pod:1354
2655 msgid "PORTABILITY CONCERNS"
2656 msgstr ""
2657
2658 # type: textblock
2659 #: ../src/guestfs.pod:1356
2660 msgid ""
2661 "Although the standard naming scheme and automatic translation is useful for "
2662 "simple programs and guestfish scripts, for larger programs it is best not to "
2663 "rely on this mechanism."
2664 msgstr ""
2665
2666 # type: textblock
2667 #: ../src/guestfs.pod:1360
2668 msgid ""
2669 "Where possible for maximum future portability programs using libguestfs "
2670 "should use these future-proof techniques:"
2671 msgstr ""
2672
2673 # type: textblock
2674 #: ../src/guestfs.pod:1367
2675 msgid ""
2676 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
2677 "device names, and then use those names directly."
2678 msgstr ""
2679
2680 # type: textblock
2681 #: ../src/guestfs.pod:1370
2682 msgid "Since those device names exist by definition, they will never be translated."
2683 msgstr ""
2684
2685 # type: textblock
2686 #: ../src/guestfs.pod:1375
2687 msgid ""
2688 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
2689 "filesystem labels."
2690 msgstr ""
2691
2692 # type: =head1
2693 #: ../src/guestfs.pod:1380
2694 msgid "INTERNALS"
2695 msgstr ""
2696
2697 # type: =head2
2698 #: ../src/guestfs.pod:1382
2699 msgid "COMMUNICATION PROTOCOL"
2700 msgstr ""
2701
2702 # type: textblock
2703 #: ../src/guestfs.pod:1384
2704 msgid ""
2705 "Don't rely on using this protocol directly.  This section documents how it "
2706 "currently works, but it may change at any time."
2707 msgstr ""
2708
2709 # type: textblock
2710 #: ../src/guestfs.pod:1387
2711 msgid ""
2712 "The protocol used to talk between the library and the daemon running inside "
2713 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
2714 "1014, RFC 1832, RFC 4506)."
2715 msgstr ""
2716
2717 # type: textblock
2718 #: ../src/guestfs.pod:1391
2719 msgid ""
2720 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
2721 "this file is automatically generated)."
2722 msgstr ""
2723
2724 # type: textblock
2725 #: ../src/guestfs.pod:1394
2726 msgid ""
2727 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
2728 "and C<FileOut> parameters, which are handled with very simple request/reply "
2729 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
2730 "parameters, which use the same request and reply messages, but they may also "
2731 "be followed by files sent using a chunked encoding."
2732 msgstr ""
2733
2734 # type: =head3
2735 #: ../src/guestfs.pod:1401
2736 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
2737 msgstr ""
2738
2739 # type: textblock
2740 #: ../src/guestfs.pod:1403
2741 msgid "For ordinary functions, the request message is:"
2742 msgstr ""
2743
2744 # type: verbatim
2745 #: ../src/guestfs.pod:1405
2746 #, no-wrap
2747 msgid ""
2748 " total length (header + arguments,\n"
2749 "      but not including the length word itself)\n"
2750 " struct guestfs_message_header (encoded as XDR)\n"
2751 " struct guestfs_<foo>_args (encoded as XDR)\n"
2752 "\n"
2753 msgstr ""
2754
2755 # type: textblock
2756 #: ../src/guestfs.pod:1410
2757 msgid ""
2758 "The total length field allows the daemon to allocate a fixed size buffer "
2759 "into which it slurps the rest of the message.  As a result, the total length "
2760 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
2761 "effective size of any request is limited to somewhere under this size."
2762 msgstr ""
2763
2764 # type: textblock
2765 #: ../src/guestfs.pod:1416
2766 msgid ""
2767 "Note also that many functions don't take any arguments, in which case the "
2768 "C<guestfs_I<foo>_args> is completely omitted."
2769 msgstr ""
2770
2771 # type: textblock
2772 #: ../src/guestfs.pod:1419
2773 msgid ""
2774 "The header contains the procedure number (C<guestfs_proc>) which is how the "
2775 "receiver knows what type of args structure to expect, or none at all."
2776 msgstr ""
2777
2778 # type: textblock
2779 #: ../src/guestfs.pod:1423
2780 msgid "The reply message for ordinary functions is:"
2781 msgstr ""
2782
2783 # type: verbatim
2784 #: ../src/guestfs.pod:1425
2785 #, no-wrap
2786 msgid ""
2787 " total length (header + ret,\n"
2788 "      but not including the length word itself)\n"
2789 " struct guestfs_message_header (encoded as XDR)\n"
2790 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2791 "\n"
2792 msgstr ""
2793
2794 # type: textblock
2795 #: ../src/guestfs.pod:1430
2796 msgid ""
2797 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
2798 "functions that return no formal return values."
2799 msgstr ""
2800
2801 # type: textblock
2802 #: ../src/guestfs.pod:1433
2803 msgid "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
2804 msgstr ""
2805
2806 # type: textblock
2807 #: ../src/guestfs.pod:1436
2808 msgid ""
2809 "In the case of an error, a flag is set in the header, and the reply message "
2810 "is slightly changed:"
2811 msgstr ""
2812
2813 # type: verbatim
2814 #: ../src/guestfs.pod:1439
2815 #, no-wrap
2816 msgid ""
2817 " total length (header + error,\n"
2818 "      but not including the length word itself)\n"
2819 " struct guestfs_message_header (encoded as XDR)\n"
2820 " struct guestfs_message_error (encoded as XDR)\n"
2821 "\n"
2822 msgstr ""
2823
2824 # type: textblock
2825 #: ../src/guestfs.pod:1444
2826 msgid ""
2827 "The C<guestfs_message_error> structure contains the error message as a "
2828 "string."
2829 msgstr ""
2830
2831 # type: =head3
2832 #: ../src/guestfs.pod:1447
2833 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
2834 msgstr ""
2835
2836 # type: textblock
2837 #: ../src/guestfs.pod:1449
2838 msgid ""
2839 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
2840 "The normal request message is sent (see above).  However this is followed by "
2841 "a sequence of file chunks."
2842 msgstr ""
2843
2844 # type: verbatim
2845 #: ../src/guestfs.pod:1453
2846 #, no-wrap
2847 msgid ""
2848 " total length (header + arguments,\n"
2849 "      but not including the length word itself,\n"
2850 "      and not including the chunks)\n"
2851 " struct guestfs_message_header (encoded as XDR)\n"
2852 " struct guestfs_<foo>_args (encoded as XDR)\n"
2853 " sequence of chunks for FileIn param #0\n"
2854 " sequence of chunks for FileIn param #1 etc.\n"
2855 "\n"
2856 msgstr ""
2857
2858 # type: textblock
2859 #: ../src/guestfs.pod:1461
2860 msgid "The \"sequence of chunks\" is:"
2861 msgstr ""
2862
2863 # type: verbatim
2864 #: ../src/guestfs.pod:1463
2865 #, no-wrap
2866 msgid ""
2867 " length of chunk (not including length word itself)\n"
2868 " struct guestfs_chunk (encoded as XDR)\n"
2869 " length of chunk\n"
2870 " struct guestfs_chunk (encoded as XDR)\n"
2871 "   ...\n"
2872 " length of chunk\n"
2873 " struct guestfs_chunk (with data.data_len == 0)\n"
2874 "\n"
2875 msgstr ""
2876
2877 # type: textblock
2878 #: ../src/guestfs.pod:1471
2879 msgid ""
2880 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
2881 "is set in the final chunk to indicate either successful completion or early "
2882 "cancellation."
2883 msgstr ""
2884
2885 # type: textblock
2886 #: ../src/guestfs.pod:1475
2887 msgid ""
2888 "At time of writing there are no functions that have more than one FileIn "
2889 "parameter.  However this is (theoretically) supported, by sending the "
2890 "sequence of chunks for each FileIn parameter one after another (from left to "
2891 "right)."
2892 msgstr ""
2893
2894 # type: textblock
2895 #: ../src/guestfs.pod:1480
2896 msgid ""
2897 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
2898 "transfer.  The library does this by sending a chunk with a special flag set "
2899 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
2900 "RPC, does I<not> send any reply, and goes back to reading the next request."
2901 msgstr ""
2902
2903 # type: textblock
2904 #: ../src/guestfs.pod:1486
2905 msgid ""
2906 "The daemon may also cancel.  It does this by writing a special word "
2907 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
2908 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
2909 "cancel chunk).  The special word is chosen so that even if cancellation "
2910 "happens right at the end of the transfer (after the library has finished "
2911 "writing and has started listening for the reply), the \"spurious\" cancel "
2912 "flag will not be confused with the reply message."
2913 msgstr ""
2914
2915 # type: textblock
2916 #: ../src/guestfs.pod:1495
2917 msgid ""
2918 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
2919 "limit), and also files where the size is not known in advance (eg. from "
2920 "pipes or sockets).  However the chunks are rather small "
2921 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
2922 "to keep much in memory."
2923 msgstr ""
2924
2925 # type: =head3
2926 #: ../src/guestfs.pod:1501
2927 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
2928 msgstr ""
2929
2930 # type: textblock
2931 #: ../src/guestfs.pod:1503
2932 msgid ""
2933 "The protocol for FileOut parameters is exactly the same as for FileIn "
2934 "parameters, but with the roles of daemon and library reversed."
2935 msgstr ""
2936
2937 # type: verbatim
2938 #: ../src/guestfs.pod:1506
2939 #, no-wrap
2940 msgid ""
2941 " total length (header + ret,\n"
2942 "      but not including the length word itself,\n"
2943 "      and not including the chunks)\n"
2944 " struct guestfs_message_header (encoded as XDR)\n"
2945 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2946 " sequence of chunks for FileOut param #0\n"
2947 " sequence of chunks for FileOut param #1 etc.\n"
2948 "\n"
2949 msgstr ""
2950
2951 # type: =head3
2952 #: ../src/guestfs.pod:1514
2953 msgid "INITIAL MESSAGE"
2954 msgstr ""
2955
2956 # type: textblock
2957 #: ../src/guestfs.pod:1516
2958 msgid ""
2959 "Because the underlying channel (QEmu -net channel) doesn't have any sort of "
2960 "connection control, when the daemon launches it sends an initial word "
2961 "(C<GUESTFS_LAUNCH_FLAG>) which indicates that the guest and daemon is "
2962 "alive.  This is what L</guestfs_launch> waits for."
2963 msgstr ""
2964
2965 # type: =head1
2966 #: ../src/guestfs.pod:1521
2967 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
2968 msgstr ""
2969
2970 # type: textblock
2971 #: ../src/guestfs.pod:1523
2972 msgid ""
2973 "All high-level libguestfs actions are synchronous.  If you want to use "
2974 "libguestfs asynchronously then you must create a thread."
2975 msgstr ""
2976
2977 # type: textblock
2978 #: ../src/guestfs.pod:1526
2979 msgid ""
2980 "Only use the handle from a single thread.  Either use the handle exclusively "
2981 "from one thread, or provide your own mutex so that two threads cannot issue "
2982 "calls on the same handle at the same time."
2983 msgstr ""
2984
2985 # type: =head1
2986 #: ../src/guestfs.pod:1530
2987 msgid "QEMU WRAPPERS"
2988 msgstr ""
2989
2990 # type: textblock
2991 #: ../src/guestfs.pod:1532
2992 msgid ""
2993 "If you want to compile your own qemu, run qemu from a non-standard location, "
2994 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
2995 "around qemu."
2996 msgstr ""
2997
2998 # type: textblock
2999 #: ../src/guestfs.pod:1536
3000 msgid ""
3001 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3002 "last command in the shell script (so that qemu replaces the shell and "
3003 "becomes the direct child of the libguestfs-using program).  If you don't do "
3004 "this, then the qemu process won't be cleaned up correctly."
3005 msgstr ""
3006
3007 # type: textblock
3008 #: ../src/guestfs.pod:1541
3009 msgid ""
3010 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3011 "source:"
3012 msgstr ""
3013
3014 # type: verbatim
3015 #: ../src/guestfs.pod:1544
3016 #, no-wrap
3017 msgid ""
3018 " #!/bin/sh -\n"
3019 " qemudir=/home/rjones/d/qemu\n"
3020 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios "
3021 "\"$@\"\n"
3022 "\n"
3023 msgstr ""
3024
3025 # type: textblock
3026 #: ../src/guestfs.pod:1548
3027 msgid ""
3028 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3029 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3030 "example:"
3031 msgstr ""
3032
3033 # type: verbatim
3034 #: ../src/guestfs.pod:1552
3035 #, no-wrap
3036 msgid ""
3037 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3038 "\n"
3039 msgstr ""
3040
3041 # type: textblock
3042 #: ../src/guestfs.pod:1554
3043 msgid ""
3044 "Note that libguestfs also calls qemu with the -help and -version options in "
3045 "order to determine features."
3046 msgstr ""
3047
3048 # type: =head1
3049 #: ../src/guestfs.pod:1557
3050 msgid "LIBGUESTFS VERSION NUMBERS"
3051 msgstr ""
3052
3053 # type: textblock
3054 #: ../src/guestfs.pod:1559
3055 msgid ""
3056 "Since April 2010, libguestfs has started to make separate development and "
3057 "stable releases, along with corresponding branches in our git repository.  "
3058 "These separate releases can be identified by version number:"
3059 msgstr ""
3060
3061 # type: verbatim
3062 #: ../src/guestfs.pod:1564
3063 #, no-wrap
3064 msgid ""
3065 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3066 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3067 "       |\n"
3068 "       v\n"
3069 " 1  .  3  .  5\n"
3070 " ^           ^\n"
3071 " |           |\n"
3072 " |           `-------- sub-version\n"
3073 " |\n"
3074 " `------ always '1' because we don't change the ABI\n"
3075 "\n"
3076 msgstr ""
3077
3078 # type: textblock
3079 #: ../src/guestfs.pod:1575
3080 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3081 msgstr ""
3082
3083 # type: textblock
3084 #: ../src/guestfs.pod:1577
3085 msgid ""
3086 "As time passes we cherry pick fixes from the development branch and backport "
3087 "those into the stable branch, the effect being that the stable branch should "
3088 "get more stable and less buggy over time.  So the stable releases are ideal "
3089 "for people who don't need new features but would just like the software to "
3090 "work."
3091 msgstr ""
3092
3093 # type: textblock
3094 #: ../src/guestfs.pod:1583
3095 msgid "Our criteria for backporting changes are:"
3096 msgstr ""
3097
3098 # type: textblock
3099 #: ../src/guestfs.pod:1589
3100 msgid ""
3101 "Documentation changes which don't affect any code are backported unless the "
3102 "documentation refers to a future feature which is not in stable."
3103 msgstr ""
3104
3105 # type: textblock
3106 #: ../src/guestfs.pod:1595
3107 msgid ""
3108 "Bug fixes which are not controversial, fix obvious problems, and have been "
3109 "well tested are backported."
3110 msgstr ""
3111
3112 # type: textblock
3113 #: ../src/guestfs.pod:1600
3114 msgid ""
3115 "Simple rearrangements of code which shouldn't affect how it works get "
3116 "backported.  This is so that the code in the two branches doesn't get too "
3117 "far out of step, allowing us to backport future fixes more easily."
3118 msgstr ""
3119
3120 # type: textblock
3121 #: ../src/guestfs.pod:1606
3122 msgid ""
3123 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3124 "exceptional case: the new feature is required in order to implement an "
3125 "important bug fix."
3126 msgstr ""
3127
3128 # type: textblock
3129 #: ../src/guestfs.pod:1612
3130 msgid ""
3131 "A new stable branch starts when we think the new features in development are "
3132 "substantial and compelling enough over the current stable branch to warrant "
3133 "it.  When that happens we create new stable and development versions 1.N.0 "
3134 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3135 "stable at this point, but by backporting fixes from development, that branch "
3136 "will stabilize over time."
3137 msgstr ""
3138
3139 # type: =head1
3140 #: ../src/guestfs.pod:1620 ../fish/guestfish.pod:905 ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312 ../tools/virt-rescue.pl:226
3141 msgid "ENVIRONMENT VARIABLES"
3142 msgstr ""
3143
3144 # type: =item
3145 #: ../src/guestfs.pod:1624 ../fish/guestfish.pod:925
3146 msgid "LIBGUESTFS_APPEND"
3147 msgstr ""
3148
3149 # type: textblock
3150 #: ../src/guestfs.pod:1626 ../fish/guestfish.pod:927
3151 msgid "Pass additional options to the guest kernel."
3152 msgstr ""
3153
3154 # type: =item
3155 #: ../src/guestfs.pod:1628 ../fish/guestfish.pod:929
3156 msgid "LIBGUESTFS_DEBUG"
3157 msgstr ""
3158
3159 # type: textblock
3160 #: ../src/guestfs.pod:1630
3161 msgid ""
3162 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3163 "effect as calling C<guestfs_set_verbose (g, 1)>."
3164 msgstr ""
3165
3166 # type: =item
3167 #: ../src/guestfs.pod:1633 ../fish/guestfish.pod:934
3168 msgid "LIBGUESTFS_MEMSIZE"
3169 msgstr ""
3170
3171 # type: textblock
3172 #: ../src/guestfs.pod:1635 ../fish/guestfish.pod:936
3173 msgid "Set the memory allocated to the qemu process, in megabytes.  For example:"
3174 msgstr ""
3175
3176 # type: verbatim
3177 #: ../src/guestfs.pod:1638 ../fish/guestfish.pod:939
3178 #, no-wrap
3179 msgid ""
3180 " LIBGUESTFS_MEMSIZE=700\n"
3181 "\n"
3182 msgstr ""
3183
3184 # type: =item
3185 #: ../src/guestfs.pod:1640 ../fish/guestfish.pod:941
3186 msgid "LIBGUESTFS_PATH"
3187 msgstr ""
3188
3189 # type: textblock
3190 #: ../src/guestfs.pod:1642
3191 msgid ""
3192 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3193 "the discussion of paths in section PATH above."
3194 msgstr ""
3195
3196 # type: =item
3197 #: ../src/guestfs.pod:1645 ../fish/guestfish.pod:946
3198 msgid "LIBGUESTFS_QEMU"
3199 msgstr ""
3200
3201 # type: textblock
3202 #: ../src/guestfs.pod:1647 ../fish/guestfish.pod:948
3203 msgid ""
3204 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3205 "which was found at compile time by the configure script is used."
3206 msgstr ""
3207
3208 # type: textblock
3209 #: ../src/guestfs.pod:1651
3210 msgid "See also L</QEMU WRAPPERS> above."
3211 msgstr ""
3212
3213 # type: =item
3214 #: ../src/guestfs.pod:1653 ../fish/guestfish.pod:952
3215 msgid "LIBGUESTFS_TRACE"
3216 msgstr ""
3217
3218 # type: textblock
3219 #: ../src/guestfs.pod:1655
3220 msgid ""
3221 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3222 "effect as calling C<guestfs_set_trace (g, 1)>."
3223 msgstr ""
3224
3225 # type: =item
3226 #: ../src/guestfs.pod:1658 ../fish/guestfish.pod:961
3227 msgid "TMPDIR"
3228 msgstr ""
3229
3230 # type: textblock
3231 #: ../src/guestfs.pod:1660 ../fish/guestfish.pod:963
3232 msgid "Location of temporary directory, defaults to C</tmp>."
3233 msgstr ""
3234
3235 # type: textblock
3236 #: ../src/guestfs.pod:1662 ../fish/guestfish.pod:965
3237 msgid ""
3238 "If libguestfs was compiled to use the supermin appliance then each handle "
3239 "will require rather a large amount of space in this directory for short "
3240 "periods of time (~ 80 MB).  You can use C<$TMPDIR> to configure another "
3241 "directory to use in case C</tmp> is not large enough."
3242 msgstr ""
3243
3244 # type: =head1
3245 #: ../src/guestfs.pod:1670 ../fish/guestfish.pod:1023 ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178 ../inspector/virt-inspector.pl:846 ../tools/virt-cat.pl:163 ../tools/virt-df.pl:482 ../tools/virt-edit.pl:325 ../tools/virt-list-filesystems.pl:191 ../tools/virt-list-partitions.pl:229 ../tools/virt-ls.pl:210 ../tools/virt-make-fs.pl:527 ../tools/virt-rescue.pl:231 ../tools/virt-resize.pl:1390 ../tools/virt-tar.pl:257 ../tools/virt-win-reg.pl:461
3246 msgid "SEE ALSO"
3247 msgstr ""
3248
3249 # type: textblock
3250 #: ../src/guestfs.pod:1672
3251 msgid ""
3252 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, "
3253 "L<virt-edit(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, "
3254 "L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, "
3255 "L<virt-rescue(1)>, L<virt-tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, "
3256 "L<febootstrap(1)>, L<hivex(3)>, L<http://libguestfs.org/>."
3257 msgstr ""
3258
3259 # type: textblock
3260 #: ../src/guestfs.pod:1690
3261 msgid ""
3262 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, "
3263 "L<lvm(8)>, L<disktype(1)>."
3264 msgstr ""
3265
3266 # type: =head1
3267 #: ../src/guestfs.pod:1697 ../tools/virt-make-fs.pl:541 ../tools/virt-win-reg.pl:476
3268 msgid "BUGS"
3269 msgstr ""
3270
3271 # type: textblock
3272 #: ../src/guestfs.pod:1699
3273 msgid "To get a list of bugs against libguestfs use this link:"
3274 msgstr ""
3275
3276 # type: textblock
3277 #: ../src/guestfs.pod:1701
3278 msgid "L<https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools>"
3279 msgstr ""
3280
3281 # type: textblock
3282 #: ../src/guestfs.pod:1703
3283 msgid "To report a new bug against libguestfs use this link:"
3284 msgstr ""
3285
3286 # type: textblock
3287 #: ../src/guestfs.pod:1705
3288 msgid "L<https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools>"
3289 msgstr ""
3290
3291 # type: textblock
3292 #: ../src/guestfs.pod:1707
3293 msgid "When reporting a bug, please check:"
3294 msgstr ""
3295
3296 # type: textblock
3297 #: ../src/guestfs.pod:1713
3298 msgid "That the bug hasn't been reported already."
3299 msgstr ""
3300
3301 # type: textblock
3302 #: ../src/guestfs.pod:1717
3303 msgid "That you are testing a recent version."
3304 msgstr ""
3305
3306 # type: textblock
3307 #: ../src/guestfs.pod:1721
3308 msgid "Describe the bug accurately, and give a way to reproduce it."
3309 msgstr ""
3310
3311 # type: textblock
3312 #: ../src/guestfs.pod:1725
3313 msgid ""
3314 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3315 "bug report."
3316 msgstr ""
3317
3318 # type: =head1
3319 #: ../src/guestfs.pod:1730 ../fish/guestfish.pod:1039 ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189 ../inspector/virt-inspector.pl:855
3320 msgid "AUTHORS"
3321 msgstr ""
3322
3323 # type: textblock
3324 #: ../src/guestfs.pod:1732 ../fish/guestfish.pod:1041 ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191
3325 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3326 msgstr ""
3327
3328 # type: =head1
3329 #: ../src/guestfs.pod:1734 ../fish/guestfish.pod:1043 ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193 ../inspector/virt-inspector.pl:861 ../tools/virt-cat.pl:177 ../tools/virt-df.pl:495 ../tools/virt-edit.pl:341 ../tools/virt-list-filesystems.pl:207 ../tools/virt-list-partitions.pl:244 ../tools/virt-ls.pl:225 ../tools/virt-make-fs.pl:556 ../tools/virt-rescue.pl:245 ../tools/virt-resize.pl:1411 ../tools/virt-tar.pl:272 ../tools/virt-win-reg.pl:491
3330 msgid "COPYRIGHT"
3331 msgstr ""
3332
3333 # type: textblock
3334 #: ../src/guestfs.pod:1736 ../fish/guestfish.pod:1045
3335 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3336 msgstr ""
3337
3338 # type: textblock
3339 #: ../src/guestfs.pod:1739
3340 msgid ""
3341 "This library is free software; you can redistribute it and/or modify it "
3342 "under the terms of the GNU Lesser General Public License as published by the "
3343 "Free Software Foundation; either version 2 of the License, or (at your "
3344 "option) any later version."
3345 msgstr ""
3346
3347 # type: textblock
3348 #: ../src/guestfs.pod:1744
3349 msgid ""
3350 "This library is distributed in the hope that it will be useful, but WITHOUT "
3351 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3352 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3353 "for more details."
3354 msgstr ""
3355
3356 # type: textblock
3357 #: ../src/guestfs.pod:1749
3358 msgid ""
3359 "You should have received a copy of the GNU Lesser General Public License "
3360 "along with this library; if not, write to the Free Software Foundation, "
3361 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3362 msgstr ""
3363
3364 # type: =head2
3365 #: ../src/guestfs-actions.pod:1
3366 msgid "guestfs_add_cdrom"
3367 msgstr ""
3368
3369 # type: verbatim
3370 #: ../src/guestfs-actions.pod:3
3371 #, no-wrap
3372 msgid ""
3373 " int guestfs_add_cdrom (guestfs_h *g,\n"
3374 "\t\tconst char *filename);\n"
3375 "\n"
3376 msgstr ""
3377
3378 # type: textblock
3379 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5
3380 msgid "This function adds a virtual CD-ROM disk image to the guest."
3381 msgstr ""
3382
3383 # type: textblock
3384 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7
3385 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3386 msgstr ""
3387
3388 # type: textblock
3389 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1488 ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1186
3390 msgid "Notes:"
3391 msgstr ""
3392
3393 # type: textblock
3394 #: ../src/guestfs-actions.pod:16
3395 msgid ""
3396 "This call checks for the existence of C<filename>.  This stops you from "
3397 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3398 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3399 "instead."
3400 msgstr ""
3401
3402 # type: textblock
3403 #: ../src/guestfs-actions.pod:23
3404 msgid ""
3405 "If you just want to add an ISO file (often you use this as an efficient way "
3406 "to transfer large files into the guest), then you should probably use "
3407 "C<guestfs_add_drive_ro> instead."
3408 msgstr ""
3409
3410 # type: textblock
3411 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:63 ../src/guestfs-actions.pod:92 ../src/guestfs-actions.pod:103 ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:124 ../src/guestfs-actions.pod:135 ../src/guestfs-actions.pod:238 ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:266 ../src/guestfs-actions.pod:302 ../src/guestfs-actions.pod:324 ../src/guestfs-actions.pod:339 ../src/guestfs-actions.pod:403 ../src/guestfs-actions.pod:430 ../src/guestfs-actions.pod:441 ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:534 ../src/guestfs-actions.pod:549 ../src/guestfs-actions.pod:560 ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:717 ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:749 ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:839 ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:866 ../src/guestfs-actions.pod:883 ../src/guestfs-actions.pod:916 ../src/guestfs-actions.pod:974 ../src/guestfs-actions.pod:996 ../src/guestfs-actions.pod:1027 ../src/guestfs-actions.pod:1115 ../src/guestfs-actions.pod:1146 ../src/guestfs-actions.pod:1346 ../src/guestfs-actions.pod:1365 ../src/guestfs-actions.pod:1446 ../src/guestfs-actions.pod:1794 ../src/guestfs-actions.pod:1917 ../src/guestfs-actions.pod:1972 ../src/guestfs-actions.pod:2002 ../src/guestfs-actions.pod:2349 ../src/guestfs-actions.pod:2361 ../src/guestfs-actions.pod:2378 ../src/guestfs-actions.pod:2443 ../src/guestfs-actions.pod:2454 ../src/guestfs-actions.pod:2464 ../src/guestfs-actions.pod:2475 ../src/guestfs-actions.pod:2487 ../src/guestfs-actions.pod:2517 ../src/guestfs-actions.pod:2581 ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2612 ../src/guestfs-actions.pod:2632 ../src/guestfs-actions.pod:2652 ../src/guestfs-actions.pod:2681 ../src/guestfs-actions.pod:2697 ../src/guestfs-actions.pod:2713 ../src/guestfs-actions.pod:2725 ../src/guestfs-actions.pod:2734 ../src/guestfs-actions.pod:2767 ../src/guestfs-actions.pod:2780 ../src/guestfs-actions.pod:2790 ../src/guestfs-actions.pod:2802 ../src/guestfs-actions.pod:2816 ../src/guestfs-actions.pod:2896 ../src/guestfs-actions.pod:2913 ../src/guestfs-actions.pod:2923 ../src/guestfs-actions.pod:2968 ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:2998 ../src/guestfs-actions.pod:3011 ../src/guestfs-actions.pod:3022 ../src/guestfs-actions.pod:3033 ../src/guestfs-actions.pod:3047 ../src/guestfs-actions.pod:3059 ../src/guestfs-actions.pod:3076 ../src/guestfs-actions.pod:3107 ../src/guestfs-actions.pod:3135 ../src/guestfs-actions.pod:3151 ../src/guestfs-actions.pod:3167 ../src/guestfs-actions.pod:3176 ../src/guestfs-actions.pod:3190 ../src/guestfs-actions.pod:3200 ../src/guestfs-actions.pod:3212 ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3256 ../src/guestfs-actions.pod:3268 ../src/guestfs-actions.pod:3285 ../src/guestfs-actions.pod:3296 ../src/guestfs-actions.pod:3310 ../src/guestfs-actions.pod:3350 ../src/guestfs-actions.pod:3381 ../src/guestfs-actions.pod:3392 ../src/guestfs-actions.pod:3417 ../src/guestfs-actions.pod:3431 ../src/guestfs-actions.pod:3446 ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:3620 ../src/guestfs-actions.pod:3639 ../src/guestfs-actions.pod:3654 ../src/guestfs-actions.pod:3665 ../src/guestfs-actions.pod:3699 ../src/guestfs-actions.pod:3713 ../src/guestfs-actions.pod:3723 ../src/guestfs-actions.pod:3734 ../src/guestfs-actions.pod:3966 ../src/guestfs-actions.pod:3982 ../src/guestfs-actions.pod:3993 ../src/guestfs-actions.pod:4002 ../src/guestfs-actions.pod:4013 ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:4033 ../src/guestfs-actions.pod:4046 ../src/guestfs-actions.pod:4064 ../src/guestfs-actions.pod:4080 ../src/guestfs-actions.pod:4096 ../src/guestfs-actions.pod:4111 ../src/guestfs-actions.pod:4131 ../src/guestfs-actions.pod:4146 ../src/guestfs-actions.pod:4162 ../src/guestfs-actions.pod:4180 ../src/guestfs-actions.pod:4196 ../src/guestfs-actions.pod:4210 ../src/guestfs-actions.pod:4235 ../src/guestfs-actions.pod:4256 ../src/guestfs-actions.pod:4272 ../src/guestfs-actions.pod:4293 ../src/guestfs-actions.pod:4305 ../src/guestfs-actions.pod:4317 ../src/guestfs-actions.pod:4333 ../src/guestfs-actions.pod:4367 ../src/guestfs-actions.pod:4387 ../src/guestfs-actions.pod:4410 ../src/guestfs-actions.pod:4500 ../src/guestfs-actions.pod:4606 ../src/guestfs-actions.pod:4615 ../src/guestfs-actions.pod:4625 ../src/guestfs-actions.pod:4635 ../src/guestfs-actions.pod:4654 ../src/guestfs-actions.pod:4664 ../src/guestfs-actions.pod:4674 ../src/guestfs-actions.pod:4684 ../src/guestfs-actions.pod:4696 ../src/guestfs-actions.pod:4746 ../src/guestfs-actions.pod:4760 ../src/guestfs-actions.pod:4773 ../src/guestfs-actions.pod:4786 ../src/guestfs-actions.pod:4800 ../src/guestfs-actions.pod:4810 ../src/guestfs-actions.pod:4827 ../src/guestfs-actions.pod:4857 ../src/guestfs-actions.pod:4868 ../src/guestfs-actions.pod:4903 ../src/guestfs-actions.pod:4913 ../src/guestfs-actions.pod:4928 ../src/guestfs-actions.pod:4956 ../src/guestfs-actions.pod:5060 ../src/guestfs-actions.pod:5075 ../src/guestfs-actions.pod:5086 ../src/guestfs-actions.pod:5132 ../src/guestfs-actions.pod:5142 ../src/guestfs-actions.pod:5179 ../src/guestfs-actions.pod:5206 ../src/guestfs-actions.pod:5248 ../src/guestfs-actions.pod:5271 ../src/guestfs-actions.pod:5328 ../src/guestfs-actions.pod:5344 ../src/guestfs-actions.pod:5370
3412 msgid "This function returns 0 on success or -1 on error."
3413 msgstr ""
3414
3415 # type: =head2
3416 #: ../src/guestfs-actions.pod:31
3417 msgid "guestfs_add_drive"
3418 msgstr ""
3419
3420 # type: verbatim
3421 #: ../src/guestfs-actions.pod:33
3422 #, no-wrap
3423 msgid ""
3424 " int guestfs_add_drive (guestfs_h *g,\n"
3425 "\t\tconst char *filename);\n"
3426 "\n"
3427 msgstr ""
3428
3429 # type: textblock
3430 #: ../src/guestfs-actions.pod:36 ../fish/guestfish-actions.pod:32
3431 msgid ""
3432 "This function adds a virtual machine disk image C<filename> to the guest.  "
3433 "The first time you call this function, the disk appears as IDE disk 0 "
3434 "(C</dev/sda>) in the guest, the second time as C</dev/sdb>, and so on."
3435 msgstr ""
3436
3437 # type: textblock
3438 #: ../src/guestfs-actions.pod:41 ../fish/guestfish-actions.pod:37
3439 msgid ""
3440 "You don't necessarily need to be root when using libguestfs.  However you "
3441 "obviously do need sufficient permissions to access the filename for whatever "
3442 "operations you want to perform (ie. read access if you just want to read the "
3443 "image or write access if you want to modify the image)."
3444 msgstr ""
3445
3446 # type: textblock
3447 #: ../src/guestfs-actions.pod:47 ../fish/guestfish-actions.pod:43
3448 msgid ""
3449 "This is equivalent to the qemu parameter C<-drive "
3450 "file=filename,cache=off,if=...>."
3451 msgstr ""
3452
3453 # type: textblock
3454 #: ../src/guestfs-actions.pod:50 ../fish/guestfish-actions.pod:46
3455 msgid ""
3456 "C<cache=off> is omitted in cases where it is not supported by the underlying "
3457 "filesystem."
3458 msgstr ""
3459
3460 # type: textblock
3461 #: ../src/guestfs-actions.pod:53 ../src/guestfs-actions.pod:82
3462 msgid ""
3463 "C<if=...> is set at compile time by the configuration option C<./configure "
3464 "--with-drive-if=...>.  In the rare case where you might need to change this "
3465 "at run time, use C<guestfs_add_drive_with_if> or "
3466 "C<guestfs_add_drive_ro_with_if>."
3467 msgstr ""
3468
3469 # type: textblock
3470 #: ../src/guestfs-actions.pod:58 ../src/guestfs-actions.pod:87
3471 msgid ""
3472 "Note that this call checks for the existence of C<filename>.  This stops you "
3473 "from specifying other types of drive which are supported by qemu such as "
3474 "C<nbd:> and C<http:> URLs.  To specify those, use the general "
3475 "C<guestfs_config> call instead."
3476 msgstr ""
3477
3478 # type: =head2
3479 #: ../src/guestfs-actions.pod:65
3480 msgid "guestfs_add_drive_ro"
3481 msgstr ""
3482
3483 # type: verbatim
3484 #: ../src/guestfs-actions.pod:67
3485 #, no-wrap
3486 msgid ""
3487 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3488 "\t\tconst char *filename);\n"
3489 "\n"
3490 msgstr ""
3491
3492 # type: textblock
3493 #: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:63
3494 msgid "This adds a drive in snapshot mode, making it effectively read-only."
3495 msgstr ""
3496
3497 # type: textblock
3498 #: ../src/guestfs-actions.pod:73 ../fish/guestfish-actions.pod:66
3499 msgid ""
3500 "Note that writes to the device are allowed, and will be seen for the "
3501 "duration of the guestfs handle, but they are written to a temporary file "
3502 "which is discarded as soon as the guestfs handle is closed.  We don't "
3503 "currently have any method to enable changes to be committed, although qemu "
3504 "can support this."
3505 msgstr ""
3506
3507 # type: textblock
3508 #: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:72
3509 msgid ""
3510 "This is equivalent to the qemu parameter C<-drive "
3511 "file=filename,snapshot=on,if=...>."
3512 msgstr ""
3513
3514 # type: =head2
3515 #: ../src/guestfs-actions.pod:94
3516 msgid "guestfs_add_drive_ro_with_if"
3517 msgstr ""
3518
3519 # type: verbatim
3520 #: ../src/guestfs-actions.pod:96
3521 #, no-wrap
3522 msgid ""
3523 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
3524 "\t\tconst char *filename,\n"
3525 "\t\tconst char *iface);\n"
3526 "\n"
3527 msgstr ""
3528
3529 # type: textblock
3530 #: ../src/guestfs-actions.pod:100
3531 msgid ""
3532 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
3533 "QEMU interface emulation to use at run time."
3534 msgstr ""
3535
3536 # type: =head2
3537 #: ../src/guestfs-actions.pod:105
3538 msgid "guestfs_add_drive_with_if"
3539 msgstr ""
3540
3541 # type: verbatim
3542 #: ../src/guestfs-actions.pod:107
3543 #, no-wrap
3544 msgid ""
3545 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
3546 "\t\tconst char *filename,\n"
3547 "\t\tconst char *iface);\n"
3548 "\n"
3549 msgstr ""
3550
3551 # type: textblock
3552 #: ../src/guestfs-actions.pod:111
3553 msgid ""
3554 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
3555 "QEMU interface emulation to use at run time."
3556 msgstr ""
3557
3558 # type: =head2
3559 #: ../src/guestfs-actions.pod:116
3560 msgid "guestfs_aug_clear"
3561 msgstr ""
3562
3563 # type: verbatim
3564 #: ../src/guestfs-actions.pod:118
3565 #, no-wrap
3566 msgid ""
3567 " int guestfs_aug_clear (guestfs_h *g,\n"
3568 "\t\tconst char *augpath);\n"
3569 "\n"
3570 msgstr ""
3571
3572 # type: textblock
3573 #: ../src/guestfs-actions.pod:121 ../fish/guestfish-actions.pod:103
3574 msgid ""
3575 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
3576 "L<augtool(1)> C<clear> command."
3577 msgstr ""
3578
3579 # type: =head2
3580 #: ../src/guestfs-actions.pod:126
3581 msgid "guestfs_aug_close"
3582 msgstr ""
3583
3584 # type: verbatim
3585 #: ../src/guestfs-actions.pod:128
3586 #, no-wrap
3587 msgid ""
3588 " int guestfs_aug_close (guestfs_h *g);\n"
3589 "\n"
3590 msgstr ""
3591
3592 # type: textblock
3593 #: ../src/guestfs-actions.pod:130
3594 msgid ""
3595 "Close the current Augeas handle and free up any resources used by it.  After "
3596 "calling this, you have to call C<guestfs_aug_init> again before you can use "
3597 "any other Augeas functions."
3598 msgstr ""
3599
3600 # type: =head2
3601 #: ../src/guestfs-actions.pod:137
3602 msgid "guestfs_aug_defnode"
3603 msgstr ""
3604
3605 # type: verbatim
3606 #: ../src/guestfs-actions.pod:139
3607 #, no-wrap
3608 msgid ""
3609 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
3610 "\t\tconst char *name,\n"
3611 "\t\tconst char *expr,\n"
3612 "\t\tconst char *val);\n"
3613 "\n"
3614 msgstr ""
3615
3616 # type: textblock
3617 #: ../src/guestfs-actions.pod:144 ../fish/guestfish-actions.pod:119
3618 msgid "Defines a variable C<name> whose value is the result of evaluating C<expr>."
3619 msgstr ""
3620
3621 # type: textblock
3622 #: ../src/guestfs-actions.pod:147
3623 msgid ""
3624 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
3625 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
3626 "containing that single node."
3627 msgstr ""
3628
3629 # type: textblock
3630 #: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:126
3631 msgid ""
3632 "On success this returns a pair containing the number of nodes in the "
3633 "nodeset, and a boolean flag if a node was created."
3634 msgstr ""
3635
3636 # type: textblock
3637 #: ../src/guestfs-actions.pod:155
3638 msgid ""
3639 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
3640 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
3641 msgstr ""
3642
3643 # type: =head2
3644 #: ../src/guestfs-actions.pod:159
3645 msgid "guestfs_aug_defvar"
3646 msgstr ""
3647
3648 # type: verbatim
3649 #: ../src/guestfs-actions.pod:161
3650 #, no-wrap
3651 msgid ""
3652 " int guestfs_aug_defvar (guestfs_h *g,\n"
3653 "\t\tconst char *name,\n"
3654 "\t\tconst char *expr);\n"
3655 "\n"
3656 msgstr ""
3657
3658 # type: textblock
3659 #: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:134
3660 msgid ""
3661 "Defines an Augeas variable C<name> whose value is the result of evaluating "
3662 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
3663 msgstr ""
3664
3665 # type: textblock
3666 #: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:138
3667 msgid ""
3668 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
3669 "evaluates to something which is not a nodeset."
3670 msgstr ""
3671
3672 # type: textblock
3673 #: ../src/guestfs-actions.pod:172 ../src/guestfs-actions.pod:313 ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:492 ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:523 ../src/guestfs-actions.pod:1013 ../src/guestfs-actions.pod:1328 ../src/guestfs-actions.pod:1510 ../src/guestfs-actions.pod:1591 ../src/guestfs-actions.pod:1622 ../src/guestfs-actions.pod:1665 ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1907 ../src/guestfs-actions.pod:2119 ../src/guestfs-actions.pod:2137 ../src/guestfs-actions.pod:3370 ../src/guestfs-actions.pod:3477 ../src/guestfs-actions.pod:3793 ../src/guestfs-actions.pod:4892 ../src/guestfs-actions.pod:5216 ../src/guestfs-actions.pod:5226 ../src/guestfs-actions.pod:5236
3674 msgid "On error this function returns -1."
3675 msgstr ""
3676
3677 # type: =head2
3678 #: ../src/guestfs-actions.pod:174
3679 msgid "guestfs_aug_get"
3680 msgstr ""
3681
3682 # type: verbatim
3683 #: ../src/guestfs-actions.pod:176
3684 #, no-wrap
3685 msgid ""
3686 " char *guestfs_aug_get (guestfs_h *g,\n"
3687 "\t\tconst char *augpath);\n"
3688 "\n"
3689 msgstr ""
3690
3691 # type: textblock
3692 #: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:145
3693 msgid ""
3694 "Look up the value associated with C<path>.  If C<path> matches exactly one "
3695 "node, the C<value> is returned."
3696 msgstr ""
3697
3698 # type: textblock
3699 #: ../src/guestfs-actions.pod:182 ../src/guestfs-actions.pod:610 ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:682 ../src/guestfs-actions.pod:695 ../src/guestfs-actions.pod:786 ../src/guestfs-actions.pod:899 ../src/guestfs-actions.pod:928 ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:958 ../src/guestfs-actions.pod:1041 ../src/guestfs-actions.pod:1205 ../src/guestfs-actions.pod:1314 ../src/guestfs-actions.pod:1459 ../src/guestfs-actions.pod:1473 ../src/guestfs-actions.pod:1549 ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1701 ../src/guestfs-actions.pod:1840 ../src/guestfs-actions.pod:2021 ../src/guestfs-actions.pod:2071 ../src/guestfs-actions.pod:2187 ../src/guestfs-actions.pod:2222 ../src/guestfs-actions.pod:2432 ../src/guestfs-actions.pod:2853 ../src/guestfs-actions.pod:2949 ../src/guestfs-actions.pod:3492 ../src/guestfs-actions.pod:3771 ../src/guestfs-actions.pod:3909 ../src/guestfs-actions.pod:3952 ../src/guestfs-actions.pod:4428 ../src/guestfs-actions.pod:4441 ../src/guestfs-actions.pod:4455 ../src/guestfs-actions.pod:4476 ../src/guestfs-actions.pod:5009 ../src/guestfs-actions.pod:5025 ../src/guestfs-actions.pod:5040 ../src/guestfs-actions.pod:5188 ../src/guestfs-actions.pod:5418
3700 msgid ""
3701 "This function returns a string, or NULL on error.  I<The caller must free "
3702 "the returned string after use>."
3703 msgstr ""
3704
3705 # type: =head2
3706 #: ../src/guestfs-actions.pod:185
3707 msgid "guestfs_aug_init"
3708 msgstr ""
3709
3710 # type: verbatim
3711 #: ../src/guestfs-actions.pod:187
3712 #, no-wrap
3713 msgid ""
3714 " int guestfs_aug_init (guestfs_h *g,\n"
3715 "\t\tconst char *root,\n"
3716 "\t\tint flags);\n"
3717 "\n"
3718 msgstr ""
3719
3720 # type: textblock
3721 #: ../src/guestfs-actions.pod:191 ../fish/guestfish-actions.pod:152
3722 msgid ""
3723 "Create a new Augeas handle for editing configuration files.  If there was "
3724 "any previous Augeas handle associated with this guestfs session, then it is "
3725 "closed."
3726 msgstr ""
3727
3728 # type: textblock
3729 #: ../src/guestfs-actions.pod:195
3730 msgid "You must call this before using any other C<guestfs_aug_*> commands."
3731 msgstr ""
3732
3733 # type: textblock
3734 #: ../src/guestfs-actions.pod:198 ../fish/guestfish-actions.pod:159
3735 msgid "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
3736 msgstr ""
3737
3738 # type: textblock
3739 #: ../src/guestfs-actions.pod:201 ../fish/guestfish-actions.pod:162
3740 msgid ""
3741 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
3742 "logical I<or> of the following integers:"
3743 msgstr ""
3744
3745 # type: =item
3746 #: ../src/guestfs-actions.pod:207 ../fish/guestfish-actions.pod:168
3747 msgid "C<AUG_SAVE_BACKUP> = 1"
3748 msgstr ""
3749
3750 # type: textblock
3751 #: ../src/guestfs-actions.pod:209 ../fish/guestfish-actions.pod:170
3752 msgid "Keep the original file with a C<.augsave> extension."
3753 msgstr ""
3754
3755 # type: =item
3756 #: ../src/guestfs-actions.pod:211 ../fish/guestfish-actions.pod:172
3757 msgid "C<AUG_SAVE_NEWFILE> = 2"
3758 msgstr ""
3759
3760 # type: textblock
3761 #: ../src/guestfs-actions.pod:213 ../fish/guestfish-actions.pod:174
3762 msgid ""
3763 "Save changes into a file with extension C<.augnew>, and do not overwrite "
3764 "original.  Overrides C<AUG_SAVE_BACKUP>."
3765 msgstr ""
3766
3767 # type: =item
3768 #: ../src/guestfs-actions.pod:216 ../fish/guestfish-actions.pod:177
3769 msgid "C<AUG_TYPE_CHECK> = 4"
3770 msgstr ""
3771
3772 # type: textblock
3773 #: ../src/guestfs-actions.pod:218 ../fish/guestfish-actions.pod:179
3774 msgid "Typecheck lenses (can be expensive)."
3775 msgstr ""
3776
3777 # type: =item
3778 #: ../src/guestfs-actions.pod:220 ../fish/guestfish-actions.pod:181
3779 msgid "C<AUG_NO_STDINC> = 8"
3780 msgstr ""
3781
3782 # type: textblock
3783 #: ../src/guestfs-actions.pod:222 ../fish/guestfish-actions.pod:183
3784 msgid "Do not use standard load path for modules."
3785 msgstr ""
3786
3787 # type: =item
3788 #: ../src/guestfs-actions.pod:224 ../fish/guestfish-actions.pod:185
3789 msgid "C<AUG_SAVE_NOOP> = 16"
3790 msgstr ""
3791
3792 # type: textblock
3793 #: ../src/guestfs-actions.pod:226 ../fish/guestfish-actions.pod:187
3794 msgid "Make save a no-op, just record what would have been changed."
3795 msgstr ""
3796
3797 # type: =item
3798 #: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:189
3799 msgid "C<AUG_NO_LOAD> = 32"
3800 msgstr ""
3801
3802 # type: textblock
3803 #: ../src/guestfs-actions.pod:230
3804 msgid "Do not load the tree in C<guestfs_aug_init>."
3805 msgstr ""
3806
3807 # type: textblock
3808 #: ../src/guestfs-actions.pod:234
3809 msgid "To close the handle, you can call C<guestfs_aug_close>."
3810 msgstr ""
3811
3812 # type: textblock
3813 #: ../src/guestfs-actions.pod:236 ../fish/guestfish-actions.pod:197
3814 msgid "To find out more about Augeas, see L<http://augeas.net/>."
3815 msgstr ""
3816
3817 # type: =head2
3818 #: ../src/guestfs-actions.pod:240
3819 msgid "guestfs_aug_insert"
3820 msgstr ""
3821
3822 # type: verbatim
3823 #: ../src/guestfs-actions.pod:242
3824 #, no-wrap
3825 msgid ""
3826 " int guestfs_aug_insert (guestfs_h *g,\n"
3827 "\t\tconst char *augpath,\n"
3828 "\t\tconst char *label,\n"
3829 "\t\tint before);\n"
3830 "\n"
3831 msgstr ""
3832
3833 # type: textblock
3834 #: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:203
3835 msgid ""
3836 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
3837 "or after C<path> (depending on the boolean flag C<before>)."
3838 msgstr ""
3839
3840 # type: textblock
3841 #: ../src/guestfs-actions.pod:251 ../fish/guestfish-actions.pod:207
3842 msgid ""
3843 "C<path> must match exactly one existing node in the tree, and C<label> must "
3844 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
3845 msgstr ""
3846
3847 # type: =head2
3848 #: ../src/guestfs-actions.pod:257
3849 msgid "guestfs_aug_load"
3850 msgstr ""
3851
3852 # type: verbatim
3853 #: ../src/guestfs-actions.pod:259
3854 #, no-wrap
3855 msgid ""
3856 " int guestfs_aug_load (guestfs_h *g);\n"
3857 "\n"
3858 msgstr ""
3859
3860 # type: textblock
3861 #: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:215
3862 msgid "Load files into the tree."
3863 msgstr ""
3864
3865 # type: textblock
3866 #: ../src/guestfs-actions.pod:263 ../fish/guestfish-actions.pod:217
3867 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
3868 msgstr ""
3869
3870 # type: =head2
3871 #: ../src/guestfs-actions.pod:268
3872 msgid "guestfs_aug_ls"
3873 msgstr ""
3874
3875 # type: verbatim
3876 #: ../src/guestfs-actions.pod:270
3877 #, no-wrap
3878 msgid ""
3879 " char **guestfs_aug_ls (guestfs_h *g,\n"
3880 "\t\tconst char *augpath);\n"
3881 "\n"
3882 msgstr ""
3883
3884 # type: textblock
3885 #: ../src/guestfs-actions.pod:273
3886 msgid ""
3887 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
3888 "sorting the resulting nodes into alphabetical order."
3889 msgstr ""
3890
3891 # type: textblock
3892 #: ../src/guestfs-actions.pod:276 ../src/guestfs-actions.pod:289 ../src/guestfs-actions.pod:417 ../src/guestfs-actions.pod:802 ../src/guestfs-actions.pod:1053 ../src/guestfs-actions.pod:1069 ../src/guestfs-actions.pod:1157 ../src/guestfs-actions.pod:1173 ../src/guestfs-actions.pod:1404 ../src/guestfs-actions.pod:1738 ../src/guestfs-actions.pod:1751 ../src/guestfs-actions.pod:1767 ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1825 ../src/guestfs-actions.pod:1887 ../src/guestfs-actions.pod:1927 ../src/guestfs-actions.pod:2093 ../src/guestfs-actions.pod:2259 ../src/guestfs-actions.pod:2402 ../src/guestfs-actions.pod:2417 ../src/guestfs-actions.pod:2501 ../src/guestfs-actions.pod:2830 ../src/guestfs-actions.pod:3337 ../src/guestfs-actions.pod:3748 ../src/guestfs-actions.pod:3834 ../src/guestfs-actions.pod:3940 ../src/guestfs-actions.pod:4489 ../src/guestfs-actions.pod:4538 ../src/guestfs-actions.pod:4590 ../src/guestfs-actions.pod:4706 ../src/guestfs-actions.pod:4727 ../src/guestfs-actions.pod:5101 ../src/guestfs-actions.pod:5118 ../src/guestfs-actions.pod:5156 ../src/guestfs-actions.pod:5292 ../src/guestfs-actions.pod:5308 ../src/guestfs-actions.pod:5381 ../src/guestfs-actions.pod:5397 ../src/guestfs-actions.pod:5437 ../src/guestfs-actions.pod:5453
3893 msgid ""
3894 "This function returns a NULL-terminated array of strings (like "
3895 "L<environ(3)>), or NULL if there was an error.  I<The caller must free the "
3896 "strings and the array after use>."
3897 msgstr ""
3898
3899 # type: =head2
3900 #: ../src/guestfs-actions.pod:280
3901 msgid "guestfs_aug_match"
3902 msgstr ""
3903
3904 # type: verbatim
3905 #: ../src/guestfs-actions.pod:282
3906 #, no-wrap
3907 msgid ""
3908 " char **guestfs_aug_match (guestfs_h *g,\n"
3909 "\t\tconst char *augpath);\n"
3910 "\n"
3911 msgstr ""
3912
3913 # type: textblock
3914 #: ../src/guestfs-actions.pod:285 ../fish/guestfish-actions.pod:231
3915 msgid ""
3916 "Returns a list of paths which match the path expression C<path>.  The "
3917 "returned paths are sufficiently qualified so that they match exactly one "
3918 "node in the current tree."
3919 msgstr ""
3920
3921 # type: =head2
3922 #: ../src/guestfs-actions.pod:293
3923 msgid "guestfs_aug_mv"
3924 msgstr ""
3925
3926 # type: verbatim
3927 #: ../src/guestfs-actions.pod:295
3928 #, no-wrap
3929 msgid ""
3930 " int guestfs_aug_mv (guestfs_h *g,\n"
3931 "\t\tconst char *src,\n"
3932 "\t\tconst char *dest);\n"
3933 "\n"
3934 msgstr ""
3935
3936 # type: textblock
3937 #: ../src/guestfs-actions.pod:299 ../fish/guestfish-actions.pod:239
3938 msgid ""
3939 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
3940 "C<dest> is overwritten if it exists."
3941 msgstr ""
3942
3943 # type: =head2
3944 #: ../src/guestfs-actions.pod:304
3945 msgid "guestfs_aug_rm"
3946 msgstr ""
3947
3948 # type: verbatim
3949 #: ../src/guestfs-actions.pod:306
3950 #, no-wrap
3951 msgid ""
3952 " int guestfs_aug_rm (guestfs_h *g,\n"
3953 "\t\tconst char *augpath);\n"
3954 "\n"
3955 msgstr ""
3956
3957 # type: textblock
3958 #: ../src/guestfs-actions.pod:309 ../fish/guestfish-actions.pod:246
3959 msgid "Remove C<path> and all of its children."
3960 msgstr ""
3961
3962 # type: textblock
3963 #: ../src/guestfs-actions.pod:311 ../fish/guestfish-actions.pod:248
3964 msgid "On success this returns the number of entries which were removed."
3965 msgstr ""
3966
3967 # type: =head2
3968 #: ../src/guestfs-actions.pod:315
3969 msgid "guestfs_aug_save"
3970 msgstr ""
3971
3972 # type: verbatim
3973 #: ../src/guestfs-actions.pod:317
3974 #, no-wrap
3975 msgid ""
3976 " int guestfs_aug_save (guestfs_h *g);\n"
3977 "\n"
3978 msgstr ""
3979
3980 # type: textblock
3981 #: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:254
3982 msgid "This writes all pending changes to disk."
3983 msgstr ""
3984
3985 # type: textblock
3986 #: ../src/guestfs-actions.pod:321
3987 msgid ""
3988 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
3989 "are saved."
3990 msgstr ""
3991
3992 # type: =head2
3993 #: ../src/guestfs-actions.pod:326
3994 msgid "guestfs_aug_set"
3995 msgstr ""
3996
3997 # type: verbatim
3998 #: ../src/guestfs-actions.pod:328
3999 #, no-wrap
4000 msgid ""
4001 " int guestfs_aug_set (guestfs_h *g,\n"
4002 "\t\tconst char *augpath,\n"
4003 "\t\tconst char *val);\n"
4004 "\n"
4005 msgstr ""
4006
4007 # type: textblock
4008 #: ../src/guestfs-actions.pod:332 ../fish/guestfish-actions.pod:263
4009 msgid "Set the value associated with C<path> to C<val>."
4010 msgstr ""
4011
4012 # type: textblock
4013 #: ../src/guestfs-actions.pod:334
4014 msgid ""
4015 "In the Augeas API, it is possible to clear a node by setting the value to "
4016 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4017 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4018 msgstr ""
4019
4020 # type: =head2
4021 #: ../src/guestfs-actions.pod:341
4022 msgid "guestfs_available"
4023 msgstr ""
4024
4025 # type: verbatim
4026 #: ../src/guestfs-actions.pod:343
4027 #, no-wrap
4028 msgid ""
4029 " int guestfs_available (guestfs_h *g,\n"
4030 "\t\tchar *const *groups);\n"
4031 "\n"
4032 msgstr ""
4033
4034 # type: textblock
4035 #: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:274
4036 msgid ""
4037 "This command is used to check the availability of some groups of "
4038 "functionality in the appliance, which not all builds of the libguestfs "
4039 "appliance will be able to provide."
4040 msgstr ""
4041
4042 # type: textblock
4043 #: ../src/guestfs-actions.pod:350
4044 msgid ""
4045 "The libguestfs groups, and the functions that those groups correspond to, "
4046 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4047 "runtime by calling C<guestfs_available_all_groups>."
4048 msgstr ""
4049
4050 # type: textblock
4051 #: ../src/guestfs-actions.pod:355 ../fish/guestfish-actions.pod:283
4052 msgid ""
4053 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", "
4054 "\"augeas\"]> would check for the availability of the Linux inotify functions "
4055 "and Augeas (configuration file editing) functions."
4056 msgstr ""
4057
4058 # type: textblock
4059 #: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:288
4060 msgid "The command returns no error if I<all> requested groups are available."
4061 msgstr ""
4062
4063 # type: textblock
4064 #: ../src/guestfs-actions.pod:362 ../fish/guestfish-actions.pod:290
4065 msgid ""
4066 "It fails with an error if one or more of the requested groups is unavailable "
4067 "in the appliance."
4068 msgstr ""
4069
4070 # type: textblock
4071 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:293
4072 msgid ""
4073 "If an unknown group name is included in the list of groups then an error is "
4074 "always returned."
4075 msgstr ""
4076
4077 # type: textblock
4078 #: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:296
4079 msgid "I<Notes:>"
4080 msgstr ""
4081
4082 # type: textblock
4083 #: ../src/guestfs-actions.pod:374
4084 msgid "You must call C<guestfs_launch> before calling this function."
4085 msgstr ""
4086
4087 # type: textblock
4088 #: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:304
4089 msgid ""
4090 "The reason is because we don't know what groups are supported by the "
4091 "appliance/daemon until it is running and can be queried."
4092 msgstr ""
4093
4094 # type: textblock
4095 #: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:310
4096 msgid ""
4097 "If a group of functions is available, this does not necessarily mean that "
4098 "they will work.  You still have to check for errors when calling individual "
4099 "API functions even if they are available."
4100 msgstr ""
4101
4102 # type: textblock
4103 #: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:317
4104 msgid ""
4105 "It is usually the job of distro packagers to build complete functionality "
4106 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4107 "with all requirements satisfied, will support everything."
4108 msgstr ""
4109
4110 # type: textblock
4111 #: ../src/guestfs-actions.pod:396
4112 msgid ""
4113 "This call was added in version C<1.0.80>.  In previous versions of "
4114 "libguestfs all you could do would be to speculatively execute a command to "
4115 "find out if the daemon implemented it.  See also C<guestfs_version>."
4116 msgstr ""
4117
4118 # type: =head2
4119 #: ../src/guestfs-actions.pod:405
4120 msgid "guestfs_available_all_groups"
4121 msgstr ""
4122
4123 # type: verbatim
4124 #: ../src/guestfs-actions.pod:407
4125 #, no-wrap
4126 msgid ""
4127 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4128 "\n"
4129 msgstr ""
4130
4131 # type: textblock
4132 #: ../src/guestfs-actions.pod:409
4133 msgid ""
4134 "This command returns a list of all optional groups that this daemon knows "
4135 "about.  Note this returns both supported and unsupported groups.  To find "
4136 "out which ones the daemon can actually support you have to call "
4137 "C<guestfs_available> on each member of the returned list."
4138 msgstr ""
4139
4140 # type: textblock
4141 #: ../src/guestfs-actions.pod:415
4142 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4143 msgstr ""
4144
4145 # type: =head2
4146 #: ../src/guestfs-actions.pod:421
4147 msgid "guestfs_base64_in"
4148 msgstr ""
4149
4150 # type: verbatim
4151 #: ../src/guestfs-actions.pod:423
4152 #, no-wrap
4153 msgid ""
4154 " int guestfs_base64_in (guestfs_h *g,\n"
4155 "\t\tconst char *base64file,\n"
4156 "\t\tconst char *filename);\n"
4157 "\n"
4158 msgstr ""
4159
4160 # type: textblock
4161 #: ../src/guestfs-actions.pod:427 ../fish/guestfish-actions.pod:347
4162 msgid "This command uploads base64-encoded data from C<base64file> to C<filename>."
4163 msgstr ""
4164
4165 # type: =head2
4166 #: ../src/guestfs-actions.pod:432
4167 msgid "guestfs_base64_out"
4168 msgstr ""
4169
4170 # type: verbatim
4171 #: ../src/guestfs-actions.pod:434
4172 #, no-wrap
4173 msgid ""
4174 " int guestfs_base64_out (guestfs_h *g,\n"
4175 "\t\tconst char *filename,\n"
4176 "\t\tconst char *base64file);\n"
4177 "\n"
4178 msgstr ""
4179
4180 # type: textblock
4181 #: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:356
4182 msgid ""
4183 "This command downloads the contents of C<filename>, writing it out to local "
4184 "file C<base64file> encoded as base64."
4185 msgstr ""
4186
4187 # type: =head2
4188 #: ../src/guestfs-actions.pod:443
4189 msgid "guestfs_blockdev_flushbufs"
4190 msgstr ""
4191
4192 # type: verbatim
4193 #: ../src/guestfs-actions.pod:445
4194 #, no-wrap
4195 msgid ""
4196 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4197 "\t\tconst char *device);\n"
4198 "\n"
4199 msgstr ""
4200
4201 # type: textblock
4202 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:365
4203 msgid "This tells the kernel to flush internal buffers associated with C<device>."
4204 msgstr ""
4205
4206 # type: textblock
4207 #: ../src/guestfs-actions.pod:451 ../src/guestfs-actions.pod:465 ../src/guestfs-actions.pod:477 ../src/guestfs-actions.pod:490 ../src/guestfs-actions.pod:505 ../src/guestfs-actions.pod:521 ../src/guestfs-actions.pod:532 ../src/guestfs-actions.pod:547 ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:569 ../fish/guestfish-actions.pod:368 ../fish/guestfish-actions.pod:379 ../fish/guestfish-actions.pod:388 ../fish/guestfish-actions.pod:398 ../fish/guestfish-actions.pod:410 ../fish/guestfish-actions.pod:423 ../fish/guestfish-actions.pod:431 ../fish/guestfish-actions.pod:442 ../fish/guestfish-actions.pod:450 ../fish/guestfish-actions.pod:458
4208 msgid "This uses the L<blockdev(8)> command."
4209 msgstr ""
4210
4211 # type: =head2
4212 #: ../src/guestfs-actions.pod:455
4213 msgid "guestfs_blockdev_getbsz"
4214 msgstr ""
4215
4216 # type: verbatim
4217 #: ../src/guestfs-actions.pod:457
4218 #, no-wrap
4219 msgid ""
4220 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4221 "\t\tconst char *device);\n"
4222 "\n"
4223 msgstr ""
4224
4225 # type: textblock
4226 #: ../src/guestfs-actions.pod:460 ../fish/guestfish-actions.pod:374
4227 msgid "This returns the block size of a device."
4228 msgstr ""
4229
4230 # type: textblock
4231 #: ../src/guestfs-actions.pod:462 ../src/guestfs-actions.pod:544 ../fish/guestfish-actions.pod:376 ../fish/guestfish-actions.pod:439
4232 msgid ""
4233 "(Note this is different from both I<size in blocks> and I<filesystem block "
4234 "size>)."
4235 msgstr ""
4236
4237 # type: =head2
4238 #: ../src/guestfs-actions.pod:469
4239 msgid "guestfs_blockdev_getro"
4240 msgstr ""
4241
4242 # type: verbatim
4243 #: ../src/guestfs-actions.pod:471
4244 #, no-wrap
4245 msgid ""
4246 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4247 "\t\tconst char *device);\n"
4248 "\n"
4249 msgstr ""
4250
4251 # type: textblock
4252 #: ../src/guestfs-actions.pod:474 ../fish/guestfish-actions.pod:385
4253 msgid ""
4254 "Returns a boolean indicating if the block device is read-only (true if "
4255 "read-only, false if not)."
4256 msgstr ""
4257
4258 # type: textblock
4259 #: ../src/guestfs-actions.pod:479 ../src/guestfs-actions.pod:1087 ../src/guestfs-actions.pod:1099 ../src/guestfs-actions.pod:1531 ../src/guestfs-actions.pod:1539 ../src/guestfs-actions.pod:1599 ../src/guestfs-actions.pod:1642 ../src/guestfs-actions.pod:1654 ../src/guestfs-actions.pod:1673 ../src/guestfs-actions.pod:1690 ../src/guestfs-actions.pod:2272 ../src/guestfs-actions.pod:2283 ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:2309 ../src/guestfs-actions.pod:2320 ../src/guestfs-actions.pod:2330 ../src/guestfs-actions.pod:2341 ../src/guestfs-actions.pod:3462
4260 msgid "This function returns a C truth value on success or -1 on error."
4261 msgstr ""
4262
4263 # type: =head2
4264 #: ../src/guestfs-actions.pod:481
4265 msgid "guestfs_blockdev_getsize64"
4266 msgstr ""
4267
4268 # type: verbatim
4269 #: ../src/guestfs-actions.pod:483
4270 #, no-wrap
4271 msgid ""
4272 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4273 "\t\tconst char *device);\n"
4274 "\n"
4275 msgstr ""
4276
4277 # type: textblock
4278 #: ../src/guestfs-actions.pod:486 ../fish/guestfish-actions.pod:394
4279 msgid "This returns the size of the device in bytes."
4280 msgstr ""
4281
4282 # type: textblock
4283 #: ../src/guestfs-actions.pod:488
4284 msgid "See also C<guestfs_blockdev_getsz>."
4285 msgstr ""
4286
4287 # type: =head2
4288 #: ../src/guestfs-actions.pod:494
4289 msgid "guestfs_blockdev_getss"
4290 msgstr ""
4291
4292 # type: verbatim
4293 #: ../src/guestfs-actions.pod:496
4294 #, no-wrap
4295 msgid ""
4296 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4297 "\t\tconst char *device);\n"
4298 "\n"
4299 msgstr ""
4300
4301 # type: textblock
4302 #: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:404
4303 msgid ""
4304 "This returns the size of sectors on a block device.  Usually 512, but can be "
4305 "larger for modern devices."
4306 msgstr ""
4307
4308 # type: textblock
4309 #: ../src/guestfs-actions.pod:502
4310 msgid ""
4311 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4312 "that)."
4313 msgstr ""
4314
4315 # type: =head2
4316 #: ../src/guestfs-actions.pod:509
4317 msgid "guestfs_blockdev_getsz"
4318 msgstr ""
4319
4320 # type: verbatim
4321 #: ../src/guestfs-actions.pod:511
4322 #, no-wrap
4323 msgid ""
4324 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4325 "\t\tconst char *device);\n"
4326 "\n"
4327 msgstr ""
4328
4329 # type: textblock
4330 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:416
4331 msgid ""
4332 "This returns the size of the device in units of 512-byte sectors (even if "
4333 "the sectorsize isn't 512 bytes ... weird)."
4334 msgstr ""
4335
4336 # type: textblock
4337 #: ../src/guestfs-actions.pod:517
4338 msgid ""
4339 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4340 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4341 msgstr ""
4342
4343 # type: =head2
4344 #: ../src/guestfs-actions.pod:525
4345 msgid "guestfs_blockdev_rereadpt"
4346 msgstr ""
4347
4348 # type: verbatim
4349 #: ../src/guestfs-actions.pod:527
4350 #, no-wrap
4351 msgid ""
4352 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4353 "\t\tconst char *device);\n"
4354 "\n"
4355 msgstr ""
4356
4357 # type: textblock
4358 #: ../src/guestfs-actions.pod:530 ../fish/guestfish-actions.pod:429
4359 msgid "Reread the partition table on C<device>."
4360 msgstr ""
4361
4362 # type: =head2
4363 #: ../src/guestfs-actions.pod:536
4364 msgid "guestfs_blockdev_setbsz"
4365 msgstr ""
4366
4367 # type: verbatim
4368 #: ../src/guestfs-actions.pod:538
4369 #, no-wrap
4370 msgid ""
4371 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4372 "\t\tconst char *device,\n"
4373 "\t\tint blocksize);\n"
4374 "\n"
4375 msgstr ""
4376
4377 # type: textblock
4378 #: ../src/guestfs-actions.pod:542 ../fish/guestfish-actions.pod:437
4379 msgid "This sets the block size of a device."
4380 msgstr ""
4381
4382 # type: =head2
4383 #: ../src/guestfs-actions.pod:551
4384 msgid "guestfs_blockdev_setro"
4385 msgstr ""
4386
4387 # type: verbatim
4388 #: ../src/guestfs-actions.pod:553
4389 #, no-wrap
4390 msgid ""
4391 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4392 "\t\tconst char *device);\n"
4393 "\n"
4394 msgstr ""
4395
4396 # type: textblock
4397 #: ../src/guestfs-actions.pod:556 ../fish/guestfish-actions.pod:448
4398 msgid "Sets the block device named C<device> to read-only."
4399 msgstr ""
4400
4401 # type: =head2
4402 #: ../src/guestfs-actions.pod:562
4403 msgid "guestfs_blockdev_setrw"
4404 msgstr ""
4405
4406 # type: verbatim
4407 #: ../src/guestfs-actions.pod:564
4408 #, no-wrap
4409 msgid ""
4410 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4411 "\t\tconst char *device);\n"
4412 "\n"
4413 msgstr ""
4414
4415 # type: textblock
4416 #: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:456
4417 msgid "Sets the block device named C<device> to read-write."
4418 msgstr ""
4419
4420 # type: =head2
4421 #: ../src/guestfs-actions.pod:573
4422 msgid "guestfs_case_sensitive_path"
4423 msgstr ""
4424
4425 # type: verbatim
4426 #: ../src/guestfs-actions.pod:575
4427 #, no-wrap
4428 msgid ""
4429 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4430 "\t\tconst char *path);\n"
4431 "\n"
4432 msgstr ""
4433
4434 # type: textblock
4435 #: ../src/guestfs-actions.pod:578 ../fish/guestfish-actions.pod:464
4436 msgid ""
4437 "This can be used to resolve case insensitive paths on a filesystem which is "
4438 "case sensitive.  The use case is to resolve paths which you have read from "
4439 "Windows configuration files or the Windows Registry, to the true path."
4440 msgstr ""
4441
4442 # type: textblock
4443 #: ../src/guestfs-actions.pod:583 ../fish/guestfish-actions.pod:469
4444 msgid ""
4445 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4446 "(and probably others), which is that although the underlying filesystem is "
4447 "case-insensitive, the driver exports the filesystem to Linux as "
4448 "case-sensitive."
4449 msgstr ""
4450
4451 # type: textblock
4452 #: ../src/guestfs-actions.pod:588 ../fish/guestfish-actions.pod:474
4453 msgid ""
4454 "One consequence of this is that special directories such as C<c:\\windows> "
4455 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4456 "precise details of how they were created.  In Windows itself this would not "
4457 "be a problem."
4458 msgstr ""
4459
4460 # type: textblock
4461 #: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:480
4462 msgid ""
4463 "Bug or feature? You decide: "
4464 "L<http://www.tuxera.com/community/ntfs-3g-faq/#posixfilenames1>"
4465 msgstr ""
4466
4467 # type: textblock
4468 #: ../src/guestfs-actions.pod:597 ../fish/guestfish-actions.pod:483
4469 msgid ""
4470 "This function resolves the true case of each element in the path and returns "
4471 "the case-sensitive path."
4472 msgstr ""
4473
4474 # type: textblock
4475 #: ../src/guestfs-actions.pod:600
4476 msgid ""
4477 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return "
4478 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4479 "how the directories were originally created under Windows)."
4480 msgstr ""
4481
4482 # type: textblock
4483 #: ../src/guestfs-actions.pod:605 ../fish/guestfish-actions.pod:491
4484 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4485 msgstr ""
4486
4487 # type: textblock
4488 #: ../src/guestfs-actions.pod:608
4489 msgid "See also C<guestfs_realpath>."
4490 msgstr ""
4491
4492 # type: =head2
4493 #: ../src/guestfs-actions.pod:613
4494 msgid "guestfs_cat"
4495 msgstr ""
4496
4497 # type: verbatim
4498 #: ../src/guestfs-actions.pod:615
4499 #, no-wrap
4500 msgid ""
4501 " char *guestfs_cat (guestfs_h *g,\n"
4502 "\t\tconst char *path);\n"
4503 "\n"
4504 msgstr ""
4505
4506 # type: textblock
4507 #: ../src/guestfs-actions.pod:618 ../src/guestfs-actions.pod:3824 ../fish/guestfish-actions.pod:500 ../fish/guestfish-actions.pod:2944
4508 msgid "Return the contents of the file named C<path>."
4509 msgstr ""
4510
4511 # type: textblock
4512 #: ../src/guestfs-actions.pod:620
4513 msgid ""
4514 "Note that this function cannot correctly handle binary files (specifically, "
4515 "files containing C<\\0> character which is treated as end of string).  For "
4516 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4517 "functions which have a more complex interface."
4518 msgstr ""
4519
4520 # type: textblock
4521 #: ../src/guestfs-actions.pod:628 ../src/guestfs-actions.pod:789 ../src/guestfs-actions.pod:806 ../src/guestfs-actions.pod:1057 ../src/guestfs-actions.pod:1073 ../src/guestfs-actions.pod:1161 ../src/guestfs-actions.pod:1177 ../src/guestfs-actions.pod:1408 ../src/guestfs-actions.pod:1755 ../src/guestfs-actions.pod:1771 ../src/guestfs-actions.pod:1808 ../src/guestfs-actions.pod:1829 ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:1869 ../src/guestfs-actions.pod:3687 ../src/guestfs-actions.pod:3795 ../src/guestfs-actions.pod:3816 ../src/guestfs-actions.pod:4542 ../src/guestfs-actions.pod:4594 ../src/guestfs-actions.pod:4710 ../src/guestfs-actions.pod:4731 ../src/guestfs-actions.pod:5250 ../src/guestfs-actions.pod:5273 ../src/guestfs-actions.pod:5296 ../src/guestfs-actions.pod:5312 ../src/guestfs-actions.pod:5385 ../src/guestfs-actions.pod:5401 ../src/guestfs-actions.pod:5441 ../src/guestfs-actions.pod:5457 ../fish/guestfish-actions.pod:507 ../fish/guestfish-actions.pod:642 ../fish/guestfish-actions.pod:654 ../fish/guestfish-actions.pod:836 ../fish/guestfish-actions.pod:846 ../fish/guestfish-actions.pod:913 ../fish/guestfish-actions.pod:923 ../fish/guestfish-actions.pod:1118 ../fish/guestfish-actions.pod:1391 ../fish/guestfish-actions.pod:1401 ../fish/guestfish-actions.pod:1429 ../fish/guestfish-actions.pod:1444 ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:1473 ../fish/guestfish-actions.pod:2846 ../fish/guestfish-actions.pod:2922 ../fish/guestfish-actions.pod:2937 ../fish/guestfish-actions.pod:3498 ../fish/guestfish-actions.pod:3544 ../fish/guestfish-actions.pod:3629 ../fish/guestfish-actions.pod:3644 ../fish/guestfish-actions.pod:4027 ../fish/guestfish-actions.pod:4045 ../fish/guestfish-actions.pod:4062 ../fish/guestfish-actions.pod:4072 ../fish/guestfish-actions.pod:4120 ../fish/guestfish-actions.pod:4130 ../fish/guestfish-actions.pod:4159 ../fish/guestfish-actions.pod:4169
4522 msgid ""
4523 "Because of the message protocol, there is a transfer limit of somewhere "
4524 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4525 msgstr ""
4526
4527 # type: =head2
4528 #: ../src/guestfs-actions.pod:631
4529 msgid "guestfs_checksum"
4530 msgstr ""
4531
4532 # type: verbatim
4533 #: ../src/guestfs-actions.pod:633
4534 #, no-wrap
4535 msgid ""
4536 " char *guestfs_checksum (guestfs_h *g,\n"
4537 "\t\tconst char *csumtype,\n"
4538 "\t\tconst char *path);\n"
4539 "\n"
4540 msgstr ""
4541
4542 # type: textblock
4543 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:514
4544 msgid "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4545 msgstr ""
4546
4547 # type: textblock
4548 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:517
4549 msgid ""
4550 "The type of checksum to compute is given by the C<csumtype> parameter which "
4551 "must have one of the following values:"
4552 msgstr ""
4553
4554 # type: =item
4555 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:522
4556 msgid "C<crc>"
4557 msgstr ""
4558
4559 # type: textblock
4560 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:524
4561 msgid ""
4562 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4563 "C<cksum> command."
4564 msgstr ""
4565
4566 # type: =item
4567 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:527
4568 msgid "C<md5>"
4569 msgstr ""
4570
4571 # type: textblock
4572 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:529
4573 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4574 msgstr ""
4575
4576 # type: =item
4577 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:531
4578 msgid "C<sha1>"
4579 msgstr ""
4580
4581 # type: textblock
4582 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:533
4583 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4584 msgstr ""
4585
4586 # type: =item
4587 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:535
4588 msgid "C<sha224>"
4589 msgstr ""
4590
4591 # type: textblock
4592 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:537
4593 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4594 msgstr ""
4595
4596 # type: =item
4597 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:539
4598 msgid "C<sha256>"
4599 msgstr ""
4600
4601 # type: textblock
4602 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:541
4603 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
4604 msgstr ""
4605
4606 # type: =item
4607 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:543
4608 msgid "C<sha384>"
4609 msgstr ""
4610
4611 # type: textblock
4612 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:545
4613 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
4614 msgstr ""
4615
4616 # type: =item
4617 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:547
4618 msgid "C<sha512>"
4619 msgstr ""
4620
4621 # type: textblock
4622 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:549
4623 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
4624 msgstr ""
4625
4626 # type: textblock
4627 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:553
4628 msgid "The checksum is returned as a printable string."
4629 msgstr ""
4630
4631 # type: textblock
4632 #: ../src/guestfs-actions.pod:678
4633 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
4634 msgstr ""
4635
4636 # type: textblock
4637 #: ../src/guestfs-actions.pod:680
4638 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
4639 msgstr ""
4640
4641 # type: =head2
4642 #: ../src/guestfs-actions.pod:685
4643 msgid "guestfs_checksum_device"
4644 msgstr ""
4645
4646 # type: verbatim
4647 #: ../src/guestfs-actions.pod:687
4648 #, no-wrap
4649 msgid ""
4650 " char *guestfs_checksum_device (guestfs_h *g,\n"
4651 "\t\tconst char *csumtype,\n"
4652 "\t\tconst char *device);\n"
4653 "\n"
4654 msgstr ""
4655
4656 # type: textblock
4657 #: ../src/guestfs-actions.pod:691
4658 msgid ""
4659 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
4660 "device named C<device>.  For the types of checksums supported see the "
4661 "C<guestfs_checksum> command."
4662 msgstr ""
4663
4664 # type: =head2
4665 #: ../src/guestfs-actions.pod:698
4666 msgid "guestfs_checksums_out"
4667 msgstr ""
4668
4669 # type: verbatim
4670 #: ../src/guestfs-actions.pod:700
4671 #, no-wrap
4672 msgid ""
4673 " int guestfs_checksums_out (guestfs_h *g,\n"
4674 "\t\tconst char *csumtype,\n"
4675 "\t\tconst char *directory,\n"
4676 "\t\tconst char *sumsfile);\n"
4677 "\n"
4678 msgstr ""
4679
4680 # type: textblock
4681 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:571
4682 msgid ""
4683 "This command computes the checksums of all regular files in C<directory> and "
4684 "then emits a list of those checksums to the local output file C<sumsfile>."
4685 msgstr ""
4686
4687 # type: textblock
4688 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:575
4689 msgid ""
4690 "This can be used for verifying the integrity of a virtual machine.  However "
4691 "to be properly secure you should pay attention to the output of the checksum "
4692 "command (it uses the ones from GNU coreutils).  In particular when the "
4693 "filename is not printable, coreutils uses a special backslash syntax.  For "
4694 "more information, see the GNU coreutils info file."
4695 msgstr ""
4696
4697 # type: =head2
4698 #: ../src/guestfs-actions.pod:719
4699 msgid "guestfs_chmod"
4700 msgstr ""
4701
4702 # type: verbatim
4703 #: ../src/guestfs-actions.pod:721
4704 #, no-wrap
4705 msgid ""
4706 " int guestfs_chmod (guestfs_h *g,\n"
4707 "\t\tint mode,\n"
4708 "\t\tconst char *path);\n"
4709 "\n"
4710 msgstr ""
4711
4712 # type: textblock
4713 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:589
4714 msgid ""
4715 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
4716 "supported."
4717 msgstr ""
4718
4719 # type: textblock
4720 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:592
4721 msgid ""
4722 "I<Note>: When using this command from guestfish, C<mode> by default would be "
4723 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
4724 "C<700>."
4725 msgstr ""
4726
4727 # type: textblock
4728 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3045 ../src/guestfs-actions.pod:3133 ../src/guestfs-actions.pod:3149 ../src/guestfs-actions.pod:3165 ../fish/guestfish-actions.pod:596 ../fish/guestfish-actions.pod:2362 ../fish/guestfish-actions.pod:2432 ../fish/guestfish-actions.pod:2442 ../fish/guestfish-actions.pod:2452
4729 msgid "The mode actually set is affected by the umask."
4730 msgstr ""
4731
4732 # type: =head2
4733 #: ../src/guestfs-actions.pod:736
4734 msgid "guestfs_chown"
4735 msgstr ""
4736
4737 # type: verbatim
4738 #: ../src/guestfs-actions.pod:738
4739 #, no-wrap
4740 msgid ""
4741 " int guestfs_chown (guestfs_h *g,\n"
4742 "\t\tint owner,\n"
4743 "\t\tint group,\n"
4744 "\t\tconst char *path);\n"
4745 "\n"
4746 msgstr ""
4747
4748 # type: textblock
4749 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:602
4750 msgid "Change the file owner to C<owner> and group to C<group>."
4751 msgstr ""
4752
4753 # type: textblock
4754 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2374 ../fish/guestfish-actions.pod:604 ../fish/guestfish-actions.pod:1890
4755 msgid ""
4756 "Only numeric uid and gid are supported.  If you want to use names, you will "
4757 "need to locate and parse the password file yourself (Augeas support makes "
4758 "this relatively easy)."
4759 msgstr ""
4760
4761 # type: =head2
4762 #: ../src/guestfs-actions.pod:751
4763 msgid "guestfs_command"
4764 msgstr ""
4765
4766 # type: verbatim
4767 #: ../src/guestfs-actions.pod:753
4768 #, no-wrap
4769 msgid ""
4770 " char *guestfs_command (guestfs_h *g,\n"
4771 "\t\tchar *const *arguments);\n"
4772 "\n"
4773 msgstr ""
4774
4775 # type: textblock
4776 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:612
4777 msgid ""
4778 "This call runs a command from the guest filesystem.  The filesystem must be "
4779 "mounted, and must contain a compatible operating system (ie. something "
4780 "Linux, with the same or compatible processor architecture)."
4781 msgstr ""
4782
4783 # type: textblock
4784 #: ../src/guestfs-actions.pod:761
4785 msgid ""
4786 "The single parameter is an argv-style list of arguments.  The first element "
4787 "is the name of the program to run.  Subsequent elements are parameters.  The "
4788 "list must be non-empty (ie. must contain a program name).  Note that the "
4789 "command runs directly, and is I<not> invoked via the shell (see "
4790 "C<guestfs_sh>)."
4791 msgstr ""
4792
4793 # type: textblock
4794 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:624
4795 msgid "The return value is anything printed to I<stdout> by the command."
4796 msgstr ""
4797
4798 # type: textblock
4799 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:627
4800 msgid ""
4801 "If the command returns a non-zero exit status, then this function returns an "
4802 "error message.  The error message string is the content of I<stderr> from "
4803 "the command."
4804 msgstr ""
4805
4806 # type: textblock
4807 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:631
4808 msgid ""
4809 "The C<$PATH> environment variable will contain at least C</usr/bin> and "
4810 "C</bin>.  If you require a program from another location, you should provide "
4811 "the full path in the first parameter."
4812 msgstr ""
4813
4814 # type: textblock
4815 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:636
4816 msgid ""
4817 "Shared libraries and data files required by the program must be available on "
4818 "filesystems which are mounted in the correct places.  It is the caller's "
4819 "responsibility to ensure all filesystems that are needed are mounted at the "
4820 "right locations."
4821 msgstr ""
4822
4823 # type: =head2
4824 #: ../src/guestfs-actions.pod:792
4825 msgid "guestfs_command_lines"
4826 msgstr ""
4827
4828 # type: verbatim
4829 #: ../src/guestfs-actions.pod:794
4830 #, no-wrap
4831 msgid ""
4832 " char **guestfs_command_lines (guestfs_h *g,\n"
4833 "\t\tchar *const *arguments);\n"
4834 "\n"
4835 msgstr ""
4836
4837 # type: textblock
4838 #: ../src/guestfs-actions.pod:797
4839 msgid ""
4840 "This is the same as C<guestfs_command>, but splits the result into a list of "
4841 "lines."
4842 msgstr ""
4843
4844 # type: textblock
4845 #: ../src/guestfs-actions.pod:800
4846 msgid "See also: C<guestfs_sh_lines>"
4847 msgstr ""
4848
4849 # type: =head2
4850 #: ../src/guestfs-actions.pod:809
4851 msgid "guestfs_config"
4852 msgstr ""
4853
4854 # type: verbatim
4855 #: ../src/guestfs-actions.pod:811
4856 #, no-wrap
4857 msgid ""
4858 " int guestfs_config (guestfs_h *g,\n"
4859 "\t\tconst char *qemuparam,\n"
4860 "\t\tconst char *qemuvalue);\n"
4861 "\n"
4862 msgstr ""
4863
4864 # type: textblock
4865 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:661
4866 msgid ""
4867 "This can be used to add arbitrary qemu command line parameters of the form "
4868 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
4869 "setting some parameters which would interfere with parameters that we use."
4870 msgstr ""
4871
4872 # type: textblock
4873 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:666
4874 msgid "The first character of C<param> string must be a C<-> (dash)."
4875 msgstr ""
4876
4877 # type: textblock
4878 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:668
4879 msgid "C<value> can be NULL."
4880 msgstr ""
4881
4882 # type: =head2
4883 #: ../src/guestfs-actions.pod:826
4884 msgid "guestfs_copy_size"
4885 msgstr ""
4886
4887 # type: verbatim
4888 #: ../src/guestfs-actions.pod:828
4889 #, no-wrap
4890 msgid ""
4891 " int guestfs_copy_size (guestfs_h *g,\n"
4892 "\t\tconst char *src,\n"
4893 "\t\tconst char *dest,\n"
4894 "\t\tint64_t size);\n"
4895 "\n"
4896 msgstr ""
4897
4898 # type: textblock
4899 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:674
4900 msgid ""
4901 "This command copies exactly C<size> bytes from one source device or file "
4902 "C<src> to another destination device or file C<dest>."
4903 msgstr ""
4904
4905 # type: textblock
4906 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:677
4907 msgid ""
4908 "Note this will fail if the source is too short or if the destination is not "
4909 "large enough."
4910 msgstr ""
4911
4912 # type: textblock
4913 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976 ../src/guestfs-actions.pod:1348 ../src/guestfs-actions.pod:1367 ../src/guestfs-actions.pod:5330 ../src/guestfs-actions.pod:5346
4914 msgid ""
4915 "This long-running command can generate progress notification messages so "
4916 "that the caller can display a progress bar or indicator.  To receive these "
4917 "messages, the caller must register a progress callback.  See "
4918 "L<guestfs(3)/guestfs_set_progress_callback>."
4919 msgstr ""
4920
4921 # type: =head2
4922 #: ../src/guestfs-actions.pod:846
4923 msgid "guestfs_cp"
4924 msgstr ""
4925
4926 # type: verbatim
4927 #: ../src/guestfs-actions.pod:848
4928 #, no-wrap
4929 msgid ""
4930 " int guestfs_cp (guestfs_h *g,\n"
4931 "\t\tconst char *src,\n"
4932 "\t\tconst char *dest);\n"
4933 "\n"
4934 msgstr ""
4935
4936 # type: textblock
4937 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:684
4938 msgid ""
4939 "This copies a file from C<src> to C<dest> where C<dest> is either a "
4940 "destination filename or destination directory."
4941 msgstr ""
4942
4943 # type: =head2
4944 #: ../src/guestfs-actions.pod:857
4945 msgid "guestfs_cp_a"
4946 msgstr ""
4947
4948 # type: verbatim
4949 #: ../src/guestfs-actions.pod:859
4950 #, no-wrap
4951 msgid ""
4952 " int guestfs_cp_a (guestfs_h *g,\n"
4953 "\t\tconst char *src,\n"
4954 "\t\tconst char *dest);\n"
4955 "\n"
4956 msgstr ""
4957
4958 # type: textblock
4959 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:691
4960 msgid ""
4961 "This copies a file or directory from C<src> to C<dest> recursively using the "
4962 "C<cp -a> command."
4963 msgstr ""
4964
4965 # type: =head2
4966 #: ../src/guestfs-actions.pod:868
4967 msgid "guestfs_dd"
4968 msgstr ""
4969
4970 # type: verbatim
4971 #: ../src/guestfs-actions.pod:870
4972 #, no-wrap
4973 msgid ""
4974 " int guestfs_dd (guestfs_h *g,\n"
4975 "\t\tconst char *src,\n"
4976 "\t\tconst char *dest);\n"
4977 "\n"
4978 msgstr ""
4979
4980 # type: textblock
4981 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:698
4982 msgid ""
4983 "This command copies from one source device or file C<src> to another "
4984 "destination device or file C<dest>.  Normally you would use this to copy to "
4985 "or from a device or partition, for example to duplicate a filesystem."
4986 msgstr ""
4987
4988 # type: textblock
4989 #: ../src/guestfs-actions.pod:879
4990 msgid ""
4991 "If the destination is a device, it must be as large or larger than the "
4992 "source file or device, otherwise the copy will fail.  This command cannot do "
4993 "partial copies (see C<guestfs_copy_size>)."
4994 msgstr ""
4995
4996 # type: =head2
4997 #: ../src/guestfs-actions.pod:885
4998 msgid "guestfs_debug"
4999 msgstr ""
5000
5001 # type: verbatim
5002 #: ../src/guestfs-actions.pod:887
5003 #, no-wrap
5004 msgid ""
5005 " char *guestfs_debug (guestfs_h *g,\n"
5006 "\t\tconst char *subcmd,\n"
5007 "\t\tchar *const *extraargs);\n"
5008 "\n"
5009 msgstr ""
5010
5011 # type: textblock
5012 #: ../src/guestfs-actions.pod:891
5013 msgid ""
5014 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5015 "guestfs daemon) that runs inside the qemu subprocess."
5016 msgstr ""
5017
5018 # type: textblock
5019 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:715
5020 msgid ""
5021 "There is no comprehensive help for this command.  You have to look at the "
5022 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5023 msgstr ""
5024
5025 # type: =head2
5026 #: ../src/guestfs-actions.pod:902
5027 msgid "guestfs_debug_upload"
5028 msgstr ""
5029
5030 # type: verbatim
5031 #: ../src/guestfs-actions.pod:904
5032 #, no-wrap
5033 msgid ""
5034 " int guestfs_debug_upload (guestfs_h *g,\n"
5035 "\t\tconst char *filename,\n"
5036 "\t\tconst char *tmpname,\n"
5037 "\t\tint mode);\n"
5038 "\n"
5039 msgstr ""
5040
5041 # type: textblock
5042 #: ../src/guestfs-actions.pod:909
5043 msgid ""
5044 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5045 "appliance."
5046 msgstr ""
5047
5048 # type: textblock
5049 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:726
5050 msgid ""
5051 "There is no comprehensive help for this command.  You have to look at the "
5052 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5053 msgstr ""
5054
5055 # type: =head2
5056 #: ../src/guestfs-actions.pod:918
5057 msgid "guestfs_df"
5058 msgstr ""
5059
5060 # type: verbatim
5061 #: ../src/guestfs-actions.pod:920
5062 #, no-wrap
5063 msgid ""
5064 " char *guestfs_df (guestfs_h *g);\n"
5065 "\n"
5066 msgstr ""
5067
5068 # type: textblock
5069 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:736
5070 msgid "This command runs the C<df> command to report disk space used."
5071 msgstr ""
5072
5073 # type: textblock
5074 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938 ../fish/guestfish-actions.pod:738 ../fish/guestfish-actions.pod:749
5075 msgid ""
5076 "This command is mostly useful for interactive sessions.  It is I<not> "
5077 "intended that you try to parse the output string.  Use C<statvfs> from "
5078 "programs."
5079 msgstr ""
5080
5081 # type: =head2
5082 #: ../src/guestfs-actions.pod:931
5083 msgid "guestfs_df_h"
5084 msgstr ""
5085
5086 # type: verbatim
5087 #: ../src/guestfs-actions.pod:933
5088 #, no-wrap
5089 msgid ""
5090 " char *guestfs_df_h (guestfs_h *g);\n"
5091 "\n"
5092 msgstr ""
5093
5094 # type: textblock
5095 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:746
5096 msgid ""
5097 "This command runs the C<df -h> command to report disk space used in "
5098 "human-readable format."
5099 msgstr ""
5100
5101 # type: =head2
5102 #: ../src/guestfs-actions.pod:945
5103 msgid "guestfs_dmesg"
5104 msgstr ""
5105
5106 # type: verbatim
5107 #: ../src/guestfs-actions.pod:947
5108 #, no-wrap
5109 msgid ""
5110 " char *guestfs_dmesg (guestfs_h *g);\n"
5111 "\n"
5112 msgstr ""
5113
5114 # type: textblock
5115 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:757
5116 msgid ""
5117 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5118 "This is sometimes useful for extended debugging of problems."
5119 msgstr ""
5120
5121 # type: textblock
5122 #: ../src/guestfs-actions.pod:953
5123 msgid ""
5124 "Another way to get the same information is to enable verbose messages with "
5125 "C<guestfs_set_verbose> or by setting the environment variable "
5126 "C<LIBGUESTFS_DEBUG=1> before running the program."
5127 msgstr ""
5128
5129 # type: =head2
5130 #: ../src/guestfs-actions.pod:961
5131 msgid "guestfs_download"
5132 msgstr ""
5133
5134 # type: verbatim
5135 #: ../src/guestfs-actions.pod:963
5136 #, no-wrap
5137 msgid ""
5138 " int guestfs_download (guestfs_h *g,\n"
5139 "\t\tconst char *remotefilename,\n"
5140 "\t\tconst char *filename);\n"
5141 "\n"
5142 msgstr ""
5143
5144 # type: textblock
5145 #: ../src/guestfs-actions.pod:967 ../fish/guestfish-actions.pod:770
5146 msgid ""
5147 "Download file C<remotefilename> and save it as C<filename> on the local "
5148 "machine."
5149 msgstr ""
5150
5151 # type: textblock
5152 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:4924 ../fish/guestfish-actions.pod:773 ../fish/guestfish-actions.pod:3798
5153 msgid "C<filename> can also be a named pipe."
5154 msgstr ""
5155
5156 # type: textblock
5157 #: ../src/guestfs-actions.pod:972
5158 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5159 msgstr ""
5160
5161 # type: =head2
5162 #: ../src/guestfs-actions.pod:981
5163 msgid "guestfs_drop_caches"
5164 msgstr ""
5165
5166 # type: verbatim
5167 #: ../src/guestfs-actions.pod:983
5168 #, no-wrap
5169 msgid ""
5170 " int guestfs_drop_caches (guestfs_h *g,\n"
5171 "\t\tint whattodrop);\n"
5172 "\n"
5173 msgstr ""
5174
5175 # type: textblock
5176 #: ../src/guestfs-actions.pod:986 ../fish/guestfish-actions.pod:783
5177 msgid ""
5178 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5179 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5180 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5181 msgstr ""
5182
5183 # type: textblock
5184 #: ../src/guestfs-actions.pod:991 ../fish/guestfish-actions.pod:788
5185 msgid "Setting C<whattodrop> to 3 should drop everything."
5186 msgstr ""
5187
5188 # type: textblock
5189 #: ../src/guestfs-actions.pod:993 ../fish/guestfish-actions.pod:790
5190 msgid ""
5191 "This automatically calls L<sync(2)> before the operation, so that the "
5192 "maximum guest memory is freed."
5193 msgstr ""
5194
5195 # type: =head2
5196 #: ../src/guestfs-actions.pod:998
5197 msgid "guestfs_du"
5198 msgstr ""
5199
5200 # type: verbatim
5201 #: ../src/guestfs-actions.pod:1000
5202 #, no-wrap
5203 msgid ""
5204 " int64_t guestfs_du (guestfs_h *g,\n"
5205 "\t\tconst char *path);\n"
5206 "\n"
5207 msgstr ""
5208
5209 # type: textblock
5210 #: ../src/guestfs-actions.pod:1003 ../fish/guestfish-actions.pod:797
5211 msgid ""
5212 "This command runs the C<du -s> command to estimate file space usage for "
5213 "C<path>."
5214 msgstr ""
5215
5216 # type: textblock
5217 #: ../src/guestfs-actions.pod:1006 ../fish/guestfish-actions.pod:800
5218 msgid ""
5219 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5220 "estimate includes the contents of the directory and all subdirectories "
5221 "(recursively)."
5222 msgstr ""
5223
5224 # type: textblock
5225 #: ../src/guestfs-actions.pod:1010 ../fish/guestfish-actions.pod:804
5226 msgid "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5227 msgstr ""
5228
5229 # type: =head2
5230 #: ../src/guestfs-actions.pod:1015
5231 msgid "guestfs_e2fsck_f"
5232 msgstr ""
5233
5234 # type: verbatim
5235 #: ../src/guestfs-actions.pod:1017
5236 #, no-wrap
5237 msgid ""
5238 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5239 "\t\tconst char *device);\n"
5240 "\n"
5241 msgstr ""
5242
5243 # type: textblock
5244 #: ../src/guestfs-actions.pod:1020 ../fish/guestfish-actions.pod:811
5245 msgid ""
5246 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5247 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5248 "clean (C<-f>)."
5249 msgstr ""
5250
5251 # type: textblock
5252 #: ../src/guestfs-actions.pod:1024
5253 msgid ""
5254 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5255 "Normally you should use C<guestfs_fsck>."
5256 msgstr ""
5257
5258 # type: =head2
5259 #: ../src/guestfs-actions.pod:1029
5260 msgid "guestfs_echo_daemon"
5261 msgstr ""
5262
5263 # type: verbatim
5264 #: ../src/guestfs-actions.pod:1031
5265 #, no-wrap
5266 msgid ""
5267 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5268 "\t\tchar *const *words);\n"
5269 "\n"
5270 msgstr ""
5271
5272 # type: textblock
5273 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:822
5274 msgid ""
5275 "This command concatenates the list of C<words> passed with single spaces "
5276 "between them and returns the resulting string."
5277 msgstr ""
5278
5279 # type: textblock
5280 #: ../src/guestfs-actions.pod:1037 ../fish/guestfish-actions.pod:825
5281 msgid "You can use this command to test the connection through to the daemon."
5282 msgstr ""
5283
5284 # type: textblock
5285 #: ../src/guestfs-actions.pod:1039
5286 msgid "See also C<guestfs_ping_daemon>."
5287 msgstr ""
5288
5289 # type: =head2
5290 #: ../src/guestfs-actions.pod:1044
5291 msgid "guestfs_egrep"
5292 msgstr ""
5293
5294 # type: verbatim
5295 #: ../src/guestfs-actions.pod:1046
5296 #, no-wrap
5297 msgid ""
5298 " char **guestfs_egrep (guestfs_h *g,\n"
5299 "\t\tconst char *regex,\n"
5300 "\t\tconst char *path);\n"
5301 "\n"
5302 msgstr ""
5303
5304 # type: textblock
5305 #: ../src/guestfs-actions.pod:1050 ../fish/guestfish-actions.pod:833
5306 msgid "This calls the external C<egrep> program and returns the matching lines."
5307 msgstr ""
5308
5309 # type: =head2
5310 #: ../src/guestfs-actions.pod:1060
5311 msgid "guestfs_egrepi"
5312 msgstr ""
5313
5314 # type: verbatim
5315 #: ../src/guestfs-actions.pod:1062
5316 #, no-wrap
5317 msgid ""
5318 " char **guestfs_egrepi (guestfs_h *g,\n"
5319 "\t\tconst char *regex,\n"
5320 "\t\tconst char *path);\n"
5321 "\n"
5322 msgstr ""
5323
5324 # type: textblock
5325 #: ../src/guestfs-actions.pod:1066 ../fish/guestfish-actions.pod:843
5326 msgid "This calls the external C<egrep -i> program and returns the matching lines."
5327 msgstr ""
5328
5329 # type: =head2
5330 #: ../src/guestfs-actions.pod:1076
5331 msgid "guestfs_equal"
5332 msgstr ""
5333
5334 # type: verbatim
5335 #: ../src/guestfs-actions.pod:1078
5336 #, no-wrap
5337 msgid ""
5338 " int guestfs_equal (guestfs_h *g,\n"
5339 "\t\tconst char *file1,\n"
5340 "\t\tconst char *file2);\n"
5341 "\n"
5342 msgstr ""
5343
5344 # type: textblock
5345 #: ../src/guestfs-actions.pod:1082 ../fish/guestfish-actions.pod:853
5346 msgid ""
5347 "This compares the two files C<file1> and C<file2> and returns true if their "
5348 "content is exactly equal, or false otherwise."
5349 msgstr ""
5350
5351 # type: textblock
5352 #: ../src/guestfs-actions.pod:1085 ../fish/guestfish-actions.pod:856
5353 msgid "The external L<cmp(1)> program is used for the comparison."
5354 msgstr ""
5355
5356 # type: =head2
5357 #: ../src/guestfs-actions.pod:1089
5358 msgid "guestfs_exists"
5359 msgstr ""
5360
5361 # type: verbatim
5362 #: ../src/guestfs-actions.pod:1091
5363 #, no-wrap
5364 msgid ""
5365 " int guestfs_exists (guestfs_h *g,\n"
5366 "\t\tconst char *path);\n"
5367 "\n"
5368 msgstr ""
5369
5370 # type: textblock
5371 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:862
5372 msgid ""
5373 "This returns C<true> if and only if there is a file, directory (or anything) "
5374 "with the given C<path> name."
5375 msgstr ""
5376
5377 # type: textblock
5378 #: ../src/guestfs-actions.pod:1097
5379 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5380 msgstr ""
5381
5382 # type: =head2
5383 #: ../src/guestfs-actions.pod:1101
5384 msgid "guestfs_fallocate"
5385 msgstr ""
5386
5387 # type: verbatim
5388 #: ../src/guestfs-actions.pod:1103
5389 #, no-wrap
5390 msgid ""
5391 " int guestfs_fallocate (guestfs_h *g,\n"
5392 "\t\tconst char *path,\n"
5393 "\t\tint len);\n"
5394 "\n"
5395 msgstr ""
5396
5397 # type: textblock
5398 #: ../src/guestfs-actions.pod:1107 ../src/guestfs-actions.pod:1130 ../fish/guestfish-actions.pod:871 ../fish/guestfish-actions.pod:890
5399 msgid ""
5400 "This command preallocates a file (containing zero bytes) named C<path> of "
5401 "size C<len> bytes.  If the file exists already, it is overwritten."
5402 msgstr ""
5403
5404 # type: textblock
5405 #: ../src/guestfs-actions.pod:1111 ../fish/guestfish-actions.pod:875
5406 msgid ""
5407 "Do not confuse this with the guestfish-specific C<alloc> command which "
5408 "allocates a file in the host and attaches it as a device."
5409 msgstr ""
5410
5411 # type: textblock
5412 #: ../src/guestfs-actions.pod:1117 ../fish/guestfish-actions.pod:879
5413 msgid ""
5414 "This function is deprecated.  In new code, use the C<fallocate64> call "
5415 "instead."
5416 msgstr ""
5417
5418 # type: textblock
5419 #: ../src/guestfs-actions.pod:1120 ../src/guestfs-actions.pod:1555 ../src/guestfs-actions.pod:1573 ../src/guestfs-actions.pod:5279 ../src/guestfs-actions.pod:5424 ../fish/guestfish-actions.pod:882 ../fish/guestfish-actions.pod:1239 ../fish/guestfish-actions.pod:1253 ../fish/guestfish-actions.pod:4051 ../fish/guestfish-actions.pod:4148
5420 msgid ""
5421 "Deprecated functions will not be removed from the API, but the fact that "
5422 "they are deprecated indicates that there are problems with correct use of "
5423 "these functions."
5424 msgstr ""
5425
5426 # type: =head2
5427 #: ../src/guestfs-actions.pod:1124
5428 msgid "guestfs_fallocate64"
5429 msgstr ""
5430
5431 # type: verbatim
5432 #: ../src/guestfs-actions.pod:1126
5433 #, no-wrap
5434 msgid ""
5435 " int guestfs_fallocate64 (guestfs_h *g,\n"
5436 "\t\tconst char *path,\n"
5437 "\t\tint64_t len);\n"
5438 "\n"
5439 msgstr ""
5440
5441 # type: textblock
5442 #: ../src/guestfs-actions.pod:1134
5443 msgid ""
5444 "Note that this call allocates disk blocks for the file.  To create a sparse "
5445 "file use C<guestfs_truncate_size> instead."
5446 msgstr ""
5447
5448 # type: textblock
5449 #: ../src/guestfs-actions.pod:1137
5450 msgid ""
5451 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5452 "oversight it only allowed 30 bit lengths to be specified, effectively "
5453 "limiting the maximum size of files created through that call to 1GB."
5454 msgstr ""
5455
5456 # type: textblock
5457 #: ../src/guestfs-actions.pod:1142 ../fish/guestfish-actions.pod:902
5458 msgid ""
5459 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5460 "commands which create a file in the host and attach it as a device."
5461 msgstr ""
5462
5463 # type: =head2
5464 #: ../src/guestfs-actions.pod:1148
5465 msgid "guestfs_fgrep"
5466 msgstr ""
5467
5468 # type: verbatim
5469 #: ../src/guestfs-actions.pod:1150
5470 #, no-wrap
5471 msgid ""
5472 " char **guestfs_fgrep (guestfs_h *g,\n"
5473 "\t\tconst char *pattern,\n"
5474 "\t\tconst char *path);\n"
5475 "\n"
5476 msgstr ""
5477
5478 # type: textblock
5479 #: ../src/guestfs-actions.pod:1154 ../fish/guestfish-actions.pod:910
5480 msgid "This calls the external C<fgrep> program and returns the matching lines."
5481 msgstr ""
5482
5483 # type: =head2
5484 #: ../src/guestfs-actions.pod:1164
5485 msgid "guestfs_fgrepi"
5486 msgstr ""
5487
5488 # type: verbatim
5489 #: ../src/guestfs-actions.pod:1166
5490 #, no-wrap
5491 msgid ""
5492 " char **guestfs_fgrepi (guestfs_h *g,\n"
5493 "\t\tconst char *pattern,\n"
5494 "\t\tconst char *path);\n"
5495 "\n"
5496 msgstr ""
5497
5498 # type: textblock
5499 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:920
5500 msgid "This calls the external C<fgrep -i> program and returns the matching lines."
5501 msgstr ""
5502
5503 # type: =head2
5504 #: ../src/guestfs-actions.pod:1180
5505 msgid "guestfs_file"
5506 msgstr ""
5507
5508 # type: verbatim
5509 #: ../src/guestfs-actions.pod:1182
5510 #, no-wrap
5511 msgid ""
5512 " char *guestfs_file (guestfs_h *g,\n"
5513 "\t\tconst char *path);\n"
5514 "\n"
5515 msgstr ""
5516
5517 # type: textblock
5518 #: ../src/guestfs-actions.pod:1185 ../fish/guestfish-actions.pod:930
5519 msgid ""
5520 "This call uses the standard L<file(1)> command to determine the type or "
5521 "contents of the file."
5522 msgstr ""
5523
5524 # type: textblock
5525 #: ../src/guestfs-actions.pod:1188 ../fish/guestfish-actions.pod:933
5526 msgid ""
5527 "This call will also transparently look inside various types of compressed "
5528 "file."
5529 msgstr ""
5530
5531 # type: textblock
5532 #: ../src/guestfs-actions.pod:1191 ../fish/guestfish-actions.pod:936
5533 msgid ""
5534 "The exact command which runs is C<file -zb path>.  Note in particular that "
5535 "the filename is not prepended to the output (the C<-b> option)."
5536 msgstr ""
5537
5538 # type: textblock
5539 #: ../src/guestfs-actions.pod:1195
5540 msgid ""
5541 "This command can also be used on C</dev/> devices (and partitions, LV "
5542 "names).  You can for example use this to determine if a device contains a "
5543 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
5544 msgstr ""
5545
5546 # type: textblock
5547 #: ../src/guestfs-actions.pod:1200 ../fish/guestfish-actions.pod:945
5548 msgid ""
5549 "If the C<path> does not begin with C</dev/> then this command only works for "
5550 "the content of regular files.  For other file types (directory, symbolic "
5551 "link etc) it will just return the string C<directory> etc."
5552 msgstr ""
5553
5554 # type: =head2
5555 #: ../src/guestfs-actions.pod:1208
5556 msgid "guestfs_file_architecture"
5557 msgstr ""
5558
5559 # type: verbatim
5560 #: ../src/guestfs-actions.pod:1210
5561 #, no-wrap
5562 msgid ""
5563 " char *guestfs_file_architecture (guestfs_h *g,\n"
5564 "\t\tconst char *filename);\n"
5565 "\n"
5566 msgstr ""
5567
5568 # type: textblock
5569 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:954
5570 msgid ""
5571 "This detects the architecture of the binary C<filename>, and returns it if "
5572 "known."
5573 msgstr ""
5574
5575 # type: textblock
5576 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:957
5577 msgid "Currently defined architectures are:"
5578 msgstr ""
5579
5580 # type: =item
5581 #: ../src/guestfs-actions.pod:1220 ../fish/guestfish-actions.pod:961
5582 msgid "\"i386\""
5583 msgstr ""
5584
5585 # type: textblock
5586 #: ../src/guestfs-actions.pod:1222 ../fish/guestfish-actions.pod:963
5587 msgid ""
5588 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
5589 "irrespective of the precise processor requirements of the binary."
5590 msgstr ""
5591
5592 # type: =item
5593 #: ../src/guestfs-actions.pod:1225 ../fish/guestfish-actions.pod:966
5594 msgid "\"x86_64\""
5595 msgstr ""
5596
5597 # type: textblock
5598 #: ../src/guestfs-actions.pod:1227 ../fish/guestfish-actions.pod:968
5599 msgid "64 bit x86-64."
5600 msgstr ""
5601
5602 # type: =item
5603 #: ../src/guestfs-actions.pod:1229 ../fish/guestfish-actions.pod:970
5604 msgid "\"sparc\""
5605 msgstr ""
5606
5607 # type: textblock
5608 #: ../src/guestfs-actions.pod:1231 ../fish/guestfish-actions.pod:972
5609 msgid "32 bit SPARC."
5610 msgstr ""
5611
5612 # type: =item
5613 #: ../src/guestfs-actions.pod:1233 ../fish/guestfish-actions.pod:974
5614 msgid "\"sparc64\""
5615 msgstr ""
5616
5617 # type: textblock
5618 #: ../src/guestfs-actions.pod:1235 ../fish/guestfish-actions.pod:976
5619 msgid "64 bit SPARC V9 and above."
5620 msgstr ""
5621
5622 # type: =item
5623 #: ../src/guestfs-actions.pod:1237 ../fish/guestfish-actions.pod:978
5624 msgid "\"ia64\""
5625 msgstr ""
5626
5627 # type: textblock
5628 #: ../src/guestfs-actions.pod:1239 ../fish/guestfish-actions.pod:980
5629 msgid "Intel Itanium."
5630 msgstr ""
5631
5632 # type: =item
5633 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:982
5634 msgid "\"ppc\""
5635 msgstr ""
5636
5637 # type: textblock
5638 #: ../src/guestfs-actions.pod:1243 ../fish/guestfish-actions.pod:984
5639 msgid "32 bit Power PC."
5640 msgstr ""
5641
5642 # type: =item
5643 #: ../src/guestfs-actions.pod:1245 ../fish/guestfish-actions.pod:986
5644 msgid "\"ppc64\""
5645 msgstr ""
5646
5647 # type: textblock
5648 #: ../src/guestfs-actions.pod:1247 ../fish/guestfish-actions.pod:988
5649 msgid "64 bit Power PC."
5650 msgstr ""
5651
5652 # type: textblock
5653 #: ../src/guestfs-actions.pod:1251 ../fish/guestfish-actions.pod:992
5654 msgid "Libguestfs may return other architecture strings in future."
5655 msgstr ""
5656
5657 # type: textblock
5658 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:994
5659 msgid "The function works on at least the following types of files:"
5660 msgstr ""
5661
5662 # type: textblock
5663 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:1000
5664 msgid "many types of Un*x and Linux binary"
5665 msgstr ""
5666
5667 # type: textblock
5668 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1004
5669 msgid "many types of Un*x and Linux shared library"
5670 msgstr ""
5671
5672 # type: textblock
5673 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1008
5674 msgid "Windows Win32 and Win64 binaries"
5675 msgstr ""
5676
5677 # type: textblock
5678 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1012
5679 msgid "Windows Win32 and Win64 DLLs"
5680 msgstr ""
5681
5682 # type: textblock
5683 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1014
5684 msgid "Win32 binaries and DLLs return C<i386>."
5685 msgstr ""
5686
5687 # type: textblock
5688 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1016
5689 msgid "Win64 binaries and DLLs return C<x86_64>."
5690 msgstr ""
5691
5692 # type: textblock
5693 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1020
5694 msgid "Linux kernel modules"
5695 msgstr ""
5696
5697 # type: textblock
5698 #: ../src/guestfs-actions.pod:1283 ../fish/guestfish-actions.pod:1024
5699 msgid "Linux new-style initrd images"
5700 msgstr ""
5701
5702 # type: textblock
5703 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1028
5704 msgid "some non-x86 Linux vmlinuz kernels"
5705 msgstr ""
5706
5707 # type: textblock
5708 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1032
5709 msgid "What it can't do currently:"
5710 msgstr ""
5711
5712 # type: textblock
5713 #: ../src/guestfs-actions.pod:1297 ../fish/guestfish-actions.pod:1038
5714 msgid "static libraries (libfoo.a)"
5715 msgstr ""
5716
5717 # type: textblock
5718 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1042
5719 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
5720 msgstr ""
5721
5722 # type: textblock
5723 #: ../src/guestfs-actions.pod:1305 ../fish/guestfish-actions.pod:1046
5724 msgid "x86 Linux vmlinuz kernels"
5725 msgstr ""
5726
5727 # type: textblock
5728 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1048
5729 msgid ""
5730 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
5731 "compressed code, and are horribly hard to unpack.  If you want to find the "
5732 "architecture of a kernel, use the architecture of the associated initrd or "
5733 "kernel module(s) instead."
5734 msgstr ""
5735
5736 # type: =head2
5737 #: ../src/guestfs-actions.pod:1317
5738 msgid "guestfs_filesize"
5739 msgstr ""
5740
5741 # type: verbatim
5742 #: ../src/guestfs-actions.pod:1319
5743 #, no-wrap
5744 msgid ""
5745 " int64_t guestfs_filesize (guestfs_h *g,\n"
5746 "\t\tconst char *file);\n"
5747 "\n"
5748 msgstr ""
5749
5750 # type: textblock
5751 #: ../src/guestfs-actions.pod:1322 ../fish/guestfish-actions.pod:1059
5752 msgid "This command returns the size of C<file> in bytes."
5753 msgstr ""
5754
5755 # type: textblock
5756 #: ../src/guestfs-actions.pod:1324
5757 msgid ""
5758 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
5759 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
5760 "devices, use C<guestfs_blockdev_getsize64>."
5761 msgstr ""
5762
5763 # type: =head2
5764 #: ../src/guestfs-actions.pod:1330
5765 msgid "guestfs_fill"
5766 msgstr ""
5767
5768 # type: verbatim
5769 #: ../src/guestfs-actions.pod:1332
5770 #, no-wrap
5771 msgid ""
5772 " int guestfs_fill (guestfs_h *g,\n"
5773 "\t\tint c,\n"
5774 "\t\tint len,\n"
5775 "\t\tconst char *path);\n"
5776 "\n"
5777 msgstr ""
5778
5779 # type: textblock
5780 #: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:1069
5781 msgid ""
5782 "This command creates a new file called C<path>.  The initial content of the "
5783 "file is C<len> octets of C<c>, where C<c> must be a number in the range "
5784 "C<[0..255]>."
5785 msgstr ""
5786
5787 # type: textblock
5788 #: ../src/guestfs-actions.pod:1341
5789 msgid ""
5790 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
5791 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
5792 "bytes use C<guestfs_fill_pattern>."
5793 msgstr ""
5794
5795 # type: =head2
5796 #: ../src/guestfs-actions.pod:1353
5797 msgid "guestfs_fill_pattern"
5798 msgstr ""
5799
5800 # type: verbatim
5801 #: ../src/guestfs-actions.pod:1355
5802 #, no-wrap
5803 msgid ""
5804 " int guestfs_fill_pattern (guestfs_h *g,\n"
5805 "\t\tconst char *pattern,\n"
5806 "\t\tint len,\n"
5807 "\t\tconst char *path);\n"
5808 "\n"
5809 msgstr ""
5810
5811 # type: textblock
5812 #: ../src/guestfs-actions.pod:1360
5813 msgid ""
5814 "This function is like C<guestfs_fill> except that it creates a new file of "
5815 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
5816 "pattern is truncated if necessary to ensure the length of the file is "
5817 "exactly C<len> bytes."
5818 msgstr ""
5819
5820 # type: =head2
5821 #: ../src/guestfs-actions.pod:1372
5822 msgid "guestfs_find"
5823 msgstr ""
5824
5825 # type: verbatim
5826 #: ../src/guestfs-actions.pod:1374
5827 #, no-wrap
5828 msgid ""
5829 " char **guestfs_find (guestfs_h *g,\n"
5830 "\t\tconst char *directory);\n"
5831 "\n"
5832 msgstr ""
5833
5834 # type: textblock
5835 #: ../src/guestfs-actions.pod:1377 ../fish/guestfish-actions.pod:1091
5836 msgid ""
5837 "This command lists out all files and directories, recursively, starting at "
5838 "C<directory>.  It is essentially equivalent to running the shell command "
5839 "C<find directory -print> but some post-processing happens on the output, "
5840 "described below."
5841 msgstr ""
5842
5843 # type: textblock
5844 #: ../src/guestfs-actions.pod:1382 ../fish/guestfish-actions.pod:1096
5845 msgid ""
5846 "This returns a list of strings I<without any prefix>.  Thus if the directory "
5847 "structure was:"
5848 msgstr ""
5849
5850 # type: verbatim
5851 #: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:1099
5852 #, no-wrap
5853 msgid ""
5854 " /tmp/a\n"
5855 " /tmp/b\n"
5856 " /tmp/c/d\n"
5857 "\n"
5858 msgstr ""
5859
5860 # type: textblock
5861 #: ../src/guestfs-actions.pod:1389
5862 msgid "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
5863 msgstr ""
5864
5865 # type: verbatim
5866 #: ../src/guestfs-actions.pod:1392 ../fish/guestfish-actions.pod:1106
5867 #, no-wrap
5868 msgid ""
5869 " a\n"
5870 " b\n"
5871 " c\n"
5872 " c/d\n"
5873 "\n"
5874 msgstr ""
5875
5876 # type: textblock
5877 #: ../src/guestfs-actions.pod:1397 ../fish/guestfish-actions.pod:1111
5878 msgid "If C<directory> is not a directory, then this command returns an error."
5879 msgstr ""
5880
5881 # type: textblock
5882 #: ../src/guestfs-actions.pod:1400 ../fish/guestfish-actions.pod:1114
5883 msgid "The returned list is sorted."
5884 msgstr ""
5885
5886 # type: textblock
5887 #: ../src/guestfs-actions.pod:1402
5888 msgid "See also C<guestfs_find0>."
5889 msgstr ""
5890
5891 # type: =head2
5892 #: ../src/guestfs-actions.pod:1411
5893 msgid "guestfs_find0"
5894 msgstr ""
5895
5896 # type: verbatim
5897 #: ../src/guestfs-actions.pod:1413
5898 #, no-wrap
5899 msgid ""
5900 " int guestfs_find0 (guestfs_h *g,\n"
5901 "\t\tconst char *directory,\n"
5902 "\t\tconst char *files);\n"
5903 "\n"
5904 msgstr ""
5905
5906 # type: textblock
5907 #: ../src/guestfs-actions.pod:1417 ../fish/guestfish-actions.pod:1125
5908 msgid ""
5909 "This command lists out all files and directories, recursively, starting at "
5910 "C<directory>, placing the resulting list in the external file called "
5911 "C<files>."
5912 msgstr ""
5913
5914 # type: textblock
5915 #: ../src/guestfs-actions.pod:1421
5916 msgid ""
5917 "This command works the same way as C<guestfs_find> with the following "
5918 "exceptions:"
5919 msgstr ""
5920
5921 # type: textblock
5922 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1136
5923 msgid "The resulting list is written to an external file."
5924 msgstr ""
5925
5926 # type: textblock
5927 #: ../src/guestfs-actions.pod:1432 ../fish/guestfish-actions.pod:1140
5928 msgid ""
5929 "Items (filenames) in the result are separated by C<\\0> characters.  See "
5930 "L<find(1)> option I<-print0>."
5931 msgstr ""
5932
5933 # type: textblock
5934 #: ../src/guestfs-actions.pod:1437 ../fish/guestfish-actions.pod:1145
5935 msgid "This command is not limited in the number of names that it can return."
5936 msgstr ""
5937
5938 # type: textblock
5939 #: ../src/guestfs-actions.pod:1442 ../fish/guestfish-actions.pod:1150
5940 msgid "The result list is not sorted."
5941 msgstr ""
5942
5943 # type: =head2
5944 #: ../src/guestfs-actions.pod:1448
5945 msgid "guestfs_findfs_label"
5946 msgstr ""
5947
5948 # type: verbatim
5949 #: ../src/guestfs-actions.pod:1450
5950 #, no-wrap
5951 msgid ""
5952 " char *guestfs_findfs_label (guestfs_h *g,\n"
5953 "\t\tconst char *label);\n"
5954 "\n"
5955 msgstr ""
5956
5957 # type: textblock
5958 #: ../src/guestfs-actions.pod:1453 ../fish/guestfish-actions.pod:1160
5959 msgid ""
5960 "This command searches the filesystems and returns the one which has the "
5961 "given label.  An error is returned if no such filesystem can be found."
5962 msgstr ""
5963
5964 # type: textblock
5965 #: ../src/guestfs-actions.pod:1457
5966 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
5967 msgstr ""
5968
5969 # type: =head2
5970 #: ../src/guestfs-actions.pod:1462
5971 msgid "guestfs_findfs_uuid"
5972 msgstr ""
5973
5974 # type: verbatim
5975 #: ../src/guestfs-actions.pod:1464
5976 #, no-wrap
5977 msgid ""
5978 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
5979 "\t\tconst char *uuid);\n"
5980 "\n"
5981 msgstr ""
5982
5983 # type: textblock
5984 #: ../src/guestfs-actions.pod:1467 ../fish/guestfish-actions.pod:1170
5985 msgid ""
5986 "This command searches the filesystems and returns the one which has the "
5987 "given UUID.  An error is returned if no such filesystem can be found."
5988 msgstr ""
5989
5990 # type: textblock
5991 #: ../src/guestfs-actions.pod:1471
5992 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
5993 msgstr ""
5994
5995 # type: =head2
5996 #: ../src/guestfs-actions.pod:1476
5997 msgid "guestfs_fsck"
5998 msgstr ""
5999
6000 # type: verbatim
6001 #: ../src/guestfs-actions.pod:1478
6002 #, no-wrap
6003 msgid ""
6004 " int guestfs_fsck (guestfs_h *g,\n"
6005 "\t\tconst char *fstype,\n"
6006 "\t\tconst char *device);\n"
6007 "\n"
6008 msgstr ""
6009
6010 # type: textblock
6011 #: ../src/guestfs-actions.pod:1482 ../fish/guestfish-actions.pod:1180
6012 msgid ""
6013 "This runs the filesystem checker (fsck) on C<device> which should have "
6014 "filesystem type C<fstype>."
6015 msgstr ""
6016
6017 # type: textblock
6018 #: ../src/guestfs-actions.pod:1485 ../fish/guestfish-actions.pod:1183
6019 msgid ""
6020 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6021 "codes from C<fsck>."
6022 msgstr ""
6023
6024 # type: textblock
6025 #: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:1192
6026 msgid "Multiple status codes can be summed together."
6027 msgstr ""
6028
6029 # type: textblock
6030 #: ../src/guestfs-actions.pod:1498 ../fish/guestfish-actions.pod:1196
6031 msgid ""
6032 "A non-zero return code can mean \"success\", for example if errors have been "
6033 "corrected on the filesystem."
6034 msgstr ""
6035
6036 # type: textblock
6037 #: ../src/guestfs-actions.pod:1503 ../fish/guestfish-actions.pod:1201
6038 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6039 msgstr ""
6040
6041 # type: textblock
6042 #: ../src/guestfs-actions.pod:1508 ../fish/guestfish-actions.pod:1206
6043 msgid "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6044 msgstr ""
6045
6046 # type: =head2
6047 #: ../src/guestfs-actions.pod:1512
6048 msgid "guestfs_get_append"
6049 msgstr ""
6050
6051 # type: verbatim
6052 #: ../src/guestfs-actions.pod:1514
6053 #, no-wrap
6054 msgid ""
6055 " const char *guestfs_get_append (guestfs_h *g);\n"
6056 "\n"
6057 msgstr ""
6058
6059 # type: textblock
6060 #: ../src/guestfs-actions.pod:1516 ../fish/guestfish-actions.pod:1212
6061 msgid ""
6062 "Return the additional kernel options which are added to the guest kernel "
6063 "command line."
6064 msgstr ""
6065
6066 # type: textblock
6067 #: ../src/guestfs-actions.pod:1519 ../fish/guestfish-actions.pod:1215
6068 msgid "If C<NULL> then no options are added."
6069 msgstr ""
6070
6071 # type: textblock
6072 #: ../src/guestfs-actions.pod:1521
6073 msgid ""
6074 "This function returns a string which may be NULL.  There is no way to return "
6075 "an error from this function.  The string is owned by the guest handle and "
6076 "must I<not> be freed."
6077 msgstr ""
6078
6079 # type: =head2
6080 #: ../src/guestfs-actions.pod:1525
6081 msgid "guestfs_get_autosync"
6082 msgstr ""
6083
6084 # type: verbatim
6085 #: ../src/guestfs-actions.pod:1527
6086 #, no-wrap
6087 msgid ""
6088 " int guestfs_get_autosync (guestfs_h *g);\n"
6089 "\n"
6090 msgstr ""
6091
6092 # type: textblock
6093 #: ../src/guestfs-actions.pod:1529 ../fish/guestfish-actions.pod:1221
6094 msgid "Get the autosync flag."
6095 msgstr ""
6096
6097 # type: =head2
6098 #: ../src/guestfs-actions.pod:1533
6099 msgid "guestfs_get_direct"
6100 msgstr ""
6101
6102 # type: verbatim
6103 #: ../src/guestfs-actions.pod:1535
6104 #, no-wrap
6105 msgid ""
6106 " int guestfs_get_direct (guestfs_h *g);\n"
6107 "\n"
6108 msgstr ""
6109
6110 # type: textblock
6111 #: ../src/guestfs-actions.pod:1537 ../fish/guestfish-actions.pod:1227
6112 msgid "Return the direct appliance mode flag."
6113 msgstr ""
6114
6115 # type: =head2
6116 #: ../src/guestfs-actions.pod:1541
6117 msgid "guestfs_get_e2label"
6118 msgstr ""
6119
6120 # type: verbatim
6121 #: ../src/guestfs-actions.pod:1543
6122 #, no-wrap
6123 msgid ""
6124 " char *guestfs_get_e2label (guestfs_h *g,\n"
6125 "\t\tconst char *device);\n"
6126 "\n"
6127 msgstr ""
6128
6129 # type: textblock
6130 #: ../src/guestfs-actions.pod:1546 ../fish/guestfish-actions.pod:1233
6131 msgid "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6132 msgstr ""
6133
6134 # type: textblock
6135 #: ../src/guestfs-actions.pod:1552 ../fish/guestfish-actions.pod:1236
6136 msgid ""
6137 "This function is deprecated.  In new code, use the C<vfs_label> call "
6138 "instead."
6139 msgstr ""
6140
6141 # type: =head2
6142 #: ../src/guestfs-actions.pod:1559
6143 msgid "guestfs_get_e2uuid"
6144 msgstr ""
6145
6146 # type: verbatim
6147 #: ../src/guestfs-actions.pod:1561
6148 #, no-wrap
6149 msgid ""
6150 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6151 "\t\tconst char *device);\n"
6152 "\n"
6153 msgstr ""
6154
6155 # type: textblock
6156 #: ../src/guestfs-actions.pod:1564 ../fish/guestfish-actions.pod:1247
6157 msgid "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6158 msgstr ""
6159
6160 # type: textblock
6161 #: ../src/guestfs-actions.pod:1570 ../fish/guestfish-actions.pod:1250
6162 msgid "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6163 msgstr ""
6164
6165 # type: =head2
6166 #: ../src/guestfs-actions.pod:1577
6167 msgid "guestfs_get_memsize"
6168 msgstr ""
6169
6170 # type: verbatim
6171 #: ../src/guestfs-actions.pod:1579
6172 #, no-wrap
6173 msgid ""
6174 " int guestfs_get_memsize (guestfs_h *g);\n"
6175 "\n"
6176 msgstr ""
6177
6178 # type: textblock
6179 #: ../src/guestfs-actions.pod:1581 ../fish/guestfish-actions.pod:1261
6180 msgid "This gets the memory size in megabytes allocated to the qemu subprocess."
6181 msgstr ""
6182
6183 # type: textblock
6184 #: ../src/guestfs-actions.pod:1584
6185 msgid ""
6186 "If C<guestfs_set_memsize> was not called on this handle, and if "
6187 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6188 "value for memsize."
6189 msgstr ""
6190
6191 # type: textblock
6192 #: ../src/guestfs-actions.pod:1588 ../src/guestfs-actions.pod:1651 ../src/guestfs-actions.pod:4177 ../src/guestfs-actions.pod:4269 ../fish/guestfish-actions.pod:1268 ../fish/guestfish-actions.pod:1317 ../fish/guestfish-actions.pod:3223 ../fish/guestfish-actions.pod:3300
6193 msgid "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6194 msgstr ""
6195
6196 # type: =head2
6197 #: ../src/guestfs-actions.pod:1593
6198 msgid "guestfs_get_network"
6199 msgstr ""
6200
6201 # type: verbatim
6202 #: ../src/guestfs-actions.pod:1595
6203 #, no-wrap
6204 msgid ""
6205 " int guestfs_get_network (guestfs_h *g);\n"
6206 "\n"
6207 msgstr ""
6208
6209 # type: textblock
6210 #: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1275
6211 msgid "This returns the enable network flag."
6212 msgstr ""
6213
6214 # type: =head2
6215 #: ../src/guestfs-actions.pod:1601
6216 msgid "guestfs_get_path"
6217 msgstr ""
6218
6219 # type: verbatim
6220 #: ../src/guestfs-actions.pod:1603
6221 #, no-wrap
6222 msgid ""
6223 " const char *guestfs_get_path (guestfs_h *g);\n"
6224 "\n"
6225 msgstr ""
6226
6227 # type: textblock
6228 #: ../src/guestfs-actions.pod:1605 ../fish/guestfish-actions.pod:1281
6229 msgid "Return the current search path."
6230 msgstr ""
6231
6232 # type: textblock
6233 #: ../src/guestfs-actions.pod:1607 ../fish/guestfish-actions.pod:1283
6234 msgid ""
6235 "This is always non-NULL.  If it wasn't set already, then this will return "
6236 "the default path."
6237 msgstr ""
6238
6239 # type: textblock
6240 #: ../src/guestfs-actions.pod:1610 ../src/guestfs-actions.pod:1633
6241 msgid ""
6242 "This function returns a string, or NULL on error.  The string is owned by "
6243 "the guest handle and must I<not> be freed."
6244 msgstr ""
6245
6246 # type: =head2
6247 #: ../src/guestfs-actions.pod:1613
6248 msgid "guestfs_get_pid"
6249 msgstr ""
6250
6251 # type: verbatim
6252 #: ../src/guestfs-actions.pod:1615
6253 #, no-wrap
6254 msgid ""
6255 " int guestfs_get_pid (guestfs_h *g);\n"
6256 "\n"
6257 msgstr ""
6258
6259 # type: textblock
6260 #: ../src/guestfs-actions.pod:1617 ../fish/guestfish-actions.pod:1290
6261 msgid ""
6262 "Return the process ID of the qemu subprocess.  If there is no qemu "
6263 "subprocess, then this will return an error."
6264 msgstr ""
6265
6266 # type: textblock
6267 #: ../src/guestfs-actions.pod:1620 ../fish/guestfish-actions.pod:1293
6268 msgid "This is an internal call used for debugging and testing."
6269 msgstr ""
6270
6271 # type: =head2
6272 #: ../src/guestfs-actions.pod:1624
6273 msgid "guestfs_get_qemu"
6274 msgstr ""
6275
6276 # type: verbatim
6277 #: ../src/guestfs-actions.pod:1626
6278 #, no-wrap
6279 msgid ""
6280 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6281 "\n"
6282 msgstr ""
6283
6284 # type: textblock
6285 #: ../src/guestfs-actions.pod:1628 ../fish/guestfish-actions.pod:1299
6286 msgid "Return the current qemu binary."
6287 msgstr ""
6288
6289 # type: textblock
6290 #: ../src/guestfs-actions.pod:1630 ../fish/guestfish-actions.pod:1301
6291 msgid ""
6292 "This is always non-NULL.  If it wasn't set already, then this will return "
6293 "the default qemu binary name."
6294 msgstr ""
6295
6296 # type: =head2
6297 #: ../src/guestfs-actions.pod:1636
6298 msgid "guestfs_get_recovery_proc"
6299 msgstr ""
6300
6301 # type: verbatim
6302 #: ../src/guestfs-actions.pod:1638
6303 #, no-wrap
6304 msgid ""
6305 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6306 "\n"
6307 msgstr ""
6308
6309 # type: textblock
6310 #: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1308
6311 msgid "Return the recovery process enabled flag."
6312 msgstr ""
6313
6314 # type: =head2
6315 #: ../src/guestfs-actions.pod:1644
6316 msgid "guestfs_get_selinux"
6317 msgstr ""
6318
6319 # type: verbatim
6320 #: ../src/guestfs-actions.pod:1646
6321 #, no-wrap
6322 msgid ""
6323 " int guestfs_get_selinux (guestfs_h *g);\n"
6324 "\n"
6325 msgstr ""
6326
6327 # type: textblock
6328 #: ../src/guestfs-actions.pod:1648
6329 msgid ""
6330 "This returns the current setting of the selinux flag which is passed to the "
6331 "appliance at boot time.  See C<guestfs_set_selinux>."
6332 msgstr ""
6333
6334 # type: =head2
6335 #: ../src/guestfs-actions.pod:1656
6336 msgid "guestfs_get_state"
6337 msgstr ""
6338
6339 # type: verbatim
6340 #: ../src/guestfs-actions.pod:1658
6341 #, no-wrap
6342 msgid ""
6343 " int guestfs_get_state (guestfs_h *g);\n"
6344 "\n"
6345 msgstr ""
6346
6347 # type: textblock
6348 #: ../src/guestfs-actions.pod:1660 ../fish/guestfish-actions.pod:1324
6349 msgid ""
6350 "This returns the current state as an opaque integer.  This is only useful "
6351 "for printing debug and internal error messages."
6352 msgstr ""
6353
6354 # type: textblock
6355 #: ../src/guestfs-actions.pod:1663 ../src/guestfs-actions.pod:2270 ../src/guestfs-actions.pod:2281 ../src/guestfs-actions.pod:2318 ../src/guestfs-actions.pod:2339 ../fish/guestfish-actions.pod:1327 ../fish/guestfish-actions.pod:1810 ../fish/guestfish-actions.pod:1819 ../fish/guestfish-actions.pod:1848 ../fish/guestfish-actions.pod:1864
6356 msgid "For more information on states, see L<guestfs(3)>."
6357 msgstr ""
6358
6359 # type: =head2
6360 #: ../src/guestfs-actions.pod:1667
6361 msgid "guestfs_get_trace"
6362 msgstr ""
6363
6364 # type: verbatim
6365 #: ../src/guestfs-actions.pod:1669
6366 #, no-wrap
6367 msgid ""
6368 " int guestfs_get_trace (guestfs_h *g);\n"
6369 "\n"
6370 msgstr ""
6371
6372 # type: textblock
6373 #: ../src/guestfs-actions.pod:1671 ../fish/guestfish-actions.pod:1333
6374 msgid "Return the command trace flag."
6375 msgstr ""
6376
6377 # type: =head2
6378 #: ../src/guestfs-actions.pod:1675
6379 msgid "guestfs_get_umask"
6380 msgstr ""
6381
6382 # type: verbatim
6383 #: ../src/guestfs-actions.pod:1677
6384 #, no-wrap
6385 msgid ""
6386 " int guestfs_get_umask (guestfs_h *g);\n"
6387 "\n"
6388 msgstr ""
6389
6390 # type: textblock
6391 #: ../src/guestfs-actions.pod:1679
6392 msgid ""
6393 "Return the current umask.  By default the umask is C<022> unless it has been "
6394 "set by calling C<guestfs_umask>."
6395 msgstr ""
6396
6397 # type: =head2
6398 #: ../src/guestfs-actions.pod:1684
6399 msgid "guestfs_get_verbose"
6400 msgstr ""
6401
6402 # type: verbatim
6403 #: ../src/guestfs-actions.pod:1686
6404 #, no-wrap
6405 msgid ""
6406 " int guestfs_get_verbose (guestfs_h *g);\n"
6407 "\n"
6408 msgstr ""
6409
6410 # type: textblock
6411 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1346
6412 msgid "This returns the verbose messages flag."
6413 msgstr ""
6414
6415 # type: =head2
6416 #: ../src/guestfs-actions.pod:1692
6417 msgid "guestfs_getcon"
6418 msgstr ""
6419
6420 # type: verbatim
6421 #: ../src/guestfs-actions.pod:1694
6422 #, no-wrap
6423 msgid ""
6424 " char *guestfs_getcon (guestfs_h *g);\n"
6425 "\n"
6426 msgstr ""
6427
6428 # type: textblock
6429 #: ../src/guestfs-actions.pod:1696 ../fish/guestfish-actions.pod:1352
6430 msgid "This gets the SELinux security context of the daemon."
6431 msgstr ""
6432
6433 # type: textblock
6434 #: ../src/guestfs-actions.pod:1698
6435 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6436 msgstr ""
6437
6438 # type: =head2
6439 #: ../src/guestfs-actions.pod:1704
6440 msgid "guestfs_getxattrs"
6441 msgstr ""
6442
6443 # type: verbatim
6444 #: ../src/guestfs-actions.pod:1706
6445 #, no-wrap
6446 msgid ""
6447 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6448 "\t\tconst char *path);\n"
6449 "\n"
6450 msgstr ""
6451
6452 # type: textblock
6453 #: ../src/guestfs-actions.pod:1709 ../fish/guestfish-actions.pod:1361
6454 msgid "This call lists the extended attributes of the file or directory C<path>."
6455 msgstr ""
6456
6457 # type: textblock
6458 #: ../src/guestfs-actions.pod:1712 ../fish/guestfish-actions.pod:1364
6459 msgid ""
6460 "At the system call level, this is a combination of the L<listxattr(2)> and "
6461 "L<getxattr(2)> calls."
6462 msgstr ""
6463
6464 # type: textblock
6465 #: ../src/guestfs-actions.pod:1715
6466 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6467 msgstr ""
6468
6469 # type: textblock
6470 #: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:2389 ../src/guestfs-actions.pod:2884
6471 msgid ""
6472 "This function returns a C<struct guestfs_xattr_list *> (see "
6473 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
6474 "must call C<guestfs_free_xattr_list> after use>."
6475 msgstr ""
6476
6477 # type: =head2
6478 #: ../src/guestfs-actions.pod:1722
6479 msgid "guestfs_glob_expand"
6480 msgstr ""
6481
6482 # type: verbatim
6483 #: ../src/guestfs-actions.pod:1724
6484 #, no-wrap
6485 msgid ""
6486 " char **guestfs_glob_expand (guestfs_h *g,\n"
6487 "\t\tconst char *pattern);\n"
6488 "\n"
6489 msgstr ""
6490
6491 # type: textblock
6492 #: ../src/guestfs-actions.pod:1727 ../fish/guestfish-actions.pod:1373
6493 msgid ""
6494 "This command searches for all the pathnames matching C<pattern> according to "
6495 "the wildcard expansion rules used by the shell."
6496 msgstr ""
6497
6498 # type: textblock
6499 #: ../src/guestfs-actions.pod:1731 ../fish/guestfish-actions.pod:1377
6500 msgid "If no paths match, then this returns an empty list (note: not an error)."
6501 msgstr ""
6502
6503 # type: textblock
6504 #: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1380
6505 msgid ""
6506 "It is just a wrapper around the C L<glob(3)> function with flags "
6507 "C<GLOB_MARK|GLOB_BRACE>.  See that manual page for more details."
6508 msgstr ""
6509
6510 # type: =head2
6511 #: ../src/guestfs-actions.pod:1742
6512 msgid "guestfs_grep"
6513 msgstr ""
6514
6515 # type: verbatim
6516 #: ../src/guestfs-actions.pod:1744
6517 #, no-wrap
6518 msgid ""
6519 " char **guestfs_grep (guestfs_h *g,\n"
6520 "\t\tconst char *regex,\n"
6521 "\t\tconst char *path);\n"
6522 "\n"
6523 msgstr ""
6524
6525 # type: textblock
6526 #: ../src/guestfs-actions.pod:1748 ../fish/guestfish-actions.pod:1388
6527 msgid "This calls the external C<grep> program and returns the matching lines."
6528 msgstr ""
6529
6530 # type: =head2
6531 #: ../src/guestfs-actions.pod:1758
6532 msgid "guestfs_grepi"
6533 msgstr ""
6534
6535 # type: verbatim
6536 #: ../src/guestfs-actions.pod:1760
6537 #, no-wrap
6538 msgid ""
6539 " char **guestfs_grepi (guestfs_h *g,\n"
6540 "\t\tconst char *regex,\n"
6541 "\t\tconst char *path);\n"
6542 "\n"
6543 msgstr ""
6544
6545 # type: textblock
6546 #: ../src/guestfs-actions.pod:1764 ../fish/guestfish-actions.pod:1398
6547 msgid "This calls the external C<grep -i> program and returns the matching lines."
6548 msgstr ""
6549
6550 # type: =head2
6551 #: ../src/guestfs-actions.pod:1774
6552 msgid "guestfs_grub_install"
6553 msgstr ""
6554
6555 # type: verbatim
6556 #: ../src/guestfs-actions.pod:1776
6557 #, no-wrap
6558 msgid ""
6559 " int guestfs_grub_install (guestfs_h *g,\n"
6560 "\t\tconst char *root,\n"
6561 "\t\tconst char *device);\n"
6562 "\n"
6563 msgstr ""
6564
6565 # type: textblock
6566 #: ../src/guestfs-actions.pod:1780 ../fish/guestfish-actions.pod:1408
6567 msgid ""
6568 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
6569 "the root directory being C<root>."
6570 msgstr ""
6571
6572 # type: textblock
6573 #: ../src/guestfs-actions.pod:1783 ../fish/guestfish-actions.pod:1411
6574 msgid ""
6575 "Note: If grub-install reports the error \"No suitable drive was found in the "
6576 "generated device map.\" it may be that you need to create a "
6577 "C</boot/grub/device.map> file first that contains the mapping between grub "
6578 "device names and Linux device names.  It is usually sufficient to create a "
6579 "file containing:"
6580 msgstr ""
6581
6582 # type: verbatim
6583 #: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1418
6584 #, no-wrap
6585 msgid ""
6586 " (hd0) /dev/vda\n"
6587 "\n"
6588 msgstr ""
6589
6590 # type: textblock
6591 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1420
6592 msgid "replacing C</dev/vda> with the name of the installation device."
6593 msgstr ""
6594
6595 # type: =head2
6596 #: ../src/guestfs-actions.pod:1796
6597 msgid "guestfs_head"
6598 msgstr ""
6599
6600 # type: verbatim
6601 #: ../src/guestfs-actions.pod:1798
6602 #, no-wrap
6603 msgid ""
6604 " char **guestfs_head (guestfs_h *g,\n"
6605 "\t\tconst char *path);\n"
6606 "\n"
6607 msgstr ""
6608
6609 # type: textblock
6610 #: ../src/guestfs-actions.pod:1801 ../fish/guestfish-actions.pod:1426
6611 msgid ""
6612 "This command returns up to the first 10 lines of a file as a list of "
6613 "strings."
6614 msgstr ""
6615
6616 # type: =head2
6617 #: ../src/guestfs-actions.pod:1811
6618 msgid "guestfs_head_n"
6619 msgstr ""
6620
6621 # type: verbatim
6622 #: ../src/guestfs-actions.pod:1813
6623 #, no-wrap
6624 msgid ""
6625 " char **guestfs_head_n (guestfs_h *g,\n"
6626 "\t\tint nrlines,\n"
6627 "\t\tconst char *path);\n"
6628 "\n"
6629 msgstr ""
6630
6631 # type: textblock
6632 #: ../src/guestfs-actions.pod:1817 ../fish/guestfish-actions.pod:1436
6633 msgid ""
6634 "If the parameter C<nrlines> is a positive number, this returns the first "
6635 "C<nrlines> lines of the file C<path>."
6636 msgstr ""
6637
6638 # type: textblock
6639 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1439
6640 msgid ""
6641 "If the parameter C<nrlines> is a negative number, this returns lines from "
6642 "the file C<path>, excluding the last C<nrlines> lines."
6643 msgstr ""
6644
6645 # type: textblock
6646 #: ../src/guestfs-actions.pod:1823 ../src/guestfs-actions.pod:4725 ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:3642
6647 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
6648 msgstr ""
6649
6650 # type: =head2
6651 #: ../src/guestfs-actions.pod:1832
6652 msgid "guestfs_hexdump"
6653 msgstr ""
6654
6655 # type: verbatim
6656 #: ../src/guestfs-actions.pod:1834
6657 #, no-wrap
6658 msgid ""
6659 " char *guestfs_hexdump (guestfs_h *g,\n"
6660 "\t\tconst char *path);\n"
6661 "\n"
6662 msgstr ""
6663
6664 # type: textblock
6665 #: ../src/guestfs-actions.pod:1837 ../fish/guestfish-actions.pod:1451
6666 msgid ""
6667 "This runs C<hexdump -C> on the given C<path>.  The result is the "
6668 "human-readable, canonical hex dump of the file."
6669 msgstr ""
6670
6671 # type: =head2
6672 #: ../src/guestfs-actions.pod:1846
6673 msgid "guestfs_initrd_cat"
6674 msgstr ""
6675
6676 # type: verbatim
6677 #: ../src/guestfs-actions.pod:1848
6678 #, no-wrap
6679 msgid ""
6680 " char *guestfs_initrd_cat (guestfs_h *g,\n"
6681 "\t\tconst char *initrdpath,\n"
6682 "\t\tconst char *filename,\n"
6683 "\t\tsize_t *size_r);\n"
6684 "\n"
6685 msgstr ""
6686
6687 # type: textblock
6688 #: ../src/guestfs-actions.pod:1853 ../fish/guestfish-actions.pod:1461
6689 msgid ""
6690 "This command unpacks the file C<filename> from the initrd file called "
6691 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
6692 "character."
6693 msgstr ""
6694
6695 # type: textblock
6696 #: ../src/guestfs-actions.pod:1857 ../fish/guestfish-actions.pod:1465
6697 msgid ""
6698 "For example, in guestfish you could use the following command to examine the "
6699 "boot script (usually called C</init>)  contained in a Linux initrd or "
6700 "initramfs image:"
6701 msgstr ""
6702
6703 # type: verbatim
6704 #: ../src/guestfs-actions.pod:1861 ../fish/guestfish-actions.pod:1469
6705 #, no-wrap
6706 msgid ""
6707 " initrd-cat /boot/initrd-<version>.img init\n"
6708 "\n"
6709 msgstr ""
6710
6711 # type: textblock
6712 #: ../src/guestfs-actions.pod:1863
6713 msgid "See also C<guestfs_initrd_list>."
6714 msgstr ""
6715
6716 # type: textblock
6717 #: ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:3683 ../src/guestfs-actions.pod:3812
6718 msgid ""
6719 "This function returns a buffer, or NULL on error.  The size of the returned "
6720 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
6721 "after use>."
6722 msgstr ""
6723
6724 # type: =head2
6725 #: ../src/guestfs-actions.pod:1872
6726 msgid "guestfs_initrd_list"
6727 msgstr ""
6728
6729 # type: verbatim
6730 #: ../src/guestfs-actions.pod:1874
6731 #, no-wrap
6732 msgid ""
6733 " char **guestfs_initrd_list (guestfs_h *g,\n"
6734 "\t\tconst char *path);\n"
6735 "\n"
6736 msgstr ""
6737
6738 # type: textblock
6739 #: ../src/guestfs-actions.pod:1877 ../fish/guestfish-actions.pod:1480
6740 msgid "This command lists out files contained in an initrd."
6741 msgstr ""
6742
6743 # type: textblock
6744 #: ../src/guestfs-actions.pod:1879 ../fish/guestfish-actions.pod:1482
6745 msgid ""
6746 "The files are listed without any initial C</> character.  The files are "
6747 "listed in the order they appear (not necessarily alphabetical).  Directory "
6748 "names are listed as separate items."
6749 msgstr ""
6750
6751 # type: textblock
6752 #: ../src/guestfs-actions.pod:1883 ../fish/guestfish-actions.pod:1486
6753 msgid ""
6754 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
6755 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
6756 "files)."
6757 msgstr ""
6758
6759 # type: =head2
6760 #: ../src/guestfs-actions.pod:1891
6761 msgid "guestfs_inotify_add_watch"
6762 msgstr ""
6763
6764 # type: verbatim
6765 #: ../src/guestfs-actions.pod:1893
6766 #, no-wrap
6767 msgid ""
6768 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
6769 "\t\tconst char *path,\n"
6770 "\t\tint mask);\n"
6771 "\n"
6772 msgstr ""
6773
6774 # type: textblock
6775 #: ../src/guestfs-actions.pod:1897 ../fish/guestfish-actions.pod:1494
6776 msgid "Watch C<path> for the events listed in C<mask>."
6777 msgstr ""
6778
6779 # type: textblock
6780 #: ../src/guestfs-actions.pod:1899 ../fish/guestfish-actions.pod:1496
6781 msgid ""
6782 "Note that if C<path> is a directory then events within that directory are "
6783 "watched, but this does I<not> happen recursively (in subdirectories)."
6784 msgstr ""
6785
6786 # type: textblock
6787 #: ../src/guestfs-actions.pod:1903 ../fish/guestfish-actions.pod:1500
6788 msgid ""
6789 "Note for non-C or non-Linux callers: the inotify events are defined by the "
6790 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
6791 msgstr ""
6792
6793 # type: =head2
6794 #: ../src/guestfs-actions.pod:1909
6795 msgid "guestfs_inotify_close"
6796 msgstr ""
6797
6798 # type: verbatim
6799 #: ../src/guestfs-actions.pod:1911
6800 #, no-wrap
6801 msgid ""
6802 " int guestfs_inotify_close (guestfs_h *g);\n"
6803 "\n"
6804 msgstr ""
6805
6806 # type: textblock
6807 #: ../src/guestfs-actions.pod:1913 ../fish/guestfish-actions.pod:1508
6808 msgid ""
6809 "This closes the inotify handle which was previously opened by inotify_init.  "
6810 "It removes all watches, throws away any pending events, and deallocates all "
6811 "resources."
6812 msgstr ""
6813
6814 # type: =head2
6815 #: ../src/guestfs-actions.pod:1919
6816 msgid "guestfs_inotify_files"
6817 msgstr ""
6818
6819 # type: verbatim
6820 #: ../src/guestfs-actions.pod:1921
6821 #, no-wrap
6822 msgid ""
6823 " char **guestfs_inotify_files (guestfs_h *g);\n"
6824 "\n"
6825 msgstr ""
6826
6827 # type: textblock
6828 #: ../src/guestfs-actions.pod:1923
6829 msgid ""
6830 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
6831 "returns a list of pathnames of objects that were touched.  The returned "
6832 "pathnames are sorted and deduplicated."
6833 msgstr ""
6834
6835 # type: =head2
6836 #: ../src/guestfs-actions.pod:1931
6837 msgid "guestfs_inotify_init"
6838 msgstr ""
6839
6840 # type: verbatim
6841 #: ../src/guestfs-actions.pod:1933
6842 #, no-wrap
6843 msgid ""
6844 " int guestfs_inotify_init (guestfs_h *g,\n"
6845 "\t\tint maxevents);\n"
6846 "\n"
6847 msgstr ""
6848
6849 # type: textblock
6850 #: ../src/guestfs-actions.pod:1936 ../fish/guestfish-actions.pod:1524
6851 msgid ""
6852 "This command creates a new inotify handle.  The inotify subsystem can be "
6853 "used to notify events which happen to objects in the guest filesystem."
6854 msgstr ""
6855
6856 # type: textblock
6857 #: ../src/guestfs-actions.pod:1940
6858 msgid ""
6859 "C<maxevents> is the maximum number of events which will be queued up between "
6860 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
6861 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
6862 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
6863 "throws away events, but records the fact that it threw them away by setting "
6864 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
6865 "C<guestfs_inotify_read>)."
6866 msgstr ""
6867
6868 # type: textblock
6869 #: ../src/guestfs-actions.pod:1950
6870 msgid ""
6871 "Before any events are generated, you have to add some watches to the "
6872 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
6873 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
6874 msgstr ""
6875
6876 # type: textblock
6877 #: ../src/guestfs-actions.pod:1956
6878 msgid ""
6879 "Queued up events should be read periodically by calling "
6880 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
6881 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
6882 "often enough then you risk the internal queue overflowing."
6883 msgstr ""
6884
6885 # type: textblock
6886 #: ../src/guestfs-actions.pod:1963
6887 msgid ""
6888 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
6889 "This also removes any watches automatically."
6890 msgstr ""
6891
6892 # type: textblock
6893 #: ../src/guestfs-actions.pod:1967 ../fish/guestfish-actions.pod:1555
6894 msgid ""
6895 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
6896 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
6897 "that there is one global inotify handle per libguestfs instance."
6898 msgstr ""
6899
6900 # type: =head2
6901 #: ../src/guestfs-actions.pod:1974
6902 msgid "guestfs_inotify_read"
6903 msgstr ""
6904
6905 # type: verbatim
6906 #: ../src/guestfs-actions.pod:1976
6907 #, no-wrap
6908 msgid ""
6909 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
6910 "\n"
6911 msgstr ""
6912
6913 # type: textblock
6914 #: ../src/guestfs-actions.pod:1978 ../fish/guestfish-actions.pod:1564
6915 msgid ""
6916 "Return the complete queue of events that have happened since the previous "
6917 "read call."
6918 msgstr ""
6919
6920 # type: textblock
6921 #: ../src/guestfs-actions.pod:1981 ../fish/guestfish-actions.pod:1567
6922 msgid "If no events have happened, this returns an empty list."
6923 msgstr ""
6924
6925 # type: textblock
6926 #: ../src/guestfs-actions.pod:1983 ../fish/guestfish-actions.pod:1569
6927 msgid ""
6928 "I<Note>: In order to make sure that all events have been read, you must call "
6929 "this function repeatedly until it returns an empty list.  The reason is that "
6930 "the call will read events up to the maximum appliance-to-host message size "
6931 "and leave remaining events in the queue."
6932 msgstr ""
6933
6934 # type: textblock
6935 #: ../src/guestfs-actions.pod:1989
6936 msgid ""
6937 "This function returns a C<struct guestfs_inotify_event_list *> (see "
6938 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
6939 "must call C<guestfs_free_inotify_event_list> after use>."
6940 msgstr ""
6941
6942 # type: =head2
6943 #: ../src/guestfs-actions.pod:1994
6944 msgid "guestfs_inotify_rm_watch"
6945 msgstr ""
6946
6947 # type: verbatim
6948 #: ../src/guestfs-actions.pod:1996
6949 #, no-wrap
6950 msgid ""
6951 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
6952 "\t\tint wd);\n"
6953 "\n"
6954 msgstr ""
6955
6956 # type: textblock
6957 #: ../src/guestfs-actions.pod:1999
6958 msgid ""
6959 "Remove a previously defined inotify watch.  See "
6960 "C<guestfs_inotify_add_watch>."
6961 msgstr ""
6962
6963 # type: =head2
6964 #: ../src/guestfs-actions.pod:2004
6965 msgid "guestfs_inspect_get_arch"
6966 msgstr ""
6967
6968 # type: verbatim
6969 #: ../src/guestfs-actions.pod:2006
6970 #, no-wrap
6971 msgid ""
6972 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
6973 "\t\tconst char *root);\n"
6974 "\n"
6975 msgstr ""
6976
6977 # type: textblock
6978 #: ../src/guestfs-actions.pod:2009 ../src/guestfs-actions.pod:2029 ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2102 ../src/guestfs-actions.pod:2126 ../src/guestfs-actions.pod:2144 ../src/guestfs-actions.pod:2174 ../src/guestfs-actions.pod:2195
6979 msgid ""
6980 "This function should only be called with a root device string as returned by "
6981 "C<guestfs_inspect_os>."
6982 msgstr ""
6983
6984 # type: textblock
6985 #: ../src/guestfs-actions.pod:2012
6986 msgid ""
6987 "This returns the architecture of the inspected operating system.  The "
6988 "possible return values are listed under C<guestfs_file_architecture>."
6989 msgstr ""
6990
6991 # type: textblock
6992 #: ../src/guestfs-actions.pod:2016 ../fish/guestfish-actions.pod:1593
6993 msgid ""
6994 "If the architecture could not be determined, then the string C<unknown> is "
6995 "returned."
6996 msgstr ""
6997
6998 # type: textblock
6999 #: ../src/guestfs-actions.pod:2019 ../src/guestfs-actions.pod:2069 ../src/guestfs-actions.pod:2117 ../src/guestfs-actions.pod:2185 ../src/guestfs-actions.pod:2220 ../src/guestfs-actions.pod:2257 ../fish/guestfish-actions.pod:1596 ../fish/guestfish-actions.pod:1642 ../fish/guestfish-actions.pod:1681 ../fish/guestfish-actions.pod:1736 ../fish/guestfish-actions.pod:1767 ../fish/guestfish-actions.pod:1801
7000 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7001 msgstr ""
7002
7003 # type: =head2
7004 #: ../src/guestfs-actions.pod:2024
7005 msgid "guestfs_inspect_get_distro"
7006 msgstr ""
7007
7008 # type: verbatim
7009 #: ../src/guestfs-actions.pod:2026
7010 #, no-wrap
7011 msgid ""
7012 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7013 "\t\tconst char *root);\n"
7014 "\n"
7015 msgstr ""
7016
7017 # type: textblock
7018 #: ../src/guestfs-actions.pod:2032 ../fish/guestfish-actions.pod:1605
7019 msgid "This returns the distro (distribution) of the inspected operating system."
7020 msgstr ""
7021
7022 # type: textblock
7023 #: ../src/guestfs-actions.pod:2035 ../fish/guestfish-actions.pod:1608
7024 msgid "Currently defined distros are:"
7025 msgstr ""
7026
7027 # type: =item
7028 #: ../src/guestfs-actions.pod:2039 ../fish/guestfish-actions.pod:1612
7029 msgid "\"debian\""
7030 msgstr ""
7031
7032 # type: textblock
7033 #: ../src/guestfs-actions.pod:2041 ../fish/guestfish-actions.pod:1614
7034 msgid "Debian or a Debian-derived distro such as Ubuntu."
7035 msgstr ""
7036
7037 # type: =item
7038 #: ../src/guestfs-actions.pod:2043 ../fish/guestfish-actions.pod:1616
7039 msgid "\"fedora\""
7040 msgstr ""
7041
7042 # type: textblock
7043 #: ../src/guestfs-actions.pod:2045 ../fish/guestfish-actions.pod:1618
7044 msgid "Fedora."
7045 msgstr ""
7046
7047 # type: =item
7048 #: ../src/guestfs-actions.pod:2047 ../fish/guestfish-actions.pod:1620
7049 msgid "\"redhat-based\""
7050 msgstr ""
7051
7052 # type: textblock
7053 #: ../src/guestfs-actions.pod:2049 ../fish/guestfish-actions.pod:1622
7054 msgid "Some Red Hat-derived distro."
7055 msgstr ""
7056
7057 # type: =item
7058 #: ../src/guestfs-actions.pod:2051 ../fish/guestfish-actions.pod:1624
7059 msgid "\"rhel\""
7060 msgstr ""
7061
7062 # type: textblock
7063 #: ../src/guestfs-actions.pod:2053 ../fish/guestfish-actions.pod:1626
7064 msgid "Red Hat Enterprise Linux and some derivatives."
7065 msgstr ""
7066
7067 # type: =item
7068 #: ../src/guestfs-actions.pod:2055 ../src/guestfs-actions.pod:2207 ../fish/guestfish-actions.pod:1628 ../fish/guestfish-actions.pod:1754
7069 msgid "\"windows\""
7070 msgstr ""
7071
7072 # type: textblock
7073 #: ../src/guestfs-actions.pod:2057 ../fish/guestfish-actions.pod:1630
7074 msgid ""
7075 "Windows does not have distributions.  This string is returned if the OS type "
7076 "is Windows."
7077 msgstr ""
7078
7079 # type: =item
7080 #: ../src/guestfs-actions.pod:2060 ../src/guestfs-actions.pod:2211 ../fish/guestfish-actions.pod:1633 ../fish/guestfish-actions.pod:1758
7081 msgid "\"unknown\""
7082 msgstr ""
7083
7084 # type: textblock
7085 #: ../src/guestfs-actions.pod:2062 ../fish/guestfish-actions.pod:1635
7086 msgid "The distro could not be determined."
7087 msgstr ""
7088
7089 # type: textblock
7090 #: ../src/guestfs-actions.pod:2066 ../src/guestfs-actions.pod:2217 ../fish/guestfish-actions.pod:1639 ../fish/guestfish-actions.pod:1764
7091 msgid ""
7092 "Future versions of libguestfs may return other strings here.  The caller "
7093 "should be prepared to handle any string."
7094 msgstr ""
7095
7096 # type: =head2
7097 #: ../src/guestfs-actions.pod:2074
7098 msgid "guestfs_inspect_get_filesystems"
7099 msgstr ""
7100
7101 # type: verbatim
7102 #: ../src/guestfs-actions.pod:2076
7103 #, no-wrap
7104 msgid ""
7105 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7106 "\t\tconst char *root);\n"
7107 "\n"
7108 msgstr ""
7109
7110 # type: textblock
7111 #: ../src/guestfs-actions.pod:2082 ../fish/guestfish-actions.pod:1651
7112 msgid ""
7113 "This returns a list of all the filesystems that we think are associated with "
7114 "this operating system.  This includes the root filesystem, other ordinary "
7115 "filesystems, and non-mounted devices like swap partitions."
7116 msgstr ""
7117
7118 # type: textblock
7119 #: ../src/guestfs-actions.pod:2087 ../fish/guestfish-actions.pod:1656
7120 msgid ""
7121 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7122 "to be shared between operating systems."
7123 msgstr ""
7124
7125 # type: textblock
7126 #: ../src/guestfs-actions.pod:2090
7127 msgid ""
7128 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7129 "C<guestfs_inspect_get_mountpoints>."
7130 msgstr ""
7131
7132 # type: =head2
7133 #: ../src/guestfs-actions.pod:2097
7134 msgid "guestfs_inspect_get_major_version"
7135 msgstr ""
7136
7137 # type: verbatim
7138 #: ../src/guestfs-actions.pod:2099
7139 #, no-wrap
7140 msgid ""
7141 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7142 "\t\tconst char *root);\n"
7143 "\n"
7144 msgstr ""
7145
7146 # type: textblock
7147 #: ../src/guestfs-actions.pod:2105 ../fish/guestfish-actions.pod:1669
7148 msgid "This returns the major version number of the inspected operating system."
7149 msgstr ""
7150
7151 # type: textblock
7152 #: ../src/guestfs-actions.pod:2108 ../fish/guestfish-actions.pod:1672
7153 msgid ""
7154 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7155 "popular public names used by the operating system.  Notably the operating "
7156 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7157 "1).  You can find out the real versions corresponding to releases of Windows "
7158 "by consulting Wikipedia or MSDN."
7159 msgstr ""
7160
7161 # type: textblock
7162 #: ../src/guestfs-actions.pod:2115 ../src/guestfs-actions.pod:2132 ../fish/guestfish-actions.pod:1679 ../fish/guestfish-actions.pod:1693
7163 msgid "If the version could not be determined, then C<0> is returned."
7164 msgstr ""
7165
7166 # type: =head2
7167 #: ../src/guestfs-actions.pod:2121
7168 msgid "guestfs_inspect_get_minor_version"
7169 msgstr ""
7170
7171 # type: verbatim
7172 #: ../src/guestfs-actions.pod:2123
7173 #, no-wrap
7174 msgid ""
7175 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7176 "\t\tconst char *root);\n"
7177 "\n"
7178 msgstr ""
7179
7180 # type: textblock
7181 #: ../src/guestfs-actions.pod:2129 ../fish/guestfish-actions.pod:1690
7182 msgid "This returns the minor version number of the inspected operating system."
7183 msgstr ""
7184
7185 # type: textblock
7186 #: ../src/guestfs-actions.pod:2134
7187 msgid ""
7188 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7189 "C<guestfs_inspect_get_major_version>."
7190 msgstr ""
7191
7192 # type: =head2
7193 #: ../src/guestfs-actions.pod:2139
7194 msgid "guestfs_inspect_get_mountpoints"
7195 msgstr ""
7196
7197 # type: verbatim
7198 #: ../src/guestfs-actions.pod:2141
7199 #, no-wrap
7200 msgid ""
7201 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7202 "\t\tconst char *root);\n"
7203 "\n"
7204 msgstr ""
7205
7206 # type: textblock
7207 #: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1705
7208 msgid ""
7209 "This returns a hash of where we think the filesystems associated with this "
7210 "operating system should be mounted.  Callers should note that this is at "
7211 "best an educated guess made by reading configuration files such as "
7212 "C</etc/fstab>."
7213 msgstr ""
7214
7215 # type: textblock
7216 #: ../src/guestfs-actions.pod:2152 ../fish/guestfish-actions.pod:1710
7217 msgid ""
7218 "Each element in the returned hashtable has a key which is the path of the "
7219 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7220 "mounted there (eg. C</dev/sda1>)."
7221 msgstr ""
7222
7223 # type: textblock
7224 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1715
7225 msgid "Non-mounted devices such as swap devices are I<not> returned in this list."
7226 msgstr ""
7227
7228 # type: textblock
7229 #: ../src/guestfs-actions.pod:2160
7230 msgid ""
7231 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7232 "C<guestfs_inspect_get_filesystems>."
7233 msgstr ""
7234
7235 # type: textblock
7236 #: ../src/guestfs-actions.pod:2163 ../src/guestfs-actions.pod:3320 ../src/guestfs-actions.pod:4842
7237 msgid ""
7238 "This function returns a NULL-terminated array of strings, or NULL if there "
7239 "was an error.  The array of strings will always have length C<2n+1>, where "
7240 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7241 "caller must free the strings and the array after use>."
7242 msgstr ""
7243
7244 # type: =head2
7245 #: ../src/guestfs-actions.pod:2169
7246 msgid "guestfs_inspect_get_product_name"
7247 msgstr ""
7248
7249 # type: verbatim
7250 #: ../src/guestfs-actions.pod:2171
7251 #, no-wrap
7252 msgid ""
7253 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7254 "\t\tconst char *root);\n"
7255 "\n"
7256 msgstr ""
7257
7258 # type: textblock
7259 #: ../src/guestfs-actions.pod:2177 ../fish/guestfish-actions.pod:1728
7260 msgid ""
7261 "This returns the product name of the inspected operating system.  The "
7262 "product name is generally some freeform string which can be displayed to the "
7263 "user, but should not be parsed by programs."
7264 msgstr ""
7265
7266 # type: textblock
7267 #: ../src/guestfs-actions.pod:2182 ../fish/guestfish-actions.pod:1733
7268 msgid ""
7269 "If the product name could not be determined, then the string C<unknown> is "
7270 "returned."
7271 msgstr ""
7272
7273 # type: =head2
7274 #: ../src/guestfs-actions.pod:2190
7275 msgid "guestfs_inspect_get_type"
7276 msgstr ""
7277
7278 # type: verbatim
7279 #: ../src/guestfs-actions.pod:2192
7280 #, no-wrap
7281 msgid ""
7282 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7283 "\t\tconst char *root);\n"
7284 "\n"
7285 msgstr ""
7286
7287 # type: textblock
7288 #: ../src/guestfs-actions.pod:2198 ../fish/guestfish-actions.pod:1745
7289 msgid ""
7290 "This returns the type of the inspected operating system.  Currently defined "
7291 "types are:"
7292 msgstr ""
7293
7294 # type: =item
7295 #: ../src/guestfs-actions.pod:2203 ../fish/guestfish-actions.pod:1750
7296 msgid "\"linux\""
7297 msgstr ""
7298
7299 # type: textblock
7300 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1752
7301 msgid "Any Linux-based operating system."
7302 msgstr ""
7303
7304 # type: textblock
7305 #: ../src/guestfs-actions.pod:2209 ../fish/guestfish-actions.pod:1756
7306 msgid "Any Microsoft Windows operating system."
7307 msgstr ""
7308
7309 # type: textblock
7310 #: ../src/guestfs-actions.pod:2213 ../fish/guestfish-actions.pod:1760
7311 msgid "The operating system type could not be determined."
7312 msgstr ""
7313
7314 # type: =head2
7315 #: ../src/guestfs-actions.pod:2225
7316 msgid "guestfs_inspect_os"
7317 msgstr ""
7318
7319 # type: verbatim
7320 #: ../src/guestfs-actions.pod:2227
7321 #, no-wrap
7322 msgid ""
7323 " char **guestfs_inspect_os (guestfs_h *g);\n"
7324 "\n"
7325 msgstr ""
7326
7327 # type: textblock
7328 #: ../src/guestfs-actions.pod:2229 ../fish/guestfish-actions.pod:1773
7329 msgid ""
7330 "This function uses other libguestfs functions and certain heuristics to "
7331 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7332 "for operating systems."
7333 msgstr ""
7334
7335 # type: textblock
7336 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1777
7337 msgid "The list returned is empty if no operating systems were found."
7338 msgstr ""
7339
7340 # type: textblock
7341 #: ../src/guestfs-actions.pod:2235 ../fish/guestfish-actions.pod:1779
7342 msgid ""
7343 "If one operating system was found, then this returns a list with a single "
7344 "element, which is the name of the root filesystem of this operating system.  "
7345 "It is also possible for this function to return a list containing more than "
7346 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7347 "element being the root filesystem of one of the operating systems."
7348 msgstr ""
7349
7350 # type: textblock
7351 #: ../src/guestfs-actions.pod:2242
7352 msgid ""
7353 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7354 "functions in order to query further information about each operating system, "
7355 "such as the name and version."
7356 msgstr ""
7357
7358 # type: textblock
7359 #: ../src/guestfs-actions.pod:2247
7360 msgid ""
7361 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7362 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7363 "the contents.  This should be called with no disks currently mounted.  The "
7364 "function may also use Augeas, so any existing Augeas handle will be closed."
7365 msgstr ""
7366
7367 # type: textblock
7368 #: ../src/guestfs-actions.pod:2253 ../fish/guestfish-actions.pod:1797
7369 msgid ""
7370 "This function cannot decrypt encrypted disks.  The caller must do that first "
7371 "(supplying the necessary keys) if the disk is encrypted."
7372 msgstr ""
7373
7374 # type: =head2
7375 #: ../src/guestfs-actions.pod:2263
7376 msgid "guestfs_is_busy"
7377 msgstr ""
7378
7379 # type: verbatim
7380 #: ../src/guestfs-actions.pod:2265
7381 #, no-wrap
7382 msgid ""
7383 " int guestfs_is_busy (guestfs_h *g);\n"
7384 "\n"
7385 msgstr ""
7386
7387 # type: textblock
7388 #: ../src/guestfs-actions.pod:2267 ../fish/guestfish-actions.pod:1807
7389 msgid ""
7390 "This returns true iff this handle is busy processing a command (in the "
7391 "C<BUSY> state)."
7392 msgstr ""
7393
7394 # type: =head2
7395 #: ../src/guestfs-actions.pod:2274
7396 msgid "guestfs_is_config"
7397 msgstr ""
7398
7399 # type: verbatim
7400 #: ../src/guestfs-actions.pod:2276
7401 #, no-wrap
7402 msgid ""
7403 " int guestfs_is_config (guestfs_h *g);\n"
7404 "\n"
7405 msgstr ""
7406
7407 # type: textblock
7408 #: ../src/guestfs-actions.pod:2278 ../fish/guestfish-actions.pod:1816
7409 msgid ""
7410 "This returns true iff this handle is being configured (in the C<CONFIG> "
7411 "state)."
7412 msgstr ""
7413
7414 # type: =head2
7415 #: ../src/guestfs-actions.pod:2285
7416 msgid "guestfs_is_dir"
7417 msgstr ""
7418
7419 # type: verbatim
7420 #: ../src/guestfs-actions.pod:2287
7421 #, no-wrap
7422 msgid ""
7423 " int guestfs_is_dir (guestfs_h *g,\n"
7424 "\t\tconst char *path);\n"
7425 "\n"
7426 msgstr ""
7427
7428 # type: textblock
7429 #: ../src/guestfs-actions.pod:2290 ../fish/guestfish-actions.pod:1825
7430 msgid ""
7431 "This returns C<true> if and only if there is a directory with the given "
7432 "C<path> name.  Note that it returns false for other objects like files."
7433 msgstr ""
7434
7435 # type: textblock
7436 #: ../src/guestfs-actions.pod:2294 ../src/guestfs-actions.pod:2307
7437 msgid "See also C<guestfs_stat>."
7438 msgstr ""
7439
7440 # type: =head2
7441 #: ../src/guestfs-actions.pod:2298
7442 msgid "guestfs_is_file"
7443 msgstr ""
7444
7445 # type: verbatim
7446 #: ../src/guestfs-actions.pod:2300
7447 #, no-wrap
7448 msgid ""
7449 " int guestfs_is_file (guestfs_h *g,\n"
7450 "\t\tconst char *path);\n"
7451 "\n"
7452 msgstr ""
7453
7454 # type: textblock
7455 #: ../src/guestfs-actions.pod:2303 ../fish/guestfish-actions.pod:1835
7456 msgid ""
7457 "This returns C<true> if and only if there is a file with the given C<path> "
7458 "name.  Note that it returns false for other objects like directories."
7459 msgstr ""
7460
7461 # type: =head2
7462 #: ../src/guestfs-actions.pod:2311
7463 msgid "guestfs_is_launching"
7464 msgstr ""
7465
7466 # type: verbatim
7467 #: ../src/guestfs-actions.pod:2313
7468 #, no-wrap
7469 msgid ""
7470 " int guestfs_is_launching (guestfs_h *g);\n"
7471 "\n"
7472 msgstr ""
7473
7474 # type: textblock
7475 #: ../src/guestfs-actions.pod:2315 ../fish/guestfish-actions.pod:1845
7476 msgid ""
7477 "This returns true iff this handle is launching the subprocess (in the "
7478 "C<LAUNCHING> state)."
7479 msgstr ""
7480
7481 # type: =head2
7482 #: ../src/guestfs-actions.pod:2322
7483 msgid "guestfs_is_lv"
7484 msgstr ""
7485
7486 # type: verbatim
7487 #: ../src/guestfs-actions.pod:2324
7488 #, no-wrap
7489 msgid ""
7490 " int guestfs_is_lv (guestfs_h *g,\n"
7491 "\t\tconst char *device);\n"
7492 "\n"
7493 msgstr ""
7494
7495 # type: textblock
7496 #: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1854
7497 msgid ""
7498 "This command tests whether C<device> is a logical volume, and returns true "
7499 "iff this is the case."
7500 msgstr ""
7501
7502 # type: =head2
7503 #: ../src/guestfs-actions.pod:2332
7504 msgid "guestfs_is_ready"
7505 msgstr ""
7506
7507 # type: verbatim
7508 #: ../src/guestfs-actions.pod:2334
7509 #, no-wrap
7510 msgid ""
7511 " int guestfs_is_ready (guestfs_h *g);\n"
7512 "\n"
7513 msgstr ""
7514
7515 # type: textblock
7516 #: ../src/guestfs-actions.pod:2336 ../fish/guestfish-actions.pod:1861
7517 msgid ""
7518 "This returns true iff this handle is ready to accept commands (in the "
7519 "C<READY> state)."
7520 msgstr ""
7521
7522 # type: =head2
7523 #: ../src/guestfs-actions.pod:2343
7524 msgid "guestfs_kill_subprocess"
7525 msgstr ""
7526
7527 # type: verbatim
7528 #: ../src/guestfs-actions.pod:2345
7529 #, no-wrap
7530 msgid ""
7531 " int guestfs_kill_subprocess (guestfs_h *g);\n"
7532 "\n"
7533 msgstr ""
7534
7535 # type: textblock
7536 #: ../src/guestfs-actions.pod:2347 ../fish/guestfish-actions.pod:1870
7537 msgid "This kills the qemu subprocess.  You should never need to call this."
7538 msgstr ""
7539
7540 # type: =head2
7541 #: ../src/guestfs-actions.pod:2351
7542 msgid "guestfs_launch"
7543 msgstr ""
7544
7545 # type: verbatim
7546 #: ../src/guestfs-actions.pod:2353
7547 #, no-wrap
7548 msgid ""
7549 " int guestfs_launch (guestfs_h *g);\n"
7550 "\n"
7551 msgstr ""
7552
7553 # type: textblock
7554 #: ../src/guestfs-actions.pod:2355 ../fish/guestfish-actions.pod:1876
7555 msgid ""
7556 "Internally libguestfs is implemented by running a virtual machine using "
7557 "L<qemu(1)>."
7558 msgstr ""
7559
7560 # type: textblock
7561 #: ../src/guestfs-actions.pod:2358 ../fish/guestfish-actions.pod:1879
7562 msgid ""
7563 "You should call this after configuring the handle (eg. adding drives) but "
7564 "before performing any actions."
7565 msgstr ""
7566
7567 # type: =head2
7568 #: ../src/guestfs-actions.pod:2363
7569 msgid "guestfs_lchown"
7570 msgstr ""
7571
7572 # type: verbatim
7573 #: ../src/guestfs-actions.pod:2365
7574 #, no-wrap
7575 msgid ""
7576 " int guestfs_lchown (guestfs_h *g,\n"
7577 "\t\tint owner,\n"
7578 "\t\tint group,\n"
7579 "\t\tconst char *path);\n"
7580 "\n"
7581 msgstr ""
7582
7583 # type: textblock
7584 #: ../src/guestfs-actions.pod:2370
7585 msgid ""
7586 "Change the file owner to C<owner> and group to C<group>.  This is like "
7587 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
7588 "changed, not the target."
7589 msgstr ""
7590
7591 # type: =head2
7592 #: ../src/guestfs-actions.pod:2380
7593 msgid "guestfs_lgetxattrs"
7594 msgstr ""
7595
7596 # type: verbatim
7597 #: ../src/guestfs-actions.pod:2382
7598 #, no-wrap
7599 msgid ""
7600 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
7601 "\t\tconst char *path);\n"
7602 "\n"
7603 msgstr ""
7604
7605 # type: textblock
7606 #: ../src/guestfs-actions.pod:2385
7607 msgid ""
7608 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
7609 "then it returns the extended attributes of the link itself."
7610 msgstr ""
7611
7612 # type: =head2
7613 #: ../src/guestfs-actions.pod:2394
7614 msgid "guestfs_list_devices"
7615 msgstr ""
7616
7617 # type: verbatim
7618 #: ../src/guestfs-actions.pod:2396
7619 #, no-wrap
7620 msgid ""
7621 " char **guestfs_list_devices (guestfs_h *g);\n"
7622 "\n"
7623 msgstr ""
7624
7625 # type: textblock
7626 #: ../src/guestfs-actions.pod:2398 ../fish/guestfish-actions.pod:1906
7627 msgid "List all the block devices."
7628 msgstr ""
7629
7630 # type: textblock
7631 #: ../src/guestfs-actions.pod:2400 ../fish/guestfish-actions.pod:1908
7632 msgid "The full block device names are returned, eg. C</dev/sda>"
7633 msgstr ""
7634
7635 # type: =head2
7636 #: ../src/guestfs-actions.pod:2406
7637 msgid "guestfs_list_partitions"
7638 msgstr ""
7639
7640 # type: verbatim
7641 #: ../src/guestfs-actions.pod:2408
7642 #, no-wrap
7643 msgid ""
7644 " char **guestfs_list_partitions (guestfs_h *g);\n"
7645 "\n"
7646 msgstr ""
7647
7648 # type: textblock
7649 #: ../src/guestfs-actions.pod:2410 ../fish/guestfish-actions.pod:1914
7650 msgid "List all the partitions detected on all block devices."
7651 msgstr ""
7652
7653 # type: textblock
7654 #: ../src/guestfs-actions.pod:2412 ../fish/guestfish-actions.pod:1916
7655 msgid "The full partition device names are returned, eg. C</dev/sda1>"
7656 msgstr ""
7657
7658 # type: textblock
7659 #: ../src/guestfs-actions.pod:2414
7660 msgid ""
7661 "This does not return logical volumes.  For that you will need to call "
7662 "C<guestfs_lvs>."
7663 msgstr ""
7664
7665 # type: =head2
7666 #: ../src/guestfs-actions.pod:2421
7667 msgid "guestfs_ll"
7668 msgstr ""
7669
7670 # type: verbatim
7671 #: ../src/guestfs-actions.pod:2423
7672 #, no-wrap
7673 msgid ""
7674 " char *guestfs_ll (guestfs_h *g,\n"
7675 "\t\tconst char *directory);\n"
7676 "\n"
7677 msgstr ""
7678
7679 # type: textblock
7680 #: ../src/guestfs-actions.pod:2426 ../fish/guestfish-actions.pod:1925
7681 msgid ""
7682 "List the files in C<directory> (relative to the root directory, there is no "
7683 "cwd) in the format of 'ls -la'."
7684 msgstr ""
7685
7686 # type: textblock
7687 #: ../src/guestfs-actions.pod:2429 ../fish/guestfish-actions.pod:1928
7688 msgid ""
7689 "This command is mostly useful for interactive sessions.  It is I<not> "
7690 "intended that you try to parse the output string."
7691 msgstr ""
7692
7693 # type: =head2
7694 #: ../src/guestfs-actions.pod:2435
7695 msgid "guestfs_ln"
7696 msgstr ""
7697
7698 # type: verbatim
7699 #: ../src/guestfs-actions.pod:2437
7700 #, no-wrap
7701 msgid ""
7702 " int guestfs_ln (guestfs_h *g,\n"
7703 "\t\tconst char *target,\n"
7704 "\t\tconst char *linkname);\n"
7705 "\n"
7706 msgstr ""
7707
7708 # type: textblock
7709 #: ../src/guestfs-actions.pod:2441 ../fish/guestfish-actions.pod:1935
7710 msgid "This command creates a hard link using the C<ln> command."
7711 msgstr ""
7712
7713 # type: =head2
7714 #: ../src/guestfs-actions.pod:2445
7715 msgid "guestfs_ln_f"
7716 msgstr ""
7717
7718 # type: verbatim
7719 #: ../src/guestfs-actions.pod:2447
7720 #, no-wrap
7721 msgid ""
7722 " int guestfs_ln_f (guestfs_h *g,\n"
7723 "\t\tconst char *target,\n"
7724 "\t\tconst char *linkname);\n"
7725 "\n"
7726 msgstr ""
7727
7728 # type: textblock
7729 #: ../src/guestfs-actions.pod:2451 ../fish/guestfish-actions.pod:1941
7730 msgid ""
7731 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
7732 "option removes the link (C<linkname>) if it exists already."
7733 msgstr ""
7734
7735 # type: =head2
7736 #: ../src/guestfs-actions.pod:2456
7737 msgid "guestfs_ln_s"
7738 msgstr ""
7739
7740 # type: verbatim
7741 #: ../src/guestfs-actions.pod:2458
7742 #, no-wrap
7743 msgid ""
7744 " int guestfs_ln_s (guestfs_h *g,\n"
7745 "\t\tconst char *target,\n"
7746 "\t\tconst char *linkname);\n"
7747 "\n"
7748 msgstr ""
7749
7750 # type: textblock
7751 #: ../src/guestfs-actions.pod:2462 ../fish/guestfish-actions.pod:1948
7752 msgid "This command creates a symbolic link using the C<ln -s> command."
7753 msgstr ""
7754
7755 # type: =head2
7756 #: ../src/guestfs-actions.pod:2466
7757 msgid "guestfs_ln_sf"
7758 msgstr ""
7759
7760 # type: verbatim
7761 #: ../src/guestfs-actions.pod:2468
7762 #, no-wrap
7763 msgid ""
7764 " int guestfs_ln_sf (guestfs_h *g,\n"
7765 "\t\tconst char *target,\n"
7766 "\t\tconst char *linkname);\n"
7767 "\n"
7768 msgstr ""
7769
7770 # type: textblock
7771 #: ../src/guestfs-actions.pod:2472 ../fish/guestfish-actions.pod:1954
7772 msgid ""
7773 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
7774 "option removes the link (C<linkname>) if it exists already."
7775 msgstr ""
7776
7777 # type: =head2
7778 #: ../src/guestfs-actions.pod:2477
7779 msgid "guestfs_lremovexattr"
7780 msgstr ""
7781
7782 # type: verbatim
7783 #: ../src/guestfs-actions.pod:2479
7784 #, no-wrap
7785 msgid ""
7786 " int guestfs_lremovexattr (guestfs_h *g,\n"
7787 "\t\tconst char *xattr,\n"
7788 "\t\tconst char *path);\n"
7789 "\n"
7790 msgstr ""
7791
7792 # type: textblock
7793 #: ../src/guestfs-actions.pod:2483
7794 msgid ""
7795 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
7796 "link, then it removes an extended attribute of the link itself."
7797 msgstr ""
7798
7799 # type: =head2
7800 #: ../src/guestfs-actions.pod:2489
7801 msgid "guestfs_ls"
7802 msgstr ""
7803
7804 # type: verbatim
7805 #: ../src/guestfs-actions.pod:2491
7806 #, no-wrap
7807 msgid ""
7808 " char **guestfs_ls (guestfs_h *g,\n"
7809 "\t\tconst char *directory);\n"
7810 "\n"
7811 msgstr ""
7812
7813 # type: textblock
7814 #: ../src/guestfs-actions.pod:2494 ../fish/guestfish-actions.pod:1969
7815 msgid ""
7816 "List the files in C<directory> (relative to the root directory, there is no "
7817 "cwd).  The '.' and '..' entries are not returned, but hidden files are "
7818 "shown."
7819 msgstr ""
7820
7821 # type: textblock
7822 #: ../src/guestfs-actions.pod:2498
7823 msgid ""
7824 "This command is mostly useful for interactive sessions.  Programs should "
7825 "probably use C<guestfs_readdir> instead."
7826 msgstr ""
7827
7828 # type: =head2
7829 #: ../src/guestfs-actions.pod:2505
7830 msgid "guestfs_lsetxattr"
7831 msgstr ""
7832
7833 # type: verbatim
7834 #: ../src/guestfs-actions.pod:2507
7835 #, no-wrap
7836 msgid ""
7837 " int guestfs_lsetxattr (guestfs_h *g,\n"
7838 "\t\tconst char *xattr,\n"
7839 "\t\tconst char *val,\n"
7840 "\t\tint vallen,\n"
7841 "\t\tconst char *path);\n"
7842 "\n"
7843 msgstr ""
7844
7845 # type: textblock
7846 #: ../src/guestfs-actions.pod:2513
7847 msgid ""
7848 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
7849 "then it sets an extended attribute of the link itself."
7850 msgstr ""
7851
7852 # type: =head2
7853 #: ../src/guestfs-actions.pod:2519
7854 msgid "guestfs_lstat"
7855 msgstr ""
7856
7857 # type: verbatim
7858 #: ../src/guestfs-actions.pod:2521
7859 #, no-wrap
7860 msgid ""
7861 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
7862 "\t\tconst char *path);\n"
7863 "\n"
7864 msgstr ""
7865
7866 # type: textblock
7867 #: ../src/guestfs-actions.pod:2524 ../src/guestfs-actions.pod:4507 ../fish/guestfish-actions.pod:1988 ../fish/guestfish-actions.pod:3477
7868 msgid "Returns file information for the given C<path>."
7869 msgstr ""
7870
7871 # type: textblock
7872 #: ../src/guestfs-actions.pod:2526
7873 msgid ""
7874 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
7875 "link, then the link is stat-ed, not the file it refers to."
7876 msgstr ""
7877
7878 # type: textblock
7879 #: ../src/guestfs-actions.pod:2530 ../fish/guestfish-actions.pod:1994
7880 msgid "This is the same as the C<lstat(2)> system call."
7881 msgstr ""
7882
7883 # type: textblock
7884 #: ../src/guestfs-actions.pod:2532 ../src/guestfs-actions.pod:4511
7885 msgid ""
7886 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
7887 "error.  I<The caller must call C<guestfs_free_stat> after use>."
7888 msgstr ""
7889
7890 # type: =head2
7891 #: ../src/guestfs-actions.pod:2536
7892 msgid "guestfs_lstatlist"
7893 msgstr ""
7894
7895 # type: verbatim
7896 #: ../src/guestfs-actions.pod:2538
7897 #, no-wrap
7898 msgid ""
7899 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
7900 "\t\tconst char *path,\n"
7901 "\t\tchar *const *names);\n"
7902 "\n"
7903 msgstr ""
7904
7905 # type: textblock
7906 #: ../src/guestfs-actions.pod:2542
7907 msgid ""
7908 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
7909 "files, where all files are in the directory C<path>.  C<names> is the list "
7910 "of files from this directory."
7911 msgstr ""
7912
7913 # type: textblock
7914 #: ../src/guestfs-actions.pod:2546 ../fish/guestfish-actions.pod:2004
7915 msgid ""
7916 "On return you get a list of stat structs, with a one-to-one correspondence "
7917 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
7918 "then the C<ino> field of that structure is set to C<-1>."
7919 msgstr ""
7920
7921 # type: textblock
7922 #: ../src/guestfs-actions.pod:2551
7923 msgid ""
7924 "This call is intended for programs that want to efficiently list a directory "
7925 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
7926 "for a similarly efficient call for getting extended attributes.  Very long "
7927 "directory listings might cause the protocol message size to be exceeded, "
7928 "causing this call to fail.  The caller must split up such requests into "
7929 "smaller groups of names."
7930 msgstr ""
7931
7932 # type: textblock
7933 #: ../src/guestfs-actions.pod:2559
7934 msgid ""
7935 "This function returns a C<struct guestfs_stat_list *> (see "
7936 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7937 "must call C<guestfs_free_stat_list> after use>."
7938 msgstr ""
7939
7940 # type: =head2
7941 #: ../src/guestfs-actions.pod:2564
7942 msgid "guestfs_luks_add_key"
7943 msgstr ""
7944
7945 # type: verbatim
7946 #: ../src/guestfs-actions.pod:2566
7947 #, no-wrap
7948 msgid ""
7949 " int guestfs_luks_add_key (guestfs_h *g,\n"
7950 "\t\tconst char *device,\n"
7951 "\t\tconst char *key,\n"
7952 "\t\tconst char *newkey,\n"
7953 "\t\tint keyslot);\n"
7954 "\n"
7955 msgstr ""
7956
7957 # type: textblock
7958 #: ../src/guestfs-actions.pod:2572 ../fish/guestfish-actions.pod:2021
7959 msgid ""
7960 "This command adds a new key on LUKS device C<device>.  C<key> is any "
7961 "existing key, and is used to access the device.  C<newkey> is the new key to "
7962 "add.  C<keyslot> is the key slot that will be replaced."
7963 msgstr ""
7964
7965 # type: textblock
7966 #: ../src/guestfs-actions.pod:2577
7967 msgid ""
7968 "Note that if C<keyslot> already contains a key, then this command will "
7969 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
7970 msgstr ""
7971
7972 # type: textblock
7973 #: ../src/guestfs-actions.pod:2583 ../src/guestfs-actions.pod:2617 ../src/guestfs-actions.pod:2637 ../src/guestfs-actions.pod:2654 ../src/guestfs-actions.pod:2683 ../src/guestfs-actions.pod:2699
7974 msgid ""
7975 "This function takes a key or passphrase parameter which could contain "
7976 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
7977 "information."
7978 msgstr ""
7979
7980 # type: =head2
7981 #: ../src/guestfs-actions.pod:2587
7982 msgid "guestfs_luks_close"
7983 msgstr ""
7984
7985 # type: verbatim
7986 #: ../src/guestfs-actions.pod:2589
7987 #, no-wrap
7988 msgid ""
7989 " int guestfs_luks_close (guestfs_h *g,\n"
7990 "\t\tconst char *device);\n"
7991 "\n"
7992 msgstr ""
7993
7994 # type: textblock
7995 #: ../src/guestfs-actions.pod:2592
7996 msgid ""
7997 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
7998 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
7999 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8000 "underlying block device."
8001 msgstr ""
8002
8003 # type: =head2
8004 #: ../src/guestfs-actions.pod:2600
8005 msgid "guestfs_luks_format"
8006 msgstr ""
8007
8008 # type: verbatim
8009 #: ../src/guestfs-actions.pod:2602
8010 #, no-wrap
8011 msgid ""
8012 " int guestfs_luks_format (guestfs_h *g,\n"
8013 "\t\tconst char *device,\n"
8014 "\t\tconst char *key,\n"
8015 "\t\tint keyslot);\n"
8016 "\n"
8017 msgstr ""
8018
8019 # type: textblock
8020 #: ../src/guestfs-actions.pod:2607 ../fish/guestfish-actions.pod:2047
8021 msgid ""
8022 "This command erases existing data on C<device> and formats the device as a "
8023 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8024 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8025 msgstr ""
8026
8027 # type: textblock
8028 #: ../src/guestfs-actions.pod:2614 ../src/guestfs-actions.pod:2634 ../src/guestfs-actions.pod:2736 ../src/guestfs-actions.pod:3448 ../src/guestfs-actions.pod:4048 ../src/guestfs-actions.pod:4369 ../src/guestfs-actions.pod:4389 ../src/guestfs-actions.pod:4412 ../src/guestfs-actions.pod:5351 ../fish/guestfish-actions.pod:2055 ../fish/guestfish-actions.pod:2068 ../fish/guestfish-actions.pod:2139 ../fish/guestfish-actions.pod:2654 ../fish/guestfish-actions.pod:3118 ../fish/guestfish-actions.pod:3376 ../fish/guestfish-actions.pod:3392 ../fish/guestfish-actions.pod:3407 ../fish/guestfish-actions.pod:4095
8029 msgid ""
8030 "B<This command is dangerous.  Without careful use you can easily destroy all "
8031 "your data>."
8032 msgstr ""
8033
8034 # type: =head2
8035 #: ../src/guestfs-actions.pod:2621
8036 msgid "guestfs_luks_format_cipher"
8037 msgstr ""
8038
8039 # type: verbatim
8040 #: ../src/guestfs-actions.pod:2623
8041 #, no-wrap
8042 msgid ""
8043 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8044 "\t\tconst char *device,\n"
8045 "\t\tconst char *key,\n"
8046 "\t\tint keyslot,\n"
8047 "\t\tconst char *cipher);\n"
8048 "\n"
8049 msgstr ""
8050
8051 # type: textblock
8052 #: ../src/guestfs-actions.pod:2629
8053 msgid ""
8054 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8055 "set the C<cipher> used."
8056 msgstr ""
8057
8058 # type: =head2
8059 #: ../src/guestfs-actions.pod:2641
8060 msgid "guestfs_luks_kill_slot"
8061 msgstr ""
8062
8063 # type: verbatim
8064 #: ../src/guestfs-actions.pod:2643
8065 #, no-wrap
8066 msgid ""
8067 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8068 "\t\tconst char *device,\n"
8069 "\t\tconst char *key,\n"
8070 "\t\tint keyslot);\n"
8071 "\n"
8072 msgstr ""
8073
8074 # type: textblock
8075 #: ../src/guestfs-actions.pod:2648 ../fish/guestfish-actions.pod:2075
8076 msgid ""
8077 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8078 "device C<device>.  C<key> must be one of the I<other> keys."
8079 msgstr ""
8080
8081 # type: =head2
8082 #: ../src/guestfs-actions.pod:2658
8083 msgid "guestfs_luks_open"
8084 msgstr ""
8085
8086 # type: verbatim
8087 #: ../src/guestfs-actions.pod:2660
8088 #, no-wrap
8089 msgid ""
8090 " int guestfs_luks_open (guestfs_h *g,\n"
8091 "\t\tconst char *device,\n"
8092 "\t\tconst char *key,\n"
8093 "\t\tconst char *mapname);\n"
8094 "\n"
8095 msgstr ""
8096
8097 # type: textblock
8098 #: ../src/guestfs-actions.pod:2665 ../fish/guestfish-actions.pod:2086
8099 msgid ""
8100 "This command opens a block device which has been encrypted according to the "
8101 "Linux Unified Key Setup (LUKS) standard."
8102 msgstr ""
8103
8104 # type: textblock
8105 #: ../src/guestfs-actions.pod:2668 ../fish/guestfish-actions.pod:2089
8106 msgid "C<device> is the encrypted block device or partition."
8107 msgstr ""
8108
8109 # type: textblock
8110 #: ../src/guestfs-actions.pod:2670 ../fish/guestfish-actions.pod:2091
8111 msgid ""
8112 "The caller must supply one of the keys associated with the LUKS block "
8113 "device, in the C<key> parameter."
8114 msgstr ""
8115
8116 # type: textblock
8117 #: ../src/guestfs-actions.pod:2673 ../fish/guestfish-actions.pod:2094
8118 msgid ""
8119 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8120 "writes to this block device are decrypted from and encrypted to the "
8121 "underlying C<device> respectively."
8122 msgstr ""
8123
8124 # type: textblock
8125 #: ../src/guestfs-actions.pod:2677
8126 msgid ""
8127 "If this block device contains LVM volume groups, then calling "
8128 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8129 "visible."
8130 msgstr ""
8131
8132 # type: =head2
8133 #: ../src/guestfs-actions.pod:2687
8134 msgid "guestfs_luks_open_ro"
8135 msgstr ""
8136
8137 # type: verbatim
8138 #: ../src/guestfs-actions.pod:2689
8139 #, no-wrap
8140 msgid ""
8141 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8142 "\t\tconst char *device,\n"
8143 "\t\tconst char *key,\n"
8144 "\t\tconst char *mapname);\n"
8145 "\n"
8146 msgstr ""
8147
8148 # type: textblock
8149 #: ../src/guestfs-actions.pod:2694
8150 msgid ""
8151 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8152 "created."
8153 msgstr ""
8154
8155 # type: =head2
8156 #: ../src/guestfs-actions.pod:2703
8157 msgid "guestfs_lvcreate"
8158 msgstr ""
8159
8160 # type: verbatim
8161 #: ../src/guestfs-actions.pod:2705
8162 #, no-wrap
8163 msgid ""
8164 " int guestfs_lvcreate (guestfs_h *g,\n"
8165 "\t\tconst char *logvol,\n"
8166 "\t\tconst char *volgroup,\n"
8167 "\t\tint mbytes);\n"
8168 "\n"
8169 msgstr ""
8170
8171 # type: textblock
8172 #: ../src/guestfs-actions.pod:2710 ../fish/guestfish-actions.pod:2119
8173 msgid ""
8174 "This creates an LVM logical volume called C<logvol> on the volume group "
8175 "C<volgroup>, with C<size> megabytes."
8176 msgstr ""
8177
8178 # type: =head2
8179 #: ../src/guestfs-actions.pod:2715
8180 msgid "guestfs_lvm_clear_filter"
8181 msgstr ""
8182
8183 # type: verbatim
8184 #: ../src/guestfs-actions.pod:2717
8185 #, no-wrap
8186 msgid ""
8187 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8188 "\n"
8189 msgstr ""
8190
8191 # type: textblock
8192 #: ../src/guestfs-actions.pod:2719
8193 msgid ""
8194 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8195 "see every block device."
8196 msgstr ""
8197
8198 # type: textblock
8199 #: ../src/guestfs-actions.pod:2722 ../src/guestfs-actions.pod:2758 ../fish/guestfish-actions.pod:2129 ../fish/guestfish-actions.pod:2160
8200 msgid "This command also clears the LVM cache and performs a volume group scan."
8201 msgstr ""
8202
8203 # type: =head2
8204 #: ../src/guestfs-actions.pod:2727
8205 msgid "guestfs_lvm_remove_all"
8206 msgstr ""
8207
8208 # type: verbatim
8209 #: ../src/guestfs-actions.pod:2729
8210 #, no-wrap
8211 msgid ""
8212 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8213 "\n"
8214 msgstr ""
8215
8216 # type: textblock
8217 #: ../src/guestfs-actions.pod:2731 ../fish/guestfish-actions.pod:2136
8218 msgid ""
8219 "This command removes all LVM logical volumes, volume groups and physical "
8220 "volumes."
8221 msgstr ""
8222
8223 # type: =head2
8224 #: ../src/guestfs-actions.pod:2739
8225 msgid "guestfs_lvm_set_filter"
8226 msgstr ""
8227
8228 # type: verbatim
8229 #: ../src/guestfs-actions.pod:2741
8230 #, no-wrap
8231 msgid ""
8232 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8233 "\t\tchar *const *devices);\n"
8234 "\n"
8235 msgstr ""
8236
8237 # type: textblock
8238 #: ../src/guestfs-actions.pod:2744 ../fish/guestfish-actions.pod:2146
8239 msgid ""
8240 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8241 "block devices in the list C<devices>, and will ignore all other attached "
8242 "block devices."
8243 msgstr ""
8244
8245 # type: textblock
8246 #: ../src/guestfs-actions.pod:2748 ../fish/guestfish-actions.pod:2150
8247 msgid ""
8248 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8249 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8250 "there are two types of duplication possible: either cloned PVs/VGs which "
8251 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8252 "same name.  In normal operation you cannot create this situation, but you "
8253 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8254 "inside the LVM metadata."
8255 msgstr ""
8256
8257 # type: textblock
8258 #: ../src/guestfs-actions.pod:2761 ../fish/guestfish-actions.pod:2163
8259 msgid "You can filter whole block devices or individual partitions."
8260 msgstr ""
8261
8262 # type: textblock
8263 #: ../src/guestfs-actions.pod:2763 ../fish/guestfish-actions.pod:2165
8264 msgid ""
8265 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8266 "filesystem), even if you are not filtering out that VG."
8267 msgstr ""
8268
8269 # type: =head2
8270 #: ../src/guestfs-actions.pod:2769
8271 msgid "guestfs_lvremove"
8272 msgstr ""
8273
8274 # type: verbatim
8275 #: ../src/guestfs-actions.pod:2771
8276 #, no-wrap
8277 msgid ""
8278 " int guestfs_lvremove (guestfs_h *g,\n"
8279 "\t\tconst char *device);\n"
8280 "\n"
8281 msgstr ""
8282
8283 # type: textblock
8284 #: ../src/guestfs-actions.pod:2774 ../fish/guestfish-actions.pod:2173
8285 msgid ""
8286 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8287 "LV, such as C</dev/VG/LV>."
8288 msgstr ""
8289
8290 # type: textblock
8291 #: ../src/guestfs-actions.pod:2777 ../fish/guestfish-actions.pod:2176
8292 msgid ""
8293 "You can also remove all LVs in a volume group by specifying the VG name, "
8294 "C</dev/VG>."
8295 msgstr ""
8296
8297 # type: =head2
8298 #: ../src/guestfs-actions.pod:2782
8299 msgid "guestfs_lvrename"
8300 msgstr ""
8301
8302 # type: verbatim
8303 #: ../src/guestfs-actions.pod:2784
8304 #, no-wrap
8305 msgid ""
8306 " int guestfs_lvrename (guestfs_h *g,\n"
8307 "\t\tconst char *logvol,\n"
8308 "\t\tconst char *newlogvol);\n"
8309 "\n"
8310 msgstr ""
8311
8312 # type: textblock
8313 #: ../src/guestfs-actions.pod:2788 ../fish/guestfish-actions.pod:2183
8314 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8315 msgstr ""
8316
8317 # type: =head2
8318 #: ../src/guestfs-actions.pod:2792
8319 msgid "guestfs_lvresize"
8320 msgstr ""
8321
8322 # type: verbatim
8323 #: ../src/guestfs-actions.pod:2794
8324 #, no-wrap
8325 msgid ""
8326 " int guestfs_lvresize (guestfs_h *g,\n"
8327 "\t\tconst char *device,\n"
8328 "\t\tint mbytes);\n"
8329 "\n"
8330 msgstr ""
8331
8332 # type: textblock
8333 #: ../src/guestfs-actions.pod:2798 ../fish/guestfish-actions.pod:2189
8334 msgid ""
8335 "This resizes (expands or shrinks) an existing LVM logical volume to "
8336 "C<mbytes>.  When reducing, data in the reduced part is lost."
8337 msgstr ""
8338
8339 # type: =head2
8340 #: ../src/guestfs-actions.pod:2804
8341 msgid "guestfs_lvresize_free"
8342 msgstr ""
8343
8344 # type: verbatim
8345 #: ../src/guestfs-actions.pod:2806
8346 #, no-wrap
8347 msgid ""
8348 " int guestfs_lvresize_free (guestfs_h *g,\n"
8349 "\t\tconst char *lv,\n"
8350 "\t\tint percent);\n"
8351 "\n"
8352 msgstr ""
8353
8354 # type: textblock
8355 #: ../src/guestfs-actions.pod:2810 ../fish/guestfish-actions.pod:2197
8356 msgid ""
8357 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
8358 "remaining free space in the volume group.  Commonly you would call this with "
8359 "pc = 100 which expands the logical volume as much as possible, using all "
8360 "remaining free space in the volume group."
8361 msgstr ""
8362
8363 # type: =head2
8364 #: ../src/guestfs-actions.pod:2818
8365 msgid "guestfs_lvs"
8366 msgstr ""
8367
8368 # type: verbatim
8369 #: ../src/guestfs-actions.pod:2820
8370 #, no-wrap
8371 msgid ""
8372 " char **guestfs_lvs (guestfs_h *g);\n"
8373 "\n"
8374 msgstr ""
8375
8376 # type: textblock
8377 #: ../src/guestfs-actions.pod:2822 ../fish/guestfish-actions.pod:2207
8378 msgid ""
8379 "List all the logical volumes detected.  This is the equivalent of the "
8380 "L<lvs(8)> command."
8381 msgstr ""
8382
8383 # type: textblock
8384 #: ../src/guestfs-actions.pod:2825 ../fish/guestfish-actions.pod:2210
8385 msgid ""
8386 "This returns a list of the logical volume device names "
8387 "(eg. C</dev/VolGroup00/LogVol00>)."
8388 msgstr ""
8389
8390 # type: textblock
8391 #: ../src/guestfs-actions.pod:2828
8392 msgid "See also C<guestfs_lvs_full>."
8393 msgstr ""
8394
8395 # type: =head2
8396 #: ../src/guestfs-actions.pod:2834
8397 msgid "guestfs_lvs_full"
8398 msgstr ""
8399
8400 # type: verbatim
8401 #: ../src/guestfs-actions.pod:2836
8402 #, no-wrap
8403 msgid ""
8404 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
8405 "\n"
8406 msgstr ""
8407
8408 # type: textblock
8409 #: ../src/guestfs-actions.pod:2838 ../fish/guestfish-actions.pod:2219
8410 msgid ""
8411 "List all the logical volumes detected.  This is the equivalent of the "
8412 "L<lvs(8)> command.  The \"full\" version includes all fields."
8413 msgstr ""
8414
8415 # type: textblock
8416 #: ../src/guestfs-actions.pod:2841
8417 msgid ""
8418 "This function returns a C<struct guestfs_lvm_lv_list *> (see "
8419 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
8420 "must call C<guestfs_free_lvm_lv_list> after use>."
8421 msgstr ""
8422
8423 # type: =head2
8424 #: ../src/guestfs-actions.pod:2846
8425 msgid "guestfs_lvuuid"
8426 msgstr ""
8427
8428 # type: verbatim
8429 #: ../src/guestfs-actions.pod:2848
8430 #, no-wrap
8431 msgid ""
8432 " char *guestfs_lvuuid (guestfs_h *g,\n"
8433 "\t\tconst char *device);\n"
8434 "\n"
8435 msgstr ""
8436
8437 # type: textblock
8438 #: ../src/guestfs-actions.pod:2851 ../fish/guestfish-actions.pod:2226
8439 msgid "This command returns the UUID of the LVM LV C<device>."
8440 msgstr ""
8441
8442 # type: =head2
8443 #: ../src/guestfs-actions.pod:2856
8444 msgid "guestfs_lxattrlist"
8445 msgstr ""
8446
8447 # type: verbatim
8448 #: ../src/guestfs-actions.pod:2858
8449 #, no-wrap
8450 msgid ""
8451 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
8452 "\t\tconst char *path,\n"
8453 "\t\tchar *const *names);\n"
8454 "\n"
8455 msgstr ""
8456
8457 # type: textblock
8458 #: ../src/guestfs-actions.pod:2862 ../fish/guestfish-actions.pod:2232
8459 msgid ""
8460 "This call allows you to get the extended attributes of multiple files, where "
8461 "all files are in the directory C<path>.  C<names> is the list of files from "
8462 "this directory."
8463 msgstr ""
8464
8465 # type: textblock
8466 #: ../src/guestfs-actions.pod:2866 ../fish/guestfish-actions.pod:2236
8467 msgid ""
8468 "On return you get a flat list of xattr structs which must be interpreted "
8469 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
8470 "C<attrval> in this struct is zero-length to indicate there was an error "
8471 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
8472 "number (the number of following attributes for this file, which could be "
8473 "C<\"0\">).  Then after the first xattr struct are the zero or more "
8474 "attributes for the first named file.  This repeats for the second and "
8475 "subsequent files."
8476 msgstr ""
8477
8478 # type: textblock
8479 #: ../src/guestfs-actions.pod:2876
8480 msgid ""
8481 "This call is intended for programs that want to efficiently list a directory "
8482 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
8483 "a similarly efficient call for getting standard stats.  Very long directory "
8484 "listings might cause the protocol message size to be exceeded, causing this "
8485 "call to fail.  The caller must split up such requests into smaller groups of "
8486 "names."
8487 msgstr ""
8488
8489 # type: =head2
8490 #: ../src/guestfs-actions.pod:2889
8491 msgid "guestfs_mkdir"
8492 msgstr ""
8493
8494 # type: verbatim
8495 #: ../src/guestfs-actions.pod:2891
8496 #, no-wrap
8497 msgid ""
8498 " int guestfs_mkdir (guestfs_h *g,\n"
8499 "\t\tconst char *path);\n"
8500 "\n"
8501 msgstr ""
8502
8503 # type: textblock
8504 #: ../src/guestfs-actions.pod:2894 ../fish/guestfish-actions.pod:2258
8505 msgid "Create a directory named C<path>."
8506 msgstr ""
8507
8508 # type: =head2
8509 #: ../src/guestfs-actions.pod:2898
8510 msgid "guestfs_mkdir_mode"
8511 msgstr ""
8512
8513 # type: verbatim
8514 #: ../src/guestfs-actions.pod:2900
8515 #, no-wrap
8516 msgid ""
8517 " int guestfs_mkdir_mode (guestfs_h *g,\n"
8518 "\t\tconst char *path,\n"
8519 "\t\tint mode);\n"
8520 "\n"
8521 msgstr ""
8522
8523 # type: textblock
8524 #: ../src/guestfs-actions.pod:2904 ../fish/guestfish-actions.pod:2264
8525 msgid ""
8526 "This command creates a directory, setting the initial permissions of the "
8527 "directory to C<mode>."
8528 msgstr ""
8529
8530 # type: textblock
8531 #: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2267
8532 msgid ""
8533 "For common Linux filesystems, the actual mode which is set will be C<mode & "
8534 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
8535 "other ways."
8536 msgstr ""
8537
8538 # type: textblock
8539 #: ../src/guestfs-actions.pod:2911
8540 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
8541 msgstr ""
8542
8543 # type: =head2
8544 #: ../src/guestfs-actions.pod:2915
8545 msgid "guestfs_mkdir_p"
8546 msgstr ""
8547
8548 # type: verbatim
8549 #: ../src/guestfs-actions.pod:2917
8550 #, no-wrap
8551 msgid ""
8552 " int guestfs_mkdir_p (guestfs_h *g,\n"
8553 "\t\tconst char *path);\n"
8554 "\n"
8555 msgstr ""
8556
8557 # type: textblock
8558 #: ../src/guestfs-actions.pod:2920 ../fish/guestfish-actions.pod:2277
8559 msgid ""
8560 "Create a directory named C<path>, creating any parent directories as "
8561 "necessary.  This is like the C<mkdir -p> shell command."
8562 msgstr ""
8563
8564 # type: =head2
8565 #: ../src/guestfs-actions.pod:2925
8566 msgid "guestfs_mkdtemp"
8567 msgstr ""
8568
8569 # type: verbatim
8570 #: ../src/guestfs-actions.pod:2927
8571 #, no-wrap
8572 msgid ""
8573 " char *guestfs_mkdtemp (guestfs_h *g,\n"
8574 "\t\tconst char *template);\n"
8575 "\n"
8576 msgstr ""
8577
8578 # type: textblock
8579 #: ../src/guestfs-actions.pod:2930 ../fish/guestfish-actions.pod:2284
8580 msgid ""
8581 "This command creates a temporary directory.  The C<template> parameter "
8582 "should be a full pathname for the temporary directory name with the final "
8583 "six characters being \"XXXXXX\"."
8584 msgstr ""
8585
8586 # type: textblock
8587 #: ../src/guestfs-actions.pod:2935 ../fish/guestfish-actions.pod:2289
8588 msgid ""
8589 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
8590 "being suitable for Windows filesystems."
8591 msgstr ""
8592
8593 # type: textblock
8594 #: ../src/guestfs-actions.pod:2938 ../fish/guestfish-actions.pod:2292
8595 msgid "The name of the temporary directory that was created is returned."
8596 msgstr ""
8597
8598 # type: textblock
8599 #: ../src/guestfs-actions.pod:2941 ../fish/guestfish-actions.pod:2295
8600 msgid "The temporary directory is created with mode 0700 and is owned by root."
8601 msgstr ""
8602
8603 # type: textblock
8604 #: ../src/guestfs-actions.pod:2944 ../fish/guestfish-actions.pod:2298
8605 msgid ""
8606 "The caller is responsible for deleting the temporary directory and its "
8607 "contents after use."
8608 msgstr ""
8609
8610 # type: textblock
8611 #: ../src/guestfs-actions.pod:2947 ../fish/guestfish-actions.pod:2301
8612 msgid "See also: L<mkdtemp(3)>"
8613 msgstr ""
8614
8615 # type: =head2
8616 #: ../src/guestfs-actions.pod:2952
8617 msgid "guestfs_mke2fs_J"
8618 msgstr ""
8619
8620 # type: verbatim
8621 #: ../src/guestfs-actions.pod:2954
8622 #, no-wrap
8623 msgid ""
8624 " int guestfs_mke2fs_J (guestfs_h *g,\n"
8625 "\t\tconst char *fstype,\n"
8626 "\t\tint blocksize,\n"
8627 "\t\tconst char *device,\n"
8628 "\t\tconst char *journal);\n"
8629 "\n"
8630 msgstr ""
8631
8632 # type: textblock
8633 #: ../src/guestfs-actions.pod:2960 ../fish/guestfish-actions.pod:2307
8634 msgid ""
8635 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8636 "C<journal>.  It is equivalent to the command:"
8637 msgstr ""
8638
8639 # type: verbatim
8640 #: ../src/guestfs-actions.pod:2964 ../fish/guestfish-actions.pod:2311
8641 #, no-wrap
8642 msgid ""
8643 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
8644 "\n"
8645 msgstr ""
8646
8647 # type: textblock
8648 #: ../src/guestfs-actions.pod:2966
8649 msgid "See also C<guestfs_mke2journal>."
8650 msgstr ""
8651
8652 # type: =head2
8653 #: ../src/guestfs-actions.pod:2970
8654 msgid "guestfs_mke2fs_JL"
8655 msgstr ""
8656
8657 # type: verbatim
8658 #: ../src/guestfs-actions.pod:2972
8659 #, no-wrap
8660 msgid ""
8661 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
8662 "\t\tconst char *fstype,\n"
8663 "\t\tint blocksize,\n"
8664 "\t\tconst char *device,\n"
8665 "\t\tconst char *label);\n"
8666 "\n"
8667 msgstr ""
8668
8669 # type: textblock
8670 #: ../src/guestfs-actions.pod:2978 ../fish/guestfish-actions.pod:2319
8671 msgid ""
8672 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8673 "the journal labeled C<label>."
8674 msgstr ""
8675
8676 # type: textblock
8677 #: ../src/guestfs-actions.pod:2981
8678 msgid "See also C<guestfs_mke2journal_L>."
8679 msgstr ""
8680
8681 # type: =head2
8682 #: ../src/guestfs-actions.pod:2985
8683 msgid "guestfs_mke2fs_JU"
8684 msgstr ""
8685
8686 # type: verbatim
8687 #: ../src/guestfs-actions.pod:2987
8688 #, no-wrap
8689 msgid ""
8690 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
8691 "\t\tconst char *fstype,\n"
8692 "\t\tint blocksize,\n"
8693 "\t\tconst char *device,\n"
8694 "\t\tconst char *uuid);\n"
8695 "\n"
8696 msgstr ""
8697
8698 # type: textblock
8699 #: ../src/guestfs-actions.pod:2993 ../fish/guestfish-actions.pod:2328
8700 msgid ""
8701 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8702 "the journal with UUID C<uuid>."
8703 msgstr ""
8704
8705 # type: textblock
8706 #: ../src/guestfs-actions.pod:2996
8707 msgid "See also C<guestfs_mke2journal_U>."
8708 msgstr ""
8709
8710 # type: =head2
8711 #: ../src/guestfs-actions.pod:3000
8712 msgid "guestfs_mke2journal"
8713 msgstr ""
8714
8715 # type: verbatim
8716 #: ../src/guestfs-actions.pod:3002
8717 #, no-wrap
8718 msgid ""
8719 " int guestfs_mke2journal (guestfs_h *g,\n"
8720 "\t\tint blocksize,\n"
8721 "\t\tconst char *device);\n"
8722 "\n"
8723 msgstr ""
8724
8725 # type: textblock
8726 #: ../src/guestfs-actions.pod:3006 ../fish/guestfish-actions.pod:2337
8727 msgid ""
8728 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
8729 "command:"
8730 msgstr ""
8731
8732 # type: verbatim
8733 #: ../src/guestfs-actions.pod:3009 ../fish/guestfish-actions.pod:2340
8734 #, no-wrap
8735 msgid ""
8736 " mke2fs -O journal_dev -b blocksize device\n"
8737 "\n"
8738 msgstr ""
8739
8740 # type: =head2
8741 #: ../src/guestfs-actions.pod:3013
8742 msgid "guestfs_mke2journal_L"
8743 msgstr ""
8744
8745 # type: verbatim
8746 #: ../src/guestfs-actions.pod:3015
8747 #, no-wrap
8748 msgid ""
8749 " int guestfs_mke2journal_L (guestfs_h *g,\n"
8750 "\t\tint blocksize,\n"
8751 "\t\tconst char *label,\n"
8752 "\t\tconst char *device);\n"
8753 "\n"
8754 msgstr ""
8755
8756 # type: textblock
8757 #: ../src/guestfs-actions.pod:3020 ../fish/guestfish-actions.pod:2346
8758 msgid "This creates an ext2 external journal on C<device> with label C<label>."
8759 msgstr ""
8760
8761 # type: =head2
8762 #: ../src/guestfs-actions.pod:3024
8763 msgid "guestfs_mke2journal_U"
8764 msgstr ""
8765
8766 # type: verbatim
8767 #: ../src/guestfs-actions.pod:3026
8768 #, no-wrap
8769 msgid ""
8770 " int guestfs_mke2journal_U (guestfs_h *g,\n"
8771 "\t\tint blocksize,\n"
8772 "\t\tconst char *uuid,\n"
8773 "\t\tconst char *device);\n"
8774 "\n"
8775 msgstr ""
8776
8777 # type: textblock
8778 #: ../src/guestfs-actions.pod:3031 ../fish/guestfish-actions.pod:2352
8779 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
8780 msgstr ""
8781
8782 # type: =head2
8783 #: ../src/guestfs-actions.pod:3035
8784 msgid "guestfs_mkfifo"
8785 msgstr ""
8786
8787 # type: verbatim
8788 #: ../src/guestfs-actions.pod:3037
8789 #, no-wrap
8790 msgid ""
8791 " int guestfs_mkfifo (guestfs_h *g,\n"
8792 "\t\tint mode,\n"
8793 "\t\tconst char *path);\n"
8794 "\n"
8795 msgstr ""
8796
8797 # type: textblock
8798 #: ../src/guestfs-actions.pod:3041
8799 msgid ""
8800 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
8801 "is just a convenient wrapper around C<guestfs_mknod>."
8802 msgstr ""
8803
8804 # type: =head2
8805 #: ../src/guestfs-actions.pod:3049
8806 msgid "guestfs_mkfs"
8807 msgstr ""
8808
8809 # type: verbatim
8810 #: ../src/guestfs-actions.pod:3051
8811 #, no-wrap
8812 msgid ""
8813 " int guestfs_mkfs (guestfs_h *g,\n"
8814 "\t\tconst char *fstype,\n"
8815 "\t\tconst char *device);\n"
8816 "\n"
8817 msgstr ""
8818
8819 # type: textblock
8820 #: ../src/guestfs-actions.pod:3055 ../fish/guestfish-actions.pod:2368
8821 msgid ""
8822 "This creates a filesystem on C<device> (usually a partition or LVM logical "
8823 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
8824 msgstr ""
8825
8826 # type: =head2
8827 #: ../src/guestfs-actions.pod:3061
8828 msgid "guestfs_mkfs_b"
8829 msgstr ""
8830
8831 # type: verbatim
8832 #: ../src/guestfs-actions.pod:3063
8833 #, no-wrap
8834 msgid ""
8835 " int guestfs_mkfs_b (guestfs_h *g,\n"
8836 "\t\tconst char *fstype,\n"
8837 "\t\tint blocksize,\n"
8838 "\t\tconst char *device);\n"
8839 "\n"
8840 msgstr ""
8841
8842 # type: textblock
8843 #: ../src/guestfs-actions.pod:3068
8844 msgid ""
8845 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
8846 "block size of the resulting filesystem.  Supported block sizes depend on the "
8847 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
8848 msgstr ""
8849
8850 # type: textblock
8851 #: ../src/guestfs-actions.pod:3073 ../fish/guestfish-actions.pod:2381
8852 msgid ""
8853 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
8854 "cluster size."
8855 msgstr ""
8856
8857 # type: =head2
8858 #: ../src/guestfs-actions.pod:3078
8859 msgid "guestfs_mkmountpoint"
8860 msgstr ""
8861
8862 # type: verbatim
8863 #: ../src/guestfs-actions.pod:3080
8864 #, no-wrap
8865 msgid ""
8866 " int guestfs_mkmountpoint (guestfs_h *g,\n"
8867 "\t\tconst char *exemptpath);\n"
8868 "\n"
8869 msgstr ""
8870
8871 # type: textblock
8872 #: ../src/guestfs-actions.pod:3083
8873 msgid ""
8874 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
8875 "that can be used to create extra mountpoints before mounting the first "
8876 "filesystem."
8877 msgstr ""
8878
8879 # type: textblock
8880 #: ../src/guestfs-actions.pod:3087 ../fish/guestfish-actions.pod:2392
8881 msgid ""
8882 "These calls are I<only> necessary in some very limited circumstances, mainly "
8883 "the case where you want to mount a mix of unrelated and/or read-only "
8884 "filesystems together."
8885 msgstr ""
8886
8887 # type: textblock
8888 #: ../src/guestfs-actions.pod:3091 ../fish/guestfish-actions.pod:2396
8889 msgid ""
8890 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
8891 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
8892 "inside that.  You can unpack this as follows in guestfish:"
8893 msgstr ""
8894
8895 # type: verbatim
8896 #: ../src/guestfs-actions.pod:3096 ../fish/guestfish-actions.pod:2401
8897 #, no-wrap
8898 msgid ""
8899 " add-ro Fedora-11-i686-Live.iso\n"
8900 " run\n"
8901 " mkmountpoint /cd\n"
8902 " mkmountpoint /squash\n"
8903 " mkmountpoint /ext3\n"
8904 " mount /dev/sda /cd\n"
8905 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
8906 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
8907 "\n"
8908 msgstr ""
8909
8910 # type: textblock
8911 #: ../src/guestfs-actions.pod:3105 ../fish/guestfish-actions.pod:2410
8912 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
8913 msgstr ""
8914
8915 # type: =head2
8916 #: ../src/guestfs-actions.pod:3109
8917 msgid "guestfs_mknod"
8918 msgstr ""
8919
8920 # type: verbatim
8921 #: ../src/guestfs-actions.pod:3111
8922 #, no-wrap
8923 msgid ""
8924 " int guestfs_mknod (guestfs_h *g,\n"
8925 "\t\tint mode,\n"
8926 "\t\tint devmajor,\n"
8927 "\t\tint devminor,\n"
8928 "\t\tconst char *path);\n"
8929 "\n"
8930 msgstr ""
8931
8932 # type: textblock
8933 #: ../src/guestfs-actions.pod:3117 ../fish/guestfish-actions.pod:2416
8934 msgid ""
8935 "This call creates block or character special devices, or named pipes "
8936 "(FIFOs)."
8937 msgstr ""
8938
8939 # type: textblock
8940 #: ../src/guestfs-actions.pod:3120 ../fish/guestfish-actions.pod:2419
8941 msgid ""
8942 "The C<mode> parameter should be the mode, using the standard constants.  "
8943 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
8944 "used when creating block and character special devices."
8945 msgstr ""
8946
8947 # type: textblock
8948 #: ../src/guestfs-actions.pod:3125
8949 msgid ""
8950 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
8951 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
8952 "regular file).  These constants are available in the standard Linux header "
8953 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
8954 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
8955 "the appropriate constant for you."
8956 msgstr ""
8957
8958 # type: =head2
8959 #: ../src/guestfs-actions.pod:3137
8960 msgid "guestfs_mknod_b"
8961 msgstr ""
8962
8963 # type: verbatim
8964 #: ../src/guestfs-actions.pod:3139
8965 #, no-wrap
8966 msgid ""
8967 " int guestfs_mknod_b (guestfs_h *g,\n"
8968 "\t\tint mode,\n"
8969 "\t\tint devmajor,\n"
8970 "\t\tint devminor,\n"
8971 "\t\tconst char *path);\n"
8972 "\n"
8973 msgstr ""
8974
8975 # type: textblock
8976 #: ../src/guestfs-actions.pod:3145
8977 msgid ""
8978 "This call creates a block device node called C<path> with mode C<mode> and "
8979 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
8980 "wrapper around C<guestfs_mknod>."
8981 msgstr ""
8982
8983 # type: =head2
8984 #: ../src/guestfs-actions.pod:3153
8985 msgid "guestfs_mknod_c"
8986 msgstr ""
8987
8988 # type: verbatim
8989 #: ../src/guestfs-actions.pod:3155
8990 #, no-wrap
8991 msgid ""
8992 " int guestfs_mknod_c (guestfs_h *g,\n"
8993 "\t\tint mode,\n"
8994 "\t\tint devmajor,\n"
8995 "\t\tint devminor,\n"
8996 "\t\tconst char *path);\n"
8997 "\n"
8998 msgstr ""
8999
9000 # type: textblock
9001 #: ../src/guestfs-actions.pod:3161
9002 msgid ""
9003 "This call creates a char device node called C<path> with mode C<mode> and "
9004 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9005 "wrapper around C<guestfs_mknod>."
9006 msgstr ""
9007
9008 # type: =head2
9009 #: ../src/guestfs-actions.pod:3169
9010 msgid "guestfs_mkswap"
9011 msgstr ""
9012
9013 # type: verbatim
9014 #: ../src/guestfs-actions.pod:3171
9015 #, no-wrap
9016 msgid ""
9017 " int guestfs_mkswap (guestfs_h *g,\n"
9018 "\t\tconst char *device);\n"
9019 "\n"
9020 msgstr ""
9021
9022 # type: textblock
9023 #: ../src/guestfs-actions.pod:3174 ../fish/guestfish-actions.pod:2458
9024 msgid "Create a swap partition on C<device>."
9025 msgstr ""
9026
9027 # type: =head2
9028 #: ../src/guestfs-actions.pod:3178
9029 msgid "guestfs_mkswap_L"
9030 msgstr ""
9031
9032 # type: verbatim
9033 #: ../src/guestfs-actions.pod:3180
9034 #, no-wrap
9035 msgid ""
9036 " int guestfs_mkswap_L (guestfs_h *g,\n"
9037 "\t\tconst char *label,\n"
9038 "\t\tconst char *device);\n"
9039 "\n"
9040 msgstr ""
9041
9042 # type: textblock
9043 #: ../src/guestfs-actions.pod:3184 ../fish/guestfish-actions.pod:2464
9044 msgid "Create a swap partition on C<device> with label C<label>."
9045 msgstr ""
9046
9047 # type: textblock
9048 #: ../src/guestfs-actions.pod:3186 ../fish/guestfish-actions.pod:2466
9049 msgid ""
9050 "Note that you cannot attach a swap label to a block device "
9051 "(eg. C</dev/sda>), just to a partition.  This appears to be a limitation of "
9052 "the kernel or swap tools."
9053 msgstr ""
9054
9055 # type: =head2
9056 #: ../src/guestfs-actions.pod:3192
9057 msgid "guestfs_mkswap_U"
9058 msgstr ""
9059
9060 # type: verbatim
9061 #: ../src/guestfs-actions.pod:3194
9062 #, no-wrap
9063 msgid ""
9064 " int guestfs_mkswap_U (guestfs_h *g,\n"
9065 "\t\tconst char *uuid,\n"
9066 "\t\tconst char *device);\n"
9067 "\n"
9068 msgstr ""
9069
9070 # type: textblock
9071 #: ../src/guestfs-actions.pod:3198 ../fish/guestfish-actions.pod:2474
9072 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9073 msgstr ""
9074
9075 # type: =head2
9076 #: ../src/guestfs-actions.pod:3202
9077 msgid "guestfs_mkswap_file"
9078 msgstr ""
9079
9080 # type: verbatim
9081 #: ../src/guestfs-actions.pod:3204
9082 #, no-wrap
9083 msgid ""
9084 " int guestfs_mkswap_file (guestfs_h *g,\n"
9085 "\t\tconst char *path);\n"
9086 "\n"
9087 msgstr ""
9088
9089 # type: textblock
9090 #: ../src/guestfs-actions.pod:3207 ../fish/guestfish-actions.pod:2480
9091 msgid "Create a swap file."
9092 msgstr ""
9093
9094 # type: textblock
9095 #: ../src/guestfs-actions.pod:3209
9096 msgid ""
9097 "This command just writes a swap file signature to an existing file.  To "
9098 "create the file itself, use something like C<guestfs_fallocate>."
9099 msgstr ""
9100
9101 # type: =head2
9102 #: ../src/guestfs-actions.pod:3214
9103 msgid "guestfs_modprobe"
9104 msgstr ""
9105
9106 # type: verbatim
9107 #: ../src/guestfs-actions.pod:3216
9108 #, no-wrap
9109 msgid ""
9110 " int guestfs_modprobe (guestfs_h *g,\n"
9111 "\t\tconst char *modulename);\n"
9112 "\n"
9113 msgstr ""
9114
9115 # type: textblock
9116 #: ../src/guestfs-actions.pod:3219 ../fish/guestfish-actions.pod:2489
9117 msgid "This loads a kernel module in the appliance."
9118 msgstr ""
9119
9120 # type: textblock
9121 #: ../src/guestfs-actions.pod:3221 ../fish/guestfish-actions.pod:2491
9122 msgid ""
9123 "The kernel module must have been whitelisted when libguestfs was built (see "
9124 "C<appliance/kmod.whitelist.in> in the source)."
9125 msgstr ""
9126
9127 # type: =head2
9128 #: ../src/guestfs-actions.pod:3226
9129 msgid "guestfs_mount"
9130 msgstr ""
9131
9132 # type: verbatim
9133 #: ../src/guestfs-actions.pod:3228
9134 #, no-wrap
9135 msgid ""
9136 " int guestfs_mount (guestfs_h *g,\n"
9137 "\t\tconst char *device,\n"
9138 "\t\tconst char *mountpoint);\n"
9139 "\n"
9140 msgstr ""
9141
9142 # type: textblock
9143 #: ../src/guestfs-actions.pod:3232 ../fish/guestfish-actions.pod:2498
9144 msgid ""
9145 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9146 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9147 "those block devices contain partitions, they will have the usual names "
9148 "(eg. C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9149 msgstr ""
9150
9151 # type: textblock
9152 #: ../src/guestfs-actions.pod:3238 ../fish/guestfish-actions.pod:2504
9153 msgid ""
9154 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9155 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9156 "mounted on directories which already exist."
9157 msgstr ""
9158
9159 # type: textblock
9160 #: ../src/guestfs-actions.pod:3243 ../fish/guestfish-actions.pod:2509
9161 msgid ""
9162 "The mounted filesystem is writable, if we have sufficient permissions on the "
9163 "underlying device."
9164 msgstr ""
9165
9166 # type: textblock
9167 #: ../src/guestfs-actions.pod:3246
9168 msgid ""
9169 "B<Important note:> When you use this call, the filesystem options C<sync> "
9170 "and C<noatime> are set implicitly.  This was originally done because we "
9171 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9172 "very large negative performance impact and negligible effect on "
9173 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9174 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9175 "(use an empty string for the first parameter if you don't want any options)."
9176 msgstr ""
9177
9178 # type: =head2
9179 #: ../src/guestfs-actions.pod:3258
9180 msgid "guestfs_mount_loop"
9181 msgstr ""
9182
9183 # type: verbatim
9184 #: ../src/guestfs-actions.pod:3260
9185 #, no-wrap
9186 msgid ""
9187 " int guestfs_mount_loop (guestfs_h *g,\n"
9188 "\t\tconst char *file,\n"
9189 "\t\tconst char *mountpoint);\n"
9190 "\n"
9191 msgstr ""
9192
9193 # type: textblock
9194 #: ../src/guestfs-actions.pod:3264 ../fish/guestfish-actions.pod:2526
9195 msgid ""
9196 "This command lets you mount C<file> (a filesystem image in a file) on a "
9197 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9198 "mountpoint>."
9199 msgstr ""
9200
9201 # type: =head2
9202 #: ../src/guestfs-actions.pod:3270
9203 msgid "guestfs_mount_options"
9204 msgstr ""
9205
9206 # type: verbatim
9207 #: ../src/guestfs-actions.pod:3272
9208 #, no-wrap
9209 msgid ""
9210 " int guestfs_mount_options (guestfs_h *g,\n"
9211 "\t\tconst char *options,\n"
9212 "\t\tconst char *device,\n"
9213 "\t\tconst char *mountpoint);\n"
9214 "\n"
9215 msgstr ""
9216
9217 # type: textblock
9218 #: ../src/guestfs-actions.pod:3277
9219 msgid ""
9220 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9221 "the mount options as for the L<mount(8)> I<-o> flag."
9222 msgstr ""
9223
9224 # type: textblock
9225 #: ../src/guestfs-actions.pod:3281 ../fish/guestfish-actions.pod:2538
9226 msgid ""
9227 "If the C<options> parameter is an empty string, then no options are passed "
9228 "(all options default to whatever the filesystem uses)."
9229 msgstr ""
9230
9231 # type: =head2
9232 #: ../src/guestfs-actions.pod:3287
9233 msgid "guestfs_mount_ro"
9234 msgstr ""
9235
9236 # type: verbatim
9237 #: ../src/guestfs-actions.pod:3289
9238 #, no-wrap
9239 msgid ""
9240 " int guestfs_mount_ro (guestfs_h *g,\n"
9241 "\t\tconst char *device,\n"
9242 "\t\tconst char *mountpoint);\n"
9243 "\n"
9244 msgstr ""
9245
9246 # type: textblock
9247 #: ../src/guestfs-actions.pod:3293
9248 msgid ""
9249 "This is the same as the C<guestfs_mount> command, but it mounts the "
9250 "filesystem with the read-only (I<-o ro>) flag."
9251 msgstr ""
9252
9253 # type: =head2
9254 #: ../src/guestfs-actions.pod:3298
9255 msgid "guestfs_mount_vfs"
9256 msgstr ""
9257
9258 # type: verbatim
9259 #: ../src/guestfs-actions.pod:3300
9260 #, no-wrap
9261 msgid ""
9262 " int guestfs_mount_vfs (guestfs_h *g,\n"
9263 "\t\tconst char *options,\n"
9264 "\t\tconst char *vfstype,\n"
9265 "\t\tconst char *device,\n"
9266 "\t\tconst char *mountpoint);\n"
9267 "\n"
9268 msgstr ""
9269
9270 # type: textblock
9271 #: ../src/guestfs-actions.pod:3306
9272 msgid ""
9273 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9274 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and "
9275 "I<-t> flags."
9276 msgstr ""
9277
9278 # type: =head2
9279 #: ../src/guestfs-actions.pod:3312
9280 msgid "guestfs_mountpoints"
9281 msgstr ""
9282
9283 # type: verbatim
9284 #: ../src/guestfs-actions.pod:3314
9285 #, no-wrap
9286 msgid ""
9287 " char **guestfs_mountpoints (guestfs_h *g);\n"
9288 "\n"
9289 msgstr ""
9290
9291 # type: textblock
9292 #: ../src/guestfs-actions.pod:3316
9293 msgid ""
9294 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9295 "devices.  This one returns a hash table (map) of device name to directory "
9296 "where the device is mounted."
9297 msgstr ""
9298
9299 # type: =head2
9300 #: ../src/guestfs-actions.pod:3326
9301 msgid "guestfs_mounts"
9302 msgstr ""
9303
9304 # type: verbatim
9305 #: ../src/guestfs-actions.pod:3328
9306 #, no-wrap
9307 msgid ""
9308 " char **guestfs_mounts (guestfs_h *g);\n"
9309 "\n"
9310 msgstr ""
9311
9312 # type: textblock
9313 #: ../src/guestfs-actions.pod:3330 ../fish/guestfish-actions.pod:2569
9314 msgid ""
9315 "This returns the list of currently mounted filesystems.  It returns the list "
9316 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9317 msgstr ""
9318
9319 # type: textblock
9320 #: ../src/guestfs-actions.pod:3333 ../fish/guestfish-actions.pod:2572
9321 msgid "Some internal mounts are not shown."
9322 msgstr ""
9323
9324 # type: textblock
9325 #: ../src/guestfs-actions.pod:3335
9326 msgid "See also: C<guestfs_mountpoints>"
9327 msgstr ""
9328
9329 # type: =head2
9330 #: ../src/guestfs-actions.pod:3341
9331 msgid "guestfs_mv"
9332 msgstr ""
9333
9334 # type: verbatim
9335 #: ../src/guestfs-actions.pod:3343
9336 #, no-wrap
9337 msgid ""
9338 " int guestfs_mv (guestfs_h *g,\n"
9339 "\t\tconst char *src,\n"
9340 "\t\tconst char *dest);\n"
9341 "\n"
9342 msgstr ""
9343
9344 # type: textblock
9345 #: ../src/guestfs-actions.pod:3347 ../fish/guestfish-actions.pod:2580
9346 msgid ""
9347 "This moves a file from C<src> to C<dest> where C<dest> is either a "
9348 "destination filename or destination directory."
9349 msgstr ""
9350
9351 # type: =head2
9352 #: ../src/guestfs-actions.pod:3352
9353 msgid "guestfs_ntfs_3g_probe"
9354 msgstr ""
9355
9356 # type: verbatim
9357 #: ../src/guestfs-actions.pod:3354
9358 #, no-wrap
9359 msgid ""
9360 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
9361 "\t\tint rw,\n"
9362 "\t\tconst char *device);\n"
9363 "\n"
9364 msgstr ""
9365
9366 # type: textblock
9367 #: ../src/guestfs-actions.pod:3358 ../fish/guestfish-actions.pod:2587
9368 msgid ""
9369 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
9370 "C<device> for mountability.  (Not all NTFS volumes can be mounted "
9371 "read-write, and some cannot be mounted at all)."
9372 msgstr ""
9373
9374 # type: textblock
9375 #: ../src/guestfs-actions.pod:3362 ../fish/guestfish-actions.pod:2591
9376 msgid ""
9377 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
9378 "can be mounted read-write.  Set it to false if you want to test if the "
9379 "volume can be mounted read-only."
9380 msgstr ""
9381
9382 # type: textblock
9383 #: ../src/guestfs-actions.pod:3366 ../fish/guestfish-actions.pod:2595
9384 msgid ""
9385 "The return value is an integer which C<0> if the operation would succeed, or "
9386 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
9387 msgstr ""
9388
9389 # type: =head2
9390 #: ../src/guestfs-actions.pod:3372
9391 msgid "guestfs_ntfsresize"
9392 msgstr ""
9393
9394 # type: verbatim
9395 #: ../src/guestfs-actions.pod:3374
9396 #, no-wrap
9397 msgid ""
9398 " int guestfs_ntfsresize (guestfs_h *g,\n"
9399 "\t\tconst char *device);\n"
9400 "\n"
9401 msgstr ""
9402
9403 # type: textblock
9404 #: ../src/guestfs-actions.pod:3377 ../fish/guestfish-actions.pod:2603
9405 msgid ""
9406 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
9407 "size of the underlying device.  See also L<ntfsresize(8)>."
9408 msgstr ""
9409
9410 # type: =head2
9411 #: ../src/guestfs-actions.pod:3383
9412 msgid "guestfs_ntfsresize_size"
9413 msgstr ""
9414
9415 # type: verbatim
9416 #: ../src/guestfs-actions.pod:3385
9417 #, no-wrap
9418 msgid ""
9419 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
9420 "\t\tconst char *device,\n"
9421 "\t\tint64_t size);\n"
9422 "\n"
9423 msgstr ""
9424
9425 # type: textblock
9426 #: ../src/guestfs-actions.pod:3389
9427 msgid ""
9428 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
9429 "to specify the new size (in bytes) explicitly."
9430 msgstr ""
9431
9432 # type: =head2
9433 #: ../src/guestfs-actions.pod:3394
9434 msgid "guestfs_part_add"
9435 msgstr ""
9436
9437 # type: verbatim
9438 #: ../src/guestfs-actions.pod:3396
9439 #, no-wrap
9440 msgid ""
9441 " int guestfs_part_add (guestfs_h *g,\n"
9442 "\t\tconst char *device,\n"
9443 "\t\tconst char *prlogex,\n"
9444 "\t\tint64_t startsect,\n"
9445 "\t\tint64_t endsect);\n"
9446 "\n"
9447 msgstr ""
9448
9449 # type: textblock
9450 #: ../src/guestfs-actions.pod:3402
9451 msgid ""
9452 "This command adds a partition to C<device>.  If there is no partition table "
9453 "on the device, call C<guestfs_part_init> first."
9454 msgstr ""
9455
9456 # type: textblock
9457 #: ../src/guestfs-actions.pod:3405 ../fish/guestfish-actions.pod:2621
9458 msgid ""
9459 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
9460 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
9461 "C<logical>) and C<e> (or C<extended>) partition types."
9462 msgstr ""
9463
9464 # type: textblock
9465 #: ../src/guestfs-actions.pod:3410 ../fish/guestfish-actions.pod:2626
9466 msgid ""
9467 "C<startsect> and C<endsect> are the start and end of the partition in "
9468 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
9469 "from the end of the disk (C<-1> is the last sector)."
9470 msgstr ""
9471
9472 # type: textblock
9473 #: ../src/guestfs-actions.pod:3414
9474 msgid ""
9475 "Creating a partition which covers the whole disk is not so easy.  Use "
9476 "C<guestfs_part_disk> to do that."
9477 msgstr ""
9478
9479 # type: =head2
9480 #: ../src/guestfs-actions.pod:3419
9481 msgid "guestfs_part_del"
9482 msgstr ""
9483
9484 # type: verbatim
9485 #: ../src/guestfs-actions.pod:3421
9486 #, no-wrap
9487 msgid ""
9488 " int guestfs_part_del (guestfs_h *g,\n"
9489 "\t\tconst char *device,\n"
9490 "\t\tint partnum);\n"
9491 "\n"
9492 msgstr ""
9493
9494 # type: textblock
9495 #: ../src/guestfs-actions.pod:3425 ../fish/guestfish-actions.pod:2637
9496 msgid "This command deletes the partition numbered C<partnum> on C<device>."
9497 msgstr ""
9498
9499 # type: textblock
9500 #: ../src/guestfs-actions.pod:3427 ../fish/guestfish-actions.pod:2639
9501 msgid ""
9502 "Note that in the case of MBR partitioning, deleting an extended partition "
9503 "also deletes any logical partitions it contains."
9504 msgstr ""
9505
9506 # type: =head2
9507 #: ../src/guestfs-actions.pod:3433
9508 msgid "guestfs_part_disk"
9509 msgstr ""
9510
9511 # type: verbatim
9512 #: ../src/guestfs-actions.pod:3435
9513 #, no-wrap
9514 msgid ""
9515 " int guestfs_part_disk (guestfs_h *g,\n"
9516 "\t\tconst char *device,\n"
9517 "\t\tconst char *parttype);\n"
9518 "\n"
9519 msgstr ""
9520
9521 # type: textblock
9522 #: ../src/guestfs-actions.pod:3439
9523 msgid ""
9524 "This command is simply a combination of C<guestfs_part_init> followed by "
9525 "C<guestfs_part_add> to create a single primary partition covering the whole "
9526 "disk."
9527 msgstr ""
9528
9529 # type: textblock
9530 #: ../src/guestfs-actions.pod:3443
9531 msgid ""
9532 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
9533 "possible values are described in C<guestfs_part_init>."
9534 msgstr ""
9535
9536 # type: =head2
9537 #: ../src/guestfs-actions.pod:3451
9538 msgid "guestfs_part_get_bootable"
9539 msgstr ""
9540
9541 # type: verbatim
9542 #: ../src/guestfs-actions.pod:3453
9543 #, no-wrap
9544 msgid ""
9545 " int guestfs_part_get_bootable (guestfs_h *g,\n"
9546 "\t\tconst char *device,\n"
9547 "\t\tint partnum);\n"
9548 "\n"
9549 msgstr ""
9550
9551 # type: textblock
9552 #: ../src/guestfs-actions.pod:3457 ../fish/guestfish-actions.pod:2661
9553 msgid ""
9554 "This command returns true if the partition C<partnum> on C<device> has the "
9555 "bootable flag set."
9556 msgstr ""
9557
9558 # type: textblock
9559 #: ../src/guestfs-actions.pod:3460
9560 msgid "See also C<guestfs_part_set_bootable>."
9561 msgstr ""
9562
9563 # type: =head2
9564 #: ../src/guestfs-actions.pod:3464
9565 msgid "guestfs_part_get_mbr_id"
9566 msgstr ""
9567
9568 # type: verbatim
9569 #: ../src/guestfs-actions.pod:3466
9570 #, no-wrap
9571 msgid ""
9572 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
9573 "\t\tconst char *device,\n"
9574 "\t\tint partnum);\n"
9575 "\n"
9576 msgstr ""
9577
9578 # type: textblock
9579 #: ../src/guestfs-actions.pod:3470 ../fish/guestfish-actions.pod:2670
9580 msgid ""
9581 "Returns the MBR type byte (also known as the ID byte) from the numbered "
9582 "partition C<partnum>."
9583 msgstr ""
9584
9585 # type: textblock
9586 #: ../src/guestfs-actions.pod:3473 ../src/guestfs-actions.pod:3635
9587 msgid ""
9588 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
9589 "undefined results for other partition table types (see "
9590 "C<guestfs_part_get_parttype>)."
9591 msgstr ""
9592
9593 # type: =head2
9594 #: ../src/guestfs-actions.pod:3479
9595 msgid "guestfs_part_get_parttype"
9596 msgstr ""
9597
9598 # type: verbatim
9599 #: ../src/guestfs-actions.pod:3481
9600 #, no-wrap
9601 msgid ""
9602 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
9603 "\t\tconst char *device);\n"
9604 "\n"
9605 msgstr ""
9606
9607 # type: textblock
9608 #: ../src/guestfs-actions.pod:3484 ../fish/guestfish-actions.pod:2681
9609 msgid ""
9610 "This command examines the partition table on C<device> and returns the "
9611 "partition table type (format) being used."
9612 msgstr ""
9613
9614 # type: textblock
9615 #: ../src/guestfs-actions.pod:3487
9616 msgid ""
9617 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
9618 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
9619 "possible, although unusual.  See C<guestfs_part_init> for a full list."
9620 msgstr ""
9621
9622 # type: =head2
9623 #: ../src/guestfs-actions.pod:3495
9624 msgid "guestfs_part_init"
9625 msgstr ""
9626
9627 # type: verbatim
9628 #: ../src/guestfs-actions.pod:3497
9629 #, no-wrap
9630 msgid ""
9631 " int guestfs_part_init (guestfs_h *g,\n"
9632 "\t\tconst char *device,\n"
9633 "\t\tconst char *parttype);\n"
9634 "\n"
9635 msgstr ""
9636
9637 # type: textblock
9638 #: ../src/guestfs-actions.pod:3501 ../fish/guestfish-actions.pod:2693
9639 msgid ""
9640 "This creates an empty partition table on C<device> of one of the partition "
9641 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
9642 "(for large disks)."
9643 msgstr ""
9644
9645 # type: textblock
9646 #: ../src/guestfs-actions.pod:3505
9647 msgid ""
9648 "Initially there are no partitions.  Following this, you should call "
9649 "C<guestfs_part_add> for each partition required."
9650 msgstr ""
9651
9652 # type: textblock
9653 #: ../src/guestfs-actions.pod:3508 ../fish/guestfish-actions.pod:2700
9654 msgid "Possible values for C<parttype> are:"
9655 msgstr ""
9656
9657 # type: =item
9658 #: ../src/guestfs-actions.pod:3512 ../fish/guestfish-actions.pod:2704
9659 msgid "B<efi> | B<gpt>"
9660 msgstr ""
9661
9662 # type: textblock
9663 #: ../src/guestfs-actions.pod:3514 ../fish/guestfish-actions.pod:2706
9664 msgid "Intel EFI / GPT partition table."
9665 msgstr ""
9666
9667 # type: textblock
9668 #: ../src/guestfs-actions.pod:3516 ../fish/guestfish-actions.pod:2708
9669 msgid ""
9670 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
9671 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
9672 "the C<mbr> format."
9673 msgstr ""
9674
9675 # type: =item
9676 #: ../src/guestfs-actions.pod:3520 ../fish/guestfish-actions.pod:2712
9677 msgid "B<mbr> | B<msdos>"
9678 msgstr ""
9679
9680 # type: textblock
9681 #: ../src/guestfs-actions.pod:3522 ../fish/guestfish-actions.pod:2714
9682 msgid ""
9683 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
9684 "Windows.  This partition type will B<only> work for device sizes up to 2 "
9685 "TB.  For large disks we recommend using C<gpt>."
9686 msgstr ""
9687
9688 # type: textblock
9689 #: ../src/guestfs-actions.pod:3529 ../fish/guestfish-actions.pod:2721
9690 msgid "Other partition table types that may work but are not supported include:"
9691 msgstr ""
9692
9693 # type: =item
9694 #: ../src/guestfs-actions.pod:3534 ../fish/guestfish-actions.pod:2726
9695 msgid "B<aix>"
9696 msgstr ""
9697
9698 # type: textblock
9699 #: ../src/guestfs-actions.pod:3536 ../fish/guestfish-actions.pod:2728
9700 msgid "AIX disk labels."
9701 msgstr ""
9702
9703 # type: =item
9704 #: ../src/guestfs-actions.pod:3538 ../fish/guestfish-actions.pod:2730
9705 msgid "B<amiga> | B<rdb>"
9706 msgstr ""
9707
9708 # type: textblock
9709 #: ../src/guestfs-actions.pod:3540 ../fish/guestfish-actions.pod:2732
9710 msgid "Amiga \"Rigid Disk Block\" format."
9711 msgstr ""
9712
9713 # type: =item
9714 #: ../src/guestfs-actions.pod:3542 ../fish/guestfish-actions.pod:2734
9715 msgid "B<bsd>"
9716 msgstr ""
9717
9718 # type: textblock
9719 #: ../src/guestfs-actions.pod:3544 ../fish/guestfish-actions.pod:2736
9720 msgid "BSD disk labels."
9721 msgstr ""
9722
9723 # type: =item
9724 #: ../src/guestfs-actions.pod:3546 ../fish/guestfish-actions.pod:2738
9725 msgid "B<dasd>"
9726 msgstr ""
9727
9728 # type: textblock
9729 #: ../src/guestfs-actions.pod:3548 ../fish/guestfish-actions.pod:2740
9730 msgid "DASD, used on IBM mainframes."
9731 msgstr ""
9732
9733 # type: =item
9734 #: ../src/guestfs-actions.pod:3550 ../fish/guestfish-actions.pod:2742
9735 msgid "B<dvh>"
9736 msgstr ""
9737
9738 # type: textblock
9739 #: ../src/guestfs-actions.pod:3552 ../fish/guestfish-actions.pod:2744
9740 msgid "MIPS/SGI volumes."
9741 msgstr ""
9742
9743 # type: =item
9744 #: ../src/guestfs-actions.pod:3554 ../fish/guestfish-actions.pod:2746
9745 msgid "B<mac>"
9746 msgstr ""
9747
9748 # type: textblock
9749 #: ../src/guestfs-actions.pod:3556 ../fish/guestfish-actions.pod:2748
9750 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
9751 msgstr ""
9752
9753 # type: =item
9754 #: ../src/guestfs-actions.pod:3558 ../fish/guestfish-actions.pod:2750
9755 msgid "B<pc98>"
9756 msgstr ""
9757
9758 # type: textblock
9759 #: ../src/guestfs-actions.pod:3560 ../fish/guestfish-actions.pod:2752
9760 msgid "NEC PC-98 format, common in Japan apparently."
9761 msgstr ""
9762
9763 # type: =item
9764 #: ../src/guestfs-actions.pod:3562 ../fish/guestfish-actions.pod:2754
9765 msgid "B<sun>"
9766 msgstr ""
9767
9768 # type: textblock
9769 #: ../src/guestfs-actions.pod:3564 ../fish/guestfish-actions.pod:2756
9770 msgid "Sun disk labels."
9771 msgstr ""
9772
9773 # type: =head2
9774 #: ../src/guestfs-actions.pod:3570
9775 msgid "guestfs_part_list"
9776 msgstr ""
9777
9778 # type: verbatim
9779 #: ../src/guestfs-actions.pod:3572
9780 #, no-wrap
9781 msgid ""
9782 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
9783 "\t\tconst char *device);\n"
9784 "\n"
9785 msgstr ""
9786
9787 # type: textblock
9788 #: ../src/guestfs-actions.pod:3575 ../fish/guestfish-actions.pod:2764
9789 msgid ""
9790 "This command parses the partition table on C<device> and returns the list of "
9791 "partitions found."
9792 msgstr ""
9793
9794 # type: textblock
9795 #: ../src/guestfs-actions.pod:3578 ../fish/guestfish-actions.pod:2767
9796 msgid "The fields in the returned structure are:"
9797 msgstr ""
9798
9799 # type: =item
9800 #: ../src/guestfs-actions.pod:3582 ../fish/guestfish-actions.pod:2771
9801 msgid "B<part_num>"
9802 msgstr ""
9803
9804 # type: textblock
9805 #: ../src/guestfs-actions.pod:3584 ../fish/guestfish-actions.pod:2773
9806 msgid "Partition number, counting from 1."
9807 msgstr ""
9808
9809 # type: =item
9810 #: ../src/guestfs-actions.pod:3586 ../fish/guestfish-actions.pod:2775
9811 msgid "B<part_start>"
9812 msgstr ""
9813
9814 # type: textblock
9815 #: ../src/guestfs-actions.pod:3588
9816 msgid ""
9817 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
9818 "the device's sector size, see C<guestfs_blockdev_getss>."
9819 msgstr ""
9820
9821 # type: =item
9822 #: ../src/guestfs-actions.pod:3591 ../fish/guestfish-actions.pod:2780
9823 msgid "B<part_end>"
9824 msgstr ""
9825
9826 # type: textblock
9827 #: ../src/guestfs-actions.pod:3593 ../fish/guestfish-actions.pod:2782
9828 msgid "End of the partition in bytes."
9829 msgstr ""
9830
9831 # type: =item
9832 #: ../src/guestfs-actions.pod:3595 ../fish/guestfish-actions.pod:2784
9833 msgid "B<part_size>"
9834 msgstr ""
9835
9836 # type: textblock
9837 #: ../src/guestfs-actions.pod:3597 ../fish/guestfish-actions.pod:2786
9838 msgid "Size of the partition in bytes."
9839 msgstr ""
9840
9841 # type: textblock
9842 #: ../src/guestfs-actions.pod:3601
9843 msgid ""
9844 "This function returns a C<struct guestfs_partition_list *> (see "
9845 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
9846 "must call C<guestfs_free_partition_list> after use>."
9847 msgstr ""
9848
9849 # type: =head2
9850 #: ../src/guestfs-actions.pod:3606
9851 msgid "guestfs_part_set_bootable"
9852 msgstr ""
9853
9854 # type: verbatim
9855 #: ../src/guestfs-actions.pod:3608
9856 #, no-wrap
9857 msgid ""
9858 " int guestfs_part_set_bootable (guestfs_h *g,\n"
9859 "\t\tconst char *device,\n"
9860 "\t\tint partnum,\n"
9861 "\t\tint bootable);\n"
9862 "\n"
9863 msgstr ""
9864
9865 # type: textblock
9866 #: ../src/guestfs-actions.pod:3613 ../fish/guestfish-actions.pod:2794
9867 msgid ""
9868 "This sets the bootable flag on partition numbered C<partnum> on device "
9869 "C<device>.  Note that partitions are numbered from 1."
9870 msgstr ""
9871
9872 # type: textblock
9873 #: ../src/guestfs-actions.pod:3616 ../fish/guestfish-actions.pod:2797
9874 msgid ""
9875 "The bootable flag is used by some operating systems (notably Windows) to "
9876 "determine which partition to boot from.  It is by no means universally "
9877 "recognized."
9878 msgstr ""
9879
9880 # type: =head2
9881 #: ../src/guestfs-actions.pod:3622
9882 msgid "guestfs_part_set_mbr_id"
9883 msgstr ""
9884
9885 # type: verbatim
9886 #: ../src/guestfs-actions.pod:3624
9887 #, no-wrap
9888 msgid ""
9889 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
9890 "\t\tconst char *device,\n"
9891 "\t\tint partnum,\n"
9892 "\t\tint idbyte);\n"
9893 "\n"
9894 msgstr ""
9895
9896 # type: textblock
9897 #: ../src/guestfs-actions.pod:3629 ../fish/guestfish-actions.pod:2805
9898 msgid ""
9899 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
9900 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
9901 "documentation are in fact hexadecimal numbers, but usually documented "
9902 "without any leading \"0x\" which might be confusing."
9903 msgstr ""
9904
9905 # type: =head2
9906 #: ../src/guestfs-actions.pod:3641
9907 msgid "guestfs_part_set_name"
9908 msgstr ""
9909
9910 # type: verbatim
9911 #: ../src/guestfs-actions.pod:3643
9912 #, no-wrap
9913 msgid ""
9914 " int guestfs_part_set_name (guestfs_h *g,\n"
9915 "\t\tconst char *device,\n"
9916 "\t\tint partnum,\n"
9917 "\t\tconst char *name);\n"
9918 "\n"
9919 msgstr ""
9920
9921 # type: textblock
9922 #: ../src/guestfs-actions.pod:3648 ../fish/guestfish-actions.pod:2819
9923 msgid ""
9924 "This sets the partition name on partition numbered C<partnum> on device "
9925 "C<device>.  Note that partitions are numbered from 1."
9926 msgstr ""
9927
9928 # type: textblock
9929 #: ../src/guestfs-actions.pod:3651 ../fish/guestfish-actions.pod:2822
9930 msgid ""
9931 "The partition name can only be set on certain types of partition table.  "
9932 "This works on C<gpt> but not on C<mbr> partitions."
9933 msgstr ""
9934
9935 # type: =head2
9936 #: ../src/guestfs-actions.pod:3656
9937 msgid "guestfs_ping_daemon"
9938 msgstr ""
9939
9940 # type: verbatim
9941 #: ../src/guestfs-actions.pod:3658
9942 #, no-wrap
9943 msgid ""
9944 " int guestfs_ping_daemon (guestfs_h *g);\n"
9945 "\n"
9946 msgstr ""
9947
9948 # type: textblock
9949 #: ../src/guestfs-actions.pod:3660 ../fish/guestfish-actions.pod:2829
9950 msgid ""
9951 "This is a test probe into the guestfs daemon running inside the qemu "
9952 "subprocess.  Calling this function checks that the daemon responds to the "
9953 "ping message, without affecting the daemon or attached block device(s) in "
9954 "any other way."
9955 msgstr ""
9956
9957 # type: =head2
9958 #: ../src/guestfs-actions.pod:3667
9959 msgid "guestfs_pread"
9960 msgstr ""
9961
9962 # type: verbatim
9963 #: ../src/guestfs-actions.pod:3669
9964 #, no-wrap
9965 msgid ""
9966 " char *guestfs_pread (guestfs_h *g,\n"
9967 "\t\tconst char *path,\n"
9968 "\t\tint count,\n"
9969 "\t\tint64_t offset,\n"
9970 "\t\tsize_t *size_r);\n"
9971 "\n"
9972 msgstr ""
9973
9974 # type: textblock
9975 #: ../src/guestfs-actions.pod:3675 ../fish/guestfish-actions.pod:2838
9976 msgid ""
9977 "This command lets you read part of a file.  It reads C<count> bytes of the "
9978 "file, starting at C<offset>, from file C<path>."
9979 msgstr ""
9980
9981 # type: textblock
9982 #: ../src/guestfs-actions.pod:3678 ../fish/guestfish-actions.pod:2841
9983 msgid ""
9984 "This may read fewer bytes than requested.  For further details see the "
9985 "L<pread(2)> system call."
9986 msgstr ""
9987
9988 # type: textblock
9989 #: ../src/guestfs-actions.pod:3681
9990 msgid "See also C<guestfs_pwrite>."
9991 msgstr ""
9992
9993 # type: =head2
9994 #: ../src/guestfs-actions.pod:3690
9995 msgid "guestfs_pvcreate"
9996 msgstr ""
9997
9998 # type: verbatim
9999 #: ../src/guestfs-actions.pod:3692
10000 #, no-wrap
10001 msgid ""
10002 " int guestfs_pvcreate (guestfs_h *g,\n"
10003 "\t\tconst char *device);\n"
10004 "\n"
10005 msgstr ""
10006
10007 # type: textblock
10008 #: ../src/guestfs-actions.pod:3695 ../fish/guestfish-actions.pod:2853
10009 msgid ""
10010 "This creates an LVM physical volume on the named C<device>, where C<device> "
10011 "should usually be a partition name such as C</dev/sda1>."
10012 msgstr ""
10013
10014 # type: =head2
10015 #: ../src/guestfs-actions.pod:3701
10016 msgid "guestfs_pvremove"
10017 msgstr ""
10018
10019 # type: verbatim
10020 #: ../src/guestfs-actions.pod:3703
10021 #, no-wrap
10022 msgid ""
10023 " int guestfs_pvremove (guestfs_h *g,\n"
10024 "\t\tconst char *device);\n"
10025 "\n"
10026 msgstr ""
10027
10028 # type: textblock
10029 #: ../src/guestfs-actions.pod:3706 ../fish/guestfish-actions.pod:2861
10030 msgid ""
10031 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10032 "it."
10033 msgstr ""
10034
10035 # type: textblock
10036 #: ../src/guestfs-actions.pod:3709 ../fish/guestfish-actions.pod:2864
10037 msgid ""
10038 "The implementation uses the C<pvremove> command which refuses to wipe "
10039 "physical volumes that contain any volume groups, so you have to remove those "
10040 "first."
10041 msgstr ""
10042
10043 # type: =head2
10044 #: ../src/guestfs-actions.pod:3715
10045 msgid "guestfs_pvresize"
10046 msgstr ""
10047
10048 # type: verbatim
10049 #: ../src/guestfs-actions.pod:3717
10050 #, no-wrap
10051 msgid ""
10052 " int guestfs_pvresize (guestfs_h *g,\n"
10053 "\t\tconst char *device);\n"
10054 "\n"
10055 msgstr ""
10056
10057 # type: textblock
10058 #: ../src/guestfs-actions.pod:3720 ../fish/guestfish-actions.pod:2872
10059 msgid ""
10060 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10061 "the new size of the underlying device."
10062 msgstr ""
10063
10064 # type: =head2
10065 #: ../src/guestfs-actions.pod:3725
10066 msgid "guestfs_pvresize_size"
10067 msgstr ""
10068
10069 # type: verbatim
10070 #: ../src/guestfs-actions.pod:3727
10071 #, no-wrap
10072 msgid ""
10073 " int guestfs_pvresize_size (guestfs_h *g,\n"
10074 "\t\tconst char *device,\n"
10075 "\t\tint64_t size);\n"
10076 "\n"
10077 msgstr ""
10078
10079 # type: textblock
10080 #: ../src/guestfs-actions.pod:3731
10081 msgid ""
10082 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10083 "specify the new size (in bytes) explicitly."
10084 msgstr ""
10085
10086 # type: =head2
10087 #: ../src/guestfs-actions.pod:3736
10088 msgid "guestfs_pvs"
10089 msgstr ""
10090
10091 # type: verbatim
10092 #: ../src/guestfs-actions.pod:3738
10093 #, no-wrap
10094 msgid ""
10095 " char **guestfs_pvs (guestfs_h *g);\n"
10096 "\n"
10097 msgstr ""
10098
10099 # type: textblock
10100 #: ../src/guestfs-actions.pod:3740 ../fish/guestfish-actions.pod:2886
10101 msgid ""
10102 "List all the physical volumes detected.  This is the equivalent of the "
10103 "L<pvs(8)> command."
10104 msgstr ""
10105
10106 # type: textblock
10107 #: ../src/guestfs-actions.pod:3743 ../fish/guestfish-actions.pod:2889
10108 msgid ""
10109 "This returns a list of just the device names that contain PVs "
10110 "(eg. C</dev/sda2>)."
10111 msgstr ""
10112
10113 # type: textblock
10114 #: ../src/guestfs-actions.pod:3746
10115 msgid "See also C<guestfs_pvs_full>."
10116 msgstr ""
10117
10118 # type: =head2
10119 #: ../src/guestfs-actions.pod:3752
10120 msgid "guestfs_pvs_full"
10121 msgstr ""
10122
10123 # type: verbatim
10124 #: ../src/guestfs-actions.pod:3754
10125 #, no-wrap
10126 msgid ""
10127 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10128 "\n"
10129 msgstr ""
10130
10131 # type: textblock
10132 #: ../src/guestfs-actions.pod:3756 ../fish/guestfish-actions.pod:2898
10133 msgid ""
10134 "List all the physical volumes detected.  This is the equivalent of the "
10135 "L<pvs(8)> command.  The \"full\" version includes all fields."
10136 msgstr ""
10137
10138 # type: textblock
10139 #: ../src/guestfs-actions.pod:3759
10140 msgid ""
10141 "This function returns a C<struct guestfs_lvm_pv_list *> (see "
10142 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10143 "must call C<guestfs_free_lvm_pv_list> after use>."
10144 msgstr ""
10145
10146 # type: =head2
10147 #: ../src/guestfs-actions.pod:3764
10148 msgid "guestfs_pvuuid"
10149 msgstr ""
10150
10151 # type: verbatim
10152 #: ../src/guestfs-actions.pod:3766
10153 #, no-wrap
10154 msgid ""
10155 " char *guestfs_pvuuid (guestfs_h *g,\n"
10156 "\t\tconst char *device);\n"
10157 "\n"
10158 msgstr ""
10159
10160 # type: textblock
10161 #: ../src/guestfs-actions.pod:3769 ../fish/guestfish-actions.pod:2905
10162 msgid "This command returns the UUID of the LVM PV C<device>."
10163 msgstr ""
10164
10165 # type: =head2
10166 #: ../src/guestfs-actions.pod:3774
10167 msgid "guestfs_pwrite"
10168 msgstr ""
10169
10170 # type: verbatim
10171 #: ../src/guestfs-actions.pod:3776
10172 #, no-wrap
10173 msgid ""
10174 " int guestfs_pwrite (guestfs_h *g,\n"
10175 "\t\tconst char *path,\n"
10176 "\t\tconst char *content,\n"
10177 "\t\tsize_t content_size,\n"
10178 "\t\tint64_t offset);\n"
10179 "\n"
10180 msgstr ""
10181
10182 # type: textblock
10183 #: ../src/guestfs-actions.pod:3782 ../fish/guestfish-actions.pod:2911
10184 msgid ""
10185 "This command writes to part of a file.  It writes the data buffer C<content> "
10186 "to the file C<path> starting at offset C<offset>."
10187 msgstr ""
10188
10189 # type: textblock
10190 #: ../src/guestfs-actions.pod:3785 ../fish/guestfish-actions.pod:2914
10191 msgid ""
10192 "This command implements the L<pwrite(2)> system call, and like that system "
10193 "call it may not write the full data requested.  The return value is the "
10194 "number of bytes that were actually written to the file.  This could even be "
10195 "0, although short writes are unlikely for regular files in ordinary "
10196 "circumstances."
10197 msgstr ""
10198
10199 # type: textblock
10200 #: ../src/guestfs-actions.pod:3791
10201 msgid "See also C<guestfs_pread>."
10202 msgstr ""
10203
10204 # type: =head2
10205 #: ../src/guestfs-actions.pod:3798
10206 msgid "guestfs_read_file"
10207 msgstr ""
10208
10209 # type: verbatim
10210 #: ../src/guestfs-actions.pod:3800
10211 #, no-wrap
10212 msgid ""
10213 " char *guestfs_read_file (guestfs_h *g,\n"
10214 "\t\tconst char *path,\n"
10215 "\t\tsize_t *size_r);\n"
10216 "\n"
10217 msgstr ""
10218
10219 # type: textblock
10220 #: ../src/guestfs-actions.pod:3804 ../fish/guestfish-actions.pod:2929
10221 msgid "This calls returns the contents of the file C<path> as a buffer."
10222 msgstr ""
10223
10224 # type: textblock
10225 #: ../src/guestfs-actions.pod:3807
10226 msgid ""
10227 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
10228 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
10229 "function is limited in the total size of file that can be handled."
10230 msgstr ""
10231
10232 # type: =head2
10233 #: ../src/guestfs-actions.pod:3819
10234 msgid "guestfs_read_lines"
10235 msgstr ""
10236
10237 # type: verbatim
10238 #: ../src/guestfs-actions.pod:3821
10239 #, no-wrap
10240 msgid ""
10241 " char **guestfs_read_lines (guestfs_h *g,\n"
10242 "\t\tconst char *path);\n"
10243 "\n"
10244 msgstr ""
10245
10246 # type: textblock
10247 #: ../src/guestfs-actions.pod:3826 ../fish/guestfish-actions.pod:2946
10248 msgid ""
10249 "The file contents are returned as a list of lines.  Trailing C<LF> and "
10250 "C<CRLF> character sequences are I<not> returned."
10251 msgstr ""
10252
10253 # type: textblock
10254 #: ../src/guestfs-actions.pod:3829
10255 msgid ""
10256 "Note that this function cannot correctly handle binary files (specifically, "
10257 "files containing C<\\0> character which is treated as end of line).  For "
10258 "those you need to use the C<guestfs_read_file> function which has a more "
10259 "complex interface."
10260 msgstr ""
10261
10262 # type: =head2
10263 #: ../src/guestfs-actions.pod:3838
10264 msgid "guestfs_readdir"
10265 msgstr ""
10266
10267 # type: verbatim
10268 #: ../src/guestfs-actions.pod:3840
10269 #, no-wrap
10270 msgid ""
10271 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
10272 "\t\tconst char *dir);\n"
10273 "\n"
10274 msgstr ""
10275
10276 # type: textblock
10277 #: ../src/guestfs-actions.pod:3843 ../fish/guestfish-actions.pod:2958
10278 msgid "This returns the list of directory entries in directory C<dir>."
10279 msgstr ""
10280
10281 # type: textblock
10282 #: ../src/guestfs-actions.pod:3845 ../fish/guestfish-actions.pod:2960
10283 msgid ""
10284 "All entries in the directory are returned, including C<.> and C<..>.  The "
10285 "entries are I<not> sorted, but returned in the same order as the underlying "
10286 "filesystem."
10287 msgstr ""
10288
10289 # type: textblock
10290 #: ../src/guestfs-actions.pod:3849 ../fish/guestfish-actions.pod:2964
10291 msgid ""
10292 "Also this call returns basic file type information about each file.  The "
10293 "C<ftyp> field will contain one of the following characters:"
10294 msgstr ""
10295
10296 # type: =item
10297 #: ../src/guestfs-actions.pod:3854 ../fish/guestfish-actions.pod:2969
10298 msgid "'b'"
10299 msgstr ""
10300
10301 # type: textblock
10302 #: ../src/guestfs-actions.pod:3856 ../fish/guestfish-actions.pod:2971
10303 msgid "Block special"
10304 msgstr ""
10305
10306 # type: =item
10307 #: ../src/guestfs-actions.pod:3858 ../fish/guestfish-actions.pod:2973
10308 msgid "'c'"
10309 msgstr ""
10310
10311 # type: textblock
10312 #: ../src/guestfs-actions.pod:3860 ../fish/guestfish-actions.pod:2975
10313 msgid "Char special"
10314 msgstr ""
10315
10316 # type: =item
10317 #: ../src/guestfs-actions.pod:3862 ../fish/guestfish-actions.pod:2977
10318 msgid "'d'"
10319 msgstr ""
10320
10321 # type: textblock
10322 #: ../src/guestfs-actions.pod:3864 ../fish/guestfish-actions.pod:2979
10323 msgid "Directory"
10324 msgstr ""
10325
10326 # type: =item
10327 #: ../src/guestfs-actions.pod:3866 ../fish/guestfish-actions.pod:2981
10328 msgid "'f'"
10329 msgstr ""
10330
10331 # type: textblock
10332 #: ../src/guestfs-actions.pod:3868 ../fish/guestfish-actions.pod:2983
10333 msgid "FIFO (named pipe)"
10334 msgstr ""
10335
10336 # type: =item
10337 #: ../src/guestfs-actions.pod:3870 ../fish/guestfish-actions.pod:2985
10338 msgid "'l'"
10339 msgstr ""
10340
10341 # type: textblock
10342 #: ../src/guestfs-actions.pod:3872 ../fish/guestfish-actions.pod:2987
10343 msgid "Symbolic link"
10344 msgstr ""
10345
10346 # type: =item
10347 #: ../src/guestfs-actions.pod:3874 ../fish/guestfish-actions.pod:2989
10348 msgid "'r'"
10349 msgstr ""
10350
10351 # type: textblock
10352 #: ../src/guestfs-actions.pod:3876 ../fish/guestfish-actions.pod:2991
10353 msgid "Regular file"
10354 msgstr ""
10355
10356 # type: =item
10357 #: ../src/guestfs-actions.pod:3878 ../fish/guestfish-actions.pod:2993
10358 msgid "'s'"
10359 msgstr ""
10360
10361 # type: textblock
10362 #: ../src/guestfs-actions.pod:3880 ../fish/guestfish-actions.pod:2995
10363 msgid "Socket"
10364 msgstr ""
10365
10366 # type: =item
10367 #: ../src/guestfs-actions.pod:3882 ../fish/guestfish-actions.pod:2997
10368 msgid "'u'"
10369 msgstr ""
10370
10371 # type: textblock
10372 #: ../src/guestfs-actions.pod:3884 ../fish/guestfish-actions.pod:2999
10373 msgid "Unknown file type"
10374 msgstr ""
10375
10376 # type: =item
10377 #: ../src/guestfs-actions.pod:3886 ../fish/guestfish-actions.pod:3001
10378 msgid "'?'"
10379 msgstr ""
10380
10381 # type: textblock
10382 #: ../src/guestfs-actions.pod:3888 ../fish/guestfish-actions.pod:3003
10383 msgid "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
10384 msgstr ""
10385
10386 # type: textblock
10387 #: ../src/guestfs-actions.pod:3893
10388 msgid ""
10389 "This function is primarily intended for use by programs.  To get a simple "
10390 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
10391 "consumption, use C<guestfs_ll>."
10392 msgstr ""
10393
10394 # type: textblock
10395 #: ../src/guestfs-actions.pod:3897
10396 msgid ""
10397 "This function returns a C<struct guestfs_dirent_list *> (see "
10398 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10399 "must call C<guestfs_free_dirent_list> after use>."
10400 msgstr ""
10401
10402 # type: =head2
10403 #: ../src/guestfs-actions.pod:3902
10404 msgid "guestfs_readlink"
10405 msgstr ""
10406
10407 # type: verbatim
10408 #: ../src/guestfs-actions.pod:3904
10409 #, no-wrap
10410 msgid ""
10411 " char *guestfs_readlink (guestfs_h *g,\n"
10412 "\t\tconst char *path);\n"
10413 "\n"
10414 msgstr ""
10415
10416 # type: textblock
10417 #: ../src/guestfs-actions.pod:3907 ../fish/guestfish-actions.pod:3016
10418 msgid "This command reads the target of a symbolic link."
10419 msgstr ""
10420
10421 # type: =head2
10422 #: ../src/guestfs-actions.pod:3912
10423 msgid "guestfs_readlinklist"
10424 msgstr ""
10425
10426 # type: verbatim
10427 #: ../src/guestfs-actions.pod:3914
10428 #, no-wrap
10429 msgid ""
10430 " char **guestfs_readlinklist (guestfs_h *g,\n"
10431 "\t\tconst char *path,\n"
10432 "\t\tchar *const *names);\n"
10433 "\n"
10434 msgstr ""
10435
10436 # type: textblock
10437 #: ../src/guestfs-actions.pod:3918 ../fish/guestfish-actions.pod:3022
10438 msgid ""
10439 "This call allows you to do a C<readlink> operation on multiple files, where "
10440 "all files are in the directory C<path>.  C<names> is the list of files from "
10441 "this directory."
10442 msgstr ""
10443
10444 # type: textblock
10445 #: ../src/guestfs-actions.pod:3922 ../fish/guestfish-actions.pod:3026
10446 msgid ""
10447 "On return you get a list of strings, with a one-to-one correspondence to the "
10448 "C<names> list.  Each string is the value of the symbolic link."
10449 msgstr ""
10450
10451 # type: textblock
10452 #: ../src/guestfs-actions.pod:3926 ../fish/guestfish-actions.pod:3030
10453 msgid ""
10454 "If the C<readlink(2)> operation fails on any name, then the corresponding "
10455 "result string is the empty string C<\"\">.  However the whole operation is "
10456 "completed even if there were C<readlink(2)> errors, and so you can call this "
10457 "function with names where you don't know if they are symbolic links already "
10458 "(albeit slightly less efficient)."
10459 msgstr ""
10460
10461 # type: textblock
10462 #: ../src/guestfs-actions.pod:3933 ../fish/guestfish-actions.pod:3037
10463 msgid ""
10464 "This call is intended for programs that want to efficiently list a directory "
10465 "contents without making many round-trips.  Very long directory listings "
10466 "might cause the protocol message size to be exceeded, causing this call to "
10467 "fail.  The caller must split up such requests into smaller groups of names."
10468 msgstr ""
10469
10470 # type: =head2
10471 #: ../src/guestfs-actions.pod:3944
10472 msgid "guestfs_realpath"
10473 msgstr ""
10474
10475 # type: verbatim
10476 #: ../src/guestfs-actions.pod:3946
10477 #, no-wrap
10478 msgid ""
10479 " char *guestfs_realpath (guestfs_h *g,\n"
10480 "\t\tconst char *path);\n"
10481 "\n"
10482 msgstr ""
10483
10484 # type: textblock
10485 #: ../src/guestfs-actions.pod:3949 ../fish/guestfish-actions.pod:3048
10486 msgid ""
10487 "Return the canonicalized absolute pathname of C<path>.  The returned path "
10488 "has no C<.>, C<..> or symbolic link path elements."
10489 msgstr ""
10490
10491 # type: =head2
10492 #: ../src/guestfs-actions.pod:3955
10493 msgid "guestfs_removexattr"
10494 msgstr ""
10495
10496 # type: verbatim
10497 #: ../src/guestfs-actions.pod:3957
10498 #, no-wrap
10499 msgid ""
10500 " int guestfs_removexattr (guestfs_h *g,\n"
10501 "\t\tconst char *xattr,\n"
10502 "\t\tconst char *path);\n"
10503 "\n"
10504 msgstr ""
10505
10506 # type: textblock
10507 #: ../src/guestfs-actions.pod:3961 ../fish/guestfish-actions.pod:3055
10508 msgid "This call removes the extended attribute named C<xattr> of the file C<path>."
10509 msgstr ""
10510
10511 # type: textblock
10512 #: ../src/guestfs-actions.pod:3964
10513 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
10514 msgstr ""
10515
10516 # type: =head2
10517 #: ../src/guestfs-actions.pod:3968
10518 msgid "guestfs_resize2fs"
10519 msgstr ""
10520
10521 # type: verbatim
10522 #: ../src/guestfs-actions.pod:3970
10523 #, no-wrap
10524 msgid ""
10525 " int guestfs_resize2fs (guestfs_h *g,\n"
10526 "\t\tconst char *device);\n"
10527 "\n"
10528 msgstr ""
10529
10530 # type: textblock
10531 #: ../src/guestfs-actions.pod:3973 ../fish/guestfish-actions.pod:3064
10532 msgid ""
10533 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
10534 "underlying device."
10535 msgstr ""
10536
10537 # type: textblock
10538 #: ../src/guestfs-actions.pod:3976
10539 msgid ""
10540 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
10541 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
10542 "sometimes gives an error about this and sometimes not.  In any case, it is "
10543 "always safe to call C<guestfs_e2fsck_f> before calling this function."
10544 msgstr ""
10545
10546 # type: =head2
10547 #: ../src/guestfs-actions.pod:3984
10548 msgid "guestfs_resize2fs_size"
10549 msgstr ""
10550
10551 # type: verbatim
10552 #: ../src/guestfs-actions.pod:3986
10553 #, no-wrap
10554 msgid ""
10555 " int guestfs_resize2fs_size (guestfs_h *g,\n"
10556 "\t\tconst char *device,\n"
10557 "\t\tint64_t size);\n"
10558 "\n"
10559 msgstr ""
10560
10561 # type: textblock
10562 #: ../src/guestfs-actions.pod:3990
10563 msgid ""
10564 "This command is the same as C<guestfs_resize2fs> except that it allows you "
10565 "to specify the new size (in bytes) explicitly."
10566 msgstr ""
10567
10568 # type: =head2
10569 #: ../src/guestfs-actions.pod:3995
10570 msgid "guestfs_rm"
10571 msgstr ""
10572
10573 # type: verbatim
10574 #: ../src/guestfs-actions.pod:3997
10575 #, no-wrap
10576 msgid ""
10577 " int guestfs_rm (guestfs_h *g,\n"
10578 "\t\tconst char *path);\n"
10579 "\n"
10580 msgstr ""
10581
10582 # type: textblock
10583 #: ../src/guestfs-actions.pod:4000 ../fish/guestfish-actions.pod:3084
10584 msgid "Remove the single file C<path>."
10585 msgstr ""
10586
10587 # type: =head2
10588 #: ../src/guestfs-actions.pod:4004
10589 msgid "guestfs_rm_rf"
10590 msgstr ""
10591
10592 # type: verbatim
10593 #: ../src/guestfs-actions.pod:4006
10594 #, no-wrap
10595 msgid ""
10596 " int guestfs_rm_rf (guestfs_h *g,\n"
10597 "\t\tconst char *path);\n"
10598 "\n"
10599 msgstr ""
10600
10601 # type: textblock
10602 #: ../src/guestfs-actions.pod:4009 ../fish/guestfish-actions.pod:3090
10603 msgid ""
10604 "Remove the file or directory C<path>, recursively removing the contents if "
10605 "its a directory.  This is like the C<rm -rf> shell command."
10606 msgstr ""
10607
10608 # type: =head2
10609 #: ../src/guestfs-actions.pod:4015
10610 msgid "guestfs_rmdir"
10611 msgstr ""
10612
10613 # type: verbatim
10614 #: ../src/guestfs-actions.pod:4017
10615 #, no-wrap
10616 msgid ""
10617 " int guestfs_rmdir (guestfs_h *g,\n"
10618 "\t\tconst char *path);\n"
10619 "\n"
10620 msgstr ""
10621
10622 # type: textblock
10623 #: ../src/guestfs-actions.pod:4020 ../fish/guestfish-actions.pod:3098
10624 msgid "Remove the single directory C<path>."
10625 msgstr ""
10626
10627 # type: =head2
10628 #: ../src/guestfs-actions.pod:4024
10629 msgid "guestfs_rmmountpoint"
10630 msgstr ""
10631
10632 # type: verbatim
10633 #: ../src/guestfs-actions.pod:4026
10634 #, no-wrap
10635 msgid ""
10636 " int guestfs_rmmountpoint (guestfs_h *g,\n"
10637 "\t\tconst char *exemptpath);\n"
10638 "\n"
10639 msgstr ""
10640
10641 # type: textblock
10642 #: ../src/guestfs-actions.pod:4029
10643 msgid ""
10644 "This calls removes a mountpoint that was previously created with "
10645 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
10646 msgstr ""
10647
10648 # type: =head2
10649 #: ../src/guestfs-actions.pod:4035
10650 msgid "guestfs_scrub_device"
10651 msgstr ""
10652
10653 # type: verbatim
10654 #: ../src/guestfs-actions.pod:4037
10655 #, no-wrap
10656 msgid ""
10657 " int guestfs_scrub_device (guestfs_h *g,\n"
10658 "\t\tconst char *device);\n"
10659 "\n"
10660 msgstr ""
10661
10662 # type: textblock
10663 #: ../src/guestfs-actions.pod:4040 ../fish/guestfish-actions.pod:3112
10664 msgid ""
10665 "This command writes patterns over C<device> to make data retrieval more "
10666 "difficult."
10667 msgstr ""
10668
10669 # type: textblock
10670 #: ../src/guestfs-actions.pod:4043 ../src/guestfs-actions.pod:4061 ../src/guestfs-actions.pod:4077 ../fish/guestfish-actions.pod:3115 ../fish/guestfish-actions.pod:3130 ../fish/guestfish-actions.pod:3143
10671 msgid ""
10672 "It is an interface to the L<scrub(1)> program.  See that manual page for "
10673 "more details."
10674 msgstr ""
10675
10676 # type: =head2
10677 #: ../src/guestfs-actions.pod:4051
10678 msgid "guestfs_scrub_file"
10679 msgstr ""
10680
10681 # type: verbatim
10682 #: ../src/guestfs-actions.pod:4053
10683 #, no-wrap
10684 msgid ""
10685 " int guestfs_scrub_file (guestfs_h *g,\n"
10686 "\t\tconst char *file);\n"
10687 "\n"
10688 msgstr ""
10689
10690 # type: textblock
10691 #: ../src/guestfs-actions.pod:4056 ../fish/guestfish-actions.pod:3125
10692 msgid ""
10693 "This command writes patterns over a file to make data retrieval more "
10694 "difficult."
10695 msgstr ""
10696
10697 # type: textblock
10698 #: ../src/guestfs-actions.pod:4059 ../fish/guestfish-actions.pod:3128
10699 msgid "The file is I<removed> after scrubbing."
10700 msgstr ""
10701
10702 # type: =head2
10703 #: ../src/guestfs-actions.pod:4066
10704 msgid "guestfs_scrub_freespace"
10705 msgstr ""
10706
10707 # type: verbatim
10708 #: ../src/guestfs-actions.pod:4068
10709 #, no-wrap
10710 msgid ""
10711 " int guestfs_scrub_freespace (guestfs_h *g,\n"
10712 "\t\tconst char *dir);\n"
10713 "\n"
10714 msgstr ""
10715
10716 # type: textblock
10717 #: ../src/guestfs-actions.pod:4071
10718 msgid ""
10719 "This command creates the directory C<dir> and then fills it with files until "
10720 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
10721 "and deletes them.  The intention is to scrub any free space on the partition "
10722 "containing C<dir>."
10723 msgstr ""
10724
10725 # type: =head2
10726 #: ../src/guestfs-actions.pod:4082
10727 msgid "guestfs_set_append"
10728 msgstr ""
10729
10730 # type: verbatim
10731 #: ../src/guestfs-actions.pod:4084
10732 #, no-wrap
10733 msgid ""
10734 " int guestfs_set_append (guestfs_h *g,\n"
10735 "\t\tconst char *append);\n"
10736 "\n"
10737 msgstr ""
10738
10739 # type: textblock
10740 #: ../src/guestfs-actions.pod:4087 ../fish/guestfish-actions.pod:3150
10741 msgid ""
10742 "This function is used to add additional options to the guest kernel command "
10743 "line."
10744 msgstr ""
10745
10746 # type: textblock
10747 #: ../src/guestfs-actions.pod:4090 ../fish/guestfish-actions.pod:3153
10748 msgid ""
10749 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
10750 "environment variable."
10751 msgstr ""
10752
10753 # type: textblock
10754 #: ../src/guestfs-actions.pod:4093 ../fish/guestfish-actions.pod:3156
10755 msgid ""
10756 "Setting C<append> to C<NULL> means I<no> additional options are passed "
10757 "(libguestfs always adds a few of its own)."
10758 msgstr ""
10759
10760 # type: =head2
10761 #: ../src/guestfs-actions.pod:4098
10762 msgid "guestfs_set_autosync"
10763 msgstr ""
10764
10765 # type: verbatim
10766 #: ../src/guestfs-actions.pod:4100
10767 #, no-wrap
10768 msgid ""
10769 " int guestfs_set_autosync (guestfs_h *g,\n"
10770 "\t\tint autosync);\n"
10771 "\n"
10772 msgstr ""
10773
10774 # type: textblock
10775 #: ../src/guestfs-actions.pod:4103
10776 msgid ""
10777 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
10778 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
10779 "the handle is closed (also if the program exits without closing handles)."
10780 msgstr ""
10781
10782 # type: textblock
10783 #: ../src/guestfs-actions.pod:4108 ../fish/guestfish-actions.pod:3168
10784 msgid ""
10785 "This is disabled by default (except in guestfish where it is enabled by "
10786 "default)."
10787 msgstr ""
10788
10789 # type: =head2
10790 #: ../src/guestfs-actions.pod:4113
10791 msgid "guestfs_set_direct"
10792 msgstr ""
10793
10794 # type: verbatim
10795 #: ../src/guestfs-actions.pod:4115
10796 #, no-wrap
10797 msgid ""
10798 " int guestfs_set_direct (guestfs_h *g,\n"
10799 "\t\tint direct);\n"
10800 "\n"
10801 msgstr ""
10802
10803 # type: textblock
10804 #: ../src/guestfs-actions.pod:4118 ../fish/guestfish-actions.pod:3175
10805 msgid ""
10806 "If the direct appliance mode flag is enabled, then stdin and stdout are "
10807 "passed directly through to the appliance once it is launched."
10808 msgstr ""
10809
10810 # type: textblock
10811 #: ../src/guestfs-actions.pod:4122
10812 msgid ""
10813 "One consequence of this is that log messages aren't caught by the library "
10814 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
10815 "stdout."
10816 msgstr ""
10817
10818 # type: textblock
10819 #: ../src/guestfs-actions.pod:4126 ../fish/guestfish-actions.pod:3183
10820 msgid "You probably don't want to use this unless you know what you are doing."
10821 msgstr ""
10822
10823 # type: textblock
10824 #: ../src/guestfs-actions.pod:4129 ../fish/guestfish-actions.pod:3186
10825 msgid "The default is disabled."
10826 msgstr ""
10827
10828 # type: =head2
10829 #: ../src/guestfs-actions.pod:4133
10830 msgid "guestfs_set_e2label"
10831 msgstr ""
10832
10833 # type: verbatim
10834 #: ../src/guestfs-actions.pod:4135
10835 #, no-wrap
10836 msgid ""
10837 " int guestfs_set_e2label (guestfs_h *g,\n"
10838 "\t\tconst char *device,\n"
10839 "\t\tconst char *label);\n"
10840 "\n"
10841 msgstr ""
10842
10843 # type: textblock
10844 #: ../src/guestfs-actions.pod:4139 ../fish/guestfish-actions.pod:3192
10845 msgid ""
10846 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
10847 "C<label>.  Filesystem labels are limited to 16 characters."
10848 msgstr ""
10849
10850 # type: textblock
10851 #: ../src/guestfs-actions.pod:4143
10852 msgid ""
10853 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
10854 "the existing label on a filesystem."
10855 msgstr ""
10856
10857 # type: =head2
10858 #: ../src/guestfs-actions.pod:4148
10859 msgid "guestfs_set_e2uuid"
10860 msgstr ""
10861
10862 # type: verbatim
10863 #: ../src/guestfs-actions.pod:4150
10864 #, no-wrap
10865 msgid ""
10866 " int guestfs_set_e2uuid (guestfs_h *g,\n"
10867 "\t\tconst char *device,\n"
10868 "\t\tconst char *uuid);\n"
10869 "\n"
10870 msgstr ""
10871
10872 # type: textblock
10873 #: ../src/guestfs-actions.pod:4154 ../fish/guestfish-actions.pod:3203
10874 msgid ""
10875 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
10876 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
10877 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
10878 msgstr ""
10879
10880 # type: textblock
10881 #: ../src/guestfs-actions.pod:4159
10882 msgid ""
10883 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
10884 "the existing UUID of a filesystem."
10885 msgstr ""
10886
10887 # type: =head2
10888 #: ../src/guestfs-actions.pod:4164
10889 msgid "guestfs_set_memsize"
10890 msgstr ""
10891
10892 # type: verbatim
10893 #: ../src/guestfs-actions.pod:4166
10894 #, no-wrap
10895 msgid ""
10896 " int guestfs_set_memsize (guestfs_h *g,\n"
10897 "\t\tint memsize);\n"
10898 "\n"
10899 msgstr ""
10900
10901 # type: textblock
10902 #: ../src/guestfs-actions.pod:4169
10903 msgid ""
10904 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
10905 "This only has any effect if called before C<guestfs_launch>."
10906 msgstr ""
10907
10908 # type: textblock
10909 #: ../src/guestfs-actions.pod:4173 ../fish/guestfish-actions.pod:3219
10910 msgid ""
10911 "You can also change this by setting the environment variable "
10912 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
10913 msgstr ""
10914
10915 # type: =head2
10916 #: ../src/guestfs-actions.pod:4182
10917 msgid "guestfs_set_network"
10918 msgstr ""
10919
10920 # type: verbatim
10921 #: ../src/guestfs-actions.pod:4184
10922 #, no-wrap
10923 msgid ""
10924 " int guestfs_set_network (guestfs_h *g,\n"
10925 "\t\tint network);\n"
10926 "\n"
10927 msgstr ""
10928
10929 # type: textblock
10930 #: ../src/guestfs-actions.pod:4187 ../fish/guestfish-actions.pod:3230
10931 msgid ""
10932 "If C<network> is true, then the network is enabled in the libguestfs "
10933 "appliance.  The default is false."
10934 msgstr ""
10935
10936 # type: textblock
10937 #: ../src/guestfs-actions.pod:4190 ../fish/guestfish-actions.pod:3233
10938 msgid ""
10939 "This affects whether commands are able to access the network (see "
10940 "L<guestfs(3)/RUNNING COMMANDS>)."
10941 msgstr ""
10942
10943 # type: textblock
10944 #: ../src/guestfs-actions.pod:4193
10945 msgid ""
10946 "You must call this before calling C<guestfs_launch>, otherwise it has no "
10947 "effect."
10948 msgstr ""
10949
10950 # type: =head2
10951 #: ../src/guestfs-actions.pod:4198
10952 msgid "guestfs_set_path"
10953 msgstr ""
10954
10955 # type: verbatim
10956 #: ../src/guestfs-actions.pod:4200
10957 #, no-wrap
10958 msgid ""
10959 " int guestfs_set_path (guestfs_h *g,\n"
10960 "\t\tconst char *searchpath);\n"
10961 "\n"
10962 msgstr ""
10963
10964 # type: textblock
10965 #: ../src/guestfs-actions.pod:4203 ../fish/guestfish-actions.pod:3243
10966 msgid "Set the path that libguestfs searches for kernel and initrd.img."
10967 msgstr ""
10968
10969 # type: textblock
10970 #: ../src/guestfs-actions.pod:4205 ../fish/guestfish-actions.pod:3245
10971 msgid ""
10972 "The default is C<$libdir/guestfs> unless overridden by setting "
10973 "C<LIBGUESTFS_PATH> environment variable."
10974 msgstr ""
10975
10976 # type: textblock
10977 #: ../src/guestfs-actions.pod:4208 ../fish/guestfish-actions.pod:3248
10978 msgid "Setting C<path> to C<NULL> restores the default path."
10979 msgstr ""
10980
10981 # type: =head2
10982 #: ../src/guestfs-actions.pod:4212
10983 msgid "guestfs_set_qemu"
10984 msgstr ""
10985
10986 # type: verbatim
10987 #: ../src/guestfs-actions.pod:4214
10988 #, no-wrap
10989 msgid ""
10990 " int guestfs_set_qemu (guestfs_h *g,\n"
10991 "\t\tconst char *qemu);\n"
10992 "\n"
10993 msgstr ""
10994
10995 # type: textblock
10996 #: ../src/guestfs-actions.pod:4217 ../fish/guestfish-actions.pod:3254
10997 msgid "Set the qemu binary that we will use."
10998 msgstr ""
10999
11000 # type: textblock
11001 #: ../src/guestfs-actions.pod:4219 ../fish/guestfish-actions.pod:3256
11002 msgid "The default is chosen when the library was compiled by the configure script."
11003 msgstr ""
11004
11005 # type: textblock
11006 #: ../src/guestfs-actions.pod:4222 ../fish/guestfish-actions.pod:3259
11007 msgid ""
11008 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11009 "variable."
11010 msgstr ""
11011
11012 # type: textblock
11013 #: ../src/guestfs-actions.pod:4225 ../fish/guestfish-actions.pod:3262
11014 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11015 msgstr ""
11016
11017 # type: textblock
11018 #: ../src/guestfs-actions.pod:4227 ../fish/guestfish-actions.pod:3264
11019 msgid ""
11020 "Note that you should call this function as early as possible after creating "
11021 "the handle.  This is because some pre-launch operations depend on testing "
11022 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11023 "don't retest features, and so you might see inconsistent results.  Using the "
11024 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11025 "the qemu binary at the same time as the handle is created."
11026 msgstr ""
11027
11028 # type: =head2
11029 #: ../src/guestfs-actions.pod:4237
11030 msgid "guestfs_set_recovery_proc"
11031 msgstr ""
11032
11033 # type: verbatim
11034 #: ../src/guestfs-actions.pod:4239
11035 #, no-wrap
11036 msgid ""
11037 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11038 "\t\tint recoveryproc);\n"
11039 "\n"
11040 msgstr ""
11041
11042 # type: textblock
11043 #: ../src/guestfs-actions.pod:4242
11044 msgid ""
11045 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11046 "not create a recovery process.  The purpose of the recovery process is to "
11047 "stop runaway qemu processes in the case where the main program aborts "
11048 "abruptly."
11049 msgstr ""
11050
11051 # type: textblock
11052 #: ../src/guestfs-actions.pod:4247
11053 msgid ""
11054 "This only has any effect if called before C<guestfs_launch>, and the default "
11055 "is true."
11056 msgstr ""
11057
11058 # type: textblock
11059 #: ../src/guestfs-actions.pod:4250 ../fish/guestfish-actions.pod:3284
11060 msgid ""
11061 "About the only time when you would want to disable this is if the main "
11062 "process will fork itself into the background (\"daemonize\" itself).  In "
11063 "this case the recovery process thinks that the main program has disappeared "
11064 "and so kills qemu, which is not very helpful."
11065 msgstr ""
11066
11067 # type: =head2
11068 #: ../src/guestfs-actions.pod:4258
11069 msgid "guestfs_set_selinux"
11070 msgstr ""
11071
11072 # type: verbatim
11073 #: ../src/guestfs-actions.pod:4260
11074 #, no-wrap
11075 msgid ""
11076 " int guestfs_set_selinux (guestfs_h *g,\n"
11077 "\t\tint selinux);\n"
11078 "\n"
11079 msgstr ""
11080
11081 # type: textblock
11082 #: ../src/guestfs-actions.pod:4263 ../fish/guestfish-actions.pod:3294
11083 msgid ""
11084 "This sets the selinux flag that is passed to the appliance at boot time.  "
11085 "The default is C<selinux=0> (disabled)."
11086 msgstr ""
11087
11088 # type: textblock
11089 #: ../src/guestfs-actions.pod:4266 ../fish/guestfish-actions.pod:3297
11090 msgid ""
11091 "Note that if SELinux is enabled, it is always in Permissive mode "
11092 "(C<enforcing=0>)."
11093 msgstr ""
11094
11095 # type: =head2
11096 #: ../src/guestfs-actions.pod:4274
11097 msgid "guestfs_set_trace"
11098 msgstr ""
11099
11100 # type: verbatim
11101 #: ../src/guestfs-actions.pod:4276
11102 #, no-wrap
11103 msgid ""
11104 " int guestfs_set_trace (guestfs_h *g,\n"
11105 "\t\tint trace);\n"
11106 "\n"
11107 msgstr ""
11108
11109 # type: textblock
11110 #: ../src/guestfs-actions.pod:4279 ../fish/guestfish-actions.pod:3307
11111 msgid ""
11112 "If the command trace flag is set to 1, then commands are printed on stderr "
11113 "before they are executed in a format which is very similar to the one used "
11114 "by guestfish.  In other words, you can run a program with this enabled, and "
11115 "you will get out a script which you can feed to guestfish to perform the "
11116 "same set of actions."
11117 msgstr ""
11118
11119 # type: textblock
11120 #: ../src/guestfs-actions.pod:4286 ../fish/guestfish-actions.pod:3314
11121 msgid ""
11122 "If you want to trace C API calls into libguestfs (and other libraries) then "
11123 "possibly a better way is to use the external ltrace(1) command."
11124 msgstr ""
11125
11126 # type: textblock
11127 #: ../src/guestfs-actions.pod:4290 ../fish/guestfish-actions.pod:3318
11128 msgid ""
11129 "Command traces are disabled unless the environment variable "
11130 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11131 msgstr ""
11132
11133 # type: =head2
11134 #: ../src/guestfs-actions.pod:4295
11135 msgid "guestfs_set_verbose"
11136 msgstr ""
11137
11138 # type: verbatim
11139 #: ../src/guestfs-actions.pod:4297
11140 #, no-wrap
11141 msgid ""
11142 " int guestfs_set_verbose (guestfs_h *g,\n"
11143 "\t\tint verbose);\n"
11144 "\n"
11145 msgstr ""
11146
11147 # type: textblock
11148 #: ../src/guestfs-actions.pod:4300 ../fish/guestfish-actions.pod:3325
11149 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11150 msgstr ""
11151
11152 # type: textblock
11153 #: ../src/guestfs-actions.pod:4302 ../fish/guestfish-actions.pod:3327
11154 msgid ""
11155 "Verbose messages are disabled unless the environment variable "
11156 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11157 msgstr ""
11158
11159 # type: =head2
11160 #: ../src/guestfs-actions.pod:4307
11161 msgid "guestfs_setcon"
11162 msgstr ""
11163
11164 # type: verbatim
11165 #: ../src/guestfs-actions.pod:4309
11166 #, no-wrap
11167 msgid ""
11168 " int guestfs_setcon (guestfs_h *g,\n"
11169 "\t\tconst char *context);\n"
11170 "\n"
11171 msgstr ""
11172
11173 # type: textblock
11174 #: ../src/guestfs-actions.pod:4312 ../fish/guestfish-actions.pod:3334
11175 msgid ""
11176 "This sets the SELinux security context of the daemon to the string "
11177 "C<context>."
11178 msgstr ""
11179
11180 # type: textblock
11181 #: ../src/guestfs-actions.pod:4315 ../fish/guestfish-actions.pod:3337
11182 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11183 msgstr ""
11184
11185 # type: =head2
11186 #: ../src/guestfs-actions.pod:4319
11187 msgid "guestfs_setxattr"
11188 msgstr ""
11189
11190 # type: verbatim
11191 #: ../src/guestfs-actions.pod:4321
11192 #, no-wrap
11193 msgid ""
11194 " int guestfs_setxattr (guestfs_h *g,\n"
11195 "\t\tconst char *xattr,\n"
11196 "\t\tconst char *val,\n"
11197 "\t\tint vallen,\n"
11198 "\t\tconst char *path);\n"
11199 "\n"
11200 msgstr ""
11201
11202 # type: textblock
11203 #: ../src/guestfs-actions.pod:4327 ../fish/guestfish-actions.pod:3343
11204 msgid ""
11205 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11206 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11207 msgstr ""
11208
11209 # type: textblock
11210 #: ../src/guestfs-actions.pod:4331
11211 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11212 msgstr ""
11213
11214 # type: =head2
11215 #: ../src/guestfs-actions.pod:4335
11216 msgid "guestfs_sfdisk"
11217 msgstr ""
11218
11219 # type: verbatim
11220 #: ../src/guestfs-actions.pod:4337
11221 #, no-wrap
11222 msgid ""
11223 " int guestfs_sfdisk (guestfs_h *g,\n"
11224 "\t\tconst char *device,\n"
11225 "\t\tint cyls,\n"
11226 "\t\tint heads,\n"
11227 "\t\tint sectors,\n"
11228 "\t\tchar *const *lines);\n"
11229 "\n"
11230 msgstr ""
11231
11232 # type: textblock
11233 #: ../src/guestfs-actions.pod:4344 ../fish/guestfish-actions.pod:3353
11234 msgid ""
11235 "This is a direct interface to the L<sfdisk(8)> program for creating "
11236 "partitions on block devices."
11237 msgstr ""
11238
11239 # type: textblock
11240 #: ../src/guestfs-actions.pod:4347 ../fish/guestfish-actions.pod:3356
11241 msgid "C<device> should be a block device, for example C</dev/sda>."
11242 msgstr ""
11243
11244 # type: textblock
11245 #: ../src/guestfs-actions.pod:4349 ../fish/guestfish-actions.pod:3358
11246 msgid ""
11247 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
11248 "sectors on the device, which are passed directly to sfdisk as the I<-C>, "
11249 "I<-H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
11250 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
11251 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
11252 "the kernel) cannot work out the right geometry and you will need to tell it."
11253 msgstr ""
11254
11255 # type: textblock
11256 #: ../src/guestfs-actions.pod:4357 ../fish/guestfish-actions.pod:3366
11257 msgid ""
11258 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
11259 "refer to the L<sfdisk(8)> manpage."
11260 msgstr ""
11261
11262 # type: textblock
11263 #: ../src/guestfs-actions.pod:4360 ../fish/guestfish-actions.pod:3369
11264 msgid ""
11265 "To create a single partition occupying the whole disk, you would pass "
11266 "C<lines> as a single element list, when the single element being the string "
11267 "C<,> (comma)."
11268 msgstr ""
11269
11270 # type: textblock
11271 #: ../src/guestfs-actions.pod:4364
11272 msgid "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
11273 msgstr ""
11274
11275 # type: =head2
11276 #: ../src/guestfs-actions.pod:4372
11277 msgid "guestfs_sfdiskM"
11278 msgstr ""
11279
11280 # type: verbatim
11281 #: ../src/guestfs-actions.pod:4374
11282 #, no-wrap
11283 msgid ""
11284 " int guestfs_sfdiskM (guestfs_h *g,\n"
11285 "\t\tconst char *device,\n"
11286 "\t\tchar *const *lines);\n"
11287 "\n"
11288 msgstr ""
11289
11290 # type: textblock
11291 #: ../src/guestfs-actions.pod:4378
11292 msgid ""
11293 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
11294 "partition sizes are specified in megabytes only (rounded to the nearest "
11295 "cylinder) and you don't need to specify the cyls, heads and sectors "
11296 "parameters which were rarely if ever used anyway."
11297 msgstr ""
11298
11299 # type: textblock
11300 #: ../src/guestfs-actions.pod:4384
11301 msgid ""
11302 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
11303 "C<guestfs_part_disk>"
11304 msgstr ""
11305
11306 # type: =head2
11307 #: ../src/guestfs-actions.pod:4392
11308 msgid "guestfs_sfdisk_N"
11309 msgstr ""
11310
11311 # type: verbatim
11312 #: ../src/guestfs-actions.pod:4394
11313 #, no-wrap
11314 msgid ""
11315 " int guestfs_sfdisk_N (guestfs_h *g,\n"
11316 "\t\tconst char *device,\n"
11317 "\t\tint partnum,\n"
11318 "\t\tint cyls,\n"
11319 "\t\tint heads,\n"
11320 "\t\tint sectors,\n"
11321 "\t\tconst char *line);\n"
11322 "\n"
11323 msgstr ""
11324
11325 # type: textblock
11326 #: ../src/guestfs-actions.pod:4402 ../fish/guestfish-actions.pod:3399
11327 msgid ""
11328 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
11329 "(note: C<n> counts from 1)."
11330 msgstr ""
11331
11332 # type: textblock
11333 #: ../src/guestfs-actions.pod:4405
11334 msgid ""
11335 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
11336 "for the cyls/heads/sectors parameters."
11337 msgstr ""
11338
11339 # type: textblock
11340 #: ../src/guestfs-actions.pod:4408
11341 msgid "See also: C<guestfs_part_add>"
11342 msgstr ""
11343
11344 # type: =head2
11345 #: ../src/guestfs-actions.pod:4415
11346 msgid "guestfs_sfdisk_disk_geometry"
11347 msgstr ""
11348
11349 # type: verbatim
11350 #: ../src/guestfs-actions.pod:4417
11351 #, no-wrap
11352 msgid ""
11353 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
11354 "\t\tconst char *device);\n"
11355 "\n"
11356 msgstr ""
11357
11358 # type: textblock
11359 #: ../src/guestfs-actions.pod:4420
11360 msgid ""
11361 "This displays the disk geometry of C<device> read from the partition table.  "
11362 "Especially in the case where the underlying block device has been resized, "
11363 "this can be different from the kernel's idea of the geometry (see "
11364 "C<guestfs_sfdisk_kernel_geometry>)."
11365 msgstr ""
11366
11367 # type: textblock
11368 #: ../src/guestfs-actions.pod:4425 ../src/guestfs-actions.pod:4438 ../fish/guestfish-actions.pod:3419 ../fish/guestfish-actions.pod:3428
11369 msgid "The result is in human-readable format, and not designed to be parsed."
11370 msgstr ""
11371
11372 # type: =head2
11373 #: ../src/guestfs-actions.pod:4431
11374 msgid "guestfs_sfdisk_kernel_geometry"
11375 msgstr ""
11376
11377 # type: verbatim
11378 #: ../src/guestfs-actions.pod:4433
11379 #, no-wrap
11380 msgid ""
11381 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
11382 "\t\tconst char *device);\n"
11383 "\n"
11384 msgstr ""
11385
11386 # type: textblock
11387 #: ../src/guestfs-actions.pod:4436 ../fish/guestfish-actions.pod:3426
11388 msgid "This displays the kernel's idea of the geometry of C<device>."
11389 msgstr ""
11390
11391 # type: =head2
11392 #: ../src/guestfs-actions.pod:4444
11393 msgid "guestfs_sfdisk_l"
11394 msgstr ""
11395
11396 # type: verbatim
11397 #: ../src/guestfs-actions.pod:4446
11398 #, no-wrap
11399 msgid ""
11400 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
11401 "\t\tconst char *device);\n"
11402 "\n"
11403 msgstr ""
11404
11405 # type: textblock
11406 #: ../src/guestfs-actions.pod:4449 ../fish/guestfish-actions.pod:3435
11407 msgid ""
11408 "This displays the partition table on C<device>, in the human-readable output "
11409 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
11410 msgstr ""
11411
11412 # type: textblock
11413 #: ../src/guestfs-actions.pod:4453
11414 msgid "See also: C<guestfs_part_list>"
11415 msgstr ""
11416
11417 # type: =head2
11418 #: ../src/guestfs-actions.pod:4458
11419 msgid "guestfs_sh"
11420 msgstr ""
11421
11422 # type: verbatim
11423 #: ../src/guestfs-actions.pod:4460
11424 #, no-wrap
11425 msgid ""
11426 " char *guestfs_sh (guestfs_h *g,\n"
11427 "\t\tconst char *command);\n"
11428 "\n"
11429 msgstr ""
11430
11431 # type: textblock
11432 #: ../src/guestfs-actions.pod:4463 ../fish/guestfish-actions.pod:3445
11433 msgid ""
11434 "This call runs a command from the guest filesystem via the guest's "
11435 "C</bin/sh>."
11436 msgstr ""
11437
11438 # type: textblock
11439 #: ../src/guestfs-actions.pod:4466
11440 msgid "This is like C<guestfs_command>, but passes the command to:"
11441 msgstr ""
11442
11443 # type: verbatim
11444 #: ../src/guestfs-actions.pod:4468 ../fish/guestfish-actions.pod:3450
11445 #, no-wrap
11446 msgid ""
11447 " /bin/sh -c \"command\"\n"
11448 "\n"
11449 msgstr ""
11450
11451 # type: textblock
11452 #: ../src/guestfs-actions.pod:4470 ../fish/guestfish-actions.pod:3452
11453 msgid ""
11454 "Depending on the guest's shell, this usually results in wildcards being "
11455 "expanded, shell expressions being interpolated and so on."
11456 msgstr ""
11457
11458 # type: textblock
11459 #: ../src/guestfs-actions.pod:4474
11460 msgid "All the provisos about C<guestfs_command> apply to this call."
11461 msgstr ""
11462
11463 # type: =head2
11464 #: ../src/guestfs-actions.pod:4479
11465 msgid "guestfs_sh_lines"
11466 msgstr ""
11467
11468 # type: verbatim
11469 #: ../src/guestfs-actions.pod:4481
11470 #, no-wrap
11471 msgid ""
11472 " char **guestfs_sh_lines (guestfs_h *g,\n"
11473 "\t\tconst char *command);\n"
11474 "\n"
11475 msgstr ""
11476
11477 # type: textblock
11478 #: ../src/guestfs-actions.pod:4484
11479 msgid ""
11480 "This is the same as C<guestfs_sh>, but splits the result into a list of "
11481 "lines."
11482 msgstr ""
11483
11484 # type: textblock
11485 #: ../src/guestfs-actions.pod:4487
11486 msgid "See also: C<guestfs_command_lines>"
11487 msgstr ""
11488
11489 # type: =head2
11490 #: ../src/guestfs-actions.pod:4493
11491 msgid "guestfs_sleep"
11492 msgstr ""
11493
11494 # type: verbatim
11495 #: ../src/guestfs-actions.pod:4495
11496 #, no-wrap
11497 msgid ""
11498 " int guestfs_sleep (guestfs_h *g,\n"
11499 "\t\tint secs);\n"
11500 "\n"
11501 msgstr ""
11502
11503 # type: textblock
11504 #: ../src/guestfs-actions.pod:4498 ../fish/guestfish-actions.pod:3471
11505 msgid "Sleep for C<secs> seconds."
11506 msgstr ""
11507
11508 # type: =head2
11509 #: ../src/guestfs-actions.pod:4502 ../src/guestfs-structs.pod:109
11510 msgid "guestfs_stat"
11511 msgstr ""
11512
11513 # type: verbatim
11514 #: ../src/guestfs-actions.pod:4504
11515 #, no-wrap
11516 msgid ""
11517 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
11518 "\t\tconst char *path);\n"
11519 "\n"
11520 msgstr ""
11521
11522 # type: textblock
11523 #: ../src/guestfs-actions.pod:4509 ../fish/guestfish-actions.pod:3479
11524 msgid "This is the same as the C<stat(2)> system call."
11525 msgstr ""
11526
11527 # type: =head2
11528 #: ../src/guestfs-actions.pod:4515 ../src/guestfs-structs.pod:135
11529 msgid "guestfs_statvfs"
11530 msgstr ""
11531
11532 # type: verbatim
11533 #: ../src/guestfs-actions.pod:4517
11534 #, no-wrap
11535 msgid ""
11536 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
11537 "\t\tconst char *path);\n"
11538 "\n"
11539 msgstr ""
11540
11541 # type: textblock
11542 #: ../src/guestfs-actions.pod:4520 ../fish/guestfish-actions.pod:3485
11543 msgid ""
11544 "Returns file system statistics for any mounted file system.  C<path> should "
11545 "be a file or directory in the mounted file system (typically it is the mount "
11546 "point itself, but it doesn't need to be)."
11547 msgstr ""
11548
11549 # type: textblock
11550 #: ../src/guestfs-actions.pod:4524 ../fish/guestfish-actions.pod:3489
11551 msgid "This is the same as the C<statvfs(2)> system call."
11552 msgstr ""
11553
11554 # type: textblock
11555 #: ../src/guestfs-actions.pod:4526
11556 msgid ""
11557 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
11558 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
11559 msgstr ""
11560
11561 # type: =head2
11562 #: ../src/guestfs-actions.pod:4530
11563 msgid "guestfs_strings"
11564 msgstr ""
11565
11566 # type: verbatim
11567 #: ../src/guestfs-actions.pod:4532
11568 #, no-wrap
11569 msgid ""
11570 " char **guestfs_strings (guestfs_h *g,\n"
11571 "\t\tconst char *path);\n"
11572 "\n"
11573 msgstr ""
11574
11575 # type: textblock
11576 #: ../src/guestfs-actions.pod:4535 ../fish/guestfish-actions.pod:3495
11577 msgid ""
11578 "This runs the L<strings(1)> command on a file and returns the list of "
11579 "printable strings found."
11580 msgstr ""
11581
11582 # type: =head2
11583 #: ../src/guestfs-actions.pod:4545
11584 msgid "guestfs_strings_e"
11585 msgstr ""
11586
11587 # type: verbatim
11588 #: ../src/guestfs-actions.pod:4547
11589 #, no-wrap
11590 msgid ""
11591 " char **guestfs_strings_e (guestfs_h *g,\n"
11592 "\t\tconst char *encoding,\n"
11593 "\t\tconst char *path);\n"
11594 "\n"
11595 msgstr ""
11596
11597 # type: textblock
11598 #: ../src/guestfs-actions.pod:4551
11599 msgid ""
11600 "This is like the C<guestfs_strings> command, but allows you to specify the "
11601 "encoding of strings that are looked for in the source file C<path>."
11602 msgstr ""
11603
11604 # type: textblock
11605 #: ../src/guestfs-actions.pod:4555 ../fish/guestfish-actions.pod:3509
11606 msgid "Allowed encodings are:"
11607 msgstr ""
11608
11609 # type: =item
11610 #: ../src/guestfs-actions.pod:4559 ../fish/guestfish-actions.pod:3513
11611 msgid "s"
11612 msgstr ""
11613
11614 # type: textblock
11615 #: ../src/guestfs-actions.pod:4561
11616 msgid ""
11617 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
11618 "ISO-8859-X (this is what C<guestfs_strings> uses)."
11619 msgstr ""
11620
11621 # type: =item
11622 #: ../src/guestfs-actions.pod:4564 ../fish/guestfish-actions.pod:3518
11623 msgid "S"
11624 msgstr ""
11625
11626 # type: textblock
11627 #: ../src/guestfs-actions.pod:4566 ../fish/guestfish-actions.pod:3520
11628 msgid "Single 8-bit-byte characters."
11629 msgstr ""
11630
11631 # type: =item
11632 #: ../src/guestfs-actions.pod:4568 ../fish/guestfish-actions.pod:3522
11633 msgid "b"
11634 msgstr ""
11635
11636 # type: textblock
11637 #: ../src/guestfs-actions.pod:4570 ../fish/guestfish-actions.pod:3524
11638 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
11639 msgstr ""
11640
11641 # type: =item
11642 #: ../src/guestfs-actions.pod:4573 ../fish/guestfish-actions.pod:3527
11643 msgid "l (lower case letter L)"
11644 msgstr ""
11645
11646 # type: textblock
11647 #: ../src/guestfs-actions.pod:4575 ../fish/guestfish-actions.pod:3529
11648 msgid ""
11649 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
11650 "examining binaries in Windows guests."
11651 msgstr ""
11652
11653 # type: =item
11654 #: ../src/guestfs-actions.pod:4578 ../fish/guestfish-actions.pod:3532
11655 msgid "B"
11656 msgstr ""
11657
11658 # type: textblock
11659 #: ../src/guestfs-actions.pod:4580 ../fish/guestfish-actions.pod:3534
11660 msgid "32-bit big endian such as UCS-4BE."
11661 msgstr ""
11662
11663 # type: =item
11664 #: ../src/guestfs-actions.pod:4582 ../fish/guestfish-actions.pod:3536
11665 msgid "L"
11666 msgstr ""
11667
11668 # type: textblock
11669 #: ../src/guestfs-actions.pod:4584 ../fish/guestfish-actions.pod:3538
11670 msgid "32-bit little endian such as UCS-4LE."
11671 msgstr ""
11672
11673 # type: textblock
11674 #: ../src/guestfs-actions.pod:4588 ../fish/guestfish-actions.pod:3542
11675 msgid "The returned strings are transcoded to UTF-8."
11676 msgstr ""
11677
11678 # type: =head2
11679 #: ../src/guestfs-actions.pod:4597
11680 msgid "guestfs_swapoff_device"
11681 msgstr ""
11682
11683 # type: verbatim
11684 #: ../src/guestfs-actions.pod:4599
11685 #, no-wrap
11686 msgid ""
11687 " int guestfs_swapoff_device (guestfs_h *g,\n"
11688 "\t\tconst char *device);\n"
11689 "\n"
11690 msgstr ""
11691
11692 # type: textblock
11693 #: ../src/guestfs-actions.pod:4602
11694 msgid ""
11695 "This command disables the libguestfs appliance swap device or partition "
11696 "named C<device>.  See C<guestfs_swapon_device>."
11697 msgstr ""
11698
11699 # type: =head2
11700 #: ../src/guestfs-actions.pod:4608
11701 msgid "guestfs_swapoff_file"
11702 msgstr ""
11703
11704 # type: verbatim
11705 #: ../src/guestfs-actions.pod:4610
11706 #, no-wrap
11707 msgid ""
11708 " int guestfs_swapoff_file (guestfs_h *g,\n"
11709 "\t\tconst char *file);\n"
11710 "\n"
11711 msgstr ""
11712
11713 # type: textblock
11714 #: ../src/guestfs-actions.pod:4613 ../fish/guestfish-actions.pod:3559
11715 msgid "This command disables the libguestfs appliance swap on file."
11716 msgstr ""
11717
11718 # type: =head2
11719 #: ../src/guestfs-actions.pod:4617
11720 msgid "guestfs_swapoff_label"
11721 msgstr ""
11722
11723 # type: verbatim
11724 #: ../src/guestfs-actions.pod:4619
11725 #, no-wrap
11726 msgid ""
11727 " int guestfs_swapoff_label (guestfs_h *g,\n"
11728 "\t\tconst char *label);\n"
11729 "\n"
11730 msgstr ""
11731
11732 # type: textblock
11733 #: ../src/guestfs-actions.pod:4622 ../fish/guestfish-actions.pod:3565
11734 msgid ""
11735 "This command disables the libguestfs appliance swap on labeled swap "
11736 "partition."
11737 msgstr ""
11738
11739 # type: =head2
11740 #: ../src/guestfs-actions.pod:4627
11741 msgid "guestfs_swapoff_uuid"
11742 msgstr ""
11743
11744 # type: verbatim
11745 #: ../src/guestfs-actions.pod:4629
11746 #, no-wrap
11747 msgid ""
11748 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
11749 "\t\tconst char *uuid);\n"
11750 "\n"
11751 msgstr ""
11752
11753 # type: textblock
11754 #: ../src/guestfs-actions.pod:4632 ../fish/guestfish-actions.pod:3572
11755 msgid ""
11756 "This command disables the libguestfs appliance swap partition with the given "
11757 "UUID."
11758 msgstr ""
11759
11760 # type: =head2
11761 #: ../src/guestfs-actions.pod:4637
11762 msgid "guestfs_swapon_device"
11763 msgstr ""
11764
11765 # type: verbatim
11766 #: ../src/guestfs-actions.pod:4639
11767 #, no-wrap
11768 msgid ""
11769 " int guestfs_swapon_device (guestfs_h *g,\n"
11770 "\t\tconst char *device);\n"
11771 "\n"
11772 msgstr ""
11773
11774 # type: textblock
11775 #: ../src/guestfs-actions.pod:4642
11776 msgid ""
11777 "This command enables the libguestfs appliance to use the swap device or "
11778 "partition named C<device>.  The increased memory is made available for all "
11779 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
11780 msgstr ""
11781
11782 # type: textblock
11783 #: ../src/guestfs-actions.pod:4647 ../fish/guestfish-actions.pod:3584
11784 msgid ""
11785 "Note that you should not swap to existing guest swap partitions unless you "
11786 "know what you are doing.  They may contain hibernation information, or other "
11787 "information that the guest doesn't want you to trash.  You also risk leaking "
11788 "information about the host to the guest this way.  Instead, attach a new "
11789 "host device to the guest and swap on that."
11790 msgstr ""
11791
11792 # type: =head2
11793 #: ../src/guestfs-actions.pod:4656
11794 msgid "guestfs_swapon_file"
11795 msgstr ""
11796
11797 # type: verbatim
11798 #: ../src/guestfs-actions.pod:4658
11799 #, no-wrap
11800 msgid ""
11801 " int guestfs_swapon_file (guestfs_h *g,\n"
11802 "\t\tconst char *file);\n"
11803 "\n"
11804 msgstr ""
11805
11806 # type: textblock
11807 #: ../src/guestfs-actions.pod:4661
11808 msgid ""
11809 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
11810 "notes."
11811 msgstr ""
11812
11813 # type: =head2
11814 #: ../src/guestfs-actions.pod:4666
11815 msgid "guestfs_swapon_label"
11816 msgstr ""
11817
11818 # type: verbatim
11819 #: ../src/guestfs-actions.pod:4668
11820 #, no-wrap
11821 msgid ""
11822 " int guestfs_swapon_label (guestfs_h *g,\n"
11823 "\t\tconst char *label);\n"
11824 "\n"
11825 msgstr ""
11826
11827 # type: textblock
11828 #: ../src/guestfs-actions.pod:4671
11829 msgid ""
11830 "This command enables swap to a labeled swap partition.  See "
11831 "C<guestfs_swapon_device> for other notes."
11832 msgstr ""
11833
11834 # type: =head2
11835 #: ../src/guestfs-actions.pod:4676
11836 msgid "guestfs_swapon_uuid"
11837 msgstr ""
11838
11839 # type: verbatim
11840 #: ../src/guestfs-actions.pod:4678
11841 #, no-wrap
11842 msgid ""
11843 " int guestfs_swapon_uuid (guestfs_h *g,\n"
11844 "\t\tconst char *uuid);\n"
11845 "\n"
11846 msgstr ""
11847
11848 # type: textblock
11849 #: ../src/guestfs-actions.pod:4681
11850 msgid ""
11851 "This command enables swap to a swap partition with the given UUID.  See "
11852 "C<guestfs_swapon_device> for other notes."
11853 msgstr ""
11854
11855 # type: =head2
11856 #: ../src/guestfs-actions.pod:4686
11857 msgid "guestfs_sync"
11858 msgstr ""
11859
11860 # type: verbatim
11861 #: ../src/guestfs-actions.pod:4688
11862 #, no-wrap
11863 msgid ""
11864 " int guestfs_sync (guestfs_h *g);\n"
11865 "\n"
11866 msgstr ""
11867
11868 # type: textblock
11869 #: ../src/guestfs-actions.pod:4690 ../fish/guestfish-actions.pod:3616
11870 msgid ""
11871 "This syncs the disk, so that any writes are flushed through to the "
11872 "underlying disk image."
11873 msgstr ""
11874
11875 # type: textblock
11876 #: ../src/guestfs-actions.pod:4693 ../fish/guestfish-actions.pod:3619
11877 msgid ""
11878 "You should always call this if you have modified a disk image, before "
11879 "closing the handle."
11880 msgstr ""
11881
11882 # type: =head2
11883 #: ../src/guestfs-actions.pod:4698
11884 msgid "guestfs_tail"
11885 msgstr ""
11886
11887 # type: verbatim
11888 #: ../src/guestfs-actions.pod:4700
11889 #, no-wrap
11890 msgid ""
11891 " char **guestfs_tail (guestfs_h *g,\n"
11892 "\t\tconst char *path);\n"
11893 "\n"
11894 msgstr ""
11895
11896 # type: textblock
11897 #: ../src/guestfs-actions.pod:4703 ../fish/guestfish-actions.pod:3626
11898 msgid "This command returns up to the last 10 lines of a file as a list of strings."
11899 msgstr ""
11900
11901 # type: =head2
11902 #: ../src/guestfs-actions.pod:4713
11903 msgid "guestfs_tail_n"
11904 msgstr ""
11905
11906 # type: verbatim
11907 #: ../src/guestfs-actions.pod:4715
11908 #, no-wrap
11909 msgid ""
11910 " char **guestfs_tail_n (guestfs_h *g,\n"
11911 "\t\tint nrlines,\n"
11912 "\t\tconst char *path);\n"
11913 "\n"
11914 msgstr ""
11915
11916 # type: textblock
11917 #: ../src/guestfs-actions.pod:4719 ../fish/guestfish-actions.pod:3636
11918 msgid ""
11919 "If the parameter C<nrlines> is a positive number, this returns the last "
11920 "C<nrlines> lines of the file C<path>."
11921 msgstr ""
11922
11923 # type: textblock
11924 #: ../src/guestfs-actions.pod:4722 ../fish/guestfish-actions.pod:3639
11925 msgid ""
11926 "If the parameter C<nrlines> is a negative number, this returns lines from "
11927 "the file C<path>, starting with the C<-nrlines>th line."
11928 msgstr ""
11929
11930 # type: =head2
11931 #: ../src/guestfs-actions.pod:4734
11932 msgid "guestfs_tar_in"
11933 msgstr ""
11934
11935 # type: verbatim
11936 #: ../src/guestfs-actions.pod:4736
11937 #, no-wrap
11938 msgid ""
11939 " int guestfs_tar_in (guestfs_h *g,\n"
11940 "\t\tconst char *tarfile,\n"
11941 "\t\tconst char *directory);\n"
11942 "\n"
11943 msgstr ""
11944
11945 # type: textblock
11946 #: ../src/guestfs-actions.pod:4740 ../fish/guestfish-actions.pod:3651
11947 msgid ""
11948 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
11949 "tar file) into C<directory>."
11950 msgstr ""
11951
11952 # type: textblock
11953 #: ../src/guestfs-actions.pod:4743
11954 msgid "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
11955 msgstr ""
11956
11957 # type: =head2
11958 #: ../src/guestfs-actions.pod:4748
11959 msgid "guestfs_tar_out"
11960 msgstr ""
11961
11962 # type: verbatim
11963 #: ../src/guestfs-actions.pod:4750
11964 #, no-wrap
11965 msgid ""
11966 " int guestfs_tar_out (guestfs_h *g,\n"
11967 "\t\tconst char *directory,\n"
11968 "\t\tconst char *tarfile);\n"
11969 "\n"
11970 msgstr ""
11971
11972 # type: textblock
11973 #: ../src/guestfs-actions.pod:4754 ../fish/guestfish-actions.pod:3663
11974 msgid ""
11975 "This command packs the contents of C<directory> and downloads it to local "
11976 "file C<tarfile>."
11977 msgstr ""
11978
11979 # type: textblock
11980 #: ../src/guestfs-actions.pod:4757
11981 msgid ""
11982 "To download a compressed tarball, use C<guestfs_tgz_out> or "
11983 "C<guestfs_txz_out>."
11984 msgstr ""
11985
11986 # type: =head2
11987 #: ../src/guestfs-actions.pod:4762
11988 msgid "guestfs_tgz_in"
11989 msgstr ""
11990
11991 # type: verbatim
11992 #: ../src/guestfs-actions.pod:4764
11993 #, no-wrap
11994 msgid ""
11995 " int guestfs_tgz_in (guestfs_h *g,\n"
11996 "\t\tconst char *tarball,\n"
11997 "\t\tconst char *directory);\n"
11998 "\n"
11999 msgstr ""
12000
12001 # type: textblock
12002 #: ../src/guestfs-actions.pod:4768 ../fish/guestfish-actions.pod:3675
12003 msgid ""
12004 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12005 "tar file) into C<directory>."
12006 msgstr ""
12007
12008 # type: textblock
12009 #: ../src/guestfs-actions.pod:4771
12010 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12011 msgstr ""
12012
12013 # type: =head2
12014 #: ../src/guestfs-actions.pod:4775
12015 msgid "guestfs_tgz_out"
12016 msgstr ""
12017
12018 # type: verbatim
12019 #: ../src/guestfs-actions.pod:4777
12020 #, no-wrap
12021 msgid ""
12022 " int guestfs_tgz_out (guestfs_h *g,\n"
12023 "\t\tconst char *directory,\n"
12024 "\t\tconst char *tarball);\n"
12025 "\n"
12026 msgstr ""
12027
12028 # type: textblock
12029 #: ../src/guestfs-actions.pod:4781 ../fish/guestfish-actions.pod:3686
12030 msgid ""
12031 "This command packs the contents of C<directory> and downloads it to local "
12032 "file C<tarball>."
12033 msgstr ""
12034
12035 # type: textblock
12036 #: ../src/guestfs-actions.pod:4784
12037 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12038 msgstr ""
12039
12040 # type: =head2
12041 #: ../src/guestfs-actions.pod:4788
12042 msgid "guestfs_touch"
12043 msgstr ""
12044
12045 # type: verbatim
12046 #: ../src/guestfs-actions.pod:4790
12047 #, no-wrap
12048 msgid ""
12049 " int guestfs_touch (guestfs_h *g,\n"
12050 "\t\tconst char *path);\n"
12051 "\n"
12052 msgstr ""
12053
12054 # type: textblock
12055 #: ../src/guestfs-actions.pod:4793 ../fish/guestfish-actions.pod:3697
12056 msgid ""
12057 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12058 "timestamps on a file, or, if the file does not exist, to create a new "
12059 "zero-length file."
12060 msgstr ""
12061
12062 # type: textblock
12063 #: ../src/guestfs-actions.pod:4797 ../fish/guestfish-actions.pod:3701
12064 msgid ""
12065 "This command only works on regular files, and will fail on other file types "
12066 "such as directories, symbolic links, block special etc."
12067 msgstr ""
12068
12069 # type: =head2
12070 #: ../src/guestfs-actions.pod:4802
12071 msgid "guestfs_truncate"
12072 msgstr ""
12073
12074 # type: verbatim
12075 #: ../src/guestfs-actions.pod:4804
12076 #, no-wrap
12077 msgid ""
12078 " int guestfs_truncate (guestfs_h *g,\n"
12079 "\t\tconst char *path);\n"
12080 "\n"
12081 msgstr ""
12082
12083 # type: textblock
12084 #: ../src/guestfs-actions.pod:4807 ../fish/guestfish-actions.pod:3708
12085 msgid ""
12086 "This command truncates C<path> to a zero-length file.  The file must exist "
12087 "already."
12088 msgstr ""
12089
12090 # type: =head2
12091 #: ../src/guestfs-actions.pod:4812
12092 msgid "guestfs_truncate_size"
12093 msgstr ""
12094
12095 # type: verbatim
12096 #: ../src/guestfs-actions.pod:4814
12097 #, no-wrap
12098 msgid ""
12099 " int guestfs_truncate_size (guestfs_h *g,\n"
12100 "\t\tconst char *path,\n"
12101 "\t\tint64_t size);\n"
12102 "\n"
12103 msgstr ""
12104
12105 # type: textblock
12106 #: ../src/guestfs-actions.pod:4818 ../fish/guestfish-actions.pod:3715
12107 msgid ""
12108 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12109 "already."
12110 msgstr ""
12111
12112 # type: textblock
12113 #: ../src/guestfs-actions.pod:4821
12114 msgid ""
12115 "If the current file size is less than C<size> then the file is extended to "
12116 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12117 "blocks are not allocated for the file until you write to it).  To create a "
12118 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12119 msgstr ""
12120
12121 # type: =head2
12122 #: ../src/guestfs-actions.pod:4829
12123 msgid "guestfs_tune2fs_l"
12124 msgstr ""
12125
12126 # type: verbatim
12127 #: ../src/guestfs-actions.pod:4831
12128 #, no-wrap
12129 msgid ""
12130 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12131 "\t\tconst char *device);\n"
12132 "\n"
12133 msgstr ""
12134
12135 # type: textblock
12136 #: ../src/guestfs-actions.pod:4834 ../fish/guestfish-actions.pod:3728
12137 msgid ""
12138 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12139 "C<device>."
12140 msgstr ""
12141
12142 # type: textblock
12143 #: ../src/guestfs-actions.pod:4837 ../fish/guestfish-actions.pod:3731
12144 msgid ""
12145 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12146 "for more details.  The list of fields returned isn't clearly defined, and "
12147 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12148 "and the filesystem itself."
12149 msgstr ""
12150
12151 # type: =head2
12152 #: ../src/guestfs-actions.pod:4848
12153 msgid "guestfs_txz_in"
12154 msgstr ""
12155
12156 # type: verbatim
12157 #: ../src/guestfs-actions.pod:4850
12158 #, no-wrap
12159 msgid ""
12160 " int guestfs_txz_in (guestfs_h *g,\n"
12161 "\t\tconst char *tarball,\n"
12162 "\t\tconst char *directory);\n"
12163 "\n"
12164 msgstr ""
12165
12166 # type: textblock
12167 #: ../src/guestfs-actions.pod:4854 ../fish/guestfish-actions.pod:3740
12168 msgid ""
12169 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12170 "tar file) into C<directory>."
12171 msgstr ""
12172
12173 # type: =head2
12174 #: ../src/guestfs-actions.pod:4859
12175 msgid "guestfs_txz_out"
12176 msgstr ""
12177
12178 # type: verbatim
12179 #: ../src/guestfs-actions.pod:4861
12180 #, no-wrap
12181 msgid ""
12182 " int guestfs_txz_out (guestfs_h *g,\n"
12183 "\t\tconst char *directory,\n"
12184 "\t\tconst char *tarball);\n"
12185 "\n"
12186 msgstr ""
12187
12188 # type: textblock
12189 #: ../src/guestfs-actions.pod:4865 ../fish/guestfish-actions.pod:3749
12190 msgid ""
12191 "This command packs the contents of C<directory> and downloads it to local "
12192 "file C<tarball> (as an xz compressed tar archive)."
12193 msgstr ""
12194
12195 # type: =head2
12196 #: ../src/guestfs-actions.pod:4870
12197 msgid "guestfs_umask"
12198 msgstr ""
12199
12200 # type: verbatim
12201 #: ../src/guestfs-actions.pod:4872
12202 #, no-wrap
12203 msgid ""
12204 " int guestfs_umask (guestfs_h *g,\n"
12205 "\t\tint mask);\n"
12206 "\n"
12207 msgstr ""
12208
12209 # type: textblock
12210 #: ../src/guestfs-actions.pod:4875 ../fish/guestfish-actions.pod:3758
12211 msgid ""
12212 "This function sets the mask used for creating new files and device nodes to "
12213 "C<mask & 0777>."
12214 msgstr ""
12215
12216 # type: textblock
12217 #: ../src/guestfs-actions.pod:4878 ../fish/guestfish-actions.pod:3761
12218 msgid ""
12219 "Typical umask values would be C<022> which creates new files with "
12220 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
12221 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
12222 msgstr ""
12223
12224 # type: textblock
12225 #: ../src/guestfs-actions.pod:4883 ../fish/guestfish-actions.pod:3766
12226 msgid ""
12227 "The default umask is C<022>.  This is important because it means that "
12228 "directories and device nodes will be created with C<0644> or C<0755> mode "
12229 "even if you specify C<0777>."
12230 msgstr ""
12231
12232 # type: textblock
12233 #: ../src/guestfs-actions.pod:4887
12234 msgid ""
12235 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
12236 "C<guestfs_mkdir>."
12237 msgstr ""
12238
12239 # type: textblock
12240 #: ../src/guestfs-actions.pod:4890 ../fish/guestfish-actions.pod:3773
12241 msgid "This call returns the previous umask."
12242 msgstr ""
12243
12244 # type: =head2
12245 #: ../src/guestfs-actions.pod:4894
12246 msgid "guestfs_umount"
12247 msgstr ""
12248
12249 # type: verbatim
12250 #: ../src/guestfs-actions.pod:4896
12251 #, no-wrap
12252 msgid ""
12253 " int guestfs_umount (guestfs_h *g,\n"
12254 "\t\tconst char *pathordevice);\n"
12255 "\n"
12256 msgstr ""
12257
12258 # type: textblock
12259 #: ../src/guestfs-actions.pod:4899 ../fish/guestfish-actions.pod:3779
12260 msgid ""
12261 "This unmounts the given filesystem.  The filesystem may be specified either "
12262 "by its mountpoint (path) or the device which contains the filesystem."
12263 msgstr ""
12264
12265 # type: =head2
12266 #: ../src/guestfs-actions.pod:4905
12267 msgid "guestfs_umount_all"
12268 msgstr ""
12269
12270 # type: verbatim
12271 #: ../src/guestfs-actions.pod:4907
12272 #, no-wrap
12273 msgid ""
12274 " int guestfs_umount_all (guestfs_h *g);\n"
12275 "\n"
12276 msgstr ""
12277
12278 # type: textblock
12279 #: ../src/guestfs-actions.pod:4909 ../fish/guestfish-actions.pod:3787
12280 msgid "This unmounts all mounted filesystems."
12281 msgstr ""
12282
12283 # type: textblock
12284 #: ../src/guestfs-actions.pod:4911 ../fish/guestfish-actions.pod:3789
12285 msgid "Some internal mounts are not unmounted by this call."
12286 msgstr ""
12287
12288 # type: =head2
12289 #: ../src/guestfs-actions.pod:4915
12290 msgid "guestfs_upload"
12291 msgstr ""
12292
12293 # type: verbatim
12294 #: ../src/guestfs-actions.pod:4917
12295 #, no-wrap
12296 msgid ""
12297 " int guestfs_upload (guestfs_h *g,\n"
12298 "\t\tconst char *filename,\n"
12299 "\t\tconst char *remotefilename);\n"
12300 "\n"
12301 msgstr ""
12302
12303 # type: textblock
12304 #: ../src/guestfs-actions.pod:4921 ../fish/guestfish-actions.pod:3795
12305 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
12306 msgstr ""
12307
12308 # type: textblock
12309 #: ../src/guestfs-actions.pod:4926
12310 msgid "See also C<guestfs_download>."
12311 msgstr ""
12312
12313 # type: =head2
12314 #: ../src/guestfs-actions.pod:4930
12315 msgid "guestfs_utimens"
12316 msgstr ""
12317
12318 # type: verbatim
12319 #: ../src/guestfs-actions.pod:4932
12320 #, no-wrap
12321 msgid ""
12322 " int guestfs_utimens (guestfs_h *g,\n"
12323 "\t\tconst char *path,\n"
12324 "\t\tint64_t atsecs,\n"
12325 "\t\tint64_t atnsecs,\n"
12326 "\t\tint64_t mtsecs,\n"
12327 "\t\tint64_t mtnsecs);\n"
12328 "\n"
12329 msgstr ""
12330
12331 # type: textblock
12332 #: ../src/guestfs-actions.pod:4939 ../fish/guestfish-actions.pod:3808
12333 msgid "This command sets the timestamps of a file with nanosecond precision."
12334 msgstr ""
12335
12336 # type: textblock
12337 #: ../src/guestfs-actions.pod:4942 ../fish/guestfish-actions.pod:3811
12338 msgid ""
12339 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
12340 "from the epoch."
12341 msgstr ""
12342
12343 # type: textblock
12344 #: ../src/guestfs-actions.pod:4945 ../fish/guestfish-actions.pod:3814
12345 msgid ""
12346 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
12347 "nanoseconds from the epoch."
12348 msgstr ""
12349
12350 # type: textblock
12351 #: ../src/guestfs-actions.pod:4948 ../fish/guestfish-actions.pod:3817
12352 msgid ""
12353 "If the C<*nsecs> field contains the special value C<-1> then the "
12354 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
12355 "ignored in this case)."
12356 msgstr ""
12357
12358 # type: textblock
12359 #: ../src/guestfs-actions.pod:4952 ../fish/guestfish-actions.pod:3821
12360 msgid ""
12361 "If the C<*nsecs> field contains the special value C<-2> then the "
12362 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
12363 "in this case)."
12364 msgstr ""
12365
12366 # type: =head2
12367 #: ../src/guestfs-actions.pod:4958 ../src/guestfs-structs.pod:175
12368 msgid "guestfs_version"
12369 msgstr ""
12370
12371 # type: verbatim
12372 #: ../src/guestfs-actions.pod:4960
12373 #, no-wrap
12374 msgid ""
12375 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
12376 "\n"
12377 msgstr ""
12378
12379 # type: textblock
12380 #: ../src/guestfs-actions.pod:4962 ../fish/guestfish-actions.pod:3829
12381 msgid "Return the libguestfs version number that the program is linked against."
12382 msgstr ""
12383
12384 # type: textblock
12385 #: ../src/guestfs-actions.pod:4965 ../fish/guestfish-actions.pod:3832
12386 msgid ""
12387 "Note that because of dynamic linking this is not necessarily the version of "
12388 "libguestfs that you compiled against.  You can compile the program, and then "
12389 "at runtime dynamically link against a completely different C<libguestfs.so> "
12390 "library."
12391 msgstr ""
12392
12393 # type: textblock
12394 #: ../src/guestfs-actions.pod:4970 ../fish/guestfish-actions.pod:3837
12395 msgid ""
12396 "This call was added in version C<1.0.58>.  In previous versions of "
12397 "libguestfs there was no way to get the version number.  From C code you can "
12398 "use dynamic linker functions to find out if this symbol exists (if it "
12399 "doesn't, then it's an earlier version)."
12400 msgstr ""
12401
12402 # type: textblock
12403 #: ../src/guestfs-actions.pod:4976 ../fish/guestfish-actions.pod:3843
12404 msgid ""
12405 "The call returns a structure with four elements.  The first three (C<major>, "
12406 "C<minor> and C<release>) are numbers and correspond to the usual version "
12407 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
12408 "but may be used for distro-specific information."
12409 msgstr ""
12410
12411 # type: textblock
12412 #: ../src/guestfs-actions.pod:4982 ../fish/guestfish-actions.pod:3849
12413 msgid "To construct the original version string: C<$major.$minor.$release$extra>"
12414 msgstr ""
12415
12416 # type: textblock
12417 #: ../src/guestfs-actions.pod:4985 ../fish/guestfish-actions.pod:3852
12418 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
12419 msgstr ""
12420
12421 # type: textblock
12422 #: ../src/guestfs-actions.pod:4987
12423 msgid ""
12424 "I<Note:> Don't use this call to test for availability of features.  In "
12425 "enterprise distributions we backport features from later versions into "
12426 "earlier versions, making this an unreliable way to test for features.  Use "
12427 "C<guestfs_available> instead."
12428 msgstr ""
12429
12430 # type: textblock
12431 #: ../src/guestfs-actions.pod:4993
12432 msgid ""
12433 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
12434 "error.  I<The caller must call C<guestfs_free_version> after use>."
12435 msgstr ""
12436
12437 # type: =head2
12438 #: ../src/guestfs-actions.pod:4997
12439 msgid "guestfs_vfs_label"
12440 msgstr ""
12441
12442 # type: verbatim
12443 #: ../src/guestfs-actions.pod:4999
12444 #, no-wrap
12445 msgid ""
12446 " char *guestfs_vfs_label (guestfs_h *g,\n"
12447 "\t\tconst char *device);\n"
12448 "\n"
12449 msgstr ""
12450
12451 # type: textblock
12452 #: ../src/guestfs-actions.pod:5002 ../fish/guestfish-actions.pod:3864
12453 msgid "This returns the filesystem label of the filesystem on C<device>."
12454 msgstr ""
12455
12456 # type: textblock
12457 #: ../src/guestfs-actions.pod:5005 ../fish/guestfish-actions.pod:3867
12458 msgid "If the filesystem is unlabeled, this returns the empty string."
12459 msgstr ""
12460
12461 # type: textblock
12462 #: ../src/guestfs-actions.pod:5007
12463 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
12464 msgstr ""
12465
12466 # type: =head2
12467 #: ../src/guestfs-actions.pod:5012
12468 msgid "guestfs_vfs_type"
12469 msgstr ""
12470
12471 # type: verbatim
12472 #: ../src/guestfs-actions.pod:5014
12473 #, no-wrap
12474 msgid ""
12475 " char *guestfs_vfs_type (guestfs_h *g,\n"
12476 "\t\tconst char *device);\n"
12477 "\n"
12478 msgstr ""
12479
12480 # type: textblock
12481 #: ../src/guestfs-actions.pod:5017 ../fish/guestfish-actions.pod:3875
12482 msgid ""
12483 "This command gets the filesystem type corresponding to the filesystem on "
12484 "C<device>."
12485 msgstr ""
12486
12487 # type: textblock
12488 #: ../src/guestfs-actions.pod:5020 ../fish/guestfish-actions.pod:3878
12489 msgid ""
12490 "For most filesystems, the result is the name of the Linux VFS module which "
12491 "would be used to mount this filesystem if you mounted it without specifying "
12492 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
12493 msgstr ""
12494
12495 # type: =head2
12496 #: ../src/guestfs-actions.pod:5028
12497 msgid "guestfs_vfs_uuid"
12498 msgstr ""
12499
12500 # type: verbatim
12501 #: ../src/guestfs-actions.pod:5030
12502 #, no-wrap
12503 msgid ""
12504 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
12505 "\t\tconst char *device);\n"
12506 "\n"
12507 msgstr ""
12508
12509 # type: textblock
12510 #: ../src/guestfs-actions.pod:5033 ../fish/guestfish-actions.pod:3887
12511 msgid "This returns the filesystem UUID of the filesystem on C<device>."
12512 msgstr ""
12513
12514 # type: textblock
12515 #: ../src/guestfs-actions.pod:5036 ../fish/guestfish-actions.pod:3890
12516 msgid "If the filesystem does not have a UUID, this returns the empty string."
12517 msgstr ""
12518
12519 # type: textblock
12520 #: ../src/guestfs-actions.pod:5038
12521 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
12522 msgstr ""
12523
12524 # type: =head2
12525 #: ../src/guestfs-actions.pod:5043
12526 msgid "guestfs_vg_activate"
12527 msgstr ""
12528
12529 # type: verbatim
12530 #: ../src/guestfs-actions.pod:5045
12531 #, no-wrap
12532 msgid ""
12533 " int guestfs_vg_activate (guestfs_h *g,\n"
12534 "\t\tint activate,\n"
12535 "\t\tchar *const *volgroups);\n"
12536 "\n"
12537 msgstr ""
12538
12539 # type: textblock
12540 #: ../src/guestfs-actions.pod:5049 ../fish/guestfish-actions.pod:3898
12541 msgid ""
12542 "This command activates or (if C<activate> is false) deactivates all logical "
12543 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
12544 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
12545 "deactivated, then those devices disappear."
12546 msgstr ""
12547
12548 # type: textblock
12549 #: ../src/guestfs-actions.pod:5055 ../fish/guestfish-actions.pod:3904
12550 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
12551 msgstr ""
12552
12553 # type: textblock
12554 #: ../src/guestfs-actions.pod:5057 ../fish/guestfish-actions.pod:3906
12555 msgid ""
12556 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
12557 "activated or deactivated."
12558 msgstr ""
12559
12560 # type: =head2
12561 #: ../src/guestfs-actions.pod:5062
12562 msgid "guestfs_vg_activate_all"
12563 msgstr ""
12564
12565 # type: verbatim
12566 #: ../src/guestfs-actions.pod:5064
12567 #, no-wrap
12568 msgid ""
12569 " int guestfs_vg_activate_all (guestfs_h *g,\n"
12570 "\t\tint activate);\n"
12571 "\n"
12572 msgstr ""
12573
12574 # type: textblock
12575 #: ../src/guestfs-actions.pod:5067 ../fish/guestfish-actions.pod:3913
12576 msgid ""
12577 "This command activates or (if C<activate> is false) deactivates all logical "
12578 "volumes in all volume groups.  If activated, then they are made known to the "
12579 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
12580 "those devices disappear."
12581 msgstr ""
12582
12583 # type: textblock
12584 #: ../src/guestfs-actions.pod:5073 ../fish/guestfish-actions.pod:3919
12585 msgid "This command is the same as running C<vgchange -a y|n>"
12586 msgstr ""
12587
12588 # type: =head2
12589 #: ../src/guestfs-actions.pod:5077
12590 msgid "guestfs_vgcreate"
12591 msgstr ""
12592
12593 # type: verbatim
12594 #: ../src/guestfs-actions.pod:5079
12595 #, no-wrap
12596 msgid ""
12597 " int guestfs_vgcreate (guestfs_h *g,\n"
12598 "\t\tconst char *volgroup,\n"
12599 "\t\tchar *const *physvols);\n"
12600 "\n"
12601 msgstr ""
12602
12603 # type: textblock
12604 #: ../src/guestfs-actions.pod:5083 ../fish/guestfish-actions.pod:3925
12605 msgid ""
12606 "This creates an LVM volume group called C<volgroup> from the non-empty list "
12607 "of physical volumes C<physvols>."
12608 msgstr ""
12609
12610 # type: =head2
12611 #: ../src/guestfs-actions.pod:5088
12612 msgid "guestfs_vglvuuids"
12613 msgstr ""
12614
12615 # type: verbatim
12616 #: ../src/guestfs-actions.pod:5090
12617 #, no-wrap
12618 msgid ""
12619 " char **guestfs_vglvuuids (guestfs_h *g,\n"
12620 "\t\tconst char *vgname);\n"
12621 "\n"
12622 msgstr ""
12623
12624 # type: textblock
12625 #: ../src/guestfs-actions.pod:5093 ../fish/guestfish-actions.pod:3932
12626 msgid ""
12627 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
12628 "volumes created in this volume group."
12629 msgstr ""
12630
12631 # type: textblock
12632 #: ../src/guestfs-actions.pod:5096
12633 msgid ""
12634 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
12635 "associate logical volumes and volume groups."
12636 msgstr ""
12637
12638 # type: textblock
12639 #: ../src/guestfs-actions.pod:5099
12640 msgid "See also C<guestfs_vgpvuuids>."
12641 msgstr ""
12642
12643 # type: =head2
12644 #: ../src/guestfs-actions.pod:5105
12645 msgid "guestfs_vgpvuuids"
12646 msgstr ""
12647
12648 # type: verbatim
12649 #: ../src/guestfs-actions.pod:5107
12650 #, no-wrap
12651 msgid ""
12652 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
12653 "\t\tconst char *vgname);\n"
12654 "\n"
12655 msgstr ""
12656
12657 # type: textblock
12658 #: ../src/guestfs-actions.pod:5110 ../fish/guestfish-actions.pod:3944
12659 msgid ""
12660 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
12661 "volumes that this volume group resides on."
12662 msgstr ""
12663
12664 # type: textblock
12665 #: ../src/guestfs-actions.pod:5113
12666 msgid ""
12667 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
12668 "associate physical volumes and volume groups."
12669 msgstr ""
12670
12671 # type: textblock
12672 #: ../src/guestfs-actions.pod:5116
12673 msgid "See also C<guestfs_vglvuuids>."
12674 msgstr ""
12675
12676 # type: =head2
12677 #: ../src/guestfs-actions.pod:5122
12678 msgid "guestfs_vgremove"
12679 msgstr ""
12680
12681 # type: verbatim
12682 #: ../src/guestfs-actions.pod:5124
12683 #, no-wrap
12684 msgid ""
12685 " int guestfs_vgremove (guestfs_h *g,\n"
12686 "\t\tconst char *vgname);\n"
12687 "\n"
12688 msgstr ""
12689
12690 # type: textblock
12691 #: ../src/guestfs-actions.pod:5127 ../fish/guestfish-actions.pod:3956
12692 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
12693 msgstr ""
12694
12695 # type: textblock
12696 #: ../src/guestfs-actions.pod:5129 ../fish/guestfish-actions.pod:3958
12697 msgid "This also forcibly removes all logical volumes in the volume group (if any)."
12698 msgstr ""
12699
12700 # type: =head2
12701 #: ../src/guestfs-actions.pod:5134
12702 msgid "guestfs_vgrename"
12703 msgstr ""
12704
12705 # type: verbatim
12706 #: ../src/guestfs-actions.pod:5136
12707 #, no-wrap
12708 msgid ""
12709 " int guestfs_vgrename (guestfs_h *g,\n"
12710 "\t\tconst char *volgroup,\n"
12711 "\t\tconst char *newvolgroup);\n"
12712 "\n"
12713 msgstr ""
12714
12715 # type: textblock
12716 #: ../src/guestfs-actions.pod:5140 ../fish/guestfish-actions.pod:3965
12717 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
12718 msgstr ""
12719
12720 # type: =head2
12721 #: ../src/guestfs-actions.pod:5144
12722 msgid "guestfs_vgs"
12723 msgstr ""
12724
12725 # type: verbatim
12726 #: ../src/guestfs-actions.pod:5146
12727 #, no-wrap
12728 msgid ""
12729 " char **guestfs_vgs (guestfs_h *g);\n"
12730 "\n"
12731 msgstr ""
12732
12733 # type: textblock
12734 #: ../src/guestfs-actions.pod:5148 ../fish/guestfish-actions.pod:3971
12735 msgid ""
12736 "List all the volumes groups detected.  This is the equivalent of the "
12737 "L<vgs(8)> command."
12738 msgstr ""
12739
12740 # type: textblock
12741 #: ../src/guestfs-actions.pod:5151 ../fish/guestfish-actions.pod:3974
12742 msgid ""
12743 "This returns a list of just the volume group names that were detected "
12744 "(eg. C<VolGroup00>)."
12745 msgstr ""
12746
12747 # type: textblock
12748 #: ../src/guestfs-actions.pod:5154
12749 msgid "See also C<guestfs_vgs_full>."
12750 msgstr ""
12751
12752 # type: =head2
12753 #: ../src/guestfs-actions.pod:5160
12754 msgid "guestfs_vgs_full"
12755 msgstr ""
12756
12757 # type: verbatim
12758 #: ../src/guestfs-actions.pod:5162
12759 #, no-wrap
12760 msgid ""
12761 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
12762 "\n"
12763 msgstr ""
12764
12765 # type: textblock
12766 #: ../src/guestfs-actions.pod:5164 ../fish/guestfish-actions.pod:3983
12767 msgid ""
12768 "List all the volumes groups detected.  This is the equivalent of the "
12769 "L<vgs(8)> command.  The \"full\" version includes all fields."
12770 msgstr ""
12771
12772 # type: textblock
12773 #: ../src/guestfs-actions.pod:5167
12774 msgid ""
12775 "This function returns a C<struct guestfs_lvm_vg_list *> (see "
12776 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
12777 "must call C<guestfs_free_lvm_vg_list> after use>."
12778 msgstr ""
12779
12780 # type: =head2
12781 #: ../src/guestfs-actions.pod:5172
12782 msgid "guestfs_vgscan"
12783 msgstr ""
12784
12785 # type: verbatim
12786 #: ../src/guestfs-actions.pod:5174
12787 #, no-wrap
12788 msgid ""
12789 " int guestfs_vgscan (guestfs_h *g);\n"
12790 "\n"
12791 msgstr ""
12792
12793 # type: textblock
12794 #: ../src/guestfs-actions.pod:5176 ../fish/guestfish-actions.pod:3990
12795 msgid ""
12796 "This rescans all block devices and rebuilds the list of LVM physical "
12797 "volumes, volume groups and logical volumes."
12798 msgstr ""
12799
12800 # type: =head2
12801 #: ../src/guestfs-actions.pod:5181
12802 msgid "guestfs_vguuid"
12803 msgstr ""
12804
12805 # type: verbatim
12806 #: ../src/guestfs-actions.pod:5183
12807 #, no-wrap
12808 msgid ""
12809 " char *guestfs_vguuid (guestfs_h *g,\n"
12810 "\t\tconst char *vgname);\n"
12811 "\n"
12812 msgstr ""
12813
12814 # type: textblock
12815 #: ../src/guestfs-actions.pod:5186 ../fish/guestfish-actions.pod:3997
12816 msgid "This command returns the UUID of the LVM VG named C<vgname>."
12817 msgstr ""
12818
12819 # type: =head2
12820 #: ../src/guestfs-actions.pod:5191
12821 msgid "guestfs_wait_ready"
12822 msgstr ""
12823
12824 # type: verbatim
12825 #: ../src/guestfs-actions.pod:5193
12826 #, no-wrap
12827 msgid ""
12828 " int guestfs_wait_ready (guestfs_h *g);\n"
12829 "\n"
12830 msgstr ""
12831
12832 # type: textblock
12833 #: ../src/guestfs-actions.pod:5195
12834 msgid "This function is a no op."
12835 msgstr ""
12836
12837 # type: textblock
12838 #: ../src/guestfs-actions.pod:5197
12839 msgid ""
12840 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
12841 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
12842 "is no longer necessary because C<guestfs_launch> now does the waiting."
12843 msgstr ""
12844
12845 # type: textblock
12846 #: ../src/guestfs-actions.pod:5202
12847 msgid ""
12848 "If you see any calls to this function in code then you can just remove them, "
12849 "unless you want to retain compatibility with older versions of the API."
12850 msgstr ""
12851
12852 # type: =head2
12853 #: ../src/guestfs-actions.pod:5208
12854 msgid "guestfs_wc_c"
12855 msgstr ""
12856
12857 # type: verbatim
12858 #: ../src/guestfs-actions.pod:5210
12859 #, no-wrap
12860 msgid ""
12861 " int guestfs_wc_c (guestfs_h *g,\n"
12862 "\t\tconst char *path);\n"
12863 "\n"
12864 msgstr ""
12865
12866 # type: textblock
12867 #: ../src/guestfs-actions.pod:5213 ../fish/guestfish-actions.pod:4003
12868 msgid ""
12869 "This command counts the characters in a file, using the C<wc -c> external "
12870 "command."
12871 msgstr ""
12872
12873 # type: =head2
12874 #: ../src/guestfs-actions.pod:5218
12875 msgid "guestfs_wc_l"
12876 msgstr ""
12877
12878 # type: verbatim
12879 #: ../src/guestfs-actions.pod:5220
12880 #, no-wrap
12881 msgid ""
12882 " int guestfs_wc_l (guestfs_h *g,\n"
12883 "\t\tconst char *path);\n"
12884 "\n"
12885 msgstr ""
12886
12887 # type: textblock
12888 #: ../src/guestfs-actions.pod:5223 ../fish/guestfish-actions.pod:4010
12889 msgid ""
12890 "This command counts the lines in a file, using the C<wc -l> external "
12891 "command."
12892 msgstr ""
12893
12894 # type: =head2
12895 #: ../src/guestfs-actions.pod:5228
12896 msgid "guestfs_wc_w"
12897 msgstr ""
12898
12899 # type: verbatim
12900 #: ../src/guestfs-actions.pod:5230
12901 #, no-wrap
12902 msgid ""
12903 " int guestfs_wc_w (guestfs_h *g,\n"
12904 "\t\tconst char *path);\n"
12905 "\n"
12906 msgstr ""
12907
12908 # type: textblock
12909 #: ../src/guestfs-actions.pod:5233 ../fish/guestfish-actions.pod:4017
12910 msgid ""
12911 "This command counts the words in a file, using the C<wc -w> external "
12912 "command."
12913 msgstr ""
12914
12915 # type: =head2
12916 #: ../src/guestfs-actions.pod:5238
12917 msgid "guestfs_write"
12918 msgstr ""
12919
12920 # type: verbatim
12921 #: ../src/guestfs-actions.pod:5240
12922 #, no-wrap
12923 msgid ""
12924 " int guestfs_write (guestfs_h *g,\n"
12925 "\t\tconst char *path,\n"
12926 "\t\tconst char *content,\n"
12927 "\t\tsize_t content_size);\n"
12928 "\n"
12929 msgstr ""
12930
12931 # type: textblock
12932 #: ../src/guestfs-actions.pod:5245 ../fish/guestfish-actions.pod:4024
12933 msgid ""
12934 "This call creates a file called C<path>.  The content of the file is the "
12935 "string C<content> (which can contain any 8 bit data)."
12936 msgstr ""
12937
12938 # type: =head2
12939 #: ../src/guestfs-actions.pod:5253
12940 msgid "guestfs_write_file"
12941 msgstr ""
12942
12943 # type: verbatim
12944 #: ../src/guestfs-actions.pod:5255
12945 #, no-wrap
12946 msgid ""
12947 " int guestfs_write_file (guestfs_h *g,\n"
12948 "\t\tconst char *path,\n"
12949 "\t\tconst char *content,\n"
12950 "\t\tint size);\n"
12951 "\n"
12952 msgstr ""
12953
12954 # type: textblock
12955 #: ../src/guestfs-actions.pod:5260 ../fish/guestfish-actions.pod:4034
12956 msgid ""
12957 "This call creates a file called C<path>.  The contents of the file is the "
12958 "string C<content> (which can contain any 8 bit data), with length C<size>."
12959 msgstr ""
12960
12961 # type: textblock
12962 #: ../src/guestfs-actions.pod:5264 ../fish/guestfish-actions.pod:4038
12963 msgid ""
12964 "As a special case, if C<size> is C<0> then the length is calculated using "
12965 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
12966 msgstr ""
12967
12968 # type: textblock
12969 #: ../src/guestfs-actions.pod:5268 ../fish/guestfish-actions.pod:4042
12970 msgid ""
12971 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
12972 "I<not> work, even if the length is specified."
12973 msgstr ""
12974
12975 # type: textblock
12976 #: ../src/guestfs-actions.pod:5276 ../fish/guestfish-actions.pod:4048
12977 msgid "This function is deprecated.  In new code, use the C<write> call instead."
12978 msgstr ""
12979
12980 # type: =head2
12981 #: ../src/guestfs-actions.pod:5283
12982 msgid "guestfs_zegrep"
12983 msgstr ""
12984
12985 # type: verbatim
12986 #: ../src/guestfs-actions.pod:5285
12987 #, no-wrap
12988 msgid ""
12989 " char **guestfs_zegrep (guestfs_h *g,\n"
12990 "\t\tconst char *regex,\n"
12991 "\t\tconst char *path);\n"
12992 "\n"
12993 msgstr ""
12994
12995 # type: textblock
12996 #: ../src/guestfs-actions.pod:5289 ../fish/guestfish-actions.pod:4059
12997 msgid "This calls the external C<zegrep> program and returns the matching lines."
12998 msgstr ""
12999
13000 # type: =head2
13001 #: ../src/guestfs-actions.pod:5299
13002 msgid "guestfs_zegrepi"
13003 msgstr ""
13004
13005 # type: verbatim
13006 #: ../src/guestfs-actions.pod:5301
13007 #, no-wrap
13008 msgid ""
13009 " char **guestfs_zegrepi (guestfs_h *g,\n"
13010 "\t\tconst char *regex,\n"
13011 "\t\tconst char *path);\n"
13012 "\n"
13013 msgstr ""
13014
13015 # type: textblock
13016 #: ../src/guestfs-actions.pod:5305 ../fish/guestfish-actions.pod:4069
13017 msgid "This calls the external C<zegrep -i> program and returns the matching lines."
13018 msgstr ""
13019
13020 # type: =head2
13021 #: ../src/guestfs-actions.pod:5315
13022 msgid "guestfs_zero"
13023 msgstr ""
13024
13025 # type: verbatim
13026 #: ../src/guestfs-actions.pod:5317
13027 #, no-wrap
13028 msgid ""
13029 " int guestfs_zero (guestfs_h *g,\n"
13030 "\t\tconst char *device);\n"
13031 "\n"
13032 msgstr ""
13033
13034 # type: textblock
13035 #: ../src/guestfs-actions.pod:5320 ../fish/guestfish-actions.pod:4079
13036 msgid "This command writes zeroes over the first few blocks of C<device>."
13037 msgstr ""
13038
13039 # type: textblock
13040 #: ../src/guestfs-actions.pod:5322 ../fish/guestfish-actions.pod:4081
13041 msgid ""
13042 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13043 "securely wipe the device).  It should be sufficient to remove any partition "
13044 "tables, filesystem superblocks and so on."
13045 msgstr ""
13046
13047 # type: textblock
13048 #: ../src/guestfs-actions.pod:5326
13049 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13050 msgstr ""
13051
13052 # type: =head2
13053 #: ../src/guestfs-actions.pod:5335
13054 msgid "guestfs_zero_device"
13055 msgstr ""
13056
13057 # type: verbatim
13058 #: ../src/guestfs-actions.pod:5337
13059 #, no-wrap
13060 msgid ""
13061 " int guestfs_zero_device (guestfs_h *g,\n"
13062 "\t\tconst char *device);\n"
13063 "\n"
13064 msgstr ""
13065
13066 # type: textblock
13067 #: ../src/guestfs-actions.pod:5340
13068 msgid ""
13069 "This command writes zeroes over the entire C<device>.  Compare with "
13070 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13071 msgstr ""
13072
13073 # type: =head2
13074 #: ../src/guestfs-actions.pod:5354
13075 msgid "guestfs_zerofree"
13076 msgstr ""
13077
13078 # type: verbatim
13079 #: ../src/guestfs-actions.pod:5356
13080 #, no-wrap
13081 msgid ""
13082 " int guestfs_zerofree (guestfs_h *g,\n"
13083 "\t\tconst char *device);\n"
13084 "\n"
13085 msgstr ""
13086
13087 # type: textblock
13088 #: ../src/guestfs-actions.pod:5359 ../fish/guestfish-actions.pod:4102
13089 msgid ""
13090 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13091 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13092 "possible to compress the filesystem more effectively."
13093 msgstr ""
13094
13095 # type: textblock
13096 #: ../src/guestfs-actions.pod:5364 ../fish/guestfish-actions.pod:4107
13097 msgid "You should B<not> run this program if the filesystem is mounted."
13098 msgstr ""
13099
13100 # type: textblock
13101 #: ../src/guestfs-actions.pod:5367 ../fish/guestfish-actions.pod:4110
13102 msgid ""
13103 "It is possible that using this program can damage the filesystem or data on "
13104 "the filesystem."
13105 msgstr ""
13106
13107 # type: =head2
13108 #: ../src/guestfs-actions.pod:5372
13109 msgid "guestfs_zfgrep"
13110 msgstr ""
13111
13112 # type: verbatim
13113 #: ../src/guestfs-actions.pod:5374
13114 #, no-wrap
13115 msgid ""
13116 " char **guestfs_zfgrep (guestfs_h *g,\n"
13117 "\t\tconst char *pattern,\n"
13118 "\t\tconst char *path);\n"
13119 "\n"
13120 msgstr ""
13121
13122 # type: textblock
13123 #: ../src/guestfs-actions.pod:5378 ../fish/guestfish-actions.pod:4117
13124 msgid "This calls the external C<zfgrep> program and returns the matching lines."
13125 msgstr ""
13126
13127 # type: =head2
13128 #: ../src/guestfs-actions.pod:5388
13129 msgid "guestfs_zfgrepi"
13130 msgstr ""
13131
13132 # type: verbatim
13133 #: ../src/guestfs-actions.pod:5390
13134 #, no-wrap
13135 msgid ""
13136 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13137 "\t\tconst char *pattern,\n"
13138 "\t\tconst char *path);\n"
13139 "\n"
13140 msgstr ""
13141
13142 # type: textblock
13143 #: ../src/guestfs-actions.pod:5394 ../fish/guestfish-actions.pod:4127
13144 msgid "This calls the external C<zfgrep -i> program and returns the matching lines."
13145 msgstr ""
13146
13147 # type: =head2
13148 #: ../src/guestfs-actions.pod:5404
13149 msgid "guestfs_zfile"
13150 msgstr ""
13151
13152 # type: verbatim
13153 #: ../src/guestfs-actions.pod:5406
13154 #, no-wrap
13155 msgid ""
13156 " char *guestfs_zfile (guestfs_h *g,\n"
13157 "\t\tconst char *meth,\n"
13158 "\t\tconst char *path);\n"
13159 "\n"
13160 msgstr ""
13161
13162 # type: textblock
13163 #: ../src/guestfs-actions.pod:5410 ../fish/guestfish-actions.pod:4137
13164 msgid "This command runs C<file> after first decompressing C<path> using C<method>."
13165 msgstr ""
13166
13167 # type: textblock
13168 #: ../src/guestfs-actions.pod:5413 ../fish/guestfish-actions.pod:4140
13169 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
13170 msgstr ""
13171
13172 # type: textblock
13173 #: ../src/guestfs-actions.pod:5415
13174 msgid ""
13175 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
13176 "files."
13177 msgstr ""
13178
13179 # type: textblock
13180 #: ../src/guestfs-actions.pod:5421 ../fish/guestfish-actions.pod:4145
13181 msgid "This function is deprecated.  In new code, use the C<file> call instead."
13182 msgstr ""
13183
13184 # type: =head2
13185 #: ../src/guestfs-actions.pod:5428
13186 msgid "guestfs_zgrep"
13187 msgstr ""
13188
13189 # type: verbatim
13190 #: ../src/guestfs-actions.pod:5430
13191 #, no-wrap
13192 msgid ""
13193 " char **guestfs_zgrep (guestfs_h *g,\n"
13194 "\t\tconst char *regex,\n"
13195 "\t\tconst char *path);\n"
13196 "\n"
13197 msgstr ""
13198
13199 # type: textblock
13200 #: ../src/guestfs-actions.pod:5434 ../fish/guestfish-actions.pod:4156
13201 msgid "This calls the external C<zgrep> program and returns the matching lines."
13202 msgstr ""
13203
13204 # type: =head2
13205 #: ../src/guestfs-actions.pod:5444
13206 msgid "guestfs_zgrepi"
13207 msgstr ""
13208
13209 # type: verbatim
13210 #: ../src/guestfs-actions.pod:5446
13211 #, no-wrap
13212 msgid ""
13213 " char **guestfs_zgrepi (guestfs_h *g,\n"
13214 "\t\tconst char *regex,\n"
13215 "\t\tconst char *path);\n"
13216 "\n"
13217 msgstr ""
13218
13219 # type: textblock
13220 #: ../src/guestfs-actions.pod:5450 ../fish/guestfish-actions.pod:4166
13221 msgid "This calls the external C<zgrep -i> program and returns the matching lines."
13222 msgstr ""
13223
13224 # type: =item
13225 #: ../src/guestfs-availability.pod:3
13226 msgid "B<augeas>"
13227 msgstr ""
13228
13229 # type: textblock
13230 #: ../src/guestfs-availability.pod:5
13231 msgid ""
13232 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> "
13233 "L</guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> "
13234 "L</guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> "
13235 "L</guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> "
13236 "L</guestfs_aug_rm> L</guestfs_aug_save> L</guestfs_aug_set>"
13237 msgstr ""
13238
13239 # type: =item
13240 #: ../src/guestfs-availability.pod:21
13241 msgid "B<inotify>"
13242 msgstr ""
13243
13244 # type: textblock
13245 #: ../src/guestfs-availability.pod:23
13246 msgid ""
13247 "The following functions: L</guestfs_inotify_add_watch> "
13248 "L</guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> "
13249 "L</guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
13250 msgstr ""
13251
13252 # type: =item
13253 #: ../src/guestfs-availability.pod:31
13254 msgid "B<linuxfsuuid>"
13255 msgstr ""
13256
13257 # type: textblock
13258 #: ../src/guestfs-availability.pod:33
13259 msgid ""
13260 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> "
13261 "L</guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
13262 msgstr ""
13263
13264 # type: =item
13265 #: ../src/guestfs-availability.pod:40
13266 msgid "B<linuxmodules>"
13267 msgstr ""
13268
13269 # type: textblock
13270 #: ../src/guestfs-availability.pod:42
13271 msgid "The following functions: L</guestfs_modprobe>"
13272 msgstr ""
13273
13274 # type: =item
13275 #: ../src/guestfs-availability.pod:45
13276 msgid "B<linuxxattrs>"
13277 msgstr ""
13278
13279 # type: textblock
13280 #: ../src/guestfs-availability.pod:47
13281 msgid ""
13282 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> "
13283 "L</guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> "
13284 "L</guestfs_removexattr> L</guestfs_setxattr>"
13285 msgstr ""
13286
13287 # type: =item
13288 #: ../src/guestfs-availability.pod:56
13289 msgid "B<luks>"
13290 msgstr ""
13291
13292 # type: textblock
13293 #: ../src/guestfs-availability.pod:58
13294 msgid ""
13295 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> "
13296 "L</guestfs_luks_format> L</guestfs_luks_format_cipher> "
13297 "L</guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
13298 msgstr ""
13299
13300 # type: =item
13301 #: ../src/guestfs-availability.pod:67
13302 msgid "B<lvm2>"
13303 msgstr ""
13304
13305 # type: textblock
13306 #: ../src/guestfs-availability.pod:69
13307 msgid ""
13308 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> "
13309 "L</guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> "
13310 "L</guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> "
13311 "L</guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> "
13312 "L</guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> "
13313 "L</guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> "
13314 "L</guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> "
13315 "L</guestfs_vgs_full>"
13316 msgstr ""
13317
13318 # type: =item
13319 #: ../src/guestfs-availability.pod:92
13320 msgid "B<mknod>"
13321 msgstr ""
13322
13323 # type: textblock
13324 #: ../src/guestfs-availability.pod:94
13325 msgid ""
13326 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> "
13327 "L</guestfs_mknod_b> L</guestfs_mknod_c>"
13328 msgstr ""
13329
13330 # type: =item
13331 #: ../src/guestfs-availability.pod:100
13332 msgid "B<ntfs3g>"
13333 msgstr ""
13334
13335 # type: textblock
13336 #: ../src/guestfs-availability.pod:102
13337 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
13338 msgstr ""
13339
13340 # type: =item
13341 #: ../src/guestfs-availability.pod:105
13342 msgid "B<ntfsprogs>"
13343 msgstr ""
13344
13345 # type: textblock
13346 #: ../src/guestfs-availability.pod:107
13347 msgid "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
13348 msgstr ""
13349
13350 # type: =item
13351 #: ../src/guestfs-availability.pod:111
13352 msgid "B<realpath>"
13353 msgstr ""
13354
13355 # type: textblock
13356 #: ../src/guestfs-availability.pod:113
13357 msgid "The following functions: L</guestfs_realpath>"
13358 msgstr ""
13359
13360 # type: =item
13361 #: ../src/guestfs-availability.pod:116
13362 msgid "B<scrub>"
13363 msgstr ""
13364
13365 # type: textblock
13366 #: ../src/guestfs-availability.pod:118
13367 msgid ""
13368 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> "
13369 "L</guestfs_scrub_freespace>"
13370 msgstr ""
13371
13372 # type: =item
13373 #: ../src/guestfs-availability.pod:123
13374 msgid "B<selinux>"
13375 msgstr ""
13376
13377 # type: textblock
13378 #: ../src/guestfs-availability.pod:125
13379 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
13380 msgstr ""
13381
13382 # type: =item
13383 #: ../src/guestfs-availability.pod:129
13384 msgid "B<xz>"
13385 msgstr ""
13386
13387 # type: textblock
13388 #: ../src/guestfs-availability.pod:131
13389 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
13390 msgstr ""
13391
13392 # type: =item
13393 #: ../src/guestfs-availability.pod:135
13394 msgid "B<zerofree>"
13395 msgstr ""
13396
13397 # type: textblock
13398 #: ../src/guestfs-availability.pod:137
13399 msgid "The following functions: L</guestfs_zerofree>"
13400 msgstr ""
13401
13402 # type: =head2
13403 #: ../src/guestfs-structs.pod:1
13404 msgid "guestfs_int_bool"
13405 msgstr ""
13406
13407 # type: verbatim
13408 #: ../src/guestfs-structs.pod:3
13409 #, no-wrap
13410 msgid ""
13411 " struct guestfs_int_bool {\n"
13412 "   int32_t i;\n"
13413 "   int32_t b;\n"
13414 " };\n"
13415 " \n"
13416 msgstr ""
13417
13418 # type: verbatim
13419 #: ../src/guestfs-structs.pod:8
13420 #, no-wrap
13421 msgid ""
13422 " struct guestfs_int_bool_list {\n"
13423 "   uint32_t len; /* Number of elements in list. */\n"
13424 "   struct guestfs_int_bool *val; /* Elements. */\n"
13425 " };\n"
13426 " \n"
13427 msgstr ""
13428
13429 # type: verbatim
13430 #: ../src/guestfs-structs.pod:13
13431 #, no-wrap
13432 msgid ""
13433 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
13434 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
13435 "\n"
13436 msgstr ""
13437
13438 # type: =head2
13439 #: ../src/guestfs-structs.pod:16
13440 msgid "guestfs_lvm_pv"
13441 msgstr ""
13442
13443 # type: verbatim
13444 #: ../src/guestfs-structs.pod:18
13445 #, no-wrap
13446 msgid ""
13447 " struct guestfs_lvm_pv {\n"
13448 "   char *pv_name;\n"
13449 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13450 "*/\n"
13451 "   char pv_uuid[32];\n"
13452 "   char *pv_fmt;\n"
13453 "   uint64_t pv_size;\n"
13454 "   uint64_t dev_size;\n"
13455 "   uint64_t pv_free;\n"
13456 "   uint64_t pv_used;\n"
13457 "   char *pv_attr;\n"
13458 "   int64_t pv_pe_count;\n"
13459 "   int64_t pv_pe_alloc_count;\n"
13460 "   char *pv_tags;\n"
13461 "   uint64_t pe_start;\n"
13462 "   int64_t pv_mda_count;\n"
13463 "   uint64_t pv_mda_free;\n"
13464 " };\n"
13465 " \n"
13466 msgstr ""
13467
13468 # type: verbatim
13469 #: ../src/guestfs-structs.pod:36
13470 #, no-wrap
13471 msgid ""
13472 " struct guestfs_lvm_pv_list {\n"
13473 "   uint32_t len; /* Number of elements in list. */\n"
13474 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
13475 " };\n"
13476 " \n"
13477 msgstr ""
13478
13479 # type: verbatim
13480 #: ../src/guestfs-structs.pod:41
13481 #, no-wrap
13482 msgid ""
13483 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
13484 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
13485 "\n"
13486 msgstr ""
13487
13488 # type: =head2
13489 #: ../src/guestfs-structs.pod:44
13490 msgid "guestfs_lvm_vg"
13491 msgstr ""
13492
13493 # type: verbatim
13494 #: ../src/guestfs-structs.pod:46
13495 #, no-wrap
13496 msgid ""
13497 " struct guestfs_lvm_vg {\n"
13498 "   char *vg_name;\n"
13499 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13500 "*/\n"
13501 "   char vg_uuid[32];\n"
13502 "   char *vg_fmt;\n"
13503 "   char *vg_attr;\n"
13504 "   uint64_t vg_size;\n"
13505 "   uint64_t vg_free;\n"
13506 "   char *vg_sysid;\n"
13507 "   uint64_t vg_extent_size;\n"
13508 "   int64_t vg_extent_count;\n"
13509 "   int64_t vg_free_count;\n"
13510 "   int64_t max_lv;\n"
13511 "   int64_t max_pv;\n"
13512 "   int64_t pv_count;\n"
13513 "   int64_t lv_count;\n"
13514 "   int64_t snap_count;\n"
13515 "   int64_t vg_seqno;\n"
13516 "   char *vg_tags;\n"
13517 "   int64_t vg_mda_count;\n"
13518 "   uint64_t vg_mda_free;\n"
13519 " };\n"
13520 " \n"
13521 msgstr ""
13522
13523 # type: verbatim
13524 #: ../src/guestfs-structs.pod:69
13525 #, no-wrap
13526 msgid ""
13527 " struct guestfs_lvm_vg_list {\n"
13528 "   uint32_t len; /* Number of elements in list. */\n"
13529 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
13530 " };\n"
13531 " \n"
13532 msgstr ""
13533
13534 # type: verbatim
13535 #: ../src/guestfs-structs.pod:74
13536 #, no-wrap
13537 msgid ""
13538 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
13539 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
13540 "\n"
13541 msgstr ""
13542
13543 # type: =head2
13544 #: ../src/guestfs-structs.pod:77
13545 msgid "guestfs_lvm_lv"
13546 msgstr ""
13547
13548 # type: verbatim
13549 #: ../src/guestfs-structs.pod:79
13550 #, no-wrap
13551 msgid ""
13552 " struct guestfs_lvm_lv {\n"
13553 "   char *lv_name;\n"
13554 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13555 "*/\n"
13556 "   char lv_uuid[32];\n"
13557 "   char *lv_attr;\n"
13558 "   int64_t lv_major;\n"
13559 "   int64_t lv_minor;\n"
13560 "   int64_t lv_kernel_major;\n"
13561 "   int64_t lv_kernel_minor;\n"
13562 "   uint64_t lv_size;\n"
13563 "   int64_t seg_count;\n"
13564 "   char *origin;\n"
13565 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13566 "   float snap_percent;\n"
13567 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13568 "   float copy_percent;\n"
13569 "   char *move_pv;\n"
13570 "   char *lv_tags;\n"
13571 "   char *mirror_log;\n"
13572 "   char *modules;\n"
13573 " };\n"
13574 " \n"
13575 msgstr ""
13576
13577 # type: verbatim
13578 #: ../src/guestfs-structs.pod:101
13579 #, no-wrap
13580 msgid ""
13581 " struct guestfs_lvm_lv_list {\n"
13582 "   uint32_t len; /* Number of elements in list. */\n"
13583 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
13584 " };\n"
13585 " \n"
13586 msgstr ""
13587
13588 # type: verbatim
13589 #: ../src/guestfs-structs.pod:106
13590 #, no-wrap
13591 msgid ""
13592 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
13593 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
13594 "\n"
13595 msgstr ""
13596
13597 # type: verbatim
13598 #: ../src/guestfs-structs.pod:111
13599 #, no-wrap
13600 msgid ""
13601 " struct guestfs_stat {\n"
13602 "   int64_t dev;\n"
13603 "   int64_t ino;\n"
13604 "   int64_t mode;\n"
13605 "   int64_t nlink;\n"
13606 "   int64_t uid;\n"
13607 "   int64_t gid;\n"
13608 "   int64_t rdev;\n"
13609 "   int64_t size;\n"
13610 "   int64_t blksize;\n"
13611 "   int64_t blocks;\n"
13612 "   int64_t atime;\n"
13613 "   int64_t mtime;\n"
13614 "   int64_t ctime;\n"
13615 " };\n"
13616 " \n"
13617 msgstr ""
13618
13619 # type: verbatim
13620 #: ../src/guestfs-structs.pod:127
13621 #, no-wrap
13622 msgid ""
13623 " struct guestfs_stat_list {\n"
13624 "   uint32_t len; /* Number of elements in list. */\n"
13625 "   struct guestfs_stat *val; /* Elements. */\n"
13626 " };\n"
13627 " \n"
13628 msgstr ""
13629
13630 # type: verbatim
13631 #: ../src/guestfs-structs.pod:132
13632 #, no-wrap
13633 msgid ""
13634 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
13635 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
13636 "\n"
13637 msgstr ""
13638
13639 # type: verbatim
13640 #: ../src/guestfs-structs.pod:137
13641 #, no-wrap
13642 msgid ""
13643 " struct guestfs_statvfs {\n"
13644 "   int64_t bsize;\n"
13645 "   int64_t frsize;\n"
13646 "   int64_t blocks;\n"
13647 "   int64_t bfree;\n"
13648 "   int64_t bavail;\n"
13649 "   int64_t files;\n"
13650 "   int64_t ffree;\n"
13651 "   int64_t favail;\n"
13652 "   int64_t fsid;\n"
13653 "   int64_t flag;\n"
13654 "   int64_t namemax;\n"
13655 " };\n"
13656 " \n"
13657 msgstr ""
13658
13659 # type: verbatim
13660 #: ../src/guestfs-structs.pod:151
13661 #, no-wrap
13662 msgid ""
13663 " struct guestfs_statvfs_list {\n"
13664 "   uint32_t len; /* Number of elements in list. */\n"
13665 "   struct guestfs_statvfs *val; /* Elements. */\n"
13666 " };\n"
13667 " \n"
13668 msgstr ""
13669
13670 # type: verbatim
13671 #: ../src/guestfs-structs.pod:156
13672 #, no-wrap
13673 msgid ""
13674 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
13675 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
13676 "\n"
13677 msgstr ""
13678
13679 # type: =head2
13680 #: ../src/guestfs-structs.pod:159
13681 msgid "guestfs_dirent"
13682 msgstr ""
13683
13684 # type: verbatim
13685 #: ../src/guestfs-structs.pod:161
13686 #, no-wrap
13687 msgid ""
13688 " struct guestfs_dirent {\n"
13689 "   int64_t ino;\n"
13690 "   char ftyp;\n"
13691 "   char *name;\n"
13692 " };\n"
13693 " \n"
13694 msgstr ""
13695
13696 # type: verbatim
13697 #: ../src/guestfs-structs.pod:167
13698 #, no-wrap
13699 msgid ""
13700 " struct guestfs_dirent_list {\n"
13701 "   uint32_t len; /* Number of elements in list. */\n"
13702 "   struct guestfs_dirent *val; /* Elements. */\n"
13703 " };\n"
13704 " \n"
13705 msgstr ""
13706
13707 # type: verbatim
13708 #: ../src/guestfs-structs.pod:172
13709 #, no-wrap
13710 msgid ""
13711 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
13712 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
13713 "\n"
13714 msgstr ""
13715
13716 # type: verbatim
13717 #: ../src/guestfs-structs.pod:177
13718 #, no-wrap
13719 msgid ""
13720 " struct guestfs_version {\n"
13721 "   int64_t major;\n"
13722 "   int64_t minor;\n"
13723 "   int64_t release;\n"
13724 "   char *extra;\n"
13725 " };\n"
13726 " \n"
13727 msgstr ""
13728
13729 # type: verbatim
13730 #: ../src/guestfs-structs.pod:184
13731 #, no-wrap
13732 msgid ""
13733 " struct guestfs_version_list {\n"
13734 "   uint32_t len; /* Number of elements in list. */\n"
13735 "   struct guestfs_version *val; /* Elements. */\n"
13736 " };\n"
13737 " \n"
13738 msgstr ""
13739
13740 # type: verbatim
13741 #: ../src/guestfs-structs.pod:189
13742 #, no-wrap
13743 msgid ""
13744 " void guestfs_free_version (struct guestfs_free_version *);\n"
13745 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
13746 "\n"
13747 msgstr ""
13748
13749 # type: =head2
13750 #: ../src/guestfs-structs.pod:192
13751 msgid "guestfs_xattr"
13752 msgstr ""
13753
13754 # type: verbatim
13755 #: ../src/guestfs-structs.pod:194
13756 #, no-wrap
13757 msgid ""
13758 " struct guestfs_xattr {\n"
13759 "   char *attrname;\n"
13760 "   /* The next two fields describe a byte array. */\n"
13761 "   uint32_t attrval_len;\n"
13762 "   char *attrval;\n"
13763 " };\n"
13764 " \n"
13765 msgstr ""
13766
13767 # type: verbatim
13768 #: ../src/guestfs-structs.pod:201
13769 #, no-wrap
13770 msgid ""
13771 " struct guestfs_xattr_list {\n"
13772 "   uint32_t len; /* Number of elements in list. */\n"
13773 "   struct guestfs_xattr *val; /* Elements. */\n"
13774 " };\n"
13775 " \n"
13776 msgstr ""
13777
13778 # type: verbatim
13779 #: ../src/guestfs-structs.pod:206
13780 #, no-wrap
13781 msgid ""
13782 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
13783 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
13784 "\n"
13785 msgstr ""
13786
13787 # type: =head2
13788 #: ../src/guestfs-structs.pod:209
13789 msgid "guestfs_inotify_event"
13790 msgstr ""
13791
13792 # type: verbatim
13793 #: ../src/guestfs-structs.pod:211
13794 #, no-wrap
13795 msgid ""
13796 " struct guestfs_inotify_event {\n"
13797 "   int64_t in_wd;\n"
13798 "   uint32_t in_mask;\n"
13799 "   uint32_t in_cookie;\n"
13800 "   char *in_name;\n"
13801 " };\n"
13802 " \n"
13803 msgstr ""
13804
13805 # type: verbatim
13806 #: ../src/guestfs-structs.pod:218
13807 #, no-wrap
13808 msgid ""
13809 " struct guestfs_inotify_event_list {\n"
13810 "   uint32_t len; /* Number of elements in list. */\n"
13811 "   struct guestfs_inotify_event *val; /* Elements. */\n"
13812 " };\n"
13813 " \n"
13814 msgstr ""
13815
13816 # type: verbatim
13817 #: ../src/guestfs-structs.pod:223
13818 #, no-wrap
13819 msgid ""
13820 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
13821 " void guestfs_free_inotify_event_list (struct "
13822 "guestfs_free_inotify_event_list *);\n"
13823 "\n"
13824 msgstr ""
13825
13826 # type: =head2
13827 #: ../src/guestfs-structs.pod:226
13828 msgid "guestfs_partition"
13829 msgstr ""
13830
13831 # type: verbatim
13832 #: ../src/guestfs-structs.pod:228
13833 #, no-wrap
13834 msgid ""
13835 " struct guestfs_partition {\n"
13836 "   int32_t part_num;\n"
13837 "   uint64_t part_start;\n"
13838 "   uint64_t part_end;\n"
13839 "   uint64_t part_size;\n"
13840 " };\n"
13841 " \n"
13842 msgstr ""
13843
13844 # type: verbatim
13845 #: ../src/guestfs-structs.pod:235
13846 #, no-wrap
13847 msgid ""
13848 " struct guestfs_partition_list {\n"
13849 "   uint32_t len; /* Number of elements in list. */\n"
13850 "   struct guestfs_partition *val; /* Elements. */\n"
13851 " };\n"
13852 " \n"
13853 msgstr ""
13854
13855 # type: verbatim
13856 #: ../src/guestfs-structs.pod:240
13857 #, no-wrap
13858 msgid ""
13859 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
13860 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
13861 "\n"
13862 msgstr ""
13863
13864 # type: textblock
13865 #: ../fish/guestfish.pod:5
13866 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
13867 msgstr ""
13868
13869 # type: verbatim
13870 #: ../fish/guestfish.pod:9
13871 #, no-wrap
13872 msgid ""
13873 " guestfish [--options] [commands]\n"
13874 "\n"
13875 msgstr ""
13876
13877 # type: verbatim
13878 #: ../fish/guestfish.pod:11
13879 #, no-wrap
13880 msgid ""
13881 " guestfish\n"
13882 "\n"
13883 msgstr ""
13884
13885 # type: verbatim
13886 #: ../fish/guestfish.pod:13
13887 #, no-wrap
13888 msgid ""
13889 " guestfish -a disk.img\n"
13890 "\n"
13891 msgstr ""
13892
13893 # type: verbatim
13894 #: ../fish/guestfish.pod:15
13895 #, no-wrap
13896 msgid ""
13897 " guestfish -a disk.img -m dev[:mountpoint]\n"
13898 "\n"
13899 msgstr ""
13900
13901 # type: verbatim
13902 #: ../fish/guestfish.pod:17
13903 #, no-wrap
13904 msgid ""
13905 " guestfish -d libvirt-domain\n"
13906 "\n"
13907 msgstr ""
13908
13909 # type: verbatim
13910 #: ../fish/guestfish.pod:19
13911 #, no-wrap
13912 msgid ""
13913 " guestfish -a disk.img -i\n"
13914 "\n"
13915 msgstr ""
13916
13917 # type: verbatim
13918 #: ../fish/guestfish.pod:21
13919 #, no-wrap
13920 msgid ""
13921 " guestfish -d libvirt-domain -i\n"
13922 "\n"
13923 msgstr ""
13924
13925 # type: =head1
13926 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45 ../tools/virt-rescue.pl:41 ../tools/virt-tar.pl:60 ../tools/virt-win-reg.pl:52
13927 msgid "WARNING"
13928 msgstr ""
13929
13930 # type: textblock
13931 #: ../fish/guestfish.pod:25
13932 msgid ""
13933 "Using guestfish in read/write mode on live virtual machines can be "
13934 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
13935 "option to use guestfish safely if the disk image or virtual machine might be "
13936 "live."
13937 msgstr ""
13938
13939 # type: =head1
13940 #: ../fish/guestfish.pod:30 ../fish/guestfish.pod:729 ../fuse/guestmount.pod:35 ../tools/virt-cat.pl:51 ../tools/virt-edit.pl:59 ../tools/virt-resize.pl:66 ../tools/virt-tar.pl:46
13941 msgid "EXAMPLES"
13942 msgstr ""
13943
13944 # type: =head2
13945 #: ../fish/guestfish.pod:32
13946 msgid "As an interactive shell"
13947 msgstr ""
13948
13949 # type: verbatim
13950 #: ../fish/guestfish.pod:34
13951 #, no-wrap
13952 msgid ""
13953 " $ guestfish\n"
13954 " \n"
13955 msgstr ""
13956
13957 # type: verbatim
13958 #: ../fish/guestfish.pod:36
13959 #, no-wrap
13960 msgid ""
13961 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
13962 " editing virtual machine filesystems.\n"
13963 " \n"
13964 msgstr ""
13965
13966 # type: verbatim
13967 #: ../fish/guestfish.pod:39
13968 #, no-wrap
13969 msgid ""
13970 " Type: 'help' for a list of commands\n"
13971 "       'man' to read the manual\n"
13972 "       'quit' to quit the shell\n"
13973 " \n"
13974 msgstr ""
13975
13976 # type: verbatim
13977 #: ../fish/guestfish.pod:43
13978 #, no-wrap
13979 msgid ""
13980 " ><fs> man\n"
13981 "\n"
13982 msgstr ""
13983
13984 # type: =head2
13985 #: ../fish/guestfish.pod:45
13986 msgid "From shell scripts"
13987 msgstr ""
13988
13989 # type: textblock
13990 #: ../fish/guestfish.pod:47
13991 msgid "Create a new C</etc/motd> file in a guest:"
13992 msgstr ""
13993
13994 # type: verbatim
13995 #: ../fish/guestfish.pod:49
13996 #, no-wrap
13997 msgid ""
13998 " guestfish <<_EOF_\n"
13999 " add disk.img\n"
14000 " run\n"
14001 " mount /dev/vg_guest/lv_root /\n"
14002 " write /etc/motd \"Welcome, new users\"\n"
14003 " _EOF_\n"
14004 "\n"
14005 msgstr ""
14006
14007 # type: textblock
14008 #: ../fish/guestfish.pod:56
14009 msgid "List the LVM logical volumes in a guest:"
14010 msgstr ""
14011
14012 # type: verbatim
14013 #: ../fish/guestfish.pod:58
14014 #, no-wrap
14015 msgid ""
14016 " guestfish -a disk.img --ro <<_EOF_\n"
14017 " run\n"
14018 " lvs\n"
14019 " _EOF_\n"
14020 "\n"
14021 msgstr ""
14022
14023 # type: =head2
14024 #: ../fish/guestfish.pod:63
14025 msgid "On one command line"
14026 msgstr ""
14027
14028 # type: textblock
14029 #: ../fish/guestfish.pod:65
14030 msgid "Update C</etc/resolv.conf> in a guest:"
14031 msgstr ""
14032
14033 # type: verbatim
14034 #: ../fish/guestfish.pod:67
14035 #, no-wrap
14036 msgid ""
14037 " guestfish \\\n"
14038 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14039 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14040 "\n"
14041 msgstr ""
14042
14043 # type: textblock
14044 #: ../fish/guestfish.pod:71
14045 msgid "Edit C</boot/grub/grub.conf> interactively:"
14046 msgstr ""
14047
14048 # type: verbatim
14049 #: ../fish/guestfish.pod:73
14050 #, no-wrap
14051 msgid ""
14052 " guestfish --add disk.img \\\n"
14053 "   --mount /dev/vg_guest/lv_root \\\n"
14054 "   --mount /dev/sda1:/boot \\\n"
14055 "   edit /boot/grub/grub.conf\n"
14056 "\n"
14057 msgstr ""
14058
14059 # type: =head2
14060 #: ../fish/guestfish.pod:78
14061 msgid "Mount disks automatically"
14062 msgstr ""
14063
14064 # type: textblock
14065 #: ../fish/guestfish.pod:80
14066 msgid ""
14067 "Use the I<-i> option to automatically mount the disks from a virtual "
14068 "machine:"
14069 msgstr ""
14070
14071 # type: verbatim
14072 #: ../fish/guestfish.pod:83
14073 #, no-wrap
14074 msgid ""
14075 " guestfish --ro -a disk.img -i cat /etc/group\n"
14076 "\n"
14077 msgstr ""
14078
14079 # type: verbatim
14080 #: ../fish/guestfish.pod:85
14081 #, no-wrap
14082 msgid ""
14083 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14084 "\n"
14085 msgstr ""
14086
14087 # type: =head2
14088 #: ../fish/guestfish.pod:87
14089 msgid "As a script interpreter"
14090 msgstr ""
14091
14092 # type: textblock
14093 #: ../fish/guestfish.pod:89
14094 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14095 msgstr ""
14096
14097 # type: verbatim
14098 #: ../fish/guestfish.pod:91
14099 #, no-wrap
14100 msgid ""
14101 " #!/usr/bin/guestfish -f\n"
14102 " sparse test1.img 100M\n"
14103 " run\n"
14104 " part-disk /dev/sda mbr\n"
14105 " mkfs ext2 /dev/sda1\n"
14106 "\n"
14107 msgstr ""
14108
14109 # type: =head2
14110 #: ../fish/guestfish.pod:97
14111 msgid "Start with a prepared disk"
14112 msgstr ""
14113
14114 # type: textblock
14115 #: ../fish/guestfish.pod:99
14116 msgid ""
14117 "An alternate way to create a 100MB disk called C<test1.img> containing a "
14118 "single ext2-formatted partition:"
14119 msgstr ""
14120
14121 # type: verbatim
14122 #: ../fish/guestfish.pod:102
14123 #, no-wrap
14124 msgid ""
14125 " guestfish -N fs\n"
14126 "\n"
14127 msgstr ""
14128
14129 # type: textblock
14130 #: ../fish/guestfish.pod:104
14131 msgid "To list what is available do:"
14132 msgstr ""
14133
14134 # type: verbatim
14135 #: ../fish/guestfish.pod:106 ../fish/guestfish.pod:720
14136 #, no-wrap
14137 msgid ""
14138 " guestfish -N list | less\n"
14139 "\n"
14140 msgstr ""
14141
14142 # type: =head2
14143 #: ../fish/guestfish.pod:108
14144 msgid "Remote control"
14145 msgstr ""
14146
14147 # type: verbatim
14148 #: ../fish/guestfish.pod:110
14149 #, no-wrap
14150 msgid ""
14151 " eval `guestfish --listen --ro`\n"
14152 " guestfish --remote add disk.img\n"
14153 " guestfish --remote run\n"
14154 " guestfish --remote lvs\n"
14155 "\n"
14156 msgstr ""
14157
14158 # type: textblock
14159 #: ../fish/guestfish.pod:117
14160 msgid ""
14161 "Guestfish is a shell and command-line tool for examining and modifying "
14162 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14163 "functionality of the guestfs API, see L<guestfs(3)>."
14164 msgstr ""
14165
14166 # type: textblock
14167 #: ../fish/guestfish.pod:121
14168 msgid ""
14169 "Guestfish gives you structured access to the libguestfs API, from shell "
14170 "scripts or the command line or interactively.  If you want to rescue a "
14171 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14172 "command."
14173 msgstr ""
14174
14175 # type: =head1
14176 #: ../fish/guestfish.pod:126 ../test-tool/libguestfs-test-tool.pod:37 ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75 ../tools/virt-cat.pl:80 ../tools/virt-df.pl:71 ../tools/virt-edit.pl:73 ../tools/virt-list-filesystems.pl:50 ../tools/virt-list-partitions.pl:51 ../tools/virt-ls.pl:79 ../tools/virt-make-fs.pl:153 ../tools/virt-rescue.pl:103 ../tools/virt-resize.pl:233 ../tools/virt-tar.pl:99 ../tools/virt-win-reg.pl:172
14177 msgid "OPTIONS"
14178 msgstr ""
14179
14180 # type: =item
14181 #: ../fish/guestfish.pod:130 ../fuse/guestmount.pod:94 ../inspector/virt-inspector.pl:83 ../tools/virt-cat.pl:88 ../tools/virt-df.pl:79 ../tools/virt-edit.pl:81 ../tools/virt-list-filesystems.pl:58 ../tools/virt-list-partitions.pl:59 ../tools/virt-ls.pl:87 ../tools/virt-make-fs.pl:161 ../tools/virt-rescue.pl:111 ../tools/virt-resize.pl:241 ../tools/virt-tar.pl:107 ../tools/virt-win-reg.pl:180
14182 msgid "B<--help>"
14183 msgstr ""
14184
14185 # type: textblock
14186 #: ../fish/guestfish.pod:132
14187 msgid "Displays general help on options."
14188 msgstr ""
14189
14190 # type: =item
14191 #: ../fish/guestfish.pod:134
14192 msgid "B<-h> | B<--cmd-help>"
14193 msgstr ""
14194
14195 # type: textblock
14196 #: ../fish/guestfish.pod:136
14197 msgid "Lists all available guestfish commands."
14198 msgstr ""
14199
14200 # type: =item
14201 #: ../fish/guestfish.pod:138
14202 msgid "B<-h cmd> | B<--cmd-help cmd>"
14203 msgstr ""
14204
14205 # type: textblock
14206 #: ../fish/guestfish.pod:140
14207 msgid "Displays detailed help on a single command C<cmd>."
14208 msgstr ""
14209
14210 # type: =item
14211 #: ../fish/guestfish.pod:142 ../fuse/guestmount.pod:74
14212 msgid "B<-a image> | B<--add image>"
14213 msgstr ""
14214
14215 # type: textblock
14216 #: ../fish/guestfish.pod:144
14217 msgid "Add a block device or virtual machine image to the shell."
14218 msgstr ""
14219
14220 # type: =item
14221 #: ../fish/guestfish.pod:146
14222 msgid "B<-c URI> | B<--connect URI>"
14223 msgstr ""
14224
14225 # type: textblock
14226 #: ../fish/guestfish.pod:148
14227 msgid ""
14228 "When used in conjunction with the I<-d> option, this specifies the libvirt "
14229 "URI to use.  The default is to use the default libvirt connection."
14230 msgstr ""
14231
14232 # type: =item
14233 #: ../fish/guestfish.pod:152
14234 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
14235 msgstr ""
14236
14237 # type: textblock
14238 #: ../fish/guestfish.pod:154
14239 msgid ""
14240 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
14241 "used, then any libvirt domain can be used.  However in write mode, only "
14242 "libvirt domains which are shut down can be named here."
14243 msgstr ""
14244
14245 # type: =item
14246 #: ../fish/guestfish.pod:158
14247 msgid "B<-D> | B<--no-dest-paths>"
14248 msgstr ""
14249
14250 # type: textblock
14251 #: ../fish/guestfish.pod:160
14252 msgid ""
14253 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
14254 "to hit the tab key to complete paths on the guest filesystem, but this "
14255 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
14256 "allow this feature to be disabled."
14257 msgstr ""
14258
14259 # type: =item
14260 #: ../fish/guestfish.pod:165
14261 msgid "B<-f file> | B<--file file>"
14262 msgstr ""
14263
14264 # type: textblock
14265 #: ../fish/guestfish.pod:167
14266 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
14267 msgstr ""
14268
14269 # type: verbatim
14270 #: ../fish/guestfish.pod:170
14271 #, no-wrap
14272 msgid ""
14273 " #!/usr/bin/guestfish -f\n"
14274 "\n"
14275 msgstr ""
14276
14277 # type: =item
14278 #: ../fish/guestfish.pod:172
14279 msgid "B<-i> | B<--inspector>"
14280 msgstr ""
14281
14282 # type: textblock
14283 #: ../fish/guestfish.pod:174
14284 msgid ""
14285 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
14286 "system and mount filesystems as they would be mounted on the real virtual "
14287 "machine."
14288 msgstr ""
14289
14290 # type: textblock
14291 #: ../fish/guestfish.pod:178
14292 msgid "Typical usage is either:"
14293 msgstr ""
14294
14295 # type: verbatim
14296 #: ../fish/guestfish.pod:180
14297 #, no-wrap
14298 msgid ""
14299 " guestfish -d myguest -i\n"
14300 "\n"
14301 msgstr ""
14302
14303 # type: textblock
14304 #: ../fish/guestfish.pod:182
14305 msgid "(for an inactive libvirt domain called I<myguest>), or:"
14306 msgstr ""
14307
14308 # type: verbatim
14309 #: ../fish/guestfish.pod:184
14310 #, no-wrap
14311 msgid ""
14312 " guestfish --ro -d myguest -i\n"
14313 "\n"
14314 msgstr ""
14315
14316 # type: textblock
14317 #: ../fish/guestfish.pod:186
14318 msgid "(for active domains, readonly), or specify the block device directly:"
14319 msgstr ""
14320
14321 # type: verbatim
14322 #: ../fish/guestfish.pod:188
14323 #, no-wrap
14324 msgid ""
14325 " guestfish -a /dev/Guests/MyGuest -i\n"
14326 "\n"
14327 msgstr ""
14328
14329 # type: textblock
14330 #: ../fish/guestfish.pod:190
14331 msgid ""
14332 "Note that the command line syntax changed slightly over older versions of "
14333 "guestfish.  You can still use the old syntax:"
14334 msgstr ""
14335
14336 # type: verbatim
14337 #: ../fish/guestfish.pod:193
14338 #, no-wrap
14339 msgid ""
14340 " guestfish [--ro] -i disk.img\n"
14341 "\n"
14342 msgstr ""
14343
14344 # type: verbatim
14345 #: ../fish/guestfish.pod:195
14346 #, no-wrap
14347 msgid ""
14348 " guestfish [--ro] -i libvirt-domain\n"
14349 "\n"
14350 msgstr ""
14351
14352 # type: =item
14353 #: ../fish/guestfish.pod:197
14354 msgid "B<--keys-from-stdin>"
14355 msgstr ""
14356
14357 # type: textblock
14358 #: ../fish/guestfish.pod:199
14359 msgid ""
14360 "Read key or passphrase parameters from stdin.  The default is to try to read "
14361 "passphrases from the user by opening C</dev/tty>."
14362 msgstr ""
14363
14364 # type: =item
14365 #: ../fish/guestfish.pod:202
14366 msgid "B<--listen>"
14367 msgstr ""
14368
14369 # type: textblock
14370 #: ../fish/guestfish.pod:204
14371 msgid ""
14372 "Fork into the background and listen for remote commands.  See section "
14373 "L</REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
14374 msgstr ""
14375
14376 # type: =item
14377 #: ../fish/guestfish.pod:207
14378 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
14379 msgstr ""
14380
14381 # type: textblock
14382 #: ../fish/guestfish.pod:209
14383 msgid "Mount the named partition or logical volume on the given mountpoint."
14384 msgstr ""
14385
14386 # type: textblock
14387 #: ../fish/guestfish.pod:211
14388 msgid "If the mountpoint is omitted, it defaults to C</>."
14389 msgstr ""
14390
14391 # type: textblock
14392 #: ../fish/guestfish.pod:213
14393 msgid "You have to mount something on C</> before most commands will work."
14394 msgstr ""
14395
14396 # type: textblock
14397 #: ../fish/guestfish.pod:215
14398 msgid ""
14399 "If any I<-m> or I<--mount> options are given, the guest is automatically "
14400 "launched."
14401 msgstr ""
14402
14403 # type: textblock
14404 #: ../fish/guestfish.pod:218
14405 msgid ""
14406 "If you don't know what filesystems a disk image contains, you can either run "
14407 "guestfish without this option, then list the partitions and LVs available "
14408 "(see L</list-partitions> and L</lvs> commands), or you can use the "
14409 "L<virt-list-filesystems(1)> program."
14410 msgstr ""
14411
14412 # type: =item
14413 #: ../fish/guestfish.pod:223 ../fuse/guestmount.pod:106
14414 msgid "B<-n> | B<--no-sync>"
14415 msgstr ""
14416
14417 # type: textblock
14418 #: ../fish/guestfish.pod:225
14419 msgid ""
14420 "Disable autosync.  This is enabled by default.  See the discussion of "
14421 "autosync in the L<guestfs(3)> manpage."
14422 msgstr ""
14423
14424 # type: =item
14425 #: ../fish/guestfish.pod:228
14426 msgid "B<-N type> | B<--new type> | B<-N list>"
14427 msgstr ""
14428
14429 # type: textblock
14430 #: ../fish/guestfish.pod:230
14431 msgid ""
14432 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
14433 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
14434 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
14435 "IMAGES> below."
14436 msgstr ""
14437
14438 # type: =item
14439 #: ../fish/guestfish.pod:235
14440 msgid "B<--progress-bars>"
14441 msgstr ""
14442
14443 # type: textblock
14444 #: ../fish/guestfish.pod:237
14445 msgid "Enable progress bars, even when guestfish is used non-interactively."
14446 msgstr ""
14447
14448 # type: textblock
14449 #: ../fish/guestfish.pod:239
14450 msgid ""
14451 "Progress bars are enabled by default when guestfish is used as an "
14452 "interactive shell."
14453 msgstr ""
14454
14455 # type: =item
14456 #: ../fish/guestfish.pod:242
14457 msgid "B<--no-progress-bars>"
14458 msgstr ""
14459
14460 # type: textblock
14461 #: ../fish/guestfish.pod:244
14462 msgid "Disable progress bars."
14463 msgstr ""
14464
14465 # type: =item
14466 #: ../fish/guestfish.pod:246
14467 msgid "B<--remote[=pid]>"
14468 msgstr ""
14469
14470 # type: textblock
14471 #: ../fish/guestfish.pod:248
14472 msgid ""
14473 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
14474 "CONTROL GUESTFISH OVER A SOCKET> below."
14475 msgstr ""
14476
14477 # type: =item
14478 #: ../fish/guestfish.pod:251 ../fuse/guestmount.pod:148
14479 msgid "B<-r> | B<--ro>"
14480 msgstr ""
14481
14482 # type: textblock
14483 #: ../fish/guestfish.pod:253
14484 msgid ""
14485 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
14486 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
14487 msgstr ""
14488
14489 # type: textblock
14490 #: ../fish/guestfish.pod:256 ../tools/virt-rescue.pl:162
14491 msgid ""
14492 "The option must always be used if the disk image or virtual machine might be "
14493 "running, and is generally recommended in cases where you don't need write "
14494 "access to the disk."
14495 msgstr ""
14496
14497 # type: textblock
14498 #: ../fish/guestfish.pod:260
14499 msgid ""
14500 "Note that prepared disk images created with I<-N> are not affected by the "
14501 "I<--ro> option."
14502 msgstr ""
14503
14504 # type: =item
14505 #: ../fish/guestfish.pod:263 ../fuse/guestmount.pod:158 ../tools/virt-rescue.pl:170
14506 msgid "B<--selinux>"
14507 msgstr ""
14508
14509 # type: textblock
14510 #: ../fish/guestfish.pod:265
14511 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
14512 msgstr ""
14513
14514 # type: =item
14515 #: ../fish/guestfish.pod:267 ../fuse/guestmount.pod:168
14516 msgid "B<-v> | B<--verbose>"
14517 msgstr ""
14518
14519 # type: textblock
14520 #: ../fish/guestfish.pod:269
14521 msgid ""
14522 "Enable very verbose messages.  This is particularly useful if you find a "
14523 "bug."
14524 msgstr ""
14525
14526 # type: =item
14527 #: ../fish/guestfish.pod:272 ../fuse/guestmount.pod:172
14528 msgid "B<-V> | B<--version>"
14529 msgstr ""
14530
14531 # type: textblock
14532 #: ../fish/guestfish.pod:274
14533 msgid "Display the guestfish / libguestfs version number and exit."
14534 msgstr ""
14535
14536 # type: =item
14537 #: ../fish/guestfish.pod:276
14538 msgid "B<-x>"
14539 msgstr ""
14540
14541 # type: textblock
14542 #: ../fish/guestfish.pod:278
14543 msgid "Echo each command before executing it."
14544 msgstr ""
14545
14546 # type: =head1
14547 #: ../fish/guestfish.pod:282
14548 msgid "COMMANDS ON COMMAND LINE"
14549 msgstr ""
14550
14551 # type: textblock
14552 #: ../fish/guestfish.pod:284
14553 msgid "Any additional (non-option) arguments are treated as commands to execute."
14554 msgstr ""
14555
14556 # type: textblock
14557 #: ../fish/guestfish.pod:287
14558 msgid ""
14559 "Commands to execute should be separated by a colon (C<:>), where the colon "
14560 "is a separate parameter.  Thus:"
14561 msgstr ""
14562
14563 # type: verbatim
14564 #: ../fish/guestfish.pod:290
14565 #, no-wrap
14566 msgid ""
14567 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
14568 "\n"
14569 msgstr ""
14570
14571 # type: textblock
14572 #: ../fish/guestfish.pod:292
14573 msgid ""
14574 "If there are no additional arguments, then we enter a shell, either an "
14575 "interactive shell with a prompt (if the input is a terminal) or a "
14576 "non-interactive shell."
14577 msgstr ""
14578
14579 # type: textblock
14580 #: ../fish/guestfish.pod:296
14581 msgid ""
14582 "In either command line mode or non-interactive shell, the first command that "
14583 "gives an error causes the whole shell to exit.  In interactive mode (with a "
14584 "prompt) if a command fails, you can continue to enter commands."
14585 msgstr ""
14586
14587 # type: =head1
14588 #: ../fish/guestfish.pod:301
14589 msgid "USING launch (OR run)"
14590 msgstr ""
14591
14592 # type: textblock
14593 #: ../fish/guestfish.pod:303
14594 msgid ""
14595 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
14596 "then launch it, then mount any disks you need, and finally issue "
14597 "actions/commands.  So the general order of the day is:"
14598 msgstr ""
14599
14600 # type: textblock
14601 #: ../fish/guestfish.pod:311
14602 msgid "add or -a/--add"
14603 msgstr ""
14604
14605 # type: textblock
14606 #: ../fish/guestfish.pod:315
14607 msgid "launch (aka run)"
14608 msgstr ""
14609
14610 # type: textblock
14611 #: ../fish/guestfish.pod:319
14612 msgid "mount or -m/--mount"
14613 msgstr ""
14614
14615 # type: textblock
14616 #: ../fish/guestfish.pod:323
14617 msgid "any other commands"
14618 msgstr ""
14619
14620 # type: textblock
14621 #: ../fish/guestfish.pod:327
14622 msgid ""
14623 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
14624 "guest before mounting or performing any other commands."
14625 msgstr ""
14626
14627 # type: textblock
14628 #: ../fish/guestfish.pod:330
14629 msgid ""
14630 "The only exception is that if the I<-m> or I<--mount> option was given, the "
14631 "guest is automatically run for you (simply because guestfish can't mount the "
14632 "disks you asked for without doing this)."
14633 msgstr ""
14634
14635 # type: =head1
14636 #: ../fish/guestfish.pod:334
14637 msgid "QUOTING"
14638 msgstr ""
14639
14640 # type: textblock
14641 #: ../fish/guestfish.pod:336
14642 msgid ""
14643 "You can quote ordinary parameters using either single or double quotes.  For "
14644 "example:"
14645 msgstr ""
14646
14647 # type: verbatim
14648 #: ../fish/guestfish.pod:339
14649 #, no-wrap
14650 msgid ""
14651 " add \"file with a space.img\"\n"
14652 "\n"
14653 msgstr ""
14654
14655 # type: verbatim
14656 #: ../fish/guestfish.pod:341
14657 #, no-wrap
14658 msgid ""
14659 " rm '/file name'\n"
14660 "\n"
14661 msgstr ""
14662
14663 # type: verbatim
14664 #: ../fish/guestfish.pod:343
14665 #, no-wrap
14666 msgid ""
14667 " rm '/\"'\n"
14668 "\n"
14669 msgstr ""
14670
14671 # type: textblock
14672 #: ../fish/guestfish.pod:345
14673 msgid ""
14674 "A few commands require a list of strings to be passed.  For these, use a "
14675 "whitespace-separated list, enclosed in quotes.  Strings containing "
14676 "whitespace to be passed through must be enclosed in single quotes.  A "
14677 "literal single quote must be escaped with a backslash."
14678 msgstr ""
14679
14680 # type: verbatim
14681 #: ../fish/guestfish.pod:350
14682 #, no-wrap
14683 msgid ""
14684 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
14685 " command \"/bin/echo 'foo      bar'\"\n"
14686 " command \"/bin/echo \\'foo\\'\"\n"
14687 "\n"
14688 msgstr ""
14689
14690 # type: =head1
14691 #: ../fish/guestfish.pod:354
14692 msgid "NUMBERS"
14693 msgstr ""
14694
14695 # type: textblock
14696 #: ../fish/guestfish.pod:356
14697 msgid "This section applies to all commands which can take integers as parameters."
14698 msgstr ""
14699
14700 # type: =head2
14701 #: ../fish/guestfish.pod:359
14702 msgid "SIZE SUFFIX"
14703 msgstr ""
14704
14705 # type: textblock
14706 #: ../fish/guestfish.pod:361
14707 msgid ""
14708 "When the command takes a parameter measured in bytes, you can use one of the "
14709 "following suffixes to specify kilobytes, megabytes and larger sizes:"
14710 msgstr ""
14711
14712 # type: =item
14713 #: ../fish/guestfish.pod:367
14714 msgid "B<k> or B<K> or B<KiB>"
14715 msgstr ""
14716
14717 # type: textblock
14718 #: ../fish/guestfish.pod:369
14719 msgid "The size in kilobytes (multiplied by 1024)."
14720 msgstr ""
14721
14722 # type: =item
14723 #: ../fish/guestfish.pod:371
14724 msgid "B<KB>"
14725 msgstr ""
14726
14727 # type: textblock
14728 #: ../fish/guestfish.pod:373
14729 msgid "The size in SI 1000 byte units."
14730 msgstr ""
14731
14732 # type: =item
14733 #: ../fish/guestfish.pod:375
14734 msgid "B<M> or B<MiB>"
14735 msgstr ""
14736
14737 # type: textblock
14738 #: ../fish/guestfish.pod:377
14739 msgid "The size in megabytes (multiplied by 1048576)."
14740 msgstr ""
14741
14742 # type: =item
14743 #: ../fish/guestfish.pod:379
14744 msgid "B<MB>"
14745 msgstr ""
14746
14747 # type: textblock
14748 #: ../fish/guestfish.pod:381
14749 msgid "The size in SI 1000000 byte units."
14750 msgstr ""
14751
14752 # type: =item
14753 #: ../fish/guestfish.pod:383
14754 msgid "B<G> or B<GiB>"
14755 msgstr ""
14756
14757 # type: textblock
14758 #: ../fish/guestfish.pod:385
14759 msgid "The size in gigabytes (multiplied by 2**30)."
14760 msgstr ""
14761
14762 # type: =item
14763 #: ../fish/guestfish.pod:387
14764 msgid "B<GB>"
14765 msgstr ""
14766
14767 # type: textblock
14768 #: ../fish/guestfish.pod:389
14769 msgid "The size in SI 10**9 byte units."
14770 msgstr ""
14771
14772 # type: =item
14773 #: ../fish/guestfish.pod:391
14774 msgid "B<T> or B<TiB>"
14775 msgstr ""
14776
14777 # type: textblock
14778 #: ../fish/guestfish.pod:393
14779 msgid "The size in terabytes (multiplied by 2**40)."
14780 msgstr ""
14781
14782 # type: =item
14783 #: ../fish/guestfish.pod:395
14784 msgid "B<TB>"
14785 msgstr ""
14786
14787 # type: textblock
14788 #: ../fish/guestfish.pod:397
14789 msgid "The size in SI 10**12 byte units."
14790 msgstr ""
14791
14792 # type: =item
14793 #: ../fish/guestfish.pod:399
14794 msgid "B<P> or B<PiB>"
14795 msgstr ""
14796
14797 # type: textblock
14798 #: ../fish/guestfish.pod:401
14799 msgid "The size in petabytes (multiplied by 2**50)."
14800 msgstr ""
14801
14802 # type: =item
14803 #: ../fish/guestfish.pod:403
14804 msgid "B<PB>"
14805 msgstr ""
14806
14807 # type: textblock
14808 #: ../fish/guestfish.pod:405
14809 msgid "The size in SI 10**15 byte units."
14810 msgstr ""
14811
14812 # type: =item
14813 #: ../fish/guestfish.pod:407
14814 msgid "B<E> or B<EiB>"
14815 msgstr ""
14816
14817 # type: textblock
14818 #: ../fish/guestfish.pod:409
14819 msgid "The size in exabytes (multiplied by 2**60)."
14820 msgstr ""
14821
14822 # type: =item
14823 #: ../fish/guestfish.pod:411
14824 msgid "B<EB>"
14825 msgstr ""
14826
14827 # type: textblock
14828 #: ../fish/guestfish.pod:413
14829 msgid "The size in SI 10**18 byte units."
14830 msgstr ""
14831
14832 # type: =item
14833 #: ../fish/guestfish.pod:415
14834 msgid "B<Z> or B<ZiB>"
14835 msgstr ""
14836
14837 # type: textblock
14838 #: ../fish/guestfish.pod:417
14839 msgid "The size in zettabytes (multiplied by 2**70)."
14840 msgstr ""
14841
14842 # type: =item
14843 #: ../fish/guestfish.pod:419
14844 msgid "B<ZB>"
14845 msgstr ""
14846
14847 # type: textblock
14848 #: ../fish/guestfish.pod:421
14849 msgid "The size in SI 10**21 byte units."
14850 msgstr ""
14851
14852 # type: =item
14853 #: ../fish/guestfish.pod:423
14854 msgid "B<Y> or B<YiB>"
14855 msgstr ""
14856
14857 # type: textblock
14858 #: ../fish/guestfish.pod:425
14859 msgid "The size in yottabytes (multiplied by 2**80)."
14860 msgstr ""
14861
14862 # type: =item
14863 #: ../fish/guestfish.pod:427
14864 msgid "B<YB>"
14865 msgstr ""
14866
14867 # type: textblock
14868 #: ../fish/guestfish.pod:429
14869 msgid "The size in SI 10**24 byte units."
14870 msgstr ""
14871
14872 # type: textblock
14873 #: ../fish/guestfish.pod:433
14874 msgid "For example:"
14875 msgstr ""
14876
14877 # type: verbatim
14878 #: ../fish/guestfish.pod:435
14879 #, no-wrap
14880 msgid ""
14881 " truncate-size /file 1G\n"
14882 "\n"
14883 msgstr ""
14884
14885 # type: textblock
14886 #: ../fish/guestfish.pod:437
14887 msgid "would truncate the file to 1 gigabyte."
14888 msgstr ""
14889
14890 # type: textblock
14891 #: ../fish/guestfish.pod:439
14892 msgid ""
14893 "Be careful because a few commands take sizes in kilobytes or megabytes "
14894 "(eg. the parameter to L</memsize> is specified in megabytes already).  "
14895 "Adding a suffix will probably not do what you expect."
14896 msgstr ""
14897
14898 # type: =head2
14899 #: ../fish/guestfish.pod:443
14900 msgid "OCTAL AND HEXADECIMAL NUMBERS"
14901 msgstr ""
14902
14903 # type: textblock
14904 #: ../fish/guestfish.pod:445
14905 msgid ""
14906 "For specifying the radix (base) use the C convention: C<0> to prefix an "
14907 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
14908 msgstr ""
14909
14910 # type: verbatim
14911 #: ../fish/guestfish.pod:448
14912 #, no-wrap
14913 msgid ""
14914 " 1234      decimal number 1234\n"
14915 " 02322     octal number, equivalent to decimal 1234\n"
14916 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
14917 "\n"
14918 msgstr ""
14919
14920 # type: textblock
14921 #: ../fish/guestfish.pod:452
14922 msgid ""
14923 "When using the C<chmod> command, you almost always want to specify an octal "
14924 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
14925 "L<chmod(1)> program):"
14926 msgstr ""
14927
14928 # type: verbatim
14929 #: ../fish/guestfish.pod:456
14930 #, no-wrap
14931 msgid ""
14932 " chmod 0777 /public  # OK\n"
14933 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
14934 "\n"
14935 msgstr ""
14936
14937 # type: textblock
14938 #: ../fish/guestfish.pod:459
14939 msgid ""
14940 "Commands that return numbers usually print them in decimal, but some "
14941 "commands print numbers in other radices (eg. C<umask> prints the mode in "
14942 "octal, preceeded by C<0>)."
14943 msgstr ""
14944
14945 # type: =head1
14946 #: ../fish/guestfish.pod:463
14947 msgid "WILDCARDS AND GLOBBING"
14948 msgstr ""
14949
14950 # type: textblock
14951 #: ../fish/guestfish.pod:465
14952 msgid ""
14953 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
14954 "(globbing) by default.  So for example the following will not do what you "
14955 "expect:"
14956 msgstr ""
14957
14958 # type: verbatim
14959 #: ../fish/guestfish.pod:469
14960 #, no-wrap
14961 msgid ""
14962 " rm-rf /home/*\n"
14963 "\n"
14964 msgstr ""
14965
14966 # type: textblock
14967 #: ../fish/guestfish.pod:471
14968 msgid ""
14969 "Assuming you don't have a directory literally called C</home/*> then the "
14970 "above command will return an error."
14971 msgstr ""
14972
14973 # type: textblock
14974 #: ../fish/guestfish.pod:474
14975 msgid "To perform wildcard expansion, use the C<glob> command."
14976 msgstr ""
14977
14978 # type: verbatim
14979 #: ../fish/guestfish.pod:476
14980 #, no-wrap
14981 msgid ""
14982 " glob rm-rf /home/*\n"
14983 "\n"
14984 msgstr ""
14985
14986 # type: textblock
14987 #: ../fish/guestfish.pod:478
14988 msgid ""
14989 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
14990 "many times), equivalent to:"
14991 msgstr ""
14992
14993 # type: verbatim
14994 #: ../fish/guestfish.pod:481
14995 #, no-wrap
14996 msgid ""
14997 " rm-rf /home/jim\n"
14998 " rm-rf /home/joe\n"
14999 " rm-rf /home/mary\n"
15000 "\n"
15001 msgstr ""
15002
15003 # type: textblock
15004 #: ../fish/guestfish.pod:485
15005 msgid "C<glob> only works on simple guest paths and not on device names."
15006 msgstr ""
15007
15008 # type: textblock
15009 #: ../fish/guestfish.pod:487
15010 msgid ""
15011 "If you have several parameters, each containing a wildcard, then glob will "
15012 "perform a cartesian product."
15013 msgstr ""
15014
15015 # type: =head1
15016 #: ../fish/guestfish.pod:490
15017 msgid "COMMENTS"
15018 msgstr ""
15019
15020 # type: textblock
15021 #: ../fish/guestfish.pod:492
15022 msgid ""
15023 "Any line which starts with a I<#> character is treated as a comment and "
15024 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15025 "a command.  For example:"
15026 msgstr ""
15027
15028 # type: verbatim
15029 #: ../fish/guestfish.pod:496
15030 #, no-wrap
15031 msgid ""
15032 " # this is a comment\n"
15033 "         # this is a comment\n"
15034 " foo # NOT a comment\n"
15035 "\n"
15036 msgstr ""
15037
15038 # type: textblock
15039 #: ../fish/guestfish.pod:500
15040 msgid "Blank lines are also ignored."
15041 msgstr ""
15042
15043 # type: =head1
15044 #: ../fish/guestfish.pod:502
15045 msgid "RUNNING COMMANDS LOCALLY"
15046 msgstr ""
15047
15048 # type: textblock
15049 #: ../fish/guestfish.pod:504
15050 msgid ""
15051 "Any line which starts with a I<!> character is treated as a command sent to "
15052 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15053 msgstr ""
15054
15055 # type: verbatim
15056 #: ../fish/guestfish.pod:508
15057 #, no-wrap
15058 msgid ""
15059 " !mkdir local\n"
15060 " tgz-out /remote local/remote-data.tar.gz\n"
15061 "\n"
15062 msgstr ""
15063
15064 # type: textblock
15065 #: ../fish/guestfish.pod:511
15066 msgid ""
15067 "will create a directory C<local> on the host, and then export the contents "
15068 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15069 "(See C<tgz-out>)."
15070 msgstr ""
15071
15072 # type: textblock
15073 #: ../fish/guestfish.pod:515
15074 msgid ""
15075 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15076 "effect, due to the way that subprocesses work in Unix."
15077 msgstr ""
15078
15079 # type: =head1
15080 #: ../fish/guestfish.pod:518
15081 msgid "PIPES"
15082 msgstr ""
15083
15084 # type: textblock
15085 #: ../fish/guestfish.pod:520
15086 msgid ""
15087 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15088 "command (a guestfish command) to the second command (any host command).  For "
15089 "example:"
15090 msgstr ""
15091
15092 # type: verbatim
15093 #: ../fish/guestfish.pod:524
15094 #, no-wrap
15095 msgid ""
15096 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
15097 "\n"
15098 msgstr ""
15099
15100 # type: textblock
15101 #: ../fish/guestfish.pod:526
15102 msgid ""
15103 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
15104 "program).  The above command would list all accounts in the guest filesystem "
15105 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
15106 msgstr ""
15107
15108 # type: verbatim
15109 #: ../fish/guestfish.pod:531
15110 #, no-wrap
15111 msgid ""
15112 " hexdump /bin/ls | head\n"
15113 " list-devices | tail -1\n"
15114 " tgz-out / - | tar ztf -\n"
15115 "\n"
15116 msgstr ""
15117
15118 # type: textblock
15119 #: ../fish/guestfish.pod:535
15120 msgid ""
15121 "The space before the pipe symbol is required, any space after the pipe "
15122 "symbol is optional.  Everything after the pipe symbol is just passed "
15123 "straight to the host shell, so it can contain redirections, globs and "
15124 "anything else that makes sense on the host side."
15125 msgstr ""
15126
15127 # type: textblock
15128 #: ../fish/guestfish.pod:540
15129 msgid ""
15130 "To use a literal argument which begins with a pipe symbol, you have to quote "
15131 "it, eg:"
15132 msgstr ""
15133
15134 # type: verbatim
15135 #: ../fish/guestfish.pod:543
15136 #, no-wrap
15137 msgid ""
15138 " echo \"|\"\n"
15139 "\n"
15140 msgstr ""
15141
15142 # type: =head1
15143 #: ../fish/guestfish.pod:545
15144 msgid "HOME DIRECTORIES"
15145 msgstr ""
15146
15147 # type: textblock
15148 #: ../fish/guestfish.pod:547
15149 msgid ""
15150 "If a parameter starts with the character C<~> then the tilde may be expanded "
15151 "as a home directory path (either C<~> for the current user's home directory, "
15152 "or C<~user> for another user)."
15153 msgstr ""
15154
15155 # type: textblock
15156 #: ../fish/guestfish.pod:551
15157 msgid ""
15158 "Note that home directory expansion happens for users known I<on the host>, "
15159 "not in the guest filesystem."
15160 msgstr ""
15161
15162 # type: textblock
15163 #: ../fish/guestfish.pod:554
15164 msgid ""
15165 "To use a literal argument which begins with a tilde, you have to quote it, "
15166 "eg:"
15167 msgstr ""
15168
15169 # type: verbatim
15170 #: ../fish/guestfish.pod:557
15171 #, no-wrap
15172 msgid ""
15173 " echo \"~\"\n"
15174 "\n"
15175 msgstr ""
15176
15177 # type: textblock
15178 #: ../fish/guestfish.pod:561
15179 msgid ""
15180 "Libguestfs has some support for Linux guests encrypted according to the "
15181 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
15182 "disk encryption systems used by modern Linux guests.  Currently only "
15183 "LVM-on-LUKS is supported."
15184 msgstr ""
15185
15186 # type: textblock
15187 #: ../fish/guestfish.pod:566
15188 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
15189 msgstr ""
15190
15191 # type: verbatim
15192 #: ../fish/guestfish.pod:568
15193 #, no-wrap
15194 msgid ""
15195 " ><fs> vfs-type /dev/sda2\n"
15196 " crypto_LUKS\n"
15197 "\n"
15198 msgstr ""
15199
15200 # type: textblock
15201 #: ../fish/guestfish.pod:571
15202 msgid ""
15203 "Then open those devices using L</luks-open>.  This creates a device-mapper "
15204 "device called C</dev/mapper/luksdev>."
15205 msgstr ""
15206
15207 # type: verbatim
15208 #: ../fish/guestfish.pod:574
15209 #, no-wrap
15210 msgid ""
15211 " ><fs> luks-open /dev/sda2 luksdev\n"
15212 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
15213 "\n"
15214 msgstr ""
15215
15216 # type: textblock
15217 #: ../fish/guestfish.pod:577
15218 msgid ""
15219 "Finally you have to tell LVM to scan for volume groups on the newly created "
15220 "mapper device:"
15221 msgstr ""
15222
15223 # type: verbatim
15224 #: ../fish/guestfish.pod:580
15225 #, no-wrap
15226 msgid ""
15227 " ><fs> vgscan\n"
15228 " ><fs> vg-activate-all true\n"
15229 "\n"
15230 msgstr ""
15231
15232 # type: textblock
15233 #: ../fish/guestfish.pod:583
15234 msgid "The logical volume(s) can now be mounted in the usual way."
15235 msgstr ""
15236
15237 # type: textblock
15238 #: ../fish/guestfish.pod:585
15239 msgid ""
15240 "Before closing a LUKS device you must unmount any logical volumes on it and "
15241 "deactivate the volume groups by calling C<vg-activate false VG> on each "
15242 "one.  Then you can close the mapper device:"
15243 msgstr ""
15244
15245 # type: verbatim
15246 #: ../fish/guestfish.pod:589
15247 #, no-wrap
15248 msgid ""
15249 " ><fs> vg-activate false /dev/VG\n"
15250 " ><fs> luks-close /dev/mapper/luksdev\n"
15251 "\n"
15252 msgstr ""
15253
15254 # type: =head1
15255 #: ../fish/guestfish.pod:592
15256 msgid "WINDOWS PATHS"
15257 msgstr ""
15258
15259 # type: textblock
15260 #: ../fish/guestfish.pod:594
15261 msgid ""
15262 "If a path is prefixed with C<win:> then you can use Windows-style paths "
15263 "(with some limitations).  The following commands are equivalent:"
15264 msgstr ""
15265
15266 # type: verbatim
15267 #: ../fish/guestfish.pod:597
15268 #, no-wrap
15269 msgid ""
15270 " file /WINDOWS/system32/config/system.LOG\n"
15271 "\n"
15272 msgstr ""
15273
15274 # type: verbatim
15275 #: ../fish/guestfish.pod:599
15276 #, no-wrap
15277 msgid ""
15278 " file win:/windows/system32/config/system.log\n"
15279 "\n"
15280 msgstr ""
15281
15282 # type: verbatim
15283 #: ../fish/guestfish.pod:601
15284 #, no-wrap
15285 msgid ""
15286 " file win:\\windows\\system32\\config\\system.log\n"
15287 "\n"
15288 msgstr ""
15289
15290 # type: verbatim
15291 #: ../fish/guestfish.pod:603
15292 #, no-wrap
15293 msgid ""
15294 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
15295 "\n"
15296 msgstr ""
15297
15298 # type: textblock
15299 #: ../fish/guestfish.pod:605
15300 msgid ""
15301 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
15302 "handles case insensitivity like Windows would.  This only works in argument "
15303 "positions that expect a path."
15304 msgstr ""
15305
15306 # type: =head1
15307 #: ../fish/guestfish.pod:609
15308 msgid "UPLOADING AND DOWNLOADING FILES"
15309 msgstr ""
15310
15311 # type: textblock
15312 #: ../fish/guestfish.pod:611
15313 msgid ""
15314 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
15315 "others which upload from or download to a local file, you can use the "
15316 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
15317 msgstr ""
15318
15319 # type: verbatim
15320 #: ../fish/guestfish.pod:615
15321 #, no-wrap
15322 msgid ""
15323 " upload - /foo\n"
15324 "\n"
15325 msgstr ""
15326
15327 # type: textblock
15328 #: ../fish/guestfish.pod:617
15329 msgid "reads stdin and creates from that a file C</foo> in the disk image, and:"
15330 msgstr ""
15331
15332 # type: verbatim
15333 #: ../fish/guestfish.pod:620
15334 #, no-wrap
15335 msgid ""
15336 " tar-out /etc - | tar tf -\n"
15337 "\n"
15338 msgstr ""
15339
15340 # type: textblock
15341 #: ../fish/guestfish.pod:622
15342 msgid ""
15343 "writes the tarball to stdout and then pipes that into the external \"tar\" "
15344 "command (see L</PIPES>)."
15345 msgstr ""
15346
15347 # type: textblock
15348 #: ../fish/guestfish.pod:625
15349 msgid ""
15350 "When using C<-> to read from stdin, the input is read up to the end of "
15351 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
15352 "some arbitrary end marker:"
15353 msgstr ""
15354
15355 # type: verbatim
15356 #: ../fish/guestfish.pod:629
15357 #, no-wrap
15358 msgid ""
15359 " upload -<<END /foo\n"
15360 " input line 1\n"
15361 " input line 2\n"
15362 " input line 3\n"
15363 " END\n"
15364 "\n"
15365 msgstr ""
15366
15367 # type: textblock
15368 #: ../fish/guestfish.pod:635
15369 msgid ""
15370 "Any string of characters can be used instead of C<END>.  The end marker must "
15371 "appear on a line of its own, without any preceeding or following characters "
15372 "(not even spaces)."
15373 msgstr ""
15374
15375 # type: textblock
15376 #: ../fish/guestfish.pod:639
15377 msgid ""
15378 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
15379 "upload local files (so-called \"FileIn\" parameters in the generator)."
15380 msgstr ""
15381
15382 # type: =head1
15383 #: ../fish/guestfish.pod:642
15384 msgid "EXIT ON ERROR BEHAVIOUR"
15385 msgstr ""
15386
15387 # type: textblock
15388 #: ../fish/guestfish.pod:644
15389 msgid ""
15390 "By default, guestfish will ignore any errors when in interactive mode "
15391 "(ie. taking commands from a human over a tty), and will exit on the first "
15392 "error in non-interactive mode (scripts, commands given on the command line)."
15393 msgstr ""
15394
15395 # type: textblock
15396 #: ../fish/guestfish.pod:649
15397 msgid ""
15398 "If you prefix a command with a I<-> character, then that command will not "
15399 "cause guestfish to exit, even if that (one) command returns an error."
15400 msgstr ""
15401
15402 # type: =head1
15403 #: ../fish/guestfish.pod:653
15404 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
15405 msgstr ""
15406
15407 # type: textblock
15408 #: ../fish/guestfish.pod:655
15409 msgid ""
15410 "Guestfish can be remote-controlled over a socket.  This is useful "
15411 "particularly in shell scripts where you want to make several different "
15412 "changes to a filesystem, but you don't want the overhead of starting up a "
15413 "guestfish process each time."
15414 msgstr ""
15415
15416 # type: textblock
15417 #: ../fish/guestfish.pod:660
15418 msgid "Start a guestfish server process using:"
15419 msgstr ""
15420
15421 # type: verbatim
15422 #: ../fish/guestfish.pod:662
15423 #, no-wrap
15424 msgid ""
15425 " eval `guestfish --listen`\n"
15426 "\n"
15427 msgstr ""
15428
15429 # type: textblock
15430 #: ../fish/guestfish.pod:664
15431 msgid "and then send it commands by doing:"
15432 msgstr ""
15433
15434 # type: verbatim
15435 #: ../fish/guestfish.pod:666
15436 #, no-wrap
15437 msgid ""
15438 " guestfish --remote cmd [...]\n"
15439 "\n"
15440 msgstr ""
15441
15442 # type: textblock
15443 #: ../fish/guestfish.pod:668
15444 msgid "To cause the server to exit, send it the exit command:"
15445 msgstr ""
15446
15447 # type: verbatim
15448 #: ../fish/guestfish.pod:670
15449 #, no-wrap
15450 msgid ""
15451 " guestfish --remote exit\n"
15452 "\n"
15453 msgstr ""
15454
15455 # type: textblock
15456 #: ../fish/guestfish.pod:672
15457 msgid ""
15458 "Note that the server will normally exit if there is an error in a command.  "
15459 "You can change this in the usual way.  See section L</EXIT ON ERROR "
15460 "BEHAVIOUR>."
15461 msgstr ""
15462
15463 # type: =head2
15464 #: ../fish/guestfish.pod:676
15465 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
15466 msgstr ""
15467
15468 # type: textblock
15469 #: ../fish/guestfish.pod:678
15470 msgid ""
15471 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
15472 "is how the I<--remote> option knows where to send the commands.  You can "
15473 "have several guestfish listener processes running using:"
15474 msgstr ""
15475
15476 # type: verbatim
15477 #: ../fish/guestfish.pod:682
15478 #, no-wrap
15479 msgid ""
15480 " eval `guestfish --listen`\n"
15481 " pid1=$GUESTFISH_PID\n"
15482 " eval `guestfish --listen`\n"
15483 " pid2=$GUESTFISH_PID\n"
15484 " ...\n"
15485 " guestfish --remote=$pid1 cmd\n"
15486 " guestfish --remote=$pid2 cmd\n"
15487 "\n"
15488 msgstr ""
15489
15490 # type: =head2
15491 #: ../fish/guestfish.pod:690
15492 msgid "REMOTE CONTROL DETAILS"
15493 msgstr ""
15494
15495 # type: textblock
15496 #: ../fish/guestfish.pod:692
15497 msgid ""
15498 "Remote control happens over a Unix domain socket called "
15499 "C</tmp/.guestfish-$UID/socket-$PID>, where C<$UID> is the effective user ID "
15500 "of the process, and C<$PID> is the process ID of the server."
15501 msgstr ""
15502
15503 # type: textblock
15504 #: ../fish/guestfish.pod:696
15505 msgid "Guestfish client and server versions must match exactly."
15506 msgstr ""
15507
15508 # type: =head1
15509 #: ../fish/guestfish.pod:698
15510 msgid "PREPARED DISK IMAGES"
15511 msgstr ""
15512
15513 # type: textblock
15514 #: ../fish/guestfish.pod:700
15515 msgid ""
15516 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
15517 "preformatted disk images that guestfish can make for you to save typing.  "
15518 "This is particularly useful for testing purposes.  This option is used "
15519 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
15520 "can be mixed with I<-a>)."
15521 msgstr ""
15522
15523 # type: textblock
15524 #: ../fish/guestfish.pod:706
15525 msgid ""
15526 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
15527 "the second and so on.  Existing files in the current directory are "
15528 "I<overwritten>."
15529 msgstr ""
15530
15531 # type: textblock
15532 #: ../fish/guestfish.pod:710
15533 msgid ""
15534 "The type briefly describes how the disk should be sized, partitioned, how "
15535 "filesystem(s) should be created, and how content should be added.  "
15536 "Optionally the type can be followed by extra parameters, separated by C<:> "
15537 "(colon) characters.  For example, I<-N fs> creates a default 100MB, "
15538 "sparsely-allocated disk, containing a single partition, with the partition "
15539 "formatted as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem "
15540 "on a 1GB disk instead."
15541 msgstr ""
15542
15543 # type: textblock
15544 #: ../fish/guestfish.pod:718
15545 msgid "To list the available types and any extra parameters they take, run:"
15546 msgstr ""
15547
15548 # type: textblock
15549 #: ../fish/guestfish.pod:722
15550 msgid ""
15551 "Note that the prepared filesystem is not mounted.  You would usually have to "
15552 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
15553 msgstr ""
15554
15555 # type: textblock
15556 #: ../fish/guestfish.pod:726
15557 msgid ""
15558 "If any I<-N> or I<--new> options are given, the guest is automatically "
15559 "launched."
15560 msgstr ""
15561
15562 # type: textblock
15563 #: ../fish/guestfish.pod:731
15564 msgid "Create a 100MB disk with an ext4-formatted partition:"
15565 msgstr ""
15566
15567 # type: verbatim
15568 #: ../fish/guestfish.pod:733
15569 #, no-wrap
15570 msgid ""
15571 " guestfish -N fs:ext4\n"
15572 "\n"
15573 msgstr ""
15574
15575 # type: textblock
15576 #: ../fish/guestfish.pod:735
15577 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
15578 msgstr ""
15579
15580 # type: verbatim
15581 #: ../fish/guestfish.pod:737
15582 #, no-wrap
15583 msgid ""
15584 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
15585 "\n"
15586 msgstr ""
15587
15588 # type: textblock
15589 #: ../fish/guestfish.pod:739
15590 msgid "Create a blank 200MB disk:"
15591 msgstr ""
15592
15593 # type: verbatim
15594 #: ../fish/guestfish.pod:741
15595 #, no-wrap
15596 msgid ""
15597 " guestfish -N disk:200M\n"
15598 "\n"
15599 msgstr ""
15600
15601 # type: =head1
15602 #: ../fish/guestfish.pod:743
15603 msgid "PROGRESS BARS"
15604 msgstr ""
15605
15606 # type: textblock
15607 #: ../fish/guestfish.pod:745
15608 msgid ""
15609 "Some (not all) long-running commands send progress notification messages as "
15610 "they are running.  Guestfish turns these messages into progress bars."
15611 msgstr ""
15612
15613 # type: textblock
15614 #: ../fish/guestfish.pod:749
15615 msgid ""
15616 "When a command that supports progress bars takes longer than two seconds to "
15617 "run, and if progress bars are enabled, then you will see one appearing below "
15618 "the command:"
15619 msgstr ""
15620
15621 # type: verbatim
15622 #: ../fish/guestfish.pod:753
15623 #, no-wrap
15624 msgid ""
15625 " ><fs> copy-size /large-file /another-file 2048M\n"
15626 " / 10% [#####-----------------------------------------] 00:30\n"
15627 "\n"
15628 msgstr ""
15629
15630 # type: textblock
15631 #: ../fish/guestfish.pod:756
15632 msgid ""
15633 "The spinner on the left hand side moves round once for every progress "
15634 "notification received from the backend.  This is a (reasonably) golden "
15635 "assurance that the command is \"doing something\" even if the progress bar "
15636 "is not moving, because the command is able to send the progress "
15637 "notifications.  When the bar reaches 100% and the command finishes, the "
15638 "spinner disappears."
15639 msgstr ""
15640
15641 # type: textblock
15642 #: ../fish/guestfish.pod:763
15643 msgid ""
15644 "Progress bars are enabled by default when guestfish is used interactively.  "
15645 "You can enable them even for non-interactive modes using I<--progress-bars>, "
15646 "and you can disable them completely using I<--no-progress-bars>."
15647 msgstr ""
15648
15649 # type: =head1
15650 #: ../fish/guestfish.pod:768
15651 msgid "GUESTFISH COMMANDS"
15652 msgstr ""
15653
15654 # type: textblock
15655 #: ../fish/guestfish.pod:770
15656 msgid ""
15657 "The commands in this section are guestfish convenience commands, in other "
15658 "words, they are not part of the L<guestfs(3)> API."
15659 msgstr ""
15660
15661 # type: =head2
15662 #: ../fish/guestfish.pod:773
15663 msgid "alloc | allocate"
15664 msgstr ""
15665
15666 # type: verbatim
15667 #: ../fish/guestfish.pod:775
15668 #, no-wrap
15669 msgid ""
15670 " alloc filename size\n"
15671 "\n"
15672 msgstr ""
15673
15674 # type: textblock
15675 #: ../fish/guestfish.pod:777
15676 msgid ""
15677 "This creates an empty (zeroed) file of the given size, and then adds so it "
15678 "can be further examined."
15679 msgstr ""
15680
15681 # type: textblock
15682 #: ../fish/guestfish.pod:780 ../fish/guestfish.pod:875
15683 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
15684 msgstr ""
15685
15686 # type: textblock
15687 #: ../fish/guestfish.pod:782 ../fish/guestfish.pod:877
15688 msgid "Size can be specified using standard suffixes, eg. C<1M>."
15689 msgstr ""
15690
15691 # type: =head2
15692 #: ../fish/guestfish.pod:784
15693 msgid "echo"
15694 msgstr ""
15695
15696 # type: verbatim
15697 #: ../fish/guestfish.pod:786
15698 #, no-wrap
15699 msgid ""
15700 " echo [params ...]\n"
15701 "\n"
15702 msgstr ""
15703
15704 # type: textblock
15705 #: ../fish/guestfish.pod:788
15706 msgid "This echos the parameters to the terminal."
15707 msgstr ""
15708
15709 # type: =head2
15710 #: ../fish/guestfish.pod:790
15711 msgid "edit | vi | emacs"
15712 msgstr ""
15713
15714 # type: verbatim
15715 #: ../fish/guestfish.pod:792
15716 #, no-wrap
15717 msgid ""
15718 " edit filename\n"
15719 "\n"
15720 msgstr ""
15721
15722 # type: textblock
15723 #: ../fish/guestfish.pod:794
15724 msgid ""
15725 "This is used to edit a file.  It downloads the file, edits it locally using "
15726 "your editor, then uploads the result."
15727 msgstr ""
15728
15729 # type: textblock
15730 #: ../fish/guestfish.pod:797
15731 msgid ""
15732 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
15733 "or C<emacs> you will get those corresponding editors."
15734 msgstr ""
15735
15736 # type: textblock
15737 #: ../fish/guestfish.pod:801 ../fish/guestfish.pod:847
15738 msgid ""
15739 "NOTE: This will not work reliably for large files (> 2 MB) or binary files "
15740 "containing \\0 bytes."
15741 msgstr ""
15742
15743 # type: =head2
15744 #: ../fish/guestfish.pod:804
15745 msgid "glob"
15746 msgstr ""
15747
15748 # type: verbatim
15749 #: ../fish/guestfish.pod:806
15750 #, no-wrap
15751 msgid ""
15752 " glob command args...\n"
15753 "\n"
15754 msgstr ""
15755
15756 # type: textblock
15757 #: ../fish/guestfish.pod:808
15758 msgid ""
15759 "Expand wildcards in any paths in the args list, and run C<command> "
15760 "repeatedly on each matching path."
15761 msgstr ""
15762
15763 # type: textblock
15764 #: ../fish/guestfish.pod:811
15765 msgid "See section WILDCARDS AND GLOBBING."
15766 msgstr ""
15767
15768 # type: =head2
15769 #: ../fish/guestfish.pod:813
15770 msgid "help"
15771 msgstr ""
15772
15773 # type: verbatim
15774 #: ../fish/guestfish.pod:815
15775 #, no-wrap
15776 msgid ""
15777 " help\n"
15778 " help cmd\n"
15779 "\n"
15780 msgstr ""
15781
15782 # type: textblock
15783 #: ../fish/guestfish.pod:818
15784 msgid ""
15785 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
15786 "this displays detailed help for a command."
15787 msgstr ""
15788
15789 # type: =head2
15790 #: ../fish/guestfish.pod:821
15791 msgid "lcd"
15792 msgstr ""
15793
15794 # type: verbatim
15795 #: ../fish/guestfish.pod:823
15796 #, no-wrap
15797 msgid ""
15798 " lcd directory\n"
15799 "\n"
15800 msgstr ""
15801
15802 # type: textblock
15803 #: ../fish/guestfish.pod:825
15804 msgid "Change the local directory, ie. the current directory of guestfish itself."
15805 msgstr ""
15806
15807 # type: textblock
15808 #: ../fish/guestfish.pod:828
15809 msgid "Note that C<!cd> won't do what you might expect."
15810 msgstr ""
15811
15812 # type: =head2
15813 #: ../fish/guestfish.pod:830
15814 msgid "man | manual"
15815 msgstr ""
15816
15817 # type: verbatim
15818 #: ../fish/guestfish.pod:832
15819 #, no-wrap
15820 msgid ""
15821 " man\n"
15822 "\n"
15823 msgstr ""
15824
15825 # type: textblock
15826 #: ../fish/guestfish.pod:834
15827 msgid "Opens the manual page for guestfish."
15828 msgstr ""
15829
15830 # type: =head2
15831 #: ../fish/guestfish.pod:836
15832 msgid "more | less"
15833 msgstr ""
15834
15835 # type: verbatim
15836 #: ../fish/guestfish.pod:838
15837 #, no-wrap
15838 msgid ""
15839 " more filename\n"
15840 "\n"
15841 msgstr ""
15842
15843 # type: verbatim
15844 #: ../fish/guestfish.pod:840
15845 #, no-wrap
15846 msgid ""
15847 " less filename\n"
15848 "\n"
15849 msgstr ""
15850
15851 # type: textblock
15852 #: ../fish/guestfish.pod:842
15853 msgid "This is used to view a file."
15854 msgstr ""
15855
15856 # type: textblock
15857 #: ../fish/guestfish.pod:844
15858 msgid ""
15859 "The default viewer is C<$PAGER>.  However if you use the alternate command "
15860 "C<less> you will get the C<less> command specifically."
15861 msgstr ""
15862
15863 # type: =head2
15864 #: ../fish/guestfish.pod:850
15865 msgid "quit | exit"
15866 msgstr ""
15867
15868 # type: textblock
15869 #: ../fish/guestfish.pod:852
15870 msgid "This exits guestfish.  You can also use C<^D> key."
15871 msgstr ""
15872
15873 # type: =head2
15874 #: ../fish/guestfish.pod:854
15875 msgid "reopen"
15876 msgstr ""
15877
15878 # type: verbatim
15879 #: ../fish/guestfish.pod:856
15880 #, no-wrap
15881 msgid ""
15882 " reopen\n"
15883 "\n"
15884 msgstr ""
15885
15886 # type: textblock
15887 #: ../fish/guestfish.pod:858
15888 msgid ""
15889 "Close and reopen the libguestfs handle.  It is not necessary to use this "
15890 "normally, because the handle is closed properly when guestfish exits.  "
15891 "However this is occasionally useful for testing."
15892 msgstr ""
15893
15894 # type: =head2
15895 #: ../fish/guestfish.pod:862
15896 msgid "sparse"
15897 msgstr ""
15898
15899 # type: verbatim
15900 #: ../fish/guestfish.pod:864
15901 #, no-wrap
15902 msgid ""
15903 " sparse filename size\n"
15904 "\n"
15905 msgstr ""
15906
15907 # type: textblock
15908 #: ../fish/guestfish.pod:866
15909 msgid ""
15910 "This creates an empty sparse file of the given size, and then adds so it can "
15911 "be further examined."
15912 msgstr ""
15913
15914 # type: textblock
15915 #: ../fish/guestfish.pod:869
15916 msgid ""
15917 "In all respects it works the same as the C<alloc> command, except that the "
15918 "image file is allocated sparsely, which means that disk blocks are not "
15919 "assigned to the file until they are needed.  Sparse disk files only use "
15920 "space when written to, but they are slower and there is a danger you could "
15921 "run out of real disk space during a write operation."
15922 msgstr ""
15923
15924 # type: =head2
15925 #: ../fish/guestfish.pod:879
15926 msgid "supported"
15927 msgstr ""
15928
15929 # type: verbatim
15930 #: ../fish/guestfish.pod:881
15931 #, no-wrap
15932 msgid ""
15933 " supported\n"
15934 "\n"
15935 msgstr ""
15936
15937 # type: textblock
15938 #: ../fish/guestfish.pod:883
15939 msgid ""
15940 "This command returns a list of the optional groups known to the daemon, and "
15941 "indicates which ones are supported by this build of the libguestfs "
15942 "appliance."
15943 msgstr ""
15944
15945 # type: textblock
15946 #: ../fish/guestfish.pod:887
15947 msgid "See also L<guestfs(3)/AVAILABILITY>."
15948 msgstr ""
15949
15950 # type: =head2
15951 #: ../fish/guestfish.pod:889
15952 msgid "time"
15953 msgstr ""
15954
15955 # type: verbatim
15956 #: ../fish/guestfish.pod:891
15957 #, no-wrap
15958 msgid ""
15959 " time command args...\n"
15960 "\n"
15961 msgstr ""
15962
15963 # type: textblock
15964 #: ../fish/guestfish.pod:893
15965 msgid ""
15966 "Run the command as usual, but print the elapsed time afterwards.  This can "
15967 "be useful for benchmarking operations."
15968 msgstr ""
15969
15970 # type: =head1
15971 #: ../fish/guestfish.pod:896
15972 msgid "COMMANDS"
15973 msgstr ""
15974
15975 # type: =head1
15976 #: ../fish/guestfish.pod:900 ../test-tool/libguestfs-test-tool.pod:83
15977 msgid "EXIT CODE"
15978 msgstr ""
15979
15980 # type: textblock
15981 #: ../fish/guestfish.pod:902
15982 msgid ""
15983 "guestfish returns 0 if the commands completed without error, or 1 if there "
15984 "was an error."
15985 msgstr ""
15986
15987 # type: =item
15988 #: ../fish/guestfish.pod:909
15989 msgid "EDITOR"
15990 msgstr ""
15991
15992 # type: textblock
15993 #: ../fish/guestfish.pod:911
15994 msgid ""
15995 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
15996 "C<vi>."
15997 msgstr ""
15998
15999 # type: =item
16000 #: ../fish/guestfish.pod:914
16001 msgid "GUESTFISH_PID"
16002 msgstr ""
16003
16004 # type: textblock
16005 #: ../fish/guestfish.pod:916
16006 msgid ""
16007 "Used with the I<--remote> option to specify the remote guestfish process to "
16008 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16009 msgstr ""
16010
16011 # type: =item
16012 #: ../fish/guestfish.pod:920
16013 msgid "HOME"
16014 msgstr ""
16015
16016 # type: textblock
16017 #: ../fish/guestfish.pod:922
16018 msgid ""
16019 "If compiled with GNU readline support, various files in the home directory "
16020 "can be used.  See L</FILES>."
16021 msgstr ""
16022
16023 # type: textblock
16024 #: ../fish/guestfish.pod:931
16025 msgid ""
16026 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16027 "effect as using the B<-v> option."
16028 msgstr ""
16029
16030 # type: textblock
16031 #: ../fish/guestfish.pod:943
16032 msgid ""
16033 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16034 "the discussion of paths in L<guestfs(3)>."
16035 msgstr ""
16036
16037 # type: textblock
16038 #: ../fish/guestfish.pod:954
16039 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16040 msgstr ""
16041
16042 # type: =item
16043 #: ../fish/guestfish.pod:956
16044 msgid "PAGER"
16045 msgstr ""
16046
16047 # type: textblock
16048 #: ../fish/guestfish.pod:958
16049 msgid ""
16050 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16051 "C<more>."
16052 msgstr ""
16053
16054 # type: =head1
16055 #: ../fish/guestfish.pod:973 ../test-tool/libguestfs-test-tool.pod:88
16056 msgid "FILES"
16057 msgstr ""
16058
16059 # type: =item
16060 #: ../fish/guestfish.pod:977
16061 msgid "$HOME/.guestfish"
16062 msgstr ""
16063
16064 # type: textblock
16065 #: ../fish/guestfish.pod:979
16066 msgid ""
16067 "If compiled with GNU readline support, then the command history is saved in "
16068 "this file."
16069 msgstr ""
16070
16071 # type: =item
16072 #: ../fish/guestfish.pod:982
16073 msgid "$HOME/.inputrc"
16074 msgstr ""
16075
16076 # type: =item
16077 #: ../fish/guestfish.pod:984
16078 msgid "/etc/inputrc"
16079 msgstr ""
16080
16081 # type: textblock
16082 #: ../fish/guestfish.pod:986
16083 msgid ""
16084 "If compiled with GNU readline support, then these files can be used to "
16085 "configure readline.  For further information, please see "
16086 "L<readline(3)/INITIALIZATION FILE>."
16087 msgstr ""
16088
16089 # type: textblock
16090 #: ../fish/guestfish.pod:990
16091 msgid "To write rules which only apply to guestfish, use:"
16092 msgstr ""
16093
16094 # type: verbatim
16095 #: ../fish/guestfish.pod:992
16096 #, no-wrap
16097 msgid ""
16098 " $if guestfish\n"
16099 " ...\n"
16100 " $endif\n"
16101 "\n"
16102 msgstr ""
16103
16104 # type: textblock
16105 #: ../fish/guestfish.pod:996
16106 msgid ""
16107 "Variables that you can set in inputrc that change the behaviour of guestfish "
16108 "in useful ways include:"
16109 msgstr ""
16110
16111 # type: =item
16112 #: ../fish/guestfish.pod:1001
16113 msgid "completion-ignore-case (default: on)"
16114 msgstr ""
16115
16116 # type: textblock
16117 #: ../fish/guestfish.pod:1003
16118 msgid ""
16119 "By default, guestfish will ignore case when tab-completing paths on the "
16120 "disk.  Use:"
16121 msgstr ""
16122
16123 # type: verbatim
16124 #: ../fish/guestfish.pod:1006
16125 #, no-wrap
16126 msgid ""
16127 " set completion-ignore-case off\n"
16128 "\n"
16129 msgstr ""
16130
16131 # type: textblock
16132 #: ../fish/guestfish.pod:1008
16133 msgid "to make guestfish case sensitive."
16134 msgstr ""
16135
16136 # type: =item
16137 #: ../fish/guestfish.pod:1012
16138 msgid "test1.img"
16139 msgstr ""
16140
16141 # type: =item
16142 #: ../fish/guestfish.pod:1014
16143 msgid "test2.img (etc)"
16144 msgstr ""
16145
16146 # type: textblock
16147 #: ../fish/guestfish.pod:1016
16148 msgid ""
16149 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16150 "will be created in the file C<test1.img> in the current directory.  The "
16151 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16152 "the same name will be overwritten."
16153 msgstr ""
16154
16155 # type: textblock
16156 #: ../fish/guestfish.pod:1025
16157 msgid ""
16158 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16159 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16160 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16161 "L<virt-tar(1)>, L<virt-win-reg(1)>."
16162 msgstr ""
16163
16164 # type: textblock
16165 #: ../fish/guestfish.pod:1048 ../test-tool/libguestfs-test-tool.pod:124 ../fuse/guestmount.pod:198 ../inspector/virt-inspector.pl:865 ../tools/virt-cat.pl:181 ../tools/virt-df.pl:499 ../tools/virt-edit.pl:345 ../tools/virt-list-filesystems.pl:211 ../tools/virt-list-partitions.pl:248 ../tools/virt-ls.pl:229 ../tools/virt-make-fs.pl:560 ../tools/virt-rescue.pl:249 ../tools/virt-resize.pl:1415 ../tools/virt-tar.pl:276 ../tools/virt-win-reg.pl:495
16166 msgid ""
16167 "This program is free software; you can redistribute it and/or modify it "
16168 "under the terms of the GNU General Public License as published by the Free "
16169 "Software Foundation; either version 2 of the License, or (at your option) "
16170 "any later version."
16171 msgstr ""
16172
16173 # type: textblock
16174 #: ../fish/guestfish.pod:1053 ../test-tool/libguestfs-test-tool.pod:129 ../fuse/guestmount.pod:203 ../inspector/virt-inspector.pl:870 ../tools/virt-cat.pl:186 ../tools/virt-df.pl:504 ../tools/virt-edit.pl:350 ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:253 ../tools/virt-ls.pl:234 ../tools/virt-make-fs.pl:565 ../tools/virt-rescue.pl:254 ../tools/virt-resize.pl:1420 ../tools/virt-tar.pl:281 ../tools/virt-win-reg.pl:500
16175 msgid ""
16176 "This program is distributed in the hope that it will be useful, but WITHOUT "
16177 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16178 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16179 "more details."
16180 msgstr ""
16181
16182 # type: textblock
16183 #: ../fish/guestfish.pod:1058 ../test-tool/libguestfs-test-tool.pod:134 ../fuse/guestmount.pod:208 ../inspector/virt-inspector.pl:875 ../tools/virt-cat.pl:191 ../tools/virt-df.pl:509 ../tools/virt-edit.pl:355 ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:258 ../tools/virt-ls.pl:239 ../tools/virt-make-fs.pl:570 ../tools/virt-rescue.pl:259 ../tools/virt-resize.pl:1425 ../tools/virt-tar.pl:286 ../tools/virt-win-reg.pl:505
16184 msgid ""
16185 "You should have received a copy of the GNU General Public License along with "
16186 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16187 "Ave, Cambridge, MA 02139, USA."
16188 msgstr ""
16189
16190 # type: =head2
16191 #: ../fish/guestfish-actions.pod:1
16192 msgid "add-cdrom | cdrom"
16193 msgstr ""
16194
16195 # type: verbatim
16196 #: ../fish/guestfish-actions.pod:3
16197 #, no-wrap
16198 msgid ""
16199 " add-cdrom filename\n"
16200 "\n"
16201 msgstr ""
16202
16203 # type: textblock
16204 #: ../fish/guestfish-actions.pod:15
16205 msgid ""
16206 "This call checks for the existence of C<filename>.  This stops you from "
16207 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16208 "and C<http:> URLs.  To specify those, use the general C<config> call "
16209 "instead."
16210 msgstr ""
16211
16212 # type: textblock
16213 #: ../fish/guestfish-actions.pod:22
16214 msgid ""
16215 "If you just want to add an ISO file (often you use this as an efficient way "
16216 "to transfer large files into the guest), then you should probably use "
16217 "C<add-drive-ro> instead."
16218 msgstr ""
16219
16220 # type: =head2
16221 #: ../fish/guestfish-actions.pod:28
16222 msgid "add-drive | add"
16223 msgstr ""
16224
16225 # type: verbatim
16226 #: ../fish/guestfish-actions.pod:30
16227 #, no-wrap
16228 msgid ""
16229 " add-drive filename\n"
16230 "\n"
16231 msgstr ""
16232
16233 # type: textblock
16234 #: ../fish/guestfish-actions.pod:49 ../fish/guestfish-actions.pod:75
16235 msgid ""
16236 "C<if=...> is set at compile time by the configuration option C<./configure "
16237 "--with-drive-if=...>.  In the rare case where you might need to change this "
16238 "at run time, use C<add-drive-with-if> or C<add-drive-ro-with-if>."
16239 msgstr ""
16240
16241 # type: textblock
16242 #: ../fish/guestfish-actions.pod:54 ../fish/guestfish-actions.pod:80
16243 msgid ""
16244 "Note that this call checks for the existence of C<filename>.  This stops you "
16245 "from specifying other types of drive which are supported by qemu such as "
16246 "C<nbd:> and C<http:> URLs.  To specify those, use the general C<config> call "
16247 "instead."
16248 msgstr ""
16249
16250 # type: =head2
16251 #: ../fish/guestfish-actions.pod:59
16252 msgid "add-drive-ro | add-ro"
16253 msgstr ""
16254
16255 # type: verbatim
16256 #: ../fish/guestfish-actions.pod:61
16257 #, no-wrap
16258 msgid ""
16259 " add-drive-ro filename\n"
16260 "\n"
16261 msgstr ""
16262
16263 # type: =head2
16264 #: ../fish/guestfish-actions.pod:85
16265 msgid "add-drive-ro-with-if"
16266 msgstr ""
16267
16268 # type: verbatim
16269 #: ../fish/guestfish-actions.pod:87
16270 #, no-wrap
16271 msgid ""
16272 " add-drive-ro-with-if filename iface\n"
16273 "\n"
16274 msgstr ""
16275
16276 # type: textblock
16277 #: ../fish/guestfish-actions.pod:89
16278 msgid ""
16279 "This is the same as C<add-drive-ro> but it allows you to specify the QEMU "
16280 "interface emulation to use at run time."
16281 msgstr ""
16282
16283 # type: =head2
16284 #: ../fish/guestfish-actions.pod:92
16285 msgid "add-drive-with-if"
16286 msgstr ""
16287
16288 # type: verbatim
16289 #: ../fish/guestfish-actions.pod:94
16290 #, no-wrap
16291 msgid ""
16292 " add-drive-with-if filename iface\n"
16293 "\n"
16294 msgstr ""
16295
16296 # type: textblock
16297 #: ../fish/guestfish-actions.pod:96
16298 msgid ""
16299 "This is the same as C<add-drive> but it allows you to specify the QEMU "
16300 "interface emulation to use at run time."
16301 msgstr ""
16302
16303 # type: =head2
16304 #: ../fish/guestfish-actions.pod:99
16305 msgid "aug-clear"
16306 msgstr ""
16307
16308 # type: verbatim
16309 #: ../fish/guestfish-actions.pod:101
16310 #, no-wrap
16311 msgid ""
16312 " aug-clear augpath\n"
16313 "\n"
16314 msgstr ""
16315
16316 # type: =head2
16317 #: ../fish/guestfish-actions.pod:106
16318 msgid "aug-close"
16319 msgstr ""
16320
16321 # type: verbatim
16322 #: ../fish/guestfish-actions.pod:108
16323 #, no-wrap
16324 msgid ""
16325 " aug-close\n"
16326 "\n"
16327 msgstr ""
16328
16329 # type: textblock
16330 #: ../fish/guestfish-actions.pod:110
16331 msgid ""
16332 "Close the current Augeas handle and free up any resources used by it.  After "
16333 "calling this, you have to call C<aug-init> again before you can use any "
16334 "other Augeas functions."
16335 msgstr ""
16336
16337 # type: =head2
16338 #: ../fish/guestfish-actions.pod:115
16339 msgid "aug-defnode"
16340 msgstr ""
16341
16342 # type: verbatim
16343 #: ../fish/guestfish-actions.pod:117
16344 #, no-wrap
16345 msgid ""
16346 " aug-defnode name expr val\n"
16347 "\n"
16348 msgstr ""
16349
16350 # type: textblock
16351 #: ../fish/guestfish-actions.pod:122
16352 msgid ""
16353 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
16354 "calling C<aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
16355 "containing that single node."
16356 msgstr ""
16357
16358 # type: =head2
16359 #: ../fish/guestfish-actions.pod:130
16360 msgid "aug-defvar"
16361 msgstr ""
16362
16363 # type: verbatim
16364 #: ../fish/guestfish-actions.pod:132
16365 #, no-wrap
16366 msgid ""
16367 " aug-defvar name expr\n"
16368 "\n"
16369 msgstr ""
16370
16371 # type: =head2
16372 #: ../fish/guestfish-actions.pod:141
16373 msgid "aug-get"
16374 msgstr ""
16375
16376 # type: verbatim
16377 #: ../fish/guestfish-actions.pod:143
16378 #, no-wrap
16379 msgid ""
16380 " aug-get augpath\n"
16381 "\n"
16382 msgstr ""
16383
16384 # type: =head2
16385 #: ../fish/guestfish-actions.pod:148
16386 msgid "aug-init"
16387 msgstr ""
16388
16389 # type: verbatim
16390 #: ../fish/guestfish-actions.pod:150
16391 #, no-wrap
16392 msgid ""
16393 " aug-init root flags\n"
16394 "\n"
16395 msgstr ""
16396
16397 # type: textblock
16398 #: ../fish/guestfish-actions.pod:156
16399 msgid "You must call this before using any other C<aug-*> commands."
16400 msgstr ""
16401
16402 # type: textblock
16403 #: ../fish/guestfish-actions.pod:191
16404 msgid "Do not load the tree in C<aug-init>."
16405 msgstr ""
16406
16407 # type: textblock
16408 #: ../fish/guestfish-actions.pod:195
16409 msgid "To close the handle, you can call C<aug-close>."
16410 msgstr ""
16411
16412 # type: =head2
16413 #: ../fish/guestfish-actions.pod:199
16414 msgid "aug-insert"
16415 msgstr ""
16416
16417 # type: verbatim
16418 #: ../fish/guestfish-actions.pod:201
16419 #, no-wrap
16420 msgid ""
16421 " aug-insert augpath label true|false\n"
16422 "\n"
16423 msgstr ""
16424
16425 # type: =head2
16426 #: ../fish/guestfish-actions.pod:211
16427 msgid "aug-load"
16428 msgstr ""
16429
16430 # type: verbatim
16431 #: ../fish/guestfish-actions.pod:213
16432 #, no-wrap
16433 msgid ""
16434 " aug-load\n"
16435 "\n"
16436 msgstr ""
16437
16438 # type: =head2
16439 #: ../fish/guestfish-actions.pod:220
16440 msgid "aug-ls"
16441 msgstr ""
16442
16443 # type: verbatim
16444 #: ../fish/guestfish-actions.pod:222
16445 #, no-wrap
16446 msgid ""
16447 " aug-ls augpath\n"
16448 "\n"
16449 msgstr ""
16450
16451 # type: textblock
16452 #: ../fish/guestfish-actions.pod:224
16453 msgid ""
16454 "This is just a shortcut for listing C<aug-match> C<path/*> and sorting the "
16455 "resulting nodes into alphabetical order."
16456 msgstr ""
16457
16458 # type: =head2
16459 #: ../fish/guestfish-actions.pod:227
16460 msgid "aug-match"
16461 msgstr ""
16462
16463 # type: verbatim
16464 #: ../fish/guestfish-actions.pod:229
16465 #, no-wrap
16466 msgid ""
16467 " aug-match augpath\n"
16468 "\n"
16469 msgstr ""
16470
16471 # type: =head2
16472 #: ../fish/guestfish-actions.pod:235
16473 msgid "aug-mv"
16474 msgstr ""
16475
16476 # type: verbatim
16477 #: ../fish/guestfish-actions.pod:237
16478 #, no-wrap
16479 msgid ""
16480 " aug-mv src dest\n"
16481 "\n"
16482 msgstr ""
16483
16484 # type: =head2
16485 #: ../fish/guestfish-actions.pod:242
16486 msgid "aug-rm"
16487 msgstr ""
16488
16489 # type: verbatim
16490 #: ../fish/guestfish-actions.pod:244
16491 #, no-wrap
16492 msgid ""
16493 " aug-rm augpath\n"
16494 "\n"
16495 msgstr ""
16496
16497 # type: =head2
16498 #: ../fish/guestfish-actions.pod:250
16499 msgid "aug-save"
16500 msgstr ""
16501
16502 # type: verbatim
16503 #: ../fish/guestfish-actions.pod:252
16504 #, no-wrap
16505 msgid ""
16506 " aug-save\n"
16507 "\n"
16508 msgstr ""
16509
16510 # type: textblock
16511 #: ../fish/guestfish-actions.pod:256
16512 msgid ""
16513 "The flags which were passed to C<aug-init> affect exactly how files are "
16514 "saved."
16515 msgstr ""
16516
16517 # type: =head2
16518 #: ../fish/guestfish-actions.pod:259
16519 msgid "aug-set"
16520 msgstr ""
16521
16522 # type: verbatim
16523 #: ../fish/guestfish-actions.pod:261
16524 #, no-wrap
16525 msgid ""
16526 " aug-set augpath val\n"
16527 "\n"
16528 msgstr ""
16529
16530 # type: textblock
16531 #: ../fish/guestfish-actions.pod:265
16532 msgid ""
16533 "In the Augeas API, it is possible to clear a node by setting the value to "
16534 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
16535 "this call.  Instead you must use the C<aug-clear> call."
16536 msgstr ""
16537
16538 # type: =head2
16539 #: ../fish/guestfish-actions.pod:270
16540 msgid "available"
16541 msgstr ""
16542
16543 # type: verbatim
16544 #: ../fish/guestfish-actions.pod:272
16545 #, no-wrap
16546 msgid ""
16547 " available 'groups ...'\n"
16548 "\n"
16549 msgstr ""
16550
16551 # type: textblock
16552 #: ../fish/guestfish-actions.pod:278
16553 msgid ""
16554 "The libguestfs groups, and the functions that those groups correspond to, "
16555 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
16556 "runtime by calling C<available-all-groups>."
16557 msgstr ""
16558
16559 # type: textblock
16560 #: ../fish/guestfish-actions.pod:302
16561 msgid "You must call C<launch> before calling this function."
16562 msgstr ""
16563
16564 # type: textblock
16565 #: ../fish/guestfish-actions.pod:324
16566 msgid ""
16567 "This call was added in version C<1.0.80>.  In previous versions of "
16568 "libguestfs all you could do would be to speculatively execute a command to "
16569 "find out if the daemon implemented it.  See also C<version>."
16570 msgstr ""
16571
16572 # type: =head2
16573 #: ../fish/guestfish-actions.pod:331
16574 msgid "available-all-groups"
16575 msgstr ""
16576
16577 # type: verbatim
16578 #: ../fish/guestfish-actions.pod:333
16579 #, no-wrap
16580 msgid ""
16581 " available-all-groups\n"
16582 "\n"
16583 msgstr ""
16584
16585 # type: textblock
16586 #: ../fish/guestfish-actions.pod:335
16587 msgid ""
16588 "This command returns a list of all optional groups that this daemon knows "
16589 "about.  Note this returns both supported and unsupported groups.  To find "
16590 "out which ones the daemon can actually support you have to call C<available> "
16591 "on each member of the returned list."
16592 msgstr ""
16593
16594 # type: textblock
16595 #: ../fish/guestfish-actions.pod:341
16596 msgid "See also C<available> and L<guestfs(3)/AVAILABILITY>."
16597 msgstr ""
16598
16599 # type: =head2
16600 #: ../fish/guestfish-actions.pod:343
16601 msgid "base64-in"
16602 msgstr ""
16603
16604 # type: verbatim
16605 #: ../fish/guestfish-actions.pod:345
16606 #, no-wrap
16607 msgid ""
16608 " base64-in (base64file|-) filename\n"
16609 "\n"
16610 msgstr ""
16611
16612 # type: textblock
16613 #: ../fish/guestfish-actions.pod:350 ../fish/guestfish-actions.pod:359 ../fish/guestfish-actions.pod:583 ../fish/guestfish-actions.pod:730 ../fish/guestfish-actions.pod:777 ../fish/guestfish-actions.pod:1154 ../fish/guestfish-actions.pod:3657 ../fish/guestfish-actions.pod:3669 ../fish/guestfish-actions.pod:3680 ../fish/guestfish-actions.pod:3691 ../fish/guestfish-actions.pod:3743 ../fish/guestfish-actions.pod:3752 ../fish/guestfish-actions.pod:3802
16614 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
16615 msgstr ""
16616
16617 # type: =head2
16618 #: ../fish/guestfish-actions.pod:352
16619 msgid "base64-out"
16620 msgstr ""
16621
16622 # type: verbatim
16623 #: ../fish/guestfish-actions.pod:354
16624 #, no-wrap
16625 msgid ""
16626 " base64-out filename (base64file|-)\n"
16627 "\n"
16628 msgstr ""
16629
16630 # type: =head2
16631 #: ../fish/guestfish-actions.pod:361
16632 msgid "blockdev-flushbufs"
16633 msgstr ""
16634
16635 # type: verbatim
16636 #: ../fish/guestfish-actions.pod:363
16637 #, no-wrap
16638 msgid ""
16639 " blockdev-flushbufs device\n"
16640 "\n"
16641 msgstr ""
16642
16643 # type: =head2
16644 #: ../fish/guestfish-actions.pod:370
16645 msgid "blockdev-getbsz"
16646 msgstr ""
16647
16648 # type: verbatim
16649 #: ../fish/guestfish-actions.pod:372
16650 #, no-wrap
16651 msgid ""
16652 " blockdev-getbsz device\n"
16653 "\n"
16654 msgstr ""
16655
16656 # type: =head2
16657 #: ../fish/guestfish-actions.pod:381
16658 msgid "blockdev-getro"
16659 msgstr ""
16660
16661 # type: verbatim
16662 #: ../fish/guestfish-actions.pod:383
16663 #, no-wrap
16664 msgid ""
16665 " blockdev-getro device\n"
16666 "\n"
16667 msgstr ""
16668
16669 # type: =head2
16670 #: ../fish/guestfish-actions.pod:390
16671 msgid "blockdev-getsize64"
16672 msgstr ""
16673
16674 # type: verbatim
16675 #: ../fish/guestfish-actions.pod:392
16676 #, no-wrap
16677 msgid ""
16678 " blockdev-getsize64 device\n"
16679 "\n"
16680 msgstr ""
16681
16682 # type: textblock
16683 #: ../fish/guestfish-actions.pod:396
16684 msgid "See also C<blockdev-getsz>."
16685 msgstr ""
16686
16687 # type: =head2
16688 #: ../fish/guestfish-actions.pod:400
16689 msgid "blockdev-getss"
16690 msgstr ""
16691
16692 # type: verbatim
16693 #: ../fish/guestfish-actions.pod:402
16694 #, no-wrap
16695 msgid ""
16696 " blockdev-getss device\n"
16697 "\n"
16698 msgstr ""
16699
16700 # type: textblock
16701 #: ../fish/guestfish-actions.pod:407
16702 msgid "(Note, this is not the size in sectors, use C<blockdev-getsz> for that)."
16703 msgstr ""
16704
16705 # type: =head2
16706 #: ../fish/guestfish-actions.pod:412
16707 msgid "blockdev-getsz"
16708 msgstr ""
16709
16710 # type: verbatim
16711 #: ../fish/guestfish-actions.pod:414
16712 #, no-wrap
16713 msgid ""
16714 " blockdev-getsz device\n"
16715 "\n"
16716 msgstr ""
16717
16718 # type: textblock
16719 #: ../fish/guestfish-actions.pod:419
16720 msgid ""
16721 "See also C<blockdev-getss> for the real sector size of the device, and "
16722 "C<blockdev-getsize64> for the more useful I<size in bytes>."
16723 msgstr ""
16724
16725 # type: =head2
16726 #: ../fish/guestfish-actions.pod:425
16727 msgid "blockdev-rereadpt"
16728 msgstr ""
16729
16730 # type: verbatim
16731 #: ../fish/guestfish-actions.pod:427
16732 #, no-wrap
16733 msgid ""
16734 " blockdev-rereadpt device\n"
16735 "\n"
16736 msgstr ""
16737
16738 # type: =head2
16739 #: ../fish/guestfish-actions.pod:433
16740 msgid "blockdev-setbsz"
16741 msgstr ""
16742
16743 # type: verbatim
16744 #: ../fish/guestfish-actions.pod:435
16745 #, no-wrap
16746 msgid ""
16747 " blockdev-setbsz device blocksize\n"
16748 "\n"
16749 msgstr ""
16750
16751 # type: =head2
16752 #: ../fish/guestfish-actions.pod:444
16753 msgid "blockdev-setro"
16754 msgstr ""
16755
16756 # type: verbatim
16757 #: ../fish/guestfish-actions.pod:446
16758 #, no-wrap
16759 msgid ""
16760 " blockdev-setro device\n"
16761 "\n"
16762 msgstr ""
16763
16764 # type: =head2
16765 #: ../fish/guestfish-actions.pod:452
16766 msgid "blockdev-setrw"
16767 msgstr ""
16768
16769 # type: verbatim
16770 #: ../fish/guestfish-actions.pod:454
16771 #, no-wrap
16772 msgid ""
16773 " blockdev-setrw device\n"
16774 "\n"
16775 msgstr ""
16776
16777 # type: =head2
16778 #: ../fish/guestfish-actions.pod:460
16779 msgid "case-sensitive-path"
16780 msgstr ""
16781
16782 # type: verbatim
16783 #: ../fish/guestfish-actions.pod:462
16784 #, no-wrap
16785 msgid ""
16786 " case-sensitive-path path\n"
16787 "\n"
16788 msgstr ""
16789
16790 # type: textblock
16791 #: ../fish/guestfish-actions.pod:486
16792 msgid ""
16793 "Thus C<case-sensitive-path> (\"/Windows/System32\")  might return "
16794 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
16795 "how the directories were originally created under Windows)."
16796 msgstr ""
16797
16798 # type: textblock
16799 #: ../fish/guestfish-actions.pod:494
16800 msgid "See also C<realpath>."
16801 msgstr ""
16802
16803 # type: =head2
16804 #: ../fish/guestfish-actions.pod:496
16805 msgid "cat"
16806 msgstr ""
16807
16808 # type: verbatim
16809 #: ../fish/guestfish-actions.pod:498
16810 #, no-wrap
16811 msgid ""
16812 " cat path\n"
16813 "\n"
16814 msgstr ""
16815
16816 # type: textblock
16817 #: ../fish/guestfish-actions.pod:502
16818 msgid ""
16819 "Note that this function cannot correctly handle binary files (specifically, "
16820 "files containing C<\\0> character which is treated as end of string).  For "
16821 "those you need to use the C<read-file> or C<download> functions which have a "
16822 "more complex interface."
16823 msgstr ""
16824
16825 # type: =head2
16826 #: ../fish/guestfish-actions.pod:510
16827 msgid "checksum"
16828 msgstr ""
16829
16830 # type: verbatim
16831 #: ../fish/guestfish-actions.pod:512
16832 #, no-wrap
16833 msgid ""
16834 " checksum csumtype path\n"
16835 "\n"
16836 msgstr ""
16837
16838 # type: textblock
16839 #: ../fish/guestfish-actions.pod:555
16840 msgid "To get the checksum for a device, use C<checksum-device>."
16841 msgstr ""
16842
16843 # type: textblock
16844 #: ../fish/guestfish-actions.pod:557
16845 msgid "To get the checksums for many files, use C<checksums-out>."
16846 msgstr ""
16847
16848 # type: =head2
16849 #: ../fish/guestfish-actions.pod:559
16850 msgid "checksum-device"
16851 msgstr ""
16852
16853 # type: verbatim
16854 #: ../fish/guestfish-actions.pod:561
16855 #, no-wrap
16856 msgid ""
16857 " checksum-device csumtype device\n"
16858 "\n"
16859 msgstr ""
16860
16861 # type: textblock
16862 #: ../fish/guestfish-actions.pod:563
16863 msgid ""
16864 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
16865 "device named C<device>.  For the types of checksums supported see the "
16866 "C<checksum> command."
16867 msgstr ""
16868
16869 # type: =head2
16870 #: ../fish/guestfish-actions.pod:567
16871 msgid "checksums-out"
16872 msgstr ""
16873
16874 # type: verbatim
16875 #: ../fish/guestfish-actions.pod:569
16876 #, no-wrap
16877 msgid ""
16878 " checksums-out csumtype directory (sumsfile|-)\n"
16879 "\n"
16880 msgstr ""
16881
16882 # type: =head2
16883 #: ../fish/guestfish-actions.pod:585
16884 msgid "chmod"
16885 msgstr ""
16886
16887 # type: verbatim
16888 #: ../fish/guestfish-actions.pod:587
16889 #, no-wrap
16890 msgid ""
16891 " chmod mode path\n"
16892 "\n"
16893 msgstr ""
16894
16895 # type: =head2
16896 #: ../fish/guestfish-actions.pod:598
16897 msgid "chown"
16898 msgstr ""
16899
16900 # type: verbatim
16901 #: ../fish/guestfish-actions.pod:600
16902 #, no-wrap
16903 msgid ""
16904 " chown owner group path\n"
16905 "\n"
16906 msgstr ""
16907
16908 # type: =head2
16909 #: ../fish/guestfish-actions.pod:608
16910 msgid "command"
16911 msgstr ""
16912
16913 # type: verbatim
16914 #: ../fish/guestfish-actions.pod:610
16915 #, no-wrap
16916 msgid ""
16917 " command 'arguments ...'\n"
16918 "\n"
16919 msgstr ""
16920
16921 # type: textblock
16922 #: ../fish/guestfish-actions.pod:617
16923 msgid ""
16924 "The single parameter is an argv-style list of arguments.  The first element "
16925 "is the name of the program to run.  Subsequent elements are parameters.  The "
16926 "list must be non-empty (ie. must contain a program name).  Note that the "
16927 "command runs directly, and is I<not> invoked via the shell (see C<sh>)."
16928 msgstr ""
16929
16930 # type: =head2
16931 #: ../fish/guestfish-actions.pod:645
16932 msgid "command-lines"
16933 msgstr ""
16934
16935 # type: verbatim
16936 #: ../fish/guestfish-actions.pod:647
16937 #, no-wrap
16938 msgid ""
16939 " command-lines 'arguments ...'\n"
16940 "\n"
16941 msgstr ""
16942
16943 # type: textblock
16944 #: ../fish/guestfish-actions.pod:649
16945 msgid "This is the same as C<command>, but splits the result into a list of lines."
16946 msgstr ""
16947
16948 # type: textblock
16949 #: ../fish/guestfish-actions.pod:652
16950 msgid "See also: C<sh-lines>"
16951 msgstr ""
16952
16953 # type: =head2
16954 #: ../fish/guestfish-actions.pod:657
16955 msgid "config"
16956 msgstr ""
16957
16958 # type: verbatim
16959 #: ../fish/guestfish-actions.pod:659
16960 #, no-wrap
16961 msgid ""
16962 " config qemuparam qemuvalue\n"
16963 "\n"
16964 msgstr ""
16965
16966 # type: =head2
16967 #: ../fish/guestfish-actions.pod:670
16968 msgid "copy-size"
16969 msgstr ""
16970
16971 # type: verbatim
16972 #: ../fish/guestfish-actions.pod:672
16973 #, no-wrap
16974 msgid ""
16975 " copy-size src dest size\n"
16976 "\n"
16977 msgstr ""
16978
16979 # type: =head2
16980 #: ../fish/guestfish-actions.pod:680
16981 msgid "cp"
16982 msgstr ""
16983
16984 # type: verbatim
16985 #: ../fish/guestfish-actions.pod:682
16986 #, no-wrap
16987 msgid ""
16988 " cp src dest\n"
16989 "\n"
16990 msgstr ""
16991
16992 # type: =head2
16993 #: ../fish/guestfish-actions.pod:687
16994 msgid "cp-a"
16995 msgstr ""
16996
16997 # type: verbatim
16998 #: ../fish/guestfish-actions.pod:689
16999 #, no-wrap
17000 msgid ""
17001 " cp-a src dest\n"
17002 "\n"
17003 msgstr ""
17004
17005 # type: =head2
17006 #: ../fish/guestfish-actions.pod:694
17007 msgid "dd"
17008 msgstr ""
17009
17010 # type: verbatim
17011 #: ../fish/guestfish-actions.pod:696
17012 #, no-wrap
17013 msgid ""
17014 " dd src dest\n"
17015 "\n"
17016 msgstr ""
17017
17018 # type: textblock
17019 #: ../fish/guestfish-actions.pod:703
17020 msgid ""
17021 "If the destination is a device, it must be as large or larger than the "
17022 "source file or device, otherwise the copy will fail.  This command cannot do "
17023 "partial copies (see C<copy-size>)."
17024 msgstr ""
17025
17026 # type: =head2
17027 #: ../fish/guestfish-actions.pod:707
17028 msgid "debug"
17029 msgstr ""
17030
17031 # type: verbatim
17032 #: ../fish/guestfish-actions.pod:709
17033 #, no-wrap
17034 msgid ""
17035 " debug subcmd 'extraargs ...'\n"
17036 "\n"
17037 msgstr ""
17038
17039 # type: textblock
17040 #: ../fish/guestfish-actions.pod:711
17041 msgid ""
17042 "The C<debug> command exposes some internals of C<guestfsd> (the guestfs "
17043 "daemon) that runs inside the qemu subprocess."
17044 msgstr ""
17045
17046 # type: =head2
17047 #: ../fish/guestfish-actions.pod:719
17048 msgid "debug-upload"
17049 msgstr ""
17050
17051 # type: verbatim
17052 #: ../fish/guestfish-actions.pod:721
17053 #, no-wrap
17054 msgid ""
17055 " debug-upload (filename|-) tmpname mode\n"
17056 "\n"
17057 msgstr ""
17058
17059 # type: textblock
17060 #: ../fish/guestfish-actions.pod:723
17061 msgid "The C<debug-upload> command uploads a file to the libguestfs appliance."
17062 msgstr ""
17063
17064 # type: =head2
17065 #: ../fish/guestfish-actions.pod:732
17066 msgid "df"
17067 msgstr ""
17068
17069 # type: verbatim
17070 #: ../fish/guestfish-actions.pod:734
17071 #, no-wrap
17072 msgid ""
17073 " df\n"
17074 "\n"
17075 msgstr ""
17076
17077 # type: =head2
17078 #: ../fish/guestfish-actions.pod:742
17079 msgid "df-h"
17080 msgstr ""
17081
17082 # type: verbatim
17083 #: ../fish/guestfish-actions.pod:744
17084 #, no-wrap
17085 msgid ""
17086 " df-h\n"
17087 "\n"
17088 msgstr ""
17089
17090 # type: =head2
17091 #: ../fish/guestfish-actions.pod:753
17092 msgid "dmesg"
17093 msgstr ""
17094
17095 # type: verbatim
17096 #: ../fish/guestfish-actions.pod:755
17097 #, no-wrap
17098 msgid ""
17099 " dmesg\n"
17100 "\n"
17101 msgstr ""
17102
17103 # type: textblock
17104 #: ../fish/guestfish-actions.pod:761
17105 msgid ""
17106 "Another way to get the same information is to enable verbose messages with "
17107 "C<set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17108 "before running the program."
17109 msgstr ""
17110
17111 # type: =head2
17112 #: ../fish/guestfish-actions.pod:766
17113 msgid "download"
17114 msgstr ""
17115
17116 # type: verbatim
17117 #: ../fish/guestfish-actions.pod:768
17118 #, no-wrap
17119 msgid ""
17120 " download remotefilename (filename|-)\n"
17121 "\n"
17122 msgstr ""
17123
17124 # type: textblock
17125 #: ../fish/guestfish-actions.pod:775
17126 msgid "See also C<upload>, C<cat>."
17127 msgstr ""
17128
17129 # type: =head2
17130 #: ../fish/guestfish-actions.pod:779
17131 msgid "drop-caches"
17132 msgstr ""
17133
17134 # type: verbatim
17135 #: ../fish/guestfish-actions.pod:781
17136 #, no-wrap
17137 msgid ""
17138 " drop-caches whattodrop\n"
17139 "\n"
17140 msgstr ""
17141
17142 # type: =head2
17143 #: ../fish/guestfish-actions.pod:793
17144 msgid "du"
17145 msgstr ""
17146
17147 # type: verbatim
17148 #: ../fish/guestfish-actions.pod:795
17149 #, no-wrap
17150 msgid ""
17151 " du path\n"
17152 "\n"
17153 msgstr ""
17154
17155 # type: =head2
17156 #: ../fish/guestfish-actions.pod:807
17157 msgid "e2fsck-f"
17158 msgstr ""
17159
17160 # type: verbatim
17161 #: ../fish/guestfish-actions.pod:809
17162 #, no-wrap
17163 msgid ""
17164 " e2fsck-f device\n"
17165 "\n"
17166 msgstr ""
17167
17168 # type: textblock
17169 #: ../fish/guestfish-actions.pod:815
17170 msgid ""
17171 "This command is only needed because of C<resize2fs> (q.v.).  Normally you "
17172 "should use C<fsck>."
17173 msgstr ""
17174
17175 # type: =head2
17176 #: ../fish/guestfish-actions.pod:818
17177 msgid "echo-daemon"
17178 msgstr ""
17179
17180 # type: verbatim
17181 #: ../fish/guestfish-actions.pod:820
17182 #, no-wrap
17183 msgid ""
17184 " echo-daemon 'words ...'\n"
17185 "\n"
17186 msgstr ""
17187
17188 # type: textblock
17189 #: ../fish/guestfish-actions.pod:827
17190 msgid "See also C<ping-daemon>."
17191 msgstr ""
17192
17193 # type: =head2
17194 #: ../fish/guestfish-actions.pod:829
17195 msgid "egrep"
17196 msgstr ""
17197
17198 # type: verbatim
17199 #: ../fish/guestfish-actions.pod:831
17200 #, no-wrap
17201 msgid ""
17202 " egrep regex path\n"
17203 "\n"
17204 msgstr ""
17205
17206 # type: =head2
17207 #: ../fish/guestfish-actions.pod:839
17208 msgid "egrepi"
17209 msgstr ""
17210
17211 # type: verbatim
17212 #: ../fish/guestfish-actions.pod:841
17213 #, no-wrap
17214 msgid ""
17215 " egrepi regex path\n"
17216 "\n"
17217 msgstr ""
17218
17219 # type: =head2
17220 #: ../fish/guestfish-actions.pod:849
17221 msgid "equal"
17222 msgstr ""
17223
17224 # type: verbatim
17225 #: ../fish/guestfish-actions.pod:851
17226 #, no-wrap
17227 msgid ""
17228 " equal file1 file2\n"
17229 "\n"
17230 msgstr ""
17231
17232 # type: =head2
17233 #: ../fish/guestfish-actions.pod:858
17234 msgid "exists"
17235 msgstr ""
17236
17237 # type: verbatim
17238 #: ../fish/guestfish-actions.pod:860
17239 #, no-wrap
17240 msgid ""
17241 " exists path\n"
17242 "\n"
17243 msgstr ""
17244
17245 # type: textblock
17246 #: ../fish/guestfish-actions.pod:865
17247 msgid "See also C<is-file>, C<is-dir>, C<stat>."
17248 msgstr ""
17249
17250 # type: =head2
17251 #: ../fish/guestfish-actions.pod:867
17252 msgid "fallocate"
17253 msgstr ""
17254
17255 # type: verbatim
17256 #: ../fish/guestfish-actions.pod:869
17257 #, no-wrap
17258 msgid ""
17259 " fallocate path len\n"
17260 "\n"
17261 msgstr ""
17262
17263 # type: =head2
17264 #: ../fish/guestfish-actions.pod:886
17265 msgid "fallocate64"
17266 msgstr ""
17267
17268 # type: verbatim
17269 #: ../fish/guestfish-actions.pod:888
17270 #, no-wrap
17271 msgid ""
17272 " fallocate64 path len\n"
17273 "\n"
17274 msgstr ""
17275
17276 # type: textblock
17277 #: ../fish/guestfish-actions.pod:894
17278 msgid ""
17279 "Note that this call allocates disk blocks for the file.  To create a sparse "
17280 "file use C<truncate-size> instead."
17281 msgstr ""
17282
17283 # type: textblock
17284 #: ../fish/guestfish-actions.pod:897
17285 msgid ""
17286 "The deprecated call C<fallocate> does the same, but owing to an oversight it "
17287 "only allowed 30 bit lengths to be specified, effectively limiting the "
17288 "maximum size of files created through that call to 1GB."
17289 msgstr ""
17290
17291 # type: =head2
17292 #: ../fish/guestfish-actions.pod:906
17293 msgid "fgrep"
17294 msgstr ""
17295
17296 # type: verbatim
17297 #: ../fish/guestfish-actions.pod:908
17298 #, no-wrap
17299 msgid ""
17300 " fgrep pattern path\n"
17301 "\n"
17302 msgstr ""
17303
17304 # type: =head2
17305 #: ../fish/guestfish-actions.pod:916
17306 msgid "fgrepi"
17307 msgstr ""
17308
17309 # type: verbatim
17310 #: ../fish/guestfish-actions.pod:918
17311 #, no-wrap
17312 msgid ""
17313 " fgrepi pattern path\n"
17314 "\n"
17315 msgstr ""
17316
17317 # type: =head2
17318 #: ../fish/guestfish-actions.pod:926
17319 msgid "file"
17320 msgstr ""
17321
17322 # type: verbatim
17323 #: ../fish/guestfish-actions.pod:928
17324 #, no-wrap
17325 msgid ""
17326 " file path\n"
17327 "\n"
17328 msgstr ""
17329
17330 # type: textblock
17331 #: ../fish/guestfish-actions.pod:940
17332 msgid ""
17333 "This command can also be used on C</dev/> devices (and partitions, LV "
17334 "names).  You can for example use this to determine if a device contains a "
17335 "filesystem, although it's usually better to use C<vfs-type>."
17336 msgstr ""
17337
17338 # type: =head2
17339 #: ../fish/guestfish-actions.pod:950
17340 msgid "file-architecture"
17341 msgstr ""
17342
17343 # type: verbatim
17344 #: ../fish/guestfish-actions.pod:952
17345 #, no-wrap
17346 msgid ""
17347 " file-architecture filename\n"
17348 "\n"
17349 msgstr ""
17350
17351 # type: =head2
17352 #: ../fish/guestfish-actions.pod:1055
17353 msgid "filesize"
17354 msgstr ""
17355
17356 # type: verbatim
17357 #: ../fish/guestfish-actions.pod:1057
17358 #, no-wrap
17359 msgid ""
17360 " filesize file\n"
17361 "\n"
17362 msgstr ""
17363
17364 # type: textblock
17365 #: ../fish/guestfish-actions.pod:1061
17366 msgid ""
17367 "To get other stats about a file, use C<stat>, C<lstat>, C<is-dir>, "
17368 "C<is-file> etc.  To get the size of block devices, use "
17369 "C<blockdev-getsize64>."
17370 msgstr ""
17371
17372 # type: =head2
17373 #: ../fish/guestfish-actions.pod:1065
17374 msgid "fill"
17375 msgstr ""
17376
17377 # type: verbatim
17378 #: ../fish/guestfish-actions.pod:1067
17379 #, no-wrap
17380 msgid ""
17381 " fill c len path\n"
17382 "\n"
17383 msgstr ""
17384
17385 # type: textblock
17386 #: ../fish/guestfish-actions.pod:1073
17387 msgid ""
17388 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
17389 "C<truncate-size>.  To create a file with a pattern of repeating bytes use "
17390 "C<fill-pattern>."
17391 msgstr ""
17392
17393 # type: =head2
17394 #: ../fish/guestfish-actions.pod:1078
17395 msgid "fill-pattern"
17396 msgstr ""
17397
17398 # type: verbatim
17399 #: ../fish/guestfish-actions.pod:1080
17400 #, no-wrap
17401 msgid ""
17402 " fill-pattern pattern len path\n"
17403 "\n"
17404 msgstr ""
17405
17406 # type: textblock
17407 #: ../fish/guestfish-actions.pod:1082
17408 msgid ""
17409 "This function is like C<fill> except that it creates a new file of length "
17410 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
17411 "is truncated if necessary to ensure the length of the file is exactly C<len> "
17412 "bytes."
17413 msgstr ""
17414
17415 # type: =head2
17416 #: ../fish/guestfish-actions.pod:1087
17417 msgid "find"
17418 msgstr ""
17419
17420 # type: verbatim
17421 #: ../fish/guestfish-actions.pod:1089
17422 #, no-wrap
17423 msgid ""
17424 " find directory\n"
17425 "\n"
17426 msgstr ""
17427
17428 # type: textblock
17429 #: ../fish/guestfish-actions.pod:1103
17430 msgid "then the returned list from C<find> C</tmp> would be 4 elements:"
17431 msgstr ""
17432
17433 # type: textblock
17434 #: ../fish/guestfish-actions.pod:1116
17435 msgid "See also C<find0>."
17436 msgstr ""
17437
17438 # type: =head2
17439 #: ../fish/guestfish-actions.pod:1121
17440 msgid "find0"
17441 msgstr ""
17442
17443 # type: verbatim
17444 #: ../fish/guestfish-actions.pod:1123
17445 #, no-wrap
17446 msgid ""
17447 " find0 directory (files|-)\n"
17448 "\n"
17449 msgstr ""
17450
17451 # type: textblock
17452 #: ../fish/guestfish-actions.pod:1129
17453 msgid "This command works the same way as C<find> with the following exceptions:"
17454 msgstr ""
17455
17456 # type: =head2
17457 #: ../fish/guestfish-actions.pod:1156
17458 msgid "findfs-label"
17459 msgstr ""
17460
17461 # type: verbatim
17462 #: ../fish/guestfish-actions.pod:1158
17463 #, no-wrap
17464 msgid ""
17465 " findfs-label label\n"
17466 "\n"
17467 msgstr ""
17468
17469 # type: textblock
17470 #: ../fish/guestfish-actions.pod:1164
17471 msgid "To find the label of a filesystem, use C<vfs-label>."
17472 msgstr ""
17473
17474 # type: =head2
17475 #: ../fish/guestfish-actions.pod:1166
17476 msgid "findfs-uuid"
17477 msgstr ""
17478
17479 # type: verbatim
17480 #: ../fish/guestfish-actions.pod:1168
17481 #, no-wrap
17482 msgid ""
17483 " findfs-uuid uuid\n"
17484 "\n"
17485 msgstr ""
17486
17487 # type: textblock
17488 #: ../fish/guestfish-actions.pod:1174
17489 msgid "To find the UUID of a filesystem, use C<vfs-uuid>."
17490 msgstr ""
17491
17492 # type: =head2
17493 #: ../fish/guestfish-actions.pod:1176
17494 msgid "fsck"
17495 msgstr ""
17496
17497 # type: verbatim
17498 #: ../fish/guestfish-actions.pod:1178
17499 #, no-wrap
17500 msgid ""
17501 " fsck fstype device\n"
17502 "\n"
17503 msgstr ""
17504
17505 # type: =head2
17506 #: ../fish/guestfish-actions.pod:1208
17507 msgid "get-append"
17508 msgstr ""
17509
17510 # type: verbatim
17511 #: ../fish/guestfish-actions.pod:1210
17512 #, no-wrap
17513 msgid ""
17514 " get-append\n"
17515 "\n"
17516 msgstr ""
17517
17518 # type: =head2
17519 #: ../fish/guestfish-actions.pod:1217
17520 msgid "get-autosync"
17521 msgstr ""
17522
17523 # type: verbatim
17524 #: ../fish/guestfish-actions.pod:1219
17525 #, no-wrap
17526 msgid ""
17527 " get-autosync\n"
17528 "\n"
17529 msgstr ""
17530
17531 # type: =head2
17532 #: ../fish/guestfish-actions.pod:1223
17533 msgid "get-direct"
17534 msgstr ""
17535
17536 # type: verbatim
17537 #: ../fish/guestfish-actions.pod:1225
17538 #, no-wrap
17539 msgid ""
17540 " get-direct\n"
17541 "\n"
17542 msgstr ""
17543
17544 # type: =head2
17545 #: ../fish/guestfish-actions.pod:1229
17546 msgid "get-e2label"
17547 msgstr ""
17548
17549 # type: verbatim
17550 #: ../fish/guestfish-actions.pod:1231
17551 #, no-wrap
17552 msgid ""
17553 " get-e2label device\n"
17554 "\n"
17555 msgstr ""
17556
17557 # type: =head2
17558 #: ../fish/guestfish-actions.pod:1243
17559 msgid "get-e2uuid"
17560 msgstr ""
17561
17562 # type: verbatim
17563 #: ../fish/guestfish-actions.pod:1245
17564 #, no-wrap
17565 msgid ""
17566 " get-e2uuid device\n"
17567 "\n"
17568 msgstr ""
17569
17570 # type: =head2
17571 #: ../fish/guestfish-actions.pod:1257
17572 msgid "get-memsize"
17573 msgstr ""
17574
17575 # type: verbatim
17576 #: ../fish/guestfish-actions.pod:1259
17577 #, no-wrap
17578 msgid ""
17579 " get-memsize\n"
17580 "\n"
17581 msgstr ""
17582
17583 # type: textblock
17584 #: ../fish/guestfish-actions.pod:1264
17585 msgid ""
17586 "If C<set-memsize> was not called on this handle, and if "
17587 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
17588 "value for memsize."
17589 msgstr ""
17590
17591 # type: =head2
17592 #: ../fish/guestfish-actions.pod:1271
17593 msgid "get-network"
17594 msgstr ""
17595
17596 # type: verbatim
17597 #: ../fish/guestfish-actions.pod:1273
17598 #, no-wrap
17599 msgid ""
17600 " get-network\n"
17601 "\n"
17602 msgstr ""
17603
17604 # type: =head2
17605 #: ../fish/guestfish-actions.pod:1277
17606 msgid "get-path"
17607 msgstr ""
17608
17609 # type: verbatim
17610 #: ../fish/guestfish-actions.pod:1279
17611 #, no-wrap
17612 msgid ""
17613 " get-path\n"
17614 "\n"
17615 msgstr ""
17616
17617 # type: =head2
17618 #: ../fish/guestfish-actions.pod:1286
17619 msgid "get-pid | pid"
17620 msgstr ""
17621
17622 # type: verbatim
17623 #: ../fish/guestfish-actions.pod:1288
17624 #, no-wrap
17625 msgid ""
17626 " get-pid\n"
17627 "\n"
17628 msgstr ""
17629
17630 # type: =head2
17631 #: ../fish/guestfish-actions.pod:1295
17632 msgid "get-qemu"
17633 msgstr ""
17634
17635 # type: verbatim
17636 #: ../fish/guestfish-actions.pod:1297
17637 #, no-wrap
17638 msgid ""
17639 " get-qemu\n"
17640 "\n"
17641 msgstr ""
17642
17643 # type: =head2
17644 #: ../fish/guestfish-actions.pod:1304
17645 msgid "get-recovery-proc"
17646 msgstr ""
17647
17648 # type: verbatim
17649 #: ../fish/guestfish-actions.pod:1306
17650 #, no-wrap
17651 msgid ""
17652 " get-recovery-proc\n"
17653 "\n"
17654 msgstr ""
17655
17656 # type: =head2
17657 #: ../fish/guestfish-actions.pod:1310
17658 msgid "get-selinux"
17659 msgstr ""
17660
17661 # type: verbatim
17662 #: ../fish/guestfish-actions.pod:1312
17663 #, no-wrap
17664 msgid ""
17665 " get-selinux\n"
17666 "\n"
17667 msgstr ""
17668
17669 # type: textblock
17670 #: ../fish/guestfish-actions.pod:1314
17671 msgid ""
17672 "This returns the current setting of the selinux flag which is passed to the "
17673 "appliance at boot time.  See C<set-selinux>."
17674 msgstr ""
17675
17676 # type: =head2
17677 #: ../fish/guestfish-actions.pod:1320
17678 msgid "get-state"
17679 msgstr ""
17680
17681 # type: verbatim
17682 #: ../fish/guestfish-actions.pod:1322
17683 #, no-wrap
17684 msgid ""
17685 " get-state\n"
17686 "\n"
17687 msgstr ""
17688
17689 # type: =head2
17690 #: ../fish/guestfish-actions.pod:1329
17691 msgid "get-trace"
17692 msgstr ""
17693
17694 # type: verbatim
17695 #: ../fish/guestfish-actions.pod:1331
17696 #, no-wrap
17697 msgid ""
17698 " get-trace\n"
17699 "\n"
17700 msgstr ""
17701
17702 # type: =head2
17703 #: ../fish/guestfish-actions.pod:1335
17704 msgid "get-umask"
17705 msgstr ""
17706
17707 # type: verbatim
17708 #: ../fish/guestfish-actions.pod:1337
17709 #, no-wrap
17710 msgid ""
17711 " get-umask\n"
17712 "\n"
17713 msgstr ""
17714
17715 # type: textblock
17716 #: ../fish/guestfish-actions.pod:1339
17717 msgid ""
17718 "Return the current umask.  By default the umask is C<022> unless it has been "
17719 "set by calling C<umask>."
17720 msgstr ""
17721
17722 # type: =head2
17723 #: ../fish/guestfish-actions.pod:1342
17724 msgid "get-verbose"
17725 msgstr ""
17726
17727 # type: verbatim
17728 #: ../fish/guestfish-actions.pod:1344
17729 #, no-wrap
17730 msgid ""
17731 " get-verbose\n"
17732 "\n"
17733 msgstr ""
17734
17735 # type: =head2
17736 #: ../fish/guestfish-actions.pod:1348
17737 msgid "getcon"
17738 msgstr ""
17739
17740 # type: verbatim
17741 #: ../fish/guestfish-actions.pod:1350
17742 #, no-wrap
17743 msgid ""
17744 " getcon\n"
17745 "\n"
17746 msgstr ""
17747
17748 # type: textblock
17749 #: ../fish/guestfish-actions.pod:1354
17750 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<setcon>"
17751 msgstr ""
17752
17753 # type: =head2
17754 #: ../fish/guestfish-actions.pod:1357
17755 msgid "getxattrs"
17756 msgstr ""
17757
17758 # type: verbatim
17759 #: ../fish/guestfish-actions.pod:1359
17760 #, no-wrap
17761 msgid ""
17762 " getxattrs path\n"
17763 "\n"
17764 msgstr ""
17765
17766 # type: textblock
17767 #: ../fish/guestfish-actions.pod:1367
17768 msgid "See also: C<lgetxattrs>, L<attr(5)>."
17769 msgstr ""
17770
17771 # type: =head2
17772 #: ../fish/guestfish-actions.pod:1369
17773 msgid "glob-expand"
17774 msgstr ""
17775
17776 # type: verbatim
17777 #: ../fish/guestfish-actions.pod:1371
17778 #, no-wrap
17779 msgid ""
17780 " glob-expand pattern\n"
17781 "\n"
17782 msgstr ""
17783
17784 # type: =head2
17785 #: ../fish/guestfish-actions.pod:1384
17786 msgid "grep"
17787 msgstr ""
17788
17789 # type: verbatim
17790 #: ../fish/guestfish-actions.pod:1386
17791 #, no-wrap
17792 msgid ""
17793 " grep regex path\n"
17794 "\n"
17795 msgstr ""
17796
17797 # type: =head2
17798 #: ../fish/guestfish-actions.pod:1394
17799 msgid "grepi"
17800 msgstr ""
17801
17802 # type: verbatim
17803 #: ../fish/guestfish-actions.pod:1396
17804 #, no-wrap
17805 msgid ""
17806 " grepi regex path\n"
17807 "\n"
17808 msgstr ""
17809
17810 # type: =head2
17811 #: ../fish/guestfish-actions.pod:1404
17812 msgid "grub-install"
17813 msgstr ""
17814
17815 # type: verbatim
17816 #: ../fish/guestfish-actions.pod:1406
17817 #, no-wrap
17818 msgid ""
17819 " grub-install root device\n"
17820 "\n"
17821 msgstr ""
17822
17823 # type: =head2
17824 #: ../fish/guestfish-actions.pod:1422
17825 msgid "head"
17826 msgstr ""
17827
17828 # type: verbatim
17829 #: ../fish/guestfish-actions.pod:1424
17830 #, no-wrap
17831 msgid ""
17832 " head path\n"
17833 "\n"
17834 msgstr ""
17835
17836 # type: =head2
17837 #: ../fish/guestfish-actions.pod:1432
17838 msgid "head-n"
17839 msgstr ""
17840
17841 # type: verbatim
17842 #: ../fish/guestfish-actions.pod:1434
17843 #, no-wrap
17844 msgid ""
17845 " head-n nrlines path\n"
17846 "\n"
17847 msgstr ""
17848
17849 # type: =head2
17850 #: ../fish/guestfish-actions.pod:1447
17851 msgid "hexdump"
17852 msgstr ""
17853
17854 # type: verbatim
17855 #: ../fish/guestfish-actions.pod:1449
17856 #, no-wrap
17857 msgid ""
17858 " hexdump path\n"
17859 "\n"
17860 msgstr ""
17861
17862 # type: =head2
17863 #: ../fish/guestfish-actions.pod:1457
17864 msgid "initrd-cat"
17865 msgstr ""
17866
17867 # type: verbatim
17868 #: ../fish/guestfish-actions.pod:1459
17869 #, no-wrap
17870 msgid ""
17871 " initrd-cat initrdpath filename\n"
17872 "\n"
17873 msgstr ""
17874
17875 # type: textblock
17876 #: ../fish/guestfish-actions.pod:1471
17877 msgid "See also C<initrd-list>."
17878 msgstr ""
17879
17880 # type: =head2
17881 #: ../fish/guestfish-actions.pod:1476
17882 msgid "initrd-list"
17883 msgstr ""
17884
17885 # type: verbatim
17886 #: ../fish/guestfish-actions.pod:1478
17887 #, no-wrap
17888 msgid ""
17889 " initrd-list path\n"
17890 "\n"
17891 msgstr ""
17892
17893 # type: =head2
17894 #: ../fish/guestfish-actions.pod:1490
17895 msgid "inotify-add-watch"
17896 msgstr ""
17897
17898 # type: verbatim
17899 #: ../fish/guestfish-actions.pod:1492
17900 #, no-wrap
17901 msgid ""
17902 " inotify-add-watch path mask\n"
17903 "\n"
17904 msgstr ""
17905
17906 # type: =head2
17907 #: ../fish/guestfish-actions.pod:1504
17908 msgid "inotify-close"
17909 msgstr ""
17910
17911 # type: verbatim
17912 #: ../fish/guestfish-actions.pod:1506
17913 #, no-wrap
17914 msgid ""
17915 " inotify-close\n"
17916 "\n"
17917 msgstr ""
17918
17919 # type: =head2
17920 #: ../fish/guestfish-actions.pod:1512
17921 msgid "inotify-files"
17922 msgstr ""
17923
17924 # type: verbatim
17925 #: ../fish/guestfish-actions.pod:1514
17926 #, no-wrap
17927 msgid ""
17928 " inotify-files\n"
17929 "\n"
17930 msgstr ""
17931
17932 # type: textblock
17933 #: ../fish/guestfish-actions.pod:1516
17934 msgid ""
17935 "This function is a helpful wrapper around C<inotify-read> which just returns "
17936 "a list of pathnames of objects that were touched.  The returned pathnames "
17937 "are sorted and deduplicated."
17938 msgstr ""
17939
17940 # type: =head2
17941 #: ../fish/guestfish-actions.pod:1520
17942 msgid "inotify-init"
17943 msgstr ""
17944
17945 # type: verbatim
17946 #: ../fish/guestfish-actions.pod:1522
17947 #, no-wrap
17948 msgid ""
17949 " inotify-init maxevents\n"
17950 "\n"
17951 msgstr ""
17952
17953 # type: textblock
17954 #: ../fish/guestfish-actions.pod:1528
17955 msgid ""
17956 "C<maxevents> is the maximum number of events which will be queued up between "
17957 "calls to C<inotify-read> or C<inotify-files>.  If this is passed as C<0>, "
17958 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
17959 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
17960 "but records the fact that it threw them away by setting a flag "
17961 "C<IN_Q_OVERFLOW> in the returned structure list (see C<inotify-read>)."
17962 msgstr ""
17963
17964 # type: textblock
17965 #: ../fish/guestfish-actions.pod:1538
17966 msgid ""
17967 "Before any events are generated, you have to add some watches to the "
17968 "internal watch list.  See: C<inotify-add-watch>, C<inotify-rm-watch> and "
17969 "C<inotify-watch-all>."
17970 msgstr ""
17971
17972 # type: textblock
17973 #: ../fish/guestfish-actions.pod:1544
17974 msgid ""
17975 "Queued up events should be read periodically by calling C<inotify-read> (or "
17976 "C<inotify-files> which is just a helpful wrapper around C<inotify-read>).  "
17977 "If you don't read the events out often enough then you risk the internal "
17978 "queue overflowing."
17979 msgstr ""
17980
17981 # type: textblock
17982 #: ../fish/guestfish-actions.pod:1551
17983 msgid ""
17984 "The handle should be closed after use by calling C<inotify-close>.  This "
17985 "also removes any watches automatically."
17986 msgstr ""
17987
17988 # type: =head2
17989 #: ../fish/guestfish-actions.pod:1560
17990 msgid "inotify-read"
17991 msgstr ""
17992
17993 # type: verbatim
17994 #: ../fish/guestfish-actions.pod:1562
17995 #, no-wrap
17996 msgid ""
17997 " inotify-read\n"
17998 "\n"
17999 msgstr ""
18000
18001 # type: =head2
18002 #: ../fish/guestfish-actions.pod:1575
18003 msgid "inotify-rm-watch"
18004 msgstr ""
18005
18006 # type: verbatim
18007 #: ../fish/guestfish-actions.pod:1577
18008 #, no-wrap
18009 msgid ""
18010 " inotify-rm-watch wd\n"
18011 "\n"
18012 msgstr ""
18013
18014 # type: textblock
18015 #: ../fish/guestfish-actions.pod:1579
18016 msgid "Remove a previously defined inotify watch.  See C<inotify-add-watch>."
18017 msgstr ""
18018
18019 # type: =head2
18020 #: ../fish/guestfish-actions.pod:1582
18021 msgid "inspect-get-arch"
18022 msgstr ""
18023
18024 # type: verbatim
18025 #: ../fish/guestfish-actions.pod:1584
18026 #, no-wrap
18027 msgid ""
18028 " inspect-get-arch root\n"
18029 "\n"
18030 msgstr ""
18031
18032 # type: textblock
18033 #: ../fish/guestfish-actions.pod:1586 ../fish/guestfish-actions.pod:1602 ../fish/guestfish-actions.pod:1648 ../fish/guestfish-actions.pod:1666 ../fish/guestfish-actions.pod:1687 ../fish/guestfish-actions.pod:1702 ../fish/guestfish-actions.pod:1725 ../fish/guestfish-actions.pod:1742
18034 msgid ""
18035 "This function should only be called with a root device string as returned by "
18036 "C<inspect-os>."
18037 msgstr ""
18038
18039 # type: textblock
18040 #: ../fish/guestfish-actions.pod:1589
18041 msgid ""
18042 "This returns the architecture of the inspected operating system.  The "
18043 "possible return values are listed under C<file-architecture>."
18044 msgstr ""
18045
18046 # type: =head2
18047 #: ../fish/guestfish-actions.pod:1598
18048 msgid "inspect-get-distro"
18049 msgstr ""
18050
18051 # type: verbatim
18052 #: ../fish/guestfish-actions.pod:1600
18053 #, no-wrap
18054 msgid ""
18055 " inspect-get-distro root\n"
18056 "\n"
18057 msgstr ""
18058
18059 # type: =head2
18060 #: ../fish/guestfish-actions.pod:1644
18061 msgid "inspect-get-filesystems"
18062 msgstr ""
18063
18064 # type: verbatim
18065 #: ../fish/guestfish-actions.pod:1646
18066 #, no-wrap
18067 msgid ""
18068 " inspect-get-filesystems root\n"
18069 "\n"
18070 msgstr ""
18071
18072 # type: textblock
18073 #: ../fish/guestfish-actions.pod:1659
18074 msgid ""
18075 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18076 "C<inspect-get-mountpoints>."
18077 msgstr ""
18078
18079 # type: =head2
18080 #: ../fish/guestfish-actions.pod:1662
18081 msgid "inspect-get-major-version"
18082 msgstr ""
18083
18084 # type: verbatim
18085 #: ../fish/guestfish-actions.pod:1664
18086 #, no-wrap
18087 msgid ""
18088 " inspect-get-major-version root\n"
18089 "\n"
18090 msgstr ""
18091
18092 # type: =head2
18093 #: ../fish/guestfish-actions.pod:1683
18094 msgid "inspect-get-minor-version"
18095 msgstr ""
18096
18097 # type: verbatim
18098 #: ../fish/guestfish-actions.pod:1685
18099 #, no-wrap
18100 msgid ""
18101 " inspect-get-minor-version root\n"
18102 "\n"
18103 msgstr ""
18104
18105 # type: textblock
18106 #: ../fish/guestfish-actions.pod:1695
18107 msgid ""
18108 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18109 "C<inspect-get-major-version>."
18110 msgstr ""
18111
18112 # type: =head2
18113 #: ../fish/guestfish-actions.pod:1698
18114 msgid "inspect-get-mountpoints"
18115 msgstr ""
18116
18117 # type: verbatim
18118 #: ../fish/guestfish-actions.pod:1700
18119 #, no-wrap
18120 msgid ""
18121 " inspect-get-mountpoints root\n"
18122 "\n"
18123 msgstr ""
18124
18125 # type: textblock
18126 #: ../fish/guestfish-actions.pod:1718
18127 msgid ""
18128 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18129 "C<inspect-get-filesystems>."
18130 msgstr ""
18131
18132 # type: =head2
18133 #: ../fish/guestfish-actions.pod:1721
18134 msgid "inspect-get-product-name"
18135 msgstr ""
18136
18137 # type: verbatim
18138 #: ../fish/guestfish-actions.pod:1723
18139 #, no-wrap
18140 msgid ""
18141 " inspect-get-product-name root\n"
18142 "\n"
18143 msgstr ""
18144
18145 # type: =head2
18146 #: ../fish/guestfish-actions.pod:1738
18147 msgid "inspect-get-type"
18148 msgstr ""
18149
18150 # type: verbatim
18151 #: ../fish/guestfish-actions.pod:1740
18152 #, no-wrap
18153 msgid ""
18154 " inspect-get-type root\n"
18155 "\n"
18156 msgstr ""
18157
18158 # type: =head2
18159 #: ../fish/guestfish-actions.pod:1769
18160 msgid "inspect-os"
18161 msgstr ""
18162
18163 # type: verbatim
18164 #: ../fish/guestfish-actions.pod:1771
18165 #, no-wrap
18166 msgid ""
18167 " inspect-os\n"
18168 "\n"
18169 msgstr ""
18170
18171 # type: textblock
18172 #: ../fish/guestfish-actions.pod:1786
18173 msgid ""
18174 "You can pass the root string(s) returned to other C<inspect-get-*> functions "
18175 "in order to query further information about each operating system, such as "
18176 "the name and version."
18177 msgstr ""
18178
18179 # type: textblock
18180 #: ../fish/guestfish-actions.pod:1791
18181 msgid ""
18182 "This function uses other libguestfs features such as C<mount-ro> and "
18183 "C<umount-all> in order to mount and unmount filesystems and look at the "
18184 "contents.  This should be called with no disks currently mounted.  The "
18185 "function may also use Augeas, so any existing Augeas handle will be closed."
18186 msgstr ""
18187
18188 # type: =head2
18189 #: ../fish/guestfish-actions.pod:1803
18190 msgid "is-busy"
18191 msgstr ""
18192
18193 # type: verbatim
18194 #: ../fish/guestfish-actions.pod:1805
18195 #, no-wrap
18196 msgid ""
18197 " is-busy\n"
18198 "\n"
18199 msgstr ""
18200
18201 # type: =head2
18202 #: ../fish/guestfish-actions.pod:1812
18203 msgid "is-config"
18204 msgstr ""
18205
18206 # type: verbatim
18207 #: ../fish/guestfish-actions.pod:1814
18208 #, no-wrap
18209 msgid ""
18210 " is-config\n"
18211 "\n"
18212 msgstr ""
18213
18214 # type: =head2
18215 #: ../fish/guestfish-actions.pod:1821
18216 msgid "is-dir"
18217 msgstr ""
18218
18219 # type: verbatim
18220 #: ../fish/guestfish-actions.pod:1823
18221 #, no-wrap
18222 msgid ""
18223 " is-dir path\n"
18224 "\n"
18225 msgstr ""
18226
18227 # type: textblock
18228 #: ../fish/guestfish-actions.pod:1829 ../fish/guestfish-actions.pod:1839
18229 msgid "See also C<stat>."
18230 msgstr ""
18231
18232 # type: =head2
18233 #: ../fish/guestfish-actions.pod:1831
18234 msgid "is-file"
18235 msgstr ""
18236
18237 # type: verbatim
18238 #: ../fish/guestfish-actions.pod:1833
18239 #, no-wrap
18240 msgid ""
18241 " is-file path\n"
18242 "\n"
18243 msgstr ""
18244
18245 # type: =head2
18246 #: ../fish/guestfish-actions.pod:1841
18247 msgid "is-launching"
18248 msgstr ""
18249
18250 # type: verbatim
18251 #: ../fish/guestfish-actions.pod:1843
18252 #, no-wrap
18253 msgid ""
18254 " is-launching\n"
18255 "\n"
18256 msgstr ""
18257
18258 # type: =head2
18259 #: ../fish/guestfish-actions.pod:1850
18260 msgid "is-lv"
18261 msgstr ""
18262
18263 # type: verbatim
18264 #: ../fish/guestfish-actions.pod:1852
18265 #, no-wrap
18266 msgid ""
18267 " is-lv device\n"
18268 "\n"
18269 msgstr ""
18270
18271 # type: =head2
18272 #: ../fish/guestfish-actions.pod:1857
18273 msgid "is-ready"
18274 msgstr ""
18275
18276 # type: verbatim
18277 #: ../fish/guestfish-actions.pod:1859
18278 #, no-wrap
18279 msgid ""
18280 " is-ready\n"
18281 "\n"
18282 msgstr ""
18283
18284 # type: =head2
18285 #: ../fish/guestfish-actions.pod:1866
18286 msgid "kill-subprocess"
18287 msgstr ""
18288
18289 # type: verbatim
18290 #: ../fish/guestfish-actions.pod:1868
18291 #, no-wrap
18292 msgid ""
18293 " kill-subprocess\n"
18294 "\n"
18295 msgstr ""
18296
18297 # type: =head2
18298 #: ../fish/guestfish-actions.pod:1872
18299 msgid "launch | run"
18300 msgstr ""
18301
18302 # type: verbatim
18303 #: ../fish/guestfish-actions.pod:1874
18304 #, no-wrap
18305 msgid ""
18306 " launch\n"
18307 "\n"
18308 msgstr ""
18309
18310 # type: =head2
18311 #: ../fish/guestfish-actions.pod:1882
18312 msgid "lchown"
18313 msgstr ""
18314
18315 # type: verbatim
18316 #: ../fish/guestfish-actions.pod:1884
18317 #, no-wrap
18318 msgid ""
18319 " lchown owner group path\n"
18320 "\n"
18321 msgstr ""
18322
18323 # type: textblock
18324 #: ../fish/guestfish-actions.pod:1886
18325 msgid ""
18326 "Change the file owner to C<owner> and group to C<group>.  This is like "
18327 "C<chown> but if C<path> is a symlink then the link itself is changed, not "
18328 "the target."
18329 msgstr ""
18330
18331 # type: =head2
18332 #: ../fish/guestfish-actions.pod:1894
18333 msgid "lgetxattrs"
18334 msgstr ""
18335
18336 # type: verbatim
18337 #: ../fish/guestfish-actions.pod:1896
18338 #, no-wrap
18339 msgid ""
18340 " lgetxattrs path\n"
18341 "\n"
18342 msgstr ""
18343
18344 # type: textblock
18345 #: ../fish/guestfish-actions.pod:1898
18346 msgid ""
18347 "This is the same as C<getxattrs>, but if C<path> is a symbolic link, then it "
18348 "returns the extended attributes of the link itself."
18349 msgstr ""
18350
18351 # type: =head2
18352 #: ../fish/guestfish-actions.pod:1902
18353 msgid "list-devices"
18354 msgstr ""
18355
18356 # type: verbatim
18357 #: ../fish/guestfish-actions.pod:1904
18358 #, no-wrap
18359 msgid ""
18360 " list-devices\n"
18361 "\n"
18362 msgstr ""
18363
18364 # type: =head2
18365 #: ../fish/guestfish-actions.pod:1910
18366 msgid "list-partitions"
18367 msgstr ""
18368
18369 # type: verbatim
18370 #: ../fish/guestfish-actions.pod:1912
18371 #, no-wrap
18372 msgid ""
18373 " list-partitions\n"
18374 "\n"
18375 msgstr ""
18376
18377 # type: textblock
18378 #: ../fish/guestfish-actions.pod:1918
18379 msgid ""
18380 "This does not return logical volumes.  For that you will need to call "
18381 "C<lvs>."
18382 msgstr ""
18383
18384 # type: =head2
18385 #: ../fish/guestfish-actions.pod:1921
18386 msgid "ll"
18387 msgstr ""
18388
18389 # type: verbatim
18390 #: ../fish/guestfish-actions.pod:1923
18391 #, no-wrap
18392 msgid ""
18393 " ll directory\n"
18394 "\n"
18395 msgstr ""
18396
18397 # type: =head2
18398 #: ../fish/guestfish-actions.pod:1931
18399 msgid "ln"
18400 msgstr ""
18401
18402 # type: verbatim
18403 #: ../fish/guestfish-actions.pod:1933
18404 #, no-wrap
18405 msgid ""
18406 " ln target linkname\n"
18407 "\n"
18408 msgstr ""
18409
18410 # type: =head2
18411 #: ../fish/guestfish-actions.pod:1937
18412 msgid "ln-f"
18413 msgstr ""
18414
18415 # type: verbatim
18416 #: ../fish/guestfish-actions.pod:1939
18417 #, no-wrap
18418 msgid ""
18419 " ln-f target linkname\n"
18420 "\n"
18421 msgstr ""
18422
18423 # type: =head2
18424 #: ../fish/guestfish-actions.pod:1944
18425 msgid "ln-s"
18426 msgstr ""
18427
18428 # type: verbatim
18429 #: ../fish/guestfish-actions.pod:1946
18430 #, no-wrap
18431 msgid ""
18432 " ln-s target linkname\n"
18433 "\n"
18434 msgstr ""
18435
18436 # type: =head2
18437 #: ../fish/guestfish-actions.pod:1950
18438 msgid "ln-sf"
18439 msgstr ""
18440
18441 # type: verbatim
18442 #: ../fish/guestfish-actions.pod:1952
18443 #, no-wrap
18444 msgid ""
18445 " ln-sf target linkname\n"
18446 "\n"
18447 msgstr ""
18448
18449 # type: =head2
18450 #: ../fish/guestfish-actions.pod:1957
18451 msgid "lremovexattr"
18452 msgstr ""
18453
18454 # type: verbatim
18455 #: ../fish/guestfish-actions.pod:1959
18456 #, no-wrap
18457 msgid ""
18458 " lremovexattr xattr path\n"
18459 "\n"
18460 msgstr ""
18461
18462 # type: textblock
18463 #: ../fish/guestfish-actions.pod:1961
18464 msgid ""
18465 "This is the same as C<removexattr>, but if C<path> is a symbolic link, then "
18466 "it removes an extended attribute of the link itself."
18467 msgstr ""
18468
18469 # type: =head2
18470 #: ../fish/guestfish-actions.pod:1965
18471 msgid "ls"
18472 msgstr ""
18473
18474 # type: verbatim
18475 #: ../fish/guestfish-actions.pod:1967
18476 #, no-wrap
18477 msgid ""
18478 " ls directory\n"
18479 "\n"
18480 msgstr ""
18481
18482 # type: textblock
18483 #: ../fish/guestfish-actions.pod:1973
18484 msgid ""
18485 "This command is mostly useful for interactive sessions.  Programs should "
18486 "probably use C<readdir> instead."
18487 msgstr ""
18488
18489 # type: =head2
18490 #: ../fish/guestfish-actions.pod:1976
18491 msgid "lsetxattr"
18492 msgstr ""
18493
18494 # type: verbatim
18495 #: ../fish/guestfish-actions.pod:1978
18496 #, no-wrap
18497 msgid ""
18498 " lsetxattr xattr val vallen path\n"
18499 "\n"
18500 msgstr ""
18501
18502 # type: textblock
18503 #: ../fish/guestfish-actions.pod:1980
18504 msgid ""
18505 "This is the same as C<setxattr>, but if C<path> is a symbolic link, then it "
18506 "sets an extended attribute of the link itself."
18507 msgstr ""
18508
18509 # type: =head2
18510 #: ../fish/guestfish-actions.pod:1984
18511 msgid "lstat"
18512 msgstr ""
18513
18514 # type: verbatim
18515 #: ../fish/guestfish-actions.pod:1986
18516 #, no-wrap
18517 msgid ""
18518 " lstat path\n"
18519 "\n"
18520 msgstr ""
18521
18522 # type: textblock
18523 #: ../fish/guestfish-actions.pod:1990
18524 msgid ""
18525 "This is the same as C<stat> except that if C<path> is a symbolic link, then "
18526 "the link is stat-ed, not the file it refers to."
18527 msgstr ""
18528
18529 # type: =head2
18530 #: ../fish/guestfish-actions.pod:1996
18531 msgid "lstatlist"
18532 msgstr ""
18533
18534 # type: verbatim
18535 #: ../fish/guestfish-actions.pod:1998
18536 #, no-wrap
18537 msgid ""
18538 " lstatlist path 'names ...'\n"
18539 "\n"
18540 msgstr ""
18541
18542 # type: textblock
18543 #: ../fish/guestfish-actions.pod:2000
18544 msgid ""
18545 "This call allows you to perform the C<lstat> operation on multiple files, "
18546 "where all files are in the directory C<path>.  C<names> is the list of files "
18547 "from this directory."
18548 msgstr ""
18549
18550 # type: textblock
18551 #: ../fish/guestfish-actions.pod:2009
18552 msgid ""
18553 "This call is intended for programs that want to efficiently list a directory "
18554 "contents without making many round-trips.  See also C<lxattrlist> for a "
18555 "similarly efficient call for getting extended attributes.  Very long "
18556 "directory listings might cause the protocol message size to be exceeded, "
18557 "causing this call to fail.  The caller must split up such requests into "
18558 "smaller groups of names."
18559 msgstr ""
18560
18561 # type: =head2
18562 #: ../fish/guestfish-actions.pod:2017
18563 msgid "luks-add-key"
18564 msgstr ""
18565
18566 # type: verbatim
18567 #: ../fish/guestfish-actions.pod:2019
18568 #, no-wrap
18569 msgid ""
18570 " luks-add-key device keyslot\n"
18571 "\n"
18572 msgstr ""
18573
18574 # type: textblock
18575 #: ../fish/guestfish-actions.pod:2026
18576 msgid ""
18577 "Note that if C<keyslot> already contains a key, then this command will "
18578 "fail.  You have to use C<luks-kill-slot> first to remove that key."
18579 msgstr ""
18580
18581 # type: textblock
18582 #: ../fish/guestfish-actions.pod:2030 ../fish/guestfish-actions.pod:2052 ../fish/guestfish-actions.pod:2065 ../fish/guestfish-actions.pod:2079 ../fish/guestfish-actions.pod:2102 ../fish/guestfish-actions.pod:2112
18583 msgid ""
18584 "This command has one or more key or passphrase parameters.  Guestfish will "
18585 "prompt for these separately."
18586 msgstr ""
18587
18588 # type: =head2
18589 #: ../fish/guestfish-actions.pod:2033
18590 msgid "luks-close"
18591 msgstr ""
18592
18593 # type: verbatim
18594 #: ../fish/guestfish-actions.pod:2035
18595 #, no-wrap
18596 msgid ""
18597 " luks-close device\n"
18598 "\n"
18599 msgstr ""
18600
18601 # type: textblock
18602 #: ../fish/guestfish-actions.pod:2037
18603 msgid ""
18604 "This closes a LUKS device that was created earlier by C<luks-open> or "
18605 "C<luks-open-ro>.  The C<device> parameter must be the name of the LUKS "
18606 "mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
18607 "underlying block device."
18608 msgstr ""
18609
18610 # type: =head2
18611 #: ../fish/guestfish-actions.pod:2043
18612 msgid "luks-format"
18613 msgstr ""
18614
18615 # type: verbatim
18616 #: ../fish/guestfish-actions.pod:2045
18617 #, no-wrap
18618 msgid ""
18619 " luks-format device keyslot\n"
18620 "\n"
18621 msgstr ""
18622
18623 # type: =head2
18624 #: ../fish/guestfish-actions.pod:2058
18625 msgid "luks-format-cipher"
18626 msgstr ""
18627
18628 # type: verbatim
18629 #: ../fish/guestfish-actions.pod:2060
18630 #, no-wrap
18631 msgid ""
18632 " luks-format-cipher device keyslot cipher\n"
18633 "\n"
18634 msgstr ""
18635
18636 # type: textblock
18637 #: ../fish/guestfish-actions.pod:2062
18638 msgid ""
18639 "This command is the same as C<luks-format> but it also allows you to set the "
18640 "C<cipher> used."
18641 msgstr ""
18642
18643 # type: =head2
18644 #: ../fish/guestfish-actions.pod:2071
18645 msgid "luks-kill-slot"
18646 msgstr ""
18647
18648 # type: verbatim
18649 #: ../fish/guestfish-actions.pod:2073
18650 #, no-wrap
18651 msgid ""
18652 " luks-kill-slot device keyslot\n"
18653 "\n"
18654 msgstr ""
18655
18656 # type: =head2
18657 #: ../fish/guestfish-actions.pod:2082
18658 msgid "luks-open"
18659 msgstr ""
18660
18661 # type: verbatim
18662 #: ../fish/guestfish-actions.pod:2084
18663 #, no-wrap
18664 msgid ""
18665 " luks-open device mapname\n"
18666 "\n"
18667 msgstr ""
18668
18669 # type: textblock
18670 #: ../fish/guestfish-actions.pod:2098
18671 msgid ""
18672 "If this block device contains LVM volume groups, then calling C<vgscan> "
18673 "followed by C<vg-activate-all> will make them visible."
18674 msgstr ""
18675
18676 # type: =head2
18677 #: ../fish/guestfish-actions.pod:2105
18678 msgid "luks-open-ro"
18679 msgstr ""
18680
18681 # type: verbatim
18682 #: ../fish/guestfish-actions.pod:2107
18683 #, no-wrap
18684 msgid ""
18685 " luks-open-ro device mapname\n"
18686 "\n"
18687 msgstr ""
18688
18689 # type: textblock
18690 #: ../fish/guestfish-actions.pod:2109
18691 msgid "This is the same as C<luks-open> except that a read-only mapping is created."
18692 msgstr ""
18693
18694 # type: =head2
18695 #: ../fish/guestfish-actions.pod:2115
18696 msgid "lvcreate"
18697 msgstr ""
18698
18699 # type: verbatim
18700 #: ../fish/guestfish-actions.pod:2117
18701 #, no-wrap
18702 msgid ""
18703 " lvcreate logvol volgroup mbytes\n"
18704 "\n"
18705 msgstr ""
18706
18707 # type: =head2
18708 #: ../fish/guestfish-actions.pod:2122
18709 msgid "lvm-clear-filter"
18710 msgstr ""
18711
18712 # type: verbatim
18713 #: ../fish/guestfish-actions.pod:2124
18714 #, no-wrap
18715 msgid ""
18716 " lvm-clear-filter\n"
18717 "\n"
18718 msgstr ""
18719
18720 # type: textblock
18721 #: ../fish/guestfish-actions.pod:2126
18722 msgid ""
18723 "This undoes the effect of C<lvm-set-filter>.  LVM will be able to see every "
18724 "block device."
18725 msgstr ""
18726
18727 # type: =head2
18728 #: ../fish/guestfish-actions.pod:2132
18729 msgid "lvm-remove-all"
18730 msgstr ""
18731
18732 # type: verbatim
18733 #: ../fish/guestfish-actions.pod:2134
18734 #, no-wrap
18735 msgid ""
18736 " lvm-remove-all\n"
18737 "\n"
18738 msgstr ""
18739
18740 # type: =head2
18741 #: ../fish/guestfish-actions.pod:2142
18742 msgid "lvm-set-filter"
18743 msgstr ""
18744
18745 # type: verbatim
18746 #: ../fish/guestfish-actions.pod:2144
18747 #, no-wrap
18748 msgid ""
18749 " lvm-set-filter 'devices ...'\n"
18750 "\n"
18751 msgstr ""
18752
18753 # type: =head2
18754 #: ../fish/guestfish-actions.pod:2169
18755 msgid "lvremove"
18756 msgstr ""
18757
18758 # type: verbatim
18759 #: ../fish/guestfish-actions.pod:2171
18760 #, no-wrap
18761 msgid ""
18762 " lvremove device\n"
18763 "\n"
18764 msgstr ""
18765
18766 # type: =head2
18767 #: ../fish/guestfish-actions.pod:2179
18768 msgid "lvrename"
18769 msgstr ""
18770
18771 # type: verbatim
18772 #: ../fish/guestfish-actions.pod:2181
18773 #, no-wrap
18774 msgid ""
18775 " lvrename logvol newlogvol\n"
18776 "\n"
18777 msgstr ""
18778
18779 # type: =head2
18780 #: ../fish/guestfish-actions.pod:2185
18781 msgid "lvresize"
18782 msgstr ""
18783
18784 # type: verbatim
18785 #: ../fish/guestfish-actions.pod:2187
18786 #, no-wrap
18787 msgid ""
18788 " lvresize device mbytes\n"
18789 "\n"
18790 msgstr ""
18791
18792 # type: =head2
18793 #: ../fish/guestfish-actions.pod:2193
18794 msgid "lvresize-free"
18795 msgstr ""
18796
18797 # type: verbatim
18798 #: ../fish/guestfish-actions.pod:2195
18799 #, no-wrap
18800 msgid ""
18801 " lvresize-free lv percent\n"
18802 "\n"
18803 msgstr ""
18804
18805 # type: =head2
18806 #: ../fish/guestfish-actions.pod:2203
18807 msgid "lvs"
18808 msgstr ""
18809
18810 # type: verbatim
18811 #: ../fish/guestfish-actions.pod:2205
18812 #, no-wrap
18813 msgid ""
18814 " lvs\n"
18815 "\n"
18816 msgstr ""
18817
18818 # type: textblock
18819 #: ../fish/guestfish-actions.pod:2213
18820 msgid "See also C<lvs-full>."
18821 msgstr ""
18822
18823 # type: =head2
18824 #: ../fish/guestfish-actions.pod:2215
18825 msgid "lvs-full"
18826 msgstr ""
18827
18828 # type: verbatim
18829 #: ../fish/guestfish-actions.pod:2217
18830 #, no-wrap
18831 msgid ""
18832 " lvs-full\n"
18833 "\n"
18834 msgstr ""
18835
18836 # type: =head2
18837 #: ../fish/guestfish-actions.pod:2222
18838 msgid "lvuuid"
18839 msgstr ""
18840
18841 # type: verbatim
18842 #: ../fish/guestfish-actions.pod:2224
18843 #, no-wrap
18844 msgid ""
18845 " lvuuid device\n"
18846 "\n"
18847 msgstr ""
18848
18849 # type: =head2
18850 #: ../fish/guestfish-actions.pod:2228
18851 msgid "lxattrlist"
18852 msgstr ""
18853
18854 # type: verbatim
18855 #: ../fish/guestfish-actions.pod:2230
18856 #, no-wrap
18857 msgid ""
18858 " lxattrlist path 'names ...'\n"
18859 "\n"
18860 msgstr ""
18861
18862 # type: textblock
18863 #: ../fish/guestfish-actions.pod:2246
18864 msgid ""
18865 "This call is intended for programs that want to efficiently list a directory "
18866 "contents without making many round-trips.  See also C<lstatlist> for a "
18867 "similarly efficient call for getting standard stats.  Very long directory "
18868 "listings might cause the protocol message size to be exceeded, causing this "
18869 "call to fail.  The caller must split up such requests into smaller groups of "
18870 "names."
18871 msgstr ""
18872
18873 # type: =head2
18874 #: ../fish/guestfish-actions.pod:2254
18875 msgid "mkdir"
18876 msgstr ""
18877
18878 # type: verbatim
18879 #: ../fish/guestfish-actions.pod:2256
18880 #, no-wrap
18881 msgid ""
18882 " mkdir path\n"
18883 "\n"
18884 msgstr ""
18885
18886 # type: =head2
18887 #: ../fish/guestfish-actions.pod:2260
18888 msgid "mkdir-mode"
18889 msgstr ""
18890
18891 # type: verbatim
18892 #: ../fish/guestfish-actions.pod:2262
18893 #, no-wrap
18894 msgid ""
18895 " mkdir-mode path mode\n"
18896 "\n"
18897 msgstr ""
18898
18899 # type: textblock
18900 #: ../fish/guestfish-actions.pod:2271
18901 msgid "See also C<mkdir>, C<umask>"
18902 msgstr ""
18903
18904 # type: =head2
18905 #: ../fish/guestfish-actions.pod:2273
18906 msgid "mkdir-p"
18907 msgstr ""
18908
18909 # type: verbatim
18910 #: ../fish/guestfish-actions.pod:2275
18911 #, no-wrap
18912 msgid ""
18913 " mkdir-p path\n"
18914 "\n"
18915 msgstr ""
18916
18917 # type: =head2
18918 #: ../fish/guestfish-actions.pod:2280
18919 msgid "mkdtemp"
18920 msgstr ""
18921
18922 # type: verbatim
18923 #: ../fish/guestfish-actions.pod:2282
18924 #, no-wrap
18925 msgid ""
18926 " mkdtemp template\n"
18927 "\n"
18928 msgstr ""
18929
18930 # type: =head2
18931 #: ../fish/guestfish-actions.pod:2303
18932 msgid "mke2fs-J"
18933 msgstr ""
18934
18935 # type: verbatim
18936 #: ../fish/guestfish-actions.pod:2305
18937 #, no-wrap
18938 msgid ""
18939 " mke2fs-J fstype blocksize device journal\n"
18940 "\n"
18941 msgstr ""
18942
18943 # type: textblock
18944 #: ../fish/guestfish-actions.pod:2313
18945 msgid "See also C<mke2journal>."
18946 msgstr ""
18947
18948 # type: =head2
18949 #: ../fish/guestfish-actions.pod:2315
18950 msgid "mke2fs-JL"
18951 msgstr ""
18952
18953 # type: verbatim
18954 #: ../fish/guestfish-actions.pod:2317
18955 #, no-wrap
18956 msgid ""
18957 " mke2fs-JL fstype blocksize device label\n"
18958 "\n"
18959 msgstr ""
18960
18961 # type: textblock
18962 #: ../fish/guestfish-actions.pod:2322
18963 msgid "See also C<mke2journal-L>."
18964 msgstr ""
18965
18966 # type: =head2
18967 #: ../fish/guestfish-actions.pod:2324
18968 msgid "mke2fs-JU"
18969 msgstr ""
18970
18971 # type: verbatim
18972 #: ../fish/guestfish-actions.pod:2326
18973 #, no-wrap
18974 msgid ""
18975 " mke2fs-JU fstype blocksize device uuid\n"
18976 "\n"
18977 msgstr ""
18978
18979 # type: textblock
18980 #: ../fish/guestfish-actions.pod:2331
18981 msgid "See also C<mke2journal-U>."
18982 msgstr ""
18983
18984 # type: =head2
18985 #: ../fish/guestfish-actions.pod:2333
18986 msgid "mke2journal"
18987 msgstr ""
18988
18989 # type: verbatim
18990 #: ../fish/guestfish-actions.pod:2335
18991 #, no-wrap
18992 msgid ""
18993 " mke2journal blocksize device\n"
18994 "\n"
18995 msgstr ""
18996
18997 # type: =head2
18998 #: ../fish/guestfish-actions.pod:2342
18999 msgid "mke2journal-L"
19000 msgstr ""
19001
19002 # type: verbatim
19003 #: ../fish/guestfish-actions.pod:2344
19004 #, no-wrap
19005 msgid ""
19006 " mke2journal-L blocksize label device\n"
19007 "\n"
19008 msgstr ""
19009
19010 # type: =head2
19011 #: ../fish/guestfish-actions.pod:2348
19012 msgid "mke2journal-U"
19013 msgstr ""
19014
19015 # type: verbatim
19016 #: ../fish/guestfish-actions.pod:2350
19017 #, no-wrap
19018 msgid ""
19019 " mke2journal-U blocksize uuid device\n"
19020 "\n"
19021 msgstr ""
19022
19023 # type: =head2
19024 #: ../fish/guestfish-actions.pod:2354
19025 msgid "mkfifo"
19026 msgstr ""
19027
19028 # type: verbatim
19029 #: ../fish/guestfish-actions.pod:2356
19030 #, no-wrap
19031 msgid ""
19032 " mkfifo mode path\n"
19033 "\n"
19034 msgstr ""
19035
19036 # type: textblock
19037 #: ../fish/guestfish-actions.pod:2358
19038 msgid ""
19039 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19040 "is just a convenient wrapper around C<mknod>."
19041 msgstr ""
19042
19043 # type: =head2
19044 #: ../fish/guestfish-actions.pod:2364
19045 msgid "mkfs"
19046 msgstr ""
19047
19048 # type: verbatim
19049 #: ../fish/guestfish-actions.pod:2366
19050 #, no-wrap
19051 msgid ""
19052 " mkfs fstype device\n"
19053 "\n"
19054 msgstr ""
19055
19056 # type: =head2
19057 #: ../fish/guestfish-actions.pod:2372
19058 msgid "mkfs-b"
19059 msgstr ""
19060
19061 # type: verbatim
19062 #: ../fish/guestfish-actions.pod:2374
19063 #, no-wrap
19064 msgid ""
19065 " mkfs-b fstype blocksize device\n"
19066 "\n"
19067 msgstr ""
19068
19069 # type: textblock
19070 #: ../fish/guestfish-actions.pod:2376
19071 msgid ""
19072 "This call is similar to C<mkfs>, but it allows you to control the block size "
19073 "of the resulting filesystem.  Supported block sizes depend on the filesystem "
19074 "type, but typically they are C<1024>, C<2048> or C<4096> only."
19075 msgstr ""
19076
19077 # type: =head2
19078 #: ../fish/guestfish-actions.pod:2384
19079 msgid "mkmountpoint"
19080 msgstr ""
19081
19082 # type: verbatim
19083 #: ../fish/guestfish-actions.pod:2386
19084 #, no-wrap
19085 msgid ""
19086 " mkmountpoint exemptpath\n"
19087 "\n"
19088 msgstr ""
19089
19090 # type: textblock
19091 #: ../fish/guestfish-actions.pod:2388
19092 msgid ""
19093 "C<mkmountpoint> and C<rmmountpoint> are specialized calls that can be used "
19094 "to create extra mountpoints before mounting the first filesystem."
19095 msgstr ""
19096
19097 # type: =head2
19098 #: ../fish/guestfish-actions.pod:2412
19099 msgid "mknod"
19100 msgstr ""
19101
19102 # type: verbatim
19103 #: ../fish/guestfish-actions.pod:2414
19104 #, no-wrap
19105 msgid ""
19106 " mknod mode devmajor devminor path\n"
19107 "\n"
19108 msgstr ""
19109
19110 # type: textblock
19111 #: ../fish/guestfish-actions.pod:2424
19112 msgid ""
19113 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19114 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19115 "regular file).  These constants are available in the standard Linux header "
19116 "files, or you can use C<mknod-b>, C<mknod-c> or C<mkfifo> which are wrappers "
19117 "around this command which bitwise OR in the appropriate constant for you."
19118 msgstr ""
19119
19120 # type: =head2
19121 #: ../fish/guestfish-actions.pod:2434
19122 msgid "mknod-b"
19123 msgstr ""
19124
19125 # type: verbatim
19126 #: ../fish/guestfish-actions.pod:2436
19127 #, no-wrap
19128 msgid ""
19129 " mknod-b mode devmajor devminor path\n"
19130 "\n"
19131 msgstr ""
19132
19133 # type: textblock
19134 #: ../fish/guestfish-actions.pod:2438
19135 msgid ""
19136 "This call creates a block device node called C<path> with mode C<mode> and "
19137 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19138 "wrapper around C<mknod>."
19139 msgstr ""
19140
19141 # type: =head2
19142 #: ../fish/guestfish-actions.pod:2444
19143 msgid "mknod-c"
19144 msgstr ""
19145
19146 # type: verbatim
19147 #: ../fish/guestfish-actions.pod:2446
19148 #, no-wrap
19149 msgid ""
19150 " mknod-c mode devmajor devminor path\n"
19151 "\n"
19152 msgstr ""
19153
19154 # type: textblock
19155 #: ../fish/guestfish-actions.pod:2448
19156 msgid ""
19157 "This call creates a char device node called C<path> with mode C<mode> and "
19158 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19159 "wrapper around C<mknod>."
19160 msgstr ""
19161
19162 # type: =head2
19163 #: ../fish/guestfish-actions.pod:2454
19164 msgid "mkswap"
19165 msgstr ""
19166
19167 # type: verbatim
19168 #: ../fish/guestfish-actions.pod:2456
19169 #, no-wrap
19170 msgid ""
19171 " mkswap device\n"
19172 "\n"
19173 msgstr ""
19174
19175 # type: =head2
19176 #: ../fish/guestfish-actions.pod:2460
19177 msgid "mkswap-L"
19178 msgstr ""
19179
19180 # type: verbatim
19181 #: ../fish/guestfish-actions.pod:2462
19182 #, no-wrap
19183 msgid ""
19184 " mkswap-L label device\n"
19185 "\n"
19186 msgstr ""
19187
19188 # type: =head2
19189 #: ../fish/guestfish-actions.pod:2470
19190 msgid "mkswap-U"
19191 msgstr ""
19192
19193 # type: verbatim
19194 #: ../fish/guestfish-actions.pod:2472
19195 #, no-wrap
19196 msgid ""
19197 " mkswap-U uuid device\n"
19198 "\n"
19199 msgstr ""
19200
19201 # type: =head2
19202 #: ../fish/guestfish-actions.pod:2476
19203 msgid "mkswap-file"
19204 msgstr ""
19205
19206 # type: verbatim
19207 #: ../fish/guestfish-actions.pod:2478
19208 #, no-wrap
19209 msgid ""
19210 " mkswap-file path\n"
19211 "\n"
19212 msgstr ""
19213
19214 # type: textblock
19215 #: ../fish/guestfish-actions.pod:2482
19216 msgid ""
19217 "This command just writes a swap file signature to an existing file.  To "
19218 "create the file itself, use something like C<fallocate>."
19219 msgstr ""
19220
19221 # type: =head2
19222 #: ../fish/guestfish-actions.pod:2485
19223 msgid "modprobe"
19224 msgstr ""
19225
19226 # type: verbatim
19227 #: ../fish/guestfish-actions.pod:2487
19228 #, no-wrap
19229 msgid ""
19230 " modprobe modulename\n"
19231 "\n"
19232 msgstr ""
19233
19234 # type: =head2
19235 #: ../fish/guestfish-actions.pod:2494
19236 msgid "mount"
19237 msgstr ""
19238
19239 # type: verbatim
19240 #: ../fish/guestfish-actions.pod:2496
19241 #, no-wrap
19242 msgid ""
19243 " mount device mountpoint\n"
19244 "\n"
19245 msgstr ""
19246
19247 # type: textblock
19248 #: ../fish/guestfish-actions.pod:2512
19249 msgid ""
19250 "B<Important note:> When you use this call, the filesystem options C<sync> "
19251 "and C<noatime> are set implicitly.  This was originally done because we "
19252 "thought it would improve reliability, but it turns out that I<-o sync> has a "
19253 "very large negative performance impact and negligible effect on "
19254 "reliability.  Therefore we recommend that you avoid using C<mount> in any "
19255 "code that needs performance, and instead use C<mount-options> (use an empty "
19256 "string for the first parameter if you don't want any options)."
19257 msgstr ""
19258
19259 # type: =head2
19260 #: ../fish/guestfish-actions.pod:2522
19261 msgid "mount-loop"
19262 msgstr ""
19263
19264 # type: verbatim
19265 #: ../fish/guestfish-actions.pod:2524
19266 #, no-wrap
19267 msgid ""
19268 " mount-loop file mountpoint\n"
19269 "\n"
19270 msgstr ""
19271
19272 # type: =head2
19273 #: ../fish/guestfish-actions.pod:2530
19274 msgid "mount-options"
19275 msgstr ""
19276
19277 # type: verbatim
19278 #: ../fish/guestfish-actions.pod:2532
19279 #, no-wrap
19280 msgid ""
19281 " mount-options options device mountpoint\n"
19282 "\n"
19283 msgstr ""
19284
19285 # type: textblock
19286 #: ../fish/guestfish-actions.pod:2534
19287 msgid ""
19288 "This is the same as the C<mount> command, but it allows you to set the mount "
19289 "options as for the L<mount(8)> I<-o> flag."
19290 msgstr ""
19291
19292 # type: =head2
19293 #: ../fish/guestfish-actions.pod:2542
19294 msgid "mount-ro"
19295 msgstr ""
19296
19297 # type: verbatim
19298 #: ../fish/guestfish-actions.pod:2544
19299 #, no-wrap
19300 msgid ""
19301 " mount-ro device mountpoint\n"
19302 "\n"
19303 msgstr ""
19304
19305 # type: textblock
19306 #: ../fish/guestfish-actions.pod:2546
19307 msgid ""
19308 "This is the same as the C<mount> command, but it mounts the filesystem with "
19309 "the read-only (I<-o ro>) flag."
19310 msgstr ""
19311
19312 # type: =head2
19313 #: ../fish/guestfish-actions.pod:2549
19314 msgid "mount-vfs"
19315 msgstr ""
19316
19317 # type: verbatim
19318 #: ../fish/guestfish-actions.pod:2551
19319 #, no-wrap
19320 msgid ""
19321 " mount-vfs options vfstype device mountpoint\n"
19322 "\n"
19323 msgstr ""
19324
19325 # type: textblock
19326 #: ../fish/guestfish-actions.pod:2553
19327 msgid ""
19328 "This is the same as the C<mount> command, but it allows you to set both the "
19329 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
19330 msgstr ""
19331
19332 # type: =head2
19333 #: ../fish/guestfish-actions.pod:2557
19334 msgid "mountpoints"
19335 msgstr ""
19336
19337 # type: verbatim
19338 #: ../fish/guestfish-actions.pod:2559
19339 #, no-wrap
19340 msgid ""
19341 " mountpoints\n"
19342 "\n"
19343 msgstr ""
19344
19345 # type: textblock
19346 #: ../fish/guestfish-actions.pod:2561
19347 msgid ""
19348 "This call is similar to C<mounts>.  That call returns a list of devices.  "
19349 "This one returns a hash table (map) of device name to directory where the "
19350 "device is mounted."
19351 msgstr ""
19352
19353 # type: =head2
19354 #: ../fish/guestfish-actions.pod:2565
19355 msgid "mounts"
19356 msgstr ""
19357
19358 # type: verbatim
19359 #: ../fish/guestfish-actions.pod:2567
19360 #, no-wrap
19361 msgid ""
19362 " mounts\n"
19363 "\n"
19364 msgstr ""
19365
19366 # type: textblock
19367 #: ../fish/guestfish-actions.pod:2574
19368 msgid "See also: C<mountpoints>"
19369 msgstr ""
19370
19371 # type: =head2
19372 #: ../fish/guestfish-actions.pod:2576
19373 msgid "mv"
19374 msgstr ""
19375
19376 # type: verbatim
19377 #: ../fish/guestfish-actions.pod:2578
19378 #, no-wrap
19379 msgid ""
19380 " mv src dest\n"
19381 "\n"
19382 msgstr ""
19383
19384 # type: =head2
19385 #: ../fish/guestfish-actions.pod:2583
19386 msgid "ntfs-3g-probe"
19387 msgstr ""
19388
19389 # type: verbatim
19390 #: ../fish/guestfish-actions.pod:2585
19391 #, no-wrap
19392 msgid ""
19393 " ntfs-3g-probe true|false device\n"
19394 "\n"
19395 msgstr ""
19396
19397 # type: =head2
19398 #: ../fish/guestfish-actions.pod:2599
19399 msgid "ntfsresize"
19400 msgstr ""
19401
19402 # type: verbatim
19403 #: ../fish/guestfish-actions.pod:2601
19404 #, no-wrap
19405 msgid ""
19406 " ntfsresize device\n"
19407 "\n"
19408 msgstr ""
19409
19410 # type: =head2
19411 #: ../fish/guestfish-actions.pod:2607
19412 msgid "ntfsresize-size"
19413 msgstr ""
19414
19415 # type: verbatim
19416 #: ../fish/guestfish-actions.pod:2609
19417 #, no-wrap
19418 msgid ""
19419 " ntfsresize-size device size\n"
19420 "\n"
19421 msgstr ""
19422
19423 # type: textblock
19424 #: ../fish/guestfish-actions.pod:2611
19425 msgid ""
19426 "This command is the same as C<ntfsresize> except that it allows you to "
19427 "specify the new size (in bytes) explicitly."
19428 msgstr ""
19429
19430 # type: =head2
19431 #: ../fish/guestfish-actions.pod:2614
19432 msgid "part-add"
19433 msgstr ""
19434
19435 # type: verbatim
19436 #: ../fish/guestfish-actions.pod:2616
19437 #, no-wrap
19438 msgid ""
19439 " part-add device prlogex startsect endsect\n"
19440 "\n"
19441 msgstr ""
19442
19443 # type: textblock
19444 #: ../fish/guestfish-actions.pod:2618
19445 msgid ""
19446 "This command adds a partition to C<device>.  If there is no partition table "
19447 "on the device, call C<part-init> first."
19448 msgstr ""
19449
19450 # type: textblock
19451 #: ../fish/guestfish-actions.pod:2630
19452 msgid ""
19453 "Creating a partition which covers the whole disk is not so easy.  Use "
19454 "C<part-disk> to do that."
19455 msgstr ""
19456
19457 # type: =head2
19458 #: ../fish/guestfish-actions.pod:2633
19459 msgid "part-del"
19460 msgstr ""
19461
19462 # type: verbatim
19463 #: ../fish/guestfish-actions.pod:2635
19464 #, no-wrap
19465 msgid ""
19466 " part-del device partnum\n"
19467 "\n"
19468 msgstr ""
19469
19470 # type: =head2
19471 #: ../fish/guestfish-actions.pod:2643
19472 msgid "part-disk"
19473 msgstr ""
19474
19475 # type: verbatim
19476 #: ../fish/guestfish-actions.pod:2645
19477 #, no-wrap
19478 msgid ""
19479 " part-disk device parttype\n"
19480 "\n"
19481 msgstr ""
19482
19483 # type: textblock
19484 #: ../fish/guestfish-actions.pod:2647
19485 msgid ""
19486 "This command is simply a combination of C<part-init> followed by C<part-add> "
19487 "to create a single primary partition covering the whole disk."
19488 msgstr ""
19489
19490 # type: textblock
19491 #: ../fish/guestfish-actions.pod:2651
19492 msgid ""
19493 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
19494 "possible values are described in C<part-init>."
19495 msgstr ""
19496
19497 # type: =head2
19498 #: ../fish/guestfish-actions.pod:2657
19499 msgid "part-get-bootable"
19500 msgstr ""
19501
19502 # type: verbatim
19503 #: ../fish/guestfish-actions.pod:2659
19504 #, no-wrap
19505 msgid ""
19506 " part-get-bootable device partnum\n"
19507 "\n"
19508 msgstr ""
19509
19510 # type: textblock
19511 #: ../fish/guestfish-actions.pod:2664
19512 msgid "See also C<part-set-bootable>."
19513 msgstr ""
19514
19515 # type: =head2
19516 #: ../fish/guestfish-actions.pod:2666
19517 msgid "part-get-mbr-id"
19518 msgstr ""
19519
19520 # type: verbatim
19521 #: ../fish/guestfish-actions.pod:2668
19522 #, no-wrap
19523 msgid ""
19524 " part-get-mbr-id device partnum\n"
19525 "\n"
19526 msgstr ""
19527
19528 # type: textblock
19529 #: ../fish/guestfish-actions.pod:2673 ../fish/guestfish-actions.pod:2811
19530 msgid ""
19531 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
19532 "undefined results for other partition table types (see "
19533 "C<part-get-parttype>)."
19534 msgstr ""
19535
19536 # type: =head2
19537 #: ../fish/guestfish-actions.pod:2677
19538 msgid "part-get-parttype"
19539 msgstr ""
19540
19541 # type: verbatim
19542 #: ../fish/guestfish-actions.pod:2679
19543 #, no-wrap
19544 msgid ""
19545 " part-get-parttype device\n"
19546 "\n"
19547 msgstr ""
19548
19549 # type: textblock
19550 #: ../fish/guestfish-actions.pod:2684
19551 msgid ""
19552 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
19553 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
19554 "possible, although unusual.  See C<part-init> for a full list."
19555 msgstr ""
19556
19557 # type: =head2
19558 #: ../fish/guestfish-actions.pod:2689
19559 msgid "part-init"
19560 msgstr ""
19561
19562 # type: verbatim
19563 #: ../fish/guestfish-actions.pod:2691
19564 #, no-wrap
19565 msgid ""
19566 " part-init device parttype\n"
19567 "\n"
19568 msgstr ""
19569
19570 # type: textblock
19571 #: ../fish/guestfish-actions.pod:2697
19572 msgid ""
19573 "Initially there are no partitions.  Following this, you should call "
19574 "C<part-add> for each partition required."
19575 msgstr ""
19576
19577 # type: =head2
19578 #: ../fish/guestfish-actions.pod:2760
19579 msgid "part-list"
19580 msgstr ""
19581
19582 # type: verbatim
19583 #: ../fish/guestfish-actions.pod:2762
19584 #, no-wrap
19585 msgid ""
19586 " part-list device\n"
19587 "\n"
19588 msgstr ""
19589
19590 # type: textblock
19591 #: ../fish/guestfish-actions.pod:2777
19592 msgid ""
19593 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
19594 "the device's sector size, see C<blockdev-getss>."
19595 msgstr ""
19596
19597 # type: =head2
19598 #: ../fish/guestfish-actions.pod:2790
19599 msgid "part-set-bootable"
19600 msgstr ""
19601
19602 # type: verbatim
19603 #: ../fish/guestfish-actions.pod:2792
19604 #, no-wrap
19605 msgid ""
19606 " part-set-bootable device partnum true|false\n"
19607 "\n"
19608 msgstr ""
19609
19610 # type: =head2
19611 #: ../fish/guestfish-actions.pod:2801
19612 msgid "part-set-mbr-id"
19613 msgstr ""
19614
19615 # type: verbatim
19616 #: ../fish/guestfish-actions.pod:2803
19617 #, no-wrap
19618 msgid ""
19619 " part-set-mbr-id device partnum idbyte\n"
19620 "\n"
19621 msgstr ""
19622
19623 # type: =head2
19624 #: ../fish/guestfish-actions.pod:2815
19625 msgid "part-set-name"
19626 msgstr ""
19627
19628 # type: verbatim
19629 #: ../fish/guestfish-actions.pod:2817
19630 #, no-wrap
19631 msgid ""
19632 " part-set-name device partnum name\n"
19633 "\n"
19634 msgstr ""
19635
19636 # type: =head2
19637 #: ../fish/guestfish-actions.pod:2825
19638 msgid "ping-daemon"
19639 msgstr ""
19640
19641 # type: verbatim
19642 #: ../fish/guestfish-actions.pod:2827
19643 #, no-wrap
19644 msgid ""
19645 " ping-daemon\n"
19646 "\n"
19647 msgstr ""
19648
19649 # type: =head2
19650 #: ../fish/guestfish-actions.pod:2834
19651 msgid "pread"
19652 msgstr ""
19653
19654 # type: verbatim
19655 #: ../fish/guestfish-actions.pod:2836
19656 #, no-wrap
19657 msgid ""
19658 " pread path count offset\n"
19659 "\n"
19660 msgstr ""
19661
19662 # type: textblock
19663 #: ../fish/guestfish-actions.pod:2844
19664 msgid "See also C<pwrite>."
19665 msgstr ""
19666
19667 # type: =head2
19668 #: ../fish/guestfish-actions.pod:2849
19669 msgid "pvcreate"
19670 msgstr ""
19671
19672 # type: verbatim
19673 #: ../fish/guestfish-actions.pod:2851
19674 #, no-wrap
19675 msgid ""
19676 " pvcreate device\n"
19677 "\n"
19678 msgstr ""
19679
19680 # type: =head2
19681 #: ../fish/guestfish-actions.pod:2857
19682 msgid "pvremove"
19683 msgstr ""
19684
19685 # type: verbatim
19686 #: ../fish/guestfish-actions.pod:2859
19687 #, no-wrap
19688 msgid ""
19689 " pvremove device\n"
19690 "\n"
19691 msgstr ""
19692
19693 # type: =head2
19694 #: ../fish/guestfish-actions.pod:2868
19695 msgid "pvresize"
19696 msgstr ""
19697
19698 # type: verbatim
19699 #: ../fish/guestfish-actions.pod:2870
19700 #, no-wrap
19701 msgid ""
19702 " pvresize device\n"
19703 "\n"
19704 msgstr ""
19705
19706 # type: =head2
19707 #: ../fish/guestfish-actions.pod:2875
19708 msgid "pvresize-size"
19709 msgstr ""
19710
19711 # type: verbatim
19712 #: ../fish/guestfish-actions.pod:2877
19713 #, no-wrap
19714 msgid ""
19715 " pvresize-size device size\n"
19716 "\n"
19717 msgstr ""
19718
19719 # type: textblock
19720 #: ../fish/guestfish-actions.pod:2879
19721 msgid ""
19722 "This command is the same as C<pvresize> except that it allows you to specify "
19723 "the new size (in bytes) explicitly."
19724 msgstr ""
19725
19726 # type: =head2
19727 #: ../fish/guestfish-actions.pod:2882
19728 msgid "pvs"
19729 msgstr ""
19730
19731 # type: verbatim
19732 #: ../fish/guestfish-actions.pod:2884
19733 #, no-wrap
19734 msgid ""
19735 " pvs\n"
19736 "\n"
19737 msgstr ""
19738
19739 # type: textblock
19740 #: ../fish/guestfish-actions.pod:2892
19741 msgid "See also C<pvs-full>."
19742 msgstr ""
19743
19744 # type: =head2
19745 #: ../fish/guestfish-actions.pod:2894
19746 msgid "pvs-full"
19747 msgstr ""
19748
19749 # type: verbatim
19750 #: ../fish/guestfish-actions.pod:2896
19751 #, no-wrap
19752 msgid ""
19753 " pvs-full\n"
19754 "\n"
19755 msgstr ""
19756
19757 # type: =head2
19758 #: ../fish/guestfish-actions.pod:2901
19759 msgid "pvuuid"
19760 msgstr ""
19761
19762 # type: verbatim
19763 #: ../fish/guestfish-actions.pod:2903
19764 #, no-wrap
19765 msgid ""
19766 " pvuuid device\n"
19767 "\n"
19768 msgstr ""
19769
19770 # type: =head2
19771 #: ../fish/guestfish-actions.pod:2907
19772 msgid "pwrite"
19773 msgstr ""
19774
19775 # type: verbatim
19776 #: ../fish/guestfish-actions.pod:2909
19777 #, no-wrap
19778 msgid ""
19779 " pwrite path content offset\n"
19780 "\n"
19781 msgstr ""
19782
19783 # type: textblock
19784 #: ../fish/guestfish-actions.pod:2920
19785 msgid "See also C<pread>."
19786 msgstr ""
19787
19788 # type: =head2
19789 #: ../fish/guestfish-actions.pod:2925
19790 msgid "read-file"
19791 msgstr ""
19792
19793 # type: verbatim
19794 #: ../fish/guestfish-actions.pod:2927
19795 #, no-wrap
19796 msgid ""
19797 " read-file path\n"
19798 "\n"
19799 msgstr ""
19800
19801 # type: textblock
19802 #: ../fish/guestfish-actions.pod:2932
19803 msgid ""
19804 "Unlike C<cat>, this function can correctly handle files that contain "
19805 "embedded ASCII NUL characters.  However unlike C<download>, this function is "
19806 "limited in the total size of file that can be handled."
19807 msgstr ""
19808
19809 # type: =head2
19810 #: ../fish/guestfish-actions.pod:2940
19811 msgid "read-lines"
19812 msgstr ""
19813
19814 # type: verbatim
19815 #: ../fish/guestfish-actions.pod:2942
19816 #, no-wrap
19817 msgid ""
19818 " read-lines path\n"
19819 "\n"
19820 msgstr ""
19821
19822 # type: textblock
19823 #: ../fish/guestfish-actions.pod:2949
19824 msgid ""
19825 "Note that this function cannot correctly handle binary files (specifically, "
19826 "files containing C<\\0> character which is treated as end of line).  For "
19827 "those you need to use the C<read-file> function which has a more complex "
19828 "interface."
19829 msgstr ""
19830
19831 # type: =head2
19832 #: ../fish/guestfish-actions.pod:2954
19833 msgid "readdir"
19834 msgstr ""
19835
19836 # type: verbatim
19837 #: ../fish/guestfish-actions.pod:2956
19838 #, no-wrap
19839 msgid ""
19840 " readdir dir\n"
19841 "\n"
19842 msgstr ""
19843
19844 # type: textblock
19845 #: ../fish/guestfish-actions.pod:3008
19846 msgid ""
19847 "This function is primarily intended for use by programs.  To get a simple "
19848 "list of names, use C<ls>.  To get a printable directory for human "
19849 "consumption, use C<ll>."
19850 msgstr ""
19851
19852 # type: =head2
19853 #: ../fish/guestfish-actions.pod:3012
19854 msgid "readlink"
19855 msgstr ""
19856
19857 # type: verbatim
19858 #: ../fish/guestfish-actions.pod:3014
19859 #, no-wrap
19860 msgid ""
19861 " readlink path\n"
19862 "\n"
19863 msgstr ""
19864
19865 # type: =head2
19866 #: ../fish/guestfish-actions.pod:3018
19867 msgid "readlinklist"
19868 msgstr ""
19869
19870 # type: verbatim
19871 #: ../fish/guestfish-actions.pod:3020
19872 #, no-wrap
19873 msgid ""
19874 " readlinklist path 'names ...'\n"
19875 "\n"
19876 msgstr ""
19877
19878 # type: =head2
19879 #: ../fish/guestfish-actions.pod:3044
19880 msgid "realpath"
19881 msgstr ""
19882
19883 # type: verbatim
19884 #: ../fish/guestfish-actions.pod:3046
19885 #, no-wrap
19886 msgid ""
19887 " realpath path\n"
19888 "\n"
19889 msgstr ""
19890
19891 # type: =head2
19892 #: ../fish/guestfish-actions.pod:3051
19893 msgid "removexattr"
19894 msgstr ""
19895
19896 # type: verbatim
19897 #: ../fish/guestfish-actions.pod:3053
19898 #, no-wrap
19899 msgid ""
19900 " removexattr xattr path\n"
19901 "\n"
19902 msgstr ""
19903
19904 # type: textblock
19905 #: ../fish/guestfish-actions.pod:3058
19906 msgid "See also: C<lremovexattr>, L<attr(5)>."
19907 msgstr ""
19908
19909 # type: =head2
19910 #: ../fish/guestfish-actions.pod:3060
19911 msgid "resize2fs"
19912 msgstr ""
19913
19914 # type: verbatim
19915 #: ../fish/guestfish-actions.pod:3062
19916 #, no-wrap
19917 msgid ""
19918 " resize2fs device\n"
19919 "\n"
19920 msgstr ""
19921
19922 # type: textblock
19923 #: ../fish/guestfish-actions.pod:3067
19924 msgid ""
19925 "I<Note:> It is sometimes required that you run C<e2fsck-f> on the C<device> "
19926 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
19927 "gives an error about this and sometimes not.  In any case, it is always safe "
19928 "to call C<e2fsck-f> before calling this function."
19929 msgstr ""
19930
19931 # type: =head2
19932 #: ../fish/guestfish-actions.pod:3073
19933 msgid "resize2fs-size"
19934 msgstr ""
19935
19936 # type: verbatim
19937 #: ../fish/guestfish-actions.pod:3075
19938 #, no-wrap
19939 msgid ""
19940 " resize2fs-size device size\n"
19941 "\n"
19942 msgstr ""
19943
19944 # type: textblock
19945 #: ../fish/guestfish-actions.pod:3077
19946 msgid ""
19947 "This command is the same as C<resize2fs> except that it allows you to "
19948 "specify the new size (in bytes) explicitly."
19949 msgstr ""
19950
19951 # type: =head2
19952 #: ../fish/guestfish-actions.pod:3080
19953 msgid "rm"
19954 msgstr ""
19955
19956 # type: verbatim
19957 #: ../fish/guestfish-actions.pod:3082
19958 #, no-wrap
19959 msgid ""
19960 " rm path\n"
19961 "\n"
19962 msgstr ""
19963
19964 # type: =head2
19965 #: ../fish/guestfish-actions.pod:3086
19966 msgid "rm-rf"
19967 msgstr ""
19968
19969 # type: verbatim
19970 #: ../fish/guestfish-actions.pod:3088
19971 #, no-wrap
19972 msgid ""
19973 " rm-rf path\n"
19974 "\n"
19975 msgstr ""
19976
19977 # type: =head2
19978 #: ../fish/guestfish-actions.pod:3094
19979 msgid "rmdir"
19980 msgstr ""
19981
19982 # type: verbatim
19983 #: ../fish/guestfish-actions.pod:3096
19984 #, no-wrap
19985 msgid ""
19986 " rmdir path\n"
19987 "\n"
19988 msgstr ""
19989
19990 # type: =head2
19991 #: ../fish/guestfish-actions.pod:3100
19992 msgid "rmmountpoint"
19993 msgstr ""
19994
19995 # type: verbatim
19996 #: ../fish/guestfish-actions.pod:3102
19997 #, no-wrap
19998 msgid ""
19999 " rmmountpoint exemptpath\n"
20000 "\n"
20001 msgstr ""
20002
20003 # type: textblock
20004 #: ../fish/guestfish-actions.pod:3104
20005 msgid ""
20006 "This calls removes a mountpoint that was previously created with "
20007 "C<mkmountpoint>.  See C<mkmountpoint> for full details."
20008 msgstr ""
20009
20010 # type: =head2
20011 #: ../fish/guestfish-actions.pod:3108
20012 msgid "scrub-device"
20013 msgstr ""
20014
20015 # type: verbatim
20016 #: ../fish/guestfish-actions.pod:3110
20017 #, no-wrap
20018 msgid ""
20019 " scrub-device device\n"
20020 "\n"
20021 msgstr ""
20022
20023 # type: =head2
20024 #: ../fish/guestfish-actions.pod:3121
20025 msgid "scrub-file"
20026 msgstr ""
20027
20028 # type: verbatim
20029 #: ../fish/guestfish-actions.pod:3123
20030 #, no-wrap
20031 msgid ""
20032 " scrub-file file\n"
20033 "\n"
20034 msgstr ""
20035
20036 # type: =head2
20037 #: ../fish/guestfish-actions.pod:3133
20038 msgid "scrub-freespace"
20039 msgstr ""
20040
20041 # type: verbatim
20042 #: ../fish/guestfish-actions.pod:3135
20043 #, no-wrap
20044 msgid ""
20045 " scrub-freespace dir\n"
20046 "\n"
20047 msgstr ""
20048
20049 # type: textblock
20050 #: ../fish/guestfish-actions.pod:3137
20051 msgid ""
20052 "This command creates the directory C<dir> and then fills it with files until "
20053 "the filesystem is full, and scrubs the files as for C<scrub-file>, and "
20054 "deletes them.  The intention is to scrub any free space on the partition "
20055 "containing C<dir>."
20056 msgstr ""
20057
20058 # type: =head2
20059 #: ../fish/guestfish-actions.pod:3146
20060 msgid "set-append | append"
20061 msgstr ""
20062
20063 # type: verbatim
20064 #: ../fish/guestfish-actions.pod:3148
20065 #, no-wrap
20066 msgid ""
20067 " set-append append\n"
20068 "\n"
20069 msgstr ""
20070
20071 # type: =head2
20072 #: ../fish/guestfish-actions.pod:3159
20073 msgid "set-autosync | autosync"
20074 msgstr ""
20075
20076 # type: verbatim
20077 #: ../fish/guestfish-actions.pod:3161
20078 #, no-wrap
20079 msgid ""
20080 " set-autosync true|false\n"
20081 "\n"
20082 msgstr ""
20083
20084 # type: textblock
20085 #: ../fish/guestfish-actions.pod:3163
20086 msgid ""
20087 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20088 "effort attempt to run C<umount-all> followed by C<sync> when the handle is "
20089 "closed (also if the program exits without closing handles)."
20090 msgstr ""
20091
20092 # type: =head2
20093 #: ../fish/guestfish-actions.pod:3171
20094 msgid "set-direct | direct"
20095 msgstr ""
20096
20097 # type: verbatim
20098 #: ../fish/guestfish-actions.pod:3173
20099 #, no-wrap
20100 msgid ""
20101 " set-direct true|false\n"
20102 "\n"
20103 msgstr ""
20104
20105 # type: textblock
20106 #: ../fish/guestfish-actions.pod:3179
20107 msgid ""
20108 "One consequence of this is that log messages aren't caught by the library "
20109 "and handled by C<set-log-message-callback>, but go straight to stdout."
20110 msgstr ""
20111
20112 # type: =head2
20113 #: ../fish/guestfish-actions.pod:3188
20114 msgid "set-e2label"
20115 msgstr ""
20116
20117 # type: verbatim
20118 #: ../fish/guestfish-actions.pod:3190
20119 #, no-wrap
20120 msgid ""
20121 " set-e2label device label\n"
20122 "\n"
20123 msgstr ""
20124
20125 # type: textblock
20126 #: ../fish/guestfish-actions.pod:3196
20127 msgid ""
20128 "You can use either C<tune2fs-l> or C<get-e2label> to return the existing "
20129 "label on a filesystem."
20130 msgstr ""
20131
20132 # type: =head2
20133 #: ../fish/guestfish-actions.pod:3199
20134 msgid "set-e2uuid"
20135 msgstr ""
20136
20137 # type: verbatim
20138 #: ../fish/guestfish-actions.pod:3201
20139 #, no-wrap
20140 msgid ""
20141 " set-e2uuid device uuid\n"
20142 "\n"
20143 msgstr ""
20144
20145 # type: textblock
20146 #: ../fish/guestfish-actions.pod:3208
20147 msgid ""
20148 "You can use either C<tune2fs-l> or C<get-e2uuid> to return the existing UUID "
20149 "of a filesystem."
20150 msgstr ""
20151
20152 # type: =head2
20153 #: ../fish/guestfish-actions.pod:3211
20154 msgid "set-memsize | memsize"
20155 msgstr ""
20156
20157 # type: verbatim
20158 #: ../fish/guestfish-actions.pod:3213
20159 #, no-wrap
20160 msgid ""
20161 " set-memsize memsize\n"
20162 "\n"
20163 msgstr ""
20164
20165 # type: textblock
20166 #: ../fish/guestfish-actions.pod:3215
20167 msgid ""
20168 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
20169 "This only has any effect if called before C<launch>."
20170 msgstr ""
20171
20172 # type: =head2
20173 #: ../fish/guestfish-actions.pod:3226
20174 msgid "set-network | network"
20175 msgstr ""
20176
20177 # type: verbatim
20178 #: ../fish/guestfish-actions.pod:3228
20179 #, no-wrap
20180 msgid ""
20181 " set-network true|false\n"
20182 "\n"
20183 msgstr ""
20184
20185 # type: textblock
20186 #: ../fish/guestfish-actions.pod:3236
20187 msgid "You must call this before calling C<launch>, otherwise it has no effect."
20188 msgstr ""
20189
20190 # type: =head2
20191 #: ../fish/guestfish-actions.pod:3239
20192 msgid "set-path | path"
20193 msgstr ""
20194
20195 # type: verbatim
20196 #: ../fish/guestfish-actions.pod:3241
20197 #, no-wrap
20198 msgid ""
20199 " set-path searchpath\n"
20200 "\n"
20201 msgstr ""
20202
20203 # type: =head2
20204 #: ../fish/guestfish-actions.pod:3250
20205 msgid "set-qemu | qemu"
20206 msgstr ""
20207
20208 # type: verbatim
20209 #: ../fish/guestfish-actions.pod:3252
20210 #, no-wrap
20211 msgid ""
20212 " set-qemu qemu\n"
20213 "\n"
20214 msgstr ""
20215
20216 # type: =head2
20217 #: ../fish/guestfish-actions.pod:3272
20218 msgid "set-recovery-proc | recovery-proc"
20219 msgstr ""
20220
20221 # type: verbatim
20222 #: ../fish/guestfish-actions.pod:3274
20223 #, no-wrap
20224 msgid ""
20225 " set-recovery-proc true|false\n"
20226 "\n"
20227 msgstr ""
20228
20229 # type: textblock
20230 #: ../fish/guestfish-actions.pod:3276
20231 msgid ""
20232 "If this is called with the parameter C<false> then C<launch> does not create "
20233 "a recovery process.  The purpose of the recovery process is to stop runaway "
20234 "qemu processes in the case where the main program aborts abruptly."
20235 msgstr ""
20236
20237 # type: textblock
20238 #: ../fish/guestfish-actions.pod:3281
20239 msgid ""
20240 "This only has any effect if called before C<launch>, and the default is "
20241 "true."
20242 msgstr ""
20243
20244 # type: =head2
20245 #: ../fish/guestfish-actions.pod:3290
20246 msgid "set-selinux | selinux"
20247 msgstr ""
20248
20249 # type: verbatim
20250 #: ../fish/guestfish-actions.pod:3292
20251 #, no-wrap
20252 msgid ""
20253 " set-selinux true|false\n"
20254 "\n"
20255 msgstr ""
20256
20257 # type: =head2
20258 #: ../fish/guestfish-actions.pod:3303
20259 msgid "set-trace | trace"
20260 msgstr ""
20261
20262 # type: verbatim
20263 #: ../fish/guestfish-actions.pod:3305
20264 #, no-wrap
20265 msgid ""
20266 " set-trace true|false\n"
20267 "\n"
20268 msgstr ""
20269
20270 # type: =head2
20271 #: ../fish/guestfish-actions.pod:3321
20272 msgid "set-verbose | verbose"
20273 msgstr ""
20274
20275 # type: verbatim
20276 #: ../fish/guestfish-actions.pod:3323
20277 #, no-wrap
20278 msgid ""
20279 " set-verbose true|false\n"
20280 "\n"
20281 msgstr ""
20282
20283 # type: =head2
20284 #: ../fish/guestfish-actions.pod:3330
20285 msgid "setcon"
20286 msgstr ""
20287
20288 # type: verbatim
20289 #: ../fish/guestfish-actions.pod:3332
20290 #, no-wrap
20291 msgid ""
20292 " setcon context\n"
20293 "\n"
20294 msgstr ""
20295
20296 # type: =head2
20297 #: ../fish/guestfish-actions.pod:3339
20298 msgid "setxattr"
20299 msgstr ""
20300
20301 # type: verbatim
20302 #: ../fish/guestfish-actions.pod:3341
20303 #, no-wrap
20304 msgid ""
20305 " setxattr xattr val vallen path\n"
20306 "\n"
20307 msgstr ""
20308
20309 # type: textblock
20310 #: ../fish/guestfish-actions.pod:3347
20311 msgid "See also: C<lsetxattr>, L<attr(5)>."
20312 msgstr ""
20313
20314 # type: =head2
20315 #: ../fish/guestfish-actions.pod:3349
20316 msgid "sfdisk"
20317 msgstr ""
20318
20319 # type: verbatim
20320 #: ../fish/guestfish-actions.pod:3351
20321 #, no-wrap
20322 msgid ""
20323 " sfdisk device cyls heads sectors 'lines ...'\n"
20324 "\n"
20325 msgstr ""
20326
20327 # type: textblock
20328 #: ../fish/guestfish-actions.pod:3373
20329 msgid "See also: C<sfdisk-l>, C<sfdisk-N>, C<part-init>"
20330 msgstr ""
20331
20332 # type: =head2
20333 #: ../fish/guestfish-actions.pod:3379
20334 msgid "sfdiskM"
20335 msgstr ""
20336
20337 # type: verbatim
20338 #: ../fish/guestfish-actions.pod:3381
20339 #, no-wrap
20340 msgid ""
20341 " sfdiskM device 'lines ...'\n"
20342 "\n"
20343 msgstr ""
20344
20345 # type: textblock
20346 #: ../fish/guestfish-actions.pod:3383
20347 msgid ""
20348 "This is a simplified interface to the C<sfdisk> command, where partition "
20349 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
20350 "you don't need to specify the cyls, heads and sectors parameters which were "
20351 "rarely if ever used anyway."
20352 msgstr ""
20353
20354 # type: textblock
20355 #: ../fish/guestfish-actions.pod:3389
20356 msgid "See also: C<sfdisk>, the L<sfdisk(8)> manpage and C<part-disk>"
20357 msgstr ""
20358
20359 # type: =head2
20360 #: ../fish/guestfish-actions.pod:3395
20361 msgid "sfdisk-N"
20362 msgstr ""
20363
20364 # type: verbatim
20365 #: ../fish/guestfish-actions.pod:3397
20366 #, no-wrap
20367 msgid ""
20368 " sfdisk-N device partnum cyls heads sectors line\n"
20369 "\n"
20370 msgstr ""
20371
20372 # type: textblock
20373 #: ../fish/guestfish-actions.pod:3402
20374 msgid ""
20375 "For other parameters, see C<sfdisk>.  You should usually pass C<0> for the "
20376 "cyls/heads/sectors parameters."
20377 msgstr ""
20378
20379 # type: textblock
20380 #: ../fish/guestfish-actions.pod:3405
20381 msgid "See also: C<part-add>"
20382 msgstr ""
20383
20384 # type: =head2
20385 #: ../fish/guestfish-actions.pod:3410
20386 msgid "sfdisk-disk-geometry"
20387 msgstr ""
20388
20389 # type: verbatim
20390 #: ../fish/guestfish-actions.pod:3412
20391 #, no-wrap
20392 msgid ""
20393 " sfdisk-disk-geometry device\n"
20394 "\n"
20395 msgstr ""
20396
20397 # type: textblock
20398 #: ../fish/guestfish-actions.pod:3414
20399 msgid ""
20400 "This displays the disk geometry of C<device> read from the partition table.  "
20401 "Especially in the case where the underlying block device has been resized, "
20402 "this can be different from the kernel's idea of the geometry (see "
20403 "C<sfdisk-kernel-geometry>)."
20404 msgstr ""
20405
20406 # type: =head2
20407 #: ../fish/guestfish-actions.pod:3422
20408 msgid "sfdisk-kernel-geometry"
20409 msgstr ""
20410
20411 # type: verbatim
20412 #: ../fish/guestfish-actions.pod:3424
20413 #, no-wrap
20414 msgid ""
20415 " sfdisk-kernel-geometry device\n"
20416 "\n"
20417 msgstr ""
20418
20419 # type: =head2
20420 #: ../fish/guestfish-actions.pod:3431
20421 msgid "sfdisk-l"
20422 msgstr ""
20423
20424 # type: verbatim
20425 #: ../fish/guestfish-actions.pod:3433
20426 #, no-wrap
20427 msgid ""
20428 " sfdisk-l device\n"
20429 "\n"
20430 msgstr ""
20431
20432 # type: textblock
20433 #: ../fish/guestfish-actions.pod:3439
20434 msgid "See also: C<part-list>"
20435 msgstr ""
20436
20437 # type: =head2
20438 #: ../fish/guestfish-actions.pod:3441
20439 msgid "sh"
20440 msgstr ""
20441
20442 # type: verbatim
20443 #: ../fish/guestfish-actions.pod:3443
20444 #, no-wrap
20445 msgid ""
20446 " sh command\n"
20447 "\n"
20448 msgstr ""
20449
20450 # type: textblock
20451 #: ../fish/guestfish-actions.pod:3448
20452 msgid "This is like C<command>, but passes the command to:"
20453 msgstr ""
20454
20455 # type: textblock
20456 #: ../fish/guestfish-actions.pod:3456
20457 msgid "All the provisos about C<command> apply to this call."
20458 msgstr ""
20459
20460 # type: =head2
20461 #: ../fish/guestfish-actions.pod:3458
20462 msgid "sh-lines"
20463 msgstr ""
20464
20465 # type: verbatim
20466 #: ../fish/guestfish-actions.pod:3460
20467 #, no-wrap
20468 msgid ""
20469 " sh-lines command\n"
20470 "\n"
20471 msgstr ""
20472
20473 # type: textblock
20474 #: ../fish/guestfish-actions.pod:3462
20475 msgid "This is the same as C<sh>, but splits the result into a list of lines."
20476 msgstr ""
20477
20478 # type: textblock
20479 #: ../fish/guestfish-actions.pod:3465
20480 msgid "See also: C<command-lines>"
20481 msgstr ""
20482
20483 # type: =head2
20484 #: ../fish/guestfish-actions.pod:3467
20485 msgid "sleep"
20486 msgstr ""
20487
20488 # type: verbatim
20489 #: ../fish/guestfish-actions.pod:3469
20490 #, no-wrap
20491 msgid ""
20492 " sleep secs\n"
20493 "\n"
20494 msgstr ""
20495
20496 # type: =head2
20497 #: ../fish/guestfish-actions.pod:3473
20498 msgid "stat"
20499 msgstr ""
20500
20501 # type: verbatim
20502 #: ../fish/guestfish-actions.pod:3475
20503 #, no-wrap
20504 msgid ""
20505 " stat path\n"
20506 "\n"
20507 msgstr ""
20508
20509 # type: =head2
20510 #: ../fish/guestfish-actions.pod:3481
20511 msgid "statvfs"
20512 msgstr ""
20513
20514 # type: verbatim
20515 #: ../fish/guestfish-actions.pod:3483
20516 #, no-wrap
20517 msgid ""
20518 " statvfs path\n"
20519 "\n"
20520 msgstr ""
20521
20522 # type: =head2
20523 #: ../fish/guestfish-actions.pod:3491
20524 msgid "strings"
20525 msgstr ""
20526
20527 # type: verbatim
20528 #: ../fish/guestfish-actions.pod:3493
20529 #, no-wrap
20530 msgid ""
20531 " strings path\n"
20532 "\n"
20533 msgstr ""
20534
20535 # type: =head2
20536 #: ../fish/guestfish-actions.pod:3501
20537 msgid "strings-e"
20538 msgstr ""
20539
20540 # type: verbatim
20541 #: ../fish/guestfish-actions.pod:3503
20542 #, no-wrap
20543 msgid ""
20544 " strings-e encoding path\n"
20545 "\n"
20546 msgstr ""
20547
20548 # type: textblock
20549 #: ../fish/guestfish-actions.pod:3505
20550 msgid ""
20551 "This is like the C<strings> command, but allows you to specify the encoding "
20552 "of strings that are looked for in the source file C<path>."
20553 msgstr ""
20554
20555 # type: textblock
20556 #: ../fish/guestfish-actions.pod:3515
20557 msgid ""
20558 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
20559 "ISO-8859-X (this is what C<strings> uses)."
20560 msgstr ""
20561
20562 # type: =head2
20563 #: ../fish/guestfish-actions.pod:3547
20564 msgid "swapoff-device"
20565 msgstr ""
20566
20567 # type: verbatim
20568 #: ../fish/guestfish-actions.pod:3549
20569 #, no-wrap
20570 msgid ""
20571 " swapoff-device device\n"
20572 "\n"
20573 msgstr ""
20574
20575 # type: textblock
20576 #: ../fish/guestfish-actions.pod:3551
20577 msgid ""
20578 "This command disables the libguestfs appliance swap device or partition "
20579 "named C<device>.  See C<swapon-device>."
20580 msgstr ""
20581
20582 # type: =head2
20583 #: ../fish/guestfish-actions.pod:3555
20584 msgid "swapoff-file"
20585 msgstr ""
20586
20587 # type: verbatim
20588 #: ../fish/guestfish-actions.pod:3557
20589 #, no-wrap
20590 msgid ""
20591 " swapoff-file file\n"
20592 "\n"
20593 msgstr ""
20594
20595 # type: =head2
20596 #: ../fish/guestfish-actions.pod:3561
20597 msgid "swapoff-label"
20598 msgstr ""
20599
20600 # type: verbatim
20601 #: ../fish/guestfish-actions.pod:3563
20602 #, no-wrap
20603 msgid ""
20604 " swapoff-label label\n"
20605 "\n"
20606 msgstr ""
20607
20608 # type: =head2
20609 #: ../fish/guestfish-actions.pod:3568
20610 msgid "swapoff-uuid"
20611 msgstr ""
20612
20613 # type: verbatim
20614 #: ../fish/guestfish-actions.pod:3570
20615 #, no-wrap
20616 msgid ""
20617 " swapoff-uuid uuid\n"
20618 "\n"
20619 msgstr ""
20620
20621 # type: =head2
20622 #: ../fish/guestfish-actions.pod:3575
20623 msgid "swapon-device"
20624 msgstr ""
20625
20626 # type: verbatim
20627 #: ../fish/guestfish-actions.pod:3577
20628 #, no-wrap
20629 msgid ""
20630 " swapon-device device\n"
20631 "\n"
20632 msgstr ""
20633
20634 # type: textblock
20635 #: ../fish/guestfish-actions.pod:3579
20636 msgid ""
20637 "This command enables the libguestfs appliance to use the swap device or "
20638 "partition named C<device>.  The increased memory is made available for all "
20639 "commands, for example those run using C<command> or C<sh>."
20640 msgstr ""
20641
20642 # type: =head2
20643 #: ../fish/guestfish-actions.pod:3591
20644 msgid "swapon-file"
20645 msgstr ""
20646
20647 # type: verbatim
20648 #: ../fish/guestfish-actions.pod:3593
20649 #, no-wrap
20650 msgid ""
20651 " swapon-file file\n"
20652 "\n"
20653 msgstr ""
20654
20655 # type: textblock
20656 #: ../fish/guestfish-actions.pod:3595
20657 msgid "This command enables swap to a file.  See C<swapon-device> for other notes."
20658 msgstr ""
20659
20660 # type: =head2
20661 #: ../fish/guestfish-actions.pod:3598
20662 msgid "swapon-label"
20663 msgstr ""
20664
20665 # type: verbatim
20666 #: ../fish/guestfish-actions.pod:3600
20667 #, no-wrap
20668 msgid ""
20669 " swapon-label label\n"
20670 "\n"
20671 msgstr ""
20672
20673 # type: textblock
20674 #: ../fish/guestfish-actions.pod:3602
20675 msgid ""
20676 "This command enables swap to a labeled swap partition.  See C<swapon-device> "
20677 "for other notes."
20678 msgstr ""
20679
20680 # type: =head2
20681 #: ../fish/guestfish-actions.pod:3605
20682 msgid "swapon-uuid"
20683 msgstr ""
20684
20685 # type: verbatim
20686 #: ../fish/guestfish-actions.pod:3607
20687 #, no-wrap
20688 msgid ""
20689 " swapon-uuid uuid\n"
20690 "\n"
20691 msgstr ""
20692
20693 # type: textblock
20694 #: ../fish/guestfish-actions.pod:3609
20695 msgid ""
20696 "This command enables swap to a swap partition with the given UUID.  See "
20697 "C<swapon-device> for other notes."
20698 msgstr ""
20699
20700 # type: =head2
20701 #: ../fish/guestfish-actions.pod:3612
20702 msgid "sync"
20703 msgstr ""
20704
20705 # type: verbatim
20706 #: ../fish/guestfish-actions.pod:3614
20707 #, no-wrap
20708 msgid ""
20709 " sync\n"
20710 "\n"
20711 msgstr ""
20712
20713 # type: =head2
20714 #: ../fish/guestfish-actions.pod:3622
20715 msgid "tail"
20716 msgstr ""
20717
20718 # type: verbatim
20719 #: ../fish/guestfish-actions.pod:3624
20720 #, no-wrap
20721 msgid ""
20722 " tail path\n"
20723 "\n"
20724 msgstr ""
20725
20726 # type: =head2
20727 #: ../fish/guestfish-actions.pod:3632
20728 msgid "tail-n"
20729 msgstr ""
20730
20731 # type: verbatim
20732 #: ../fish/guestfish-actions.pod:3634
20733 #, no-wrap
20734 msgid ""
20735 " tail-n nrlines path\n"
20736 "\n"
20737 msgstr ""
20738
20739 # type: =head2
20740 #: ../fish/guestfish-actions.pod:3647
20741 msgid "tar-in"
20742 msgstr ""
20743
20744 # type: verbatim
20745 #: ../fish/guestfish-actions.pod:3649
20746 #, no-wrap
20747 msgid ""
20748 " tar-in (tarfile|-) directory\n"
20749 "\n"
20750 msgstr ""
20751
20752 # type: textblock
20753 #: ../fish/guestfish-actions.pod:3654
20754 msgid "To upload a compressed tarball, use C<tgz-in> or C<txz-in>."
20755 msgstr ""
20756
20757 # type: =head2
20758 #: ../fish/guestfish-actions.pod:3659
20759 msgid "tar-out"
20760 msgstr ""
20761
20762 # type: verbatim
20763 #: ../fish/guestfish-actions.pod:3661
20764 #, no-wrap
20765 msgid ""
20766 " tar-out directory (tarfile|-)\n"
20767 "\n"
20768 msgstr ""
20769
20770 # type: textblock
20771 #: ../fish/guestfish-actions.pod:3666
20772 msgid "To download a compressed tarball, use C<tgz-out> or C<txz-out>."
20773 msgstr ""
20774
20775 # type: =head2
20776 #: ../fish/guestfish-actions.pod:3671
20777 msgid "tgz-in"
20778 msgstr ""
20779
20780 # type: verbatim
20781 #: ../fish/guestfish-actions.pod:3673
20782 #, no-wrap
20783 msgid ""
20784 " tgz-in (tarball|-) directory\n"
20785 "\n"
20786 msgstr ""
20787
20788 # type: textblock
20789 #: ../fish/guestfish-actions.pod:3678
20790 msgid "To upload an uncompressed tarball, use C<tar-in>."
20791 msgstr ""
20792
20793 # type: =head2
20794 #: ../fish/guestfish-actions.pod:3682
20795 msgid "tgz-out"
20796 msgstr ""
20797
20798 # type: verbatim
20799 #: ../fish/guestfish-actions.pod:3684
20800 #, no-wrap
20801 msgid ""
20802 " tgz-out directory (tarball|-)\n"
20803 "\n"
20804 msgstr ""
20805
20806 # type: textblock
20807 #: ../fish/guestfish-actions.pod:3689
20808 msgid "To download an uncompressed tarball, use C<tar-out>."
20809 msgstr ""
20810
20811 # type: =head2
20812 #: ../fish/guestfish-actions.pod:3693
20813 msgid "touch"
20814 msgstr ""
20815
20816 # type: verbatim
20817 #: ../fish/guestfish-actions.pod:3695
20818 #, no-wrap
20819 msgid ""
20820 " touch path\n"
20821 "\n"
20822 msgstr ""
20823
20824 # type: =head2
20825 #: ../fish/guestfish-actions.pod:3704
20826 msgid "truncate"
20827 msgstr ""
20828
20829 # type: verbatim
20830 #: ../fish/guestfish-actions.pod:3706
20831 #, no-wrap
20832 msgid ""
20833 " truncate path\n"
20834 "\n"
20835 msgstr ""
20836
20837 # type: =head2
20838 #: ../fish/guestfish-actions.pod:3711
20839 msgid "truncate-size"
20840 msgstr ""
20841
20842 # type: verbatim
20843 #: ../fish/guestfish-actions.pod:3713
20844 #, no-wrap
20845 msgid ""
20846 " truncate-size path size\n"
20847 "\n"
20848 msgstr ""
20849
20850 # type: textblock
20851 #: ../fish/guestfish-actions.pod:3718
20852 msgid ""
20853 "If the current file size is less than C<size> then the file is extended to "
20854 "the required size with zero bytes.  This creates a sparse file (ie. disk "
20855 "blocks are not allocated for the file until you write to it).  To create a "
20856 "non-sparse file of zeroes, use C<fallocate64> instead."
20857 msgstr ""
20858
20859 # type: =head2
20860 #: ../fish/guestfish-actions.pod:3724
20861 msgid "tune2fs-l"
20862 msgstr ""
20863
20864 # type: verbatim
20865 #: ../fish/guestfish-actions.pod:3726
20866 #, no-wrap
20867 msgid ""
20868 " tune2fs-l device\n"
20869 "\n"
20870 msgstr ""
20871
20872 # type: =head2
20873 #: ../fish/guestfish-actions.pod:3736
20874 msgid "txz-in"
20875 msgstr ""
20876
20877 # type: verbatim
20878 #: ../fish/guestfish-actions.pod:3738
20879 #, no-wrap
20880 msgid ""
20881 " txz-in (tarball|-) directory\n"
20882 "\n"
20883 msgstr ""
20884
20885 # type: =head2
20886 #: ../fish/guestfish-actions.pod:3745
20887 msgid "txz-out"
20888 msgstr ""
20889
20890 # type: verbatim
20891 #: ../fish/guestfish-actions.pod:3747
20892 #, no-wrap
20893 msgid ""
20894 " txz-out directory (tarball|-)\n"
20895 "\n"
20896 msgstr ""
20897
20898 # type: =head2
20899 #: ../fish/guestfish-actions.pod:3754
20900 msgid "umask"
20901 msgstr ""
20902
20903 # type: verbatim
20904 #: ../fish/guestfish-actions.pod:3756
20905 #, no-wrap
20906 msgid ""
20907 " umask mask\n"
20908 "\n"
20909 msgstr ""
20910
20911 # type: textblock
20912 #: ../fish/guestfish-actions.pod:3770
20913 msgid "See also C<get-umask>, L<umask(2)>, C<mknod>, C<mkdir>."
20914 msgstr ""
20915
20916 # type: =head2
20917 #: ../fish/guestfish-actions.pod:3775
20918 msgid "umount | unmount"
20919 msgstr ""
20920
20921 # type: verbatim
20922 #: ../fish/guestfish-actions.pod:3777
20923 #, no-wrap
20924 msgid ""
20925 " umount pathordevice\n"
20926 "\n"
20927 msgstr ""
20928
20929 # type: =head2
20930 #: ../fish/guestfish-actions.pod:3783
20931 msgid "umount-all | unmount-all"
20932 msgstr ""
20933
20934 # type: verbatim
20935 #: ../fish/guestfish-actions.pod:3785
20936 #, no-wrap
20937 msgid ""
20938 " umount-all\n"
20939 "\n"
20940 msgstr ""
20941
20942 # type: =head2
20943 #: ../fish/guestfish-actions.pod:3791
20944 msgid "upload"
20945 msgstr ""
20946
20947 # type: verbatim
20948 #: ../fish/guestfish-actions.pod:3793
20949 #, no-wrap
20950 msgid ""
20951 " upload (filename|-) remotefilename\n"
20952 "\n"
20953 msgstr ""
20954
20955 # type: textblock
20956 #: ../fish/guestfish-actions.pod:3800
20957 msgid "See also C<download>."
20958 msgstr ""
20959
20960 # type: =head2
20961 #: ../fish/guestfish-actions.pod:3804
20962 msgid "utimens"
20963 msgstr ""
20964
20965 # type: verbatim
20966 #: ../fish/guestfish-actions.pod:3806
20967 #, no-wrap
20968 msgid ""
20969 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
20970 "\n"
20971 msgstr ""
20972
20973 # type: =head2
20974 #: ../fish/guestfish-actions.pod:3825
20975 msgid "version"
20976 msgstr ""
20977
20978 # type: verbatim
20979 #: ../fish/guestfish-actions.pod:3827
20980 #, no-wrap
20981 msgid ""
20982 " version\n"
20983 "\n"
20984 msgstr ""
20985
20986 # type: textblock
20987 #: ../fish/guestfish-actions.pod:3854
20988 msgid ""
20989 "I<Note:> Don't use this call to test for availability of features.  In "
20990 "enterprise distributions we backport features from later versions into "
20991 "earlier versions, making this an unreliable way to test for features.  Use "
20992 "C<available> instead."
20993 msgstr ""
20994
20995 # type: =head2
20996 #: ../fish/guestfish-actions.pod:3860
20997 msgid "vfs-label"
20998 msgstr ""
20999
21000 # type: verbatim
21001 #: ../fish/guestfish-actions.pod:3862
21002 #, no-wrap
21003 msgid ""
21004 " vfs-label device\n"
21005 "\n"
21006 msgstr ""
21007
21008 # type: textblock
21009 #: ../fish/guestfish-actions.pod:3869
21010 msgid "To find a filesystem from the label, use C<findfs-label>."
21011 msgstr ""
21012
21013 # type: =head2
21014 #: ../fish/guestfish-actions.pod:3871
21015 msgid "vfs-type"
21016 msgstr ""
21017
21018 # type: verbatim
21019 #: ../fish/guestfish-actions.pod:3873
21020 #, no-wrap
21021 msgid ""
21022 " vfs-type device\n"
21023 "\n"
21024 msgstr ""
21025
21026 # type: =head2
21027 #: ../fish/guestfish-actions.pod:3883
21028 msgid "vfs-uuid"
21029 msgstr ""
21030
21031 # type: verbatim
21032 #: ../fish/guestfish-actions.pod:3885
21033 #, no-wrap
21034 msgid ""
21035 " vfs-uuid device\n"
21036 "\n"
21037 msgstr ""
21038
21039 # type: textblock
21040 #: ../fish/guestfish-actions.pod:3892
21041 msgid "To find a filesystem from the UUID, use C<findfs-uuid>."
21042 msgstr ""
21043
21044 # type: =head2
21045 #: ../fish/guestfish-actions.pod:3894
21046 msgid "vg-activate"
21047 msgstr ""
21048
21049 # type: verbatim
21050 #: ../fish/guestfish-actions.pod:3896
21051 #, no-wrap
21052 msgid ""
21053 " vg-activate true|false 'volgroups ...'\n"
21054 "\n"
21055 msgstr ""
21056
21057 # type: =head2
21058 #: ../fish/guestfish-actions.pod:3909
21059 msgid "vg-activate-all"
21060 msgstr ""
21061
21062 # type: verbatim
21063 #: ../fish/guestfish-actions.pod:3911
21064 #, no-wrap
21065 msgid ""
21066 " vg-activate-all true|false\n"
21067 "\n"
21068 msgstr ""
21069
21070 # type: =head2
21071 #: ../fish/guestfish-actions.pod:3921
21072 msgid "vgcreate"
21073 msgstr ""
21074
21075 # type: verbatim
21076 #: ../fish/guestfish-actions.pod:3923
21077 #, no-wrap
21078 msgid ""
21079 " vgcreate volgroup 'physvols ...'\n"
21080 "\n"
21081 msgstr ""
21082
21083 # type: =head2
21084 #: ../fish/guestfish-actions.pod:3928
21085 msgid "vglvuuids"
21086 msgstr ""
21087
21088 # type: verbatim
21089 #: ../fish/guestfish-actions.pod:3930
21090 #, no-wrap
21091 msgid ""
21092 " vglvuuids vgname\n"
21093 "\n"
21094 msgstr ""
21095
21096 # type: textblock
21097 #: ../fish/guestfish-actions.pod:3935
21098 msgid ""
21099 "You can use this along with C<lvs> and C<lvuuid> calls to associate logical "
21100 "volumes and volume groups."
21101 msgstr ""
21102
21103 # type: textblock
21104 #: ../fish/guestfish-actions.pod:3938
21105 msgid "See also C<vgpvuuids>."
21106 msgstr ""
21107
21108 # type: =head2
21109 #: ../fish/guestfish-actions.pod:3940
21110 msgid "vgpvuuids"
21111 msgstr ""
21112
21113 # type: verbatim
21114 #: ../fish/guestfish-actions.pod:3942
21115 #, no-wrap
21116 msgid ""
21117 " vgpvuuids vgname\n"
21118 "\n"
21119 msgstr ""
21120
21121 # type: textblock
21122 #: ../fish/guestfish-actions.pod:3947
21123 msgid ""
21124 "You can use this along with C<pvs> and C<pvuuid> calls to associate physical "
21125 "volumes and volume groups."
21126 msgstr ""
21127
21128 # type: textblock
21129 #: ../fish/guestfish-actions.pod:3950
21130 msgid "See also C<vglvuuids>."
21131 msgstr ""
21132
21133 # type: =head2
21134 #: ../fish/guestfish-actions.pod:3952
21135 msgid "vgremove"
21136 msgstr ""
21137
21138 # type: verbatim
21139 #: ../fish/guestfish-actions.pod:3954
21140 #, no-wrap
21141 msgid ""
21142 " vgremove vgname\n"
21143 "\n"
21144 msgstr ""
21145
21146 # type: =head2
21147 #: ../fish/guestfish-actions.pod:3961
21148 msgid "vgrename"
21149 msgstr ""
21150
21151 # type: verbatim
21152 #: ../fish/guestfish-actions.pod:3963
21153 #, no-wrap
21154 msgid ""
21155 " vgrename volgroup newvolgroup\n"
21156 "\n"
21157 msgstr ""
21158
21159 # type: =head2
21160 #: ../fish/guestfish-actions.pod:3967
21161 msgid "vgs"
21162 msgstr ""
21163
21164 # type: verbatim
21165 #: ../fish/guestfish-actions.pod:3969
21166 #, no-wrap
21167 msgid ""
21168 " vgs\n"
21169 "\n"
21170 msgstr ""
21171
21172 # type: textblock
21173 #: ../fish/guestfish-actions.pod:3977
21174 msgid "See also C<vgs-full>."
21175 msgstr ""
21176
21177 # type: =head2
21178 #: ../fish/guestfish-actions.pod:3979
21179 msgid "vgs-full"
21180 msgstr ""
21181
21182 # type: verbatim
21183 #: ../fish/guestfish-actions.pod:3981
21184 #, no-wrap
21185 msgid ""
21186 " vgs-full\n"
21187 "\n"
21188 msgstr ""
21189
21190 # type: =head2
21191 #: ../fish/guestfish-actions.pod:3986
21192 msgid "vgscan"
21193 msgstr ""
21194
21195 # type: verbatim
21196 #: ../fish/guestfish-actions.pod:3988
21197 #, no-wrap
21198 msgid ""
21199 " vgscan\n"
21200 "\n"
21201 msgstr ""
21202
21203 # type: =head2
21204 #: ../fish/guestfish-actions.pod:3993
21205 msgid "vguuid"
21206 msgstr ""
21207
21208 # type: verbatim
21209 #: ../fish/guestfish-actions.pod:3995
21210 #, no-wrap
21211 msgid ""
21212 " vguuid vgname\n"
21213 "\n"
21214 msgstr ""
21215
21216 # type: =head2
21217 #: ../fish/guestfish-actions.pod:3999
21218 msgid "wc-c"
21219 msgstr ""
21220
21221 # type: verbatim
21222 #: ../fish/guestfish-actions.pod:4001
21223 #, no-wrap
21224 msgid ""
21225 " wc-c path\n"
21226 "\n"
21227 msgstr ""
21228
21229 # type: =head2
21230 #: ../fish/guestfish-actions.pod:4006
21231 msgid "wc-l"
21232 msgstr ""
21233
21234 # type: verbatim
21235 #: ../fish/guestfish-actions.pod:4008
21236 #, no-wrap
21237 msgid ""
21238 " wc-l path\n"
21239 "\n"
21240 msgstr ""
21241
21242 # type: =head2
21243 #: ../fish/guestfish-actions.pod:4013
21244 msgid "wc-w"
21245 msgstr ""
21246
21247 # type: verbatim
21248 #: ../fish/guestfish-actions.pod:4015
21249 #, no-wrap
21250 msgid ""
21251 " wc-w path\n"
21252 "\n"
21253 msgstr ""
21254
21255 # type: =head2
21256 #: ../fish/guestfish-actions.pod:4020
21257 msgid "write"
21258 msgstr ""
21259
21260 # type: verbatim
21261 #: ../fish/guestfish-actions.pod:4022
21262 #, no-wrap
21263 msgid ""
21264 " write path content\n"
21265 "\n"
21266 msgstr ""
21267
21268 # type: =head2
21269 #: ../fish/guestfish-actions.pod:4030
21270 msgid "write-file"
21271 msgstr ""
21272
21273 # type: verbatim
21274 #: ../fish/guestfish-actions.pod:4032
21275 #, no-wrap
21276 msgid ""
21277 " write-file path content size\n"
21278 "\n"
21279 msgstr ""
21280
21281 # type: =head2
21282 #: ../fish/guestfish-actions.pod:4055
21283 msgid "zegrep"
21284 msgstr ""
21285
21286 # type: verbatim
21287 #: ../fish/guestfish-actions.pod:4057
21288 #, no-wrap
21289 msgid ""
21290 " zegrep regex path\n"
21291 "\n"
21292 msgstr ""
21293
21294 # type: =head2
21295 #: ../fish/guestfish-actions.pod:4065
21296 msgid "zegrepi"
21297 msgstr ""
21298
21299 # type: verbatim
21300 #: ../fish/guestfish-actions.pod:4067
21301 #, no-wrap
21302 msgid ""
21303 " zegrepi regex path\n"
21304 "\n"
21305 msgstr ""
21306
21307 # type: =head2
21308 #: ../fish/guestfish-actions.pod:4075
21309 msgid "zero"
21310 msgstr ""
21311
21312 # type: verbatim
21313 #: ../fish/guestfish-actions.pod:4077
21314 #, no-wrap
21315 msgid ""
21316 " zero device\n"
21317 "\n"
21318 msgstr ""
21319
21320 # type: textblock
21321 #: ../fish/guestfish-actions.pod:4085
21322 msgid "See also: C<zero-device>, C<scrub-device>."
21323 msgstr ""
21324
21325 # type: =head2
21326 #: ../fish/guestfish-actions.pod:4087
21327 msgid "zero-device"
21328 msgstr ""
21329
21330 # type: verbatim
21331 #: ../fish/guestfish-actions.pod:4089
21332 #, no-wrap
21333 msgid ""
21334 " zero-device device\n"
21335 "\n"
21336 msgstr ""
21337
21338 # type: textblock
21339 #: ../fish/guestfish-actions.pod:4091
21340 msgid ""
21341 "This command writes zeroes over the entire C<device>.  Compare with C<zero> "
21342 "which just zeroes the first few blocks of a device."
21343 msgstr ""
21344
21345 # type: =head2
21346 #: ../fish/guestfish-actions.pod:4098
21347 msgid "zerofree"
21348 msgstr ""
21349
21350 # type: verbatim
21351 #: ../fish/guestfish-actions.pod:4100
21352 #, no-wrap
21353 msgid ""
21354 " zerofree device\n"
21355 "\n"
21356 msgstr ""
21357
21358 # type: =head2
21359 #: ../fish/guestfish-actions.pod:4113
21360 msgid "zfgrep"
21361 msgstr ""
21362
21363 # type: verbatim
21364 #: ../fish/guestfish-actions.pod:4115
21365 #, no-wrap
21366 msgid ""
21367 " zfgrep pattern path\n"
21368 "\n"
21369 msgstr ""
21370
21371 # type: =head2
21372 #: ../fish/guestfish-actions.pod:4123
21373 msgid "zfgrepi"
21374 msgstr ""
21375
21376 # type: verbatim
21377 #: ../fish/guestfish-actions.pod:4125
21378 #, no-wrap
21379 msgid ""
21380 " zfgrepi pattern path\n"
21381 "\n"
21382 msgstr ""
21383
21384 # type: =head2
21385 #: ../fish/guestfish-actions.pod:4133
21386 msgid "zfile"
21387 msgstr ""
21388
21389 # type: verbatim
21390 #: ../fish/guestfish-actions.pod:4135
21391 #, no-wrap
21392 msgid ""
21393 " zfile meth path\n"
21394 "\n"
21395 msgstr ""
21396
21397 # type: textblock
21398 #: ../fish/guestfish-actions.pod:4142
21399 msgid "Since 1.0.63, use C<file> instead which can now process compressed files."
21400 msgstr ""
21401
21402 # type: =head2
21403 #: ../fish/guestfish-actions.pod:4152
21404 msgid "zgrep"
21405 msgstr ""
21406
21407 # type: verbatim
21408 #: ../fish/guestfish-actions.pod:4154
21409 #, no-wrap
21410 msgid ""
21411 " zgrep regex path\n"
21412 "\n"
21413 msgstr ""
21414
21415 # type: =head2
21416 #: ../fish/guestfish-actions.pod:4162
21417 msgid "zgrepi"
21418 msgstr ""
21419
21420 # type: verbatim
21421 #: ../fish/guestfish-actions.pod:4164
21422 #, no-wrap
21423 msgid ""
21424 " zgrepi regex path\n"
21425 "\n"
21426 msgstr ""
21427
21428 # type: textblock
21429 #: ../test-tool/libguestfs-test-tool.pod:5
21430 msgid "libguestfs-test-tool - End user tests for libguestfs"
21431 msgstr ""
21432
21433 # type: verbatim
21434 #: ../test-tool/libguestfs-test-tool.pod:9
21435 #, no-wrap
21436 msgid ""
21437 " libguestfs-test-tool [--options]\n"
21438 "\n"
21439 msgstr ""
21440
21441 # type: textblock
21442 #: ../test-tool/libguestfs-test-tool.pod:13
21443 msgid ""
21444 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
21445 "and developers, to allow them to check basic libguestfs functionality is "
21446 "working.  This is needed because libguestfs occasionally breaks for reasons "
21447 "beyond our control: usually because of changes in the underlying qemu or "
21448 "kernel packages, or the host environment."
21449 msgstr ""
21450
21451 # type: textblock
21452 #: ../test-tool/libguestfs-test-tool.pod:20
21453 msgid "If you suspect a problem in libguestfs, then just run:"
21454 msgstr ""
21455
21456 # type: verbatim
21457 #: ../test-tool/libguestfs-test-tool.pod:22
21458 #, no-wrap
21459 msgid ""
21460 " libguestfs-test-tool\n"
21461 "\n"
21462 msgstr ""
21463
21464 # type: textblock
21465 #: ../test-tool/libguestfs-test-tool.pod:24
21466 msgid "It will print lots of diagnostic messages."
21467 msgstr ""
21468
21469 # type: textblock
21470 #: ../test-tool/libguestfs-test-tool.pod:26
21471 msgid "If it runs to completion successfully, you will see this near the end:"
21472 msgstr ""
21473
21474 # type: verbatim
21475 #: ../test-tool/libguestfs-test-tool.pod:28
21476 #, no-wrap
21477 msgid ""
21478 " ===== TEST FINISHED OK =====\n"
21479 "\n"
21480 msgstr ""
21481
21482 # type: textblock
21483 #: ../test-tool/libguestfs-test-tool.pod:30
21484 msgid "and the test tool will exit with code 0."
21485 msgstr ""
21486
21487 # type: textblock
21488 #: ../test-tool/libguestfs-test-tool.pod:32
21489 msgid ""
21490 "If it fails (and/or exits with non-zero error code), please paste the "
21491 "B<complete, unedited> output of the test tool into a bug report.  More "
21492 "information about reporting bugs can be found on the "
21493 "L<http://libguestfs.org/> website."
21494 msgstr ""
21495
21496 # type: =item
21497 #: ../test-tool/libguestfs-test-tool.pod:41
21498 msgid "I<--help>"
21499 msgstr ""
21500
21501 # type: textblock
21502 #: ../test-tool/libguestfs-test-tool.pod:43
21503 msgid "Display short usage information and exit."
21504 msgstr ""
21505
21506 # type: =item
21507 #: ../test-tool/libguestfs-test-tool.pod:45
21508 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
21509 msgstr ""
21510
21511 # type: textblock
21512 #: ../test-tool/libguestfs-test-tool.pod:47
21513 msgid ""
21514 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
21515 "normally look in the C<$libexec> directory that was configured when the tool "
21516 "was built."
21517 msgstr ""
21518
21519 # type: =item
21520 #: ../test-tool/libguestfs-test-tool.pod:51
21521 msgid "I<--qemu qemu_binary>"
21522 msgstr ""
21523
21524 # type: textblock
21525 #: ../test-tool/libguestfs-test-tool.pod:53
21526 msgid ""
21527 "If you have downloaded another qemu binary, point this option at the full "
21528 "path of the binary to try it."
21529 msgstr ""
21530
21531 # type: =item
21532 #: ../test-tool/libguestfs-test-tool.pod:56
21533 msgid "I<--qemudir qemu_source_dir>"
21534 msgstr ""
21535
21536 # type: textblock
21537 #: ../test-tool/libguestfs-test-tool.pod:58
21538 msgid ""
21539 "If you have compiled qemu from source, point this option at the source "
21540 "directory to try it."
21541 msgstr ""
21542
21543 # type: =item
21544 #: ../test-tool/libguestfs-test-tool.pod:61
21545 msgid "I<--timeout N>"
21546 msgstr ""
21547
21548 # type: textblock
21549 #: ../test-tool/libguestfs-test-tool.pod:63
21550 msgid ""
21551 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
21552 "does not usually need to be adjusted unless your machine is very slow."
21553 msgstr ""
21554
21555 # type: =head1
21556 #: ../test-tool/libguestfs-test-tool.pod:69
21557 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
21558 msgstr ""
21559
21560 # type: textblock
21561 #: ../test-tool/libguestfs-test-tool.pod:71
21562 msgid ""
21563 "If you have compiled another version of qemu from source and would like to "
21564 "try that, then you can use the I<--qemudir> option to point to the qemu "
21565 "source directory."
21566 msgstr ""
21567
21568 # type: textblock
21569 #: ../test-tool/libguestfs-test-tool.pod:75
21570 msgid ""
21571 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
21572 "option to point to the binary."
21573 msgstr ""
21574
21575 # type: textblock
21576 #: ../test-tool/libguestfs-test-tool.pod:78
21577 msgid ""
21578 "When using an alternate qemu with libguestfs, usually you would need to "
21579 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in "
21580 "L<guestfs(3)>).  libguestfs-test-tool writes a temporary qemu wrapper script "
21581 "when you use either of the I<--qemudir> or I<--qemu> options."
21582 msgstr ""
21583
21584 # type: textblock
21585 #: ../test-tool/libguestfs-test-tool.pod:85
21586 msgid ""
21587 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
21588 "I<1> if there was an error."
21589 msgstr ""
21590
21591 # type: =item
21592 #: ../test-tool/libguestfs-test-tool.pod:92
21593 msgid "/usr/libexec/libguestfs-test-tool-helper"
21594 msgstr ""
21595
21596 # type: textblock
21597 #: ../test-tool/libguestfs-test-tool.pod:94
21598 msgid ""
21599 "This helper program is run inside the appliance and provides additional "
21600 "tests."
21601 msgstr ""
21602
21603 # type: =item
21604 #: ../test-tool/libguestfs-test-tool.pod:97
21605 msgid "/usr/bin/mkisofs"
21606 msgstr ""
21607
21608 # type: textblock
21609 #: ../test-tool/libguestfs-test-tool.pod:99
21610 msgid ""
21611 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
21612 "which is used as part of the tests."
21613 msgstr ""
21614
21615 # type: textblock
21616 #: ../test-tool/libguestfs-test-tool.pod:106
21617 msgid ""
21618 "For the full list of environment variables which may affect libguestfs, "
21619 "please see the L<guestfs(3)> manual page."
21620 msgstr ""
21621
21622 # type: textblock
21623 #: ../test-tool/libguestfs-test-tool.pod:111
21624 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
21625 msgstr ""
21626
21627 # type: textblock
21628 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
21629 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
21630 msgstr ""
21631
21632 # type: textblock
21633 #: ../fuse/guestmount.pod:5
21634 msgid "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
21635 msgstr ""
21636
21637 # type: verbatim
21638 #: ../fuse/guestmount.pod:9
21639 #, no-wrap
21640 msgid ""
21641 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
21642 "\n"
21643 msgstr ""
21644
21645 # type: textblock
21646 #: ../fuse/guestmount.pod:13
21647 msgid ""
21648 "You must I<not> use C<guestmount> in read-write mode on live virtual "
21649 "machines.  If you do this, you risk disk corruption in the VM."
21650 msgstr ""
21651
21652 # type: textblock
21653 #: ../fuse/guestmount.pod:18
21654 msgid ""
21655 "The guestmount program can be used to mount virtual machine filesystems and "
21656 "other disk images on the host.  It uses libguestfs for access to the guest "
21657 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
21658 "a mountable device."
21659 msgstr ""
21660
21661 # type: textblock
21662 #: ../fuse/guestmount.pod:23
21663 msgid ""
21664 "Along with other options, you have to give at least one device (I<-a> "
21665 "option) and at least one mountpoint (I<-m> option).  How this works is "
21666 "better explained in the L<guestfish(1)> manual page, or you can use "
21667 "L<virt-inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help "
21668 "you."
21669 msgstr ""
21670
21671 # type: textblock
21672 #: ../fuse/guestmount.pod:29
21673 msgid ""
21674 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
21675 "by you, and the filesystem will not be visible to any other users unless you "
21676 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
21677 "the filesystem, use the C<fusermount -u> command."
21678 msgstr ""
21679
21680 # type: textblock
21681 #: ../fuse/guestmount.pod:37
21682 msgid ""
21683 "For a typical Windows guest which has its main filesystem on the first "
21684 "partition:"
21685 msgstr ""
21686
21687 # type: verbatim
21688 #: ../fuse/guestmount.pod:40
21689 #, no-wrap
21690 msgid ""
21691 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
21692 "\n"
21693 msgstr ""
21694
21695 # type: textblock
21696 #: ../fuse/guestmount.pod:42
21697 msgid ""
21698 "For a typical Linux guest which has a /boot filesystem on the first "
21699 "partition, and the root filesystem on a logical volume:"
21700 msgstr ""
21701
21702 # type: verbatim
21703 #: ../fuse/guestmount.pod:45
21704 #, no-wrap
21705 msgid ""
21706 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
21707 "\n"
21708 msgstr ""
21709
21710 # type: textblock
21711 #: ../fuse/guestmount.pod:47
21712 msgid ""
21713 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
21714 "mountpoints for you:"
21715 msgstr ""
21716
21717 # type: verbatim
21718 #: ../fuse/guestmount.pod:50
21719 #, no-wrap
21720 msgid ""
21721 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
21722 "\n"
21723 msgstr ""
21724
21725 # type: textblock
21726 #: ../fuse/guestmount.pod:52
21727 msgid ""
21728 "(or use --fish if you don't want it to be a read only mount).  The option is "
21729 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
21730 "with L<guestfish(1)>."
21731 msgstr ""
21732
21733 # type: textblock
21734 #: ../fuse/guestmount.pod:56
21735 msgid ""
21736 "If you don't know what filesystems are contained in a guest or disk image, "
21737 "use L<virt-list-filesystems(1)> first:"
21738 msgstr ""
21739
21740 # type: verbatim
21741 #: ../fuse/guestmount.pod:59
21742 #, no-wrap
21743 msgid ""
21744 " virt-list-filesystems MyGuest\n"
21745 "\n"
21746 msgstr ""
21747
21748 # type: textblock
21749 #: ../fuse/guestmount.pod:61
21750 msgid ""
21751 "If you want to trace the libguestfs calls but without excessive debugging, "
21752 "we recommend:"
21753 msgstr ""
21754
21755 # type: verbatim
21756 #: ../fuse/guestmount.pod:64
21757 #, no-wrap
21758 msgid ""
21759 " guestmount [-a ... -m ...] --trace /mnt\n"
21760 "\n"
21761 msgstr ""
21762
21763 # type: textblock
21764 #: ../fuse/guestmount.pod:66
21765 msgid "If you want to debug the program, we recommend:"
21766 msgstr ""
21767
21768 # type: verbatim
21769 #: ../fuse/guestmount.pod:68
21770 #, no-wrap
21771 msgid ""
21772 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
21773 "\n"
21774 msgstr ""
21775
21776 # type: textblock
21777 #: ../fuse/guestmount.pod:76
21778 msgid "Add a block device or virtual machine image."
21779 msgstr ""
21780
21781 # type: =item
21782 #: ../fuse/guestmount.pod:78
21783 msgid "B<--dir-cache-timeout N>"
21784 msgstr ""
21785
21786 # type: textblock
21787 #: ../fuse/guestmount.pod:80
21788 msgid ""
21789 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
21790 "seconds.  The readdir cache [actually, there are several semi-independent "
21791 "caches] is populated after a readdir(2) call with the stat and extended "
21792 "attributes of the files in the directory, in anticipation that they will be "
21793 "requested soon after."
21794 msgstr ""
21795
21796 # type: textblock
21797 #: ../fuse/guestmount.pod:86
21798 msgid ""
21799 "There is also a different attribute cache implemented by FUSE (see the FUSE "
21800 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
21801 "requests, only cache existing ones."
21802 msgstr ""
21803
21804 # type: =item
21805 #: ../fuse/guestmount.pod:90
21806 msgid "B<--fuse-help>"
21807 msgstr ""
21808
21809 # type: textblock
21810 #: ../fuse/guestmount.pod:92
21811 msgid "Display help on special FUSE options (see I<-o> below)."
21812 msgstr ""
21813
21814 # type: textblock
21815 #: ../fuse/guestmount.pod:96
21816 msgid "Display brief help and exit."
21817 msgstr ""
21818
21819 # type: =item
21820 #: ../fuse/guestmount.pod:98
21821 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
21822 msgstr ""
21823
21824 # type: textblock
21825 #: ../fuse/guestmount.pod:100
21826 msgid ""
21827 "Mount the named partition or logical volume on the given mountpoint B<in the "
21828 "guest> (this has nothing to do with mountpoints in the host)."
21829 msgstr ""
21830
21831 # type: textblock
21832 #: ../fuse/guestmount.pod:103
21833 msgid ""
21834 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
21835 "something on C</>."
21836 msgstr ""
21837
21838 # type: textblock
21839 #: ../fuse/guestmount.pod:108
21840 msgid ""
21841 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
21842 "unmounted.  If you specify this option, then we don't attempt to sync the "
21843 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
21844 msgstr ""
21845
21846 # type: =item
21847 #: ../fuse/guestmount.pod:113
21848 msgid "B<-o option> | B<--option option>"
21849 msgstr ""
21850
21851 # type: textblock
21852 #: ../fuse/guestmount.pod:115
21853 msgid "Pass extra options to FUSE."
21854 msgstr ""
21855
21856 # type: textblock
21857 #: ../fuse/guestmount.pod:117
21858 msgid ""
21859 "To get a list of all the extra options supported by FUSE, use the command "
21860 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
21861 "of them are a good idea."
21862 msgstr ""
21863
21864 # type: verbatim
21865 #: ../fuse/guestmount.pod:121
21866 #, no-wrap
21867 msgid ""
21868 " guestmount --fuse-help\n"
21869 "\n"
21870 msgstr ""
21871
21872 # type: textblock
21873 #: ../fuse/guestmount.pod:123
21874 msgid "Some potentially useful FUSE options:"
21875 msgstr ""
21876
21877 # type: =item
21878 #: ../fuse/guestmount.pod:127
21879 msgid "B<-o allow_other>"
21880 msgstr ""
21881
21882 # type: textblock
21883 #: ../fuse/guestmount.pod:129
21884 msgid "Allow other users to see the filesystem."
21885 msgstr ""
21886
21887 # type: =item
21888 #: ../fuse/guestmount.pod:131
21889 msgid "B<-o attr_timeout=N>"
21890 msgstr ""
21891
21892 # type: textblock
21893 #: ../fuse/guestmount.pod:133
21894 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
21895 msgstr ""
21896
21897 # type: =item
21898 #: ../fuse/guestmount.pod:135
21899 msgid "B<-o kernel_cache>"
21900 msgstr ""
21901
21902 # type: textblock
21903 #: ../fuse/guestmount.pod:137
21904 msgid ""
21905 "Allow the kernel to cache files (reduces the number of reads that have to go "
21906 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
21907 "afford the extra memory usage."
21908 msgstr ""
21909
21910 # type: =item
21911 #: ../fuse/guestmount.pod:141
21912 msgid "B<-o uid=N> B<-o gid=N>"
21913 msgstr ""
21914
21915 # type: textblock
21916 #: ../fuse/guestmount.pod:143
21917 msgid ""
21918 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
21919 "the chosen values."
21920 msgstr ""
21921
21922 # type: textblock
21923 #: ../fuse/guestmount.pod:150
21924 msgid ""
21925 "Add devices and mount everything read-only.  Also disallow writes and make "
21926 "the disk appear read-only to FUSE."
21927 msgstr ""
21928
21929 # type: textblock
21930 #: ../fuse/guestmount.pod:153
21931 msgid ""
21932 "This is highly recommended if you are not going to edit the guest disk.  If "
21933 "the guest is running and this option is I<not> supplied, then there is a "
21934 "strong risk of disk corruption in the guest.  We try to prevent this from "
21935 "happening, but it is not always possible."
21936 msgstr ""
21937
21938 # type: textblock
21939 #: ../fuse/guestmount.pod:160
21940 msgid "Enable SELinux support for the guest."
21941 msgstr ""
21942
21943 # type: =item
21944 #: ../fuse/guestmount.pod:162
21945 msgid "B<--trace>"
21946 msgstr ""
21947
21948 # type: textblock
21949 #: ../fuse/guestmount.pod:164
21950 msgid "Trace libguestfs calls (to stderr)."
21951 msgstr ""
21952
21953 # type: textblock
21954 #: ../fuse/guestmount.pod:166
21955 msgid "This also stops the daemon from forking into the background."
21956 msgstr ""
21957
21958 # type: textblock
21959 #: ../fuse/guestmount.pod:170
21960 msgid "Enable verbose messages from underlying libguestfs."
21961 msgstr ""
21962
21963 # type: textblock
21964 #: ../fuse/guestmount.pod:174
21965 msgid "Display the program version and exit."
21966 msgstr ""
21967
21968 # type: textblock
21969 #: ../fuse/guestmount.pod:180
21970 msgid ""
21971 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
21972 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, "
21973 "L<http://fuse.sf.net/>."
21974 msgstr ""
21975
21976 # type: textblock
21977 #: ../inspector/virt-inspector.pl:40
21978 msgid ""
21979 "virt-inspector - Display OS version, kernel, drivers, mount points, "
21980 "applications, etc. in a virtual machine"
21981 msgstr ""
21982
21983 # type: verbatim
21984 #: ../inspector/virt-inspector.pl:44
21985 #, no-wrap
21986 msgid ""
21987 " virt-inspector [--connect URI] domname\n"
21988 "\n"
21989 msgstr ""
21990
21991 # type: verbatim
21992 #: ../inspector/virt-inspector.pl:46
21993 #, no-wrap
21994 msgid ""
21995 " virt-inspector guest.img [guest.img ...]\n"
21996 "\n"
21997 msgstr ""
21998
21999 # type: textblock
22000 #: ../inspector/virt-inspector.pl:50
22001 msgid ""
22002 "B<virt-inspector> examines a virtual machine and tries to determine the "
22003 "version of the OS, the kernel version, what drivers are installed, whether "
22004 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
22005 "applications are installed and more."
22006 msgstr ""
22007
22008 # type: textblock
22009 #: ../inspector/virt-inspector.pl:55
22010 msgid ""
22011 "Virt-inspector can produce output in several formats, including a readable "
22012 "text report, and XML for feeding into other programs."
22013 msgstr ""
22014
22015 # type: textblock
22016 #: ../inspector/virt-inspector.pl:58
22017 msgid ""
22018 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
22019 "libvirt domain (see: C<virsh list --all>)."
22020 msgstr ""
22021
22022 # type: textblock
22023 #: ../inspector/virt-inspector.pl:61
22024 msgid ""
22025 "You can also run virt-inspector directly on disk images from a single "
22026 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
22027 "has several block devices, in which case you should list them one after "
22028 "another, with the first corresponding to the guest's C</dev/sda>, the second "
22029 "to the guest's C</dev/sdb> and so on."
22030 msgstr ""
22031
22032 # type: textblock
22033 #: ../inspector/virt-inspector.pl:67
22034 msgid ""
22035 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
22036 "inspect several virtual machines, you have to run virt-inspector several "
22037 "times (for example, from a shell script for-loop)."
22038 msgstr ""
22039
22040 # type: textblock
22041 #: ../inspector/virt-inspector.pl:72
22042 msgid ""
22043 "Because virt-inspector needs direct access to guest images, it won't "
22044 "normally work over remote libvirt connections."
22045 msgstr ""
22046
22047 # type: textblock
22048 #: ../inspector/virt-inspector.pl:85 ../tools/virt-cat.pl:90 ../tools/virt-df.pl:81 ../tools/virt-edit.pl:83 ../tools/virt-list-filesystems.pl:60 ../tools/virt-list-partitions.pl:61 ../tools/virt-ls.pl:89 ../tools/virt-make-fs.pl:163 ../tools/virt-rescue.pl:113 ../tools/virt-tar.pl:109 ../tools/virt-win-reg.pl:182
22049 msgid "Display brief help."
22050 msgstr ""
22051
22052 # type: =item
22053 #: ../inspector/virt-inspector.pl:91 ../tools/virt-cat.pl:96 ../tools/virt-df.pl:87 ../tools/virt-edit.pl:89 ../tools/virt-list-filesystems.pl:66 ../tools/virt-list-partitions.pl:67 ../tools/virt-ls.pl:95 ../tools/virt-make-fs.pl:169 ../tools/virt-rescue.pl:119 ../tools/virt-resize.pl:249 ../tools/virt-tar.pl:115 ../tools/virt-win-reg.pl:188
22054 msgid "B<--version>"
22055 msgstr ""
22056
22057 # type: textblock
22058 #: ../inspector/virt-inspector.pl:93 ../tools/virt-cat.pl:98 ../tools/virt-df.pl:89 ../tools/virt-edit.pl:91 ../tools/virt-list-filesystems.pl:68 ../tools/virt-list-partitions.pl:69 ../tools/virt-ls.pl:97 ../tools/virt-make-fs.pl:171 ../tools/virt-rescue.pl:121 ../tools/virt-resize.pl:251 ../tools/virt-tar.pl:117 ../tools/virt-win-reg.pl:190
22059 msgid "Display version number and exit."
22060 msgstr ""
22061
22062 # type: =item
22063 #: ../inspector/virt-inspector.pl:99 ../tools/virt-cat.pl:104 ../tools/virt-df.pl:95 ../tools/virt-edit.pl:113 ../tools/virt-list-filesystems.pl:74 ../tools/virt-list-partitions.pl:75 ../tools/virt-ls.pl:103 ../tools/virt-rescue.pl:135 ../tools/virt-tar.pl:123 ../tools/virt-win-reg.pl:204
22064 msgid "B<--connect URI> | B<-c URI>"
22065 msgstr ""
22066
22067 # type: textblock
22068 #: ../inspector/virt-inspector.pl:101 ../tools/virt-cat.pl:106 ../tools/virt-df.pl:97 ../tools/virt-edit.pl:115 ../tools/virt-list-filesystems.pl:76 ../tools/virt-list-partitions.pl:77 ../tools/virt-ls.pl:105 ../tools/virt-rescue.pl:137 ../tools/virt-tar.pl:125 ../tools/virt-win-reg.pl:206
22069 msgid ""
22070 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
22071 "to the default libvirt hypervisor."
22072 msgstr ""
22073
22074 # type: textblock
22075 #: ../inspector/virt-inspector.pl:104
22076 msgid ""
22077 "Libvirt is only used if you specify a C<domname> on the command line.  If "
22078 "you specify guest block devices directly, then libvirt is not used at all."
22079 msgstr ""
22080
22081 # type: textblock
22082 #: ../inspector/virt-inspector.pl:114
22083 msgid ""
22084 "The following options select the output format.  Use only one of them.  The "
22085 "default is a readable text report."
22086 msgstr ""
22087
22088 # type: =item
22089 #: ../inspector/virt-inspector.pl:119
22090 msgid "B<--text> (default)"
22091 msgstr ""
22092
22093 # type: textblock
22094 #: ../inspector/virt-inspector.pl:121
22095 msgid "Plain text report."
22096 msgstr ""
22097
22098 # type: =item
22099 #: ../inspector/virt-inspector.pl:123
22100 msgid "B<--none>"
22101 msgstr ""
22102
22103 # type: textblock
22104 #: ../inspector/virt-inspector.pl:125
22105 msgid "Produce no output at all."
22106 msgstr ""
22107
22108 # type: =item
22109 #: ../inspector/virt-inspector.pl:127
22110 msgid "B<--xml>"
22111 msgstr ""
22112
22113 # type: textblock
22114 #: ../inspector/virt-inspector.pl:129
22115 msgid ""
22116 "If you select I<--xml> then you get XML output which can be fed to other "
22117 "programs."
22118 msgstr ""
22119
22120 # type: =item
22121 #: ../inspector/virt-inspector.pl:132
22122 msgid "B<--yaml>"
22123 msgstr ""
22124
22125 # type: textblock
22126 #: ../inspector/virt-inspector.pl:134
22127 msgid ""
22128 "If you select I<--yaml> then you get YAML output which can be fed to other "
22129 "programs."
22130 msgstr ""
22131
22132 # type: =item
22133 #: ../inspector/virt-inspector.pl:137
22134 msgid "B<--perl>"
22135 msgstr ""
22136
22137 # type: textblock
22138 #: ../inspector/virt-inspector.pl:139
22139 msgid ""
22140 "If you select I<--perl> then you get Perl structures output which can be "
22141 "used directly in another Perl program."
22142 msgstr ""
22143
22144 # type: =item
22145 #: ../inspector/virt-inspector.pl:142
22146 msgid "B<--fish>"
22147 msgstr ""
22148
22149 # type: =item
22150 #: ../inspector/virt-inspector.pl:144
22151 msgid "B<--ro-fish>"
22152 msgstr ""
22153
22154 # type: textblock
22155 #: ../inspector/virt-inspector.pl:146
22156 msgid ""
22157 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
22158 "will automatically mount up the filesystems on the correct mount points.  "
22159 "Try this for example:"
22160 msgstr ""
22161
22162 # type: verbatim
22163 #: ../inspector/virt-inspector.pl:150
22164 #, no-wrap
22165 msgid ""
22166 " guestfish $(virt-inspector --fish guest.img)\n"
22167 "\n"
22168 msgstr ""
22169
22170 # type: textblock
22171 #: ../inspector/virt-inspector.pl:152
22172 msgid ""
22173 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
22174 "that the filesystems are mounted read-only."
22175 msgstr ""
22176
22177 # type: =item
22178 #: ../inspector/virt-inspector.pl:155
22179 msgid "B<--query>"
22180 msgstr ""
22181
22182 # type: textblock
22183 #: ../inspector/virt-inspector.pl:157
22184 msgid ""
22185 "In \"query mode\" we answer common questions about the guest, such as "
22186 "whether it is fullvirt or needs a Xen hypervisor to run."
22187 msgstr ""
22188
22189 # type: textblock
22190 #: ../inspector/virt-inspector.pl:160
22191 msgid "See section I<QUERY MODE> below."
22192 msgstr ""
22193
22194 # type: =item
22195 #: ../inspector/virt-inspector.pl:166
22196 msgid "B<--windows-registry>"
22197 msgstr ""
22198
22199 # type: textblock
22200 #: ../inspector/virt-inspector.pl:168
22201 msgid ""
22202 "This flag is ignored for compatibility with earlier releases of the "
22203 "software."
22204 msgstr ""
22205
22206 # type: textblock
22207 #: ../inspector/virt-inspector.pl:171
22208 msgid ""
22209 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
22210 "information out of the Registry for any Windows guest."
22211 msgstr ""
22212
22213 # type: =head1
22214 #: ../inspector/virt-inspector.pl:218
22215 msgid "OUTPUT FORMAT"
22216 msgstr ""
22217
22218 # type: verbatim
22219 #: ../inspector/virt-inspector.pl:220
22220 #, no-wrap
22221 msgid ""
22222 " Operating system(s)\n"
22223 " -------------------\n"
22224 " Linux (distro + version)\n"
22225 " Windows (version)\n"
22226 "    |\n"
22227 "    |\n"
22228 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
22229 "         -----------            --------------     ----------------\n"
22230 "         mount point => device  List of apps       Extra information\n"
22231 "         mount point => device  and versions       about kernel(s)\n"
22232 "              ...                                  and drivers\n"
22233 "         swap => swap device\n"
22234 "         (plus lots of extra information\n"
22235 "         about each filesystem)\n"
22236 "\n"
22237 msgstr ""
22238
22239 # type: textblock
22240 #: ../inspector/virt-inspector.pl:235
22241 msgid "The output of virt-inspector is a complex two-level data structure."
22242 msgstr ""
22243
22244 # type: textblock
22245 #: ../inspector/virt-inspector.pl:237
22246 msgid ""
22247 "At the top level is a list of the operating systems installed on the guest.  "
22248 "(For the vast majority of guests, only a single OS is installed.)  The data "
22249 "returned for the OS includes the name (Linux, Windows), the distribution and "
22250 "version."
22251 msgstr ""
22252
22253 # type: textblock
22254 #: ../inspector/virt-inspector.pl:242
22255 msgid "The diagram above shows what we return for each OS."
22256 msgstr ""
22257
22258 # type: textblock
22259 #: ../inspector/virt-inspector.pl:244
22260 msgid ""
22261 "With the I<--xml> option the output is mapped into an XML document.  There "
22262 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
22263 "normally ships with virt-inspector, or can be found in the source."
22264 msgstr ""
22265
22266 # type: textblock
22267 #: ../inspector/virt-inspector.pl:249
22268 msgid ""
22269 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
22270 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
22271 "and inspect the guest with everything mounted in the right place.  For "
22272 "example:"
22273 msgstr ""
22274
22275 # type: verbatim
22276 #: ../inspector/virt-inspector.pl:254
22277 #, no-wrap
22278 msgid ""
22279 " guestfish $(virt-inspector --ro-fish guest.img)\n"
22280 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
22281 "\n"
22282 msgstr ""
22283
22284 # type: =head1
22285 #: ../inspector/virt-inspector.pl:589
22286 msgid "QUERY MODE"
22287 msgstr ""
22288
22289 # type: textblock
22290 #: ../inspector/virt-inspector.pl:591
22291 msgid ""
22292 "When you use C<virt-inspector --query>, the output is a series of lines of "
22293 "the form:"
22294 msgstr ""
22295
22296 # type: verbatim
22297 #: ../inspector/virt-inspector.pl:594
22298 #, no-wrap
22299 msgid ""
22300 " windows=no\n"
22301 " linux=yes\n"
22302 " fullvirt=yes\n"
22303 " xen_pv_drivers=no\n"
22304 "\n"
22305 msgstr ""
22306
22307 # type: textblock
22308 #: ../inspector/virt-inspector.pl:599
22309 msgid ""
22310 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
22311 "if we could not determine the answer at all)."
22312 msgstr ""
22313
22314 # type: textblock
22315 #: ../inspector/virt-inspector.pl:602
22316 msgid ""
22317 "If the guest is multiboot, you can get apparently conflicting answers "
22318 "(eg. C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and "
22319 "has a Xen PV kernel).  This is normal, and just means that the guest can do "
22320 "both things, although it might require operator intervention such as "
22321 "selecting a boot option when the guest is booting."
22322 msgstr ""
22323
22324 # type: textblock
22325 #: ../inspector/virt-inspector.pl:609
22326 msgid "This section describes the full range of answers possible."
22327 msgstr ""
22328
22329 # type: =item
22330 #: ../inspector/virt-inspector.pl:630
22331 msgid "windows=(yes|no)"
22332 msgstr ""
22333
22334 # type: textblock
22335 #: ../inspector/virt-inspector.pl:632
22336 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
22337 msgstr ""
22338
22339 # type: =item
22340 #: ../inspector/virt-inspector.pl:645
22341 msgid "linux=(yes|no)"
22342 msgstr ""
22343
22344 # type: textblock
22345 #: ../inspector/virt-inspector.pl:647
22346 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
22347 msgstr ""
22348
22349 # type: =item
22350 #: ../inspector/virt-inspector.pl:660
22351 msgid "rhel=(yes|no)"
22352 msgstr ""
22353
22354 # type: textblock
22355 #: ../inspector/virt-inspector.pl:662
22356 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
22357 msgstr ""
22358
22359 # type: =item
22360 #: ../inspector/virt-inspector.pl:676
22361 msgid "fedora=(yes|no)"
22362 msgstr ""
22363
22364 # type: textblock
22365 #: ../inspector/virt-inspector.pl:678
22366 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
22367 msgstr ""
22368
22369 # type: =item
22370 #: ../inspector/virt-inspector.pl:691
22371 msgid "debian=(yes|no)"
22372 msgstr ""
22373
22374 # type: textblock
22375 #: ../inspector/virt-inspector.pl:693
22376 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
22377 msgstr ""
22378
22379 # type: =item
22380 #: ../inspector/virt-inspector.pl:706
22381 msgid "fullvirt=(yes|no)"
22382 msgstr ""
22383
22384 # type: textblock
22385 #: ../inspector/virt-inspector.pl:708
22386 msgid ""
22387 "Answer C<yes> if there is at least one operating system kernel installed in "
22388 "the guest which runs fully virtualized.  Such a guest would require a "
22389 "hypervisor which supports full system virtualization."
22390 msgstr ""
22391
22392 # type: =item
22393 #: ../inspector/virt-inspector.pl:731
22394 msgid "xen_domU_kernel=(yes|no)"
22395 msgstr ""
22396
22397 # type: textblock
22398 #: ../inspector/virt-inspector.pl:733
22399 msgid ""
22400 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
22401 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
22402 msgstr ""
22403
22404 # type: =item
22405 #: ../inspector/virt-inspector.pl:753
22406 msgid "xen_pv_drivers=(yes|no)"
22407 msgstr ""
22408
22409 # type: textblock
22410 #: ../inspector/virt-inspector.pl:755
22411 msgid ""
22412 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
22413 "(usually the kernel itself will be fully virtualized, but the PV drivers "
22414 "have been installed by the administrator for performance reasons)."
22415 msgstr ""
22416
22417 # type: =item
22418 #: ../inspector/virt-inspector.pl:777
22419 msgid "virtio_drivers=(yes|no)"
22420 msgstr ""
22421
22422 # type: textblock
22423 #: ../inspector/virt-inspector.pl:779
22424 msgid ""
22425 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
22426 "Virtio drivers are commonly used to improve the performance of KVM."
22427 msgstr ""
22428
22429 # type: =item
22430 #: ../inspector/virt-inspector.pl:800
22431 msgid "userspace_arch=(x86_64|...)"
22432 msgstr ""
22433
22434 # type: textblock
22435 #: ../inspector/virt-inspector.pl:802
22436 msgid "Print the architecture of userspace."
22437 msgstr ""
22438
22439 # type: textblock
22440 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
22441 msgid "NB. For multi-boot VMs this can print several lines."
22442 msgstr ""
22443
22444 # type: =item
22445 #: ../inspector/virt-inspector.pl:821
22446 msgid "kernel_arch=(x86_64|...)"
22447 msgstr ""
22448
22449 # type: textblock
22450 #: ../inspector/virt-inspector.pl:823
22451 msgid "Print the architecture of the kernel."
22452 msgstr ""
22453
22454 # type: textblock
22455 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:484
22456 msgid ""
22457 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
22458 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
22459 msgstr ""
22460
22461 # type: textblock
22462 #: ../inspector/virt-inspector.pl:857 ../tools/virt-cat.pl:175 ../tools/virt-df.pl:493 ../tools/virt-edit.pl:339 ../tools/virt-list-filesystems.pl:205 ../tools/virt-list-partitions.pl:242 ../tools/virt-ls.pl:223 ../tools/virt-make-fs.pl:554 ../tools/virt-rescue.pl:243 ../tools/virt-resize.pl:1409 ../tools/virt-tar.pl:270 ../tools/virt-win-reg.pl:489
22463 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
22464 msgstr ""
22465
22466 # type: textblock
22467 #: ../inspector/virt-inspector.pl:859
22468 msgid "Matthew Booth L<mbooth@redhat.com>"
22469 msgstr ""
22470
22471 # type: textblock
22472 #: ../inspector/virt-inspector.pl:863 ../tools/virt-cat.pl:179 ../tools/virt-list-filesystems.pl:209 ../tools/virt-ls.pl:227 ../tools/virt-tar.pl:274
22473 msgid "Copyright (C) 2009 Red Hat Inc."
22474 msgstr ""
22475
22476 # type: textblock
22477 #: ../tools/virt-cat.pl:34
22478 msgid "virt-cat - Display a file in a virtual machine"
22479 msgstr ""
22480
22481 # type: verbatim
22482 #: ../tools/virt-cat.pl:38
22483 #, no-wrap
22484 msgid ""
22485 " virt-cat [--options] domname file\n"
22486 "\n"
22487 msgstr ""
22488
22489 # type: verbatim
22490 #: ../tools/virt-cat.pl:40
22491 #, no-wrap
22492 msgid ""
22493 " virt-cat [--options] disk.img [disk.img ...] file\n"
22494 "\n"
22495 msgstr ""
22496
22497 # type: textblock
22498 #: ../tools/virt-cat.pl:44
22499 msgid ""
22500 "C<virt-cat> is a command line tool to display the contents of C<file> where "
22501 "C<file> exists in the named virtual machine (or disk image)."
22502 msgstr ""
22503
22504 # type: textblock
22505 #: ../tools/virt-cat.pl:47
22506 msgid ""
22507 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
22508 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
22509 "tool."
22510 msgstr ""
22511
22512 # type: textblock
22513 #: ../tools/virt-cat.pl:53
22514 msgid "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
22515 msgstr ""
22516
22517 # type: verbatim
22518 #: ../tools/virt-cat.pl:56
22519 #, no-wrap
22520 msgid ""
22521 " virt-cat mydomain /etc/fstab\n"
22522 "\n"
22523 msgstr ""
22524
22525 # type: textblock
22526 #: ../tools/virt-cat.pl:58
22527 msgid "List syslog messages from a VM:"
22528 msgstr ""
22529
22530 # type: verbatim
22531 #: ../tools/virt-cat.pl:60
22532 #, no-wrap
22533 msgid ""
22534 " virt-cat mydomain /var/log/messages | tail\n"
22535 "\n"
22536 msgstr ""
22537
22538 # type: textblock
22539 #: ../tools/virt-cat.pl:62
22540 msgid "Find out what DHCP IP address a VM acquired:"
22541 msgstr ""
22542
22543 # type: verbatim
22544 #: ../tools/virt-cat.pl:64
22545 #, no-wrap
22546 msgid ""
22547 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
22548 "\n"
22549 msgstr ""
22550
22551 # type: textblock
22552 #: ../tools/virt-cat.pl:66
22553 msgid "Find out what packages were recently installed:"
22554 msgstr ""
22555
22556 # type: verbatim
22557 #: ../tools/virt-cat.pl:68
22558 #, no-wrap
22559 msgid ""
22560 " virt-cat mydomain /var/log/yum.log | tail\n"
22561 "\n"
22562 msgstr ""
22563
22564 # type: textblock
22565 #: ../tools/virt-cat.pl:70
22566 msgid "Find out who is logged on inside a virtual machine:"
22567 msgstr ""
22568
22569 # type: verbatim
22570 #: ../tools/virt-cat.pl:72
22571 #, no-wrap
22572 msgid ""
22573 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
22574 " who /tmp/utmp\n"
22575 "\n"
22576 msgstr ""
22577
22578 # type: textblock
22579 #: ../tools/virt-cat.pl:75
22580 msgid "or who was logged on:"
22581 msgstr ""
22582
22583 # type: verbatim
22584 #: ../tools/virt-cat.pl:77
22585 #, no-wrap
22586 msgid ""
22587 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
22588 " last -f /tmp/wtmp\n"
22589 "\n"
22590 msgstr ""
22591
22592 # type: textblock
22593 #: ../tools/virt-cat.pl:109 ../tools/virt-df.pl:100 ../tools/virt-edit.pl:118 ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80 ../tools/virt-ls.pl:108 ../tools/virt-rescue.pl:140 ../tools/virt-tar.pl:128 ../tools/virt-win-reg.pl:209
22594 msgid ""
22595 "If you specify guest block devices directly, then libvirt is not used at "
22596 "all."
22597 msgstr ""
22598
22599 # type: textblock
22600 #: ../tools/virt-cat.pl:165
22601 msgid ""
22602 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, "
22603 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
22604 msgstr ""
22605
22606 # type: =head1
22607 #: ../tools/virt-cat.pl:173 ../tools/virt-df.pl:491 ../tools/virt-edit.pl:337 ../tools/virt-list-filesystems.pl:203 ../tools/virt-list-partitions.pl:240 ../tools/virt-ls.pl:221 ../tools/virt-make-fs.pl:552 ../tools/virt-rescue.pl:241 ../tools/virt-resize.pl:1407 ../tools/virt-tar.pl:268 ../tools/virt-win-reg.pl:487
22608 msgid "AUTHOR"
22609 msgstr ""
22610
22611 # type: textblock
22612 #: ../tools/virt-df.pl:36
22613 msgid "virt-df - Display free space on virtual filesystems"
22614 msgstr ""
22615
22616 # type: verbatim
22617 #: ../tools/virt-df.pl:40
22618 #, no-wrap
22619 msgid ""
22620 " virt-df [--options]\n"
22621 "\n"
22622 msgstr ""
22623
22624 # type: verbatim
22625 #: ../tools/virt-df.pl:42
22626 #, no-wrap
22627 msgid ""
22628 " virt-df [--options] domname\n"
22629 "\n"
22630 msgstr ""
22631
22632 # type: verbatim
22633 #: ../tools/virt-df.pl:44
22634 #, no-wrap
22635 msgid ""
22636 " virt-df [--options] disk.img [disk.img ...]\n"
22637 "\n"
22638 msgstr ""
22639
22640 # type: textblock
22641 #: ../tools/virt-df.pl:48
22642 msgid ""
22643 "C<virt-df> is a command line tool to display free space on virtual machine "
22644 "filesystems.  Unlike other tools, it doesn't just display the amount of "
22645 "space allocated to a virtual machine, but can look inside the virtual "
22646 "machine to see how much space is really being used."
22647 msgstr ""
22648
22649 # type: textblock
22650 #: ../tools/virt-df.pl:53
22651 msgid ""
22652 "It is like the L<df(1)> command, but for virtual machines, except that it "
22653 "also works for Windows virtual machines."
22654 msgstr ""
22655
22656 # type: textblock
22657 #: ../tools/virt-df.pl:56
22658 msgid ""
22659 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
22660 "of all active and inactive guests, and performs a C<df>-type operation on "
22661 "each one in turn, printing out the results."
22662 msgstr ""
22663
22664 # type: textblock
22665 #: ../tools/virt-df.pl:60
22666 msgid ""
22667 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
22668 "either the single named libvirt domain, or on the disk image(s) listed on "
22669 "the command line (which must all belong to a single VM).  In this mode (with "
22670 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
22671 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
22672 msgstr ""
22673
22674 # type: textblock
22675 #: ../tools/virt-df.pl:67
22676 msgid ""
22677 "Use the C<--csv> option to get a format which can be easily parsed by other "
22678 "programs.  Other options are mostly similar to standard C<df> options.  See "
22679 "below for the complete list."
22680 msgstr ""
22681
22682 # type: =item
22683 #: ../tools/virt-df.pl:107
22684 msgid "B<--csv>"
22685 msgstr ""
22686
22687 # type: textblock
22688 #: ../tools/virt-df.pl:109
22689 msgid ""
22690 "Write out the results in CSV format (comma-separated values).  This format "
22691 "can be imported easily into databases and spreadsheets, but read L</NOTE "
22692 "ABOUT CSV FORMAT> below."
22693 msgstr ""
22694
22695 # type: =item
22696 #: ../tools/virt-df.pl:117
22697 msgid "B<--human-readable> | B<-h>"
22698 msgstr ""
22699
22700 # type: textblock
22701 #: ../tools/virt-df.pl:119
22702 msgid "Print sizes in human-readable format."
22703 msgstr ""
22704
22705 # type: textblock
22706 #: ../tools/virt-df.pl:121
22707 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
22708 msgstr ""
22709
22710 # type: =item
22711 #: ../tools/virt-df.pl:127
22712 msgid "B<--inodes> | B<-i>"
22713 msgstr ""
22714
22715 # type: textblock
22716 #: ../tools/virt-df.pl:129
22717 msgid "Print inodes instead of blocks."
22718 msgstr ""
22719
22720 # type: =head1
22721 #: ../tools/virt-df.pl:458
22722 msgid "NOTE ABOUT CSV FORMAT"
22723 msgstr ""
22724
22725 # type: textblock
22726 #: ../tools/virt-df.pl:460
22727 msgid ""
22728 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
22729 "should be easy to parse, but it is definitely not easy to parse."
22730 msgstr ""
22731
22732 # type: textblock
22733 #: ../tools/virt-df.pl:463
22734 msgid ""
22735 "Myth: Just split fields at commas.  Reality: This does I<not> work "
22736 "reliably.  This example has two columns:"
22737 msgstr ""
22738
22739 # type: verbatim
22740 #: ../tools/virt-df.pl:466
22741 #, no-wrap
22742 msgid ""
22743 " \"foo,bar\",baz\n"
22744 "\n"
22745 msgstr ""
22746
22747 # type: textblock
22748 #: ../tools/virt-df.pl:468
22749 msgid ""
22750 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
22751 "reliably.  This example has one row:"
22752 msgstr ""
22753
22754 # type: verbatim
22755 #: ../tools/virt-df.pl:471
22756 #, no-wrap
22757 msgid ""
22758 " \"foo\n"
22759 " bar\",baz\n"
22760 "\n"
22761 msgstr ""
22762
22763 # type: textblock
22764 #: ../tools/virt-df.pl:474
22765 msgid ""
22766 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
22767 "packaged in major Linux distributions)."
22768 msgstr ""
22769
22770 # type: textblock
22771 #: ../tools/virt-df.pl:477
22772 msgid ""
22773 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
22774 "or Python's built-in csv library)."
22775 msgstr ""
22776
22777 # type: textblock
22778 #: ../tools/virt-df.pl:480
22779 msgid "Most spreadsheets and databases can import CSV directly."
22780 msgstr ""
22781
22782 # type: textblock
22783 #: ../tools/virt-df.pl:497 ../tools/virt-edit.pl:343 ../tools/virt-list-partitions.pl:246 ../tools/virt-rescue.pl:247
22784 msgid "Copyright (C) 2009-2010 Red Hat Inc."
22785 msgstr ""
22786
22787 # type: textblock
22788 #: ../tools/virt-edit.pl:35
22789 msgid "virt-edit - Edit a file in a virtual machine"
22790 msgstr ""
22791
22792 # type: verbatim
22793 #: ../tools/virt-edit.pl:39
22794 #, no-wrap
22795 msgid ""
22796 " virt-edit [--options] domname file\n"
22797 "\n"
22798 msgstr ""
22799
22800 # type: verbatim
22801 #: ../tools/virt-edit.pl:41
22802 #, no-wrap
22803 msgid ""
22804 " virt-edit [--options] disk.img [disk.img ...] file\n"
22805 "\n"
22806 msgstr ""
22807
22808 # type: verbatim
22809 #: ../tools/virt-edit.pl:43
22810 #, no-wrap
22811 msgid ""
22812 " virt-edit [domname|disk.img] file -e 'expr'\n"
22813 "\n"
22814 msgstr ""
22815
22816 # type: textblock
22817 #: ../tools/virt-edit.pl:47
22818 msgid ""
22819 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
22820 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
22821 "doing this, but doesn't catch all cases."
22822 msgstr ""
22823
22824 # type: textblock
22825 #: ../tools/virt-edit.pl:53
22826 msgid ""
22827 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
22828 "the named virtual machine (or disk image)."
22829 msgstr ""
22830
22831 # type: textblock
22832 #: ../tools/virt-edit.pl:56
22833 msgid ""
22834 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
22835 "you should look at the L<guestfish(1)> tool."
22836 msgstr ""
22837
22838 # type: textblock
22839 #: ../tools/virt-edit.pl:61
22840 msgid "Edit the named files interactively:"
22841 msgstr ""
22842
22843 # type: verbatim
22844 #: ../tools/virt-edit.pl:63
22845 #, no-wrap
22846 msgid ""
22847 " virt-edit mydomain /boot/grub/grub.conf\n"
22848 "\n"
22849 msgstr ""
22850
22851 # type: verbatim
22852 #: ../tools/virt-edit.pl:65
22853 #, no-wrap
22854 msgid ""
22855 " virt-edit mydomain /etc/passwd\n"
22856 "\n"
22857 msgstr ""
22858
22859 # type: textblock
22860 #: ../tools/virt-edit.pl:67
22861 msgid ""
22862 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
22863 "below).  To change the init default level to 5:"
22864 msgstr ""
22865
22866 # type: verbatim
22867 #: ../tools/virt-edit.pl:71
22868 #, no-wrap
22869 msgid ""
22870 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
22871 "\n"
22872 msgstr ""
22873
22874 # type: =item
22875 #: ../tools/virt-edit.pl:97
22876 msgid "B<--backup extension> | B<-b extension>"
22877 msgstr ""
22878
22879 # type: textblock
22880 #: ../tools/virt-edit.pl:99
22881 msgid ""
22882 "Create a backup of the original file I<in the guest disk image>.  The backup "
22883 "has the original filename with C<extension> added."
22884 msgstr ""
22885
22886 # type: textblock
22887 #: ../tools/virt-edit.pl:102
22888 msgid ""
22889 "Usually the first character of C<extension> would be a dot C<.> so you would "
22890 "write:"
22891 msgstr ""
22892
22893 # type: verbatim
22894 #: ../tools/virt-edit.pl:105
22895 #, no-wrap
22896 msgid ""
22897 " virt-edit -b .orig [etc]\n"
22898 "\n"
22899 msgstr ""
22900
22901 # type: textblock
22902 #: ../tools/virt-edit.pl:107
22903 msgid "By default, no backup file is made."
22904 msgstr ""
22905
22906 # type: =item
22907 #: ../tools/virt-edit.pl:125
22908 msgid "B<--expr EXPR> | B<-e EXPR>"
22909 msgstr ""
22910
22911 # type: textblock
22912 #: ../tools/virt-edit.pl:127
22913 msgid ""
22914 "Instead of launching the external editor, non-interactively apply the Perl "
22915 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
22916 "EDITING> below."
22917 msgstr ""
22918
22919 # type: textblock
22920 #: ../tools/virt-edit.pl:131
22921 msgid ""
22922 "Be careful to properly quote the expression to prevent it from being altered "
22923 "by the shell."
22924 msgstr ""
22925
22926 # type: =head1
22927 #: ../tools/virt-edit.pl:250
22928 msgid "NON-INTERACTIVE EDITING"
22929 msgstr ""
22930
22931 # type: textblock
22932 #: ../tools/virt-edit.pl:252
22933 msgid ""
22934 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
22935 "administrator can interactively edit the file."
22936 msgstr ""
22937
22938 # type: textblock
22939 #: ../tools/virt-edit.pl:255
22940 msgid ""
22941 "There are two ways also to use C<virt-edit> from scripts in order to make "
22942 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
22943 "like this, it's less error-prone to write scripts directly using the "
22944 "libguestfs API and Augeas for configuration file editing.)"
22945 msgstr ""
22946
22947 # type: textblock
22948 #: ../tools/virt-edit.pl:261
22949 msgid ""
22950 "The first method is to temporarily set C<$EDITOR> to any script or program "
22951 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
22952 "update C<tmpfile> in place however it likes."
22953 msgstr ""
22954
22955 # type: textblock
22956 #: ../tools/virt-edit.pl:265
22957 msgid ""
22958 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
22959 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
22960 "instances of C<foo> with C<bar> in a file:"
22961 msgstr ""
22962
22963 # type: verbatim
22964 #: ../tools/virt-edit.pl:269
22965 #, no-wrap
22966 msgid ""
22967 " virt-edit domname filename -e 's/foo/bar/'\n"
22968 "\n"
22969 msgstr ""
22970
22971 # type: textblock
22972 #: ../tools/virt-edit.pl:271
22973 msgid ""
22974 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
22975 "For example to delete root's password you could do:"
22976 msgstr ""
22977
22978 # type: verbatim
22979 #: ../tools/virt-edit.pl:274
22980 #, no-wrap
22981 msgid ""
22982 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
22983 "\n"
22984 msgstr ""
22985
22986 # type: textblock
22987 #: ../tools/virt-edit.pl:276
22988 msgid ""
22989 "What really happens is that the snippet is evaluated as a Perl expression "
22990 "for each line of the file.  The line, including the final C<\\n>, is passed "
22991 "in C<$_> and the expression should update C<$_> or leave it unchanged."
22992 msgstr ""
22993
22994 # type: textblock
22995 #: ../tools/virt-edit.pl:281
22996 msgid ""
22997 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
22998 "C<apache> user account from the password file you can do:"
22999 msgstr ""
23000
23001 # type: verbatim
23002 #: ../tools/virt-edit.pl:284
23003 #, no-wrap
23004 msgid ""
23005 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
23006 "\n"
23007 msgstr ""
23008
23009 # type: textblock
23010 #: ../tools/virt-edit.pl:286
23011 msgid ""
23012 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
23013 "the end of the file is rather difficult this way since there is no concept "
23014 "of \"last line of the file\" - your expression just doesn't get called "
23015 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
23016 "want to do this."
23017 msgstr ""
23018
23019 # type: textblock
23020 #: ../tools/virt-edit.pl:292
23021 msgid ""
23022 "The variable C<$lineno> contains the current line number.  As is "
23023 "traditional, the first line in the file is number C<1>."
23024 msgstr ""
23025
23026 # type: textblock
23027 #: ../tools/virt-edit.pl:295
23028 msgid ""
23029 "The return value from the expression is ignored, but the expression may call "
23030 "C<die> in order to abort the whole program, leaving the original file "
23031 "untouched."
23032 msgstr ""
23033
23034 # type: textblock
23035 #: ../tools/virt-edit.pl:299
23036 msgid ""
23037 "Remember when matching the end of a line that C<$_> may contain the final "
23038 "C<\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
23039 "newline then neither of these.  Thus to match or substitute some text at the "
23040 "end of a line, use this regular expression:"
23041 msgstr ""
23042
23043 # type: verbatim
23044 #: ../tools/virt-edit.pl:304
23045 #, no-wrap
23046 msgid ""
23047 " /some text(\\r?\\n)?$/\n"
23048 "\n"
23049 msgstr ""
23050
23051 # type: textblock
23052 #: ../tools/virt-edit.pl:306
23053 msgid ""
23054 "Alternately, use the perl C<chomp> function, being careful not to chomp "
23055 "C<$_> itself (since that would remove all newlines from the file):"
23056 msgstr ""
23057
23058 # type: verbatim
23059 #: ../tools/virt-edit.pl:310
23060 #, no-wrap
23061 msgid ""
23062 " my $m = $_; chomp $m; $m =~ /some text$/\n"
23063 "\n"
23064 msgstr ""
23065
23066 # type: =item
23067 #: ../tools/virt-edit.pl:316
23068 msgid "C<EDITOR>"
23069 msgstr ""
23070
23071 # type: textblock
23072 #: ../tools/virt-edit.pl:318
23073 msgid ""
23074 "If set, this string is used as the editor.  It may contain arguments, "
23075 "eg. C<\"emacs -nw\">"
23076 msgstr ""
23077
23078 # type: textblock
23079 #: ../tools/virt-edit.pl:321
23080 msgid "If not set, C<vi> is used."
23081 msgstr ""
23082
23083 # type: textblock
23084 #: ../tools/virt-edit.pl:327
23085 msgid ""
23086 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
23087 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, "
23088 "L<perl(1)>, L<perlre(1)>."
23089 msgstr ""
23090
23091 # type: textblock
23092 #: ../tools/virt-list-filesystems.pl:32
23093 msgid "virt-list-filesystems - List filesystems in a virtual machine or disk image"
23094 msgstr ""
23095
23096 # type: verbatim
23097 #: ../tools/virt-list-filesystems.pl:36
23098 #, no-wrap
23099 msgid ""
23100 " virt-list-filesystems [--options] domname\n"
23101 "\n"
23102 msgstr ""
23103
23104 # type: verbatim
23105 #: ../tools/virt-list-filesystems.pl:38
23106 #, no-wrap
23107 msgid ""
23108 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
23109 "\n"
23110 msgstr ""
23111
23112 # type: textblock
23113 #: ../tools/virt-list-filesystems.pl:42
23114 msgid ""
23115 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
23116 "are contained in a virtual machine or disk image."
23117 msgstr ""
23118
23119 # type: textblock
23120 #: ../tools/virt-list-filesystems.pl:46
23121 msgid ""
23122 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
23123 "functionality.  For more complex cases you should look at the "
23124 "L<guestfish(1)> tool."
23125 msgstr ""
23126
23127 # type: =item
23128 #: ../tools/virt-list-filesystems.pl:86 ../tools/virt-list-partitions.pl:95 ../tools/virt-ls.pl:115
23129 msgid "B<-l> | B<--long>"
23130 msgstr ""
23131
23132 # type: textblock
23133 #: ../tools/virt-list-filesystems.pl:88
23134 msgid ""
23135 "With this option, C<virt-list-filesystems> displays the type of each "
23136 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
23137 msgstr ""
23138
23139 # type: =item
23140 #: ../tools/virt-list-filesystems.pl:95
23141 msgid "B<-a> | B<--all>"
23142 msgstr ""
23143
23144 # type: textblock
23145 #: ../tools/virt-list-filesystems.pl:97
23146 msgid ""
23147 "Normally we only show mountable filesystems.  If this option is given then "
23148 "swap devices are shown too."
23149 msgstr ""
23150
23151 # type: textblock
23152 #: ../tools/virt-list-filesystems.pl:193
23153 msgid ""
23154 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
23155 "L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23156 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23157 msgstr ""
23158
23159 # type: textblock
23160 #: ../tools/virt-list-partitions.pl:32
23161 msgid "virt-list-partitions - List partitions in a virtual machine or disk image"
23162 msgstr ""
23163
23164 # type: verbatim
23165 #: ../tools/virt-list-partitions.pl:36
23166 #, no-wrap
23167 msgid ""
23168 " virt-list-partitions [--options] domname\n"
23169 "\n"
23170 msgstr ""
23171
23172 # type: verbatim
23173 #: ../tools/virt-list-partitions.pl:38
23174 #, no-wrap
23175 msgid ""
23176 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
23177 "\n"
23178 msgstr ""
23179
23180 # type: textblock
23181 #: ../tools/virt-list-partitions.pl:42
23182 msgid ""
23183 "C<virt-list-partitions> is a command line tool to list the partitions that "
23184 "are contained in a virtual machine or disk image.  It is mainly useful as a "
23185 "first step to using L<virt-resize(1)>."
23186 msgstr ""
23187
23188 # type: textblock
23189 #: ../tools/virt-list-partitions.pl:47
23190 msgid ""
23191 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
23192 "functionality.  For more complex cases you should look at the "
23193 "L<guestfish(1)> tool."
23194 msgstr ""
23195
23196 # type: =item
23197 #: ../tools/virt-list-partitions.pl:87
23198 msgid "B<-h> | B<--human-readable>"
23199 msgstr ""
23200
23201 # type: textblock
23202 #: ../tools/virt-list-partitions.pl:89
23203 msgid "Show sizes in human-readable form (eg. \"1G\")."
23204 msgstr ""
23205
23206 # type: textblock
23207 #: ../tools/virt-list-partitions.pl:97
23208 msgid ""
23209 "With this option, C<virt-list-partitions> displays the type and size of each "
23210 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
23211 msgstr ""
23212
23213 # type: =item
23214 #: ../tools/virt-list-partitions.pl:104
23215 msgid "B<-t> | B<--total>"
23216 msgstr ""
23217
23218 # type: textblock
23219 #: ../tools/virt-list-partitions.pl:106
23220 msgid "Display the total size of each block device (as a separate row or rows)."
23221 msgstr ""
23222
23223 # type: textblock
23224 #: ../tools/virt-list-partitions.pl:231
23225 msgid ""
23226 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, "
23227 "L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23228 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23229 msgstr ""
23230
23231 # type: textblock
23232 #: ../tools/virt-ls.pl:35
23233 msgid "virt-ls - List files in a virtual machine"
23234 msgstr ""
23235
23236 # type: verbatim
23237 #: ../tools/virt-ls.pl:39
23238 #, no-wrap
23239 msgid ""
23240 " virt-ls [--options] domname directory\n"
23241 "\n"
23242 msgstr ""
23243
23244 # type: verbatim
23245 #: ../tools/virt-ls.pl:41
23246 #, no-wrap
23247 msgid ""
23248 " virt-ls [--options] disk.img [disk.img ...] directory\n"
23249 "\n"
23250 msgstr ""
23251
23252 # type: textblock
23253 #: ../tools/virt-ls.pl:45
23254 msgid ""
23255 "C<virt-ls> is a command line tool to list the names of files in a directory "
23256 "inside a virtual machine or disk image."
23257 msgstr ""
23258
23259 # type: textblock
23260 #: ../tools/virt-ls.pl:48
23261 msgid ""
23262 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
23263 "For more complex cases you should look at the L<guestfish(1)> tool."
23264 msgstr ""
23265
23266 # type: textblock
23267 #: ../tools/virt-ls.pl:52
23268 msgid ""
23269 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
23270 "simple listing is like the ordinary L<ls(1)> command:"
23271 msgstr ""
23272
23273 # type: verbatim
23274 #: ../tools/virt-ls.pl:55
23275 #, no-wrap
23276 msgid ""
23277 " $ virt-ls myguest /\n"
23278 " bin\n"
23279 " boot\n"
23280 " [etc.]\n"
23281 "\n"
23282 msgstr ""
23283
23284 # type: textblock
23285 #: ../tools/virt-ls.pl:60
23286 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
23287 msgstr ""
23288
23289 # type: verbatim
23290 #: ../tools/virt-ls.pl:62
23291 #, no-wrap
23292 msgid ""
23293 " $ virt-ls -l myguest /\n"
23294 " total 204\n"
23295 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
23296 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
23297 " [etc.]\n"
23298 "\n"
23299 msgstr ""
23300
23301 # type: textblock
23302 #: ../tools/virt-ls.pl:68
23303 msgid ""
23304 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
23305 "and directories recursively:"
23306 msgstr ""
23307
23308 # type: verbatim
23309 #: ../tools/virt-ls.pl:71
23310 #, no-wrap
23311 msgid ""
23312 " $ virt-ls -R myguest /tmp\n"
23313 " foo\n"
23314 " foo/bar\n"
23315 " [etc.]\n"
23316 "\n"
23317 msgstr ""
23318
23319 # type: textblock
23320 #: ../tools/virt-ls.pl:76
23321 msgid ""
23322 "You I<cannot> combine these options.  To do more complicated things, use "
23323 "L<guestfish(1)>."
23324 msgstr ""
23325
23326 # type: =item
23327 #: ../tools/virt-ls.pl:117
23328 msgid "B<-R> | B<--recursive>"
23329 msgstr ""
23330
23331 # type: textblock
23332 #: ../tools/virt-ls.pl:119
23333 msgid ""
23334 "Select the mode.  With neither of these options, C<virt-ls> produces a "
23335 "simple, flat list of the files in the named directory."
23336 msgstr ""
23337
23338 # type: textblock
23339 #: ../tools/virt-ls.pl:122
23340 msgid ""
23341 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
23342 "like the plain C<ls -l> command)."
23343 msgstr ""
23344
23345 # type: textblock
23346 #: ../tools/virt-ls.pl:125
23347 msgid ""
23348 "C<virt-ls -R> produces a recursive list of files starting at the named "
23349 "directory.  See the documentation for the C<guestfs_find> command "
23350 "L<guestfs(3)> for precise details."
23351 msgstr ""
23352
23353 # type: textblock
23354 #: ../tools/virt-ls.pl:129
23355 msgid "You cannot combine these options."
23356 msgstr ""
23357
23358 # type: textblock
23359 #: ../tools/virt-ls.pl:212
23360 msgid ""
23361 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
23362 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
23363 "L<http://libguestfs.org/>."
23364 msgstr ""
23365
23366 # type: textblock
23367 #: ../tools/virt-make-fs.pl:37
23368 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
23369 msgstr ""
23370
23371 # type: verbatim
23372 #: ../tools/virt-make-fs.pl:41
23373 #, no-wrap
23374 msgid ""
23375 " virt-make-fs [--options] input.tar output.img\n"
23376 "\n"
23377 msgstr ""
23378
23379 # type: verbatim
23380 #: ../tools/virt-make-fs.pl:43
23381 #, no-wrap
23382 msgid ""
23383 " virt-make-fs [--options] input.tar.gz output.img\n"
23384 "\n"
23385 msgstr ""
23386
23387 # type: verbatim
23388 #: ../tools/virt-make-fs.pl:45
23389 #, no-wrap
23390 msgid ""
23391 " virt-make-fs [--options] directory output.img\n"
23392 "\n"
23393 msgstr ""
23394
23395 # type: textblock
23396 #: ../tools/virt-make-fs.pl:49
23397 msgid ""
23398 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
23399 "archive or some files in a directory.  It is similar to tools like "
23400 "L<mkisofs(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, "
23401 "it can create common filesystem types like ext2/3 or NTFS, which can be "
23402 "useful if you want to attach these filesystems to existing virtual machines "
23403 "(eg. to import large amounts of read-only data to a VM)."
23404 msgstr ""
23405
23406 # type: textblock
23407 #: ../tools/virt-make-fs.pl:57
23408 msgid "Basic usage is:"
23409 msgstr ""
23410
23411 # type: verbatim
23412 #: ../tools/virt-make-fs.pl:59
23413 #, no-wrap
23414 msgid ""
23415 " virt-make-fs input output\n"
23416 "\n"
23417 msgstr ""
23418
23419 # type: textblock
23420 #: ../tools/virt-make-fs.pl:61
23421 msgid ""
23422 "where C<input> is either a directory containing files that you want to add, "
23423 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
23424 "C<output> is a disk image.  The input type is detected automatically.  The "
23425 "output disk image defaults to a raw ext2 image unless you specify extra "
23426 "flags (see L</OPTIONS> below)."
23427 msgstr ""
23428
23429 # type: =head2
23430 #: ../tools/virt-make-fs.pl:67
23431 msgid "EXTRA SPACE"
23432 msgstr ""
23433
23434 # type: textblock
23435 #: ../tools/virt-make-fs.pl:69
23436 msgid ""
23437 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
23438 "the files that it contains, but might have extra space.  Depending on how "
23439 "you are going to use the output, you might think this extra space is wasted "
23440 "and want to minimize it, or you might want to leave space so that more files "
23441 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
23442 "but you can use the C<--size> flag to leave space in the filesystem if you "
23443 "want it."
23444 msgstr ""
23445
23446 # type: textblock
23447 #: ../tools/virt-make-fs.pl:77
23448 msgid ""
23449 "An alternative way to leave extra space but not make the output image any "
23450 "bigger is to use an alternative disk image format (instead of the default "
23451 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
23452 "image format (check your hypervisor supports this before using it).  This "
23453 "allows you to choose a large C<--size> but the extra space won't actually be "
23454 "allocated in the image until you try to store something in it."
23455 msgstr ""
23456
23457 # type: textblock
23458 #: ../tools/virt-make-fs.pl:85
23459 msgid ""
23460 "Don't forget that you can also use local commands including L<resize2fs(8)> "
23461 "and L<virt-resize(1)> to resize existing filesystems, or rerun "
23462 "virt-make-resize to build another image from scratch."
23463 msgstr ""
23464
23465 # type: =head3
23466 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123 ../tools/virt-make-fs.pl:142
23467 msgid "EXAMPLE"
23468 msgstr ""
23469
23470 # type: verbatim
23471 #: ../tools/virt-make-fs.pl:91
23472 #, no-wrap
23473 msgid ""
23474 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
23475 "\n"
23476 msgstr ""
23477
23478 # type: =head2
23479 #: ../tools/virt-make-fs.pl:93
23480 msgid "FILESYSTEM TYPE"
23481 msgstr ""
23482
23483 # type: textblock
23484 #: ../tools/virt-make-fs.pl:95
23485 msgid ""
23486 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
23487 "libguestfs supports can be used (but I<not> read-only formats like "
23488 "ISO9660).  Here are some of the more common choices:"
23489 msgstr ""
23490
23491 # type: =item
23492 #: ../tools/virt-make-fs.pl:101
23493 msgid "I<ext3>"
23494 msgstr ""
23495
23496 # type: textblock
23497 #: ../tools/virt-make-fs.pl:103
23498 msgid ""
23499 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
23500 "you are not going to use the filesystem in a way that requires the journal, "
23501 "then this is just wasted overhead."
23502 msgstr ""
23503
23504 # type: =item
23505 #: ../tools/virt-make-fs.pl:107
23506 msgid "I<ntfs> or I<vfat>"
23507 msgstr ""
23508
23509 # type: textblock
23510 #: ../tools/virt-make-fs.pl:109
23511 msgid "Useful if exporting data to a Windows guest."
23512 msgstr ""
23513
23514 # type: textblock
23515 #: ../tools/virt-make-fs.pl:111
23516 msgid ""
23517 "I<Note for vfat>: The tar archive or local directory must only contain files "
23518 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
23519 "program running within libguestfs is unable to change the ownership of "
23520 "non-root files, since vfat itself does not support this."
23521 msgstr ""
23522
23523 # type: =item
23524 #: ../tools/virt-make-fs.pl:116
23525 msgid "I<minix>"
23526 msgstr ""
23527
23528 # type: textblock
23529 #: ../tools/virt-make-fs.pl:118
23530 msgid ""
23531 "Lower overhead than C<ext2>, but certain limitations on filename length and "
23532 "total filesystem size."
23533 msgstr ""
23534
23535 # type: verbatim
23536 #: ../tools/virt-make-fs.pl:125
23537 #, no-wrap
23538 msgid ""
23539 " virt-make-fs --type=minix input minixfs.img\n"
23540 "\n"
23541 msgstr ""
23542
23543 # type: =head2
23544 #: ../tools/virt-make-fs.pl:127
23545 msgid "TO PARTITION OR NOT TO PARTITION"
23546 msgstr ""
23547
23548 # type: textblock
23549 #: ../tools/virt-make-fs.pl:129
23550 msgid "Optionally virt-make-fs can add a partition table to the output disk."
23551 msgstr ""
23552
23553 # type: textblock
23554 #: ../tools/virt-make-fs.pl:131
23555 msgid ""
23556 "Adding a partition can make the disk image more compatible with certain "
23557 "virtualized operating systems which don't expect to see a filesystem "
23558 "directly located on a block device (Linux doesn't care and will happily "
23559 "handle both types)."
23560 msgstr ""
23561
23562 # type: textblock
23563 #: ../tools/virt-make-fs.pl:136
23564 msgid ""
23565 "On the other hand, if you have a partition table then the output image is no "
23566 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
23567 "directly on a partitioned disk image.  (However libguestfs tools such as "
23568 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
23569 msgstr ""
23570
23571 # type: textblock
23572 #: ../tools/virt-make-fs.pl:144
23573 msgid "Add an MBR partition:"
23574 msgstr ""
23575
23576 # type: verbatim
23577 #: ../tools/virt-make-fs.pl:146
23578 #, no-wrap
23579 msgid ""
23580 " virt-make-fs --partition -- input disk.img\n"
23581 "\n"
23582 msgstr ""
23583
23584 # type: textblock
23585 #: ../tools/virt-make-fs.pl:148
23586 msgid ""
23587 "If the output disk image could be terabyte-sized or larger, it's better to "
23588 "use an EFI/GPT-compatible partition table:"
23589 msgstr ""
23590
23591 # type: verbatim
23592 #: ../tools/virt-make-fs.pl:151
23593 #, no-wrap
23594 msgid ""
23595 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
23596 "\n"
23597 msgstr ""
23598
23599 # type: =item
23600 #: ../tools/virt-make-fs.pl:177 ../tools/virt-win-reg.pl:196
23601 msgid "B<--debug>"
23602 msgstr ""
23603
23604 # type: textblock
23605 #: ../tools/virt-make-fs.pl:179
23606 msgid "Enable debugging information."
23607 msgstr ""
23608
23609 # type: =item
23610 #: ../tools/virt-make-fs.pl:185
23611 msgid "B<--size=E<lt>NE<gt>>"
23612 msgstr ""
23613
23614 # type: =item
23615 #: ../tools/virt-make-fs.pl:187
23616 msgid "B<--size=+E<lt>NE<gt>>"
23617 msgstr ""
23618
23619 # type: =item
23620 #: ../tools/virt-make-fs.pl:189
23621 msgid "B<-s E<lt>NE<gt>>"
23622 msgstr ""
23623
23624 # type: =item
23625 #: ../tools/virt-make-fs.pl:191
23626 msgid "B<-s +E<lt>NE<gt>>"
23627 msgstr ""
23628
23629 # type: textblock
23630 #: ../tools/virt-make-fs.pl:193
23631 msgid "Use the C<--size> (or C<-s>) option to choose the size of the output image."
23632 msgstr ""
23633
23634 # type: textblock
23635 #: ../tools/virt-make-fs.pl:196
23636 msgid ""
23637 "If this option is I<not> given, then the output image will be just large "
23638 "enough to contain all the files, with not much wasted space."
23639 msgstr ""
23640
23641 # type: textblock
23642 #: ../tools/virt-make-fs.pl:199
23643 msgid ""
23644 "To choose a fixed size output disk, specify an absolute number followed by "
23645 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
23646 "Petabytes or Exabytes.  This must be large enough to contain all the input "
23647 "files, else you will get an error."
23648 msgstr ""
23649
23650 # type: textblock
23651 #: ../tools/virt-make-fs.pl:204
23652 msgid ""
23653 "To leave extra space, specify C<+> (plus sign) and a number followed by "
23654 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
23655 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
23656 "the input files, and (approximately) an extra 200 MB free space."
23657 msgstr ""
23658
23659 # type: textblock
23660 #: ../tools/virt-make-fs.pl:210
23661 msgid ""
23662 "Note that virt-make-fs estimates free space, and therefore will not produce "
23663 "filesystems containing precisely the free space requested.  (It is much more "
23664 "expensive and time-consuming to produce a filesystem which has precisely the "
23665 "desired free space)."
23666 msgstr ""
23667
23668 # type: =item
23669 #: ../tools/virt-make-fs.pl:219
23670 msgid "B<--format=E<lt>fmtE<gt>>"
23671 msgstr ""
23672
23673 # type: =item
23674 #: ../tools/virt-make-fs.pl:221
23675 msgid "B<-F E<lt>fmtE<gt>>"
23676 msgstr ""
23677
23678 # type: textblock
23679 #: ../tools/virt-make-fs.pl:223
23680 msgid "Choose the output disk image format."
23681 msgstr ""
23682
23683 # type: textblock
23684 #: ../tools/virt-make-fs.pl:225
23685 msgid "The default is C<raw> (raw disk image)."
23686 msgstr ""
23687
23688 # type: textblock
23689 #: ../tools/virt-make-fs.pl:227
23690 msgid ""
23691 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
23692 "that would really make sense here is C<qcow2>."
23693 msgstr ""
23694
23695 # type: =item
23696 #: ../tools/virt-make-fs.pl:234
23697 msgid "B<--type=E<lt>fsE<gt>>"
23698 msgstr ""
23699
23700 # type: =item
23701 #: ../tools/virt-make-fs.pl:236
23702 msgid "B<-t E<lt>fsE<gt>>"
23703 msgstr ""
23704
23705 # type: textblock
23706 #: ../tools/virt-make-fs.pl:238
23707 msgid "Choose the output filesystem type."
23708 msgstr ""
23709
23710 # type: textblock
23711 #: ../tools/virt-make-fs.pl:240
23712 msgid "The default is C<ext2>."
23713 msgstr ""
23714
23715 # type: textblock
23716 #: ../tools/virt-make-fs.pl:242
23717 msgid "Any filesystem which is supported read-write by libguestfs can be used here."
23718 msgstr ""
23719
23720 # type: =item
23721 #: ../tools/virt-make-fs.pl:249
23722 msgid "B<--partition>"
23723 msgstr ""
23724
23725 # type: =item
23726 #: ../tools/virt-make-fs.pl:251
23727 msgid "B<--partition=E<lt>parttypeE<gt>>"
23728 msgstr ""
23729
23730 # type: textblock
23731 #: ../tools/virt-make-fs.pl:253
23732 msgid ""
23733 "If specified, this flag adds an MBR partition table to the output disk "
23734 "image."
23735 msgstr ""
23736
23737 # type: textblock
23738 #: ../tools/virt-make-fs.pl:256
23739 msgid ""
23740 "You can change the partition table type, eg. C<--partition=gpt> for large "
23741 "disks."
23742 msgstr ""
23743
23744 # type: textblock
23745 #: ../tools/virt-make-fs.pl:259
23746 msgid ""
23747 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
23748 "might consider the next parameter to be the partition type.  For example:"
23749 msgstr ""
23750
23751 # type: verbatim
23752 #: ../tools/virt-make-fs.pl:263
23753 #, no-wrap
23754 msgid ""
23755 " virt-make-fs --partition input.tar ...\n"
23756 "\n"
23757 msgstr ""
23758
23759 # type: textblock
23760 #: ../tools/virt-make-fs.pl:265
23761 msgid ""
23762 "would cause virt-make-fs to think you wanted to use a partition type of "
23763 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
23764 "dash) between options and the input file argument:"
23765 msgstr ""
23766
23767 # type: verbatim
23768 #: ../tools/virt-make-fs.pl:269
23769 #, no-wrap
23770 msgid ""
23771 " virt-make-fs --partition -- input.tar ...\n"
23772 "\n"
23773 msgstr ""
23774
23775 # type: textblock
23776 #: ../tools/virt-make-fs.pl:529
23777 msgid ""
23778 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
23779 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, "
23780 "L<guestfs(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
23781 msgstr ""
23782
23783 # type: textblock
23784 #: ../tools/virt-make-fs.pl:543 ../tools/virt-win-reg.pl:478
23785 msgid ""
23786 "When reporting bugs, please enable debugging and capture the I<complete> "
23787 "output:"
23788 msgstr ""
23789
23790 # type: verbatim
23791 #: ../tools/virt-make-fs.pl:546
23792 #, no-wrap
23793 msgid ""
23794 " export LIBGUESTFS_DEBUG=1\n"
23795 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
23796 "\n"
23797 msgstr ""
23798
23799 # type: textblock
23800 #: ../tools/virt-make-fs.pl:549
23801 msgid ""
23802 "Attach /tmp/virt-make-fs.log to a new bug report at "
23803 "L<https://bugzilla.redhat.com/>"
23804 msgstr ""
23805
23806 # type: textblock
23807 #: ../tools/virt-make-fs.pl:558 ../tools/virt-resize.pl:1413 ../tools/virt-win-reg.pl:493
23808 msgid "Copyright (C) 2010 Red Hat Inc."
23809 msgstr ""
23810
23811 # type: textblock
23812 #: ../tools/virt-rescue.pl:33
23813 msgid "virt-rescue - Run a rescue shell on a virtual machine"
23814 msgstr ""
23815
23816 # type: verbatim
23817 #: ../tools/virt-rescue.pl:37
23818 #, no-wrap
23819 msgid ""
23820 " virt-rescue [--options] domname\n"
23821 "\n"
23822 msgstr ""
23823
23824 # type: verbatim
23825 #: ../tools/virt-rescue.pl:39
23826 #, no-wrap
23827 msgid ""
23828 " virt-rescue [--options] disk.img [disk.img ...]\n"
23829 "\n"
23830 msgstr ""
23831
23832 # type: textblock
23833 #: ../tools/virt-rescue.pl:43
23834 msgid ""
23835 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
23836 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
23837 "you from doing this, but doesn't catch all cases."
23838 msgstr ""
23839
23840 # type: textblock
23841 #: ../tools/virt-rescue.pl:47
23842 msgid ""
23843 "However if you use the I<--ro> (read only) option, then you can attach a "
23844 "shell to a live virtual machine.  The results might be strange or "
23845 "inconsistent at times but you won't get disk corruption."
23846 msgstr ""
23847
23848 # type: textblock
23849 #: ../tools/virt-rescue.pl:53
23850 msgid ""
23851 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
23852 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
23853 "recovery tools which you can use to examine or rescue a virtual machine or "
23854 "disk image."
23855 msgstr ""
23856
23857 # type: textblock
23858 #: ../tools/virt-rescue.pl:58
23859 msgid ""
23860 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
23861 "on disk image(s):"
23862 msgstr ""
23863
23864 # type: verbatim
23865 #: ../tools/virt-rescue.pl:61
23866 #, no-wrap
23867 msgid ""
23868 " virt-rescue GuestName\n"
23869 "\n"
23870 msgstr ""
23871
23872 # type: verbatim
23873 #: ../tools/virt-rescue.pl:63
23874 #, no-wrap
23875 msgid ""
23876 " virt-rescue --ro /path/to/disk.img\n"
23877 "\n"
23878 msgstr ""
23879
23880 # type: verbatim
23881 #: ../tools/virt-rescue.pl:65
23882 #, no-wrap
23883 msgid ""
23884 " virt-rescue /dev/sdc\n"
23885 "\n"
23886 msgstr ""
23887
23888 # type: textblock
23889 #: ../tools/virt-rescue.pl:67
23890 msgid "For live VMs you I<must> use the --ro option."
23891 msgstr ""
23892
23893 # type: textblock
23894 #: ../tools/virt-rescue.pl:69
23895 msgid ""
23896 "When you run virt-rescue on a virtual machine or disk image, you are placed "
23897 "in an interactive bash shell where you can use many ordinary Linux "
23898 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
23899 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
23900 "is an empty directory called C</sysroot> where you can mount filesystems."
23901 msgstr ""
23902
23903 # type: textblock
23904 #: ../tools/virt-rescue.pl:76
23905 msgid ""
23906 "In the example below, we list logical volumes, then choose one to mount "
23907 "under C</sysroot>:"
23908 msgstr ""
23909
23910 # type: verbatim
23911 #: ../tools/virt-rescue.pl:79
23912 #, no-wrap
23913 msgid ""
23914 " ><rescue> lvs\n"
23915 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
23916 " lv_root vg_f11x64 -wi-a-   8.83G\n"
23917 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
23918 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
23919 " ><rescue> ls /sysroot\n"
23920 "\n"
23921 msgstr ""
23922
23923 # type: textblock
23924 #: ../tools/virt-rescue.pl:86
23925 msgid ""
23926 "If you don't know what filesystems are available on the virtual machine then "
23927 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
23928 msgstr ""
23929
23930 # type: =head1
23931 #: ../tools/virt-rescue.pl:90 ../tools/virt-resize.pl:1350
23932 msgid "NOTES"
23933 msgstr ""
23934
23935 # type: textblock
23936 #: ../tools/virt-rescue.pl:92
23937 msgid ""
23938 "Virt-rescue can be used on I<any> disk image file or device, not just a "
23939 "virtual machine.  For example you can use it on a blank file if you want to "
23940 "partition that file (although we would recommend using L<guestfish(1)> "
23941 "instead as it is more suitable for this purpose).  You can even use "
23942 "virt-rescue on things like SD cards."
23943 msgstr ""
23944
23945 # type: textblock
23946 #: ../tools/virt-rescue.pl:98
23947 msgid ""
23948 "This tool is just designed for quick interactive hacking on a virtual "
23949 "machine.  For more structured access to a virtual machine disk image, you "
23950 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
23951 "make scripted changes to guests, use L<guestfish(1)>."
23952 msgstr ""
23953
23954 # type: =item
23955 #: ../tools/virt-rescue.pl:127
23956 msgid "B<--append kernelopts>"
23957 msgstr ""
23958
23959 # type: textblock
23960 #: ../tools/virt-rescue.pl:129
23961 msgid "Pass additional options to the rescue kernel."
23962 msgstr ""
23963
23964 # type: =item
23965 #: ../tools/virt-rescue.pl:147
23966 msgid "B<--memsize MB> | B<-m MB>"
23967 msgstr ""
23968
23969 # type: textblock
23970 #: ../tools/virt-rescue.pl:149
23971 msgid ""
23972 "Change the amount of memory allocated to the rescue system.  The default is "
23973 "set by libguestfs and is small but adequate for running system tools.  The "
23974 "occasional program might need more memory.  The parameter is specified in "
23975 "megabytes."
23976 msgstr ""
23977
23978 # type: =item
23979 #: ../tools/virt-rescue.pl:158
23980 msgid "B<--ro> | B<-r>"
23981 msgstr ""
23982
23983 # type: textblock
23984 #: ../tools/virt-rescue.pl:160
23985 msgid "Open the image read-only."
23986 msgstr ""
23987
23988 # type: textblock
23989 #: ../tools/virt-rescue.pl:172
23990 msgid ""
23991 "Enable SELinux in the rescue appliance.  You should read "
23992 "L<guestfs(3)/SELINUX> before using this option."
23993 msgstr ""
23994
23995 # type: textblock
23996 #: ../tools/virt-rescue.pl:228
23997 msgid ""
23998 "Several environment variables affect virt-rescue.  See "
23999 "L<guestfs(3)/ENVIRONMENT VARIABLES> for the complete list."
24000 msgstr ""
24001
24002 # type: textblock
24003 #: ../tools/virt-rescue.pl:233
24004 msgid ""
24005 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
24006 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24007 msgstr ""
24008
24009 # type: textblock
24010 #: ../tools/virt-resize.pl:42
24011 msgid "virt-resize - Resize a virtual machine disk"
24012 msgstr ""
24013
24014 # type: verbatim
24015 #: ../tools/virt-resize.pl:46
24016 #, no-wrap
24017 msgid ""
24018 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
24019 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
24020 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
24021 "\n"
24022 msgstr ""
24023
24024 # type: textblock
24025 #: ../tools/virt-resize.pl:52
24026 msgid ""
24027 "Virt-resize is a tool which can resize a virtual machine disk, making it "
24028 "larger or smaller overall, and resizing or deleting any partitions contained "
24029 "within."
24030 msgstr ""
24031
24032 # type: textblock
24033 #: ../tools/virt-resize.pl:56
24034 msgid ""
24035 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
24036 "not> be used on live virtual machines - for consistent results, shut the "
24037 "virtual machine down before resizing it."
24038 msgstr ""
24039
24040 # type: textblock
24041 #: ../tools/virt-resize.pl:60
24042 msgid ""
24043 "If you are not familiar with the associated tools: "
24044 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)> and L<virt-df(1)>, "
24045 "we recommend you go and read those manual pages first."
24046 msgstr ""
24047
24048 # type: textblock
24049 #: ../tools/virt-resize.pl:68
24050 msgid ""
24051 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
24052 "fill the extra 5GB of space."
24053 msgstr ""
24054
24055 # type: verbatim
24056 #: ../tools/virt-resize.pl:71
24057 #, no-wrap
24058 msgid ""
24059 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
24060 " virt-list-partitions -lht olddisk\n"
24061 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
24062 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
24063 "\n"
24064 msgstr ""
24065
24066 # type: textblock
24067 #: ../tools/virt-resize.pl:76
24068 msgid ""
24069 "As above, but make the /boot partition 200MB bigger, while giving the "
24070 "remaining space to /dev/sda2:"
24071 msgstr ""
24072
24073 # type: verbatim
24074 #: ../tools/virt-resize.pl:79
24075 #, no-wrap
24076 msgid ""
24077 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
24078 "\n"
24079 msgstr ""
24080
24081 # type: =head1
24082 #: ../tools/virt-resize.pl:81
24083 msgid "DETAILED USAGE"
24084 msgstr ""
24085
24086 # type: =head2
24087 #: ../tools/virt-resize.pl:83
24088 msgid "EXPANDING A VIRTUAL MACHINE DISK"
24089 msgstr ""
24090
24091 # type: =item
24092 #: ../tools/virt-resize.pl:87
24093 msgid "1. Shut down the virtual machine"
24094 msgstr ""
24095
24096 # type: =item
24097 #: ../tools/virt-resize.pl:89
24098 msgid "2. Locate input disk image"
24099 msgstr ""
24100
24101 # type: textblock
24102 #: ../tools/virt-resize.pl:91
24103 msgid ""
24104 "Locate the input disk image (ie. the file or device on the host containing "
24105 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
24106 "dumpxml> like this to find the disk image name:"
24107 msgstr ""
24108
24109 # type: verbatim
24110 #: ../tools/virt-resize.pl:95
24111 #, no-wrap
24112 msgid ""
24113 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
24114 " Found 1 nodes:\n"
24115 " -- NODE --\n"
24116 " <source dev=\"/dev/vg/lv_guest\" />\n"
24117 "\n"
24118 msgstr ""
24119
24120 # type: =item
24121 #: ../tools/virt-resize.pl:100
24122 msgid "3. Look at current sizing"
24123 msgstr ""
24124
24125 # type: textblock
24126 #: ../tools/virt-resize.pl:102
24127 msgid "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
24128 msgstr ""
24129
24130 # type: verbatim
24131 #: ../tools/virt-resize.pl:105
24132 #, no-wrap
24133 msgid ""
24134 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
24135 " /dev/sda1 ext3 101.9M\n"
24136 " /dev/sda2 pv 7.9G\n"
24137 " /dev/sda device 8.0G\n"
24138 "\n"
24139 msgstr ""
24140
24141 # type: textblock
24142 #: ../tools/virt-resize.pl:110
24143 msgid ""
24144 "(This example is a virtual machine with an 8 GB disk which we would like to "
24145 "expand up to 10 GB)."
24146 msgstr ""
24147
24148 # type: =item
24149 #: ../tools/virt-resize.pl:113
24150 msgid "4. Create output disk"
24151 msgstr ""
24152
24153 # type: textblock
24154 #: ../tools/virt-resize.pl:115
24155 msgid ""
24156 "Virt-resize cannot do in-place disk modifications.  You have to have space "
24157 "to store the resized output disk."
24158 msgstr ""
24159
24160 # type: textblock
24161 #: ../tools/virt-resize.pl:118
24162 msgid "To store the resized disk image in a file, create a file of a suitable size:"
24163 msgstr ""
24164
24165 # type: verbatim
24166 #: ../tools/virt-resize.pl:121
24167 #, no-wrap
24168 msgid ""
24169 " # rm -f outdisk\n"
24170 " # truncate -s 10G outdisk\n"
24171 "\n"
24172 msgstr ""
24173
24174 # type: textblock
24175 #: ../tools/virt-resize.pl:124
24176 msgid "Or use L<lvcreate(1)> to create a logical volume:"
24177 msgstr ""
24178
24179 # type: verbatim
24180 #: ../tools/virt-resize.pl:126
24181 #, no-wrap
24182 msgid ""
24183 " # lvcreate -L 10G -n lv_name vg_name\n"
24184 "\n"
24185 msgstr ""
24186
24187 # type: textblock
24188 #: ../tools/virt-resize.pl:128
24189 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
24190 msgstr ""
24191
24192 # type: verbatim
24193 #: ../tools/virt-resize.pl:130
24194 #, no-wrap
24195 msgid ""
24196 " # virsh pool-list\n"
24197 " # virsh vol-create-as poolname newvol 10G\n"
24198 "\n"
24199 msgstr ""
24200
24201 # type: =item
24202 #: ../tools/virt-resize.pl:133
24203 msgid "5. Resize"
24204 msgstr ""
24205
24206 # type: textblock
24207 #: ../tools/virt-resize.pl:135
24208 msgid ""
24209 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
24210 "file) and the output disk.  The output disk is the one created in the "
24211 "previous step."
24212 msgstr ""
24213
24214 # type: verbatim
24215 #: ../tools/virt-resize.pl:139
24216 #, no-wrap
24217 msgid ""
24218 " # virt-resize indisk outdisk\n"
24219 "\n"
24220 msgstr ""
24221
24222 # type: textblock
24223 #: ../tools/virt-resize.pl:141
24224 msgid ""
24225 "This command just copies disk image C<indisk> to disk image C<outdisk> "
24226 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
24227 "larger, then an extra, empty partition is created at the end of the disk "
24228 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
24229 "error."
24230 msgstr ""
24231
24232 # type: textblock
24233 #: ../tools/virt-resize.pl:147
24234 msgid ""
24235 "More realistically you'd want to expand existing partitions in the disk "
24236 "image by passing extra options (for the full list see the L</OPTIONS> "
24237 "section below)."
24238 msgstr ""
24239
24240 # type: textblock
24241 #: ../tools/virt-resize.pl:151
24242 msgid ""
24243 "L</--expand> is the most useful option.  It expands the named partition "
24244 "within the disk to fill any extra space:"
24245 msgstr ""
24246
24247 # type: verbatim
24248 #: ../tools/virt-resize.pl:154
24249 #, no-wrap
24250 msgid ""
24251 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
24252 "\n"
24253 msgstr ""
24254
24255 # type: textblock
24256 #: ../tools/virt-resize.pl:156
24257 msgid ""
24258 "(In this case, an extra partition is I<not> created at the end of the disk, "
24259 "because there will be no unused space)."
24260 msgstr ""
24261
24262 # type: textblock
24263 #: ../tools/virt-resize.pl:159
24264 msgid ""
24265 "L</--resize> is the other commonly used option.  The following would "
24266 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
24267 "rest of the available space:"
24268 msgstr ""
24269
24270 # type: verbatim
24271 #: ../tools/virt-resize.pl:163
24272 #, no-wrap
24273 msgid ""
24274 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
24275 "     indisk outdisk\n"
24276 "\n"
24277 msgstr ""
24278
24279 # type: textblock
24280 #: ../tools/virt-resize.pl:166
24281 msgid ""
24282 "If the expanded partition in the image contains a filesystem or LVM PV, then "
24283 "if virt-resize knows how, it will resize the contents, the equivalent of "
24284 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or "
24285 "L<ntfsresize(8)>.  However virt-resize does not know how to resize some "
24286 "filesystems, so you would have to online resize them after booting the "
24287 "guest.  And virt-resize also does not resize anything inside an LVM PV, it "
24288 "just resizes the PV itself and leaves the user to resize any LVs inside that "
24289 "PV as desired."
24290 msgstr ""
24291
24292 # type: textblock
24293 #: ../tools/virt-resize.pl:175
24294 msgid "Other options are covered below."
24295 msgstr ""
24296
24297 # type: =item
24298 #: ../tools/virt-resize.pl:177
24299 msgid "6. Test"
24300 msgstr ""
24301
24302 # type: textblock
24303 #: ../tools/virt-resize.pl:179
24304 msgid "Thoroughly test the new disk image I<before> discarding the old one."
24305 msgstr ""
24306
24307 # type: textblock
24308 #: ../tools/virt-resize.pl:181
24309 msgid "If you are using libvirt, edit the XML to point at the new disk:"
24310 msgstr ""
24311
24312 # type: verbatim
24313 #: ../tools/virt-resize.pl:183
24314 #, no-wrap
24315 msgid ""
24316 " # virsh edit guestname\n"
24317 "\n"
24318 msgstr ""
24319
24320 # type: textblock
24321 #: ../tools/virt-resize.pl:185
24322 msgid ""
24323 "Change E<lt>source ...E<gt>, see "
24324 "L<http://libvirt.org/formatdomain.html#elementsDisks>"
24325 msgstr ""
24326
24327 # type: textblock
24328 #: ../tools/virt-resize.pl:188
24329 msgid "Then start up the domain with the new, resized disk:"
24330 msgstr ""
24331
24332 # type: verbatim
24333 #: ../tools/virt-resize.pl:190
24334 #, no-wrap
24335 msgid ""
24336 " # virsh start guestname\n"
24337 "\n"
24338 msgstr ""
24339
24340 # type: textblock
24341 #: ../tools/virt-resize.pl:192
24342 msgid ""
24343 "and check that it still works.  See also the L</NOTES> section below for "
24344 "additional information."
24345 msgstr ""
24346
24347 # type: =item
24348 #: ../tools/virt-resize.pl:195
24349 msgid "7. Resize LVs etc inside the guest"
24350 msgstr ""
24351
24352 # type: textblock
24353 #: ../tools/virt-resize.pl:197
24354 msgid "(This can also be done offline using L<guestfish(1)>)"
24355 msgstr ""
24356
24357 # type: textblock
24358 #: ../tools/virt-resize.pl:199
24359 msgid ""
24360 "Once the guest has booted you should see the new space available, at least "
24361 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
24362 "may need to resize LVs inside PVs, and also resize filesystem types that "
24363 "virt-resize does not know how to expand."
24364 msgstr ""
24365
24366 # type: =head2
24367 #: ../tools/virt-resize.pl:206
24368 msgid "SHRINKING A VIRTUAL MACHINE DISK"
24369 msgstr ""
24370
24371 # type: textblock
24372 #: ../tools/virt-resize.pl:208
24373 msgid ""
24374 "Shrinking is somewhat more complex than expanding, and only an overview is "
24375 "given here."
24376 msgstr ""
24377
24378 # type: textblock
24379 #: ../tools/virt-resize.pl:211
24380 msgid ""
24381 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
24382 "filesystems).  The user has to shrink content before passing the disk image "
24383 "to virt-resize, and virt-resize will check that the content has been shrunk "
24384 "properly."
24385 msgstr ""
24386
24387 # type: textblock
24388 #: ../tools/virt-resize.pl:216
24389 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
24390 msgstr ""
24391
24392 # type: textblock
24393 #: ../tools/virt-resize.pl:218
24394 msgid ""
24395 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
24396 "steps 3 and 4 above to allocate a new disk image."
24397 msgstr ""
24398
24399 # type: textblock
24400 #: ../tools/virt-resize.pl:221
24401 msgid "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
24402 msgstr ""
24403
24404 # type: =head2
24405 #: ../tools/virt-resize.pl:224
24406 msgid "IGNORING OR DELETING PARTITIONS"
24407 msgstr ""
24408
24409 # type: textblock
24410 #: ../tools/virt-resize.pl:226
24411 msgid ""
24412 "virt-resize also gives a convenient way to ignore or delete partitions when "
24413 "copying from the input disk to the output disk.  Ignoring a partition speeds "
24414 "up the copy where you don't care about the existing contents of a "
24415 "partition.  Deleting a partition removes it completely, but note that it "
24416 "also renumbers any partitions after the one which is deleted, which can "
24417 "leave some guests unbootable."
24418 msgstr ""
24419
24420 # type: textblock
24421 #: ../tools/virt-resize.pl:243
24422 msgid "Display help."
24423 msgstr ""
24424
24425 # type: =item
24426 #: ../tools/virt-resize.pl:257
24427 msgid "B<--resize part=size>"
24428 msgstr ""
24429
24430 # type: textblock
24431 #: ../tools/virt-resize.pl:259
24432 msgid ""
24433 "Resize the named partition (expanding or shrinking it) so that it has the "
24434 "given size."
24435 msgstr ""
24436
24437 # type: textblock
24438 #: ../tools/virt-resize.pl:262
24439 msgid ""
24440 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
24441 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
24442 "Exabytes; or as a percentage of the current size; or as a relative number or "
24443 "percentage.  For example:"
24444 msgstr ""
24445
24446 # type: verbatim
24447 #: ../tools/virt-resize.pl:267
24448 #, no-wrap
24449 msgid ""
24450 " --resize /dev/sda2=10G\n"
24451 "\n"
24452 msgstr ""
24453
24454 # type: verbatim
24455 #: ../tools/virt-resize.pl:269
24456 #, no-wrap
24457 msgid ""
24458 " --resize /dev/sda4=90%\n"
24459 "\n"
24460 msgstr ""
24461
24462 # type: verbatim
24463 #: ../tools/virt-resize.pl:271
24464 #, no-wrap
24465 msgid ""
24466 " --resize /dev/sda2=+1G\n"
24467 "\n"
24468 msgstr ""
24469
24470 # type: verbatim
24471 #: ../tools/virt-resize.pl:273
24472 #, no-wrap
24473 msgid ""
24474 " --resize /dev/sda2=-200M\n"
24475 "\n"
24476 msgstr ""
24477
24478 # type: verbatim
24479 #: ../tools/virt-resize.pl:275
24480 #, no-wrap
24481 msgid ""
24482 " --resize /dev/sda1=+128K\n"
24483 "\n"
24484 msgstr ""
24485
24486 # type: verbatim
24487 #: ../tools/virt-resize.pl:277
24488 #, no-wrap
24489 msgid ""
24490 " --resize /dev/sda1=+10%\n"
24491 "\n"
24492 msgstr ""
24493
24494 # type: verbatim
24495 #: ../tools/virt-resize.pl:279
24496 #, no-wrap
24497 msgid ""
24498 " --resize /dev/sda1=-10%\n"
24499 "\n"
24500 msgstr ""
24501
24502 # type: textblock
24503 #: ../tools/virt-resize.pl:281
24504 msgid ""
24505 "You can increase the size of any partition.  Virt-resize will expand the "
24506 "direct content of the partition if it knows how (see C<--expand> below)."
24507 msgstr ""
24508
24509 # type: textblock
24510 #: ../tools/virt-resize.pl:285
24511 msgid ""
24512 "You can only I<decrease> the size of partitions that contain filesystems or "
24513 "PVs which have already been shrunk.  Virt-resize will check this has been "
24514 "done before proceeding, or else will print an error (see also "
24515 "C<--resize-force>)."
24516 msgstr ""
24517
24518 # type: textblock
24519 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382 ../tools/virt-resize.pl:399
24520 msgid "You can give this option multiple times."
24521 msgstr ""
24522
24523 # type: =item
24524 #: ../tools/virt-resize.pl:296
24525 msgid "B<--resize-force part=size>"
24526 msgstr ""
24527
24528 # type: textblock
24529 #: ../tools/virt-resize.pl:298
24530 msgid ""
24531 "This is the same as C<--resize> except that it will let you decrease the "
24532 "size of any partition.  Generally this means you will lose any data which "
24533 "was at the end of the partition you shrink, but you may not care about that "
24534 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
24535 "as a swap partition)."
24536 msgstr ""
24537
24538 # type: textblock
24539 #: ../tools/virt-resize.pl:304
24540 msgid "See also the C<--ignore> option."
24541 msgstr ""
24542
24543 # type: =item
24544 #: ../tools/virt-resize.pl:310
24545 msgid "B<--expand part>"
24546 msgstr ""
24547
24548 # type: textblock
24549 #: ../tools/virt-resize.pl:312
24550 msgid ""
24551 "Expand the named partition so it uses up all extra space (space left over "
24552 "after any other resize changes that you request have been done)."
24553 msgstr ""
24554
24555 # type: textblock
24556 #: ../tools/virt-resize.pl:315
24557 msgid ""
24558 "If virt-resize knows how, it will expand the direct content of the "
24559 "partition.  For example, if the partition is an LVM PV, it will expand the "
24560 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
24561 "content it doesn't know about alone."
24562 msgstr ""
24563
24564 # type: textblock
24565 #: ../tools/virt-resize.pl:320
24566 msgid "Currently virt-resize can resize:"
24567 msgstr ""
24568
24569 # type: textblock
24570 #: ../tools/virt-resize.pl:326
24571 msgid ""
24572 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
24573 "partition."
24574 msgstr ""
24575
24576 # type: textblock
24577 #: ../tools/virt-resize.pl:331
24578 msgid ""
24579 "NTFS filesystems contained directly in a partition, if libguestfs was "
24580 "compiled with support for NTFS."
24581 msgstr ""
24582
24583 # type: textblock
24584 #: ../tools/virt-resize.pl:334
24585 msgid ""
24586 "The filesystem must have been shut down consistently last time it was used.  "
24587 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
24588 "consistency check, so at the first boot after resizing Windows will check "
24589 "the disk."
24590 msgstr ""
24591
24592 # type: textblock
24593 #: ../tools/virt-resize.pl:341
24594 msgid ""
24595 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
24596 "inside the PV.  The user will have to resize LVs as desired."
24597 msgstr ""
24598
24599 # type: textblock
24600 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
24601 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
24602 msgstr ""
24603
24604 # type: =item
24605 #: ../tools/virt-resize.pl:353
24606 msgid "B<--shrink part>"
24607 msgstr ""
24608
24609 # type: textblock
24610 #: ../tools/virt-resize.pl:355
24611 msgid ""
24612 "Shrink the named partition until the overall disk image fits in the "
24613 "destination.  The named partition B<must> contain a filesystem or PV which "
24614 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
24615 "online tools).  Virt-resize will check this and give an error if it has not "
24616 "been done."
24617 msgstr ""
24618
24619 # type: textblock
24620 #: ../tools/virt-resize.pl:361
24621 msgid ""
24622 "The amount by which the overall disk must be shrunk (after carrying out all "
24623 "other operations requested by the user) is called the \"deficit\".  For "
24624 "example, a straight copy (assume no other operations)  from a 5GB disk image "
24625 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
24626 "would give an error unless the user specified a partition to shrink and that "
24627 "partition had more than a gigabyte of free space."
24628 msgstr ""
24629
24630 # type: =item
24631 #: ../tools/virt-resize.pl:375
24632 msgid "B<--ignore part>"
24633 msgstr ""
24634
24635 # type: textblock
24636 #: ../tools/virt-resize.pl:377
24637 msgid ""
24638 "Ignore the named partition.  Effectively this means the partition is "
24639 "allocated on the destination disk, but the content is not copied across from "
24640 "the source disk.  The content of the partition will be blank (all zero "
24641 "bytes)."
24642 msgstr ""
24643
24644 # type: =item
24645 #: ../tools/virt-resize.pl:388
24646 msgid "B<--delete part>"
24647 msgstr ""
24648
24649 # type: textblock
24650 #: ../tools/virt-resize.pl:390
24651 msgid ""
24652 "Delete the named partition.  It would be more accurate to describe this as "
24653 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
24654 "the original disk image is left intact."
24655 msgstr ""
24656
24657 # type: textblock
24658 #: ../tools/virt-resize.pl:394
24659 msgid ""
24660 "Note that when you delete a partition, then anything contained in the "
24661 "partition is also deleted.  Furthermore, this causes any partitions that "
24662 "come after to be I<renumbered>, which can easily make your guest unbootable."
24663 msgstr ""
24664
24665 # type: =item
24666 #: ../tools/virt-resize.pl:405
24667 msgid "B<--LV-expand logvol>"
24668 msgstr ""
24669
24670 # type: textblock
24671 #: ../tools/virt-resize.pl:407
24672 msgid ""
24673 "This takes the logical volume and, as a final step, expands it to fill all "
24674 "the space available in its volume group.  A typical usage, assuming a Linux "
24675 "guest with a single PV C</dev/sda2> and a root device called "
24676 "C</dev/vg_guest/lv_root> would be:"
24677 msgstr ""
24678
24679 # type: verbatim
24680 #: ../tools/virt-resize.pl:412
24681 #, no-wrap
24682 msgid ""
24683 " virt-resize indisk outdisk \\\n"
24684 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
24685 "\n"
24686 msgstr ""
24687
24688 # type: textblock
24689 #: ../tools/virt-resize.pl:415
24690 msgid ""
24691 "This would first expand the partition (and PV), and then expand the root "
24692 "device to fill the extra space in the PV."
24693 msgstr ""
24694
24695 # type: textblock
24696 #: ../tools/virt-resize.pl:418
24697 msgid ""
24698 "The contents of the LV are also resized if virt-resize knows how to do "
24699 "that.  You can stop virt-resize from trying to expand the content by using "
24700 "the option C<--no-expand-content>."
24701 msgstr ""
24702
24703 # type: textblock
24704 #: ../tools/virt-resize.pl:422
24705 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
24706 msgstr ""
24707
24708 # type: textblock
24709 #: ../tools/virt-resize.pl:425
24710 msgid ""
24711 "You can give this option multiple times, I<but> it doesn't make sense to do "
24712 "this unless the logical volumes you specify are all in different volume "
24713 "groups."
24714 msgstr ""
24715
24716 # type: =item
24717 #: ../tools/virt-resize.pl:433
24718 msgid "B<--no-copy-boot-loader>"
24719 msgstr ""
24720
24721 # type: textblock
24722 #: ../tools/virt-resize.pl:435
24723 msgid ""
24724 "By default, virt-resize copies over some sectors at the start of the disk "
24725 "(up to the beginning of the first partition).  Commonly these sectors "
24726 "contain the Master Boot Record (MBR) and the boot loader, and are required "
24727 "in order for the guest to boot correctly."
24728 msgstr ""
24729
24730 # type: textblock
24731 #: ../tools/virt-resize.pl:440
24732 msgid ""
24733 "If you specify this flag, then this initial copy is not done.  You may need "
24734 "to reinstall the boot loader in this case."
24735 msgstr ""
24736
24737 # type: =item
24738 #: ../tools/virt-resize.pl:448
24739 msgid "B<--no-extra-partition>"
24740 msgstr ""
24741
24742 # type: textblock
24743 #: ../tools/virt-resize.pl:450
24744 msgid ""
24745 "By default, virt-resize creates an extra partition if there is any extra, "
24746 "unused space after all resizing has happened.  Use this option to prevent "
24747 "the extra partition from being created.  If you do this then the extra space "
24748 "will be inaccessible until you run fdisk, parted, or some other partitioning "
24749 "tool in the guest."
24750 msgstr ""
24751
24752 # type: textblock
24753 #: ../tools/virt-resize.pl:456
24754 msgid ""
24755 "Note that if the surplus space is smaller than 10 MB, no extra partition "
24756 "will be created."
24757 msgstr ""
24758
24759 # type: =item
24760 #: ../tools/virt-resize.pl:463
24761 msgid "B<--no-expand-content>"
24762 msgstr ""
24763
24764 # type: textblock
24765 #: ../tools/virt-resize.pl:465
24766 msgid ""
24767 "By default, virt-resize will try to expand the direct contents of "
24768 "partitions, if it knows how (see C<--expand> option above)."
24769 msgstr ""
24770
24771 # type: textblock
24772 #: ../tools/virt-resize.pl:468
24773 msgid ""
24774 "If you give the C<--no-expand-content> option then virt-resize will not "
24775 "attempt this."
24776 msgstr ""
24777
24778 # type: =item
24779 #: ../tools/virt-resize.pl:475
24780 msgid "B<-d> | B<--debug>"
24781 msgstr ""
24782
24783 # type: textblock
24784 #: ../tools/virt-resize.pl:477 ../tools/virt-win-reg.pl:198
24785 msgid "Enable debugging messages."
24786 msgstr ""
24787
24788 # type: =item
24789 #: ../tools/virt-resize.pl:483
24790 msgid "B<-n> | B<--dryrun>"
24791 msgstr ""
24792
24793 # type: textblock
24794 #: ../tools/virt-resize.pl:485
24795 msgid "Print a summary of what would be done, but don't do anything."
24796 msgstr ""
24797
24798 # type: =item
24799 #: ../tools/virt-resize.pl:491
24800 msgid "B<-q> | B<--quiet>"
24801 msgstr ""
24802
24803 # type: textblock
24804 #: ../tools/virt-resize.pl:493
24805 msgid "Don't print the summary."
24806 msgstr ""
24807
24808 # type: =head2
24809 #: ../tools/virt-resize.pl:1352
24810 msgid "\"Partition 1 does not end on cylinder boundary.\""
24811 msgstr ""
24812
24813 # type: textblock
24814 #: ../tools/virt-resize.pl:1354
24815 msgid ""
24816 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
24817 "means the partitions will not be aligned to the ancient CHS geometry.  "
24818 "However CHS geometry is meaningless for disks manufactured since the early "
24819 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
24820 "cylinders is not required by any modern operating system."
24821 msgstr ""
24822
24823 # type: =head2
24824 #: ../tools/virt-resize.pl:1361
24825 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
24826 msgstr ""
24827
24828 # type: textblock
24829 #: ../tools/virt-resize.pl:1363
24830 msgid ""
24831 "In Windows Vista and later versions, Microsoft switched to using a separate "
24832 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
24833 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
24834 "the boot partition.  Doing so seems to break the guest completely.  However "
24835 "expanding the second partition (ie. C: drive) should work."
24836 msgstr ""
24837
24838 # type: textblock
24839 #: ../tools/virt-resize.pl:1370
24840 msgid ""
24841 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
24842 "NTFS partitions have been expanded.  This is just a safety check and (unless "
24843 "it find errors) is nothing to worry about."
24844 msgstr ""
24845
24846 # type: =head1
24847 #: ../tools/virt-resize.pl:1374
24848 msgid "ALTERNATIVE TOOLS"
24849 msgstr ""
24850
24851 # type: textblock
24852 #: ../tools/virt-resize.pl:1376
24853 msgid ""
24854 "There are several proprietary tools for resizing partitions.  We won't "
24855 "mention any here."
24856 msgstr ""
24857
24858 # type: textblock
24859 #: ../tools/virt-resize.pl:1379
24860 msgid ""
24861 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
24862 "operations on disk images.  They can resize and move partitions, but I don't "
24863 "think they can do anything with the contents, and they certainly don't "
24864 "understand LVM."
24865 msgstr ""
24866
24867 # type: textblock
24868 #: ../tools/virt-resize.pl:1384
24869 msgid ""
24870 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
24871 "but at a much lower level.  You will probably end up hand-calculating sector "
24872 "offsets, which is something that virt-resize was designed to avoid.  If you "
24873 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
24874 "C<--debug> flag."
24875 msgstr ""
24876
24877 # type: textblock
24878 #: ../tools/virt-resize.pl:1392
24879 msgid ""
24880 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
24881 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
24882 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, "
24883 "L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
24884 msgstr ""
24885
24886 # type: textblock
24887 #: ../tools/virt-tar.pl:34
24888 msgid "virt-tar - Extract or upload files to a virtual machine"
24889 msgstr ""
24890
24891 # type: verbatim
24892 #: ../tools/virt-tar.pl:38
24893 #, no-wrap
24894 msgid ""
24895 " virt-tar [--options] -x domname directory tarball\n"
24896 "\n"
24897 msgstr ""
24898
24899 # type: verbatim
24900 #: ../tools/virt-tar.pl:40
24901 #, no-wrap
24902 msgid ""
24903 " virt-tar [--options] -u domname tarball directory\n"
24904 "\n"
24905 msgstr ""
24906
24907 # type: verbatim
24908 #: ../tools/virt-tar.pl:42
24909 #, no-wrap
24910 msgid ""
24911 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
24912 "\n"
24913 msgstr ""
24914
24915 # type: verbatim
24916 #: ../tools/virt-tar.pl:44
24917 #, no-wrap
24918 msgid ""
24919 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
24920 "\n"
24921 msgstr ""
24922
24923 # type: textblock
24924 #: ../tools/virt-tar.pl:48
24925 msgid "Download C</home> from the VM into a local tarball:"
24926 msgstr ""
24927
24928 # type: verbatim
24929 #: ../tools/virt-tar.pl:50
24930 #, no-wrap
24931 msgid ""
24932 " virt-tar -x domname /home home.tar\n"
24933 "\n"
24934 msgstr ""
24935
24936 # type: verbatim
24937 #: ../tools/virt-tar.pl:52
24938 #, no-wrap
24939 msgid ""
24940 " virt-tar -zx domname /home home.tar.gz\n"
24941 "\n"
24942 msgstr ""
24943
24944 # type: textblock
24945 #: ../tools/virt-tar.pl:54
24946 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
24947 msgstr ""
24948
24949 # type: verbatim
24950 #: ../tools/virt-tar.pl:56
24951 #, no-wrap
24952 msgid ""
24953 " virt-tar -u domname uploadstuff.tar /tmp\n"
24954 "\n"
24955 msgstr ""
24956
24957 # type: verbatim
24958 #: ../tools/virt-tar.pl:58
24959 #, no-wrap
24960 msgid ""
24961 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
24962 "\n"
24963 msgstr ""
24964
24965 # type: textblock
24966 #: ../tools/virt-tar.pl:62
24967 msgid ""
24968 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
24969 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
24970 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
24971 msgstr ""
24972
24973 # type: textblock
24974 #: ../tools/virt-tar.pl:67
24975 msgid ""
24976 "You can use C<-x> (extract) on live virtual machines, but you might get "
24977 "inconsistent results or errors if there is filesystem activity inside the "
24978 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
24979 "work, but the only way to guarantee consistent results is if the virtual "
24980 "machine is shut down."
24981 msgstr ""
24982
24983 # type: textblock
24984 #: ../tools/virt-tar.pl:75
24985 msgid ""
24986 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
24987 "parts of a guest filesystem.  There are many possibilities: making backups, "
24988 "uploading data files, snooping on guest activity, fixing or customizing "
24989 "guests, etc."
24990 msgstr ""
24991
24992 # type: textblock
24993 #: ../tools/virt-tar.pl:80
24994 msgid ""
24995 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
24996 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
24997 "should look at the L<guestfish(1)> tool."
24998 msgstr ""
24999
25000 # type: textblock
25001 #: ../tools/virt-tar.pl:84
25002 msgid ""
25003 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
25004 "its contents (recursively) from the virtual machine into a local tarball.  "
25005 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
25006 "virtual machine.  You cannot use these two options together."
25007 msgstr ""
25008
25009 # type: textblock
25010 #: ../tools/virt-tar.pl:90
25011 msgid ""
25012 "In addition, you may need to use the C<-z> (gZip) option to enable "
25013 "compression.  When uploading, you have to specify C<-z> if the upload file "
25014 "is compressed because virt-tar won't detect this on its own."
25015 msgstr ""
25016
25017 # type: textblock
25018 #: ../tools/virt-tar.pl:94
25019 msgid ""
25020 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
25021 "example it cannot do PKZip files or bzip2 compression.  If you want that "
25022 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
25023 "the L<libguestfs(3)> API)."
25024 msgstr ""
25025
25026 # type: =item
25027 #: ../tools/virt-tar.pl:135
25028 msgid "B<-x> | B<--extract> | B<--download>"
25029 msgstr ""
25030
25031 # type: =item
25032 #: ../tools/virt-tar.pl:137
25033 msgid "B<-u> | B<--upload>"
25034 msgstr ""
25035
25036 # type: textblock
25037 #: ../tools/virt-tar.pl:139
25038 msgid ""
25039 "Use C<-x> to extract (download) a directory from a virtual machine to a "
25040 "local tarball."
25041 msgstr ""
25042
25043 # type: textblock
25044 #: ../tools/virt-tar.pl:142
25045 msgid ""
25046 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
25047 "Please read the L</WARNING> section above before using this option."
25048 msgstr ""
25049
25050 # type: textblock
25051 #: ../tools/virt-tar.pl:146
25052 msgid "You must specify exactly one of these options."
25053 msgstr ""
25054
25055 # type: =item
25056 #: ../tools/virt-tar.pl:152
25057 msgid "B<-z> | B<--gzip>"
25058 msgstr ""
25059
25060 # type: textblock
25061 #: ../tools/virt-tar.pl:154
25062 msgid "Specify that the input or output tarball is gzip-compressed."
25063 msgstr ""
25064
25065 # type: textblock
25066 #: ../tools/virt-tar.pl:259
25067 msgid ""
25068 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
25069 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
25070 "L<http://libguestfs.org/>."
25071 msgstr ""
25072
25073 # type: textblock
25074 #: ../tools/virt-win-reg.pl:38
25075 msgid ""
25076 "virt-win-reg - Export and merge Windows Registry entries from a Windows "
25077 "guest"
25078 msgstr ""
25079
25080 # type: verbatim
25081 #: ../tools/virt-win-reg.pl:42
25082 #, no-wrap
25083 msgid ""
25084 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
25085 "\n"
25086 msgstr ""
25087
25088 # type: verbatim
25089 #: ../tools/virt-win-reg.pl:44
25090 #, no-wrap
25091 msgid ""
25092 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
25093 "\n"
25094 msgstr ""
25095
25096 # type: verbatim
25097 #: ../tools/virt-win-reg.pl:46
25098 #, no-wrap
25099 msgid ""
25100 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
25101 "\n"
25102 msgstr ""
25103
25104 # type: verbatim
25105 #: ../tools/virt-win-reg.pl:48
25106 #, no-wrap
25107 msgid ""
25108 " virt-win-reg --merge domname [input.reg ...]\n"
25109 "\n"
25110 msgstr ""
25111
25112 # type: verbatim
25113 #: ../tools/virt-win-reg.pl:50
25114 #, no-wrap
25115 msgid ""
25116 " virt-win-reg [--options] disk.img ... # instead of domname\n"
25117 "\n"
25118 msgstr ""
25119
25120 # type: textblock
25121 #: ../tools/virt-win-reg.pl:54
25122 msgid ""
25123 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
25124 "virtual machines.  If you do this, you I<will> get irreversible disk "
25125 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
25126 "but doesn't catch all cases."
25127 msgstr ""
25128
25129 # type: textblock
25130 #: ../tools/virt-win-reg.pl:59
25131 msgid ""
25132 "Modifying the Windows Registry is an inherently risky operation.  The format "
25133 "is deliberately obscure and undocumented, and Registry changes can leave the "
25134 "system unbootable.  Therefore when using the C<--merge> option, make sure "
25135 "you have a reliable backup first."
25136 msgstr ""
25137
25138 # type: textblock
25139 #: ../tools/virt-win-reg.pl:66
25140 msgid ""
25141 "This program can export and merge Windows Registry entries from a Windows "
25142 "guest."
25143 msgstr ""
25144
25145 # type: textblock
25146 #: ../tools/virt-win-reg.pl:69
25147 msgid ""
25148 "The first parameter is the libvirt guest name or the raw disk image of a "
25149 "Windows guest."
25150 msgstr ""
25151
25152 # type: textblock
25153 #: ../tools/virt-win-reg.pl:72
25154 msgid ""
25155 "If C<--merge> is I<not> specified, then the chosen registry key is "
25156 "displayed/exported (recursively).  For example:"
25157 msgstr ""
25158
25159 # type: verbatim
25160 #: ../tools/virt-win-reg.pl:75
25161 #, no-wrap
25162 msgid ""
25163 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
25164 "\n"
25165 msgstr ""
25166
25167 # type: textblock
25168 #: ../tools/virt-win-reg.pl:77
25169 msgid "You can also display single values from within registry keys, for example:"
25170 msgstr ""
25171
25172 # type: verbatim
25173 #: ../tools/virt-win-reg.pl:80
25174 #, no-wrap
25175 msgid ""
25176 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
25177 " $ virt-win-reg Windows7 $cvkey ProductName\n"
25178 " Windows 7 Enterprise\n"
25179 "\n"
25180 msgstr ""
25181
25182 # type: textblock
25183 #: ../tools/virt-win-reg.pl:84
25184 msgid ""
25185 "With C<--merge>, you can merge a textual regedit file into the Windows "
25186 "Registry:"
25187 msgstr ""
25188
25189 # type: verbatim
25190 #: ../tools/virt-win-reg.pl:87
25191 #, no-wrap
25192 msgid ""
25193 " $ virt-win-reg --merge Windows7 changes.reg\n"
25194 "\n"
25195 msgstr ""
25196
25197 # type: =head2
25198 #: ../tools/virt-win-reg.pl:89
25199 msgid "SUPPORTED SYSTEMS"
25200 msgstr ""
25201
25202 # type: textblock
25203 #: ../tools/virt-win-reg.pl:91
25204 msgid ""
25205 "The program currently supports Windows NT-derived guests starting with "
25206 "Windows XP through to at least Windows 7."
25207 msgstr ""
25208
25209 # type: textblock
25210 #: ../tools/virt-win-reg.pl:94
25211 msgid ""
25212 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, "
25213 "C<HKEY_LOCAL_MACHINE\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, "
25214 "C<HKEY_LOCAL_MACHINE\\SYSTEM> and C<HKEY_USERS\\.DEFAULT>."
25215 msgstr ""
25216
25217 # type: textblock
25218 #: ../tools/virt-win-reg.pl:98
25219 msgid ""
25220 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
25221 "C<HKEY_USERS>."
25222 msgstr ""
25223
25224 # type: textblock
25225 #: ../tools/virt-win-reg.pl:101
25226 msgid ""
25227 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
25228 "time."
25229 msgstr ""
25230
25231 # type: =head2
25232 #: ../tools/virt-win-reg.pl:104
25233 msgid "NOTE"
25234 msgstr ""
25235
25236 # type: textblock
25237 #: ../tools/virt-win-reg.pl:106
25238 msgid ""
25239 "This program is only meant for simple access to the registry.  If you want "
25240 "to do complicated things with the registry, we suggest you download the "
25241 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
25242 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
25243 "L<hivexregedit(1)>."
25244 msgstr ""
25245
25246 # type: =head2
25247 #: ../tools/virt-win-reg.pl:112
25248 msgid "ENCODING"
25249 msgstr ""
25250
25251 # type: textblock
25252 #: ../tools/virt-win-reg.pl:114
25253 msgid ""
25254 "C<virt-win-reg> expects that regedit files have already been reencoded in "
25255 "the local encoding.  Usually on Linux hosts, this means UTF-8 with "
25256 "Unix-style line endings.  Since Windows regedit files are often in UTF-16LE "
25257 "with Windows-style line endings, you may need to reencode the whole file "
25258 "before or after processing."
25259 msgstr ""
25260
25261 # type: textblock
25262 #: ../tools/virt-win-reg.pl:120
25263 msgid ""
25264 "To reencode a file from Windows format to Linux (before processing it with "
25265 "the C<--merge> option), you would do something like this:"
25266 msgstr ""
25267
25268 # type: verbatim
25269 #: ../tools/virt-win-reg.pl:123
25270 #, no-wrap
25271 msgid ""
25272 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
25273 "\n"
25274 msgstr ""
25275
25276 # type: textblock
25277 #: ../tools/virt-win-reg.pl:125
25278 msgid ""
25279 "To go in the opposite direction, after exporting and before sending the file "
25280 "to a Windows user, do something like this:"
25281 msgstr ""
25282
25283 # type: verbatim
25284 #: ../tools/virt-win-reg.pl:128
25285 #, no-wrap
25286 msgid ""
25287 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
25288 "\n"
25289 msgstr ""
25290
25291 # type: textblock
25292 #: ../tools/virt-win-reg.pl:130
25293 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
25294 msgstr ""
25295
25296 # type: textblock
25297 #: ../tools/virt-win-reg.pl:132
25298 msgid ""
25299 "If you are unsure about the current encoding, use the L<file(1)> command.  "
25300 "Recent versions of Windows regedit.exe produce a UTF-16LE file with "
25301 "Windows-style (CRLF) line endings, like this:"
25302 msgstr ""
25303
25304 # type: verbatim
25305 #: ../tools/virt-win-reg.pl:136
25306 #, no-wrap
25307 msgid ""
25308 " $ file software.reg\n"
25309 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
25310 " with CRLF line terminators\n"
25311 "\n"
25312 msgstr ""
25313
25314 # type: textblock
25315 #: ../tools/virt-win-reg.pl:140
25316 msgid "This file would need conversion before you could C<--merge> it."
25317 msgstr ""
25318
25319 # type: =head2
25320 #: ../tools/virt-win-reg.pl:142
25321 msgid "SHELL QUOTING"
25322 msgstr ""
25323
25324 # type: textblock
25325 #: ../tools/virt-win-reg.pl:144
25326 msgid ""
25327 "Be careful when passing parameters containing C<\\> (backslash) in the "
25328 "shell.  Usually you will have to use 'single quotes' or double backslashes "
25329 "(but not both) to protect them from the shell."
25330 msgstr ""
25331
25332 # type: textblock
25333 #: ../tools/virt-win-reg.pl:148
25334 msgid "Paths and value names are case-insensitive."
25335 msgstr ""
25336
25337 # type: =head2
25338 #: ../tools/virt-win-reg.pl:150
25339 msgid "CurrentControlSet etc."
25340 msgstr ""
25341
25342 # type: textblock
25343 #: ../tools/virt-win-reg.pl:152
25344 msgid ""
25345 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
25346 "Registry at the level of the hive file, and therefore you cannot modify "
25347 "these."
25348 msgstr ""
25349
25350 # type: textblock
25351 #: ../tools/virt-win-reg.pl:156
25352 msgid ""
25353 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
25354 "circumstances it might refer to another control set.  The way to find out is "
25355 "to look at the C<HKLM\\SYSTEM\\Select> key:"
25356 msgstr ""
25357
25358 # type: verbatim
25359 #: ../tools/virt-win-reg.pl:160
25360 #, no-wrap
25361 msgid ""
25362 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
25363 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
25364 " \"Current\"=dword:00000001\n"
25365 " \"Default\"=dword:00000001\n"
25366 " \"Failed\"=dword:00000000\n"
25367 " \"LastKnownGood\"=dword:00000002\n"
25368 "\n"
25369 msgstr ""
25370
25371 # type: textblock
25372 #: ../tools/virt-win-reg.pl:167
25373 msgid "\"Default\" is the one which Windows will choose when it boots."
25374 msgstr ""
25375
25376 # type: textblock
25377 #: ../tools/virt-win-reg.pl:169
25378 msgid "Similarly, other C<Current...> keys in the path may need to be replaced."
25379 msgstr ""
25380
25381 # type: =item
25382 #: ../tools/virt-win-reg.pl:216
25383 msgid "B<--merge>"
25384 msgstr ""
25385
25386 # type: textblock
25387 #: ../tools/virt-win-reg.pl:218
25388 msgid ""
25389 "In merge mode, this merges a textual regedit file into the Windows Registry "
25390 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
25391 "displays or exports Registry entries instead."
25392 msgstr ""
25393
25394 # type: textblock
25395 #: ../tools/virt-win-reg.pl:222
25396 msgid ""
25397 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
25398 "result in disk corruption.  However exporting (without this flag)  is always "
25399 "safe."
25400 msgstr ""
25401
25402 # type: =item
25403 #: ../tools/virt-win-reg.pl:230
25404 msgid "B<--encoding> UTF-16LE|ASCII"
25405 msgstr ""
25406
25407 # type: textblock
25408 #: ../tools/virt-win-reg.pl:232
25409 msgid ""
25410 "When merging (only), you may need to specify the encoding for strings to be "
25411 "used in the hive file.  This is explained in detail in "
25412 "L<Win::Hivex::Regedit(3)/ENCODING STRINGS>."
25413 msgstr ""
25414
25415 # type: textblock
25416 #: ../tools/virt-win-reg.pl:236
25417 msgid ""
25418 "The default is to use UTF-16LE, which should work with recent versions of "
25419 "Windows."
25420 msgstr ""
25421
25422 # type: textblock
25423 #: ../tools/virt-win-reg.pl:463
25424 msgid ""
25425 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, "
25426 "L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
25427 "L<Sys::Guestfs::Lib(3)>, L<Win::Hivex(3)>, L<Win::Hivex::Regedit(3)>, "
25428 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25429 msgstr ""
25430
25431 # type: verbatim
25432 #: ../tools/virt-win-reg.pl:481
25433 #, no-wrap
25434 msgid ""
25435 " export LIBGUESTFS_DEBUG=1\n"
25436 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
25437 "\n"
25438 msgstr ""
25439
25440 # type: textblock
25441 #: ../tools/virt-win-reg.pl:484
25442 msgid ""
25443 "Attach /tmp/virt-win-reg.log to a new bug report at "
25444 "L<https://bugzilla.redhat.com/>"
25445 msgstr ""