Version 1.5.24.
[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.24\n"
10 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
11 "POT-Creation-Date: 2010-10-27 12:50+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-edit.pl:31 ../tools/virt-win-reg.pl:34 ../tools/virt-df.pl:32 ../tools/virt-ls.pl:31 ../tools/virt-resize.pl:38 ../tools/virt-list-filesystems.pl:28 ../tools/virt-cat.pl:30 ../tools/virt-tar.pl:30 ../tools/virt-rescue.pl:29 ../tools/virt-make-fs.pl:33 ../tools/virt-list-partitions.pl:28
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-edit.pl:33 ../tools/virt-win-reg.pl:36 ../tools/virt-df.pl:34 ../tools/virt-ls.pl:33 ../tools/virt-resize.pl:40 ../tools/virt-list-filesystems.pl:30 ../tools/virt-cat.pl:32 ../tools/virt-tar.pl:32 ../tools/virt-rescue.pl:31 ../tools/virt-make-fs.pl:35 ../tools/virt-list-partitions.pl:30
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-edit.pl:37 ../tools/virt-win-reg.pl:40 ../tools/virt-df.pl:38 ../tools/virt-ls.pl:37 ../tools/virt-resize.pl:44 ../tools/virt-list-filesystems.pl:34 ../tools/virt-cat.pl:36 ../tools/virt-tar.pl:36 ../tools/virt-rescue.pl:35 ../tools/virt-make-fs.pl:39 ../tools/virt-list-partitions.pl:34
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:30 ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:20 ../inspector/virt-inspector.pl:48 ../tools/virt-edit.pl:51 ../tools/virt-win-reg.pl:64 ../tools/virt-df.pl:46 ../tools/virt-ls.pl:43 ../tools/virt-resize.pl:50 ../tools/virt-list-filesystems.pl:40 ../tools/virt-cat.pl:42 ../tools/virt-tar.pl:73 ../tools/virt-rescue.pl:51 ../tools/virt-make-fs.pl:47 ../tools/virt-list-partitions.pl:40
74 msgid "DESCRIPTION"
75 msgstr ""
76
77 # type: textblock
78 #: ../src/guestfs.pod:26
79 msgid ""
80 "Libguestfs is a library for accessing and modifying guest disk images.  "
81 "Amongst the things this is good for: making batch configuration changes to "
82 "guests, getting disk used/free statistics (see also: virt-df), migrating "
83 "between virtualization systems (see also: virt-p2v), performing partial "
84 "backups, performing partial guest clones, cloning guests and changing "
85 "registry/UUID/hostname info, and much else besides."
86 msgstr ""
87
88 # type: textblock
89 #: ../src/guestfs.pod:34
90 msgid ""
91 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
92 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
93 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
94 "qcow2, vmdk."
95 msgstr ""
96
97 # type: textblock
98 #: ../src/guestfs.pod:39
99 msgid ""
100 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
101 "what filesystem is in each LV, etc.).  It can also run commands in the "
102 "context of the guest.  Also you can access filesystems over FUSE."
103 msgstr ""
104
105 # type: textblock
106 #: ../src/guestfs.pod:44
107 msgid ""
108 "Libguestfs is a library that can be linked with C and C++ management "
109 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
110 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
111 "line."
112 msgstr ""
113
114 # type: textblock
115 #: ../src/guestfs.pod:49
116 msgid ""
117 "You don't need to be root to use libguestfs, although obviously you do need "
118 "enough permissions to access the disk images."
119 msgstr ""
120
121 # type: textblock
122 #: ../src/guestfs.pod:52
123 msgid ""
124 "Libguestfs is a large API because it can do many things.  For a gentle "
125 "introduction, please read the L</API OVERVIEW> section next."
126 msgstr ""
127
128 # type: =head1
129 #: ../src/guestfs.pod:55
130 msgid "API OVERVIEW"
131 msgstr ""
132
133 # type: textblock
134 #: ../src/guestfs.pod:57
135 msgid ""
136 "This section provides a gentler overview of the libguestfs API.  We also try "
137 "to group API calls together, where that may not be obvious from reading "
138 "about the individual calls in the main section of this manual."
139 msgstr ""
140
141 # type: =head2
142 #: ../src/guestfs.pod:62
143 msgid "HANDLES"
144 msgstr ""
145
146 # type: textblock
147 #: ../src/guestfs.pod:64
148 msgid ""
149 "Before you can use libguestfs calls, you have to create a handle.  Then you "
150 "must add at least one disk image to the handle, followed by launching the "
151 "handle, then performing whatever operations you want, and finally closing "
152 "the handle.  By convention we use the single letter C<g> for the name of the "
153 "handle variable, although of course you can use any name you want."
154 msgstr ""
155
156 # type: textblock
157 #: ../src/guestfs.pod:71
158 msgid "The general structure of all libguestfs-using programs looks like this:"
159 msgstr ""
160
161 # type: verbatim
162 #: ../src/guestfs.pod:74
163 #, no-wrap
164 msgid ""
165 " guestfs_h *g = guestfs_create ();\n"
166 " \n"
167 msgstr ""
168
169 # type: verbatim
170 #: ../src/guestfs.pod:76
171 #, no-wrap
172 msgid ""
173 " /* Call guestfs_add_drive additional times if there are\n"
174 "  * multiple disk images.\n"
175 "  */\n"
176 " guestfs_add_drive (g, \"guest.img\");\n"
177 " \n"
178 msgstr ""
179
180 # type: verbatim
181 #: ../src/guestfs.pod:81
182 #, no-wrap
183 msgid ""
184 " /* Most manipulation calls won't work until you've launched\n"
185 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
186 "  * and _before_ other commands.\n"
187 "  */\n"
188 " guestfs_launch (g);\n"
189 " \n"
190 msgstr ""
191
192 # type: verbatim
193 #: ../src/guestfs.pod:87
194 #, no-wrap
195 msgid ""
196 " /* Now you can examine what partitions, LVs etc are available.\n"
197 "  */\n"
198 " char **partitions = guestfs_list_partitions (g);\n"
199 " char **logvols = guestfs_lvs (g);\n"
200 " \n"
201 msgstr ""
202
203 # type: verbatim
204 #: ../src/guestfs.pod:92
205 #, no-wrap
206 msgid ""
207 " /* To access a filesystem in the image, you must mount it.\n"
208 "  */\n"
209 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
210 " \n"
211 msgstr ""
212
213 # type: verbatim
214 #: ../src/guestfs.pod:96
215 #, no-wrap
216 msgid ""
217 " /* Now you can perform filesystem actions on the guest\n"
218 "  * disk image.\n"
219 "  */\n"
220 " guestfs_touch (g, \"/hello\");\n"
221 " \n"
222 msgstr ""
223
224 # type: verbatim
225 #: ../src/guestfs.pod:101
226 #, no-wrap
227 msgid ""
228 " /* You only need to call guestfs_sync if you have made\n"
229 "  * changes to the guest image.  (But if you've made changes\n"
230 "  * then you *must* sync).  See also: guestfs_umount and\n"
231 "  * guestfs_umount_all calls.\n"
232 "  */\n"
233 " guestfs_sync (g);\n"
234 " \n"
235 msgstr ""
236
237 # type: verbatim
238 #: ../src/guestfs.pod:108
239 #, no-wrap
240 msgid ""
241 " /* Close the handle 'g'. */\n"
242 " guestfs_close (g);\n"
243 "\n"
244 msgstr ""
245
246 # type: textblock
247 #: ../src/guestfs.pod:111
248 msgid ""
249 "The code above doesn't include any error checking.  In real code you should "
250 "check return values carefully for errors.  In general all functions that "
251 "return integers return C<-1> on error, and all functions that return "
252 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
253 "how to handle errors, and consult the documentation for each function call "
254 "below to see precisely how they return error indications."
255 msgstr ""
256
257 # type: =head2
258 #: ../src/guestfs.pod:119
259 msgid "DISK IMAGES"
260 msgstr ""
261
262 # type: textblock
263 #: ../src/guestfs.pod:121
264 msgid ""
265 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
266 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
267 "actual block device, or simply an empty file of zeroes that you have created "
268 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
269 "of these."
270 msgstr ""
271
272 # type: textblock
273 #: ../src/guestfs.pod:127
274 msgid ""
275 "The call you should use in modern code for adding drives is "
276 "L</guestfs_add_drive_opts>.  To add a disk image, allowing writes, and "
277 "specifying that the format is raw, do:"
278 msgstr ""
279
280 # type: verbatim
281 #: ../src/guestfs.pod:131
282 #, no-wrap
283 msgid ""
284 " guestfs_add_drive_opts (g, filename,\n"
285 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
286 "                         -1);\n"
287 "\n"
288 msgstr ""
289
290 # type: textblock
291 #: ../src/guestfs.pod:135
292 msgid "You can add a disk read-only using:"
293 msgstr ""
294
295 # type: verbatim
296 #: ../src/guestfs.pod:137
297 #, no-wrap
298 msgid ""
299 " guestfs_add_drive_opts (g, filename,\n"
300 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
301 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
302 "                         -1);\n"
303 "\n"
304 msgstr ""
305
306 # type: textblock
307 #: ../src/guestfs.pod:142
308 msgid ""
309 "or by calling the older function L</guestfs_add_drive_ro>.  In either case "
310 "libguestfs won't modify the file."
311 msgstr ""
312
313 # type: textblock
314 #: ../src/guestfs.pod:145
315 msgid ""
316 "Be extremely cautious if the disk image is in use, eg. if it is being used "
317 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
318 "corruption, but adding it read-only is safe."
319 msgstr ""
320
321 # type: textblock
322 #: ../src/guestfs.pod:149
323 msgid ""
324 "You must add at least one disk image, and you may add multiple disk images.  "
325 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
326 "first one you added), C</dev/sdb> (for the second one you added), etc."
327 msgstr ""
328
329 # type: textblock
330 #: ../src/guestfs.pod:154
331 msgid ""
332 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
333 "can call L</guestfs_list_devices> to get a list of the device names, in the "
334 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
335 msgstr ""
336
337 # type: =head2
338 #: ../src/guestfs.pod:159
339 msgid "MOUNTING"
340 msgstr ""
341
342 # type: textblock
343 #: ../src/guestfs.pod:161
344 msgid ""
345 "Before you can read or write files, create directories and so on in a disk "
346 "image that contains filesystems, you have to mount those filesystems using "
347 "L</guestfs_mount>.  If you already know that a disk image contains (for "
348 "example) one partition with a filesystem on that partition, then you can "
349 "mount it directly:"
350 msgstr ""
351
352 # type: verbatim
353 #: ../src/guestfs.pod:167
354 #, no-wrap
355 msgid ""
356 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
357 "\n"
358 msgstr ""
359
360 # type: textblock
361 #: ../src/guestfs.pod:169
362 msgid ""
363 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
364 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
365 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
366 msgstr ""
367
368 # type: textblock
369 #: ../src/guestfs.pod:173
370 msgid ""
371 "If you are given a disk image and you don't know what it contains then you "
372 "have to find out.  Libguestfs can do that too: use "
373 "L</guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions "
374 "and LVs, and either try mounting each to see what is mountable, or else "
375 "examine them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also "
376 "has a set of APIs for inspection of disk images (see L</INSPECTION> below).  "
377 "But you might find it easier to look at higher level programs built on top "
378 "of libguestfs, in particular L<virt-inspector(1)>."
379 msgstr ""
380
381 # type: textblock
382 #: ../src/guestfs.pod:183
383 msgid ""
384 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
385 "several other variations of the C<guestfs_mount_*> call."
386 msgstr ""
387
388 # type: =head2
389 #: ../src/guestfs.pod:186
390 msgid "FILESYSTEM ACCESS AND MODIFICATION"
391 msgstr ""
392
393 # type: textblock
394 #: ../src/guestfs.pod:188
395 msgid ""
396 "The majority of the libguestfs API consists of fairly low-level calls for "
397 "accessing and modifying the files, directories, symlinks etc on mounted "
398 "filesystems.  There are over a hundred such calls which you can find listed "
399 "in detail below in this man page, and we don't even pretend to cover them "
400 "all in this overview."
401 msgstr ""
402
403 # type: textblock
404 #: ../src/guestfs.pod:194
405 msgid ""
406 "Specify filenames as full paths, starting with C<\"/\"> and including the "
407 "mount point."
408 msgstr ""
409
410 # type: textblock
411 #: ../src/guestfs.pod:197
412 msgid ""
413 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
414 "the file called C<\"etc/passwd\"> then you could do:"
415 msgstr ""
416
417 # type: verbatim
418 #: ../src/guestfs.pod:200
419 #, no-wrap
420 msgid ""
421 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
422 "\n"
423 msgstr ""
424
425 # type: textblock
426 #: ../src/guestfs.pod:202
427 msgid ""
428 "This would return C<data> as a newly allocated buffer containing the full "
429 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
430 "or C<NULL> if there was an error."
431 msgstr ""
432
433 # type: textblock
434 #: ../src/guestfs.pod:206
435 msgid ""
436 "As another example, to create a top-level directory on that filesystem "
437 "called C<\"var\"> you would do:"
438 msgstr ""
439
440 # type: verbatim
441 #: ../src/guestfs.pod:209
442 #, no-wrap
443 msgid ""
444 " guestfs_mkdir (g, \"/var\");\n"
445 "\n"
446 msgstr ""
447
448 # type: textblock
449 #: ../src/guestfs.pod:211
450 msgid "To create a symlink you could do:"
451 msgstr ""
452
453 # type: verbatim
454 #: ../src/guestfs.pod:213
455 #, no-wrap
456 msgid ""
457 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
458 "               \"/etc/rc3.d/S30portmap\");\n"
459 "\n"
460 msgstr ""
461
462 # type: textblock
463 #: ../src/guestfs.pod:216
464 msgid ""
465 "Libguestfs will reject attempts to use relative paths and there is no "
466 "concept of a current working directory."
467 msgstr ""
468
469 # type: textblock
470 #: ../src/guestfs.pod:219
471 msgid ""
472 "Libguestfs can return errors in many situations: for example if the "
473 "filesystem isn't writable, or if a file or directory that you requested "
474 "doesn't exist.  If you are using the C API (documented here)  you have to "
475 "check for those error conditions after each call.  (Other language bindings "
476 "turn these errors into exceptions)."
477 msgstr ""
478
479 # type: textblock
480 #: ../src/guestfs.pod:225
481 msgid ""
482 "File writes are affected by the per-handle umask, set by calling "
483 "L</guestfs_umask> and defaulting to 022.  See L</UMASK>."
484 msgstr ""
485
486 # type: =head2
487 #: ../src/guestfs.pod:228
488 msgid "PARTITIONING"
489 msgstr ""
490
491 # type: textblock
492 #: ../src/guestfs.pod:230
493 msgid ""
494 "Libguestfs contains API calls to read, create and modify partition tables on "
495 "disk images."
496 msgstr ""
497
498 # type: textblock
499 #: ../src/guestfs.pod:233
500 msgid ""
501 "In the common case where you want to create a single partition covering the "
502 "whole disk, you should use the L</guestfs_part_disk> call:"
503 msgstr ""
504
505 # type: verbatim
506 #: ../src/guestfs.pod:237
507 #, no-wrap
508 msgid ""
509 " const char *parttype = \"mbr\";\n"
510 " if (disk_is_larger_than_2TB)\n"
511 "   parttype = \"gpt\";\n"
512 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
513 "\n"
514 msgstr ""
515
516 # type: textblock
517 #: ../src/guestfs.pod:242
518 msgid ""
519 "Obviously this effectively wipes anything that was on that disk image "
520 "before."
521 msgstr ""
522
523 # type: =head2
524 #: ../src/guestfs.pod:245
525 msgid "LVM2"
526 msgstr ""
527
528 # type: textblock
529 #: ../src/guestfs.pod:247
530 msgid ""
531 "Libguestfs provides access to a large part of the LVM2 API, such as "
532 "L</guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense "
533 "unless you familiarize yourself with the concepts of physical volumes, "
534 "volume groups and logical volumes."
535 msgstr ""
536
537 # type: textblock
538 #: ../src/guestfs.pod:252
539 msgid ""
540 "This author strongly recommends reading the LVM HOWTO, online at "
541 "L<http://tldp.org/HOWTO/LVM-HOWTO/>."
542 msgstr ""
543
544 # type: =head2
545 #: ../src/guestfs.pod:255
546 msgid "DOWNLOADING"
547 msgstr ""
548
549 # type: textblock
550 #: ../src/guestfs.pod:257
551 msgid ""
552 "Use L</guestfs_cat> to download small, text only files.  This call is "
553 "limited to files which are less than 2 MB and which cannot contain any ASCII "
554 "NUL (C<\\0>) characters.  However it has a very simple to use API."
555 msgstr ""
556
557 # type: textblock
558 #: ../src/guestfs.pod:262
559 msgid ""
560 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
561 "bit data, since it returns a (pointer, size) pair.  However it is still "
562 "limited to \"small\" files, less than 2 MB."
563 msgstr ""
564
565 # type: textblock
566 #: ../src/guestfs.pod:266
567 msgid ""
568 "L</guestfs_download> can be used to download any file, with no limits on "
569 "content or size (even files larger than 4 GB)."
570 msgstr ""
571
572 # type: textblock
573 #: ../src/guestfs.pod:269
574 msgid "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
575 msgstr ""
576
577 # type: =head2
578 #: ../src/guestfs.pod:272
579 msgid "UPLOADING"
580 msgstr ""
581
582 # type: textblock
583 #: ../src/guestfs.pod:274
584 msgid ""
585 "It's often the case that you want to write a file or files to the disk "
586 "image."
587 msgstr ""
588
589 # type: textblock
590 #: ../src/guestfs.pod:277
591 msgid ""
592 "To write a small file with fixed content, use L</guestfs_write>.  To create "
593 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or "
594 "L</guestfs_fallocate64> (with all disk blocks allocated).  There are a "
595 "variety of other functions for creating test files, for example "
596 "L</guestfs_fill> and L</guestfs_fill_pattern>."
597 msgstr ""
598
599 # type: textblock
600 #: ../src/guestfs.pod:283
601 msgid ""
602 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
603 "file content or size (even files larger than 4 GB)."
604 msgstr ""
605
606 # type: textblock
607 #: ../src/guestfs.pod:286
608 msgid "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
609 msgstr ""
610
611 # type: textblock
612 #: ../src/guestfs.pod:288
613 msgid ""
614 "However the fastest way to upload I<large numbers of arbitrary files> is to "
615 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and "
616 "L<mkisofs(8)>), then attach this using L</guestfs_add_drive_ro>.  If you add "
617 "the drive in a predictable way (eg. adding it last after all other drives) "
618 "then you can get the device name from L</guestfs_list_devices> and mount it "
619 "directly using L</guestfs_mount_ro>.  Note that squashfs images are "
620 "sometimes non-portable between kernel versions, and they don't support "
621 "labels or UUIDs.  If you want to pre-build an image or you need to mount it "
622 "using a label or UUID, use an ISO image instead."
623 msgstr ""
624
625 # type: =head2
626 #: ../src/guestfs.pod:299
627 msgid "COPYING"
628 msgstr ""
629
630 # type: textblock
631 #: ../src/guestfs.pod:301
632 msgid ""
633 "There are various different commands for copying between files and devices "
634 "and in and out of the guest filesystem.  These are summarised in the table "
635 "below."
636 msgstr ""
637
638 # type: =item
639 #: ../src/guestfs.pod:307
640 msgid "B<file> to B<file>"
641 msgstr ""
642
643 # type: textblock
644 #: ../src/guestfs.pod:309
645 msgid ""
646 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
647 "directories recursively."
648 msgstr ""
649
650 # type: =item
651 #: ../src/guestfs.pod:312
652 msgid "B<file or device> to B<file or device>"
653 msgstr ""
654
655 # type: textblock
656 #: ../src/guestfs.pod:314
657 msgid ""
658 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
659 "devices in the guest."
660 msgstr ""
661
662 # type: textblock
663 #: ../src/guestfs.pod:317
664 msgid "Example: duplicate the contents of an LV:"
665 msgstr ""
666
667 # type: verbatim
668 #: ../src/guestfs.pod:319
669 #, no-wrap
670 msgid ""
671 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
672 "\n"
673 msgstr ""
674
675 # type: textblock
676 #: ../src/guestfs.pod:321
677 msgid ""
678 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
679 "(C</dev/VG/Original>).  To copy less than the whole source device, use "
680 "L</guestfs_copy_size>."
681 msgstr ""
682
683 # type: =item
684 #: ../src/guestfs.pod:325
685 msgid "B<file on the host> to B<file or device>"
686 msgstr ""
687
688 # type: textblock
689 #: ../src/guestfs.pod:327
690 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
691 msgstr ""
692
693 # type: =item
694 #: ../src/guestfs.pod:329
695 msgid "B<file or device> to B<file on the host>"
696 msgstr ""
697
698 # type: textblock
699 #: ../src/guestfs.pod:331
700 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
701 msgstr ""
702
703 # type: =head2
704 #: ../src/guestfs.pod:335
705 msgid "LISTING FILES"
706 msgstr ""
707
708 # type: textblock
709 #: ../src/guestfs.pod:337
710 msgid ""
711 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
712 "L<guestfish(1)>-equivalent command C<ll>)."
713 msgstr ""
714
715 # type: textblock
716 #: ../src/guestfs.pod:340
717 msgid ""
718 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
719 "programs, as a flat list of strings."
720 msgstr ""
721
722 # type: textblock
723 #: ../src/guestfs.pod:343
724 msgid ""
725 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
726 "directory, plus additional information about each one.  It is more "
727 "equivalent to using the L<readdir(3)> call on a local filesystem."
728 msgstr ""
729
730 # type: textblock
731 #: ../src/guestfs.pod:347
732 msgid ""
733 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list "
734 "files."
735 msgstr ""
736
737 # type: =head2
738 #: ../src/guestfs.pod:350
739 msgid "RUNNING COMMANDS"
740 msgstr ""
741
742 # type: textblock
743 #: ../src/guestfs.pod:352
744 msgid ""
745 "Although libguestfs is primarily an API for manipulating files inside guest "
746 "images, we also provide some limited facilities for running commands inside "
747 "guests."
748 msgstr ""
749
750 # type: textblock
751 #: ../src/guestfs.pod:356
752 msgid "There are many limitations to this:"
753 msgstr ""
754
755 # type: =item
756 #: ../src/guestfs.pod:360 ../src/guestfs.pod:365 ../src/guestfs.pod:370 ../src/guestfs.pod:374 ../src/guestfs.pod:379 ../src/guestfs.pod:383 ../src/guestfs.pod:388 ../src/guestfs.pod:1143 ../src/guestfs.pod:1148 ../src/guestfs.pod:1152 ../src/guestfs.pod:1368 ../src/guestfs.pod:1373 ../src/guestfs.pod:1377 ../src/guestfs.pod:1479 ../src/guestfs.pod:1483 ../src/guestfs.pod:1487 ../src/guestfs.pod:1492 ../src/guestfs.pod:1500 ../src/guestfs.pod:1519 ../src/guestfs.pod:1527 ../src/guestfs.pod:1757 ../src/guestfs.pod:1763 ../src/guestfs.pod:1768 ../src/guestfs.pod:1774 ../src/guestfs.pod:1881 ../src/guestfs.pod:1885 ../src/guestfs.pod:1889 ../src/guestfs.pod:1893 ../src/guestfs-actions.pod:14 ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:438 ../src/guestfs-actions.pod:446 ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:460 ../src/guestfs-actions.pod:1351 ../src/guestfs-actions.pod:1355 ../src/guestfs-actions.pod:1359 ../src/guestfs-actions.pod:1363 ../src/guestfs-actions.pod:1371 ../src/guestfs-actions.pod:1375 ../src/guestfs-actions.pod:1379 ../src/guestfs-actions.pod:1389 ../src/guestfs-actions.pod:1393 ../src/guestfs-actions.pod:1397 ../src/guestfs-actions.pod:1520 ../src/guestfs-actions.pod:1524 ../src/guestfs-actions.pod:1529 ../src/guestfs-actions.pod:1534 ../src/guestfs-actions.pod:1586 ../src/guestfs-actions.pod:1590 ../src/guestfs-actions.pod:1595 ../fish/guestfish.pod:364 ../fish/guestfish.pod:368 ../fish/guestfish.pod:372 ../fish/guestfish.pod:376 ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:339 ../fish/guestfish-actions.pod:347 ../fish/guestfish-actions.pod:354 ../fish/guestfish-actions.pod:361 ../fish/guestfish-actions.pod:1056 ../fish/guestfish-actions.pod:1060 ../fish/guestfish-actions.pod:1064 ../fish/guestfish-actions.pod:1068 ../fish/guestfish-actions.pod:1076 ../fish/guestfish-actions.pod:1080 ../fish/guestfish-actions.pod:1084 ../fish/guestfish-actions.pod:1094 ../fish/guestfish-actions.pod:1098 ../fish/guestfish-actions.pod:1102 ../fish/guestfish-actions.pod:1192 ../fish/guestfish-actions.pod:1196 ../fish/guestfish-actions.pod:1201 ../fish/guestfish-actions.pod:1206 ../fish/guestfish-actions.pod:1248 ../fish/guestfish-actions.pod:1252 ../fish/guestfish-actions.pod:1257 ../tools/virt-df.pl:161 ../tools/virt-df.pl:167 ../tools/virt-resize.pl:348 ../tools/virt-resize.pl:353 ../tools/virt-resize.pl:363
757 msgid "*"
758 msgstr ""
759
760 # type: textblock
761 #: ../src/guestfs.pod:362
762 msgid ""
763 "The kernel version that the command runs under will be different from what "
764 "it expects."
765 msgstr ""
766
767 # type: textblock
768 #: ../src/guestfs.pod:367
769 msgid ""
770 "If the command needs to communicate with daemons, then most likely they "
771 "won't be running."
772 msgstr ""
773
774 # type: textblock
775 #: ../src/guestfs.pod:372
776 msgid "The command will be running in limited memory."
777 msgstr ""
778
779 # type: textblock
780 #: ../src/guestfs.pod:376
781 msgid ""
782 "The network may not be available unless you enable it (see "
783 "L</guestfs_set_network>)."
784 msgstr ""
785
786 # type: textblock
787 #: ../src/guestfs.pod:381
788 msgid "Only supports Linux guests (not Windows, BSD, etc)."
789 msgstr ""
790
791 # type: textblock
792 #: ../src/guestfs.pod:385
793 msgid "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
794 msgstr ""
795
796 # type: textblock
797 #: ../src/guestfs.pod:390
798 msgid ""
799 "For SELinux guests, you may need to enable SELinux and load policy first.  "
800 "See L</SELINUX> in this manpage."
801 msgstr ""
802
803 # type: textblock
804 #: ../src/guestfs.pod:395
805 msgid ""
806 "The two main API calls to run commands are L</guestfs_command> and "
807 "L</guestfs_sh> (there are also variations)."
808 msgstr ""
809
810 # type: textblock
811 #: ../src/guestfs.pod:398
812 msgid ""
813 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
814 "shell globs, redirections, etc will work."
815 msgstr ""
816
817 # type: =head2
818 #: ../src/guestfs.pod:401
819 msgid "CONFIGURATION FILES"
820 msgstr ""
821
822 # type: textblock
823 #: ../src/guestfs.pod:403
824 msgid ""
825 "To read and write configuration files in Linux guest filesystems, we "
826 "strongly recommend using Augeas.  For example, Augeas understands how to "
827 "read and write, say, a Linux shadow password file or X.org configuration "
828 "file, and so avoids you having to write that code."
829 msgstr ""
830
831 # type: textblock
832 #: ../src/guestfs.pod:408
833 msgid ""
834 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
835 "document Augeas itself here because there is excellent documentation on the "
836 "L<http://augeas.net/> website."
837 msgstr ""
838
839 # type: textblock
840 #: ../src/guestfs.pod:412
841 msgid ""
842 "If you don't want to use Augeas (you fool!) then try calling "
843 "L</guestfs_read_lines> to get the file as a list of lines which you can "
844 "iterate over."
845 msgstr ""
846
847 # type: =head2
848 #: ../src/guestfs.pod:416
849 msgid "SELINUX"
850 msgstr ""
851
852 # type: textblock
853 #: ../src/guestfs.pod:418
854 msgid ""
855 "We support SELinux guests.  To ensure that labeling happens correctly in "
856 "SELinux guests, you need to enable SELinux and load the guest's policy:"
857 msgstr ""
858
859 # type: =item
860 #: ../src/guestfs.pod:424
861 msgid "1."
862 msgstr ""
863
864 # type: textblock
865 #: ../src/guestfs.pod:426
866 msgid "Before launching, do:"
867 msgstr ""
868
869 # type: verbatim
870 #: ../src/guestfs.pod:428
871 #, no-wrap
872 msgid ""
873 " guestfs_set_selinux (g, 1);\n"
874 "\n"
875 msgstr ""
876
877 # type: =item
878 #: ../src/guestfs.pod:430
879 msgid "2."
880 msgstr ""
881
882 # type: textblock
883 #: ../src/guestfs.pod:432
884 msgid ""
885 "After mounting the guest's filesystem(s), load the policy.  This is best "
886 "done by running the L<load_policy(8)> command in the guest itself:"
887 msgstr ""
888
889 # type: verbatim
890 #: ../src/guestfs.pod:436
891 #, no-wrap
892 msgid ""
893 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
894 "\n"
895 msgstr ""
896
897 # type: textblock
898 #: ../src/guestfs.pod:438
899 msgid ""
900 "(Older versions of C<load_policy> require you to specify the name of the "
901 "policy file)."
902 msgstr ""
903
904 # type: =item
905 #: ../src/guestfs.pod:441
906 msgid "3."
907 msgstr ""
908
909 # type: textblock
910 #: ../src/guestfs.pod:443
911 msgid ""
912 "Optionally, set the security context for the API.  The correct security "
913 "context to use can only be known by inspecting the guest.  As an example:"
914 msgstr ""
915
916 # type: verbatim
917 #: ../src/guestfs.pod:447
918 #, no-wrap
919 msgid ""
920 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
921 "\n"
922 msgstr ""
923
924 # type: textblock
925 #: ../src/guestfs.pod:451
926 msgid "This will work for running commands and editing existing files."
927 msgstr ""
928
929 # type: textblock
930 #: ../src/guestfs.pod:453
931 msgid ""
932 "When new files are created, you may need to label them explicitly, for "
933 "example by running the external command C<restorecon pathname>."
934 msgstr ""
935
936 # type: =head2
937 #: ../src/guestfs.pod:457
938 msgid "UMASK"
939 msgstr ""
940
941 # type: textblock
942 #: ../src/guestfs.pod:459
943 msgid ""
944 "Certain calls are affected by the current file mode creation mask (the "
945 "\"umask\").  In particular ones which create files or directories, such as "
946 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
947 "either the default mode that the file is created with or modifies the mode "
948 "that you supply."
949 msgstr ""
950
951 # type: textblock
952 #: ../src/guestfs.pod:465
953 msgid ""
954 "The default umask is C<022>, so files are created with modes such as C<0644> "
955 "and directories with C<0755>."
956 msgstr ""
957
958 # type: textblock
959 #: ../src/guestfs.pod:468
960 msgid ""
961 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
962 "(call C<guestfs_umask (g, 0)> early after launching).  Or call "
963 "L</guestfs_chmod> after creating each file or directory."
964 msgstr ""
965
966 # type: textblock
967 #: ../src/guestfs.pod:472
968 msgid "For more information about umask, see L<umask(2)>."
969 msgstr ""
970
971 # type: =head1
972 #: ../src/guestfs.pod:474 ../fish/guestfish.pod:630
973 msgid "ENCRYPTED DISKS"
974 msgstr ""
975
976 # type: textblock
977 #: ../src/guestfs.pod:476
978 msgid ""
979 "Libguestfs allows you to access Linux guests which have been encrypted using "
980 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
981 "standard.  This includes nearly all whole disk encryption systems used by "
982 "modern Linux guests."
983 msgstr ""
984
985 # type: textblock
986 #: ../src/guestfs.pod:482
987 msgid ""
988 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
989 "returns the string C<crypto_LUKS>)."
990 msgstr ""
991
992 # type: textblock
993 #: ../src/guestfs.pod:485
994 msgid ""
995 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
996 "will require the passphrase!"
997 msgstr ""
998
999 # type: textblock
1000 #: ../src/guestfs.pod:488
1001 msgid ""
1002 "Opening a LUKS device creates a new device mapper device called "
1003 "C</dev/mapper/mapname> (where C<mapname> is the string you supply to "
1004 "L</guestfs_luks_open>).  Reads and writes to this mapper device are "
1005 "decrypted from and encrypted to the underlying block device respectively."
1006 msgstr ""
1007
1008 # type: textblock
1009 #: ../src/guestfs.pod:494
1010 msgid ""
1011 "LVM volume groups on the device can be made visible by calling "
1012 "L</guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical "
1013 "volume(s) can now be mounted in the usual way."
1014 msgstr ""
1015
1016 # type: textblock
1017 #: ../src/guestfs.pod:498
1018 msgid ""
1019 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
1020 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
1021 "[\"/dev/VG\"])>.  Then close the mapper device by calling "
1022 "L</guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
1023 "underlying encrypted block device)."
1024 msgstr ""
1025
1026 # type: =head2
1027 #: ../src/guestfs.pod:505
1028 msgid "INSPECTION"
1029 msgstr ""
1030
1031 # type: textblock
1032 #: ../src/guestfs.pod:507
1033 msgid ""
1034 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1035 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1036 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1037 "frequently used part of this library has been rewritten in C and moved into "
1038 "the core code)."
1039 msgstr ""
1040
1041 # type: textblock
1042 #: ../src/guestfs.pod:513
1043 msgid ""
1044 "Add all disks belonging to the unknown virtual machine and call "
1045 "L</guestfs_launch> in the usual way."
1046 msgstr ""
1047
1048 # type: textblock
1049 #: ../src/guestfs.pod:516
1050 msgid ""
1051 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1052 "and certain heuristics, and returns a list of operating systems that were "
1053 "found.  An empty list means none were found.  A single element is the root "
1054 "filesystem of the operating system.  For dual- or multi-boot guests, "
1055 "multiple roots can be returned, each one corresponding to a separate "
1056 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1057 "world of virtualization, but since this scenario can happen, we have built "
1058 "libguestfs to deal with it.)"
1059 msgstr ""
1060
1061 # type: textblock
1062 #: ../src/guestfs.pod:525
1063 msgid ""
1064 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1065 "to get additional details about that operating system.  For example, call "
1066 "L</guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1067 "Windows and Linux-based operating systems respectively."
1068 msgstr ""
1069
1070 # type: textblock
1071 #: ../src/guestfs.pod:531
1072 msgid ""
1073 "Un*x-like and Linux-based operating systems usually consist of several "
1074 "filesystems which are mounted at boot time (for example, a separate boot "
1075 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1076 "filesystems correspond to mount points.  Call "
1077 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1078 "hash table like this example:"
1079 msgstr ""
1080
1081 # type: verbatim
1082 #: ../src/guestfs.pod:538
1083 #, no-wrap
1084 msgid ""
1085 " /boot => /dev/sda1\n"
1086 " /     => /dev/vg_guest/lv_root\n"
1087 " /usr  => /dev/vg_guest/lv_usr\n"
1088 "\n"
1089 msgstr ""
1090
1091 # type: textblock
1092 #: ../src/guestfs.pod:542
1093 msgid ""
1094 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1095 "filesystems as suggested."
1096 msgstr ""
1097
1098 # type: textblock
1099 #: ../src/guestfs.pod:545
1100 msgid ""
1101 "Be careful to mount filesystems in the right order (eg. C</> before "
1102 "C</usr>).  Sorting the keys of the hash by length, shortest first, should "
1103 "work."
1104 msgstr ""
1105
1106 # type: textblock
1107 #: ../src/guestfs.pod:549
1108 msgid ""
1109 "Inspection currently only works for some common operating systems.  "
1110 "Contributors are welcome to send patches for other operating systems that we "
1111 "currently cannot detect."
1112 msgstr ""
1113
1114 # type: textblock
1115 #: ../src/guestfs.pod:553
1116 msgid ""
1117 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1118 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1119 "encrypted devices."
1120 msgstr ""
1121
1122 # type: textblock
1123 #: ../src/guestfs.pod:557
1124 msgid ""
1125 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1126 "inspection and caches the results in the guest handle.  Subsequent calls to "
1127 "C<guestfs_inspect_get_*> return this cached information, but I<do not> "
1128 "re-read the disks.  If you change the content of the guest disks, you can "
1129 "redo inspection by calling L</guestfs_inspect_os> again."
1130 msgstr ""
1131
1132 # type: =head2
1133 #: ../src/guestfs.pod:564
1134 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1135 msgstr ""
1136
1137 # type: textblock
1138 #: ../src/guestfs.pod:566
1139 msgid ""
1140 "Libguestfs can mount NTFS partitions.  It does this using the "
1141 "L<http://www.ntfs-3g.org/> driver."
1142 msgstr ""
1143
1144 # type: textblock
1145 #: ../src/guestfs.pod:569
1146 msgid ""
1147 "DOS and Windows still use drive letters, and the filesystems are always "
1148 "treated as case insensitive by Windows itself, and therefore you might find "
1149 "a Windows configuration file referring to a path like "
1150 "C<c:\\windows\\system32>.  When the filesystem is mounted in libguestfs, "
1151 "that directory might be referred to as C</WINDOWS/System32>."
1152 msgstr ""
1153
1154 # type: textblock
1155 #: ../src/guestfs.pod:575
1156 msgid ""
1157 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1158 "libguestfs to read the appropriate Windows Registry and configuration files, "
1159 "to determine yourself how drives are mapped (see also L<hivex(3)> and "
1160 "L<virt-inspector(1)>)."
1161 msgstr ""
1162
1163 # type: textblock
1164 #: ../src/guestfs.pod:580
1165 msgid ""
1166 "Replacing backslash characters with forward slash characters is also outside "
1167 "the scope of libguestfs, but something that you can easily do."
1168 msgstr ""
1169
1170 # type: textblock
1171 #: ../src/guestfs.pod:583
1172 msgid ""
1173 "Where we can help is in resolving the case insensitivity of paths.  For "
1174 "this, call L</guestfs_case_sensitive_path>."
1175 msgstr ""
1176
1177 # type: textblock
1178 #: ../src/guestfs.pod:586
1179 msgid ""
1180 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1181 "files, through the library C<hivex> which is part of the libguestfs project "
1182 "although ships as a separate tarball.  You have to locate and download the "
1183 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1184 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and "
1185 "L<virt-win-reg(1)> for more help on this issue."
1186 msgstr ""
1187
1188 # type: =head2
1189 #: ../src/guestfs.pod:594
1190 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1191 msgstr ""
1192
1193 # type: textblock
1194 #: ../src/guestfs.pod:596
1195 msgid ""
1196 "Although we don't want to discourage you from using the C API, we will "
1197 "mention here that the same API is also available in other languages."
1198 msgstr ""
1199
1200 # type: textblock
1201 #: ../src/guestfs.pod:599
1202 msgid ""
1203 "The API is broadly identical in all supported languages.  This means that "
1204 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, "
1205 "C<g.mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1206 "words, a straightforward, predictable isomorphism between each language."
1207 msgstr ""
1208
1209 # type: textblock
1210 #: ../src/guestfs.pod:605
1211 msgid ""
1212 "Error messages are automatically transformed into exceptions if the language "
1213 "supports it."
1214 msgstr ""
1215
1216 # type: textblock
1217 #: ../src/guestfs.pod:608
1218 msgid ""
1219 "We don't try to \"object orientify\" parts of the API in OO languages, "
1220 "although contributors are welcome to write higher level APIs above what we "
1221 "provide in their favourite languages if they wish."
1222 msgstr ""
1223
1224 # type: =item
1225 #: ../src/guestfs.pod:614
1226 msgid "B<C++>"
1227 msgstr ""
1228
1229 # type: textblock
1230 #: ../src/guestfs.pod:616
1231 msgid ""
1232 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1233 "identical to the C API.  C++ classes and exceptions are not used."
1234 msgstr ""
1235
1236 # type: =item
1237 #: ../src/guestfs.pod:620
1238 msgid "B<C#>"
1239 msgstr ""
1240
1241 # type: textblock
1242 #: ../src/guestfs.pod:622
1243 msgid ""
1244 "The C# bindings are highly experimental.  Please read the warnings at the "
1245 "top of C<csharp/Libguestfs.cs>."
1246 msgstr ""
1247
1248 # type: =item
1249 #: ../src/guestfs.pod:625
1250 msgid "B<Haskell>"
1251 msgstr ""
1252
1253 # type: textblock
1254 #: ../src/guestfs.pod:627
1255 msgid ""
1256 "This is the only language binding that is working but incomplete.  Only "
1257 "calls which return simple integers have been bound in Haskell, and we are "
1258 "looking for help to complete this binding."
1259 msgstr ""
1260
1261 # type: =item
1262 #: ../src/guestfs.pod:631
1263 msgid "B<Java>"
1264 msgstr ""
1265
1266 # type: textblock
1267 #: ../src/guestfs.pod:633
1268 msgid ""
1269 "Full documentation is contained in the Javadoc which is distributed with "
1270 "libguestfs."
1271 msgstr ""
1272
1273 # type: =item
1274 #: ../src/guestfs.pod:636
1275 msgid "B<OCaml>"
1276 msgstr ""
1277
1278 # type: textblock
1279 #: ../src/guestfs.pod:638
1280 msgid "For documentation see the file C<guestfs.mli>."
1281 msgstr ""
1282
1283 # type: =item
1284 #: ../src/guestfs.pod:640
1285 msgid "B<Perl>"
1286 msgstr ""
1287
1288 # type: textblock
1289 #: ../src/guestfs.pod:642
1290 msgid "For documentation see L<Sys::Guestfs(3)>."
1291 msgstr ""
1292
1293 # type: =item
1294 #: ../src/guestfs.pod:644
1295 msgid "B<PHP>"
1296 msgstr ""
1297
1298 # type: textblock
1299 #: ../src/guestfs.pod:646
1300 msgid ""
1301 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
1302 "the php-libguestfs package for your distribution."
1303 msgstr ""
1304
1305 # type: textblock
1306 #: ../src/guestfs.pod:649
1307 msgid "The PHP binding only works correctly on 64 bit machines."
1308 msgstr ""
1309
1310 # type: =item
1311 #: ../src/guestfs.pod:651
1312 msgid "B<Python>"
1313 msgstr ""
1314
1315 # type: textblock
1316 #: ../src/guestfs.pod:653
1317 msgid "For documentation do:"
1318 msgstr ""
1319
1320 # type: verbatim
1321 #: ../src/guestfs.pod:655
1322 #, no-wrap
1323 msgid ""
1324 " $ python\n"
1325 " >>> import guestfs\n"
1326 " >>> help (guestfs)\n"
1327 "\n"
1328 msgstr ""
1329
1330 # type: =item
1331 #: ../src/guestfs.pod:659
1332 msgid "B<Ruby>"
1333 msgstr ""
1334
1335 # type: textblock
1336 #: ../src/guestfs.pod:661
1337 msgid ""
1338 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1339 "can find examples written in Ruby in the libguestfs source."
1340 msgstr ""
1341
1342 # type: =item
1343 #: ../src/guestfs.pod:664
1344 msgid "B<shell scripts>"
1345 msgstr ""
1346
1347 # type: textblock
1348 #: ../src/guestfs.pod:666
1349 msgid "For documentation see L<guestfish(1)>."
1350 msgstr ""
1351
1352 # type: =head2
1353 #: ../src/guestfs.pod:670
1354 msgid "LIBGUESTFS GOTCHAS"
1355 msgstr ""
1356
1357 # type: textblock
1358 #: ../src/guestfs.pod:672
1359 msgid ""
1360 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1361 "system [...] that works in the way it is documented but is counterintuitive "
1362 "and almost invites mistakes.\""
1363 msgstr ""
1364
1365 # type: textblock
1366 #: ../src/guestfs.pod:676
1367 msgid ""
1368 "Since we developed libguestfs and the associated tools, there are several "
1369 "things we would have designed differently, but are now stuck with for "
1370 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1371 "release, you can expect these to change.  Beware of them."
1372 msgstr ""
1373
1374 # type: =item
1375 #: ../src/guestfs.pod:684
1376 msgid "Autosync / forgetting to sync."
1377 msgstr ""
1378
1379 # type: textblock
1380 #: ../src/guestfs.pod:686
1381 msgid ""
1382 "When modifying a filesystem from C or another language, you B<must> unmount "
1383 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1384 "libguestfs handle.  You can also call:"
1385 msgstr ""
1386
1387 # type: verbatim
1388 #: ../src/guestfs.pod:690
1389 #, no-wrap
1390 msgid ""
1391 " guestfs_set_autosync (g, 1);\n"
1392 "\n"
1393 msgstr ""
1394
1395 # type: textblock
1396 #: ../src/guestfs.pod:692
1397 msgid ""
1398 "to have the unmount/sync done automatically for you when the handle 'g' is "
1399 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> "
1400 "q.v.)"
1401 msgstr ""
1402
1403 # type: textblock
1404 #: ../src/guestfs.pod:696
1405 msgid ""
1406 "If you forget to do this, then it is entirely possible that your changes "
1407 "won't be written out, or will be partially written, or (very rarely) that "
1408 "you'll get disk corruption."
1409 msgstr ""
1410
1411 # type: textblock
1412 #: ../src/guestfs.pod:700
1413 msgid ""
1414 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1415 "guestfish scripts that forget to sync will work just fine, which can make "
1416 "this very puzzling if you are trying to debug a problem."
1417 msgstr ""
1418
1419 # type: textblock
1420 #: ../src/guestfs.pod:704
1421 msgid ""
1422 "Update: Autosync is enabled by default for all API users starting from "
1423 "libguestfs 1.5.24."
1424 msgstr ""
1425
1426 # type: =item
1427 #: ../src/guestfs.pod:707
1428 msgid "Mount option C<-o sync> should not be the default."
1429 msgstr ""
1430
1431 # type: textblock
1432 #: ../src/guestfs.pod:709
1433 msgid ""
1434 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1435 "However C<-o sync> does not add any reliability benefit, but does have a "
1436 "very large performance impact."
1437 msgstr ""
1438
1439 # type: textblock
1440 #: ../src/guestfs.pod:713
1441 msgid ""
1442 "The work around is to use L</guestfs_mount_options> and set the mount "
1443 "options that you actually want to use."
1444 msgstr ""
1445
1446 # type: =item
1447 #: ../src/guestfs.pod:716
1448 msgid "Read-only should be the default."
1449 msgstr ""
1450
1451 # type: textblock
1452 #: ../src/guestfs.pod:718
1453 msgid ""
1454 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1455 "specify I<--rw> if you want to make changes to the image."
1456 msgstr ""
1457
1458 # type: textblock
1459 #: ../src/guestfs.pod:721
1460 msgid "This would reduce the potential to corrupt live VM images."
1461 msgstr ""
1462
1463 # type: textblock
1464 #: ../src/guestfs.pod:723
1465 msgid ""
1466 "Note that many filesystems change the disk when you just mount and unmount, "
1467 "even if you didn't perform any writes.  You need to use "
1468 "L</guestfs_add_drive_ro> to guarantee that the disk is not changed."
1469 msgstr ""
1470
1471 # type: =item
1472 #: ../src/guestfs.pod:727
1473 msgid "guestfish command line is hard to use."
1474 msgstr ""
1475
1476 # type: textblock
1477 #: ../src/guestfs.pod:729
1478 msgid ""
1479 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1480 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1481 "exist, so it fails.  In earlier versions of guestfish the error message was "
1482 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1483 "we should have used C<guestfish -c command> to run commands."
1484 msgstr ""
1485
1486 # type: =item
1487 #: ../src/guestfs.pod:736
1488 msgid "guestfish megabyte modifiers don't work right on all commands"
1489 msgstr ""
1490
1491 # type: textblock
1492 #: ../src/guestfs.pod:738
1493 msgid ""
1494 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1495 "other modifiers).  What guestfish actually does is to multiply the number "
1496 "part by the modifier part and pass the result to the C API.  However this "
1497 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1498 "expecting some other unit (eg. megabytes)."
1499 msgstr ""
1500
1501 # type: textblock
1502 #: ../src/guestfs.pod:745
1503 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1504 msgstr ""
1505
1506 # type: verbatim
1507 #: ../src/guestfs.pod:747
1508 #, no-wrap
1509 msgid ""
1510 " lvcreate LV VG 100M\n"
1511 "\n"
1512 msgstr ""
1513
1514 # type: textblock
1515 #: ../src/guestfs.pod:749
1516 msgid ""
1517 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1518 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1519 "megabytes * megabytes) logical volume.  The error message you get from this "
1520 "is also a little obscure."
1521 msgstr ""
1522
1523 # type: textblock
1524 #: ../src/guestfs.pod:754
1525 msgid ""
1526 "This could be fixed in the generator by specially marking parameters and "
1527 "return values which take bytes or other units."
1528 msgstr ""
1529
1530 # type: =item
1531 #: ../src/guestfs.pod:757
1532 msgid "Library should return errno with error messages."
1533 msgstr ""
1534
1535 # type: textblock
1536 #: ../src/guestfs.pod:759
1537 msgid ""
1538 "It would be a nice-to-have to be able to get the original value of 'errno' "
1539 "from inside the appliance along error paths (where set).  Currently "
1540 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1541 "string into an errno, see the function error() in fuse/guestmount.c."
1542 msgstr ""
1543
1544 # type: textblock
1545 #: ../src/guestfs.pod:765
1546 msgid ""
1547 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1548 "sent back from the daemon."
1549 msgstr ""
1550
1551 # type: =item
1552 #: ../src/guestfs.pod:768
1553 msgid "Ambiguity between devices and paths"
1554 msgstr ""
1555
1556 # type: textblock
1557 #: ../src/guestfs.pod:770
1558 msgid ""
1559 "There is a subtle ambiguity in the API between a device name "
1560 "(eg. C</dev/sdb2>) and a similar pathname.  A file might just happen to be "
1561 "called C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
1562 msgstr ""
1563
1564 # type: textblock
1565 #: ../src/guestfs.pod:775
1566 msgid ""
1567 "In the current API we usually resolve this ambiguity by having two separate "
1568 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
1569 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
1570 "detecting if the path supplied begins with C</dev/>."
1571 msgstr ""
1572
1573 # type: textblock
1574 #: ../src/guestfs.pod:781
1575 msgid ""
1576 "To avoid both the ambiguity and the need to duplicate some calls, we could "
1577 "make paths/devices into structured names.  One way to do this would be to "
1578 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
1579 "aspect of grub.  Another way would be to use a structured type, equivalent "
1580 "to this OCaml type:"
1581 msgstr ""
1582
1583 # type: verbatim
1584 #: ../src/guestfs.pod:787
1585 #, no-wrap
1586 msgid ""
1587 " type path = Path of string | Device of int | Partition of int * int\n"
1588 "\n"
1589 msgstr ""
1590
1591 # type: textblock
1592 #: ../src/guestfs.pod:789
1593 msgid "which would allow you to pass arguments like:"
1594 msgstr ""
1595
1596 # type: verbatim
1597 #: ../src/guestfs.pod:791
1598 #, no-wrap
1599 msgid ""
1600 " Path \"/foo/bar\"\n"
1601 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
1602 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
1603 " Path \"/dev/sdb2\"    (* not a device *)\n"
1604 "\n"
1605 msgstr ""
1606
1607 # type: textblock
1608 #: ../src/guestfs.pod:796
1609 msgid ""
1610 "As you can see there are still problems to resolve even with this "
1611 "representation.  Also consider how it might work in guestfish."
1612 msgstr ""
1613
1614 # type: =head2
1615 #: ../src/guestfs.pod:801
1616 msgid "PROTOCOL LIMITS"
1617 msgstr ""
1618
1619 # type: textblock
1620 #: ../src/guestfs.pod:803
1621 msgid ""
1622 "Internally libguestfs uses a message-based protocol to pass API calls and "
1623 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1624 "plenty more detail about this).  The maximum message size used by the "
1625 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1626 "aware of this limit.  The API calls which may be affected are individually "
1627 "documented, with a link back to this section of the documentation."
1628 msgstr ""
1629
1630 # type: textblock
1631 #: ../src/guestfs.pod:811
1632 msgid ""
1633 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1634 "a simple string.  Because this string is at some point internally encoded as "
1635 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1636 "the requested file is larger than this then you will get an error."
1637 msgstr ""
1638
1639 # type: textblock
1640 #: ../src/guestfs.pod:817
1641 msgid ""
1642 "In order to transfer large files into and out of the guest filesystem, you "
1643 "need to use particular calls that support this.  The sections L</UPLOADING> "
1644 "and L</DOWNLOADING> document how to do this."
1645 msgstr ""
1646
1647 # type: textblock
1648 #: ../src/guestfs.pod:821
1649 msgid ""
1650 "You might also consider mounting the disk image using our FUSE filesystem "
1651 "support (L<guestmount(1)>)."
1652 msgstr ""
1653
1654 # type: =head2
1655 #: ../src/guestfs.pod:824
1656 msgid "KEYS AND PASSPHRASES"
1657 msgstr ""
1658
1659 # type: textblock
1660 #: ../src/guestfs.pod:826
1661 msgid ""
1662 "Certain libguestfs calls take a parameter that contains sensitive key "
1663 "material, passed in as a C string."
1664 msgstr ""
1665
1666 # type: textblock
1667 #: ../src/guestfs.pod:829
1668 msgid ""
1669 "In the future we would hope to change the libguestfs implementation so that "
1670 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1671 "swap.  However this is I<not> done at the moment, because of the complexity "
1672 "of such an implementation."
1673 msgstr ""
1674
1675 # type: textblock
1676 #: ../src/guestfs.pod:834
1677 msgid ""
1678 "Therefore you should be aware that any key parameter you pass to libguestfs "
1679 "might end up being written out to the swap partition.  If this is a concern, "
1680 "scrub the swap partition or don't use libguestfs on encrypted devices."
1681 msgstr ""
1682
1683 # type: =head1
1684 #: ../src/guestfs.pod:839
1685 msgid "CONNECTION MANAGEMENT"
1686 msgstr ""
1687
1688 # type: =head2
1689 #: ../src/guestfs.pod:841
1690 msgid "guestfs_h *"
1691 msgstr ""
1692
1693 # type: textblock
1694 #: ../src/guestfs.pod:843
1695 msgid ""
1696 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1697 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1698 "handle and release all resources used."
1699 msgstr ""
1700
1701 # type: textblock
1702 #: ../src/guestfs.pod:847
1703 msgid ""
1704 "For information on using multiple handles and threads, see the section "
1705 "L</MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1706 msgstr ""
1707
1708 # type: =head2
1709 #: ../src/guestfs.pod:850
1710 msgid "guestfs_create"
1711 msgstr ""
1712
1713 # type: verbatim
1714 #: ../src/guestfs.pod:852
1715 #, no-wrap
1716 msgid ""
1717 " guestfs_h *guestfs_create (void);\n"
1718 "\n"
1719 msgstr ""
1720
1721 # type: textblock
1722 #: ../src/guestfs.pod:854
1723 msgid "Create a connection handle."
1724 msgstr ""
1725
1726 # type: textblock
1727 #: ../src/guestfs.pod:856
1728 msgid ""
1729 "You have to call L</guestfs_add_drive_opts> (or one of the equivalent calls) "
1730 "on the handle at least once."
1731 msgstr ""
1732
1733 # type: textblock
1734 #: ../src/guestfs.pod:859
1735 msgid ""
1736 "This function returns a non-NULL pointer to a handle on success or NULL on "
1737 "error."
1738 msgstr ""
1739
1740 # type: textblock
1741 #: ../src/guestfs.pod:862
1742 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1743 msgstr ""
1744
1745 # type: textblock
1746 #: ../src/guestfs.pod:864
1747 msgid ""
1748 "You may also want to configure error handling for the handle.  See L</ERROR "
1749 "HANDLING> section below."
1750 msgstr ""
1751
1752 # type: =head2
1753 #: ../src/guestfs.pod:867
1754 msgid "guestfs_close"
1755 msgstr ""
1756
1757 # type: verbatim
1758 #: ../src/guestfs.pod:869
1759 #, no-wrap
1760 msgid ""
1761 " void guestfs_close (guestfs_h *g);\n"
1762 "\n"
1763 msgstr ""
1764
1765 # type: textblock
1766 #: ../src/guestfs.pod:871
1767 msgid "This closes the connection handle and frees up all resources used."
1768 msgstr ""
1769
1770 # type: =head1
1771 #: ../src/guestfs.pod:873
1772 msgid "ERROR HANDLING"
1773 msgstr ""
1774
1775 # type: textblock
1776 #: ../src/guestfs.pod:875
1777 msgid ""
1778 "The convention in all functions that return C<int> is that they return C<-1> "
1779 "to indicate an error.  You can get additional information on errors by "
1780 "calling L</guestfs_last_error> and/or by setting up an error handler with "
1781 "L</guestfs_set_error_handler>."
1782 msgstr ""
1783
1784 # type: textblock
1785 #: ../src/guestfs.pod:880
1786 msgid "The default error handler prints the information string to C<stderr>."
1787 msgstr ""
1788
1789 # type: textblock
1790 #: ../src/guestfs.pod:882
1791 msgid ""
1792 "Out of memory errors are handled differently.  The default action is to call "
1793 "L<abort(3)>.  If this is undesirable, then you can set a handler using "
1794 "L</guestfs_set_out_of_memory_handler>."
1795 msgstr ""
1796
1797 # type: =head2
1798 #: ../src/guestfs.pod:886
1799 msgid "guestfs_last_error"
1800 msgstr ""
1801
1802 # type: verbatim
1803 #: ../src/guestfs.pod:888
1804 #, no-wrap
1805 msgid ""
1806 " const char *guestfs_last_error (guestfs_h *g);\n"
1807 "\n"
1808 msgstr ""
1809
1810 # type: textblock
1811 #: ../src/guestfs.pod:890
1812 msgid ""
1813 "This returns the last error message that happened on C<g>.  If there has not "
1814 "been an error since the handle was created, then this returns C<NULL>."
1815 msgstr ""
1816
1817 # type: textblock
1818 #: ../src/guestfs.pod:894
1819 msgid ""
1820 "The lifetime of the returned string is until the next error occurs, or "
1821 "L</guestfs_close> is called."
1822 msgstr ""
1823
1824 # type: textblock
1825 #: ../src/guestfs.pod:897
1826 msgid ""
1827 "The error string is not localized (ie. is always in English), because this "
1828 "makes searching for error messages in search engines give the largest number "
1829 "of results."
1830 msgstr ""
1831
1832 # type: =head2
1833 #: ../src/guestfs.pod:901
1834 msgid "guestfs_set_error_handler"
1835 msgstr ""
1836
1837 # type: verbatim
1838 #: ../src/guestfs.pod:903
1839 #, no-wrap
1840 msgid ""
1841 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1842 "                                           void *opaque,\n"
1843 "                                           const char *msg);\n"
1844 " void guestfs_set_error_handler (guestfs_h *g,\n"
1845 "                                 guestfs_error_handler_cb cb,\n"
1846 "                                 void *opaque);\n"
1847 "\n"
1848 msgstr ""
1849
1850 # type: textblock
1851 #: ../src/guestfs.pod:910
1852 msgid ""
1853 "The callback C<cb> will be called if there is an error.  The parameters "
1854 "passed to the callback are an opaque data pointer and the error message "
1855 "string."
1856 msgstr ""
1857
1858 # type: textblock
1859 #: ../src/guestfs.pod:914
1860 msgid ""
1861 "Note that the message string C<msg> is freed as soon as the callback "
1862 "function returns, so if you want to stash it somewhere you must make your "
1863 "own copy."
1864 msgstr ""
1865
1866 # type: textblock
1867 #: ../src/guestfs.pod:918
1868 msgid "The default handler prints messages on C<stderr>."
1869 msgstr ""
1870
1871 # type: textblock
1872 #: ../src/guestfs.pod:920
1873 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1874 msgstr ""
1875
1876 # type: =head2
1877 #: ../src/guestfs.pod:922
1878 msgid "guestfs_get_error_handler"
1879 msgstr ""
1880
1881 # type: verbatim
1882 #: ../src/guestfs.pod:924
1883 #, no-wrap
1884 msgid ""
1885 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1886 "                                                     void **opaque_rtn);\n"
1887 "\n"
1888 msgstr ""
1889
1890 # type: textblock
1891 #: ../src/guestfs.pod:927
1892 msgid "Returns the current error handler callback."
1893 msgstr ""
1894
1895 # type: =head2
1896 #: ../src/guestfs.pod:929
1897 msgid "guestfs_set_out_of_memory_handler"
1898 msgstr ""
1899
1900 # type: verbatim
1901 #: ../src/guestfs.pod:931
1902 #, no-wrap
1903 msgid ""
1904 " typedef void (*guestfs_abort_cb) (void);\n"
1905 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1906 "                                        guestfs_abort_cb);\n"
1907 "\n"
1908 msgstr ""
1909
1910 # type: textblock
1911 #: ../src/guestfs.pod:935
1912 msgid ""
1913 "The callback C<cb> will be called if there is an out of memory situation.  "
1914 "I<Note this callback must not return>."
1915 msgstr ""
1916
1917 # type: textblock
1918 #: ../src/guestfs.pod:938
1919 msgid "The default is to call L<abort(3)>."
1920 msgstr ""
1921
1922 # type: textblock
1923 #: ../src/guestfs.pod:940
1924 msgid "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1925 msgstr ""
1926
1927 # type: =head2
1928 #: ../src/guestfs.pod:943
1929 msgid "guestfs_get_out_of_memory_handler"
1930 msgstr ""
1931
1932 # type: verbatim
1933 #: ../src/guestfs.pod:945
1934 #, no-wrap
1935 msgid ""
1936 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1937 "\n"
1938 msgstr ""
1939
1940 # type: textblock
1941 #: ../src/guestfs.pod:947
1942 msgid "This returns the current out of memory handler."
1943 msgstr ""
1944
1945 # type: =head1
1946 #: ../src/guestfs.pod:949
1947 msgid "PATH"
1948 msgstr ""
1949
1950 # type: textblock
1951 #: ../src/guestfs.pod:951
1952 msgid ""
1953 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1954 "internal path."
1955 msgstr ""
1956
1957 # type: textblock
1958 #: ../src/guestfs.pod:954
1959 msgid ""
1960 "By default it looks for these in the directory C<$libdir/guestfs> "
1961 "(eg. C</usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1962 msgstr ""
1963
1964 # type: textblock
1965 #: ../src/guestfs.pod:957
1966 msgid ""
1967 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1968 "to change the directories that libguestfs will search in.  The value is a "
1969 "colon-separated list of paths.  The current directory is I<not> searched "
1970 "unless the path contains an empty element or C<.>.  For example "
1971 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1972 "then C</usr/lib/guestfs>."
1973 msgstr ""
1974
1975 # type: =head1
1976 #: ../src/guestfs.pod:964
1977 msgid "HIGH-LEVEL API ACTIONS"
1978 msgstr ""
1979
1980 # type: =head2
1981 #: ../src/guestfs.pod:966
1982 msgid "ABI GUARANTEE"
1983 msgstr ""
1984
1985 # type: textblock
1986 #: ../src/guestfs.pod:968
1987 msgid ""
1988 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
1989 "actions as outlined in this section.  Although we will deprecate some "
1990 "actions, for example if they get replaced by newer calls, we will keep the "
1991 "old actions forever.  This allows you the developer to program in confidence "
1992 "against the libguestfs API."
1993 msgstr ""
1994
1995 # type: textblock
1996 #: ../src/guestfs.pod:974 ../fish/guestfish.pod:860
1997 msgid "@ACTIONS@"
1998 msgstr ""
1999
2000 # type: =head1
2001 #: ../src/guestfs.pod:976
2002 msgid "STRUCTURES"
2003 msgstr ""
2004
2005 # type: textblock
2006 #: ../src/guestfs.pod:978
2007 msgid "@STRUCTS@"
2008 msgstr ""
2009
2010 # type: =head1
2011 #: ../src/guestfs.pod:980
2012 msgid "AVAILABILITY"
2013 msgstr ""
2014
2015 # type: =head2
2016 #: ../src/guestfs.pod:982
2017 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
2018 msgstr ""
2019
2020 # type: textblock
2021 #: ../src/guestfs.pod:984
2022 msgid ""
2023 "Using L</guestfs_available> you can test availability of the following "
2024 "groups of functions.  This test queries the appliance to see if the "
2025 "appliance you are currently using supports the functionality."
2026 msgstr ""
2027
2028 # type: textblock
2029 #: ../src/guestfs.pod:989
2030 msgid "@AVAILABILITY@"
2031 msgstr ""
2032
2033 # type: =head2
2034 #: ../src/guestfs.pod:991
2035 msgid "GUESTFISH supported COMMAND"
2036 msgstr ""
2037
2038 # type: textblock
2039 #: ../src/guestfs.pod:993
2040 msgid ""
2041 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
2042 "prints out the available groups and whether they are supported by this build "
2043 "of libguestfs.  Note however that you have to do C<run> first."
2044 msgstr ""
2045
2046 # type: =head2
2047 #: ../src/guestfs.pod:998
2048 msgid "SINGLE CALLS AT COMPILE TIME"
2049 msgstr ""
2050
2051 # type: textblock
2052 #: ../src/guestfs.pod:1000
2053 msgid ""
2054 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
2055 "function, such as:"
2056 msgstr ""
2057
2058 # type: verbatim
2059 #: ../src/guestfs.pod:1003
2060 #, no-wrap
2061 msgid ""
2062 " #define LIBGUESTFS_HAVE_DD 1\n"
2063 "\n"
2064 msgstr ""
2065
2066 # type: textblock
2067 #: ../src/guestfs.pod:1005
2068 msgid "if L</guestfs_dd> is available."
2069 msgstr ""
2070
2071 # type: textblock
2072 #: ../src/guestfs.pod:1007
2073 msgid ""
2074 "Before version 1.5.8, if you needed to test whether a single libguestfs "
2075 "function is available at compile time, we recommended using build tools such "
2076 "as autoconf or cmake.  For example in autotools you could use:"
2077 msgstr ""
2078
2079 # type: verbatim
2080 #: ../src/guestfs.pod:1012
2081 #, no-wrap
2082 msgid ""
2083 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
2084 " AC_CHECK_FUNCS([guestfs_dd])\n"
2085 "\n"
2086 msgstr ""
2087
2088 # type: textblock
2089 #: ../src/guestfs.pod:1015
2090 msgid ""
2091 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
2092 "in your program."
2093 msgstr ""
2094
2095 # type: =head2
2096 #: ../src/guestfs.pod:1018
2097 msgid "SINGLE CALLS AT RUN TIME"
2098 msgstr ""
2099
2100 # type: textblock
2101 #: ../src/guestfs.pod:1020
2102 msgid ""
2103 "Testing at compile time doesn't guarantee that a function really exists in "
2104 "the library.  The reason is that you might be dynamically linked against a "
2105 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2106 "This situation unfortunately results in a segmentation fault, which is a "
2107 "shortcoming of the C dynamic linking system itself."
2108 msgstr ""
2109
2110 # type: textblock
2111 #: ../src/guestfs.pod:1027
2112 msgid ""
2113 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2114 "in this example program (note that you still need the compile time check as "
2115 "well):"
2116 msgstr ""
2117
2118 # type: verbatim
2119 #: ../src/guestfs.pod:1031
2120 #, no-wrap
2121 msgid ""
2122 " #include <stdio.h>\n"
2123 " #include <stdlib.h>\n"
2124 " #include <unistd.h>\n"
2125 " #include <dlfcn.h>\n"
2126 " #include <guestfs.h>\n"
2127 " \n"
2128 msgstr ""
2129
2130 # type: verbatim
2131 #: ../src/guestfs.pod:1037
2132 #, no-wrap
2133 msgid ""
2134 " main ()\n"
2135 " {\n"
2136 " #ifdef LIBGUESTFS_HAVE_DD\n"
2137 "   void *dl;\n"
2138 "   int has_function;\n"
2139 " \n"
2140 msgstr ""
2141
2142 # type: verbatim
2143 #: ../src/guestfs.pod:1043
2144 #, no-wrap
2145 msgid ""
2146 "   /* Test if the function guestfs_dd is really available. */\n"
2147 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2148 "   if (!dl) {\n"
2149 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2150 "     exit (EXIT_FAILURE);\n"
2151 "   }\n"
2152 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2153 "   dlclose (dl);\n"
2154 " \n"
2155 msgstr ""
2156
2157 # type: verbatim
2158 #: ../src/guestfs.pod:1052
2159 #, no-wrap
2160 msgid ""
2161 "   if (!has_function)\n"
2162 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2163 "   else {\n"
2164 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2165 "     /* Now it's safe to call\n"
2166 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2167 "     */\n"
2168 "   }\n"
2169 " #else\n"
2170 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2171 " #endif\n"
2172 "  }\n"
2173 "\n"
2174 msgstr ""
2175
2176 # type: textblock
2177 #: ../src/guestfs.pod:1065
2178 msgid ""
2179 "You may think the above is an awful lot of hassle, and it is.  There are "
2180 "other ways outside of the C linking system to ensure that this kind of "
2181 "incompatibility never arises, such as using package versioning:"
2182 msgstr ""
2183
2184 # type: verbatim
2185 #: ../src/guestfs.pod:1070
2186 #, no-wrap
2187 msgid ""
2188 " Requires: libguestfs >= 1.0.80\n"
2189 "\n"
2190 msgstr ""
2191
2192 # type: =head1
2193 #: ../src/guestfs.pod:1072
2194 msgid "CALLS WITH OPTIONAL ARGUMENTS"
2195 msgstr ""
2196
2197 # type: textblock
2198 #: ../src/guestfs.pod:1074
2199 msgid ""
2200 "A recent feature of the API is the introduction of calls which take optional "
2201 "arguments.  In C these are declared 3 ways.  The main way is as a call which "
2202 "takes variable arguments (ie. C<...>), as in this example:"
2203 msgstr ""
2204
2205 # type: verbatim
2206 #: ../src/guestfs.pod:1079
2207 #, no-wrap
2208 msgid ""
2209 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
2210 "\n"
2211 msgstr ""
2212
2213 # type: textblock
2214 #: ../src/guestfs.pod:1081
2215 msgid ""
2216 "Call this with a list of optional arguments, terminated by C<-1>.  So to "
2217 "call with no optional arguments specified:"
2218 msgstr ""
2219
2220 # type: verbatim
2221 #: ../src/guestfs.pod:1084
2222 #, no-wrap
2223 msgid ""
2224 " guestfs_add_drive_opts (g, filename, -1);\n"
2225 "\n"
2226 msgstr ""
2227
2228 # type: textblock
2229 #: ../src/guestfs.pod:1086
2230 msgid "With a single optional argument:"
2231 msgstr ""
2232
2233 # type: verbatim
2234 #: ../src/guestfs.pod:1088
2235 #, no-wrap
2236 msgid ""
2237 " guestfs_add_drive_opts (g, filename,\n"
2238 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
2239 "                         -1);\n"
2240 "\n"
2241 msgstr ""
2242
2243 # type: textblock
2244 #: ../src/guestfs.pod:1092
2245 msgid "With two:"
2246 msgstr ""
2247
2248 # type: verbatim
2249 #: ../src/guestfs.pod:1094
2250 #, no-wrap
2251 msgid ""
2252 " guestfs_add_drive_opts (g, filename,\n"
2253 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
2254 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
2255 "                         -1);\n"
2256 "\n"
2257 msgstr ""
2258
2259 # type: textblock
2260 #: ../src/guestfs.pod:1099
2261 msgid ""
2262 "and so forth.  Don't forget the terminating C<-1> otherwise Bad Things will "
2263 "happen!"
2264 msgstr ""
2265
2266 # type: =head2
2267 #: ../src/guestfs.pod:1102
2268 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
2269 msgstr ""
2270
2271 # type: textblock
2272 #: ../src/guestfs.pod:1104
2273 msgid ""
2274 "The second variant has the same name with the suffix C<_va>, which works the "
2275 "same way but takes a C<va_list>.  See the C manual for details.  For the "
2276 "example function, this is declared:"
2277 msgstr ""
2278
2279 # type: verbatim
2280 #: ../src/guestfs.pod:1108
2281 #, no-wrap
2282 msgid ""
2283 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
2284 "                                va_list args);\n"
2285 "\n"
2286 msgstr ""
2287
2288 # type: =head2
2289 #: ../src/guestfs.pod:1111
2290 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
2291 msgstr ""
2292
2293 # type: textblock
2294 #: ../src/guestfs.pod:1113
2295 msgid ""
2296 "The third variant is useful where you need to construct these calls.  You "
2297 "pass in a structure where you fill in the optional fields.  The structure "
2298 "has a bitmask as the first element which you must set to indicate which "
2299 "fields you have filled in.  For our example function the structure and call "
2300 "are declared:"
2301 msgstr ""
2302
2303 # type: verbatim
2304 #: ../src/guestfs.pod:1119
2305 #, no-wrap
2306 msgid ""
2307 " struct guestfs_add_drive_opts_argv {\n"
2308 "   uint64_t bitmask;\n"
2309 "   int readonly;\n"
2310 "   const char *format;\n"
2311 "   /* ... */\n"
2312 " };\n"
2313 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
2314 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
2315 "\n"
2316 msgstr ""
2317
2318 # type: textblock
2319 #: ../src/guestfs.pod:1128
2320 msgid "You could call it like this:"
2321 msgstr ""
2322
2323 # type: verbatim
2324 #: ../src/guestfs.pod:1130
2325 #, no-wrap
2326 msgid ""
2327 " struct guestfs_add_drive_opts_argv optargs = {\n"
2328 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
2329 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
2330 "   .readonly = 1,\n"
2331 "   .format = \"qcow2\"\n"
2332 " };\n"
2333 " \n"
2334 msgstr ""
2335
2336 # type: verbatim
2337 #: ../src/guestfs.pod:1137
2338 #, no-wrap
2339 msgid ""
2340 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
2341 "\n"
2342 msgstr ""
2343
2344 # type: textblock
2345 #: ../src/guestfs.pod:1139 ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1582 ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1244
2346 msgid "Notes:"
2347 msgstr ""
2348
2349 # type: textblock
2350 #: ../src/guestfs.pod:1145
2351 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
2352 msgstr ""
2353
2354 # type: textblock
2355 #: ../src/guestfs.pod:1150
2356 msgid "You do not need to fill in all fields of the structure."
2357 msgstr ""
2358
2359 # type: textblock
2360 #: ../src/guestfs.pod:1154
2361 msgid ""
2362 "There must be a one-to-one correspondence between fields of the structure "
2363 "that are filled in, and bits set in the bitmask."
2364 msgstr ""
2365
2366 # type: =head2
2367 #: ../src/guestfs.pod:1159
2368 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
2369 msgstr ""
2370
2371 # type: textblock
2372 #: ../src/guestfs.pod:1161
2373 msgid ""
2374 "In other languages, optional arguments are expressed in the way that is "
2375 "natural for that language.  We refer you to the language-specific "
2376 "documentation for more details on that."
2377 msgstr ""
2378
2379 # type: textblock
2380 #: ../src/guestfs.pod:1165
2381 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
2382 msgstr ""
2383
2384 # type: =end
2385 #: ../src/guestfs.pod:1167 ../src/guestfs.pod:1172
2386 msgid "html"
2387 msgstr ""
2388
2389 # type: textblock
2390 #: ../src/guestfs.pod:1169
2391 msgid ""
2392 "<!-- old anchor for the next section --> <a "
2393 "name=\"state_machine_and_low_level_event_api\"/>"
2394 msgstr ""
2395
2396 # type: =head1
2397 #: ../src/guestfs.pod:1174
2398 msgid "ARCHITECTURE"
2399 msgstr ""
2400
2401 # type: textblock
2402 #: ../src/guestfs.pod:1176
2403 msgid ""
2404 "Internally, libguestfs is implemented by running an appliance (a special "
2405 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2406 "process of the main program."
2407 msgstr ""
2408
2409 # type: verbatim
2410 #: ../src/guestfs.pod:1180
2411 #, no-wrap
2412 msgid ""
2413 "  ___________________\n"
2414 " /                   \\\n"
2415 " | main program      |\n"
2416 " |                   |\n"
2417 " |                   |           child process / appliance\n"
2418 " |                   |           __________________________\n"
2419 " |                   |          / qemu                     \\\n"
2420 " +-------------------+   RPC    |      +-----------------+ |\n"
2421 " | libguestfs     <--------------------> guestfsd        | |\n"
2422 " |                   |          |      +-----------------+ |\n"
2423 " \\___________________/          |      | Linux kernel    | |\n"
2424 "                                |      +--^--------------+ |\n"
2425 "                                \\_________|________________/\n"
2426 "                                          |\n"
2427 "                                   _______v______\n"
2428 "                                  /              \\\n"
2429 "                                  | Device or    |\n"
2430 "                                  | disk image   |\n"
2431 "                                  \\______________/\n"
2432 "\n"
2433 msgstr ""
2434
2435 # type: textblock
2436 #: ../src/guestfs.pod:1200
2437 msgid ""
2438 "The library, linked to the main program, creates the child process and hence "
2439 "the appliance in the L</guestfs_launch> function."
2440 msgstr ""
2441
2442 # type: textblock
2443 #: ../src/guestfs.pod:1203
2444 msgid ""
2445 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2446 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2447 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2448 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2449 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2450 "attached to the qemu process which translates device access by the "
2451 "appliance's Linux kernel into accesses to the image."
2452 msgstr ""
2453
2454 # type: textblock
2455 #: ../src/guestfs.pod:1212
2456 msgid ""
2457 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2458 "Although the disk image you are attached to might also be used by some "
2459 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2460 "care if both libguestfs's qemu process and your virtual machine are trying "
2461 "to update the disk image at the same time, since these usually results in "
2462 "massive disk corruption)."
2463 msgstr ""
2464
2465 # type: =head1
2466 #: ../src/guestfs.pod:1219
2467 msgid "STATE MACHINE"
2468 msgstr ""
2469
2470 # type: textblock
2471 #: ../src/guestfs.pod:1221
2472 msgid "libguestfs uses a state machine to model the child process:"
2473 msgstr ""
2474
2475 # type: verbatim
2476 #: ../src/guestfs.pod:1223
2477 #, no-wrap
2478 msgid ""
2479 "                         |\n"
2480 "                    guestfs_create\n"
2481 "                         |\n"
2482 "                         |\n"
2483 "                     ____V_____\n"
2484 "                    /          \\\n"
2485 "                    |  CONFIG  |\n"
2486 "                    \\__________/\n"
2487 "                     ^ ^   ^  \\\n"
2488 "                    /  |    \\  \\ guestfs_launch\n"
2489 "                   /   |    _\\__V______\n"
2490 "                  /    |   /           \\\n"
2491 "                 /     |   | LAUNCHING |\n"
2492 "                /      |   \\___________/\n"
2493 "               /       |       /\n"
2494 "              /        |  guestfs_launch\n"
2495 "             /         |     /\n"
2496 "    ______  /        __|____V\n"
2497 "   /      \\ ------> /        \\\n"
2498 "   | BUSY |         | READY  |\n"
2499 "   \\______/ <------ \\________/\n"
2500 "\n"
2501 msgstr ""
2502
2503 # type: textblock
2504 #: ../src/guestfs.pod:1245
2505 msgid ""
2506 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2507 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2508 "(3) alternating between READY and BUSY as commands are issued to, and "
2509 "carried out by, the child process."
2510 msgstr ""
2511
2512 # type: textblock
2513 #: ../src/guestfs.pod:1250
2514 msgid ""
2515 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2516 "asynchronously at any time (eg. due to some internal error), and that causes "
2517 "the state to transition back to CONFIG."
2518 msgstr ""
2519
2520 # type: textblock
2521 #: ../src/guestfs.pod:1254
2522 msgid ""
2523 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2524 "issued when in the CONFIG state."
2525 msgstr ""
2526
2527 # type: textblock
2528 #: ../src/guestfs.pod:1257
2529 msgid ""
2530 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
2531 "L</guestfs_launch> blocks until the child process is READY to accept "
2532 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2533 "moves the state from CONFIG to LAUNCHING while it is running."
2534 msgstr ""
2535
2536 # type: textblock
2537 #: ../src/guestfs.pod:1263
2538 msgid ""
2539 "API actions such as L</guestfs_mount> can only be issued when in the READY "
2540 "state.  These API calls block waiting for the command to be carried out "
2541 "(ie. the state to transition to BUSY and then back to READY).  There are no "
2542 "non-blocking versions, and no way to issue more than one command per handle "
2543 "at the same time."
2544 msgstr ""
2545
2546 # type: textblock
2547 #: ../src/guestfs.pod:1269
2548 msgid ""
2549 "Finally, the child process sends asynchronous messages back to the main "
2550 "program, such as kernel log messages.  You can register a callback to "
2551 "receive these messages."
2552 msgstr ""
2553
2554 # type: =head2
2555 #: ../src/guestfs.pod:1273
2556 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2557 msgstr ""
2558
2559 # type: textblock
2560 #: ../src/guestfs.pod:1275
2561 msgid ""
2562 "The child process generates events in some situations.  Current events "
2563 "include: receiving a log message, the child process exits."
2564 msgstr ""
2565
2566 # type: textblock
2567 #: ../src/guestfs.pod:1278
2568 msgid ""
2569 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2570 "types of events."
2571 msgstr ""
2572
2573 # type: textblock
2574 #: ../src/guestfs.pod:1281
2575 msgid ""
2576 "Only I<one callback of each type> can be registered for each handle.  "
2577 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2578 "that type.  Cancel all callbacks of this type by calling this function with "
2579 "C<cb> set to C<NULL>."
2580 msgstr ""
2581
2582 # type: =head2
2583 #: ../src/guestfs.pod:1286
2584 msgid "guestfs_set_log_message_callback"
2585 msgstr ""
2586
2587 # type: verbatim
2588 #: ../src/guestfs.pod:1288
2589 #, no-wrap
2590 msgid ""
2591 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2592 "                                         char *buf, int len);\n"
2593 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2594 "                                        guestfs_log_message_cb cb,\n"
2595 "                                        void *opaque);\n"
2596 "\n"
2597 msgstr ""
2598
2599 # type: textblock
2600 #: ../src/guestfs.pod:1294
2601 msgid ""
2602 "The callback function C<cb> will be called whenever qemu or the guest writes "
2603 "anything to the console."
2604 msgstr ""
2605
2606 # type: textblock
2607 #: ../src/guestfs.pod:1297
2608 msgid "Use this function to capture kernel messages and similar."
2609 msgstr ""
2610
2611 # type: textblock
2612 #: ../src/guestfs.pod:1299
2613 msgid ""
2614 "Normally there is no log message handler, and log messages are just "
2615 "discarded."
2616 msgstr ""
2617
2618 # type: =head2
2619 #: ../src/guestfs.pod:1302
2620 msgid "guestfs_set_subprocess_quit_callback"
2621 msgstr ""
2622
2623 # type: verbatim
2624 #: ../src/guestfs.pod:1304
2625 #, no-wrap
2626 msgid ""
2627 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2628 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2629 "                                            guestfs_subprocess_quit_cb cb,\n"
2630 "                                            void *opaque);\n"
2631 "\n"
2632 msgstr ""
2633
2634 # type: textblock
2635 #: ../src/guestfs.pod:1309
2636 msgid ""
2637 "The callback function C<cb> will be called when the child process quits, "
2638 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2639 "corresponds to a transition from any state to the CONFIG state)."
2640 msgstr ""
2641
2642 # type: =head2
2643 #: ../src/guestfs.pod:1314
2644 msgid "guestfs_set_launch_done_callback"
2645 msgstr ""
2646
2647 # type: verbatim
2648 #: ../src/guestfs.pod:1316
2649 #, no-wrap
2650 msgid ""
2651 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2652 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2653 "                                        guestfs_launch_done_cb cb,\n"
2654 "                                        void *opaque);\n"
2655 "\n"
2656 msgstr ""
2657
2658 # type: textblock
2659 #: ../src/guestfs.pod:1321
2660 msgid ""
2661 "The callback function C<cb> will be called when the child process becomes "
2662 "ready first time after it has been launched.  (This corresponds to a "
2663 "transition from LAUNCHING to the READY state)."
2664 msgstr ""
2665
2666 # type: =head2
2667 #: ../src/guestfs.pod:1325
2668 msgid "guestfs_set_close_callback"
2669 msgstr ""
2670
2671 # type: verbatim
2672 #: ../src/guestfs.pod:1327
2673 #, no-wrap
2674 msgid ""
2675 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2676 " void guestfs_set_close_callback (guestfs_h *g,\n"
2677 "                                  guestfs_close_cb cb,\n"
2678 "                                  void *opaque);\n"
2679 "\n"
2680 msgstr ""
2681
2682 # type: textblock
2683 #: ../src/guestfs.pod:1332
2684 msgid ""
2685 "The callback function C<cb> will be called while the handle is being closed "
2686 "(synchronously from L</guestfs_close>)."
2687 msgstr ""
2688
2689 # type: textblock
2690 #: ../src/guestfs.pod:1335
2691 msgid ""
2692 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2693 "handles that are open when the program exits.  This means that this callback "
2694 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2695 "problems in higher-level languages (eg. if your HLL interpreter has already "
2696 "been cleaned up by the time this is called, and if your callback then jumps "
2697 "into some HLL function)."
2698 msgstr ""
2699
2700 # type: =head2
2701 #: ../src/guestfs.pod:1343
2702 msgid "guestfs_set_progress_callback"
2703 msgstr ""
2704
2705 # type: verbatim
2706 #: ../src/guestfs.pod:1345
2707 #, no-wrap
2708 msgid ""
2709 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2710 "                                      int proc_nr, int serial,\n"
2711 "                                      uint64_t position, uint64_t total);\n"
2712 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2713 "                                     guestfs_progress_cb cb,\n"
2714 "                                     void *opaque);\n"
2715 "\n"
2716 msgstr ""
2717
2718 # type: textblock
2719 #: ../src/guestfs.pod:1352
2720 msgid ""
2721 "Some long-running operations can generate progress messages.  If this "
2722 "callback is registered, then it will be called each time a progress message "
2723 "is generated (usually two seconds after the operation started, and three "
2724 "times per second thereafter until it completes, although the frequency may "
2725 "change in future versions)."
2726 msgstr ""
2727
2728 # type: textblock
2729 #: ../src/guestfs.pod:1358
2730 msgid ""
2731 "The callback receives two numbers: C<position> and C<total>.  The units of "
2732 "C<total> are not defined, although for some operations C<total> may relate "
2733 "in some way to the amount of data to be transferred (eg. in bytes or "
2734 "megabytes), and C<position> may be the portion which has been transferred."
2735 msgstr ""
2736
2737 # type: textblock
2738 #: ../src/guestfs.pod:1364
2739 msgid "The only defined and stable parts of the API are:"
2740 msgstr ""
2741
2742 # type: textblock
2743 #: ../src/guestfs.pod:1370
2744 msgid ""
2745 "The callback can display to the user some type of progress bar or indicator "
2746 "which shows the ratio of C<position>:C<total>."
2747 msgstr ""
2748
2749 # type: textblock
2750 #: ../src/guestfs.pod:1375
2751 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2752 msgstr ""
2753
2754 # type: textblock
2755 #: ../src/guestfs.pod:1379
2756 msgid ""
2757 "If any progress notification is sent during a call, then a final progress "
2758 "notification is always sent when C<position> = C<total>."
2759 msgstr ""
2760
2761 # type: textblock
2762 #: ../src/guestfs.pod:1382
2763 msgid ""
2764 "This is to simplify caller code, so callers can easily set the progress "
2765 "indicator to \"100%\" at the end of the operation, without requiring special "
2766 "code to detect this case."
2767 msgstr ""
2768
2769 # type: textblock
2770 #: ../src/guestfs.pod:1388
2771 msgid ""
2772 "The callback also receives the procedure number and serial number of the "
2773 "call.  These are only useful for debugging protocol issues, and the callback "
2774 "can normally ignore them.  The callback may want to print these numbers in "
2775 "error messages or debugging messages."
2776 msgstr ""
2777
2778 # type: =head1
2779 #: ../src/guestfs.pod:1393
2780 msgid "PRIVATE DATA AREA"
2781 msgstr ""
2782
2783 # type: textblock
2784 #: ../src/guestfs.pod:1395
2785 msgid ""
2786 "You can attach named pieces of private data to the libguestfs handle, and "
2787 "fetch them by name for the lifetime of the handle.  This is called the "
2788 "private data area and is only available from the C API."
2789 msgstr ""
2790
2791 # type: textblock
2792 #: ../src/guestfs.pod:1399
2793 msgid "To attach a named piece of data, use the following call:"
2794 msgstr ""
2795
2796 # type: verbatim
2797 #: ../src/guestfs.pod:1401
2798 #, no-wrap
2799 msgid ""
2800 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2801 "\n"
2802 msgstr ""
2803
2804 # type: textblock
2805 #: ../src/guestfs.pod:1403
2806 msgid ""
2807 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2808 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2809 "overwritten."
2810 msgstr ""
2811
2812 # type: textblock
2813 #: ../src/guestfs.pod:1407
2814 msgid ""
2815 "You can use any C<key> you want, but names beginning with an underscore "
2816 "character are reserved for internal libguestfs purposes (for implementing "
2817 "language bindings).  It is recommended to prefix the name with some unique "
2818 "string to avoid collisions with other users."
2819 msgstr ""
2820
2821 # type: textblock
2822 #: ../src/guestfs.pod:1412
2823 msgid "To retrieve the pointer, use:"
2824 msgstr ""
2825
2826 # type: verbatim
2827 #: ../src/guestfs.pod:1414
2828 #, no-wrap
2829 msgid ""
2830 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2831 "\n"
2832 msgstr ""
2833
2834 # type: textblock
2835 #: ../src/guestfs.pod:1416
2836 msgid ""
2837 "This function returns C<NULL> if either no data is found associated with "
2838 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2839 "C<NULL>."
2840 msgstr ""
2841
2842 # type: textblock
2843 #: ../src/guestfs.pod:1420
2844 msgid ""
2845 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2846 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2847 "all.  In particular, libguestfs does I<not> try to free the data when the "
2848 "handle is closed.  If the data must be freed, then the caller must either "
2849 "free it before calling L</guestfs_close> or must set up a close callback to "
2850 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2851 "can be registered for a handle)."
2852 msgstr ""
2853
2854 # type: textblock
2855 #: ../src/guestfs.pod:1428
2856 msgid ""
2857 "The private data area is implemented using a hash table, and should be "
2858 "reasonably efficient for moderate numbers of keys."
2859 msgstr ""
2860
2861 # type: =head1
2862 #: ../src/guestfs.pod:1431
2863 msgid "BLOCK DEVICE NAMING"
2864 msgstr ""
2865
2866 # type: textblock
2867 #: ../src/guestfs.pod:1433
2868 msgid ""
2869 "In the kernel there is now quite a profusion of schemata for naming block "
2870 "devices (in this context, by I<block device> I mean a physical or virtual "
2871 "hard drive).  The original Linux IDE driver used names starting with "
2872 "C</dev/hd*>.  SCSI devices have historically used a different naming scheme, "
2873 "C</dev/sd*>.  When the Linux kernel I<libata> driver became a popular "
2874 "replacement for the old IDE driver (particularly for SATA devices) those "
2875 "devices also used the C</dev/sd*> scheme.  Additionally we now have virtual "
2876 "machines with paravirtualized drivers.  This has created several different "
2877 "naming systems, such as C</dev/vd*> for virtio disks and C</dev/xvd*> for "
2878 "Xen PV disks."
2879 msgstr ""
2880
2881 # type: textblock
2882 #: ../src/guestfs.pod:1445
2883 msgid ""
2884 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2885 "Linux kernel to access block devices.  We can run a variety of appliances "
2886 "based on a variety of Linux kernels."
2887 msgstr ""
2888
2889 # type: textblock
2890 #: ../src/guestfs.pod:1449
2891 msgid ""
2892 "This causes a problem for libguestfs because many API calls use device or "
2893 "partition names.  Working scripts and the recipe (example) scripts that we "
2894 "make available over the internet could fail if the naming scheme changes."
2895 msgstr ""
2896
2897 # type: textblock
2898 #: ../src/guestfs.pod:1454
2899 msgid ""
2900 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2901 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2902 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2903 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2904 msgstr ""
2905
2906 # type: textblock
2907 #: ../src/guestfs.pod:1460
2908 msgid ""
2909 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2910 "L</guestfs_list_partitions> and similar calls return the true names of the "
2911 "devices and partitions as known to the appliance."
2912 msgstr ""
2913
2914 # type: =head2
2915 #: ../src/guestfs.pod:1465
2916 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2917 msgstr ""
2918
2919 # type: textblock
2920 #: ../src/guestfs.pod:1467
2921 msgid ""
2922 "Usually this translation is transparent.  However in some (very rare)  cases "
2923 "you may need to know the exact algorithm.  Such cases include where you use "
2924 "L</guestfs_config> to add a mixture of virtio and IDE devices to the "
2925 "qemu-based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> "
2926 "devices."
2927 msgstr ""
2928
2929 # type: textblock
2930 #: ../src/guestfs.pod:1473
2931 msgid ""
2932 "The algorithm is applied only to I<parameters> which are known to be either "
2933 "device or partition names.  Return values from functions such as "
2934 "L</guestfs_list_devices> are never changed."
2935 msgstr ""
2936
2937 # type: textblock
2938 #: ../src/guestfs.pod:1481
2939 msgid "Is the string a parameter which is a device or partition name?"
2940 msgstr ""
2941
2942 # type: textblock
2943 #: ../src/guestfs.pod:1485
2944 msgid "Does the string begin with C</dev/sd>?"
2945 msgstr ""
2946
2947 # type: textblock
2948 #: ../src/guestfs.pod:1489
2949 msgid ""
2950 "Does the named device exist? If so, we use that device.  However if I<not> "
2951 "then we continue with this algorithm."
2952 msgstr ""
2953
2954 # type: textblock
2955 #: ../src/guestfs.pod:1494
2956 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2957 msgstr ""
2958
2959 # type: textblock
2960 #: ../src/guestfs.pod:1496
2961 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2962 msgstr ""
2963
2964 # type: textblock
2965 #: ../src/guestfs.pod:1498
2966 msgid "If that named device exists, use it.  If not, continue."
2967 msgstr ""
2968
2969 # type: textblock
2970 #: ../src/guestfs.pod:1502
2971 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2972 msgstr ""
2973
2974 # type: textblock
2975 #: ../src/guestfs.pod:1504
2976 msgid "If that named device exists, use it.  If not, return an error."
2977 msgstr ""
2978
2979 # type: =head2
2980 #: ../src/guestfs.pod:1508
2981 msgid "PORTABILITY CONCERNS"
2982 msgstr ""
2983
2984 # type: textblock
2985 #: ../src/guestfs.pod:1510
2986 msgid ""
2987 "Although the standard naming scheme and automatic translation is useful for "
2988 "simple programs and guestfish scripts, for larger programs it is best not to "
2989 "rely on this mechanism."
2990 msgstr ""
2991
2992 # type: textblock
2993 #: ../src/guestfs.pod:1514
2994 msgid ""
2995 "Where possible for maximum future portability programs using libguestfs "
2996 "should use these future-proof techniques:"
2997 msgstr ""
2998
2999 # type: textblock
3000 #: ../src/guestfs.pod:1521
3001 msgid ""
3002 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
3003 "device names, and then use those names directly."
3004 msgstr ""
3005
3006 # type: textblock
3007 #: ../src/guestfs.pod:1524
3008 msgid "Since those device names exist by definition, they will never be translated."
3009 msgstr ""
3010
3011 # type: textblock
3012 #: ../src/guestfs.pod:1529
3013 msgid ""
3014 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
3015 "filesystem labels."
3016 msgstr ""
3017
3018 # type: =head1
3019 #: ../src/guestfs.pod:1534
3020 msgid "INTERNALS"
3021 msgstr ""
3022
3023 # type: =head2
3024 #: ../src/guestfs.pod:1536
3025 msgid "COMMUNICATION PROTOCOL"
3026 msgstr ""
3027
3028 # type: textblock
3029 #: ../src/guestfs.pod:1538
3030 msgid ""
3031 "Don't rely on using this protocol directly.  This section documents how it "
3032 "currently works, but it may change at any time."
3033 msgstr ""
3034
3035 # type: textblock
3036 #: ../src/guestfs.pod:1541
3037 msgid ""
3038 "The protocol used to talk between the library and the daemon running inside "
3039 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
3040 "1014, RFC 1832, RFC 4506)."
3041 msgstr ""
3042
3043 # type: textblock
3044 #: ../src/guestfs.pod:1545
3045 msgid ""
3046 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
3047 "this file is automatically generated)."
3048 msgstr ""
3049
3050 # type: textblock
3051 #: ../src/guestfs.pod:1548
3052 msgid ""
3053 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
3054 "and C<FileOut> parameters, which are handled with very simple request/reply "
3055 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
3056 "parameters, which use the same request and reply messages, but they may also "
3057 "be followed by files sent using a chunked encoding."
3058 msgstr ""
3059
3060 # type: =head3
3061 #: ../src/guestfs.pod:1555
3062 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
3063 msgstr ""
3064
3065 # type: textblock
3066 #: ../src/guestfs.pod:1557
3067 msgid "For ordinary functions, the request message is:"
3068 msgstr ""
3069
3070 # type: verbatim
3071 #: ../src/guestfs.pod:1559
3072 #, no-wrap
3073 msgid ""
3074 " total length (header + arguments,\n"
3075 "      but not including the length word itself)\n"
3076 " struct guestfs_message_header (encoded as XDR)\n"
3077 " struct guestfs_<foo>_args (encoded as XDR)\n"
3078 "\n"
3079 msgstr ""
3080
3081 # type: textblock
3082 #: ../src/guestfs.pod:1564
3083 msgid ""
3084 "The total length field allows the daemon to allocate a fixed size buffer "
3085 "into which it slurps the rest of the message.  As a result, the total length "
3086 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
3087 "effective size of any request is limited to somewhere under this size."
3088 msgstr ""
3089
3090 # type: textblock
3091 #: ../src/guestfs.pod:1570
3092 msgid ""
3093 "Note also that many functions don't take any arguments, in which case the "
3094 "C<guestfs_I<foo>_args> is completely omitted."
3095 msgstr ""
3096
3097 # type: textblock
3098 #: ../src/guestfs.pod:1573
3099 msgid ""
3100 "The header contains the procedure number (C<guestfs_proc>) which is how the "
3101 "receiver knows what type of args structure to expect, or none at all."
3102 msgstr ""
3103
3104 # type: textblock
3105 #: ../src/guestfs.pod:1577
3106 msgid "The reply message for ordinary functions is:"
3107 msgstr ""
3108
3109 # type: verbatim
3110 #: ../src/guestfs.pod:1579
3111 #, no-wrap
3112 msgid ""
3113 " total length (header + ret,\n"
3114 "      but not including the length word itself)\n"
3115 " struct guestfs_message_header (encoded as XDR)\n"
3116 " struct guestfs_<foo>_ret (encoded as XDR)\n"
3117 "\n"
3118 msgstr ""
3119
3120 # type: textblock
3121 #: ../src/guestfs.pod:1584
3122 msgid ""
3123 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
3124 "functions that return no formal return values."
3125 msgstr ""
3126
3127 # type: textblock
3128 #: ../src/guestfs.pod:1587
3129 msgid "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
3130 msgstr ""
3131
3132 # type: textblock
3133 #: ../src/guestfs.pod:1590
3134 msgid ""
3135 "In the case of an error, a flag is set in the header, and the reply message "
3136 "is slightly changed:"
3137 msgstr ""
3138
3139 # type: verbatim
3140 #: ../src/guestfs.pod:1593
3141 #, no-wrap
3142 msgid ""
3143 " total length (header + error,\n"
3144 "      but not including the length word itself)\n"
3145 " struct guestfs_message_header (encoded as XDR)\n"
3146 " struct guestfs_message_error (encoded as XDR)\n"
3147 "\n"
3148 msgstr ""
3149
3150 # type: textblock
3151 #: ../src/guestfs.pod:1598
3152 msgid ""
3153 "The C<guestfs_message_error> structure contains the error message as a "
3154 "string."
3155 msgstr ""
3156
3157 # type: =head3
3158 #: ../src/guestfs.pod:1601
3159 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
3160 msgstr ""
3161
3162 # type: textblock
3163 #: ../src/guestfs.pod:1603
3164 msgid ""
3165 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
3166 "The normal request message is sent (see above).  However this is followed by "
3167 "a sequence of file chunks."
3168 msgstr ""
3169
3170 # type: verbatim
3171 #: ../src/guestfs.pod:1607
3172 #, no-wrap
3173 msgid ""
3174 " total length (header + arguments,\n"
3175 "      but not including the length word itself,\n"
3176 "      and not including the chunks)\n"
3177 " struct guestfs_message_header (encoded as XDR)\n"
3178 " struct guestfs_<foo>_args (encoded as XDR)\n"
3179 " sequence of chunks for FileIn param #0\n"
3180 " sequence of chunks for FileIn param #1 etc.\n"
3181 "\n"
3182 msgstr ""
3183
3184 # type: textblock
3185 #: ../src/guestfs.pod:1615
3186 msgid "The \"sequence of chunks\" is:"
3187 msgstr ""
3188
3189 # type: verbatim
3190 #: ../src/guestfs.pod:1617
3191 #, no-wrap
3192 msgid ""
3193 " length of chunk (not including length word itself)\n"
3194 " struct guestfs_chunk (encoded as XDR)\n"
3195 " length of chunk\n"
3196 " struct guestfs_chunk (encoded as XDR)\n"
3197 "   ...\n"
3198 " length of chunk\n"
3199 " struct guestfs_chunk (with data.data_len == 0)\n"
3200 "\n"
3201 msgstr ""
3202
3203 # type: textblock
3204 #: ../src/guestfs.pod:1625
3205 msgid ""
3206 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
3207 "is set in the final chunk to indicate either successful completion or early "
3208 "cancellation."
3209 msgstr ""
3210
3211 # type: textblock
3212 #: ../src/guestfs.pod:1629
3213 msgid ""
3214 "At time of writing there are no functions that have more than one FileIn "
3215 "parameter.  However this is (theoretically) supported, by sending the "
3216 "sequence of chunks for each FileIn parameter one after another (from left to "
3217 "right)."
3218 msgstr ""
3219
3220 # type: textblock
3221 #: ../src/guestfs.pod:1634
3222 msgid ""
3223 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
3224 "transfer.  The library does this by sending a chunk with a special flag set "
3225 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
3226 "RPC, does I<not> send any reply, and goes back to reading the next request."
3227 msgstr ""
3228
3229 # type: textblock
3230 #: ../src/guestfs.pod:1640
3231 msgid ""
3232 "The daemon may also cancel.  It does this by writing a special word "
3233 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
3234 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
3235 "cancel chunk).  The special word is chosen so that even if cancellation "
3236 "happens right at the end of the transfer (after the library has finished "
3237 "writing and has started listening for the reply), the \"spurious\" cancel "
3238 "flag will not be confused with the reply message."
3239 msgstr ""
3240
3241 # type: textblock
3242 #: ../src/guestfs.pod:1649
3243 msgid ""
3244 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
3245 "limit), and also files where the size is not known in advance (eg. from "
3246 "pipes or sockets).  However the chunks are rather small "
3247 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
3248 "to keep much in memory."
3249 msgstr ""
3250
3251 # type: =head3
3252 #: ../src/guestfs.pod:1655
3253 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
3254 msgstr ""
3255
3256 # type: textblock
3257 #: ../src/guestfs.pod:1657
3258 msgid ""
3259 "The protocol for FileOut parameters is exactly the same as for FileIn "
3260 "parameters, but with the roles of daemon and library reversed."
3261 msgstr ""
3262
3263 # type: verbatim
3264 #: ../src/guestfs.pod:1660
3265 #, no-wrap
3266 msgid ""
3267 " total length (header + ret,\n"
3268 "      but not including the length word itself,\n"
3269 "      and not including the chunks)\n"
3270 " struct guestfs_message_header (encoded as XDR)\n"
3271 " struct guestfs_<foo>_ret (encoded as XDR)\n"
3272 " sequence of chunks for FileOut param #0\n"
3273 " sequence of chunks for FileOut param #1 etc.\n"
3274 "\n"
3275 msgstr ""
3276
3277 # type: =head3
3278 #: ../src/guestfs.pod:1668
3279 msgid "INITIAL MESSAGE"
3280 msgstr ""
3281
3282 # type: textblock
3283 #: ../src/guestfs.pod:1670
3284 msgid ""
3285 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
3286 "which indicates that the guest and daemon is alive.  This is what "
3287 "L</guestfs_launch> waits for."
3288 msgstr ""
3289
3290 # type: =head3
3291 #: ../src/guestfs.pod:1674
3292 msgid "PROGRESS NOTIFICATION MESSAGES"
3293 msgstr ""
3294
3295 # type: textblock
3296 #: ../src/guestfs.pod:1676
3297 msgid ""
3298 "The daemon may send progress notification messages at any time.  These are "
3299 "distinguished by the normal length word being replaced by "
3300 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
3301 msgstr ""
3302
3303 # type: textblock
3304 #: ../src/guestfs.pod:1680
3305 msgid ""
3306 "The library turns them into progress callbacks (see "
3307 "C<guestfs_set_progress_callback>) if there is a callback registered, or "
3308 "discards them if not."
3309 msgstr ""
3310
3311 # type: textblock
3312 #: ../src/guestfs.pod:1684
3313 msgid ""
3314 "The daemon self-limits the frequency of progress messages it sends (see "
3315 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
3316 "messages."
3317 msgstr ""
3318
3319 # type: =head1
3320 #: ../src/guestfs.pod:1688
3321 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
3322 msgstr ""
3323
3324 # type: textblock
3325 #: ../src/guestfs.pod:1690
3326 msgid ""
3327 "All high-level libguestfs actions are synchronous.  If you want to use "
3328 "libguestfs asynchronously then you must create a thread."
3329 msgstr ""
3330
3331 # type: textblock
3332 #: ../src/guestfs.pod:1693
3333 msgid ""
3334 "Only use the handle from a single thread.  Either use the handle exclusively "
3335 "from one thread, or provide your own mutex so that two threads cannot issue "
3336 "calls on the same handle at the same time."
3337 msgstr ""
3338
3339 # type: textblock
3340 #: ../src/guestfs.pod:1697
3341 msgid ""
3342 "See the graphical program guestfs-browser for one possible architecture for "
3343 "multithreaded programs using libvirt and libguestfs."
3344 msgstr ""
3345
3346 # type: =head1
3347 #: ../src/guestfs.pod:1700
3348 msgid "QEMU WRAPPERS"
3349 msgstr ""
3350
3351 # type: textblock
3352 #: ../src/guestfs.pod:1702
3353 msgid ""
3354 "If you want to compile your own qemu, run qemu from a non-standard location, "
3355 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3356 "around qemu."
3357 msgstr ""
3358
3359 # type: textblock
3360 #: ../src/guestfs.pod:1706
3361 msgid ""
3362 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3363 "last command in the shell script (so that qemu replaces the shell and "
3364 "becomes the direct child of the libguestfs-using program).  If you don't do "
3365 "this, then the qemu process won't be cleaned up correctly."
3366 msgstr ""
3367
3368 # type: textblock
3369 #: ../src/guestfs.pod:1711
3370 msgid ""
3371 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3372 "source:"
3373 msgstr ""
3374
3375 # type: verbatim
3376 #: ../src/guestfs.pod:1714
3377 #, no-wrap
3378 msgid ""
3379 " #!/bin/sh -\n"
3380 " qemudir=/home/rjones/d/qemu\n"
3381 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios "
3382 "\"$@\"\n"
3383 "\n"
3384 msgstr ""
3385
3386 # type: textblock
3387 #: ../src/guestfs.pod:1718
3388 msgid ""
3389 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3390 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3391 "example:"
3392 msgstr ""
3393
3394 # type: verbatim
3395 #: ../src/guestfs.pod:1722
3396 #, no-wrap
3397 msgid ""
3398 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3399 "\n"
3400 msgstr ""
3401
3402 # type: textblock
3403 #: ../src/guestfs.pod:1724
3404 msgid ""
3405 "Note that libguestfs also calls qemu with the -help and -version options in "
3406 "order to determine features."
3407 msgstr ""
3408
3409 # type: =head1
3410 #: ../src/guestfs.pod:1727
3411 msgid "LIBGUESTFS VERSION NUMBERS"
3412 msgstr ""
3413
3414 # type: textblock
3415 #: ../src/guestfs.pod:1729
3416 msgid ""
3417 "Since April 2010, libguestfs has started to make separate development and "
3418 "stable releases, along with corresponding branches in our git repository.  "
3419 "These separate releases can be identified by version number:"
3420 msgstr ""
3421
3422 # type: verbatim
3423 #: ../src/guestfs.pod:1734
3424 #, no-wrap
3425 msgid ""
3426 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3427 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3428 "       |\n"
3429 "       v\n"
3430 " 1  .  3  .  5\n"
3431 " ^           ^\n"
3432 " |           |\n"
3433 " |           `-------- sub-version\n"
3434 " |\n"
3435 " `------ always '1' because we don't change the ABI\n"
3436 "\n"
3437 msgstr ""
3438
3439 # type: textblock
3440 #: ../src/guestfs.pod:1745
3441 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3442 msgstr ""
3443
3444 # type: textblock
3445 #: ../src/guestfs.pod:1747
3446 msgid ""
3447 "As time passes we cherry pick fixes from the development branch and backport "
3448 "those into the stable branch, the effect being that the stable branch should "
3449 "get more stable and less buggy over time.  So the stable releases are ideal "
3450 "for people who don't need new features but would just like the software to "
3451 "work."
3452 msgstr ""
3453
3454 # type: textblock
3455 #: ../src/guestfs.pod:1753
3456 msgid "Our criteria for backporting changes are:"
3457 msgstr ""
3458
3459 # type: textblock
3460 #: ../src/guestfs.pod:1759
3461 msgid ""
3462 "Documentation changes which don't affect any code are backported unless the "
3463 "documentation refers to a future feature which is not in stable."
3464 msgstr ""
3465
3466 # type: textblock
3467 #: ../src/guestfs.pod:1765
3468 msgid ""
3469 "Bug fixes which are not controversial, fix obvious problems, and have been "
3470 "well tested are backported."
3471 msgstr ""
3472
3473 # type: textblock
3474 #: ../src/guestfs.pod:1770
3475 msgid ""
3476 "Simple rearrangements of code which shouldn't affect how it works get "
3477 "backported.  This is so that the code in the two branches doesn't get too "
3478 "far out of step, allowing us to backport future fixes more easily."
3479 msgstr ""
3480
3481 # type: textblock
3482 #: ../src/guestfs.pod:1776
3483 msgid ""
3484 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3485 "exceptional case: the new feature is required in order to implement an "
3486 "important bug fix."
3487 msgstr ""
3488
3489 # type: textblock
3490 #: ../src/guestfs.pod:1782
3491 msgid ""
3492 "A new stable branch starts when we think the new features in development are "
3493 "substantial and compelling enough over the current stable branch to warrant "
3494 "it.  When that happens we create new stable and development versions 1.N.0 "
3495 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3496 "stable at this point, but by backporting fixes from development, that branch "
3497 "will stabilize over time."
3498 msgstr ""
3499
3500 # type: =head1
3501 #: ../src/guestfs.pod:1790 ../fish/guestfish.pod:867 ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:330 ../tools/virt-rescue.pl:255
3502 msgid "ENVIRONMENT VARIABLES"
3503 msgstr ""
3504
3505 # type: =item
3506 #: ../src/guestfs.pod:1794 ../fish/guestfish.pod:893
3507 msgid "LIBGUESTFS_APPEND"
3508 msgstr ""
3509
3510 # type: textblock
3511 #: ../src/guestfs.pod:1796 ../fish/guestfish.pod:895
3512 msgid "Pass additional options to the guest kernel."
3513 msgstr ""
3514
3515 # type: =item
3516 #: ../src/guestfs.pod:1798 ../fish/guestfish.pod:897
3517 msgid "LIBGUESTFS_DEBUG"
3518 msgstr ""
3519
3520 # type: textblock
3521 #: ../src/guestfs.pod:1800
3522 msgid ""
3523 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3524 "effect as calling C<guestfs_set_verbose (g, 1)>."
3525 msgstr ""
3526
3527 # type: =item
3528 #: ../src/guestfs.pod:1803 ../fish/guestfish.pod:902
3529 msgid "LIBGUESTFS_MEMSIZE"
3530 msgstr ""
3531
3532 # type: textblock
3533 #: ../src/guestfs.pod:1805 ../fish/guestfish.pod:904
3534 msgid "Set the memory allocated to the qemu process, in megabytes.  For example:"
3535 msgstr ""
3536
3537 # type: verbatim
3538 #: ../src/guestfs.pod:1808 ../fish/guestfish.pod:907
3539 #, no-wrap
3540 msgid ""
3541 " LIBGUESTFS_MEMSIZE=700\n"
3542 "\n"
3543 msgstr ""
3544
3545 # type: =item
3546 #: ../src/guestfs.pod:1810 ../fish/guestfish.pod:909
3547 msgid "LIBGUESTFS_PATH"
3548 msgstr ""
3549
3550 # type: textblock
3551 #: ../src/guestfs.pod:1812
3552 msgid ""
3553 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3554 "the discussion of paths in section PATH above."
3555 msgstr ""
3556
3557 # type: =item
3558 #: ../src/guestfs.pod:1815 ../fish/guestfish.pod:914
3559 msgid "LIBGUESTFS_QEMU"
3560 msgstr ""
3561
3562 # type: textblock
3563 #: ../src/guestfs.pod:1817 ../fish/guestfish.pod:916
3564 msgid ""
3565 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3566 "which was found at compile time by the configure script is used."
3567 msgstr ""
3568
3569 # type: textblock
3570 #: ../src/guestfs.pod:1821
3571 msgid "See also L</QEMU WRAPPERS> above."
3572 msgstr ""
3573
3574 # type: =item
3575 #: ../src/guestfs.pod:1823 ../fish/guestfish.pod:920
3576 msgid "LIBGUESTFS_TRACE"
3577 msgstr ""
3578
3579 # type: textblock
3580 #: ../src/guestfs.pod:1825
3581 msgid ""
3582 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3583 "effect as calling C<guestfs_set_trace (g, 1)>."
3584 msgstr ""
3585
3586 # type: =item
3587 #: ../src/guestfs.pod:1828 ../fish/guestfish.pod:929
3588 msgid "TMPDIR"
3589 msgstr ""
3590
3591 # type: textblock
3592 #: ../src/guestfs.pod:1830 ../fish/guestfish.pod:931
3593 msgid "Location of temporary directory, defaults to C</tmp>."
3594 msgstr ""
3595
3596 # type: textblock
3597 #: ../src/guestfs.pod:1832 ../fish/guestfish.pod:933
3598 msgid ""
3599 "If libguestfs was compiled to use the supermin appliance then the real "
3600 "appliance is cached in this directory, shared between all handles belonging "
3601 "to the same EUID.  You can use C<$TMPDIR> to configure another directory to "
3602 "use in case C</tmp> is not large enough."
3603 msgstr ""
3604
3605 # type: =head1
3606 #: ../src/guestfs.pod:1840 ../fish/guestfish.pod:991 ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:214 ../inspector/virt-inspector.pl:884 ../tools/virt-edit.pl:350 ../tools/virt-win-reg.pl:487 ../tools/virt-df.pl:640 ../tools/virt-ls.pl:235 ../tools/virt-resize.pl:1486 ../tools/virt-list-filesystems.pl:216 ../tools/virt-cat.pl:188 ../tools/virt-tar.pl:283 ../tools/virt-rescue.pl:267 ../tools/virt-make-fs.pl:534 ../tools/virt-list-partitions.pl:254
3607 msgid "SEE ALSO"
3608 msgstr ""
3609
3610 # type: textblock
3611 #: ../src/guestfs.pod:1842
3612 msgid ""
3613 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, "
3614 "L<virt-edit(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, "
3615 "L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, "
3616 "L<virt-rescue(1)>, L<virt-tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, "
3617 "L<febootstrap(1)>, L<hivex(3)>, L<http://libguestfs.org/>."
3618 msgstr ""
3619
3620 # type: textblock
3621 #: ../src/guestfs.pod:1860
3622 msgid ""
3623 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, "
3624 "L<lvm(8)>, L<disktype(1)>."
3625 msgstr ""
3626
3627 # type: =head1
3628 #: ../src/guestfs.pod:1867 ../tools/virt-win-reg.pl:502 ../tools/virt-make-fs.pl:548
3629 msgid "BUGS"
3630 msgstr ""
3631
3632 # type: textblock
3633 #: ../src/guestfs.pod:1869
3634 msgid "To get a list of bugs against libguestfs use this link:"
3635 msgstr ""
3636
3637 # type: textblock
3638 #: ../src/guestfs.pod:1871
3639 msgid "L<https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools>"
3640 msgstr ""
3641
3642 # type: textblock
3643 #: ../src/guestfs.pod:1873
3644 msgid "To report a new bug against libguestfs use this link:"
3645 msgstr ""
3646
3647 # type: textblock
3648 #: ../src/guestfs.pod:1875
3649 msgid "L<https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools>"
3650 msgstr ""
3651
3652 # type: textblock
3653 #: ../src/guestfs.pod:1877
3654 msgid "When reporting a bug, please check:"
3655 msgstr ""
3656
3657 # type: textblock
3658 #: ../src/guestfs.pod:1883
3659 msgid "That the bug hasn't been reported already."
3660 msgstr ""
3661
3662 # type: textblock
3663 #: ../src/guestfs.pod:1887
3664 msgid "That you are testing a recent version."
3665 msgstr ""
3666
3667 # type: textblock
3668 #: ../src/guestfs.pod:1891
3669 msgid "Describe the bug accurately, and give a way to reproduce it."
3670 msgstr ""
3671
3672 # type: textblock
3673 #: ../src/guestfs.pod:1895
3674 msgid ""
3675 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3676 "bug report."
3677 msgstr ""
3678
3679 # type: =head1
3680 #: ../src/guestfs.pod:1900 ../fish/guestfish.pod:1008 ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:225 ../inspector/virt-inspector.pl:893
3681 msgid "AUTHORS"
3682 msgstr ""
3683
3684 # type: textblock
3685 #: ../src/guestfs.pod:1902 ../fish/guestfish.pod:1010 ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:227
3686 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3687 msgstr ""
3688
3689 # type: =head1
3690 #: ../src/guestfs.pod:1904 ../fish/guestfish.pod:1012 ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:229 ../inspector/virt-inspector.pl:899 ../tools/virt-edit.pl:366 ../tools/virt-win-reg.pl:517 ../tools/virt-df.pl:653 ../tools/virt-ls.pl:250 ../tools/virt-resize.pl:1512 ../tools/virt-list-filesystems.pl:232 ../tools/virt-cat.pl:202 ../tools/virt-tar.pl:298 ../tools/virt-rescue.pl:281 ../tools/virt-make-fs.pl:563 ../tools/virt-list-partitions.pl:269
3691 msgid "COPYRIGHT"
3692 msgstr ""
3693
3694 # type: textblock
3695 #: ../src/guestfs.pod:1906 ../fish/guestfish.pod:1014 ../fuse/guestmount.pod:231
3696 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3697 msgstr ""
3698
3699 # type: textblock
3700 #: ../src/guestfs.pod:1909
3701 msgid ""
3702 "This library is free software; you can redistribute it and/or modify it "
3703 "under the terms of the GNU Lesser General Public License as published by the "
3704 "Free Software Foundation; either version 2 of the License, or (at your "
3705 "option) any later version."
3706 msgstr ""
3707
3708 # type: textblock
3709 #: ../src/guestfs.pod:1914
3710 msgid ""
3711 "This library is distributed in the hope that it will be useful, but WITHOUT "
3712 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3713 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3714 "for more details."
3715 msgstr ""
3716
3717 # type: textblock
3718 #: ../src/guestfs.pod:1919
3719 msgid ""
3720 "You should have received a copy of the GNU Lesser General Public License "
3721 "along with this library; if not, write to the Free Software Foundation, "
3722 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3723 msgstr ""
3724
3725 # type: =head2
3726 #: ../src/guestfs-actions.pod:1
3727 msgid "guestfs_add_cdrom"
3728 msgstr ""
3729
3730 # type: verbatim
3731 #: ../src/guestfs-actions.pod:3
3732 #, no-wrap
3733 msgid ""
3734 " int guestfs_add_cdrom (guestfs_h *g,\n"
3735 "\t\tconst char *filename);\n"
3736 "\n"
3737 msgstr ""
3738
3739 # type: textblock
3740 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5
3741 msgid "This function adds a virtual CD-ROM disk image to the guest."
3742 msgstr ""
3743
3744 # type: textblock
3745 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7
3746 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3747 msgstr ""
3748
3749 # type: textblock
3750 #: ../src/guestfs-actions.pod:16
3751 msgid ""
3752 "This call checks for the existence of C<filename>.  This stops you from "
3753 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3754 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3755 "instead."
3756 msgstr ""
3757
3758 # type: textblock
3759 #: ../src/guestfs-actions.pod:23
3760 msgid ""
3761 "If you just want to add an ISO file (often you use this as an efficient way "
3762 "to transfer large files into the guest), then you should probably use "
3763 "C<guestfs_add_drive_ro> instead."
3764 msgstr ""
3765
3766 # type: textblock
3767 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:54 ../src/guestfs-actions.pod:112 ../src/guestfs-actions.pod:144 ../src/guestfs-actions.pod:155 ../src/guestfs-actions.pod:173 ../src/guestfs-actions.pod:190 ../src/guestfs-actions.pod:201 ../src/guestfs-actions.pod:304 ../src/guestfs-actions.pod:321 ../src/guestfs-actions.pod:332 ../src/guestfs-actions.pod:368 ../src/guestfs-actions.pod:390 ../src/guestfs-actions.pod:405 ../src/guestfs-actions.pod:469 ../src/guestfs-actions.pod:496 ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:519 ../src/guestfs-actions.pod:600 ../src/guestfs-actions.pod:615 ../src/guestfs-actions.pod:626 ../src/guestfs-actions.pod:637 ../src/guestfs-actions.pod:783 ../src/guestfs-actions.pod:800 ../src/guestfs-actions.pod:815 ../src/guestfs-actions.pod:890 ../src/guestfs-actions.pod:905 ../src/guestfs-actions.pod:921 ../src/guestfs-actions.pod:932 ../src/guestfs-actions.pod:949 ../src/guestfs-actions.pod:982 ../src/guestfs-actions.pod:1040 ../src/guestfs-actions.pod:1068 ../src/guestfs-actions.pod:1090 ../src/guestfs-actions.pod:1121 ../src/guestfs-actions.pod:1209 ../src/guestfs-actions.pod:1240 ../src/guestfs-actions.pod:1440 ../src/guestfs-actions.pod:1459 ../src/guestfs-actions.pod:1540 ../src/guestfs-actions.pod:1888 ../src/guestfs-actions.pod:2011 ../src/guestfs-actions.pod:2066 ../src/guestfs-actions.pod:2096 ../src/guestfs-actions.pod:2505 ../src/guestfs-actions.pod:2517 ../src/guestfs-actions.pod:2534 ../src/guestfs-actions.pod:2642 ../src/guestfs-actions.pod:2653 ../src/guestfs-actions.pod:2663 ../src/guestfs-actions.pod:2674 ../src/guestfs-actions.pod:2686 ../src/guestfs-actions.pod:2716 ../src/guestfs-actions.pod:2780 ../src/guestfs-actions.pod:2797 ../src/guestfs-actions.pod:2811 ../src/guestfs-actions.pod:2831 ../src/guestfs-actions.pod:2851 ../src/guestfs-actions.pod:2880 ../src/guestfs-actions.pod:2896 ../src/guestfs-actions.pod:2912 ../src/guestfs-actions.pod:2941 ../src/guestfs-actions.pod:2950 ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:2996 ../src/guestfs-actions.pod:3006 ../src/guestfs-actions.pod:3018 ../src/guestfs-actions.pod:3032 ../src/guestfs-actions.pod:3112 ../src/guestfs-actions.pod:3129 ../src/guestfs-actions.pod:3139 ../src/guestfs-actions.pod:3184 ../src/guestfs-actions.pod:3199 ../src/guestfs-actions.pod:3214 ../src/guestfs-actions.pod:3227 ../src/guestfs-actions.pod:3238 ../src/guestfs-actions.pod:3249 ../src/guestfs-actions.pod:3263 ../src/guestfs-actions.pod:3275 ../src/guestfs-actions.pod:3292 ../src/guestfs-actions.pod:3338 ../src/guestfs-actions.pod:3366 ../src/guestfs-actions.pod:3382 ../src/guestfs-actions.pod:3398 ../src/guestfs-actions.pod:3407 ../src/guestfs-actions.pod:3421 ../src/guestfs-actions.pod:3431 ../src/guestfs-actions.pod:3443 ../src/guestfs-actions.pod:3455 ../src/guestfs-actions.pod:3487 ../src/guestfs-actions.pod:3499 ../src/guestfs-actions.pod:3516 ../src/guestfs-actions.pod:3527 ../src/guestfs-actions.pod:3541 ../src/guestfs-actions.pod:3581 ../src/guestfs-actions.pod:3612 ../src/guestfs-actions.pod:3623 ../src/guestfs-actions.pod:3648 ../src/guestfs-actions.pod:3662 ../src/guestfs-actions.pod:3677 ../src/guestfs-actions.pod:3799 ../src/guestfs-actions.pod:3851 ../src/guestfs-actions.pod:3870 ../src/guestfs-actions.pod:3885 ../src/guestfs-actions.pod:3911 ../src/guestfs-actions.pod:3968 ../src/guestfs-actions.pod:3982 ../src/guestfs-actions.pod:3992 ../src/guestfs-actions.pod:4003 ../src/guestfs-actions.pod:4258 ../src/guestfs-actions.pod:4274 ../src/guestfs-actions.pod:4285 ../src/guestfs-actions.pod:4294 ../src/guestfs-actions.pod:4305 ../src/guestfs-actions.pod:4314 ../src/guestfs-actions.pod:4325 ../src/guestfs-actions.pod:4338 ../src/guestfs-actions.pod:4356 ../src/guestfs-actions.pod:4372 ../src/guestfs-actions.pod:4388 ../src/guestfs-actions.pod:4403 ../src/guestfs-actions.pod:4423 ../src/guestfs-actions.pod:4438 ../src/guestfs-actions.pod:4454 ../src/guestfs-actions.pod:4472 ../src/guestfs-actions.pod:4488 ../src/guestfs-actions.pod:4502 ../src/guestfs-actions.pod:4527 ../src/guestfs-actions.pod:4548 ../src/guestfs-actions.pod:4564 ../src/guestfs-actions.pod:4585 ../src/guestfs-actions.pod:4597 ../src/guestfs-actions.pod:4609 ../src/guestfs-actions.pod:4625 ../src/guestfs-actions.pod:4659 ../src/guestfs-actions.pod:4679 ../src/guestfs-actions.pod:4702 ../src/guestfs-actions.pod:4792 ../src/guestfs-actions.pod:4898 ../src/guestfs-actions.pod:4907 ../src/guestfs-actions.pod:4917 ../src/guestfs-actions.pod:4927 ../src/guestfs-actions.pod:4946 ../src/guestfs-actions.pod:4956 ../src/guestfs-actions.pod:4966 ../src/guestfs-actions.pod:4976 ../src/guestfs-actions.pod:4988 ../src/guestfs-actions.pod:5038 ../src/guestfs-actions.pod:5052 ../src/guestfs-actions.pod:5065 ../src/guestfs-actions.pod:5078 ../src/guestfs-actions.pod:5092 ../src/guestfs-actions.pod:5102 ../src/guestfs-actions.pod:5119 ../src/guestfs-actions.pod:5149 ../src/guestfs-actions.pod:5160 ../src/guestfs-actions.pod:5195 ../src/guestfs-actions.pod:5205 ../src/guestfs-actions.pod:5220 ../src/guestfs-actions.pod:5246 ../src/guestfs-actions.pod:5274 ../src/guestfs-actions.pod:5378 ../src/guestfs-actions.pod:5393 ../src/guestfs-actions.pod:5404 ../src/guestfs-actions.pod:5450 ../src/guestfs-actions.pod:5460 ../src/guestfs-actions.pod:5497 ../src/guestfs-actions.pod:5524 ../src/guestfs-actions.pod:5566 ../src/guestfs-actions.pod:5589 ../src/guestfs-actions.pod:5646 ../src/guestfs-actions.pod:5662 ../src/guestfs-actions.pod:5688
3768 msgid "This function returns 0 on success or -1 on error."
3769 msgstr ""
3770
3771 # type: textblock
3772 #: ../src/guestfs-actions.pod:31 ../src/guestfs-actions.pod:157 ../src/guestfs-actions.pod:175 ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:117 ../fish/guestfish-actions.pod:131
3773 msgid ""
3774 "This function is deprecated.  In new code, use the C<add_drive_opts> call "
3775 "instead."
3776 msgstr ""
3777
3778 # type: textblock
3779 #: ../src/guestfs-actions.pod:34 ../src/guestfs-actions.pod:160 ../src/guestfs-actions.pod:178 ../src/guestfs-actions.pod:1214 ../src/guestfs-actions.pod:1649 ../src/guestfs-actions.pod:1667 ../src/guestfs-actions.pod:5597 ../src/guestfs-actions.pod:5742 ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:120 ../fish/guestfish-actions.pod:134 ../fish/guestfish-actions.pod:940 ../fish/guestfish-actions.pod:1297 ../fish/guestfish-actions.pod:1311 ../fish/guestfish-actions.pod:4317 ../fish/guestfish-actions.pod:4414
3780 msgid ""
3781 "Deprecated functions will not be removed from the API, but the fact that "
3782 "they are deprecated indicates that there are problems with correct use of "
3783 "these functions."
3784 msgstr ""
3785
3786 # type: =head2
3787 #: ../src/guestfs-actions.pod:38
3788 msgid "guestfs_add_drive"
3789 msgstr ""
3790
3791 # type: verbatim
3792 #: ../src/guestfs-actions.pod:40
3793 #, no-wrap
3794 msgid ""
3795 " int guestfs_add_drive (guestfs_h *g,\n"
3796 "\t\tconst char *filename);\n"
3797 "\n"
3798 msgstr ""
3799
3800 # type: textblock
3801 #: ../src/guestfs-actions.pod:43
3802 msgid ""
3803 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
3804 "optional parameters, so the disk is added writable, with the format being "
3805 "detected automatically."
3806 msgstr ""
3807
3808 # type: textblock
3809 #: ../src/guestfs-actions.pod:47
3810 msgid ""
3811 "Automatic detection of the format opens you up to a potential security hole "
3812 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
3813 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
3814 "you should think about replacing calls to this function with calls to "
3815 "C<guestfs_add_drive_opts>, and specifying the format."
3816 msgstr ""
3817
3818 # type: =head2
3819 #: ../src/guestfs-actions.pod:56
3820 msgid "guestfs_add_drive_opts"
3821 msgstr ""
3822
3823 # type: verbatim
3824 #: ../src/guestfs-actions.pod:58
3825 #, no-wrap
3826 msgid ""
3827 " int guestfs_add_drive_opts (guestfs_h *g,\n"
3828 "\t\tconst char *filename,\n"
3829 "\t\t...);\n"
3830 "\n"
3831 msgstr ""
3832
3833 # type: textblock
3834 #: ../src/guestfs-actions.pod:62
3835 msgid ""
3836 "You may supply a list of optional arguments to this call.  Use zero or more "
3837 "of the following pairs of parameters, and terminate the list with C<-1> on "
3838 "its own.  See L</CALLS WITH OPTIONAL ARGUMENTS>."
3839 msgstr ""
3840
3841 # type: verbatim
3842 #: ../src/guestfs-actions.pod:67
3843 #, no-wrap
3844 msgid ""
3845 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
3846 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
3847 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
3848 "\n"
3849 msgstr ""
3850
3851 # type: textblock
3852 #: ../src/guestfs-actions.pod:71 ../fish/guestfish-actions.pod:56
3853 msgid ""
3854 "This function adds a virtual machine disk image C<filename> to libguestfs.  "
3855 "The first time you call this function, the disk appears as C</dev/sda>, the "
3856 "second time as C</dev/sdb>, and so on."
3857 msgstr ""
3858
3859 # type: textblock
3860 #: ../src/guestfs-actions.pod:76 ../fish/guestfish-actions.pod:61
3861 msgid ""
3862 "You don't necessarily need to be root when using libguestfs.  However you "
3863 "obviously do need sufficient permissions to access the filename for whatever "
3864 "operations you want to perform (ie. read access if you just want to read the "
3865 "image or write access if you want to modify the image)."
3866 msgstr ""
3867
3868 # type: textblock
3869 #: ../src/guestfs-actions.pod:82 ../fish/guestfish-actions.pod:67
3870 msgid "This call checks that C<filename> exists."
3871 msgstr ""
3872
3873 # type: textblock
3874 #: ../src/guestfs-actions.pod:84 ../fish/guestfish-actions.pod:69
3875 msgid "The optional arguments are:"
3876 msgstr ""
3877
3878 # type: =item
3879 #: ../src/guestfs-actions.pod:88 ../fish/guestfish-actions.pod:73
3880 msgid "C<readonly>"
3881 msgstr ""
3882
3883 # type: textblock
3884 #: ../src/guestfs-actions.pod:90 ../fish/guestfish-actions.pod:75
3885 msgid ""
3886 "If true then the image is treated as read-only.  Writes are still allowed, "
3887 "but they are stored in a temporary snapshot overlay which is discarded at "
3888 "the end.  The disk that you add is not modified."
3889 msgstr ""
3890
3891 # type: =item
3892 #: ../src/guestfs-actions.pod:94 ../fish/guestfish-actions.pod:79
3893 msgid "C<format>"
3894 msgstr ""
3895
3896 # type: textblock
3897 #: ../src/guestfs-actions.pod:96
3898 msgid ""
3899 "This forces the image format.  If you omit this (or use C<guestfs_add_drive> "
3900 "or C<guestfs_add_drive_ro>) then the format is automatically detected.  "
3901 "Possible formats include C<raw> and C<qcow2>."
3902 msgstr ""
3903
3904 # type: textblock
3905 #: ../src/guestfs-actions.pod:100 ../fish/guestfish-actions.pod:85
3906 msgid ""
3907 "Automatic detection of the format opens you up to a potential security hole "
3908 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
3909 "RHBZ#642934.  Specifying the format closes this security hole."
3910 msgstr ""
3911
3912 # type: =item
3913 #: ../src/guestfs-actions.pod:105 ../fish/guestfish-actions.pod:90
3914 msgid "C<iface>"
3915 msgstr ""
3916
3917 # type: textblock
3918 #: ../src/guestfs-actions.pod:107
3919 msgid ""
3920 "This rarely-used option lets you emulate the behaviour of the deprecated "
3921 "C<guestfs_add_drive_with_if> call (q.v.)"
3922 msgstr ""
3923
3924 # type: =head2
3925 #: ../src/guestfs-actions.pod:114
3926 msgid "guestfs_add_drive_opts_va"
3927 msgstr ""
3928
3929 # type: verbatim
3930 #: ../src/guestfs-actions.pod:116
3931 #, no-wrap
3932 msgid ""
3933 " int guestfs_add_drive_opts_va (guestfs_h *g,\n"
3934 "\t\tconst char *filename,\n"
3935 "\t\tva_list args);\n"
3936 "\n"
3937 msgstr ""
3938
3939 # type: textblock
3940 #: ../src/guestfs-actions.pod:120
3941 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
3942 msgstr ""
3943
3944 # type: textblock
3945 #: ../src/guestfs-actions.pod:122 ../src/guestfs-actions.pod:132
3946 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
3947 msgstr ""
3948
3949 # type: =head2
3950 #: ../src/guestfs-actions.pod:124
3951 msgid "guestfs_add_drive_opts_argv"
3952 msgstr ""
3953
3954 # type: verbatim
3955 #: ../src/guestfs-actions.pod:126
3956 #, no-wrap
3957 msgid ""
3958 " int guestfs_add_drive_opts_argv (guestfs_h *g,\n"
3959 "\t\tconst char *filename,\n"
3960 "\t\tconst struct guestfs_add_drive_opts_argv *optargs);\n"
3961 "\n"
3962 msgstr ""
3963
3964 # type: textblock
3965 #: ../src/guestfs-actions.pod:130
3966 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
3967 msgstr ""
3968
3969 # type: =head2
3970 #: ../src/guestfs-actions.pod:134
3971 msgid "guestfs_add_drive_ro"
3972 msgstr ""
3973
3974 # type: verbatim
3975 #: ../src/guestfs-actions.pod:136
3976 #, no-wrap
3977 msgid ""
3978 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3979 "\t\tconst char *filename);\n"
3980 "\n"
3981 msgstr ""
3982
3983 # type: textblock
3984 #: ../src/guestfs-actions.pod:139
3985 msgid ""
3986 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
3987 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
3988 "disk is added read-only, with the format being detected automatically."
3989 msgstr ""
3990
3991 # type: =head2
3992 #: ../src/guestfs-actions.pod:146
3993 msgid "guestfs_add_drive_ro_with_if"
3994 msgstr ""
3995
3996 # type: verbatim
3997 #: ../src/guestfs-actions.pod:148
3998 #, no-wrap
3999 msgid ""
4000 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
4001 "\t\tconst char *filename,\n"
4002 "\t\tconst char *iface);\n"
4003 "\n"
4004 msgstr ""
4005
4006 # type: textblock
4007 #: ../src/guestfs-actions.pod:152
4008 msgid ""
4009 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
4010 "QEMU interface emulation to use at run time."
4011 msgstr ""
4012
4013 # type: =head2
4014 #: ../src/guestfs-actions.pod:164
4015 msgid "guestfs_add_drive_with_if"
4016 msgstr ""
4017
4018 # type: verbatim
4019 #: ../src/guestfs-actions.pod:166
4020 #, no-wrap
4021 msgid ""
4022 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
4023 "\t\tconst char *filename,\n"
4024 "\t\tconst char *iface);\n"
4025 "\n"
4026 msgstr ""
4027
4028 # type: textblock
4029 #: ../src/guestfs-actions.pod:170
4030 msgid ""
4031 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
4032 "QEMU interface emulation to use at run time."
4033 msgstr ""
4034
4035 # type: =head2
4036 #: ../src/guestfs-actions.pod:182
4037 msgid "guestfs_aug_clear"
4038 msgstr ""
4039
4040 # type: verbatim
4041 #: ../src/guestfs-actions.pod:184
4042 #, no-wrap
4043 msgid ""
4044 " int guestfs_aug_clear (guestfs_h *g,\n"
4045 "\t\tconst char *augpath);\n"
4046 "\n"
4047 msgstr ""
4048
4049 # type: textblock
4050 #: ../src/guestfs-actions.pod:187 ../fish/guestfish-actions.pod:142
4051 msgid ""
4052 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
4053 "L<augtool(1)> C<clear> command."
4054 msgstr ""
4055
4056 # type: =head2
4057 #: ../src/guestfs-actions.pod:192
4058 msgid "guestfs_aug_close"
4059 msgstr ""
4060
4061 # type: verbatim
4062 #: ../src/guestfs-actions.pod:194
4063 #, no-wrap
4064 msgid ""
4065 " int guestfs_aug_close (guestfs_h *g);\n"
4066 "\n"
4067 msgstr ""
4068
4069 # type: textblock
4070 #: ../src/guestfs-actions.pod:196
4071 msgid ""
4072 "Close the current Augeas handle and free up any resources used by it.  After "
4073 "calling this, you have to call C<guestfs_aug_init> again before you can use "
4074 "any other Augeas functions."
4075 msgstr ""
4076
4077 # type: =head2
4078 #: ../src/guestfs-actions.pod:203
4079 msgid "guestfs_aug_defnode"
4080 msgstr ""
4081
4082 # type: verbatim
4083 #: ../src/guestfs-actions.pod:205
4084 #, no-wrap
4085 msgid ""
4086 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
4087 "\t\tconst char *name,\n"
4088 "\t\tconst char *expr,\n"
4089 "\t\tconst char *val);\n"
4090 "\n"
4091 msgstr ""
4092
4093 # type: textblock
4094 #: ../src/guestfs-actions.pod:210 ../fish/guestfish-actions.pod:158
4095 msgid "Defines a variable C<name> whose value is the result of evaluating C<expr>."
4096 msgstr ""
4097
4098 # type: textblock
4099 #: ../src/guestfs-actions.pod:213
4100 msgid ""
4101 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
4102 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
4103 "containing that single node."
4104 msgstr ""
4105
4106 # type: textblock
4107 #: ../src/guestfs-actions.pod:217 ../fish/guestfish-actions.pod:165
4108 msgid ""
4109 "On success this returns a pair containing the number of nodes in the "
4110 "nodeset, and a boolean flag if a node was created."
4111 msgstr ""
4112
4113 # type: textblock
4114 #: ../src/guestfs-actions.pod:221
4115 msgid ""
4116 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
4117 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
4118 msgstr ""
4119
4120 # type: =head2
4121 #: ../src/guestfs-actions.pod:225
4122 msgid "guestfs_aug_defvar"
4123 msgstr ""
4124
4125 # type: verbatim
4126 #: ../src/guestfs-actions.pod:227
4127 #, no-wrap
4128 msgid ""
4129 " int guestfs_aug_defvar (guestfs_h *g,\n"
4130 "\t\tconst char *name,\n"
4131 "\t\tconst char *expr);\n"
4132 "\n"
4133 msgstr ""
4134
4135 # type: textblock
4136 #: ../src/guestfs-actions.pod:231 ../fish/guestfish-actions.pod:173
4137 msgid ""
4138 "Defines an Augeas variable C<name> whose value is the result of evaluating "
4139 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
4140 msgstr ""
4141
4142 # type: textblock
4143 #: ../src/guestfs-actions.pod:235 ../fish/guestfish-actions.pod:177
4144 msgid ""
4145 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
4146 "evaluates to something which is not a nodeset."
4147 msgstr ""
4148
4149 # type: textblock
4150 #: ../src/guestfs-actions.pod:238 ../src/guestfs-actions.pod:379 ../src/guestfs-actions.pod:533 ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:573 ../src/guestfs-actions.pod:589 ../src/guestfs-actions.pod:1107 ../src/guestfs-actions.pod:1422 ../src/guestfs-actions.pod:1604 ../src/guestfs-actions.pod:1685 ../src/guestfs-actions.pod:1716 ../src/guestfs-actions.pod:1759 ../src/guestfs-actions.pod:1776 ../src/guestfs-actions.pod:2001 ../src/guestfs-actions.pod:2213 ../src/guestfs-actions.pod:2231 ../src/guestfs-actions.pod:3601 ../src/guestfs-actions.pod:3708 ../src/guestfs-actions.pod:4062 ../src/guestfs-actions.pod:4085 ../src/guestfs-actions.pod:5184 ../src/guestfs-actions.pod:5534 ../src/guestfs-actions.pod:5544 ../src/guestfs-actions.pod:5554
4151 msgid "On error this function returns -1."
4152 msgstr ""
4153
4154 # type: =head2
4155 #: ../src/guestfs-actions.pod:240
4156 msgid "guestfs_aug_get"
4157 msgstr ""
4158
4159 # type: verbatim
4160 #: ../src/guestfs-actions.pod:242
4161 #, no-wrap
4162 msgid ""
4163 " char *guestfs_aug_get (guestfs_h *g,\n"
4164 "\t\tconst char *augpath);\n"
4165 "\n"
4166 msgstr ""
4167
4168 # type: textblock
4169 #: ../src/guestfs-actions.pod:245 ../fish/guestfish-actions.pod:184
4170 msgid ""
4171 "Look up the value associated with C<path>.  If C<path> matches exactly one "
4172 "node, the C<value> is returned."
4173 msgstr ""
4174
4175 # type: textblock
4176 #: ../src/guestfs-actions.pod:248 ../src/guestfs-actions.pod:676 ../src/guestfs-actions.pod:691 ../src/guestfs-actions.pod:748 ../src/guestfs-actions.pod:761 ../src/guestfs-actions.pod:852 ../src/guestfs-actions.pod:965 ../src/guestfs-actions.pod:994 ../src/guestfs-actions.pod:1008 ../src/guestfs-actions.pod:1024 ../src/guestfs-actions.pod:1135 ../src/guestfs-actions.pod:1299 ../src/guestfs-actions.pod:1408 ../src/guestfs-actions.pod:1553 ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1643 ../src/guestfs-actions.pod:1661 ../src/guestfs-actions.pod:1795 ../src/guestfs-actions.pod:1934 ../src/guestfs-actions.pod:2115 ../src/guestfs-actions.pod:2165 ../src/guestfs-actions.pod:2281 ../src/guestfs-actions.pod:2316 ../src/guestfs-actions.pod:2631 ../src/guestfs-actions.pod:2928 ../src/guestfs-actions.pod:3069 ../src/guestfs-actions.pod:3165 ../src/guestfs-actions.pod:3723 ../src/guestfs-actions.pod:3899 ../src/guestfs-actions.pod:4040 ../src/guestfs-actions.pod:4201 ../src/guestfs-actions.pod:4244 ../src/guestfs-actions.pod:4720 ../src/guestfs-actions.pod:4733 ../src/guestfs-actions.pod:4747 ../src/guestfs-actions.pod:4768 ../src/guestfs-actions.pod:5327 ../src/guestfs-actions.pod:5343 ../src/guestfs-actions.pod:5358 ../src/guestfs-actions.pod:5506 ../src/guestfs-actions.pod:5736
4177 msgid ""
4178 "This function returns a string, or NULL on error.  I<The caller must free "
4179 "the returned string after use>."
4180 msgstr ""
4181
4182 # type: =head2
4183 #: ../src/guestfs-actions.pod:251
4184 msgid "guestfs_aug_init"
4185 msgstr ""
4186
4187 # type: verbatim
4188 #: ../src/guestfs-actions.pod:253
4189 #, no-wrap
4190 msgid ""
4191 " int guestfs_aug_init (guestfs_h *g,\n"
4192 "\t\tconst char *root,\n"
4193 "\t\tint flags);\n"
4194 "\n"
4195 msgstr ""
4196
4197 # type: textblock
4198 #: ../src/guestfs-actions.pod:257 ../fish/guestfish-actions.pod:191
4199 msgid ""
4200 "Create a new Augeas handle for editing configuration files.  If there was "
4201 "any previous Augeas handle associated with this guestfs session, then it is "
4202 "closed."
4203 msgstr ""
4204
4205 # type: textblock
4206 #: ../src/guestfs-actions.pod:261
4207 msgid "You must call this before using any other C<guestfs_aug_*> commands."
4208 msgstr ""
4209
4210 # type: textblock
4211 #: ../src/guestfs-actions.pod:264 ../fish/guestfish-actions.pod:198
4212 msgid "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
4213 msgstr ""
4214
4215 # type: textblock
4216 #: ../src/guestfs-actions.pod:267 ../fish/guestfish-actions.pod:201
4217 msgid ""
4218 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
4219 "logical I<or> of the following integers:"
4220 msgstr ""
4221
4222 # type: =item
4223 #: ../src/guestfs-actions.pod:273 ../fish/guestfish-actions.pod:207
4224 msgid "C<AUG_SAVE_BACKUP> = 1"
4225 msgstr ""
4226
4227 # type: textblock
4228 #: ../src/guestfs-actions.pod:275 ../fish/guestfish-actions.pod:209
4229 msgid "Keep the original file with a C<.augsave> extension."
4230 msgstr ""
4231
4232 # type: =item
4233 #: ../src/guestfs-actions.pod:277 ../fish/guestfish-actions.pod:211
4234 msgid "C<AUG_SAVE_NEWFILE> = 2"
4235 msgstr ""
4236
4237 # type: textblock
4238 #: ../src/guestfs-actions.pod:279 ../fish/guestfish-actions.pod:213
4239 msgid ""
4240 "Save changes into a file with extension C<.augnew>, and do not overwrite "
4241 "original.  Overrides C<AUG_SAVE_BACKUP>."
4242 msgstr ""
4243
4244 # type: =item
4245 #: ../src/guestfs-actions.pod:282 ../fish/guestfish-actions.pod:216
4246 msgid "C<AUG_TYPE_CHECK> = 4"
4247 msgstr ""
4248
4249 # type: textblock
4250 #: ../src/guestfs-actions.pod:284 ../fish/guestfish-actions.pod:218
4251 msgid "Typecheck lenses (can be expensive)."
4252 msgstr ""
4253
4254 # type: =item
4255 #: ../src/guestfs-actions.pod:286 ../fish/guestfish-actions.pod:220
4256 msgid "C<AUG_NO_STDINC> = 8"
4257 msgstr ""
4258
4259 # type: textblock
4260 #: ../src/guestfs-actions.pod:288 ../fish/guestfish-actions.pod:222
4261 msgid "Do not use standard load path for modules."
4262 msgstr ""
4263
4264 # type: =item
4265 #: ../src/guestfs-actions.pod:290 ../fish/guestfish-actions.pod:224
4266 msgid "C<AUG_SAVE_NOOP> = 16"
4267 msgstr ""
4268
4269 # type: textblock
4270 #: ../src/guestfs-actions.pod:292 ../fish/guestfish-actions.pod:226
4271 msgid "Make save a no-op, just record what would have been changed."
4272 msgstr ""
4273
4274 # type: =item
4275 #: ../src/guestfs-actions.pod:294 ../fish/guestfish-actions.pod:228
4276 msgid "C<AUG_NO_LOAD> = 32"
4277 msgstr ""
4278
4279 # type: textblock
4280 #: ../src/guestfs-actions.pod:296
4281 msgid "Do not load the tree in C<guestfs_aug_init>."
4282 msgstr ""
4283
4284 # type: textblock
4285 #: ../src/guestfs-actions.pod:300
4286 msgid "To close the handle, you can call C<guestfs_aug_close>."
4287 msgstr ""
4288
4289 # type: textblock
4290 #: ../src/guestfs-actions.pod:302 ../fish/guestfish-actions.pod:236
4291 msgid "To find out more about Augeas, see L<http://augeas.net/>."
4292 msgstr ""
4293
4294 # type: =head2
4295 #: ../src/guestfs-actions.pod:306
4296 msgid "guestfs_aug_insert"
4297 msgstr ""
4298
4299 # type: verbatim
4300 #: ../src/guestfs-actions.pod:308
4301 #, no-wrap
4302 msgid ""
4303 " int guestfs_aug_insert (guestfs_h *g,\n"
4304 "\t\tconst char *augpath,\n"
4305 "\t\tconst char *label,\n"
4306 "\t\tint before);\n"
4307 "\n"
4308 msgstr ""
4309
4310 # type: textblock
4311 #: ../src/guestfs-actions.pod:313 ../fish/guestfish-actions.pod:242
4312 msgid ""
4313 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
4314 "or after C<path> (depending on the boolean flag C<before>)."
4315 msgstr ""
4316
4317 # type: textblock
4318 #: ../src/guestfs-actions.pod:317 ../fish/guestfish-actions.pod:246
4319 msgid ""
4320 "C<path> must match exactly one existing node in the tree, and C<label> must "
4321 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
4322 msgstr ""
4323
4324 # type: =head2
4325 #: ../src/guestfs-actions.pod:323
4326 msgid "guestfs_aug_load"
4327 msgstr ""
4328
4329 # type: verbatim
4330 #: ../src/guestfs-actions.pod:325
4331 #, no-wrap
4332 msgid ""
4333 " int guestfs_aug_load (guestfs_h *g);\n"
4334 "\n"
4335 msgstr ""
4336
4337 # type: textblock
4338 #: ../src/guestfs-actions.pod:327 ../fish/guestfish-actions.pod:254
4339 msgid "Load files into the tree."
4340 msgstr ""
4341
4342 # type: textblock
4343 #: ../src/guestfs-actions.pod:329 ../fish/guestfish-actions.pod:256
4344 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
4345 msgstr ""
4346
4347 # type: =head2
4348 #: ../src/guestfs-actions.pod:334
4349 msgid "guestfs_aug_ls"
4350 msgstr ""
4351
4352 # type: verbatim
4353 #: ../src/guestfs-actions.pod:336
4354 #, no-wrap
4355 msgid ""
4356 " char **guestfs_aug_ls (guestfs_h *g,\n"
4357 "\t\tconst char *augpath);\n"
4358 "\n"
4359 msgstr ""
4360
4361 # type: textblock
4362 #: ../src/guestfs-actions.pod:339
4363 msgid ""
4364 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
4365 "sorting the resulting nodes into alphabetical order."
4366 msgstr ""
4367
4368 # type: textblock
4369 #: ../src/guestfs-actions.pod:342 ../src/guestfs-actions.pod:355 ../src/guestfs-actions.pod:483 ../src/guestfs-actions.pod:868 ../src/guestfs-actions.pod:1147 ../src/guestfs-actions.pod:1163 ../src/guestfs-actions.pod:1251 ../src/guestfs-actions.pod:1267 ../src/guestfs-actions.pod:1498 ../src/guestfs-actions.pod:1832 ../src/guestfs-actions.pod:1845 ../src/guestfs-actions.pod:1861 ../src/guestfs-actions.pod:1898 ../src/guestfs-actions.pod:1919 ../src/guestfs-actions.pod:1981 ../src/guestfs-actions.pod:2021 ../src/guestfs-actions.pod:2187 ../src/guestfs-actions.pod:2355 ../src/guestfs-actions.pod:2560 ../src/guestfs-actions.pod:2616 ../src/guestfs-actions.pod:2700 ../src/guestfs-actions.pod:3046 ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:4017 ../src/guestfs-actions.pod:4126 ../src/guestfs-actions.pod:4232 ../src/guestfs-actions.pod:4781 ../src/guestfs-actions.pod:4830 ../src/guestfs-actions.pod:4882 ../src/guestfs-actions.pod:4998 ../src/guestfs-actions.pod:5019 ../src/guestfs-actions.pod:5419 ../src/guestfs-actions.pod:5436 ../src/guestfs-actions.pod:5474 ../src/guestfs-actions.pod:5610 ../src/guestfs-actions.pod:5626 ../src/guestfs-actions.pod:5699 ../src/guestfs-actions.pod:5715 ../src/guestfs-actions.pod:5755 ../src/guestfs-actions.pod:5771
4370 msgid ""
4371 "This function returns a NULL-terminated array of strings (like "
4372 "L<environ(3)>), or NULL if there was an error.  I<The caller must free the "
4373 "strings and the array after use>."
4374 msgstr ""
4375
4376 # type: =head2
4377 #: ../src/guestfs-actions.pod:346
4378 msgid "guestfs_aug_match"
4379 msgstr ""
4380
4381 # type: verbatim
4382 #: ../src/guestfs-actions.pod:348
4383 #, no-wrap
4384 msgid ""
4385 " char **guestfs_aug_match (guestfs_h *g,\n"
4386 "\t\tconst char *augpath);\n"
4387 "\n"
4388 msgstr ""
4389
4390 # type: textblock
4391 #: ../src/guestfs-actions.pod:351 ../fish/guestfish-actions.pod:270
4392 msgid ""
4393 "Returns a list of paths which match the path expression C<path>.  The "
4394 "returned paths are sufficiently qualified so that they match exactly one "
4395 "node in the current tree."
4396 msgstr ""
4397
4398 # type: =head2
4399 #: ../src/guestfs-actions.pod:359
4400 msgid "guestfs_aug_mv"
4401 msgstr ""
4402
4403 # type: verbatim
4404 #: ../src/guestfs-actions.pod:361
4405 #, no-wrap
4406 msgid ""
4407 " int guestfs_aug_mv (guestfs_h *g,\n"
4408 "\t\tconst char *src,\n"
4409 "\t\tconst char *dest);\n"
4410 "\n"
4411 msgstr ""
4412
4413 # type: textblock
4414 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:278
4415 msgid ""
4416 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
4417 "C<dest> is overwritten if it exists."
4418 msgstr ""
4419
4420 # type: =head2
4421 #: ../src/guestfs-actions.pod:370
4422 msgid "guestfs_aug_rm"
4423 msgstr ""
4424
4425 # type: verbatim
4426 #: ../src/guestfs-actions.pod:372
4427 #, no-wrap
4428 msgid ""
4429 " int guestfs_aug_rm (guestfs_h *g,\n"
4430 "\t\tconst char *augpath);\n"
4431 "\n"
4432 msgstr ""
4433
4434 # type: textblock
4435 #: ../src/guestfs-actions.pod:375 ../fish/guestfish-actions.pod:285
4436 msgid "Remove C<path> and all of its children."
4437 msgstr ""
4438
4439 # type: textblock
4440 #: ../src/guestfs-actions.pod:377 ../fish/guestfish-actions.pod:287
4441 msgid "On success this returns the number of entries which were removed."
4442 msgstr ""
4443
4444 # type: =head2
4445 #: ../src/guestfs-actions.pod:381
4446 msgid "guestfs_aug_save"
4447 msgstr ""
4448
4449 # type: verbatim
4450 #: ../src/guestfs-actions.pod:383
4451 #, no-wrap
4452 msgid ""
4453 " int guestfs_aug_save (guestfs_h *g);\n"
4454 "\n"
4455 msgstr ""
4456
4457 # type: textblock
4458 #: ../src/guestfs-actions.pod:385 ../fish/guestfish-actions.pod:293
4459 msgid "This writes all pending changes to disk."
4460 msgstr ""
4461
4462 # type: textblock
4463 #: ../src/guestfs-actions.pod:387
4464 msgid ""
4465 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4466 "are saved."
4467 msgstr ""
4468
4469 # type: =head2
4470 #: ../src/guestfs-actions.pod:392
4471 msgid "guestfs_aug_set"
4472 msgstr ""
4473
4474 # type: verbatim
4475 #: ../src/guestfs-actions.pod:394
4476 #, no-wrap
4477 msgid ""
4478 " int guestfs_aug_set (guestfs_h *g,\n"
4479 "\t\tconst char *augpath,\n"
4480 "\t\tconst char *val);\n"
4481 "\n"
4482 msgstr ""
4483
4484 # type: textblock
4485 #: ../src/guestfs-actions.pod:398 ../fish/guestfish-actions.pod:302
4486 msgid "Set the value associated with C<path> to C<val>."
4487 msgstr ""
4488
4489 # type: textblock
4490 #: ../src/guestfs-actions.pod:400
4491 msgid ""
4492 "In the Augeas API, it is possible to clear a node by setting the value to "
4493 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4494 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4495 msgstr ""
4496
4497 # type: =head2
4498 #: ../src/guestfs-actions.pod:407
4499 msgid "guestfs_available"
4500 msgstr ""
4501
4502 # type: verbatim
4503 #: ../src/guestfs-actions.pod:409
4504 #, no-wrap
4505 msgid ""
4506 " int guestfs_available (guestfs_h *g,\n"
4507 "\t\tchar *const *groups);\n"
4508 "\n"
4509 msgstr ""
4510
4511 # type: textblock
4512 #: ../src/guestfs-actions.pod:412 ../fish/guestfish-actions.pod:313
4513 msgid ""
4514 "This command is used to check the availability of some groups of "
4515 "functionality in the appliance, which not all builds of the libguestfs "
4516 "appliance will be able to provide."
4517 msgstr ""
4518
4519 # type: textblock
4520 #: ../src/guestfs-actions.pod:416
4521 msgid ""
4522 "The libguestfs groups, and the functions that those groups correspond to, "
4523 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4524 "runtime by calling C<guestfs_available_all_groups>."
4525 msgstr ""
4526
4527 # type: textblock
4528 #: ../src/guestfs-actions.pod:421 ../fish/guestfish-actions.pod:322
4529 msgid ""
4530 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", "
4531 "\"augeas\"]> would check for the availability of the Linux inotify functions "
4532 "and Augeas (configuration file editing) functions."
4533 msgstr ""
4534
4535 # type: textblock
4536 #: ../src/guestfs-actions.pod:426 ../fish/guestfish-actions.pod:327
4537 msgid "The command returns no error if I<all> requested groups are available."
4538 msgstr ""
4539
4540 # type: textblock
4541 #: ../src/guestfs-actions.pod:428 ../fish/guestfish-actions.pod:329
4542 msgid ""
4543 "It fails with an error if one or more of the requested groups is unavailable "
4544 "in the appliance."
4545 msgstr ""
4546
4547 # type: textblock
4548 #: ../src/guestfs-actions.pod:431 ../fish/guestfish-actions.pod:332
4549 msgid ""
4550 "If an unknown group name is included in the list of groups then an error is "
4551 "always returned."
4552 msgstr ""
4553
4554 # type: textblock
4555 #: ../src/guestfs-actions.pod:434 ../fish/guestfish-actions.pod:335
4556 msgid "I<Notes:>"
4557 msgstr ""
4558
4559 # type: textblock
4560 #: ../src/guestfs-actions.pod:440
4561 msgid "You must call C<guestfs_launch> before calling this function."
4562 msgstr ""
4563
4564 # type: textblock
4565 #: ../src/guestfs-actions.pod:442 ../fish/guestfish-actions.pod:343
4566 msgid ""
4567 "The reason is because we don't know what groups are supported by the "
4568 "appliance/daemon until it is running and can be queried."
4569 msgstr ""
4570
4571 # type: textblock
4572 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:349
4573 msgid ""
4574 "If a group of functions is available, this does not necessarily mean that "
4575 "they will work.  You still have to check for errors when calling individual "
4576 "API functions even if they are available."
4577 msgstr ""
4578
4579 # type: textblock
4580 #: ../src/guestfs-actions.pod:455 ../fish/guestfish-actions.pod:356
4581 msgid ""
4582 "It is usually the job of distro packagers to build complete functionality "
4583 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4584 "with all requirements satisfied, will support everything."
4585 msgstr ""
4586
4587 # type: textblock
4588 #: ../src/guestfs-actions.pod:462
4589 msgid ""
4590 "This call was added in version C<1.0.80>.  In previous versions of "
4591 "libguestfs all you could do would be to speculatively execute a command to "
4592 "find out if the daemon implemented it.  See also C<guestfs_version>."
4593 msgstr ""
4594
4595 # type: =head2
4596 #: ../src/guestfs-actions.pod:471
4597 msgid "guestfs_available_all_groups"
4598 msgstr ""
4599
4600 # type: verbatim
4601 #: ../src/guestfs-actions.pod:473
4602 #, no-wrap
4603 msgid ""
4604 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4605 "\n"
4606 msgstr ""
4607
4608 # type: textblock
4609 #: ../src/guestfs-actions.pod:475
4610 msgid ""
4611 "This command returns a list of all optional groups that this daemon knows "
4612 "about.  Note this returns both supported and unsupported groups.  To find "
4613 "out which ones the daemon can actually support you have to call "
4614 "C<guestfs_available> on each member of the returned list."
4615 msgstr ""
4616
4617 # type: textblock
4618 #: ../src/guestfs-actions.pod:481
4619 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4620 msgstr ""
4621
4622 # type: =head2
4623 #: ../src/guestfs-actions.pod:487
4624 msgid "guestfs_base64_in"
4625 msgstr ""
4626
4627 # type: verbatim
4628 #: ../src/guestfs-actions.pod:489
4629 #, no-wrap
4630 msgid ""
4631 " int guestfs_base64_in (guestfs_h *g,\n"
4632 "\t\tconst char *base64file,\n"
4633 "\t\tconst char *filename);\n"
4634 "\n"
4635 msgstr ""
4636
4637 # type: textblock
4638 #: ../src/guestfs-actions.pod:493 ../fish/guestfish-actions.pod:386
4639 msgid "This command uploads base64-encoded data from C<base64file> to C<filename>."
4640 msgstr ""
4641
4642 # type: =head2
4643 #: ../src/guestfs-actions.pod:498
4644 msgid "guestfs_base64_out"
4645 msgstr ""
4646
4647 # type: verbatim
4648 #: ../src/guestfs-actions.pod:500
4649 #, no-wrap
4650 msgid ""
4651 " int guestfs_base64_out (guestfs_h *g,\n"
4652 "\t\tconst char *filename,\n"
4653 "\t\tconst char *base64file);\n"
4654 "\n"
4655 msgstr ""
4656
4657 # type: textblock
4658 #: ../src/guestfs-actions.pod:504 ../fish/guestfish-actions.pod:395
4659 msgid ""
4660 "This command downloads the contents of C<filename>, writing it out to local "
4661 "file C<base64file> encoded as base64."
4662 msgstr ""
4663
4664 # type: =head2
4665 #: ../src/guestfs-actions.pod:509
4666 msgid "guestfs_blockdev_flushbufs"
4667 msgstr ""
4668
4669 # type: verbatim
4670 #: ../src/guestfs-actions.pod:511
4671 #, no-wrap
4672 msgid ""
4673 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4674 "\t\tconst char *device);\n"
4675 "\n"
4676 msgstr ""
4677
4678 # type: textblock
4679 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:404
4680 msgid "This tells the kernel to flush internal buffers associated with C<device>."
4681 msgstr ""
4682
4683 # type: textblock
4684 #: ../src/guestfs-actions.pod:517 ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:543 ../src/guestfs-actions.pod:556 ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:587 ../src/guestfs-actions.pod:598 ../src/guestfs-actions.pod:613 ../src/guestfs-actions.pod:624 ../src/guestfs-actions.pod:635 ../fish/guestfish-actions.pod:407 ../fish/guestfish-actions.pod:418 ../fish/guestfish-actions.pod:427 ../fish/guestfish-actions.pod:437 ../fish/guestfish-actions.pod:449 ../fish/guestfish-actions.pod:462 ../fish/guestfish-actions.pod:470 ../fish/guestfish-actions.pod:481 ../fish/guestfish-actions.pod:489 ../fish/guestfish-actions.pod:497
4685 msgid "This uses the L<blockdev(8)> command."
4686 msgstr ""
4687
4688 # type: =head2
4689 #: ../src/guestfs-actions.pod:521
4690 msgid "guestfs_blockdev_getbsz"
4691 msgstr ""
4692
4693 # type: verbatim
4694 #: ../src/guestfs-actions.pod:523
4695 #, no-wrap
4696 msgid ""
4697 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4698 "\t\tconst char *device);\n"
4699 "\n"
4700 msgstr ""
4701
4702 # type: textblock
4703 #: ../src/guestfs-actions.pod:526 ../fish/guestfish-actions.pod:413
4704 msgid "This returns the block size of a device."
4705 msgstr ""
4706
4707 # type: textblock
4708 #: ../src/guestfs-actions.pod:528 ../src/guestfs-actions.pod:610 ../fish/guestfish-actions.pod:415 ../fish/guestfish-actions.pod:478
4709 msgid ""
4710 "(Note this is different from both I<size in blocks> and I<filesystem block "
4711 "size>)."
4712 msgstr ""
4713
4714 # type: =head2
4715 #: ../src/guestfs-actions.pod:535
4716 msgid "guestfs_blockdev_getro"
4717 msgstr ""
4718
4719 # type: verbatim
4720 #: ../src/guestfs-actions.pod:537
4721 #, no-wrap
4722 msgid ""
4723 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4724 "\t\tconst char *device);\n"
4725 "\n"
4726 msgstr ""
4727
4728 # type: textblock
4729 #: ../src/guestfs-actions.pod:540 ../fish/guestfish-actions.pod:424
4730 msgid ""
4731 "Returns a boolean indicating if the block device is read-only (true if "
4732 "read-only, false if not)."
4733 msgstr ""
4734
4735 # type: textblock
4736 #: ../src/guestfs-actions.pod:545 ../src/guestfs-actions.pod:1181 ../src/guestfs-actions.pod:1193 ../src/guestfs-actions.pod:1625 ../src/guestfs-actions.pod:1633 ../src/guestfs-actions.pod:1693 ../src/guestfs-actions.pod:1736 ../src/guestfs-actions.pod:1748 ../src/guestfs-actions.pod:1767 ../src/guestfs-actions.pod:1784 ../src/guestfs-actions.pod:2369 ../src/guestfs-actions.pod:2380 ../src/guestfs-actions.pod:2392 ../src/guestfs-actions.pod:2403 ../src/guestfs-actions.pod:2416 ../src/guestfs-actions.pod:2428 ../src/guestfs-actions.pod:2441 ../src/guestfs-actions.pod:2452 ../src/guestfs-actions.pod:2462 ../src/guestfs-actions.pod:2473 ../src/guestfs-actions.pod:2485 ../src/guestfs-actions.pod:2497 ../src/guestfs-actions.pod:3693
4737 msgid "This function returns a C truth value on success or -1 on error."
4738 msgstr ""
4739
4740 # type: =head2
4741 #: ../src/guestfs-actions.pod:547
4742 msgid "guestfs_blockdev_getsize64"
4743 msgstr ""
4744
4745 # type: verbatim
4746 #: ../src/guestfs-actions.pod:549
4747 #, no-wrap
4748 msgid ""
4749 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4750 "\t\tconst char *device);\n"
4751 "\n"
4752 msgstr ""
4753
4754 # type: textblock
4755 #: ../src/guestfs-actions.pod:552 ../fish/guestfish-actions.pod:433
4756 msgid "This returns the size of the device in bytes."
4757 msgstr ""
4758
4759 # type: textblock
4760 #: ../src/guestfs-actions.pod:554
4761 msgid "See also C<guestfs_blockdev_getsz>."
4762 msgstr ""
4763
4764 # type: =head2
4765 #: ../src/guestfs-actions.pod:560
4766 msgid "guestfs_blockdev_getss"
4767 msgstr ""
4768
4769 # type: verbatim
4770 #: ../src/guestfs-actions.pod:562
4771 #, no-wrap
4772 msgid ""
4773 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4774 "\t\tconst char *device);\n"
4775 "\n"
4776 msgstr ""
4777
4778 # type: textblock
4779 #: ../src/guestfs-actions.pod:565 ../fish/guestfish-actions.pod:443
4780 msgid ""
4781 "This returns the size of sectors on a block device.  Usually 512, but can be "
4782 "larger for modern devices."
4783 msgstr ""
4784
4785 # type: textblock
4786 #: ../src/guestfs-actions.pod:568
4787 msgid ""
4788 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4789 "that)."
4790 msgstr ""
4791
4792 # type: =head2
4793 #: ../src/guestfs-actions.pod:575
4794 msgid "guestfs_blockdev_getsz"
4795 msgstr ""
4796
4797 # type: verbatim
4798 #: ../src/guestfs-actions.pod:577
4799 #, no-wrap
4800 msgid ""
4801 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4802 "\t\tconst char *device);\n"
4803 "\n"
4804 msgstr ""
4805
4806 # type: textblock
4807 #: ../src/guestfs-actions.pod:580 ../fish/guestfish-actions.pod:455
4808 msgid ""
4809 "This returns the size of the device in units of 512-byte sectors (even if "
4810 "the sectorsize isn't 512 bytes ... weird)."
4811 msgstr ""
4812
4813 # type: textblock
4814 #: ../src/guestfs-actions.pod:583
4815 msgid ""
4816 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4817 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4818 msgstr ""
4819
4820 # type: =head2
4821 #: ../src/guestfs-actions.pod:591
4822 msgid "guestfs_blockdev_rereadpt"
4823 msgstr ""
4824
4825 # type: verbatim
4826 #: ../src/guestfs-actions.pod:593
4827 #, no-wrap
4828 msgid ""
4829 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4830 "\t\tconst char *device);\n"
4831 "\n"
4832 msgstr ""
4833
4834 # type: textblock
4835 #: ../src/guestfs-actions.pod:596 ../fish/guestfish-actions.pod:468
4836 msgid "Reread the partition table on C<device>."
4837 msgstr ""
4838
4839 # type: =head2
4840 #: ../src/guestfs-actions.pod:602
4841 msgid "guestfs_blockdev_setbsz"
4842 msgstr ""
4843
4844 # type: verbatim
4845 #: ../src/guestfs-actions.pod:604
4846 #, no-wrap
4847 msgid ""
4848 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4849 "\t\tconst char *device,\n"
4850 "\t\tint blocksize);\n"
4851 "\n"
4852 msgstr ""
4853
4854 # type: textblock
4855 #: ../src/guestfs-actions.pod:608 ../fish/guestfish-actions.pod:476
4856 msgid "This sets the block size of a device."
4857 msgstr ""
4858
4859 # type: =head2
4860 #: ../src/guestfs-actions.pod:617
4861 msgid "guestfs_blockdev_setro"
4862 msgstr ""
4863
4864 # type: verbatim
4865 #: ../src/guestfs-actions.pod:619
4866 #, no-wrap
4867 msgid ""
4868 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4869 "\t\tconst char *device);\n"
4870 "\n"
4871 msgstr ""
4872
4873 # type: textblock
4874 #: ../src/guestfs-actions.pod:622 ../fish/guestfish-actions.pod:487
4875 msgid "Sets the block device named C<device> to read-only."
4876 msgstr ""
4877
4878 # type: =head2
4879 #: ../src/guestfs-actions.pod:628
4880 msgid "guestfs_blockdev_setrw"
4881 msgstr ""
4882
4883 # type: verbatim
4884 #: ../src/guestfs-actions.pod:630
4885 #, no-wrap
4886 msgid ""
4887 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4888 "\t\tconst char *device);\n"
4889 "\n"
4890 msgstr ""
4891
4892 # type: textblock
4893 #: ../src/guestfs-actions.pod:633 ../fish/guestfish-actions.pod:495
4894 msgid "Sets the block device named C<device> to read-write."
4895 msgstr ""
4896
4897 # type: =head2
4898 #: ../src/guestfs-actions.pod:639
4899 msgid "guestfs_case_sensitive_path"
4900 msgstr ""
4901
4902 # type: verbatim
4903 #: ../src/guestfs-actions.pod:641
4904 #, no-wrap
4905 msgid ""
4906 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4907 "\t\tconst char *path);\n"
4908 "\n"
4909 msgstr ""
4910
4911 # type: textblock
4912 #: ../src/guestfs-actions.pod:644 ../fish/guestfish-actions.pod:503
4913 msgid ""
4914 "This can be used to resolve case insensitive paths on a filesystem which is "
4915 "case sensitive.  The use case is to resolve paths which you have read from "
4916 "Windows configuration files or the Windows Registry, to the true path."
4917 msgstr ""
4918
4919 # type: textblock
4920 #: ../src/guestfs-actions.pod:649 ../fish/guestfish-actions.pod:508
4921 msgid ""
4922 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4923 "(and probably others), which is that although the underlying filesystem is "
4924 "case-insensitive, the driver exports the filesystem to Linux as "
4925 "case-sensitive."
4926 msgstr ""
4927
4928 # type: textblock
4929 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:513
4930 msgid ""
4931 "One consequence of this is that special directories such as C<c:\\windows> "
4932 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4933 "precise details of how they were created.  In Windows itself this would not "
4934 "be a problem."
4935 msgstr ""
4936
4937 # type: textblock
4938 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:519
4939 msgid ""
4940 "Bug or feature? You decide: "
4941 "L<http://www.tuxera.com/community/ntfs-3g-faq/#posixfilenames1>"
4942 msgstr ""
4943
4944 # type: textblock
4945 #: ../src/guestfs-actions.pod:663 ../fish/guestfish-actions.pod:522
4946 msgid ""
4947 "This function resolves the true case of each element in the path and returns "
4948 "the case-sensitive path."
4949 msgstr ""
4950
4951 # type: textblock
4952 #: ../src/guestfs-actions.pod:666
4953 msgid ""
4954 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return "
4955 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4956 "how the directories were originally created under Windows)."
4957 msgstr ""
4958
4959 # type: textblock
4960 #: ../src/guestfs-actions.pod:671 ../fish/guestfish-actions.pod:530
4961 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4962 msgstr ""
4963
4964 # type: textblock
4965 #: ../src/guestfs-actions.pod:674
4966 msgid "See also C<guestfs_realpath>."
4967 msgstr ""
4968
4969 # type: =head2
4970 #: ../src/guestfs-actions.pod:679
4971 msgid "guestfs_cat"
4972 msgstr ""
4973
4974 # type: verbatim
4975 #: ../src/guestfs-actions.pod:681
4976 #, no-wrap
4977 msgid ""
4978 " char *guestfs_cat (guestfs_h *g,\n"
4979 "\t\tconst char *path);\n"
4980 "\n"
4981 msgstr ""
4982
4983 # type: textblock
4984 #: ../src/guestfs-actions.pod:684 ../src/guestfs-actions.pod:4116 ../fish/guestfish-actions.pod:539 ../fish/guestfish-actions.pod:3161
4985 msgid "Return the contents of the file named C<path>."
4986 msgstr ""
4987
4988 # type: textblock
4989 #: ../src/guestfs-actions.pod:686
4990 msgid ""
4991 "Note that this function cannot correctly handle binary files (specifically, "
4992 "files containing C<\\0> character which is treated as end of string).  For "
4993 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4994 "functions which have a more complex interface."
4995 msgstr ""
4996
4997 # type: textblock
4998 #: ../src/guestfs-actions.pod:694 ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:872 ../src/guestfs-actions.pod:1151 ../src/guestfs-actions.pod:1167 ../src/guestfs-actions.pod:1255 ../src/guestfs-actions.pod:1271 ../src/guestfs-actions.pod:1502 ../src/guestfs-actions.pod:1849 ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:1902 ../src/guestfs-actions.pod:1923 ../src/guestfs-actions.pod:1937 ../src/guestfs-actions.pod:1963 ../src/guestfs-actions.pod:3933 ../src/guestfs-actions.pod:3956 ../src/guestfs-actions.pod:4064 ../src/guestfs-actions.pod:4087 ../src/guestfs-actions.pod:4108 ../src/guestfs-actions.pod:4834 ../src/guestfs-actions.pod:4886 ../src/guestfs-actions.pod:5002 ../src/guestfs-actions.pod:5023 ../src/guestfs-actions.pod:5568 ../src/guestfs-actions.pod:5591 ../src/guestfs-actions.pod:5614 ../src/guestfs-actions.pod:5630 ../src/guestfs-actions.pod:5703 ../src/guestfs-actions.pod:5719 ../src/guestfs-actions.pod:5759 ../src/guestfs-actions.pod:5775 ../fish/guestfish-actions.pod:546 ../fish/guestfish-actions.pod:681 ../fish/guestfish-actions.pod:693 ../fish/guestfish-actions.pod:894 ../fish/guestfish-actions.pod:904 ../fish/guestfish-actions.pod:971 ../fish/guestfish-actions.pod:981 ../fish/guestfish-actions.pod:1176 ../fish/guestfish-actions.pod:1451 ../fish/guestfish-actions.pod:1461 ../fish/guestfish-actions.pod:1489 ../fish/guestfish-actions.pod:1504 ../fish/guestfish-actions.pod:1514 ../fish/guestfish-actions.pod:1533 ../fish/guestfish-actions.pod:3031 ../fish/guestfish-actions.pod:3046 ../fish/guestfish-actions.pod:3122 ../fish/guestfish-actions.pod:3139 ../fish/guestfish-actions.pod:3154 ../fish/guestfish-actions.pod:3737 ../fish/guestfish-actions.pod:3783 ../fish/guestfish-actions.pod:3868 ../fish/guestfish-actions.pod:3883 ../fish/guestfish-actions.pod:4293 ../fish/guestfish-actions.pod:4311 ../fish/guestfish-actions.pod:4328 ../fish/guestfish-actions.pod:4338 ../fish/guestfish-actions.pod:4386 ../fish/guestfish-actions.pod:4396 ../fish/guestfish-actions.pod:4425 ../fish/guestfish-actions.pod:4435
4999 msgid ""
5000 "Because of the message protocol, there is a transfer limit of somewhere "
5001 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
5002 msgstr ""
5003
5004 # type: =head2
5005 #: ../src/guestfs-actions.pod:697
5006 msgid "guestfs_checksum"
5007 msgstr ""
5008
5009 # type: verbatim
5010 #: ../src/guestfs-actions.pod:699
5011 #, no-wrap
5012 msgid ""
5013 " char *guestfs_checksum (guestfs_h *g,\n"
5014 "\t\tconst char *csumtype,\n"
5015 "\t\tconst char *path);\n"
5016 "\n"
5017 msgstr ""
5018
5019 # type: textblock
5020 #: ../src/guestfs-actions.pod:703 ../fish/guestfish-actions.pod:553
5021 msgid "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
5022 msgstr ""
5023
5024 # type: textblock
5025 #: ../src/guestfs-actions.pod:706 ../fish/guestfish-actions.pod:556
5026 msgid ""
5027 "The type of checksum to compute is given by the C<csumtype> parameter which "
5028 "must have one of the following values:"
5029 msgstr ""
5030
5031 # type: =item
5032 #: ../src/guestfs-actions.pod:711 ../fish/guestfish-actions.pod:561
5033 msgid "C<crc>"
5034 msgstr ""
5035
5036 # type: textblock
5037 #: ../src/guestfs-actions.pod:713 ../fish/guestfish-actions.pod:563
5038 msgid ""
5039 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
5040 "C<cksum> command."
5041 msgstr ""
5042
5043 # type: =item
5044 #: ../src/guestfs-actions.pod:716 ../fish/guestfish-actions.pod:566
5045 msgid "C<md5>"
5046 msgstr ""
5047
5048 # type: textblock
5049 #: ../src/guestfs-actions.pod:718 ../fish/guestfish-actions.pod:568
5050 msgid "Compute the MD5 hash (using the C<md5sum> program)."
5051 msgstr ""
5052
5053 # type: =item
5054 #: ../src/guestfs-actions.pod:720 ../fish/guestfish-actions.pod:570
5055 msgid "C<sha1>"
5056 msgstr ""
5057
5058 # type: textblock
5059 #: ../src/guestfs-actions.pod:722 ../fish/guestfish-actions.pod:572
5060 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
5061 msgstr ""
5062
5063 # type: =item
5064 #: ../src/guestfs-actions.pod:724 ../fish/guestfish-actions.pod:574
5065 msgid "C<sha224>"
5066 msgstr ""
5067
5068 # type: textblock
5069 #: ../src/guestfs-actions.pod:726 ../fish/guestfish-actions.pod:576
5070 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
5071 msgstr ""
5072
5073 # type: =item
5074 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:578
5075 msgid "C<sha256>"
5076 msgstr ""
5077
5078 # type: textblock
5079 #: ../src/guestfs-actions.pod:730 ../fish/guestfish-actions.pod:580
5080 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
5081 msgstr ""
5082
5083 # type: =item
5084 #: ../src/guestfs-actions.pod:732 ../fish/guestfish-actions.pod:582
5085 msgid "C<sha384>"
5086 msgstr ""
5087
5088 # type: textblock
5089 #: ../src/guestfs-actions.pod:734 ../fish/guestfish-actions.pod:584
5090 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
5091 msgstr ""
5092
5093 # type: =item
5094 #: ../src/guestfs-actions.pod:736 ../fish/guestfish-actions.pod:586
5095 msgid "C<sha512>"
5096 msgstr ""
5097
5098 # type: textblock
5099 #: ../src/guestfs-actions.pod:738 ../fish/guestfish-actions.pod:588
5100 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
5101 msgstr ""
5102
5103 # type: textblock
5104 #: ../src/guestfs-actions.pod:742 ../fish/guestfish-actions.pod:592
5105 msgid "The checksum is returned as a printable string."
5106 msgstr ""
5107
5108 # type: textblock
5109 #: ../src/guestfs-actions.pod:744
5110 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
5111 msgstr ""
5112
5113 # type: textblock
5114 #: ../src/guestfs-actions.pod:746
5115 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
5116 msgstr ""
5117
5118 # type: =head2
5119 #: ../src/guestfs-actions.pod:751
5120 msgid "guestfs_checksum_device"
5121 msgstr ""
5122
5123 # type: verbatim
5124 #: ../src/guestfs-actions.pod:753
5125 #, no-wrap
5126 msgid ""
5127 " char *guestfs_checksum_device (guestfs_h *g,\n"
5128 "\t\tconst char *csumtype,\n"
5129 "\t\tconst char *device);\n"
5130 "\n"
5131 msgstr ""
5132
5133 # type: textblock
5134 #: ../src/guestfs-actions.pod:757
5135 msgid ""
5136 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
5137 "device named C<device>.  For the types of checksums supported see the "
5138 "C<guestfs_checksum> command."
5139 msgstr ""
5140
5141 # type: =head2
5142 #: ../src/guestfs-actions.pod:764
5143 msgid "guestfs_checksums_out"
5144 msgstr ""
5145
5146 # type: verbatim
5147 #: ../src/guestfs-actions.pod:766
5148 #, no-wrap
5149 msgid ""
5150 " int guestfs_checksums_out (guestfs_h *g,\n"
5151 "\t\tconst char *csumtype,\n"
5152 "\t\tconst char *directory,\n"
5153 "\t\tconst char *sumsfile);\n"
5154 "\n"
5155 msgstr ""
5156
5157 # type: textblock
5158 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:610
5159 msgid ""
5160 "This command computes the checksums of all regular files in C<directory> and "
5161 "then emits a list of those checksums to the local output file C<sumsfile>."
5162 msgstr ""
5163
5164 # type: textblock
5165 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:614
5166 msgid ""
5167 "This can be used for verifying the integrity of a virtual machine.  However "
5168 "to be properly secure you should pay attention to the output of the checksum "
5169 "command (it uses the ones from GNU coreutils).  In particular when the "
5170 "filename is not printable, coreutils uses a special backslash syntax.  For "
5171 "more information, see the GNU coreutils info file."
5172 msgstr ""
5173
5174 # type: =head2
5175 #: ../src/guestfs-actions.pod:785
5176 msgid "guestfs_chmod"
5177 msgstr ""
5178
5179 # type: verbatim
5180 #: ../src/guestfs-actions.pod:787
5181 #, no-wrap
5182 msgid ""
5183 " int guestfs_chmod (guestfs_h *g,\n"
5184 "\t\tint mode,\n"
5185 "\t\tconst char *path);\n"
5186 "\n"
5187 msgstr ""
5188
5189 # type: textblock
5190 #: ../src/guestfs-actions.pod:791 ../fish/guestfish-actions.pod:628
5191 msgid ""
5192 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
5193 "supported."
5194 msgstr ""
5195
5196 # type: textblock
5197 #: ../src/guestfs-actions.pod:794 ../fish/guestfish-actions.pod:631
5198 msgid ""
5199 "I<Note>: When using this command from guestfish, C<mode> by default would be "
5200 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
5201 "C<700>."
5202 msgstr ""
5203
5204 # type: textblock
5205 #: ../src/guestfs-actions.pod:798 ../src/guestfs-actions.pod:3261 ../src/guestfs-actions.pod:3364 ../src/guestfs-actions.pod:3380 ../src/guestfs-actions.pod:3396 ../fish/guestfish-actions.pod:635 ../fish/guestfish-actions.pod:2521 ../fish/guestfish-actions.pod:2606 ../fish/guestfish-actions.pod:2616 ../fish/guestfish-actions.pod:2626
5206 msgid "The mode actually set is affected by the umask."
5207 msgstr ""
5208
5209 # type: =head2
5210 #: ../src/guestfs-actions.pod:802
5211 msgid "guestfs_chown"
5212 msgstr ""
5213
5214 # type: verbatim
5215 #: ../src/guestfs-actions.pod:804
5216 #, no-wrap
5217 msgid ""
5218 " int guestfs_chown (guestfs_h *g,\n"
5219 "\t\tint owner,\n"
5220 "\t\tint group,\n"
5221 "\t\tconst char *path);\n"
5222 "\n"
5223 msgstr ""
5224
5225 # type: textblock
5226 #: ../src/guestfs-actions.pod:809 ../fish/guestfish-actions.pod:641
5227 msgid "Change the file owner to C<owner> and group to C<group>."
5228 msgstr ""
5229
5230 # type: textblock
5231 #: ../src/guestfs-actions.pod:811 ../src/guestfs-actions.pod:2530 ../fish/guestfish-actions.pod:643 ../fish/guestfish-actions.pod:1999
5232 msgid ""
5233 "Only numeric uid and gid are supported.  If you want to use names, you will "
5234 "need to locate and parse the password file yourself (Augeas support makes "
5235 "this relatively easy)."
5236 msgstr ""
5237
5238 # type: =head2
5239 #: ../src/guestfs-actions.pod:817
5240 msgid "guestfs_command"
5241 msgstr ""
5242
5243 # type: verbatim
5244 #: ../src/guestfs-actions.pod:819
5245 #, no-wrap
5246 msgid ""
5247 " char *guestfs_command (guestfs_h *g,\n"
5248 "\t\tchar *const *arguments);\n"
5249 "\n"
5250 msgstr ""
5251
5252 # type: textblock
5253 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:651
5254 msgid ""
5255 "This call runs a command from the guest filesystem.  The filesystem must be "
5256 "mounted, and must contain a compatible operating system (ie. something "
5257 "Linux, with the same or compatible processor architecture)."
5258 msgstr ""
5259
5260 # type: textblock
5261 #: ../src/guestfs-actions.pod:827
5262 msgid ""
5263 "The single parameter is an argv-style list of arguments.  The first element "
5264 "is the name of the program to run.  Subsequent elements are parameters.  The "
5265 "list must be non-empty (ie. must contain a program name).  Note that the "
5266 "command runs directly, and is I<not> invoked via the shell (see "
5267 "C<guestfs_sh>)."
5268 msgstr ""
5269
5270 # type: textblock
5271 #: ../src/guestfs-actions.pod:834 ../fish/guestfish-actions.pod:663
5272 msgid "The return value is anything printed to I<stdout> by the command."
5273 msgstr ""
5274
5275 # type: textblock
5276 #: ../src/guestfs-actions.pod:837 ../fish/guestfish-actions.pod:666
5277 msgid ""
5278 "If the command returns a non-zero exit status, then this function returns an "
5279 "error message.  The error message string is the content of I<stderr> from "
5280 "the command."
5281 msgstr ""
5282
5283 # type: textblock
5284 #: ../src/guestfs-actions.pod:841 ../fish/guestfish-actions.pod:670
5285 msgid ""
5286 "The C<$PATH> environment variable will contain at least C</usr/bin> and "
5287 "C</bin>.  If you require a program from another location, you should provide "
5288 "the full path in the first parameter."
5289 msgstr ""
5290
5291 # type: textblock
5292 #: ../src/guestfs-actions.pod:846 ../fish/guestfish-actions.pod:675
5293 msgid ""
5294 "Shared libraries and data files required by the program must be available on "
5295 "filesystems which are mounted in the correct places.  It is the caller's "
5296 "responsibility to ensure all filesystems that are needed are mounted at the "
5297 "right locations."
5298 msgstr ""
5299
5300 # type: =head2
5301 #: ../src/guestfs-actions.pod:858
5302 msgid "guestfs_command_lines"
5303 msgstr ""
5304
5305 # type: verbatim
5306 #: ../src/guestfs-actions.pod:860
5307 #, no-wrap
5308 msgid ""
5309 " char **guestfs_command_lines (guestfs_h *g,\n"
5310 "\t\tchar *const *arguments);\n"
5311 "\n"
5312 msgstr ""
5313
5314 # type: textblock
5315 #: ../src/guestfs-actions.pod:863
5316 msgid ""
5317 "This is the same as C<guestfs_command>, but splits the result into a list of "
5318 "lines."
5319 msgstr ""
5320
5321 # type: textblock
5322 #: ../src/guestfs-actions.pod:866
5323 msgid "See also: C<guestfs_sh_lines>"
5324 msgstr ""
5325
5326 # type: =head2
5327 #: ../src/guestfs-actions.pod:875
5328 msgid "guestfs_config"
5329 msgstr ""
5330
5331 # type: verbatim
5332 #: ../src/guestfs-actions.pod:877
5333 #, no-wrap
5334 msgid ""
5335 " int guestfs_config (guestfs_h *g,\n"
5336 "\t\tconst char *qemuparam,\n"
5337 "\t\tconst char *qemuvalue);\n"
5338 "\n"
5339 msgstr ""
5340
5341 # type: textblock
5342 #: ../src/guestfs-actions.pod:881 ../fish/guestfish-actions.pod:700
5343 msgid ""
5344 "This can be used to add arbitrary qemu command line parameters of the form "
5345 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
5346 "setting some parameters which would interfere with parameters that we use."
5347 msgstr ""
5348
5349 # type: textblock
5350 #: ../src/guestfs-actions.pod:886 ../fish/guestfish-actions.pod:705
5351 msgid "The first character of C<param> string must be a C<-> (dash)."
5352 msgstr ""
5353
5354 # type: textblock
5355 #: ../src/guestfs-actions.pod:888 ../fish/guestfish-actions.pod:707
5356 msgid "C<value> can be NULL."
5357 msgstr ""
5358
5359 # type: =head2
5360 #: ../src/guestfs-actions.pod:892
5361 msgid "guestfs_copy_size"
5362 msgstr ""
5363
5364 # type: verbatim
5365 #: ../src/guestfs-actions.pod:894
5366 #, no-wrap
5367 msgid ""
5368 " int guestfs_copy_size (guestfs_h *g,\n"
5369 "\t\tconst char *src,\n"
5370 "\t\tconst char *dest,\n"
5371 "\t\tint64_t size);\n"
5372 "\n"
5373 msgstr ""
5374
5375 # type: textblock
5376 #: ../src/guestfs-actions.pod:899 ../fish/guestfish-actions.pod:713
5377 msgid ""
5378 "This command copies exactly C<size> bytes from one source device or file "
5379 "C<src> to another destination device or file C<dest>."
5380 msgstr ""
5381
5382 # type: textblock
5383 #: ../src/guestfs-actions.pod:902 ../fish/guestfish-actions.pod:716
5384 msgid ""
5385 "Note this will fail if the source is too short or if the destination is not "
5386 "large enough."
5387 msgstr ""
5388
5389 # type: textblock
5390 #: ../src/guestfs-actions.pod:907 ../src/guestfs-actions.pod:1042 ../src/guestfs-actions.pod:1070 ../src/guestfs-actions.pod:1442 ../src/guestfs-actions.pod:1461 ../src/guestfs-actions.pod:5648 ../src/guestfs-actions.pod:5664
5391 msgid ""
5392 "This long-running command can generate progress notification messages so "
5393 "that the caller can display a progress bar or indicator.  To receive these "
5394 "messages, the caller must register a progress callback.  See "
5395 "L<guestfs(3)/guestfs_set_progress_callback>."
5396 msgstr ""
5397
5398 # type: =head2
5399 #: ../src/guestfs-actions.pod:912
5400 msgid "guestfs_cp"
5401 msgstr ""
5402
5403 # type: verbatim
5404 #: ../src/guestfs-actions.pod:914
5405 #, no-wrap
5406 msgid ""
5407 " int guestfs_cp (guestfs_h *g,\n"
5408 "\t\tconst char *src,\n"
5409 "\t\tconst char *dest);\n"
5410 "\n"
5411 msgstr ""
5412
5413 # type: textblock
5414 #: ../src/guestfs-actions.pod:918 ../fish/guestfish-actions.pod:723
5415 msgid ""
5416 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5417 "destination filename or destination directory."
5418 msgstr ""
5419
5420 # type: =head2
5421 #: ../src/guestfs-actions.pod:923
5422 msgid "guestfs_cp_a"
5423 msgstr ""
5424
5425 # type: verbatim
5426 #: ../src/guestfs-actions.pod:925
5427 #, no-wrap
5428 msgid ""
5429 " int guestfs_cp_a (guestfs_h *g,\n"
5430 "\t\tconst char *src,\n"
5431 "\t\tconst char *dest);\n"
5432 "\n"
5433 msgstr ""
5434
5435 # type: textblock
5436 #: ../src/guestfs-actions.pod:929 ../fish/guestfish-actions.pod:730
5437 msgid ""
5438 "This copies a file or directory from C<src> to C<dest> recursively using the "
5439 "C<cp -a> command."
5440 msgstr ""
5441
5442 # type: =head2
5443 #: ../src/guestfs-actions.pod:934
5444 msgid "guestfs_dd"
5445 msgstr ""
5446
5447 # type: verbatim
5448 #: ../src/guestfs-actions.pod:936
5449 #, no-wrap
5450 msgid ""
5451 " int guestfs_dd (guestfs_h *g,\n"
5452 "\t\tconst char *src,\n"
5453 "\t\tconst char *dest);\n"
5454 "\n"
5455 msgstr ""
5456
5457 # type: textblock
5458 #: ../src/guestfs-actions.pod:940 ../fish/guestfish-actions.pod:737
5459 msgid ""
5460 "This command copies from one source device or file C<src> to another "
5461 "destination device or file C<dest>.  Normally you would use this to copy to "
5462 "or from a device or partition, for example to duplicate a filesystem."
5463 msgstr ""
5464
5465 # type: textblock
5466 #: ../src/guestfs-actions.pod:945
5467 msgid ""
5468 "If the destination is a device, it must be as large or larger than the "
5469 "source file or device, otherwise the copy will fail.  This command cannot do "
5470 "partial copies (see C<guestfs_copy_size>)."
5471 msgstr ""
5472
5473 # type: =head2
5474 #: ../src/guestfs-actions.pod:951
5475 msgid "guestfs_debug"
5476 msgstr ""
5477
5478 # type: verbatim
5479 #: ../src/guestfs-actions.pod:953
5480 #, no-wrap
5481 msgid ""
5482 " char *guestfs_debug (guestfs_h *g,\n"
5483 "\t\tconst char *subcmd,\n"
5484 "\t\tchar *const *extraargs);\n"
5485 "\n"
5486 msgstr ""
5487
5488 # type: textblock
5489 #: ../src/guestfs-actions.pod:957
5490 msgid ""
5491 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5492 "guestfs daemon) that runs inside the qemu subprocess."
5493 msgstr ""
5494
5495 # type: textblock
5496 #: ../src/guestfs-actions.pod:961 ../fish/guestfish-actions.pod:754
5497 msgid ""
5498 "There is no comprehensive help for this command.  You have to look at the "
5499 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5500 msgstr ""
5501
5502 # type: =head2
5503 #: ../src/guestfs-actions.pod:968
5504 msgid "guestfs_debug_upload"
5505 msgstr ""
5506
5507 # type: verbatim
5508 #: ../src/guestfs-actions.pod:970
5509 #, no-wrap
5510 msgid ""
5511 " int guestfs_debug_upload (guestfs_h *g,\n"
5512 "\t\tconst char *filename,\n"
5513 "\t\tconst char *tmpname,\n"
5514 "\t\tint mode);\n"
5515 "\n"
5516 msgstr ""
5517
5518 # type: textblock
5519 #: ../src/guestfs-actions.pod:975
5520 msgid ""
5521 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5522 "appliance."
5523 msgstr ""
5524
5525 # type: textblock
5526 #: ../src/guestfs-actions.pod:978 ../fish/guestfish-actions.pod:765
5527 msgid ""
5528 "There is no comprehensive help for this command.  You have to look at the "
5529 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5530 msgstr ""
5531
5532 # type: =head2
5533 #: ../src/guestfs-actions.pod:984
5534 msgid "guestfs_df"
5535 msgstr ""
5536
5537 # type: verbatim
5538 #: ../src/guestfs-actions.pod:986
5539 #, no-wrap
5540 msgid ""
5541 " char *guestfs_df (guestfs_h *g);\n"
5542 "\n"
5543 msgstr ""
5544
5545 # type: textblock
5546 #: ../src/guestfs-actions.pod:988 ../fish/guestfish-actions.pod:775
5547 msgid "This command runs the C<df> command to report disk space used."
5548 msgstr ""
5549
5550 # type: textblock
5551 #: ../src/guestfs-actions.pod:990 ../src/guestfs-actions.pod:1004 ../fish/guestfish-actions.pod:777 ../fish/guestfish-actions.pod:788
5552 msgid ""
5553 "This command is mostly useful for interactive sessions.  It is I<not> "
5554 "intended that you try to parse the output string.  Use C<statvfs> from "
5555 "programs."
5556 msgstr ""
5557
5558 # type: =head2
5559 #: ../src/guestfs-actions.pod:997
5560 msgid "guestfs_df_h"
5561 msgstr ""
5562
5563 # type: verbatim
5564 #: ../src/guestfs-actions.pod:999
5565 #, no-wrap
5566 msgid ""
5567 " char *guestfs_df_h (guestfs_h *g);\n"
5568 "\n"
5569 msgstr ""
5570
5571 # type: textblock
5572 #: ../src/guestfs-actions.pod:1001 ../fish/guestfish-actions.pod:785
5573 msgid ""
5574 "This command runs the C<df -h> command to report disk space used in "
5575 "human-readable format."
5576 msgstr ""
5577
5578 # type: =head2
5579 #: ../src/guestfs-actions.pod:1011
5580 msgid "guestfs_dmesg"
5581 msgstr ""
5582
5583 # type: verbatim
5584 #: ../src/guestfs-actions.pod:1013
5585 #, no-wrap
5586 msgid ""
5587 " char *guestfs_dmesg (guestfs_h *g);\n"
5588 "\n"
5589 msgstr ""
5590
5591 # type: textblock
5592 #: ../src/guestfs-actions.pod:1015 ../fish/guestfish-actions.pod:796
5593 msgid ""
5594 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5595 "This is sometimes useful for extended debugging of problems."
5596 msgstr ""
5597
5598 # type: textblock
5599 #: ../src/guestfs-actions.pod:1019
5600 msgid ""
5601 "Another way to get the same information is to enable verbose messages with "
5602 "C<guestfs_set_verbose> or by setting the environment variable "
5603 "C<LIBGUESTFS_DEBUG=1> before running the program."
5604 msgstr ""
5605
5606 # type: =head2
5607 #: ../src/guestfs-actions.pod:1027
5608 msgid "guestfs_download"
5609 msgstr ""
5610
5611 # type: verbatim
5612 #: ../src/guestfs-actions.pod:1029
5613 #, no-wrap
5614 msgid ""
5615 " int guestfs_download (guestfs_h *g,\n"
5616 "\t\tconst char *remotefilename,\n"
5617 "\t\tconst char *filename);\n"
5618 "\n"
5619 msgstr ""
5620
5621 # type: textblock
5622 #: ../src/guestfs-actions.pod:1033 ../src/guestfs-actions.pod:1055 ../fish/guestfish-actions.pod:809 ../fish/guestfish-actions.pod:822
5623 msgid ""
5624 "Download file C<remotefilename> and save it as C<filename> on the local "
5625 "machine."
5626 msgstr ""
5627
5628 # type: textblock
5629 #: ../src/guestfs-actions.pod:1036 ../src/guestfs-actions.pod:5216 ../fish/guestfish-actions.pod:812 ../fish/guestfish-actions.pod:4041
5630 msgid "C<filename> can also be a named pipe."
5631 msgstr ""
5632
5633 # type: textblock
5634 #: ../src/guestfs-actions.pod:1038
5635 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5636 msgstr ""
5637
5638 # type: =head2
5639 #: ../src/guestfs-actions.pod:1047
5640 msgid "guestfs_download_offset"
5641 msgstr ""
5642
5643 # type: verbatim
5644 #: ../src/guestfs-actions.pod:1049
5645 #, no-wrap
5646 msgid ""
5647 " int guestfs_download_offset (guestfs_h *g,\n"
5648 "\t\tconst char *remotefilename,\n"
5649 "\t\tconst char *filename,\n"
5650 "\t\tint64_t offset,\n"
5651 "\t\tint64_t size);\n"
5652 "\n"
5653 msgstr ""
5654
5655 # type: textblock
5656 #: ../src/guestfs-actions.pod:1058 ../fish/guestfish-actions.pod:825
5657 msgid ""
5658 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
5659 "region must be within the file or device)."
5660 msgstr ""
5661
5662 # type: textblock
5663 #: ../src/guestfs-actions.pod:1061
5664 msgid ""
5665 "Note that there is no limit on the amount of data that can be downloaded "
5666 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
5667 "full amount unless an error occurs."
5668 msgstr ""
5669
5670 # type: textblock
5671 #: ../src/guestfs-actions.pod:1066
5672 msgid "See also C<guestfs_download>, C<guestfs_pread>."
5673 msgstr ""
5674
5675 # type: =head2
5676 #: ../src/guestfs-actions.pod:1075
5677 msgid "guestfs_drop_caches"
5678 msgstr ""
5679
5680 # type: verbatim
5681 #: ../src/guestfs-actions.pod:1077
5682 #, no-wrap
5683 msgid ""
5684 " int guestfs_drop_caches (guestfs_h *g,\n"
5685 "\t\tint whattodrop);\n"
5686 "\n"
5687 msgstr ""
5688
5689 # type: textblock
5690 #: ../src/guestfs-actions.pod:1080 ../fish/guestfish-actions.pod:841
5691 msgid ""
5692 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5693 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5694 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5695 msgstr ""
5696
5697 # type: textblock
5698 #: ../src/guestfs-actions.pod:1085 ../fish/guestfish-actions.pod:846
5699 msgid "Setting C<whattodrop> to 3 should drop everything."
5700 msgstr ""
5701
5702 # type: textblock
5703 #: ../src/guestfs-actions.pod:1087 ../fish/guestfish-actions.pod:848
5704 msgid ""
5705 "This automatically calls L<sync(2)> before the operation, so that the "
5706 "maximum guest memory is freed."
5707 msgstr ""
5708
5709 # type: =head2
5710 #: ../src/guestfs-actions.pod:1092
5711 msgid "guestfs_du"
5712 msgstr ""
5713
5714 # type: verbatim
5715 #: ../src/guestfs-actions.pod:1094
5716 #, no-wrap
5717 msgid ""
5718 " int64_t guestfs_du (guestfs_h *g,\n"
5719 "\t\tconst char *path);\n"
5720 "\n"
5721 msgstr ""
5722
5723 # type: textblock
5724 #: ../src/guestfs-actions.pod:1097 ../fish/guestfish-actions.pod:855
5725 msgid ""
5726 "This command runs the C<du -s> command to estimate file space usage for "
5727 "C<path>."
5728 msgstr ""
5729
5730 # type: textblock
5731 #: ../src/guestfs-actions.pod:1100 ../fish/guestfish-actions.pod:858
5732 msgid ""
5733 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5734 "estimate includes the contents of the directory and all subdirectories "
5735 "(recursively)."
5736 msgstr ""
5737
5738 # type: textblock
5739 #: ../src/guestfs-actions.pod:1104 ../fish/guestfish-actions.pod:862
5740 msgid "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5741 msgstr ""
5742
5743 # type: =head2
5744 #: ../src/guestfs-actions.pod:1109
5745 msgid "guestfs_e2fsck_f"
5746 msgstr ""
5747
5748 # type: verbatim
5749 #: ../src/guestfs-actions.pod:1111
5750 #, no-wrap
5751 msgid ""
5752 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5753 "\t\tconst char *device);\n"
5754 "\n"
5755 msgstr ""
5756
5757 # type: textblock
5758 #: ../src/guestfs-actions.pod:1114 ../fish/guestfish-actions.pod:869
5759 msgid ""
5760 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5761 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5762 "clean (C<-f>)."
5763 msgstr ""
5764
5765 # type: textblock
5766 #: ../src/guestfs-actions.pod:1118
5767 msgid ""
5768 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5769 "Normally you should use C<guestfs_fsck>."
5770 msgstr ""
5771
5772 # type: =head2
5773 #: ../src/guestfs-actions.pod:1123
5774 msgid "guestfs_echo_daemon"
5775 msgstr ""
5776
5777 # type: verbatim
5778 #: ../src/guestfs-actions.pod:1125
5779 #, no-wrap
5780 msgid ""
5781 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5782 "\t\tchar *const *words);\n"
5783 "\n"
5784 msgstr ""
5785
5786 # type: textblock
5787 #: ../src/guestfs-actions.pod:1128 ../fish/guestfish-actions.pod:880
5788 msgid ""
5789 "This command concatenates the list of C<words> passed with single spaces "
5790 "between them and returns the resulting string."
5791 msgstr ""
5792
5793 # type: textblock
5794 #: ../src/guestfs-actions.pod:1131 ../fish/guestfish-actions.pod:883
5795 msgid "You can use this command to test the connection through to the daemon."
5796 msgstr ""
5797
5798 # type: textblock
5799 #: ../src/guestfs-actions.pod:1133
5800 msgid "See also C<guestfs_ping_daemon>."
5801 msgstr ""
5802
5803 # type: =head2
5804 #: ../src/guestfs-actions.pod:1138
5805 msgid "guestfs_egrep"
5806 msgstr ""
5807
5808 # type: verbatim
5809 #: ../src/guestfs-actions.pod:1140
5810 #, no-wrap
5811 msgid ""
5812 " char **guestfs_egrep (guestfs_h *g,\n"
5813 "\t\tconst char *regex,\n"
5814 "\t\tconst char *path);\n"
5815 "\n"
5816 msgstr ""
5817
5818 # type: textblock
5819 #: ../src/guestfs-actions.pod:1144 ../fish/guestfish-actions.pod:891
5820 msgid "This calls the external C<egrep> program and returns the matching lines."
5821 msgstr ""
5822
5823 # type: =head2
5824 #: ../src/guestfs-actions.pod:1154
5825 msgid "guestfs_egrepi"
5826 msgstr ""
5827
5828 # type: verbatim
5829 #: ../src/guestfs-actions.pod:1156
5830 #, no-wrap
5831 msgid ""
5832 " char **guestfs_egrepi (guestfs_h *g,\n"
5833 "\t\tconst char *regex,\n"
5834 "\t\tconst char *path);\n"
5835 "\n"
5836 msgstr ""
5837
5838 # type: textblock
5839 #: ../src/guestfs-actions.pod:1160 ../fish/guestfish-actions.pod:901
5840 msgid "This calls the external C<egrep -i> program and returns the matching lines."
5841 msgstr ""
5842
5843 # type: =head2
5844 #: ../src/guestfs-actions.pod:1170
5845 msgid "guestfs_equal"
5846 msgstr ""
5847
5848 # type: verbatim
5849 #: ../src/guestfs-actions.pod:1172
5850 #, no-wrap
5851 msgid ""
5852 " int guestfs_equal (guestfs_h *g,\n"
5853 "\t\tconst char *file1,\n"
5854 "\t\tconst char *file2);\n"
5855 "\n"
5856 msgstr ""
5857
5858 # type: textblock
5859 #: ../src/guestfs-actions.pod:1176 ../fish/guestfish-actions.pod:911
5860 msgid ""
5861 "This compares the two files C<file1> and C<file2> and returns true if their "
5862 "content is exactly equal, or false otherwise."
5863 msgstr ""
5864
5865 # type: textblock
5866 #: ../src/guestfs-actions.pod:1179 ../fish/guestfish-actions.pod:914
5867 msgid "The external L<cmp(1)> program is used for the comparison."
5868 msgstr ""
5869
5870 # type: =head2
5871 #: ../src/guestfs-actions.pod:1183
5872 msgid "guestfs_exists"
5873 msgstr ""
5874
5875 # type: verbatim
5876 #: ../src/guestfs-actions.pod:1185
5877 #, no-wrap
5878 msgid ""
5879 " int guestfs_exists (guestfs_h *g,\n"
5880 "\t\tconst char *path);\n"
5881 "\n"
5882 msgstr ""
5883
5884 # type: textblock
5885 #: ../src/guestfs-actions.pod:1188 ../fish/guestfish-actions.pod:920
5886 msgid ""
5887 "This returns C<true> if and only if there is a file, directory (or anything) "
5888 "with the given C<path> name."
5889 msgstr ""
5890
5891 # type: textblock
5892 #: ../src/guestfs-actions.pod:1191
5893 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5894 msgstr ""
5895
5896 # type: =head2
5897 #: ../src/guestfs-actions.pod:1195
5898 msgid "guestfs_fallocate"
5899 msgstr ""
5900
5901 # type: verbatim
5902 #: ../src/guestfs-actions.pod:1197
5903 #, no-wrap
5904 msgid ""
5905 " int guestfs_fallocate (guestfs_h *g,\n"
5906 "\t\tconst char *path,\n"
5907 "\t\tint len);\n"
5908 "\n"
5909 msgstr ""
5910
5911 # type: textblock
5912 #: ../src/guestfs-actions.pod:1201 ../src/guestfs-actions.pod:1224 ../fish/guestfish-actions.pod:929 ../fish/guestfish-actions.pod:948
5913 msgid ""
5914 "This command preallocates a file (containing zero bytes) named C<path> of "
5915 "size C<len> bytes.  If the file exists already, it is overwritten."
5916 msgstr ""
5917
5918 # type: textblock
5919 #: ../src/guestfs-actions.pod:1205 ../fish/guestfish-actions.pod:933
5920 msgid ""
5921 "Do not confuse this with the guestfish-specific C<alloc> command which "
5922 "allocates a file in the host and attaches it as a device."
5923 msgstr ""
5924
5925 # type: textblock
5926 #: ../src/guestfs-actions.pod:1211 ../fish/guestfish-actions.pod:937
5927 msgid ""
5928 "This function is deprecated.  In new code, use the C<fallocate64> call "
5929 "instead."
5930 msgstr ""
5931
5932 # type: =head2
5933 #: ../src/guestfs-actions.pod:1218
5934 msgid "guestfs_fallocate64"
5935 msgstr ""
5936
5937 # type: verbatim
5938 #: ../src/guestfs-actions.pod:1220
5939 #, no-wrap
5940 msgid ""
5941 " int guestfs_fallocate64 (guestfs_h *g,\n"
5942 "\t\tconst char *path,\n"
5943 "\t\tint64_t len);\n"
5944 "\n"
5945 msgstr ""
5946
5947 # type: textblock
5948 #: ../src/guestfs-actions.pod:1228
5949 msgid ""
5950 "Note that this call allocates disk blocks for the file.  To create a sparse "
5951 "file use C<guestfs_truncate_size> instead."
5952 msgstr ""
5953
5954 # type: textblock
5955 #: ../src/guestfs-actions.pod:1231
5956 msgid ""
5957 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5958 "oversight it only allowed 30 bit lengths to be specified, effectively "
5959 "limiting the maximum size of files created through that call to 1GB."
5960 msgstr ""
5961
5962 # type: textblock
5963 #: ../src/guestfs-actions.pod:1236 ../fish/guestfish-actions.pod:960
5964 msgid ""
5965 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5966 "commands which create a file in the host and attach it as a device."
5967 msgstr ""
5968
5969 # type: =head2
5970 #: ../src/guestfs-actions.pod:1242
5971 msgid "guestfs_fgrep"
5972 msgstr ""
5973
5974 # type: verbatim
5975 #: ../src/guestfs-actions.pod:1244
5976 #, no-wrap
5977 msgid ""
5978 " char **guestfs_fgrep (guestfs_h *g,\n"
5979 "\t\tconst char *pattern,\n"
5980 "\t\tconst char *path);\n"
5981 "\n"
5982 msgstr ""
5983
5984 # type: textblock
5985 #: ../src/guestfs-actions.pod:1248 ../fish/guestfish-actions.pod:968
5986 msgid "This calls the external C<fgrep> program and returns the matching lines."
5987 msgstr ""
5988
5989 # type: =head2
5990 #: ../src/guestfs-actions.pod:1258
5991 msgid "guestfs_fgrepi"
5992 msgstr ""
5993
5994 # type: verbatim
5995 #: ../src/guestfs-actions.pod:1260
5996 #, no-wrap
5997 msgid ""
5998 " char **guestfs_fgrepi (guestfs_h *g,\n"
5999 "\t\tconst char *pattern,\n"
6000 "\t\tconst char *path);\n"
6001 "\n"
6002 msgstr ""
6003
6004 # type: textblock
6005 #: ../src/guestfs-actions.pod:1264 ../fish/guestfish-actions.pod:978
6006 msgid "This calls the external C<fgrep -i> program and returns the matching lines."
6007 msgstr ""
6008
6009 # type: =head2
6010 #: ../src/guestfs-actions.pod:1274
6011 msgid "guestfs_file"
6012 msgstr ""
6013
6014 # type: verbatim
6015 #: ../src/guestfs-actions.pod:1276
6016 #, no-wrap
6017 msgid ""
6018 " char *guestfs_file (guestfs_h *g,\n"
6019 "\t\tconst char *path);\n"
6020 "\n"
6021 msgstr ""
6022
6023 # type: textblock
6024 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:988
6025 msgid ""
6026 "This call uses the standard L<file(1)> command to determine the type or "
6027 "contents of the file."
6028 msgstr ""
6029
6030 # type: textblock
6031 #: ../src/guestfs-actions.pod:1282 ../fish/guestfish-actions.pod:991
6032 msgid ""
6033 "This call will also transparently look inside various types of compressed "
6034 "file."
6035 msgstr ""
6036
6037 # type: textblock
6038 #: ../src/guestfs-actions.pod:1285 ../fish/guestfish-actions.pod:994
6039 msgid ""
6040 "The exact command which runs is C<file -zb path>.  Note in particular that "
6041 "the filename is not prepended to the output (the C<-b> option)."
6042 msgstr ""
6043
6044 # type: textblock
6045 #: ../src/guestfs-actions.pod:1289
6046 msgid ""
6047 "This command can also be used on C</dev/> devices (and partitions, LV "
6048 "names).  You can for example use this to determine if a device contains a "
6049 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
6050 msgstr ""
6051
6052 # type: textblock
6053 #: ../src/guestfs-actions.pod:1294 ../fish/guestfish-actions.pod:1003
6054 msgid ""
6055 "If the C<path> does not begin with C</dev/> then this command only works for "
6056 "the content of regular files.  For other file types (directory, symbolic "
6057 "link etc) it will just return the string C<directory> etc."
6058 msgstr ""
6059
6060 # type: =head2
6061 #: ../src/guestfs-actions.pod:1302
6062 msgid "guestfs_file_architecture"
6063 msgstr ""
6064
6065 # type: verbatim
6066 #: ../src/guestfs-actions.pod:1304
6067 #, no-wrap
6068 msgid ""
6069 " char *guestfs_file_architecture (guestfs_h *g,\n"
6070 "\t\tconst char *filename);\n"
6071 "\n"
6072 msgstr ""
6073
6074 # type: textblock
6075 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1012
6076 msgid ""
6077 "This detects the architecture of the binary C<filename>, and returns it if "
6078 "known."
6079 msgstr ""
6080
6081 # type: textblock
6082 #: ../src/guestfs-actions.pod:1310 ../fish/guestfish-actions.pod:1015
6083 msgid "Currently defined architectures are:"
6084 msgstr ""
6085
6086 # type: =item
6087 #: ../src/guestfs-actions.pod:1314 ../fish/guestfish-actions.pod:1019
6088 msgid "\"i386\""
6089 msgstr ""
6090
6091 # type: textblock
6092 #: ../src/guestfs-actions.pod:1316 ../fish/guestfish-actions.pod:1021
6093 msgid ""
6094 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
6095 "irrespective of the precise processor requirements of the binary."
6096 msgstr ""
6097
6098 # type: =item
6099 #: ../src/guestfs-actions.pod:1319 ../fish/guestfish-actions.pod:1024
6100 msgid "\"x86_64\""
6101 msgstr ""
6102
6103 # type: textblock
6104 #: ../src/guestfs-actions.pod:1321 ../fish/guestfish-actions.pod:1026
6105 msgid "64 bit x86-64."
6106 msgstr ""
6107
6108 # type: =item
6109 #: ../src/guestfs-actions.pod:1323 ../fish/guestfish-actions.pod:1028
6110 msgid "\"sparc\""
6111 msgstr ""
6112
6113 # type: textblock
6114 #: ../src/guestfs-actions.pod:1325 ../fish/guestfish-actions.pod:1030
6115 msgid "32 bit SPARC."
6116 msgstr ""
6117
6118 # type: =item
6119 #: ../src/guestfs-actions.pod:1327 ../fish/guestfish-actions.pod:1032
6120 msgid "\"sparc64\""
6121 msgstr ""
6122
6123 # type: textblock
6124 #: ../src/guestfs-actions.pod:1329 ../fish/guestfish-actions.pod:1034
6125 msgid "64 bit SPARC V9 and above."
6126 msgstr ""
6127
6128 # type: =item
6129 #: ../src/guestfs-actions.pod:1331 ../fish/guestfish-actions.pod:1036
6130 msgid "\"ia64\""
6131 msgstr ""
6132
6133 # type: textblock
6134 #: ../src/guestfs-actions.pod:1333 ../fish/guestfish-actions.pod:1038
6135 msgid "Intel Itanium."
6136 msgstr ""
6137
6138 # type: =item
6139 #: ../src/guestfs-actions.pod:1335 ../fish/guestfish-actions.pod:1040
6140 msgid "\"ppc\""
6141 msgstr ""
6142
6143 # type: textblock
6144 #: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:1042
6145 msgid "32 bit Power PC."
6146 msgstr ""
6147
6148 # type: =item
6149 #: ../src/guestfs-actions.pod:1339 ../fish/guestfish-actions.pod:1044
6150 msgid "\"ppc64\""
6151 msgstr ""
6152
6153 # type: textblock
6154 #: ../src/guestfs-actions.pod:1341 ../fish/guestfish-actions.pod:1046
6155 msgid "64 bit Power PC."
6156 msgstr ""
6157
6158 # type: textblock
6159 #: ../src/guestfs-actions.pod:1345 ../fish/guestfish-actions.pod:1050
6160 msgid "Libguestfs may return other architecture strings in future."
6161 msgstr ""
6162
6163 # type: textblock
6164 #: ../src/guestfs-actions.pod:1347 ../fish/guestfish-actions.pod:1052
6165 msgid "The function works on at least the following types of files:"
6166 msgstr ""
6167
6168 # type: textblock
6169 #: ../src/guestfs-actions.pod:1353 ../fish/guestfish-actions.pod:1058
6170 msgid "many types of Un*x and Linux binary"
6171 msgstr ""
6172
6173 # type: textblock
6174 #: ../src/guestfs-actions.pod:1357 ../fish/guestfish-actions.pod:1062
6175 msgid "many types of Un*x and Linux shared library"
6176 msgstr ""
6177
6178 # type: textblock
6179 #: ../src/guestfs-actions.pod:1361 ../fish/guestfish-actions.pod:1066
6180 msgid "Windows Win32 and Win64 binaries"
6181 msgstr ""
6182
6183 # type: textblock
6184 #: ../src/guestfs-actions.pod:1365 ../fish/guestfish-actions.pod:1070
6185 msgid "Windows Win32 and Win64 DLLs"
6186 msgstr ""
6187
6188 # type: textblock
6189 #: ../src/guestfs-actions.pod:1367 ../fish/guestfish-actions.pod:1072
6190 msgid "Win32 binaries and DLLs return C<i386>."
6191 msgstr ""
6192
6193 # type: textblock
6194 #: ../src/guestfs-actions.pod:1369 ../fish/guestfish-actions.pod:1074
6195 msgid "Win64 binaries and DLLs return C<x86_64>."
6196 msgstr ""
6197
6198 # type: textblock
6199 #: ../src/guestfs-actions.pod:1373 ../fish/guestfish-actions.pod:1078
6200 msgid "Linux kernel modules"
6201 msgstr ""
6202
6203 # type: textblock
6204 #: ../src/guestfs-actions.pod:1377 ../fish/guestfish-actions.pod:1082
6205 msgid "Linux new-style initrd images"
6206 msgstr ""
6207
6208 # type: textblock
6209 #: ../src/guestfs-actions.pod:1381 ../fish/guestfish-actions.pod:1086
6210 msgid "some non-x86 Linux vmlinuz kernels"
6211 msgstr ""
6212
6213 # type: textblock
6214 #: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:1090
6215 msgid "What it can't do currently:"
6216 msgstr ""
6217
6218 # type: textblock
6219 #: ../src/guestfs-actions.pod:1391 ../fish/guestfish-actions.pod:1096
6220 msgid "static libraries (libfoo.a)"
6221 msgstr ""
6222
6223 # type: textblock
6224 #: ../src/guestfs-actions.pod:1395 ../fish/guestfish-actions.pod:1100
6225 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6226 msgstr ""
6227
6228 # type: textblock
6229 #: ../src/guestfs-actions.pod:1399 ../fish/guestfish-actions.pod:1104
6230 msgid "x86 Linux vmlinuz kernels"
6231 msgstr ""
6232
6233 # type: textblock
6234 #: ../src/guestfs-actions.pod:1401 ../fish/guestfish-actions.pod:1106
6235 msgid ""
6236 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
6237 "compressed code, and are horribly hard to unpack.  If you want to find the "
6238 "architecture of a kernel, use the architecture of the associated initrd or "
6239 "kernel module(s) instead."
6240 msgstr ""
6241
6242 # type: =head2
6243 #: ../src/guestfs-actions.pod:1411
6244 msgid "guestfs_filesize"
6245 msgstr ""
6246
6247 # type: verbatim
6248 #: ../src/guestfs-actions.pod:1413
6249 #, no-wrap
6250 msgid ""
6251 " int64_t guestfs_filesize (guestfs_h *g,\n"
6252 "\t\tconst char *file);\n"
6253 "\n"
6254 msgstr ""
6255
6256 # type: textblock
6257 #: ../src/guestfs-actions.pod:1416 ../fish/guestfish-actions.pod:1117
6258 msgid "This command returns the size of C<file> in bytes."
6259 msgstr ""
6260
6261 # type: textblock
6262 #: ../src/guestfs-actions.pod:1418
6263 msgid ""
6264 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
6265 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
6266 "devices, use C<guestfs_blockdev_getsize64>."
6267 msgstr ""
6268
6269 # type: =head2
6270 #: ../src/guestfs-actions.pod:1424
6271 msgid "guestfs_fill"
6272 msgstr ""
6273
6274 # type: verbatim
6275 #: ../src/guestfs-actions.pod:1426
6276 #, no-wrap
6277 msgid ""
6278 " int guestfs_fill (guestfs_h *g,\n"
6279 "\t\tint c,\n"
6280 "\t\tint len,\n"
6281 "\t\tconst char *path);\n"
6282 "\n"
6283 msgstr ""
6284
6285 # type: textblock
6286 #: ../src/guestfs-actions.pod:1431 ../fish/guestfish-actions.pod:1127
6287 msgid ""
6288 "This command creates a new file called C<path>.  The initial content of the "
6289 "file is C<len> octets of C<c>, where C<c> must be a number in the range "
6290 "C<[0..255]>."
6291 msgstr ""
6292
6293 # type: textblock
6294 #: ../src/guestfs-actions.pod:1435
6295 msgid ""
6296 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
6297 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
6298 "bytes use C<guestfs_fill_pattern>."
6299 msgstr ""
6300
6301 # type: =head2
6302 #: ../src/guestfs-actions.pod:1447
6303 msgid "guestfs_fill_pattern"
6304 msgstr ""
6305
6306 # type: verbatim
6307 #: ../src/guestfs-actions.pod:1449
6308 #, no-wrap
6309 msgid ""
6310 " int guestfs_fill_pattern (guestfs_h *g,\n"
6311 "\t\tconst char *pattern,\n"
6312 "\t\tint len,\n"
6313 "\t\tconst char *path);\n"
6314 "\n"
6315 msgstr ""
6316
6317 # type: textblock
6318 #: ../src/guestfs-actions.pod:1454
6319 msgid ""
6320 "This function is like C<guestfs_fill> except that it creates a new file of "
6321 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
6322 "pattern is truncated if necessary to ensure the length of the file is "
6323 "exactly C<len> bytes."
6324 msgstr ""
6325
6326 # type: =head2
6327 #: ../src/guestfs-actions.pod:1466
6328 msgid "guestfs_find"
6329 msgstr ""
6330
6331 # type: verbatim
6332 #: ../src/guestfs-actions.pod:1468
6333 #, no-wrap
6334 msgid ""
6335 " char **guestfs_find (guestfs_h *g,\n"
6336 "\t\tconst char *directory);\n"
6337 "\n"
6338 msgstr ""
6339
6340 # type: textblock
6341 #: ../src/guestfs-actions.pod:1471 ../fish/guestfish-actions.pod:1149
6342 msgid ""
6343 "This command lists out all files and directories, recursively, starting at "
6344 "C<directory>.  It is essentially equivalent to running the shell command "
6345 "C<find directory -print> but some post-processing happens on the output, "
6346 "described below."
6347 msgstr ""
6348
6349 # type: textblock
6350 #: ../src/guestfs-actions.pod:1476 ../fish/guestfish-actions.pod:1154
6351 msgid ""
6352 "This returns a list of strings I<without any prefix>.  Thus if the directory "
6353 "structure was:"
6354 msgstr ""
6355
6356 # type: verbatim
6357 #: ../src/guestfs-actions.pod:1479 ../fish/guestfish-actions.pod:1157
6358 #, no-wrap
6359 msgid ""
6360 " /tmp/a\n"
6361 " /tmp/b\n"
6362 " /tmp/c/d\n"
6363 "\n"
6364 msgstr ""
6365
6366 # type: textblock
6367 #: ../src/guestfs-actions.pod:1483
6368 msgid "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
6369 msgstr ""
6370
6371 # type: verbatim
6372 #: ../src/guestfs-actions.pod:1486 ../fish/guestfish-actions.pod:1164
6373 #, no-wrap
6374 msgid ""
6375 " a\n"
6376 " b\n"
6377 " c\n"
6378 " c/d\n"
6379 "\n"
6380 msgstr ""
6381
6382 # type: textblock
6383 #: ../src/guestfs-actions.pod:1491 ../fish/guestfish-actions.pod:1169
6384 msgid "If C<directory> is not a directory, then this command returns an error."
6385 msgstr ""
6386
6387 # type: textblock
6388 #: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:1172
6389 msgid "The returned list is sorted."
6390 msgstr ""
6391
6392 # type: textblock
6393 #: ../src/guestfs-actions.pod:1496
6394 msgid "See also C<guestfs_find0>."
6395 msgstr ""
6396
6397 # type: =head2
6398 #: ../src/guestfs-actions.pod:1505
6399 msgid "guestfs_find0"
6400 msgstr ""
6401
6402 # type: verbatim
6403 #: ../src/guestfs-actions.pod:1507
6404 #, no-wrap
6405 msgid ""
6406 " int guestfs_find0 (guestfs_h *g,\n"
6407 "\t\tconst char *directory,\n"
6408 "\t\tconst char *files);\n"
6409 "\n"
6410 msgstr ""
6411
6412 # type: textblock
6413 #: ../src/guestfs-actions.pod:1511 ../fish/guestfish-actions.pod:1183
6414 msgid ""
6415 "This command lists out all files and directories, recursively, starting at "
6416 "C<directory>, placing the resulting list in the external file called "
6417 "C<files>."
6418 msgstr ""
6419
6420 # type: textblock
6421 #: ../src/guestfs-actions.pod:1515
6422 msgid ""
6423 "This command works the same way as C<guestfs_find> with the following "
6424 "exceptions:"
6425 msgstr ""
6426
6427 # type: textblock
6428 #: ../src/guestfs-actions.pod:1522 ../fish/guestfish-actions.pod:1194
6429 msgid "The resulting list is written to an external file."
6430 msgstr ""
6431
6432 # type: textblock
6433 #: ../src/guestfs-actions.pod:1526 ../fish/guestfish-actions.pod:1198
6434 msgid ""
6435 "Items (filenames) in the result are separated by C<\\0> characters.  See "
6436 "L<find(1)> option I<-print0>."
6437 msgstr ""
6438
6439 # type: textblock
6440 #: ../src/guestfs-actions.pod:1531 ../fish/guestfish-actions.pod:1203
6441 msgid "This command is not limited in the number of names that it can return."
6442 msgstr ""
6443
6444 # type: textblock
6445 #: ../src/guestfs-actions.pod:1536 ../fish/guestfish-actions.pod:1208
6446 msgid "The result list is not sorted."
6447 msgstr ""
6448
6449 # type: =head2
6450 #: ../src/guestfs-actions.pod:1542
6451 msgid "guestfs_findfs_label"
6452 msgstr ""
6453
6454 # type: verbatim
6455 #: ../src/guestfs-actions.pod:1544
6456 #, no-wrap
6457 msgid ""
6458 " char *guestfs_findfs_label (guestfs_h *g,\n"
6459 "\t\tconst char *label);\n"
6460 "\n"
6461 msgstr ""
6462
6463 # type: textblock
6464 #: ../src/guestfs-actions.pod:1547 ../fish/guestfish-actions.pod:1218
6465 msgid ""
6466 "This command searches the filesystems and returns the one which has the "
6467 "given label.  An error is returned if no such filesystem can be found."
6468 msgstr ""
6469
6470 # type: textblock
6471 #: ../src/guestfs-actions.pod:1551
6472 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6473 msgstr ""
6474
6475 # type: =head2
6476 #: ../src/guestfs-actions.pod:1556
6477 msgid "guestfs_findfs_uuid"
6478 msgstr ""
6479
6480 # type: verbatim
6481 #: ../src/guestfs-actions.pod:1558
6482 #, no-wrap
6483 msgid ""
6484 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6485 "\t\tconst char *uuid);\n"
6486 "\n"
6487 msgstr ""
6488
6489 # type: textblock
6490 #: ../src/guestfs-actions.pod:1561 ../fish/guestfish-actions.pod:1228
6491 msgid ""
6492 "This command searches the filesystems and returns the one which has the "
6493 "given UUID.  An error is returned if no such filesystem can be found."
6494 msgstr ""
6495
6496 # type: textblock
6497 #: ../src/guestfs-actions.pod:1565
6498 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6499 msgstr ""
6500
6501 # type: =head2
6502 #: ../src/guestfs-actions.pod:1570
6503 msgid "guestfs_fsck"
6504 msgstr ""
6505
6506 # type: verbatim
6507 #: ../src/guestfs-actions.pod:1572
6508 #, no-wrap
6509 msgid ""
6510 " int guestfs_fsck (guestfs_h *g,\n"
6511 "\t\tconst char *fstype,\n"
6512 "\t\tconst char *device);\n"
6513 "\n"
6514 msgstr ""
6515
6516 # type: textblock
6517 #: ../src/guestfs-actions.pod:1576 ../fish/guestfish-actions.pod:1238
6518 msgid ""
6519 "This runs the filesystem checker (fsck) on C<device> which should have "
6520 "filesystem type C<fstype>."
6521 msgstr ""
6522
6523 # type: textblock
6524 #: ../src/guestfs-actions.pod:1579 ../fish/guestfish-actions.pod:1241
6525 msgid ""
6526 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6527 "codes from C<fsck>."
6528 msgstr ""
6529
6530 # type: textblock
6531 #: ../src/guestfs-actions.pod:1588 ../fish/guestfish-actions.pod:1250
6532 msgid "Multiple status codes can be summed together."
6533 msgstr ""
6534
6535 # type: textblock
6536 #: ../src/guestfs-actions.pod:1592 ../fish/guestfish-actions.pod:1254
6537 msgid ""
6538 "A non-zero return code can mean \"success\", for example if errors have been "
6539 "corrected on the filesystem."
6540 msgstr ""
6541
6542 # type: textblock
6543 #: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1259
6544 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6545 msgstr ""
6546
6547 # type: textblock
6548 #: ../src/guestfs-actions.pod:1602 ../fish/guestfish-actions.pod:1264
6549 msgid "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6550 msgstr ""
6551
6552 # type: =head2
6553 #: ../src/guestfs-actions.pod:1606
6554 msgid "guestfs_get_append"
6555 msgstr ""
6556
6557 # type: verbatim
6558 #: ../src/guestfs-actions.pod:1608
6559 #, no-wrap
6560 msgid ""
6561 " const char *guestfs_get_append (guestfs_h *g);\n"
6562 "\n"
6563 msgstr ""
6564
6565 # type: textblock
6566 #: ../src/guestfs-actions.pod:1610 ../fish/guestfish-actions.pod:1270
6567 msgid ""
6568 "Return the additional kernel options which are added to the guest kernel "
6569 "command line."
6570 msgstr ""
6571
6572 # type: textblock
6573 #: ../src/guestfs-actions.pod:1613 ../fish/guestfish-actions.pod:1273
6574 msgid "If C<NULL> then no options are added."
6575 msgstr ""
6576
6577 # type: textblock
6578 #: ../src/guestfs-actions.pod:1615
6579 msgid ""
6580 "This function returns a string which may be NULL.  There is no way to return "
6581 "an error from this function.  The string is owned by the guest handle and "
6582 "must I<not> be freed."
6583 msgstr ""
6584
6585 # type: =head2
6586 #: ../src/guestfs-actions.pod:1619
6587 msgid "guestfs_get_autosync"
6588 msgstr ""
6589
6590 # type: verbatim
6591 #: ../src/guestfs-actions.pod:1621
6592 #, no-wrap
6593 msgid ""
6594 " int guestfs_get_autosync (guestfs_h *g);\n"
6595 "\n"
6596 msgstr ""
6597
6598 # type: textblock
6599 #: ../src/guestfs-actions.pod:1623 ../fish/guestfish-actions.pod:1279
6600 msgid "Get the autosync flag."
6601 msgstr ""
6602
6603 # type: =head2
6604 #: ../src/guestfs-actions.pod:1627
6605 msgid "guestfs_get_direct"
6606 msgstr ""
6607
6608 # type: verbatim
6609 #: ../src/guestfs-actions.pod:1629
6610 #, no-wrap
6611 msgid ""
6612 " int guestfs_get_direct (guestfs_h *g);\n"
6613 "\n"
6614 msgstr ""
6615
6616 # type: textblock
6617 #: ../src/guestfs-actions.pod:1631 ../fish/guestfish-actions.pod:1285
6618 msgid "Return the direct appliance mode flag."
6619 msgstr ""
6620
6621 # type: =head2
6622 #: ../src/guestfs-actions.pod:1635
6623 msgid "guestfs_get_e2label"
6624 msgstr ""
6625
6626 # type: verbatim
6627 #: ../src/guestfs-actions.pod:1637
6628 #, no-wrap
6629 msgid ""
6630 " char *guestfs_get_e2label (guestfs_h *g,\n"
6631 "\t\tconst char *device);\n"
6632 "\n"
6633 msgstr ""
6634
6635 # type: textblock
6636 #: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1291
6637 msgid "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6638 msgstr ""
6639
6640 # type: textblock
6641 #: ../src/guestfs-actions.pod:1646 ../fish/guestfish-actions.pod:1294
6642 msgid ""
6643 "This function is deprecated.  In new code, use the C<vfs_label> call "
6644 "instead."
6645 msgstr ""
6646
6647 # type: =head2
6648 #: ../src/guestfs-actions.pod:1653
6649 msgid "guestfs_get_e2uuid"
6650 msgstr ""
6651
6652 # type: verbatim
6653 #: ../src/guestfs-actions.pod:1655
6654 #, no-wrap
6655 msgid ""
6656 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6657 "\t\tconst char *device);\n"
6658 "\n"
6659 msgstr ""
6660
6661 # type: textblock
6662 #: ../src/guestfs-actions.pod:1658 ../fish/guestfish-actions.pod:1305
6663 msgid "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6664 msgstr ""
6665
6666 # type: textblock
6667 #: ../src/guestfs-actions.pod:1664 ../fish/guestfish-actions.pod:1308
6668 msgid "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6669 msgstr ""
6670
6671 # type: =head2
6672 #: ../src/guestfs-actions.pod:1671
6673 msgid "guestfs_get_memsize"
6674 msgstr ""
6675
6676 # type: verbatim
6677 #: ../src/guestfs-actions.pod:1673
6678 #, no-wrap
6679 msgid ""
6680 " int guestfs_get_memsize (guestfs_h *g);\n"
6681 "\n"
6682 msgstr ""
6683
6684 # type: textblock
6685 #: ../src/guestfs-actions.pod:1675 ../fish/guestfish-actions.pod:1319
6686 msgid "This gets the memory size in megabytes allocated to the qemu subprocess."
6687 msgstr ""
6688
6689 # type: textblock
6690 #: ../src/guestfs-actions.pod:1678
6691 msgid ""
6692 "If C<guestfs_set_memsize> was not called on this handle, and if "
6693 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6694 "value for memsize."
6695 msgstr ""
6696
6697 # type: textblock
6698 #: ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1745 ../src/guestfs-actions.pod:4469 ../src/guestfs-actions.pod:4561 ../fish/guestfish-actions.pod:1326 ../fish/guestfish-actions.pod:1377 ../fish/guestfish-actions.pod:3448 ../fish/guestfish-actions.pod:3535
6699 msgid "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6700 msgstr ""
6701
6702 # type: =head2
6703 #: ../src/guestfs-actions.pod:1687
6704 msgid "guestfs_get_network"
6705 msgstr ""
6706
6707 # type: verbatim
6708 #: ../src/guestfs-actions.pod:1689
6709 #, no-wrap
6710 msgid ""
6711 " int guestfs_get_network (guestfs_h *g);\n"
6712 "\n"
6713 msgstr ""
6714
6715 # type: textblock
6716 #: ../src/guestfs-actions.pod:1691 ../fish/guestfish-actions.pod:1333
6717 msgid "This returns the enable network flag."
6718 msgstr ""
6719
6720 # type: =head2
6721 #: ../src/guestfs-actions.pod:1695
6722 msgid "guestfs_get_path"
6723 msgstr ""
6724
6725 # type: verbatim
6726 #: ../src/guestfs-actions.pod:1697
6727 #, no-wrap
6728 msgid ""
6729 " const char *guestfs_get_path (guestfs_h *g);\n"
6730 "\n"
6731 msgstr ""
6732
6733 # type: textblock
6734 #: ../src/guestfs-actions.pod:1699 ../fish/guestfish-actions.pod:1339
6735 msgid "Return the current search path."
6736 msgstr ""
6737
6738 # type: textblock
6739 #: ../src/guestfs-actions.pod:1701 ../fish/guestfish-actions.pod:1341
6740 msgid ""
6741 "This is always non-NULL.  If it wasn't set already, then this will return "
6742 "the default path."
6743 msgstr ""
6744
6745 # type: textblock
6746 #: ../src/guestfs-actions.pod:1704 ../src/guestfs-actions.pod:1727
6747 msgid ""
6748 "This function returns a string, or NULL on error.  The string is owned by "
6749 "the guest handle and must I<not> be freed."
6750 msgstr ""
6751
6752 # type: =head2
6753 #: ../src/guestfs-actions.pod:1707
6754 msgid "guestfs_get_pid"
6755 msgstr ""
6756
6757 # type: verbatim
6758 #: ../src/guestfs-actions.pod:1709
6759 #, no-wrap
6760 msgid ""
6761 " int guestfs_get_pid (guestfs_h *g);\n"
6762 "\n"
6763 msgstr ""
6764
6765 # type: textblock
6766 #: ../src/guestfs-actions.pod:1711 ../fish/guestfish-actions.pod:1350
6767 msgid ""
6768 "Return the process ID of the qemu subprocess.  If there is no qemu "
6769 "subprocess, then this will return an error."
6770 msgstr ""
6771
6772 # type: textblock
6773 #: ../src/guestfs-actions.pod:1714 ../fish/guestfish-actions.pod:1353
6774 msgid "This is an internal call used for debugging and testing."
6775 msgstr ""
6776
6777 # type: =head2
6778 #: ../src/guestfs-actions.pod:1718
6779 msgid "guestfs_get_qemu"
6780 msgstr ""
6781
6782 # type: verbatim
6783 #: ../src/guestfs-actions.pod:1720
6784 #, no-wrap
6785 msgid ""
6786 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6787 "\n"
6788 msgstr ""
6789
6790 # type: textblock
6791 #: ../src/guestfs-actions.pod:1722 ../fish/guestfish-actions.pod:1359
6792 msgid "Return the current qemu binary."
6793 msgstr ""
6794
6795 # type: textblock
6796 #: ../src/guestfs-actions.pod:1724 ../fish/guestfish-actions.pod:1361
6797 msgid ""
6798 "This is always non-NULL.  If it wasn't set already, then this will return "
6799 "the default qemu binary name."
6800 msgstr ""
6801
6802 # type: =head2
6803 #: ../src/guestfs-actions.pod:1730
6804 msgid "guestfs_get_recovery_proc"
6805 msgstr ""
6806
6807 # type: verbatim
6808 #: ../src/guestfs-actions.pod:1732
6809 #, no-wrap
6810 msgid ""
6811 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6812 "\n"
6813 msgstr ""
6814
6815 # type: textblock
6816 #: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1368
6817 msgid "Return the recovery process enabled flag."
6818 msgstr ""
6819
6820 # type: =head2
6821 #: ../src/guestfs-actions.pod:1738
6822 msgid "guestfs_get_selinux"
6823 msgstr ""
6824
6825 # type: verbatim
6826 #: ../src/guestfs-actions.pod:1740
6827 #, no-wrap
6828 msgid ""
6829 " int guestfs_get_selinux (guestfs_h *g);\n"
6830 "\n"
6831 msgstr ""
6832
6833 # type: textblock
6834 #: ../src/guestfs-actions.pod:1742
6835 msgid ""
6836 "This returns the current setting of the selinux flag which is passed to the "
6837 "appliance at boot time.  See C<guestfs_set_selinux>."
6838 msgstr ""
6839
6840 # type: =head2
6841 #: ../src/guestfs-actions.pod:1750
6842 msgid "guestfs_get_state"
6843 msgstr ""
6844
6845 # type: verbatim
6846 #: ../src/guestfs-actions.pod:1752
6847 #, no-wrap
6848 msgid ""
6849 " int guestfs_get_state (guestfs_h *g);\n"
6850 "\n"
6851 msgstr ""
6852
6853 # type: textblock
6854 #: ../src/guestfs-actions.pod:1754 ../fish/guestfish-actions.pod:1384
6855 msgid ""
6856 "This returns the current state as an opaque integer.  This is only useful "
6857 "for printing debug and internal error messages."
6858 msgstr ""
6859
6860 # type: textblock
6861 #: ../src/guestfs-actions.pod:1757 ../src/guestfs-actions.pod:2378 ../src/guestfs-actions.pod:2401 ../src/guestfs-actions.pod:2450 ../src/guestfs-actions.pod:2471 ../fish/guestfish-actions.pod:1387 ../fish/guestfish-actions.pod:1881 ../fish/guestfish-actions.pod:1899 ../fish/guestfish-actions.pod:1937 ../fish/guestfish-actions.pod:1953
6862 msgid "For more information on states, see L<guestfs(3)>."
6863 msgstr ""
6864
6865 # type: =head2
6866 #: ../src/guestfs-actions.pod:1761
6867 msgid "guestfs_get_trace"
6868 msgstr ""
6869
6870 # type: verbatim
6871 #: ../src/guestfs-actions.pod:1763
6872 #, no-wrap
6873 msgid ""
6874 " int guestfs_get_trace (guestfs_h *g);\n"
6875 "\n"
6876 msgstr ""
6877
6878 # type: textblock
6879 #: ../src/guestfs-actions.pod:1765 ../fish/guestfish-actions.pod:1393
6880 msgid "Return the command trace flag."
6881 msgstr ""
6882
6883 # type: =head2
6884 #: ../src/guestfs-actions.pod:1769
6885 msgid "guestfs_get_umask"
6886 msgstr ""
6887
6888 # type: verbatim
6889 #: ../src/guestfs-actions.pod:1771
6890 #, no-wrap
6891 msgid ""
6892 " int guestfs_get_umask (guestfs_h *g);\n"
6893 "\n"
6894 msgstr ""
6895
6896 # type: textblock
6897 #: ../src/guestfs-actions.pod:1773
6898 msgid ""
6899 "Return the current umask.  By default the umask is C<022> unless it has been "
6900 "set by calling C<guestfs_umask>."
6901 msgstr ""
6902
6903 # type: =head2
6904 #: ../src/guestfs-actions.pod:1778
6905 msgid "guestfs_get_verbose"
6906 msgstr ""
6907
6908 # type: verbatim
6909 #: ../src/guestfs-actions.pod:1780
6910 #, no-wrap
6911 msgid ""
6912 " int guestfs_get_verbose (guestfs_h *g);\n"
6913 "\n"
6914 msgstr ""
6915
6916 # type: textblock
6917 #: ../src/guestfs-actions.pod:1782 ../fish/guestfish-actions.pod:1406
6918 msgid "This returns the verbose messages flag."
6919 msgstr ""
6920
6921 # type: =head2
6922 #: ../src/guestfs-actions.pod:1786
6923 msgid "guestfs_getcon"
6924 msgstr ""
6925
6926 # type: verbatim
6927 #: ../src/guestfs-actions.pod:1788
6928 #, no-wrap
6929 msgid ""
6930 " char *guestfs_getcon (guestfs_h *g);\n"
6931 "\n"
6932 msgstr ""
6933
6934 # type: textblock
6935 #: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1412
6936 msgid "This gets the SELinux security context of the daemon."
6937 msgstr ""
6938
6939 # type: textblock
6940 #: ../src/guestfs-actions.pod:1792
6941 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6942 msgstr ""
6943
6944 # type: =head2
6945 #: ../src/guestfs-actions.pod:1798
6946 msgid "guestfs_getxattrs"
6947 msgstr ""
6948
6949 # type: verbatim
6950 #: ../src/guestfs-actions.pod:1800
6951 #, no-wrap
6952 msgid ""
6953 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6954 "\t\tconst char *path);\n"
6955 "\n"
6956 msgstr ""
6957
6958 # type: textblock
6959 #: ../src/guestfs-actions.pod:1803 ../fish/guestfish-actions.pod:1421
6960 msgid "This call lists the extended attributes of the file or directory C<path>."
6961 msgstr ""
6962
6963 # type: textblock
6964 #: ../src/guestfs-actions.pod:1806 ../fish/guestfish-actions.pod:1424
6965 msgid ""
6966 "At the system call level, this is a combination of the L<listxattr(2)> and "
6967 "L<getxattr(2)> calls."
6968 msgstr ""
6969
6970 # type: textblock
6971 #: ../src/guestfs-actions.pod:1809
6972 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6973 msgstr ""
6974
6975 # type: textblock
6976 #: ../src/guestfs-actions.pod:1811 ../src/guestfs-actions.pod:2545 ../src/guestfs-actions.pod:3100
6977 msgid ""
6978 "This function returns a C<struct guestfs_xattr_list *> (see "
6979 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
6980 "must call C<guestfs_free_xattr_list> after use>."
6981 msgstr ""
6982
6983 # type: =head2
6984 #: ../src/guestfs-actions.pod:1816
6985 msgid "guestfs_glob_expand"
6986 msgstr ""
6987
6988 # type: verbatim
6989 #: ../src/guestfs-actions.pod:1818
6990 #, no-wrap
6991 msgid ""
6992 " char **guestfs_glob_expand (guestfs_h *g,\n"
6993 "\t\tconst char *pattern);\n"
6994 "\n"
6995 msgstr ""
6996
6997 # type: textblock
6998 #: ../src/guestfs-actions.pod:1821 ../fish/guestfish-actions.pod:1433
6999 msgid ""
7000 "This command searches for all the pathnames matching C<pattern> according to "
7001 "the wildcard expansion rules used by the shell."
7002 msgstr ""
7003
7004 # type: textblock
7005 #: ../src/guestfs-actions.pod:1825 ../fish/guestfish-actions.pod:1437
7006 msgid "If no paths match, then this returns an empty list (note: not an error)."
7007 msgstr ""
7008
7009 # type: textblock
7010 #: ../src/guestfs-actions.pod:1828 ../fish/guestfish-actions.pod:1440
7011 msgid ""
7012 "It is just a wrapper around the C L<glob(3)> function with flags "
7013 "C<GLOB_MARK|GLOB_BRACE>.  See that manual page for more details."
7014 msgstr ""
7015
7016 # type: =head2
7017 #: ../src/guestfs-actions.pod:1836
7018 msgid "guestfs_grep"
7019 msgstr ""
7020
7021 # type: verbatim
7022 #: ../src/guestfs-actions.pod:1838
7023 #, no-wrap
7024 msgid ""
7025 " char **guestfs_grep (guestfs_h *g,\n"
7026 "\t\tconst char *regex,\n"
7027 "\t\tconst char *path);\n"
7028 "\n"
7029 msgstr ""
7030
7031 # type: textblock
7032 #: ../src/guestfs-actions.pod:1842 ../fish/guestfish-actions.pod:1448
7033 msgid "This calls the external C<grep> program and returns the matching lines."
7034 msgstr ""
7035
7036 # type: =head2
7037 #: ../src/guestfs-actions.pod:1852
7038 msgid "guestfs_grepi"
7039 msgstr ""
7040
7041 # type: verbatim
7042 #: ../src/guestfs-actions.pod:1854
7043 #, no-wrap
7044 msgid ""
7045 " char **guestfs_grepi (guestfs_h *g,\n"
7046 "\t\tconst char *regex,\n"
7047 "\t\tconst char *path);\n"
7048 "\n"
7049 msgstr ""
7050
7051 # type: textblock
7052 #: ../src/guestfs-actions.pod:1858 ../fish/guestfish-actions.pod:1458
7053 msgid "This calls the external C<grep -i> program and returns the matching lines."
7054 msgstr ""
7055
7056 # type: =head2
7057 #: ../src/guestfs-actions.pod:1868
7058 msgid "guestfs_grub_install"
7059 msgstr ""
7060
7061 # type: verbatim
7062 #: ../src/guestfs-actions.pod:1870
7063 #, no-wrap
7064 msgid ""
7065 " int guestfs_grub_install (guestfs_h *g,\n"
7066 "\t\tconst char *root,\n"
7067 "\t\tconst char *device);\n"
7068 "\n"
7069 msgstr ""
7070
7071 # type: textblock
7072 #: ../src/guestfs-actions.pod:1874 ../fish/guestfish-actions.pod:1468
7073 msgid ""
7074 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
7075 "the root directory being C<root>."
7076 msgstr ""
7077
7078 # type: textblock
7079 #: ../src/guestfs-actions.pod:1877 ../fish/guestfish-actions.pod:1471
7080 msgid ""
7081 "Note: If grub-install reports the error \"No suitable drive was found in the "
7082 "generated device map.\" it may be that you need to create a "
7083 "C</boot/grub/device.map> file first that contains the mapping between grub "
7084 "device names and Linux device names.  It is usually sufficient to create a "
7085 "file containing:"
7086 msgstr ""
7087
7088 # type: verbatim
7089 #: ../src/guestfs-actions.pod:1884 ../fish/guestfish-actions.pod:1478
7090 #, no-wrap
7091 msgid ""
7092 " (hd0) /dev/vda\n"
7093 "\n"
7094 msgstr ""
7095
7096 # type: textblock
7097 #: ../src/guestfs-actions.pod:1886 ../fish/guestfish-actions.pod:1480
7098 msgid "replacing C</dev/vda> with the name of the installation device."
7099 msgstr ""
7100
7101 # type: =head2
7102 #: ../src/guestfs-actions.pod:1890
7103 msgid "guestfs_head"
7104 msgstr ""
7105
7106 # type: verbatim
7107 #: ../src/guestfs-actions.pod:1892
7108 #, no-wrap
7109 msgid ""
7110 " char **guestfs_head (guestfs_h *g,\n"
7111 "\t\tconst char *path);\n"
7112 "\n"
7113 msgstr ""
7114
7115 # type: textblock
7116 #: ../src/guestfs-actions.pod:1895 ../fish/guestfish-actions.pod:1486
7117 msgid ""
7118 "This command returns up to the first 10 lines of a file as a list of "
7119 "strings."
7120 msgstr ""
7121
7122 # type: =head2
7123 #: ../src/guestfs-actions.pod:1905
7124 msgid "guestfs_head_n"
7125 msgstr ""
7126
7127 # type: verbatim
7128 #: ../src/guestfs-actions.pod:1907
7129 #, no-wrap
7130 msgid ""
7131 " char **guestfs_head_n (guestfs_h *g,\n"
7132 "\t\tint nrlines,\n"
7133 "\t\tconst char *path);\n"
7134 "\n"
7135 msgstr ""
7136
7137 # type: textblock
7138 #: ../src/guestfs-actions.pod:1911 ../fish/guestfish-actions.pod:1496
7139 msgid ""
7140 "If the parameter C<nrlines> is a positive number, this returns the first "
7141 "C<nrlines> lines of the file C<path>."
7142 msgstr ""
7143
7144 # type: textblock
7145 #: ../src/guestfs-actions.pod:1914 ../fish/guestfish-actions.pod:1499
7146 msgid ""
7147 "If the parameter C<nrlines> is a negative number, this returns lines from "
7148 "the file C<path>, excluding the last C<nrlines> lines."
7149 msgstr ""
7150
7151 # type: textblock
7152 #: ../src/guestfs-actions.pod:1917 ../src/guestfs-actions.pod:5017 ../fish/guestfish-actions.pod:1502 ../fish/guestfish-actions.pod:3881
7153 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
7154 msgstr ""
7155
7156 # type: =head2
7157 #: ../src/guestfs-actions.pod:1926
7158 msgid "guestfs_hexdump"
7159 msgstr ""
7160
7161 # type: verbatim
7162 #: ../src/guestfs-actions.pod:1928
7163 #, no-wrap
7164 msgid ""
7165 " char *guestfs_hexdump (guestfs_h *g,\n"
7166 "\t\tconst char *path);\n"
7167 "\n"
7168 msgstr ""
7169
7170 # type: textblock
7171 #: ../src/guestfs-actions.pod:1931 ../fish/guestfish-actions.pod:1511
7172 msgid ""
7173 "This runs C<hexdump -C> on the given C<path>.  The result is the "
7174 "human-readable, canonical hex dump of the file."
7175 msgstr ""
7176
7177 # type: =head2
7178 #: ../src/guestfs-actions.pod:1940
7179 msgid "guestfs_initrd_cat"
7180 msgstr ""
7181
7182 # type: verbatim
7183 #: ../src/guestfs-actions.pod:1942
7184 #, no-wrap
7185 msgid ""
7186 " char *guestfs_initrd_cat (guestfs_h *g,\n"
7187 "\t\tconst char *initrdpath,\n"
7188 "\t\tconst char *filename,\n"
7189 "\t\tsize_t *size_r);\n"
7190 "\n"
7191 msgstr ""
7192
7193 # type: textblock
7194 #: ../src/guestfs-actions.pod:1947 ../fish/guestfish-actions.pod:1521
7195 msgid ""
7196 "This command unpacks the file C<filename> from the initrd file called "
7197 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
7198 "character."
7199 msgstr ""
7200
7201 # type: textblock
7202 #: ../src/guestfs-actions.pod:1951 ../fish/guestfish-actions.pod:1525
7203 msgid ""
7204 "For example, in guestfish you could use the following command to examine the "
7205 "boot script (usually called C</init>)  contained in a Linux initrd or "
7206 "initramfs image:"
7207 msgstr ""
7208
7209 # type: verbatim
7210 #: ../src/guestfs-actions.pod:1955 ../fish/guestfish-actions.pod:1529
7211 #, no-wrap
7212 msgid ""
7213 " initrd-cat /boot/initrd-<version>.img init\n"
7214 "\n"
7215 msgstr ""
7216
7217 # type: textblock
7218 #: ../src/guestfs-actions.pod:1957
7219 msgid "See also C<guestfs_initrd_list>."
7220 msgstr ""
7221
7222 # type: textblock
7223 #: ../src/guestfs-actions.pod:1959 ../src/guestfs-actions.pod:3929 ../src/guestfs-actions.pod:3952 ../src/guestfs-actions.pod:4104
7224 msgid ""
7225 "This function returns a buffer, or NULL on error.  The size of the returned "
7226 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
7227 "after use>."
7228 msgstr ""
7229
7230 # type: =head2
7231 #: ../src/guestfs-actions.pod:1966
7232 msgid "guestfs_initrd_list"
7233 msgstr ""
7234
7235 # type: verbatim
7236 #: ../src/guestfs-actions.pod:1968
7237 #, no-wrap
7238 msgid ""
7239 " char **guestfs_initrd_list (guestfs_h *g,\n"
7240 "\t\tconst char *path);\n"
7241 "\n"
7242 msgstr ""
7243
7244 # type: textblock
7245 #: ../src/guestfs-actions.pod:1971 ../fish/guestfish-actions.pod:1540
7246 msgid "This command lists out files contained in an initrd."
7247 msgstr ""
7248
7249 # type: textblock
7250 #: ../src/guestfs-actions.pod:1973 ../fish/guestfish-actions.pod:1542
7251 msgid ""
7252 "The files are listed without any initial C</> character.  The files are "
7253 "listed in the order they appear (not necessarily alphabetical).  Directory "
7254 "names are listed as separate items."
7255 msgstr ""
7256
7257 # type: textblock
7258 #: ../src/guestfs-actions.pod:1977 ../fish/guestfish-actions.pod:1546
7259 msgid ""
7260 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
7261 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
7262 "files)."
7263 msgstr ""
7264
7265 # type: =head2
7266 #: ../src/guestfs-actions.pod:1985
7267 msgid "guestfs_inotify_add_watch"
7268 msgstr ""
7269
7270 # type: verbatim
7271 #: ../src/guestfs-actions.pod:1987
7272 #, no-wrap
7273 msgid ""
7274 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
7275 "\t\tconst char *path,\n"
7276 "\t\tint mask);\n"
7277 "\n"
7278 msgstr ""
7279
7280 # type: textblock
7281 #: ../src/guestfs-actions.pod:1991 ../fish/guestfish-actions.pod:1554
7282 msgid "Watch C<path> for the events listed in C<mask>."
7283 msgstr ""
7284
7285 # type: textblock
7286 #: ../src/guestfs-actions.pod:1993 ../fish/guestfish-actions.pod:1556
7287 msgid ""
7288 "Note that if C<path> is a directory then events within that directory are "
7289 "watched, but this does I<not> happen recursively (in subdirectories)."
7290 msgstr ""
7291
7292 # type: textblock
7293 #: ../src/guestfs-actions.pod:1997 ../fish/guestfish-actions.pod:1560
7294 msgid ""
7295 "Note for non-C or non-Linux callers: the inotify events are defined by the "
7296 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
7297 msgstr ""
7298
7299 # type: =head2
7300 #: ../src/guestfs-actions.pod:2003
7301 msgid "guestfs_inotify_close"
7302 msgstr ""
7303
7304 # type: verbatim
7305 #: ../src/guestfs-actions.pod:2005
7306 #, no-wrap
7307 msgid ""
7308 " int guestfs_inotify_close (guestfs_h *g);\n"
7309 "\n"
7310 msgstr ""
7311
7312 # type: textblock
7313 #: ../src/guestfs-actions.pod:2007 ../fish/guestfish-actions.pod:1568
7314 msgid ""
7315 "This closes the inotify handle which was previously opened by inotify_init.  "
7316 "It removes all watches, throws away any pending events, and deallocates all "
7317 "resources."
7318 msgstr ""
7319
7320 # type: =head2
7321 #: ../src/guestfs-actions.pod:2013
7322 msgid "guestfs_inotify_files"
7323 msgstr ""
7324
7325 # type: verbatim
7326 #: ../src/guestfs-actions.pod:2015
7327 #, no-wrap
7328 msgid ""
7329 " char **guestfs_inotify_files (guestfs_h *g);\n"
7330 "\n"
7331 msgstr ""
7332
7333 # type: textblock
7334 #: ../src/guestfs-actions.pod:2017
7335 msgid ""
7336 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
7337 "returns a list of pathnames of objects that were touched.  The returned "
7338 "pathnames are sorted and deduplicated."
7339 msgstr ""
7340
7341 # type: =head2
7342 #: ../src/guestfs-actions.pod:2025
7343 msgid "guestfs_inotify_init"
7344 msgstr ""
7345
7346 # type: verbatim
7347 #: ../src/guestfs-actions.pod:2027
7348 #, no-wrap
7349 msgid ""
7350 " int guestfs_inotify_init (guestfs_h *g,\n"
7351 "\t\tint maxevents);\n"
7352 "\n"
7353 msgstr ""
7354
7355 # type: textblock
7356 #: ../src/guestfs-actions.pod:2030 ../fish/guestfish-actions.pod:1584
7357 msgid ""
7358 "This command creates a new inotify handle.  The inotify subsystem can be "
7359 "used to notify events which happen to objects in the guest filesystem."
7360 msgstr ""
7361
7362 # type: textblock
7363 #: ../src/guestfs-actions.pod:2034
7364 msgid ""
7365 "C<maxevents> is the maximum number of events which will be queued up between "
7366 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
7367 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
7368 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
7369 "throws away events, but records the fact that it threw them away by setting "
7370 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
7371 "C<guestfs_inotify_read>)."
7372 msgstr ""
7373
7374 # type: textblock
7375 #: ../src/guestfs-actions.pod:2044
7376 msgid ""
7377 "Before any events are generated, you have to add some watches to the "
7378 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
7379 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
7380 msgstr ""
7381
7382 # type: textblock
7383 #: ../src/guestfs-actions.pod:2050
7384 msgid ""
7385 "Queued up events should be read periodically by calling "
7386 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
7387 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
7388 "often enough then you risk the internal queue overflowing."
7389 msgstr ""
7390
7391 # type: textblock
7392 #: ../src/guestfs-actions.pod:2057
7393 msgid ""
7394 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
7395 "This also removes any watches automatically."
7396 msgstr ""
7397
7398 # type: textblock
7399 #: ../src/guestfs-actions.pod:2061 ../fish/guestfish-actions.pod:1615
7400 msgid ""
7401 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
7402 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
7403 "that there is one global inotify handle per libguestfs instance."
7404 msgstr ""
7405
7406 # type: =head2
7407 #: ../src/guestfs-actions.pod:2068
7408 msgid "guestfs_inotify_read"
7409 msgstr ""
7410
7411 # type: verbatim
7412 #: ../src/guestfs-actions.pod:2070
7413 #, no-wrap
7414 msgid ""
7415 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
7416 "\n"
7417 msgstr ""
7418
7419 # type: textblock
7420 #: ../src/guestfs-actions.pod:2072 ../fish/guestfish-actions.pod:1624
7421 msgid ""
7422 "Return the complete queue of events that have happened since the previous "
7423 "read call."
7424 msgstr ""
7425
7426 # type: textblock
7427 #: ../src/guestfs-actions.pod:2075 ../fish/guestfish-actions.pod:1627
7428 msgid "If no events have happened, this returns an empty list."
7429 msgstr ""
7430
7431 # type: textblock
7432 #: ../src/guestfs-actions.pod:2077 ../fish/guestfish-actions.pod:1629
7433 msgid ""
7434 "I<Note>: In order to make sure that all events have been read, you must call "
7435 "this function repeatedly until it returns an empty list.  The reason is that "
7436 "the call will read events up to the maximum appliance-to-host message size "
7437 "and leave remaining events in the queue."
7438 msgstr ""
7439
7440 # type: textblock
7441 #: ../src/guestfs-actions.pod:2083
7442 msgid ""
7443 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7444 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7445 "must call C<guestfs_free_inotify_event_list> after use>."
7446 msgstr ""
7447
7448 # type: =head2
7449 #: ../src/guestfs-actions.pod:2088
7450 msgid "guestfs_inotify_rm_watch"
7451 msgstr ""
7452
7453 # type: verbatim
7454 #: ../src/guestfs-actions.pod:2090
7455 #, no-wrap
7456 msgid ""
7457 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7458 "\t\tint wd);\n"
7459 "\n"
7460 msgstr ""
7461
7462 # type: textblock
7463 #: ../src/guestfs-actions.pod:2093
7464 msgid ""
7465 "Remove a previously defined inotify watch.  See "
7466 "C<guestfs_inotify_add_watch>."
7467 msgstr ""
7468
7469 # type: =head2
7470 #: ../src/guestfs-actions.pod:2098
7471 msgid "guestfs_inspect_get_arch"
7472 msgstr ""
7473
7474 # type: verbatim
7475 #: ../src/guestfs-actions.pod:2100
7476 #, no-wrap
7477 msgid ""
7478 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7479 "\t\tconst char *root);\n"
7480 "\n"
7481 msgstr ""
7482
7483 # type: textblock
7484 #: ../src/guestfs-actions.pod:2103 ../src/guestfs-actions.pod:2123 ../src/guestfs-actions.pod:2173 ../src/guestfs-actions.pod:2196 ../src/guestfs-actions.pod:2220 ../src/guestfs-actions.pod:2238 ../src/guestfs-actions.pod:2268 ../src/guestfs-actions.pod:2289
7485 msgid ""
7486 "This function should only be called with a root device string as returned by "
7487 "C<guestfs_inspect_os>."
7488 msgstr ""
7489
7490 # type: textblock
7491 #: ../src/guestfs-actions.pod:2106
7492 msgid ""
7493 "This returns the architecture of the inspected operating system.  The "
7494 "possible return values are listed under C<guestfs_file_architecture>."
7495 msgstr ""
7496
7497 # type: textblock
7498 #: ../src/guestfs-actions.pod:2110 ../fish/guestfish-actions.pod:1653
7499 msgid ""
7500 "If the architecture could not be determined, then the string C<unknown> is "
7501 "returned."
7502 msgstr ""
7503
7504 # type: textblock
7505 #: ../src/guestfs-actions.pod:2113 ../src/guestfs-actions.pod:2163 ../src/guestfs-actions.pod:2211 ../src/guestfs-actions.pod:2279 ../src/guestfs-actions.pod:2314 ../src/guestfs-actions.pod:2351 ../fish/guestfish-actions.pod:1656 ../fish/guestfish-actions.pod:1702 ../fish/guestfish-actions.pod:1741 ../fish/guestfish-actions.pod:1796 ../fish/guestfish-actions.pod:1827 ../fish/guestfish-actions.pod:1861
7506 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7507 msgstr ""
7508
7509 # type: =head2
7510 #: ../src/guestfs-actions.pod:2118
7511 msgid "guestfs_inspect_get_distro"
7512 msgstr ""
7513
7514 # type: verbatim
7515 #: ../src/guestfs-actions.pod:2120
7516 #, no-wrap
7517 msgid ""
7518 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7519 "\t\tconst char *root);\n"
7520 "\n"
7521 msgstr ""
7522
7523 # type: textblock
7524 #: ../src/guestfs-actions.pod:2126 ../fish/guestfish-actions.pod:1665
7525 msgid "This returns the distro (distribution) of the inspected operating system."
7526 msgstr ""
7527
7528 # type: textblock
7529 #: ../src/guestfs-actions.pod:2129 ../fish/guestfish-actions.pod:1668
7530 msgid "Currently defined distros are:"
7531 msgstr ""
7532
7533 # type: =item
7534 #: ../src/guestfs-actions.pod:2133 ../fish/guestfish-actions.pod:1672
7535 msgid "\"debian\""
7536 msgstr ""
7537
7538 # type: textblock
7539 #: ../src/guestfs-actions.pod:2135 ../fish/guestfish-actions.pod:1674
7540 msgid "Debian or a Debian-derived distro such as Ubuntu."
7541 msgstr ""
7542
7543 # type: =item
7544 #: ../src/guestfs-actions.pod:2137 ../fish/guestfish-actions.pod:1676
7545 msgid "\"fedora\""
7546 msgstr ""
7547
7548 # type: textblock
7549 #: ../src/guestfs-actions.pod:2139 ../fish/guestfish-actions.pod:1678
7550 msgid "Fedora."
7551 msgstr ""
7552
7553 # type: =item
7554 #: ../src/guestfs-actions.pod:2141 ../fish/guestfish-actions.pod:1680
7555 msgid "\"redhat-based\""
7556 msgstr ""
7557
7558 # type: textblock
7559 #: ../src/guestfs-actions.pod:2143 ../fish/guestfish-actions.pod:1682
7560 msgid "Some Red Hat-derived distro."
7561 msgstr ""
7562
7563 # type: =item
7564 #: ../src/guestfs-actions.pod:2145 ../fish/guestfish-actions.pod:1684
7565 msgid "\"rhel\""
7566 msgstr ""
7567
7568 # type: textblock
7569 #: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1686
7570 msgid "Red Hat Enterprise Linux and some derivatives."
7571 msgstr ""
7572
7573 # type: =item
7574 #: ../src/guestfs-actions.pod:2149 ../src/guestfs-actions.pod:2301 ../fish/guestfish-actions.pod:1688 ../fish/guestfish-actions.pod:1814
7575 msgid "\"windows\""
7576 msgstr ""
7577
7578 # type: textblock
7579 #: ../src/guestfs-actions.pod:2151 ../fish/guestfish-actions.pod:1690
7580 msgid ""
7581 "Windows does not have distributions.  This string is returned if the OS type "
7582 "is Windows."
7583 msgstr ""
7584
7585 # type: =item
7586 #: ../src/guestfs-actions.pod:2154 ../src/guestfs-actions.pod:2305 ../fish/guestfish-actions.pod:1693 ../fish/guestfish-actions.pod:1818
7587 msgid "\"unknown\""
7588 msgstr ""
7589
7590 # type: textblock
7591 #: ../src/guestfs-actions.pod:2156 ../fish/guestfish-actions.pod:1695
7592 msgid "The distro could not be determined."
7593 msgstr ""
7594
7595 # type: textblock
7596 #: ../src/guestfs-actions.pod:2160 ../src/guestfs-actions.pod:2311 ../fish/guestfish-actions.pod:1699 ../fish/guestfish-actions.pod:1824
7597 msgid ""
7598 "Future versions of libguestfs may return other strings here.  The caller "
7599 "should be prepared to handle any string."
7600 msgstr ""
7601
7602 # type: =head2
7603 #: ../src/guestfs-actions.pod:2168
7604 msgid "guestfs_inspect_get_filesystems"
7605 msgstr ""
7606
7607 # type: verbatim
7608 #: ../src/guestfs-actions.pod:2170
7609 #, no-wrap
7610 msgid ""
7611 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7612 "\t\tconst char *root);\n"
7613 "\n"
7614 msgstr ""
7615
7616 # type: textblock
7617 #: ../src/guestfs-actions.pod:2176 ../fish/guestfish-actions.pod:1711
7618 msgid ""
7619 "This returns a list of all the filesystems that we think are associated with "
7620 "this operating system.  This includes the root filesystem, other ordinary "
7621 "filesystems, and non-mounted devices like swap partitions."
7622 msgstr ""
7623
7624 # type: textblock
7625 #: ../src/guestfs-actions.pod:2181 ../fish/guestfish-actions.pod:1716
7626 msgid ""
7627 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7628 "to be shared between operating systems."
7629 msgstr ""
7630
7631 # type: textblock
7632 #: ../src/guestfs-actions.pod:2184
7633 msgid ""
7634 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7635 "C<guestfs_inspect_get_mountpoints>."
7636 msgstr ""
7637
7638 # type: =head2
7639 #: ../src/guestfs-actions.pod:2191
7640 msgid "guestfs_inspect_get_major_version"
7641 msgstr ""
7642
7643 # type: verbatim
7644 #: ../src/guestfs-actions.pod:2193
7645 #, no-wrap
7646 msgid ""
7647 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7648 "\t\tconst char *root);\n"
7649 "\n"
7650 msgstr ""
7651
7652 # type: textblock
7653 #: ../src/guestfs-actions.pod:2199 ../fish/guestfish-actions.pod:1729
7654 msgid "This returns the major version number of the inspected operating system."
7655 msgstr ""
7656
7657 # type: textblock
7658 #: ../src/guestfs-actions.pod:2202 ../fish/guestfish-actions.pod:1732
7659 msgid ""
7660 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7661 "popular public names used by the operating system.  Notably the operating "
7662 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7663 "1).  You can find out the real versions corresponding to releases of Windows "
7664 "by consulting Wikipedia or MSDN."
7665 msgstr ""
7666
7667 # type: textblock
7668 #: ../src/guestfs-actions.pod:2209 ../src/guestfs-actions.pod:2226 ../fish/guestfish-actions.pod:1739 ../fish/guestfish-actions.pod:1753
7669 msgid "If the version could not be determined, then C<0> is returned."
7670 msgstr ""
7671
7672 # type: =head2
7673 #: ../src/guestfs-actions.pod:2215
7674 msgid "guestfs_inspect_get_minor_version"
7675 msgstr ""
7676
7677 # type: verbatim
7678 #: ../src/guestfs-actions.pod:2217
7679 #, no-wrap
7680 msgid ""
7681 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7682 "\t\tconst char *root);\n"
7683 "\n"
7684 msgstr ""
7685
7686 # type: textblock
7687 #: ../src/guestfs-actions.pod:2223 ../fish/guestfish-actions.pod:1750
7688 msgid "This returns the minor version number of the inspected operating system."
7689 msgstr ""
7690
7691 # type: textblock
7692 #: ../src/guestfs-actions.pod:2228
7693 msgid ""
7694 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7695 "C<guestfs_inspect_get_major_version>."
7696 msgstr ""
7697
7698 # type: =head2
7699 #: ../src/guestfs-actions.pod:2233
7700 msgid "guestfs_inspect_get_mountpoints"
7701 msgstr ""
7702
7703 # type: verbatim
7704 #: ../src/guestfs-actions.pod:2235
7705 #, no-wrap
7706 msgid ""
7707 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7708 "\t\tconst char *root);\n"
7709 "\n"
7710 msgstr ""
7711
7712 # type: textblock
7713 #: ../src/guestfs-actions.pod:2241 ../fish/guestfish-actions.pod:1765
7714 msgid ""
7715 "This returns a hash of where we think the filesystems associated with this "
7716 "operating system should be mounted.  Callers should note that this is at "
7717 "best an educated guess made by reading configuration files such as "
7718 "C</etc/fstab>."
7719 msgstr ""
7720
7721 # type: textblock
7722 #: ../src/guestfs-actions.pod:2246 ../fish/guestfish-actions.pod:1770
7723 msgid ""
7724 "Each element in the returned hashtable has a key which is the path of the "
7725 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7726 "mounted there (eg. C</dev/sda1>)."
7727 msgstr ""
7728
7729 # type: textblock
7730 #: ../src/guestfs-actions.pod:2251 ../fish/guestfish-actions.pod:1775
7731 msgid "Non-mounted devices such as swap devices are I<not> returned in this list."
7732 msgstr ""
7733
7734 # type: textblock
7735 #: ../src/guestfs-actions.pod:2254
7736 msgid ""
7737 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7738 "C<guestfs_inspect_get_filesystems>."
7739 msgstr ""
7740
7741 # type: textblock
7742 #: ../src/guestfs-actions.pod:2257 ../src/guestfs-actions.pod:2597 ../src/guestfs-actions.pod:3551 ../src/guestfs-actions.pod:5134
7743 msgid ""
7744 "This function returns a NULL-terminated array of strings, or NULL if there "
7745 "was an error.  The array of strings will always have length C<2n+1>, where "
7746 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7747 "caller must free the strings and the array after use>."
7748 msgstr ""
7749
7750 # type: =head2
7751 #: ../src/guestfs-actions.pod:2263
7752 msgid "guestfs_inspect_get_product_name"
7753 msgstr ""
7754
7755 # type: verbatim
7756 #: ../src/guestfs-actions.pod:2265
7757 #, no-wrap
7758 msgid ""
7759 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7760 "\t\tconst char *root);\n"
7761 "\n"
7762 msgstr ""
7763
7764 # type: textblock
7765 #: ../src/guestfs-actions.pod:2271 ../fish/guestfish-actions.pod:1788
7766 msgid ""
7767 "This returns the product name of the inspected operating system.  The "
7768 "product name is generally some freeform string which can be displayed to the "
7769 "user, but should not be parsed by programs."
7770 msgstr ""
7771
7772 # type: textblock
7773 #: ../src/guestfs-actions.pod:2276 ../fish/guestfish-actions.pod:1793
7774 msgid ""
7775 "If the product name could not be determined, then the string C<unknown> is "
7776 "returned."
7777 msgstr ""
7778
7779 # type: =head2
7780 #: ../src/guestfs-actions.pod:2284
7781 msgid "guestfs_inspect_get_type"
7782 msgstr ""
7783
7784 # type: verbatim
7785 #: ../src/guestfs-actions.pod:2286
7786 #, no-wrap
7787 msgid ""
7788 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7789 "\t\tconst char *root);\n"
7790 "\n"
7791 msgstr ""
7792
7793 # type: textblock
7794 #: ../src/guestfs-actions.pod:2292 ../fish/guestfish-actions.pod:1805
7795 msgid ""
7796 "This returns the type of the inspected operating system.  Currently defined "
7797 "types are:"
7798 msgstr ""
7799
7800 # type: =item
7801 #: ../src/guestfs-actions.pod:2297 ../fish/guestfish-actions.pod:1810
7802 msgid "\"linux\""
7803 msgstr ""
7804
7805 # type: textblock
7806 #: ../src/guestfs-actions.pod:2299 ../fish/guestfish-actions.pod:1812
7807 msgid "Any Linux-based operating system."
7808 msgstr ""
7809
7810 # type: textblock
7811 #: ../src/guestfs-actions.pod:2303 ../fish/guestfish-actions.pod:1816
7812 msgid "Any Microsoft Windows operating system."
7813 msgstr ""
7814
7815 # type: textblock
7816 #: ../src/guestfs-actions.pod:2307 ../fish/guestfish-actions.pod:1820
7817 msgid "The operating system type could not be determined."
7818 msgstr ""
7819
7820 # type: =head2
7821 #: ../src/guestfs-actions.pod:2319
7822 msgid "guestfs_inspect_os"
7823 msgstr ""
7824
7825 # type: verbatim
7826 #: ../src/guestfs-actions.pod:2321
7827 #, no-wrap
7828 msgid ""
7829 " char **guestfs_inspect_os (guestfs_h *g);\n"
7830 "\n"
7831 msgstr ""
7832
7833 # type: textblock
7834 #: ../src/guestfs-actions.pod:2323 ../fish/guestfish-actions.pod:1833
7835 msgid ""
7836 "This function uses other libguestfs functions and certain heuristics to "
7837 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7838 "for operating systems."
7839 msgstr ""
7840
7841 # type: textblock
7842 #: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1837
7843 msgid "The list returned is empty if no operating systems were found."
7844 msgstr ""
7845
7846 # type: textblock
7847 #: ../src/guestfs-actions.pod:2329 ../fish/guestfish-actions.pod:1839
7848 msgid ""
7849 "If one operating system was found, then this returns a list with a single "
7850 "element, which is the name of the root filesystem of this operating system.  "
7851 "It is also possible for this function to return a list containing more than "
7852 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7853 "element being the root filesystem of one of the operating systems."
7854 msgstr ""
7855
7856 # type: textblock
7857 #: ../src/guestfs-actions.pod:2336
7858 msgid ""
7859 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7860 "functions in order to query further information about each operating system, "
7861 "such as the name and version."
7862 msgstr ""
7863
7864 # type: textblock
7865 #: ../src/guestfs-actions.pod:2341
7866 msgid ""
7867 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7868 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7869 "the contents.  This should be called with no disks currently mounted.  The "
7870 "function may also use Augeas, so any existing Augeas handle will be closed."
7871 msgstr ""
7872
7873 # type: textblock
7874 #: ../src/guestfs-actions.pod:2347 ../fish/guestfish-actions.pod:1857
7875 msgid ""
7876 "This function cannot decrypt encrypted disks.  The caller must do that first "
7877 "(supplying the necessary keys) if the disk is encrypted."
7878 msgstr ""
7879
7880 # type: textblock
7881 #: ../src/guestfs-actions.pod:2353 ../src/guestfs-actions.pod:2558 ../src/guestfs-actions.pod:2614
7882 msgid "See also C<guestfs_list_filesystems>."
7883 msgstr ""
7884
7885 # type: =head2
7886 #: ../src/guestfs-actions.pod:2359
7887 msgid "guestfs_is_blockdev"
7888 msgstr ""
7889
7890 # type: verbatim
7891 #: ../src/guestfs-actions.pod:2361
7892 #, no-wrap
7893 msgid ""
7894 " int guestfs_is_blockdev (guestfs_h *g,\n"
7895 "\t\tconst char *path);\n"
7896 "\n"
7897 msgstr ""
7898
7899 # type: textblock
7900 #: ../src/guestfs-actions.pod:2364 ../fish/guestfish-actions.pod:1869
7901 msgid ""
7902 "This returns C<true> if and only if there is a block device with the given "
7903 "C<path> name."
7904 msgstr ""
7905
7906 # type: textblock
7907 #: ../src/guestfs-actions.pod:2367 ../src/guestfs-actions.pod:2390 ../src/guestfs-actions.pod:2414 ../src/guestfs-actions.pod:2426 ../src/guestfs-actions.pod:2439 ../src/guestfs-actions.pod:2483 ../src/guestfs-actions.pod:2495
7908 msgid "See also C<guestfs_stat>."
7909 msgstr ""
7910
7911 # type: =head2
7912 #: ../src/guestfs-actions.pod:2371
7913 msgid "guestfs_is_busy"
7914 msgstr ""
7915
7916 # type: verbatim
7917 #: ../src/guestfs-actions.pod:2373
7918 #, no-wrap
7919 msgid ""
7920 " int guestfs_is_busy (guestfs_h *g);\n"
7921 "\n"
7922 msgstr ""
7923
7924 # type: textblock
7925 #: ../src/guestfs-actions.pod:2375 ../fish/guestfish-actions.pod:1878
7926 msgid ""
7927 "This returns true iff this handle is busy processing a command (in the "
7928 "C<BUSY> state)."
7929 msgstr ""
7930
7931 # type: =head2
7932 #: ../src/guestfs-actions.pod:2382
7933 msgid "guestfs_is_chardev"
7934 msgstr ""
7935
7936 # type: verbatim
7937 #: ../src/guestfs-actions.pod:2384
7938 #, no-wrap
7939 msgid ""
7940 " int guestfs_is_chardev (guestfs_h *g,\n"
7941 "\t\tconst char *path);\n"
7942 "\n"
7943 msgstr ""
7944
7945 # type: textblock
7946 #: ../src/guestfs-actions.pod:2387 ../fish/guestfish-actions.pod:1887
7947 msgid ""
7948 "This returns C<true> if and only if there is a character device with the "
7949 "given C<path> name."
7950 msgstr ""
7951
7952 # type: =head2
7953 #: ../src/guestfs-actions.pod:2394
7954 msgid "guestfs_is_config"
7955 msgstr ""
7956
7957 # type: verbatim
7958 #: ../src/guestfs-actions.pod:2396
7959 #, no-wrap
7960 msgid ""
7961 " int guestfs_is_config (guestfs_h *g);\n"
7962 "\n"
7963 msgstr ""
7964
7965 # type: textblock
7966 #: ../src/guestfs-actions.pod:2398 ../fish/guestfish-actions.pod:1896
7967 msgid ""
7968 "This returns true iff this handle is being configured (in the C<CONFIG> "
7969 "state)."
7970 msgstr ""
7971
7972 # type: =head2
7973 #: ../src/guestfs-actions.pod:2405
7974 msgid "guestfs_is_dir"
7975 msgstr ""
7976
7977 # type: verbatim
7978 #: ../src/guestfs-actions.pod:2407
7979 #, no-wrap
7980 msgid ""
7981 " int guestfs_is_dir (guestfs_h *g,\n"
7982 "\t\tconst char *path);\n"
7983 "\n"
7984 msgstr ""
7985
7986 # type: textblock
7987 #: ../src/guestfs-actions.pod:2410 ../fish/guestfish-actions.pod:1905
7988 msgid ""
7989 "This returns C<true> if and only if there is a directory with the given "
7990 "C<path> name.  Note that it returns false for other objects like files."
7991 msgstr ""
7992
7993 # type: =head2
7994 #: ../src/guestfs-actions.pod:2418
7995 msgid "guestfs_is_fifo"
7996 msgstr ""
7997
7998 # type: verbatim
7999 #: ../src/guestfs-actions.pod:2420
8000 #, no-wrap
8001 msgid ""
8002 " int guestfs_is_fifo (guestfs_h *g,\n"
8003 "\t\tconst char *path);\n"
8004 "\n"
8005 msgstr ""
8006
8007 # type: textblock
8008 #: ../src/guestfs-actions.pod:2423 ../fish/guestfish-actions.pod:1915
8009 msgid ""
8010 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
8011 "given C<path> name."
8012 msgstr ""
8013
8014 # type: =head2
8015 #: ../src/guestfs-actions.pod:2430
8016 msgid "guestfs_is_file"
8017 msgstr ""
8018
8019 # type: verbatim
8020 #: ../src/guestfs-actions.pod:2432
8021 #, no-wrap
8022 msgid ""
8023 " int guestfs_is_file (guestfs_h *g,\n"
8024 "\t\tconst char *path);\n"
8025 "\n"
8026 msgstr ""
8027
8028 # type: textblock
8029 #: ../src/guestfs-actions.pod:2435 ../fish/guestfish-actions.pod:1924
8030 msgid ""
8031 "This returns C<true> if and only if there is a regular file with the given "
8032 "C<path> name.  Note that it returns false for other objects like "
8033 "directories."
8034 msgstr ""
8035
8036 # type: =head2
8037 #: ../src/guestfs-actions.pod:2443
8038 msgid "guestfs_is_launching"
8039 msgstr ""
8040
8041 # type: verbatim
8042 #: ../src/guestfs-actions.pod:2445
8043 #, no-wrap
8044 msgid ""
8045 " int guestfs_is_launching (guestfs_h *g);\n"
8046 "\n"
8047 msgstr ""
8048
8049 # type: textblock
8050 #: ../src/guestfs-actions.pod:2447 ../fish/guestfish-actions.pod:1934
8051 msgid ""
8052 "This returns true iff this handle is launching the subprocess (in the "
8053 "C<LAUNCHING> state)."
8054 msgstr ""
8055
8056 # type: =head2
8057 #: ../src/guestfs-actions.pod:2454
8058 msgid "guestfs_is_lv"
8059 msgstr ""
8060
8061 # type: verbatim
8062 #: ../src/guestfs-actions.pod:2456
8063 #, no-wrap
8064 msgid ""
8065 " int guestfs_is_lv (guestfs_h *g,\n"
8066 "\t\tconst char *device);\n"
8067 "\n"
8068 msgstr ""
8069
8070 # type: textblock
8071 #: ../src/guestfs-actions.pod:2459 ../fish/guestfish-actions.pod:1943
8072 msgid ""
8073 "This command tests whether C<device> is a logical volume, and returns true "
8074 "iff this is the case."
8075 msgstr ""
8076
8077 # type: =head2
8078 #: ../src/guestfs-actions.pod:2464
8079 msgid "guestfs_is_ready"
8080 msgstr ""
8081
8082 # type: verbatim
8083 #: ../src/guestfs-actions.pod:2466
8084 #, no-wrap
8085 msgid ""
8086 " int guestfs_is_ready (guestfs_h *g);\n"
8087 "\n"
8088 msgstr ""
8089
8090 # type: textblock
8091 #: ../src/guestfs-actions.pod:2468 ../fish/guestfish-actions.pod:1950
8092 msgid ""
8093 "This returns true iff this handle is ready to accept commands (in the "
8094 "C<READY> state)."
8095 msgstr ""
8096
8097 # type: =head2
8098 #: ../src/guestfs-actions.pod:2475
8099 msgid "guestfs_is_socket"
8100 msgstr ""
8101
8102 # type: verbatim
8103 #: ../src/guestfs-actions.pod:2477
8104 #, no-wrap
8105 msgid ""
8106 " int guestfs_is_socket (guestfs_h *g,\n"
8107 "\t\tconst char *path);\n"
8108 "\n"
8109 msgstr ""
8110
8111 # type: textblock
8112 #: ../src/guestfs-actions.pod:2480 ../fish/guestfish-actions.pod:1959
8113 msgid ""
8114 "This returns C<true> if and only if there is a Unix domain socket with the "
8115 "given C<path> name."
8116 msgstr ""
8117
8118 # type: =head2
8119 #: ../src/guestfs-actions.pod:2487
8120 msgid "guestfs_is_symlink"
8121 msgstr ""
8122
8123 # type: verbatim
8124 #: ../src/guestfs-actions.pod:2489
8125 #, no-wrap
8126 msgid ""
8127 " int guestfs_is_symlink (guestfs_h *g,\n"
8128 "\t\tconst char *path);\n"
8129 "\n"
8130 msgstr ""
8131
8132 # type: textblock
8133 #: ../src/guestfs-actions.pod:2492 ../fish/guestfish-actions.pod:1968
8134 msgid ""
8135 "This returns C<true> if and only if there is a symbolic link with the given "
8136 "C<path> name."
8137 msgstr ""
8138
8139 # type: =head2
8140 #: ../src/guestfs-actions.pod:2499
8141 msgid "guestfs_kill_subprocess"
8142 msgstr ""
8143
8144 # type: verbatim
8145 #: ../src/guestfs-actions.pod:2501
8146 #, no-wrap
8147 msgid ""
8148 " int guestfs_kill_subprocess (guestfs_h *g);\n"
8149 "\n"
8150 msgstr ""
8151
8152 # type: textblock
8153 #: ../src/guestfs-actions.pod:2503 ../fish/guestfish-actions.pod:1977
8154 msgid "This kills the qemu subprocess.  You should never need to call this."
8155 msgstr ""
8156
8157 # type: =head2
8158 #: ../src/guestfs-actions.pod:2507
8159 msgid "guestfs_launch"
8160 msgstr ""
8161
8162 # type: verbatim
8163 #: ../src/guestfs-actions.pod:2509
8164 #, no-wrap
8165 msgid ""
8166 " int guestfs_launch (guestfs_h *g);\n"
8167 "\n"
8168 msgstr ""
8169
8170 # type: textblock
8171 #: ../src/guestfs-actions.pod:2511 ../fish/guestfish-actions.pod:1985
8172 msgid ""
8173 "Internally libguestfs is implemented by running a virtual machine using "
8174 "L<qemu(1)>."
8175 msgstr ""
8176
8177 # type: textblock
8178 #: ../src/guestfs-actions.pod:2514 ../fish/guestfish-actions.pod:1988
8179 msgid ""
8180 "You should call this after configuring the handle (eg. adding drives) but "
8181 "before performing any actions."
8182 msgstr ""
8183
8184 # type: =head2
8185 #: ../src/guestfs-actions.pod:2519
8186 msgid "guestfs_lchown"
8187 msgstr ""
8188
8189 # type: verbatim
8190 #: ../src/guestfs-actions.pod:2521
8191 #, no-wrap
8192 msgid ""
8193 " int guestfs_lchown (guestfs_h *g,\n"
8194 "\t\tint owner,\n"
8195 "\t\tint group,\n"
8196 "\t\tconst char *path);\n"
8197 "\n"
8198 msgstr ""
8199
8200 # type: textblock
8201 #: ../src/guestfs-actions.pod:2526
8202 msgid ""
8203 "Change the file owner to C<owner> and group to C<group>.  This is like "
8204 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
8205 "changed, not the target."
8206 msgstr ""
8207
8208 # type: =head2
8209 #: ../src/guestfs-actions.pod:2536
8210 msgid "guestfs_lgetxattrs"
8211 msgstr ""
8212
8213 # type: verbatim
8214 #: ../src/guestfs-actions.pod:2538
8215 #, no-wrap
8216 msgid ""
8217 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
8218 "\t\tconst char *path);\n"
8219 "\n"
8220 msgstr ""
8221
8222 # type: textblock
8223 #: ../src/guestfs-actions.pod:2541
8224 msgid ""
8225 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
8226 "then it returns the extended attributes of the link itself."
8227 msgstr ""
8228
8229 # type: =head2
8230 #: ../src/guestfs-actions.pod:2550
8231 msgid "guestfs_list_devices"
8232 msgstr ""
8233
8234 # type: verbatim
8235 #: ../src/guestfs-actions.pod:2552
8236 #, no-wrap
8237 msgid ""
8238 " char **guestfs_list_devices (guestfs_h *g);\n"
8239 "\n"
8240 msgstr ""
8241
8242 # type: textblock
8243 #: ../src/guestfs-actions.pod:2554 ../fish/guestfish-actions.pod:2015
8244 msgid "List all the block devices."
8245 msgstr ""
8246
8247 # type: textblock
8248 #: ../src/guestfs-actions.pod:2556 ../fish/guestfish-actions.pod:2017
8249 msgid "The full block device names are returned, eg. C</dev/sda>."
8250 msgstr ""
8251
8252 # type: =head2
8253 #: ../src/guestfs-actions.pod:2564
8254 msgid "guestfs_list_filesystems"
8255 msgstr ""
8256
8257 # type: verbatim
8258 #: ../src/guestfs-actions.pod:2566
8259 #, no-wrap
8260 msgid ""
8261 " char **guestfs_list_filesystems (guestfs_h *g);\n"
8262 "\n"
8263 msgstr ""
8264
8265 # type: textblock
8266 #: ../src/guestfs-actions.pod:2568 ../fish/guestfish-actions.pod:2025
8267 msgid ""
8268 "This inspection command looks for filesystems on partitions, block devices "
8269 "and logical volumes, returning a list of devices containing filesystems and "
8270 "their type."
8271 msgstr ""
8272
8273 # type: textblock
8274 #: ../src/guestfs-actions.pod:2572 ../fish/guestfish-actions.pod:2029
8275 msgid ""
8276 "The return value is a hash, where the keys are the devices containing "
8277 "filesystems, and the values are the filesystem types.  For example:"
8278 msgstr ""
8279
8280 # type: verbatim
8281 #: ../src/guestfs-actions.pod:2576 ../fish/guestfish-actions.pod:2033
8282 #, no-wrap
8283 msgid ""
8284 " \"/dev/sda1\" => \"ntfs\"\n"
8285 " \"/dev/sda2\" => \"ext2\"\n"
8286 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
8287 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
8288 "\n"
8289 msgstr ""
8290
8291 # type: textblock
8292 #: ../src/guestfs-actions.pod:2581 ../fish/guestfish-actions.pod:2038
8293 msgid ""
8294 "The value can have the special value \"unknown\", meaning the content of the "
8295 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
8296 msgstr ""
8297
8298 # type: textblock
8299 #: ../src/guestfs-actions.pod:2585
8300 msgid ""
8301 "This command runs other libguestfs commands, which might include "
8302 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
8303 "soon after launch and only when nothing is mounted."
8304 msgstr ""
8305
8306 # type: textblock
8307 #: ../src/guestfs-actions.pod:2589
8308 msgid ""
8309 "Not all of the filesystems returned will be mountable.  In particular, swap "
8310 "partitions are returned in the list.  Also this command does not check that "
8311 "each filesystem found is valid and mountable, and some filesystems might be "
8312 "mountable but require special options.  Filesystems may not all belong to a "
8313 "single logical operating system (use C<guestfs_inspect_os> to look for "
8314 "OSes)."
8315 msgstr ""
8316
8317 # type: =head2
8318 #: ../src/guestfs-actions.pod:2603
8319 msgid "guestfs_list_partitions"
8320 msgstr ""
8321
8322 # type: verbatim
8323 #: ../src/guestfs-actions.pod:2605
8324 #, no-wrap
8325 msgid ""
8326 " char **guestfs_list_partitions (guestfs_h *g);\n"
8327 "\n"
8328 msgstr ""
8329
8330 # type: textblock
8331 #: ../src/guestfs-actions.pod:2607 ../fish/guestfish-actions.pod:2058
8332 msgid "List all the partitions detected on all block devices."
8333 msgstr ""
8334
8335 # type: textblock
8336 #: ../src/guestfs-actions.pod:2609 ../fish/guestfish-actions.pod:2060
8337 msgid "The full partition device names are returned, eg. C</dev/sda1>"
8338 msgstr ""
8339
8340 # type: textblock
8341 #: ../src/guestfs-actions.pod:2611
8342 msgid ""
8343 "This does not return logical volumes.  For that you will need to call "
8344 "C<guestfs_lvs>."
8345 msgstr ""
8346
8347 # type: =head2
8348 #: ../src/guestfs-actions.pod:2620
8349 msgid "guestfs_ll"
8350 msgstr ""
8351
8352 # type: verbatim
8353 #: ../src/guestfs-actions.pod:2622
8354 #, no-wrap
8355 msgid ""
8356 " char *guestfs_ll (guestfs_h *g,\n"
8357 "\t\tconst char *directory);\n"
8358 "\n"
8359 msgstr ""
8360
8361 # type: textblock
8362 #: ../src/guestfs-actions.pod:2625 ../fish/guestfish-actions.pod:2071
8363 msgid ""
8364 "List the files in C<directory> (relative to the root directory, there is no "
8365 "cwd) in the format of 'ls -la'."
8366 msgstr ""
8367
8368 # type: textblock
8369 #: ../src/guestfs-actions.pod:2628 ../fish/guestfish-actions.pod:2074
8370 msgid ""
8371 "This command is mostly useful for interactive sessions.  It is I<not> "
8372 "intended that you try to parse the output string."
8373 msgstr ""
8374
8375 # type: =head2
8376 #: ../src/guestfs-actions.pod:2634
8377 msgid "guestfs_ln"
8378 msgstr ""
8379
8380 # type: verbatim
8381 #: ../src/guestfs-actions.pod:2636
8382 #, no-wrap
8383 msgid ""
8384 " int guestfs_ln (guestfs_h *g,\n"
8385 "\t\tconst char *target,\n"
8386 "\t\tconst char *linkname);\n"
8387 "\n"
8388 msgstr ""
8389
8390 # type: textblock
8391 #: ../src/guestfs-actions.pod:2640 ../fish/guestfish-actions.pod:2081
8392 msgid "This command creates a hard link using the C<ln> command."
8393 msgstr ""
8394
8395 # type: =head2
8396 #: ../src/guestfs-actions.pod:2644
8397 msgid "guestfs_ln_f"
8398 msgstr ""
8399
8400 # type: verbatim
8401 #: ../src/guestfs-actions.pod:2646
8402 #, no-wrap
8403 msgid ""
8404 " int guestfs_ln_f (guestfs_h *g,\n"
8405 "\t\tconst char *target,\n"
8406 "\t\tconst char *linkname);\n"
8407 "\n"
8408 msgstr ""
8409
8410 # type: textblock
8411 #: ../src/guestfs-actions.pod:2650 ../fish/guestfish-actions.pod:2087
8412 msgid ""
8413 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
8414 "option removes the link (C<linkname>) if it exists already."
8415 msgstr ""
8416
8417 # type: =head2
8418 #: ../src/guestfs-actions.pod:2655
8419 msgid "guestfs_ln_s"
8420 msgstr ""
8421
8422 # type: verbatim
8423 #: ../src/guestfs-actions.pod:2657
8424 #, no-wrap
8425 msgid ""
8426 " int guestfs_ln_s (guestfs_h *g,\n"
8427 "\t\tconst char *target,\n"
8428 "\t\tconst char *linkname);\n"
8429 "\n"
8430 msgstr ""
8431
8432 # type: textblock
8433 #: ../src/guestfs-actions.pod:2661 ../fish/guestfish-actions.pod:2094
8434 msgid "This command creates a symbolic link using the C<ln -s> command."
8435 msgstr ""
8436
8437 # type: =head2
8438 #: ../src/guestfs-actions.pod:2665
8439 msgid "guestfs_ln_sf"
8440 msgstr ""
8441
8442 # type: verbatim
8443 #: ../src/guestfs-actions.pod:2667
8444 #, no-wrap
8445 msgid ""
8446 " int guestfs_ln_sf (guestfs_h *g,\n"
8447 "\t\tconst char *target,\n"
8448 "\t\tconst char *linkname);\n"
8449 "\n"
8450 msgstr ""
8451
8452 # type: textblock
8453 #: ../src/guestfs-actions.pod:2671 ../fish/guestfish-actions.pod:2100
8454 msgid ""
8455 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
8456 "option removes the link (C<linkname>) if it exists already."
8457 msgstr ""
8458
8459 # type: =head2
8460 #: ../src/guestfs-actions.pod:2676
8461 msgid "guestfs_lremovexattr"
8462 msgstr ""
8463
8464 # type: verbatim
8465 #: ../src/guestfs-actions.pod:2678
8466 #, no-wrap
8467 msgid ""
8468 " int guestfs_lremovexattr (guestfs_h *g,\n"
8469 "\t\tconst char *xattr,\n"
8470 "\t\tconst char *path);\n"
8471 "\n"
8472 msgstr ""
8473
8474 # type: textblock
8475 #: ../src/guestfs-actions.pod:2682
8476 msgid ""
8477 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
8478 "link, then it removes an extended attribute of the link itself."
8479 msgstr ""
8480
8481 # type: =head2
8482 #: ../src/guestfs-actions.pod:2688
8483 msgid "guestfs_ls"
8484 msgstr ""
8485
8486 # type: verbatim
8487 #: ../src/guestfs-actions.pod:2690
8488 #, no-wrap
8489 msgid ""
8490 " char **guestfs_ls (guestfs_h *g,\n"
8491 "\t\tconst char *directory);\n"
8492 "\n"
8493 msgstr ""
8494
8495 # type: textblock
8496 #: ../src/guestfs-actions.pod:2693 ../fish/guestfish-actions.pod:2115
8497 msgid ""
8498 "List the files in C<directory> (relative to the root directory, there is no "
8499 "cwd).  The '.' and '..' entries are not returned, but hidden files are "
8500 "shown."
8501 msgstr ""
8502
8503 # type: textblock
8504 #: ../src/guestfs-actions.pod:2697
8505 msgid ""
8506 "This command is mostly useful for interactive sessions.  Programs should "
8507 "probably use C<guestfs_readdir> instead."
8508 msgstr ""
8509
8510 # type: =head2
8511 #: ../src/guestfs-actions.pod:2704
8512 msgid "guestfs_lsetxattr"
8513 msgstr ""
8514
8515 # type: verbatim
8516 #: ../src/guestfs-actions.pod:2706
8517 #, no-wrap
8518 msgid ""
8519 " int guestfs_lsetxattr (guestfs_h *g,\n"
8520 "\t\tconst char *xattr,\n"
8521 "\t\tconst char *val,\n"
8522 "\t\tint vallen,\n"
8523 "\t\tconst char *path);\n"
8524 "\n"
8525 msgstr ""
8526
8527 # type: textblock
8528 #: ../src/guestfs-actions.pod:2712
8529 msgid ""
8530 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8531 "then it sets an extended attribute of the link itself."
8532 msgstr ""
8533
8534 # type: =head2
8535 #: ../src/guestfs-actions.pod:2718
8536 msgid "guestfs_lstat"
8537 msgstr ""
8538
8539 # type: verbatim
8540 #: ../src/guestfs-actions.pod:2720
8541 #, no-wrap
8542 msgid ""
8543 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8544 "\t\tconst char *path);\n"
8545 "\n"
8546 msgstr ""
8547
8548 # type: textblock
8549 #: ../src/guestfs-actions.pod:2723 ../src/guestfs-actions.pod:4799 ../fish/guestfish-actions.pod:2134 ../fish/guestfish-actions.pod:3716
8550 msgid "Returns file information for the given C<path>."
8551 msgstr ""
8552
8553 # type: textblock
8554 #: ../src/guestfs-actions.pod:2725
8555 msgid ""
8556 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8557 "link, then the link is stat-ed, not the file it refers to."
8558 msgstr ""
8559
8560 # type: textblock
8561 #: ../src/guestfs-actions.pod:2729 ../fish/guestfish-actions.pod:2140
8562 msgid "This is the same as the C<lstat(2)> system call."
8563 msgstr ""
8564
8565 # type: textblock
8566 #: ../src/guestfs-actions.pod:2731 ../src/guestfs-actions.pod:4803
8567 msgid ""
8568 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8569 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8570 msgstr ""
8571
8572 # type: =head2
8573 #: ../src/guestfs-actions.pod:2735
8574 msgid "guestfs_lstatlist"
8575 msgstr ""
8576
8577 # type: verbatim
8578 #: ../src/guestfs-actions.pod:2737
8579 #, no-wrap
8580 msgid ""
8581 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8582 "\t\tconst char *path,\n"
8583 "\t\tchar *const *names);\n"
8584 "\n"
8585 msgstr ""
8586
8587 # type: textblock
8588 #: ../src/guestfs-actions.pod:2741
8589 msgid ""
8590 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8591 "files, where all files are in the directory C<path>.  C<names> is the list "
8592 "of files from this directory."
8593 msgstr ""
8594
8595 # type: textblock
8596 #: ../src/guestfs-actions.pod:2745 ../fish/guestfish-actions.pod:2150
8597 msgid ""
8598 "On return you get a list of stat structs, with a one-to-one correspondence "
8599 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8600 "then the C<ino> field of that structure is set to C<-1>."
8601 msgstr ""
8602
8603 # type: textblock
8604 #: ../src/guestfs-actions.pod:2750
8605 msgid ""
8606 "This call is intended for programs that want to efficiently list a directory "
8607 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8608 "for a similarly efficient call for getting extended attributes.  Very long "
8609 "directory listings might cause the protocol message size to be exceeded, "
8610 "causing this call to fail.  The caller must split up such requests into "
8611 "smaller groups of names."
8612 msgstr ""
8613
8614 # type: textblock
8615 #: ../src/guestfs-actions.pod:2758
8616 msgid ""
8617 "This function returns a C<struct guestfs_stat_list *> (see "
8618 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
8619 "must call C<guestfs_free_stat_list> after use>."
8620 msgstr ""
8621
8622 # type: =head2
8623 #: ../src/guestfs-actions.pod:2763
8624 msgid "guestfs_luks_add_key"
8625 msgstr ""
8626
8627 # type: verbatim
8628 #: ../src/guestfs-actions.pod:2765
8629 #, no-wrap
8630 msgid ""
8631 " int guestfs_luks_add_key (guestfs_h *g,\n"
8632 "\t\tconst char *device,\n"
8633 "\t\tconst char *key,\n"
8634 "\t\tconst char *newkey,\n"
8635 "\t\tint keyslot);\n"
8636 "\n"
8637 msgstr ""
8638
8639 # type: textblock
8640 #: ../src/guestfs-actions.pod:2771 ../fish/guestfish-actions.pod:2167
8641 msgid ""
8642 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8643 "existing key, and is used to access the device.  C<newkey> is the new key to "
8644 "add.  C<keyslot> is the key slot that will be replaced."
8645 msgstr ""
8646
8647 # type: textblock
8648 #: ../src/guestfs-actions.pod:2776
8649 msgid ""
8650 "Note that if C<keyslot> already contains a key, then this command will "
8651 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8652 msgstr ""
8653
8654 # type: textblock
8655 #: ../src/guestfs-actions.pod:2782 ../src/guestfs-actions.pod:2816 ../src/guestfs-actions.pod:2836 ../src/guestfs-actions.pod:2853 ../src/guestfs-actions.pod:2882 ../src/guestfs-actions.pod:2898
8656 msgid ""
8657 "This function takes a key or passphrase parameter which could contain "
8658 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8659 "information."
8660 msgstr ""
8661
8662 # type: =head2
8663 #: ../src/guestfs-actions.pod:2786
8664 msgid "guestfs_luks_close"
8665 msgstr ""
8666
8667 # type: verbatim
8668 #: ../src/guestfs-actions.pod:2788
8669 #, no-wrap
8670 msgid ""
8671 " int guestfs_luks_close (guestfs_h *g,\n"
8672 "\t\tconst char *device);\n"
8673 "\n"
8674 msgstr ""
8675
8676 # type: textblock
8677 #: ../src/guestfs-actions.pod:2791
8678 msgid ""
8679 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8680 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8681 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8682 "underlying block device."
8683 msgstr ""
8684
8685 # type: =head2
8686 #: ../src/guestfs-actions.pod:2799
8687 msgid "guestfs_luks_format"
8688 msgstr ""
8689
8690 # type: verbatim
8691 #: ../src/guestfs-actions.pod:2801
8692 #, no-wrap
8693 msgid ""
8694 " int guestfs_luks_format (guestfs_h *g,\n"
8695 "\t\tconst char *device,\n"
8696 "\t\tconst char *key,\n"
8697 "\t\tint keyslot);\n"
8698 "\n"
8699 msgstr ""
8700
8701 # type: textblock
8702 #: ../src/guestfs-actions.pod:2806 ../fish/guestfish-actions.pod:2193
8703 msgid ""
8704 "This command erases existing data on C<device> and formats the device as a "
8705 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8706 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8707 msgstr ""
8708
8709 # type: textblock
8710 #: ../src/guestfs-actions.pod:2813 ../src/guestfs-actions.pod:2833 ../src/guestfs-actions.pod:2952 ../src/guestfs-actions.pod:3679 ../src/guestfs-actions.pod:4340 ../src/guestfs-actions.pod:4661 ../src/guestfs-actions.pod:4681 ../src/guestfs-actions.pod:4704 ../src/guestfs-actions.pod:5669 ../fish/guestfish-actions.pod:2201 ../fish/guestfish-actions.pod:2214 ../fish/guestfish-actions.pod:2298 ../fish/guestfish-actions.pod:2828 ../fish/guestfish-actions.pod:3335 ../fish/guestfish-actions.pod:3615 ../fish/guestfish-actions.pod:3631 ../fish/guestfish-actions.pod:3646 ../fish/guestfish-actions.pod:4361
8711 msgid ""
8712 "B<This command is dangerous.  Without careful use you can easily destroy all "
8713 "your data>."
8714 msgstr ""
8715
8716 # type: =head2
8717 #: ../src/guestfs-actions.pod:2820
8718 msgid "guestfs_luks_format_cipher"
8719 msgstr ""
8720
8721 # type: verbatim
8722 #: ../src/guestfs-actions.pod:2822
8723 #, no-wrap
8724 msgid ""
8725 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8726 "\t\tconst char *device,\n"
8727 "\t\tconst char *key,\n"
8728 "\t\tint keyslot,\n"
8729 "\t\tconst char *cipher);\n"
8730 "\n"
8731 msgstr ""
8732
8733 # type: textblock
8734 #: ../src/guestfs-actions.pod:2828
8735 msgid ""
8736 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8737 "set the C<cipher> used."
8738 msgstr ""
8739
8740 # type: =head2
8741 #: ../src/guestfs-actions.pod:2840
8742 msgid "guestfs_luks_kill_slot"
8743 msgstr ""
8744
8745 # type: verbatim
8746 #: ../src/guestfs-actions.pod:2842
8747 #, no-wrap
8748 msgid ""
8749 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8750 "\t\tconst char *device,\n"
8751 "\t\tconst char *key,\n"
8752 "\t\tint keyslot);\n"
8753 "\n"
8754 msgstr ""
8755
8756 # type: textblock
8757 #: ../src/guestfs-actions.pod:2847 ../fish/guestfish-actions.pod:2221
8758 msgid ""
8759 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8760 "device C<device>.  C<key> must be one of the I<other> keys."
8761 msgstr ""
8762
8763 # type: =head2
8764 #: ../src/guestfs-actions.pod:2857
8765 msgid "guestfs_luks_open"
8766 msgstr ""
8767
8768 # type: verbatim
8769 #: ../src/guestfs-actions.pod:2859
8770 #, no-wrap
8771 msgid ""
8772 " int guestfs_luks_open (guestfs_h *g,\n"
8773 "\t\tconst char *device,\n"
8774 "\t\tconst char *key,\n"
8775 "\t\tconst char *mapname);\n"
8776 "\n"
8777 msgstr ""
8778
8779 # type: textblock
8780 #: ../src/guestfs-actions.pod:2864 ../fish/guestfish-actions.pod:2232
8781 msgid ""
8782 "This command opens a block device which has been encrypted according to the "
8783 "Linux Unified Key Setup (LUKS) standard."
8784 msgstr ""
8785
8786 # type: textblock
8787 #: ../src/guestfs-actions.pod:2867 ../fish/guestfish-actions.pod:2235
8788 msgid "C<device> is the encrypted block device or partition."
8789 msgstr ""
8790
8791 # type: textblock
8792 #: ../src/guestfs-actions.pod:2869 ../fish/guestfish-actions.pod:2237
8793 msgid ""
8794 "The caller must supply one of the keys associated with the LUKS block "
8795 "device, in the C<key> parameter."
8796 msgstr ""
8797
8798 # type: textblock
8799 #: ../src/guestfs-actions.pod:2872 ../fish/guestfish-actions.pod:2240
8800 msgid ""
8801 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8802 "writes to this block device are decrypted from and encrypted to the "
8803 "underlying C<device> respectively."
8804 msgstr ""
8805
8806 # type: textblock
8807 #: ../src/guestfs-actions.pod:2876
8808 msgid ""
8809 "If this block device contains LVM volume groups, then calling "
8810 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8811 "visible."
8812 msgstr ""
8813
8814 # type: =head2
8815 #: ../src/guestfs-actions.pod:2886
8816 msgid "guestfs_luks_open_ro"
8817 msgstr ""
8818
8819 # type: verbatim
8820 #: ../src/guestfs-actions.pod:2888
8821 #, no-wrap
8822 msgid ""
8823 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8824 "\t\tconst char *device,\n"
8825 "\t\tconst char *key,\n"
8826 "\t\tconst char *mapname);\n"
8827 "\n"
8828 msgstr ""
8829
8830 # type: textblock
8831 #: ../src/guestfs-actions.pod:2893
8832 msgid ""
8833 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8834 "created."
8835 msgstr ""
8836
8837 # type: =head2
8838 #: ../src/guestfs-actions.pod:2902
8839 msgid "guestfs_lvcreate"
8840 msgstr ""
8841
8842 # type: verbatim
8843 #: ../src/guestfs-actions.pod:2904
8844 #, no-wrap
8845 msgid ""
8846 " int guestfs_lvcreate (guestfs_h *g,\n"
8847 "\t\tconst char *logvol,\n"
8848 "\t\tconst char *volgroup,\n"
8849 "\t\tint mbytes);\n"
8850 "\n"
8851 msgstr ""
8852
8853 # type: textblock
8854 #: ../src/guestfs-actions.pod:2909 ../fish/guestfish-actions.pod:2265
8855 msgid ""
8856 "This creates an LVM logical volume called C<logvol> on the volume group "
8857 "C<volgroup>, with C<size> megabytes."
8858 msgstr ""
8859
8860 # type: =head2
8861 #: ../src/guestfs-actions.pod:2914
8862 msgid "guestfs_lvm_canonical_lv_name"
8863 msgstr ""
8864
8865 # type: verbatim
8866 #: ../src/guestfs-actions.pod:2916
8867 #, no-wrap
8868 msgid ""
8869 " char *guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
8870 "\t\tconst char *lvname);\n"
8871 "\n"
8872 msgstr ""
8873
8874 # type: textblock
8875 #: ../src/guestfs-actions.pod:2919 ../fish/guestfish-actions.pod:2272
8876 msgid ""
8877 "This converts alternative naming schemes for LVs that you might find to the "
8878 "canonical name.  For example, C</dev/mapper/VG-LV> is converted to "
8879 "C</dev/VG/LV>."
8880 msgstr ""
8881
8882 # type: textblock
8883 #: ../src/guestfs-actions.pod:2923 ../fish/guestfish-actions.pod:2276
8884 msgid ""
8885 "This command returns an error if the C<lvname> parameter does not refer to a "
8886 "logical volume."
8887 msgstr ""
8888
8889 # type: textblock
8890 #: ../src/guestfs-actions.pod:2926
8891 msgid "See also C<guestfs_is_lv>."
8892 msgstr ""
8893
8894 # type: =head2
8895 #: ../src/guestfs-actions.pod:2931
8896 msgid "guestfs_lvm_clear_filter"
8897 msgstr ""
8898
8899 # type: verbatim
8900 #: ../src/guestfs-actions.pod:2933
8901 #, no-wrap
8902 msgid ""
8903 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8904 "\n"
8905 msgstr ""
8906
8907 # type: textblock
8908 #: ../src/guestfs-actions.pod:2935
8909 msgid ""
8910 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8911 "see every block device."
8912 msgstr ""
8913
8914 # type: textblock
8915 #: ../src/guestfs-actions.pod:2938 ../src/guestfs-actions.pod:2974 ../fish/guestfish-actions.pod:2288 ../fish/guestfish-actions.pod:2319
8916 msgid "This command also clears the LVM cache and performs a volume group scan."
8917 msgstr ""
8918
8919 # type: =head2
8920 #: ../src/guestfs-actions.pod:2943
8921 msgid "guestfs_lvm_remove_all"
8922 msgstr ""
8923
8924 # type: verbatim
8925 #: ../src/guestfs-actions.pod:2945
8926 #, no-wrap
8927 msgid ""
8928 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8929 "\n"
8930 msgstr ""
8931
8932 # type: textblock
8933 #: ../src/guestfs-actions.pod:2947 ../fish/guestfish-actions.pod:2295
8934 msgid ""
8935 "This command removes all LVM logical volumes, volume groups and physical "
8936 "volumes."
8937 msgstr ""
8938
8939 # type: =head2
8940 #: ../src/guestfs-actions.pod:2955
8941 msgid "guestfs_lvm_set_filter"
8942 msgstr ""
8943
8944 # type: verbatim
8945 #: ../src/guestfs-actions.pod:2957
8946 #, no-wrap
8947 msgid ""
8948 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8949 "\t\tchar *const *devices);\n"
8950 "\n"
8951 msgstr ""
8952
8953 # type: textblock
8954 #: ../src/guestfs-actions.pod:2960 ../fish/guestfish-actions.pod:2305
8955 msgid ""
8956 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8957 "block devices in the list C<devices>, and will ignore all other attached "
8958 "block devices."
8959 msgstr ""
8960
8961 # type: textblock
8962 #: ../src/guestfs-actions.pod:2964 ../fish/guestfish-actions.pod:2309
8963 msgid ""
8964 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8965 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8966 "there are two types of duplication possible: either cloned PVs/VGs which "
8967 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8968 "same name.  In normal operation you cannot create this situation, but you "
8969 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8970 "inside the LVM metadata."
8971 msgstr ""
8972
8973 # type: textblock
8974 #: ../src/guestfs-actions.pod:2977 ../fish/guestfish-actions.pod:2322
8975 msgid "You can filter whole block devices or individual partitions."
8976 msgstr ""
8977
8978 # type: textblock
8979 #: ../src/guestfs-actions.pod:2979 ../fish/guestfish-actions.pod:2324
8980 msgid ""
8981 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8982 "filesystem), even if you are not filtering out that VG."
8983 msgstr ""
8984
8985 # type: =head2
8986 #: ../src/guestfs-actions.pod:2985
8987 msgid "guestfs_lvremove"
8988 msgstr ""
8989
8990 # type: verbatim
8991 #: ../src/guestfs-actions.pod:2987
8992 #, no-wrap
8993 msgid ""
8994 " int guestfs_lvremove (guestfs_h *g,\n"
8995 "\t\tconst char *device);\n"
8996 "\n"
8997 msgstr ""
8998
8999 # type: textblock
9000 #: ../src/guestfs-actions.pod:2990 ../fish/guestfish-actions.pod:2332
9001 msgid ""
9002 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
9003 "LV, such as C</dev/VG/LV>."
9004 msgstr ""
9005
9006 # type: textblock
9007 #: ../src/guestfs-actions.pod:2993 ../fish/guestfish-actions.pod:2335
9008 msgid ""
9009 "You can also remove all LVs in a volume group by specifying the VG name, "
9010 "C</dev/VG>."
9011 msgstr ""
9012
9013 # type: =head2
9014 #: ../src/guestfs-actions.pod:2998
9015 msgid "guestfs_lvrename"
9016 msgstr ""
9017
9018 # type: verbatim
9019 #: ../src/guestfs-actions.pod:3000
9020 #, no-wrap
9021 msgid ""
9022 " int guestfs_lvrename (guestfs_h *g,\n"
9023 "\t\tconst char *logvol,\n"
9024 "\t\tconst char *newlogvol);\n"
9025 "\n"
9026 msgstr ""
9027
9028 # type: textblock
9029 #: ../src/guestfs-actions.pod:3004 ../fish/guestfish-actions.pod:2342
9030 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
9031 msgstr ""
9032
9033 # type: =head2
9034 #: ../src/guestfs-actions.pod:3008
9035 msgid "guestfs_lvresize"
9036 msgstr ""
9037
9038 # type: verbatim
9039 #: ../src/guestfs-actions.pod:3010
9040 #, no-wrap
9041 msgid ""
9042 " int guestfs_lvresize (guestfs_h *g,\n"
9043 "\t\tconst char *device,\n"
9044 "\t\tint mbytes);\n"
9045 "\n"
9046 msgstr ""
9047
9048 # type: textblock
9049 #: ../src/guestfs-actions.pod:3014 ../fish/guestfish-actions.pod:2348
9050 msgid ""
9051 "This resizes (expands or shrinks) an existing LVM logical volume to "
9052 "C<mbytes>.  When reducing, data in the reduced part is lost."
9053 msgstr ""
9054
9055 # type: =head2
9056 #: ../src/guestfs-actions.pod:3020
9057 msgid "guestfs_lvresize_free"
9058 msgstr ""
9059
9060 # type: verbatim
9061 #: ../src/guestfs-actions.pod:3022
9062 #, no-wrap
9063 msgid ""
9064 " int guestfs_lvresize_free (guestfs_h *g,\n"
9065 "\t\tconst char *lv,\n"
9066 "\t\tint percent);\n"
9067 "\n"
9068 msgstr ""
9069
9070 # type: textblock
9071 #: ../src/guestfs-actions.pod:3026 ../fish/guestfish-actions.pod:2356
9072 msgid ""
9073 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
9074 "remaining free space in the volume group.  Commonly you would call this with "
9075 "pc = 100 which expands the logical volume as much as possible, using all "
9076 "remaining free space in the volume group."
9077 msgstr ""
9078
9079 # type: =head2
9080 #: ../src/guestfs-actions.pod:3034
9081 msgid "guestfs_lvs"
9082 msgstr ""
9083
9084 # type: verbatim
9085 #: ../src/guestfs-actions.pod:3036
9086 #, no-wrap
9087 msgid ""
9088 " char **guestfs_lvs (guestfs_h *g);\n"
9089 "\n"
9090 msgstr ""
9091
9092 # type: textblock
9093 #: ../src/guestfs-actions.pod:3038 ../fish/guestfish-actions.pod:2366
9094 msgid ""
9095 "List all the logical volumes detected.  This is the equivalent of the "
9096 "L<lvs(8)> command."
9097 msgstr ""
9098
9099 # type: textblock
9100 #: ../src/guestfs-actions.pod:3041 ../fish/guestfish-actions.pod:2369
9101 msgid ""
9102 "This returns a list of the logical volume device names "
9103 "(eg. C</dev/VolGroup00/LogVol00>)."
9104 msgstr ""
9105
9106 # type: textblock
9107 #: ../src/guestfs-actions.pod:3044
9108 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
9109 msgstr ""
9110
9111 # type: =head2
9112 #: ../src/guestfs-actions.pod:3050
9113 msgid "guestfs_lvs_full"
9114 msgstr ""
9115
9116 # type: verbatim
9117 #: ../src/guestfs-actions.pod:3052
9118 #, no-wrap
9119 msgid ""
9120 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
9121 "\n"
9122 msgstr ""
9123
9124 # type: textblock
9125 #: ../src/guestfs-actions.pod:3054 ../fish/guestfish-actions.pod:2378
9126 msgid ""
9127 "List all the logical volumes detected.  This is the equivalent of the "
9128 "L<lvs(8)> command.  The \"full\" version includes all fields."
9129 msgstr ""
9130
9131 # type: textblock
9132 #: ../src/guestfs-actions.pod:3057
9133 msgid ""
9134 "This function returns a C<struct guestfs_lvm_lv_list *> (see "
9135 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
9136 "must call C<guestfs_free_lvm_lv_list> after use>."
9137 msgstr ""
9138
9139 # type: =head2
9140 #: ../src/guestfs-actions.pod:3062
9141 msgid "guestfs_lvuuid"
9142 msgstr ""
9143
9144 # type: verbatim
9145 #: ../src/guestfs-actions.pod:3064
9146 #, no-wrap
9147 msgid ""
9148 " char *guestfs_lvuuid (guestfs_h *g,\n"
9149 "\t\tconst char *device);\n"
9150 "\n"
9151 msgstr ""
9152
9153 # type: textblock
9154 #: ../src/guestfs-actions.pod:3067 ../fish/guestfish-actions.pod:2385
9155 msgid "This command returns the UUID of the LVM LV C<device>."
9156 msgstr ""
9157
9158 # type: =head2
9159 #: ../src/guestfs-actions.pod:3072
9160 msgid "guestfs_lxattrlist"
9161 msgstr ""
9162
9163 # type: verbatim
9164 #: ../src/guestfs-actions.pod:3074
9165 #, no-wrap
9166 msgid ""
9167 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
9168 "\t\tconst char *path,\n"
9169 "\t\tchar *const *names);\n"
9170 "\n"
9171 msgstr ""
9172
9173 # type: textblock
9174 #: ../src/guestfs-actions.pod:3078 ../fish/guestfish-actions.pod:2391
9175 msgid ""
9176 "This call allows you to get the extended attributes of multiple files, where "
9177 "all files are in the directory C<path>.  C<names> is the list of files from "
9178 "this directory."
9179 msgstr ""
9180
9181 # type: textblock
9182 #: ../src/guestfs-actions.pod:3082 ../fish/guestfish-actions.pod:2395
9183 msgid ""
9184 "On return you get a flat list of xattr structs which must be interpreted "
9185 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
9186 "C<attrval> in this struct is zero-length to indicate there was an error "
9187 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
9188 "number (the number of following attributes for this file, which could be "
9189 "C<\"0\">).  Then after the first xattr struct are the zero or more "
9190 "attributes for the first named file.  This repeats for the second and "
9191 "subsequent files."
9192 msgstr ""
9193
9194 # type: textblock
9195 #: ../src/guestfs-actions.pod:3092
9196 msgid ""
9197 "This call is intended for programs that want to efficiently list a directory "
9198 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
9199 "a similarly efficient call for getting standard stats.  Very long directory "
9200 "listings might cause the protocol message size to be exceeded, causing this "
9201 "call to fail.  The caller must split up such requests into smaller groups of "
9202 "names."
9203 msgstr ""
9204
9205 # type: =head2
9206 #: ../src/guestfs-actions.pod:3105
9207 msgid "guestfs_mkdir"
9208 msgstr ""
9209
9210 # type: verbatim
9211 #: ../src/guestfs-actions.pod:3107
9212 #, no-wrap
9213 msgid ""
9214 " int guestfs_mkdir (guestfs_h *g,\n"
9215 "\t\tconst char *path);\n"
9216 "\n"
9217 msgstr ""
9218
9219 # type: textblock
9220 #: ../src/guestfs-actions.pod:3110 ../fish/guestfish-actions.pod:2417
9221 msgid "Create a directory named C<path>."
9222 msgstr ""
9223
9224 # type: =head2
9225 #: ../src/guestfs-actions.pod:3114
9226 msgid "guestfs_mkdir_mode"
9227 msgstr ""
9228
9229 # type: verbatim
9230 #: ../src/guestfs-actions.pod:3116
9231 #, no-wrap
9232 msgid ""
9233 " int guestfs_mkdir_mode (guestfs_h *g,\n"
9234 "\t\tconst char *path,\n"
9235 "\t\tint mode);\n"
9236 "\n"
9237 msgstr ""
9238
9239 # type: textblock
9240 #: ../src/guestfs-actions.pod:3120 ../fish/guestfish-actions.pod:2423
9241 msgid ""
9242 "This command creates a directory, setting the initial permissions of the "
9243 "directory to C<mode>."
9244 msgstr ""
9245
9246 # type: textblock
9247 #: ../src/guestfs-actions.pod:3123 ../fish/guestfish-actions.pod:2426
9248 msgid ""
9249 "For common Linux filesystems, the actual mode which is set will be C<mode & "
9250 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
9251 "other ways."
9252 msgstr ""
9253
9254 # type: textblock
9255 #: ../src/guestfs-actions.pod:3127
9256 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
9257 msgstr ""
9258
9259 # type: =head2
9260 #: ../src/guestfs-actions.pod:3131
9261 msgid "guestfs_mkdir_p"
9262 msgstr ""
9263
9264 # type: verbatim
9265 #: ../src/guestfs-actions.pod:3133
9266 #, no-wrap
9267 msgid ""
9268 " int guestfs_mkdir_p (guestfs_h *g,\n"
9269 "\t\tconst char *path);\n"
9270 "\n"
9271 msgstr ""
9272
9273 # type: textblock
9274 #: ../src/guestfs-actions.pod:3136 ../fish/guestfish-actions.pod:2436
9275 msgid ""
9276 "Create a directory named C<path>, creating any parent directories as "
9277 "necessary.  This is like the C<mkdir -p> shell command."
9278 msgstr ""
9279
9280 # type: =head2
9281 #: ../src/guestfs-actions.pod:3141
9282 msgid "guestfs_mkdtemp"
9283 msgstr ""
9284
9285 # type: verbatim
9286 #: ../src/guestfs-actions.pod:3143
9287 #, no-wrap
9288 msgid ""
9289 " char *guestfs_mkdtemp (guestfs_h *g,\n"
9290 "\t\tconst char *template);\n"
9291 "\n"
9292 msgstr ""
9293
9294 # type: textblock
9295 #: ../src/guestfs-actions.pod:3146 ../fish/guestfish-actions.pod:2443
9296 msgid ""
9297 "This command creates a temporary directory.  The C<template> parameter "
9298 "should be a full pathname for the temporary directory name with the final "
9299 "six characters being \"XXXXXX\"."
9300 msgstr ""
9301
9302 # type: textblock
9303 #: ../src/guestfs-actions.pod:3151 ../fish/guestfish-actions.pod:2448
9304 msgid ""
9305 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
9306 "being suitable for Windows filesystems."
9307 msgstr ""
9308
9309 # type: textblock
9310 #: ../src/guestfs-actions.pod:3154 ../fish/guestfish-actions.pod:2451
9311 msgid "The name of the temporary directory that was created is returned."
9312 msgstr ""
9313
9314 # type: textblock
9315 #: ../src/guestfs-actions.pod:3157 ../fish/guestfish-actions.pod:2454
9316 msgid "The temporary directory is created with mode 0700 and is owned by root."
9317 msgstr ""
9318
9319 # type: textblock
9320 #: ../src/guestfs-actions.pod:3160 ../fish/guestfish-actions.pod:2457
9321 msgid ""
9322 "The caller is responsible for deleting the temporary directory and its "
9323 "contents after use."
9324 msgstr ""
9325
9326 # type: textblock
9327 #: ../src/guestfs-actions.pod:3163 ../fish/guestfish-actions.pod:2460
9328 msgid "See also: L<mkdtemp(3)>"
9329 msgstr ""
9330
9331 # type: =head2
9332 #: ../src/guestfs-actions.pod:3168
9333 msgid "guestfs_mke2fs_J"
9334 msgstr ""
9335
9336 # type: verbatim
9337 #: ../src/guestfs-actions.pod:3170
9338 #, no-wrap
9339 msgid ""
9340 " int guestfs_mke2fs_J (guestfs_h *g,\n"
9341 "\t\tconst char *fstype,\n"
9342 "\t\tint blocksize,\n"
9343 "\t\tconst char *device,\n"
9344 "\t\tconst char *journal);\n"
9345 "\n"
9346 msgstr ""
9347
9348 # type: textblock
9349 #: ../src/guestfs-actions.pod:3176 ../fish/guestfish-actions.pod:2466
9350 msgid ""
9351 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9352 "C<journal>.  It is equivalent to the command:"
9353 msgstr ""
9354
9355 # type: verbatim
9356 #: ../src/guestfs-actions.pod:3180 ../fish/guestfish-actions.pod:2470
9357 #, no-wrap
9358 msgid ""
9359 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
9360 "\n"
9361 msgstr ""
9362
9363 # type: textblock
9364 #: ../src/guestfs-actions.pod:3182
9365 msgid "See also C<guestfs_mke2journal>."
9366 msgstr ""
9367
9368 # type: =head2
9369 #: ../src/guestfs-actions.pod:3186
9370 msgid "guestfs_mke2fs_JL"
9371 msgstr ""
9372
9373 # type: verbatim
9374 #: ../src/guestfs-actions.pod:3188
9375 #, no-wrap
9376 msgid ""
9377 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
9378 "\t\tconst char *fstype,\n"
9379 "\t\tint blocksize,\n"
9380 "\t\tconst char *device,\n"
9381 "\t\tconst char *label);\n"
9382 "\n"
9383 msgstr ""
9384
9385 # type: textblock
9386 #: ../src/guestfs-actions.pod:3194 ../fish/guestfish-actions.pod:2478
9387 msgid ""
9388 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9389 "the journal labeled C<label>."
9390 msgstr ""
9391
9392 # type: textblock
9393 #: ../src/guestfs-actions.pod:3197
9394 msgid "See also C<guestfs_mke2journal_L>."
9395 msgstr ""
9396
9397 # type: =head2
9398 #: ../src/guestfs-actions.pod:3201
9399 msgid "guestfs_mke2fs_JU"
9400 msgstr ""
9401
9402 # type: verbatim
9403 #: ../src/guestfs-actions.pod:3203
9404 #, no-wrap
9405 msgid ""
9406 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
9407 "\t\tconst char *fstype,\n"
9408 "\t\tint blocksize,\n"
9409 "\t\tconst char *device,\n"
9410 "\t\tconst char *uuid);\n"
9411 "\n"
9412 msgstr ""
9413
9414 # type: textblock
9415 #: ../src/guestfs-actions.pod:3209 ../fish/guestfish-actions.pod:2487
9416 msgid ""
9417 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9418 "the journal with UUID C<uuid>."
9419 msgstr ""
9420
9421 # type: textblock
9422 #: ../src/guestfs-actions.pod:3212
9423 msgid "See also C<guestfs_mke2journal_U>."
9424 msgstr ""
9425
9426 # type: =head2
9427 #: ../src/guestfs-actions.pod:3216
9428 msgid "guestfs_mke2journal"
9429 msgstr ""
9430
9431 # type: verbatim
9432 #: ../src/guestfs-actions.pod:3218
9433 #, no-wrap
9434 msgid ""
9435 " int guestfs_mke2journal (guestfs_h *g,\n"
9436 "\t\tint blocksize,\n"
9437 "\t\tconst char *device);\n"
9438 "\n"
9439 msgstr ""
9440
9441 # type: textblock
9442 #: ../src/guestfs-actions.pod:3222 ../fish/guestfish-actions.pod:2496
9443 msgid ""
9444 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
9445 "command:"
9446 msgstr ""
9447
9448 # type: verbatim
9449 #: ../src/guestfs-actions.pod:3225 ../fish/guestfish-actions.pod:2499
9450 #, no-wrap
9451 msgid ""
9452 " mke2fs -O journal_dev -b blocksize device\n"
9453 "\n"
9454 msgstr ""
9455
9456 # type: =head2
9457 #: ../src/guestfs-actions.pod:3229
9458 msgid "guestfs_mke2journal_L"
9459 msgstr ""
9460
9461 # type: verbatim
9462 #: ../src/guestfs-actions.pod:3231
9463 #, no-wrap
9464 msgid ""
9465 " int guestfs_mke2journal_L (guestfs_h *g,\n"
9466 "\t\tint blocksize,\n"
9467 "\t\tconst char *label,\n"
9468 "\t\tconst char *device);\n"
9469 "\n"
9470 msgstr ""
9471
9472 # type: textblock
9473 #: ../src/guestfs-actions.pod:3236 ../fish/guestfish-actions.pod:2505
9474 msgid "This creates an ext2 external journal on C<device> with label C<label>."
9475 msgstr ""
9476
9477 # type: =head2
9478 #: ../src/guestfs-actions.pod:3240
9479 msgid "guestfs_mke2journal_U"
9480 msgstr ""
9481
9482 # type: verbatim
9483 #: ../src/guestfs-actions.pod:3242
9484 #, no-wrap
9485 msgid ""
9486 " int guestfs_mke2journal_U (guestfs_h *g,\n"
9487 "\t\tint blocksize,\n"
9488 "\t\tconst char *uuid,\n"
9489 "\t\tconst char *device);\n"
9490 "\n"
9491 msgstr ""
9492
9493 # type: textblock
9494 #: ../src/guestfs-actions.pod:3247 ../fish/guestfish-actions.pod:2511
9495 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
9496 msgstr ""
9497
9498 # type: =head2
9499 #: ../src/guestfs-actions.pod:3251
9500 msgid "guestfs_mkfifo"
9501 msgstr ""
9502
9503 # type: verbatim
9504 #: ../src/guestfs-actions.pod:3253
9505 #, no-wrap
9506 msgid ""
9507 " int guestfs_mkfifo (guestfs_h *g,\n"
9508 "\t\tint mode,\n"
9509 "\t\tconst char *path);\n"
9510 "\n"
9511 msgstr ""
9512
9513 # type: textblock
9514 #: ../src/guestfs-actions.pod:3257
9515 msgid ""
9516 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
9517 "is just a convenient wrapper around C<guestfs_mknod>."
9518 msgstr ""
9519
9520 # type: =head2
9521 #: ../src/guestfs-actions.pod:3265
9522 msgid "guestfs_mkfs"
9523 msgstr ""
9524
9525 # type: verbatim
9526 #: ../src/guestfs-actions.pod:3267
9527 #, no-wrap
9528 msgid ""
9529 " int guestfs_mkfs (guestfs_h *g,\n"
9530 "\t\tconst char *fstype,\n"
9531 "\t\tconst char *device);\n"
9532 "\n"
9533 msgstr ""
9534
9535 # type: textblock
9536 #: ../src/guestfs-actions.pod:3271 ../fish/guestfish-actions.pod:2527
9537 msgid ""
9538 "This creates a filesystem on C<device> (usually a partition or LVM logical "
9539 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
9540 msgstr ""
9541
9542 # type: =head2
9543 #: ../src/guestfs-actions.pod:3277
9544 msgid "guestfs_mkfs_b"
9545 msgstr ""
9546
9547 # type: verbatim
9548 #: ../src/guestfs-actions.pod:3279
9549 #, no-wrap
9550 msgid ""
9551 " int guestfs_mkfs_b (guestfs_h *g,\n"
9552 "\t\tconst char *fstype,\n"
9553 "\t\tint blocksize,\n"
9554 "\t\tconst char *device);\n"
9555 "\n"
9556 msgstr ""
9557
9558 # type: textblock
9559 #: ../src/guestfs-actions.pod:3284
9560 msgid ""
9561 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9562 "block size of the resulting filesystem.  Supported block sizes depend on the "
9563 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9564 msgstr ""
9565
9566 # type: textblock
9567 #: ../src/guestfs-actions.pod:3289 ../fish/guestfish-actions.pod:2540
9568 msgid ""
9569 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9570 "cluster size."
9571 msgstr ""
9572
9573 # type: =head2
9574 #: ../src/guestfs-actions.pod:3294
9575 msgid "guestfs_mkmountpoint"
9576 msgstr ""
9577
9578 # type: verbatim
9579 #: ../src/guestfs-actions.pod:3296
9580 #, no-wrap
9581 msgid ""
9582 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9583 "\t\tconst char *exemptpath);\n"
9584 "\n"
9585 msgstr ""
9586
9587 # type: textblock
9588 #: ../src/guestfs-actions.pod:3299
9589 msgid ""
9590 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9591 "that can be used to create extra mountpoints before mounting the first "
9592 "filesystem."
9593 msgstr ""
9594
9595 # type: textblock
9596 #: ../src/guestfs-actions.pod:3303 ../fish/guestfish-actions.pod:2551
9597 msgid ""
9598 "These calls are I<only> necessary in some very limited circumstances, mainly "
9599 "the case where you want to mount a mix of unrelated and/or read-only "
9600 "filesystems together."
9601 msgstr ""
9602
9603 # type: textblock
9604 #: ../src/guestfs-actions.pod:3307 ../fish/guestfish-actions.pod:2555
9605 msgid ""
9606 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9607 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9608 "inside that.  You can unpack this as follows in guestfish:"
9609 msgstr ""
9610
9611 # type: verbatim
9612 #: ../src/guestfs-actions.pod:3312 ../fish/guestfish-actions.pod:2560
9613 #, no-wrap
9614 msgid ""
9615 " add-ro Fedora-11-i686-Live.iso\n"
9616 " run\n"
9617 " mkmountpoint /cd\n"
9618 " mkmountpoint /sqsh\n"
9619 " mkmountpoint /ext3fs\n"
9620 " mount /dev/sda /cd\n"
9621 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
9622 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
9623 "\n"
9624 msgstr ""
9625
9626 # type: textblock
9627 #: ../src/guestfs-actions.pod:3321 ../fish/guestfish-actions.pod:2569
9628 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
9629 msgstr ""
9630
9631 # type: textblock
9632 #: ../src/guestfs-actions.pod:3323
9633 msgid ""
9634 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>.  You "
9635 "may get unexpected errors if you try to mix these calls.  It is safest to "
9636 "manually unmount filesystems and remove mountpoints after use."
9637 msgstr ""
9638
9639 # type: textblock
9640 #: ../src/guestfs-actions.pod:3327
9641 msgid ""
9642 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
9643 "first, so for this to work for manual mountpoints, you must ensure that the "
9644 "innermost mountpoints have the longest pathnames, as in the example code "
9645 "above."
9646 msgstr ""
9647
9648 # type: textblock
9649 #: ../src/guestfs-actions.pod:3332 ../fish/guestfish-actions.pod:2580
9650 msgid "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
9651 msgstr ""
9652
9653 # type: textblock
9654 #: ../src/guestfs-actions.pod:3334
9655 msgid ""
9656 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
9657 "means that C<guestfs_umount_all> is called when the handle is closed which "
9658 "can also trigger these issues."
9659 msgstr ""
9660
9661 # type: =head2
9662 #: ../src/guestfs-actions.pod:3340
9663 msgid "guestfs_mknod"
9664 msgstr ""
9665
9666 # type: verbatim
9667 #: ../src/guestfs-actions.pod:3342
9668 #, no-wrap
9669 msgid ""
9670 " int guestfs_mknod (guestfs_h *g,\n"
9671 "\t\tint mode,\n"
9672 "\t\tint devmajor,\n"
9673 "\t\tint devminor,\n"
9674 "\t\tconst char *path);\n"
9675 "\n"
9676 msgstr ""
9677
9678 # type: textblock
9679 #: ../src/guestfs-actions.pod:3348 ../fish/guestfish-actions.pod:2590
9680 msgid ""
9681 "This call creates block or character special devices, or named pipes "
9682 "(FIFOs)."
9683 msgstr ""
9684
9685 # type: textblock
9686 #: ../src/guestfs-actions.pod:3351 ../fish/guestfish-actions.pod:2593
9687 msgid ""
9688 "The C<mode> parameter should be the mode, using the standard constants.  "
9689 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9690 "used when creating block and character special devices."
9691 msgstr ""
9692
9693 # type: textblock
9694 #: ../src/guestfs-actions.pod:3356
9695 msgid ""
9696 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9697 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9698 "regular file).  These constants are available in the standard Linux header "
9699 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9700 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9701 "the appropriate constant for you."
9702 msgstr ""
9703
9704 # type: =head2
9705 #: ../src/guestfs-actions.pod:3368
9706 msgid "guestfs_mknod_b"
9707 msgstr ""
9708
9709 # type: verbatim
9710 #: ../src/guestfs-actions.pod:3370
9711 #, no-wrap
9712 msgid ""
9713 " int guestfs_mknod_b (guestfs_h *g,\n"
9714 "\t\tint mode,\n"
9715 "\t\tint devmajor,\n"
9716 "\t\tint devminor,\n"
9717 "\t\tconst char *path);\n"
9718 "\n"
9719 msgstr ""
9720
9721 # type: textblock
9722 #: ../src/guestfs-actions.pod:3376
9723 msgid ""
9724 "This call creates a block device node called C<path> with mode C<mode> and "
9725 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9726 "wrapper around C<guestfs_mknod>."
9727 msgstr ""
9728
9729 # type: =head2
9730 #: ../src/guestfs-actions.pod:3384
9731 msgid "guestfs_mknod_c"
9732 msgstr ""
9733
9734 # type: verbatim
9735 #: ../src/guestfs-actions.pod:3386
9736 #, no-wrap
9737 msgid ""
9738 " int guestfs_mknod_c (guestfs_h *g,\n"
9739 "\t\tint mode,\n"
9740 "\t\tint devmajor,\n"
9741 "\t\tint devminor,\n"
9742 "\t\tconst char *path);\n"
9743 "\n"
9744 msgstr ""
9745
9746 # type: textblock
9747 #: ../src/guestfs-actions.pod:3392
9748 msgid ""
9749 "This call creates a char device node called C<path> with mode C<mode> and "
9750 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9751 "wrapper around C<guestfs_mknod>."
9752 msgstr ""
9753
9754 # type: =head2
9755 #: ../src/guestfs-actions.pod:3400
9756 msgid "guestfs_mkswap"
9757 msgstr ""
9758
9759 # type: verbatim
9760 #: ../src/guestfs-actions.pod:3402
9761 #, no-wrap
9762 msgid ""
9763 " int guestfs_mkswap (guestfs_h *g,\n"
9764 "\t\tconst char *device);\n"
9765 "\n"
9766 msgstr ""
9767
9768 # type: textblock
9769 #: ../src/guestfs-actions.pod:3405 ../fish/guestfish-actions.pod:2632
9770 msgid "Create a swap partition on C<device>."
9771 msgstr ""
9772
9773 # type: =head2
9774 #: ../src/guestfs-actions.pod:3409
9775 msgid "guestfs_mkswap_L"
9776 msgstr ""
9777
9778 # type: verbatim
9779 #: ../src/guestfs-actions.pod:3411
9780 #, no-wrap
9781 msgid ""
9782 " int guestfs_mkswap_L (guestfs_h *g,\n"
9783 "\t\tconst char *label,\n"
9784 "\t\tconst char *device);\n"
9785 "\n"
9786 msgstr ""
9787
9788 # type: textblock
9789 #: ../src/guestfs-actions.pod:3415 ../fish/guestfish-actions.pod:2638
9790 msgid "Create a swap partition on C<device> with label C<label>."
9791 msgstr ""
9792
9793 # type: textblock
9794 #: ../src/guestfs-actions.pod:3417 ../fish/guestfish-actions.pod:2640
9795 msgid ""
9796 "Note that you cannot attach a swap label to a block device "
9797 "(eg. C</dev/sda>), just to a partition.  This appears to be a limitation of "
9798 "the kernel or swap tools."
9799 msgstr ""
9800
9801 # type: =head2
9802 #: ../src/guestfs-actions.pod:3423
9803 msgid "guestfs_mkswap_U"
9804 msgstr ""
9805
9806 # type: verbatim
9807 #: ../src/guestfs-actions.pod:3425
9808 #, no-wrap
9809 msgid ""
9810 " int guestfs_mkswap_U (guestfs_h *g,\n"
9811 "\t\tconst char *uuid,\n"
9812 "\t\tconst char *device);\n"
9813 "\n"
9814 msgstr ""
9815
9816 # type: textblock
9817 #: ../src/guestfs-actions.pod:3429 ../fish/guestfish-actions.pod:2648
9818 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9819 msgstr ""
9820
9821 # type: =head2
9822 #: ../src/guestfs-actions.pod:3433
9823 msgid "guestfs_mkswap_file"
9824 msgstr ""
9825
9826 # type: verbatim
9827 #: ../src/guestfs-actions.pod:3435
9828 #, no-wrap
9829 msgid ""
9830 " int guestfs_mkswap_file (guestfs_h *g,\n"
9831 "\t\tconst char *path);\n"
9832 "\n"
9833 msgstr ""
9834
9835 # type: textblock
9836 #: ../src/guestfs-actions.pod:3438 ../fish/guestfish-actions.pod:2654
9837 msgid "Create a swap file."
9838 msgstr ""
9839
9840 # type: textblock
9841 #: ../src/guestfs-actions.pod:3440
9842 msgid ""
9843 "This command just writes a swap file signature to an existing file.  To "
9844 "create the file itself, use something like C<guestfs_fallocate>."
9845 msgstr ""
9846
9847 # type: =head2
9848 #: ../src/guestfs-actions.pod:3445
9849 msgid "guestfs_modprobe"
9850 msgstr ""
9851
9852 # type: verbatim
9853 #: ../src/guestfs-actions.pod:3447
9854 #, no-wrap
9855 msgid ""
9856 " int guestfs_modprobe (guestfs_h *g,\n"
9857 "\t\tconst char *modulename);\n"
9858 "\n"
9859 msgstr ""
9860
9861 # type: textblock
9862 #: ../src/guestfs-actions.pod:3450 ../fish/guestfish-actions.pod:2663
9863 msgid "This loads a kernel module in the appliance."
9864 msgstr ""
9865
9866 # type: textblock
9867 #: ../src/guestfs-actions.pod:3452 ../fish/guestfish-actions.pod:2665
9868 msgid ""
9869 "The kernel module must have been whitelisted when libguestfs was built (see "
9870 "C<appliance/kmod.whitelist.in> in the source)."
9871 msgstr ""
9872
9873 # type: =head2
9874 #: ../src/guestfs-actions.pod:3457
9875 msgid "guestfs_mount"
9876 msgstr ""
9877
9878 # type: verbatim
9879 #: ../src/guestfs-actions.pod:3459
9880 #, no-wrap
9881 msgid ""
9882 " int guestfs_mount (guestfs_h *g,\n"
9883 "\t\tconst char *device,\n"
9884 "\t\tconst char *mountpoint);\n"
9885 "\n"
9886 msgstr ""
9887
9888 # type: textblock
9889 #: ../src/guestfs-actions.pod:3463 ../fish/guestfish-actions.pod:2672
9890 msgid ""
9891 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9892 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9893 "those block devices contain partitions, they will have the usual names "
9894 "(eg. C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9895 msgstr ""
9896
9897 # type: textblock
9898 #: ../src/guestfs-actions.pod:3469 ../fish/guestfish-actions.pod:2678
9899 msgid ""
9900 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9901 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9902 "mounted on directories which already exist."
9903 msgstr ""
9904
9905 # type: textblock
9906 #: ../src/guestfs-actions.pod:3474 ../fish/guestfish-actions.pod:2683
9907 msgid ""
9908 "The mounted filesystem is writable, if we have sufficient permissions on the "
9909 "underlying device."
9910 msgstr ""
9911
9912 # type: textblock
9913 #: ../src/guestfs-actions.pod:3477
9914 msgid ""
9915 "B<Important note:> When you use this call, the filesystem options C<sync> "
9916 "and C<noatime> are set implicitly.  This was originally done because we "
9917 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9918 "very large negative performance impact and negligible effect on "
9919 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9920 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9921 "(use an empty string for the first parameter if you don't want any options)."
9922 msgstr ""
9923
9924 # type: =head2
9925 #: ../src/guestfs-actions.pod:3489
9926 msgid "guestfs_mount_loop"
9927 msgstr ""
9928
9929 # type: verbatim
9930 #: ../src/guestfs-actions.pod:3491
9931 #, no-wrap
9932 msgid ""
9933 " int guestfs_mount_loop (guestfs_h *g,\n"
9934 "\t\tconst char *file,\n"
9935 "\t\tconst char *mountpoint);\n"
9936 "\n"
9937 msgstr ""
9938
9939 # type: textblock
9940 #: ../src/guestfs-actions.pod:3495 ../fish/guestfish-actions.pod:2700
9941 msgid ""
9942 "This command lets you mount C<file> (a filesystem image in a file) on a "
9943 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9944 "mountpoint>."
9945 msgstr ""
9946
9947 # type: =head2
9948 #: ../src/guestfs-actions.pod:3501
9949 msgid "guestfs_mount_options"
9950 msgstr ""
9951
9952 # type: verbatim
9953 #: ../src/guestfs-actions.pod:3503
9954 #, no-wrap
9955 msgid ""
9956 " int guestfs_mount_options (guestfs_h *g,\n"
9957 "\t\tconst char *options,\n"
9958 "\t\tconst char *device,\n"
9959 "\t\tconst char *mountpoint);\n"
9960 "\n"
9961 msgstr ""
9962
9963 # type: textblock
9964 #: ../src/guestfs-actions.pod:3508
9965 msgid ""
9966 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9967 "the mount options as for the L<mount(8)> I<-o> flag."
9968 msgstr ""
9969
9970 # type: textblock
9971 #: ../src/guestfs-actions.pod:3512 ../fish/guestfish-actions.pod:2712
9972 msgid ""
9973 "If the C<options> parameter is an empty string, then no options are passed "
9974 "(all options default to whatever the filesystem uses)."
9975 msgstr ""
9976
9977 # type: =head2
9978 #: ../src/guestfs-actions.pod:3518
9979 msgid "guestfs_mount_ro"
9980 msgstr ""
9981
9982 # type: verbatim
9983 #: ../src/guestfs-actions.pod:3520
9984 #, no-wrap
9985 msgid ""
9986 " int guestfs_mount_ro (guestfs_h *g,\n"
9987 "\t\tconst char *device,\n"
9988 "\t\tconst char *mountpoint);\n"
9989 "\n"
9990 msgstr ""
9991
9992 # type: textblock
9993 #: ../src/guestfs-actions.pod:3524
9994 msgid ""
9995 "This is the same as the C<guestfs_mount> command, but it mounts the "
9996 "filesystem with the read-only (I<-o ro>) flag."
9997 msgstr ""
9998
9999 # type: =head2
10000 #: ../src/guestfs-actions.pod:3529
10001 msgid "guestfs_mount_vfs"
10002 msgstr ""
10003
10004 # type: verbatim
10005 #: ../src/guestfs-actions.pod:3531
10006 #, no-wrap
10007 msgid ""
10008 " int guestfs_mount_vfs (guestfs_h *g,\n"
10009 "\t\tconst char *options,\n"
10010 "\t\tconst char *vfstype,\n"
10011 "\t\tconst char *device,\n"
10012 "\t\tconst char *mountpoint);\n"
10013 "\n"
10014 msgstr ""
10015
10016 # type: textblock
10017 #: ../src/guestfs-actions.pod:3537
10018 msgid ""
10019 "This is the same as the C<guestfs_mount> command, but it allows you to set "
10020 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and "
10021 "I<-t> flags."
10022 msgstr ""
10023
10024 # type: =head2
10025 #: ../src/guestfs-actions.pod:3543
10026 msgid "guestfs_mountpoints"
10027 msgstr ""
10028
10029 # type: verbatim
10030 #: ../src/guestfs-actions.pod:3545
10031 #, no-wrap
10032 msgid ""
10033 " char **guestfs_mountpoints (guestfs_h *g);\n"
10034 "\n"
10035 msgstr ""
10036
10037 # type: textblock
10038 #: ../src/guestfs-actions.pod:3547
10039 msgid ""
10040 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
10041 "devices.  This one returns a hash table (map) of device name to directory "
10042 "where the device is mounted."
10043 msgstr ""
10044
10045 # type: =head2
10046 #: ../src/guestfs-actions.pod:3557
10047 msgid "guestfs_mounts"
10048 msgstr ""
10049
10050 # type: verbatim
10051 #: ../src/guestfs-actions.pod:3559
10052 #, no-wrap
10053 msgid ""
10054 " char **guestfs_mounts (guestfs_h *g);\n"
10055 "\n"
10056 msgstr ""
10057
10058 # type: textblock
10059 #: ../src/guestfs-actions.pod:3561 ../fish/guestfish-actions.pod:2743
10060 msgid ""
10061 "This returns the list of currently mounted filesystems.  It returns the list "
10062 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
10063 msgstr ""
10064
10065 # type: textblock
10066 #: ../src/guestfs-actions.pod:3564 ../fish/guestfish-actions.pod:2746
10067 msgid "Some internal mounts are not shown."
10068 msgstr ""
10069
10070 # type: textblock
10071 #: ../src/guestfs-actions.pod:3566
10072 msgid "See also: C<guestfs_mountpoints>"
10073 msgstr ""
10074
10075 # type: =head2
10076 #: ../src/guestfs-actions.pod:3572
10077 msgid "guestfs_mv"
10078 msgstr ""
10079
10080 # type: verbatim
10081 #: ../src/guestfs-actions.pod:3574
10082 #, no-wrap
10083 msgid ""
10084 " int guestfs_mv (guestfs_h *g,\n"
10085 "\t\tconst char *src,\n"
10086 "\t\tconst char *dest);\n"
10087 "\n"
10088 msgstr ""
10089
10090 # type: textblock
10091 #: ../src/guestfs-actions.pod:3578 ../fish/guestfish-actions.pod:2754
10092 msgid ""
10093 "This moves a file from C<src> to C<dest> where C<dest> is either a "
10094 "destination filename or destination directory."
10095 msgstr ""
10096
10097 # type: =head2
10098 #: ../src/guestfs-actions.pod:3583
10099 msgid "guestfs_ntfs_3g_probe"
10100 msgstr ""
10101
10102 # type: verbatim
10103 #: ../src/guestfs-actions.pod:3585
10104 #, no-wrap
10105 msgid ""
10106 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
10107 "\t\tint rw,\n"
10108 "\t\tconst char *device);\n"
10109 "\n"
10110 msgstr ""
10111
10112 # type: textblock
10113 #: ../src/guestfs-actions.pod:3589 ../fish/guestfish-actions.pod:2761
10114 msgid ""
10115 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
10116 "C<device> for mountability.  (Not all NTFS volumes can be mounted "
10117 "read-write, and some cannot be mounted at all)."
10118 msgstr ""
10119
10120 # type: textblock
10121 #: ../src/guestfs-actions.pod:3593 ../fish/guestfish-actions.pod:2765
10122 msgid ""
10123 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
10124 "can be mounted read-write.  Set it to false if you want to test if the "
10125 "volume can be mounted read-only."
10126 msgstr ""
10127
10128 # type: textblock
10129 #: ../src/guestfs-actions.pod:3597 ../fish/guestfish-actions.pod:2769
10130 msgid ""
10131 "The return value is an integer which C<0> if the operation would succeed, or "
10132 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
10133 msgstr ""
10134
10135 # type: =head2
10136 #: ../src/guestfs-actions.pod:3603
10137 msgid "guestfs_ntfsresize"
10138 msgstr ""
10139
10140 # type: verbatim
10141 #: ../src/guestfs-actions.pod:3605
10142 #, no-wrap
10143 msgid ""
10144 " int guestfs_ntfsresize (guestfs_h *g,\n"
10145 "\t\tconst char *device);\n"
10146 "\n"
10147 msgstr ""
10148
10149 # type: textblock
10150 #: ../src/guestfs-actions.pod:3608 ../fish/guestfish-actions.pod:2777
10151 msgid ""
10152 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
10153 "size of the underlying device.  See also L<ntfsresize(8)>."
10154 msgstr ""
10155
10156 # type: =head2
10157 #: ../src/guestfs-actions.pod:3614
10158 msgid "guestfs_ntfsresize_size"
10159 msgstr ""
10160
10161 # type: verbatim
10162 #: ../src/guestfs-actions.pod:3616
10163 #, no-wrap
10164 msgid ""
10165 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
10166 "\t\tconst char *device,\n"
10167 "\t\tint64_t size);\n"
10168 "\n"
10169 msgstr ""
10170
10171 # type: textblock
10172 #: ../src/guestfs-actions.pod:3620
10173 msgid ""
10174 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
10175 "to specify the new size (in bytes) explicitly."
10176 msgstr ""
10177
10178 # type: =head2
10179 #: ../src/guestfs-actions.pod:3625
10180 msgid "guestfs_part_add"
10181 msgstr ""
10182
10183 # type: verbatim
10184 #: ../src/guestfs-actions.pod:3627
10185 #, no-wrap
10186 msgid ""
10187 " int guestfs_part_add (guestfs_h *g,\n"
10188 "\t\tconst char *device,\n"
10189 "\t\tconst char *prlogex,\n"
10190 "\t\tint64_t startsect,\n"
10191 "\t\tint64_t endsect);\n"
10192 "\n"
10193 msgstr ""
10194
10195 # type: textblock
10196 #: ../src/guestfs-actions.pod:3633
10197 msgid ""
10198 "This command adds a partition to C<device>.  If there is no partition table "
10199 "on the device, call C<guestfs_part_init> first."
10200 msgstr ""
10201
10202 # type: textblock
10203 #: ../src/guestfs-actions.pod:3636 ../fish/guestfish-actions.pod:2795
10204 msgid ""
10205 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
10206 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
10207 "C<logical>) and C<e> (or C<extended>) partition types."
10208 msgstr ""
10209
10210 # type: textblock
10211 #: ../src/guestfs-actions.pod:3641 ../fish/guestfish-actions.pod:2800
10212 msgid ""
10213 "C<startsect> and C<endsect> are the start and end of the partition in "
10214 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
10215 "from the end of the disk (C<-1> is the last sector)."
10216 msgstr ""
10217
10218 # type: textblock
10219 #: ../src/guestfs-actions.pod:3645
10220 msgid ""
10221 "Creating a partition which covers the whole disk is not so easy.  Use "
10222 "C<guestfs_part_disk> to do that."
10223 msgstr ""
10224
10225 # type: =head2
10226 #: ../src/guestfs-actions.pod:3650
10227 msgid "guestfs_part_del"
10228 msgstr ""
10229
10230 # type: verbatim
10231 #: ../src/guestfs-actions.pod:3652
10232 #, no-wrap
10233 msgid ""
10234 " int guestfs_part_del (guestfs_h *g,\n"
10235 "\t\tconst char *device,\n"
10236 "\t\tint partnum);\n"
10237 "\n"
10238 msgstr ""
10239
10240 # type: textblock
10241 #: ../src/guestfs-actions.pod:3656 ../fish/guestfish-actions.pod:2811
10242 msgid "This command deletes the partition numbered C<partnum> on C<device>."
10243 msgstr ""
10244
10245 # type: textblock
10246 #: ../src/guestfs-actions.pod:3658 ../fish/guestfish-actions.pod:2813
10247 msgid ""
10248 "Note that in the case of MBR partitioning, deleting an extended partition "
10249 "also deletes any logical partitions it contains."
10250 msgstr ""
10251
10252 # type: =head2
10253 #: ../src/guestfs-actions.pod:3664
10254 msgid "guestfs_part_disk"
10255 msgstr ""
10256
10257 # type: verbatim
10258 #: ../src/guestfs-actions.pod:3666
10259 #, no-wrap
10260 msgid ""
10261 " int guestfs_part_disk (guestfs_h *g,\n"
10262 "\t\tconst char *device,\n"
10263 "\t\tconst char *parttype);\n"
10264 "\n"
10265 msgstr ""
10266
10267 # type: textblock
10268 #: ../src/guestfs-actions.pod:3670
10269 msgid ""
10270 "This command is simply a combination of C<guestfs_part_init> followed by "
10271 "C<guestfs_part_add> to create a single primary partition covering the whole "
10272 "disk."
10273 msgstr ""
10274
10275 # type: textblock
10276 #: ../src/guestfs-actions.pod:3674
10277 msgid ""
10278 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
10279 "possible values are described in C<guestfs_part_init>."
10280 msgstr ""
10281
10282 # type: =head2
10283 #: ../src/guestfs-actions.pod:3682
10284 msgid "guestfs_part_get_bootable"
10285 msgstr ""
10286
10287 # type: verbatim
10288 #: ../src/guestfs-actions.pod:3684
10289 #, no-wrap
10290 msgid ""
10291 " int guestfs_part_get_bootable (guestfs_h *g,\n"
10292 "\t\tconst char *device,\n"
10293 "\t\tint partnum);\n"
10294 "\n"
10295 msgstr ""
10296
10297 # type: textblock
10298 #: ../src/guestfs-actions.pod:3688 ../fish/guestfish-actions.pod:2835
10299 msgid ""
10300 "This command returns true if the partition C<partnum> on C<device> has the "
10301 "bootable flag set."
10302 msgstr ""
10303
10304 # type: textblock
10305 #: ../src/guestfs-actions.pod:3691
10306 msgid "See also C<guestfs_part_set_bootable>."
10307 msgstr ""
10308
10309 # type: =head2
10310 #: ../src/guestfs-actions.pod:3695
10311 msgid "guestfs_part_get_mbr_id"
10312 msgstr ""
10313
10314 # type: verbatim
10315 #: ../src/guestfs-actions.pod:3697
10316 #, no-wrap
10317 msgid ""
10318 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
10319 "\t\tconst char *device,\n"
10320 "\t\tint partnum);\n"
10321 "\n"
10322 msgstr ""
10323
10324 # type: textblock
10325 #: ../src/guestfs-actions.pod:3701 ../fish/guestfish-actions.pod:2844
10326 msgid ""
10327 "Returns the MBR type byte (also known as the ID byte) from the numbered "
10328 "partition C<partnum>."
10329 msgstr ""
10330
10331 # type: textblock
10332 #: ../src/guestfs-actions.pod:3704 ../src/guestfs-actions.pod:3866
10333 msgid ""
10334 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
10335 "undefined results for other partition table types (see "
10336 "C<guestfs_part_get_parttype>)."
10337 msgstr ""
10338
10339 # type: =head2
10340 #: ../src/guestfs-actions.pod:3710
10341 msgid "guestfs_part_get_parttype"
10342 msgstr ""
10343
10344 # type: verbatim
10345 #: ../src/guestfs-actions.pod:3712
10346 #, no-wrap
10347 msgid ""
10348 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
10349 "\t\tconst char *device);\n"
10350 "\n"
10351 msgstr ""
10352
10353 # type: textblock
10354 #: ../src/guestfs-actions.pod:3715 ../fish/guestfish-actions.pod:2855
10355 msgid ""
10356 "This command examines the partition table on C<device> and returns the "
10357 "partition table type (format) being used."
10358 msgstr ""
10359
10360 # type: textblock
10361 #: ../src/guestfs-actions.pod:3718
10362 msgid ""
10363 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
10364 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
10365 "possible, although unusual.  See C<guestfs_part_init> for a full list."
10366 msgstr ""
10367
10368 # type: =head2
10369 #: ../src/guestfs-actions.pod:3726
10370 msgid "guestfs_part_init"
10371 msgstr ""
10372
10373 # type: verbatim
10374 #: ../src/guestfs-actions.pod:3728
10375 #, no-wrap
10376 msgid ""
10377 " int guestfs_part_init (guestfs_h *g,\n"
10378 "\t\tconst char *device,\n"
10379 "\t\tconst char *parttype);\n"
10380 "\n"
10381 msgstr ""
10382
10383 # type: textblock
10384 #: ../src/guestfs-actions.pod:3732 ../fish/guestfish-actions.pod:2867
10385 msgid ""
10386 "This creates an empty partition table on C<device> of one of the partition "
10387 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
10388 "(for large disks)."
10389 msgstr ""
10390
10391 # type: textblock
10392 #: ../src/guestfs-actions.pod:3736
10393 msgid ""
10394 "Initially there are no partitions.  Following this, you should call "
10395 "C<guestfs_part_add> for each partition required."
10396 msgstr ""
10397
10398 # type: textblock
10399 #: ../src/guestfs-actions.pod:3739 ../fish/guestfish-actions.pod:2874
10400 msgid "Possible values for C<parttype> are:"
10401 msgstr ""
10402
10403 # type: =item
10404 #: ../src/guestfs-actions.pod:3743 ../fish/guestfish-actions.pod:2878
10405 msgid "B<efi> | B<gpt>"
10406 msgstr ""
10407
10408 # type: textblock
10409 #: ../src/guestfs-actions.pod:3745 ../fish/guestfish-actions.pod:2880
10410 msgid "Intel EFI / GPT partition table."
10411 msgstr ""
10412
10413 # type: textblock
10414 #: ../src/guestfs-actions.pod:3747 ../fish/guestfish-actions.pod:2882
10415 msgid ""
10416 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
10417 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
10418 "the C<mbr> format."
10419 msgstr ""
10420
10421 # type: =item
10422 #: ../src/guestfs-actions.pod:3751 ../fish/guestfish-actions.pod:2886
10423 msgid "B<mbr> | B<msdos>"
10424 msgstr ""
10425
10426 # type: textblock
10427 #: ../src/guestfs-actions.pod:3753 ../fish/guestfish-actions.pod:2888
10428 msgid ""
10429 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
10430 "Windows.  This partition type will B<only> work for device sizes up to 2 "
10431 "TB.  For large disks we recommend using C<gpt>."
10432 msgstr ""
10433
10434 # type: textblock
10435 #: ../src/guestfs-actions.pod:3760 ../fish/guestfish-actions.pod:2895
10436 msgid "Other partition table types that may work but are not supported include:"
10437 msgstr ""
10438
10439 # type: =item
10440 #: ../src/guestfs-actions.pod:3765 ../fish/guestfish-actions.pod:2900
10441 msgid "B<aix>"
10442 msgstr ""
10443
10444 # type: textblock
10445 #: ../src/guestfs-actions.pod:3767 ../fish/guestfish-actions.pod:2902
10446 msgid "AIX disk labels."
10447 msgstr ""
10448
10449 # type: =item
10450 #: ../src/guestfs-actions.pod:3769 ../fish/guestfish-actions.pod:2904
10451 msgid "B<amiga> | B<rdb>"
10452 msgstr ""
10453
10454 # type: textblock
10455 #: ../src/guestfs-actions.pod:3771 ../fish/guestfish-actions.pod:2906
10456 msgid "Amiga \"Rigid Disk Block\" format."
10457 msgstr ""
10458
10459 # type: =item
10460 #: ../src/guestfs-actions.pod:3773 ../fish/guestfish-actions.pod:2908
10461 msgid "B<bsd>"
10462 msgstr ""
10463
10464 # type: textblock
10465 #: ../src/guestfs-actions.pod:3775 ../fish/guestfish-actions.pod:2910
10466 msgid "BSD disk labels."
10467 msgstr ""
10468
10469 # type: =item
10470 #: ../src/guestfs-actions.pod:3777 ../fish/guestfish-actions.pod:2912
10471 msgid "B<dasd>"
10472 msgstr ""
10473
10474 # type: textblock
10475 #: ../src/guestfs-actions.pod:3779 ../fish/guestfish-actions.pod:2914
10476 msgid "DASD, used on IBM mainframes."
10477 msgstr ""
10478
10479 # type: =item
10480 #: ../src/guestfs-actions.pod:3781 ../fish/guestfish-actions.pod:2916
10481 msgid "B<dvh>"
10482 msgstr ""
10483
10484 # type: textblock
10485 #: ../src/guestfs-actions.pod:3783 ../fish/guestfish-actions.pod:2918
10486 msgid "MIPS/SGI volumes."
10487 msgstr ""
10488
10489 # type: =item
10490 #: ../src/guestfs-actions.pod:3785 ../fish/guestfish-actions.pod:2920
10491 msgid "B<mac>"
10492 msgstr ""
10493
10494 # type: textblock
10495 #: ../src/guestfs-actions.pod:3787 ../fish/guestfish-actions.pod:2922
10496 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
10497 msgstr ""
10498
10499 # type: =item
10500 #: ../src/guestfs-actions.pod:3789 ../fish/guestfish-actions.pod:2924
10501 msgid "B<pc98>"
10502 msgstr ""
10503
10504 # type: textblock
10505 #: ../src/guestfs-actions.pod:3791 ../fish/guestfish-actions.pod:2926
10506 msgid "NEC PC-98 format, common in Japan apparently."
10507 msgstr ""
10508
10509 # type: =item
10510 #: ../src/guestfs-actions.pod:3793 ../fish/guestfish-actions.pod:2928
10511 msgid "B<sun>"
10512 msgstr ""
10513
10514 # type: textblock
10515 #: ../src/guestfs-actions.pod:3795 ../fish/guestfish-actions.pod:2930
10516 msgid "Sun disk labels."
10517 msgstr ""
10518
10519 # type: =head2
10520 #: ../src/guestfs-actions.pod:3801
10521 msgid "guestfs_part_list"
10522 msgstr ""
10523
10524 # type: verbatim
10525 #: ../src/guestfs-actions.pod:3803
10526 #, no-wrap
10527 msgid ""
10528 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
10529 "\t\tconst char *device);\n"
10530 "\n"
10531 msgstr ""
10532
10533 # type: textblock
10534 #: ../src/guestfs-actions.pod:3806 ../fish/guestfish-actions.pod:2938
10535 msgid ""
10536 "This command parses the partition table on C<device> and returns the list of "
10537 "partitions found."
10538 msgstr ""
10539
10540 # type: textblock
10541 #: ../src/guestfs-actions.pod:3809 ../fish/guestfish-actions.pod:2941
10542 msgid "The fields in the returned structure are:"
10543 msgstr ""
10544
10545 # type: =item
10546 #: ../src/guestfs-actions.pod:3813 ../fish/guestfish-actions.pod:2945
10547 msgid "B<part_num>"
10548 msgstr ""
10549
10550 # type: textblock
10551 #: ../src/guestfs-actions.pod:3815 ../fish/guestfish-actions.pod:2947
10552 msgid "Partition number, counting from 1."
10553 msgstr ""
10554
10555 # type: =item
10556 #: ../src/guestfs-actions.pod:3817 ../fish/guestfish-actions.pod:2949
10557 msgid "B<part_start>"
10558 msgstr ""
10559
10560 # type: textblock
10561 #: ../src/guestfs-actions.pod:3819
10562 msgid ""
10563 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
10564 "the device's sector size, see C<guestfs_blockdev_getss>."
10565 msgstr ""
10566
10567 # type: =item
10568 #: ../src/guestfs-actions.pod:3822 ../fish/guestfish-actions.pod:2954
10569 msgid "B<part_end>"
10570 msgstr ""
10571
10572 # type: textblock
10573 #: ../src/guestfs-actions.pod:3824 ../fish/guestfish-actions.pod:2956
10574 msgid "End of the partition in bytes."
10575 msgstr ""
10576
10577 # type: =item
10578 #: ../src/guestfs-actions.pod:3826 ../fish/guestfish-actions.pod:2958
10579 msgid "B<part_size>"
10580 msgstr ""
10581
10582 # type: textblock
10583 #: ../src/guestfs-actions.pod:3828 ../fish/guestfish-actions.pod:2960
10584 msgid "Size of the partition in bytes."
10585 msgstr ""
10586
10587 # type: textblock
10588 #: ../src/guestfs-actions.pod:3832
10589 msgid ""
10590 "This function returns a C<struct guestfs_partition_list *> (see "
10591 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10592 "must call C<guestfs_free_partition_list> after use>."
10593 msgstr ""
10594
10595 # type: =head2
10596 #: ../src/guestfs-actions.pod:3837
10597 msgid "guestfs_part_set_bootable"
10598 msgstr ""
10599
10600 # type: verbatim
10601 #: ../src/guestfs-actions.pod:3839
10602 #, no-wrap
10603 msgid ""
10604 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10605 "\t\tconst char *device,\n"
10606 "\t\tint partnum,\n"
10607 "\t\tint bootable);\n"
10608 "\n"
10609 msgstr ""
10610
10611 # type: textblock
10612 #: ../src/guestfs-actions.pod:3844 ../fish/guestfish-actions.pod:2968
10613 msgid ""
10614 "This sets the bootable flag on partition numbered C<partnum> on device "
10615 "C<device>.  Note that partitions are numbered from 1."
10616 msgstr ""
10617
10618 # type: textblock
10619 #: ../src/guestfs-actions.pod:3847 ../fish/guestfish-actions.pod:2971
10620 msgid ""
10621 "The bootable flag is used by some operating systems (notably Windows) to "
10622 "determine which partition to boot from.  It is by no means universally "
10623 "recognized."
10624 msgstr ""
10625
10626 # type: =head2
10627 #: ../src/guestfs-actions.pod:3853
10628 msgid "guestfs_part_set_mbr_id"
10629 msgstr ""
10630
10631 # type: verbatim
10632 #: ../src/guestfs-actions.pod:3855
10633 #, no-wrap
10634 msgid ""
10635 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10636 "\t\tconst char *device,\n"
10637 "\t\tint partnum,\n"
10638 "\t\tint idbyte);\n"
10639 "\n"
10640 msgstr ""
10641
10642 # type: textblock
10643 #: ../src/guestfs-actions.pod:3860 ../fish/guestfish-actions.pod:2979
10644 msgid ""
10645 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10646 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10647 "documentation are in fact hexadecimal numbers, but usually documented "
10648 "without any leading \"0x\" which might be confusing."
10649 msgstr ""
10650
10651 # type: =head2
10652 #: ../src/guestfs-actions.pod:3872
10653 msgid "guestfs_part_set_name"
10654 msgstr ""
10655
10656 # type: verbatim
10657 #: ../src/guestfs-actions.pod:3874
10658 #, no-wrap
10659 msgid ""
10660 " int guestfs_part_set_name (guestfs_h *g,\n"
10661 "\t\tconst char *device,\n"
10662 "\t\tint partnum,\n"
10663 "\t\tconst char *name);\n"
10664 "\n"
10665 msgstr ""
10666
10667 # type: textblock
10668 #: ../src/guestfs-actions.pod:3879 ../fish/guestfish-actions.pod:2993
10669 msgid ""
10670 "This sets the partition name on partition numbered C<partnum> on device "
10671 "C<device>.  Note that partitions are numbered from 1."
10672 msgstr ""
10673
10674 # type: textblock
10675 #: ../src/guestfs-actions.pod:3882 ../fish/guestfish-actions.pod:2996
10676 msgid ""
10677 "The partition name can only be set on certain types of partition table.  "
10678 "This works on C<gpt> but not on C<mbr> partitions."
10679 msgstr ""
10680
10681 # type: =head2
10682 #: ../src/guestfs-actions.pod:3887
10683 msgid "guestfs_part_to_dev"
10684 msgstr ""
10685
10686 # type: verbatim
10687 #: ../src/guestfs-actions.pod:3889
10688 #, no-wrap
10689 msgid ""
10690 " char *guestfs_part_to_dev (guestfs_h *g,\n"
10691 "\t\tconst char *partition);\n"
10692 "\n"
10693 msgstr ""
10694
10695 # type: textblock
10696 #: ../src/guestfs-actions.pod:3892 ../fish/guestfish-actions.pod:3003
10697 msgid ""
10698 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
10699 "partition number, returning the device name (eg. \"/dev/sdb\")."
10700 msgstr ""
10701
10702 # type: textblock
10703 #: ../src/guestfs-actions.pod:3896
10704 msgid ""
10705 "The named partition must exist, for example as a string returned from "
10706 "C<guestfs_list_partitions>."
10707 msgstr ""
10708
10709 # type: =head2
10710 #: ../src/guestfs-actions.pod:3902
10711 msgid "guestfs_ping_daemon"
10712 msgstr ""
10713
10714 # type: verbatim
10715 #: ../src/guestfs-actions.pod:3904
10716 #, no-wrap
10717 msgid ""
10718 " int guestfs_ping_daemon (guestfs_h *g);\n"
10719 "\n"
10720 msgstr ""
10721
10722 # type: textblock
10723 #: ../src/guestfs-actions.pod:3906 ../fish/guestfish-actions.pod:3014
10724 msgid ""
10725 "This is a test probe into the guestfs daemon running inside the qemu "
10726 "subprocess.  Calling this function checks that the daemon responds to the "
10727 "ping message, without affecting the daemon or attached block device(s) in "
10728 "any other way."
10729 msgstr ""
10730
10731 # type: =head2
10732 #: ../src/guestfs-actions.pod:3913
10733 msgid "guestfs_pread"
10734 msgstr ""
10735
10736 # type: verbatim
10737 #: ../src/guestfs-actions.pod:3915
10738 #, no-wrap
10739 msgid ""
10740 " char *guestfs_pread (guestfs_h *g,\n"
10741 "\t\tconst char *path,\n"
10742 "\t\tint count,\n"
10743 "\t\tint64_t offset,\n"
10744 "\t\tsize_t *size_r);\n"
10745 "\n"
10746 msgstr ""
10747
10748 # type: textblock
10749 #: ../src/guestfs-actions.pod:3921 ../fish/guestfish-actions.pod:3023
10750 msgid ""
10751 "This command lets you read part of a file.  It reads C<count> bytes of the "
10752 "file, starting at C<offset>, from file C<path>."
10753 msgstr ""
10754
10755 # type: textblock
10756 #: ../src/guestfs-actions.pod:3924 ../src/guestfs-actions.pod:3947 ../fish/guestfish-actions.pod:3026 ../fish/guestfish-actions.pod:3041
10757 msgid ""
10758 "This may read fewer bytes than requested.  For further details see the "
10759 "L<pread(2)> system call."
10760 msgstr ""
10761
10762 # type: textblock
10763 #: ../src/guestfs-actions.pod:3927
10764 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
10765 msgstr ""
10766
10767 # type: =head2
10768 #: ../src/guestfs-actions.pod:3936
10769 msgid "guestfs_pread_device"
10770 msgstr ""
10771
10772 # type: verbatim
10773 #: ../src/guestfs-actions.pod:3938
10774 #, no-wrap
10775 msgid ""
10776 " char *guestfs_pread_device (guestfs_h *g,\n"
10777 "\t\tconst char *device,\n"
10778 "\t\tint count,\n"
10779 "\t\tint64_t offset,\n"
10780 "\t\tsize_t *size_r);\n"
10781 "\n"
10782 msgstr ""
10783
10784 # type: textblock
10785 #: ../src/guestfs-actions.pod:3944 ../fish/guestfish-actions.pod:3038
10786 msgid ""
10787 "This command lets you read part of a file.  It reads C<count> bytes of "
10788 "C<device>, starting at C<offset>."
10789 msgstr ""
10790
10791 # type: textblock
10792 #: ../src/guestfs-actions.pod:3950
10793 msgid "See also C<guestfs_pread>."
10794 msgstr ""
10795
10796 # type: =head2
10797 #: ../src/guestfs-actions.pod:3959
10798 msgid "guestfs_pvcreate"
10799 msgstr ""
10800
10801 # type: verbatim
10802 #: ../src/guestfs-actions.pod:3961
10803 #, no-wrap
10804 msgid ""
10805 " int guestfs_pvcreate (guestfs_h *g,\n"
10806 "\t\tconst char *device);\n"
10807 "\n"
10808 msgstr ""
10809
10810 # type: textblock
10811 #: ../src/guestfs-actions.pod:3964 ../fish/guestfish-actions.pod:3053
10812 msgid ""
10813 "This creates an LVM physical volume on the named C<device>, where C<device> "
10814 "should usually be a partition name such as C</dev/sda1>."
10815 msgstr ""
10816
10817 # type: =head2
10818 #: ../src/guestfs-actions.pod:3970
10819 msgid "guestfs_pvremove"
10820 msgstr ""
10821
10822 # type: verbatim
10823 #: ../src/guestfs-actions.pod:3972
10824 #, no-wrap
10825 msgid ""
10826 " int guestfs_pvremove (guestfs_h *g,\n"
10827 "\t\tconst char *device);\n"
10828 "\n"
10829 msgstr ""
10830
10831 # type: textblock
10832 #: ../src/guestfs-actions.pod:3975 ../fish/guestfish-actions.pod:3061
10833 msgid ""
10834 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10835 "it."
10836 msgstr ""
10837
10838 # type: textblock
10839 #: ../src/guestfs-actions.pod:3978 ../fish/guestfish-actions.pod:3064
10840 msgid ""
10841 "The implementation uses the C<pvremove> command which refuses to wipe "
10842 "physical volumes that contain any volume groups, so you have to remove those "
10843 "first."
10844 msgstr ""
10845
10846 # type: =head2
10847 #: ../src/guestfs-actions.pod:3984
10848 msgid "guestfs_pvresize"
10849 msgstr ""
10850
10851 # type: verbatim
10852 #: ../src/guestfs-actions.pod:3986
10853 #, no-wrap
10854 msgid ""
10855 " int guestfs_pvresize (guestfs_h *g,\n"
10856 "\t\tconst char *device);\n"
10857 "\n"
10858 msgstr ""
10859
10860 # type: textblock
10861 #: ../src/guestfs-actions.pod:3989 ../fish/guestfish-actions.pod:3072
10862 msgid ""
10863 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10864 "the new size of the underlying device."
10865 msgstr ""
10866
10867 # type: =head2
10868 #: ../src/guestfs-actions.pod:3994
10869 msgid "guestfs_pvresize_size"
10870 msgstr ""
10871
10872 # type: verbatim
10873 #: ../src/guestfs-actions.pod:3996
10874 #, no-wrap
10875 msgid ""
10876 " int guestfs_pvresize_size (guestfs_h *g,\n"
10877 "\t\tconst char *device,\n"
10878 "\t\tint64_t size);\n"
10879 "\n"
10880 msgstr ""
10881
10882 # type: textblock
10883 #: ../src/guestfs-actions.pod:4000
10884 msgid ""
10885 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10886 "specify the new size (in bytes) explicitly."
10887 msgstr ""
10888
10889 # type: =head2
10890 #: ../src/guestfs-actions.pod:4005
10891 msgid "guestfs_pvs"
10892 msgstr ""
10893
10894 # type: verbatim
10895 #: ../src/guestfs-actions.pod:4007
10896 #, no-wrap
10897 msgid ""
10898 " char **guestfs_pvs (guestfs_h *g);\n"
10899 "\n"
10900 msgstr ""
10901
10902 # type: textblock
10903 #: ../src/guestfs-actions.pod:4009 ../fish/guestfish-actions.pod:3086
10904 msgid ""
10905 "List all the physical volumes detected.  This is the equivalent of the "
10906 "L<pvs(8)> command."
10907 msgstr ""
10908
10909 # type: textblock
10910 #: ../src/guestfs-actions.pod:4012 ../fish/guestfish-actions.pod:3089
10911 msgid ""
10912 "This returns a list of just the device names that contain PVs "
10913 "(eg. C</dev/sda2>)."
10914 msgstr ""
10915
10916 # type: textblock
10917 #: ../src/guestfs-actions.pod:4015
10918 msgid "See also C<guestfs_pvs_full>."
10919 msgstr ""
10920
10921 # type: =head2
10922 #: ../src/guestfs-actions.pod:4021
10923 msgid "guestfs_pvs_full"
10924 msgstr ""
10925
10926 # type: verbatim
10927 #: ../src/guestfs-actions.pod:4023
10928 #, no-wrap
10929 msgid ""
10930 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10931 "\n"
10932 msgstr ""
10933
10934 # type: textblock
10935 #: ../src/guestfs-actions.pod:4025 ../fish/guestfish-actions.pod:3098
10936 msgid ""
10937 "List all the physical volumes detected.  This is the equivalent of the "
10938 "L<pvs(8)> command.  The \"full\" version includes all fields."
10939 msgstr ""
10940
10941 # type: textblock
10942 #: ../src/guestfs-actions.pod:4028
10943 msgid ""
10944 "This function returns a C<struct guestfs_lvm_pv_list *> (see "
10945 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10946 "must call C<guestfs_free_lvm_pv_list> after use>."
10947 msgstr ""
10948
10949 # type: =head2
10950 #: ../src/guestfs-actions.pod:4033
10951 msgid "guestfs_pvuuid"
10952 msgstr ""
10953
10954 # type: verbatim
10955 #: ../src/guestfs-actions.pod:4035
10956 #, no-wrap
10957 msgid ""
10958 " char *guestfs_pvuuid (guestfs_h *g,\n"
10959 "\t\tconst char *device);\n"
10960 "\n"
10961 msgstr ""
10962
10963 # type: textblock
10964 #: ../src/guestfs-actions.pod:4038 ../fish/guestfish-actions.pod:3105
10965 msgid "This command returns the UUID of the LVM PV C<device>."
10966 msgstr ""
10967
10968 # type: =head2
10969 #: ../src/guestfs-actions.pod:4043
10970 msgid "guestfs_pwrite"
10971 msgstr ""
10972
10973 # type: verbatim
10974 #: ../src/guestfs-actions.pod:4045
10975 #, no-wrap
10976 msgid ""
10977 " int guestfs_pwrite (guestfs_h *g,\n"
10978 "\t\tconst char *path,\n"
10979 "\t\tconst char *content,\n"
10980 "\t\tsize_t content_size,\n"
10981 "\t\tint64_t offset);\n"
10982 "\n"
10983 msgstr ""
10984
10985 # type: textblock
10986 #: ../src/guestfs-actions.pod:4051 ../fish/guestfish-actions.pod:3111
10987 msgid ""
10988 "This command writes to part of a file.  It writes the data buffer C<content> "
10989 "to the file C<path> starting at offset C<offset>."
10990 msgstr ""
10991
10992 # type: textblock
10993 #: ../src/guestfs-actions.pod:4054 ../fish/guestfish-actions.pod:3114
10994 msgid ""
10995 "This command implements the L<pwrite(2)> system call, and like that system "
10996 "call it may not write the full data requested.  The return value is the "
10997 "number of bytes that were actually written to the file.  This could even be "
10998 "0, although short writes are unlikely for regular files in ordinary "
10999 "circumstances."
11000 msgstr ""
11001
11002 # type: textblock
11003 #: ../src/guestfs-actions.pod:4060
11004 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
11005 msgstr ""
11006
11007 # type: =head2
11008 #: ../src/guestfs-actions.pod:4067
11009 msgid "guestfs_pwrite_device"
11010 msgstr ""
11011
11012 # type: verbatim
11013 #: ../src/guestfs-actions.pod:4069
11014 #, no-wrap
11015 msgid ""
11016 " int guestfs_pwrite_device (guestfs_h *g,\n"
11017 "\t\tconst char *device,\n"
11018 "\t\tconst char *content,\n"
11019 "\t\tsize_t content_size,\n"
11020 "\t\tint64_t offset);\n"
11021 "\n"
11022 msgstr ""
11023
11024 # type: textblock
11025 #: ../src/guestfs-actions.pod:4075 ../fish/guestfish-actions.pod:3129
11026 msgid ""
11027 "This command writes to part of a device.  It writes the data buffer "
11028 "C<content> to C<device> starting at offset C<offset>."
11029 msgstr ""
11030
11031 # type: textblock
11032 #: ../src/guestfs-actions.pod:4078 ../fish/guestfish-actions.pod:3132
11033 msgid ""
11034 "This command implements the L<pwrite(2)> system call, and like that system "
11035 "call it may not write the full data requested (although short writes to disk "
11036 "devices and partitions are probably impossible with standard Linux kernels)."
11037 msgstr ""
11038
11039 # type: textblock
11040 #: ../src/guestfs-actions.pod:4083
11041 msgid "See also C<guestfs_pwrite>."
11042 msgstr ""
11043
11044 # type: =head2
11045 #: ../src/guestfs-actions.pod:4090
11046 msgid "guestfs_read_file"
11047 msgstr ""
11048
11049 # type: verbatim
11050 #: ../src/guestfs-actions.pod:4092
11051 #, no-wrap
11052 msgid ""
11053 " char *guestfs_read_file (guestfs_h *g,\n"
11054 "\t\tconst char *path,\n"
11055 "\t\tsize_t *size_r);\n"
11056 "\n"
11057 msgstr ""
11058
11059 # type: textblock
11060 #: ../src/guestfs-actions.pod:4096 ../fish/guestfish-actions.pod:3146
11061 msgid "This calls returns the contents of the file C<path> as a buffer."
11062 msgstr ""
11063
11064 # type: textblock
11065 #: ../src/guestfs-actions.pod:4099
11066 msgid ""
11067 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
11068 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
11069 "function is limited in the total size of file that can be handled."
11070 msgstr ""
11071
11072 # type: =head2
11073 #: ../src/guestfs-actions.pod:4111
11074 msgid "guestfs_read_lines"
11075 msgstr ""
11076
11077 # type: verbatim
11078 #: ../src/guestfs-actions.pod:4113
11079 #, no-wrap
11080 msgid ""
11081 " char **guestfs_read_lines (guestfs_h *g,\n"
11082 "\t\tconst char *path);\n"
11083 "\n"
11084 msgstr ""
11085
11086 # type: textblock
11087 #: ../src/guestfs-actions.pod:4118 ../fish/guestfish-actions.pod:3163
11088 msgid ""
11089 "The file contents are returned as a list of lines.  Trailing C<LF> and "
11090 "C<CRLF> character sequences are I<not> returned."
11091 msgstr ""
11092
11093 # type: textblock
11094 #: ../src/guestfs-actions.pod:4121
11095 msgid ""
11096 "Note that this function cannot correctly handle binary files (specifically, "
11097 "files containing C<\\0> character which is treated as end of line).  For "
11098 "those you need to use the C<guestfs_read_file> function which has a more "
11099 "complex interface."
11100 msgstr ""
11101
11102 # type: =head2
11103 #: ../src/guestfs-actions.pod:4130
11104 msgid "guestfs_readdir"
11105 msgstr ""
11106
11107 # type: verbatim
11108 #: ../src/guestfs-actions.pod:4132
11109 #, no-wrap
11110 msgid ""
11111 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
11112 "\t\tconst char *dir);\n"
11113 "\n"
11114 msgstr ""
11115
11116 # type: textblock
11117 #: ../src/guestfs-actions.pod:4135 ../fish/guestfish-actions.pod:3175
11118 msgid "This returns the list of directory entries in directory C<dir>."
11119 msgstr ""
11120
11121 # type: textblock
11122 #: ../src/guestfs-actions.pod:4137 ../fish/guestfish-actions.pod:3177
11123 msgid ""
11124 "All entries in the directory are returned, including C<.> and C<..>.  The "
11125 "entries are I<not> sorted, but returned in the same order as the underlying "
11126 "filesystem."
11127 msgstr ""
11128
11129 # type: textblock
11130 #: ../src/guestfs-actions.pod:4141 ../fish/guestfish-actions.pod:3181
11131 msgid ""
11132 "Also this call returns basic file type information about each file.  The "
11133 "C<ftyp> field will contain one of the following characters:"
11134 msgstr ""
11135
11136 # type: =item
11137 #: ../src/guestfs-actions.pod:4146 ../fish/guestfish-actions.pod:3186
11138 msgid "'b'"
11139 msgstr ""
11140
11141 # type: textblock
11142 #: ../src/guestfs-actions.pod:4148 ../fish/guestfish-actions.pod:3188
11143 msgid "Block special"
11144 msgstr ""
11145
11146 # type: =item
11147 #: ../src/guestfs-actions.pod:4150 ../fish/guestfish-actions.pod:3190
11148 msgid "'c'"
11149 msgstr ""
11150
11151 # type: textblock
11152 #: ../src/guestfs-actions.pod:4152 ../fish/guestfish-actions.pod:3192
11153 msgid "Char special"
11154 msgstr ""
11155
11156 # type: =item
11157 #: ../src/guestfs-actions.pod:4154 ../fish/guestfish-actions.pod:3194
11158 msgid "'d'"
11159 msgstr ""
11160
11161 # type: textblock
11162 #: ../src/guestfs-actions.pod:4156 ../fish/guestfish-actions.pod:3196
11163 msgid "Directory"
11164 msgstr ""
11165
11166 # type: =item
11167 #: ../src/guestfs-actions.pod:4158 ../fish/guestfish-actions.pod:3198
11168 msgid "'f'"
11169 msgstr ""
11170
11171 # type: textblock
11172 #: ../src/guestfs-actions.pod:4160 ../fish/guestfish-actions.pod:3200
11173 msgid "FIFO (named pipe)"
11174 msgstr ""
11175
11176 # type: =item
11177 #: ../src/guestfs-actions.pod:4162 ../fish/guestfish-actions.pod:3202
11178 msgid "'l'"
11179 msgstr ""
11180
11181 # type: textblock
11182 #: ../src/guestfs-actions.pod:4164 ../fish/guestfish-actions.pod:3204
11183 msgid "Symbolic link"
11184 msgstr ""
11185
11186 # type: =item
11187 #: ../src/guestfs-actions.pod:4166 ../fish/guestfish-actions.pod:3206
11188 msgid "'r'"
11189 msgstr ""
11190
11191 # type: textblock
11192 #: ../src/guestfs-actions.pod:4168 ../fish/guestfish-actions.pod:3208
11193 msgid "Regular file"
11194 msgstr ""
11195
11196 # type: =item
11197 #: ../src/guestfs-actions.pod:4170 ../fish/guestfish-actions.pod:3210
11198 msgid "'s'"
11199 msgstr ""
11200
11201 # type: textblock
11202 #: ../src/guestfs-actions.pod:4172 ../fish/guestfish-actions.pod:3212
11203 msgid "Socket"
11204 msgstr ""
11205
11206 # type: =item
11207 #: ../src/guestfs-actions.pod:4174 ../fish/guestfish-actions.pod:3214
11208 msgid "'u'"
11209 msgstr ""
11210
11211 # type: textblock
11212 #: ../src/guestfs-actions.pod:4176 ../fish/guestfish-actions.pod:3216
11213 msgid "Unknown file type"
11214 msgstr ""
11215
11216 # type: =item
11217 #: ../src/guestfs-actions.pod:4178 ../fish/guestfish-actions.pod:3218
11218 msgid "'?'"
11219 msgstr ""
11220
11221 # type: textblock
11222 #: ../src/guestfs-actions.pod:4180 ../fish/guestfish-actions.pod:3220
11223 msgid "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
11224 msgstr ""
11225
11226 # type: textblock
11227 #: ../src/guestfs-actions.pod:4185
11228 msgid ""
11229 "This function is primarily intended for use by programs.  To get a simple "
11230 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
11231 "consumption, use C<guestfs_ll>."
11232 msgstr ""
11233
11234 # type: textblock
11235 #: ../src/guestfs-actions.pod:4189
11236 msgid ""
11237 "This function returns a C<struct guestfs_dirent_list *> (see "
11238 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
11239 "must call C<guestfs_free_dirent_list> after use>."
11240 msgstr ""
11241
11242 # type: =head2
11243 #: ../src/guestfs-actions.pod:4194
11244 msgid "guestfs_readlink"
11245 msgstr ""
11246
11247 # type: verbatim
11248 #: ../src/guestfs-actions.pod:4196
11249 #, no-wrap
11250 msgid ""
11251 " char *guestfs_readlink (guestfs_h *g,\n"
11252 "\t\tconst char *path);\n"
11253 "\n"
11254 msgstr ""
11255
11256 # type: textblock
11257 #: ../src/guestfs-actions.pod:4199 ../fish/guestfish-actions.pod:3233
11258 msgid "This command reads the target of a symbolic link."
11259 msgstr ""
11260
11261 # type: =head2
11262 #: ../src/guestfs-actions.pod:4204
11263 msgid "guestfs_readlinklist"
11264 msgstr ""
11265
11266 # type: verbatim
11267 #: ../src/guestfs-actions.pod:4206
11268 #, no-wrap
11269 msgid ""
11270 " char **guestfs_readlinklist (guestfs_h *g,\n"
11271 "\t\tconst char *path,\n"
11272 "\t\tchar *const *names);\n"
11273 "\n"
11274 msgstr ""
11275
11276 # type: textblock
11277 #: ../src/guestfs-actions.pod:4210 ../fish/guestfish-actions.pod:3239
11278 msgid ""
11279 "This call allows you to do a C<readlink> operation on multiple files, where "
11280 "all files are in the directory C<path>.  C<names> is the list of files from "
11281 "this directory."
11282 msgstr ""
11283
11284 # type: textblock
11285 #: ../src/guestfs-actions.pod:4214 ../fish/guestfish-actions.pod:3243
11286 msgid ""
11287 "On return you get a list of strings, with a one-to-one correspondence to the "
11288 "C<names> list.  Each string is the value of the symbolic link."
11289 msgstr ""
11290
11291 # type: textblock
11292 #: ../src/guestfs-actions.pod:4218 ../fish/guestfish-actions.pod:3247
11293 msgid ""
11294 "If the C<readlink(2)> operation fails on any name, then the corresponding "
11295 "result string is the empty string C<\"\">.  However the whole operation is "
11296 "completed even if there were C<readlink(2)> errors, and so you can call this "
11297 "function with names where you don't know if they are symbolic links already "
11298 "(albeit slightly less efficient)."
11299 msgstr ""
11300
11301 # type: textblock
11302 #: ../src/guestfs-actions.pod:4225 ../fish/guestfish-actions.pod:3254
11303 msgid ""
11304 "This call is intended for programs that want to efficiently list a directory "
11305 "contents without making many round-trips.  Very long directory listings "
11306 "might cause the protocol message size to be exceeded, causing this call to "
11307 "fail.  The caller must split up such requests into smaller groups of names."
11308 msgstr ""
11309
11310 # type: =head2
11311 #: ../src/guestfs-actions.pod:4236
11312 msgid "guestfs_realpath"
11313 msgstr ""
11314
11315 # type: verbatim
11316 #: ../src/guestfs-actions.pod:4238
11317 #, no-wrap
11318 msgid ""
11319 " char *guestfs_realpath (guestfs_h *g,\n"
11320 "\t\tconst char *path);\n"
11321 "\n"
11322 msgstr ""
11323
11324 # type: textblock
11325 #: ../src/guestfs-actions.pod:4241 ../fish/guestfish-actions.pod:3265
11326 msgid ""
11327 "Return the canonicalized absolute pathname of C<path>.  The returned path "
11328 "has no C<.>, C<..> or symbolic link path elements."
11329 msgstr ""
11330
11331 # type: =head2
11332 #: ../src/guestfs-actions.pod:4247
11333 msgid "guestfs_removexattr"
11334 msgstr ""
11335
11336 # type: verbatim
11337 #: ../src/guestfs-actions.pod:4249
11338 #, no-wrap
11339 msgid ""
11340 " int guestfs_removexattr (guestfs_h *g,\n"
11341 "\t\tconst char *xattr,\n"
11342 "\t\tconst char *path);\n"
11343 "\n"
11344 msgstr ""
11345
11346 # type: textblock
11347 #: ../src/guestfs-actions.pod:4253 ../fish/guestfish-actions.pod:3272
11348 msgid "This call removes the extended attribute named C<xattr> of the file C<path>."
11349 msgstr ""
11350
11351 # type: textblock
11352 #: ../src/guestfs-actions.pod:4256
11353 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
11354 msgstr ""
11355
11356 # type: =head2
11357 #: ../src/guestfs-actions.pod:4260
11358 msgid "guestfs_resize2fs"
11359 msgstr ""
11360
11361 # type: verbatim
11362 #: ../src/guestfs-actions.pod:4262
11363 #, no-wrap
11364 msgid ""
11365 " int guestfs_resize2fs (guestfs_h *g,\n"
11366 "\t\tconst char *device);\n"
11367 "\n"
11368 msgstr ""
11369
11370 # type: textblock
11371 #: ../src/guestfs-actions.pod:4265 ../fish/guestfish-actions.pod:3281
11372 msgid ""
11373 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
11374 "underlying device."
11375 msgstr ""
11376
11377 # type: textblock
11378 #: ../src/guestfs-actions.pod:4268
11379 msgid ""
11380 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
11381 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
11382 "sometimes gives an error about this and sometimes not.  In any case, it is "
11383 "always safe to call C<guestfs_e2fsck_f> before calling this function."
11384 msgstr ""
11385
11386 # type: =head2
11387 #: ../src/guestfs-actions.pod:4276
11388 msgid "guestfs_resize2fs_size"
11389 msgstr ""
11390
11391 # type: verbatim
11392 #: ../src/guestfs-actions.pod:4278
11393 #, no-wrap
11394 msgid ""
11395 " int guestfs_resize2fs_size (guestfs_h *g,\n"
11396 "\t\tconst char *device,\n"
11397 "\t\tint64_t size);\n"
11398 "\n"
11399 msgstr ""
11400
11401 # type: textblock
11402 #: ../src/guestfs-actions.pod:4282
11403 msgid ""
11404 "This command is the same as C<guestfs_resize2fs> except that it allows you "
11405 "to specify the new size (in bytes) explicitly."
11406 msgstr ""
11407
11408 # type: =head2
11409 #: ../src/guestfs-actions.pod:4287
11410 msgid "guestfs_rm"
11411 msgstr ""
11412
11413 # type: verbatim
11414 #: ../src/guestfs-actions.pod:4289
11415 #, no-wrap
11416 msgid ""
11417 " int guestfs_rm (guestfs_h *g,\n"
11418 "\t\tconst char *path);\n"
11419 "\n"
11420 msgstr ""
11421
11422 # type: textblock
11423 #: ../src/guestfs-actions.pod:4292 ../fish/guestfish-actions.pod:3301
11424 msgid "Remove the single file C<path>."
11425 msgstr ""
11426
11427 # type: =head2
11428 #: ../src/guestfs-actions.pod:4296
11429 msgid "guestfs_rm_rf"
11430 msgstr ""
11431
11432 # type: verbatim
11433 #: ../src/guestfs-actions.pod:4298
11434 #, no-wrap
11435 msgid ""
11436 " int guestfs_rm_rf (guestfs_h *g,\n"
11437 "\t\tconst char *path);\n"
11438 "\n"
11439 msgstr ""
11440
11441 # type: textblock
11442 #: ../src/guestfs-actions.pod:4301 ../fish/guestfish-actions.pod:3307
11443 msgid ""
11444 "Remove the file or directory C<path>, recursively removing the contents if "
11445 "its a directory.  This is like the C<rm -rf> shell command."
11446 msgstr ""
11447
11448 # type: =head2
11449 #: ../src/guestfs-actions.pod:4307
11450 msgid "guestfs_rmdir"
11451 msgstr ""
11452
11453 # type: verbatim
11454 #: ../src/guestfs-actions.pod:4309
11455 #, no-wrap
11456 msgid ""
11457 " int guestfs_rmdir (guestfs_h *g,\n"
11458 "\t\tconst char *path);\n"
11459 "\n"
11460 msgstr ""
11461
11462 # type: textblock
11463 #: ../src/guestfs-actions.pod:4312 ../fish/guestfish-actions.pod:3315
11464 msgid "Remove the single directory C<path>."
11465 msgstr ""
11466
11467 # type: =head2
11468 #: ../src/guestfs-actions.pod:4316
11469 msgid "guestfs_rmmountpoint"
11470 msgstr ""
11471
11472 # type: verbatim
11473 #: ../src/guestfs-actions.pod:4318
11474 #, no-wrap
11475 msgid ""
11476 " int guestfs_rmmountpoint (guestfs_h *g,\n"
11477 "\t\tconst char *exemptpath);\n"
11478 "\n"
11479 msgstr ""
11480
11481 # type: textblock
11482 #: ../src/guestfs-actions.pod:4321
11483 msgid ""
11484 "This calls removes a mountpoint that was previously created with "
11485 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
11486 msgstr ""
11487
11488 # type: =head2
11489 #: ../src/guestfs-actions.pod:4327
11490 msgid "guestfs_scrub_device"
11491 msgstr ""
11492
11493 # type: verbatim
11494 #: ../src/guestfs-actions.pod:4329
11495 #, no-wrap
11496 msgid ""
11497 " int guestfs_scrub_device (guestfs_h *g,\n"
11498 "\t\tconst char *device);\n"
11499 "\n"
11500 msgstr ""
11501
11502 # type: textblock
11503 #: ../src/guestfs-actions.pod:4332 ../fish/guestfish-actions.pod:3329
11504 msgid ""
11505 "This command writes patterns over C<device> to make data retrieval more "
11506 "difficult."
11507 msgstr ""
11508
11509 # type: textblock
11510 #: ../src/guestfs-actions.pod:4335 ../src/guestfs-actions.pod:4353 ../src/guestfs-actions.pod:4369 ../fish/guestfish-actions.pod:3332 ../fish/guestfish-actions.pod:3347 ../fish/guestfish-actions.pod:3360
11511 msgid ""
11512 "It is an interface to the L<scrub(1)> program.  See that manual page for "
11513 "more details."
11514 msgstr ""
11515
11516 # type: =head2
11517 #: ../src/guestfs-actions.pod:4343
11518 msgid "guestfs_scrub_file"
11519 msgstr ""
11520
11521 # type: verbatim
11522 #: ../src/guestfs-actions.pod:4345
11523 #, no-wrap
11524 msgid ""
11525 " int guestfs_scrub_file (guestfs_h *g,\n"
11526 "\t\tconst char *file);\n"
11527 "\n"
11528 msgstr ""
11529
11530 # type: textblock
11531 #: ../src/guestfs-actions.pod:4348 ../fish/guestfish-actions.pod:3342
11532 msgid ""
11533 "This command writes patterns over a file to make data retrieval more "
11534 "difficult."
11535 msgstr ""
11536
11537 # type: textblock
11538 #: ../src/guestfs-actions.pod:4351 ../fish/guestfish-actions.pod:3345
11539 msgid "The file is I<removed> after scrubbing."
11540 msgstr ""
11541
11542 # type: =head2
11543 #: ../src/guestfs-actions.pod:4358
11544 msgid "guestfs_scrub_freespace"
11545 msgstr ""
11546
11547 # type: verbatim
11548 #: ../src/guestfs-actions.pod:4360
11549 #, no-wrap
11550 msgid ""
11551 " int guestfs_scrub_freespace (guestfs_h *g,\n"
11552 "\t\tconst char *dir);\n"
11553 "\n"
11554 msgstr ""
11555
11556 # type: textblock
11557 #: ../src/guestfs-actions.pod:4363
11558 msgid ""
11559 "This command creates the directory C<dir> and then fills it with files until "
11560 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
11561 "and deletes them.  The intention is to scrub any free space on the partition "
11562 "containing C<dir>."
11563 msgstr ""
11564
11565 # type: =head2
11566 #: ../src/guestfs-actions.pod:4374
11567 msgid "guestfs_set_append"
11568 msgstr ""
11569
11570 # type: verbatim
11571 #: ../src/guestfs-actions.pod:4376
11572 #, no-wrap
11573 msgid ""
11574 " int guestfs_set_append (guestfs_h *g,\n"
11575 "\t\tconst char *append);\n"
11576 "\n"
11577 msgstr ""
11578
11579 # type: textblock
11580 #: ../src/guestfs-actions.pod:4379 ../fish/guestfish-actions.pod:3369
11581 msgid ""
11582 "This function is used to add additional options to the guest kernel command "
11583 "line."
11584 msgstr ""
11585
11586 # type: textblock
11587 #: ../src/guestfs-actions.pod:4382 ../fish/guestfish-actions.pod:3372
11588 msgid ""
11589 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
11590 "environment variable."
11591 msgstr ""
11592
11593 # type: textblock
11594 #: ../src/guestfs-actions.pod:4385 ../fish/guestfish-actions.pod:3375
11595 msgid ""
11596 "Setting C<append> to C<NULL> means I<no> additional options are passed "
11597 "(libguestfs always adds a few of its own)."
11598 msgstr ""
11599
11600 # type: =head2
11601 #: ../src/guestfs-actions.pod:4390
11602 msgid "guestfs_set_autosync"
11603 msgstr ""
11604
11605 # type: verbatim
11606 #: ../src/guestfs-actions.pod:4392
11607 #, no-wrap
11608 msgid ""
11609 " int guestfs_set_autosync (guestfs_h *g,\n"
11610 "\t\tint autosync);\n"
11611 "\n"
11612 msgstr ""
11613
11614 # type: textblock
11615 #: ../src/guestfs-actions.pod:4395
11616 msgid ""
11617 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
11618 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
11619 "the handle is closed (also if the program exits without closing handles)."
11620 msgstr ""
11621
11622 # type: textblock
11623 #: ../src/guestfs-actions.pod:4400 ../fish/guestfish-actions.pod:3389
11624 msgid ""
11625 "This is enabled by default (since libguestfs 1.5.24, previously it was "
11626 "disabled by default)."
11627 msgstr ""
11628
11629 # type: =head2
11630 #: ../src/guestfs-actions.pod:4405
11631 msgid "guestfs_set_direct"
11632 msgstr ""
11633
11634 # type: verbatim
11635 #: ../src/guestfs-actions.pod:4407
11636 #, no-wrap
11637 msgid ""
11638 " int guestfs_set_direct (guestfs_h *g,\n"
11639 "\t\tint direct);\n"
11640 "\n"
11641 msgstr ""
11642
11643 # type: textblock
11644 #: ../src/guestfs-actions.pod:4410 ../fish/guestfish-actions.pod:3398
11645 msgid ""
11646 "If the direct appliance mode flag is enabled, then stdin and stdout are "
11647 "passed directly through to the appliance once it is launched."
11648 msgstr ""
11649
11650 # type: textblock
11651 #: ../src/guestfs-actions.pod:4414
11652 msgid ""
11653 "One consequence of this is that log messages aren't caught by the library "
11654 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
11655 "stdout."
11656 msgstr ""
11657
11658 # type: textblock
11659 #: ../src/guestfs-actions.pod:4418 ../fish/guestfish-actions.pod:3406
11660 msgid "You probably don't want to use this unless you know what you are doing."
11661 msgstr ""
11662
11663 # type: textblock
11664 #: ../src/guestfs-actions.pod:4421 ../fish/guestfish-actions.pod:3409
11665 msgid "The default is disabled."
11666 msgstr ""
11667
11668 # type: =head2
11669 #: ../src/guestfs-actions.pod:4425
11670 msgid "guestfs_set_e2label"
11671 msgstr ""
11672
11673 # type: verbatim
11674 #: ../src/guestfs-actions.pod:4427
11675 #, no-wrap
11676 msgid ""
11677 " int guestfs_set_e2label (guestfs_h *g,\n"
11678 "\t\tconst char *device,\n"
11679 "\t\tconst char *label);\n"
11680 "\n"
11681 msgstr ""
11682
11683 # type: textblock
11684 #: ../src/guestfs-actions.pod:4431 ../fish/guestfish-actions.pod:3415
11685 msgid ""
11686 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11687 "C<label>.  Filesystem labels are limited to 16 characters."
11688 msgstr ""
11689
11690 # type: textblock
11691 #: ../src/guestfs-actions.pod:4435
11692 msgid ""
11693 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11694 "the existing label on a filesystem."
11695 msgstr ""
11696
11697 # type: =head2
11698 #: ../src/guestfs-actions.pod:4440
11699 msgid "guestfs_set_e2uuid"
11700 msgstr ""
11701
11702 # type: verbatim
11703 #: ../src/guestfs-actions.pod:4442
11704 #, no-wrap
11705 msgid ""
11706 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11707 "\t\tconst char *device,\n"
11708 "\t\tconst char *uuid);\n"
11709 "\n"
11710 msgstr ""
11711
11712 # type: textblock
11713 #: ../src/guestfs-actions.pod:4446 ../fish/guestfish-actions.pod:3426
11714 msgid ""
11715 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11716 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11717 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11718 msgstr ""
11719
11720 # type: textblock
11721 #: ../src/guestfs-actions.pod:4451
11722 msgid ""
11723 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11724 "the existing UUID of a filesystem."
11725 msgstr ""
11726
11727 # type: =head2
11728 #: ../src/guestfs-actions.pod:4456
11729 msgid "guestfs_set_memsize"
11730 msgstr ""
11731
11732 # type: verbatim
11733 #: ../src/guestfs-actions.pod:4458
11734 #, no-wrap
11735 msgid ""
11736 " int guestfs_set_memsize (guestfs_h *g,\n"
11737 "\t\tint memsize);\n"
11738 "\n"
11739 msgstr ""
11740
11741 # type: textblock
11742 #: ../src/guestfs-actions.pod:4461
11743 msgid ""
11744 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11745 "This only has any effect if called before C<guestfs_launch>."
11746 msgstr ""
11747
11748 # type: textblock
11749 #: ../src/guestfs-actions.pod:4465 ../fish/guestfish-actions.pod:3444
11750 msgid ""
11751 "You can also change this by setting the environment variable "
11752 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11753 msgstr ""
11754
11755 # type: =head2
11756 #: ../src/guestfs-actions.pod:4474
11757 msgid "guestfs_set_network"
11758 msgstr ""
11759
11760 # type: verbatim
11761 #: ../src/guestfs-actions.pod:4476
11762 #, no-wrap
11763 msgid ""
11764 " int guestfs_set_network (guestfs_h *g,\n"
11765 "\t\tint network);\n"
11766 "\n"
11767 msgstr ""
11768
11769 # type: textblock
11770 #: ../src/guestfs-actions.pod:4479 ../fish/guestfish-actions.pod:3457
11771 msgid ""
11772 "If C<network> is true, then the network is enabled in the libguestfs "
11773 "appliance.  The default is false."
11774 msgstr ""
11775
11776 # type: textblock
11777 #: ../src/guestfs-actions.pod:4482 ../fish/guestfish-actions.pod:3460
11778 msgid ""
11779 "This affects whether commands are able to access the network (see "
11780 "L<guestfs(3)/RUNNING COMMANDS>)."
11781 msgstr ""
11782
11783 # type: textblock
11784 #: ../src/guestfs-actions.pod:4485
11785 msgid ""
11786 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11787 "effect."
11788 msgstr ""
11789
11790 # type: =head2
11791 #: ../src/guestfs-actions.pod:4490
11792 msgid "guestfs_set_path"
11793 msgstr ""
11794
11795 # type: verbatim
11796 #: ../src/guestfs-actions.pod:4492
11797 #, no-wrap
11798 msgid ""
11799 " int guestfs_set_path (guestfs_h *g,\n"
11800 "\t\tconst char *searchpath);\n"
11801 "\n"
11802 msgstr ""
11803
11804 # type: textblock
11805 #: ../src/guestfs-actions.pod:4495 ../fish/guestfish-actions.pod:3472
11806 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11807 msgstr ""
11808
11809 # type: textblock
11810 #: ../src/guestfs-actions.pod:4497 ../fish/guestfish-actions.pod:3474
11811 msgid ""
11812 "The default is C<$libdir/guestfs> unless overridden by setting "
11813 "C<LIBGUESTFS_PATH> environment variable."
11814 msgstr ""
11815
11816 # type: textblock
11817 #: ../src/guestfs-actions.pod:4500 ../fish/guestfish-actions.pod:3477
11818 msgid "Setting C<path> to C<NULL> restores the default path."
11819 msgstr ""
11820
11821 # type: =head2
11822 #: ../src/guestfs-actions.pod:4504
11823 msgid "guestfs_set_qemu"
11824 msgstr ""
11825
11826 # type: verbatim
11827 #: ../src/guestfs-actions.pod:4506
11828 #, no-wrap
11829 msgid ""
11830 " int guestfs_set_qemu (guestfs_h *g,\n"
11831 "\t\tconst char *qemu);\n"
11832 "\n"
11833 msgstr ""
11834
11835 # type: textblock
11836 #: ../src/guestfs-actions.pod:4509 ../fish/guestfish-actions.pod:3485
11837 msgid "Set the qemu binary that we will use."
11838 msgstr ""
11839
11840 # type: textblock
11841 #: ../src/guestfs-actions.pod:4511 ../fish/guestfish-actions.pod:3487
11842 msgid "The default is chosen when the library was compiled by the configure script."
11843 msgstr ""
11844
11845 # type: textblock
11846 #: ../src/guestfs-actions.pod:4514 ../fish/guestfish-actions.pod:3490
11847 msgid ""
11848 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11849 "variable."
11850 msgstr ""
11851
11852 # type: textblock
11853 #: ../src/guestfs-actions.pod:4517 ../fish/guestfish-actions.pod:3493
11854 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11855 msgstr ""
11856
11857 # type: textblock
11858 #: ../src/guestfs-actions.pod:4519 ../fish/guestfish-actions.pod:3495
11859 msgid ""
11860 "Note that you should call this function as early as possible after creating "
11861 "the handle.  This is because some pre-launch operations depend on testing "
11862 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11863 "don't retest features, and so you might see inconsistent results.  Using the "
11864 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11865 "the qemu binary at the same time as the handle is created."
11866 msgstr ""
11867
11868 # type: =head2
11869 #: ../src/guestfs-actions.pod:4529
11870 msgid "guestfs_set_recovery_proc"
11871 msgstr ""
11872
11873 # type: verbatim
11874 #: ../src/guestfs-actions.pod:4531
11875 #, no-wrap
11876 msgid ""
11877 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11878 "\t\tint recoveryproc);\n"
11879 "\n"
11880 msgstr ""
11881
11882 # type: textblock
11883 #: ../src/guestfs-actions.pod:4534
11884 msgid ""
11885 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11886 "not create a recovery process.  The purpose of the recovery process is to "
11887 "stop runaway qemu processes in the case where the main program aborts "
11888 "abruptly."
11889 msgstr ""
11890
11891 # type: textblock
11892 #: ../src/guestfs-actions.pod:4539
11893 msgid ""
11894 "This only has any effect if called before C<guestfs_launch>, and the default "
11895 "is true."
11896 msgstr ""
11897
11898 # type: textblock
11899 #: ../src/guestfs-actions.pod:4542 ../fish/guestfish-actions.pod:3517
11900 msgid ""
11901 "About the only time when you would want to disable this is if the main "
11902 "process will fork itself into the background (\"daemonize\" itself).  In "
11903 "this case the recovery process thinks that the main program has disappeared "
11904 "and so kills qemu, which is not very helpful."
11905 msgstr ""
11906
11907 # type: =head2
11908 #: ../src/guestfs-actions.pod:4550
11909 msgid "guestfs_set_selinux"
11910 msgstr ""
11911
11912 # type: verbatim
11913 #: ../src/guestfs-actions.pod:4552
11914 #, no-wrap
11915 msgid ""
11916 " int guestfs_set_selinux (guestfs_h *g,\n"
11917 "\t\tint selinux);\n"
11918 "\n"
11919 msgstr ""
11920
11921 # type: textblock
11922 #: ../src/guestfs-actions.pod:4555 ../fish/guestfish-actions.pod:3529
11923 msgid ""
11924 "This sets the selinux flag that is passed to the appliance at boot time.  "
11925 "The default is C<selinux=0> (disabled)."
11926 msgstr ""
11927
11928 # type: textblock
11929 #: ../src/guestfs-actions.pod:4558 ../fish/guestfish-actions.pod:3532
11930 msgid ""
11931 "Note that if SELinux is enabled, it is always in Permissive mode "
11932 "(C<enforcing=0>)."
11933 msgstr ""
11934
11935 # type: =head2
11936 #: ../src/guestfs-actions.pod:4566
11937 msgid "guestfs_set_trace"
11938 msgstr ""
11939
11940 # type: verbatim
11941 #: ../src/guestfs-actions.pod:4568
11942 #, no-wrap
11943 msgid ""
11944 " int guestfs_set_trace (guestfs_h *g,\n"
11945 "\t\tint trace);\n"
11946 "\n"
11947 msgstr ""
11948
11949 # type: textblock
11950 #: ../src/guestfs-actions.pod:4571 ../fish/guestfish-actions.pod:3544
11951 msgid ""
11952 "If the command trace flag is set to 1, then commands are printed on stderr "
11953 "before they are executed in a format which is very similar to the one used "
11954 "by guestfish.  In other words, you can run a program with this enabled, and "
11955 "you will get out a script which you can feed to guestfish to perform the "
11956 "same set of actions."
11957 msgstr ""
11958
11959 # type: textblock
11960 #: ../src/guestfs-actions.pod:4578 ../fish/guestfish-actions.pod:3551
11961 msgid ""
11962 "If you want to trace C API calls into libguestfs (and other libraries) then "
11963 "possibly a better way is to use the external ltrace(1) command."
11964 msgstr ""
11965
11966 # type: textblock
11967 #: ../src/guestfs-actions.pod:4582 ../fish/guestfish-actions.pod:3555
11968 msgid ""
11969 "Command traces are disabled unless the environment variable "
11970 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11971 msgstr ""
11972
11973 # type: =head2
11974 #: ../src/guestfs-actions.pod:4587
11975 msgid "guestfs_set_verbose"
11976 msgstr ""
11977
11978 # type: verbatim
11979 #: ../src/guestfs-actions.pod:4589
11980 #, no-wrap
11981 msgid ""
11982 " int guestfs_set_verbose (guestfs_h *g,\n"
11983 "\t\tint verbose);\n"
11984 "\n"
11985 msgstr ""
11986
11987 # type: textblock
11988 #: ../src/guestfs-actions.pod:4592 ../fish/guestfish-actions.pod:3564
11989 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11990 msgstr ""
11991
11992 # type: textblock
11993 #: ../src/guestfs-actions.pod:4594 ../fish/guestfish-actions.pod:3566
11994 msgid ""
11995 "Verbose messages are disabled unless the environment variable "
11996 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11997 msgstr ""
11998
11999 # type: =head2
12000 #: ../src/guestfs-actions.pod:4599
12001 msgid "guestfs_setcon"
12002 msgstr ""
12003
12004 # type: verbatim
12005 #: ../src/guestfs-actions.pod:4601
12006 #, no-wrap
12007 msgid ""
12008 " int guestfs_setcon (guestfs_h *g,\n"
12009 "\t\tconst char *context);\n"
12010 "\n"
12011 msgstr ""
12012
12013 # type: textblock
12014 #: ../src/guestfs-actions.pod:4604 ../fish/guestfish-actions.pod:3573
12015 msgid ""
12016 "This sets the SELinux security context of the daemon to the string "
12017 "C<context>."
12018 msgstr ""
12019
12020 # type: textblock
12021 #: ../src/guestfs-actions.pod:4607 ../fish/guestfish-actions.pod:3576
12022 msgid "See the documentation about SELINUX in L<guestfs(3)>."
12023 msgstr ""
12024
12025 # type: =head2
12026 #: ../src/guestfs-actions.pod:4611
12027 msgid "guestfs_setxattr"
12028 msgstr ""
12029
12030 # type: verbatim
12031 #: ../src/guestfs-actions.pod:4613
12032 #, no-wrap
12033 msgid ""
12034 " int guestfs_setxattr (guestfs_h *g,\n"
12035 "\t\tconst char *xattr,\n"
12036 "\t\tconst char *val,\n"
12037 "\t\tint vallen,\n"
12038 "\t\tconst char *path);\n"
12039 "\n"
12040 msgstr ""
12041
12042 # type: textblock
12043 #: ../src/guestfs-actions.pod:4619 ../fish/guestfish-actions.pod:3582
12044 msgid ""
12045 "This call sets the extended attribute named C<xattr> of the file C<path> to "
12046 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
12047 msgstr ""
12048
12049 # type: textblock
12050 #: ../src/guestfs-actions.pod:4623
12051 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
12052 msgstr ""
12053
12054 # type: =head2
12055 #: ../src/guestfs-actions.pod:4627
12056 msgid "guestfs_sfdisk"
12057 msgstr ""
12058
12059 # type: verbatim
12060 #: ../src/guestfs-actions.pod:4629
12061 #, no-wrap
12062 msgid ""
12063 " int guestfs_sfdisk (guestfs_h *g,\n"
12064 "\t\tconst char *device,\n"
12065 "\t\tint cyls,\n"
12066 "\t\tint heads,\n"
12067 "\t\tint sectors,\n"
12068 "\t\tchar *const *lines);\n"
12069 "\n"
12070 msgstr ""
12071
12072 # type: textblock
12073 #: ../src/guestfs-actions.pod:4636 ../fish/guestfish-actions.pod:3592
12074 msgid ""
12075 "This is a direct interface to the L<sfdisk(8)> program for creating "
12076 "partitions on block devices."
12077 msgstr ""
12078
12079 # type: textblock
12080 #: ../src/guestfs-actions.pod:4639 ../fish/guestfish-actions.pod:3595
12081 msgid "C<device> should be a block device, for example C</dev/sda>."
12082 msgstr ""
12083
12084 # type: textblock
12085 #: ../src/guestfs-actions.pod:4641 ../fish/guestfish-actions.pod:3597
12086 msgid ""
12087 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
12088 "sectors on the device, which are passed directly to sfdisk as the I<-C>, "
12089 "I<-H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
12090 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
12091 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
12092 "the kernel) cannot work out the right geometry and you will need to tell it."
12093 msgstr ""
12094
12095 # type: textblock
12096 #: ../src/guestfs-actions.pod:4649 ../fish/guestfish-actions.pod:3605
12097 msgid ""
12098 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
12099 "refer to the L<sfdisk(8)> manpage."
12100 msgstr ""
12101
12102 # type: textblock
12103 #: ../src/guestfs-actions.pod:4652 ../fish/guestfish-actions.pod:3608
12104 msgid ""
12105 "To create a single partition occupying the whole disk, you would pass "
12106 "C<lines> as a single element list, when the single element being the string "
12107 "C<,> (comma)."
12108 msgstr ""
12109
12110 # type: textblock
12111 #: ../src/guestfs-actions.pod:4656
12112 msgid "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
12113 msgstr ""
12114
12115 # type: =head2
12116 #: ../src/guestfs-actions.pod:4664
12117 msgid "guestfs_sfdiskM"
12118 msgstr ""
12119
12120 # type: verbatim
12121 #: ../src/guestfs-actions.pod:4666
12122 #, no-wrap
12123 msgid ""
12124 " int guestfs_sfdiskM (guestfs_h *g,\n"
12125 "\t\tconst char *device,\n"
12126 "\t\tchar *const *lines);\n"
12127 "\n"
12128 msgstr ""
12129
12130 # type: textblock
12131 #: ../src/guestfs-actions.pod:4670
12132 msgid ""
12133 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
12134 "partition sizes are specified in megabytes only (rounded to the nearest "
12135 "cylinder) and you don't need to specify the cyls, heads and sectors "
12136 "parameters which were rarely if ever used anyway."
12137 msgstr ""
12138
12139 # type: textblock
12140 #: ../src/guestfs-actions.pod:4676
12141 msgid ""
12142 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
12143 "C<guestfs_part_disk>"
12144 msgstr ""
12145
12146 # type: =head2
12147 #: ../src/guestfs-actions.pod:4684
12148 msgid "guestfs_sfdisk_N"
12149 msgstr ""
12150
12151 # type: verbatim
12152 #: ../src/guestfs-actions.pod:4686
12153 #, no-wrap
12154 msgid ""
12155 " int guestfs_sfdisk_N (guestfs_h *g,\n"
12156 "\t\tconst char *device,\n"
12157 "\t\tint partnum,\n"
12158 "\t\tint cyls,\n"
12159 "\t\tint heads,\n"
12160 "\t\tint sectors,\n"
12161 "\t\tconst char *line);\n"
12162 "\n"
12163 msgstr ""
12164
12165 # type: textblock
12166 #: ../src/guestfs-actions.pod:4694 ../fish/guestfish-actions.pod:3638
12167 msgid ""
12168 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
12169 "(note: C<n> counts from 1)."
12170 msgstr ""
12171
12172 # type: textblock
12173 #: ../src/guestfs-actions.pod:4697
12174 msgid ""
12175 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
12176 "for the cyls/heads/sectors parameters."
12177 msgstr ""
12178
12179 # type: textblock
12180 #: ../src/guestfs-actions.pod:4700
12181 msgid "See also: C<guestfs_part_add>"
12182 msgstr ""
12183
12184 # type: =head2
12185 #: ../src/guestfs-actions.pod:4707
12186 msgid "guestfs_sfdisk_disk_geometry"
12187 msgstr ""
12188
12189 # type: verbatim
12190 #: ../src/guestfs-actions.pod:4709
12191 #, no-wrap
12192 msgid ""
12193 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
12194 "\t\tconst char *device);\n"
12195 "\n"
12196 msgstr ""
12197
12198 # type: textblock
12199 #: ../src/guestfs-actions.pod:4712
12200 msgid ""
12201 "This displays the disk geometry of C<device> read from the partition table.  "
12202 "Especially in the case where the underlying block device has been resized, "
12203 "this can be different from the kernel's idea of the geometry (see "
12204 "C<guestfs_sfdisk_kernel_geometry>)."
12205 msgstr ""
12206
12207 # type: textblock
12208 #: ../src/guestfs-actions.pod:4717 ../src/guestfs-actions.pod:4730 ../fish/guestfish-actions.pod:3658 ../fish/guestfish-actions.pod:3667
12209 msgid "The result is in human-readable format, and not designed to be parsed."
12210 msgstr ""
12211
12212 # type: =head2
12213 #: ../src/guestfs-actions.pod:4723
12214 msgid "guestfs_sfdisk_kernel_geometry"
12215 msgstr ""
12216
12217 # type: verbatim
12218 #: ../src/guestfs-actions.pod:4725
12219 #, no-wrap
12220 msgid ""
12221 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
12222 "\t\tconst char *device);\n"
12223 "\n"
12224 msgstr ""
12225
12226 # type: textblock
12227 #: ../src/guestfs-actions.pod:4728 ../fish/guestfish-actions.pod:3665
12228 msgid "This displays the kernel's idea of the geometry of C<device>."
12229 msgstr ""
12230
12231 # type: =head2
12232 #: ../src/guestfs-actions.pod:4736
12233 msgid "guestfs_sfdisk_l"
12234 msgstr ""
12235
12236 # type: verbatim
12237 #: ../src/guestfs-actions.pod:4738
12238 #, no-wrap
12239 msgid ""
12240 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
12241 "\t\tconst char *device);\n"
12242 "\n"
12243 msgstr ""
12244
12245 # type: textblock
12246 #: ../src/guestfs-actions.pod:4741 ../fish/guestfish-actions.pod:3674
12247 msgid ""
12248 "This displays the partition table on C<device>, in the human-readable output "
12249 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
12250 msgstr ""
12251
12252 # type: textblock
12253 #: ../src/guestfs-actions.pod:4745
12254 msgid "See also: C<guestfs_part_list>"
12255 msgstr ""
12256
12257 # type: =head2
12258 #: ../src/guestfs-actions.pod:4750
12259 msgid "guestfs_sh"
12260 msgstr ""
12261
12262 # type: verbatim
12263 #: ../src/guestfs-actions.pod:4752
12264 #, no-wrap
12265 msgid ""
12266 " char *guestfs_sh (guestfs_h *g,\n"
12267 "\t\tconst char *command);\n"
12268 "\n"
12269 msgstr ""
12270
12271 # type: textblock
12272 #: ../src/guestfs-actions.pod:4755 ../fish/guestfish-actions.pod:3684
12273 msgid ""
12274 "This call runs a command from the guest filesystem via the guest's "
12275 "C</bin/sh>."
12276 msgstr ""
12277
12278 # type: textblock
12279 #: ../src/guestfs-actions.pod:4758
12280 msgid "This is like C<guestfs_command>, but passes the command to:"
12281 msgstr ""
12282
12283 # type: verbatim
12284 #: ../src/guestfs-actions.pod:4760 ../fish/guestfish-actions.pod:3689
12285 #, no-wrap
12286 msgid ""
12287 " /bin/sh -c \"command\"\n"
12288 "\n"
12289 msgstr ""
12290
12291 # type: textblock
12292 #: ../src/guestfs-actions.pod:4762 ../fish/guestfish-actions.pod:3691
12293 msgid ""
12294 "Depending on the guest's shell, this usually results in wildcards being "
12295 "expanded, shell expressions being interpolated and so on."
12296 msgstr ""
12297
12298 # type: textblock
12299 #: ../src/guestfs-actions.pod:4766
12300 msgid "All the provisos about C<guestfs_command> apply to this call."
12301 msgstr ""
12302
12303 # type: =head2
12304 #: ../src/guestfs-actions.pod:4771
12305 msgid "guestfs_sh_lines"
12306 msgstr ""
12307
12308 # type: verbatim
12309 #: ../src/guestfs-actions.pod:4773
12310 #, no-wrap
12311 msgid ""
12312 " char **guestfs_sh_lines (guestfs_h *g,\n"
12313 "\t\tconst char *command);\n"
12314 "\n"
12315 msgstr ""
12316
12317 # type: textblock
12318 #: ../src/guestfs-actions.pod:4776
12319 msgid ""
12320 "This is the same as C<guestfs_sh>, but splits the result into a list of "
12321 "lines."
12322 msgstr ""
12323
12324 # type: textblock
12325 #: ../src/guestfs-actions.pod:4779
12326 msgid "See also: C<guestfs_command_lines>"
12327 msgstr ""
12328
12329 # type: =head2
12330 #: ../src/guestfs-actions.pod:4785
12331 msgid "guestfs_sleep"
12332 msgstr ""
12333
12334 # type: verbatim
12335 #: ../src/guestfs-actions.pod:4787
12336 #, no-wrap
12337 msgid ""
12338 " int guestfs_sleep (guestfs_h *g,\n"
12339 "\t\tint secs);\n"
12340 "\n"
12341 msgstr ""
12342
12343 # type: textblock
12344 #: ../src/guestfs-actions.pod:4790 ../fish/guestfish-actions.pod:3710
12345 msgid "Sleep for C<secs> seconds."
12346 msgstr ""
12347
12348 # type: =head2
12349 #: ../src/guestfs-actions.pod:4794 ../src/guestfs-structs.pod:109
12350 msgid "guestfs_stat"
12351 msgstr ""
12352
12353 # type: verbatim
12354 #: ../src/guestfs-actions.pod:4796
12355 #, no-wrap
12356 msgid ""
12357 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
12358 "\t\tconst char *path);\n"
12359 "\n"
12360 msgstr ""
12361
12362 # type: textblock
12363 #: ../src/guestfs-actions.pod:4801 ../fish/guestfish-actions.pod:3718
12364 msgid "This is the same as the C<stat(2)> system call."
12365 msgstr ""
12366
12367 # type: =head2
12368 #: ../src/guestfs-actions.pod:4807 ../src/guestfs-structs.pod:135
12369 msgid "guestfs_statvfs"
12370 msgstr ""
12371
12372 # type: verbatim
12373 #: ../src/guestfs-actions.pod:4809
12374 #, no-wrap
12375 msgid ""
12376 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
12377 "\t\tconst char *path);\n"
12378 "\n"
12379 msgstr ""
12380
12381 # type: textblock
12382 #: ../src/guestfs-actions.pod:4812 ../fish/guestfish-actions.pod:3724
12383 msgid ""
12384 "Returns file system statistics for any mounted file system.  C<path> should "
12385 "be a file or directory in the mounted file system (typically it is the mount "
12386 "point itself, but it doesn't need to be)."
12387 msgstr ""
12388
12389 # type: textblock
12390 #: ../src/guestfs-actions.pod:4816 ../fish/guestfish-actions.pod:3728
12391 msgid "This is the same as the C<statvfs(2)> system call."
12392 msgstr ""
12393
12394 # type: textblock
12395 #: ../src/guestfs-actions.pod:4818
12396 msgid ""
12397 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
12398 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
12399 msgstr ""
12400
12401 # type: =head2
12402 #: ../src/guestfs-actions.pod:4822
12403 msgid "guestfs_strings"
12404 msgstr ""
12405
12406 # type: verbatim
12407 #: ../src/guestfs-actions.pod:4824
12408 #, no-wrap
12409 msgid ""
12410 " char **guestfs_strings (guestfs_h *g,\n"
12411 "\t\tconst char *path);\n"
12412 "\n"
12413 msgstr ""
12414
12415 # type: textblock
12416 #: ../src/guestfs-actions.pod:4827 ../fish/guestfish-actions.pod:3734
12417 msgid ""
12418 "This runs the L<strings(1)> command on a file and returns the list of "
12419 "printable strings found."
12420 msgstr ""
12421
12422 # type: =head2
12423 #: ../src/guestfs-actions.pod:4837
12424 msgid "guestfs_strings_e"
12425 msgstr ""
12426
12427 # type: verbatim
12428 #: ../src/guestfs-actions.pod:4839
12429 #, no-wrap
12430 msgid ""
12431 " char **guestfs_strings_e (guestfs_h *g,\n"
12432 "\t\tconst char *encoding,\n"
12433 "\t\tconst char *path);\n"
12434 "\n"
12435 msgstr ""
12436
12437 # type: textblock
12438 #: ../src/guestfs-actions.pod:4843
12439 msgid ""
12440 "This is like the C<guestfs_strings> command, but allows you to specify the "
12441 "encoding of strings that are looked for in the source file C<path>."
12442 msgstr ""
12443
12444 # type: textblock
12445 #: ../src/guestfs-actions.pod:4847 ../fish/guestfish-actions.pod:3748
12446 msgid "Allowed encodings are:"
12447 msgstr ""
12448
12449 # type: =item
12450 #: ../src/guestfs-actions.pod:4851 ../fish/guestfish-actions.pod:3752
12451 msgid "s"
12452 msgstr ""
12453
12454 # type: textblock
12455 #: ../src/guestfs-actions.pod:4853
12456 msgid ""
12457 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
12458 "ISO-8859-X (this is what C<guestfs_strings> uses)."
12459 msgstr ""
12460
12461 # type: =item
12462 #: ../src/guestfs-actions.pod:4856 ../fish/guestfish-actions.pod:3757
12463 msgid "S"
12464 msgstr ""
12465
12466 # type: textblock
12467 #: ../src/guestfs-actions.pod:4858 ../fish/guestfish-actions.pod:3759
12468 msgid "Single 8-bit-byte characters."
12469 msgstr ""
12470
12471 # type: =item
12472 #: ../src/guestfs-actions.pod:4860 ../fish/guestfish-actions.pod:3761
12473 msgid "b"
12474 msgstr ""
12475
12476 # type: textblock
12477 #: ../src/guestfs-actions.pod:4862 ../fish/guestfish-actions.pod:3763
12478 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
12479 msgstr ""
12480
12481 # type: =item
12482 #: ../src/guestfs-actions.pod:4865 ../fish/guestfish-actions.pod:3766
12483 msgid "l (lower case letter L)"
12484 msgstr ""
12485
12486 # type: textblock
12487 #: ../src/guestfs-actions.pod:4867 ../fish/guestfish-actions.pod:3768
12488 msgid ""
12489 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
12490 "examining binaries in Windows guests."
12491 msgstr ""
12492
12493 # type: =item
12494 #: ../src/guestfs-actions.pod:4870 ../fish/guestfish-actions.pod:3771
12495 msgid "B"
12496 msgstr ""
12497
12498 # type: textblock
12499 #: ../src/guestfs-actions.pod:4872 ../fish/guestfish-actions.pod:3773
12500 msgid "32-bit big endian such as UCS-4BE."
12501 msgstr ""
12502
12503 # type: =item
12504 #: ../src/guestfs-actions.pod:4874 ../fish/guestfish-actions.pod:3775
12505 msgid "L"
12506 msgstr ""
12507
12508 # type: textblock
12509 #: ../src/guestfs-actions.pod:4876 ../fish/guestfish-actions.pod:3777
12510 msgid "32-bit little endian such as UCS-4LE."
12511 msgstr ""
12512
12513 # type: textblock
12514 #: ../src/guestfs-actions.pod:4880 ../fish/guestfish-actions.pod:3781
12515 msgid "The returned strings are transcoded to UTF-8."
12516 msgstr ""
12517
12518 # type: =head2
12519 #: ../src/guestfs-actions.pod:4889
12520 msgid "guestfs_swapoff_device"
12521 msgstr ""
12522
12523 # type: verbatim
12524 #: ../src/guestfs-actions.pod:4891
12525 #, no-wrap
12526 msgid ""
12527 " int guestfs_swapoff_device (guestfs_h *g,\n"
12528 "\t\tconst char *device);\n"
12529 "\n"
12530 msgstr ""
12531
12532 # type: textblock
12533 #: ../src/guestfs-actions.pod:4894
12534 msgid ""
12535 "This command disables the libguestfs appliance swap device or partition "
12536 "named C<device>.  See C<guestfs_swapon_device>."
12537 msgstr ""
12538
12539 # type: =head2
12540 #: ../src/guestfs-actions.pod:4900
12541 msgid "guestfs_swapoff_file"
12542 msgstr ""
12543
12544 # type: verbatim
12545 #: ../src/guestfs-actions.pod:4902
12546 #, no-wrap
12547 msgid ""
12548 " int guestfs_swapoff_file (guestfs_h *g,\n"
12549 "\t\tconst char *file);\n"
12550 "\n"
12551 msgstr ""
12552
12553 # type: textblock
12554 #: ../src/guestfs-actions.pod:4905 ../fish/guestfish-actions.pod:3798
12555 msgid "This command disables the libguestfs appliance swap on file."
12556 msgstr ""
12557
12558 # type: =head2
12559 #: ../src/guestfs-actions.pod:4909
12560 msgid "guestfs_swapoff_label"
12561 msgstr ""
12562
12563 # type: verbatim
12564 #: ../src/guestfs-actions.pod:4911
12565 #, no-wrap
12566 msgid ""
12567 " int guestfs_swapoff_label (guestfs_h *g,\n"
12568 "\t\tconst char *label);\n"
12569 "\n"
12570 msgstr ""
12571
12572 # type: textblock
12573 #: ../src/guestfs-actions.pod:4914 ../fish/guestfish-actions.pod:3804
12574 msgid ""
12575 "This command disables the libguestfs appliance swap on labeled swap "
12576 "partition."
12577 msgstr ""
12578
12579 # type: =head2
12580 #: ../src/guestfs-actions.pod:4919
12581 msgid "guestfs_swapoff_uuid"
12582 msgstr ""
12583
12584 # type: verbatim
12585 #: ../src/guestfs-actions.pod:4921
12586 #, no-wrap
12587 msgid ""
12588 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
12589 "\t\tconst char *uuid);\n"
12590 "\n"
12591 msgstr ""
12592
12593 # type: textblock
12594 #: ../src/guestfs-actions.pod:4924 ../fish/guestfish-actions.pod:3811
12595 msgid ""
12596 "This command disables the libguestfs appliance swap partition with the given "
12597 "UUID."
12598 msgstr ""
12599
12600 # type: =head2
12601 #: ../src/guestfs-actions.pod:4929
12602 msgid "guestfs_swapon_device"
12603 msgstr ""
12604
12605 # type: verbatim
12606 #: ../src/guestfs-actions.pod:4931
12607 #, no-wrap
12608 msgid ""
12609 " int guestfs_swapon_device (guestfs_h *g,\n"
12610 "\t\tconst char *device);\n"
12611 "\n"
12612 msgstr ""
12613
12614 # type: textblock
12615 #: ../src/guestfs-actions.pod:4934
12616 msgid ""
12617 "This command enables the libguestfs appliance to use the swap device or "
12618 "partition named C<device>.  The increased memory is made available for all "
12619 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
12620 msgstr ""
12621
12622 # type: textblock
12623 #: ../src/guestfs-actions.pod:4939 ../fish/guestfish-actions.pod:3823
12624 msgid ""
12625 "Note that you should not swap to existing guest swap partitions unless you "
12626 "know what you are doing.  They may contain hibernation information, or other "
12627 "information that the guest doesn't want you to trash.  You also risk leaking "
12628 "information about the host to the guest this way.  Instead, attach a new "
12629 "host device to the guest and swap on that."
12630 msgstr ""
12631
12632 # type: =head2
12633 #: ../src/guestfs-actions.pod:4948
12634 msgid "guestfs_swapon_file"
12635 msgstr ""
12636
12637 # type: verbatim
12638 #: ../src/guestfs-actions.pod:4950
12639 #, no-wrap
12640 msgid ""
12641 " int guestfs_swapon_file (guestfs_h *g,\n"
12642 "\t\tconst char *file);\n"
12643 "\n"
12644 msgstr ""
12645
12646 # type: textblock
12647 #: ../src/guestfs-actions.pod:4953
12648 msgid ""
12649 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
12650 "notes."
12651 msgstr ""
12652
12653 # type: =head2
12654 #: ../src/guestfs-actions.pod:4958
12655 msgid "guestfs_swapon_label"
12656 msgstr ""
12657
12658 # type: verbatim
12659 #: ../src/guestfs-actions.pod:4960
12660 #, no-wrap
12661 msgid ""
12662 " int guestfs_swapon_label (guestfs_h *g,\n"
12663 "\t\tconst char *label);\n"
12664 "\n"
12665 msgstr ""
12666
12667 # type: textblock
12668 #: ../src/guestfs-actions.pod:4963
12669 msgid ""
12670 "This command enables swap to a labeled swap partition.  See "
12671 "C<guestfs_swapon_device> for other notes."
12672 msgstr ""
12673
12674 # type: =head2
12675 #: ../src/guestfs-actions.pod:4968
12676 msgid "guestfs_swapon_uuid"
12677 msgstr ""
12678
12679 # type: verbatim
12680 #: ../src/guestfs-actions.pod:4970
12681 #, no-wrap
12682 msgid ""
12683 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12684 "\t\tconst char *uuid);\n"
12685 "\n"
12686 msgstr ""
12687
12688 # type: textblock
12689 #: ../src/guestfs-actions.pod:4973
12690 msgid ""
12691 "This command enables swap to a swap partition with the given UUID.  See "
12692 "C<guestfs_swapon_device> for other notes."
12693 msgstr ""
12694
12695 # type: =head2
12696 #: ../src/guestfs-actions.pod:4978
12697 msgid "guestfs_sync"
12698 msgstr ""
12699
12700 # type: verbatim
12701 #: ../src/guestfs-actions.pod:4980
12702 #, no-wrap
12703 msgid ""
12704 " int guestfs_sync (guestfs_h *g);\n"
12705 "\n"
12706 msgstr ""
12707
12708 # type: textblock
12709 #: ../src/guestfs-actions.pod:4982 ../fish/guestfish-actions.pod:3855
12710 msgid ""
12711 "This syncs the disk, so that any writes are flushed through to the "
12712 "underlying disk image."
12713 msgstr ""
12714
12715 # type: textblock
12716 #: ../src/guestfs-actions.pod:4985 ../fish/guestfish-actions.pod:3858
12717 msgid ""
12718 "You should always call this if you have modified a disk image, before "
12719 "closing the handle."
12720 msgstr ""
12721
12722 # type: =head2
12723 #: ../src/guestfs-actions.pod:4990
12724 msgid "guestfs_tail"
12725 msgstr ""
12726
12727 # type: verbatim
12728 #: ../src/guestfs-actions.pod:4992
12729 #, no-wrap
12730 msgid ""
12731 " char **guestfs_tail (guestfs_h *g,\n"
12732 "\t\tconst char *path);\n"
12733 "\n"
12734 msgstr ""
12735
12736 # type: textblock
12737 #: ../src/guestfs-actions.pod:4995 ../fish/guestfish-actions.pod:3865
12738 msgid "This command returns up to the last 10 lines of a file as a list of strings."
12739 msgstr ""
12740
12741 # type: =head2
12742 #: ../src/guestfs-actions.pod:5005
12743 msgid "guestfs_tail_n"
12744 msgstr ""
12745
12746 # type: verbatim
12747 #: ../src/guestfs-actions.pod:5007
12748 #, no-wrap
12749 msgid ""
12750 " char **guestfs_tail_n (guestfs_h *g,\n"
12751 "\t\tint nrlines,\n"
12752 "\t\tconst char *path);\n"
12753 "\n"
12754 msgstr ""
12755
12756 # type: textblock
12757 #: ../src/guestfs-actions.pod:5011 ../fish/guestfish-actions.pod:3875
12758 msgid ""
12759 "If the parameter C<nrlines> is a positive number, this returns the last "
12760 "C<nrlines> lines of the file C<path>."
12761 msgstr ""
12762
12763 # type: textblock
12764 #: ../src/guestfs-actions.pod:5014 ../fish/guestfish-actions.pod:3878
12765 msgid ""
12766 "If the parameter C<nrlines> is a negative number, this returns lines from "
12767 "the file C<path>, starting with the C<-nrlines>th line."
12768 msgstr ""
12769
12770 # type: =head2
12771 #: ../src/guestfs-actions.pod:5026
12772 msgid "guestfs_tar_in"
12773 msgstr ""
12774
12775 # type: verbatim
12776 #: ../src/guestfs-actions.pod:5028
12777 #, no-wrap
12778 msgid ""
12779 " int guestfs_tar_in (guestfs_h *g,\n"
12780 "\t\tconst char *tarfile,\n"
12781 "\t\tconst char *directory);\n"
12782 "\n"
12783 msgstr ""
12784
12785 # type: textblock
12786 #: ../src/guestfs-actions.pod:5032 ../fish/guestfish-actions.pod:3890
12787 msgid ""
12788 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12789 "tar file) into C<directory>."
12790 msgstr ""
12791
12792 # type: textblock
12793 #: ../src/guestfs-actions.pod:5035
12794 msgid "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12795 msgstr ""
12796
12797 # type: =head2
12798 #: ../src/guestfs-actions.pod:5040
12799 msgid "guestfs_tar_out"
12800 msgstr ""
12801
12802 # type: verbatim
12803 #: ../src/guestfs-actions.pod:5042
12804 #, no-wrap
12805 msgid ""
12806 " int guestfs_tar_out (guestfs_h *g,\n"
12807 "\t\tconst char *directory,\n"
12808 "\t\tconst char *tarfile);\n"
12809 "\n"
12810 msgstr ""
12811
12812 # type: textblock
12813 #: ../src/guestfs-actions.pod:5046 ../fish/guestfish-actions.pod:3902
12814 msgid ""
12815 "This command packs the contents of C<directory> and downloads it to local "
12816 "file C<tarfile>."
12817 msgstr ""
12818
12819 # type: textblock
12820 #: ../src/guestfs-actions.pod:5049
12821 msgid ""
12822 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12823 "C<guestfs_txz_out>."
12824 msgstr ""
12825
12826 # type: =head2
12827 #: ../src/guestfs-actions.pod:5054
12828 msgid "guestfs_tgz_in"
12829 msgstr ""
12830
12831 # type: verbatim
12832 #: ../src/guestfs-actions.pod:5056
12833 #, no-wrap
12834 msgid ""
12835 " int guestfs_tgz_in (guestfs_h *g,\n"
12836 "\t\tconst char *tarball,\n"
12837 "\t\tconst char *directory);\n"
12838 "\n"
12839 msgstr ""
12840
12841 # type: textblock
12842 #: ../src/guestfs-actions.pod:5060 ../fish/guestfish-actions.pod:3914
12843 msgid ""
12844 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12845 "tar file) into C<directory>."
12846 msgstr ""
12847
12848 # type: textblock
12849 #: ../src/guestfs-actions.pod:5063
12850 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12851 msgstr ""
12852
12853 # type: =head2
12854 #: ../src/guestfs-actions.pod:5067
12855 msgid "guestfs_tgz_out"
12856 msgstr ""
12857
12858 # type: verbatim
12859 #: ../src/guestfs-actions.pod:5069
12860 #, no-wrap
12861 msgid ""
12862 " int guestfs_tgz_out (guestfs_h *g,\n"
12863 "\t\tconst char *directory,\n"
12864 "\t\tconst char *tarball);\n"
12865 "\n"
12866 msgstr ""
12867
12868 # type: textblock
12869 #: ../src/guestfs-actions.pod:5073 ../fish/guestfish-actions.pod:3925
12870 msgid ""
12871 "This command packs the contents of C<directory> and downloads it to local "
12872 "file C<tarball>."
12873 msgstr ""
12874
12875 # type: textblock
12876 #: ../src/guestfs-actions.pod:5076
12877 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12878 msgstr ""
12879
12880 # type: =head2
12881 #: ../src/guestfs-actions.pod:5080
12882 msgid "guestfs_touch"
12883 msgstr ""
12884
12885 # type: verbatim
12886 #: ../src/guestfs-actions.pod:5082
12887 #, no-wrap
12888 msgid ""
12889 " int guestfs_touch (guestfs_h *g,\n"
12890 "\t\tconst char *path);\n"
12891 "\n"
12892 msgstr ""
12893
12894 # type: textblock
12895 #: ../src/guestfs-actions.pod:5085 ../fish/guestfish-actions.pod:3936
12896 msgid ""
12897 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12898 "timestamps on a file, or, if the file does not exist, to create a new "
12899 "zero-length file."
12900 msgstr ""
12901
12902 # type: textblock
12903 #: ../src/guestfs-actions.pod:5089 ../fish/guestfish-actions.pod:3940
12904 msgid ""
12905 "This command only works on regular files, and will fail on other file types "
12906 "such as directories, symbolic links, block special etc."
12907 msgstr ""
12908
12909 # type: =head2
12910 #: ../src/guestfs-actions.pod:5094
12911 msgid "guestfs_truncate"
12912 msgstr ""
12913
12914 # type: verbatim
12915 #: ../src/guestfs-actions.pod:5096
12916 #, no-wrap
12917 msgid ""
12918 " int guestfs_truncate (guestfs_h *g,\n"
12919 "\t\tconst char *path);\n"
12920 "\n"
12921 msgstr ""
12922
12923 # type: textblock
12924 #: ../src/guestfs-actions.pod:5099 ../fish/guestfish-actions.pod:3947
12925 msgid ""
12926 "This command truncates C<path> to a zero-length file.  The file must exist "
12927 "already."
12928 msgstr ""
12929
12930 # type: =head2
12931 #: ../src/guestfs-actions.pod:5104
12932 msgid "guestfs_truncate_size"
12933 msgstr ""
12934
12935 # type: verbatim
12936 #: ../src/guestfs-actions.pod:5106
12937 #, no-wrap
12938 msgid ""
12939 " int guestfs_truncate_size (guestfs_h *g,\n"
12940 "\t\tconst char *path,\n"
12941 "\t\tint64_t size);\n"
12942 "\n"
12943 msgstr ""
12944
12945 # type: textblock
12946 #: ../src/guestfs-actions.pod:5110 ../fish/guestfish-actions.pod:3954
12947 msgid ""
12948 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12949 "already."
12950 msgstr ""
12951
12952 # type: textblock
12953 #: ../src/guestfs-actions.pod:5113
12954 msgid ""
12955 "If the current file size is less than C<size> then the file is extended to "
12956 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12957 "blocks are not allocated for the file until you write to it).  To create a "
12958 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12959 msgstr ""
12960
12961 # type: =head2
12962 #: ../src/guestfs-actions.pod:5121
12963 msgid "guestfs_tune2fs_l"
12964 msgstr ""
12965
12966 # type: verbatim
12967 #: ../src/guestfs-actions.pod:5123
12968 #, no-wrap
12969 msgid ""
12970 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12971 "\t\tconst char *device);\n"
12972 "\n"
12973 msgstr ""
12974
12975 # type: textblock
12976 #: ../src/guestfs-actions.pod:5126 ../fish/guestfish-actions.pod:3967
12977 msgid ""
12978 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12979 "C<device>."
12980 msgstr ""
12981
12982 # type: textblock
12983 #: ../src/guestfs-actions.pod:5129 ../fish/guestfish-actions.pod:3970
12984 msgid ""
12985 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12986 "for more details.  The list of fields returned isn't clearly defined, and "
12987 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12988 "and the filesystem itself."
12989 msgstr ""
12990
12991 # type: =head2
12992 #: ../src/guestfs-actions.pod:5140
12993 msgid "guestfs_txz_in"
12994 msgstr ""
12995
12996 # type: verbatim
12997 #: ../src/guestfs-actions.pod:5142
12998 #, no-wrap
12999 msgid ""
13000 " int guestfs_txz_in (guestfs_h *g,\n"
13001 "\t\tconst char *tarball,\n"
13002 "\t\tconst char *directory);\n"
13003 "\n"
13004 msgstr ""
13005
13006 # type: textblock
13007 #: ../src/guestfs-actions.pod:5146 ../fish/guestfish-actions.pod:3979
13008 msgid ""
13009 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
13010 "tar file) into C<directory>."
13011 msgstr ""
13012
13013 # type: =head2
13014 #: ../src/guestfs-actions.pod:5151
13015 msgid "guestfs_txz_out"
13016 msgstr ""
13017
13018 # type: verbatim
13019 #: ../src/guestfs-actions.pod:5153
13020 #, no-wrap
13021 msgid ""
13022 " int guestfs_txz_out (guestfs_h *g,\n"
13023 "\t\tconst char *directory,\n"
13024 "\t\tconst char *tarball);\n"
13025 "\n"
13026 msgstr ""
13027
13028 # type: textblock
13029 #: ../src/guestfs-actions.pod:5157 ../fish/guestfish-actions.pod:3988
13030 msgid ""
13031 "This command packs the contents of C<directory> and downloads it to local "
13032 "file C<tarball> (as an xz compressed tar archive)."
13033 msgstr ""
13034
13035 # type: =head2
13036 #: ../src/guestfs-actions.pod:5162
13037 msgid "guestfs_umask"
13038 msgstr ""
13039
13040 # type: verbatim
13041 #: ../src/guestfs-actions.pod:5164
13042 #, no-wrap
13043 msgid ""
13044 " int guestfs_umask (guestfs_h *g,\n"
13045 "\t\tint mask);\n"
13046 "\n"
13047 msgstr ""
13048
13049 # type: textblock
13050 #: ../src/guestfs-actions.pod:5167 ../fish/guestfish-actions.pod:3997
13051 msgid ""
13052 "This function sets the mask used for creating new files and device nodes to "
13053 "C<mask & 0777>."
13054 msgstr ""
13055
13056 # type: textblock
13057 #: ../src/guestfs-actions.pod:5170 ../fish/guestfish-actions.pod:4000
13058 msgid ""
13059 "Typical umask values would be C<022> which creates new files with "
13060 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
13061 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
13062 msgstr ""
13063
13064 # type: textblock
13065 #: ../src/guestfs-actions.pod:5175 ../fish/guestfish-actions.pod:4005
13066 msgid ""
13067 "The default umask is C<022>.  This is important because it means that "
13068 "directories and device nodes will be created with C<0644> or C<0755> mode "
13069 "even if you specify C<0777>."
13070 msgstr ""
13071
13072 # type: textblock
13073 #: ../src/guestfs-actions.pod:5179
13074 msgid ""
13075 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
13076 "C<guestfs_mkdir>."
13077 msgstr ""
13078
13079 # type: textblock
13080 #: ../src/guestfs-actions.pod:5182 ../fish/guestfish-actions.pod:4012
13081 msgid "This call returns the previous umask."
13082 msgstr ""
13083
13084 # type: =head2
13085 #: ../src/guestfs-actions.pod:5186
13086 msgid "guestfs_umount"
13087 msgstr ""
13088
13089 # type: verbatim
13090 #: ../src/guestfs-actions.pod:5188
13091 #, no-wrap
13092 msgid ""
13093 " int guestfs_umount (guestfs_h *g,\n"
13094 "\t\tconst char *pathordevice);\n"
13095 "\n"
13096 msgstr ""
13097
13098 # type: textblock
13099 #: ../src/guestfs-actions.pod:5191 ../fish/guestfish-actions.pod:4020
13100 msgid ""
13101 "This unmounts the given filesystem.  The filesystem may be specified either "
13102 "by its mountpoint (path) or the device which contains the filesystem."
13103 msgstr ""
13104
13105 # type: =head2
13106 #: ../src/guestfs-actions.pod:5197
13107 msgid "guestfs_umount_all"
13108 msgstr ""
13109
13110 # type: verbatim
13111 #: ../src/guestfs-actions.pod:5199
13112 #, no-wrap
13113 msgid ""
13114 " int guestfs_umount_all (guestfs_h *g);\n"
13115 "\n"
13116 msgstr ""
13117
13118 # type: textblock
13119 #: ../src/guestfs-actions.pod:5201 ../fish/guestfish-actions.pod:4030
13120 msgid "This unmounts all mounted filesystems."
13121 msgstr ""
13122
13123 # type: textblock
13124 #: ../src/guestfs-actions.pod:5203 ../fish/guestfish-actions.pod:4032
13125 msgid "Some internal mounts are not unmounted by this call."
13126 msgstr ""
13127
13128 # type: =head2
13129 #: ../src/guestfs-actions.pod:5207
13130 msgid "guestfs_upload"
13131 msgstr ""
13132
13133 # type: verbatim
13134 #: ../src/guestfs-actions.pod:5209
13135 #, no-wrap
13136 msgid ""
13137 " int guestfs_upload (guestfs_h *g,\n"
13138 "\t\tconst char *filename,\n"
13139 "\t\tconst char *remotefilename);\n"
13140 "\n"
13141 msgstr ""
13142
13143 # type: textblock
13144 #: ../src/guestfs-actions.pod:5213 ../src/guestfs-actions.pod:5229 ../fish/guestfish-actions.pod:4038 ../fish/guestfish-actions.pod:4051
13145 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
13146 msgstr ""
13147
13148 # type: textblock
13149 #: ../src/guestfs-actions.pod:5218
13150 msgid "See also C<guestfs_download>."
13151 msgstr ""
13152
13153 # type: =head2
13154 #: ../src/guestfs-actions.pod:5222
13155 msgid "guestfs_upload_offset"
13156 msgstr ""
13157
13158 # type: verbatim
13159 #: ../src/guestfs-actions.pod:5224
13160 #, no-wrap
13161 msgid ""
13162 " int guestfs_upload_offset (guestfs_h *g,\n"
13163 "\t\tconst char *filename,\n"
13164 "\t\tconst char *remotefilename,\n"
13165 "\t\tint64_t offset);\n"
13166 "\n"
13167 msgstr ""
13168
13169 # type: textblock
13170 #: ../src/guestfs-actions.pod:5232 ../fish/guestfish-actions.pod:4054
13171 msgid ""
13172 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
13173 "The intention is to overwrite parts of existing files or devices, although "
13174 "if a non-existant file is specified then it is created with a \"hole\" "
13175 "before C<offset>.  The size of the data written is implicit in the size of "
13176 "the source C<filename>."
13177 msgstr ""
13178
13179 # type: textblock
13180 #: ../src/guestfs-actions.pod:5239
13181 msgid ""
13182 "Note that there is no limit on the amount of data that can be uploaded with "
13183 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
13184 "full amount unless an error occurs."
13185 msgstr ""
13186
13187 # type: textblock
13188 #: ../src/guestfs-actions.pod:5244
13189 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
13190 msgstr ""
13191
13192 # type: =head2
13193 #: ../src/guestfs-actions.pod:5248
13194 msgid "guestfs_utimens"
13195 msgstr ""
13196
13197 # type: verbatim
13198 #: ../src/guestfs-actions.pod:5250
13199 #, no-wrap
13200 msgid ""
13201 " int guestfs_utimens (guestfs_h *g,\n"
13202 "\t\tconst char *path,\n"
13203 "\t\tint64_t atsecs,\n"
13204 "\t\tint64_t atnsecs,\n"
13205 "\t\tint64_t mtsecs,\n"
13206 "\t\tint64_t mtnsecs);\n"
13207 "\n"
13208 msgstr ""
13209
13210 # type: textblock
13211 #: ../src/guestfs-actions.pod:5257 ../fish/guestfish-actions.pod:4074
13212 msgid "This command sets the timestamps of a file with nanosecond precision."
13213 msgstr ""
13214
13215 # type: textblock
13216 #: ../src/guestfs-actions.pod:5260 ../fish/guestfish-actions.pod:4077
13217 msgid ""
13218 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
13219 "from the epoch."
13220 msgstr ""
13221
13222 # type: textblock
13223 #: ../src/guestfs-actions.pod:5263 ../fish/guestfish-actions.pod:4080
13224 msgid ""
13225 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
13226 "nanoseconds from the epoch."
13227 msgstr ""
13228
13229 # type: textblock
13230 #: ../src/guestfs-actions.pod:5266 ../fish/guestfish-actions.pod:4083
13231 msgid ""
13232 "If the C<*nsecs> field contains the special value C<-1> then the "
13233 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
13234 "ignored in this case)."
13235 msgstr ""
13236
13237 # type: textblock
13238 #: ../src/guestfs-actions.pod:5270 ../fish/guestfish-actions.pod:4087
13239 msgid ""
13240 "If the C<*nsecs> field contains the special value C<-2> then the "
13241 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
13242 "in this case)."
13243 msgstr ""
13244
13245 # type: =head2
13246 #: ../src/guestfs-actions.pod:5276 ../src/guestfs-structs.pod:175
13247 msgid "guestfs_version"
13248 msgstr ""
13249
13250 # type: verbatim
13251 #: ../src/guestfs-actions.pod:5278
13252 #, no-wrap
13253 msgid ""
13254 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
13255 "\n"
13256 msgstr ""
13257
13258 # type: textblock
13259 #: ../src/guestfs-actions.pod:5280 ../fish/guestfish-actions.pod:4095
13260 msgid "Return the libguestfs version number that the program is linked against."
13261 msgstr ""
13262
13263 # type: textblock
13264 #: ../src/guestfs-actions.pod:5283 ../fish/guestfish-actions.pod:4098
13265 msgid ""
13266 "Note that because of dynamic linking this is not necessarily the version of "
13267 "libguestfs that you compiled against.  You can compile the program, and then "
13268 "at runtime dynamically link against a completely different C<libguestfs.so> "
13269 "library."
13270 msgstr ""
13271
13272 # type: textblock
13273 #: ../src/guestfs-actions.pod:5288 ../fish/guestfish-actions.pod:4103
13274 msgid ""
13275 "This call was added in version C<1.0.58>.  In previous versions of "
13276 "libguestfs there was no way to get the version number.  From C code you can "
13277 "use dynamic linker functions to find out if this symbol exists (if it "
13278 "doesn't, then it's an earlier version)."
13279 msgstr ""
13280
13281 # type: textblock
13282 #: ../src/guestfs-actions.pod:5294 ../fish/guestfish-actions.pod:4109
13283 msgid ""
13284 "The call returns a structure with four elements.  The first three (C<major>, "
13285 "C<minor> and C<release>) are numbers and correspond to the usual version "
13286 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
13287 "but may be used for distro-specific information."
13288 msgstr ""
13289
13290 # type: textblock
13291 #: ../src/guestfs-actions.pod:5300 ../fish/guestfish-actions.pod:4115
13292 msgid "To construct the original version string: C<$major.$minor.$release$extra>"
13293 msgstr ""
13294
13295 # type: textblock
13296 #: ../src/guestfs-actions.pod:5303 ../fish/guestfish-actions.pod:4118
13297 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
13298 msgstr ""
13299
13300 # type: textblock
13301 #: ../src/guestfs-actions.pod:5305
13302 msgid ""
13303 "I<Note:> Don't use this call to test for availability of features.  In "
13304 "enterprise distributions we backport features from later versions into "
13305 "earlier versions, making this an unreliable way to test for features.  Use "
13306 "C<guestfs_available> instead."
13307 msgstr ""
13308
13309 # type: textblock
13310 #: ../src/guestfs-actions.pod:5311
13311 msgid ""
13312 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
13313 "error.  I<The caller must call C<guestfs_free_version> after use>."
13314 msgstr ""
13315
13316 # type: =head2
13317 #: ../src/guestfs-actions.pod:5315
13318 msgid "guestfs_vfs_label"
13319 msgstr ""
13320
13321 # type: verbatim
13322 #: ../src/guestfs-actions.pod:5317
13323 #, no-wrap
13324 msgid ""
13325 " char *guestfs_vfs_label (guestfs_h *g,\n"
13326 "\t\tconst char *device);\n"
13327 "\n"
13328 msgstr ""
13329
13330 # type: textblock
13331 #: ../src/guestfs-actions.pod:5320 ../fish/guestfish-actions.pod:4130
13332 msgid "This returns the filesystem label of the filesystem on C<device>."
13333 msgstr ""
13334
13335 # type: textblock
13336 #: ../src/guestfs-actions.pod:5323 ../fish/guestfish-actions.pod:4133
13337 msgid "If the filesystem is unlabeled, this returns the empty string."
13338 msgstr ""
13339
13340 # type: textblock
13341 #: ../src/guestfs-actions.pod:5325
13342 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
13343 msgstr ""
13344
13345 # type: =head2
13346 #: ../src/guestfs-actions.pod:5330
13347 msgid "guestfs_vfs_type"
13348 msgstr ""
13349
13350 # type: verbatim
13351 #: ../src/guestfs-actions.pod:5332
13352 #, no-wrap
13353 msgid ""
13354 " char *guestfs_vfs_type (guestfs_h *g,\n"
13355 "\t\tconst char *device);\n"
13356 "\n"
13357 msgstr ""
13358
13359 # type: textblock
13360 #: ../src/guestfs-actions.pod:5335 ../fish/guestfish-actions.pod:4141
13361 msgid ""
13362 "This command gets the filesystem type corresponding to the filesystem on "
13363 "C<device>."
13364 msgstr ""
13365
13366 # type: textblock
13367 #: ../src/guestfs-actions.pod:5338 ../fish/guestfish-actions.pod:4144
13368 msgid ""
13369 "For most filesystems, the result is the name of the Linux VFS module which "
13370 "would be used to mount this filesystem if you mounted it without specifying "
13371 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
13372 msgstr ""
13373
13374 # type: =head2
13375 #: ../src/guestfs-actions.pod:5346
13376 msgid "guestfs_vfs_uuid"
13377 msgstr ""
13378
13379 # type: verbatim
13380 #: ../src/guestfs-actions.pod:5348
13381 #, no-wrap
13382 msgid ""
13383 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
13384 "\t\tconst char *device);\n"
13385 "\n"
13386 msgstr ""
13387
13388 # type: textblock
13389 #: ../src/guestfs-actions.pod:5351 ../fish/guestfish-actions.pod:4153
13390 msgid "This returns the filesystem UUID of the filesystem on C<device>."
13391 msgstr ""
13392
13393 # type: textblock
13394 #: ../src/guestfs-actions.pod:5354 ../fish/guestfish-actions.pod:4156
13395 msgid "If the filesystem does not have a UUID, this returns the empty string."
13396 msgstr ""
13397
13398 # type: textblock
13399 #: ../src/guestfs-actions.pod:5356
13400 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
13401 msgstr ""
13402
13403 # type: =head2
13404 #: ../src/guestfs-actions.pod:5361
13405 msgid "guestfs_vg_activate"
13406 msgstr ""
13407
13408 # type: verbatim
13409 #: ../src/guestfs-actions.pod:5363
13410 #, no-wrap
13411 msgid ""
13412 " int guestfs_vg_activate (guestfs_h *g,\n"
13413 "\t\tint activate,\n"
13414 "\t\tchar *const *volgroups);\n"
13415 "\n"
13416 msgstr ""
13417
13418 # type: textblock
13419 #: ../src/guestfs-actions.pod:5367 ../fish/guestfish-actions.pod:4164
13420 msgid ""
13421 "This command activates or (if C<activate> is false) deactivates all logical "
13422 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
13423 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
13424 "deactivated, then those devices disappear."
13425 msgstr ""
13426
13427 # type: textblock
13428 #: ../src/guestfs-actions.pod:5373 ../fish/guestfish-actions.pod:4170
13429 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
13430 msgstr ""
13431
13432 # type: textblock
13433 #: ../src/guestfs-actions.pod:5375 ../fish/guestfish-actions.pod:4172
13434 msgid ""
13435 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
13436 "activated or deactivated."
13437 msgstr ""
13438
13439 # type: =head2
13440 #: ../src/guestfs-actions.pod:5380
13441 msgid "guestfs_vg_activate_all"
13442 msgstr ""
13443
13444 # type: verbatim
13445 #: ../src/guestfs-actions.pod:5382
13446 #, no-wrap
13447 msgid ""
13448 " int guestfs_vg_activate_all (guestfs_h *g,\n"
13449 "\t\tint activate);\n"
13450 "\n"
13451 msgstr ""
13452
13453 # type: textblock
13454 #: ../src/guestfs-actions.pod:5385 ../fish/guestfish-actions.pod:4179
13455 msgid ""
13456 "This command activates or (if C<activate> is false) deactivates all logical "
13457 "volumes in all volume groups.  If activated, then they are made known to the "
13458 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
13459 "those devices disappear."
13460 msgstr ""
13461
13462 # type: textblock
13463 #: ../src/guestfs-actions.pod:5391 ../fish/guestfish-actions.pod:4185
13464 msgid "This command is the same as running C<vgchange -a y|n>"
13465 msgstr ""
13466
13467 # type: =head2
13468 #: ../src/guestfs-actions.pod:5395
13469 msgid "guestfs_vgcreate"
13470 msgstr ""
13471
13472 # type: verbatim
13473 #: ../src/guestfs-actions.pod:5397
13474 #, no-wrap
13475 msgid ""
13476 " int guestfs_vgcreate (guestfs_h *g,\n"
13477 "\t\tconst char *volgroup,\n"
13478 "\t\tchar *const *physvols);\n"
13479 "\n"
13480 msgstr ""
13481
13482 # type: textblock
13483 #: ../src/guestfs-actions.pod:5401 ../fish/guestfish-actions.pod:4191
13484 msgid ""
13485 "This creates an LVM volume group called C<volgroup> from the non-empty list "
13486 "of physical volumes C<physvols>."
13487 msgstr ""
13488
13489 # type: =head2
13490 #: ../src/guestfs-actions.pod:5406
13491 msgid "guestfs_vglvuuids"
13492 msgstr ""
13493
13494 # type: verbatim
13495 #: ../src/guestfs-actions.pod:5408
13496 #, no-wrap
13497 msgid ""
13498 " char **guestfs_vglvuuids (guestfs_h *g,\n"
13499 "\t\tconst char *vgname);\n"
13500 "\n"
13501 msgstr ""
13502
13503 # type: textblock
13504 #: ../src/guestfs-actions.pod:5411 ../fish/guestfish-actions.pod:4198
13505 msgid ""
13506 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
13507 "volumes created in this volume group."
13508 msgstr ""
13509
13510 # type: textblock
13511 #: ../src/guestfs-actions.pod:5414
13512 msgid ""
13513 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
13514 "associate logical volumes and volume groups."
13515 msgstr ""
13516
13517 # type: textblock
13518 #: ../src/guestfs-actions.pod:5417
13519 msgid "See also C<guestfs_vgpvuuids>."
13520 msgstr ""
13521
13522 # type: =head2
13523 #: ../src/guestfs-actions.pod:5423
13524 msgid "guestfs_vgpvuuids"
13525 msgstr ""
13526
13527 # type: verbatim
13528 #: ../src/guestfs-actions.pod:5425
13529 #, no-wrap
13530 msgid ""
13531 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
13532 "\t\tconst char *vgname);\n"
13533 "\n"
13534 msgstr ""
13535
13536 # type: textblock
13537 #: ../src/guestfs-actions.pod:5428 ../fish/guestfish-actions.pod:4210
13538 msgid ""
13539 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
13540 "volumes that this volume group resides on."
13541 msgstr ""
13542
13543 # type: textblock
13544 #: ../src/guestfs-actions.pod:5431
13545 msgid ""
13546 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
13547 "associate physical volumes and volume groups."
13548 msgstr ""
13549
13550 # type: textblock
13551 #: ../src/guestfs-actions.pod:5434
13552 msgid "See also C<guestfs_vglvuuids>."
13553 msgstr ""
13554
13555 # type: =head2
13556 #: ../src/guestfs-actions.pod:5440
13557 msgid "guestfs_vgremove"
13558 msgstr ""
13559
13560 # type: verbatim
13561 #: ../src/guestfs-actions.pod:5442
13562 #, no-wrap
13563 msgid ""
13564 " int guestfs_vgremove (guestfs_h *g,\n"
13565 "\t\tconst char *vgname);\n"
13566 "\n"
13567 msgstr ""
13568
13569 # type: textblock
13570 #: ../src/guestfs-actions.pod:5445 ../fish/guestfish-actions.pod:4222
13571 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
13572 msgstr ""
13573
13574 # type: textblock
13575 #: ../src/guestfs-actions.pod:5447 ../fish/guestfish-actions.pod:4224
13576 msgid "This also forcibly removes all logical volumes in the volume group (if any)."
13577 msgstr ""
13578
13579 # type: =head2
13580 #: ../src/guestfs-actions.pod:5452
13581 msgid "guestfs_vgrename"
13582 msgstr ""
13583
13584 # type: verbatim
13585 #: ../src/guestfs-actions.pod:5454
13586 #, no-wrap
13587 msgid ""
13588 " int guestfs_vgrename (guestfs_h *g,\n"
13589 "\t\tconst char *volgroup,\n"
13590 "\t\tconst char *newvolgroup);\n"
13591 "\n"
13592 msgstr ""
13593
13594 # type: textblock
13595 #: ../src/guestfs-actions.pod:5458 ../fish/guestfish-actions.pod:4231
13596 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
13597 msgstr ""
13598
13599 # type: =head2
13600 #: ../src/guestfs-actions.pod:5462
13601 msgid "guestfs_vgs"
13602 msgstr ""
13603
13604 # type: verbatim
13605 #: ../src/guestfs-actions.pod:5464
13606 #, no-wrap
13607 msgid ""
13608 " char **guestfs_vgs (guestfs_h *g);\n"
13609 "\n"
13610 msgstr ""
13611
13612 # type: textblock
13613 #: ../src/guestfs-actions.pod:5466 ../fish/guestfish-actions.pod:4237
13614 msgid ""
13615 "List all the volumes groups detected.  This is the equivalent of the "
13616 "L<vgs(8)> command."
13617 msgstr ""
13618
13619 # type: textblock
13620 #: ../src/guestfs-actions.pod:5469 ../fish/guestfish-actions.pod:4240
13621 msgid ""
13622 "This returns a list of just the volume group names that were detected "
13623 "(eg. C<VolGroup00>)."
13624 msgstr ""
13625
13626 # type: textblock
13627 #: ../src/guestfs-actions.pod:5472
13628 msgid "See also C<guestfs_vgs_full>."
13629 msgstr ""
13630
13631 # type: =head2
13632 #: ../src/guestfs-actions.pod:5478
13633 msgid "guestfs_vgs_full"
13634 msgstr ""
13635
13636 # type: verbatim
13637 #: ../src/guestfs-actions.pod:5480
13638 #, no-wrap
13639 msgid ""
13640 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
13641 "\n"
13642 msgstr ""
13643
13644 # type: textblock
13645 #: ../src/guestfs-actions.pod:5482 ../fish/guestfish-actions.pod:4249
13646 msgid ""
13647 "List all the volumes groups detected.  This is the equivalent of the "
13648 "L<vgs(8)> command.  The \"full\" version includes all fields."
13649 msgstr ""
13650
13651 # type: textblock
13652 #: ../src/guestfs-actions.pod:5485
13653 msgid ""
13654 "This function returns a C<struct guestfs_lvm_vg_list *> (see "
13655 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
13656 "must call C<guestfs_free_lvm_vg_list> after use>."
13657 msgstr ""
13658
13659 # type: =head2
13660 #: ../src/guestfs-actions.pod:5490
13661 msgid "guestfs_vgscan"
13662 msgstr ""
13663
13664 # type: verbatim
13665 #: ../src/guestfs-actions.pod:5492
13666 #, no-wrap
13667 msgid ""
13668 " int guestfs_vgscan (guestfs_h *g);\n"
13669 "\n"
13670 msgstr ""
13671
13672 # type: textblock
13673 #: ../src/guestfs-actions.pod:5494 ../fish/guestfish-actions.pod:4256
13674 msgid ""
13675 "This rescans all block devices and rebuilds the list of LVM physical "
13676 "volumes, volume groups and logical volumes."
13677 msgstr ""
13678
13679 # type: =head2
13680 #: ../src/guestfs-actions.pod:5499
13681 msgid "guestfs_vguuid"
13682 msgstr ""
13683
13684 # type: verbatim
13685 #: ../src/guestfs-actions.pod:5501
13686 #, no-wrap
13687 msgid ""
13688 " char *guestfs_vguuid (guestfs_h *g,\n"
13689 "\t\tconst char *vgname);\n"
13690 "\n"
13691 msgstr ""
13692
13693 # type: textblock
13694 #: ../src/guestfs-actions.pod:5504 ../fish/guestfish-actions.pod:4263
13695 msgid "This command returns the UUID of the LVM VG named C<vgname>."
13696 msgstr ""
13697
13698 # type: =head2
13699 #: ../src/guestfs-actions.pod:5509
13700 msgid "guestfs_wait_ready"
13701 msgstr ""
13702
13703 # type: verbatim
13704 #: ../src/guestfs-actions.pod:5511
13705 #, no-wrap
13706 msgid ""
13707 " int guestfs_wait_ready (guestfs_h *g);\n"
13708 "\n"
13709 msgstr ""
13710
13711 # type: textblock
13712 #: ../src/guestfs-actions.pod:5513
13713 msgid "This function is a no op."
13714 msgstr ""
13715
13716 # type: textblock
13717 #: ../src/guestfs-actions.pod:5515
13718 msgid ""
13719 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13720 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13721 "is no longer necessary because C<guestfs_launch> now does the waiting."
13722 msgstr ""
13723
13724 # type: textblock
13725 #: ../src/guestfs-actions.pod:5520
13726 msgid ""
13727 "If you see any calls to this function in code then you can just remove them, "
13728 "unless you want to retain compatibility with older versions of the API."
13729 msgstr ""
13730
13731 # type: =head2
13732 #: ../src/guestfs-actions.pod:5526
13733 msgid "guestfs_wc_c"
13734 msgstr ""
13735
13736 # type: verbatim
13737 #: ../src/guestfs-actions.pod:5528
13738 #, no-wrap
13739 msgid ""
13740 " int guestfs_wc_c (guestfs_h *g,\n"
13741 "\t\tconst char *path);\n"
13742 "\n"
13743 msgstr ""
13744
13745 # type: textblock
13746 #: ../src/guestfs-actions.pod:5531 ../fish/guestfish-actions.pod:4269
13747 msgid ""
13748 "This command counts the characters in a file, using the C<wc -c> external "
13749 "command."
13750 msgstr ""
13751
13752 # type: =head2
13753 #: ../src/guestfs-actions.pod:5536
13754 msgid "guestfs_wc_l"
13755 msgstr ""
13756
13757 # type: verbatim
13758 #: ../src/guestfs-actions.pod:5538
13759 #, no-wrap
13760 msgid ""
13761 " int guestfs_wc_l (guestfs_h *g,\n"
13762 "\t\tconst char *path);\n"
13763 "\n"
13764 msgstr ""
13765
13766 # type: textblock
13767 #: ../src/guestfs-actions.pod:5541 ../fish/guestfish-actions.pod:4276
13768 msgid ""
13769 "This command counts the lines in a file, using the C<wc -l> external "
13770 "command."
13771 msgstr ""
13772
13773 # type: =head2
13774 #: ../src/guestfs-actions.pod:5546
13775 msgid "guestfs_wc_w"
13776 msgstr ""
13777
13778 # type: verbatim
13779 #: ../src/guestfs-actions.pod:5548
13780 #, no-wrap
13781 msgid ""
13782 " int guestfs_wc_w (guestfs_h *g,\n"
13783 "\t\tconst char *path);\n"
13784 "\n"
13785 msgstr ""
13786
13787 # type: textblock
13788 #: ../src/guestfs-actions.pod:5551 ../fish/guestfish-actions.pod:4283
13789 msgid ""
13790 "This command counts the words in a file, using the C<wc -w> external "
13791 "command."
13792 msgstr ""
13793
13794 # type: =head2
13795 #: ../src/guestfs-actions.pod:5556
13796 msgid "guestfs_write"
13797 msgstr ""
13798
13799 # type: verbatim
13800 #: ../src/guestfs-actions.pod:5558
13801 #, no-wrap
13802 msgid ""
13803 " int guestfs_write (guestfs_h *g,\n"
13804 "\t\tconst char *path,\n"
13805 "\t\tconst char *content,\n"
13806 "\t\tsize_t content_size);\n"
13807 "\n"
13808 msgstr ""
13809
13810 # type: textblock
13811 #: ../src/guestfs-actions.pod:5563 ../fish/guestfish-actions.pod:4290
13812 msgid ""
13813 "This call creates a file called C<path>.  The content of the file is the "
13814 "string C<content> (which can contain any 8 bit data)."
13815 msgstr ""
13816
13817 # type: =head2
13818 #: ../src/guestfs-actions.pod:5571
13819 msgid "guestfs_write_file"
13820 msgstr ""
13821
13822 # type: verbatim
13823 #: ../src/guestfs-actions.pod:5573
13824 #, no-wrap
13825 msgid ""
13826 " int guestfs_write_file (guestfs_h *g,\n"
13827 "\t\tconst char *path,\n"
13828 "\t\tconst char *content,\n"
13829 "\t\tint size);\n"
13830 "\n"
13831 msgstr ""
13832
13833 # type: textblock
13834 #: ../src/guestfs-actions.pod:5578 ../fish/guestfish-actions.pod:4300
13835 msgid ""
13836 "This call creates a file called C<path>.  The contents of the file is the "
13837 "string C<content> (which can contain any 8 bit data), with length C<size>."
13838 msgstr ""
13839
13840 # type: textblock
13841 #: ../src/guestfs-actions.pod:5582 ../fish/guestfish-actions.pod:4304
13842 msgid ""
13843 "As a special case, if C<size> is C<0> then the length is calculated using "
13844 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13845 msgstr ""
13846
13847 # type: textblock
13848 #: ../src/guestfs-actions.pod:5586 ../fish/guestfish-actions.pod:4308
13849 msgid ""
13850 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13851 "I<not> work, even if the length is specified."
13852 msgstr ""
13853
13854 # type: textblock
13855 #: ../src/guestfs-actions.pod:5594 ../fish/guestfish-actions.pod:4314
13856 msgid "This function is deprecated.  In new code, use the C<write> call instead."
13857 msgstr ""
13858
13859 # type: =head2
13860 #: ../src/guestfs-actions.pod:5601
13861 msgid "guestfs_zegrep"
13862 msgstr ""
13863
13864 # type: verbatim
13865 #: ../src/guestfs-actions.pod:5603
13866 #, no-wrap
13867 msgid ""
13868 " char **guestfs_zegrep (guestfs_h *g,\n"
13869 "\t\tconst char *regex,\n"
13870 "\t\tconst char *path);\n"
13871 "\n"
13872 msgstr ""
13873
13874 # type: textblock
13875 #: ../src/guestfs-actions.pod:5607 ../fish/guestfish-actions.pod:4325
13876 msgid "This calls the external C<zegrep> program and returns the matching lines."
13877 msgstr ""
13878
13879 # type: =head2
13880 #: ../src/guestfs-actions.pod:5617
13881 msgid "guestfs_zegrepi"
13882 msgstr ""
13883
13884 # type: verbatim
13885 #: ../src/guestfs-actions.pod:5619
13886 #, no-wrap
13887 msgid ""
13888 " char **guestfs_zegrepi (guestfs_h *g,\n"
13889 "\t\tconst char *regex,\n"
13890 "\t\tconst char *path);\n"
13891 "\n"
13892 msgstr ""
13893
13894 # type: textblock
13895 #: ../src/guestfs-actions.pod:5623 ../fish/guestfish-actions.pod:4335
13896 msgid "This calls the external C<zegrep -i> program and returns the matching lines."
13897 msgstr ""
13898
13899 # type: =head2
13900 #: ../src/guestfs-actions.pod:5633
13901 msgid "guestfs_zero"
13902 msgstr ""
13903
13904 # type: verbatim
13905 #: ../src/guestfs-actions.pod:5635
13906 #, no-wrap
13907 msgid ""
13908 " int guestfs_zero (guestfs_h *g,\n"
13909 "\t\tconst char *device);\n"
13910 "\n"
13911 msgstr ""
13912
13913 # type: textblock
13914 #: ../src/guestfs-actions.pod:5638 ../fish/guestfish-actions.pod:4345
13915 msgid "This command writes zeroes over the first few blocks of C<device>."
13916 msgstr ""
13917
13918 # type: textblock
13919 #: ../src/guestfs-actions.pod:5640 ../fish/guestfish-actions.pod:4347
13920 msgid ""
13921 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13922 "securely wipe the device).  It should be sufficient to remove any partition "
13923 "tables, filesystem superblocks and so on."
13924 msgstr ""
13925
13926 # type: textblock
13927 #: ../src/guestfs-actions.pod:5644
13928 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13929 msgstr ""
13930
13931 # type: =head2
13932 #: ../src/guestfs-actions.pod:5653
13933 msgid "guestfs_zero_device"
13934 msgstr ""
13935
13936 # type: verbatim
13937 #: ../src/guestfs-actions.pod:5655
13938 #, no-wrap
13939 msgid ""
13940 " int guestfs_zero_device (guestfs_h *g,\n"
13941 "\t\tconst char *device);\n"
13942 "\n"
13943 msgstr ""
13944
13945 # type: textblock
13946 #: ../src/guestfs-actions.pod:5658
13947 msgid ""
13948 "This command writes zeroes over the entire C<device>.  Compare with "
13949 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13950 msgstr ""
13951
13952 # type: =head2
13953 #: ../src/guestfs-actions.pod:5672
13954 msgid "guestfs_zerofree"
13955 msgstr ""
13956
13957 # type: verbatim
13958 #: ../src/guestfs-actions.pod:5674
13959 #, no-wrap
13960 msgid ""
13961 " int guestfs_zerofree (guestfs_h *g,\n"
13962 "\t\tconst char *device);\n"
13963 "\n"
13964 msgstr ""
13965
13966 # type: textblock
13967 #: ../src/guestfs-actions.pod:5677 ../fish/guestfish-actions.pod:4368
13968 msgid ""
13969 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13970 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13971 "possible to compress the filesystem more effectively."
13972 msgstr ""
13973
13974 # type: textblock
13975 #: ../src/guestfs-actions.pod:5682 ../fish/guestfish-actions.pod:4373
13976 msgid "You should B<not> run this program if the filesystem is mounted."
13977 msgstr ""
13978
13979 # type: textblock
13980 #: ../src/guestfs-actions.pod:5685 ../fish/guestfish-actions.pod:4376
13981 msgid ""
13982 "It is possible that using this program can damage the filesystem or data on "
13983 "the filesystem."
13984 msgstr ""
13985
13986 # type: =head2
13987 #: ../src/guestfs-actions.pod:5690
13988 msgid "guestfs_zfgrep"
13989 msgstr ""
13990
13991 # type: verbatim
13992 #: ../src/guestfs-actions.pod:5692
13993 #, no-wrap
13994 msgid ""
13995 " char **guestfs_zfgrep (guestfs_h *g,\n"
13996 "\t\tconst char *pattern,\n"
13997 "\t\tconst char *path);\n"
13998 "\n"
13999 msgstr ""
14000
14001 # type: textblock
14002 #: ../src/guestfs-actions.pod:5696 ../fish/guestfish-actions.pod:4383
14003 msgid "This calls the external C<zfgrep> program and returns the matching lines."
14004 msgstr ""
14005
14006 # type: =head2
14007 #: ../src/guestfs-actions.pod:5706
14008 msgid "guestfs_zfgrepi"
14009 msgstr ""
14010
14011 # type: verbatim
14012 #: ../src/guestfs-actions.pod:5708
14013 #, no-wrap
14014 msgid ""
14015 " char **guestfs_zfgrepi (guestfs_h *g,\n"
14016 "\t\tconst char *pattern,\n"
14017 "\t\tconst char *path);\n"
14018 "\n"
14019 msgstr ""
14020
14021 # type: textblock
14022 #: ../src/guestfs-actions.pod:5712 ../fish/guestfish-actions.pod:4393
14023 msgid "This calls the external C<zfgrep -i> program and returns the matching lines."
14024 msgstr ""
14025
14026 # type: =head2
14027 #: ../src/guestfs-actions.pod:5722
14028 msgid "guestfs_zfile"
14029 msgstr ""
14030
14031 # type: verbatim
14032 #: ../src/guestfs-actions.pod:5724
14033 #, no-wrap
14034 msgid ""
14035 " char *guestfs_zfile (guestfs_h *g,\n"
14036 "\t\tconst char *meth,\n"
14037 "\t\tconst char *path);\n"
14038 "\n"
14039 msgstr ""
14040
14041 # type: textblock
14042 #: ../src/guestfs-actions.pod:5728 ../fish/guestfish-actions.pod:4403
14043 msgid "This command runs C<file> after first decompressing C<path> using C<method>."
14044 msgstr ""
14045
14046 # type: textblock
14047 #: ../src/guestfs-actions.pod:5731 ../fish/guestfish-actions.pod:4406
14048 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
14049 msgstr ""
14050
14051 # type: textblock
14052 #: ../src/guestfs-actions.pod:5733
14053 msgid ""
14054 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
14055 "files."
14056 msgstr ""
14057
14058 # type: textblock
14059 #: ../src/guestfs-actions.pod:5739 ../fish/guestfish-actions.pod:4411
14060 msgid "This function is deprecated.  In new code, use the C<file> call instead."
14061 msgstr ""
14062
14063 # type: =head2
14064 #: ../src/guestfs-actions.pod:5746
14065 msgid "guestfs_zgrep"
14066 msgstr ""
14067
14068 # type: verbatim
14069 #: ../src/guestfs-actions.pod:5748
14070 #, no-wrap
14071 msgid ""
14072 " char **guestfs_zgrep (guestfs_h *g,\n"
14073 "\t\tconst char *regex,\n"
14074 "\t\tconst char *path);\n"
14075 "\n"
14076 msgstr ""
14077
14078 # type: textblock
14079 #: ../src/guestfs-actions.pod:5752 ../fish/guestfish-actions.pod:4422
14080 msgid "This calls the external C<zgrep> program and returns the matching lines."
14081 msgstr ""
14082
14083 # type: =head2
14084 #: ../src/guestfs-actions.pod:5762
14085 msgid "guestfs_zgrepi"
14086 msgstr ""
14087
14088 # type: verbatim
14089 #: ../src/guestfs-actions.pod:5764
14090 #, no-wrap
14091 msgid ""
14092 " char **guestfs_zgrepi (guestfs_h *g,\n"
14093 "\t\tconst char *regex,\n"
14094 "\t\tconst char *path);\n"
14095 "\n"
14096 msgstr ""
14097
14098 # type: textblock
14099 #: ../src/guestfs-actions.pod:5768 ../fish/guestfish-actions.pod:4432
14100 msgid "This calls the external C<zgrep -i> program and returns the matching lines."
14101 msgstr ""
14102
14103 # type: =item
14104 #: ../src/guestfs-availability.pod:3
14105 msgid "B<augeas>"
14106 msgstr ""
14107
14108 # type: textblock
14109 #: ../src/guestfs-availability.pod:5
14110 msgid ""
14111 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> "
14112 "L</guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> "
14113 "L</guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> "
14114 "L</guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> "
14115 "L</guestfs_aug_rm> L</guestfs_aug_save> L</guestfs_aug_set>"
14116 msgstr ""
14117
14118 # type: =item
14119 #: ../src/guestfs-availability.pod:21
14120 msgid "B<inotify>"
14121 msgstr ""
14122
14123 # type: textblock
14124 #: ../src/guestfs-availability.pod:23
14125 msgid ""
14126 "The following functions: L</guestfs_inotify_add_watch> "
14127 "L</guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> "
14128 "L</guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
14129 msgstr ""
14130
14131 # type: =item
14132 #: ../src/guestfs-availability.pod:31
14133 msgid "B<linuxfsuuid>"
14134 msgstr ""
14135
14136 # type: textblock
14137 #: ../src/guestfs-availability.pod:33
14138 msgid ""
14139 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> "
14140 "L</guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
14141 msgstr ""
14142
14143 # type: =item
14144 #: ../src/guestfs-availability.pod:40
14145 msgid "B<linuxmodules>"
14146 msgstr ""
14147
14148 # type: textblock
14149 #: ../src/guestfs-availability.pod:42
14150 msgid "The following functions: L</guestfs_modprobe>"
14151 msgstr ""
14152
14153 # type: =item
14154 #: ../src/guestfs-availability.pod:45
14155 msgid "B<linuxxattrs>"
14156 msgstr ""
14157
14158 # type: textblock
14159 #: ../src/guestfs-availability.pod:47
14160 msgid ""
14161 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> "
14162 "L</guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> "
14163 "L</guestfs_removexattr> L</guestfs_setxattr>"
14164 msgstr ""
14165
14166 # type: =item
14167 #: ../src/guestfs-availability.pod:56
14168 msgid "B<luks>"
14169 msgstr ""
14170
14171 # type: textblock
14172 #: ../src/guestfs-availability.pod:58
14173 msgid ""
14174 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> "
14175 "L</guestfs_luks_format> L</guestfs_luks_format_cipher> "
14176 "L</guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
14177 msgstr ""
14178
14179 # type: =item
14180 #: ../src/guestfs-availability.pod:67
14181 msgid "B<lvm2>"
14182 msgstr ""
14183
14184 # type: textblock
14185 #: ../src/guestfs-availability.pod:69
14186 msgid ""
14187 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> "
14188 "L</guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> "
14189 "L</guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> "
14190 "L</guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> "
14191 "L</guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> "
14192 "L</guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> "
14193 "L</guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> "
14194 "L</guestfs_vgs_full>"
14195 msgstr ""
14196
14197 # type: =item
14198 #: ../src/guestfs-availability.pod:92
14199 msgid "B<mknod>"
14200 msgstr ""
14201
14202 # type: textblock
14203 #: ../src/guestfs-availability.pod:94
14204 msgid ""
14205 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> "
14206 "L</guestfs_mknod_b> L</guestfs_mknod_c>"
14207 msgstr ""
14208
14209 # type: =item
14210 #: ../src/guestfs-availability.pod:100
14211 msgid "B<ntfs3g>"
14212 msgstr ""
14213
14214 # type: textblock
14215 #: ../src/guestfs-availability.pod:102
14216 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
14217 msgstr ""
14218
14219 # type: =item
14220 #: ../src/guestfs-availability.pod:105
14221 msgid "B<ntfsprogs>"
14222 msgstr ""
14223
14224 # type: textblock
14225 #: ../src/guestfs-availability.pod:107
14226 msgid "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
14227 msgstr ""
14228
14229 # type: =item
14230 #: ../src/guestfs-availability.pod:111
14231 msgid "B<realpath>"
14232 msgstr ""
14233
14234 # type: textblock
14235 #: ../src/guestfs-availability.pod:113
14236 msgid "The following functions: L</guestfs_realpath>"
14237 msgstr ""
14238
14239 # type: =item
14240 #: ../src/guestfs-availability.pod:116
14241 msgid "B<scrub>"
14242 msgstr ""
14243
14244 # type: textblock
14245 #: ../src/guestfs-availability.pod:118
14246 msgid ""
14247 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> "
14248 "L</guestfs_scrub_freespace>"
14249 msgstr ""
14250
14251 # type: =item
14252 #: ../src/guestfs-availability.pod:123
14253 msgid "B<selinux>"
14254 msgstr ""
14255
14256 # type: textblock
14257 #: ../src/guestfs-availability.pod:125
14258 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
14259 msgstr ""
14260
14261 # type: =item
14262 #: ../src/guestfs-availability.pod:129
14263 msgid "B<xz>"
14264 msgstr ""
14265
14266 # type: textblock
14267 #: ../src/guestfs-availability.pod:131
14268 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
14269 msgstr ""
14270
14271 # type: =item
14272 #: ../src/guestfs-availability.pod:135
14273 msgid "B<zerofree>"
14274 msgstr ""
14275
14276 # type: textblock
14277 #: ../src/guestfs-availability.pod:137
14278 msgid "The following functions: L</guestfs_zerofree>"
14279 msgstr ""
14280
14281 # type: =head2
14282 #: ../src/guestfs-structs.pod:1
14283 msgid "guestfs_int_bool"
14284 msgstr ""
14285
14286 # type: verbatim
14287 #: ../src/guestfs-structs.pod:3
14288 #, no-wrap
14289 msgid ""
14290 " struct guestfs_int_bool {\n"
14291 "   int32_t i;\n"
14292 "   int32_t b;\n"
14293 " };\n"
14294 " \n"
14295 msgstr ""
14296
14297 # type: verbatim
14298 #: ../src/guestfs-structs.pod:8
14299 #, no-wrap
14300 msgid ""
14301 " struct guestfs_int_bool_list {\n"
14302 "   uint32_t len; /* Number of elements in list. */\n"
14303 "   struct guestfs_int_bool *val; /* Elements. */\n"
14304 " };\n"
14305 " \n"
14306 msgstr ""
14307
14308 # type: verbatim
14309 #: ../src/guestfs-structs.pod:13
14310 #, no-wrap
14311 msgid ""
14312 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
14313 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
14314 "\n"
14315 msgstr ""
14316
14317 # type: =head2
14318 #: ../src/guestfs-structs.pod:16
14319 msgid "guestfs_lvm_pv"
14320 msgstr ""
14321
14322 # type: verbatim
14323 #: ../src/guestfs-structs.pod:18
14324 #, no-wrap
14325 msgid ""
14326 " struct guestfs_lvm_pv {\n"
14327 "   char *pv_name;\n"
14328 "   /* The next field is NOT nul-terminated, be careful when printing it: "
14329 "*/\n"
14330 "   char pv_uuid[32];\n"
14331 "   char *pv_fmt;\n"
14332 "   uint64_t pv_size;\n"
14333 "   uint64_t dev_size;\n"
14334 "   uint64_t pv_free;\n"
14335 "   uint64_t pv_used;\n"
14336 "   char *pv_attr;\n"
14337 "   int64_t pv_pe_count;\n"
14338 "   int64_t pv_pe_alloc_count;\n"
14339 "   char *pv_tags;\n"
14340 "   uint64_t pe_start;\n"
14341 "   int64_t pv_mda_count;\n"
14342 "   uint64_t pv_mda_free;\n"
14343 " };\n"
14344 " \n"
14345 msgstr ""
14346
14347 # type: verbatim
14348 #: ../src/guestfs-structs.pod:36
14349 #, no-wrap
14350 msgid ""
14351 " struct guestfs_lvm_pv_list {\n"
14352 "   uint32_t len; /* Number of elements in list. */\n"
14353 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
14354 " };\n"
14355 " \n"
14356 msgstr ""
14357
14358 # type: verbatim
14359 #: ../src/guestfs-structs.pod:41
14360 #, no-wrap
14361 msgid ""
14362 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
14363 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
14364 "\n"
14365 msgstr ""
14366
14367 # type: =head2
14368 #: ../src/guestfs-structs.pod:44
14369 msgid "guestfs_lvm_vg"
14370 msgstr ""
14371
14372 # type: verbatim
14373 #: ../src/guestfs-structs.pod:46
14374 #, no-wrap
14375 msgid ""
14376 " struct guestfs_lvm_vg {\n"
14377 "   char *vg_name;\n"
14378 "   /* The next field is NOT nul-terminated, be careful when printing it: "
14379 "*/\n"
14380 "   char vg_uuid[32];\n"
14381 "   char *vg_fmt;\n"
14382 "   char *vg_attr;\n"
14383 "   uint64_t vg_size;\n"
14384 "   uint64_t vg_free;\n"
14385 "   char *vg_sysid;\n"
14386 "   uint64_t vg_extent_size;\n"
14387 "   int64_t vg_extent_count;\n"
14388 "   int64_t vg_free_count;\n"
14389 "   int64_t max_lv;\n"
14390 "   int64_t max_pv;\n"
14391 "   int64_t pv_count;\n"
14392 "   int64_t lv_count;\n"
14393 "   int64_t snap_count;\n"
14394 "   int64_t vg_seqno;\n"
14395 "   char *vg_tags;\n"
14396 "   int64_t vg_mda_count;\n"
14397 "   uint64_t vg_mda_free;\n"
14398 " };\n"
14399 " \n"
14400 msgstr ""
14401
14402 # type: verbatim
14403 #: ../src/guestfs-structs.pod:69
14404 #, no-wrap
14405 msgid ""
14406 " struct guestfs_lvm_vg_list {\n"
14407 "   uint32_t len; /* Number of elements in list. */\n"
14408 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
14409 " };\n"
14410 " \n"
14411 msgstr ""
14412
14413 # type: verbatim
14414 #: ../src/guestfs-structs.pod:74
14415 #, no-wrap
14416 msgid ""
14417 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
14418 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
14419 "\n"
14420 msgstr ""
14421
14422 # type: =head2
14423 #: ../src/guestfs-structs.pod:77
14424 msgid "guestfs_lvm_lv"
14425 msgstr ""
14426
14427 # type: verbatim
14428 #: ../src/guestfs-structs.pod:79
14429 #, no-wrap
14430 msgid ""
14431 " struct guestfs_lvm_lv {\n"
14432 "   char *lv_name;\n"
14433 "   /* The next field is NOT nul-terminated, be careful when printing it: "
14434 "*/\n"
14435 "   char lv_uuid[32];\n"
14436 "   char *lv_attr;\n"
14437 "   int64_t lv_major;\n"
14438 "   int64_t lv_minor;\n"
14439 "   int64_t lv_kernel_major;\n"
14440 "   int64_t lv_kernel_minor;\n"
14441 "   uint64_t lv_size;\n"
14442 "   int64_t seg_count;\n"
14443 "   char *origin;\n"
14444 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14445 "   float snap_percent;\n"
14446 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14447 "   float copy_percent;\n"
14448 "   char *move_pv;\n"
14449 "   char *lv_tags;\n"
14450 "   char *mirror_log;\n"
14451 "   char *modules;\n"
14452 " };\n"
14453 " \n"
14454 msgstr ""
14455
14456 # type: verbatim
14457 #: ../src/guestfs-structs.pod:101
14458 #, no-wrap
14459 msgid ""
14460 " struct guestfs_lvm_lv_list {\n"
14461 "   uint32_t len; /* Number of elements in list. */\n"
14462 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
14463 " };\n"
14464 " \n"
14465 msgstr ""
14466
14467 # type: verbatim
14468 #: ../src/guestfs-structs.pod:106
14469 #, no-wrap
14470 msgid ""
14471 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
14472 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
14473 "\n"
14474 msgstr ""
14475
14476 # type: verbatim
14477 #: ../src/guestfs-structs.pod:111
14478 #, no-wrap
14479 msgid ""
14480 " struct guestfs_stat {\n"
14481 "   int64_t dev;\n"
14482 "   int64_t ino;\n"
14483 "   int64_t mode;\n"
14484 "   int64_t nlink;\n"
14485 "   int64_t uid;\n"
14486 "   int64_t gid;\n"
14487 "   int64_t rdev;\n"
14488 "   int64_t size;\n"
14489 "   int64_t blksize;\n"
14490 "   int64_t blocks;\n"
14491 "   int64_t atime;\n"
14492 "   int64_t mtime;\n"
14493 "   int64_t ctime;\n"
14494 " };\n"
14495 " \n"
14496 msgstr ""
14497
14498 # type: verbatim
14499 #: ../src/guestfs-structs.pod:127
14500 #, no-wrap
14501 msgid ""
14502 " struct guestfs_stat_list {\n"
14503 "   uint32_t len; /* Number of elements in list. */\n"
14504 "   struct guestfs_stat *val; /* Elements. */\n"
14505 " };\n"
14506 " \n"
14507 msgstr ""
14508
14509 # type: verbatim
14510 #: ../src/guestfs-structs.pod:132
14511 #, no-wrap
14512 msgid ""
14513 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
14514 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
14515 "\n"
14516 msgstr ""
14517
14518 # type: verbatim
14519 #: ../src/guestfs-structs.pod:137
14520 #, no-wrap
14521 msgid ""
14522 " struct guestfs_statvfs {\n"
14523 "   int64_t bsize;\n"
14524 "   int64_t frsize;\n"
14525 "   int64_t blocks;\n"
14526 "   int64_t bfree;\n"
14527 "   int64_t bavail;\n"
14528 "   int64_t files;\n"
14529 "   int64_t ffree;\n"
14530 "   int64_t favail;\n"
14531 "   int64_t fsid;\n"
14532 "   int64_t flag;\n"
14533 "   int64_t namemax;\n"
14534 " };\n"
14535 " \n"
14536 msgstr ""
14537
14538 # type: verbatim
14539 #: ../src/guestfs-structs.pod:151
14540 #, no-wrap
14541 msgid ""
14542 " struct guestfs_statvfs_list {\n"
14543 "   uint32_t len; /* Number of elements in list. */\n"
14544 "   struct guestfs_statvfs *val; /* Elements. */\n"
14545 " };\n"
14546 " \n"
14547 msgstr ""
14548
14549 # type: verbatim
14550 #: ../src/guestfs-structs.pod:156
14551 #, no-wrap
14552 msgid ""
14553 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
14554 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
14555 "\n"
14556 msgstr ""
14557
14558 # type: =head2
14559 #: ../src/guestfs-structs.pod:159
14560 msgid "guestfs_dirent"
14561 msgstr ""
14562
14563 # type: verbatim
14564 #: ../src/guestfs-structs.pod:161
14565 #, no-wrap
14566 msgid ""
14567 " struct guestfs_dirent {\n"
14568 "   int64_t ino;\n"
14569 "   char ftyp;\n"
14570 "   char *name;\n"
14571 " };\n"
14572 " \n"
14573 msgstr ""
14574
14575 # type: verbatim
14576 #: ../src/guestfs-structs.pod:167
14577 #, no-wrap
14578 msgid ""
14579 " struct guestfs_dirent_list {\n"
14580 "   uint32_t len; /* Number of elements in list. */\n"
14581 "   struct guestfs_dirent *val; /* Elements. */\n"
14582 " };\n"
14583 " \n"
14584 msgstr ""
14585
14586 # type: verbatim
14587 #: ../src/guestfs-structs.pod:172
14588 #, no-wrap
14589 msgid ""
14590 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
14591 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
14592 "\n"
14593 msgstr ""
14594
14595 # type: verbatim
14596 #: ../src/guestfs-structs.pod:177
14597 #, no-wrap
14598 msgid ""
14599 " struct guestfs_version {\n"
14600 "   int64_t major;\n"
14601 "   int64_t minor;\n"
14602 "   int64_t release;\n"
14603 "   char *extra;\n"
14604 " };\n"
14605 " \n"
14606 msgstr ""
14607
14608 # type: verbatim
14609 #: ../src/guestfs-structs.pod:184
14610 #, no-wrap
14611 msgid ""
14612 " struct guestfs_version_list {\n"
14613 "   uint32_t len; /* Number of elements in list. */\n"
14614 "   struct guestfs_version *val; /* Elements. */\n"
14615 " };\n"
14616 " \n"
14617 msgstr ""
14618
14619 # type: verbatim
14620 #: ../src/guestfs-structs.pod:189
14621 #, no-wrap
14622 msgid ""
14623 " void guestfs_free_version (struct guestfs_free_version *);\n"
14624 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
14625 "\n"
14626 msgstr ""
14627
14628 # type: =head2
14629 #: ../src/guestfs-structs.pod:192
14630 msgid "guestfs_xattr"
14631 msgstr ""
14632
14633 # type: verbatim
14634 #: ../src/guestfs-structs.pod:194
14635 #, no-wrap
14636 msgid ""
14637 " struct guestfs_xattr {\n"
14638 "   char *attrname;\n"
14639 "   /* The next two fields describe a byte array. */\n"
14640 "   uint32_t attrval_len;\n"
14641 "   char *attrval;\n"
14642 " };\n"
14643 " \n"
14644 msgstr ""
14645
14646 # type: verbatim
14647 #: ../src/guestfs-structs.pod:201
14648 #, no-wrap
14649 msgid ""
14650 " struct guestfs_xattr_list {\n"
14651 "   uint32_t len; /* Number of elements in list. */\n"
14652 "   struct guestfs_xattr *val; /* Elements. */\n"
14653 " };\n"
14654 " \n"
14655 msgstr ""
14656
14657 # type: verbatim
14658 #: ../src/guestfs-structs.pod:206
14659 #, no-wrap
14660 msgid ""
14661 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
14662 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
14663 "\n"
14664 msgstr ""
14665
14666 # type: =head2
14667 #: ../src/guestfs-structs.pod:209
14668 msgid "guestfs_inotify_event"
14669 msgstr ""
14670
14671 # type: verbatim
14672 #: ../src/guestfs-structs.pod:211
14673 #, no-wrap
14674 msgid ""
14675 " struct guestfs_inotify_event {\n"
14676 "   int64_t in_wd;\n"
14677 "   uint32_t in_mask;\n"
14678 "   uint32_t in_cookie;\n"
14679 "   char *in_name;\n"
14680 " };\n"
14681 " \n"
14682 msgstr ""
14683
14684 # type: verbatim
14685 #: ../src/guestfs-structs.pod:218
14686 #, no-wrap
14687 msgid ""
14688 " struct guestfs_inotify_event_list {\n"
14689 "   uint32_t len; /* Number of elements in list. */\n"
14690 "   struct guestfs_inotify_event *val; /* Elements. */\n"
14691 " };\n"
14692 " \n"
14693 msgstr ""
14694
14695 # type: verbatim
14696 #: ../src/guestfs-structs.pod:223
14697 #, no-wrap
14698 msgid ""
14699 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
14700 " void guestfs_free_inotify_event_list (struct "
14701 "guestfs_free_inotify_event_list *);\n"
14702 "\n"
14703 msgstr ""
14704
14705 # type: =head2
14706 #: ../src/guestfs-structs.pod:226
14707 msgid "guestfs_partition"
14708 msgstr ""
14709
14710 # type: verbatim
14711 #: ../src/guestfs-structs.pod:228
14712 #, no-wrap
14713 msgid ""
14714 " struct guestfs_partition {\n"
14715 "   int32_t part_num;\n"
14716 "   uint64_t part_start;\n"
14717 "   uint64_t part_end;\n"
14718 "   uint64_t part_size;\n"
14719 " };\n"
14720 " \n"
14721 msgstr ""
14722
14723 # type: verbatim
14724 #: ../src/guestfs-structs.pod:235
14725 #, no-wrap
14726 msgid ""
14727 " struct guestfs_partition_list {\n"
14728 "   uint32_t len; /* Number of elements in list. */\n"
14729 "   struct guestfs_partition *val; /* Elements. */\n"
14730 " };\n"
14731 " \n"
14732 msgstr ""
14733
14734 # type: verbatim
14735 #: ../src/guestfs-structs.pod:240
14736 #, no-wrap
14737 msgid ""
14738 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14739 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14740 "\n"
14741 msgstr ""
14742
14743 # type: textblock
14744 #: ../fish/guestfish.pod:5
14745 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14746 msgstr ""
14747
14748 # type: verbatim
14749 #: ../fish/guestfish.pod:9
14750 #, no-wrap
14751 msgid ""
14752 " guestfish [--options] [commands]\n"
14753 "\n"
14754 msgstr ""
14755
14756 # type: verbatim
14757 #: ../fish/guestfish.pod:11
14758 #, no-wrap
14759 msgid ""
14760 " guestfish\n"
14761 "\n"
14762 msgstr ""
14763
14764 # type: verbatim
14765 #: ../fish/guestfish.pod:13
14766 #, no-wrap
14767 msgid ""
14768 " guestfish -a disk.img\n"
14769 "\n"
14770 msgstr ""
14771
14772 # type: verbatim
14773 #: ../fish/guestfish.pod:15
14774 #, no-wrap
14775 msgid ""
14776 " guestfish -a disk.img -m dev[:mountpoint]\n"
14777 "\n"
14778 msgstr ""
14779
14780 # type: verbatim
14781 #: ../fish/guestfish.pod:17
14782 #, no-wrap
14783 msgid ""
14784 " guestfish -d libvirt-domain\n"
14785 "\n"
14786 msgstr ""
14787
14788 # type: verbatim
14789 #: ../fish/guestfish.pod:19
14790 #, no-wrap
14791 msgid ""
14792 " guestfish -a disk.img -i\n"
14793 "\n"
14794 msgstr ""
14795
14796 # type: verbatim
14797 #: ../fish/guestfish.pod:21
14798 #, no-wrap
14799 msgid ""
14800 " guestfish -d libvirt-domain -i\n"
14801 "\n"
14802 msgstr ""
14803
14804 # type: =head1
14805 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:15 ../tools/virt-edit.pl:45 ../tools/virt-win-reg.pl:52 ../tools/virt-tar.pl:60 ../tools/virt-rescue.pl:41
14806 msgid "WARNING"
14807 msgstr ""
14808
14809 # type: textblock
14810 #: ../fish/guestfish.pod:25
14811 msgid ""
14812 "Using guestfish in read/write mode on live virtual machines can be "
14813 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14814 "option to use guestfish safely if the disk image or virtual machine might be "
14815 "live."
14816 msgstr ""
14817
14818 # type: textblock
14819 #: ../fish/guestfish.pod:32
14820 msgid ""
14821 "Guestfish is a shell and command-line tool for examining and modifying "
14822 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14823 "functionality of the guestfs API, see L<guestfs(3)>."
14824 msgstr ""
14825
14826 # type: textblock
14827 #: ../fish/guestfish.pod:36
14828 msgid ""
14829 "Guestfish gives you structured access to the libguestfs API, from shell "
14830 "scripts or the command line or interactively.  If you want to rescue a "
14831 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14832 "command."
14833 msgstr ""
14834
14835 # type: =head1
14836 #: ../fish/guestfish.pod:41 ../fish/guestfish.pod:800 ../fuse/guestmount.pod:39 ../tools/virt-edit.pl:59 ../tools/virt-resize.pl:66 ../tools/virt-cat.pl:51 ../tools/virt-tar.pl:46
14837 msgid "EXAMPLES"
14838 msgstr ""
14839
14840 # type: =head2
14841 #: ../fish/guestfish.pod:43
14842 msgid "As an interactive shell"
14843 msgstr ""
14844
14845 # type: verbatim
14846 #: ../fish/guestfish.pod:45
14847 #, no-wrap
14848 msgid ""
14849 " $ guestfish\n"
14850 " \n"
14851 msgstr ""
14852
14853 # type: verbatim
14854 #: ../fish/guestfish.pod:47
14855 #, no-wrap
14856 msgid ""
14857 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14858 " editing virtual machine filesystems.\n"
14859 " \n"
14860 msgstr ""
14861
14862 # type: verbatim
14863 #: ../fish/guestfish.pod:50
14864 #, no-wrap
14865 msgid ""
14866 " Type: 'help' for a list of commands\n"
14867 "       'man' to read the manual\n"
14868 "       'quit' to quit the shell\n"
14869 " \n"
14870 msgstr ""
14871
14872 # type: verbatim
14873 #: ../fish/guestfish.pod:54
14874 #, no-wrap
14875 msgid ""
14876 " ><fs> add-ro disk.img\n"
14877 " ><fs> run\n"
14878 " ><fs> list-filesystems\n"
14879 " /dev/sda1: ext4\n"
14880 " /dev/vg_guest/lv_root: ext4\n"
14881 " /dev/vg_guest/lv_swap: swap\n"
14882 " ><fs> mount /dev/vg_guest/lv_root /\n"
14883 " ><fs> cat /etc/fstab\n"
14884 " # /etc/fstab\n"
14885 " # Created by anaconda\n"
14886 " [...]\n"
14887 " ><fs> exit\n"
14888 "\n"
14889 msgstr ""
14890
14891 # type: =head2
14892 #: ../fish/guestfish.pod:67
14893 msgid "From shell scripts"
14894 msgstr ""
14895
14896 # type: textblock
14897 #: ../fish/guestfish.pod:69
14898 msgid "Create a new C</etc/motd> file in a guest or disk image:"
14899 msgstr ""
14900
14901 # type: verbatim
14902 #: ../fish/guestfish.pod:71
14903 #, no-wrap
14904 msgid ""
14905 " guestfish <<_EOF_\n"
14906 " add disk.img\n"
14907 " run\n"
14908 " mount /dev/vg_guest/lv_root /\n"
14909 " write /etc/motd \"Welcome, new users\"\n"
14910 " _EOF_\n"
14911 "\n"
14912 msgstr ""
14913
14914 # type: textblock
14915 #: ../fish/guestfish.pod:78
14916 msgid "List the LVM logical volumes in a disk image:"
14917 msgstr ""
14918
14919 # type: verbatim
14920 #: ../fish/guestfish.pod:80
14921 #, no-wrap
14922 msgid ""
14923 " guestfish -a disk.img --ro <<_EOF_\n"
14924 " run\n"
14925 " lvs\n"
14926 " _EOF_\n"
14927 "\n"
14928 msgstr ""
14929
14930 # type: textblock
14931 #: ../fish/guestfish.pod:85
14932 msgid "List all the filesystems in a disk image:"
14933 msgstr ""
14934
14935 # type: verbatim
14936 #: ../fish/guestfish.pod:87
14937 #, no-wrap
14938 msgid ""
14939 " guestfish -a disk.img --ro <<_EOF_\n"
14940 " run\n"
14941 " list-filesystems\n"
14942 " _EOF_\n"
14943 "\n"
14944 msgstr ""
14945
14946 # type: =head2
14947 #: ../fish/guestfish.pod:92
14948 msgid "On one command line"
14949 msgstr ""
14950
14951 # type: textblock
14952 #: ../fish/guestfish.pod:94
14953 msgid "Update C</etc/resolv.conf> in a guest:"
14954 msgstr ""
14955
14956 # type: verbatim
14957 #: ../fish/guestfish.pod:96
14958 #, no-wrap
14959 msgid ""
14960 " guestfish \\\n"
14961 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14962 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14963 "\n"
14964 msgstr ""
14965
14966 # type: textblock
14967 #: ../fish/guestfish.pod:100
14968 msgid "Edit C</boot/grub/grub.conf> interactively:"
14969 msgstr ""
14970
14971 # type: verbatim
14972 #: ../fish/guestfish.pod:102
14973 #, no-wrap
14974 msgid ""
14975 " guestfish --add disk.img \\\n"
14976 "   --mount /dev/vg_guest/lv_root \\\n"
14977 "   --mount /dev/sda1:/boot \\\n"
14978 "   edit /boot/grub/grub.conf\n"
14979 "\n"
14980 msgstr ""
14981
14982 # type: =head2
14983 #: ../fish/guestfish.pod:107
14984 msgid "Mount disks automatically"
14985 msgstr ""
14986
14987 # type: textblock
14988 #: ../fish/guestfish.pod:109
14989 msgid ""
14990 "Use the I<-i> option to automatically mount the disks from a virtual "
14991 "machine:"
14992 msgstr ""
14993
14994 # type: verbatim
14995 #: ../fish/guestfish.pod:112
14996 #, no-wrap
14997 msgid ""
14998 " guestfish --ro -a disk.img -i cat /etc/group\n"
14999 "\n"
15000 msgstr ""
15001
15002 # type: verbatim
15003 #: ../fish/guestfish.pod:114
15004 #, no-wrap
15005 msgid ""
15006 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
15007 "\n"
15008 msgstr ""
15009
15010 # type: textblock
15011 #: ../fish/guestfish.pod:116
15012 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
15013 msgstr ""
15014
15015 # type: verbatim
15016 #: ../fish/guestfish.pod:118
15017 #, no-wrap
15018 msgid ""
15019 " guestfish -a disk.img -i edit /boot/grub/grub.conf\n"
15020 "\n"
15021 msgstr ""
15022
15023 # type: =head2
15024 #: ../fish/guestfish.pod:120
15025 msgid "As a script interpreter"
15026 msgstr ""
15027
15028 # type: textblock
15029 #: ../fish/guestfish.pod:122
15030 msgid "Create a 100MB disk containing an ext2-formatted partition:"
15031 msgstr ""
15032
15033 # type: verbatim
15034 #: ../fish/guestfish.pod:124
15035 #, no-wrap
15036 msgid ""
15037 " #!/usr/bin/guestfish -f\n"
15038 " sparse test1.img 100M\n"
15039 " run\n"
15040 " part-disk /dev/sda mbr\n"
15041 " mkfs ext2 /dev/sda1\n"
15042 "\n"
15043 msgstr ""
15044
15045 # type: =head2
15046 #: ../fish/guestfish.pod:130
15047 msgid "Start with a prepared disk"
15048 msgstr ""
15049
15050 # type: textblock
15051 #: ../fish/guestfish.pod:132
15052 msgid ""
15053 "An alternate way to create a 100MB disk called C<test1.img> containing a "
15054 "single ext2-formatted partition:"
15055 msgstr ""
15056
15057 # type: verbatim
15058 #: ../fish/guestfish.pod:135
15059 #, no-wrap
15060 msgid ""
15061 " guestfish -N fs\n"
15062 "\n"
15063 msgstr ""
15064
15065 # type: textblock
15066 #: ../fish/guestfish.pod:137
15067 msgid "To list what is available do:"
15068 msgstr ""
15069
15070 # type: verbatim
15071 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:791
15072 #, no-wrap
15073 msgid ""
15074 " guestfish -N help | less\n"
15075 "\n"
15076 msgstr ""
15077
15078 # type: =head2
15079 #: ../fish/guestfish.pod:141
15080 msgid "Remote control"
15081 msgstr ""
15082
15083 # type: verbatim
15084 #: ../fish/guestfish.pod:143
15085 #, no-wrap
15086 msgid ""
15087 " eval `guestfish --listen`\n"
15088 " guestfish --remote add-ro disk.img\n"
15089 " guestfish --remote run\n"
15090 " guestfish --remote lvs\n"
15091 "\n"
15092 msgstr ""
15093
15094 # type: =head1
15095 #: ../fish/guestfish.pod:148 ../test-tool/libguestfs-test-tool.pod:37 ../fuse/guestmount.pod:73 ../inspector/virt-inspector.pl:75 ../tools/virt-edit.pl:73 ../tools/virt-win-reg.pl:172 ../tools/virt-df.pl:71 ../tools/virt-ls.pl:79 ../tools/virt-resize.pl:257 ../tools/virt-list-filesystems.pl:50 ../tools/virt-cat.pl:80 ../tools/virt-tar.pl:99 ../tools/virt-rescue.pl:103 ../tools/virt-make-fs.pl:153 ../tools/virt-list-partitions.pl:51
15096 msgid "OPTIONS"
15097 msgstr ""
15098
15099 # type: =item
15100 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:124 ../inspector/virt-inspector.pl:83 ../tools/virt-edit.pl:81 ../tools/virt-win-reg.pl:180 ../tools/virt-df.pl:79 ../tools/virt-ls.pl:87 ../tools/virt-resize.pl:265 ../tools/virt-list-filesystems.pl:58 ../tools/virt-cat.pl:88 ../tools/virt-tar.pl:107 ../tools/virt-rescue.pl:111 ../tools/virt-make-fs.pl:161 ../tools/virt-list-partitions.pl:59
15101 msgid "B<--help>"
15102 msgstr ""
15103
15104 # type: textblock
15105 #: ../fish/guestfish.pod:154
15106 msgid "Displays general help on options."
15107 msgstr ""
15108
15109 # type: =item
15110 #: ../fish/guestfish.pod:156
15111 msgid "B<-h> | B<--cmd-help>"
15112 msgstr ""
15113
15114 # type: textblock
15115 #: ../fish/guestfish.pod:158
15116 msgid "Lists all available guestfish commands."
15117 msgstr ""
15118
15119 # type: =item
15120 #: ../fish/guestfish.pod:160
15121 msgid "B<-h cmd> | B<--cmd-help cmd>"
15122 msgstr ""
15123
15124 # type: textblock
15125 #: ../fish/guestfish.pod:162
15126 msgid "Displays detailed help on a single command C<cmd>."
15127 msgstr ""
15128
15129 # type: =item
15130 #: ../fish/guestfish.pod:164 ../fuse/guestmount.pod:77
15131 msgid "B<-a image> | B<--add image>"
15132 msgstr ""
15133
15134 # type: textblock
15135 #: ../fish/guestfish.pod:166
15136 msgid "Add a block device or virtual machine image to the shell."
15137 msgstr ""
15138
15139 # type: textblock
15140 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:81
15141 msgid ""
15142 "The format of the disk image is auto-detected.  To override this and force a "
15143 "particular format use the I<--format=..> option."
15144 msgstr ""
15145
15146 # type: =item
15147 #: ../fish/guestfish.pod:171 ../fuse/guestmount.pod:84
15148 msgid "B<-c URI> | B<--connect URI>"
15149 msgstr ""
15150
15151 # type: textblock
15152 #: ../fish/guestfish.pod:173 ../fuse/guestmount.pod:86
15153 msgid ""
15154 "When used in conjunction with the I<-d> option, this specifies the libvirt "
15155 "URI to use.  The default is to use the default libvirt connection."
15156 msgstr ""
15157
15158 # type: =item
15159 #: ../fish/guestfish.pod:177 ../fuse/guestmount.pod:90
15160 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
15161 msgstr ""
15162
15163 # type: textblock
15164 #: ../fish/guestfish.pod:179 ../fuse/guestmount.pod:92
15165 msgid ""
15166 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
15167 "used, then any libvirt domain can be used.  However in write mode, only "
15168 "libvirt domains which are shut down can be named here."
15169 msgstr ""
15170
15171 # type: =item
15172 #: ../fish/guestfish.pod:183
15173 msgid "B<-D> | B<--no-dest-paths>"
15174 msgstr ""
15175
15176 # type: textblock
15177 #: ../fish/guestfish.pod:185
15178 msgid ""
15179 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
15180 "to hit the tab key to complete paths on the guest filesystem, but this "
15181 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
15182 "allow this feature to be disabled."
15183 msgstr ""
15184
15185 # type: =item
15186 #: ../fish/guestfish.pod:190
15187 msgid "B<--echo-keys>"
15188 msgstr ""
15189
15190 # type: textblock
15191 #: ../fish/guestfish.pod:192
15192 msgid ""
15193 "When prompting for keys and passphrases, guestfish normally turns echoing "
15194 "off so you cannot see what you are typing.  If you are not worried about "
15195 "Tempest attacks and there is no one else in the room you can specify this "
15196 "flag to see what you are typing."
15197 msgstr ""
15198
15199 # type: =item
15200 #: ../fish/guestfish.pod:197
15201 msgid "B<-f file> | B<--file file>"
15202 msgstr ""
15203
15204 # type: textblock
15205 #: ../fish/guestfish.pod:199
15206 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
15207 msgstr ""
15208
15209 # type: verbatim
15210 #: ../fish/guestfish.pod:202
15211 #, no-wrap
15212 msgid ""
15213 " #!/usr/bin/guestfish -f\n"
15214 "\n"
15215 msgstr ""
15216
15217 # type: =item
15218 #: ../fish/guestfish.pod:204 ../fuse/guestmount.pod:108
15219 msgid "B<--format=raw|qcow2|..> | B<--format>"
15220 msgstr ""
15221
15222 # type: textblock
15223 #: ../fish/guestfish.pod:206 ../fuse/guestmount.pod:110
15224 msgid ""
15225 "The default for the I<-a> option is to auto-detect the format of the disk "
15226 "image.  Using this forces the disk format for I<-a> options which follow on "
15227 "the command line.  Using I<--format> with no argument switches back to "
15228 "auto-detection for subsequent I<-a> options."
15229 msgstr ""
15230
15231 # type: textblock
15232 #: ../fish/guestfish.pod:211 ../fish/guestfish.pod:504
15233 msgid "For example:"
15234 msgstr ""
15235
15236 # type: verbatim
15237 #: ../fish/guestfish.pod:213
15238 #, no-wrap
15239 msgid ""
15240 " guestfish --format=raw -a disk.img\n"
15241 "\n"
15242 msgstr ""
15243
15244 # type: textblock
15245 #: ../fish/guestfish.pod:215
15246 msgid "forces raw format (no auto-detection) for C<disk.img>."
15247 msgstr ""
15248
15249 # type: verbatim
15250 #: ../fish/guestfish.pod:217
15251 #, no-wrap
15252 msgid ""
15253 " guestfish --format=raw -a disk.img --format -a another.img\n"
15254 "\n"
15255 msgstr ""
15256
15257 # type: textblock
15258 #: ../fish/guestfish.pod:219
15259 msgid ""
15260 "forces raw format (no auto-detection) for C<disk.img> and reverts to "
15261 "auto-detection for C<another.img>."
15262 msgstr ""
15263
15264 # type: textblock
15265 #: ../fish/guestfish.pod:222
15266 msgid ""
15267 "If you have untrusted raw-format guest disk images, you should use this "
15268 "option to specify the disk format.  This avoids a possible security problem "
15269 "with malicious guests (CVE-2010-3851).  See also L</add-drive-opts>."
15270 msgstr ""
15271
15272 # type: =item
15273 #: ../fish/guestfish.pod:227 ../fuse/guestmount.pod:128
15274 msgid "B<-i> | B<--inspector>"
15275 msgstr ""
15276
15277 # type: textblock
15278 #: ../fish/guestfish.pod:229 ../fuse/guestmount.pod:130
15279 msgid ""
15280 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
15281 "system and mount filesystems as they would be mounted on the real virtual "
15282 "machine."
15283 msgstr ""
15284
15285 # type: textblock
15286 #: ../fish/guestfish.pod:233
15287 msgid "Typical usage is either:"
15288 msgstr ""
15289
15290 # type: verbatim
15291 #: ../fish/guestfish.pod:235
15292 #, no-wrap
15293 msgid ""
15294 " guestfish -d myguest -i\n"
15295 "\n"
15296 msgstr ""
15297
15298 # type: textblock
15299 #: ../fish/guestfish.pod:237
15300 msgid "(for an inactive libvirt domain called I<myguest>), or:"
15301 msgstr ""
15302
15303 # type: verbatim
15304 #: ../fish/guestfish.pod:239
15305 #, no-wrap
15306 msgid ""
15307 " guestfish --ro -d myguest -i\n"
15308 "\n"
15309 msgstr ""
15310
15311 # type: textblock
15312 #: ../fish/guestfish.pod:241
15313 msgid "(for active domains, readonly), or specify the block device directly:"
15314 msgstr ""
15315
15316 # type: verbatim
15317 #: ../fish/guestfish.pod:243
15318 #, no-wrap
15319 msgid ""
15320 " guestfish -a /dev/Guests/MyGuest -i\n"
15321 "\n"
15322 msgstr ""
15323
15324 # type: textblock
15325 #: ../fish/guestfish.pod:245
15326 msgid ""
15327 "Note that the command line syntax changed slightly over older versions of "
15328 "guestfish.  You can still use the old syntax:"
15329 msgstr ""
15330
15331 # type: verbatim
15332 #: ../fish/guestfish.pod:248
15333 #, no-wrap
15334 msgid ""
15335 " guestfish [--ro] -i disk.img\n"
15336 "\n"
15337 msgstr ""
15338
15339 # type: verbatim
15340 #: ../fish/guestfish.pod:250
15341 #, no-wrap
15342 msgid ""
15343 " guestfish [--ro] -i libvirt-domain\n"
15344 "\n"
15345 msgstr ""
15346
15347 # type: =item
15348 #: ../fish/guestfish.pod:252
15349 msgid "B<--keys-from-stdin>"
15350 msgstr ""
15351
15352 # type: textblock
15353 #: ../fish/guestfish.pod:254
15354 msgid ""
15355 "Read key or passphrase parameters from stdin.  The default is to try to read "
15356 "passphrases from the user by opening C</dev/tty>."
15357 msgstr ""
15358
15359 # type: =item
15360 #: ../fish/guestfish.pod:257
15361 msgid "B<--listen>"
15362 msgstr ""
15363
15364 # type: textblock
15365 #: ../fish/guestfish.pod:259
15366 msgid ""
15367 "Fork into the background and listen for remote commands.  See section "
15368 "L</REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
15369 msgstr ""
15370
15371 # type: =item
15372 #: ../fish/guestfish.pod:262
15373 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
15374 msgstr ""
15375
15376 # type: textblock
15377 #: ../fish/guestfish.pod:264
15378 msgid "Mount the named partition or logical volume on the given mountpoint."
15379 msgstr ""
15380
15381 # type: textblock
15382 #: ../fish/guestfish.pod:266
15383 msgid "If the mountpoint is omitted, it defaults to C</>."
15384 msgstr ""
15385
15386 # type: textblock
15387 #: ../fish/guestfish.pod:268
15388 msgid "You have to mount something on C</> before most commands will work."
15389 msgstr ""
15390
15391 # type: textblock
15392 #: ../fish/guestfish.pod:270
15393 msgid ""
15394 "If any I<-m> or I<--mount> options are given, the guest is automatically "
15395 "launched."
15396 msgstr ""
15397
15398 # type: textblock
15399 #: ../fish/guestfish.pod:273
15400 msgid ""
15401 "If you don't know what filesystems a disk image contains, you can either run "
15402 "guestfish without this option, then list the partitions and LVs available "
15403 "(see L</list-partitions> and L</lvs> commands), or you can use the "
15404 "L<virt-list-filesystems(1)> program."
15405 msgstr ""
15406
15407 # type: =item
15408 #: ../fish/guestfish.pod:278 ../fuse/guestmount.pod:142
15409 msgid "B<-n> | B<--no-sync>"
15410 msgstr ""
15411
15412 # type: textblock
15413 #: ../fish/guestfish.pod:280
15414 msgid ""
15415 "Disable autosync.  This is enabled by default.  See the discussion of "
15416 "autosync in the L<guestfs(3)> manpage."
15417 msgstr ""
15418
15419 # type: =item
15420 #: ../fish/guestfish.pod:283
15421 msgid "B<-N type> | B<--new type> | B<-N help>"
15422 msgstr ""
15423
15424 # type: textblock
15425 #: ../fish/guestfish.pod:285
15426 msgid ""
15427 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
15428 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
15429 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
15430 "IMAGES> below."
15431 msgstr ""
15432
15433 # type: =item
15434 #: ../fish/guestfish.pod:290
15435 msgid "B<--progress-bars>"
15436 msgstr ""
15437
15438 # type: textblock
15439 #: ../fish/guestfish.pod:292
15440 msgid "Enable progress bars, even when guestfish is used non-interactively."
15441 msgstr ""
15442
15443 # type: textblock
15444 #: ../fish/guestfish.pod:294
15445 msgid ""
15446 "Progress bars are enabled by default when guestfish is used as an "
15447 "interactive shell."
15448 msgstr ""
15449
15450 # type: =item
15451 #: ../fish/guestfish.pod:297
15452 msgid "B<--no-progress-bars>"
15453 msgstr ""
15454
15455 # type: textblock
15456 #: ../fish/guestfish.pod:299
15457 msgid "Disable progress bars."
15458 msgstr ""
15459
15460 # type: =item
15461 #: ../fish/guestfish.pod:301
15462 msgid "B<--remote[=pid]>"
15463 msgstr ""
15464
15465 # type: textblock
15466 #: ../fish/guestfish.pod:303
15467 msgid ""
15468 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
15469 "CONTROL GUESTFISH OVER A SOCKET> below."
15470 msgstr ""
15471
15472 # type: =item
15473 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:184
15474 msgid "B<-r> | B<--ro>"
15475 msgstr ""
15476
15477 # type: textblock
15478 #: ../fish/guestfish.pod:308
15479 msgid ""
15480 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
15481 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
15482 msgstr ""
15483
15484 # type: textblock
15485 #: ../fish/guestfish.pod:311 ../tools/virt-rescue.pl:187
15486 msgid ""
15487 "The option must always be used if the disk image or virtual machine might be "
15488 "running, and is generally recommended in cases where you don't need write "
15489 "access to the disk."
15490 msgstr ""
15491
15492 # type: textblock
15493 #: ../fish/guestfish.pod:315
15494 msgid ""
15495 "Note that prepared disk images created with I<-N> are not affected by the "
15496 "I<--ro> option."
15497 msgstr ""
15498
15499 # type: =item
15500 #: ../fish/guestfish.pod:318 ../fuse/guestmount.pod:194 ../tools/virt-rescue.pl:195
15501 msgid "B<--selinux>"
15502 msgstr ""
15503
15504 # type: textblock
15505 #: ../fish/guestfish.pod:320
15506 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
15507 msgstr ""
15508
15509 # type: =item
15510 #: ../fish/guestfish.pod:322 ../fuse/guestmount.pod:198
15511 msgid "B<-v> | B<--verbose>"
15512 msgstr ""
15513
15514 # type: textblock
15515 #: ../fish/guestfish.pod:324
15516 msgid ""
15517 "Enable very verbose messages.  This is particularly useful if you find a "
15518 "bug."
15519 msgstr ""
15520
15521 # type: =item
15522 #: ../fish/guestfish.pod:327 ../fuse/guestmount.pod:202
15523 msgid "B<-V> | B<--version>"
15524 msgstr ""
15525
15526 # type: textblock
15527 #: ../fish/guestfish.pod:329
15528 msgid "Display the guestfish / libguestfs version number and exit."
15529 msgstr ""
15530
15531 # type: =item
15532 #: ../fish/guestfish.pod:331
15533 msgid "B<-x>"
15534 msgstr ""
15535
15536 # type: textblock
15537 #: ../fish/guestfish.pod:333
15538 msgid "Echo each command before executing it."
15539 msgstr ""
15540
15541 # type: =head1
15542 #: ../fish/guestfish.pod:337
15543 msgid "COMMANDS ON COMMAND LINE"
15544 msgstr ""
15545
15546 # type: textblock
15547 #: ../fish/guestfish.pod:339
15548 msgid "Any additional (non-option) arguments are treated as commands to execute."
15549 msgstr ""
15550
15551 # type: textblock
15552 #: ../fish/guestfish.pod:342
15553 msgid ""
15554 "Commands to execute should be separated by a colon (C<:>), where the colon "
15555 "is a separate parameter.  Thus:"
15556 msgstr ""
15557
15558 # type: verbatim
15559 #: ../fish/guestfish.pod:345
15560 #, no-wrap
15561 msgid ""
15562 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
15563 "\n"
15564 msgstr ""
15565
15566 # type: textblock
15567 #: ../fish/guestfish.pod:347
15568 msgid ""
15569 "If there are no additional arguments, then we enter a shell, either an "
15570 "interactive shell with a prompt (if the input is a terminal) or a "
15571 "non-interactive shell."
15572 msgstr ""
15573
15574 # type: textblock
15575 #: ../fish/guestfish.pod:351
15576 msgid ""
15577 "In either command line mode or non-interactive shell, the first command that "
15578 "gives an error causes the whole shell to exit.  In interactive mode (with a "
15579 "prompt) if a command fails, you can continue to enter commands."
15580 msgstr ""
15581
15582 # type: =head1
15583 #: ../fish/guestfish.pod:356
15584 msgid "USING launch (OR run)"
15585 msgstr ""
15586
15587 # type: textblock
15588 #: ../fish/guestfish.pod:358
15589 msgid ""
15590 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
15591 "then launch it, then mount any disks you need, and finally issue "
15592 "actions/commands.  So the general order of the day is:"
15593 msgstr ""
15594
15595 # type: textblock
15596 #: ../fish/guestfish.pod:366
15597 msgid "add or -a/--add"
15598 msgstr ""
15599
15600 # type: textblock
15601 #: ../fish/guestfish.pod:370
15602 msgid "launch (aka run)"
15603 msgstr ""
15604
15605 # type: textblock
15606 #: ../fish/guestfish.pod:374
15607 msgid "mount or -m/--mount"
15608 msgstr ""
15609
15610 # type: textblock
15611 #: ../fish/guestfish.pod:378
15612 msgid "any other commands"
15613 msgstr ""
15614
15615 # type: textblock
15616 #: ../fish/guestfish.pod:382
15617 msgid ""
15618 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
15619 "guest before mounting or performing any other commands."
15620 msgstr ""
15621
15622 # type: textblock
15623 #: ../fish/guestfish.pod:385
15624 msgid ""
15625 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
15626 "I<--new> options were given then C<run> is done automatically, simply "
15627 "because guestfish can't perform the action you asked for without doing this."
15628 msgstr ""
15629
15630 # type: =head1
15631 #: ../fish/guestfish.pod:390
15632 msgid "QUOTING"
15633 msgstr ""
15634
15635 # type: textblock
15636 #: ../fish/guestfish.pod:392
15637 msgid ""
15638 "You can quote ordinary parameters using either single or double quotes.  For "
15639 "example:"
15640 msgstr ""
15641
15642 # type: verbatim
15643 #: ../fish/guestfish.pod:395
15644 #, no-wrap
15645 msgid ""
15646 " add \"file with a space.img\"\n"
15647 "\n"
15648 msgstr ""
15649
15650 # type: verbatim
15651 #: ../fish/guestfish.pod:397
15652 #, no-wrap
15653 msgid ""
15654 " rm '/file name'\n"
15655 "\n"
15656 msgstr ""
15657
15658 # type: verbatim
15659 #: ../fish/guestfish.pod:399
15660 #, no-wrap
15661 msgid ""
15662 " rm '/\"'\n"
15663 "\n"
15664 msgstr ""
15665
15666 # type: textblock
15667 #: ../fish/guestfish.pod:401
15668 msgid ""
15669 "A few commands require a list of strings to be passed.  For these, use a "
15670 "whitespace-separated list, enclosed in quotes.  Strings containing "
15671 "whitespace to be passed through must be enclosed in single quotes.  A "
15672 "literal single quote must be escaped with a backslash."
15673 msgstr ""
15674
15675 # type: verbatim
15676 #: ../fish/guestfish.pod:406
15677 #, no-wrap
15678 msgid ""
15679 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
15680 " command \"/bin/echo 'foo      bar'\"\n"
15681 " command \"/bin/echo \\'foo\\'\"\n"
15682 "\n"
15683 msgstr ""
15684
15685 # type: =head1
15686 #: ../fish/guestfish.pod:410
15687 msgid "OPTIONAL ARGUMENTS"
15688 msgstr ""
15689
15690 # type: textblock
15691 #: ../fish/guestfish.pod:412
15692 msgid ""
15693 "Some commands take optional arguments.  These arguments appear in this "
15694 "documentation as C<[argname:..]>.  You can use them as in these examples:"
15695 msgstr ""
15696
15697 # type: verbatim
15698 #: ../fish/guestfish.pod:416
15699 #, no-wrap
15700 msgid ""
15701 " add-drive-opts filename\n"
15702 "\n"
15703 msgstr ""
15704
15705 # type: verbatim
15706 #: ../fish/guestfish.pod:418
15707 #, no-wrap
15708 msgid ""
15709 " add-drive-opts filename readonly:true\n"
15710 "\n"
15711 msgstr ""
15712
15713 # type: verbatim
15714 #: ../fish/guestfish.pod:420
15715 #, no-wrap
15716 msgid ""
15717 " add-drive-opts filename format:qcow2 readonly:false\n"
15718 "\n"
15719 msgstr ""
15720
15721 # type: textblock
15722 #: ../fish/guestfish.pod:422
15723 msgid ""
15724 "Each optional argument can appear at most once.  All optional arguments must "
15725 "appear after the required ones."
15726 msgstr ""
15727
15728 # type: =head1
15729 #: ../fish/guestfish.pod:425
15730 msgid "NUMBERS"
15731 msgstr ""
15732
15733 # type: textblock
15734 #: ../fish/guestfish.pod:427
15735 msgid "This section applies to all commands which can take integers as parameters."
15736 msgstr ""
15737
15738 # type: =head2
15739 #: ../fish/guestfish.pod:430
15740 msgid "SIZE SUFFIX"
15741 msgstr ""
15742
15743 # type: textblock
15744 #: ../fish/guestfish.pod:432
15745 msgid ""
15746 "When the command takes a parameter measured in bytes, you can use one of the "
15747 "following suffixes to specify kilobytes, megabytes and larger sizes:"
15748 msgstr ""
15749
15750 # type: =item
15751 #: ../fish/guestfish.pod:438
15752 msgid "B<k> or B<K> or B<KiB>"
15753 msgstr ""
15754
15755 # type: textblock
15756 #: ../fish/guestfish.pod:440
15757 msgid "The size in kilobytes (multiplied by 1024)."
15758 msgstr ""
15759
15760 # type: =item
15761 #: ../fish/guestfish.pod:442
15762 msgid "B<KB>"
15763 msgstr ""
15764
15765 # type: textblock
15766 #: ../fish/guestfish.pod:444
15767 msgid "The size in SI 1000 byte units."
15768 msgstr ""
15769
15770 # type: =item
15771 #: ../fish/guestfish.pod:446
15772 msgid "B<M> or B<MiB>"
15773 msgstr ""
15774
15775 # type: textblock
15776 #: ../fish/guestfish.pod:448
15777 msgid "The size in megabytes (multiplied by 1048576)."
15778 msgstr ""
15779
15780 # type: =item
15781 #: ../fish/guestfish.pod:450
15782 msgid "B<MB>"
15783 msgstr ""
15784
15785 # type: textblock
15786 #: ../fish/guestfish.pod:452
15787 msgid "The size in SI 1000000 byte units."
15788 msgstr ""
15789
15790 # type: =item
15791 #: ../fish/guestfish.pod:454
15792 msgid "B<G> or B<GiB>"
15793 msgstr ""
15794
15795 # type: textblock
15796 #: ../fish/guestfish.pod:456
15797 msgid "The size in gigabytes (multiplied by 2**30)."
15798 msgstr ""
15799
15800 # type: =item
15801 #: ../fish/guestfish.pod:458
15802 msgid "B<GB>"
15803 msgstr ""
15804
15805 # type: textblock
15806 #: ../fish/guestfish.pod:460
15807 msgid "The size in SI 10**9 byte units."
15808 msgstr ""
15809
15810 # type: =item
15811 #: ../fish/guestfish.pod:462
15812 msgid "B<T> or B<TiB>"
15813 msgstr ""
15814
15815 # type: textblock
15816 #: ../fish/guestfish.pod:464
15817 msgid "The size in terabytes (multiplied by 2**40)."
15818 msgstr ""
15819
15820 # type: =item
15821 #: ../fish/guestfish.pod:466
15822 msgid "B<TB>"
15823 msgstr ""
15824
15825 # type: textblock
15826 #: ../fish/guestfish.pod:468
15827 msgid "The size in SI 10**12 byte units."
15828 msgstr ""
15829
15830 # type: =item
15831 #: ../fish/guestfish.pod:470
15832 msgid "B<P> or B<PiB>"
15833 msgstr ""
15834
15835 # type: textblock
15836 #: ../fish/guestfish.pod:472
15837 msgid "The size in petabytes (multiplied by 2**50)."
15838 msgstr ""
15839
15840 # type: =item
15841 #: ../fish/guestfish.pod:474
15842 msgid "B<PB>"
15843 msgstr ""
15844
15845 # type: textblock
15846 #: ../fish/guestfish.pod:476
15847 msgid "The size in SI 10**15 byte units."
15848 msgstr ""
15849
15850 # type: =item
15851 #: ../fish/guestfish.pod:478
15852 msgid "B<E> or B<EiB>"
15853 msgstr ""
15854
15855 # type: textblock
15856 #: ../fish/guestfish.pod:480
15857 msgid "The size in exabytes (multiplied by 2**60)."
15858 msgstr ""
15859
15860 # type: =item
15861 #: ../fish/guestfish.pod:482
15862 msgid "B<EB>"
15863 msgstr ""
15864
15865 # type: textblock
15866 #: ../fish/guestfish.pod:484
15867 msgid "The size in SI 10**18 byte units."
15868 msgstr ""
15869
15870 # type: =item
15871 #: ../fish/guestfish.pod:486
15872 msgid "B<Z> or B<ZiB>"
15873 msgstr ""
15874
15875 # type: textblock
15876 #: ../fish/guestfish.pod:488
15877 msgid "The size in zettabytes (multiplied by 2**70)."
15878 msgstr ""
15879
15880 # type: =item
15881 #: ../fish/guestfish.pod:490
15882 msgid "B<ZB>"
15883 msgstr ""
15884
15885 # type: textblock
15886 #: ../fish/guestfish.pod:492
15887 msgid "The size in SI 10**21 byte units."
15888 msgstr ""
15889
15890 # type: =item
15891 #: ../fish/guestfish.pod:494
15892 msgid "B<Y> or B<YiB>"
15893 msgstr ""
15894
15895 # type: textblock
15896 #: ../fish/guestfish.pod:496
15897 msgid "The size in yottabytes (multiplied by 2**80)."
15898 msgstr ""
15899
15900 # type: =item
15901 #: ../fish/guestfish.pod:498
15902 msgid "B<YB>"
15903 msgstr ""
15904
15905 # type: textblock
15906 #: ../fish/guestfish.pod:500
15907 msgid "The size in SI 10**24 byte units."
15908 msgstr ""
15909
15910 # type: verbatim
15911 #: ../fish/guestfish.pod:506
15912 #, no-wrap
15913 msgid ""
15914 " truncate-size /file 1G\n"
15915 "\n"
15916 msgstr ""
15917
15918 # type: textblock
15919 #: ../fish/guestfish.pod:508
15920 msgid "would truncate the file to 1 gigabyte."
15921 msgstr ""
15922
15923 # type: textblock
15924 #: ../fish/guestfish.pod:510
15925 msgid ""
15926 "Be careful because a few commands take sizes in kilobytes or megabytes "
15927 "(eg. the parameter to L</memsize> is specified in megabytes already).  "
15928 "Adding a suffix will probably not do what you expect."
15929 msgstr ""
15930
15931 # type: =head2
15932 #: ../fish/guestfish.pod:514
15933 msgid "OCTAL AND HEXADECIMAL NUMBERS"
15934 msgstr ""
15935
15936 # type: textblock
15937 #: ../fish/guestfish.pod:516
15938 msgid ""
15939 "For specifying the radix (base) use the C convention: C<0> to prefix an "
15940 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
15941 msgstr ""
15942
15943 # type: verbatim
15944 #: ../fish/guestfish.pod:519
15945 #, no-wrap
15946 msgid ""
15947 " 1234      decimal number 1234\n"
15948 " 02322     octal number, equivalent to decimal 1234\n"
15949 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
15950 "\n"
15951 msgstr ""
15952
15953 # type: textblock
15954 #: ../fish/guestfish.pod:523
15955 msgid ""
15956 "When using the C<chmod> command, you almost always want to specify an octal "
15957 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
15958 "L<chmod(1)> program):"
15959 msgstr ""
15960
15961 # type: verbatim
15962 #: ../fish/guestfish.pod:527
15963 #, no-wrap
15964 msgid ""
15965 " chmod 0777 /public  # OK\n"
15966 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
15967 "\n"
15968 msgstr ""
15969
15970 # type: textblock
15971 #: ../fish/guestfish.pod:530
15972 msgid ""
15973 "Commands that return numbers usually print them in decimal, but some "
15974 "commands print numbers in other radices (eg. C<umask> prints the mode in "
15975 "octal, preceeded by C<0>)."
15976 msgstr ""
15977
15978 # type: =head1
15979 #: ../fish/guestfish.pod:534
15980 msgid "WILDCARDS AND GLOBBING"
15981 msgstr ""
15982
15983 # type: textblock
15984 #: ../fish/guestfish.pod:536
15985 msgid ""
15986 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
15987 "(globbing) by default.  So for example the following will not do what you "
15988 "expect:"
15989 msgstr ""
15990
15991 # type: verbatim
15992 #: ../fish/guestfish.pod:540
15993 #, no-wrap
15994 msgid ""
15995 " rm-rf /home/*\n"
15996 "\n"
15997 msgstr ""
15998
15999 # type: textblock
16000 #: ../fish/guestfish.pod:542
16001 msgid ""
16002 "Assuming you don't have a directory called literally C</home/*> then the "
16003 "above command will return an error."
16004 msgstr ""
16005
16006 # type: textblock
16007 #: ../fish/guestfish.pod:545
16008 msgid "To perform wildcard expansion, use the C<glob> command."
16009 msgstr ""
16010
16011 # type: verbatim
16012 #: ../fish/guestfish.pod:547
16013 #, no-wrap
16014 msgid ""
16015 " glob rm-rf /home/*\n"
16016 "\n"
16017 msgstr ""
16018
16019 # type: textblock
16020 #: ../fish/guestfish.pod:549
16021 msgid ""
16022 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
16023 "many times), equivalent to:"
16024 msgstr ""
16025
16026 # type: verbatim
16027 #: ../fish/guestfish.pod:552
16028 #, no-wrap
16029 msgid ""
16030 " rm-rf /home/jim\n"
16031 " rm-rf /home/joe\n"
16032 " rm-rf /home/mary\n"
16033 "\n"
16034 msgstr ""
16035
16036 # type: textblock
16037 #: ../fish/guestfish.pod:556
16038 msgid "C<glob> only works on simple guest paths and not on device names."
16039 msgstr ""
16040
16041 # type: textblock
16042 #: ../fish/guestfish.pod:558
16043 msgid ""
16044 "If you have several parameters, each containing a wildcard, then glob will "
16045 "perform a Cartesian product."
16046 msgstr ""
16047
16048 # type: =head1
16049 #: ../fish/guestfish.pod:561
16050 msgid "COMMENTS"
16051 msgstr ""
16052
16053 # type: textblock
16054 #: ../fish/guestfish.pod:563
16055 msgid ""
16056 "Any line which starts with a I<#> character is treated as a comment and "
16057 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
16058 "a command.  For example:"
16059 msgstr ""
16060
16061 # type: verbatim
16062 #: ../fish/guestfish.pod:567
16063 #, no-wrap
16064 msgid ""
16065 " # this is a comment\n"
16066 "         # this is a comment\n"
16067 " foo # NOT a comment\n"
16068 "\n"
16069 msgstr ""
16070
16071 # type: textblock
16072 #: ../fish/guestfish.pod:571
16073 msgid "Blank lines are also ignored."
16074 msgstr ""
16075
16076 # type: =head1
16077 #: ../fish/guestfish.pod:573
16078 msgid "RUNNING COMMANDS LOCALLY"
16079 msgstr ""
16080
16081 # type: textblock
16082 #: ../fish/guestfish.pod:575
16083 msgid ""
16084 "Any line which starts with a I<!> character is treated as a command sent to "
16085 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
16086 msgstr ""
16087
16088 # type: verbatim
16089 #: ../fish/guestfish.pod:579
16090 #, no-wrap
16091 msgid ""
16092 " !mkdir local\n"
16093 " tgz-out /remote local/remote-data.tar.gz\n"
16094 "\n"
16095 msgstr ""
16096
16097 # type: textblock
16098 #: ../fish/guestfish.pod:582
16099 msgid ""
16100 "will create a directory C<local> on the host, and then export the contents "
16101 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
16102 "(See C<tgz-out>)."
16103 msgstr ""
16104
16105 # type: textblock
16106 #: ../fish/guestfish.pod:586
16107 msgid ""
16108 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
16109 "effect, due to the way that subprocesses work in Unix."
16110 msgstr ""
16111
16112 # type: =head1
16113 #: ../fish/guestfish.pod:589
16114 msgid "PIPES"
16115 msgstr ""
16116
16117 # type: textblock
16118 #: ../fish/guestfish.pod:591
16119 msgid ""
16120 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
16121 "command (a guestfish command) to the second command (any host command).  For "
16122 "example:"
16123 msgstr ""
16124
16125 # type: verbatim
16126 #: ../fish/guestfish.pod:595
16127 #, no-wrap
16128 msgid ""
16129 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
16130 "\n"
16131 msgstr ""
16132
16133 # type: textblock
16134 #: ../fish/guestfish.pod:597
16135 msgid ""
16136 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
16137 "program).  The above command would list all accounts in the guest filesystem "
16138 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
16139 msgstr ""
16140
16141 # type: verbatim
16142 #: ../fish/guestfish.pod:602
16143 #, no-wrap
16144 msgid ""
16145 " hexdump /bin/ls | head\n"
16146 " list-devices | tail -1\n"
16147 " tgz-out / - | tar ztf -\n"
16148 "\n"
16149 msgstr ""
16150
16151 # type: textblock
16152 #: ../fish/guestfish.pod:606
16153 msgid ""
16154 "The space before the pipe symbol is required, any space after the pipe "
16155 "symbol is optional.  Everything after the pipe symbol is just passed "
16156 "straight to the host shell, so it can contain redirections, globs and "
16157 "anything else that makes sense on the host side."
16158 msgstr ""
16159
16160 # type: textblock
16161 #: ../fish/guestfish.pod:611
16162 msgid ""
16163 "To use a literal argument which begins with a pipe symbol, you have to quote "
16164 "it, eg:"
16165 msgstr ""
16166
16167 # type: verbatim
16168 #: ../fish/guestfish.pod:614
16169 #, no-wrap
16170 msgid ""
16171 " echo \"|\"\n"
16172 "\n"
16173 msgstr ""
16174
16175 # type: =head1
16176 #: ../fish/guestfish.pod:616
16177 msgid "HOME DIRECTORIES"
16178 msgstr ""
16179
16180 # type: textblock
16181 #: ../fish/guestfish.pod:618
16182 msgid ""
16183 "If a parameter starts with the character C<~> then the tilde may be expanded "
16184 "as a home directory path (either C<~> for the current user's home directory, "
16185 "or C<~user> for another user)."
16186 msgstr ""
16187
16188 # type: textblock
16189 #: ../fish/guestfish.pod:622
16190 msgid ""
16191 "Note that home directory expansion happens for users known I<on the host>, "
16192 "not in the guest filesystem."
16193 msgstr ""
16194
16195 # type: textblock
16196 #: ../fish/guestfish.pod:625
16197 msgid ""
16198 "To use a literal argument which begins with a tilde, you have to quote it, "
16199 "eg:"
16200 msgstr ""
16201
16202 # type: verbatim
16203 #: ../fish/guestfish.pod:628
16204 #, no-wrap
16205 msgid ""
16206 " echo \"~\"\n"
16207 "\n"
16208 msgstr ""
16209
16210 # type: textblock
16211 #: ../fish/guestfish.pod:632
16212 msgid ""
16213 "Libguestfs has some support for Linux guests encrypted according to the "
16214 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
16215 "disk encryption systems used by modern Linux guests.  Currently only "
16216 "LVM-on-LUKS is supported."
16217 msgstr ""
16218
16219 # type: textblock
16220 #: ../fish/guestfish.pod:637
16221 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
16222 msgstr ""
16223
16224 # type: verbatim
16225 #: ../fish/guestfish.pod:639
16226 #, no-wrap
16227 msgid ""
16228 " ><fs> vfs-type /dev/sda2\n"
16229 " crypto_LUKS\n"
16230 "\n"
16231 msgstr ""
16232
16233 # type: textblock
16234 #: ../fish/guestfish.pod:642
16235 msgid ""
16236 "Then open those devices using L</luks-open>.  This creates a device-mapper "
16237 "device called C</dev/mapper/luksdev>."
16238 msgstr ""
16239
16240 # type: verbatim
16241 #: ../fish/guestfish.pod:645
16242 #, no-wrap
16243 msgid ""
16244 " ><fs> luks-open /dev/sda2 luksdev\n"
16245 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
16246 "\n"
16247 msgstr ""
16248
16249 # type: textblock
16250 #: ../fish/guestfish.pod:648
16251 msgid ""
16252 "Finally you have to tell LVM to scan for volume groups on the newly created "
16253 "mapper device:"
16254 msgstr ""
16255
16256 # type: verbatim
16257 #: ../fish/guestfish.pod:651
16258 #, no-wrap
16259 msgid ""
16260 " vgscan\n"
16261 " vg-activate-all true\n"
16262 "\n"
16263 msgstr ""
16264
16265 # type: textblock
16266 #: ../fish/guestfish.pod:654
16267 msgid "The logical volume(s) can now be mounted in the usual way."
16268 msgstr ""
16269
16270 # type: textblock
16271 #: ../fish/guestfish.pod:656
16272 msgid ""
16273 "Before closing a LUKS device you must unmount any logical volumes on it and "
16274 "deactivate the volume groups by calling C<vg-activate false VG> on each "
16275 "one.  Then you can close the mapper device:"
16276 msgstr ""
16277
16278 # type: verbatim
16279 #: ../fish/guestfish.pod:660
16280 #, no-wrap
16281 msgid ""
16282 " vg-activate false /dev/VG\n"
16283 " luks-close /dev/mapper/luksdev\n"
16284 "\n"
16285 msgstr ""
16286
16287 # type: =head1
16288 #: ../fish/guestfish.pod:663
16289 msgid "WINDOWS PATHS"
16290 msgstr ""
16291
16292 # type: textblock
16293 #: ../fish/guestfish.pod:665
16294 msgid ""
16295 "If a path is prefixed with C<win:> then you can use Windows-style paths "
16296 "(with some limitations).  The following commands are equivalent:"
16297 msgstr ""
16298
16299 # type: verbatim
16300 #: ../fish/guestfish.pod:668
16301 #, no-wrap
16302 msgid ""
16303 " file /WINDOWS/system32/config/system.LOG\n"
16304 "\n"
16305 msgstr ""
16306
16307 # type: verbatim
16308 #: ../fish/guestfish.pod:670
16309 #, no-wrap
16310 msgid ""
16311 " file win:/windows/system32/config/system.log\n"
16312 "\n"
16313 msgstr ""
16314
16315 # type: verbatim
16316 #: ../fish/guestfish.pod:672
16317 #, no-wrap
16318 msgid ""
16319 " file win:\\windows\\system32\\config\\system.log\n"
16320 "\n"
16321 msgstr ""
16322
16323 # type: verbatim
16324 #: ../fish/guestfish.pod:674
16325 #, no-wrap
16326 msgid ""
16327 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
16328 "\n"
16329 msgstr ""
16330
16331 # type: textblock
16332 #: ../fish/guestfish.pod:676
16333 msgid ""
16334 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
16335 "handles case insensitivity like Windows would.  This only works in argument "
16336 "positions that expect a path."
16337 msgstr ""
16338
16339 # type: =head1
16340 #: ../fish/guestfish.pod:680
16341 msgid "UPLOADING AND DOWNLOADING FILES"
16342 msgstr ""
16343
16344 # type: textblock
16345 #: ../fish/guestfish.pod:682
16346 msgid ""
16347 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
16348 "others which upload from or download to a local file, you can use the "
16349 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
16350 msgstr ""
16351
16352 # type: verbatim
16353 #: ../fish/guestfish.pod:686
16354 #, no-wrap
16355 msgid ""
16356 " upload - /foo\n"
16357 "\n"
16358 msgstr ""
16359
16360 # type: textblock
16361 #: ../fish/guestfish.pod:688
16362 msgid "reads stdin and creates from that a file C</foo> in the disk image, and:"
16363 msgstr ""
16364
16365 # type: verbatim
16366 #: ../fish/guestfish.pod:691
16367 #, no-wrap
16368 msgid ""
16369 " tar-out /etc - | tar tf -\n"
16370 "\n"
16371 msgstr ""
16372
16373 # type: textblock
16374 #: ../fish/guestfish.pod:693
16375 msgid ""
16376 "writes the tarball to stdout and then pipes that into the external \"tar\" "
16377 "command (see L</PIPES>)."
16378 msgstr ""
16379
16380 # type: textblock
16381 #: ../fish/guestfish.pod:696
16382 msgid ""
16383 "When using C<-> to read from stdin, the input is read up to the end of "
16384 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
16385 "some arbitrary end marker:"
16386 msgstr ""
16387
16388 # type: verbatim
16389 #: ../fish/guestfish.pod:700
16390 #, no-wrap
16391 msgid ""
16392 " upload -<<END /foo\n"
16393 " input line 1\n"
16394 " input line 2\n"
16395 " input line 3\n"
16396 " END\n"
16397 "\n"
16398 msgstr ""
16399
16400 # type: textblock
16401 #: ../fish/guestfish.pod:706
16402 msgid ""
16403 "Any string of characters can be used instead of C<END>.  The end marker must "
16404 "appear on a line of its own, without any preceeding or following characters "
16405 "(not even spaces)."
16406 msgstr ""
16407
16408 # type: textblock
16409 #: ../fish/guestfish.pod:710
16410 msgid ""
16411 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
16412 "upload local files (so-called \"FileIn\" parameters in the generator)."
16413 msgstr ""
16414
16415 # type: =head1
16416 #: ../fish/guestfish.pod:713
16417 msgid "EXIT ON ERROR BEHAVIOUR"
16418 msgstr ""
16419
16420 # type: textblock
16421 #: ../fish/guestfish.pod:715
16422 msgid ""
16423 "By default, guestfish will ignore any errors when in interactive mode "
16424 "(ie. taking commands from a human over a tty), and will exit on the first "
16425 "error in non-interactive mode (scripts, commands given on the command line)."
16426 msgstr ""
16427
16428 # type: textblock
16429 #: ../fish/guestfish.pod:720
16430 msgid ""
16431 "If you prefix a command with a I<-> character, then that command will not "
16432 "cause guestfish to exit, even if that (one) command returns an error."
16433 msgstr ""
16434
16435 # type: =head1
16436 #: ../fish/guestfish.pod:724
16437 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
16438 msgstr ""
16439
16440 # type: textblock
16441 #: ../fish/guestfish.pod:726
16442 msgid ""
16443 "Guestfish can be remote-controlled over a socket.  This is useful "
16444 "particularly in shell scripts where you want to make several different "
16445 "changes to a filesystem, but you don't want the overhead of starting up a "
16446 "guestfish process each time."
16447 msgstr ""
16448
16449 # type: textblock
16450 #: ../fish/guestfish.pod:731
16451 msgid "Start a guestfish server process using:"
16452 msgstr ""
16453
16454 # type: verbatim
16455 #: ../fish/guestfish.pod:733
16456 #, no-wrap
16457 msgid ""
16458 " eval `guestfish --listen`\n"
16459 "\n"
16460 msgstr ""
16461
16462 # type: textblock
16463 #: ../fish/guestfish.pod:735
16464 msgid "and then send it commands by doing:"
16465 msgstr ""
16466
16467 # type: verbatim
16468 #: ../fish/guestfish.pod:737
16469 #, no-wrap
16470 msgid ""
16471 " guestfish --remote cmd [...]\n"
16472 "\n"
16473 msgstr ""
16474
16475 # type: textblock
16476 #: ../fish/guestfish.pod:739
16477 msgid "To cause the server to exit, send it the exit command:"
16478 msgstr ""
16479
16480 # type: verbatim
16481 #: ../fish/guestfish.pod:741
16482 #, no-wrap
16483 msgid ""
16484 " guestfish --remote exit\n"
16485 "\n"
16486 msgstr ""
16487
16488 # type: textblock
16489 #: ../fish/guestfish.pod:743
16490 msgid ""
16491 "Note that the server will normally exit if there is an error in a command.  "
16492 "You can change this in the usual way.  See section L</EXIT ON ERROR "
16493 "BEHAVIOUR>."
16494 msgstr ""
16495
16496 # type: =head2
16497 #: ../fish/guestfish.pod:747
16498 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
16499 msgstr ""
16500
16501 # type: textblock
16502 #: ../fish/guestfish.pod:749
16503 msgid ""
16504 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
16505 "is how the I<--remote> option knows where to send the commands.  You can "
16506 "have several guestfish listener processes running using:"
16507 msgstr ""
16508
16509 # type: verbatim
16510 #: ../fish/guestfish.pod:753
16511 #, no-wrap
16512 msgid ""
16513 " eval `guestfish --listen`\n"
16514 " pid1=$GUESTFISH_PID\n"
16515 " eval `guestfish --listen`\n"
16516 " pid2=$GUESTFISH_PID\n"
16517 " ...\n"
16518 " guestfish --remote=$pid1 cmd\n"
16519 " guestfish --remote=$pid2 cmd\n"
16520 "\n"
16521 msgstr ""
16522
16523 # type: =head2
16524 #: ../fish/guestfish.pod:761
16525 msgid "REMOTE CONTROL DETAILS"
16526 msgstr ""
16527
16528 # type: textblock
16529 #: ../fish/guestfish.pod:763
16530 msgid ""
16531 "Remote control happens over a Unix domain socket called "
16532 "C</tmp/.guestfish-$UID/socket-$PID>, where C<$UID> is the effective user ID "
16533 "of the process, and C<$PID> is the process ID of the server."
16534 msgstr ""
16535
16536 # type: textblock
16537 #: ../fish/guestfish.pod:767
16538 msgid "Guestfish client and server versions must match exactly."
16539 msgstr ""
16540
16541 # type: =head1
16542 #: ../fish/guestfish.pod:769
16543 msgid "PREPARED DISK IMAGES"
16544 msgstr ""
16545
16546 # type: textblock
16547 #: ../fish/guestfish.pod:771
16548 msgid ""
16549 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
16550 "preformatted disk images that guestfish can make for you to save typing.  "
16551 "This is particularly useful for testing purposes.  This option is used "
16552 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
16553 "can be mixed with I<-a>)."
16554 msgstr ""
16555
16556 # type: textblock
16557 #: ../fish/guestfish.pod:777
16558 msgid ""
16559 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
16560 "the second and so on.  Existing files in the current directory are "
16561 "I<overwritten>."
16562 msgstr ""
16563
16564 # type: textblock
16565 #: ../fish/guestfish.pod:781
16566 msgid ""
16567 "The type briefly describes how the disk should be sized, partitioned, how "
16568 "filesystem(s) should be created, and how content should be added.  "
16569 "Optionally the type can be followed by extra parameters, separated by C<:> "
16570 "(colon) characters.  For example, I<-N fs> creates a default 100MB, "
16571 "sparsely-allocated disk, containing a single partition, with the partition "
16572 "formatted as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem "
16573 "on a 1GB disk instead."
16574 msgstr ""
16575
16576 # type: textblock
16577 #: ../fish/guestfish.pod:789
16578 msgid "To list the available types and any extra parameters they take, run:"
16579 msgstr ""
16580
16581 # type: textblock
16582 #: ../fish/guestfish.pod:793
16583 msgid ""
16584 "Note that the prepared filesystem is not mounted.  You would usually have to "
16585 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
16586 msgstr ""
16587
16588 # type: textblock
16589 #: ../fish/guestfish.pod:797
16590 msgid ""
16591 "If any I<-N> or I<--new> options are given, the guest is automatically "
16592 "launched."
16593 msgstr ""
16594
16595 # type: textblock
16596 #: ../fish/guestfish.pod:802
16597 msgid "Create a 100MB disk with an ext4-formatted partition:"
16598 msgstr ""
16599
16600 # type: verbatim
16601 #: ../fish/guestfish.pod:804
16602 #, no-wrap
16603 msgid ""
16604 " guestfish -N fs:ext4\n"
16605 "\n"
16606 msgstr ""
16607
16608 # type: textblock
16609 #: ../fish/guestfish.pod:806
16610 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
16611 msgstr ""
16612
16613 # type: verbatim
16614 #: ../fish/guestfish.pod:808
16615 #, no-wrap
16616 msgid ""
16617 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
16618 "\n"
16619 msgstr ""
16620
16621 # type: textblock
16622 #: ../fish/guestfish.pod:810
16623 msgid "Create a blank 200MB disk:"
16624 msgstr ""
16625
16626 # type: verbatim
16627 #: ../fish/guestfish.pod:812
16628 #, no-wrap
16629 msgid ""
16630 " guestfish -N disk:200M\n"
16631 "\n"
16632 msgstr ""
16633
16634 # type: =head1
16635 #: ../fish/guestfish.pod:814
16636 msgid "PROGRESS BARS"
16637 msgstr ""
16638
16639 # type: textblock
16640 #: ../fish/guestfish.pod:816
16641 msgid ""
16642 "Some (not all) long-running commands send progress notification messages as "
16643 "they are running.  Guestfish turns these messages into progress bars."
16644 msgstr ""
16645
16646 # type: textblock
16647 #: ../fish/guestfish.pod:820
16648 msgid ""
16649 "When a command that supports progress bars takes longer than two seconds to "
16650 "run, and if progress bars are enabled, then you will see one appearing below "
16651 "the command:"
16652 msgstr ""
16653
16654 # type: verbatim
16655 #: ../fish/guestfish.pod:824
16656 #, no-wrap
16657 msgid ""
16658 " ><fs> copy-size /large-file /another-file 2048M\n"
16659 " / 10% [#####-----------------------------------------] 00:30\n"
16660 "\n"
16661 msgstr ""
16662
16663 # type: textblock
16664 #: ../fish/guestfish.pod:827
16665 msgid ""
16666 "The spinner on the left hand side moves round once for every progress "
16667 "notification received from the backend.  This is a (reasonably) golden "
16668 "assurance that the command is \"doing something\" even if the progress bar "
16669 "is not moving, because the command is able to send the progress "
16670 "notifications.  When the bar reaches 100% and the command finishes, the "
16671 "spinner disappears."
16672 msgstr ""
16673
16674 # type: textblock
16675 #: ../fish/guestfish.pod:834
16676 msgid ""
16677 "Progress bars are enabled by default when guestfish is used interactively.  "
16678 "You can enable them even for non-interactive modes using I<--progress-bars>, "
16679 "and you can disable them completely using I<--no-progress-bars>."
16680 msgstr ""
16681
16682 # type: =head1
16683 #: ../fish/guestfish.pod:839
16684 msgid "GUESTFISH COMMANDS"
16685 msgstr ""
16686
16687 # type: textblock
16688 #: ../fish/guestfish.pod:841
16689 msgid ""
16690 "The commands in this section are guestfish convenience commands, in other "
16691 "words, they are not part of the L<guestfs(3)> API."
16692 msgstr ""
16693
16694 # type: =head2
16695 #: ../fish/guestfish.pod:844
16696 msgid "help"
16697 msgstr ""
16698
16699 # type: verbatim
16700 #: ../fish/guestfish.pod:846
16701 #, no-wrap
16702 msgid ""
16703 " help\n"
16704 " help cmd\n"
16705 "\n"
16706 msgstr ""
16707
16708 # type: textblock
16709 #: ../fish/guestfish.pod:849
16710 msgid ""
16711 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16712 "this displays detailed help for a command."
16713 msgstr ""
16714
16715 # type: =head2
16716 #: ../fish/guestfish.pod:852
16717 msgid "quit | exit"
16718 msgstr ""
16719
16720 # type: textblock
16721 #: ../fish/guestfish.pod:854
16722 msgid "This exits guestfish.  You can also use C<^D> key."
16723 msgstr ""
16724
16725 # type: textblock
16726 #: ../fish/guestfish.pod:856
16727 msgid "@FISH_COMMANDS@"
16728 msgstr ""
16729
16730 # type: =head1
16731 #: ../fish/guestfish.pod:858
16732 msgid "COMMANDS"
16733 msgstr ""
16734
16735 # type: =head1
16736 #: ../fish/guestfish.pod:862 ../test-tool/libguestfs-test-tool.pod:83
16737 msgid "EXIT CODE"
16738 msgstr ""
16739
16740 # type: textblock
16741 #: ../fish/guestfish.pod:864
16742 msgid ""
16743 "guestfish returns 0 if the commands completed without error, or 1 if there "
16744 "was an error."
16745 msgstr ""
16746
16747 # type: =item
16748 #: ../fish/guestfish.pod:871
16749 msgid "EDITOR"
16750 msgstr ""
16751
16752 # type: textblock
16753 #: ../fish/guestfish.pod:873
16754 msgid ""
16755 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16756 "C<vi>."
16757 msgstr ""
16758
16759 # type: =item
16760 #: ../fish/guestfish.pod:876
16761 msgid "GUESTFISH_PID"
16762 msgstr ""
16763
16764 # type: textblock
16765 #: ../fish/guestfish.pod:878
16766 msgid ""
16767 "Used with the I<--remote> option to specify the remote guestfish process to "
16768 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16769 msgstr ""
16770
16771 # type: =item
16772 #: ../fish/guestfish.pod:882
16773 msgid "HEXEDITOR"
16774 msgstr ""
16775
16776 # type: textblock
16777 #: ../fish/guestfish.pod:884
16778 msgid ""
16779 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
16780 "not specified, the external L<hexedit(1)> program is used."
16781 msgstr ""
16782
16783 # type: =item
16784 #: ../fish/guestfish.pod:888
16785 msgid "HOME"
16786 msgstr ""
16787
16788 # type: textblock
16789 #: ../fish/guestfish.pod:890
16790 msgid ""
16791 "If compiled with GNU readline support, various files in the home directory "
16792 "can be used.  See L</FILES>."
16793 msgstr ""
16794
16795 # type: textblock
16796 #: ../fish/guestfish.pod:899
16797 msgid ""
16798 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16799 "effect as using the B<-v> option."
16800 msgstr ""
16801
16802 # type: textblock
16803 #: ../fish/guestfish.pod:911
16804 msgid ""
16805 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16806 "the discussion of paths in L<guestfs(3)>."
16807 msgstr ""
16808
16809 # type: textblock
16810 #: ../fish/guestfish.pod:922
16811 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16812 msgstr ""
16813
16814 # type: =item
16815 #: ../fish/guestfish.pod:924
16816 msgid "PAGER"
16817 msgstr ""
16818
16819 # type: textblock
16820 #: ../fish/guestfish.pod:926
16821 msgid ""
16822 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16823 "C<more>."
16824 msgstr ""
16825
16826 # type: =head1
16827 #: ../fish/guestfish.pod:941 ../test-tool/libguestfs-test-tool.pod:88
16828 msgid "FILES"
16829 msgstr ""
16830
16831 # type: =item
16832 #: ../fish/guestfish.pod:945
16833 msgid "$HOME/.guestfish"
16834 msgstr ""
16835
16836 # type: textblock
16837 #: ../fish/guestfish.pod:947
16838 msgid ""
16839 "If compiled with GNU readline support, then the command history is saved in "
16840 "this file."
16841 msgstr ""
16842
16843 # type: =item
16844 #: ../fish/guestfish.pod:950
16845 msgid "$HOME/.inputrc"
16846 msgstr ""
16847
16848 # type: =item
16849 #: ../fish/guestfish.pod:952
16850 msgid "/etc/inputrc"
16851 msgstr ""
16852
16853 # type: textblock
16854 #: ../fish/guestfish.pod:954
16855 msgid ""
16856 "If compiled with GNU readline support, then these files can be used to "
16857 "configure readline.  For further information, please see "
16858 "L<readline(3)/INITIALIZATION FILE>."
16859 msgstr ""
16860
16861 # type: textblock
16862 #: ../fish/guestfish.pod:958
16863 msgid "To write rules which only apply to guestfish, use:"
16864 msgstr ""
16865
16866 # type: verbatim
16867 #: ../fish/guestfish.pod:960
16868 #, no-wrap
16869 msgid ""
16870 " $if guestfish\n"
16871 " ...\n"
16872 " $endif\n"
16873 "\n"
16874 msgstr ""
16875
16876 # type: textblock
16877 #: ../fish/guestfish.pod:964
16878 msgid ""
16879 "Variables that you can set in inputrc that change the behaviour of guestfish "
16880 "in useful ways include:"
16881 msgstr ""
16882
16883 # type: =item
16884 #: ../fish/guestfish.pod:969
16885 msgid "completion-ignore-case (default: on)"
16886 msgstr ""
16887
16888 # type: textblock
16889 #: ../fish/guestfish.pod:971
16890 msgid ""
16891 "By default, guestfish will ignore case when tab-completing paths on the "
16892 "disk.  Use:"
16893 msgstr ""
16894
16895 # type: verbatim
16896 #: ../fish/guestfish.pod:974
16897 #, no-wrap
16898 msgid ""
16899 " set completion-ignore-case off\n"
16900 "\n"
16901 msgstr ""
16902
16903 # type: textblock
16904 #: ../fish/guestfish.pod:976
16905 msgid "to make guestfish case sensitive."
16906 msgstr ""
16907
16908 # type: =item
16909 #: ../fish/guestfish.pod:980
16910 msgid "test1.img"
16911 msgstr ""
16912
16913 # type: =item
16914 #: ../fish/guestfish.pod:982
16915 msgid "test2.img (etc)"
16916 msgstr ""
16917
16918 # type: textblock
16919 #: ../fish/guestfish.pod:984
16920 msgid ""
16921 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16922 "will be created in the file C<test1.img> in the current directory.  The "
16923 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16924 "the same name will be overwritten."
16925 msgstr ""
16926
16927 # type: textblock
16928 #: ../fish/guestfish.pod:993
16929 msgid ""
16930 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16931 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16932 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16933 "L<virt-tar(1)>, L<virt-win-reg(1)>, L<hexedit(1)>."
16934 msgstr ""
16935
16936 # type: textblock
16937 #: ../fish/guestfish.pod:1017 ../test-tool/libguestfs-test-tool.pod:124 ../fuse/guestmount.pod:234 ../inspector/virt-inspector.pl:903 ../tools/virt-edit.pl:370 ../tools/virt-win-reg.pl:521 ../tools/virt-df.pl:657 ../tools/virt-ls.pl:254 ../tools/virt-resize.pl:1516 ../tools/virt-list-filesystems.pl:236 ../tools/virt-cat.pl:206 ../tools/virt-tar.pl:302 ../tools/virt-rescue.pl:285 ../tools/virt-make-fs.pl:567 ../tools/virt-list-partitions.pl:273
16938 msgid ""
16939 "This program is free software; you can redistribute it and/or modify it "
16940 "under the terms of the GNU General Public License as published by the Free "
16941 "Software Foundation; either version 2 of the License, or (at your option) "
16942 "any later version."
16943 msgstr ""
16944
16945 # type: textblock
16946 #: ../fish/guestfish.pod:1022 ../test-tool/libguestfs-test-tool.pod:129 ../fuse/guestmount.pod:239 ../inspector/virt-inspector.pl:908 ../tools/virt-edit.pl:375 ../tools/virt-win-reg.pl:526 ../tools/virt-df.pl:662 ../tools/virt-ls.pl:259 ../tools/virt-resize.pl:1521 ../tools/virt-list-filesystems.pl:241 ../tools/virt-cat.pl:211 ../tools/virt-tar.pl:307 ../tools/virt-rescue.pl:290 ../tools/virt-make-fs.pl:572 ../tools/virt-list-partitions.pl:278
16947 msgid ""
16948 "This program is distributed in the hope that it will be useful, but WITHOUT "
16949 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16950 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16951 "more details."
16952 msgstr ""
16953
16954 # type: textblock
16955 #: ../fish/guestfish.pod:1027 ../test-tool/libguestfs-test-tool.pod:134 ../fuse/guestmount.pod:244 ../inspector/virt-inspector.pl:913 ../tools/virt-edit.pl:380 ../tools/virt-win-reg.pl:531 ../tools/virt-df.pl:667 ../tools/virt-ls.pl:264 ../tools/virt-resize.pl:1526 ../tools/virt-list-filesystems.pl:246 ../tools/virt-cat.pl:216 ../tools/virt-tar.pl:312 ../tools/virt-rescue.pl:295 ../tools/virt-make-fs.pl:577 ../tools/virt-list-partitions.pl:283
16956 msgid ""
16957 "You should have received a copy of the GNU General Public License along with "
16958 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16959 "Ave, Cambridge, MA 02139, USA."
16960 msgstr ""
16961
16962 # type: =head2
16963 #: ../fish/guestfish-actions.pod:1
16964 msgid "add-cdrom"
16965 msgstr ""
16966
16967 # type: verbatim
16968 #: ../fish/guestfish-actions.pod:3
16969 #, no-wrap
16970 msgid ""
16971 " add-cdrom filename\n"
16972 "\n"
16973 msgstr ""
16974
16975 # type: textblock
16976 #: ../fish/guestfish-actions.pod:15
16977 msgid ""
16978 "This call checks for the existence of C<filename>.  This stops you from "
16979 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16980 "and C<http:> URLs.  To specify those, use the general L</config> call "
16981 "instead."
16982 msgstr ""
16983
16984 # type: textblock
16985 #: ../fish/guestfish-actions.pod:22
16986 msgid ""
16987 "If you just want to add an ISO file (often you use this as an efficient way "
16988 "to transfer large files into the guest), then you should probably use "
16989 "L</add-drive-ro> instead."
16990 msgstr ""
16991
16992 # type: =head2
16993 #: ../fish/guestfish-actions.pod:35
16994 msgid "add-drive"
16995 msgstr ""
16996
16997 # type: verbatim
16998 #: ../fish/guestfish-actions.pod:37
16999 #, no-wrap
17000 msgid ""
17001 " add-drive filename\n"
17002 "\n"
17003 msgstr ""
17004
17005 # type: textblock
17006 #: ../fish/guestfish-actions.pod:39
17007 msgid ""
17008 "This function is the equivalent of calling L</add-drive-opts> with no "
17009 "optional parameters, so the disk is added writable, with the format being "
17010 "detected automatically."
17011 msgstr ""
17012
17013 # type: textblock
17014 #: ../fish/guestfish-actions.pod:43
17015 msgid ""
17016 "Automatic detection of the format opens you up to a potential security hole "
17017 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
17018 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
17019 "you should think about replacing calls to this function with calls to "
17020 "L</add-drive-opts>, and specifying the format."
17021 msgstr ""
17022
17023 # type: =head2
17024 #: ../fish/guestfish-actions.pod:50
17025 msgid "add-drive-opts"
17026 msgstr ""
17027
17028 # type: =head2
17029 #: ../fish/guestfish-actions.pod:52
17030 msgid "add"
17031 msgstr ""
17032
17033 # type: verbatim
17034 #: ../fish/guestfish-actions.pod:54
17035 #, no-wrap
17036 msgid ""
17037 " add-drive-opts filename [readonly:..] [format:..] [iface:..]\n"
17038 "\n"
17039 msgstr ""
17040
17041 # type: textblock
17042 #: ../fish/guestfish-actions.pod:81
17043 msgid ""
17044 "This forces the image format.  If you omit this (or use L</add-drive> or "
17045 "L</add-drive-ro>) then the format is automatically detected.  Possible "
17046 "formats include C<raw> and C<qcow2>."
17047 msgstr ""
17048
17049 # type: textblock
17050 #: ../fish/guestfish-actions.pod:92
17051 msgid ""
17052 "This rarely-used option lets you emulate the behaviour of the deprecated "
17053 "L</add-drive-with-if> call (q.v.)"
17054 msgstr ""
17055
17056 # type: textblock
17057 #: ../fish/guestfish-actions.pod:97
17058 msgid ""
17059 "This command has one or more optional arguments.  See L</OPTIONAL "
17060 "ARGUMENTS>."
17061 msgstr ""
17062
17063 # type: =head2
17064 #: ../fish/guestfish-actions.pod:99
17065 msgid "add-drive-ro"
17066 msgstr ""
17067
17068 # type: =head2
17069 #: ../fish/guestfish-actions.pod:101
17070 msgid "add-ro"
17071 msgstr ""
17072
17073 # type: verbatim
17074 #: ../fish/guestfish-actions.pod:103
17075 #, no-wrap
17076 msgid ""
17077 " add-drive-ro filename\n"
17078 "\n"
17079 msgstr ""
17080
17081 # type: textblock
17082 #: ../fish/guestfish-actions.pod:105
17083 msgid ""
17084 "This function is the equivalent of calling L</add-drive-opts> with the "
17085 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
17086 "is added read-only, with the format being detected automatically."
17087 msgstr ""
17088
17089 # type: =head2
17090 #: ../fish/guestfish-actions.pod:110
17091 msgid "add-drive-ro-with-if"
17092 msgstr ""
17093
17094 # type: verbatim
17095 #: ../fish/guestfish-actions.pod:112
17096 #, no-wrap
17097 msgid ""
17098 " add-drive-ro-with-if filename iface\n"
17099 "\n"
17100 msgstr ""
17101
17102 # type: textblock
17103 #: ../fish/guestfish-actions.pod:114
17104 msgid ""
17105 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
17106 "interface emulation to use at run time."
17107 msgstr ""
17108
17109 # type: =head2
17110 #: ../fish/guestfish-actions.pod:124
17111 msgid "add-drive-with-if"
17112 msgstr ""
17113
17114 # type: verbatim
17115 #: ../fish/guestfish-actions.pod:126
17116 #, no-wrap
17117 msgid ""
17118 " add-drive-with-if filename iface\n"
17119 "\n"
17120 msgstr ""
17121
17122 # type: textblock
17123 #: ../fish/guestfish-actions.pod:128
17124 msgid ""
17125 "This is the same as L</add-drive> but it allows you to specify the QEMU "
17126 "interface emulation to use at run time."
17127 msgstr ""
17128
17129 # type: =head2
17130 #: ../fish/guestfish-actions.pod:138
17131 msgid "aug-clear"
17132 msgstr ""
17133
17134 # type: verbatim
17135 #: ../fish/guestfish-actions.pod:140
17136 #, no-wrap
17137 msgid ""
17138 " aug-clear augpath\n"
17139 "\n"
17140 msgstr ""
17141
17142 # type: =head2
17143 #: ../fish/guestfish-actions.pod:145
17144 msgid "aug-close"
17145 msgstr ""
17146
17147 # type: verbatim
17148 #: ../fish/guestfish-actions.pod:147
17149 #, no-wrap
17150 msgid ""
17151 " aug-close\n"
17152 "\n"
17153 msgstr ""
17154
17155 # type: textblock
17156 #: ../fish/guestfish-actions.pod:149
17157 msgid ""
17158 "Close the current Augeas handle and free up any resources used by it.  After "
17159 "calling this, you have to call L</aug-init> again before you can use any "
17160 "other Augeas functions."
17161 msgstr ""
17162
17163 # type: =head2
17164 #: ../fish/guestfish-actions.pod:154
17165 msgid "aug-defnode"
17166 msgstr ""
17167
17168 # type: verbatim
17169 #: ../fish/guestfish-actions.pod:156
17170 #, no-wrap
17171 msgid ""
17172 " aug-defnode name expr val\n"
17173 "\n"
17174 msgstr ""
17175
17176 # type: textblock
17177 #: ../fish/guestfish-actions.pod:161
17178 msgid ""
17179 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
17180 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
17181 "containing that single node."
17182 msgstr ""
17183
17184 # type: =head2
17185 #: ../fish/guestfish-actions.pod:169
17186 msgid "aug-defvar"
17187 msgstr ""
17188
17189 # type: verbatim
17190 #: ../fish/guestfish-actions.pod:171
17191 #, no-wrap
17192 msgid ""
17193 " aug-defvar name expr\n"
17194 "\n"
17195 msgstr ""
17196
17197 # type: =head2
17198 #: ../fish/guestfish-actions.pod:180
17199 msgid "aug-get"
17200 msgstr ""
17201
17202 # type: verbatim
17203 #: ../fish/guestfish-actions.pod:182
17204 #, no-wrap
17205 msgid ""
17206 " aug-get augpath\n"
17207 "\n"
17208 msgstr ""
17209
17210 # type: =head2
17211 #: ../fish/guestfish-actions.pod:187
17212 msgid "aug-init"
17213 msgstr ""
17214
17215 # type: verbatim
17216 #: ../fish/guestfish-actions.pod:189
17217 #, no-wrap
17218 msgid ""
17219 " aug-init root flags\n"
17220 "\n"
17221 msgstr ""
17222
17223 # type: textblock
17224 #: ../fish/guestfish-actions.pod:195
17225 msgid "You must call this before using any other L</aug-*> commands."
17226 msgstr ""
17227
17228 # type: textblock
17229 #: ../fish/guestfish-actions.pod:230
17230 msgid "Do not load the tree in L</aug-init>."
17231 msgstr ""
17232
17233 # type: textblock
17234 #: ../fish/guestfish-actions.pod:234
17235 msgid "To close the handle, you can call L</aug-close>."
17236 msgstr ""
17237
17238 # type: =head2
17239 #: ../fish/guestfish-actions.pod:238
17240 msgid "aug-insert"
17241 msgstr ""
17242
17243 # type: verbatim
17244 #: ../fish/guestfish-actions.pod:240
17245 #, no-wrap
17246 msgid ""
17247 " aug-insert augpath label true|false\n"
17248 "\n"
17249 msgstr ""
17250
17251 # type: =head2
17252 #: ../fish/guestfish-actions.pod:250
17253 msgid "aug-load"
17254 msgstr ""
17255
17256 # type: verbatim
17257 #: ../fish/guestfish-actions.pod:252
17258 #, no-wrap
17259 msgid ""
17260 " aug-load\n"
17261 "\n"
17262 msgstr ""
17263
17264 # type: =head2
17265 #: ../fish/guestfish-actions.pod:259
17266 msgid "aug-ls"
17267 msgstr ""
17268
17269 # type: verbatim
17270 #: ../fish/guestfish-actions.pod:261
17271 #, no-wrap
17272 msgid ""
17273 " aug-ls augpath\n"
17274 "\n"
17275 msgstr ""
17276
17277 # type: textblock
17278 #: ../fish/guestfish-actions.pod:263
17279 msgid ""
17280 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
17281 "resulting nodes into alphabetical order."
17282 msgstr ""
17283
17284 # type: =head2
17285 #: ../fish/guestfish-actions.pod:266
17286 msgid "aug-match"
17287 msgstr ""
17288
17289 # type: verbatim
17290 #: ../fish/guestfish-actions.pod:268
17291 #, no-wrap
17292 msgid ""
17293 " aug-match augpath\n"
17294 "\n"
17295 msgstr ""
17296
17297 # type: =head2
17298 #: ../fish/guestfish-actions.pod:274
17299 msgid "aug-mv"
17300 msgstr ""
17301
17302 # type: verbatim
17303 #: ../fish/guestfish-actions.pod:276
17304 #, no-wrap
17305 msgid ""
17306 " aug-mv src dest\n"
17307 "\n"
17308 msgstr ""
17309
17310 # type: =head2
17311 #: ../fish/guestfish-actions.pod:281
17312 msgid "aug-rm"
17313 msgstr ""
17314
17315 # type: verbatim
17316 #: ../fish/guestfish-actions.pod:283
17317 #, no-wrap
17318 msgid ""
17319 " aug-rm augpath\n"
17320 "\n"
17321 msgstr ""
17322
17323 # type: =head2
17324 #: ../fish/guestfish-actions.pod:289
17325 msgid "aug-save"
17326 msgstr ""
17327
17328 # type: verbatim
17329 #: ../fish/guestfish-actions.pod:291
17330 #, no-wrap
17331 msgid ""
17332 " aug-save\n"
17333 "\n"
17334 msgstr ""
17335
17336 # type: textblock
17337 #: ../fish/guestfish-actions.pod:295
17338 msgid ""
17339 "The flags which were passed to L</aug-init> affect exactly how files are "
17340 "saved."
17341 msgstr ""
17342
17343 # type: =head2
17344 #: ../fish/guestfish-actions.pod:298
17345 msgid "aug-set"
17346 msgstr ""
17347
17348 # type: verbatim
17349 #: ../fish/guestfish-actions.pod:300
17350 #, no-wrap
17351 msgid ""
17352 " aug-set augpath val\n"
17353 "\n"
17354 msgstr ""
17355
17356 # type: textblock
17357 #: ../fish/guestfish-actions.pod:304
17358 msgid ""
17359 "In the Augeas API, it is possible to clear a node by setting the value to "
17360 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
17361 "this call.  Instead you must use the L</aug-clear> call."
17362 msgstr ""
17363
17364 # type: =head2
17365 #: ../fish/guestfish-actions.pod:309
17366 msgid "available"
17367 msgstr ""
17368
17369 # type: verbatim
17370 #: ../fish/guestfish-actions.pod:311
17371 #, no-wrap
17372 msgid ""
17373 " available 'groups ...'\n"
17374 "\n"
17375 msgstr ""
17376
17377 # type: textblock
17378 #: ../fish/guestfish-actions.pod:317
17379 msgid ""
17380 "The libguestfs groups, and the functions that those groups correspond to, "
17381 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
17382 "runtime by calling L</available-all-groups>."
17383 msgstr ""
17384
17385 # type: textblock
17386 #: ../fish/guestfish-actions.pod:341
17387 msgid "You must call L</launch> before calling this function."
17388 msgstr ""
17389
17390 # type: textblock
17391 #: ../fish/guestfish-actions.pod:363
17392 msgid ""
17393 "This call was added in version C<1.0.80>.  In previous versions of "
17394 "libguestfs all you could do would be to speculatively execute a command to "
17395 "find out if the daemon implemented it.  See also L</version>."
17396 msgstr ""
17397
17398 # type: =head2
17399 #: ../fish/guestfish-actions.pod:370
17400 msgid "available-all-groups"
17401 msgstr ""
17402
17403 # type: verbatim
17404 #: ../fish/guestfish-actions.pod:372
17405 #, no-wrap
17406 msgid ""
17407 " available-all-groups\n"
17408 "\n"
17409 msgstr ""
17410
17411 # type: textblock
17412 #: ../fish/guestfish-actions.pod:374
17413 msgid ""
17414 "This command returns a list of all optional groups that this daemon knows "
17415 "about.  Note this returns both supported and unsupported groups.  To find "
17416 "out which ones the daemon can actually support you have to call "
17417 "L</available> on each member of the returned list."
17418 msgstr ""
17419
17420 # type: textblock
17421 #: ../fish/guestfish-actions.pod:380
17422 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
17423 msgstr ""
17424
17425 # type: =head2
17426 #: ../fish/guestfish-actions.pod:382
17427 msgid "base64-in"
17428 msgstr ""
17429
17430 # type: verbatim
17431 #: ../fish/guestfish-actions.pod:384
17432 #, no-wrap
17433 msgid ""
17434 " base64-in (base64file|-) filename\n"
17435 "\n"
17436 msgstr ""
17437
17438 # type: textblock
17439 #: ../fish/guestfish-actions.pod:389 ../fish/guestfish-actions.pod:398 ../fish/guestfish-actions.pod:622 ../fish/guestfish-actions.pod:769 ../fish/guestfish-actions.pod:816 ../fish/guestfish-actions.pod:835 ../fish/guestfish-actions.pod:1212 ../fish/guestfish-actions.pod:3896 ../fish/guestfish-actions.pod:3908 ../fish/guestfish-actions.pod:3919 ../fish/guestfish-actions.pod:3930 ../fish/guestfish-actions.pod:3982 ../fish/guestfish-actions.pod:3991 ../fish/guestfish-actions.pod:4045 ../fish/guestfish-actions.pod:4068
17440 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
17441 msgstr ""
17442
17443 # type: =head2
17444 #: ../fish/guestfish-actions.pod:391
17445 msgid "base64-out"
17446 msgstr ""
17447
17448 # type: verbatim
17449 #: ../fish/guestfish-actions.pod:393
17450 #, no-wrap
17451 msgid ""
17452 " base64-out filename (base64file|-)\n"
17453 "\n"
17454 msgstr ""
17455
17456 # type: =head2
17457 #: ../fish/guestfish-actions.pod:400
17458 msgid "blockdev-flushbufs"
17459 msgstr ""
17460
17461 # type: verbatim
17462 #: ../fish/guestfish-actions.pod:402
17463 #, no-wrap
17464 msgid ""
17465 " blockdev-flushbufs device\n"
17466 "\n"
17467 msgstr ""
17468
17469 # type: =head2
17470 #: ../fish/guestfish-actions.pod:409
17471 msgid "blockdev-getbsz"
17472 msgstr ""
17473
17474 # type: verbatim
17475 #: ../fish/guestfish-actions.pod:411
17476 #, no-wrap
17477 msgid ""
17478 " blockdev-getbsz device\n"
17479 "\n"
17480 msgstr ""
17481
17482 # type: =head2
17483 #: ../fish/guestfish-actions.pod:420
17484 msgid "blockdev-getro"
17485 msgstr ""
17486
17487 # type: verbatim
17488 #: ../fish/guestfish-actions.pod:422
17489 #, no-wrap
17490 msgid ""
17491 " blockdev-getro device\n"
17492 "\n"
17493 msgstr ""
17494
17495 # type: =head2
17496 #: ../fish/guestfish-actions.pod:429
17497 msgid "blockdev-getsize64"
17498 msgstr ""
17499
17500 # type: verbatim
17501 #: ../fish/guestfish-actions.pod:431
17502 #, no-wrap
17503 msgid ""
17504 " blockdev-getsize64 device\n"
17505 "\n"
17506 msgstr ""
17507
17508 # type: textblock
17509 #: ../fish/guestfish-actions.pod:435
17510 msgid "See also L</blockdev-getsz>."
17511 msgstr ""
17512
17513 # type: =head2
17514 #: ../fish/guestfish-actions.pod:439
17515 msgid "blockdev-getss"
17516 msgstr ""
17517
17518 # type: verbatim
17519 #: ../fish/guestfish-actions.pod:441
17520 #, no-wrap
17521 msgid ""
17522 " blockdev-getss device\n"
17523 "\n"
17524 msgstr ""
17525
17526 # type: textblock
17527 #: ../fish/guestfish-actions.pod:446
17528 msgid "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
17529 msgstr ""
17530
17531 # type: =head2
17532 #: ../fish/guestfish-actions.pod:451
17533 msgid "blockdev-getsz"
17534 msgstr ""
17535
17536 # type: verbatim
17537 #: ../fish/guestfish-actions.pod:453
17538 #, no-wrap
17539 msgid ""
17540 " blockdev-getsz device\n"
17541 "\n"
17542 msgstr ""
17543
17544 # type: textblock
17545 #: ../fish/guestfish-actions.pod:458
17546 msgid ""
17547 "See also L</blockdev-getss> for the real sector size of the device, and "
17548 "L</blockdev-getsize64> for the more useful I<size in bytes>."
17549 msgstr ""
17550
17551 # type: =head2
17552 #: ../fish/guestfish-actions.pod:464
17553 msgid "blockdev-rereadpt"
17554 msgstr ""
17555
17556 # type: verbatim
17557 #: ../fish/guestfish-actions.pod:466
17558 #, no-wrap
17559 msgid ""
17560 " blockdev-rereadpt device\n"
17561 "\n"
17562 msgstr ""
17563
17564 # type: =head2
17565 #: ../fish/guestfish-actions.pod:472
17566 msgid "blockdev-setbsz"
17567 msgstr ""
17568
17569 # type: verbatim
17570 #: ../fish/guestfish-actions.pod:474
17571 #, no-wrap
17572 msgid ""
17573 " blockdev-setbsz device blocksize\n"
17574 "\n"
17575 msgstr ""
17576
17577 # type: =head2
17578 #: ../fish/guestfish-actions.pod:483
17579 msgid "blockdev-setro"
17580 msgstr ""
17581
17582 # type: verbatim
17583 #: ../fish/guestfish-actions.pod:485
17584 #, no-wrap
17585 msgid ""
17586 " blockdev-setro device\n"
17587 "\n"
17588 msgstr ""
17589
17590 # type: =head2
17591 #: ../fish/guestfish-actions.pod:491
17592 msgid "blockdev-setrw"
17593 msgstr ""
17594
17595 # type: verbatim
17596 #: ../fish/guestfish-actions.pod:493
17597 #, no-wrap
17598 msgid ""
17599 " blockdev-setrw device\n"
17600 "\n"
17601 msgstr ""
17602
17603 # type: =head2
17604 #: ../fish/guestfish-actions.pod:499
17605 msgid "case-sensitive-path"
17606 msgstr ""
17607
17608 # type: verbatim
17609 #: ../fish/guestfish-actions.pod:501
17610 #, no-wrap
17611 msgid ""
17612 " case-sensitive-path path\n"
17613 "\n"
17614 msgstr ""
17615
17616 # type: textblock
17617 #: ../fish/guestfish-actions.pod:525
17618 msgid ""
17619 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return "
17620 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
17621 "how the directories were originally created under Windows)."
17622 msgstr ""
17623
17624 # type: textblock
17625 #: ../fish/guestfish-actions.pod:533
17626 msgid "See also L</realpath>."
17627 msgstr ""
17628
17629 # type: =head2
17630 #: ../fish/guestfish-actions.pod:535
17631 msgid "cat"
17632 msgstr ""
17633
17634 # type: verbatim
17635 #: ../fish/guestfish-actions.pod:537
17636 #, no-wrap
17637 msgid ""
17638 " cat path\n"
17639 "\n"
17640 msgstr ""
17641
17642 # type: textblock
17643 #: ../fish/guestfish-actions.pod:541
17644 msgid ""
17645 "Note that this function cannot correctly handle binary files (specifically, "
17646 "files containing C<\\0> character which is treated as end of string).  For "
17647 "those you need to use the L</read-file> or L</download> functions which have "
17648 "a more complex interface."
17649 msgstr ""
17650
17651 # type: =head2
17652 #: ../fish/guestfish-actions.pod:549
17653 msgid "checksum"
17654 msgstr ""
17655
17656 # type: verbatim
17657 #: ../fish/guestfish-actions.pod:551
17658 #, no-wrap
17659 msgid ""
17660 " checksum csumtype path\n"
17661 "\n"
17662 msgstr ""
17663
17664 # type: textblock
17665 #: ../fish/guestfish-actions.pod:594
17666 msgid "To get the checksum for a device, use L</checksum-device>."
17667 msgstr ""
17668
17669 # type: textblock
17670 #: ../fish/guestfish-actions.pod:596
17671 msgid "To get the checksums for many files, use L</checksums-out>."
17672 msgstr ""
17673
17674 # type: =head2
17675 #: ../fish/guestfish-actions.pod:598
17676 msgid "checksum-device"
17677 msgstr ""
17678
17679 # type: verbatim
17680 #: ../fish/guestfish-actions.pod:600
17681 #, no-wrap
17682 msgid ""
17683 " checksum-device csumtype device\n"
17684 "\n"
17685 msgstr ""
17686
17687 # type: textblock
17688 #: ../fish/guestfish-actions.pod:602
17689 msgid ""
17690 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17691 "device named C<device>.  For the types of checksums supported see the "
17692 "L</checksum> command."
17693 msgstr ""
17694
17695 # type: =head2
17696 #: ../fish/guestfish-actions.pod:606
17697 msgid "checksums-out"
17698 msgstr ""
17699
17700 # type: verbatim
17701 #: ../fish/guestfish-actions.pod:608
17702 #, no-wrap
17703 msgid ""
17704 " checksums-out csumtype directory (sumsfile|-)\n"
17705 "\n"
17706 msgstr ""
17707
17708 # type: =head2
17709 #: ../fish/guestfish-actions.pod:624
17710 msgid "chmod"
17711 msgstr ""
17712
17713 # type: verbatim
17714 #: ../fish/guestfish-actions.pod:626
17715 #, no-wrap
17716 msgid ""
17717 " chmod mode path\n"
17718 "\n"
17719 msgstr ""
17720
17721 # type: =head2
17722 #: ../fish/guestfish-actions.pod:637
17723 msgid "chown"
17724 msgstr ""
17725
17726 # type: verbatim
17727 #: ../fish/guestfish-actions.pod:639
17728 #, no-wrap
17729 msgid ""
17730 " chown owner group path\n"
17731 "\n"
17732 msgstr ""
17733
17734 # type: =head2
17735 #: ../fish/guestfish-actions.pod:647
17736 msgid "command"
17737 msgstr ""
17738
17739 # type: verbatim
17740 #: ../fish/guestfish-actions.pod:649
17741 #, no-wrap
17742 msgid ""
17743 " command 'arguments ...'\n"
17744 "\n"
17745 msgstr ""
17746
17747 # type: textblock
17748 #: ../fish/guestfish-actions.pod:656
17749 msgid ""
17750 "The single parameter is an argv-style list of arguments.  The first element "
17751 "is the name of the program to run.  Subsequent elements are parameters.  The "
17752 "list must be non-empty (ie. must contain a program name).  Note that the "
17753 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
17754 msgstr ""
17755
17756 # type: =head2
17757 #: ../fish/guestfish-actions.pod:684
17758 msgid "command-lines"
17759 msgstr ""
17760
17761 # type: verbatim
17762 #: ../fish/guestfish-actions.pod:686
17763 #, no-wrap
17764 msgid ""
17765 " command-lines 'arguments ...'\n"
17766 "\n"
17767 msgstr ""
17768
17769 # type: textblock
17770 #: ../fish/guestfish-actions.pod:688
17771 msgid "This is the same as L</command>, but splits the result into a list of lines."
17772 msgstr ""
17773
17774 # type: textblock
17775 #: ../fish/guestfish-actions.pod:691
17776 msgid "See also: L</sh-lines>"
17777 msgstr ""
17778
17779 # type: =head2
17780 #: ../fish/guestfish-actions.pod:696
17781 msgid "config"
17782 msgstr ""
17783
17784 # type: verbatim
17785 #: ../fish/guestfish-actions.pod:698
17786 #, no-wrap
17787 msgid ""
17788 " config qemuparam qemuvalue\n"
17789 "\n"
17790 msgstr ""
17791
17792 # type: =head2
17793 #: ../fish/guestfish-actions.pod:709
17794 msgid "copy-size"
17795 msgstr ""
17796
17797 # type: verbatim
17798 #: ../fish/guestfish-actions.pod:711
17799 #, no-wrap
17800 msgid ""
17801 " copy-size src dest size\n"
17802 "\n"
17803 msgstr ""
17804
17805 # type: =head2
17806 #: ../fish/guestfish-actions.pod:719
17807 msgid "cp"
17808 msgstr ""
17809
17810 # type: verbatim
17811 #: ../fish/guestfish-actions.pod:721
17812 #, no-wrap
17813 msgid ""
17814 " cp src dest\n"
17815 "\n"
17816 msgstr ""
17817
17818 # type: =head2
17819 #: ../fish/guestfish-actions.pod:726
17820 msgid "cp-a"
17821 msgstr ""
17822
17823 # type: verbatim
17824 #: ../fish/guestfish-actions.pod:728
17825 #, no-wrap
17826 msgid ""
17827 " cp-a src dest\n"
17828 "\n"
17829 msgstr ""
17830
17831 # type: =head2
17832 #: ../fish/guestfish-actions.pod:733
17833 msgid "dd"
17834 msgstr ""
17835
17836 # type: verbatim
17837 #: ../fish/guestfish-actions.pod:735
17838 #, no-wrap
17839 msgid ""
17840 " dd src dest\n"
17841 "\n"
17842 msgstr ""
17843
17844 # type: textblock
17845 #: ../fish/guestfish-actions.pod:742
17846 msgid ""
17847 "If the destination is a device, it must be as large or larger than the "
17848 "source file or device, otherwise the copy will fail.  This command cannot do "
17849 "partial copies (see L</copy-size>)."
17850 msgstr ""
17851
17852 # type: =head2
17853 #: ../fish/guestfish-actions.pod:746
17854 msgid "debug"
17855 msgstr ""
17856
17857 # type: verbatim
17858 #: ../fish/guestfish-actions.pod:748
17859 #, no-wrap
17860 msgid ""
17861 " debug subcmd 'extraargs ...'\n"
17862 "\n"
17863 msgstr ""
17864
17865 # type: textblock
17866 #: ../fish/guestfish-actions.pod:750
17867 msgid ""
17868 "The L</debug> command exposes some internals of C<guestfsd> (the guestfs "
17869 "daemon) that runs inside the qemu subprocess."
17870 msgstr ""
17871
17872 # type: =head2
17873 #: ../fish/guestfish-actions.pod:758
17874 msgid "debug-upload"
17875 msgstr ""
17876
17877 # type: verbatim
17878 #: ../fish/guestfish-actions.pod:760
17879 #, no-wrap
17880 msgid ""
17881 " debug-upload (filename|-) tmpname mode\n"
17882 "\n"
17883 msgstr ""
17884
17885 # type: textblock
17886 #: ../fish/guestfish-actions.pod:762
17887 msgid "The L</debug-upload> command uploads a file to the libguestfs appliance."
17888 msgstr ""
17889
17890 # type: =head2
17891 #: ../fish/guestfish-actions.pod:771
17892 msgid "df"
17893 msgstr ""
17894
17895 # type: verbatim
17896 #: ../fish/guestfish-actions.pod:773
17897 #, no-wrap
17898 msgid ""
17899 " df\n"
17900 "\n"
17901 msgstr ""
17902
17903 # type: =head2
17904 #: ../fish/guestfish-actions.pod:781
17905 msgid "df-h"
17906 msgstr ""
17907
17908 # type: verbatim
17909 #: ../fish/guestfish-actions.pod:783
17910 #, no-wrap
17911 msgid ""
17912 " df-h\n"
17913 "\n"
17914 msgstr ""
17915
17916 # type: =head2
17917 #: ../fish/guestfish-actions.pod:792
17918 msgid "dmesg"
17919 msgstr ""
17920
17921 # type: verbatim
17922 #: ../fish/guestfish-actions.pod:794
17923 #, no-wrap
17924 msgid ""
17925 " dmesg\n"
17926 "\n"
17927 msgstr ""
17928
17929 # type: textblock
17930 #: ../fish/guestfish-actions.pod:800
17931 msgid ""
17932 "Another way to get the same information is to enable verbose messages with "
17933 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17934 "before running the program."
17935 msgstr ""
17936
17937 # type: =head2
17938 #: ../fish/guestfish-actions.pod:805
17939 msgid "download"
17940 msgstr ""
17941
17942 # type: verbatim
17943 #: ../fish/guestfish-actions.pod:807
17944 #, no-wrap
17945 msgid ""
17946 " download remotefilename (filename|-)\n"
17947 "\n"
17948 msgstr ""
17949
17950 # type: textblock
17951 #: ../fish/guestfish-actions.pod:814
17952 msgid "See also L</upload>, L</cat>."
17953 msgstr ""
17954
17955 # type: =head2
17956 #: ../fish/guestfish-actions.pod:818
17957 msgid "download-offset"
17958 msgstr ""
17959
17960 # type: verbatim
17961 #: ../fish/guestfish-actions.pod:820
17962 #, no-wrap
17963 msgid ""
17964 " download-offset remotefilename (filename|-) offset size\n"
17965 "\n"
17966 msgstr ""
17967
17968 # type: textblock
17969 #: ../fish/guestfish-actions.pod:828
17970 msgid ""
17971 "Note that there is no limit on the amount of data that can be downloaded "
17972 "with this call, unlike with L</pread>, and this call always reads the full "
17973 "amount unless an error occurs."
17974 msgstr ""
17975
17976 # type: textblock
17977 #: ../fish/guestfish-actions.pod:833
17978 msgid "See also L</download>, L</pread>."
17979 msgstr ""
17980
17981 # type: =head2
17982 #: ../fish/guestfish-actions.pod:837
17983 msgid "drop-caches"
17984 msgstr ""
17985
17986 # type: verbatim
17987 #: ../fish/guestfish-actions.pod:839
17988 #, no-wrap
17989 msgid ""
17990 " drop-caches whattodrop\n"
17991 "\n"
17992 msgstr ""
17993
17994 # type: =head2
17995 #: ../fish/guestfish-actions.pod:851
17996 msgid "du"
17997 msgstr ""
17998
17999 # type: verbatim
18000 #: ../fish/guestfish-actions.pod:853
18001 #, no-wrap
18002 msgid ""
18003 " du path\n"
18004 "\n"
18005 msgstr ""
18006
18007 # type: =head2
18008 #: ../fish/guestfish-actions.pod:865
18009 msgid "e2fsck-f"
18010 msgstr ""
18011
18012 # type: verbatim
18013 #: ../fish/guestfish-actions.pod:867
18014 #, no-wrap
18015 msgid ""
18016 " e2fsck-f device\n"
18017 "\n"
18018 msgstr ""
18019
18020 # type: textblock
18021 #: ../fish/guestfish-actions.pod:873
18022 msgid ""
18023 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
18024 "should use L</fsck>."
18025 msgstr ""
18026
18027 # type: =head2
18028 #: ../fish/guestfish-actions.pod:876
18029 msgid "echo-daemon"
18030 msgstr ""
18031
18032 # type: verbatim
18033 #: ../fish/guestfish-actions.pod:878
18034 #, no-wrap
18035 msgid ""
18036 " echo-daemon 'words ...'\n"
18037 "\n"
18038 msgstr ""
18039
18040 # type: textblock
18041 #: ../fish/guestfish-actions.pod:885
18042 msgid "See also L</ping-daemon>."
18043 msgstr ""
18044
18045 # type: =head2
18046 #: ../fish/guestfish-actions.pod:887
18047 msgid "egrep"
18048 msgstr ""
18049
18050 # type: verbatim
18051 #: ../fish/guestfish-actions.pod:889
18052 #, no-wrap
18053 msgid ""
18054 " egrep regex path\n"
18055 "\n"
18056 msgstr ""
18057
18058 # type: =head2
18059 #: ../fish/guestfish-actions.pod:897
18060 msgid "egrepi"
18061 msgstr ""
18062
18063 # type: verbatim
18064 #: ../fish/guestfish-actions.pod:899
18065 #, no-wrap
18066 msgid ""
18067 " egrepi regex path\n"
18068 "\n"
18069 msgstr ""
18070
18071 # type: =head2
18072 #: ../fish/guestfish-actions.pod:907
18073 msgid "equal"
18074 msgstr ""
18075
18076 # type: verbatim
18077 #: ../fish/guestfish-actions.pod:909
18078 #, no-wrap
18079 msgid ""
18080 " equal file1 file2\n"
18081 "\n"
18082 msgstr ""
18083
18084 # type: =head2
18085 #: ../fish/guestfish-actions.pod:916
18086 msgid "exists"
18087 msgstr ""
18088
18089 # type: verbatim
18090 #: ../fish/guestfish-actions.pod:918
18091 #, no-wrap
18092 msgid ""
18093 " exists path\n"
18094 "\n"
18095 msgstr ""
18096
18097 # type: textblock
18098 #: ../fish/guestfish-actions.pod:923
18099 msgid "See also L</is-file>, L</is-dir>, L</stat>."
18100 msgstr ""
18101
18102 # type: =head2
18103 #: ../fish/guestfish-actions.pod:925
18104 msgid "fallocate"
18105 msgstr ""
18106
18107 # type: verbatim
18108 #: ../fish/guestfish-actions.pod:927
18109 #, no-wrap
18110 msgid ""
18111 " fallocate path len\n"
18112 "\n"
18113 msgstr ""
18114
18115 # type: =head2
18116 #: ../fish/guestfish-actions.pod:944
18117 msgid "fallocate64"
18118 msgstr ""
18119
18120 # type: verbatim
18121 #: ../fish/guestfish-actions.pod:946
18122 #, no-wrap
18123 msgid ""
18124 " fallocate64 path len\n"
18125 "\n"
18126 msgstr ""
18127
18128 # type: textblock
18129 #: ../fish/guestfish-actions.pod:952
18130 msgid ""
18131 "Note that this call allocates disk blocks for the file.  To create a sparse "
18132 "file use L</truncate-size> instead."
18133 msgstr ""
18134
18135 # type: textblock
18136 #: ../fish/guestfish-actions.pod:955
18137 msgid ""
18138 "The deprecated call L</fallocate> does the same, but owing to an oversight "
18139 "it only allowed 30 bit lengths to be specified, effectively limiting the "
18140 "maximum size of files created through that call to 1GB."
18141 msgstr ""
18142
18143 # type: =head2
18144 #: ../fish/guestfish-actions.pod:964
18145 msgid "fgrep"
18146 msgstr ""
18147
18148 # type: verbatim
18149 #: ../fish/guestfish-actions.pod:966
18150 #, no-wrap
18151 msgid ""
18152 " fgrep pattern path\n"
18153 "\n"
18154 msgstr ""
18155
18156 # type: =head2
18157 #: ../fish/guestfish-actions.pod:974
18158 msgid "fgrepi"
18159 msgstr ""
18160
18161 # type: verbatim
18162 #: ../fish/guestfish-actions.pod:976
18163 #, no-wrap
18164 msgid ""
18165 " fgrepi pattern path\n"
18166 "\n"
18167 msgstr ""
18168
18169 # type: =head2
18170 #: ../fish/guestfish-actions.pod:984
18171 msgid "file"
18172 msgstr ""
18173
18174 # type: verbatim
18175 #: ../fish/guestfish-actions.pod:986
18176 #, no-wrap
18177 msgid ""
18178 " file path\n"
18179 "\n"
18180 msgstr ""
18181
18182 # type: textblock
18183 #: ../fish/guestfish-actions.pod:998
18184 msgid ""
18185 "This command can also be used on C</dev/> devices (and partitions, LV "
18186 "names).  You can for example use this to determine if a device contains a "
18187 "filesystem, although it's usually better to use L</vfs-type>."
18188 msgstr ""
18189
18190 # type: =head2
18191 #: ../fish/guestfish-actions.pod:1008
18192 msgid "file-architecture"
18193 msgstr ""
18194
18195 # type: verbatim
18196 #: ../fish/guestfish-actions.pod:1010
18197 #, no-wrap
18198 msgid ""
18199 " file-architecture filename\n"
18200 "\n"
18201 msgstr ""
18202
18203 # type: =head2
18204 #: ../fish/guestfish-actions.pod:1113
18205 msgid "filesize"
18206 msgstr ""
18207
18208 # type: verbatim
18209 #: ../fish/guestfish-actions.pod:1115
18210 #, no-wrap
18211 msgid ""
18212 " filesize file\n"
18213 "\n"
18214 msgstr ""
18215
18216 # type: textblock
18217 #: ../fish/guestfish-actions.pod:1119
18218 msgid ""
18219 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, "
18220 "L</is-file> etc.  To get the size of block devices, use "
18221 "L</blockdev-getsize64>."
18222 msgstr ""
18223
18224 # type: =head2
18225 #: ../fish/guestfish-actions.pod:1123
18226 msgid "fill"
18227 msgstr ""
18228
18229 # type: verbatim
18230 #: ../fish/guestfish-actions.pod:1125
18231 #, no-wrap
18232 msgid ""
18233 " fill c len path\n"
18234 "\n"
18235 msgstr ""
18236
18237 # type: textblock
18238 #: ../fish/guestfish-actions.pod:1131
18239 msgid ""
18240 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
18241 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
18242 "L</fill-pattern>."
18243 msgstr ""
18244
18245 # type: =head2
18246 #: ../fish/guestfish-actions.pod:1136
18247 msgid "fill-pattern"
18248 msgstr ""
18249
18250 # type: verbatim
18251 #: ../fish/guestfish-actions.pod:1138
18252 #, no-wrap
18253 msgid ""
18254 " fill-pattern pattern len path\n"
18255 "\n"
18256 msgstr ""
18257
18258 # type: textblock
18259 #: ../fish/guestfish-actions.pod:1140
18260 msgid ""
18261 "This function is like L</fill> except that it creates a new file of length "
18262 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
18263 "is truncated if necessary to ensure the length of the file is exactly C<len> "
18264 "bytes."
18265 msgstr ""
18266
18267 # type: =head2
18268 #: ../fish/guestfish-actions.pod:1145
18269 msgid "find"
18270 msgstr ""
18271
18272 # type: verbatim
18273 #: ../fish/guestfish-actions.pod:1147
18274 #, no-wrap
18275 msgid ""
18276 " find directory\n"
18277 "\n"
18278 msgstr ""
18279
18280 # type: textblock
18281 #: ../fish/guestfish-actions.pod:1161
18282 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
18283 msgstr ""
18284
18285 # type: textblock
18286 #: ../fish/guestfish-actions.pod:1174
18287 msgid "See also L</find0>."
18288 msgstr ""
18289
18290 # type: =head2
18291 #: ../fish/guestfish-actions.pod:1179
18292 msgid "find0"
18293 msgstr ""
18294
18295 # type: verbatim
18296 #: ../fish/guestfish-actions.pod:1181
18297 #, no-wrap
18298 msgid ""
18299 " find0 directory (files|-)\n"
18300 "\n"
18301 msgstr ""
18302
18303 # type: textblock
18304 #: ../fish/guestfish-actions.pod:1187
18305 msgid "This command works the same way as L</find> with the following exceptions:"
18306 msgstr ""
18307
18308 # type: =head2
18309 #: ../fish/guestfish-actions.pod:1214
18310 msgid "findfs-label"
18311 msgstr ""
18312
18313 # type: verbatim
18314 #: ../fish/guestfish-actions.pod:1216
18315 #, no-wrap
18316 msgid ""
18317 " findfs-label label\n"
18318 "\n"
18319 msgstr ""
18320
18321 # type: textblock
18322 #: ../fish/guestfish-actions.pod:1222
18323 msgid "To find the label of a filesystem, use L</vfs-label>."
18324 msgstr ""
18325
18326 # type: =head2
18327 #: ../fish/guestfish-actions.pod:1224
18328 msgid "findfs-uuid"
18329 msgstr ""
18330
18331 # type: verbatim
18332 #: ../fish/guestfish-actions.pod:1226
18333 #, no-wrap
18334 msgid ""
18335 " findfs-uuid uuid\n"
18336 "\n"
18337 msgstr ""
18338
18339 # type: textblock
18340 #: ../fish/guestfish-actions.pod:1232
18341 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
18342 msgstr ""
18343
18344 # type: =head2
18345 #: ../fish/guestfish-actions.pod:1234
18346 msgid "fsck"
18347 msgstr ""
18348
18349 # type: verbatim
18350 #: ../fish/guestfish-actions.pod:1236
18351 #, no-wrap
18352 msgid ""
18353 " fsck fstype device\n"
18354 "\n"
18355 msgstr ""
18356
18357 # type: =head2
18358 #: ../fish/guestfish-actions.pod:1266
18359 msgid "get-append"
18360 msgstr ""
18361
18362 # type: verbatim
18363 #: ../fish/guestfish-actions.pod:1268
18364 #, no-wrap
18365 msgid ""
18366 " get-append\n"
18367 "\n"
18368 msgstr ""
18369
18370 # type: =head2
18371 #: ../fish/guestfish-actions.pod:1275
18372 msgid "get-autosync"
18373 msgstr ""
18374
18375 # type: verbatim
18376 #: ../fish/guestfish-actions.pod:1277
18377 #, no-wrap
18378 msgid ""
18379 " get-autosync\n"
18380 "\n"
18381 msgstr ""
18382
18383 # type: =head2
18384 #: ../fish/guestfish-actions.pod:1281
18385 msgid "get-direct"
18386 msgstr ""
18387
18388 # type: verbatim
18389 #: ../fish/guestfish-actions.pod:1283
18390 #, no-wrap
18391 msgid ""
18392 " get-direct\n"
18393 "\n"
18394 msgstr ""
18395
18396 # type: =head2
18397 #: ../fish/guestfish-actions.pod:1287
18398 msgid "get-e2label"
18399 msgstr ""
18400
18401 # type: verbatim
18402 #: ../fish/guestfish-actions.pod:1289
18403 #, no-wrap
18404 msgid ""
18405 " get-e2label device\n"
18406 "\n"
18407 msgstr ""
18408
18409 # type: =head2
18410 #: ../fish/guestfish-actions.pod:1301
18411 msgid "get-e2uuid"
18412 msgstr ""
18413
18414 # type: verbatim
18415 #: ../fish/guestfish-actions.pod:1303
18416 #, no-wrap
18417 msgid ""
18418 " get-e2uuid device\n"
18419 "\n"
18420 msgstr ""
18421
18422 # type: =head2
18423 #: ../fish/guestfish-actions.pod:1315
18424 msgid "get-memsize"
18425 msgstr ""
18426
18427 # type: verbatim
18428 #: ../fish/guestfish-actions.pod:1317
18429 #, no-wrap
18430 msgid ""
18431 " get-memsize\n"
18432 "\n"
18433 msgstr ""
18434
18435 # type: textblock
18436 #: ../fish/guestfish-actions.pod:1322
18437 msgid ""
18438 "If L</set-memsize> was not called on this handle, and if "
18439 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
18440 "value for memsize."
18441 msgstr ""
18442
18443 # type: =head2
18444 #: ../fish/guestfish-actions.pod:1329
18445 msgid "get-network"
18446 msgstr ""
18447
18448 # type: verbatim
18449 #: ../fish/guestfish-actions.pod:1331
18450 #, no-wrap
18451 msgid ""
18452 " get-network\n"
18453 "\n"
18454 msgstr ""
18455
18456 # type: =head2
18457 #: ../fish/guestfish-actions.pod:1335
18458 msgid "get-path"
18459 msgstr ""
18460
18461 # type: verbatim
18462 #: ../fish/guestfish-actions.pod:1337
18463 #, no-wrap
18464 msgid ""
18465 " get-path\n"
18466 "\n"
18467 msgstr ""
18468
18469 # type: =head2
18470 #: ../fish/guestfish-actions.pod:1344
18471 msgid "get-pid"
18472 msgstr ""
18473
18474 # type: =head2
18475 #: ../fish/guestfish-actions.pod:1346
18476 msgid "pid"
18477 msgstr ""
18478
18479 # type: verbatim
18480 #: ../fish/guestfish-actions.pod:1348
18481 #, no-wrap
18482 msgid ""
18483 " get-pid\n"
18484 "\n"
18485 msgstr ""
18486
18487 # type: =head2
18488 #: ../fish/guestfish-actions.pod:1355
18489 msgid "get-qemu"
18490 msgstr ""
18491
18492 # type: verbatim
18493 #: ../fish/guestfish-actions.pod:1357
18494 #, no-wrap
18495 msgid ""
18496 " get-qemu\n"
18497 "\n"
18498 msgstr ""
18499
18500 # type: =head2
18501 #: ../fish/guestfish-actions.pod:1364
18502 msgid "get-recovery-proc"
18503 msgstr ""
18504
18505 # type: verbatim
18506 #: ../fish/guestfish-actions.pod:1366
18507 #, no-wrap
18508 msgid ""
18509 " get-recovery-proc\n"
18510 "\n"
18511 msgstr ""
18512
18513 # type: =head2
18514 #: ../fish/guestfish-actions.pod:1370
18515 msgid "get-selinux"
18516 msgstr ""
18517
18518 # type: verbatim
18519 #: ../fish/guestfish-actions.pod:1372
18520 #, no-wrap
18521 msgid ""
18522 " get-selinux\n"
18523 "\n"
18524 msgstr ""
18525
18526 # type: textblock
18527 #: ../fish/guestfish-actions.pod:1374
18528 msgid ""
18529 "This returns the current setting of the selinux flag which is passed to the "
18530 "appliance at boot time.  See L</set-selinux>."
18531 msgstr ""
18532
18533 # type: =head2
18534 #: ../fish/guestfish-actions.pod:1380
18535 msgid "get-state"
18536 msgstr ""
18537
18538 # type: verbatim
18539 #: ../fish/guestfish-actions.pod:1382
18540 #, no-wrap
18541 msgid ""
18542 " get-state\n"
18543 "\n"
18544 msgstr ""
18545
18546 # type: =head2
18547 #: ../fish/guestfish-actions.pod:1389
18548 msgid "get-trace"
18549 msgstr ""
18550
18551 # type: verbatim
18552 #: ../fish/guestfish-actions.pod:1391
18553 #, no-wrap
18554 msgid ""
18555 " get-trace\n"
18556 "\n"
18557 msgstr ""
18558
18559 # type: =head2
18560 #: ../fish/guestfish-actions.pod:1395
18561 msgid "get-umask"
18562 msgstr ""
18563
18564 # type: verbatim
18565 #: ../fish/guestfish-actions.pod:1397
18566 #, no-wrap
18567 msgid ""
18568 " get-umask\n"
18569 "\n"
18570 msgstr ""
18571
18572 # type: textblock
18573 #: ../fish/guestfish-actions.pod:1399
18574 msgid ""
18575 "Return the current umask.  By default the umask is C<022> unless it has been "
18576 "set by calling L</umask>."
18577 msgstr ""
18578
18579 # type: =head2
18580 #: ../fish/guestfish-actions.pod:1402
18581 msgid "get-verbose"
18582 msgstr ""
18583
18584 # type: verbatim
18585 #: ../fish/guestfish-actions.pod:1404
18586 #, no-wrap
18587 msgid ""
18588 " get-verbose\n"
18589 "\n"
18590 msgstr ""
18591
18592 # type: =head2
18593 #: ../fish/guestfish-actions.pod:1408
18594 msgid "getcon"
18595 msgstr ""
18596
18597 # type: verbatim
18598 #: ../fish/guestfish-actions.pod:1410
18599 #, no-wrap
18600 msgid ""
18601 " getcon\n"
18602 "\n"
18603 msgstr ""
18604
18605 # type: textblock
18606 #: ../fish/guestfish-actions.pod:1414
18607 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
18608 msgstr ""
18609
18610 # type: =head2
18611 #: ../fish/guestfish-actions.pod:1417
18612 msgid "getxattrs"
18613 msgstr ""
18614
18615 # type: verbatim
18616 #: ../fish/guestfish-actions.pod:1419
18617 #, no-wrap
18618 msgid ""
18619 " getxattrs path\n"
18620 "\n"
18621 msgstr ""
18622
18623 # type: textblock
18624 #: ../fish/guestfish-actions.pod:1427
18625 msgid "See also: L</lgetxattrs>, L<attr(5)>."
18626 msgstr ""
18627
18628 # type: =head2
18629 #: ../fish/guestfish-actions.pod:1429
18630 msgid "glob-expand"
18631 msgstr ""
18632
18633 # type: verbatim
18634 #: ../fish/guestfish-actions.pod:1431
18635 #, no-wrap
18636 msgid ""
18637 " glob-expand pattern\n"
18638 "\n"
18639 msgstr ""
18640
18641 # type: =head2
18642 #: ../fish/guestfish-actions.pod:1444
18643 msgid "grep"
18644 msgstr ""
18645
18646 # type: verbatim
18647 #: ../fish/guestfish-actions.pod:1446
18648 #, no-wrap
18649 msgid ""
18650 " grep regex path\n"
18651 "\n"
18652 msgstr ""
18653
18654 # type: =head2
18655 #: ../fish/guestfish-actions.pod:1454
18656 msgid "grepi"
18657 msgstr ""
18658
18659 # type: verbatim
18660 #: ../fish/guestfish-actions.pod:1456
18661 #, no-wrap
18662 msgid ""
18663 " grepi regex path\n"
18664 "\n"
18665 msgstr ""
18666
18667 # type: =head2
18668 #: ../fish/guestfish-actions.pod:1464
18669 msgid "grub-install"
18670 msgstr ""
18671
18672 # type: verbatim
18673 #: ../fish/guestfish-actions.pod:1466
18674 #, no-wrap
18675 msgid ""
18676 " grub-install root device\n"
18677 "\n"
18678 msgstr ""
18679
18680 # type: =head2
18681 #: ../fish/guestfish-actions.pod:1482
18682 msgid "head"
18683 msgstr ""
18684
18685 # type: verbatim
18686 #: ../fish/guestfish-actions.pod:1484
18687 #, no-wrap
18688 msgid ""
18689 " head path\n"
18690 "\n"
18691 msgstr ""
18692
18693 # type: =head2
18694 #: ../fish/guestfish-actions.pod:1492
18695 msgid "head-n"
18696 msgstr ""
18697
18698 # type: verbatim
18699 #: ../fish/guestfish-actions.pod:1494
18700 #, no-wrap
18701 msgid ""
18702 " head-n nrlines path\n"
18703 "\n"
18704 msgstr ""
18705
18706 # type: =head2
18707 #: ../fish/guestfish-actions.pod:1507
18708 msgid "hexdump"
18709 msgstr ""
18710
18711 # type: verbatim
18712 #: ../fish/guestfish-actions.pod:1509
18713 #, no-wrap
18714 msgid ""
18715 " hexdump path\n"
18716 "\n"
18717 msgstr ""
18718
18719 # type: =head2
18720 #: ../fish/guestfish-actions.pod:1517
18721 msgid "initrd-cat"
18722 msgstr ""
18723
18724 # type: verbatim
18725 #: ../fish/guestfish-actions.pod:1519
18726 #, no-wrap
18727 msgid ""
18728 " initrd-cat initrdpath filename\n"
18729 "\n"
18730 msgstr ""
18731
18732 # type: textblock
18733 #: ../fish/guestfish-actions.pod:1531
18734 msgid "See also L</initrd-list>."
18735 msgstr ""
18736
18737 # type: =head2
18738 #: ../fish/guestfish-actions.pod:1536
18739 msgid "initrd-list"
18740 msgstr ""
18741
18742 # type: verbatim
18743 #: ../fish/guestfish-actions.pod:1538
18744 #, no-wrap
18745 msgid ""
18746 " initrd-list path\n"
18747 "\n"
18748 msgstr ""
18749
18750 # type: =head2
18751 #: ../fish/guestfish-actions.pod:1550
18752 msgid "inotify-add-watch"
18753 msgstr ""
18754
18755 # type: verbatim
18756 #: ../fish/guestfish-actions.pod:1552
18757 #, no-wrap
18758 msgid ""
18759 " inotify-add-watch path mask\n"
18760 "\n"
18761 msgstr ""
18762
18763 # type: =head2
18764 #: ../fish/guestfish-actions.pod:1564
18765 msgid "inotify-close"
18766 msgstr ""
18767
18768 # type: verbatim
18769 #: ../fish/guestfish-actions.pod:1566
18770 #, no-wrap
18771 msgid ""
18772 " inotify-close\n"
18773 "\n"
18774 msgstr ""
18775
18776 # type: =head2
18777 #: ../fish/guestfish-actions.pod:1572
18778 msgid "inotify-files"
18779 msgstr ""
18780
18781 # type: verbatim
18782 #: ../fish/guestfish-actions.pod:1574
18783 #, no-wrap
18784 msgid ""
18785 " inotify-files\n"
18786 "\n"
18787 msgstr ""
18788
18789 # type: textblock
18790 #: ../fish/guestfish-actions.pod:1576
18791 msgid ""
18792 "This function is a helpful wrapper around L</inotify-read> which just "
18793 "returns a list of pathnames of objects that were touched.  The returned "
18794 "pathnames are sorted and deduplicated."
18795 msgstr ""
18796
18797 # type: =head2
18798 #: ../fish/guestfish-actions.pod:1580
18799 msgid "inotify-init"
18800 msgstr ""
18801
18802 # type: verbatim
18803 #: ../fish/guestfish-actions.pod:1582
18804 #, no-wrap
18805 msgid ""
18806 " inotify-init maxevents\n"
18807 "\n"
18808 msgstr ""
18809
18810 # type: textblock
18811 #: ../fish/guestfish-actions.pod:1588
18812 msgid ""
18813 "C<maxevents> is the maximum number of events which will be queued up between "
18814 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
18815 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18816 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18817 "but records the fact that it threw them away by setting a flag "
18818 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
18819 msgstr ""
18820
18821 # type: textblock
18822 #: ../fish/guestfish-actions.pod:1598
18823 msgid ""
18824 "Before any events are generated, you have to add some watches to the "
18825 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
18826 "L</inotify-watch-all>."
18827 msgstr ""
18828
18829 # type: textblock
18830 #: ../fish/guestfish-actions.pod:1604
18831 msgid ""
18832 "Queued up events should be read periodically by calling L</inotify-read> (or "
18833 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
18834 "If you don't read the events out often enough then you risk the internal "
18835 "queue overflowing."
18836 msgstr ""
18837
18838 # type: textblock
18839 #: ../fish/guestfish-actions.pod:1611
18840 msgid ""
18841 "The handle should be closed after use by calling L</inotify-close>.  This "
18842 "also removes any watches automatically."
18843 msgstr ""
18844
18845 # type: =head2
18846 #: ../fish/guestfish-actions.pod:1620
18847 msgid "inotify-read"
18848 msgstr ""
18849
18850 # type: verbatim
18851 #: ../fish/guestfish-actions.pod:1622
18852 #, no-wrap
18853 msgid ""
18854 " inotify-read\n"
18855 "\n"
18856 msgstr ""
18857
18858 # type: =head2
18859 #: ../fish/guestfish-actions.pod:1635
18860 msgid "inotify-rm-watch"
18861 msgstr ""
18862
18863 # type: verbatim
18864 #: ../fish/guestfish-actions.pod:1637
18865 #, no-wrap
18866 msgid ""
18867 " inotify-rm-watch wd\n"
18868 "\n"
18869 msgstr ""
18870
18871 # type: textblock
18872 #: ../fish/guestfish-actions.pod:1639
18873 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
18874 msgstr ""
18875
18876 # type: =head2
18877 #: ../fish/guestfish-actions.pod:1642
18878 msgid "inspect-get-arch"
18879 msgstr ""
18880
18881 # type: verbatim
18882 #: ../fish/guestfish-actions.pod:1644
18883 #, no-wrap
18884 msgid ""
18885 " inspect-get-arch root\n"
18886 "\n"
18887 msgstr ""
18888
18889 # type: textblock
18890 #: ../fish/guestfish-actions.pod:1646 ../fish/guestfish-actions.pod:1662 ../fish/guestfish-actions.pod:1708 ../fish/guestfish-actions.pod:1726 ../fish/guestfish-actions.pod:1747 ../fish/guestfish-actions.pod:1762 ../fish/guestfish-actions.pod:1785 ../fish/guestfish-actions.pod:1802
18891 msgid ""
18892 "This function should only be called with a root device string as returned by "
18893 "L</inspect-os>."
18894 msgstr ""
18895
18896 # type: textblock
18897 #: ../fish/guestfish-actions.pod:1649
18898 msgid ""
18899 "This returns the architecture of the inspected operating system.  The "
18900 "possible return values are listed under L</file-architecture>."
18901 msgstr ""
18902
18903 # type: =head2
18904 #: ../fish/guestfish-actions.pod:1658
18905 msgid "inspect-get-distro"
18906 msgstr ""
18907
18908 # type: verbatim
18909 #: ../fish/guestfish-actions.pod:1660
18910 #, no-wrap
18911 msgid ""
18912 " inspect-get-distro root\n"
18913 "\n"
18914 msgstr ""
18915
18916 # type: =head2
18917 #: ../fish/guestfish-actions.pod:1704
18918 msgid "inspect-get-filesystems"
18919 msgstr ""
18920
18921 # type: verbatim
18922 #: ../fish/guestfish-actions.pod:1706
18923 #, no-wrap
18924 msgid ""
18925 " inspect-get-filesystems root\n"
18926 "\n"
18927 msgstr ""
18928
18929 # type: textblock
18930 #: ../fish/guestfish-actions.pod:1719
18931 msgid ""
18932 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18933 "L</inspect-get-mountpoints>."
18934 msgstr ""
18935
18936 # type: =head2
18937 #: ../fish/guestfish-actions.pod:1722
18938 msgid "inspect-get-major-version"
18939 msgstr ""
18940
18941 # type: verbatim
18942 #: ../fish/guestfish-actions.pod:1724
18943 #, no-wrap
18944 msgid ""
18945 " inspect-get-major-version root\n"
18946 "\n"
18947 msgstr ""
18948
18949 # type: =head2
18950 #: ../fish/guestfish-actions.pod:1743
18951 msgid "inspect-get-minor-version"
18952 msgstr ""
18953
18954 # type: verbatim
18955 #: ../fish/guestfish-actions.pod:1745
18956 #, no-wrap
18957 msgid ""
18958 " inspect-get-minor-version root\n"
18959 "\n"
18960 msgstr ""
18961
18962 # type: textblock
18963 #: ../fish/guestfish-actions.pod:1755
18964 msgid ""
18965 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18966 "L</inspect-get-major-version>."
18967 msgstr ""
18968
18969 # type: =head2
18970 #: ../fish/guestfish-actions.pod:1758
18971 msgid "inspect-get-mountpoints"
18972 msgstr ""
18973
18974 # type: verbatim
18975 #: ../fish/guestfish-actions.pod:1760
18976 #, no-wrap
18977 msgid ""
18978 " inspect-get-mountpoints root\n"
18979 "\n"
18980 msgstr ""
18981
18982 # type: textblock
18983 #: ../fish/guestfish-actions.pod:1778
18984 msgid ""
18985 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18986 "L</inspect-get-filesystems>."
18987 msgstr ""
18988
18989 # type: =head2
18990 #: ../fish/guestfish-actions.pod:1781
18991 msgid "inspect-get-product-name"
18992 msgstr ""
18993
18994 # type: verbatim
18995 #: ../fish/guestfish-actions.pod:1783
18996 #, no-wrap
18997 msgid ""
18998 " inspect-get-product-name root\n"
18999 "\n"
19000 msgstr ""
19001
19002 # type: =head2
19003 #: ../fish/guestfish-actions.pod:1798
19004 msgid "inspect-get-type"
19005 msgstr ""
19006
19007 # type: verbatim
19008 #: ../fish/guestfish-actions.pod:1800
19009 #, no-wrap
19010 msgid ""
19011 " inspect-get-type root\n"
19012 "\n"
19013 msgstr ""
19014
19015 # type: =head2
19016 #: ../fish/guestfish-actions.pod:1829
19017 msgid "inspect-os"
19018 msgstr ""
19019
19020 # type: verbatim
19021 #: ../fish/guestfish-actions.pod:1831
19022 #, no-wrap
19023 msgid ""
19024 " inspect-os\n"
19025 "\n"
19026 msgstr ""
19027
19028 # type: textblock
19029 #: ../fish/guestfish-actions.pod:1846
19030 msgid ""
19031 "You can pass the root string(s) returned to other L</inspect-get-*> "
19032 "functions in order to query further information about each operating system, "
19033 "such as the name and version."
19034 msgstr ""
19035
19036 # type: textblock
19037 #: ../fish/guestfish-actions.pod:1851
19038 msgid ""
19039 "This function uses other libguestfs features such as L</mount-ro> and "
19040 "L</umount-all> in order to mount and unmount filesystems and look at the "
19041 "contents.  This should be called with no disks currently mounted.  The "
19042 "function may also use Augeas, so any existing Augeas handle will be closed."
19043 msgstr ""
19044
19045 # type: textblock
19046 #: ../fish/guestfish-actions.pod:1863 ../fish/guestfish-actions.pod:2019 ../fish/guestfish-actions.pod:2065
19047 msgid "See also L</list-filesystems>."
19048 msgstr ""
19049
19050 # type: =head2
19051 #: ../fish/guestfish-actions.pod:1865
19052 msgid "is-blockdev"
19053 msgstr ""
19054
19055 # type: verbatim
19056 #: ../fish/guestfish-actions.pod:1867
19057 #, no-wrap
19058 msgid ""
19059 " is-blockdev path\n"
19060 "\n"
19061 msgstr ""
19062
19063 # type: textblock
19064 #: ../fish/guestfish-actions.pod:1872 ../fish/guestfish-actions.pod:1890 ../fish/guestfish-actions.pod:1909 ../fish/guestfish-actions.pod:1918 ../fish/guestfish-actions.pod:1928 ../fish/guestfish-actions.pod:1962 ../fish/guestfish-actions.pod:1971
19065 msgid "See also L</stat>."
19066 msgstr ""
19067
19068 # type: =head2
19069 #: ../fish/guestfish-actions.pod:1874
19070 msgid "is-busy"
19071 msgstr ""
19072
19073 # type: verbatim
19074 #: ../fish/guestfish-actions.pod:1876
19075 #, no-wrap
19076 msgid ""
19077 " is-busy\n"
19078 "\n"
19079 msgstr ""
19080
19081 # type: =head2
19082 #: ../fish/guestfish-actions.pod:1883
19083 msgid "is-chardev"
19084 msgstr ""
19085
19086 # type: verbatim
19087 #: ../fish/guestfish-actions.pod:1885
19088 #, no-wrap
19089 msgid ""
19090 " is-chardev path\n"
19091 "\n"
19092 msgstr ""
19093
19094 # type: =head2
19095 #: ../fish/guestfish-actions.pod:1892
19096 msgid "is-config"
19097 msgstr ""
19098
19099 # type: verbatim
19100 #: ../fish/guestfish-actions.pod:1894
19101 #, no-wrap
19102 msgid ""
19103 " is-config\n"
19104 "\n"
19105 msgstr ""
19106
19107 # type: =head2
19108 #: ../fish/guestfish-actions.pod:1901
19109 msgid "is-dir"
19110 msgstr ""
19111
19112 # type: verbatim
19113 #: ../fish/guestfish-actions.pod:1903
19114 #, no-wrap
19115 msgid ""
19116 " is-dir path\n"
19117 "\n"
19118 msgstr ""
19119
19120 # type: =head2
19121 #: ../fish/guestfish-actions.pod:1911
19122 msgid "is-fifo"
19123 msgstr ""
19124
19125 # type: verbatim
19126 #: ../fish/guestfish-actions.pod:1913
19127 #, no-wrap
19128 msgid ""
19129 " is-fifo path\n"
19130 "\n"
19131 msgstr ""
19132
19133 # type: =head2
19134 #: ../fish/guestfish-actions.pod:1920
19135 msgid "is-file"
19136 msgstr ""
19137
19138 # type: verbatim
19139 #: ../fish/guestfish-actions.pod:1922
19140 #, no-wrap
19141 msgid ""
19142 " is-file path\n"
19143 "\n"
19144 msgstr ""
19145
19146 # type: =head2
19147 #: ../fish/guestfish-actions.pod:1930
19148 msgid "is-launching"
19149 msgstr ""
19150
19151 # type: verbatim
19152 #: ../fish/guestfish-actions.pod:1932
19153 #, no-wrap
19154 msgid ""
19155 " is-launching\n"
19156 "\n"
19157 msgstr ""
19158
19159 # type: =head2
19160 #: ../fish/guestfish-actions.pod:1939
19161 msgid "is-lv"
19162 msgstr ""
19163
19164 # type: verbatim
19165 #: ../fish/guestfish-actions.pod:1941
19166 #, no-wrap
19167 msgid ""
19168 " is-lv device\n"
19169 "\n"
19170 msgstr ""
19171
19172 # type: =head2
19173 #: ../fish/guestfish-actions.pod:1946
19174 msgid "is-ready"
19175 msgstr ""
19176
19177 # type: verbatim
19178 #: ../fish/guestfish-actions.pod:1948
19179 #, no-wrap
19180 msgid ""
19181 " is-ready\n"
19182 "\n"
19183 msgstr ""
19184
19185 # type: =head2
19186 #: ../fish/guestfish-actions.pod:1955
19187 msgid "is-socket"
19188 msgstr ""
19189
19190 # type: verbatim
19191 #: ../fish/guestfish-actions.pod:1957
19192 #, no-wrap
19193 msgid ""
19194 " is-socket path\n"
19195 "\n"
19196 msgstr ""
19197
19198 # type: =head2
19199 #: ../fish/guestfish-actions.pod:1964
19200 msgid "is-symlink"
19201 msgstr ""
19202
19203 # type: verbatim
19204 #: ../fish/guestfish-actions.pod:1966
19205 #, no-wrap
19206 msgid ""
19207 " is-symlink path\n"
19208 "\n"
19209 msgstr ""
19210
19211 # type: =head2
19212 #: ../fish/guestfish-actions.pod:1973
19213 msgid "kill-subprocess"
19214 msgstr ""
19215
19216 # type: verbatim
19217 #: ../fish/guestfish-actions.pod:1975
19218 #, no-wrap
19219 msgid ""
19220 " kill-subprocess\n"
19221 "\n"
19222 msgstr ""
19223
19224 # type: =head2
19225 #: ../fish/guestfish-actions.pod:1979
19226 msgid "launch"
19227 msgstr ""
19228
19229 # type: =head2
19230 #: ../fish/guestfish-actions.pod:1981
19231 msgid "run"
19232 msgstr ""
19233
19234 # type: verbatim
19235 #: ../fish/guestfish-actions.pod:1983
19236 #, no-wrap
19237 msgid ""
19238 " launch\n"
19239 "\n"
19240 msgstr ""
19241
19242 # type: =head2
19243 #: ../fish/guestfish-actions.pod:1991
19244 msgid "lchown"
19245 msgstr ""
19246
19247 # type: verbatim
19248 #: ../fish/guestfish-actions.pod:1993
19249 #, no-wrap
19250 msgid ""
19251 " lchown owner group path\n"
19252 "\n"
19253 msgstr ""
19254
19255 # type: textblock
19256 #: ../fish/guestfish-actions.pod:1995
19257 msgid ""
19258 "Change the file owner to C<owner> and group to C<group>.  This is like "
19259 "L</chown> but if C<path> is a symlink then the link itself is changed, not "
19260 "the target."
19261 msgstr ""
19262
19263 # type: =head2
19264 #: ../fish/guestfish-actions.pod:2003
19265 msgid "lgetxattrs"
19266 msgstr ""
19267
19268 # type: verbatim
19269 #: ../fish/guestfish-actions.pod:2005
19270 #, no-wrap
19271 msgid ""
19272 " lgetxattrs path\n"
19273 "\n"
19274 msgstr ""
19275
19276 # type: textblock
19277 #: ../fish/guestfish-actions.pod:2007
19278 msgid ""
19279 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
19280 "it returns the extended attributes of the link itself."
19281 msgstr ""
19282
19283 # type: =head2
19284 #: ../fish/guestfish-actions.pod:2011
19285 msgid "list-devices"
19286 msgstr ""
19287
19288 # type: verbatim
19289 #: ../fish/guestfish-actions.pod:2013
19290 #, no-wrap
19291 msgid ""
19292 " list-devices\n"
19293 "\n"
19294 msgstr ""
19295
19296 # type: =head2
19297 #: ../fish/guestfish-actions.pod:2021
19298 msgid "list-filesystems"
19299 msgstr ""
19300
19301 # type: verbatim
19302 #: ../fish/guestfish-actions.pod:2023
19303 #, no-wrap
19304 msgid ""
19305 " list-filesystems\n"
19306 "\n"
19307 msgstr ""
19308
19309 # type: textblock
19310 #: ../fish/guestfish-actions.pod:2042
19311 msgid ""
19312 "This command runs other libguestfs commands, which might include L</mount> "
19313 "and L</umount>, and therefore you should use this soon after launch and only "
19314 "when nothing is mounted."
19315 msgstr ""
19316
19317 # type: textblock
19318 #: ../fish/guestfish-actions.pod:2046
19319 msgid ""
19320 "Not all of the filesystems returned will be mountable.  In particular, swap "
19321 "partitions are returned in the list.  Also this command does not check that "
19322 "each filesystem found is valid and mountable, and some filesystems might be "
19323 "mountable but require special options.  Filesystems may not all belong to a "
19324 "single logical operating system (use L</inspect-os> to look for OSes)."
19325 msgstr ""
19326
19327 # type: =head2
19328 #: ../fish/guestfish-actions.pod:2054
19329 msgid "list-partitions"
19330 msgstr ""
19331
19332 # type: verbatim
19333 #: ../fish/guestfish-actions.pod:2056
19334 #, no-wrap
19335 msgid ""
19336 " list-partitions\n"
19337 "\n"
19338 msgstr ""
19339
19340 # type: textblock
19341 #: ../fish/guestfish-actions.pod:2062
19342 msgid ""
19343 "This does not return logical volumes.  For that you will need to call "
19344 "L</lvs>."
19345 msgstr ""
19346
19347 # type: =head2
19348 #: ../fish/guestfish-actions.pod:2067
19349 msgid "ll"
19350 msgstr ""
19351
19352 # type: verbatim
19353 #: ../fish/guestfish-actions.pod:2069
19354 #, no-wrap
19355 msgid ""
19356 " ll directory\n"
19357 "\n"
19358 msgstr ""
19359
19360 # type: =head2
19361 #: ../fish/guestfish-actions.pod:2077
19362 msgid "ln"
19363 msgstr ""
19364
19365 # type: verbatim
19366 #: ../fish/guestfish-actions.pod:2079
19367 #, no-wrap
19368 msgid ""
19369 " ln target linkname\n"
19370 "\n"
19371 msgstr ""
19372
19373 # type: =head2
19374 #: ../fish/guestfish-actions.pod:2083
19375 msgid "ln-f"
19376 msgstr ""
19377
19378 # type: verbatim
19379 #: ../fish/guestfish-actions.pod:2085
19380 #, no-wrap
19381 msgid ""
19382 " ln-f target linkname\n"
19383 "\n"
19384 msgstr ""
19385
19386 # type: =head2
19387 #: ../fish/guestfish-actions.pod:2090
19388 msgid "ln-s"
19389 msgstr ""
19390
19391 # type: verbatim
19392 #: ../fish/guestfish-actions.pod:2092
19393 #, no-wrap
19394 msgid ""
19395 " ln-s target linkname\n"
19396 "\n"
19397 msgstr ""
19398
19399 # type: =head2
19400 #: ../fish/guestfish-actions.pod:2096
19401 msgid "ln-sf"
19402 msgstr ""
19403
19404 # type: verbatim
19405 #: ../fish/guestfish-actions.pod:2098
19406 #, no-wrap
19407 msgid ""
19408 " ln-sf target linkname\n"
19409 "\n"
19410 msgstr ""
19411
19412 # type: =head2
19413 #: ../fish/guestfish-actions.pod:2103
19414 msgid "lremovexattr"
19415 msgstr ""
19416
19417 # type: verbatim
19418 #: ../fish/guestfish-actions.pod:2105
19419 #, no-wrap
19420 msgid ""
19421 " lremovexattr xattr path\n"
19422 "\n"
19423 msgstr ""
19424
19425 # type: textblock
19426 #: ../fish/guestfish-actions.pod:2107
19427 msgid ""
19428 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
19429 "it removes an extended attribute of the link itself."
19430 msgstr ""
19431
19432 # type: =head2
19433 #: ../fish/guestfish-actions.pod:2111
19434 msgid "ls"
19435 msgstr ""
19436
19437 # type: verbatim
19438 #: ../fish/guestfish-actions.pod:2113
19439 #, no-wrap
19440 msgid ""
19441 " ls directory\n"
19442 "\n"
19443 msgstr ""
19444
19445 # type: textblock
19446 #: ../fish/guestfish-actions.pod:2119
19447 msgid ""
19448 "This command is mostly useful for interactive sessions.  Programs should "
19449 "probably use L</readdir> instead."
19450 msgstr ""
19451
19452 # type: =head2
19453 #: ../fish/guestfish-actions.pod:2122
19454 msgid "lsetxattr"
19455 msgstr ""
19456
19457 # type: verbatim
19458 #: ../fish/guestfish-actions.pod:2124
19459 #, no-wrap
19460 msgid ""
19461 " lsetxattr xattr val vallen path\n"
19462 "\n"
19463 msgstr ""
19464
19465 # type: textblock
19466 #: ../fish/guestfish-actions.pod:2126
19467 msgid ""
19468 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
19469 "sets an extended attribute of the link itself."
19470 msgstr ""
19471
19472 # type: =head2
19473 #: ../fish/guestfish-actions.pod:2130
19474 msgid "lstat"
19475 msgstr ""
19476
19477 # type: verbatim
19478 #: ../fish/guestfish-actions.pod:2132
19479 #, no-wrap
19480 msgid ""
19481 " lstat path\n"
19482 "\n"
19483 msgstr ""
19484
19485 # type: textblock
19486 #: ../fish/guestfish-actions.pod:2136
19487 msgid ""
19488 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
19489 "the link is stat-ed, not the file it refers to."
19490 msgstr ""
19491
19492 # type: =head2
19493 #: ../fish/guestfish-actions.pod:2142
19494 msgid "lstatlist"
19495 msgstr ""
19496
19497 # type: verbatim
19498 #: ../fish/guestfish-actions.pod:2144
19499 #, no-wrap
19500 msgid ""
19501 " lstatlist path 'names ...'\n"
19502 "\n"
19503 msgstr ""
19504
19505 # type: textblock
19506 #: ../fish/guestfish-actions.pod:2146
19507 msgid ""
19508 "This call allows you to perform the L</lstat> operation on multiple files, "
19509 "where all files are in the directory C<path>.  C<names> is the list of files "
19510 "from this directory."
19511 msgstr ""
19512
19513 # type: textblock
19514 #: ../fish/guestfish-actions.pod:2155
19515 msgid ""
19516 "This call is intended for programs that want to efficiently list a directory "
19517 "contents without making many round-trips.  See also L</lxattrlist> for a "
19518 "similarly efficient call for getting extended attributes.  Very long "
19519 "directory listings might cause the protocol message size to be exceeded, "
19520 "causing this call to fail.  The caller must split up such requests into "
19521 "smaller groups of names."
19522 msgstr ""
19523
19524 # type: =head2
19525 #: ../fish/guestfish-actions.pod:2163
19526 msgid "luks-add-key"
19527 msgstr ""
19528
19529 # type: verbatim
19530 #: ../fish/guestfish-actions.pod:2165
19531 #, no-wrap
19532 msgid ""
19533 " luks-add-key device keyslot\n"
19534 "\n"
19535 msgstr ""
19536
19537 # type: textblock
19538 #: ../fish/guestfish-actions.pod:2172
19539 msgid ""
19540 "Note that if C<keyslot> already contains a key, then this command will "
19541 "fail.  You have to use L</luks-kill-slot> first to remove that key."
19542 msgstr ""
19543
19544 # type: textblock
19545 #: ../fish/guestfish-actions.pod:2176 ../fish/guestfish-actions.pod:2198 ../fish/guestfish-actions.pod:2211 ../fish/guestfish-actions.pod:2225 ../fish/guestfish-actions.pod:2248 ../fish/guestfish-actions.pod:2258
19546 msgid ""
19547 "This command has one or more key or passphrase parameters.  Guestfish will "
19548 "prompt for these separately."
19549 msgstr ""
19550
19551 # type: =head2
19552 #: ../fish/guestfish-actions.pod:2179
19553 msgid "luks-close"
19554 msgstr ""
19555
19556 # type: verbatim
19557 #: ../fish/guestfish-actions.pod:2181
19558 #, no-wrap
19559 msgid ""
19560 " luks-close device\n"
19561 "\n"
19562 msgstr ""
19563
19564 # type: textblock
19565 #: ../fish/guestfish-actions.pod:2183
19566 msgid ""
19567 "This closes a LUKS device that was created earlier by L</luks-open> or "
19568 "L</luks-open-ro>.  The C<device> parameter must be the name of the LUKS "
19569 "mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
19570 "underlying block device."
19571 msgstr ""
19572
19573 # type: =head2
19574 #: ../fish/guestfish-actions.pod:2189
19575 msgid "luks-format"
19576 msgstr ""
19577
19578 # type: verbatim
19579 #: ../fish/guestfish-actions.pod:2191
19580 #, no-wrap
19581 msgid ""
19582 " luks-format device keyslot\n"
19583 "\n"
19584 msgstr ""
19585
19586 # type: =head2
19587 #: ../fish/guestfish-actions.pod:2204
19588 msgid "luks-format-cipher"
19589 msgstr ""
19590
19591 # type: verbatim
19592 #: ../fish/guestfish-actions.pod:2206
19593 #, no-wrap
19594 msgid ""
19595 " luks-format-cipher device keyslot cipher\n"
19596 "\n"
19597 msgstr ""
19598
19599 # type: textblock
19600 #: ../fish/guestfish-actions.pod:2208
19601 msgid ""
19602 "This command is the same as L</luks-format> but it also allows you to set "
19603 "the C<cipher> used."
19604 msgstr ""
19605
19606 # type: =head2
19607 #: ../fish/guestfish-actions.pod:2217
19608 msgid "luks-kill-slot"
19609 msgstr ""
19610
19611 # type: verbatim
19612 #: ../fish/guestfish-actions.pod:2219
19613 #, no-wrap
19614 msgid ""
19615 " luks-kill-slot device keyslot\n"
19616 "\n"
19617 msgstr ""
19618
19619 # type: =head2
19620 #: ../fish/guestfish-actions.pod:2228
19621 msgid "luks-open"
19622 msgstr ""
19623
19624 # type: verbatim
19625 #: ../fish/guestfish-actions.pod:2230
19626 #, no-wrap
19627 msgid ""
19628 " luks-open device mapname\n"
19629 "\n"
19630 msgstr ""
19631
19632 # type: textblock
19633 #: ../fish/guestfish-actions.pod:2244
19634 msgid ""
19635 "If this block device contains LVM volume groups, then calling L</vgscan> "
19636 "followed by L</vg-activate-all> will make them visible."
19637 msgstr ""
19638
19639 # type: =head2
19640 #: ../fish/guestfish-actions.pod:2251
19641 msgid "luks-open-ro"
19642 msgstr ""
19643
19644 # type: verbatim
19645 #: ../fish/guestfish-actions.pod:2253
19646 #, no-wrap
19647 msgid ""
19648 " luks-open-ro device mapname\n"
19649 "\n"
19650 msgstr ""
19651
19652 # type: textblock
19653 #: ../fish/guestfish-actions.pod:2255
19654 msgid ""
19655 "This is the same as L</luks-open> except that a read-only mapping is "
19656 "created."
19657 msgstr ""
19658
19659 # type: =head2
19660 #: ../fish/guestfish-actions.pod:2261
19661 msgid "lvcreate"
19662 msgstr ""
19663
19664 # type: verbatim
19665 #: ../fish/guestfish-actions.pod:2263
19666 #, no-wrap
19667 msgid ""
19668 " lvcreate logvol volgroup mbytes\n"
19669 "\n"
19670 msgstr ""
19671
19672 # type: =head2
19673 #: ../fish/guestfish-actions.pod:2268
19674 msgid "lvm-canonical-lv-name"
19675 msgstr ""
19676
19677 # type: verbatim
19678 #: ../fish/guestfish-actions.pod:2270
19679 #, no-wrap
19680 msgid ""
19681 " lvm-canonical-lv-name lvname\n"
19682 "\n"
19683 msgstr ""
19684
19685 # type: textblock
19686 #: ../fish/guestfish-actions.pod:2279
19687 msgid "See also L</is-lv>."
19688 msgstr ""
19689
19690 # type: =head2
19691 #: ../fish/guestfish-actions.pod:2281
19692 msgid "lvm-clear-filter"
19693 msgstr ""
19694
19695 # type: verbatim
19696 #: ../fish/guestfish-actions.pod:2283
19697 #, no-wrap
19698 msgid ""
19699 " lvm-clear-filter\n"
19700 "\n"
19701 msgstr ""
19702
19703 # type: textblock
19704 #: ../fish/guestfish-actions.pod:2285
19705 msgid ""
19706 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
19707 "block device."
19708 msgstr ""
19709
19710 # type: =head2
19711 #: ../fish/guestfish-actions.pod:2291
19712 msgid "lvm-remove-all"
19713 msgstr ""
19714
19715 # type: verbatim
19716 #: ../fish/guestfish-actions.pod:2293
19717 #, no-wrap
19718 msgid ""
19719 " lvm-remove-all\n"
19720 "\n"
19721 msgstr ""
19722
19723 # type: =head2
19724 #: ../fish/guestfish-actions.pod:2301
19725 msgid "lvm-set-filter"
19726 msgstr ""
19727
19728 # type: verbatim
19729 #: ../fish/guestfish-actions.pod:2303
19730 #, no-wrap
19731 msgid ""
19732 " lvm-set-filter 'devices ...'\n"
19733 "\n"
19734 msgstr ""
19735
19736 # type: =head2
19737 #: ../fish/guestfish-actions.pod:2328
19738 msgid "lvremove"
19739 msgstr ""
19740
19741 # type: verbatim
19742 #: ../fish/guestfish-actions.pod:2330
19743 #, no-wrap
19744 msgid ""
19745 " lvremove device\n"
19746 "\n"
19747 msgstr ""
19748
19749 # type: =head2
19750 #: ../fish/guestfish-actions.pod:2338
19751 msgid "lvrename"
19752 msgstr ""
19753
19754 # type: verbatim
19755 #: ../fish/guestfish-actions.pod:2340
19756 #, no-wrap
19757 msgid ""
19758 " lvrename logvol newlogvol\n"
19759 "\n"
19760 msgstr ""
19761
19762 # type: =head2
19763 #: ../fish/guestfish-actions.pod:2344
19764 msgid "lvresize"
19765 msgstr ""
19766
19767 # type: verbatim
19768 #: ../fish/guestfish-actions.pod:2346
19769 #, no-wrap
19770 msgid ""
19771 " lvresize device mbytes\n"
19772 "\n"
19773 msgstr ""
19774
19775 # type: =head2
19776 #: ../fish/guestfish-actions.pod:2352
19777 msgid "lvresize-free"
19778 msgstr ""
19779
19780 # type: verbatim
19781 #: ../fish/guestfish-actions.pod:2354
19782 #, no-wrap
19783 msgid ""
19784 " lvresize-free lv percent\n"
19785 "\n"
19786 msgstr ""
19787
19788 # type: =head2
19789 #: ../fish/guestfish-actions.pod:2362
19790 msgid "lvs"
19791 msgstr ""
19792
19793 # type: verbatim
19794 #: ../fish/guestfish-actions.pod:2364
19795 #, no-wrap
19796 msgid ""
19797 " lvs\n"
19798 "\n"
19799 msgstr ""
19800
19801 # type: textblock
19802 #: ../fish/guestfish-actions.pod:2372
19803 msgid "See also L</lvs-full>, L</list-filesystems>."
19804 msgstr ""
19805
19806 # type: =head2
19807 #: ../fish/guestfish-actions.pod:2374
19808 msgid "lvs-full"
19809 msgstr ""
19810
19811 # type: verbatim
19812 #: ../fish/guestfish-actions.pod:2376
19813 #, no-wrap
19814 msgid ""
19815 " lvs-full\n"
19816 "\n"
19817 msgstr ""
19818
19819 # type: =head2
19820 #: ../fish/guestfish-actions.pod:2381
19821 msgid "lvuuid"
19822 msgstr ""
19823
19824 # type: verbatim
19825 #: ../fish/guestfish-actions.pod:2383
19826 #, no-wrap
19827 msgid ""
19828 " lvuuid device\n"
19829 "\n"
19830 msgstr ""
19831
19832 # type: =head2
19833 #: ../fish/guestfish-actions.pod:2387
19834 msgid "lxattrlist"
19835 msgstr ""
19836
19837 # type: verbatim
19838 #: ../fish/guestfish-actions.pod:2389
19839 #, no-wrap
19840 msgid ""
19841 " lxattrlist path 'names ...'\n"
19842 "\n"
19843 msgstr ""
19844
19845 # type: textblock
19846 #: ../fish/guestfish-actions.pod:2405
19847 msgid ""
19848 "This call is intended for programs that want to efficiently list a directory "
19849 "contents without making many round-trips.  See also L</lstatlist> for a "
19850 "similarly efficient call for getting standard stats.  Very long directory "
19851 "listings might cause the protocol message size to be exceeded, causing this "
19852 "call to fail.  The caller must split up such requests into smaller groups of "
19853 "names."
19854 msgstr ""
19855
19856 # type: =head2
19857 #: ../fish/guestfish-actions.pod:2413
19858 msgid "mkdir"
19859 msgstr ""
19860
19861 # type: verbatim
19862 #: ../fish/guestfish-actions.pod:2415
19863 #, no-wrap
19864 msgid ""
19865 " mkdir path\n"
19866 "\n"
19867 msgstr ""
19868
19869 # type: =head2
19870 #: ../fish/guestfish-actions.pod:2419
19871 msgid "mkdir-mode"
19872 msgstr ""
19873
19874 # type: verbatim
19875 #: ../fish/guestfish-actions.pod:2421
19876 #, no-wrap
19877 msgid ""
19878 " mkdir-mode path mode\n"
19879 "\n"
19880 msgstr ""
19881
19882 # type: textblock
19883 #: ../fish/guestfish-actions.pod:2430
19884 msgid "See also L</mkdir>, L</umask>"
19885 msgstr ""
19886
19887 # type: =head2
19888 #: ../fish/guestfish-actions.pod:2432
19889 msgid "mkdir-p"
19890 msgstr ""
19891
19892 # type: verbatim
19893 #: ../fish/guestfish-actions.pod:2434
19894 #, no-wrap
19895 msgid ""
19896 " mkdir-p path\n"
19897 "\n"
19898 msgstr ""
19899
19900 # type: =head2
19901 #: ../fish/guestfish-actions.pod:2439
19902 msgid "mkdtemp"
19903 msgstr ""
19904
19905 # type: verbatim
19906 #: ../fish/guestfish-actions.pod:2441
19907 #, no-wrap
19908 msgid ""
19909 " mkdtemp template\n"
19910 "\n"
19911 msgstr ""
19912
19913 # type: =head2
19914 #: ../fish/guestfish-actions.pod:2462
19915 msgid "mke2fs-J"
19916 msgstr ""
19917
19918 # type: verbatim
19919 #: ../fish/guestfish-actions.pod:2464
19920 #, no-wrap
19921 msgid ""
19922 " mke2fs-J fstype blocksize device journal\n"
19923 "\n"
19924 msgstr ""
19925
19926 # type: textblock
19927 #: ../fish/guestfish-actions.pod:2472
19928 msgid "See also L</mke2journal>."
19929 msgstr ""
19930
19931 # type: =head2
19932 #: ../fish/guestfish-actions.pod:2474
19933 msgid "mke2fs-JL"
19934 msgstr ""
19935
19936 # type: verbatim
19937 #: ../fish/guestfish-actions.pod:2476
19938 #, no-wrap
19939 msgid ""
19940 " mke2fs-JL fstype blocksize device label\n"
19941 "\n"
19942 msgstr ""
19943
19944 # type: textblock
19945 #: ../fish/guestfish-actions.pod:2481
19946 msgid "See also L</mke2journal-L>."
19947 msgstr ""
19948
19949 # type: =head2
19950 #: ../fish/guestfish-actions.pod:2483
19951 msgid "mke2fs-JU"
19952 msgstr ""
19953
19954 # type: verbatim
19955 #: ../fish/guestfish-actions.pod:2485
19956 #, no-wrap
19957 msgid ""
19958 " mke2fs-JU fstype blocksize device uuid\n"
19959 "\n"
19960 msgstr ""
19961
19962 # type: textblock
19963 #: ../fish/guestfish-actions.pod:2490
19964 msgid "See also L</mke2journal-U>."
19965 msgstr ""
19966
19967 # type: =head2
19968 #: ../fish/guestfish-actions.pod:2492
19969 msgid "mke2journal"
19970 msgstr ""
19971
19972 # type: verbatim
19973 #: ../fish/guestfish-actions.pod:2494
19974 #, no-wrap
19975 msgid ""
19976 " mke2journal blocksize device\n"
19977 "\n"
19978 msgstr ""
19979
19980 # type: =head2
19981 #: ../fish/guestfish-actions.pod:2501
19982 msgid "mke2journal-L"
19983 msgstr ""
19984
19985 # type: verbatim
19986 #: ../fish/guestfish-actions.pod:2503
19987 #, no-wrap
19988 msgid ""
19989 " mke2journal-L blocksize label device\n"
19990 "\n"
19991 msgstr ""
19992
19993 # type: =head2
19994 #: ../fish/guestfish-actions.pod:2507
19995 msgid "mke2journal-U"
19996 msgstr ""
19997
19998 # type: verbatim
19999 #: ../fish/guestfish-actions.pod:2509
20000 #, no-wrap
20001 msgid ""
20002 " mke2journal-U blocksize uuid device\n"
20003 "\n"
20004 msgstr ""
20005
20006 # type: =head2
20007 #: ../fish/guestfish-actions.pod:2513
20008 msgid "mkfifo"
20009 msgstr ""
20010
20011 # type: verbatim
20012 #: ../fish/guestfish-actions.pod:2515
20013 #, no-wrap
20014 msgid ""
20015 " mkfifo mode path\n"
20016 "\n"
20017 msgstr ""
20018
20019 # type: textblock
20020 #: ../fish/guestfish-actions.pod:2517
20021 msgid ""
20022 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
20023 "is just a convenient wrapper around L</mknod>."
20024 msgstr ""
20025
20026 # type: =head2
20027 #: ../fish/guestfish-actions.pod:2523
20028 msgid "mkfs"
20029 msgstr ""
20030
20031 # type: verbatim
20032 #: ../fish/guestfish-actions.pod:2525
20033 #, no-wrap
20034 msgid ""
20035 " mkfs fstype device\n"
20036 "\n"
20037 msgstr ""
20038
20039 # type: =head2
20040 #: ../fish/guestfish-actions.pod:2531
20041 msgid "mkfs-b"
20042 msgstr ""
20043
20044 # type: verbatim
20045 #: ../fish/guestfish-actions.pod:2533
20046 #, no-wrap
20047 msgid ""
20048 " mkfs-b fstype blocksize device\n"
20049 "\n"
20050 msgstr ""
20051
20052 # type: textblock
20053 #: ../fish/guestfish-actions.pod:2535
20054 msgid ""
20055 "This call is similar to L</mkfs>, but it allows you to control the block "
20056 "size of the resulting filesystem.  Supported block sizes depend on the "
20057 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
20058 msgstr ""
20059
20060 # type: =head2
20061 #: ../fish/guestfish-actions.pod:2543
20062 msgid "mkmountpoint"
20063 msgstr ""
20064
20065 # type: verbatim
20066 #: ../fish/guestfish-actions.pod:2545
20067 #, no-wrap
20068 msgid ""
20069 " mkmountpoint exemptpath\n"
20070 "\n"
20071 msgstr ""
20072
20073 # type: textblock
20074 #: ../fish/guestfish-actions.pod:2547
20075 msgid ""
20076 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
20077 "to create extra mountpoints before mounting the first filesystem."
20078 msgstr ""
20079
20080 # type: textblock
20081 #: ../fish/guestfish-actions.pod:2571
20082 msgid ""
20083 "L</mkmountpoint> is not compatible with L</umount-all>.  You may get "
20084 "unexpected errors if you try to mix these calls.  It is safest to manually "
20085 "unmount filesystems and remove mountpoints after use."
20086 msgstr ""
20087
20088 # type: textblock
20089 #: ../fish/guestfish-actions.pod:2575
20090 msgid ""
20091 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
20092 "for this to work for manual mountpoints, you must ensure that the innermost "
20093 "mountpoints have the longest pathnames, as in the example code above."
20094 msgstr ""
20095
20096 # type: textblock
20097 #: ../fish/guestfish-actions.pod:2582
20098 msgid ""
20099 "Autosync [see L</set-autosync>, this is set by default on handles] means "
20100 "that L</umount-all> is called when the handle is closed which can also "
20101 "trigger these issues."
20102 msgstr ""
20103
20104 # type: =head2
20105 #: ../fish/guestfish-actions.pod:2586
20106 msgid "mknod"
20107 msgstr ""
20108
20109 # type: verbatim
20110 #: ../fish/guestfish-actions.pod:2588
20111 #, no-wrap
20112 msgid ""
20113 " mknod mode devmajor devminor path\n"
20114 "\n"
20115 msgstr ""
20116
20117 # type: textblock
20118 #: ../fish/guestfish-actions.pod:2598
20119 msgid ""
20120 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
20121 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
20122 "regular file).  These constants are available in the standard Linux header "
20123 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
20124 "wrappers around this command which bitwise OR in the appropriate constant "
20125 "for you."
20126 msgstr ""
20127
20128 # type: =head2
20129 #: ../fish/guestfish-actions.pod:2608
20130 msgid "mknod-b"
20131 msgstr ""
20132
20133 # type: verbatim
20134 #: ../fish/guestfish-actions.pod:2610
20135 #, no-wrap
20136 msgid ""
20137 " mknod-b mode devmajor devminor path\n"
20138 "\n"
20139 msgstr ""
20140
20141 # type: textblock
20142 #: ../fish/guestfish-actions.pod:2612
20143 msgid ""
20144 "This call creates a block device node called C<path> with mode C<mode> and "
20145 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
20146 "wrapper around L</mknod>."
20147 msgstr ""
20148
20149 # type: =head2
20150 #: ../fish/guestfish-actions.pod:2618
20151 msgid "mknod-c"
20152 msgstr ""
20153
20154 # type: verbatim
20155 #: ../fish/guestfish-actions.pod:2620
20156 #, no-wrap
20157 msgid ""
20158 " mknod-c mode devmajor devminor path\n"
20159 "\n"
20160 msgstr ""
20161
20162 # type: textblock
20163 #: ../fish/guestfish-actions.pod:2622
20164 msgid ""
20165 "This call creates a char device node called C<path> with mode C<mode> and "
20166 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
20167 "wrapper around L</mknod>."
20168 msgstr ""
20169
20170 # type: =head2
20171 #: ../fish/guestfish-actions.pod:2628
20172 msgid "mkswap"
20173 msgstr ""
20174
20175 # type: verbatim
20176 #: ../fish/guestfish-actions.pod:2630
20177 #, no-wrap
20178 msgid ""
20179 " mkswap device\n"
20180 "\n"
20181 msgstr ""
20182
20183 # type: =head2
20184 #: ../fish/guestfish-actions.pod:2634
20185 msgid "mkswap-L"
20186 msgstr ""
20187
20188 # type: verbatim
20189 #: ../fish/guestfish-actions.pod:2636
20190 #, no-wrap
20191 msgid ""
20192 " mkswap-L label device\n"
20193 "\n"
20194 msgstr ""
20195
20196 # type: =head2
20197 #: ../fish/guestfish-actions.pod:2644
20198 msgid "mkswap-U"
20199 msgstr ""
20200
20201 # type: verbatim
20202 #: ../fish/guestfish-actions.pod:2646
20203 #, no-wrap
20204 msgid ""
20205 " mkswap-U uuid device\n"
20206 "\n"
20207 msgstr ""
20208
20209 # type: =head2
20210 #: ../fish/guestfish-actions.pod:2650
20211 msgid "mkswap-file"
20212 msgstr ""
20213
20214 # type: verbatim
20215 #: ../fish/guestfish-actions.pod:2652
20216 #, no-wrap
20217 msgid ""
20218 " mkswap-file path\n"
20219 "\n"
20220 msgstr ""
20221
20222 # type: textblock
20223 #: ../fish/guestfish-actions.pod:2656
20224 msgid ""
20225 "This command just writes a swap file signature to an existing file.  To "
20226 "create the file itself, use something like L</fallocate>."
20227 msgstr ""
20228
20229 # type: =head2
20230 #: ../fish/guestfish-actions.pod:2659
20231 msgid "modprobe"
20232 msgstr ""
20233
20234 # type: verbatim
20235 #: ../fish/guestfish-actions.pod:2661
20236 #, no-wrap
20237 msgid ""
20238 " modprobe modulename\n"
20239 "\n"
20240 msgstr ""
20241
20242 # type: =head2
20243 #: ../fish/guestfish-actions.pod:2668
20244 msgid "mount"
20245 msgstr ""
20246
20247 # type: verbatim
20248 #: ../fish/guestfish-actions.pod:2670
20249 #, no-wrap
20250 msgid ""
20251 " mount device mountpoint\n"
20252 "\n"
20253 msgstr ""
20254
20255 # type: textblock
20256 #: ../fish/guestfish-actions.pod:2686
20257 msgid ""
20258 "B<Important note:> When you use this call, the filesystem options C<sync> "
20259 "and C<noatime> are set implicitly.  This was originally done because we "
20260 "thought it would improve reliability, but it turns out that I<-o sync> has a "
20261 "very large negative performance impact and negligible effect on "
20262 "reliability.  Therefore we recommend that you avoid using L</mount> in any "
20263 "code that needs performance, and instead use L</mount-options> (use an empty "
20264 "string for the first parameter if you don't want any options)."
20265 msgstr ""
20266
20267 # type: =head2
20268 #: ../fish/guestfish-actions.pod:2696
20269 msgid "mount-loop"
20270 msgstr ""
20271
20272 # type: verbatim
20273 #: ../fish/guestfish-actions.pod:2698
20274 #, no-wrap
20275 msgid ""
20276 " mount-loop file mountpoint\n"
20277 "\n"
20278 msgstr ""
20279
20280 # type: =head2
20281 #: ../fish/guestfish-actions.pod:2704
20282 msgid "mount-options"
20283 msgstr ""
20284
20285 # type: verbatim
20286 #: ../fish/guestfish-actions.pod:2706
20287 #, no-wrap
20288 msgid ""
20289 " mount-options options device mountpoint\n"
20290 "\n"
20291 msgstr ""
20292
20293 # type: textblock
20294 #: ../fish/guestfish-actions.pod:2708
20295 msgid ""
20296 "This is the same as the L</mount> command, but it allows you to set the "
20297 "mount options as for the L<mount(8)> I<-o> flag."
20298 msgstr ""
20299
20300 # type: =head2
20301 #: ../fish/guestfish-actions.pod:2716
20302 msgid "mount-ro"
20303 msgstr ""
20304
20305 # type: verbatim
20306 #: ../fish/guestfish-actions.pod:2718
20307 #, no-wrap
20308 msgid ""
20309 " mount-ro device mountpoint\n"
20310 "\n"
20311 msgstr ""
20312
20313 # type: textblock
20314 #: ../fish/guestfish-actions.pod:2720
20315 msgid ""
20316 "This is the same as the L</mount> command, but it mounts the filesystem with "
20317 "the read-only (I<-o ro>) flag."
20318 msgstr ""
20319
20320 # type: =head2
20321 #: ../fish/guestfish-actions.pod:2723
20322 msgid "mount-vfs"
20323 msgstr ""
20324
20325 # type: verbatim
20326 #: ../fish/guestfish-actions.pod:2725
20327 #, no-wrap
20328 msgid ""
20329 " mount-vfs options vfstype device mountpoint\n"
20330 "\n"
20331 msgstr ""
20332
20333 # type: textblock
20334 #: ../fish/guestfish-actions.pod:2727
20335 msgid ""
20336 "This is the same as the L</mount> command, but it allows you to set both the "
20337 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
20338 msgstr ""
20339
20340 # type: =head2
20341 #: ../fish/guestfish-actions.pod:2731
20342 msgid "mountpoints"
20343 msgstr ""
20344
20345 # type: verbatim
20346 #: ../fish/guestfish-actions.pod:2733
20347 #, no-wrap
20348 msgid ""
20349 " mountpoints\n"
20350 "\n"
20351 msgstr ""
20352
20353 # type: textblock
20354 #: ../fish/guestfish-actions.pod:2735
20355 msgid ""
20356 "This call is similar to L</mounts>.  That call returns a list of devices.  "
20357 "This one returns a hash table (map) of device name to directory where the "
20358 "device is mounted."
20359 msgstr ""
20360
20361 # type: =head2
20362 #: ../fish/guestfish-actions.pod:2739
20363 msgid "mounts"
20364 msgstr ""
20365
20366 # type: verbatim
20367 #: ../fish/guestfish-actions.pod:2741
20368 #, no-wrap
20369 msgid ""
20370 " mounts\n"
20371 "\n"
20372 msgstr ""
20373
20374 # type: textblock
20375 #: ../fish/guestfish-actions.pod:2748
20376 msgid "See also: L</mountpoints>"
20377 msgstr ""
20378
20379 # type: =head2
20380 #: ../fish/guestfish-actions.pod:2750
20381 msgid "mv"
20382 msgstr ""
20383
20384 # type: verbatim
20385 #: ../fish/guestfish-actions.pod:2752
20386 #, no-wrap
20387 msgid ""
20388 " mv src dest\n"
20389 "\n"
20390 msgstr ""
20391
20392 # type: =head2
20393 #: ../fish/guestfish-actions.pod:2757
20394 msgid "ntfs-3g-probe"
20395 msgstr ""
20396
20397 # type: verbatim
20398 #: ../fish/guestfish-actions.pod:2759
20399 #, no-wrap
20400 msgid ""
20401 " ntfs-3g-probe true|false device\n"
20402 "\n"
20403 msgstr ""
20404
20405 # type: =head2
20406 #: ../fish/guestfish-actions.pod:2773
20407 msgid "ntfsresize"
20408 msgstr ""
20409
20410 # type: verbatim
20411 #: ../fish/guestfish-actions.pod:2775
20412 #, no-wrap
20413 msgid ""
20414 " ntfsresize device\n"
20415 "\n"
20416 msgstr ""
20417
20418 # type: =head2
20419 #: ../fish/guestfish-actions.pod:2781
20420 msgid "ntfsresize-size"
20421 msgstr ""
20422
20423 # type: verbatim
20424 #: ../fish/guestfish-actions.pod:2783
20425 #, no-wrap
20426 msgid ""
20427 " ntfsresize-size device size\n"
20428 "\n"
20429 msgstr ""
20430
20431 # type: textblock
20432 #: ../fish/guestfish-actions.pod:2785
20433 msgid ""
20434 "This command is the same as L</ntfsresize> except that it allows you to "
20435 "specify the new size (in bytes) explicitly."
20436 msgstr ""
20437
20438 # type: =head2
20439 #: ../fish/guestfish-actions.pod:2788
20440 msgid "part-add"
20441 msgstr ""
20442
20443 # type: verbatim
20444 #: ../fish/guestfish-actions.pod:2790
20445 #, no-wrap
20446 msgid ""
20447 " part-add device prlogex startsect endsect\n"
20448 "\n"
20449 msgstr ""
20450
20451 # type: textblock
20452 #: ../fish/guestfish-actions.pod:2792
20453 msgid ""
20454 "This command adds a partition to C<device>.  If there is no partition table "
20455 "on the device, call L</part-init> first."
20456 msgstr ""
20457
20458 # type: textblock
20459 #: ../fish/guestfish-actions.pod:2804
20460 msgid ""
20461 "Creating a partition which covers the whole disk is not so easy.  Use "
20462 "L</part-disk> to do that."
20463 msgstr ""
20464
20465 # type: =head2
20466 #: ../fish/guestfish-actions.pod:2807
20467 msgid "part-del"
20468 msgstr ""
20469
20470 # type: verbatim
20471 #: ../fish/guestfish-actions.pod:2809
20472 #, no-wrap
20473 msgid ""
20474 " part-del device partnum\n"
20475 "\n"
20476 msgstr ""
20477
20478 # type: =head2
20479 #: ../fish/guestfish-actions.pod:2817
20480 msgid "part-disk"
20481 msgstr ""
20482
20483 # type: verbatim
20484 #: ../fish/guestfish-actions.pod:2819
20485 #, no-wrap
20486 msgid ""
20487 " part-disk device parttype\n"
20488 "\n"
20489 msgstr ""
20490
20491 # type: textblock
20492 #: ../fish/guestfish-actions.pod:2821
20493 msgid ""
20494 "This command is simply a combination of L</part-init> followed by "
20495 "L</part-add> to create a single primary partition covering the whole disk."
20496 msgstr ""
20497
20498 # type: textblock
20499 #: ../fish/guestfish-actions.pod:2825
20500 msgid ""
20501 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
20502 "possible values are described in L</part-init>."
20503 msgstr ""
20504
20505 # type: =head2
20506 #: ../fish/guestfish-actions.pod:2831
20507 msgid "part-get-bootable"
20508 msgstr ""
20509
20510 # type: verbatim
20511 #: ../fish/guestfish-actions.pod:2833
20512 #, no-wrap
20513 msgid ""
20514 " part-get-bootable device partnum\n"
20515 "\n"
20516 msgstr ""
20517
20518 # type: textblock
20519 #: ../fish/guestfish-actions.pod:2838
20520 msgid "See also L</part-set-bootable>."
20521 msgstr ""
20522
20523 # type: =head2
20524 #: ../fish/guestfish-actions.pod:2840
20525 msgid "part-get-mbr-id"
20526 msgstr ""
20527
20528 # type: verbatim
20529 #: ../fish/guestfish-actions.pod:2842
20530 #, no-wrap
20531 msgid ""
20532 " part-get-mbr-id device partnum\n"
20533 "\n"
20534 msgstr ""
20535
20536 # type: textblock
20537 #: ../fish/guestfish-actions.pod:2847 ../fish/guestfish-actions.pod:2985
20538 msgid ""
20539 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
20540 "undefined results for other partition table types (see "
20541 "L</part-get-parttype>)."
20542 msgstr ""
20543
20544 # type: =head2
20545 #: ../fish/guestfish-actions.pod:2851
20546 msgid "part-get-parttype"
20547 msgstr ""
20548
20549 # type: verbatim
20550 #: ../fish/guestfish-actions.pod:2853
20551 #, no-wrap
20552 msgid ""
20553 " part-get-parttype device\n"
20554 "\n"
20555 msgstr ""
20556
20557 # type: textblock
20558 #: ../fish/guestfish-actions.pod:2858
20559 msgid ""
20560 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
20561 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
20562 "possible, although unusual.  See L</part-init> for a full list."
20563 msgstr ""
20564
20565 # type: =head2
20566 #: ../fish/guestfish-actions.pod:2863
20567 msgid "part-init"
20568 msgstr ""
20569
20570 # type: verbatim
20571 #: ../fish/guestfish-actions.pod:2865
20572 #, no-wrap
20573 msgid ""
20574 " part-init device parttype\n"
20575 "\n"
20576 msgstr ""
20577
20578 # type: textblock
20579 #: ../fish/guestfish-actions.pod:2871
20580 msgid ""
20581 "Initially there are no partitions.  Following this, you should call "
20582 "L</part-add> for each partition required."
20583 msgstr ""
20584
20585 # type: =head2
20586 #: ../fish/guestfish-actions.pod:2934
20587 msgid "part-list"
20588 msgstr ""
20589
20590 # type: verbatim
20591 #: ../fish/guestfish-actions.pod:2936
20592 #, no-wrap
20593 msgid ""
20594 " part-list device\n"
20595 "\n"
20596 msgstr ""
20597
20598 # type: textblock
20599 #: ../fish/guestfish-actions.pod:2951
20600 msgid ""
20601 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
20602 "the device's sector size, see L</blockdev-getss>."
20603 msgstr ""
20604
20605 # type: =head2
20606 #: ../fish/guestfish-actions.pod:2964
20607 msgid "part-set-bootable"
20608 msgstr ""
20609
20610 # type: verbatim
20611 #: ../fish/guestfish-actions.pod:2966
20612 #, no-wrap
20613 msgid ""
20614 " part-set-bootable device partnum true|false\n"
20615 "\n"
20616 msgstr ""
20617
20618 # type: =head2
20619 #: ../fish/guestfish-actions.pod:2975
20620 msgid "part-set-mbr-id"
20621 msgstr ""
20622
20623 # type: verbatim
20624 #: ../fish/guestfish-actions.pod:2977
20625 #, no-wrap
20626 msgid ""
20627 " part-set-mbr-id device partnum idbyte\n"
20628 "\n"
20629 msgstr ""
20630
20631 # type: =head2
20632 #: ../fish/guestfish-actions.pod:2989
20633 msgid "part-set-name"
20634 msgstr ""
20635
20636 # type: verbatim
20637 #: ../fish/guestfish-actions.pod:2991
20638 #, no-wrap
20639 msgid ""
20640 " part-set-name device partnum name\n"
20641 "\n"
20642 msgstr ""
20643
20644 # type: =head2
20645 #: ../fish/guestfish-actions.pod:2999
20646 msgid "part-to-dev"
20647 msgstr ""
20648
20649 # type: verbatim
20650 #: ../fish/guestfish-actions.pod:3001
20651 #, no-wrap
20652 msgid ""
20653 " part-to-dev partition\n"
20654 "\n"
20655 msgstr ""
20656
20657 # type: textblock
20658 #: ../fish/guestfish-actions.pod:3007
20659 msgid ""
20660 "The named partition must exist, for example as a string returned from "
20661 "L</list-partitions>."
20662 msgstr ""
20663
20664 # type: =head2
20665 #: ../fish/guestfish-actions.pod:3010
20666 msgid "ping-daemon"
20667 msgstr ""
20668
20669 # type: verbatim
20670 #: ../fish/guestfish-actions.pod:3012
20671 #, no-wrap
20672 msgid ""
20673 " ping-daemon\n"
20674 "\n"
20675 msgstr ""
20676
20677 # type: =head2
20678 #: ../fish/guestfish-actions.pod:3019
20679 msgid "pread"
20680 msgstr ""
20681
20682 # type: verbatim
20683 #: ../fish/guestfish-actions.pod:3021
20684 #, no-wrap
20685 msgid ""
20686 " pread path count offset\n"
20687 "\n"
20688 msgstr ""
20689
20690 # type: textblock
20691 #: ../fish/guestfish-actions.pod:3029
20692 msgid "See also L</pwrite>, L</pread-device>."
20693 msgstr ""
20694
20695 # type: =head2
20696 #: ../fish/guestfish-actions.pod:3034
20697 msgid "pread-device"
20698 msgstr ""
20699
20700 # type: verbatim
20701 #: ../fish/guestfish-actions.pod:3036
20702 #, no-wrap
20703 msgid ""
20704 " pread-device device count offset\n"
20705 "\n"
20706 msgstr ""
20707
20708 # type: textblock
20709 #: ../fish/guestfish-actions.pod:3044
20710 msgid "See also L</pread>."
20711 msgstr ""
20712
20713 # type: =head2
20714 #: ../fish/guestfish-actions.pod:3049
20715 msgid "pvcreate"
20716 msgstr ""
20717
20718 # type: verbatim
20719 #: ../fish/guestfish-actions.pod:3051
20720 #, no-wrap
20721 msgid ""
20722 " pvcreate device\n"
20723 "\n"
20724 msgstr ""
20725
20726 # type: =head2
20727 #: ../fish/guestfish-actions.pod:3057
20728 msgid "pvremove"
20729 msgstr ""
20730
20731 # type: verbatim
20732 #: ../fish/guestfish-actions.pod:3059
20733 #, no-wrap
20734 msgid ""
20735 " pvremove device\n"
20736 "\n"
20737 msgstr ""
20738
20739 # type: =head2
20740 #: ../fish/guestfish-actions.pod:3068
20741 msgid "pvresize"
20742 msgstr ""
20743
20744 # type: verbatim
20745 #: ../fish/guestfish-actions.pod:3070
20746 #, no-wrap
20747 msgid ""
20748 " pvresize device\n"
20749 "\n"
20750 msgstr ""
20751
20752 # type: =head2
20753 #: ../fish/guestfish-actions.pod:3075
20754 msgid "pvresize-size"
20755 msgstr ""
20756
20757 # type: verbatim
20758 #: ../fish/guestfish-actions.pod:3077
20759 #, no-wrap
20760 msgid ""
20761 " pvresize-size device size\n"
20762 "\n"
20763 msgstr ""
20764
20765 # type: textblock
20766 #: ../fish/guestfish-actions.pod:3079
20767 msgid ""
20768 "This command is the same as L</pvresize> except that it allows you to "
20769 "specify the new size (in bytes) explicitly."
20770 msgstr ""
20771
20772 # type: =head2
20773 #: ../fish/guestfish-actions.pod:3082
20774 msgid "pvs"
20775 msgstr ""
20776
20777 # type: verbatim
20778 #: ../fish/guestfish-actions.pod:3084
20779 #, no-wrap
20780 msgid ""
20781 " pvs\n"
20782 "\n"
20783 msgstr ""
20784
20785 # type: textblock
20786 #: ../fish/guestfish-actions.pod:3092
20787 msgid "See also L</pvs-full>."
20788 msgstr ""
20789
20790 # type: =head2
20791 #: ../fish/guestfish-actions.pod:3094
20792 msgid "pvs-full"
20793 msgstr ""
20794
20795 # type: verbatim
20796 #: ../fish/guestfish-actions.pod:3096
20797 #, no-wrap
20798 msgid ""
20799 " pvs-full\n"
20800 "\n"
20801 msgstr ""
20802
20803 # type: =head2
20804 #: ../fish/guestfish-actions.pod:3101
20805 msgid "pvuuid"
20806 msgstr ""
20807
20808 # type: verbatim
20809 #: ../fish/guestfish-actions.pod:3103
20810 #, no-wrap
20811 msgid ""
20812 " pvuuid device\n"
20813 "\n"
20814 msgstr ""
20815
20816 # type: =head2
20817 #: ../fish/guestfish-actions.pod:3107
20818 msgid "pwrite"
20819 msgstr ""
20820
20821 # type: verbatim
20822 #: ../fish/guestfish-actions.pod:3109
20823 #, no-wrap
20824 msgid ""
20825 " pwrite path content offset\n"
20826 "\n"
20827 msgstr ""
20828
20829 # type: textblock
20830 #: ../fish/guestfish-actions.pod:3120
20831 msgid "See also L</pread>, L</pwrite-device>."
20832 msgstr ""
20833
20834 # type: =head2
20835 #: ../fish/guestfish-actions.pod:3125
20836 msgid "pwrite-device"
20837 msgstr ""
20838
20839 # type: verbatim
20840 #: ../fish/guestfish-actions.pod:3127
20841 #, no-wrap
20842 msgid ""
20843 " pwrite-device device content offset\n"
20844 "\n"
20845 msgstr ""
20846
20847 # type: textblock
20848 #: ../fish/guestfish-actions.pod:3137
20849 msgid "See also L</pwrite>."
20850 msgstr ""
20851
20852 # type: =head2
20853 #: ../fish/guestfish-actions.pod:3142
20854 msgid "read-file"
20855 msgstr ""
20856
20857 # type: verbatim
20858 #: ../fish/guestfish-actions.pod:3144
20859 #, no-wrap
20860 msgid ""
20861 " read-file path\n"
20862 "\n"
20863 msgstr ""
20864
20865 # type: textblock
20866 #: ../fish/guestfish-actions.pod:3149
20867 msgid ""
20868 "Unlike L</cat>, this function can correctly handle files that contain "
20869 "embedded ASCII NUL characters.  However unlike L</download>, this function "
20870 "is limited in the total size of file that can be handled."
20871 msgstr ""
20872
20873 # type: =head2
20874 #: ../fish/guestfish-actions.pod:3157
20875 msgid "read-lines"
20876 msgstr ""
20877
20878 # type: verbatim
20879 #: ../fish/guestfish-actions.pod:3159
20880 #, no-wrap
20881 msgid ""
20882 " read-lines path\n"
20883 "\n"
20884 msgstr ""
20885
20886 # type: textblock
20887 #: ../fish/guestfish-actions.pod:3166
20888 msgid ""
20889 "Note that this function cannot correctly handle binary files (specifically, "
20890 "files containing C<\\0> character which is treated as end of line).  For "
20891 "those you need to use the L</read-file> function which has a more complex "
20892 "interface."
20893 msgstr ""
20894
20895 # type: =head2
20896 #: ../fish/guestfish-actions.pod:3171
20897 msgid "readdir"
20898 msgstr ""
20899
20900 # type: verbatim
20901 #: ../fish/guestfish-actions.pod:3173
20902 #, no-wrap
20903 msgid ""
20904 " readdir dir\n"
20905 "\n"
20906 msgstr ""
20907
20908 # type: textblock
20909 #: ../fish/guestfish-actions.pod:3225
20910 msgid ""
20911 "This function is primarily intended for use by programs.  To get a simple "
20912 "list of names, use L</ls>.  To get a printable directory for human "
20913 "consumption, use L</ll>."
20914 msgstr ""
20915
20916 # type: =head2
20917 #: ../fish/guestfish-actions.pod:3229
20918 msgid "readlink"
20919 msgstr ""
20920
20921 # type: verbatim
20922 #: ../fish/guestfish-actions.pod:3231
20923 #, no-wrap
20924 msgid ""
20925 " readlink path\n"
20926 "\n"
20927 msgstr ""
20928
20929 # type: =head2
20930 #: ../fish/guestfish-actions.pod:3235
20931 msgid "readlinklist"
20932 msgstr ""
20933
20934 # type: verbatim
20935 #: ../fish/guestfish-actions.pod:3237
20936 #, no-wrap
20937 msgid ""
20938 " readlinklist path 'names ...'\n"
20939 "\n"
20940 msgstr ""
20941
20942 # type: =head2
20943 #: ../fish/guestfish-actions.pod:3261
20944 msgid "realpath"
20945 msgstr ""
20946
20947 # type: verbatim
20948 #: ../fish/guestfish-actions.pod:3263
20949 #, no-wrap
20950 msgid ""
20951 " realpath path\n"
20952 "\n"
20953 msgstr ""
20954
20955 # type: =head2
20956 #: ../fish/guestfish-actions.pod:3268
20957 msgid "removexattr"
20958 msgstr ""
20959
20960 # type: verbatim
20961 #: ../fish/guestfish-actions.pod:3270
20962 #, no-wrap
20963 msgid ""
20964 " removexattr xattr path\n"
20965 "\n"
20966 msgstr ""
20967
20968 # type: textblock
20969 #: ../fish/guestfish-actions.pod:3275
20970 msgid "See also: L</lremovexattr>, L<attr(5)>."
20971 msgstr ""
20972
20973 # type: =head2
20974 #: ../fish/guestfish-actions.pod:3277
20975 msgid "resize2fs"
20976 msgstr ""
20977
20978 # type: verbatim
20979 #: ../fish/guestfish-actions.pod:3279
20980 #, no-wrap
20981 msgid ""
20982 " resize2fs device\n"
20983 "\n"
20984 msgstr ""
20985
20986 # type: textblock
20987 #: ../fish/guestfish-actions.pod:3284
20988 msgid ""
20989 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
20990 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
20991 "gives an error about this and sometimes not.  In any case, it is always safe "
20992 "to call L</e2fsck-f> before calling this function."
20993 msgstr ""
20994
20995 # type: =head2
20996 #: ../fish/guestfish-actions.pod:3290
20997 msgid "resize2fs-size"
20998 msgstr ""
20999
21000 # type: verbatim
21001 #: ../fish/guestfish-actions.pod:3292
21002 #, no-wrap
21003 msgid ""
21004 " resize2fs-size device size\n"
21005 "\n"
21006 msgstr ""
21007
21008 # type: textblock
21009 #: ../fish/guestfish-actions.pod:3294
21010 msgid ""
21011 "This command is the same as L</resize2fs> except that it allows you to "
21012 "specify the new size (in bytes) explicitly."
21013 msgstr ""
21014
21015 # type: =head2
21016 #: ../fish/guestfish-actions.pod:3297
21017 msgid "rm"
21018 msgstr ""
21019
21020 # type: verbatim
21021 #: ../fish/guestfish-actions.pod:3299
21022 #, no-wrap
21023 msgid ""
21024 " rm path\n"
21025 "\n"
21026 msgstr ""
21027
21028 # type: =head2
21029 #: ../fish/guestfish-actions.pod:3303
21030 msgid "rm-rf"
21031 msgstr ""
21032
21033 # type: verbatim
21034 #: ../fish/guestfish-actions.pod:3305
21035 #, no-wrap
21036 msgid ""
21037 " rm-rf path\n"
21038 "\n"
21039 msgstr ""
21040
21041 # type: =head2
21042 #: ../fish/guestfish-actions.pod:3311
21043 msgid "rmdir"
21044 msgstr ""
21045
21046 # type: verbatim
21047 #: ../fish/guestfish-actions.pod:3313
21048 #, no-wrap
21049 msgid ""
21050 " rmdir path\n"
21051 "\n"
21052 msgstr ""
21053
21054 # type: =head2
21055 #: ../fish/guestfish-actions.pod:3317
21056 msgid "rmmountpoint"
21057 msgstr ""
21058
21059 # type: verbatim
21060 #: ../fish/guestfish-actions.pod:3319
21061 #, no-wrap
21062 msgid ""
21063 " rmmountpoint exemptpath\n"
21064 "\n"
21065 msgstr ""
21066
21067 # type: textblock
21068 #: ../fish/guestfish-actions.pod:3321
21069 msgid ""
21070 "This calls removes a mountpoint that was previously created with "
21071 "L</mkmountpoint>.  See L</mkmountpoint> for full details."
21072 msgstr ""
21073
21074 # type: =head2
21075 #: ../fish/guestfish-actions.pod:3325
21076 msgid "scrub-device"
21077 msgstr ""
21078
21079 # type: verbatim
21080 #: ../fish/guestfish-actions.pod:3327
21081 #, no-wrap
21082 msgid ""
21083 " scrub-device device\n"
21084 "\n"
21085 msgstr ""
21086
21087 # type: =head2
21088 #: ../fish/guestfish-actions.pod:3338
21089 msgid "scrub-file"
21090 msgstr ""
21091
21092 # type: verbatim
21093 #: ../fish/guestfish-actions.pod:3340
21094 #, no-wrap
21095 msgid ""
21096 " scrub-file file\n"
21097 "\n"
21098 msgstr ""
21099
21100 # type: =head2
21101 #: ../fish/guestfish-actions.pod:3350
21102 msgid "scrub-freespace"
21103 msgstr ""
21104
21105 # type: verbatim
21106 #: ../fish/guestfish-actions.pod:3352
21107 #, no-wrap
21108 msgid ""
21109 " scrub-freespace dir\n"
21110 "\n"
21111 msgstr ""
21112
21113 # type: textblock
21114 #: ../fish/guestfish-actions.pod:3354
21115 msgid ""
21116 "This command creates the directory C<dir> and then fills it with files until "
21117 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
21118 "deletes them.  The intention is to scrub any free space on the partition "
21119 "containing C<dir>."
21120 msgstr ""
21121
21122 # type: =head2
21123 #: ../fish/guestfish-actions.pod:3363
21124 msgid "set-append"
21125 msgstr ""
21126
21127 # type: =head2
21128 #: ../fish/guestfish-actions.pod:3365
21129 msgid "append"
21130 msgstr ""
21131
21132 # type: verbatim
21133 #: ../fish/guestfish-actions.pod:3367
21134 #, no-wrap
21135 msgid ""
21136 " set-append append\n"
21137 "\n"
21138 msgstr ""
21139
21140 # type: =head2
21141 #: ../fish/guestfish-actions.pod:3378
21142 msgid "set-autosync"
21143 msgstr ""
21144
21145 # type: =head2
21146 #: ../fish/guestfish-actions.pod:3380
21147 msgid "autosync"
21148 msgstr ""
21149
21150 # type: verbatim
21151 #: ../fish/guestfish-actions.pod:3382
21152 #, no-wrap
21153 msgid ""
21154 " set-autosync true|false\n"
21155 "\n"
21156 msgstr ""
21157
21158 # type: textblock
21159 #: ../fish/guestfish-actions.pod:3384
21160 msgid ""
21161 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
21162 "effort attempt to run L</umount-all> followed by L</sync> when the handle is "
21163 "closed (also if the program exits without closing handles)."
21164 msgstr ""
21165
21166 # type: =head2
21167 #: ../fish/guestfish-actions.pod:3392
21168 msgid "set-direct"
21169 msgstr ""
21170
21171 # type: =head2
21172 #: ../fish/guestfish-actions.pod:3394
21173 msgid "direct"
21174 msgstr ""
21175
21176 # type: verbatim
21177 #: ../fish/guestfish-actions.pod:3396
21178 #, no-wrap
21179 msgid ""
21180 " set-direct true|false\n"
21181 "\n"
21182 msgstr ""
21183
21184 # type: textblock
21185 #: ../fish/guestfish-actions.pod:3402
21186 msgid ""
21187 "One consequence of this is that log messages aren't caught by the library "
21188 "and handled by L</set-log-message-callback>, but go straight to stdout."
21189 msgstr ""
21190
21191 # type: =head2
21192 #: ../fish/guestfish-actions.pod:3411
21193 msgid "set-e2label"
21194 msgstr ""
21195
21196 # type: verbatim
21197 #: ../fish/guestfish-actions.pod:3413
21198 #, no-wrap
21199 msgid ""
21200 " set-e2label device label\n"
21201 "\n"
21202 msgstr ""
21203
21204 # type: textblock
21205 #: ../fish/guestfish-actions.pod:3419
21206 msgid ""
21207 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
21208 "label on a filesystem."
21209 msgstr ""
21210
21211 # type: =head2
21212 #: ../fish/guestfish-actions.pod:3422
21213 msgid "set-e2uuid"
21214 msgstr ""
21215
21216 # type: verbatim
21217 #: ../fish/guestfish-actions.pod:3424
21218 #, no-wrap
21219 msgid ""
21220 " set-e2uuid device uuid\n"
21221 "\n"
21222 msgstr ""
21223
21224 # type: textblock
21225 #: ../fish/guestfish-actions.pod:3431
21226 msgid ""
21227 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
21228 "UUID of a filesystem."
21229 msgstr ""
21230
21231 # type: =head2
21232 #: ../fish/guestfish-actions.pod:3434
21233 msgid "set-memsize"
21234 msgstr ""
21235
21236 # type: =head2
21237 #: ../fish/guestfish-actions.pod:3436
21238 msgid "memsize"
21239 msgstr ""
21240
21241 # type: verbatim
21242 #: ../fish/guestfish-actions.pod:3438
21243 #, no-wrap
21244 msgid ""
21245 " set-memsize memsize\n"
21246 "\n"
21247 msgstr ""
21248
21249 # type: textblock
21250 #: ../fish/guestfish-actions.pod:3440
21251 msgid ""
21252 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
21253 "This only has any effect if called before L</launch>."
21254 msgstr ""
21255
21256 # type: =head2
21257 #: ../fish/guestfish-actions.pod:3451
21258 msgid "set-network"
21259 msgstr ""
21260
21261 # type: =head2
21262 #: ../fish/guestfish-actions.pod:3453
21263 msgid "network"
21264 msgstr ""
21265
21266 # type: verbatim
21267 #: ../fish/guestfish-actions.pod:3455
21268 #, no-wrap
21269 msgid ""
21270 " set-network true|false\n"
21271 "\n"
21272 msgstr ""
21273
21274 # type: textblock
21275 #: ../fish/guestfish-actions.pod:3463
21276 msgid "You must call this before calling L</launch>, otherwise it has no effect."
21277 msgstr ""
21278
21279 # type: =head2
21280 #: ../fish/guestfish-actions.pod:3466
21281 msgid "set-path"
21282 msgstr ""
21283
21284 # type: =head2
21285 #: ../fish/guestfish-actions.pod:3468
21286 msgid "path"
21287 msgstr ""
21288
21289 # type: verbatim
21290 #: ../fish/guestfish-actions.pod:3470
21291 #, no-wrap
21292 msgid ""
21293 " set-path searchpath\n"
21294 "\n"
21295 msgstr ""
21296
21297 # type: =head2
21298 #: ../fish/guestfish-actions.pod:3479
21299 msgid "set-qemu"
21300 msgstr ""
21301
21302 # type: =head2
21303 #: ../fish/guestfish-actions.pod:3481
21304 msgid "qemu"
21305 msgstr ""
21306
21307 # type: verbatim
21308 #: ../fish/guestfish-actions.pod:3483
21309 #, no-wrap
21310 msgid ""
21311 " set-qemu qemu\n"
21312 "\n"
21313 msgstr ""
21314
21315 # type: =head2
21316 #: ../fish/guestfish-actions.pod:3503
21317 msgid "set-recovery-proc"
21318 msgstr ""
21319
21320 # type: =head2
21321 #: ../fish/guestfish-actions.pod:3505
21322 msgid "recovery-proc"
21323 msgstr ""
21324
21325 # type: verbatim
21326 #: ../fish/guestfish-actions.pod:3507
21327 #, no-wrap
21328 msgid ""
21329 " set-recovery-proc true|false\n"
21330 "\n"
21331 msgstr ""
21332
21333 # type: textblock
21334 #: ../fish/guestfish-actions.pod:3509
21335 msgid ""
21336 "If this is called with the parameter C<false> then L</launch> does not "
21337 "create a recovery process.  The purpose of the recovery process is to stop "
21338 "runaway qemu processes in the case where the main program aborts abruptly."
21339 msgstr ""
21340
21341 # type: textblock
21342 #: ../fish/guestfish-actions.pod:3514
21343 msgid ""
21344 "This only has any effect if called before L</launch>, and the default is "
21345 "true."
21346 msgstr ""
21347
21348 # type: =head2
21349 #: ../fish/guestfish-actions.pod:3523
21350 msgid "set-selinux"
21351 msgstr ""
21352
21353 # type: =head2
21354 #: ../fish/guestfish-actions.pod:3525
21355 msgid "selinux"
21356 msgstr ""
21357
21358 # type: verbatim
21359 #: ../fish/guestfish-actions.pod:3527
21360 #, no-wrap
21361 msgid ""
21362 " set-selinux true|false\n"
21363 "\n"
21364 msgstr ""
21365
21366 # type: =head2
21367 #: ../fish/guestfish-actions.pod:3538
21368 msgid "set-trace"
21369 msgstr ""
21370
21371 # type: =head2
21372 #: ../fish/guestfish-actions.pod:3540
21373 msgid "trace"
21374 msgstr ""
21375
21376 # type: verbatim
21377 #: ../fish/guestfish-actions.pod:3542
21378 #, no-wrap
21379 msgid ""
21380 " set-trace true|false\n"
21381 "\n"
21382 msgstr ""
21383
21384 # type: =head2
21385 #: ../fish/guestfish-actions.pod:3558
21386 msgid "set-verbose"
21387 msgstr ""
21388
21389 # type: =head2
21390 #: ../fish/guestfish-actions.pod:3560
21391 msgid "verbose"
21392 msgstr ""
21393
21394 # type: verbatim
21395 #: ../fish/guestfish-actions.pod:3562
21396 #, no-wrap
21397 msgid ""
21398 " set-verbose true|false\n"
21399 "\n"
21400 msgstr ""
21401
21402 # type: =head2
21403 #: ../fish/guestfish-actions.pod:3569
21404 msgid "setcon"
21405 msgstr ""
21406
21407 # type: verbatim
21408 #: ../fish/guestfish-actions.pod:3571
21409 #, no-wrap
21410 msgid ""
21411 " setcon context\n"
21412 "\n"
21413 msgstr ""
21414
21415 # type: =head2
21416 #: ../fish/guestfish-actions.pod:3578
21417 msgid "setxattr"
21418 msgstr ""
21419
21420 # type: verbatim
21421 #: ../fish/guestfish-actions.pod:3580
21422 #, no-wrap
21423 msgid ""
21424 " setxattr xattr val vallen path\n"
21425 "\n"
21426 msgstr ""
21427
21428 # type: textblock
21429 #: ../fish/guestfish-actions.pod:3586
21430 msgid "See also: L</lsetxattr>, L<attr(5)>."
21431 msgstr ""
21432
21433 # type: =head2
21434 #: ../fish/guestfish-actions.pod:3588
21435 msgid "sfdisk"
21436 msgstr ""
21437
21438 # type: verbatim
21439 #: ../fish/guestfish-actions.pod:3590
21440 #, no-wrap
21441 msgid ""
21442 " sfdisk device cyls heads sectors 'lines ...'\n"
21443 "\n"
21444 msgstr ""
21445
21446 # type: textblock
21447 #: ../fish/guestfish-actions.pod:3612
21448 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
21449 msgstr ""
21450
21451 # type: =head2
21452 #: ../fish/guestfish-actions.pod:3618
21453 msgid "sfdiskM"
21454 msgstr ""
21455
21456 # type: verbatim
21457 #: ../fish/guestfish-actions.pod:3620
21458 #, no-wrap
21459 msgid ""
21460 " sfdiskM device 'lines ...'\n"
21461 "\n"
21462 msgstr ""
21463
21464 # type: textblock
21465 #: ../fish/guestfish-actions.pod:3622
21466 msgid ""
21467 "This is a simplified interface to the L</sfdisk> command, where partition "
21468 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
21469 "you don't need to specify the cyls, heads and sectors parameters which were "
21470 "rarely if ever used anyway."
21471 msgstr ""
21472
21473 # type: textblock
21474 #: ../fish/guestfish-actions.pod:3628
21475 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
21476 msgstr ""
21477
21478 # type: =head2
21479 #: ../fish/guestfish-actions.pod:3634
21480 msgid "sfdisk-N"
21481 msgstr ""
21482
21483 # type: verbatim
21484 #: ../fish/guestfish-actions.pod:3636
21485 #, no-wrap
21486 msgid ""
21487 " sfdisk-N device partnum cyls heads sectors line\n"
21488 "\n"
21489 msgstr ""
21490
21491 # type: textblock
21492 #: ../fish/guestfish-actions.pod:3641
21493 msgid ""
21494 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
21495 "cyls/heads/sectors parameters."
21496 msgstr ""
21497
21498 # type: textblock
21499 #: ../fish/guestfish-actions.pod:3644
21500 msgid "See also: L</part-add>"
21501 msgstr ""
21502
21503 # type: =head2
21504 #: ../fish/guestfish-actions.pod:3649
21505 msgid "sfdisk-disk-geometry"
21506 msgstr ""
21507
21508 # type: verbatim
21509 #: ../fish/guestfish-actions.pod:3651
21510 #, no-wrap
21511 msgid ""
21512 " sfdisk-disk-geometry device\n"
21513 "\n"
21514 msgstr ""
21515
21516 # type: textblock
21517 #: ../fish/guestfish-actions.pod:3653
21518 msgid ""
21519 "This displays the disk geometry of C<device> read from the partition table.  "
21520 "Especially in the case where the underlying block device has been resized, "
21521 "this can be different from the kernel's idea of the geometry (see "
21522 "L</sfdisk-kernel-geometry>)."
21523 msgstr ""
21524
21525 # type: =head2
21526 #: ../fish/guestfish-actions.pod:3661
21527 msgid "sfdisk-kernel-geometry"
21528 msgstr ""
21529
21530 # type: verbatim
21531 #: ../fish/guestfish-actions.pod:3663
21532 #, no-wrap
21533 msgid ""
21534 " sfdisk-kernel-geometry device\n"
21535 "\n"
21536 msgstr ""
21537
21538 # type: =head2
21539 #: ../fish/guestfish-actions.pod:3670
21540 msgid "sfdisk-l"
21541 msgstr ""
21542
21543 # type: verbatim
21544 #: ../fish/guestfish-actions.pod:3672
21545 #, no-wrap
21546 msgid ""
21547 " sfdisk-l device\n"
21548 "\n"
21549 msgstr ""
21550
21551 # type: textblock
21552 #: ../fish/guestfish-actions.pod:3678
21553 msgid "See also: L</part-list>"
21554 msgstr ""
21555
21556 # type: =head2
21557 #: ../fish/guestfish-actions.pod:3680
21558 msgid "sh"
21559 msgstr ""
21560
21561 # type: verbatim
21562 #: ../fish/guestfish-actions.pod:3682
21563 #, no-wrap
21564 msgid ""
21565 " sh command\n"
21566 "\n"
21567 msgstr ""
21568
21569 # type: textblock
21570 #: ../fish/guestfish-actions.pod:3687
21571 msgid "This is like L</command>, but passes the command to:"
21572 msgstr ""
21573
21574 # type: textblock
21575 #: ../fish/guestfish-actions.pod:3695
21576 msgid "All the provisos about L</command> apply to this call."
21577 msgstr ""
21578
21579 # type: =head2
21580 #: ../fish/guestfish-actions.pod:3697
21581 msgid "sh-lines"
21582 msgstr ""
21583
21584 # type: verbatim
21585 #: ../fish/guestfish-actions.pod:3699
21586 #, no-wrap
21587 msgid ""
21588 " sh-lines command\n"
21589 "\n"
21590 msgstr ""
21591
21592 # type: textblock
21593 #: ../fish/guestfish-actions.pod:3701
21594 msgid "This is the same as L</sh>, but splits the result into a list of lines."
21595 msgstr ""
21596
21597 # type: textblock
21598 #: ../fish/guestfish-actions.pod:3704
21599 msgid "See also: L</command-lines>"
21600 msgstr ""
21601
21602 # type: =head2
21603 #: ../fish/guestfish-actions.pod:3706
21604 msgid "sleep"
21605 msgstr ""
21606
21607 # type: verbatim
21608 #: ../fish/guestfish-actions.pod:3708
21609 #, no-wrap
21610 msgid ""
21611 " sleep secs\n"
21612 "\n"
21613 msgstr ""
21614
21615 # type: =head2
21616 #: ../fish/guestfish-actions.pod:3712
21617 msgid "stat"
21618 msgstr ""
21619
21620 # type: verbatim
21621 #: ../fish/guestfish-actions.pod:3714
21622 #, no-wrap
21623 msgid ""
21624 " stat path\n"
21625 "\n"
21626 msgstr ""
21627
21628 # type: =head2
21629 #: ../fish/guestfish-actions.pod:3720
21630 msgid "statvfs"
21631 msgstr ""
21632
21633 # type: verbatim
21634 #: ../fish/guestfish-actions.pod:3722
21635 #, no-wrap
21636 msgid ""
21637 " statvfs path\n"
21638 "\n"
21639 msgstr ""
21640
21641 # type: =head2
21642 #: ../fish/guestfish-actions.pod:3730
21643 msgid "strings"
21644 msgstr ""
21645
21646 # type: verbatim
21647 #: ../fish/guestfish-actions.pod:3732
21648 #, no-wrap
21649 msgid ""
21650 " strings path\n"
21651 "\n"
21652 msgstr ""
21653
21654 # type: =head2
21655 #: ../fish/guestfish-actions.pod:3740
21656 msgid "strings-e"
21657 msgstr ""
21658
21659 # type: verbatim
21660 #: ../fish/guestfish-actions.pod:3742
21661 #, no-wrap
21662 msgid ""
21663 " strings-e encoding path\n"
21664 "\n"
21665 msgstr ""
21666
21667 # type: textblock
21668 #: ../fish/guestfish-actions.pod:3744
21669 msgid ""
21670 "This is like the L</strings> command, but allows you to specify the encoding "
21671 "of strings that are looked for in the source file C<path>."
21672 msgstr ""
21673
21674 # type: textblock
21675 #: ../fish/guestfish-actions.pod:3754
21676 msgid ""
21677 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
21678 "ISO-8859-X (this is what L</strings> uses)."
21679 msgstr ""
21680
21681 # type: =head2
21682 #: ../fish/guestfish-actions.pod:3786
21683 msgid "swapoff-device"
21684 msgstr ""
21685
21686 # type: verbatim
21687 #: ../fish/guestfish-actions.pod:3788
21688 #, no-wrap
21689 msgid ""
21690 " swapoff-device device\n"
21691 "\n"
21692 msgstr ""
21693
21694 # type: textblock
21695 #: ../fish/guestfish-actions.pod:3790
21696 msgid ""
21697 "This command disables the libguestfs appliance swap device or partition "
21698 "named C<device>.  See L</swapon-device>."
21699 msgstr ""
21700
21701 # type: =head2
21702 #: ../fish/guestfish-actions.pod:3794
21703 msgid "swapoff-file"
21704 msgstr ""
21705
21706 # type: verbatim
21707 #: ../fish/guestfish-actions.pod:3796
21708 #, no-wrap
21709 msgid ""
21710 " swapoff-file file\n"
21711 "\n"
21712 msgstr ""
21713
21714 # type: =head2
21715 #: ../fish/guestfish-actions.pod:3800
21716 msgid "swapoff-label"
21717 msgstr ""
21718
21719 # type: verbatim
21720 #: ../fish/guestfish-actions.pod:3802
21721 #, no-wrap
21722 msgid ""
21723 " swapoff-label label\n"
21724 "\n"
21725 msgstr ""
21726
21727 # type: =head2
21728 #: ../fish/guestfish-actions.pod:3807
21729 msgid "swapoff-uuid"
21730 msgstr ""
21731
21732 # type: verbatim
21733 #: ../fish/guestfish-actions.pod:3809
21734 #, no-wrap
21735 msgid ""
21736 " swapoff-uuid uuid\n"
21737 "\n"
21738 msgstr ""
21739
21740 # type: =head2
21741 #: ../fish/guestfish-actions.pod:3814
21742 msgid "swapon-device"
21743 msgstr ""
21744
21745 # type: verbatim
21746 #: ../fish/guestfish-actions.pod:3816
21747 #, no-wrap
21748 msgid ""
21749 " swapon-device device\n"
21750 "\n"
21751 msgstr ""
21752
21753 # type: textblock
21754 #: ../fish/guestfish-actions.pod:3818
21755 msgid ""
21756 "This command enables the libguestfs appliance to use the swap device or "
21757 "partition named C<device>.  The increased memory is made available for all "
21758 "commands, for example those run using L</command> or L</sh>."
21759 msgstr ""
21760
21761 # type: =head2
21762 #: ../fish/guestfish-actions.pod:3830
21763 msgid "swapon-file"
21764 msgstr ""
21765
21766 # type: verbatim
21767 #: ../fish/guestfish-actions.pod:3832
21768 #, no-wrap
21769 msgid ""
21770 " swapon-file file\n"
21771 "\n"
21772 msgstr ""
21773
21774 # type: textblock
21775 #: ../fish/guestfish-actions.pod:3834
21776 msgid "This command enables swap to a file.  See L</swapon-device> for other notes."
21777 msgstr ""
21778
21779 # type: =head2
21780 #: ../fish/guestfish-actions.pod:3837
21781 msgid "swapon-label"
21782 msgstr ""
21783
21784 # type: verbatim
21785 #: ../fish/guestfish-actions.pod:3839
21786 #, no-wrap
21787 msgid ""
21788 " swapon-label label\n"
21789 "\n"
21790 msgstr ""
21791
21792 # type: textblock
21793 #: ../fish/guestfish-actions.pod:3841
21794 msgid ""
21795 "This command enables swap to a labeled swap partition.  See "
21796 "L</swapon-device> for other notes."
21797 msgstr ""
21798
21799 # type: =head2
21800 #: ../fish/guestfish-actions.pod:3844
21801 msgid "swapon-uuid"
21802 msgstr ""
21803
21804 # type: verbatim
21805 #: ../fish/guestfish-actions.pod:3846
21806 #, no-wrap
21807 msgid ""
21808 " swapon-uuid uuid\n"
21809 "\n"
21810 msgstr ""
21811
21812 # type: textblock
21813 #: ../fish/guestfish-actions.pod:3848
21814 msgid ""
21815 "This command enables swap to a swap partition with the given UUID.  See "
21816 "L</swapon-device> for other notes."
21817 msgstr ""
21818
21819 # type: =head2
21820 #: ../fish/guestfish-actions.pod:3851
21821 msgid "sync"
21822 msgstr ""
21823
21824 # type: verbatim
21825 #: ../fish/guestfish-actions.pod:3853
21826 #, no-wrap
21827 msgid ""
21828 " sync\n"
21829 "\n"
21830 msgstr ""
21831
21832 # type: =head2
21833 #: ../fish/guestfish-actions.pod:3861
21834 msgid "tail"
21835 msgstr ""
21836
21837 # type: verbatim
21838 #: ../fish/guestfish-actions.pod:3863
21839 #, no-wrap
21840 msgid ""
21841 " tail path\n"
21842 "\n"
21843 msgstr ""
21844
21845 # type: =head2
21846 #: ../fish/guestfish-actions.pod:3871
21847 msgid "tail-n"
21848 msgstr ""
21849
21850 # type: verbatim
21851 #: ../fish/guestfish-actions.pod:3873
21852 #, no-wrap
21853 msgid ""
21854 " tail-n nrlines path\n"
21855 "\n"
21856 msgstr ""
21857
21858 # type: =head2
21859 #: ../fish/guestfish-actions.pod:3886
21860 msgid "tar-in"
21861 msgstr ""
21862
21863 # type: verbatim
21864 #: ../fish/guestfish-actions.pod:3888
21865 #, no-wrap
21866 msgid ""
21867 " tar-in (tarfile|-) directory\n"
21868 "\n"
21869 msgstr ""
21870
21871 # type: textblock
21872 #: ../fish/guestfish-actions.pod:3893
21873 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
21874 msgstr ""
21875
21876 # type: =head2
21877 #: ../fish/guestfish-actions.pod:3898
21878 msgid "tar-out"
21879 msgstr ""
21880
21881 # type: verbatim
21882 #: ../fish/guestfish-actions.pod:3900
21883 #, no-wrap
21884 msgid ""
21885 " tar-out directory (tarfile|-)\n"
21886 "\n"
21887 msgstr ""
21888
21889 # type: textblock
21890 #: ../fish/guestfish-actions.pod:3905
21891 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
21892 msgstr ""
21893
21894 # type: =head2
21895 #: ../fish/guestfish-actions.pod:3910
21896 msgid "tgz-in"
21897 msgstr ""
21898
21899 # type: verbatim
21900 #: ../fish/guestfish-actions.pod:3912
21901 #, no-wrap
21902 msgid ""
21903 " tgz-in (tarball|-) directory\n"
21904 "\n"
21905 msgstr ""
21906
21907 # type: textblock
21908 #: ../fish/guestfish-actions.pod:3917
21909 msgid "To upload an uncompressed tarball, use L</tar-in>."
21910 msgstr ""
21911
21912 # type: =head2
21913 #: ../fish/guestfish-actions.pod:3921
21914 msgid "tgz-out"
21915 msgstr ""
21916
21917 # type: verbatim
21918 #: ../fish/guestfish-actions.pod:3923
21919 #, no-wrap
21920 msgid ""
21921 " tgz-out directory (tarball|-)\n"
21922 "\n"
21923 msgstr ""
21924
21925 # type: textblock
21926 #: ../fish/guestfish-actions.pod:3928
21927 msgid "To download an uncompressed tarball, use L</tar-out>."
21928 msgstr ""
21929
21930 # type: =head2
21931 #: ../fish/guestfish-actions.pod:3932
21932 msgid "touch"
21933 msgstr ""
21934
21935 # type: verbatim
21936 #: ../fish/guestfish-actions.pod:3934
21937 #, no-wrap
21938 msgid ""
21939 " touch path\n"
21940 "\n"
21941 msgstr ""
21942
21943 # type: =head2
21944 #: ../fish/guestfish-actions.pod:3943
21945 msgid "truncate"
21946 msgstr ""
21947
21948 # type: verbatim
21949 #: ../fish/guestfish-actions.pod:3945
21950 #, no-wrap
21951 msgid ""
21952 " truncate path\n"
21953 "\n"
21954 msgstr ""
21955
21956 # type: =head2
21957 #: ../fish/guestfish-actions.pod:3950
21958 msgid "truncate-size"
21959 msgstr ""
21960
21961 # type: verbatim
21962 #: ../fish/guestfish-actions.pod:3952
21963 #, no-wrap
21964 msgid ""
21965 " truncate-size path size\n"
21966 "\n"
21967 msgstr ""
21968
21969 # type: textblock
21970 #: ../fish/guestfish-actions.pod:3957
21971 msgid ""
21972 "If the current file size is less than C<size> then the file is extended to "
21973 "the required size with zero bytes.  This creates a sparse file (ie. disk "
21974 "blocks are not allocated for the file until you write to it).  To create a "
21975 "non-sparse file of zeroes, use L</fallocate64> instead."
21976 msgstr ""
21977
21978 # type: =head2
21979 #: ../fish/guestfish-actions.pod:3963
21980 msgid "tune2fs-l"
21981 msgstr ""
21982
21983 # type: verbatim
21984 #: ../fish/guestfish-actions.pod:3965
21985 #, no-wrap
21986 msgid ""
21987 " tune2fs-l device\n"
21988 "\n"
21989 msgstr ""
21990
21991 # type: =head2
21992 #: ../fish/guestfish-actions.pod:3975
21993 msgid "txz-in"
21994 msgstr ""
21995
21996 # type: verbatim
21997 #: ../fish/guestfish-actions.pod:3977
21998 #, no-wrap
21999 msgid ""
22000 " txz-in (tarball|-) directory\n"
22001 "\n"
22002 msgstr ""
22003
22004 # type: =head2
22005 #: ../fish/guestfish-actions.pod:3984
22006 msgid "txz-out"
22007 msgstr ""
22008
22009 # type: verbatim
22010 #: ../fish/guestfish-actions.pod:3986
22011 #, no-wrap
22012 msgid ""
22013 " txz-out directory (tarball|-)\n"
22014 "\n"
22015 msgstr ""
22016
22017 # type: =head2
22018 #: ../fish/guestfish-actions.pod:3993
22019 msgid "umask"
22020 msgstr ""
22021
22022 # type: verbatim
22023 #: ../fish/guestfish-actions.pod:3995
22024 #, no-wrap
22025 msgid ""
22026 " umask mask\n"
22027 "\n"
22028 msgstr ""
22029
22030 # type: textblock
22031 #: ../fish/guestfish-actions.pod:4009
22032 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
22033 msgstr ""
22034
22035 # type: =head2
22036 #: ../fish/guestfish-actions.pod:4014
22037 msgid "umount"
22038 msgstr ""
22039
22040 # type: =head2
22041 #: ../fish/guestfish-actions.pod:4016
22042 msgid "unmount"
22043 msgstr ""
22044
22045 # type: verbatim
22046 #: ../fish/guestfish-actions.pod:4018
22047 #, no-wrap
22048 msgid ""
22049 " umount pathordevice\n"
22050 "\n"
22051 msgstr ""
22052
22053 # type: =head2
22054 #: ../fish/guestfish-actions.pod:4024
22055 msgid "umount-all"
22056 msgstr ""
22057
22058 # type: =head2
22059 #: ../fish/guestfish-actions.pod:4026
22060 msgid "unmount-all"
22061 msgstr ""
22062
22063 # type: verbatim
22064 #: ../fish/guestfish-actions.pod:4028
22065 #, no-wrap
22066 msgid ""
22067 " umount-all\n"
22068 "\n"
22069 msgstr ""
22070
22071 # type: =head2
22072 #: ../fish/guestfish-actions.pod:4034
22073 msgid "upload"
22074 msgstr ""
22075
22076 # type: verbatim
22077 #: ../fish/guestfish-actions.pod:4036
22078 #, no-wrap
22079 msgid ""
22080 " upload (filename|-) remotefilename\n"
22081 "\n"
22082 msgstr ""
22083
22084 # type: textblock
22085 #: ../fish/guestfish-actions.pod:4043
22086 msgid "See also L</download>."
22087 msgstr ""
22088
22089 # type: =head2
22090 #: ../fish/guestfish-actions.pod:4047
22091 msgid "upload-offset"
22092 msgstr ""
22093
22094 # type: verbatim
22095 #: ../fish/guestfish-actions.pod:4049
22096 #, no-wrap
22097 msgid ""
22098 " upload-offset (filename|-) remotefilename offset\n"
22099 "\n"
22100 msgstr ""
22101
22102 # type: textblock
22103 #: ../fish/guestfish-actions.pod:4061
22104 msgid ""
22105 "Note that there is no limit on the amount of data that can be uploaded with "
22106 "this call, unlike with L</pwrite>, and this call always writes the full "
22107 "amount unless an error occurs."
22108 msgstr ""
22109
22110 # type: textblock
22111 #: ../fish/guestfish-actions.pod:4066
22112 msgid "See also L</upload>, L</pwrite>."
22113 msgstr ""
22114
22115 # type: =head2
22116 #: ../fish/guestfish-actions.pod:4070
22117 msgid "utimens"
22118 msgstr ""
22119
22120 # type: verbatim
22121 #: ../fish/guestfish-actions.pod:4072
22122 #, no-wrap
22123 msgid ""
22124 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
22125 "\n"
22126 msgstr ""
22127
22128 # type: =head2
22129 #: ../fish/guestfish-actions.pod:4091
22130 msgid "version"
22131 msgstr ""
22132
22133 # type: verbatim
22134 #: ../fish/guestfish-actions.pod:4093
22135 #, no-wrap
22136 msgid ""
22137 " version\n"
22138 "\n"
22139 msgstr ""
22140
22141 # type: textblock
22142 #: ../fish/guestfish-actions.pod:4120
22143 msgid ""
22144 "I<Note:> Don't use this call to test for availability of features.  In "
22145 "enterprise distributions we backport features from later versions into "
22146 "earlier versions, making this an unreliable way to test for features.  Use "
22147 "L</available> instead."
22148 msgstr ""
22149
22150 # type: =head2
22151 #: ../fish/guestfish-actions.pod:4126
22152 msgid "vfs-label"
22153 msgstr ""
22154
22155 # type: verbatim
22156 #: ../fish/guestfish-actions.pod:4128
22157 #, no-wrap
22158 msgid ""
22159 " vfs-label device\n"
22160 "\n"
22161 msgstr ""
22162
22163 # type: textblock
22164 #: ../fish/guestfish-actions.pod:4135
22165 msgid "To find a filesystem from the label, use L</findfs-label>."
22166 msgstr ""
22167
22168 # type: =head2
22169 #: ../fish/guestfish-actions.pod:4137
22170 msgid "vfs-type"
22171 msgstr ""
22172
22173 # type: verbatim
22174 #: ../fish/guestfish-actions.pod:4139
22175 #, no-wrap
22176 msgid ""
22177 " vfs-type device\n"
22178 "\n"
22179 msgstr ""
22180
22181 # type: =head2
22182 #: ../fish/guestfish-actions.pod:4149
22183 msgid "vfs-uuid"
22184 msgstr ""
22185
22186 # type: verbatim
22187 #: ../fish/guestfish-actions.pod:4151
22188 #, no-wrap
22189 msgid ""
22190 " vfs-uuid device\n"
22191 "\n"
22192 msgstr ""
22193
22194 # type: textblock
22195 #: ../fish/guestfish-actions.pod:4158
22196 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
22197 msgstr ""
22198
22199 # type: =head2
22200 #: ../fish/guestfish-actions.pod:4160
22201 msgid "vg-activate"
22202 msgstr ""
22203
22204 # type: verbatim
22205 #: ../fish/guestfish-actions.pod:4162
22206 #, no-wrap
22207 msgid ""
22208 " vg-activate true|false 'volgroups ...'\n"
22209 "\n"
22210 msgstr ""
22211
22212 # type: =head2
22213 #: ../fish/guestfish-actions.pod:4175
22214 msgid "vg-activate-all"
22215 msgstr ""
22216
22217 # type: verbatim
22218 #: ../fish/guestfish-actions.pod:4177
22219 #, no-wrap
22220 msgid ""
22221 " vg-activate-all true|false\n"
22222 "\n"
22223 msgstr ""
22224
22225 # type: =head2
22226 #: ../fish/guestfish-actions.pod:4187
22227 msgid "vgcreate"
22228 msgstr ""
22229
22230 # type: verbatim
22231 #: ../fish/guestfish-actions.pod:4189
22232 #, no-wrap
22233 msgid ""
22234 " vgcreate volgroup 'physvols ...'\n"
22235 "\n"
22236 msgstr ""
22237
22238 # type: =head2
22239 #: ../fish/guestfish-actions.pod:4194
22240 msgid "vglvuuids"
22241 msgstr ""
22242
22243 # type: verbatim
22244 #: ../fish/guestfish-actions.pod:4196
22245 #, no-wrap
22246 msgid ""
22247 " vglvuuids vgname\n"
22248 "\n"
22249 msgstr ""
22250
22251 # type: textblock
22252 #: ../fish/guestfish-actions.pod:4201
22253 msgid ""
22254 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
22255 "logical volumes and volume groups."
22256 msgstr ""
22257
22258 # type: textblock
22259 #: ../fish/guestfish-actions.pod:4204
22260 msgid "See also L</vgpvuuids>."
22261 msgstr ""
22262
22263 # type: =head2
22264 #: ../fish/guestfish-actions.pod:4206
22265 msgid "vgpvuuids"
22266 msgstr ""
22267
22268 # type: verbatim
22269 #: ../fish/guestfish-actions.pod:4208
22270 #, no-wrap
22271 msgid ""
22272 " vgpvuuids vgname\n"
22273 "\n"
22274 msgstr ""
22275
22276 # type: textblock
22277 #: ../fish/guestfish-actions.pod:4213
22278 msgid ""
22279 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
22280 "physical volumes and volume groups."
22281 msgstr ""
22282
22283 # type: textblock
22284 #: ../fish/guestfish-actions.pod:4216
22285 msgid "See also L</vglvuuids>."
22286 msgstr ""
22287
22288 # type: =head2
22289 #: ../fish/guestfish-actions.pod:4218
22290 msgid "vgremove"
22291 msgstr ""
22292
22293 # type: verbatim
22294 #: ../fish/guestfish-actions.pod:4220
22295 #, no-wrap
22296 msgid ""
22297 " vgremove vgname\n"
22298 "\n"
22299 msgstr ""
22300
22301 # type: =head2
22302 #: ../fish/guestfish-actions.pod:4227
22303 msgid "vgrename"
22304 msgstr ""
22305
22306 # type: verbatim
22307 #: ../fish/guestfish-actions.pod:4229
22308 #, no-wrap
22309 msgid ""
22310 " vgrename volgroup newvolgroup\n"
22311 "\n"
22312 msgstr ""
22313
22314 # type: =head2
22315 #: ../fish/guestfish-actions.pod:4233
22316 msgid "vgs"
22317 msgstr ""
22318
22319 # type: verbatim
22320 #: ../fish/guestfish-actions.pod:4235
22321 #, no-wrap
22322 msgid ""
22323 " vgs\n"
22324 "\n"
22325 msgstr ""
22326
22327 # type: textblock
22328 #: ../fish/guestfish-actions.pod:4243
22329 msgid "See also L</vgs-full>."
22330 msgstr ""
22331
22332 # type: =head2
22333 #: ../fish/guestfish-actions.pod:4245
22334 msgid "vgs-full"
22335 msgstr ""
22336
22337 # type: verbatim
22338 #: ../fish/guestfish-actions.pod:4247
22339 #, no-wrap
22340 msgid ""
22341 " vgs-full\n"
22342 "\n"
22343 msgstr ""
22344
22345 # type: =head2
22346 #: ../fish/guestfish-actions.pod:4252
22347 msgid "vgscan"
22348 msgstr ""
22349
22350 # type: verbatim
22351 #: ../fish/guestfish-actions.pod:4254
22352 #, no-wrap
22353 msgid ""
22354 " vgscan\n"
22355 "\n"
22356 msgstr ""
22357
22358 # type: =head2
22359 #: ../fish/guestfish-actions.pod:4259
22360 msgid "vguuid"
22361 msgstr ""
22362
22363 # type: verbatim
22364 #: ../fish/guestfish-actions.pod:4261
22365 #, no-wrap
22366 msgid ""
22367 " vguuid vgname\n"
22368 "\n"
22369 msgstr ""
22370
22371 # type: =head2
22372 #: ../fish/guestfish-actions.pod:4265
22373 msgid "wc-c"
22374 msgstr ""
22375
22376 # type: verbatim
22377 #: ../fish/guestfish-actions.pod:4267
22378 #, no-wrap
22379 msgid ""
22380 " wc-c path\n"
22381 "\n"
22382 msgstr ""
22383
22384 # type: =head2
22385 #: ../fish/guestfish-actions.pod:4272
22386 msgid "wc-l"
22387 msgstr ""
22388
22389 # type: verbatim
22390 #: ../fish/guestfish-actions.pod:4274
22391 #, no-wrap
22392 msgid ""
22393 " wc-l path\n"
22394 "\n"
22395 msgstr ""
22396
22397 # type: =head2
22398 #: ../fish/guestfish-actions.pod:4279
22399 msgid "wc-w"
22400 msgstr ""
22401
22402 # type: verbatim
22403 #: ../fish/guestfish-actions.pod:4281
22404 #, no-wrap
22405 msgid ""
22406 " wc-w path\n"
22407 "\n"
22408 msgstr ""
22409
22410 # type: =head2
22411 #: ../fish/guestfish-actions.pod:4286
22412 msgid "write"
22413 msgstr ""
22414
22415 # type: verbatim
22416 #: ../fish/guestfish-actions.pod:4288
22417 #, no-wrap
22418 msgid ""
22419 " write path content\n"
22420 "\n"
22421 msgstr ""
22422
22423 # type: =head2
22424 #: ../fish/guestfish-actions.pod:4296
22425 msgid "write-file"
22426 msgstr ""
22427
22428 # type: verbatim
22429 #: ../fish/guestfish-actions.pod:4298
22430 #, no-wrap
22431 msgid ""
22432 " write-file path content size\n"
22433 "\n"
22434 msgstr ""
22435
22436 # type: =head2
22437 #: ../fish/guestfish-actions.pod:4321
22438 msgid "zegrep"
22439 msgstr ""
22440
22441 # type: verbatim
22442 #: ../fish/guestfish-actions.pod:4323
22443 #, no-wrap
22444 msgid ""
22445 " zegrep regex path\n"
22446 "\n"
22447 msgstr ""
22448
22449 # type: =head2
22450 #: ../fish/guestfish-actions.pod:4331
22451 msgid "zegrepi"
22452 msgstr ""
22453
22454 # type: verbatim
22455 #: ../fish/guestfish-actions.pod:4333
22456 #, no-wrap
22457 msgid ""
22458 " zegrepi regex path\n"
22459 "\n"
22460 msgstr ""
22461
22462 # type: =head2
22463 #: ../fish/guestfish-actions.pod:4341
22464 msgid "zero"
22465 msgstr ""
22466
22467 # type: verbatim
22468 #: ../fish/guestfish-actions.pod:4343
22469 #, no-wrap
22470 msgid ""
22471 " zero device\n"
22472 "\n"
22473 msgstr ""
22474
22475 # type: textblock
22476 #: ../fish/guestfish-actions.pod:4351
22477 msgid "See also: L</zero-device>, L</scrub-device>."
22478 msgstr ""
22479
22480 # type: =head2
22481 #: ../fish/guestfish-actions.pod:4353
22482 msgid "zero-device"
22483 msgstr ""
22484
22485 # type: verbatim
22486 #: ../fish/guestfish-actions.pod:4355
22487 #, no-wrap
22488 msgid ""
22489 " zero-device device\n"
22490 "\n"
22491 msgstr ""
22492
22493 # type: textblock
22494 #: ../fish/guestfish-actions.pod:4357
22495 msgid ""
22496 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
22497 "which just zeroes the first few blocks of a device."
22498 msgstr ""
22499
22500 # type: =head2
22501 #: ../fish/guestfish-actions.pod:4364
22502 msgid "zerofree"
22503 msgstr ""
22504
22505 # type: verbatim
22506 #: ../fish/guestfish-actions.pod:4366
22507 #, no-wrap
22508 msgid ""
22509 " zerofree device\n"
22510 "\n"
22511 msgstr ""
22512
22513 # type: =head2
22514 #: ../fish/guestfish-actions.pod:4379
22515 msgid "zfgrep"
22516 msgstr ""
22517
22518 # type: verbatim
22519 #: ../fish/guestfish-actions.pod:4381
22520 #, no-wrap
22521 msgid ""
22522 " zfgrep pattern path\n"
22523 "\n"
22524 msgstr ""
22525
22526 # type: =head2
22527 #: ../fish/guestfish-actions.pod:4389
22528 msgid "zfgrepi"
22529 msgstr ""
22530
22531 # type: verbatim
22532 #: ../fish/guestfish-actions.pod:4391
22533 #, no-wrap
22534 msgid ""
22535 " zfgrepi pattern path\n"
22536 "\n"
22537 msgstr ""
22538
22539 # type: =head2
22540 #: ../fish/guestfish-actions.pod:4399
22541 msgid "zfile"
22542 msgstr ""
22543
22544 # type: verbatim
22545 #: ../fish/guestfish-actions.pod:4401
22546 #, no-wrap
22547 msgid ""
22548 " zfile meth path\n"
22549 "\n"
22550 msgstr ""
22551
22552 # type: textblock
22553 #: ../fish/guestfish-actions.pod:4408
22554 msgid "Since 1.0.63, use L</file> instead which can now process compressed files."
22555 msgstr ""
22556
22557 # type: =head2
22558 #: ../fish/guestfish-actions.pod:4418
22559 msgid "zgrep"
22560 msgstr ""
22561
22562 # type: verbatim
22563 #: ../fish/guestfish-actions.pod:4420
22564 #, no-wrap
22565 msgid ""
22566 " zgrep regex path\n"
22567 "\n"
22568 msgstr ""
22569
22570 # type: =head2
22571 #: ../fish/guestfish-actions.pod:4428
22572 msgid "zgrepi"
22573 msgstr ""
22574
22575 # type: verbatim
22576 #: ../fish/guestfish-actions.pod:4430
22577 #, no-wrap
22578 msgid ""
22579 " zgrepi regex path\n"
22580 "\n"
22581 msgstr ""
22582
22583 # type: =head2
22584 #: ../fish/guestfish-commands.pod:1
22585 msgid "alloc"
22586 msgstr ""
22587
22588 # type: =head2
22589 #: ../fish/guestfish-commands.pod:3
22590 msgid "allocate"
22591 msgstr ""
22592
22593 # type: verbatim
22594 #: ../fish/guestfish-commands.pod:5
22595 #, no-wrap
22596 msgid ""
22597 " alloc filename size\n"
22598 "\n"
22599 msgstr ""
22600
22601 # type: textblock
22602 #: ../fish/guestfish-commands.pod:7
22603 msgid ""
22604 "This creates an empty (zeroed) file of the given size, and then adds so it "
22605 "can be further examined."
22606 msgstr ""
22607
22608 # type: textblock
22609 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:168
22610 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
22611 msgstr ""
22612
22613 # type: textblock
22614 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:170
22615 msgid "Size can be specified using standard suffixes, eg. C<1M>."
22616 msgstr ""
22617
22618 # type: textblock
22619 #: ../fish/guestfish-commands.pod:14
22620 msgid ""
22621 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
22622 "image, see L</PREPARED DISK IMAGES>."
22623 msgstr ""
22624
22625 # type: =head2
22626 #: ../fish/guestfish-commands.pod:17
22627 msgid "copy-in"
22628 msgstr ""
22629
22630 # type: verbatim
22631 #: ../fish/guestfish-commands.pod:19
22632 #, no-wrap
22633 msgid ""
22634 " copy-in local [local ...] /remotedir\n"
22635 "\n"
22636 msgstr ""
22637
22638 # type: textblock
22639 #: ../fish/guestfish-commands.pod:21
22640 msgid ""
22641 "C<copy-in> copies local files or directories recursively into the disk "
22642 "image, placing them in the directory called C</remotedir> (which must "
22643 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
22644 "other commands as necessary."
22645 msgstr ""
22646
22647 # type: textblock
22648 #: ../fish/guestfish-commands.pod:26
22649 msgid ""
22650 "Multiple local files and directories can be specified, but the last "
22651 "parameter must always be a remote directory.  Wildcards cannot be used."
22652 msgstr ""
22653
22654 # type: =head2
22655 #: ../fish/guestfish-commands.pod:30
22656 msgid "copy-out"
22657 msgstr ""
22658
22659 # type: verbatim
22660 #: ../fish/guestfish-commands.pod:32
22661 #, no-wrap
22662 msgid ""
22663 " copy-out remote [remote ...] localdir\n"
22664 "\n"
22665 msgstr ""
22666
22667 # type: textblock
22668 #: ../fish/guestfish-commands.pod:34
22669 msgid ""
22670 "C<copy-out> copies remote files or directories recursively out of the disk "
22671 "image, placing them on the host disk in a local directory called C<localdir> "
22672 "(which must exist).  This guestfish meta-command turns into a sequence of "
22673 "L</download>, L</tar-out> and other commands as necessary."
22674 msgstr ""
22675
22676 # type: textblock
22677 #: ../fish/guestfish-commands.pod:40
22678 msgid ""
22679 "Multiple remote files and directories can be specified, but the last "
22680 "parameter must always be a local directory.  To download to the current "
22681 "directory, use C<.> as in:"
22682 msgstr ""
22683
22684 # type: verbatim
22685 #: ../fish/guestfish-commands.pod:44
22686 #, no-wrap
22687 msgid ""
22688 " copy-out /home .\n"
22689 "\n"
22690 msgstr ""
22691
22692 # type: textblock
22693 #: ../fish/guestfish-commands.pod:46
22694 msgid ""
22695 "Wildcards cannot be used in the ordinary command, but you can use them with "
22696 "the help of L</glob> like this:"
22697 msgstr ""
22698
22699 # type: verbatim
22700 #: ../fish/guestfish-commands.pod:49
22701 #, no-wrap
22702 msgid ""
22703 " glob copy-out /home/* .\n"
22704 "\n"
22705 msgstr ""
22706
22707 # type: =head2
22708 #: ../fish/guestfish-commands.pod:51
22709 msgid "echo"
22710 msgstr ""
22711
22712 # type: verbatim
22713 #: ../fish/guestfish-commands.pod:53
22714 #, no-wrap
22715 msgid ""
22716 " echo [params ...]\n"
22717 "\n"
22718 msgstr ""
22719
22720 # type: textblock
22721 #: ../fish/guestfish-commands.pod:55
22722 msgid "This echos the parameters to the terminal."
22723 msgstr ""
22724
22725 # type: =head2
22726 #: ../fish/guestfish-commands.pod:57
22727 msgid "edit"
22728 msgstr ""
22729
22730 # type: =head2
22731 #: ../fish/guestfish-commands.pod:59
22732 msgid "vi"
22733 msgstr ""
22734
22735 # type: =head2
22736 #: ../fish/guestfish-commands.pod:61
22737 msgid "emacs"
22738 msgstr ""
22739
22740 # type: verbatim
22741 #: ../fish/guestfish-commands.pod:63
22742 #, no-wrap
22743 msgid ""
22744 " edit filename\n"
22745 "\n"
22746 msgstr ""
22747
22748 # type: textblock
22749 #: ../fish/guestfish-commands.pod:65
22750 msgid ""
22751 "This is used to edit a file.  It downloads the file, edits it locally using "
22752 "your editor, then uploads the result."
22753 msgstr ""
22754
22755 # type: textblock
22756 #: ../fish/guestfish-commands.pod:68
22757 msgid ""
22758 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
22759 "or C<emacs> you will get those corresponding editors."
22760 msgstr ""
22761
22762 # type: =head2
22763 #: ../fish/guestfish-commands.pod:72
22764 msgid "glob"
22765 msgstr ""
22766
22767 # type: verbatim
22768 #: ../fish/guestfish-commands.pod:74
22769 #, no-wrap
22770 msgid ""
22771 " glob command args...\n"
22772 "\n"
22773 msgstr ""
22774
22775 # type: textblock
22776 #: ../fish/guestfish-commands.pod:76
22777 msgid ""
22778 "Expand wildcards in any paths in the args list, and run C<command> "
22779 "repeatedly on each matching path."
22780 msgstr ""
22781
22782 # type: textblock
22783 #: ../fish/guestfish-commands.pod:79
22784 msgid "See L</WILDCARDS AND GLOBBING>."
22785 msgstr ""
22786
22787 # type: =head2
22788 #: ../fish/guestfish-commands.pod:81
22789 msgid "hexedit"
22790 msgstr ""
22791
22792 # type: verbatim
22793 #: ../fish/guestfish-commands.pod:83
22794 #, no-wrap
22795 msgid ""
22796 " hexedit <filename|device>\n"
22797 " hexedit <filename|device> <max>\n"
22798 " hexedit <filename|device> <start> <max>\n"
22799 "\n"
22800 msgstr ""
22801
22802 # type: textblock
22803 #: ../fish/guestfish-commands.pod:87
22804 msgid ""
22805 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
22806 "device."
22807 msgstr ""
22808
22809 # type: textblock
22810 #: ../fish/guestfish-commands.pod:90
22811 msgid ""
22812 "This command works by downloading potentially the whole file or device, "
22813 "editing it locally, then uploading it.  If the file or device is large, you "
22814 "have to specify which part you wish to edit by using C<max> and/or C<start> "
22815 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
22816 "usual modifiers allowed such as C<1M> (1 megabyte)."
22817 msgstr ""
22818
22819 # type: textblock
22820 #: ../fish/guestfish-commands.pod:97
22821 msgid "For example to edit the first few sectors of a disk you might do:"
22822 msgstr ""
22823
22824 # type: verbatim
22825 #: ../fish/guestfish-commands.pod:100
22826 #, no-wrap
22827 msgid ""
22828 " hexedit /dev/sda 1M\n"
22829 "\n"
22830 msgstr ""
22831
22832 # type: textblock
22833 #: ../fish/guestfish-commands.pod:102
22834 msgid ""
22835 "which would allow you to edit anywhere within the first megabyte of the "
22836 "disk."
22837 msgstr ""
22838
22839 # type: textblock
22840 #: ../fish/guestfish-commands.pod:105
22841 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
22842 msgstr ""
22843
22844 # type: verbatim
22845 #: ../fish/guestfish-commands.pod:107
22846 #, no-wrap
22847 msgid ""
22848 " hexedit /dev/sda1 0x400 0x400\n"
22849 "\n"
22850 msgstr ""
22851
22852 # type: textblock
22853 #: ../fish/guestfish-commands.pod:109
22854 msgid "(assuming the superblock is in the standard location)."
22855 msgstr ""
22856
22857 # type: textblock
22858 #: ../fish/guestfish-commands.pod:111
22859 msgid ""
22860 "This command requires the external L<hexedit(1)> program.  You can specify "
22861 "another program to use by setting the C<HEXEDITOR> environment variable."
22862 msgstr ""
22863
22864 # type: textblock
22865 #: ../fish/guestfish-commands.pod:115
22866 msgid "See also L</hexdump>."
22867 msgstr ""
22868
22869 # type: =head2
22870 #: ../fish/guestfish-commands.pod:117
22871 msgid "lcd"
22872 msgstr ""
22873
22874 # type: verbatim
22875 #: ../fish/guestfish-commands.pod:119
22876 #, no-wrap
22877 msgid ""
22878 " lcd directory\n"
22879 "\n"
22880 msgstr ""
22881
22882 # type: textblock
22883 #: ../fish/guestfish-commands.pod:121
22884 msgid "Change the local directory, ie. the current directory of guestfish itself."
22885 msgstr ""
22886
22887 # type: textblock
22888 #: ../fish/guestfish-commands.pod:124
22889 msgid "Note that C<!cd> won't do what you might expect."
22890 msgstr ""
22891
22892 # type: =head2
22893 #: ../fish/guestfish-commands.pod:126
22894 msgid "man"
22895 msgstr ""
22896
22897 # type: =head2
22898 #: ../fish/guestfish-commands.pod:128
22899 msgid "manual"
22900 msgstr ""
22901
22902 # type: verbatim
22903 #: ../fish/guestfish-commands.pod:130
22904 #, no-wrap
22905 msgid ""
22906 "  man\n"
22907 "\n"
22908 msgstr ""
22909
22910 # type: textblock
22911 #: ../fish/guestfish-commands.pod:132
22912 msgid "Opens the manual page for guestfish."
22913 msgstr ""
22914
22915 # type: =head2
22916 #: ../fish/guestfish-commands.pod:134
22917 msgid "more"
22918 msgstr ""
22919
22920 # type: =head2
22921 #: ../fish/guestfish-commands.pod:136
22922 msgid "less"
22923 msgstr ""
22924
22925 # type: verbatim
22926 #: ../fish/guestfish-commands.pod:138
22927 #, no-wrap
22928 msgid ""
22929 " more filename\n"
22930 "\n"
22931 msgstr ""
22932
22933 # type: verbatim
22934 #: ../fish/guestfish-commands.pod:140
22935 #, no-wrap
22936 msgid ""
22937 " less filename\n"
22938 "\n"
22939 msgstr ""
22940
22941 # type: textblock
22942 #: ../fish/guestfish-commands.pod:142
22943 msgid "This is used to view a file."
22944 msgstr ""
22945
22946 # type: textblock
22947 #: ../fish/guestfish-commands.pod:144
22948 msgid ""
22949 "The default viewer is C<$PAGER>.  However if you use the alternate command "
22950 "C<less> you will get the C<less> command specifically."
22951 msgstr ""
22952
22953 # type: =head2
22954 #: ../fish/guestfish-commands.pod:147
22955 msgid "reopen"
22956 msgstr ""
22957
22958 # type: verbatim
22959 #: ../fish/guestfish-commands.pod:149
22960 #, no-wrap
22961 msgid ""
22962 "  reopen\n"
22963 "\n"
22964 msgstr ""
22965
22966 # type: textblock
22967 #: ../fish/guestfish-commands.pod:151
22968 msgid ""
22969 "Close and reopen the libguestfs handle.  It is not necessary to use this "
22970 "normally, because the handle is closed properly when guestfish exits.  "
22971 "However this is occasionally useful for testing."
22972 msgstr ""
22973
22974 # type: =head2
22975 #: ../fish/guestfish-commands.pod:155
22976 msgid "sparse"
22977 msgstr ""
22978
22979 # type: verbatim
22980 #: ../fish/guestfish-commands.pod:157
22981 #, no-wrap
22982 msgid ""
22983 " sparse filename size\n"
22984 "\n"
22985 msgstr ""
22986
22987 # type: textblock
22988 #: ../fish/guestfish-commands.pod:159
22989 msgid ""
22990 "This creates an empty sparse file of the given size, and then adds so it can "
22991 "be further examined."
22992 msgstr ""
22993
22994 # type: textblock
22995 #: ../fish/guestfish-commands.pod:162
22996 msgid ""
22997 "In all respects it works the same as the L</alloc> command, except that the "
22998 "image file is allocated sparsely, which means that disk blocks are not "
22999 "assigned to the file until they are needed.  Sparse disk files only use "
23000 "space when written to, but they are slower and there is a danger you could "
23001 "run out of real disk space during a write operation."
23002 msgstr ""
23003
23004 # type: =head2
23005 #: ../fish/guestfish-commands.pod:172
23006 msgid "supported"
23007 msgstr ""
23008
23009 # type: verbatim
23010 #: ../fish/guestfish-commands.pod:174
23011 #, no-wrap
23012 msgid ""
23013 " supported\n"
23014 "\n"
23015 msgstr ""
23016
23017 # type: textblock
23018 #: ../fish/guestfish-commands.pod:176
23019 msgid ""
23020 "This command returns a list of the optional groups known to the daemon, and "
23021 "indicates which ones are supported by this build of the libguestfs "
23022 "appliance."
23023 msgstr ""
23024
23025 # type: textblock
23026 #: ../fish/guestfish-commands.pod:180
23027 msgid "See also L<guestfs(3)/AVAILABILITY>."
23028 msgstr ""
23029
23030 # type: =head2
23031 #: ../fish/guestfish-commands.pod:182
23032 msgid "time"
23033 msgstr ""
23034
23035 # type: verbatim
23036 #: ../fish/guestfish-commands.pod:184
23037 #, no-wrap
23038 msgid ""
23039 " time command args...\n"
23040 "\n"
23041 msgstr ""
23042
23043 # type: textblock
23044 #: ../fish/guestfish-commands.pod:186
23045 msgid ""
23046 "Run the command as usual, but print the elapsed time afterwards.  This can "
23047 "be useful for benchmarking operations."
23048 msgstr ""
23049
23050 # type: textblock
23051 #: ../test-tool/libguestfs-test-tool.pod:5
23052 msgid "libguestfs-test-tool - End user tests for libguestfs"
23053 msgstr ""
23054
23055 # type: verbatim
23056 #: ../test-tool/libguestfs-test-tool.pod:9
23057 #, no-wrap
23058 msgid ""
23059 " libguestfs-test-tool [--options]\n"
23060 "\n"
23061 msgstr ""
23062
23063 # type: textblock
23064 #: ../test-tool/libguestfs-test-tool.pod:13
23065 msgid ""
23066 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
23067 "and developers, to allow them to check basic libguestfs functionality is "
23068 "working.  This is needed because libguestfs occasionally breaks for reasons "
23069 "beyond our control: usually because of changes in the underlying qemu or "
23070 "kernel packages, or the host environment."
23071 msgstr ""
23072
23073 # type: textblock
23074 #: ../test-tool/libguestfs-test-tool.pod:20
23075 msgid "If you suspect a problem in libguestfs, then just run:"
23076 msgstr ""
23077
23078 # type: verbatim
23079 #: ../test-tool/libguestfs-test-tool.pod:22
23080 #, no-wrap
23081 msgid ""
23082 " libguestfs-test-tool\n"
23083 "\n"
23084 msgstr ""
23085
23086 # type: textblock
23087 #: ../test-tool/libguestfs-test-tool.pod:24
23088 msgid "It will print lots of diagnostic messages."
23089 msgstr ""
23090
23091 # type: textblock
23092 #: ../test-tool/libguestfs-test-tool.pod:26
23093 msgid "If it runs to completion successfully, you will see this near the end:"
23094 msgstr ""
23095
23096 # type: verbatim
23097 #: ../test-tool/libguestfs-test-tool.pod:28
23098 #, no-wrap
23099 msgid ""
23100 " ===== TEST FINISHED OK =====\n"
23101 "\n"
23102 msgstr ""
23103
23104 # type: textblock
23105 #: ../test-tool/libguestfs-test-tool.pod:30
23106 msgid "and the test tool will exit with code 0."
23107 msgstr ""
23108
23109 # type: textblock
23110 #: ../test-tool/libguestfs-test-tool.pod:32
23111 msgid ""
23112 "If it fails (and/or exits with non-zero error code), please paste the "
23113 "B<complete, unedited> output of the test tool into a bug report.  More "
23114 "information about reporting bugs can be found on the "
23115 "L<http://libguestfs.org/> website."
23116 msgstr ""
23117
23118 # type: =item
23119 #: ../test-tool/libguestfs-test-tool.pod:41
23120 msgid "I<--help>"
23121 msgstr ""
23122
23123 # type: textblock
23124 #: ../test-tool/libguestfs-test-tool.pod:43
23125 msgid "Display short usage information and exit."
23126 msgstr ""
23127
23128 # type: =item
23129 #: ../test-tool/libguestfs-test-tool.pod:45
23130 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
23131 msgstr ""
23132
23133 # type: textblock
23134 #: ../test-tool/libguestfs-test-tool.pod:47
23135 msgid ""
23136 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
23137 "normally look in the C<$libexec> directory that was configured when the tool "
23138 "was built."
23139 msgstr ""
23140
23141 # type: =item
23142 #: ../test-tool/libguestfs-test-tool.pod:51
23143 msgid "I<--qemu qemu_binary>"
23144 msgstr ""
23145
23146 # type: textblock
23147 #: ../test-tool/libguestfs-test-tool.pod:53
23148 msgid ""
23149 "If you have downloaded another qemu binary, point this option at the full "
23150 "path of the binary to try it."
23151 msgstr ""
23152
23153 # type: =item
23154 #: ../test-tool/libguestfs-test-tool.pod:56
23155 msgid "I<--qemudir qemu_source_dir>"
23156 msgstr ""
23157
23158 # type: textblock
23159 #: ../test-tool/libguestfs-test-tool.pod:58
23160 msgid ""
23161 "If you have compiled qemu from source, point this option at the source "
23162 "directory to try it."
23163 msgstr ""
23164
23165 # type: =item
23166 #: ../test-tool/libguestfs-test-tool.pod:61
23167 msgid "I<--timeout N>"
23168 msgstr ""
23169
23170 # type: textblock
23171 #: ../test-tool/libguestfs-test-tool.pod:63
23172 msgid ""
23173 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
23174 "does not usually need to be adjusted unless your machine is very slow."
23175 msgstr ""
23176
23177 # type: =head1
23178 #: ../test-tool/libguestfs-test-tool.pod:69
23179 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
23180 msgstr ""
23181
23182 # type: textblock
23183 #: ../test-tool/libguestfs-test-tool.pod:71
23184 msgid ""
23185 "If you have compiled another version of qemu from source and would like to "
23186 "try that, then you can use the I<--qemudir> option to point to the qemu "
23187 "source directory."
23188 msgstr ""
23189
23190 # type: textblock
23191 #: ../test-tool/libguestfs-test-tool.pod:75
23192 msgid ""
23193 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
23194 "option to point to the binary."
23195 msgstr ""
23196
23197 # type: textblock
23198 #: ../test-tool/libguestfs-test-tool.pod:78
23199 msgid ""
23200 "When using an alternate qemu with libguestfs, usually you would need to "
23201 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in "
23202 "L<guestfs(3)>).  libguestfs-test-tool writes a temporary qemu wrapper script "
23203 "when you use either of the I<--qemudir> or I<--qemu> options."
23204 msgstr ""
23205
23206 # type: textblock
23207 #: ../test-tool/libguestfs-test-tool.pod:85
23208 msgid ""
23209 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
23210 "I<1> if there was an error."
23211 msgstr ""
23212
23213 # type: =item
23214 #: ../test-tool/libguestfs-test-tool.pod:92
23215 msgid "/usr/libexec/libguestfs-test-tool-helper"
23216 msgstr ""
23217
23218 # type: textblock
23219 #: ../test-tool/libguestfs-test-tool.pod:94
23220 msgid ""
23221 "This helper program is run inside the appliance and provides additional "
23222 "tests."
23223 msgstr ""
23224
23225 # type: =item
23226 #: ../test-tool/libguestfs-test-tool.pod:97
23227 msgid "/usr/bin/mkisofs"
23228 msgstr ""
23229
23230 # type: textblock
23231 #: ../test-tool/libguestfs-test-tool.pod:99
23232 msgid ""
23233 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
23234 "which is used as part of the tests."
23235 msgstr ""
23236
23237 # type: textblock
23238 #: ../test-tool/libguestfs-test-tool.pod:106
23239 msgid ""
23240 "For the full list of environment variables which may affect libguestfs, "
23241 "please see the L<guestfs(3)> manual page."
23242 msgstr ""
23243
23244 # type: textblock
23245 #: ../test-tool/libguestfs-test-tool.pod:111
23246 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
23247 msgstr ""
23248
23249 # type: textblock
23250 #: ../test-tool/libguestfs-test-tool.pod:121
23251 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
23252 msgstr ""
23253
23254 # type: textblock
23255 #: ../fuse/guestmount.pod:5
23256 msgid "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
23257 msgstr ""
23258
23259 # type: verbatim
23260 #: ../fuse/guestmount.pod:9
23261 #, no-wrap
23262 msgid ""
23263 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
23264 "\n"
23265 msgstr ""
23266
23267 # type: verbatim
23268 #: ../fuse/guestmount.pod:11
23269 #, no-wrap
23270 msgid ""
23271 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
23272 "\n"
23273 msgstr ""
23274
23275 # type: verbatim
23276 #: ../fuse/guestmount.pod:13
23277 #, no-wrap
23278 msgid ""
23279 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
23280 "\n"
23281 msgstr ""
23282
23283 # type: textblock
23284 #: ../fuse/guestmount.pod:17
23285 msgid ""
23286 "You must I<not> use C<guestmount> in read-write mode on live virtual "
23287 "machines.  If you do this, you risk disk corruption in the VM."
23288 msgstr ""
23289
23290 # type: textblock
23291 #: ../fuse/guestmount.pod:22
23292 msgid ""
23293 "The guestmount program can be used to mount virtual machine filesystems and "
23294 "other disk images on the host.  It uses libguestfs for access to the guest "
23295 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
23296 "a mountable device."
23297 msgstr ""
23298
23299 # type: textblock
23300 #: ../fuse/guestmount.pod:27
23301 msgid ""
23302 "Along with other options, you have to give at least one device (I<-a> "
23303 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m> "
23304 "option) or use the I<-i> inspection option.  How this works is better "
23305 "explained in the L<guestfish(1)> manual page, or by looking at the examples "
23306 "below."
23307 msgstr ""
23308
23309 # type: textblock
23310 #: ../fuse/guestmount.pod:33
23311 msgid ""
23312 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
23313 "by you, and the filesystem will not be visible to any other users unless you "
23314 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
23315 "the filesystem, use the C<fusermount -u> command."
23316 msgstr ""
23317
23318 # type: textblock
23319 #: ../fuse/guestmount.pod:41
23320 msgid ""
23321 "For a typical Windows guest which has its main filesystem on the first "
23322 "partition:"
23323 msgstr ""
23324
23325 # type: verbatim
23326 #: ../fuse/guestmount.pod:44
23327 #, no-wrap
23328 msgid ""
23329 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
23330 "\n"
23331 msgstr ""
23332
23333 # type: textblock
23334 #: ../fuse/guestmount.pod:46
23335 msgid ""
23336 "For a typical Linux guest which has a /boot filesystem on the first "
23337 "partition, and the root filesystem on a logical volume:"
23338 msgstr ""
23339
23340 # type: verbatim
23341 #: ../fuse/guestmount.pod:49
23342 #, no-wrap
23343 msgid ""
23344 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
23345 "\n"
23346 msgstr ""
23347
23348 # type: textblock
23349 #: ../fuse/guestmount.pod:51
23350 msgid "To get libguestfs to detect guest mountpoints for you:"
23351 msgstr ""
23352
23353 # type: verbatim
23354 #: ../fuse/guestmount.pod:53
23355 #, no-wrap
23356 msgid ""
23357 " guestmount -a guest.img -i --ro /mnt\n"
23358 "\n"
23359 msgstr ""
23360
23361 # type: textblock
23362 #: ../fuse/guestmount.pod:55
23363 msgid "For a libvirt guest called \"Guest\" you could do:"
23364 msgstr ""
23365
23366 # type: verbatim
23367 #: ../fuse/guestmount.pod:57
23368 #, no-wrap
23369 msgid ""
23370 " guestmount -d Guest -i --ro /mnt\n"
23371 "\n"
23372 msgstr ""
23373
23374 # type: textblock
23375 #: ../fuse/guestmount.pod:59
23376 msgid ""
23377 "If you don't know what filesystems are contained in a guest or disk image, "
23378 "use L<virt-list-filesystems(1)> first:"
23379 msgstr ""
23380
23381 # type: verbatim
23382 #: ../fuse/guestmount.pod:62
23383 #, no-wrap
23384 msgid ""
23385 " virt-list-filesystems MyGuest\n"
23386 "\n"
23387 msgstr ""
23388
23389 # type: textblock
23390 #: ../fuse/guestmount.pod:64
23391 msgid ""
23392 "If you want to trace the libguestfs calls but without excessive debugging "
23393 "information, we recommend:"
23394 msgstr ""
23395
23396 # type: verbatim
23397 #: ../fuse/guestmount.pod:67
23398 #, no-wrap
23399 msgid ""
23400 " guestmount [...] --trace /mnt\n"
23401 "\n"
23402 msgstr ""
23403
23404 # type: textblock
23405 #: ../fuse/guestmount.pod:69
23406 msgid "If you want to debug the program, we recommend:"
23407 msgstr ""
23408
23409 # type: verbatim
23410 #: ../fuse/guestmount.pod:71
23411 #, no-wrap
23412 msgid ""
23413 " guestmount [...] --trace --verbose /mnt\n"
23414 "\n"
23415 msgstr ""
23416
23417 # type: textblock
23418 #: ../fuse/guestmount.pod:79
23419 msgid "Add a block device or virtual machine image."
23420 msgstr ""
23421
23422 # type: =item
23423 #: ../fuse/guestmount.pod:96
23424 msgid "B<--dir-cache-timeout N>"
23425 msgstr ""
23426
23427 # type: textblock
23428 #: ../fuse/guestmount.pod:98
23429 msgid ""
23430 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
23431 "seconds.  The readdir cache [actually, there are several semi-independent "
23432 "caches] is populated after a readdir(2) call with the stat and extended "
23433 "attributes of the files in the directory, in anticipation that they will be "
23434 "requested soon after."
23435 msgstr ""
23436
23437 # type: textblock
23438 #: ../fuse/guestmount.pod:104
23439 msgid ""
23440 "There is also a different attribute cache implemented by FUSE (see the FUSE "
23441 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
23442 "requests, only cache existing ones."
23443 msgstr ""
23444
23445 # type: textblock
23446 #: ../fuse/guestmount.pod:115
23447 msgid ""
23448 "If you have untrusted raw-format guest disk images, you should use this "
23449 "option to specify the disk format.  This avoids a possible security problem "
23450 "with malicious guests (CVE-2010-3851).  See also "
23451 "L<guestfs(3)/guestfs_add_drive_opts>."
23452 msgstr ""
23453
23454 # type: =item
23455 #: ../fuse/guestmount.pod:120
23456 msgid "B<--fuse-help>"
23457 msgstr ""
23458
23459 # type: textblock
23460 #: ../fuse/guestmount.pod:122
23461 msgid "Display help on special FUSE options (see I<-o> below)."
23462 msgstr ""
23463
23464 # type: textblock
23465 #: ../fuse/guestmount.pod:126
23466 msgid "Display brief help and exit."
23467 msgstr ""
23468
23469 # type: =item
23470 #: ../fuse/guestmount.pod:134
23471 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
23472 msgstr ""
23473
23474 # type: textblock
23475 #: ../fuse/guestmount.pod:136
23476 msgid ""
23477 "Mount the named partition or logical volume on the given mountpoint B<in the "
23478 "guest> (this has nothing to do with mountpoints in the host)."
23479 msgstr ""
23480
23481 # type: textblock
23482 #: ../fuse/guestmount.pod:139
23483 msgid ""
23484 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
23485 "something on C</>."
23486 msgstr ""
23487
23488 # type: textblock
23489 #: ../fuse/guestmount.pod:144
23490 msgid ""
23491 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
23492 "unmounted.  If you specify this option, then we don't attempt to sync the "
23493 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
23494 msgstr ""
23495
23496 # type: =item
23497 #: ../fuse/guestmount.pod:149
23498 msgid "B<-o option> | B<--option option>"
23499 msgstr ""
23500
23501 # type: textblock
23502 #: ../fuse/guestmount.pod:151
23503 msgid "Pass extra options to FUSE."
23504 msgstr ""
23505
23506 # type: textblock
23507 #: ../fuse/guestmount.pod:153
23508 msgid ""
23509 "To get a list of all the extra options supported by FUSE, use the command "
23510 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
23511 "of them are a good idea."
23512 msgstr ""
23513
23514 # type: verbatim
23515 #: ../fuse/guestmount.pod:157
23516 #, no-wrap
23517 msgid ""
23518 " guestmount --fuse-help\n"
23519 "\n"
23520 msgstr ""
23521
23522 # type: textblock
23523 #: ../fuse/guestmount.pod:159
23524 msgid "Some potentially useful FUSE options:"
23525 msgstr ""
23526
23527 # type: =item
23528 #: ../fuse/guestmount.pod:163
23529 msgid "B<-o allow_other>"
23530 msgstr ""
23531
23532 # type: textblock
23533 #: ../fuse/guestmount.pod:165
23534 msgid "Allow other users to see the filesystem."
23535 msgstr ""
23536
23537 # type: =item
23538 #: ../fuse/guestmount.pod:167
23539 msgid "B<-o attr_timeout=N>"
23540 msgstr ""
23541
23542 # type: textblock
23543 #: ../fuse/guestmount.pod:169
23544 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
23545 msgstr ""
23546
23547 # type: =item
23548 #: ../fuse/guestmount.pod:171
23549 msgid "B<-o kernel_cache>"
23550 msgstr ""
23551
23552 # type: textblock
23553 #: ../fuse/guestmount.pod:173
23554 msgid ""
23555 "Allow the kernel to cache files (reduces the number of reads that have to go "
23556 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
23557 "afford the extra memory usage."
23558 msgstr ""
23559
23560 # type: =item
23561 #: ../fuse/guestmount.pod:177
23562 msgid "B<-o uid=N> B<-o gid=N>"
23563 msgstr ""
23564
23565 # type: textblock
23566 #: ../fuse/guestmount.pod:179
23567 msgid ""
23568 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
23569 "the chosen values."
23570 msgstr ""
23571
23572 # type: textblock
23573 #: ../fuse/guestmount.pod:186
23574 msgid ""
23575 "Add devices and mount everything read-only.  Also disallow writes and make "
23576 "the disk appear read-only to FUSE."
23577 msgstr ""
23578
23579 # type: textblock
23580 #: ../fuse/guestmount.pod:189
23581 msgid ""
23582 "This is highly recommended if you are not going to edit the guest disk.  If "
23583 "the guest is running and this option is I<not> supplied, then there is a "
23584 "strong risk of disk corruption in the guest.  We try to prevent this from "
23585 "happening, but it is not always possible."
23586 msgstr ""
23587
23588 # type: textblock
23589 #: ../fuse/guestmount.pod:196
23590 msgid "Enable SELinux support for the guest."
23591 msgstr ""
23592
23593 # type: textblock
23594 #: ../fuse/guestmount.pod:200
23595 msgid "Enable verbose messages from underlying libguestfs."
23596 msgstr ""
23597
23598 # type: textblock
23599 #: ../fuse/guestmount.pod:204
23600 msgid "Display the program version and exit."
23601 msgstr ""
23602
23603 # type: =item
23604 #: ../fuse/guestmount.pod:206
23605 msgid "B<-x> | B<--trace>"
23606 msgstr ""
23607
23608 # type: textblock
23609 #: ../fuse/guestmount.pod:208
23610 msgid "Trace libguestfs calls."
23611 msgstr ""
23612
23613 # type: textblock
23614 #: ../fuse/guestmount.pod:210
23615 msgid "This also stops the daemon from forking into the background."
23616 msgstr ""
23617
23618 # type: textblock
23619 #: ../fuse/guestmount.pod:216
23620 msgid ""
23621 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
23622 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, "
23623 "L<http://fuse.sf.net/>."
23624 msgstr ""
23625
23626 # type: textblock
23627 #: ../inspector/virt-inspector.pl:40
23628 msgid ""
23629 "virt-inspector - Display OS version, kernel, drivers, mount points, "
23630 "applications, etc. in a virtual machine"
23631 msgstr ""
23632
23633 # type: verbatim
23634 #: ../inspector/virt-inspector.pl:44
23635 #, no-wrap
23636 msgid ""
23637 " virt-inspector [--connect URI] domname\n"
23638 "\n"
23639 msgstr ""
23640
23641 # type: verbatim
23642 #: ../inspector/virt-inspector.pl:46
23643 #, no-wrap
23644 msgid ""
23645 " virt-inspector guest.img [guest.img ...]\n"
23646 "\n"
23647 msgstr ""
23648
23649 # type: textblock
23650 #: ../inspector/virt-inspector.pl:50
23651 msgid ""
23652 "B<virt-inspector> examines a virtual machine and tries to determine the "
23653 "version of the OS, the kernel version, what drivers are installed, whether "
23654 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
23655 "applications are installed and more."
23656 msgstr ""
23657
23658 # type: textblock
23659 #: ../inspector/virt-inspector.pl:55
23660 msgid ""
23661 "Virt-inspector can produce output in several formats, including a readable "
23662 "text report, and XML for feeding into other programs."
23663 msgstr ""
23664
23665 # type: textblock
23666 #: ../inspector/virt-inspector.pl:58
23667 msgid ""
23668 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
23669 "libvirt domain (see: C<virsh list --all>)."
23670 msgstr ""
23671
23672 # type: textblock
23673 #: ../inspector/virt-inspector.pl:61
23674 msgid ""
23675 "You can also run virt-inspector directly on disk images from a single "
23676 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
23677 "has several block devices, in which case you should list them one after "
23678 "another, with the first corresponding to the guest's C</dev/sda>, the second "
23679 "to the guest's C</dev/sdb> and so on."
23680 msgstr ""
23681
23682 # type: textblock
23683 #: ../inspector/virt-inspector.pl:67
23684 msgid ""
23685 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
23686 "inspect several virtual machines, you have to run virt-inspector several "
23687 "times (for example, from a shell script for-loop)."
23688 msgstr ""
23689
23690 # type: textblock
23691 #: ../inspector/virt-inspector.pl:72
23692 msgid ""
23693 "Because virt-inspector needs direct access to guest images, it won't "
23694 "normally work over remote libvirt connections."
23695 msgstr ""
23696
23697 # type: textblock
23698 #: ../inspector/virt-inspector.pl:85 ../tools/virt-edit.pl:83 ../tools/virt-win-reg.pl:182 ../tools/virt-df.pl:81 ../tools/virt-ls.pl:89 ../tools/virt-list-filesystems.pl:60 ../tools/virt-cat.pl:90 ../tools/virt-tar.pl:109 ../tools/virt-rescue.pl:113 ../tools/virt-make-fs.pl:163 ../tools/virt-list-partitions.pl:61
23699 msgid "Display brief help."
23700 msgstr ""
23701
23702 # type: =item
23703 #: ../inspector/virt-inspector.pl:91 ../tools/virt-edit.pl:89 ../tools/virt-win-reg.pl:188 ../tools/virt-df.pl:87 ../tools/virt-ls.pl:95 ../tools/virt-resize.pl:273 ../tools/virt-list-filesystems.pl:66 ../tools/virt-cat.pl:96 ../tools/virt-tar.pl:115 ../tools/virt-rescue.pl:119 ../tools/virt-make-fs.pl:169 ../tools/virt-list-partitions.pl:67
23704 msgid "B<--version>"
23705 msgstr ""
23706
23707 # type: textblock
23708 #: ../inspector/virt-inspector.pl:93 ../tools/virt-edit.pl:91 ../tools/virt-win-reg.pl:190 ../tools/virt-df.pl:89 ../tools/virt-ls.pl:97 ../tools/virt-resize.pl:275 ../tools/virt-list-filesystems.pl:68 ../tools/virt-cat.pl:98 ../tools/virt-tar.pl:117 ../tools/virt-rescue.pl:121 ../tools/virt-make-fs.pl:171 ../tools/virt-list-partitions.pl:69
23709 msgid "Display version number and exit."
23710 msgstr ""
23711
23712 # type: =item
23713 #: ../inspector/virt-inspector.pl:99 ../tools/virt-edit.pl:113 ../tools/virt-win-reg.pl:204 ../tools/virt-df.pl:95 ../tools/virt-ls.pl:103 ../tools/virt-list-filesystems.pl:74 ../tools/virt-cat.pl:104 ../tools/virt-tar.pl:123 ../tools/virt-rescue.pl:135 ../tools/virt-list-partitions.pl:75
23714 msgid "B<--connect URI> | B<-c URI>"
23715 msgstr ""
23716
23717 # type: textblock
23718 #: ../inspector/virt-inspector.pl:101 ../tools/virt-edit.pl:115 ../tools/virt-win-reg.pl:206 ../tools/virt-df.pl:97 ../tools/virt-ls.pl:105 ../tools/virt-list-filesystems.pl:76 ../tools/virt-cat.pl:106 ../tools/virt-tar.pl:125 ../tools/virt-rescue.pl:137 ../tools/virt-list-partitions.pl:77
23719 msgid ""
23720 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
23721 "to the default libvirt hypervisor."
23722 msgstr ""
23723
23724 # type: textblock
23725 #: ../inspector/virt-inspector.pl:104
23726 msgid ""
23727 "Libvirt is only used if you specify a C<domname> on the command line.  If "
23728 "you specify guest block devices directly, then libvirt is not used at all."
23729 msgstr ""
23730
23731 # type: =item
23732 #: ../inspector/virt-inspector.pl:112 ../tools/virt-edit.pl:125 ../tools/virt-win-reg.pl:216 ../tools/virt-df.pl:117 ../tools/virt-ls.pl:115 ../tools/virt-resize.pl:523 ../tools/virt-list-filesystems.pl:86 ../tools/virt-cat.pl:116 ../tools/virt-tar.pl:135 ../tools/virt-rescue.pl:147 ../tools/virt-list-partitions.pl:87
23733 msgid "B<--format> raw"
23734 msgstr ""
23735
23736 # type: textblock
23737 #: ../inspector/virt-inspector.pl:114 ../tools/virt-edit.pl:127 ../tools/virt-win-reg.pl:218 ../tools/virt-df.pl:119 ../tools/virt-ls.pl:117 ../tools/virt-list-filesystems.pl:88 ../tools/virt-cat.pl:118 ../tools/virt-tar.pl:137 ../tools/virt-rescue.pl:149 ../tools/virt-list-partitions.pl:89
23738 msgid ""
23739 "Specify the format of disk images given on the command line.  If this is "
23740 "omitted then the format is autodetected from the content of the disk image."
23741 msgstr ""
23742
23743 # type: textblock
23744 #: ../inspector/virt-inspector.pl:118 ../tools/virt-edit.pl:131 ../tools/virt-win-reg.pl:222 ../tools/virt-df.pl:123 ../tools/virt-ls.pl:121 ../tools/virt-list-filesystems.pl:92 ../tools/virt-cat.pl:122 ../tools/virt-tar.pl:141 ../tools/virt-rescue.pl:153 ../tools/virt-list-partitions.pl:93
23745 msgid ""
23746 "If disk images are requested from libvirt, then this program asks libvirt "
23747 "for this information.  In this case, the value of the format parameter is "
23748 "ignored."
23749 msgstr ""
23750
23751 # type: textblock
23752 #: ../inspector/virt-inspector.pl:122 ../tools/virt-edit.pl:135 ../tools/virt-win-reg.pl:226 ../tools/virt-df.pl:127 ../tools/virt-ls.pl:125 ../tools/virt-resize.pl:528 ../tools/virt-resize.pl:543 ../tools/virt-list-filesystems.pl:96 ../tools/virt-cat.pl:126 ../tools/virt-tar.pl:145 ../tools/virt-rescue.pl:157 ../tools/virt-list-partitions.pl:97
23753 msgid ""
23754 "If working with untrusted raw-format guest disk images, you should ensure "
23755 "the format is always specified."
23756 msgstr ""
23757
23758 # type: textblock
23759 #: ../inspector/virt-inspector.pl:131
23760 msgid ""
23761 "The following options select the output format.  Use only one of them.  The "
23762 "default is a readable text report."
23763 msgstr ""
23764
23765 # type: =item
23766 #: ../inspector/virt-inspector.pl:136
23767 msgid "B<--text> (default)"
23768 msgstr ""
23769
23770 # type: textblock
23771 #: ../inspector/virt-inspector.pl:138
23772 msgid "Plain text report."
23773 msgstr ""
23774
23775 # type: =item
23776 #: ../inspector/virt-inspector.pl:140
23777 msgid "B<--none>"
23778 msgstr ""
23779
23780 # type: textblock
23781 #: ../inspector/virt-inspector.pl:142
23782 msgid "Produce no output at all."
23783 msgstr ""
23784
23785 # type: =item
23786 #: ../inspector/virt-inspector.pl:144
23787 msgid "B<--xml>"
23788 msgstr ""
23789
23790 # type: textblock
23791 #: ../inspector/virt-inspector.pl:146
23792 msgid ""
23793 "If you select I<--xml> then you get XML output which can be fed to other "
23794 "programs."
23795 msgstr ""
23796
23797 # type: =item
23798 #: ../inspector/virt-inspector.pl:149
23799 msgid "B<--yaml>"
23800 msgstr ""
23801
23802 # type: textblock
23803 #: ../inspector/virt-inspector.pl:151
23804 msgid ""
23805 "If you select I<--yaml> then you get YAML output which can be fed to other "
23806 "programs."
23807 msgstr ""
23808
23809 # type: =item
23810 #: ../inspector/virt-inspector.pl:154
23811 msgid "B<--perl>"
23812 msgstr ""
23813
23814 # type: textblock
23815 #: ../inspector/virt-inspector.pl:156
23816 msgid ""
23817 "If you select I<--perl> then you get Perl structures output which can be "
23818 "used directly in another Perl program."
23819 msgstr ""
23820
23821 # type: =item
23822 #: ../inspector/virt-inspector.pl:159
23823 msgid "B<--fish>"
23824 msgstr ""
23825
23826 # type: =item
23827 #: ../inspector/virt-inspector.pl:161
23828 msgid "B<--ro-fish>"
23829 msgstr ""
23830
23831 # type: textblock
23832 #: ../inspector/virt-inspector.pl:163
23833 msgid ""
23834 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
23835 "will automatically mount up the filesystems on the correct mount points.  "
23836 "Try this for example:"
23837 msgstr ""
23838
23839 # type: verbatim
23840 #: ../inspector/virt-inspector.pl:167
23841 #, no-wrap
23842 msgid ""
23843 " guestfish $(virt-inspector --fish guest.img)\n"
23844 "\n"
23845 msgstr ""
23846
23847 # type: textblock
23848 #: ../inspector/virt-inspector.pl:169
23849 msgid ""
23850 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
23851 "that the filesystems are mounted read-only."
23852 msgstr ""
23853
23854 # type: =item
23855 #: ../inspector/virt-inspector.pl:172
23856 msgid "B<--query>"
23857 msgstr ""
23858
23859 # type: textblock
23860 #: ../inspector/virt-inspector.pl:174
23861 msgid ""
23862 "In \"query mode\" we answer common questions about the guest, such as "
23863 "whether it is fullvirt or needs a Xen hypervisor to run."
23864 msgstr ""
23865
23866 # type: textblock
23867 #: ../inspector/virt-inspector.pl:177
23868 msgid "See section I<QUERY MODE> below."
23869 msgstr ""
23870
23871 # type: =item
23872 #: ../inspector/virt-inspector.pl:183
23873 msgid "B<--windows-registry>"
23874 msgstr ""
23875
23876 # type: textblock
23877 #: ../inspector/virt-inspector.pl:185
23878 msgid ""
23879 "This flag is ignored for compatibility with earlier releases of the "
23880 "software."
23881 msgstr ""
23882
23883 # type: textblock
23884 #: ../inspector/virt-inspector.pl:188
23885 msgid ""
23886 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
23887 "information out of the Registry for any Windows guest."
23888 msgstr ""
23889
23890 # type: =head1
23891 #: ../inspector/virt-inspector.pl:244
23892 msgid "OUTPUT FORMAT"
23893 msgstr ""
23894
23895 # type: verbatim
23896 #: ../inspector/virt-inspector.pl:246
23897 #, no-wrap
23898 msgid ""
23899 " Operating system(s)\n"
23900 " -------------------\n"
23901 " Linux (distro + version)\n"
23902 " Windows (version)\n"
23903 "    |\n"
23904 "    |\n"
23905 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
23906 "         -----------            --------------     ----------------\n"
23907 "         mount point => device  List of apps       Extra information\n"
23908 "         mount point => device  and versions       about kernel(s)\n"
23909 "              ...                                  and drivers\n"
23910 "         swap => swap device\n"
23911 "         (plus lots of extra information\n"
23912 "         about each filesystem)\n"
23913 "\n"
23914 msgstr ""
23915
23916 # type: textblock
23917 #: ../inspector/virt-inspector.pl:261
23918 msgid "The output of virt-inspector is a complex two-level data structure."
23919 msgstr ""
23920
23921 # type: textblock
23922 #: ../inspector/virt-inspector.pl:263
23923 msgid ""
23924 "At the top level is a list of the operating systems installed on the guest.  "
23925 "(For the vast majority of guests, only a single OS is installed.)  The data "
23926 "returned for the OS includes the name (Linux, Windows), the distribution and "
23927 "version."
23928 msgstr ""
23929
23930 # type: textblock
23931 #: ../inspector/virt-inspector.pl:268
23932 msgid "The diagram above shows what we return for each OS."
23933 msgstr ""
23934
23935 # type: textblock
23936 #: ../inspector/virt-inspector.pl:270
23937 msgid ""
23938 "With the I<--xml> option the output is mapped into an XML document.  There "
23939 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
23940 "normally ships with virt-inspector, or can be found in the source."
23941 msgstr ""
23942
23943 # type: textblock
23944 #: ../inspector/virt-inspector.pl:275
23945 msgid ""
23946 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
23947 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
23948 "and inspect the guest with everything mounted in the right place.  For "
23949 "example:"
23950 msgstr ""
23951
23952 # type: verbatim
23953 #: ../inspector/virt-inspector.pl:280
23954 #, no-wrap
23955 msgid ""
23956 " guestfish $(virt-inspector --ro-fish guest.img)\n"
23957 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
23958 "\n"
23959 msgstr ""
23960
23961 # type: =head1
23962 #: ../inspector/virt-inspector.pl:620
23963 msgid "QUERY MODE"
23964 msgstr ""
23965
23966 # type: textblock
23967 #: ../inspector/virt-inspector.pl:622
23968 msgid ""
23969 "When you use C<virt-inspector --query>, the output is a series of lines of "
23970 "the form:"
23971 msgstr ""
23972
23973 # type: verbatim
23974 #: ../inspector/virt-inspector.pl:625
23975 #, no-wrap
23976 msgid ""
23977 " windows=no\n"
23978 " linux=yes\n"
23979 " fullvirt=yes\n"
23980 " xen_pv_drivers=no\n"
23981 "\n"
23982 msgstr ""
23983
23984 # type: textblock
23985 #: ../inspector/virt-inspector.pl:630
23986 msgid ""
23987 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
23988 "if we could not determine the answer at all)."
23989 msgstr ""
23990
23991 # type: textblock
23992 #: ../inspector/virt-inspector.pl:633
23993 msgid ""
23994 "If the guest is multiboot, you can get apparently conflicting answers "
23995 "(eg. C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and "
23996 "has a Xen PV kernel).  This is normal, and just means that the guest can do "
23997 "both things, although it might require operator intervention such as "
23998 "selecting a boot option when the guest is booting."
23999 msgstr ""
24000
24001 # type: textblock
24002 #: ../inspector/virt-inspector.pl:640
24003 msgid "This section describes the full range of answers possible."
24004 msgstr ""
24005
24006 # type: =item
24007 #: ../inspector/virt-inspector.pl:661
24008 msgid "windows=(yes|no)"
24009 msgstr ""
24010
24011 # type: textblock
24012 #: ../inspector/virt-inspector.pl:663
24013 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
24014 msgstr ""
24015
24016 # type: =item
24017 #: ../inspector/virt-inspector.pl:676
24018 msgid "linux=(yes|no)"
24019 msgstr ""
24020
24021 # type: textblock
24022 #: ../inspector/virt-inspector.pl:678
24023 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
24024 msgstr ""
24025
24026 # type: =item
24027 #: ../inspector/virt-inspector.pl:691
24028 msgid "rhel=(yes|no)"
24029 msgstr ""
24030
24031 # type: textblock
24032 #: ../inspector/virt-inspector.pl:693
24033 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
24034 msgstr ""
24035
24036 # type: =item
24037 #: ../inspector/virt-inspector.pl:707
24038 msgid "fedora=(yes|no)"
24039 msgstr ""
24040
24041 # type: textblock
24042 #: ../inspector/virt-inspector.pl:709
24043 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
24044 msgstr ""
24045
24046 # type: =item
24047 #: ../inspector/virt-inspector.pl:722
24048 msgid "debian=(yes|no)"
24049 msgstr ""
24050
24051 # type: textblock
24052 #: ../inspector/virt-inspector.pl:724
24053 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
24054 msgstr ""
24055
24056 # type: =item
24057 #: ../inspector/virt-inspector.pl:737
24058 msgid "fullvirt=(yes|no)"
24059 msgstr ""
24060
24061 # type: textblock
24062 #: ../inspector/virt-inspector.pl:739
24063 msgid ""
24064 "Answer C<yes> if there is at least one operating system kernel installed in "
24065 "the guest which runs fully virtualized.  Such a guest would require a "
24066 "hypervisor which supports full system virtualization."
24067 msgstr ""
24068
24069 # type: =item
24070 #: ../inspector/virt-inspector.pl:762
24071 msgid "xen_domU_kernel=(yes|no)"
24072 msgstr ""
24073
24074 # type: textblock
24075 #: ../inspector/virt-inspector.pl:764
24076 msgid ""
24077 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
24078 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
24079 msgstr ""
24080
24081 # type: =item
24082 #: ../inspector/virt-inspector.pl:784
24083 msgid "xen_pv_drivers=(yes|no)"
24084 msgstr ""
24085
24086 # type: textblock
24087 #: ../inspector/virt-inspector.pl:786
24088 msgid ""
24089 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
24090 "(usually the kernel itself will be fully virtualized, but the PV drivers "
24091 "have been installed by the administrator for performance reasons)."
24092 msgstr ""
24093
24094 # type: =item
24095 #: ../inspector/virt-inspector.pl:808
24096 msgid "virtio_drivers=(yes|no)"
24097 msgstr ""
24098
24099 # type: textblock
24100 #: ../inspector/virt-inspector.pl:810
24101 msgid ""
24102 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
24103 "Virtio drivers are commonly used to improve the performance of KVM."
24104 msgstr ""
24105
24106 # type: =item
24107 #: ../inspector/virt-inspector.pl:831
24108 msgid "userspace_arch=(x86_64|...)"
24109 msgstr ""
24110
24111 # type: textblock
24112 #: ../inspector/virt-inspector.pl:833
24113 msgid "Print the architecture of userspace."
24114 msgstr ""
24115
24116 # type: textblock
24117 #: ../inspector/virt-inspector.pl:835 ../inspector/virt-inspector.pl:856
24118 msgid "NB. For multi-boot VMs this can print several lines."
24119 msgstr ""
24120
24121 # type: =item
24122 #: ../inspector/virt-inspector.pl:852
24123 msgid "kernel_arch=(x86_64|...)"
24124 msgstr ""
24125
24126 # type: textblock
24127 #: ../inspector/virt-inspector.pl:854
24128 msgid "Print the architecture of the kernel."
24129 msgstr ""
24130
24131 # type: =head1
24132 #: ../inspector/virt-inspector.pl:877 ../tools/virt-edit.pl:343 ../tools/virt-win-reg.pl:142 ../tools/virt-win-reg.pl:480 ../tools/virt-df.pl:633 ../tools/virt-ls.pl:228 ../tools/virt-resize.pl:1479 ../tools/virt-list-filesystems.pl:209 ../tools/virt-cat.pl:181 ../tools/virt-tar.pl:276 ../tools/virt-rescue.pl:260 ../tools/virt-make-fs.pl:527 ../tools/virt-list-partitions.pl:247
24133 msgid "SHELL QUOTING"
24134 msgstr ""
24135
24136 # type: textblock
24137 #: ../inspector/virt-inspector.pl:879 ../tools/virt-edit.pl:345 ../tools/virt-win-reg.pl:482 ../tools/virt-df.pl:635 ../tools/virt-ls.pl:230 ../tools/virt-resize.pl:1481 ../tools/virt-list-filesystems.pl:211 ../tools/virt-cat.pl:183 ../tools/virt-tar.pl:278 ../tools/virt-rescue.pl:262 ../tools/virt-make-fs.pl:529 ../tools/virt-list-partitions.pl:249
24138 msgid ""
24139 "Libvirt guest names can contain arbitrary characters, some of which have "
24140 "meaning to the shell such as C<#> and space.  You may need to quote or "
24141 "escape these characters on the command line.  See the shell manual page "
24142 "L<sh(1)> for details."
24143 msgstr ""
24144
24145 # type: textblock
24146 #: ../inspector/virt-inspector.pl:886 ../tools/virt-df.pl:642
24147 msgid ""
24148 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
24149 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24150 msgstr ""
24151
24152 # type: textblock
24153 #: ../inspector/virt-inspector.pl:895 ../tools/virt-edit.pl:364 ../tools/virt-win-reg.pl:515 ../tools/virt-df.pl:651 ../tools/virt-ls.pl:248 ../tools/virt-resize.pl:1510 ../tools/virt-list-filesystems.pl:230 ../tools/virt-cat.pl:200 ../tools/virt-tar.pl:296 ../tools/virt-rescue.pl:279 ../tools/virt-make-fs.pl:561 ../tools/virt-list-partitions.pl:267
24154 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
24155 msgstr ""
24156
24157 # type: textblock
24158 #: ../inspector/virt-inspector.pl:897
24159 msgid "Matthew Booth L<mbooth@redhat.com>"
24160 msgstr ""
24161
24162 # type: textblock
24163 #: ../inspector/virt-inspector.pl:901 ../tools/virt-ls.pl:252 ../tools/virt-list-filesystems.pl:234 ../tools/virt-cat.pl:204 ../tools/virt-tar.pl:300
24164 msgid "Copyright (C) 2009 Red Hat Inc."
24165 msgstr ""
24166
24167 # type: textblock
24168 #: ../tools/virt-edit.pl:35
24169 msgid "virt-edit - Edit a file in a virtual machine"
24170 msgstr ""
24171
24172 # type: verbatim
24173 #: ../tools/virt-edit.pl:39
24174 #, no-wrap
24175 msgid ""
24176 " virt-edit [--options] domname file\n"
24177 "\n"
24178 msgstr ""
24179
24180 # type: verbatim
24181 #: ../tools/virt-edit.pl:41
24182 #, no-wrap
24183 msgid ""
24184 " virt-edit [--options] disk.img [disk.img ...] file\n"
24185 "\n"
24186 msgstr ""
24187
24188 # type: verbatim
24189 #: ../tools/virt-edit.pl:43
24190 #, no-wrap
24191 msgid ""
24192 " virt-edit [domname|disk.img] file -e 'expr'\n"
24193 "\n"
24194 msgstr ""
24195
24196 # type: textblock
24197 #: ../tools/virt-edit.pl:47
24198 msgid ""
24199 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
24200 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
24201 "doing this, but doesn't catch all cases."
24202 msgstr ""
24203
24204 # type: textblock
24205 #: ../tools/virt-edit.pl:53
24206 msgid ""
24207 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
24208 "the named virtual machine (or disk image)."
24209 msgstr ""
24210
24211 # type: textblock
24212 #: ../tools/virt-edit.pl:56
24213 msgid ""
24214 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
24215 "you should look at the L<guestfish(1)> tool."
24216 msgstr ""
24217
24218 # type: textblock
24219 #: ../tools/virt-edit.pl:61
24220 msgid "Edit the named files interactively:"
24221 msgstr ""
24222
24223 # type: verbatim
24224 #: ../tools/virt-edit.pl:63
24225 #, no-wrap
24226 msgid ""
24227 " virt-edit mydomain /boot/grub/grub.conf\n"
24228 "\n"
24229 msgstr ""
24230
24231 # type: verbatim
24232 #: ../tools/virt-edit.pl:65
24233 #, no-wrap
24234 msgid ""
24235 " virt-edit mydomain /etc/passwd\n"
24236 "\n"
24237 msgstr ""
24238
24239 # type: textblock
24240 #: ../tools/virt-edit.pl:67
24241 msgid ""
24242 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
24243 "below).  To change the init default level to 5:"
24244 msgstr ""
24245
24246 # type: verbatim
24247 #: ../tools/virt-edit.pl:71
24248 #, no-wrap
24249 msgid ""
24250 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
24251 "\n"
24252 msgstr ""
24253
24254 # type: =item
24255 #: ../tools/virt-edit.pl:97
24256 msgid "B<--backup extension> | B<-b extension>"
24257 msgstr ""
24258
24259 # type: textblock
24260 #: ../tools/virt-edit.pl:99
24261 msgid ""
24262 "Create a backup of the original file I<in the guest disk image>.  The backup "
24263 "has the original filename with C<extension> added."
24264 msgstr ""
24265
24266 # type: textblock
24267 #: ../tools/virt-edit.pl:102
24268 msgid ""
24269 "Usually the first character of C<extension> would be a dot C<.> so you would "
24270 "write:"
24271 msgstr ""
24272
24273 # type: verbatim
24274 #: ../tools/virt-edit.pl:105
24275 #, no-wrap
24276 msgid ""
24277 " virt-edit -b .orig [etc]\n"
24278 "\n"
24279 msgstr ""
24280
24281 # type: textblock
24282 #: ../tools/virt-edit.pl:107
24283 msgid "By default, no backup file is made."
24284 msgstr ""
24285
24286 # type: textblock
24287 #: ../tools/virt-edit.pl:118 ../tools/virt-win-reg.pl:209 ../tools/virt-df.pl:100 ../tools/virt-ls.pl:108 ../tools/virt-list-filesystems.pl:79 ../tools/virt-cat.pl:109 ../tools/virt-tar.pl:128 ../tools/virt-rescue.pl:140 ../tools/virt-list-partitions.pl:80
24288 msgid ""
24289 "If you specify guest block devices directly, then libvirt is not used at "
24290 "all."
24291 msgstr ""
24292
24293 # type: =item
24294 #: ../tools/virt-edit.pl:142
24295 msgid "B<--expr EXPR> | B<-e EXPR>"
24296 msgstr ""
24297
24298 # type: textblock
24299 #: ../tools/virt-edit.pl:144
24300 msgid ""
24301 "Instead of launching the external editor, non-interactively apply the Perl "
24302 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
24303 "EDITING> below."
24304 msgstr ""
24305
24306 # type: textblock
24307 #: ../tools/virt-edit.pl:148
24308 msgid ""
24309 "Be careful to properly quote the expression to prevent it from being altered "
24310 "by the shell."
24311 msgstr ""
24312
24313 # type: =head1
24314 #: ../tools/virt-edit.pl:268
24315 msgid "NON-INTERACTIVE EDITING"
24316 msgstr ""
24317
24318 # type: textblock
24319 #: ../tools/virt-edit.pl:270
24320 msgid ""
24321 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
24322 "administrator can interactively edit the file."
24323 msgstr ""
24324
24325 # type: textblock
24326 #: ../tools/virt-edit.pl:273
24327 msgid ""
24328 "There are two ways also to use C<virt-edit> from scripts in order to make "
24329 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
24330 "like this, it's less error-prone to write scripts directly using the "
24331 "libguestfs API and Augeas for configuration file editing.)"
24332 msgstr ""
24333
24334 # type: textblock
24335 #: ../tools/virt-edit.pl:279
24336 msgid ""
24337 "The first method is to temporarily set C<$EDITOR> to any script or program "
24338 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
24339 "update C<tmpfile> in place however it likes."
24340 msgstr ""
24341
24342 # type: textblock
24343 #: ../tools/virt-edit.pl:283
24344 msgid ""
24345 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
24346 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
24347 "instances of C<foo> with C<bar> in a file:"
24348 msgstr ""
24349
24350 # type: verbatim
24351 #: ../tools/virt-edit.pl:287
24352 #, no-wrap
24353 msgid ""
24354 " virt-edit domname filename -e 's/foo/bar/'\n"
24355 "\n"
24356 msgstr ""
24357
24358 # type: textblock
24359 #: ../tools/virt-edit.pl:289
24360 msgid ""
24361 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
24362 "For example to delete root's password you could do:"
24363 msgstr ""
24364
24365 # type: verbatim
24366 #: ../tools/virt-edit.pl:292
24367 #, no-wrap
24368 msgid ""
24369 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
24370 "\n"
24371 msgstr ""
24372
24373 # type: textblock
24374 #: ../tools/virt-edit.pl:294
24375 msgid ""
24376 "What really happens is that the snippet is evaluated as a Perl expression "
24377 "for each line of the file.  The line, including the final C<\\n>, is passed "
24378 "in C<$_> and the expression should update C<$_> or leave it unchanged."
24379 msgstr ""
24380
24381 # type: textblock
24382 #: ../tools/virt-edit.pl:299
24383 msgid ""
24384 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
24385 "C<apache> user account from the password file you can do:"
24386 msgstr ""
24387
24388 # type: verbatim
24389 #: ../tools/virt-edit.pl:302
24390 #, no-wrap
24391 msgid ""
24392 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
24393 "\n"
24394 msgstr ""
24395
24396 # type: textblock
24397 #: ../tools/virt-edit.pl:304
24398 msgid ""
24399 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
24400 "the end of the file is rather difficult this way since there is no concept "
24401 "of \"last line of the file\" - your expression just doesn't get called "
24402 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
24403 "want to do this."
24404 msgstr ""
24405
24406 # type: textblock
24407 #: ../tools/virt-edit.pl:310
24408 msgid ""
24409 "The variable C<$lineno> contains the current line number.  As is "
24410 "traditional, the first line in the file is number C<1>."
24411 msgstr ""
24412
24413 # type: textblock
24414 #: ../tools/virt-edit.pl:313
24415 msgid ""
24416 "The return value from the expression is ignored, but the expression may call "
24417 "C<die> in order to abort the whole program, leaving the original file "
24418 "untouched."
24419 msgstr ""
24420
24421 # type: textblock
24422 #: ../tools/virt-edit.pl:317
24423 msgid ""
24424 "Remember when matching the end of a line that C<$_> may contain the final "
24425 "C<\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
24426 "newline then neither of these.  Thus to match or substitute some text at the "
24427 "end of a line, use this regular expression:"
24428 msgstr ""
24429
24430 # type: verbatim
24431 #: ../tools/virt-edit.pl:322
24432 #, no-wrap
24433 msgid ""
24434 " /some text(\\r?\\n)?$/\n"
24435 "\n"
24436 msgstr ""
24437
24438 # type: textblock
24439 #: ../tools/virt-edit.pl:324
24440 msgid ""
24441 "Alternately, use the perl C<chomp> function, being careful not to chomp "
24442 "C<$_> itself (since that would remove all newlines from the file):"
24443 msgstr ""
24444
24445 # type: verbatim
24446 #: ../tools/virt-edit.pl:328
24447 #, no-wrap
24448 msgid ""
24449 " my $m = $_; chomp $m; $m =~ /some text$/\n"
24450 "\n"
24451 msgstr ""
24452
24453 # type: =item
24454 #: ../tools/virt-edit.pl:334
24455 msgid "C<EDITOR>"
24456 msgstr ""
24457
24458 # type: textblock
24459 #: ../tools/virt-edit.pl:336
24460 msgid ""
24461 "If set, this string is used as the editor.  It may contain arguments, "
24462 "eg. C<\"emacs -nw\">"
24463 msgstr ""
24464
24465 # type: textblock
24466 #: ../tools/virt-edit.pl:339
24467 msgid "If not set, C<vi> is used."
24468 msgstr ""
24469
24470 # type: textblock
24471 #: ../tools/virt-edit.pl:352
24472 msgid ""
24473 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
24474 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, "
24475 "L<perl(1)>, L<perlre(1)>."
24476 msgstr ""
24477
24478 # type: =head1
24479 #: ../tools/virt-edit.pl:362 ../tools/virt-win-reg.pl:513 ../tools/virt-df.pl:649 ../tools/virt-ls.pl:246 ../tools/virt-resize.pl:1508 ../tools/virt-list-filesystems.pl:228 ../tools/virt-cat.pl:198 ../tools/virt-tar.pl:294 ../tools/virt-rescue.pl:277 ../tools/virt-make-fs.pl:559 ../tools/virt-list-partitions.pl:265
24480 msgid "AUTHOR"
24481 msgstr ""
24482
24483 # type: textblock
24484 #: ../tools/virt-edit.pl:368 ../tools/virt-df.pl:655 ../tools/virt-rescue.pl:283 ../tools/virt-list-partitions.pl:271
24485 msgid "Copyright (C) 2009-2010 Red Hat Inc."
24486 msgstr ""
24487
24488 # type: textblock
24489 #: ../tools/virt-win-reg.pl:38
24490 msgid ""
24491 "virt-win-reg - Export and merge Windows Registry entries from a Windows "
24492 "guest"
24493 msgstr ""
24494
24495 # type: verbatim
24496 #: ../tools/virt-win-reg.pl:42
24497 #, no-wrap
24498 msgid ""
24499 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
24500 "\n"
24501 msgstr ""
24502
24503 # type: verbatim
24504 #: ../tools/virt-win-reg.pl:44
24505 #, no-wrap
24506 msgid ""
24507 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
24508 "\n"
24509 msgstr ""
24510
24511 # type: verbatim
24512 #: ../tools/virt-win-reg.pl:46
24513 #, no-wrap
24514 msgid ""
24515 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
24516 "\n"
24517 msgstr ""
24518
24519 # type: verbatim
24520 #: ../tools/virt-win-reg.pl:48
24521 #, no-wrap
24522 msgid ""
24523 " virt-win-reg --merge domname [input.reg ...]\n"
24524 "\n"
24525 msgstr ""
24526
24527 # type: verbatim
24528 #: ../tools/virt-win-reg.pl:50
24529 #, no-wrap
24530 msgid ""
24531 " virt-win-reg [--options] disk.img ... # instead of domname\n"
24532 "\n"
24533 msgstr ""
24534
24535 # type: textblock
24536 #: ../tools/virt-win-reg.pl:54
24537 msgid ""
24538 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
24539 "virtual machines.  If you do this, you I<will> get irreversible disk "
24540 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
24541 "but doesn't catch all cases."
24542 msgstr ""
24543
24544 # type: textblock
24545 #: ../tools/virt-win-reg.pl:59
24546 msgid ""
24547 "Modifying the Windows Registry is an inherently risky operation.  The format "
24548 "is deliberately obscure and undocumented, and Registry changes can leave the "
24549 "system unbootable.  Therefore when using the C<--merge> option, make sure "
24550 "you have a reliable backup first."
24551 msgstr ""
24552
24553 # type: textblock
24554 #: ../tools/virt-win-reg.pl:66
24555 msgid ""
24556 "This program can export and merge Windows Registry entries from a Windows "
24557 "guest."
24558 msgstr ""
24559
24560 # type: textblock
24561 #: ../tools/virt-win-reg.pl:69
24562 msgid ""
24563 "The first parameter is the libvirt guest name or the raw disk image of a "
24564 "Windows guest."
24565 msgstr ""
24566
24567 # type: textblock
24568 #: ../tools/virt-win-reg.pl:72
24569 msgid ""
24570 "If C<--merge> is I<not> specified, then the chosen registry key is "
24571 "displayed/exported (recursively).  For example:"
24572 msgstr ""
24573
24574 # type: verbatim
24575 #: ../tools/virt-win-reg.pl:75
24576 #, no-wrap
24577 msgid ""
24578 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
24579 "\n"
24580 msgstr ""
24581
24582 # type: textblock
24583 #: ../tools/virt-win-reg.pl:77
24584 msgid "You can also display single values from within registry keys, for example:"
24585 msgstr ""
24586
24587 # type: verbatim
24588 #: ../tools/virt-win-reg.pl:80
24589 #, no-wrap
24590 msgid ""
24591 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
24592 " $ virt-win-reg Windows7 $cvkey ProductName\n"
24593 " Windows 7 Enterprise\n"
24594 "\n"
24595 msgstr ""
24596
24597 # type: textblock
24598 #: ../tools/virt-win-reg.pl:84
24599 msgid ""
24600 "With C<--merge>, you can merge a textual regedit file into the Windows "
24601 "Registry:"
24602 msgstr ""
24603
24604 # type: verbatim
24605 #: ../tools/virt-win-reg.pl:87
24606 #, no-wrap
24607 msgid ""
24608 " $ virt-win-reg --merge Windows7 changes.reg\n"
24609 "\n"
24610 msgstr ""
24611
24612 # type: =head2
24613 #: ../tools/virt-win-reg.pl:89
24614 msgid "SUPPORTED SYSTEMS"
24615 msgstr ""
24616
24617 # type: textblock
24618 #: ../tools/virt-win-reg.pl:91
24619 msgid ""
24620 "The program currently supports Windows NT-derived guests starting with "
24621 "Windows XP through to at least Windows 7."
24622 msgstr ""
24623
24624 # type: textblock
24625 #: ../tools/virt-win-reg.pl:94
24626 msgid ""
24627 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, "
24628 "C<HKEY_LOCAL_MACHINE\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, "
24629 "C<HKEY_LOCAL_MACHINE\\SYSTEM> and C<HKEY_USERS\\.DEFAULT>."
24630 msgstr ""
24631
24632 # type: textblock
24633 #: ../tools/virt-win-reg.pl:98
24634 msgid ""
24635 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
24636 "C<HKEY_USERS>."
24637 msgstr ""
24638
24639 # type: textblock
24640 #: ../tools/virt-win-reg.pl:101
24641 msgid ""
24642 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
24643 "time."
24644 msgstr ""
24645
24646 # type: =head2
24647 #: ../tools/virt-win-reg.pl:104
24648 msgid "NOTE"
24649 msgstr ""
24650
24651 # type: textblock
24652 #: ../tools/virt-win-reg.pl:106
24653 msgid ""
24654 "This program is only meant for simple access to the registry.  If you want "
24655 "to do complicated things with the registry, we suggest you download the "
24656 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
24657 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
24658 "L<hivexregedit(1)>."
24659 msgstr ""
24660
24661 # type: =head2
24662 #: ../tools/virt-win-reg.pl:112
24663 msgid "ENCODING"
24664 msgstr ""
24665
24666 # type: textblock
24667 #: ../tools/virt-win-reg.pl:114
24668 msgid ""
24669 "C<virt-win-reg> expects that regedit files have already been reencoded in "
24670 "the local encoding.  Usually on Linux hosts, this means UTF-8 with "
24671 "Unix-style line endings.  Since Windows regedit files are often in UTF-16LE "
24672 "with Windows-style line endings, you may need to reencode the whole file "
24673 "before or after processing."
24674 msgstr ""
24675
24676 # type: textblock
24677 #: ../tools/virt-win-reg.pl:120
24678 msgid ""
24679 "To reencode a file from Windows format to Linux (before processing it with "
24680 "the C<--merge> option), you would do something like this:"
24681 msgstr ""
24682
24683 # type: verbatim
24684 #: ../tools/virt-win-reg.pl:123
24685 #, no-wrap
24686 msgid ""
24687 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
24688 "\n"
24689 msgstr ""
24690
24691 # type: textblock
24692 #: ../tools/virt-win-reg.pl:125
24693 msgid ""
24694 "To go in the opposite direction, after exporting and before sending the file "
24695 "to a Windows user, do something like this:"
24696 msgstr ""
24697
24698 # type: verbatim
24699 #: ../tools/virt-win-reg.pl:128
24700 #, no-wrap
24701 msgid ""
24702 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
24703 "\n"
24704 msgstr ""
24705
24706 # type: textblock
24707 #: ../tools/virt-win-reg.pl:130
24708 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
24709 msgstr ""
24710
24711 # type: textblock
24712 #: ../tools/virt-win-reg.pl:132
24713 msgid ""
24714 "If you are unsure about the current encoding, use the L<file(1)> command.  "
24715 "Recent versions of Windows regedit.exe produce a UTF-16LE file with "
24716 "Windows-style (CRLF) line endings, like this:"
24717 msgstr ""
24718
24719 # type: verbatim
24720 #: ../tools/virt-win-reg.pl:136
24721 #, no-wrap
24722 msgid ""
24723 " $ file software.reg\n"
24724 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
24725 " with CRLF line terminators\n"
24726 "\n"
24727 msgstr ""
24728
24729 # type: textblock
24730 #: ../tools/virt-win-reg.pl:140
24731 msgid "This file would need conversion before you could C<--merge> it."
24732 msgstr ""
24733
24734 # type: textblock
24735 #: ../tools/virt-win-reg.pl:144
24736 msgid ""
24737 "Be careful when passing parameters containing C<\\> (backslash) in the "
24738 "shell.  Usually you will have to use 'single quotes' or double backslashes "
24739 "(but not both) to protect them from the shell."
24740 msgstr ""
24741
24742 # type: textblock
24743 #: ../tools/virt-win-reg.pl:148
24744 msgid "Paths and value names are case-insensitive."
24745 msgstr ""
24746
24747 # type: =head2
24748 #: ../tools/virt-win-reg.pl:150
24749 msgid "CurrentControlSet etc."
24750 msgstr ""
24751
24752 # type: textblock
24753 #: ../tools/virt-win-reg.pl:152
24754 msgid ""
24755 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
24756 "Registry at the level of the hive file, and therefore you cannot modify "
24757 "these."
24758 msgstr ""
24759
24760 # type: textblock
24761 #: ../tools/virt-win-reg.pl:156
24762 msgid ""
24763 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
24764 "circumstances it might refer to another control set.  The way to find out is "
24765 "to look at the C<HKLM\\SYSTEM\\Select> key:"
24766 msgstr ""
24767
24768 # type: verbatim
24769 #: ../tools/virt-win-reg.pl:160
24770 #, no-wrap
24771 msgid ""
24772 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
24773 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
24774 " \"Current\"=dword:00000001\n"
24775 " \"Default\"=dword:00000001\n"
24776 " \"Failed\"=dword:00000000\n"
24777 " \"LastKnownGood\"=dword:00000002\n"
24778 "\n"
24779 msgstr ""
24780
24781 # type: textblock
24782 #: ../tools/virt-win-reg.pl:167
24783 msgid "\"Default\" is the one which Windows will choose when it boots."
24784 msgstr ""
24785
24786 # type: textblock
24787 #: ../tools/virt-win-reg.pl:169
24788 msgid "Similarly, other C<Current...> keys in the path may need to be replaced."
24789 msgstr ""
24790
24791 # type: =item
24792 #: ../tools/virt-win-reg.pl:196 ../tools/virt-make-fs.pl:177
24793 msgid "B<--debug>"
24794 msgstr ""
24795
24796 # type: textblock
24797 #: ../tools/virt-win-reg.pl:198 ../tools/virt-resize.pl:501
24798 msgid "Enable debugging messages."
24799 msgstr ""
24800
24801 # type: =item
24802 #: ../tools/virt-win-reg.pl:233
24803 msgid "B<--merge>"
24804 msgstr ""
24805
24806 # type: textblock
24807 #: ../tools/virt-win-reg.pl:235
24808 msgid ""
24809 "In merge mode, this merges a textual regedit file into the Windows Registry "
24810 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
24811 "displays or exports Registry entries instead."
24812 msgstr ""
24813
24814 # type: textblock
24815 #: ../tools/virt-win-reg.pl:239
24816 msgid ""
24817 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
24818 "result in disk corruption.  However exporting (without this flag)  is always "
24819 "safe."
24820 msgstr ""
24821
24822 # type: =item
24823 #: ../tools/virt-win-reg.pl:247
24824 msgid "B<--encoding> UTF-16LE|ASCII"
24825 msgstr ""
24826
24827 # type: textblock
24828 #: ../tools/virt-win-reg.pl:249
24829 msgid ""
24830 "When merging (only), you may need to specify the encoding for strings to be "
24831 "used in the hive file.  This is explained in detail in "
24832 "L<Win::Hivex::Regedit(3)/ENCODING STRINGS>."
24833 msgstr ""
24834
24835 # type: textblock
24836 #: ../tools/virt-win-reg.pl:253
24837 msgid ""
24838 "The default is to use UTF-16LE, which should work with recent versions of "
24839 "Windows."
24840 msgstr ""
24841
24842 # type: textblock
24843 #: ../tools/virt-win-reg.pl:489
24844 msgid ""
24845 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, "
24846 "L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
24847 "L<Sys::Guestfs::Lib(3)>, L<Win::Hivex(3)>, L<Win::Hivex::Regedit(3)>, "
24848 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24849 msgstr ""
24850
24851 # type: textblock
24852 #: ../tools/virt-win-reg.pl:504 ../tools/virt-make-fs.pl:550
24853 msgid ""
24854 "When reporting bugs, please enable debugging and capture the I<complete> "
24855 "output:"
24856 msgstr ""
24857
24858 # type: verbatim
24859 #: ../tools/virt-win-reg.pl:507
24860 #, no-wrap
24861 msgid ""
24862 " export LIBGUESTFS_DEBUG=1\n"
24863 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
24864 "\n"
24865 msgstr ""
24866
24867 # type: textblock
24868 #: ../tools/virt-win-reg.pl:510
24869 msgid ""
24870 "Attach /tmp/virt-win-reg.log to a new bug report at "
24871 "L<https://bugzilla.redhat.com/>"
24872 msgstr ""
24873
24874 # type: textblock
24875 #: ../tools/virt-win-reg.pl:519 ../tools/virt-resize.pl:1514 ../tools/virt-make-fs.pl:565
24876 msgid "Copyright (C) 2010 Red Hat Inc."
24877 msgstr ""
24878
24879 # type: textblock
24880 #: ../tools/virt-df.pl:36
24881 msgid "virt-df - Display free space on virtual filesystems"
24882 msgstr ""
24883
24884 # type: verbatim
24885 #: ../tools/virt-df.pl:40
24886 #, no-wrap
24887 msgid ""
24888 " virt-df [--options]\n"
24889 "\n"
24890 msgstr ""
24891
24892 # type: verbatim
24893 #: ../tools/virt-df.pl:42
24894 #, no-wrap
24895 msgid ""
24896 " virt-df [--options] domname\n"
24897 "\n"
24898 msgstr ""
24899
24900 # type: verbatim
24901 #: ../tools/virt-df.pl:44
24902 #, no-wrap
24903 msgid ""
24904 " virt-df [--options] disk.img [disk.img ...]\n"
24905 "\n"
24906 msgstr ""
24907
24908 # type: textblock
24909 #: ../tools/virt-df.pl:48
24910 msgid ""
24911 "C<virt-df> is a command line tool to display free space on virtual machine "
24912 "filesystems.  Unlike other tools, it doesn't just display the amount of "
24913 "space allocated to a virtual machine, but can look inside the virtual "
24914 "machine to see how much space is really being used."
24915 msgstr ""
24916
24917 # type: textblock
24918 #: ../tools/virt-df.pl:53
24919 msgid ""
24920 "It is like the L<df(1)> command, but for virtual machines, except that it "
24921 "also works for Windows virtual machines."
24922 msgstr ""
24923
24924 # type: textblock
24925 #: ../tools/virt-df.pl:56
24926 msgid ""
24927 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
24928 "of all active and inactive guests, and performs a C<df>-type operation on "
24929 "each one in turn, printing out the results."
24930 msgstr ""
24931
24932 # type: textblock
24933 #: ../tools/virt-df.pl:60
24934 msgid ""
24935 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
24936 "either the single named libvirt domain, or on the disk image(s) listed on "
24937 "the command line (which must all belong to a single VM).  In this mode (with "
24938 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
24939 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
24940 msgstr ""
24941
24942 # type: textblock
24943 #: ../tools/virt-df.pl:67
24944 msgid ""
24945 "Use the C<--csv> option to get a format which can be easily parsed by other "
24946 "programs.  Other options are mostly similar to standard C<df> options.  See "
24947 "below for the complete list."
24948 msgstr ""
24949
24950 # type: =item
24951 #: ../tools/virt-df.pl:107
24952 msgid "B<--csv>"
24953 msgstr ""
24954
24955 # type: textblock
24956 #: ../tools/virt-df.pl:109
24957 msgid ""
24958 "Write out the results in CSV format (comma-separated values).  This format "
24959 "can be imported easily into databases and spreadsheets, but read L</NOTE "
24960 "ABOUT CSV FORMAT> below."
24961 msgstr ""
24962
24963 # type: =item
24964 #: ../tools/virt-df.pl:134
24965 msgid "B<--human-readable> | B<-h>"
24966 msgstr ""
24967
24968 # type: textblock
24969 #: ../tools/virt-df.pl:136
24970 msgid "Print sizes in human-readable format."
24971 msgstr ""
24972
24973 # type: textblock
24974 #: ../tools/virt-df.pl:138
24975 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
24976 msgstr ""
24977
24978 # type: =item
24979 #: ../tools/virt-df.pl:144
24980 msgid "B<--inodes> | B<-i>"
24981 msgstr ""
24982
24983 # type: textblock
24984 #: ../tools/virt-df.pl:146
24985 msgid "Print inodes instead of blocks."
24986 msgstr ""
24987
24988 # type: =item
24989 #: ../tools/virt-df.pl:152
24990 msgid "B<--one-per-guest>"
24991 msgstr ""
24992
24993 # type: textblock
24994 #: ../tools/virt-df.pl:154
24995 msgid ""
24996 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
24997 "disks from several guests to a single libguestfs appliance."
24998 msgstr ""
24999
25000 # type: textblock
25001 #: ../tools/virt-df.pl:157
25002 msgid "You might use this option in the following circumstances:"
25003 msgstr ""
25004
25005 # type: textblock
25006 #: ../tools/virt-df.pl:163
25007 msgid ""
25008 "If you think an untrusted guest might actively try to exploit the libguestfs "
25009 "appliance kernel, then this prevents one guest from interfering with the "
25010 "stats printed for another guest."
25011 msgstr ""
25012
25013 # type: textblock
25014 #: ../tools/virt-df.pl:169
25015 msgid ""
25016 "If the kernel has a bug which stops it from accessing a filesystem in one "
25017 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
25018 "and report stats for further guests."
25019 msgstr ""
25020
25021 # type: =item
25022 #: ../tools/virt-df.pl:180
25023 msgid "B<--uuid>"
25024 msgstr ""
25025
25026 # type: textblock
25027 #: ../tools/virt-df.pl:182
25028 msgid ""
25029 "Print UUIDs instead of names.  This is useful for following a guest even "
25030 "when the guest is migrated or renamed, or when two guests happen to have the "
25031 "same name."
25032 msgstr ""
25033
25034 # type: textblock
25035 #: ../tools/virt-df.pl:186
25036 msgid ""
25037 "Note that only domains that we fetch from libvirt come with UUIDs.  For disk "
25038 "images, we still print the disk image name even when this option is "
25039 "specified."
25040 msgstr ""
25041
25042 # type: =head1
25043 #: ../tools/virt-df.pl:609
25044 msgid "NOTE ABOUT CSV FORMAT"
25045 msgstr ""
25046
25047 # type: textblock
25048 #: ../tools/virt-df.pl:611
25049 msgid ""
25050 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
25051 "should be easy to parse, but it is definitely not easy to parse."
25052 msgstr ""
25053
25054 # type: textblock
25055 #: ../tools/virt-df.pl:614
25056 msgid ""
25057 "Myth: Just split fields at commas.  Reality: This does I<not> work "
25058 "reliably.  This example has two columns:"
25059 msgstr ""
25060
25061 # type: verbatim
25062 #: ../tools/virt-df.pl:617
25063 #, no-wrap
25064 msgid ""
25065 " \"foo,bar\",baz\n"
25066 "\n"
25067 msgstr ""
25068
25069 # type: textblock
25070 #: ../tools/virt-df.pl:619
25071 msgid ""
25072 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
25073 "reliably.  This example has one row:"
25074 msgstr ""
25075
25076 # type: verbatim
25077 #: ../tools/virt-df.pl:622
25078 #, no-wrap
25079 msgid ""
25080 " \"foo\n"
25081 " bar\",baz\n"
25082 "\n"
25083 msgstr ""
25084
25085 # type: textblock
25086 #: ../tools/virt-df.pl:625
25087 msgid ""
25088 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
25089 "packaged in major Linux distributions)."
25090 msgstr ""
25091
25092 # type: textblock
25093 #: ../tools/virt-df.pl:628
25094 msgid ""
25095 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
25096 "or Python's built-in csv library)."
25097 msgstr ""
25098
25099 # type: textblock
25100 #: ../tools/virt-df.pl:631
25101 msgid "Most spreadsheets and databases can import CSV directly."
25102 msgstr ""
25103
25104 # type: textblock
25105 #: ../tools/virt-ls.pl:35
25106 msgid "virt-ls - List files in a virtual machine"
25107 msgstr ""
25108
25109 # type: verbatim
25110 #: ../tools/virt-ls.pl:39
25111 #, no-wrap
25112 msgid ""
25113 " virt-ls [--options] domname directory\n"
25114 "\n"
25115 msgstr ""
25116
25117 # type: verbatim
25118 #: ../tools/virt-ls.pl:41
25119 #, no-wrap
25120 msgid ""
25121 " virt-ls [--options] disk.img [disk.img ...] directory\n"
25122 "\n"
25123 msgstr ""
25124
25125 # type: textblock
25126 #: ../tools/virt-ls.pl:45
25127 msgid ""
25128 "C<virt-ls> is a command line tool to list the names of files in a directory "
25129 "inside a virtual machine or disk image."
25130 msgstr ""
25131
25132 # type: textblock
25133 #: ../tools/virt-ls.pl:48
25134 msgid ""
25135 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
25136 "For more complex cases you should look at the L<guestfish(1)> tool."
25137 msgstr ""
25138
25139 # type: textblock
25140 #: ../tools/virt-ls.pl:52
25141 msgid ""
25142 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
25143 "simple listing is like the ordinary L<ls(1)> command:"
25144 msgstr ""
25145
25146 # type: verbatim
25147 #: ../tools/virt-ls.pl:55
25148 #, no-wrap
25149 msgid ""
25150 " $ virt-ls myguest /\n"
25151 " bin\n"
25152 " boot\n"
25153 " [etc.]\n"
25154 "\n"
25155 msgstr ""
25156
25157 # type: textblock
25158 #: ../tools/virt-ls.pl:60
25159 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
25160 msgstr ""
25161
25162 # type: verbatim
25163 #: ../tools/virt-ls.pl:62
25164 #, no-wrap
25165 msgid ""
25166 " $ virt-ls -l myguest /\n"
25167 " total 204\n"
25168 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
25169 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
25170 " [etc.]\n"
25171 "\n"
25172 msgstr ""
25173
25174 # type: textblock
25175 #: ../tools/virt-ls.pl:68
25176 msgid ""
25177 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
25178 "and directories recursively:"
25179 msgstr ""
25180
25181 # type: verbatim
25182 #: ../tools/virt-ls.pl:71
25183 #, no-wrap
25184 msgid ""
25185 " $ virt-ls -R myguest /tmp\n"
25186 " foo\n"
25187 " foo/bar\n"
25188 " [etc.]\n"
25189 "\n"
25190 msgstr ""
25191
25192 # type: textblock
25193 #: ../tools/virt-ls.pl:76
25194 msgid ""
25195 "You I<cannot> combine these options.  To do more complicated things, use "
25196 "L<guestfish(1)>."
25197 msgstr ""
25198
25199 # type: =item
25200 #: ../tools/virt-ls.pl:132 ../tools/virt-list-filesystems.pl:103 ../tools/virt-list-partitions.pl:112
25201 msgid "B<-l> | B<--long>"
25202 msgstr ""
25203
25204 # type: =item
25205 #: ../tools/virt-ls.pl:134
25206 msgid "B<-R> | B<--recursive>"
25207 msgstr ""
25208
25209 # type: textblock
25210 #: ../tools/virt-ls.pl:136
25211 msgid ""
25212 "Select the mode.  With neither of these options, C<virt-ls> produces a "
25213 "simple, flat list of the files in the named directory."
25214 msgstr ""
25215
25216 # type: textblock
25217 #: ../tools/virt-ls.pl:139
25218 msgid ""
25219 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
25220 "like the plain C<ls -l> command)."
25221 msgstr ""
25222
25223 # type: textblock
25224 #: ../tools/virt-ls.pl:142
25225 msgid ""
25226 "C<virt-ls -R> produces a recursive list of files starting at the named "
25227 "directory.  See the documentation for the C<guestfs_find> command "
25228 "L<guestfs(3)> for precise details."
25229 msgstr ""
25230
25231 # type: textblock
25232 #: ../tools/virt-ls.pl:146
25233 msgid "You cannot combine these options."
25234 msgstr ""
25235
25236 # type: textblock
25237 #: ../tools/virt-ls.pl:237
25238 msgid ""
25239 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
25240 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
25241 "L<http://libguestfs.org/>."
25242 msgstr ""
25243
25244 # type: textblock
25245 #: ../tools/virt-resize.pl:42
25246 msgid "virt-resize - Resize a virtual machine disk"
25247 msgstr ""
25248
25249 # type: verbatim
25250 #: ../tools/virt-resize.pl:46
25251 #, no-wrap
25252 msgid ""
25253 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
25254 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
25255 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
25256 "\n"
25257 msgstr ""
25258
25259 # type: textblock
25260 #: ../tools/virt-resize.pl:52
25261 msgid ""
25262 "Virt-resize is a tool which can resize a virtual machine disk, making it "
25263 "larger or smaller overall, and resizing or deleting any partitions contained "
25264 "within."
25265 msgstr ""
25266
25267 # type: textblock
25268 #: ../tools/virt-resize.pl:56
25269 msgid ""
25270 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
25271 "not> be used on live virtual machines - for consistent results, shut the "
25272 "virtual machine down before resizing it."
25273 msgstr ""
25274
25275 # type: textblock
25276 #: ../tools/virt-resize.pl:60
25277 msgid ""
25278 "If you are not familiar with the associated tools: "
25279 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)> and L<virt-df(1)>, "
25280 "we recommend you go and read those manual pages first."
25281 msgstr ""
25282
25283 # type: textblock
25284 #: ../tools/virt-resize.pl:68
25285 msgid ""
25286 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
25287 "fill the extra 5GB of space."
25288 msgstr ""
25289
25290 # type: verbatim
25291 #: ../tools/virt-resize.pl:71
25292 #, no-wrap
25293 msgid ""
25294 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
25295 " virt-list-partitions -lht olddisk\n"
25296 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
25297 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
25298 "\n"
25299 msgstr ""
25300
25301 # type: textblock
25302 #: ../tools/virt-resize.pl:76
25303 msgid ""
25304 "As above, but make the /boot partition 200MB bigger, while giving the "
25305 "remaining space to /dev/sda2:"
25306 msgstr ""
25307
25308 # type: verbatim
25309 #: ../tools/virt-resize.pl:79
25310 #, no-wrap
25311 msgid ""
25312 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
25313 "\n"
25314 msgstr ""
25315
25316 # type: textblock
25317 #: ../tools/virt-resize.pl:81
25318 msgid "As above, but the output format will be uncompressed qcow2:"
25319 msgstr ""
25320
25321 # type: verbatim
25322 #: ../tools/virt-resize.pl:83
25323 #, no-wrap
25324 msgid ""
25325 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
25326 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
25327 "\n"
25328 msgstr ""
25329
25330 # type: =head1
25331 #: ../tools/virt-resize.pl:86
25332 msgid "DETAILED USAGE"
25333 msgstr ""
25334
25335 # type: =head2
25336 #: ../tools/virt-resize.pl:88
25337 msgid "EXPANDING A VIRTUAL MACHINE DISK"
25338 msgstr ""
25339
25340 # type: =item
25341 #: ../tools/virt-resize.pl:92
25342 msgid "1. Shut down the virtual machine"
25343 msgstr ""
25344
25345 # type: =item
25346 #: ../tools/virt-resize.pl:94
25347 msgid "2. Locate input disk image"
25348 msgstr ""
25349
25350 # type: textblock
25351 #: ../tools/virt-resize.pl:96
25352 msgid ""
25353 "Locate the input disk image (ie. the file or device on the host containing "
25354 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
25355 "dumpxml> like this to find the disk image name:"
25356 msgstr ""
25357
25358 # type: verbatim
25359 #: ../tools/virt-resize.pl:100
25360 #, no-wrap
25361 msgid ""
25362 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
25363 " Found 1 nodes:\n"
25364 " -- NODE --\n"
25365 " <source dev=\"/dev/vg/lv_guest\" />\n"
25366 "\n"
25367 msgstr ""
25368
25369 # type: =item
25370 #: ../tools/virt-resize.pl:105
25371 msgid "3. Look at current sizing"
25372 msgstr ""
25373
25374 # type: textblock
25375 #: ../tools/virt-resize.pl:107
25376 msgid "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
25377 msgstr ""
25378
25379 # type: verbatim
25380 #: ../tools/virt-resize.pl:110
25381 #, no-wrap
25382 msgid ""
25383 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
25384 " /dev/sda1 ext3 101.9M\n"
25385 " /dev/sda2 pv 7.9G\n"
25386 " /dev/sda device 8.0G\n"
25387 "\n"
25388 msgstr ""
25389
25390 # type: textblock
25391 #: ../tools/virt-resize.pl:115
25392 msgid ""
25393 "(This example is a virtual machine with an 8 GB disk which we would like to "
25394 "expand up to 10 GB)."
25395 msgstr ""
25396
25397 # type: =item
25398 #: ../tools/virt-resize.pl:118
25399 msgid "4. Create output disk"
25400 msgstr ""
25401
25402 # type: textblock
25403 #: ../tools/virt-resize.pl:120
25404 msgid ""
25405 "Virt-resize cannot do in-place disk modifications.  You have to have space "
25406 "to store the resized output disk."
25407 msgstr ""
25408
25409 # type: textblock
25410 #: ../tools/virt-resize.pl:123
25411 msgid "To store the resized disk image in a file, create a file of a suitable size:"
25412 msgstr ""
25413
25414 # type: verbatim
25415 #: ../tools/virt-resize.pl:126
25416 #, no-wrap
25417 msgid ""
25418 " # rm -f outdisk\n"
25419 " # truncate -s 10G outdisk\n"
25420 "\n"
25421 msgstr ""
25422
25423 # type: textblock
25424 #: ../tools/virt-resize.pl:129
25425 msgid "Or use L<lvcreate(1)> to create a logical volume:"
25426 msgstr ""
25427
25428 # type: verbatim
25429 #: ../tools/virt-resize.pl:131
25430 #, no-wrap
25431 msgid ""
25432 " # lvcreate -L 10G -n lv_name vg_name\n"
25433 "\n"
25434 msgstr ""
25435
25436 # type: textblock
25437 #: ../tools/virt-resize.pl:133
25438 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
25439 msgstr ""
25440
25441 # type: verbatim
25442 #: ../tools/virt-resize.pl:135
25443 #, no-wrap
25444 msgid ""
25445 " # virsh pool-list\n"
25446 " # virsh vol-create-as poolname newvol 10G\n"
25447 "\n"
25448 msgstr ""
25449
25450 # type: =item
25451 #: ../tools/virt-resize.pl:138
25452 msgid "5. Resize"
25453 msgstr ""
25454
25455 # type: textblock
25456 #: ../tools/virt-resize.pl:140
25457 msgid ""
25458 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
25459 "file) and the output disk.  The output disk is the one created in the "
25460 "previous step."
25461 msgstr ""
25462
25463 # type: verbatim
25464 #: ../tools/virt-resize.pl:144
25465 #, no-wrap
25466 msgid ""
25467 " # virt-resize indisk outdisk\n"
25468 "\n"
25469 msgstr ""
25470
25471 # type: textblock
25472 #: ../tools/virt-resize.pl:146
25473 msgid ""
25474 "This command just copies disk image C<indisk> to disk image C<outdisk> "
25475 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
25476 "larger, then an extra, empty partition is created at the end of the disk "
25477 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
25478 "error."
25479 msgstr ""
25480
25481 # type: textblock
25482 #: ../tools/virt-resize.pl:152
25483 msgid ""
25484 "More realistically you'd want to expand existing partitions in the disk "
25485 "image by passing extra options (for the full list see the L</OPTIONS> "
25486 "section below)."
25487 msgstr ""
25488
25489 # type: textblock
25490 #: ../tools/virt-resize.pl:156
25491 msgid ""
25492 "L</--expand> is the most useful option.  It expands the named partition "
25493 "within the disk to fill any extra space:"
25494 msgstr ""
25495
25496 # type: verbatim
25497 #: ../tools/virt-resize.pl:159
25498 #, no-wrap
25499 msgid ""
25500 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
25501 "\n"
25502 msgstr ""
25503
25504 # type: textblock
25505 #: ../tools/virt-resize.pl:161
25506 msgid ""
25507 "(In this case, an extra partition is I<not> created at the end of the disk, "
25508 "because there will be no unused space)."
25509 msgstr ""
25510
25511 # type: textblock
25512 #: ../tools/virt-resize.pl:164
25513 msgid ""
25514 "L</--resize> is the other commonly used option.  The following would "
25515 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
25516 "rest of the available space:"
25517 msgstr ""
25518
25519 # type: verbatim
25520 #: ../tools/virt-resize.pl:168
25521 #, no-wrap
25522 msgid ""
25523 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25524 "     indisk outdisk\n"
25525 "\n"
25526 msgstr ""
25527
25528 # type: textblock
25529 #: ../tools/virt-resize.pl:171
25530 msgid ""
25531 "If the expanded partition in the image contains a filesystem or LVM PV, then "
25532 "if virt-resize knows how, it will resize the contents, the equivalent of "
25533 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or "
25534 "L<ntfsresize(8)>.  However virt-resize does not know how to resize some "
25535 "filesystems, so you would have to online resize them after booting the "
25536 "guest.  And virt-resize also does not resize anything inside an LVM PV, it "
25537 "just resizes the PV itself and leaves the user to resize any LVs inside that "
25538 "PV as desired."
25539 msgstr ""
25540
25541 # type: textblock
25542 #: ../tools/virt-resize.pl:180
25543 msgid "Other options are covered below."
25544 msgstr ""
25545
25546 # type: =item
25547 #: ../tools/virt-resize.pl:182
25548 msgid "6. Test"
25549 msgstr ""
25550
25551 # type: textblock
25552 #: ../tools/virt-resize.pl:184
25553 msgid "Thoroughly test the new disk image I<before> discarding the old one."
25554 msgstr ""
25555
25556 # type: textblock
25557 #: ../tools/virt-resize.pl:186
25558 msgid "If you are using libvirt, edit the XML to point at the new disk:"
25559 msgstr ""
25560
25561 # type: verbatim
25562 #: ../tools/virt-resize.pl:188
25563 #, no-wrap
25564 msgid ""
25565 " # virsh edit guestname\n"
25566 "\n"
25567 msgstr ""
25568
25569 # type: textblock
25570 #: ../tools/virt-resize.pl:190
25571 msgid ""
25572 "Change E<lt>source ...E<gt>, see "
25573 "L<http://libvirt.org/formatdomain.html#elementsDisks>"
25574 msgstr ""
25575
25576 # type: textblock
25577 #: ../tools/virt-resize.pl:193
25578 msgid "Then start up the domain with the new, resized disk:"
25579 msgstr ""
25580
25581 # type: verbatim
25582 #: ../tools/virt-resize.pl:195
25583 #, no-wrap
25584 msgid ""
25585 " # virsh start guestname\n"
25586 "\n"
25587 msgstr ""
25588
25589 # type: textblock
25590 #: ../tools/virt-resize.pl:197
25591 msgid ""
25592 "and check that it still works.  See also the L</NOTES> section below for "
25593 "additional information."
25594 msgstr ""
25595
25596 # type: =item
25597 #: ../tools/virt-resize.pl:200
25598 msgid "7. Resize LVs etc inside the guest"
25599 msgstr ""
25600
25601 # type: textblock
25602 #: ../tools/virt-resize.pl:202
25603 msgid "(This can also be done offline using L<guestfish(1)>)"
25604 msgstr ""
25605
25606 # type: textblock
25607 #: ../tools/virt-resize.pl:204
25608 msgid ""
25609 "Once the guest has booted you should see the new space available, at least "
25610 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
25611 "may need to resize LVs inside PVs, and also resize filesystem types that "
25612 "virt-resize does not know how to expand."
25613 msgstr ""
25614
25615 # type: =head2
25616 #: ../tools/virt-resize.pl:211
25617 msgid "SHRINKING A VIRTUAL MACHINE DISK"
25618 msgstr ""
25619
25620 # type: textblock
25621 #: ../tools/virt-resize.pl:213
25622 msgid ""
25623 "Shrinking is somewhat more complex than expanding, and only an overview is "
25624 "given here."
25625 msgstr ""
25626
25627 # type: textblock
25628 #: ../tools/virt-resize.pl:216
25629 msgid ""
25630 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
25631 "filesystems).  The user has to shrink content before passing the disk image "
25632 "to virt-resize, and virt-resize will check that the content has been shrunk "
25633 "properly."
25634 msgstr ""
25635
25636 # type: textblock
25637 #: ../tools/virt-resize.pl:221
25638 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
25639 msgstr ""
25640
25641 # type: textblock
25642 #: ../tools/virt-resize.pl:223
25643 msgid ""
25644 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
25645 "steps 3 and 4 above to allocate a new disk image."
25646 msgstr ""
25647
25648 # type: textblock
25649 #: ../tools/virt-resize.pl:226
25650 msgid "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
25651 msgstr ""
25652
25653 # type: =head2
25654 #: ../tools/virt-resize.pl:229
25655 msgid "IGNORING OR DELETING PARTITIONS"
25656 msgstr ""
25657
25658 # type: textblock
25659 #: ../tools/virt-resize.pl:231
25660 msgid ""
25661 "virt-resize also gives a convenient way to ignore or delete partitions when "
25662 "copying from the input disk to the output disk.  Ignoring a partition speeds "
25663 "up the copy where you don't care about the existing contents of a "
25664 "partition.  Deleting a partition removes it completely, but note that it "
25665 "also renumbers any partitions after the one which is deleted, which can "
25666 "leave some guests unbootable."
25667 msgstr ""
25668
25669 # type: =head2
25670 #: ../tools/virt-resize.pl:238
25671 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
25672 msgstr ""
25673
25674 # type: textblock
25675 #: ../tools/virt-resize.pl:240
25676 msgid ""
25677 "If the input disk is in qcow2 format, then you may prefer that the output is "
25678 "in qcow2 format as well.  Alternately, virt-resize can convert the format on "
25679 "the fly.  The output format is simply determined by the format of the empty "
25680 "output container that you provide.  Thus to create qcow2 output, use:"
25681 msgstr ""
25682
25683 # type: verbatim
25684 #: ../tools/virt-resize.pl:246
25685 #, no-wrap
25686 msgid ""
25687 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
25688 "\n"
25689 msgstr ""
25690
25691 # type: textblock
25692 #: ../tools/virt-resize.pl:248
25693 msgid "instead of the truncate command (use C<-c> for a compressed disk)."
25694 msgstr ""
25695
25696 # type: textblock
25697 #: ../tools/virt-resize.pl:250
25698 msgid "Similarly, to get non-sparse raw output use:"
25699 msgstr ""
25700
25701 # type: verbatim
25702 #: ../tools/virt-resize.pl:252
25703 #, no-wrap
25704 msgid ""
25705 " fallocate -l size outdisk\n"
25706 "\n"
25707 msgstr ""
25708
25709 # type: textblock
25710 #: ../tools/virt-resize.pl:254
25711 msgid ""
25712 "(on older systems that don't have the L<fallocate(1)> command use C<dd "
25713 "if=/dev/zero of=outdisk bs=1M count=..>)"
25714 msgstr ""
25715
25716 # type: textblock
25717 #: ../tools/virt-resize.pl:267
25718 msgid "Display help."
25719 msgstr ""
25720
25721 # type: =item
25722 #: ../tools/virt-resize.pl:281
25723 msgid "B<--resize part=size>"
25724 msgstr ""
25725
25726 # type: textblock
25727 #: ../tools/virt-resize.pl:283
25728 msgid ""
25729 "Resize the named partition (expanding or shrinking it) so that it has the "
25730 "given size."
25731 msgstr ""
25732
25733 # type: textblock
25734 #: ../tools/virt-resize.pl:286
25735 msgid ""
25736 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
25737 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
25738 "Exabytes; or as a percentage of the current size; or as a relative number or "
25739 "percentage.  For example:"
25740 msgstr ""
25741
25742 # type: verbatim
25743 #: ../tools/virt-resize.pl:291
25744 #, no-wrap
25745 msgid ""
25746 " --resize /dev/sda2=10G\n"
25747 "\n"
25748 msgstr ""
25749
25750 # type: verbatim
25751 #: ../tools/virt-resize.pl:293
25752 #, no-wrap
25753 msgid ""
25754 " --resize /dev/sda4=90%\n"
25755 "\n"
25756 msgstr ""
25757
25758 # type: verbatim
25759 #: ../tools/virt-resize.pl:295
25760 #, no-wrap
25761 msgid ""
25762 " --resize /dev/sda2=+1G\n"
25763 "\n"
25764 msgstr ""
25765
25766 # type: verbatim
25767 #: ../tools/virt-resize.pl:297
25768 #, no-wrap
25769 msgid ""
25770 " --resize /dev/sda2=-200M\n"
25771 "\n"
25772 msgstr ""
25773
25774 # type: verbatim
25775 #: ../tools/virt-resize.pl:299
25776 #, no-wrap
25777 msgid ""
25778 " --resize /dev/sda1=+128K\n"
25779 "\n"
25780 msgstr ""
25781
25782 # type: verbatim
25783 #: ../tools/virt-resize.pl:301
25784 #, no-wrap
25785 msgid ""
25786 " --resize /dev/sda1=+10%\n"
25787 "\n"
25788 msgstr ""
25789
25790 # type: verbatim
25791 #: ../tools/virt-resize.pl:303
25792 #, no-wrap
25793 msgid ""
25794 " --resize /dev/sda1=-10%\n"
25795 "\n"
25796 msgstr ""
25797
25798 # type: textblock
25799 #: ../tools/virt-resize.pl:305
25800 msgid ""
25801 "You can increase the size of any partition.  Virt-resize will expand the "
25802 "direct content of the partition if it knows how (see C<--expand> below)."
25803 msgstr ""
25804
25805 # type: textblock
25806 #: ../tools/virt-resize.pl:309
25807 msgid ""
25808 "You can only I<decrease> the size of partitions that contain filesystems or "
25809 "PVs which have already been shrunk.  Virt-resize will check this has been "
25810 "done before proceeding, or else will print an error (see also "
25811 "C<--resize-force>)."
25812 msgstr ""
25813
25814 # type: textblock
25815 #: ../tools/virt-resize.pl:314 ../tools/virt-resize.pl:406 ../tools/virt-resize.pl:423
25816 msgid "You can give this option multiple times."
25817 msgstr ""
25818
25819 # type: =item
25820 #: ../tools/virt-resize.pl:320
25821 msgid "B<--resize-force part=size>"
25822 msgstr ""
25823
25824 # type: textblock
25825 #: ../tools/virt-resize.pl:322
25826 msgid ""
25827 "This is the same as C<--resize> except that it will let you decrease the "
25828 "size of any partition.  Generally this means you will lose any data which "
25829 "was at the end of the partition you shrink, but you may not care about that "
25830 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
25831 "as a swap partition)."
25832 msgstr ""
25833
25834 # type: textblock
25835 #: ../tools/virt-resize.pl:328
25836 msgid "See also the C<--ignore> option."
25837 msgstr ""
25838
25839 # type: =item
25840 #: ../tools/virt-resize.pl:334
25841 msgid "B<--expand part>"
25842 msgstr ""
25843
25844 # type: textblock
25845 #: ../tools/virt-resize.pl:336
25846 msgid ""
25847 "Expand the named partition so it uses up all extra space (space left over "
25848 "after any other resize changes that you request have been done)."
25849 msgstr ""
25850
25851 # type: textblock
25852 #: ../tools/virt-resize.pl:339
25853 msgid ""
25854 "If virt-resize knows how, it will expand the direct content of the "
25855 "partition.  For example, if the partition is an LVM PV, it will expand the "
25856 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25857 "content it doesn't know about alone."
25858 msgstr ""
25859
25860 # type: textblock
25861 #: ../tools/virt-resize.pl:344
25862 msgid "Currently virt-resize can resize:"
25863 msgstr ""
25864
25865 # type: textblock
25866 #: ../tools/virt-resize.pl:350
25867 msgid ""
25868 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
25869 "partition."
25870 msgstr ""
25871
25872 # type: textblock
25873 #: ../tools/virt-resize.pl:355
25874 msgid ""
25875 "NTFS filesystems contained directly in a partition, if libguestfs was "
25876 "compiled with support for NTFS."
25877 msgstr ""
25878
25879 # type: textblock
25880 #: ../tools/virt-resize.pl:358
25881 msgid ""
25882 "The filesystem must have been shut down consistently last time it was used.  "
25883 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25884 "consistency check, so at the first boot after resizing Windows will check "
25885 "the disk."
25886 msgstr ""
25887
25888 # type: textblock
25889 #: ../tools/virt-resize.pl:365
25890 msgid ""
25891 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
25892 "inside the PV.  The user will have to resize LVs as desired."
25893 msgstr ""
25894
25895 # type: textblock
25896 #: ../tools/virt-resize.pl:371 ../tools/virt-resize.pl:393
25897 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
25898 msgstr ""
25899
25900 # type: =item
25901 #: ../tools/virt-resize.pl:377
25902 msgid "B<--shrink part>"
25903 msgstr ""
25904
25905 # type: textblock
25906 #: ../tools/virt-resize.pl:379
25907 msgid ""
25908 "Shrink the named partition until the overall disk image fits in the "
25909 "destination.  The named partition B<must> contain a filesystem or PV which "
25910 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
25911 "online tools).  Virt-resize will check this and give an error if it has not "
25912 "been done."
25913 msgstr ""
25914
25915 # type: textblock
25916 #: ../tools/virt-resize.pl:385
25917 msgid ""
25918 "The amount by which the overall disk must be shrunk (after carrying out all "
25919 "other operations requested by the user) is called the \"deficit\".  For "
25920 "example, a straight copy (assume no other operations)  from a 5GB disk image "
25921 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
25922 "would give an error unless the user specified a partition to shrink and that "
25923 "partition had more than a gigabyte of free space."
25924 msgstr ""
25925
25926 # type: =item
25927 #: ../tools/virt-resize.pl:399
25928 msgid "B<--ignore part>"
25929 msgstr ""
25930
25931 # type: textblock
25932 #: ../tools/virt-resize.pl:401
25933 msgid ""
25934 "Ignore the named partition.  Effectively this means the partition is "
25935 "allocated on the destination disk, but the content is not copied across from "
25936 "the source disk.  The content of the partition will be blank (all zero "
25937 "bytes)."
25938 msgstr ""
25939
25940 # type: =item
25941 #: ../tools/virt-resize.pl:412
25942 msgid "B<--delete part>"
25943 msgstr ""
25944
25945 # type: textblock
25946 #: ../tools/virt-resize.pl:414
25947 msgid ""
25948 "Delete the named partition.  It would be more accurate to describe this as "
25949 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25950 "the original disk image is left intact."
25951 msgstr ""
25952
25953 # type: textblock
25954 #: ../tools/virt-resize.pl:418
25955 msgid ""
25956 "Note that when you delete a partition, then anything contained in the "
25957 "partition is also deleted.  Furthermore, this causes any partitions that "
25958 "come after to be I<renumbered>, which can easily make your guest unbootable."
25959 msgstr ""
25960
25961 # type: =item
25962 #: ../tools/virt-resize.pl:429
25963 msgid "B<--LV-expand logvol>"
25964 msgstr ""
25965
25966 # type: textblock
25967 #: ../tools/virt-resize.pl:431
25968 msgid ""
25969 "This takes the logical volume and, as a final step, expands it to fill all "
25970 "the space available in its volume group.  A typical usage, assuming a Linux "
25971 "guest with a single PV C</dev/sda2> and a root device called "
25972 "C</dev/vg_guest/lv_root> would be:"
25973 msgstr ""
25974
25975 # type: verbatim
25976 #: ../tools/virt-resize.pl:436
25977 #, no-wrap
25978 msgid ""
25979 " virt-resize indisk outdisk \\\n"
25980 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
25981 "\n"
25982 msgstr ""
25983
25984 # type: textblock
25985 #: ../tools/virt-resize.pl:439
25986 msgid ""
25987 "This would first expand the partition (and PV), and then expand the root "
25988 "device to fill the extra space in the PV."
25989 msgstr ""
25990
25991 # type: textblock
25992 #: ../tools/virt-resize.pl:442
25993 msgid ""
25994 "The contents of the LV are also resized if virt-resize knows how to do "
25995 "that.  You can stop virt-resize from trying to expand the content by using "
25996 "the option C<--no-expand-content>."
25997 msgstr ""
25998
25999 # type: textblock
26000 #: ../tools/virt-resize.pl:446
26001 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
26002 msgstr ""
26003
26004 # type: textblock
26005 #: ../tools/virt-resize.pl:449
26006 msgid ""
26007 "You can give this option multiple times, I<but> it doesn't make sense to do "
26008 "this unless the logical volumes you specify are all in different volume "
26009 "groups."
26010 msgstr ""
26011
26012 # type: =item
26013 #: ../tools/virt-resize.pl:457
26014 msgid "B<--no-copy-boot-loader>"
26015 msgstr ""
26016
26017 # type: textblock
26018 #: ../tools/virt-resize.pl:459
26019 msgid ""
26020 "By default, virt-resize copies over some sectors at the start of the disk "
26021 "(up to the beginning of the first partition).  Commonly these sectors "
26022 "contain the Master Boot Record (MBR) and the boot loader, and are required "
26023 "in order for the guest to boot correctly."
26024 msgstr ""
26025
26026 # type: textblock
26027 #: ../tools/virt-resize.pl:464
26028 msgid ""
26029 "If you specify this flag, then this initial copy is not done.  You may need "
26030 "to reinstall the boot loader in this case."
26031 msgstr ""
26032
26033 # type: =item
26034 #: ../tools/virt-resize.pl:472
26035 msgid "B<--no-extra-partition>"
26036 msgstr ""
26037
26038 # type: textblock
26039 #: ../tools/virt-resize.pl:474
26040 msgid ""
26041 "By default, virt-resize creates an extra partition if there is any extra, "
26042 "unused space after all resizing has happened.  Use this option to prevent "
26043 "the extra partition from being created.  If you do this then the extra space "
26044 "will be inaccessible until you run fdisk, parted, or some other partitioning "
26045 "tool in the guest."
26046 msgstr ""
26047
26048 # type: textblock
26049 #: ../tools/virt-resize.pl:480
26050 msgid ""
26051 "Note that if the surplus space is smaller than 10 MB, no extra partition "
26052 "will be created."
26053 msgstr ""
26054
26055 # type: =item
26056 #: ../tools/virt-resize.pl:487
26057 msgid "B<--no-expand-content>"
26058 msgstr ""
26059
26060 # type: textblock
26061 #: ../tools/virt-resize.pl:489
26062 msgid ""
26063 "By default, virt-resize will try to expand the direct contents of "
26064 "partitions, if it knows how (see C<--expand> option above)."
26065 msgstr ""
26066
26067 # type: textblock
26068 #: ../tools/virt-resize.pl:492
26069 msgid ""
26070 "If you give the C<--no-expand-content> option then virt-resize will not "
26071 "attempt this."
26072 msgstr ""
26073
26074 # type: =item
26075 #: ../tools/virt-resize.pl:499
26076 msgid "B<-d> | B<--debug>"
26077 msgstr ""
26078
26079 # type: =item
26080 #: ../tools/virt-resize.pl:507
26081 msgid "B<-n> | B<--dryrun>"
26082 msgstr ""
26083
26084 # type: textblock
26085 #: ../tools/virt-resize.pl:509
26086 msgid "Print a summary of what would be done, but don't do anything."
26087 msgstr ""
26088
26089 # type: =item
26090 #: ../tools/virt-resize.pl:515
26091 msgid "B<-q> | B<--quiet>"
26092 msgstr ""
26093
26094 # type: textblock
26095 #: ../tools/virt-resize.pl:517
26096 msgid "Don't print the summary."
26097 msgstr ""
26098
26099 # type: textblock
26100 #: ../tools/virt-resize.pl:525
26101 msgid ""
26102 "Specify the format of the input disk image.  If this flag is not given then "
26103 "it is auto-detected from the image itself."
26104 msgstr ""
26105
26106 # type: textblock
26107 #: ../tools/virt-resize.pl:531
26108 msgid ""
26109 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
26110 "AND NON-SPARSE RAW FORMATS>."
26111 msgstr ""
26112
26113 # type: =item
26114 #: ../tools/virt-resize.pl:538
26115 msgid "B<--output-format> raw"
26116 msgstr ""
26117
26118 # type: textblock
26119 #: ../tools/virt-resize.pl:540
26120 msgid ""
26121 "Specify the format of the output disk image.  If this flag is not given then "
26122 "it is auto-detected from the image itself."
26123 msgstr ""
26124
26125 # type: textblock
26126 #: ../tools/virt-resize.pl:546
26127 msgid ""
26128 "Note that you still need to create the output disk with the right format.  "
26129 "See L</QCOW2 AND NON-SPARSE RAW FORMATS>."
26130 msgstr ""
26131
26132 # type: =head2
26133 #: ../tools/virt-resize.pl:1422 ../tools/virt-rescue.pl:90
26134 msgid "NOTES"
26135 msgstr ""
26136
26137 # type: =head2
26138 #: ../tools/virt-resize.pl:1424
26139 msgid "\"Partition 1 does not end on cylinder boundary.\""
26140 msgstr ""
26141
26142 # type: textblock
26143 #: ../tools/virt-resize.pl:1426
26144 msgid ""
26145 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
26146 "means the partitions will not be aligned to the ancient CHS geometry.  "
26147 "However CHS geometry is meaningless for disks manufactured since the early "
26148 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
26149 "cylinders is not required by any modern operating system."
26150 msgstr ""
26151
26152 # type: =head2
26153 #: ../tools/virt-resize.pl:1433
26154 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
26155 msgstr ""
26156
26157 # type: textblock
26158 #: ../tools/virt-resize.pl:1435
26159 msgid ""
26160 "In Windows Vista and later versions, Microsoft switched to using a separate "
26161 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
26162 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
26163 "the boot partition.  Doing so seems to break the guest completely.  However "
26164 "expanding the second partition (ie. C: drive) should work."
26165 msgstr ""
26166
26167 # type: textblock
26168 #: ../tools/virt-resize.pl:1442
26169 msgid ""
26170 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
26171 "NTFS partitions have been expanded.  This is just a safety check and (unless "
26172 "it find errors) is nothing to worry about."
26173 msgstr ""
26174
26175 # type: =head2
26176 #: ../tools/virt-resize.pl:1446
26177 msgid "GUEST BOOT STUCK AT \"GRUB\""
26178 msgstr ""
26179
26180 # type: textblock
26181 #: ../tools/virt-resize.pl:1448
26182 msgid ""
26183 "If a Linux guest does not boot after resizing, and the boot is stuck after "
26184 "printing C<GRUB> on the console, try reinstalling grub.  This sometimes "
26185 "happens on older (RHEL 5-era) guests, for reasons we don't fully understand, "
26186 "although we think is to do with partition alignment."
26187 msgstr ""
26188
26189 # type: verbatim
26190 #: ../tools/virt-resize.pl:1453
26191 #, no-wrap
26192 msgid ""
26193 " guestfish -i -a newdisk\n"
26194 " ><fs> cat /boot/grub/device.map\n"
26195 " # check the contents of this file are sensible or\n"
26196 " # edit the file if necessary\n"
26197 " ><fs> grub-install / /dev/vda\n"
26198 " ><fs> exit\n"
26199 "\n"
26200 msgstr ""
26201
26202 # type: textblock
26203 #: ../tools/virt-resize.pl:1460
26204 msgid ""
26205 "For more flexible guest reconfiguration, including if you need to specify "
26206 "other parameters to grub-install, use L<virt-rescue(1)>."
26207 msgstr ""
26208
26209 # type: =head1
26210 #: ../tools/virt-resize.pl:1463
26211 msgid "ALTERNATIVE TOOLS"
26212 msgstr ""
26213
26214 # type: textblock
26215 #: ../tools/virt-resize.pl:1465
26216 msgid ""
26217 "There are several proprietary tools for resizing partitions.  We won't "
26218 "mention any here."
26219 msgstr ""
26220
26221 # type: textblock
26222 #: ../tools/virt-resize.pl:1468
26223 msgid ""
26224 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
26225 "operations on disk images.  They can resize and move partitions, but I don't "
26226 "think they can do anything with the contents, and they certainly don't "
26227 "understand LVM."
26228 msgstr ""
26229
26230 # type: textblock
26231 #: ../tools/virt-resize.pl:1473
26232 msgid ""
26233 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
26234 "but at a much lower level.  You will probably end up hand-calculating sector "
26235 "offsets, which is something that virt-resize was designed to avoid.  If you "
26236 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
26237 "C<--debug> flag."
26238 msgstr ""
26239
26240 # type: textblock
26241 #: ../tools/virt-resize.pl:1488
26242 msgid ""
26243 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
26244 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
26245 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, "
26246 "L<truncate(1)>, L<fallocate(1)>, L<grub(8)>, L<grub-install(8)>, "
26247 "L<virt-rescue(1)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
26248 msgstr ""
26249
26250 # type: textblock
26251 #: ../tools/virt-list-filesystems.pl:32
26252 msgid "virt-list-filesystems - List filesystems in a virtual machine or disk image"
26253 msgstr ""
26254
26255 # type: verbatim
26256 #: ../tools/virt-list-filesystems.pl:36
26257 #, no-wrap
26258 msgid ""
26259 " virt-list-filesystems [--options] domname\n"
26260 "\n"
26261 msgstr ""
26262
26263 # type: verbatim
26264 #: ../tools/virt-list-filesystems.pl:38
26265 #, no-wrap
26266 msgid ""
26267 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
26268 "\n"
26269 msgstr ""
26270
26271 # type: textblock
26272 #: ../tools/virt-list-filesystems.pl:42
26273 msgid ""
26274 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
26275 "are contained in a virtual machine or disk image."
26276 msgstr ""
26277
26278 # type: textblock
26279 #: ../tools/virt-list-filesystems.pl:46
26280 msgid ""
26281 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
26282 "functionality.  For more complex cases you should look at the "
26283 "L<guestfish(1)> tool."
26284 msgstr ""
26285
26286 # type: textblock
26287 #: ../tools/virt-list-filesystems.pl:105
26288 msgid ""
26289 "With this option, C<virt-list-filesystems> displays the type of each "
26290 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
26291 msgstr ""
26292
26293 # type: =item
26294 #: ../tools/virt-list-filesystems.pl:112
26295 msgid "B<-a> | B<--all>"
26296 msgstr ""
26297
26298 # type: textblock
26299 #: ../tools/virt-list-filesystems.pl:114
26300 msgid ""
26301 "Normally we only show mountable filesystems.  If this option is given then "
26302 "swap devices are shown too."
26303 msgstr ""
26304
26305 # type: textblock
26306 #: ../tools/virt-list-filesystems.pl:218
26307 msgid ""
26308 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
26309 "L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
26310 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26311 msgstr ""
26312
26313 # type: textblock
26314 #: ../tools/virt-cat.pl:34
26315 msgid "virt-cat - Display a file in a virtual machine"
26316 msgstr ""
26317
26318 # type: verbatim
26319 #: ../tools/virt-cat.pl:38
26320 #, no-wrap
26321 msgid ""
26322 " virt-cat [--options] domname file\n"
26323 "\n"
26324 msgstr ""
26325
26326 # type: verbatim
26327 #: ../tools/virt-cat.pl:40
26328 #, no-wrap
26329 msgid ""
26330 " virt-cat [--options] disk.img [disk.img ...] file\n"
26331 "\n"
26332 msgstr ""
26333
26334 # type: textblock
26335 #: ../tools/virt-cat.pl:44
26336 msgid ""
26337 "C<virt-cat> is a command line tool to display the contents of C<file> where "
26338 "C<file> exists in the named virtual machine (or disk image)."
26339 msgstr ""
26340
26341 # type: textblock
26342 #: ../tools/virt-cat.pl:47
26343 msgid ""
26344 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
26345 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
26346 "tool."
26347 msgstr ""
26348
26349 # type: textblock
26350 #: ../tools/virt-cat.pl:53
26351 msgid "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
26352 msgstr ""
26353
26354 # type: verbatim
26355 #: ../tools/virt-cat.pl:56
26356 #, no-wrap
26357 msgid ""
26358 " virt-cat mydomain /etc/fstab\n"
26359 "\n"
26360 msgstr ""
26361
26362 # type: textblock
26363 #: ../tools/virt-cat.pl:58
26364 msgid "List syslog messages from a VM:"
26365 msgstr ""
26366
26367 # type: verbatim
26368 #: ../tools/virt-cat.pl:60
26369 #, no-wrap
26370 msgid ""
26371 " virt-cat mydomain /var/log/messages | tail\n"
26372 "\n"
26373 msgstr ""
26374
26375 # type: textblock
26376 #: ../tools/virt-cat.pl:62
26377 msgid "Find out what DHCP IP address a VM acquired:"
26378 msgstr ""
26379
26380 # type: verbatim
26381 #: ../tools/virt-cat.pl:64
26382 #, no-wrap
26383 msgid ""
26384 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
26385 "\n"
26386 msgstr ""
26387
26388 # type: textblock
26389 #: ../tools/virt-cat.pl:66
26390 msgid "Find out what packages were recently installed:"
26391 msgstr ""
26392
26393 # type: verbatim
26394 #: ../tools/virt-cat.pl:68
26395 #, no-wrap
26396 msgid ""
26397 " virt-cat mydomain /var/log/yum.log | tail\n"
26398 "\n"
26399 msgstr ""
26400
26401 # type: textblock
26402 #: ../tools/virt-cat.pl:70
26403 msgid "Find out who is logged on inside a virtual machine:"
26404 msgstr ""
26405
26406 # type: verbatim
26407 #: ../tools/virt-cat.pl:72
26408 #, no-wrap
26409 msgid ""
26410 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
26411 " who /tmp/utmp\n"
26412 "\n"
26413 msgstr ""
26414
26415 # type: textblock
26416 #: ../tools/virt-cat.pl:75
26417 msgid "or who was logged on:"
26418 msgstr ""
26419
26420 # type: verbatim
26421 #: ../tools/virt-cat.pl:77
26422 #, no-wrap
26423 msgid ""
26424 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
26425 " last -f /tmp/wtmp\n"
26426 "\n"
26427 msgstr ""
26428
26429 # type: textblock
26430 #: ../tools/virt-cat.pl:190
26431 msgid ""
26432 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, "
26433 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26434 msgstr ""
26435
26436 # type: textblock
26437 #: ../tools/virt-tar.pl:34
26438 msgid "virt-tar - Extract or upload files to a virtual machine"
26439 msgstr ""
26440
26441 # type: verbatim
26442 #: ../tools/virt-tar.pl:38
26443 #, no-wrap
26444 msgid ""
26445 " virt-tar [--options] -x domname directory tarball\n"
26446 "\n"
26447 msgstr ""
26448
26449 # type: verbatim
26450 #: ../tools/virt-tar.pl:40
26451 #, no-wrap
26452 msgid ""
26453 " virt-tar [--options] -u domname tarball directory\n"
26454 "\n"
26455 msgstr ""
26456
26457 # type: verbatim
26458 #: ../tools/virt-tar.pl:42
26459 #, no-wrap
26460 msgid ""
26461 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
26462 "\n"
26463 msgstr ""
26464
26465 # type: verbatim
26466 #: ../tools/virt-tar.pl:44
26467 #, no-wrap
26468 msgid ""
26469 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
26470 "\n"
26471 msgstr ""
26472
26473 # type: textblock
26474 #: ../tools/virt-tar.pl:48
26475 msgid "Download C</home> from the VM into a local tarball:"
26476 msgstr ""
26477
26478 # type: verbatim
26479 #: ../tools/virt-tar.pl:50
26480 #, no-wrap
26481 msgid ""
26482 " virt-tar -x domname /home home.tar\n"
26483 "\n"
26484 msgstr ""
26485
26486 # type: verbatim
26487 #: ../tools/virt-tar.pl:52
26488 #, no-wrap
26489 msgid ""
26490 " virt-tar -zx domname /home home.tar.gz\n"
26491 "\n"
26492 msgstr ""
26493
26494 # type: textblock
26495 #: ../tools/virt-tar.pl:54
26496 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
26497 msgstr ""
26498
26499 # type: verbatim
26500 #: ../tools/virt-tar.pl:56
26501 #, no-wrap
26502 msgid ""
26503 " virt-tar -u domname uploadstuff.tar /tmp\n"
26504 "\n"
26505 msgstr ""
26506
26507 # type: verbatim
26508 #: ../tools/virt-tar.pl:58
26509 #, no-wrap
26510 msgid ""
26511 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
26512 "\n"
26513 msgstr ""
26514
26515 # type: textblock
26516 #: ../tools/virt-tar.pl:62
26517 msgid ""
26518 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
26519 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
26520 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
26521 msgstr ""
26522
26523 # type: textblock
26524 #: ../tools/virt-tar.pl:67
26525 msgid ""
26526 "You can use C<-x> (extract) on live virtual machines, but you might get "
26527 "inconsistent results or errors if there is filesystem activity inside the "
26528 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
26529 "work, but the only way to guarantee consistent results is if the virtual "
26530 "machine is shut down."
26531 msgstr ""
26532
26533 # type: textblock
26534 #: ../tools/virt-tar.pl:75
26535 msgid ""
26536 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
26537 "parts of a guest filesystem.  There are many possibilities: making backups, "
26538 "uploading data files, snooping on guest activity, fixing or customizing "
26539 "guests, etc."
26540 msgstr ""
26541
26542 # type: textblock
26543 #: ../tools/virt-tar.pl:80
26544 msgid ""
26545 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
26546 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
26547 "should look at the L<guestfish(1)> tool."
26548 msgstr ""
26549
26550 # type: textblock
26551 #: ../tools/virt-tar.pl:84
26552 msgid ""
26553 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
26554 "its contents (recursively) from the virtual machine into a local tarball.  "
26555 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
26556 "virtual machine.  You cannot use these two options together."
26557 msgstr ""
26558
26559 # type: textblock
26560 #: ../tools/virt-tar.pl:90
26561 msgid ""
26562 "In addition, you may need to use the C<-z> (gZip) option to enable "
26563 "compression.  When uploading, you have to specify C<-z> if the upload file "
26564 "is compressed because virt-tar won't detect this on its own."
26565 msgstr ""
26566
26567 # type: textblock
26568 #: ../tools/virt-tar.pl:94
26569 msgid ""
26570 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
26571 "example it cannot do PKZip files or bzip2 compression.  If you want that "
26572 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
26573 "the L<libguestfs(3)> API)."
26574 msgstr ""
26575
26576 # type: =item
26577 #: ../tools/virt-tar.pl:152
26578 msgid "B<-x> | B<--extract> | B<--download>"
26579 msgstr ""
26580
26581 # type: =item
26582 #: ../tools/virt-tar.pl:154
26583 msgid "B<-u> | B<--upload>"
26584 msgstr ""
26585
26586 # type: textblock
26587 #: ../tools/virt-tar.pl:156
26588 msgid ""
26589 "Use C<-x> to extract (download) a directory from a virtual machine to a "
26590 "local tarball."
26591 msgstr ""
26592
26593 # type: textblock
26594 #: ../tools/virt-tar.pl:159
26595 msgid ""
26596 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
26597 "Please read the L</WARNING> section above before using this option."
26598 msgstr ""
26599
26600 # type: textblock
26601 #: ../tools/virt-tar.pl:163
26602 msgid "You must specify exactly one of these options."
26603 msgstr ""
26604
26605 # type: =item
26606 #: ../tools/virt-tar.pl:169
26607 msgid "B<-z> | B<--gzip>"
26608 msgstr ""
26609
26610 # type: textblock
26611 #: ../tools/virt-tar.pl:171
26612 msgid "Specify that the input or output tarball is gzip-compressed."
26613 msgstr ""
26614
26615 # type: textblock
26616 #: ../tools/virt-tar.pl:285
26617 msgid ""
26618 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
26619 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
26620 "L<http://libguestfs.org/>."
26621 msgstr ""
26622
26623 # type: textblock
26624 #: ../tools/virt-rescue.pl:33
26625 msgid "virt-rescue - Run a rescue shell on a virtual machine"
26626 msgstr ""
26627
26628 # type: verbatim
26629 #: ../tools/virt-rescue.pl:37
26630 #, no-wrap
26631 msgid ""
26632 " virt-rescue [--options] domname\n"
26633 "\n"
26634 msgstr ""
26635
26636 # type: verbatim
26637 #: ../tools/virt-rescue.pl:39
26638 #, no-wrap
26639 msgid ""
26640 " virt-rescue [--options] disk.img [disk.img ...]\n"
26641 "\n"
26642 msgstr ""
26643
26644 # type: textblock
26645 #: ../tools/virt-rescue.pl:43
26646 msgid ""
26647 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
26648 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
26649 "you from doing this, but doesn't catch all cases."
26650 msgstr ""
26651
26652 # type: textblock
26653 #: ../tools/virt-rescue.pl:47
26654 msgid ""
26655 "However if you use the I<--ro> (read only) option, then you can attach a "
26656 "shell to a live virtual machine.  The results might be strange or "
26657 "inconsistent at times but you won't get disk corruption."
26658 msgstr ""
26659
26660 # type: textblock
26661 #: ../tools/virt-rescue.pl:53
26662 msgid ""
26663 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
26664 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
26665 "recovery tools which you can use to examine or rescue a virtual machine or "
26666 "disk image."
26667 msgstr ""
26668
26669 # type: textblock
26670 #: ../tools/virt-rescue.pl:58
26671 msgid ""
26672 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
26673 "on disk image(s):"
26674 msgstr ""
26675
26676 # type: verbatim
26677 #: ../tools/virt-rescue.pl:61
26678 #, no-wrap
26679 msgid ""
26680 " virt-rescue GuestName\n"
26681 "\n"
26682 msgstr ""
26683
26684 # type: verbatim
26685 #: ../tools/virt-rescue.pl:63
26686 #, no-wrap
26687 msgid ""
26688 " virt-rescue --ro /path/to/disk.img\n"
26689 "\n"
26690 msgstr ""
26691
26692 # type: verbatim
26693 #: ../tools/virt-rescue.pl:65
26694 #, no-wrap
26695 msgid ""
26696 " virt-rescue /dev/sdc\n"
26697 "\n"
26698 msgstr ""
26699
26700 # type: textblock
26701 #: ../tools/virt-rescue.pl:67
26702 msgid "For live VMs you I<must> use the --ro option."
26703 msgstr ""
26704
26705 # type: textblock
26706 #: ../tools/virt-rescue.pl:69
26707 msgid ""
26708 "When you run virt-rescue on a virtual machine or disk image, you are placed "
26709 "in an interactive bash shell where you can use many ordinary Linux "
26710 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
26711 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
26712 "is an empty directory called C</sysroot> where you can mount filesystems."
26713 msgstr ""
26714
26715 # type: textblock
26716 #: ../tools/virt-rescue.pl:76
26717 msgid ""
26718 "In the example below, we list logical volumes, then choose one to mount "
26719 "under C</sysroot>:"
26720 msgstr ""
26721
26722 # type: verbatim
26723 #: ../tools/virt-rescue.pl:79
26724 #, no-wrap
26725 msgid ""
26726 " ><rescue> lvs\n"
26727 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
26728 " lv_root vg_f11x64 -wi-a-   8.83G\n"
26729 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
26730 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
26731 " ><rescue> ls /sysroot\n"
26732 "\n"
26733 msgstr ""
26734
26735 # type: textblock
26736 #: ../tools/virt-rescue.pl:86
26737 msgid ""
26738 "If you don't know what filesystems are available on the virtual machine then "
26739 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
26740 msgstr ""
26741
26742 # type: textblock
26743 #: ../tools/virt-rescue.pl:92
26744 msgid ""
26745 "Virt-rescue can be used on I<any> disk image file or device, not just a "
26746 "virtual machine.  For example you can use it on a blank file if you want to "
26747 "partition that file (although we would recommend using L<guestfish(1)> "
26748 "instead as it is more suitable for this purpose).  You can even use "
26749 "virt-rescue on things like SD cards."
26750 msgstr ""
26751
26752 # type: textblock
26753 #: ../tools/virt-rescue.pl:98
26754 msgid ""
26755 "This tool is just designed for quick interactive hacking on a virtual "
26756 "machine.  For more structured access to a virtual machine disk image, you "
26757 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
26758 "make scripted changes to guests, use L<guestfish(1)>."
26759 msgstr ""
26760
26761 # type: =item
26762 #: ../tools/virt-rescue.pl:127
26763 msgid "B<--append kernelopts>"
26764 msgstr ""
26765
26766 # type: textblock
26767 #: ../tools/virt-rescue.pl:129
26768 msgid "Pass additional options to the rescue kernel."
26769 msgstr ""
26770
26771 # type: =item
26772 #: ../tools/virt-rescue.pl:164
26773 msgid "B<--memsize MB> | B<-m MB>"
26774 msgstr ""
26775
26776 # type: textblock
26777 #: ../tools/virt-rescue.pl:166
26778 msgid ""
26779 "Change the amount of memory allocated to the rescue system.  The default is "
26780 "set by libguestfs and is small but adequate for running system tools.  The "
26781 "occasional program might need more memory.  The parameter is specified in "
26782 "megabytes."
26783 msgstr ""
26784
26785 # type: =item
26786 #: ../tools/virt-rescue.pl:175
26787 msgid "B<--network MB>"
26788 msgstr ""
26789
26790 # type: textblock
26791 #: ../tools/virt-rescue.pl:177
26792 msgid "Enable QEMU user networking in the guest."
26793 msgstr ""
26794
26795 # type: =item
26796 #: ../tools/virt-rescue.pl:183
26797 msgid "B<--ro> | B<-r>"
26798 msgstr ""
26799
26800 # type: textblock
26801 #: ../tools/virt-rescue.pl:185
26802 msgid "Open the image read-only."
26803 msgstr ""
26804
26805 # type: textblock
26806 #: ../tools/virt-rescue.pl:197
26807 msgid ""
26808 "Enable SELinux in the rescue appliance.  You should read "
26809 "L<guestfs(3)/SELINUX> before using this option."
26810 msgstr ""
26811
26812 # type: textblock
26813 #: ../tools/virt-rescue.pl:257
26814 msgid ""
26815 "Several environment variables affect virt-rescue.  See "
26816 "L<guestfs(3)/ENVIRONMENT VARIABLES> for the complete list."
26817 msgstr ""
26818
26819 # type: textblock
26820 #: ../tools/virt-rescue.pl:269
26821 msgid ""
26822 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
26823 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26824 msgstr ""
26825
26826 # type: textblock
26827 #: ../tools/virt-make-fs.pl:37
26828 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
26829 msgstr ""
26830
26831 # type: verbatim
26832 #: ../tools/virt-make-fs.pl:41
26833 #, no-wrap
26834 msgid ""
26835 " virt-make-fs [--options] input.tar output.img\n"
26836 "\n"
26837 msgstr ""
26838
26839 # type: verbatim
26840 #: ../tools/virt-make-fs.pl:43
26841 #, no-wrap
26842 msgid ""
26843 " virt-make-fs [--options] input.tar.gz output.img\n"
26844 "\n"
26845 msgstr ""
26846
26847 # type: verbatim
26848 #: ../tools/virt-make-fs.pl:45
26849 #, no-wrap
26850 msgid ""
26851 " virt-make-fs [--options] directory output.img\n"
26852 "\n"
26853 msgstr ""
26854
26855 # type: textblock
26856 #: ../tools/virt-make-fs.pl:49
26857 msgid ""
26858 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
26859 "archive or some files in a directory.  It is similar to tools like "
26860 "L<mkisofs(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, "
26861 "it can create common filesystem types like ext2/3 or NTFS, which can be "
26862 "useful if you want to attach these filesystems to existing virtual machines "
26863 "(eg. to import large amounts of read-only data to a VM)."
26864 msgstr ""
26865
26866 # type: textblock
26867 #: ../tools/virt-make-fs.pl:57
26868 msgid "Basic usage is:"
26869 msgstr ""
26870
26871 # type: verbatim
26872 #: ../tools/virt-make-fs.pl:59
26873 #, no-wrap
26874 msgid ""
26875 " virt-make-fs input output\n"
26876 "\n"
26877 msgstr ""
26878
26879 # type: textblock
26880 #: ../tools/virt-make-fs.pl:61
26881 msgid ""
26882 "where C<input> is either a directory containing files that you want to add, "
26883 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
26884 "C<output> is a disk image.  The input type is detected automatically.  The "
26885 "output disk image defaults to a raw ext2 image unless you specify extra "
26886 "flags (see L</OPTIONS> below)."
26887 msgstr ""
26888
26889 # type: =head2
26890 #: ../tools/virt-make-fs.pl:67
26891 msgid "EXTRA SPACE"
26892 msgstr ""
26893
26894 # type: textblock
26895 #: ../tools/virt-make-fs.pl:69
26896 msgid ""
26897 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
26898 "the files that it contains, but might have extra space.  Depending on how "
26899 "you are going to use the output, you might think this extra space is wasted "
26900 "and want to minimize it, or you might want to leave space so that more files "
26901 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
26902 "but you can use the C<--size> flag to leave space in the filesystem if you "
26903 "want it."
26904 msgstr ""
26905
26906 # type: textblock
26907 #: ../tools/virt-make-fs.pl:77
26908 msgid ""
26909 "An alternative way to leave extra space but not make the output image any "
26910 "bigger is to use an alternative disk image format (instead of the default "
26911 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
26912 "image format (check your hypervisor supports this before using it).  This "
26913 "allows you to choose a large C<--size> but the extra space won't actually be "
26914 "allocated in the image until you try to store something in it."
26915 msgstr ""
26916
26917 # type: textblock
26918 #: ../tools/virt-make-fs.pl:85
26919 msgid ""
26920 "Don't forget that you can also use local commands including L<resize2fs(8)> "
26921 "and L<virt-resize(1)> to resize existing filesystems, or rerun "
26922 "virt-make-resize to build another image from scratch."
26923 msgstr ""
26924
26925 # type: =head3
26926 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123 ../tools/virt-make-fs.pl:142
26927 msgid "EXAMPLE"
26928 msgstr ""
26929
26930 # type: verbatim
26931 #: ../tools/virt-make-fs.pl:91
26932 #, no-wrap
26933 msgid ""
26934 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
26935 "\n"
26936 msgstr ""
26937
26938 # type: =head2
26939 #: ../tools/virt-make-fs.pl:93
26940 msgid "FILESYSTEM TYPE"
26941 msgstr ""
26942
26943 # type: textblock
26944 #: ../tools/virt-make-fs.pl:95
26945 msgid ""
26946 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
26947 "libguestfs supports can be used (but I<not> read-only formats like "
26948 "ISO9660).  Here are some of the more common choices:"
26949 msgstr ""
26950
26951 # type: =item
26952 #: ../tools/virt-make-fs.pl:101
26953 msgid "I<ext3>"
26954 msgstr ""
26955
26956 # type: textblock
26957 #: ../tools/virt-make-fs.pl:103
26958 msgid ""
26959 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
26960 "you are not going to use the filesystem in a way that requires the journal, "
26961 "then this is just wasted overhead."
26962 msgstr ""
26963
26964 # type: =item
26965 #: ../tools/virt-make-fs.pl:107
26966 msgid "I<ntfs> or I<vfat>"
26967 msgstr ""
26968
26969 # type: textblock
26970 #: ../tools/virt-make-fs.pl:109
26971 msgid "Useful if exporting data to a Windows guest."
26972 msgstr ""
26973
26974 # type: textblock
26975 #: ../tools/virt-make-fs.pl:111
26976 msgid ""
26977 "I<Note for vfat>: The tar archive or local directory must only contain files "
26978 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
26979 "program running within libguestfs is unable to change the ownership of "
26980 "non-root files, since vfat itself does not support this."
26981 msgstr ""
26982
26983 # type: =item
26984 #: ../tools/virt-make-fs.pl:116
26985 msgid "I<minix>"
26986 msgstr ""
26987
26988 # type: textblock
26989 #: ../tools/virt-make-fs.pl:118
26990 msgid ""
26991 "Lower overhead than C<ext2>, but certain limitations on filename length and "
26992 "total filesystem size."
26993 msgstr ""
26994
26995 # type: verbatim
26996 #: ../tools/virt-make-fs.pl:125
26997 #, no-wrap
26998 msgid ""
26999 " virt-make-fs --type=minix input minixfs.img\n"
27000 "\n"
27001 msgstr ""
27002
27003 # type: =head2
27004 #: ../tools/virt-make-fs.pl:127
27005 msgid "TO PARTITION OR NOT TO PARTITION"
27006 msgstr ""
27007
27008 # type: textblock
27009 #: ../tools/virt-make-fs.pl:129
27010 msgid "Optionally virt-make-fs can add a partition table to the output disk."
27011 msgstr ""
27012
27013 # type: textblock
27014 #: ../tools/virt-make-fs.pl:131
27015 msgid ""
27016 "Adding a partition can make the disk image more compatible with certain "
27017 "virtualized operating systems which don't expect to see a filesystem "
27018 "directly located on a block device (Linux doesn't care and will happily "
27019 "handle both types)."
27020 msgstr ""
27021
27022 # type: textblock
27023 #: ../tools/virt-make-fs.pl:136
27024 msgid ""
27025 "On the other hand, if you have a partition table then the output image is no "
27026 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
27027 "directly on a partitioned disk image.  (However libguestfs tools such as "
27028 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
27029 msgstr ""
27030
27031 # type: textblock
27032 #: ../tools/virt-make-fs.pl:144
27033 msgid "Add an MBR partition:"
27034 msgstr ""
27035
27036 # type: verbatim
27037 #: ../tools/virt-make-fs.pl:146
27038 #, no-wrap
27039 msgid ""
27040 " virt-make-fs --partition -- input disk.img\n"
27041 "\n"
27042 msgstr ""
27043
27044 # type: textblock
27045 #: ../tools/virt-make-fs.pl:148
27046 msgid ""
27047 "If the output disk image could be terabyte-sized or larger, it's better to "
27048 "use an EFI/GPT-compatible partition table:"
27049 msgstr ""
27050
27051 # type: verbatim
27052 #: ../tools/virt-make-fs.pl:151
27053 #, no-wrap
27054 msgid ""
27055 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
27056 "\n"
27057 msgstr ""
27058
27059 # type: textblock
27060 #: ../tools/virt-make-fs.pl:179
27061 msgid "Enable debugging information."
27062 msgstr ""
27063
27064 # type: =item
27065 #: ../tools/virt-make-fs.pl:185
27066 msgid "B<--size=E<lt>NE<gt>>"
27067 msgstr ""
27068
27069 # type: =item
27070 #: ../tools/virt-make-fs.pl:187
27071 msgid "B<--size=+E<lt>NE<gt>>"
27072 msgstr ""
27073
27074 # type: =item
27075 #: ../tools/virt-make-fs.pl:189
27076 msgid "B<-s E<lt>NE<gt>>"
27077 msgstr ""
27078
27079 # type: =item
27080 #: ../tools/virt-make-fs.pl:191
27081 msgid "B<-s +E<lt>NE<gt>>"
27082 msgstr ""
27083
27084 # type: textblock
27085 #: ../tools/virt-make-fs.pl:193
27086 msgid "Use the C<--size> (or C<-s>) option to choose the size of the output image."
27087 msgstr ""
27088
27089 # type: textblock
27090 #: ../tools/virt-make-fs.pl:196
27091 msgid ""
27092 "If this option is I<not> given, then the output image will be just large "
27093 "enough to contain all the files, with not much wasted space."
27094 msgstr ""
27095
27096 # type: textblock
27097 #: ../tools/virt-make-fs.pl:199
27098 msgid ""
27099 "To choose a fixed size output disk, specify an absolute number followed by "
27100 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
27101 "Petabytes or Exabytes.  This must be large enough to contain all the input "
27102 "files, else you will get an error."
27103 msgstr ""
27104
27105 # type: textblock
27106 #: ../tools/virt-make-fs.pl:204
27107 msgid ""
27108 "To leave extra space, specify C<+> (plus sign) and a number followed by "
27109 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
27110 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
27111 "the input files, and (approximately) an extra 200 MB free space."
27112 msgstr ""
27113
27114 # type: textblock
27115 #: ../tools/virt-make-fs.pl:210
27116 msgid ""
27117 "Note that virt-make-fs estimates free space, and therefore will not produce "
27118 "filesystems containing precisely the free space requested.  (It is much more "
27119 "expensive and time-consuming to produce a filesystem which has precisely the "
27120 "desired free space)."
27121 msgstr ""
27122
27123 # type: =item
27124 #: ../tools/virt-make-fs.pl:219
27125 msgid "B<--format=E<lt>fmtE<gt>>"
27126 msgstr ""
27127
27128 # type: =item
27129 #: ../tools/virt-make-fs.pl:221
27130 msgid "B<-F E<lt>fmtE<gt>>"
27131 msgstr ""
27132
27133 # type: textblock
27134 #: ../tools/virt-make-fs.pl:223
27135 msgid "Choose the output disk image format."
27136 msgstr ""
27137
27138 # type: textblock
27139 #: ../tools/virt-make-fs.pl:225
27140 msgid "The default is C<raw> (raw disk image)."
27141 msgstr ""
27142
27143 # type: textblock
27144 #: ../tools/virt-make-fs.pl:227
27145 msgid ""
27146 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
27147 "that would really make sense here is C<qcow2>."
27148 msgstr ""
27149
27150 # type: =item
27151 #: ../tools/virt-make-fs.pl:234
27152 msgid "B<--type=E<lt>fsE<gt>>"
27153 msgstr ""
27154
27155 # type: =item
27156 #: ../tools/virt-make-fs.pl:236
27157 msgid "B<-t E<lt>fsE<gt>>"
27158 msgstr ""
27159
27160 # type: textblock
27161 #: ../tools/virt-make-fs.pl:238
27162 msgid "Choose the output filesystem type."
27163 msgstr ""
27164
27165 # type: textblock
27166 #: ../tools/virt-make-fs.pl:240
27167 msgid "The default is C<ext2>."
27168 msgstr ""
27169
27170 # type: textblock
27171 #: ../tools/virt-make-fs.pl:242
27172 msgid "Any filesystem which is supported read-write by libguestfs can be used here."
27173 msgstr ""
27174
27175 # type: =item
27176 #: ../tools/virt-make-fs.pl:249
27177 msgid "B<--partition>"
27178 msgstr ""
27179
27180 # type: =item
27181 #: ../tools/virt-make-fs.pl:251
27182 msgid "B<--partition=E<lt>parttypeE<gt>>"
27183 msgstr ""
27184
27185 # type: textblock
27186 #: ../tools/virt-make-fs.pl:253
27187 msgid ""
27188 "If specified, this flag adds an MBR partition table to the output disk "
27189 "image."
27190 msgstr ""
27191
27192 # type: textblock
27193 #: ../tools/virt-make-fs.pl:256
27194 msgid ""
27195 "You can change the partition table type, eg. C<--partition=gpt> for large "
27196 "disks."
27197 msgstr ""
27198
27199 # type: textblock
27200 #: ../tools/virt-make-fs.pl:259
27201 msgid ""
27202 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
27203 "might consider the next parameter to be the partition type.  For example:"
27204 msgstr ""
27205
27206 # type: verbatim
27207 #: ../tools/virt-make-fs.pl:263
27208 #, no-wrap
27209 msgid ""
27210 " virt-make-fs --partition input.tar ...\n"
27211 "\n"
27212 msgstr ""
27213
27214 # type: textblock
27215 #: ../tools/virt-make-fs.pl:265
27216 msgid ""
27217 "would cause virt-make-fs to think you wanted to use a partition type of "
27218 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
27219 "dash) between options and the input file argument:"
27220 msgstr ""
27221
27222 # type: verbatim
27223 #: ../tools/virt-make-fs.pl:269
27224 #, no-wrap
27225 msgid ""
27226 " virt-make-fs --partition -- input.tar ...\n"
27227 "\n"
27228 msgstr ""
27229
27230 # type: textblock
27231 #: ../tools/virt-make-fs.pl:536
27232 msgid ""
27233 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
27234 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, "
27235 "L<guestfs(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
27236 msgstr ""
27237
27238 # type: verbatim
27239 #: ../tools/virt-make-fs.pl:553
27240 #, no-wrap
27241 msgid ""
27242 " export LIBGUESTFS_DEBUG=1\n"
27243 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
27244 "\n"
27245 msgstr ""
27246
27247 # type: textblock
27248 #: ../tools/virt-make-fs.pl:556
27249 msgid ""
27250 "Attach /tmp/virt-make-fs.log to a new bug report at "
27251 "L<https://bugzilla.redhat.com/>"
27252 msgstr ""
27253
27254 # type: textblock
27255 #: ../tools/virt-list-partitions.pl:32
27256 msgid "virt-list-partitions - List partitions in a virtual machine or disk image"
27257 msgstr ""
27258
27259 # type: verbatim
27260 #: ../tools/virt-list-partitions.pl:36
27261 #, no-wrap
27262 msgid ""
27263 " virt-list-partitions [--options] domname\n"
27264 "\n"
27265 msgstr ""
27266
27267 # type: verbatim
27268 #: ../tools/virt-list-partitions.pl:38
27269 #, no-wrap
27270 msgid ""
27271 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
27272 "\n"
27273 msgstr ""
27274
27275 # type: textblock
27276 #: ../tools/virt-list-partitions.pl:42
27277 msgid ""
27278 "C<virt-list-partitions> is a command line tool to list the partitions that "
27279 "are contained in a virtual machine or disk image.  It is mainly useful as a "
27280 "first step to using L<virt-resize(1)>."
27281 msgstr ""
27282
27283 # type: textblock
27284 #: ../tools/virt-list-partitions.pl:47
27285 msgid ""
27286 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
27287 "functionality.  For more complex cases you should look at the "
27288 "L<guestfish(1)> tool."
27289 msgstr ""
27290
27291 # type: =item
27292 #: ../tools/virt-list-partitions.pl:104
27293 msgid "B<-h> | B<--human-readable>"
27294 msgstr ""
27295
27296 # type: textblock
27297 #: ../tools/virt-list-partitions.pl:106
27298 msgid "Show sizes in human-readable form (eg. \"1G\")."
27299 msgstr ""
27300
27301 # type: textblock
27302 #: ../tools/virt-list-partitions.pl:114
27303 msgid ""
27304 "With this option, C<virt-list-partitions> displays the type and size of each "
27305 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
27306 msgstr ""
27307
27308 # type: =item
27309 #: ../tools/virt-list-partitions.pl:121
27310 msgid "B<-t> | B<--total>"
27311 msgstr ""
27312
27313 # type: textblock
27314 #: ../tools/virt-list-partitions.pl:123
27315 msgid "Display the total size of each block device (as a separate row or rows)."
27316 msgstr ""
27317
27318 # type: textblock
27319 #: ../tools/virt-list-partitions.pl:256
27320 msgid ""
27321 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, "
27322 "L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
27323 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
27324 msgstr ""