Version 1.7.0.
[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.7.0\n"
10 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
11 "POT-Creation-Date: 2010-11-02 16:23+0000\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:31 ../tools/virt-edit.pl:30 ../tools/virt-win-reg.pl:33 ../tools/virt-df.pl:32 ../tools/virt-ls.pl:30 ../tools/virt-resize.pl:38 ../tools/virt-list-filesystems.pl:28 ../tools/virt-cat.pl:29 ../tools/virt-tar.pl:29 ../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:33 ../tools/virt-edit.pl:32 ../tools/virt-win-reg.pl:35 ../tools/virt-df.pl:34 ../tools/virt-ls.pl:32 ../tools/virt-resize.pl:40 ../tools/virt-list-filesystems.pl:30 ../tools/virt-cat.pl:31 ../tools/virt-tar.pl:31 ../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:37 ../tools/virt-edit.pl:36 ../tools/virt-win-reg.pl:39 ../tools/virt-df.pl:38 ../tools/virt-ls.pl:36 ../tools/virt-resize.pl:44 ../tools/virt-list-filesystems.pl:34 ../tools/virt-cat.pl:35 ../tools/virt-tar.pl:35 ../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:43 ../tools/virt-edit.pl:50 ../tools/virt-win-reg.pl:63 ../tools/virt-df.pl:46 ../tools/virt-ls.pl:42 ../tools/virt-resize.pl:50 ../tools/virt-list-filesystems.pl:40 ../tools/virt-cat.pl:41 ../tools/virt-tar.pl:72 ../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:393 ../src/guestfs.pod:1159 ../src/guestfs.pod:1164 ../src/guestfs.pod:1168 ../src/guestfs.pod:1384 ../src/guestfs.pod:1389 ../src/guestfs.pod:1393 ../src/guestfs.pod:1495 ../src/guestfs.pod:1499 ../src/guestfs.pod:1503 ../src/guestfs.pod:1508 ../src/guestfs.pod:1516 ../src/guestfs.pod:1535 ../src/guestfs.pod:1543 ../src/guestfs.pod:1773 ../src/guestfs.pod:1779 ../src/guestfs.pod:1784 ../src/guestfs.pod:1790 ../src/guestfs.pod:1897 ../src/guestfs.pod:1901 ../src/guestfs.pod:1905 ../src/guestfs.pod:1909 ../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 ../inspector/virt-inspector.pl:584 ../inspector/virt-inspector.pl:588 ../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 "I<Security:> It is not safe to run commands from untrusted, possibly "
807 "malicious guests.  These commands may attempt to exploit your program by "
808 "sending unexpected output.  They could also try to exploit the Linux kernel "
809 "or qemu provided by the libguestfs appliance.  They could use the network "
810 "provided by the libguestfs appliance to bypass ordinary network partitions "
811 "and firewalls.  They could use the elevated privileges or different SELinux "
812 "context of your program to their advantage."
813 msgstr ""
814
815 # type: textblock
816 #: ../src/guestfs.pod:404
817 msgid ""
818 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
819 "(a script which runs when the guest next boots normally), and to have this "
820 "script run the commands you want in the normal context of the running guest, "
821 "network security and so on."
822 msgstr ""
823
824 # type: textblock
825 #: ../src/guestfs.pod:411
826 msgid ""
827 "The two main API calls to run commands are L</guestfs_command> and "
828 "L</guestfs_sh> (there are also variations)."
829 msgstr ""
830
831 # type: textblock
832 #: ../src/guestfs.pod:414
833 msgid ""
834 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
835 "shell globs, redirections, etc will work."
836 msgstr ""
837
838 # type: =head2
839 #: ../src/guestfs.pod:417
840 msgid "CONFIGURATION FILES"
841 msgstr ""
842
843 # type: textblock
844 #: ../src/guestfs.pod:419
845 msgid ""
846 "To read and write configuration files in Linux guest filesystems, we "
847 "strongly recommend using Augeas.  For example, Augeas understands how to "
848 "read and write, say, a Linux shadow password file or X.org configuration "
849 "file, and so avoids you having to write that code."
850 msgstr ""
851
852 # type: textblock
853 #: ../src/guestfs.pod:424
854 msgid ""
855 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
856 "document Augeas itself here because there is excellent documentation on the "
857 "L<http://augeas.net/> website."
858 msgstr ""
859
860 # type: textblock
861 #: ../src/guestfs.pod:428
862 msgid ""
863 "If you don't want to use Augeas (you fool!) then try calling "
864 "L</guestfs_read_lines> to get the file as a list of lines which you can "
865 "iterate over."
866 msgstr ""
867
868 # type: =head2
869 #: ../src/guestfs.pod:432
870 msgid "SELINUX"
871 msgstr ""
872
873 # type: textblock
874 #: ../src/guestfs.pod:434
875 msgid ""
876 "We support SELinux guests.  To ensure that labeling happens correctly in "
877 "SELinux guests, you need to enable SELinux and load the guest's policy:"
878 msgstr ""
879
880 # type: =item
881 #: ../src/guestfs.pod:440
882 msgid "1."
883 msgstr ""
884
885 # type: textblock
886 #: ../src/guestfs.pod:442
887 msgid "Before launching, do:"
888 msgstr ""
889
890 # type: verbatim
891 #: ../src/guestfs.pod:444
892 #, no-wrap
893 msgid ""
894 " guestfs_set_selinux (g, 1);\n"
895 "\n"
896 msgstr ""
897
898 # type: =item
899 #: ../src/guestfs.pod:446
900 msgid "2."
901 msgstr ""
902
903 # type: textblock
904 #: ../src/guestfs.pod:448
905 msgid ""
906 "After mounting the guest's filesystem(s), load the policy.  This is best "
907 "done by running the L<load_policy(8)> command in the guest itself:"
908 msgstr ""
909
910 # type: verbatim
911 #: ../src/guestfs.pod:452
912 #, no-wrap
913 msgid ""
914 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
915 "\n"
916 msgstr ""
917
918 # type: textblock
919 #: ../src/guestfs.pod:454
920 msgid ""
921 "(Older versions of C<load_policy> require you to specify the name of the "
922 "policy file)."
923 msgstr ""
924
925 # type: =item
926 #: ../src/guestfs.pod:457
927 msgid "3."
928 msgstr ""
929
930 # type: textblock
931 #: ../src/guestfs.pod:459
932 msgid ""
933 "Optionally, set the security context for the API.  The correct security "
934 "context to use can only be known by inspecting the guest.  As an example:"
935 msgstr ""
936
937 # type: verbatim
938 #: ../src/guestfs.pod:463
939 #, no-wrap
940 msgid ""
941 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
942 "\n"
943 msgstr ""
944
945 # type: textblock
946 #: ../src/guestfs.pod:467
947 msgid "This will work for running commands and editing existing files."
948 msgstr ""
949
950 # type: textblock
951 #: ../src/guestfs.pod:469
952 msgid ""
953 "When new files are created, you may need to label them explicitly, for "
954 "example by running the external command C<restorecon pathname>."
955 msgstr ""
956
957 # type: =head2
958 #: ../src/guestfs.pod:473
959 msgid "UMASK"
960 msgstr ""
961
962 # type: textblock
963 #: ../src/guestfs.pod:475
964 msgid ""
965 "Certain calls are affected by the current file mode creation mask (the "
966 "\"umask\").  In particular ones which create files or directories, such as "
967 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
968 "either the default mode that the file is created with or modifies the mode "
969 "that you supply."
970 msgstr ""
971
972 # type: textblock
973 #: ../src/guestfs.pod:481
974 msgid ""
975 "The default umask is C<022>, so files are created with modes such as C<0644> "
976 "and directories with C<0755>."
977 msgstr ""
978
979 # type: textblock
980 #: ../src/guestfs.pod:484
981 msgid ""
982 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
983 "(call C<guestfs_umask (g, 0)> early after launching).  Or call "
984 "L</guestfs_chmod> after creating each file or directory."
985 msgstr ""
986
987 # type: textblock
988 #: ../src/guestfs.pod:488
989 msgid "For more information about umask, see L<umask(2)>."
990 msgstr ""
991
992 # type: =head1
993 #: ../src/guestfs.pod:490 ../fish/guestfish.pod:630
994 msgid "ENCRYPTED DISKS"
995 msgstr ""
996
997 # type: textblock
998 #: ../src/guestfs.pod:492
999 msgid ""
1000 "Libguestfs allows you to access Linux guests which have been encrypted using "
1001 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
1002 "standard.  This includes nearly all whole disk encryption systems used by "
1003 "modern Linux guests."
1004 msgstr ""
1005
1006 # type: textblock
1007 #: ../src/guestfs.pod:498
1008 msgid ""
1009 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
1010 "returns the string C<crypto_LUKS>)."
1011 msgstr ""
1012
1013 # type: textblock
1014 #: ../src/guestfs.pod:501
1015 msgid ""
1016 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
1017 "will require the passphrase!"
1018 msgstr ""
1019
1020 # type: textblock
1021 #: ../src/guestfs.pod:504
1022 msgid ""
1023 "Opening a LUKS device creates a new device mapper device called "
1024 "C</dev/mapper/mapname> (where C<mapname> is the string you supply to "
1025 "L</guestfs_luks_open>).  Reads and writes to this mapper device are "
1026 "decrypted from and encrypted to the underlying block device respectively."
1027 msgstr ""
1028
1029 # type: textblock
1030 #: ../src/guestfs.pod:510
1031 msgid ""
1032 "LVM volume groups on the device can be made visible by calling "
1033 "L</guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical "
1034 "volume(s) can now be mounted in the usual way."
1035 msgstr ""
1036
1037 # type: textblock
1038 #: ../src/guestfs.pod:514
1039 msgid ""
1040 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
1041 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
1042 "[\"/dev/VG\"])>.  Then close the mapper device by calling "
1043 "L</guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
1044 "underlying encrypted block device)."
1045 msgstr ""
1046
1047 # type: =head2
1048 #: ../src/guestfs.pod:521
1049 msgid "INSPECTION"
1050 msgstr ""
1051
1052 # type: textblock
1053 #: ../src/guestfs.pod:523
1054 msgid ""
1055 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1056 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1057 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1058 "frequently used part of this library has been rewritten in C and moved into "
1059 "the core code)."
1060 msgstr ""
1061
1062 # type: textblock
1063 #: ../src/guestfs.pod:529
1064 msgid ""
1065 "Add all disks belonging to the unknown virtual machine and call "
1066 "L</guestfs_launch> in the usual way."
1067 msgstr ""
1068
1069 # type: textblock
1070 #: ../src/guestfs.pod:532
1071 msgid ""
1072 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1073 "and certain heuristics, and returns a list of operating systems that were "
1074 "found.  An empty list means none were found.  A single element is the root "
1075 "filesystem of the operating system.  For dual- or multi-boot guests, "
1076 "multiple roots can be returned, each one corresponding to a separate "
1077 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1078 "world of virtualization, but since this scenario can happen, we have built "
1079 "libguestfs to deal with it.)"
1080 msgstr ""
1081
1082 # type: textblock
1083 #: ../src/guestfs.pod:541
1084 msgid ""
1085 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1086 "to get additional details about that operating system.  For example, call "
1087 "L</guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1088 "Windows and Linux-based operating systems respectively."
1089 msgstr ""
1090
1091 # type: textblock
1092 #: ../src/guestfs.pod:547
1093 msgid ""
1094 "Un*x-like and Linux-based operating systems usually consist of several "
1095 "filesystems which are mounted at boot time (for example, a separate boot "
1096 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1097 "filesystems correspond to mount points.  Call "
1098 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1099 "hash table like this example:"
1100 msgstr ""
1101
1102 # type: verbatim
1103 #: ../src/guestfs.pod:554
1104 #, no-wrap
1105 msgid ""
1106 " /boot => /dev/sda1\n"
1107 " /     => /dev/vg_guest/lv_root\n"
1108 " /usr  => /dev/vg_guest/lv_usr\n"
1109 "\n"
1110 msgstr ""
1111
1112 # type: textblock
1113 #: ../src/guestfs.pod:558
1114 msgid ""
1115 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1116 "filesystems as suggested."
1117 msgstr ""
1118
1119 # type: textblock
1120 #: ../src/guestfs.pod:561
1121 msgid ""
1122 "Be careful to mount filesystems in the right order (eg. C</> before "
1123 "C</usr>).  Sorting the keys of the hash by length, shortest first, should "
1124 "work."
1125 msgstr ""
1126
1127 # type: textblock
1128 #: ../src/guestfs.pod:565
1129 msgid ""
1130 "Inspection currently only works for some common operating systems.  "
1131 "Contributors are welcome to send patches for other operating systems that we "
1132 "currently cannot detect."
1133 msgstr ""
1134
1135 # type: textblock
1136 #: ../src/guestfs.pod:569
1137 msgid ""
1138 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1139 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1140 "encrypted devices."
1141 msgstr ""
1142
1143 # type: textblock
1144 #: ../src/guestfs.pod:573
1145 msgid ""
1146 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1147 "inspection and caches the results in the guest handle.  Subsequent calls to "
1148 "C<guestfs_inspect_get_*> return this cached information, but I<do not> "
1149 "re-read the disks.  If you change the content of the guest disks, you can "
1150 "redo inspection by calling L</guestfs_inspect_os> again."
1151 msgstr ""
1152
1153 # type: =head2
1154 #: ../src/guestfs.pod:580
1155 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1156 msgstr ""
1157
1158 # type: textblock
1159 #: ../src/guestfs.pod:582
1160 msgid ""
1161 "Libguestfs can mount NTFS partitions.  It does this using the "
1162 "L<http://www.ntfs-3g.org/> driver."
1163 msgstr ""
1164
1165 # type: textblock
1166 #: ../src/guestfs.pod:585
1167 msgid ""
1168 "DOS and Windows still use drive letters, and the filesystems are always "
1169 "treated as case insensitive by Windows itself, and therefore you might find "
1170 "a Windows configuration file referring to a path like "
1171 "C<c:\\windows\\system32>.  When the filesystem is mounted in libguestfs, "
1172 "that directory might be referred to as C</WINDOWS/System32>."
1173 msgstr ""
1174
1175 # type: textblock
1176 #: ../src/guestfs.pod:591
1177 msgid ""
1178 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1179 "libguestfs to read the appropriate Windows Registry and configuration files, "
1180 "to determine yourself how drives are mapped (see also L<hivex(3)> and "
1181 "L<virt-inspector(1)>)."
1182 msgstr ""
1183
1184 # type: textblock
1185 #: ../src/guestfs.pod:596
1186 msgid ""
1187 "Replacing backslash characters with forward slash characters is also outside "
1188 "the scope of libguestfs, but something that you can easily do."
1189 msgstr ""
1190
1191 # type: textblock
1192 #: ../src/guestfs.pod:599
1193 msgid ""
1194 "Where we can help is in resolving the case insensitivity of paths.  For "
1195 "this, call L</guestfs_case_sensitive_path>."
1196 msgstr ""
1197
1198 # type: textblock
1199 #: ../src/guestfs.pod:602
1200 msgid ""
1201 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1202 "files, through the library C<hivex> which is part of the libguestfs project "
1203 "although ships as a separate tarball.  You have to locate and download the "
1204 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1205 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and "
1206 "L<virt-win-reg(1)> for more help on this issue."
1207 msgstr ""
1208
1209 # type: =head2
1210 #: ../src/guestfs.pod:610
1211 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1212 msgstr ""
1213
1214 # type: textblock
1215 #: ../src/guestfs.pod:612
1216 msgid ""
1217 "Although we don't want to discourage you from using the C API, we will "
1218 "mention here that the same API is also available in other languages."
1219 msgstr ""
1220
1221 # type: textblock
1222 #: ../src/guestfs.pod:615
1223 msgid ""
1224 "The API is broadly identical in all supported languages.  This means that "
1225 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, "
1226 "C<g.mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1227 "words, a straightforward, predictable isomorphism between each language."
1228 msgstr ""
1229
1230 # type: textblock
1231 #: ../src/guestfs.pod:621
1232 msgid ""
1233 "Error messages are automatically transformed into exceptions if the language "
1234 "supports it."
1235 msgstr ""
1236
1237 # type: textblock
1238 #: ../src/guestfs.pod:624
1239 msgid ""
1240 "We don't try to \"object orientify\" parts of the API in OO languages, "
1241 "although contributors are welcome to write higher level APIs above what we "
1242 "provide in their favourite languages if they wish."
1243 msgstr ""
1244
1245 # type: =item
1246 #: ../src/guestfs.pod:630
1247 msgid "B<C++>"
1248 msgstr ""
1249
1250 # type: textblock
1251 #: ../src/guestfs.pod:632
1252 msgid ""
1253 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1254 "identical to the C API.  C++ classes and exceptions are not used."
1255 msgstr ""
1256
1257 # type: =item
1258 #: ../src/guestfs.pod:636
1259 msgid "B<C#>"
1260 msgstr ""
1261
1262 # type: textblock
1263 #: ../src/guestfs.pod:638
1264 msgid ""
1265 "The C# bindings are highly experimental.  Please read the warnings at the "
1266 "top of C<csharp/Libguestfs.cs>."
1267 msgstr ""
1268
1269 # type: =item
1270 #: ../src/guestfs.pod:641
1271 msgid "B<Haskell>"
1272 msgstr ""
1273
1274 # type: textblock
1275 #: ../src/guestfs.pod:643
1276 msgid ""
1277 "This is the only language binding that is working but incomplete.  Only "
1278 "calls which return simple integers have been bound in Haskell, and we are "
1279 "looking for help to complete this binding."
1280 msgstr ""
1281
1282 # type: =item
1283 #: ../src/guestfs.pod:647
1284 msgid "B<Java>"
1285 msgstr ""
1286
1287 # type: textblock
1288 #: ../src/guestfs.pod:649
1289 msgid ""
1290 "Full documentation is contained in the Javadoc which is distributed with "
1291 "libguestfs."
1292 msgstr ""
1293
1294 # type: =item
1295 #: ../src/guestfs.pod:652
1296 msgid "B<OCaml>"
1297 msgstr ""
1298
1299 # type: textblock
1300 #: ../src/guestfs.pod:654
1301 msgid "For documentation see the file C<guestfs.mli>."
1302 msgstr ""
1303
1304 # type: =item
1305 #: ../src/guestfs.pod:656
1306 msgid "B<Perl>"
1307 msgstr ""
1308
1309 # type: textblock
1310 #: ../src/guestfs.pod:658
1311 msgid "For documentation see L<Sys::Guestfs(3)>."
1312 msgstr ""
1313
1314 # type: =item
1315 #: ../src/guestfs.pod:660
1316 msgid "B<PHP>"
1317 msgstr ""
1318
1319 # type: textblock
1320 #: ../src/guestfs.pod:662
1321 msgid ""
1322 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
1323 "the php-libguestfs package for your distribution."
1324 msgstr ""
1325
1326 # type: textblock
1327 #: ../src/guestfs.pod:665
1328 msgid "The PHP binding only works correctly on 64 bit machines."
1329 msgstr ""
1330
1331 # type: =item
1332 #: ../src/guestfs.pod:667
1333 msgid "B<Python>"
1334 msgstr ""
1335
1336 # type: textblock
1337 #: ../src/guestfs.pod:669
1338 msgid "For documentation do:"
1339 msgstr ""
1340
1341 # type: verbatim
1342 #: ../src/guestfs.pod:671
1343 #, no-wrap
1344 msgid ""
1345 " $ python\n"
1346 " >>> import guestfs\n"
1347 " >>> help (guestfs)\n"
1348 "\n"
1349 msgstr ""
1350
1351 # type: =item
1352 #: ../src/guestfs.pod:675
1353 msgid "B<Ruby>"
1354 msgstr ""
1355
1356 # type: textblock
1357 #: ../src/guestfs.pod:677
1358 msgid ""
1359 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1360 "can find examples written in Ruby in the libguestfs source."
1361 msgstr ""
1362
1363 # type: =item
1364 #: ../src/guestfs.pod:680
1365 msgid "B<shell scripts>"
1366 msgstr ""
1367
1368 # type: textblock
1369 #: ../src/guestfs.pod:682
1370 msgid "For documentation see L<guestfish(1)>."
1371 msgstr ""
1372
1373 # type: =head2
1374 #: ../src/guestfs.pod:686
1375 msgid "LIBGUESTFS GOTCHAS"
1376 msgstr ""
1377
1378 # type: textblock
1379 #: ../src/guestfs.pod:688
1380 msgid ""
1381 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1382 "system [...] that works in the way it is documented but is counterintuitive "
1383 "and almost invites mistakes.\""
1384 msgstr ""
1385
1386 # type: textblock
1387 #: ../src/guestfs.pod:692
1388 msgid ""
1389 "Since we developed libguestfs and the associated tools, there are several "
1390 "things we would have designed differently, but are now stuck with for "
1391 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1392 "release, you can expect these to change.  Beware of them."
1393 msgstr ""
1394
1395 # type: =item
1396 #: ../src/guestfs.pod:700
1397 msgid "Autosync / forgetting to sync."
1398 msgstr ""
1399
1400 # type: textblock
1401 #: ../src/guestfs.pod:702
1402 msgid ""
1403 "When modifying a filesystem from C or another language, you B<must> unmount "
1404 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1405 "libguestfs handle.  You can also call:"
1406 msgstr ""
1407
1408 # type: verbatim
1409 #: ../src/guestfs.pod:706
1410 #, no-wrap
1411 msgid ""
1412 " guestfs_set_autosync (g, 1);\n"
1413 "\n"
1414 msgstr ""
1415
1416 # type: textblock
1417 #: ../src/guestfs.pod:708
1418 msgid ""
1419 "to have the unmount/sync done automatically for you when the handle 'g' is "
1420 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> "
1421 "q.v.)"
1422 msgstr ""
1423
1424 # type: textblock
1425 #: ../src/guestfs.pod:712
1426 msgid ""
1427 "If you forget to do this, then it is entirely possible that your changes "
1428 "won't be written out, or will be partially written, or (very rarely) that "
1429 "you'll get disk corruption."
1430 msgstr ""
1431
1432 # type: textblock
1433 #: ../src/guestfs.pod:716
1434 msgid ""
1435 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1436 "guestfish scripts that forget to sync will work just fine, which can make "
1437 "this very puzzling if you are trying to debug a problem."
1438 msgstr ""
1439
1440 # type: textblock
1441 #: ../src/guestfs.pod:720
1442 msgid ""
1443 "Update: Autosync is enabled by default for all API users starting from "
1444 "libguestfs 1.5.24."
1445 msgstr ""
1446
1447 # type: =item
1448 #: ../src/guestfs.pod:723
1449 msgid "Mount option C<-o sync> should not be the default."
1450 msgstr ""
1451
1452 # type: textblock
1453 #: ../src/guestfs.pod:725
1454 msgid ""
1455 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1456 "However C<-o sync> does not add any reliability benefit, but does have a "
1457 "very large performance impact."
1458 msgstr ""
1459
1460 # type: textblock
1461 #: ../src/guestfs.pod:729
1462 msgid ""
1463 "The work around is to use L</guestfs_mount_options> and set the mount "
1464 "options that you actually want to use."
1465 msgstr ""
1466
1467 # type: =item
1468 #: ../src/guestfs.pod:732
1469 msgid "Read-only should be the default."
1470 msgstr ""
1471
1472 # type: textblock
1473 #: ../src/guestfs.pod:734
1474 msgid ""
1475 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1476 "specify I<--rw> if you want to make changes to the image."
1477 msgstr ""
1478
1479 # type: textblock
1480 #: ../src/guestfs.pod:737
1481 msgid "This would reduce the potential to corrupt live VM images."
1482 msgstr ""
1483
1484 # type: textblock
1485 #: ../src/guestfs.pod:739
1486 msgid ""
1487 "Note that many filesystems change the disk when you just mount and unmount, "
1488 "even if you didn't perform any writes.  You need to use "
1489 "L</guestfs_add_drive_ro> to guarantee that the disk is not changed."
1490 msgstr ""
1491
1492 # type: =item
1493 #: ../src/guestfs.pod:743
1494 msgid "guestfish command line is hard to use."
1495 msgstr ""
1496
1497 # type: textblock
1498 #: ../src/guestfs.pod:745
1499 msgid ""
1500 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1501 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1502 "exist, so it fails.  In earlier versions of guestfish the error message was "
1503 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1504 "we should have used C<guestfish -c command> to run commands."
1505 msgstr ""
1506
1507 # type: =item
1508 #: ../src/guestfs.pod:752
1509 msgid "guestfish megabyte modifiers don't work right on all commands"
1510 msgstr ""
1511
1512 # type: textblock
1513 #: ../src/guestfs.pod:754
1514 msgid ""
1515 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1516 "other modifiers).  What guestfish actually does is to multiply the number "
1517 "part by the modifier part and pass the result to the C API.  However this "
1518 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1519 "expecting some other unit (eg. megabytes)."
1520 msgstr ""
1521
1522 # type: textblock
1523 #: ../src/guestfs.pod:761
1524 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1525 msgstr ""
1526
1527 # type: verbatim
1528 #: ../src/guestfs.pod:763
1529 #, no-wrap
1530 msgid ""
1531 " lvcreate LV VG 100M\n"
1532 "\n"
1533 msgstr ""
1534
1535 # type: textblock
1536 #: ../src/guestfs.pod:765
1537 msgid ""
1538 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1539 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1540 "megabytes * megabytes) logical volume.  The error message you get from this "
1541 "is also a little obscure."
1542 msgstr ""
1543
1544 # type: textblock
1545 #: ../src/guestfs.pod:770
1546 msgid ""
1547 "This could be fixed in the generator by specially marking parameters and "
1548 "return values which take bytes or other units."
1549 msgstr ""
1550
1551 # type: =item
1552 #: ../src/guestfs.pod:773
1553 msgid "Library should return errno with error messages."
1554 msgstr ""
1555
1556 # type: textblock
1557 #: ../src/guestfs.pod:775
1558 msgid ""
1559 "It would be a nice-to-have to be able to get the original value of 'errno' "
1560 "from inside the appliance along error paths (where set).  Currently "
1561 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1562 "string into an errno, see the function error() in fuse/guestmount.c."
1563 msgstr ""
1564
1565 # type: textblock
1566 #: ../src/guestfs.pod:781
1567 msgid ""
1568 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1569 "sent back from the daemon."
1570 msgstr ""
1571
1572 # type: =item
1573 #: ../src/guestfs.pod:784
1574 msgid "Ambiguity between devices and paths"
1575 msgstr ""
1576
1577 # type: textblock
1578 #: ../src/guestfs.pod:786
1579 msgid ""
1580 "There is a subtle ambiguity in the API between a device name "
1581 "(eg. C</dev/sdb2>) and a similar pathname.  A file might just happen to be "
1582 "called C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
1583 msgstr ""
1584
1585 # type: textblock
1586 #: ../src/guestfs.pod:791
1587 msgid ""
1588 "In the current API we usually resolve this ambiguity by having two separate "
1589 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
1590 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
1591 "detecting if the path supplied begins with C</dev/>."
1592 msgstr ""
1593
1594 # type: textblock
1595 #: ../src/guestfs.pod:797
1596 msgid ""
1597 "To avoid both the ambiguity and the need to duplicate some calls, we could "
1598 "make paths/devices into structured names.  One way to do this would be to "
1599 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
1600 "aspect of grub.  Another way would be to use a structured type, equivalent "
1601 "to this OCaml type:"
1602 msgstr ""
1603
1604 # type: verbatim
1605 #: ../src/guestfs.pod:803
1606 #, no-wrap
1607 msgid ""
1608 " type path = Path of string | Device of int | Partition of int * int\n"
1609 "\n"
1610 msgstr ""
1611
1612 # type: textblock
1613 #: ../src/guestfs.pod:805
1614 msgid "which would allow you to pass arguments like:"
1615 msgstr ""
1616
1617 # type: verbatim
1618 #: ../src/guestfs.pod:807
1619 #, no-wrap
1620 msgid ""
1621 " Path \"/foo/bar\"\n"
1622 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
1623 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
1624 " Path \"/dev/sdb2\"    (* not a device *)\n"
1625 "\n"
1626 msgstr ""
1627
1628 # type: textblock
1629 #: ../src/guestfs.pod:812
1630 msgid ""
1631 "As you can see there are still problems to resolve even with this "
1632 "representation.  Also consider how it might work in guestfish."
1633 msgstr ""
1634
1635 # type: =head2
1636 #: ../src/guestfs.pod:817
1637 msgid "PROTOCOL LIMITS"
1638 msgstr ""
1639
1640 # type: textblock
1641 #: ../src/guestfs.pod:819
1642 msgid ""
1643 "Internally libguestfs uses a message-based protocol to pass API calls and "
1644 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1645 "plenty more detail about this).  The maximum message size used by the "
1646 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1647 "aware of this limit.  The API calls which may be affected are individually "
1648 "documented, with a link back to this section of the documentation."
1649 msgstr ""
1650
1651 # type: textblock
1652 #: ../src/guestfs.pod:827
1653 msgid ""
1654 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1655 "a simple string.  Because this string is at some point internally encoded as "
1656 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1657 "the requested file is larger than this then you will get an error."
1658 msgstr ""
1659
1660 # type: textblock
1661 #: ../src/guestfs.pod:833
1662 msgid ""
1663 "In order to transfer large files into and out of the guest filesystem, you "
1664 "need to use particular calls that support this.  The sections L</UPLOADING> "
1665 "and L</DOWNLOADING> document how to do this."
1666 msgstr ""
1667
1668 # type: textblock
1669 #: ../src/guestfs.pod:837
1670 msgid ""
1671 "You might also consider mounting the disk image using our FUSE filesystem "
1672 "support (L<guestmount(1)>)."
1673 msgstr ""
1674
1675 # type: =head2
1676 #: ../src/guestfs.pod:840
1677 msgid "KEYS AND PASSPHRASES"
1678 msgstr ""
1679
1680 # type: textblock
1681 #: ../src/guestfs.pod:842
1682 msgid ""
1683 "Certain libguestfs calls take a parameter that contains sensitive key "
1684 "material, passed in as a C string."
1685 msgstr ""
1686
1687 # type: textblock
1688 #: ../src/guestfs.pod:845
1689 msgid ""
1690 "In the future we would hope to change the libguestfs implementation so that "
1691 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1692 "swap.  However this is I<not> done at the moment, because of the complexity "
1693 "of such an implementation."
1694 msgstr ""
1695
1696 # type: textblock
1697 #: ../src/guestfs.pod:850
1698 msgid ""
1699 "Therefore you should be aware that any key parameter you pass to libguestfs "
1700 "might end up being written out to the swap partition.  If this is a concern, "
1701 "scrub the swap partition or don't use libguestfs on encrypted devices."
1702 msgstr ""
1703
1704 # type: =head1
1705 #: ../src/guestfs.pod:855
1706 msgid "CONNECTION MANAGEMENT"
1707 msgstr ""
1708
1709 # type: =head2
1710 #: ../src/guestfs.pod:857
1711 msgid "guestfs_h *"
1712 msgstr ""
1713
1714 # type: textblock
1715 #: ../src/guestfs.pod:859
1716 msgid ""
1717 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1718 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1719 "handle and release all resources used."
1720 msgstr ""
1721
1722 # type: textblock
1723 #: ../src/guestfs.pod:863
1724 msgid ""
1725 "For information on using multiple handles and threads, see the section "
1726 "L</MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1727 msgstr ""
1728
1729 # type: =head2
1730 #: ../src/guestfs.pod:866
1731 msgid "guestfs_create"
1732 msgstr ""
1733
1734 # type: verbatim
1735 #: ../src/guestfs.pod:868
1736 #, no-wrap
1737 msgid ""
1738 " guestfs_h *guestfs_create (void);\n"
1739 "\n"
1740 msgstr ""
1741
1742 # type: textblock
1743 #: ../src/guestfs.pod:870
1744 msgid "Create a connection handle."
1745 msgstr ""
1746
1747 # type: textblock
1748 #: ../src/guestfs.pod:872
1749 msgid ""
1750 "You have to call L</guestfs_add_drive_opts> (or one of the equivalent calls) "
1751 "on the handle at least once."
1752 msgstr ""
1753
1754 # type: textblock
1755 #: ../src/guestfs.pod:875
1756 msgid ""
1757 "This function returns a non-NULL pointer to a handle on success or NULL on "
1758 "error."
1759 msgstr ""
1760
1761 # type: textblock
1762 #: ../src/guestfs.pod:878
1763 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1764 msgstr ""
1765
1766 # type: textblock
1767 #: ../src/guestfs.pod:880
1768 msgid ""
1769 "You may also want to configure error handling for the handle.  See L</ERROR "
1770 "HANDLING> section below."
1771 msgstr ""
1772
1773 # type: =head2
1774 #: ../src/guestfs.pod:883
1775 msgid "guestfs_close"
1776 msgstr ""
1777
1778 # type: verbatim
1779 #: ../src/guestfs.pod:885
1780 #, no-wrap
1781 msgid ""
1782 " void guestfs_close (guestfs_h *g);\n"
1783 "\n"
1784 msgstr ""
1785
1786 # type: textblock
1787 #: ../src/guestfs.pod:887
1788 msgid "This closes the connection handle and frees up all resources used."
1789 msgstr ""
1790
1791 # type: =head1
1792 #: ../src/guestfs.pod:889
1793 msgid "ERROR HANDLING"
1794 msgstr ""
1795
1796 # type: textblock
1797 #: ../src/guestfs.pod:891
1798 msgid ""
1799 "The convention in all functions that return C<int> is that they return C<-1> "
1800 "to indicate an error.  You can get additional information on errors by "
1801 "calling L</guestfs_last_error> and/or by setting up an error handler with "
1802 "L</guestfs_set_error_handler>."
1803 msgstr ""
1804
1805 # type: textblock
1806 #: ../src/guestfs.pod:896
1807 msgid "The default error handler prints the information string to C<stderr>."
1808 msgstr ""
1809
1810 # type: textblock
1811 #: ../src/guestfs.pod:898
1812 msgid ""
1813 "Out of memory errors are handled differently.  The default action is to call "
1814 "L<abort(3)>.  If this is undesirable, then you can set a handler using "
1815 "L</guestfs_set_out_of_memory_handler>."
1816 msgstr ""
1817
1818 # type: =head2
1819 #: ../src/guestfs.pod:902
1820 msgid "guestfs_last_error"
1821 msgstr ""
1822
1823 # type: verbatim
1824 #: ../src/guestfs.pod:904
1825 #, no-wrap
1826 msgid ""
1827 " const char *guestfs_last_error (guestfs_h *g);\n"
1828 "\n"
1829 msgstr ""
1830
1831 # type: textblock
1832 #: ../src/guestfs.pod:906
1833 msgid ""
1834 "This returns the last error message that happened on C<g>.  If there has not "
1835 "been an error since the handle was created, then this returns C<NULL>."
1836 msgstr ""
1837
1838 # type: textblock
1839 #: ../src/guestfs.pod:910
1840 msgid ""
1841 "The lifetime of the returned string is until the next error occurs, or "
1842 "L</guestfs_close> is called."
1843 msgstr ""
1844
1845 # type: textblock
1846 #: ../src/guestfs.pod:913
1847 msgid ""
1848 "The error string is not localized (ie. is always in English), because this "
1849 "makes searching for error messages in search engines give the largest number "
1850 "of results."
1851 msgstr ""
1852
1853 # type: =head2
1854 #: ../src/guestfs.pod:917
1855 msgid "guestfs_set_error_handler"
1856 msgstr ""
1857
1858 # type: verbatim
1859 #: ../src/guestfs.pod:919
1860 #, no-wrap
1861 msgid ""
1862 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1863 "                                           void *opaque,\n"
1864 "                                           const char *msg);\n"
1865 " void guestfs_set_error_handler (guestfs_h *g,\n"
1866 "                                 guestfs_error_handler_cb cb,\n"
1867 "                                 void *opaque);\n"
1868 "\n"
1869 msgstr ""
1870
1871 # type: textblock
1872 #: ../src/guestfs.pod:926
1873 msgid ""
1874 "The callback C<cb> will be called if there is an error.  The parameters "
1875 "passed to the callback are an opaque data pointer and the error message "
1876 "string."
1877 msgstr ""
1878
1879 # type: textblock
1880 #: ../src/guestfs.pod:930
1881 msgid ""
1882 "Note that the message string C<msg> is freed as soon as the callback "
1883 "function returns, so if you want to stash it somewhere you must make your "
1884 "own copy."
1885 msgstr ""
1886
1887 # type: textblock
1888 #: ../src/guestfs.pod:934
1889 msgid "The default handler prints messages on C<stderr>."
1890 msgstr ""
1891
1892 # type: textblock
1893 #: ../src/guestfs.pod:936
1894 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1895 msgstr ""
1896
1897 # type: =head2
1898 #: ../src/guestfs.pod:938
1899 msgid "guestfs_get_error_handler"
1900 msgstr ""
1901
1902 # type: verbatim
1903 #: ../src/guestfs.pod:940
1904 #, no-wrap
1905 msgid ""
1906 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1907 "                                                     void **opaque_rtn);\n"
1908 "\n"
1909 msgstr ""
1910
1911 # type: textblock
1912 #: ../src/guestfs.pod:943
1913 msgid "Returns the current error handler callback."
1914 msgstr ""
1915
1916 # type: =head2
1917 #: ../src/guestfs.pod:945
1918 msgid "guestfs_set_out_of_memory_handler"
1919 msgstr ""
1920
1921 # type: verbatim
1922 #: ../src/guestfs.pod:947
1923 #, no-wrap
1924 msgid ""
1925 " typedef void (*guestfs_abort_cb) (void);\n"
1926 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1927 "                                        guestfs_abort_cb);\n"
1928 "\n"
1929 msgstr ""
1930
1931 # type: textblock
1932 #: ../src/guestfs.pod:951
1933 msgid ""
1934 "The callback C<cb> will be called if there is an out of memory situation.  "
1935 "I<Note this callback must not return>."
1936 msgstr ""
1937
1938 # type: textblock
1939 #: ../src/guestfs.pod:954
1940 msgid "The default is to call L<abort(3)>."
1941 msgstr ""
1942
1943 # type: textblock
1944 #: ../src/guestfs.pod:956
1945 msgid "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1946 msgstr ""
1947
1948 # type: =head2
1949 #: ../src/guestfs.pod:959
1950 msgid "guestfs_get_out_of_memory_handler"
1951 msgstr ""
1952
1953 # type: verbatim
1954 #: ../src/guestfs.pod:961
1955 #, no-wrap
1956 msgid ""
1957 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1958 "\n"
1959 msgstr ""
1960
1961 # type: textblock
1962 #: ../src/guestfs.pod:963
1963 msgid "This returns the current out of memory handler."
1964 msgstr ""
1965
1966 # type: =head1
1967 #: ../src/guestfs.pod:965
1968 msgid "PATH"
1969 msgstr ""
1970
1971 # type: textblock
1972 #: ../src/guestfs.pod:967
1973 msgid ""
1974 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1975 "internal path."
1976 msgstr ""
1977
1978 # type: textblock
1979 #: ../src/guestfs.pod:970
1980 msgid ""
1981 "By default it looks for these in the directory C<$libdir/guestfs> "
1982 "(eg. C</usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1983 msgstr ""
1984
1985 # type: textblock
1986 #: ../src/guestfs.pod:973
1987 msgid ""
1988 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1989 "to change the directories that libguestfs will search in.  The value is a "
1990 "colon-separated list of paths.  The current directory is I<not> searched "
1991 "unless the path contains an empty element or C<.>.  For example "
1992 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1993 "then C</usr/lib/guestfs>."
1994 msgstr ""
1995
1996 # type: =head1
1997 #: ../src/guestfs.pod:980
1998 msgid "HIGH-LEVEL API ACTIONS"
1999 msgstr ""
2000
2001 # type: =head2
2002 #: ../src/guestfs.pod:982
2003 msgid "ABI GUARANTEE"
2004 msgstr ""
2005
2006 # type: textblock
2007 #: ../src/guestfs.pod:984
2008 msgid ""
2009 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
2010 "actions as outlined in this section.  Although we will deprecate some "
2011 "actions, for example if they get replaced by newer calls, we will keep the "
2012 "old actions forever.  This allows you the developer to program in confidence "
2013 "against the libguestfs API."
2014 msgstr ""
2015
2016 # type: textblock
2017 #: ../src/guestfs.pod:990 ../fish/guestfish.pod:860
2018 msgid "@ACTIONS@"
2019 msgstr ""
2020
2021 # type: =head1
2022 #: ../src/guestfs.pod:992
2023 msgid "STRUCTURES"
2024 msgstr ""
2025
2026 # type: textblock
2027 #: ../src/guestfs.pod:994
2028 msgid "@STRUCTS@"
2029 msgstr ""
2030
2031 # type: =head1
2032 #: ../src/guestfs.pod:996
2033 msgid "AVAILABILITY"
2034 msgstr ""
2035
2036 # type: =head2
2037 #: ../src/guestfs.pod:998
2038 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
2039 msgstr ""
2040
2041 # type: textblock
2042 #: ../src/guestfs.pod:1000
2043 msgid ""
2044 "Using L</guestfs_available> you can test availability of the following "
2045 "groups of functions.  This test queries the appliance to see if the "
2046 "appliance you are currently using supports the functionality."
2047 msgstr ""
2048
2049 # type: textblock
2050 #: ../src/guestfs.pod:1005
2051 msgid "@AVAILABILITY@"
2052 msgstr ""
2053
2054 # type: =head2
2055 #: ../src/guestfs.pod:1007
2056 msgid "GUESTFISH supported COMMAND"
2057 msgstr ""
2058
2059 # type: textblock
2060 #: ../src/guestfs.pod:1009
2061 msgid ""
2062 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
2063 "prints out the available groups and whether they are supported by this build "
2064 "of libguestfs.  Note however that you have to do C<run> first."
2065 msgstr ""
2066
2067 # type: =head2
2068 #: ../src/guestfs.pod:1014
2069 msgid "SINGLE CALLS AT COMPILE TIME"
2070 msgstr ""
2071
2072 # type: textblock
2073 #: ../src/guestfs.pod:1016
2074 msgid ""
2075 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
2076 "function, such as:"
2077 msgstr ""
2078
2079 # type: verbatim
2080 #: ../src/guestfs.pod:1019
2081 #, no-wrap
2082 msgid ""
2083 " #define LIBGUESTFS_HAVE_DD 1\n"
2084 "\n"
2085 msgstr ""
2086
2087 # type: textblock
2088 #: ../src/guestfs.pod:1021
2089 msgid "if L</guestfs_dd> is available."
2090 msgstr ""
2091
2092 # type: textblock
2093 #: ../src/guestfs.pod:1023
2094 msgid ""
2095 "Before version 1.5.8, if you needed to test whether a single libguestfs "
2096 "function is available at compile time, we recommended using build tools such "
2097 "as autoconf or cmake.  For example in autotools you could use:"
2098 msgstr ""
2099
2100 # type: verbatim
2101 #: ../src/guestfs.pod:1028
2102 #, no-wrap
2103 msgid ""
2104 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
2105 " AC_CHECK_FUNCS([guestfs_dd])\n"
2106 "\n"
2107 msgstr ""
2108
2109 # type: textblock
2110 #: ../src/guestfs.pod:1031
2111 msgid ""
2112 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
2113 "in your program."
2114 msgstr ""
2115
2116 # type: =head2
2117 #: ../src/guestfs.pod:1034
2118 msgid "SINGLE CALLS AT RUN TIME"
2119 msgstr ""
2120
2121 # type: textblock
2122 #: ../src/guestfs.pod:1036
2123 msgid ""
2124 "Testing at compile time doesn't guarantee that a function really exists in "
2125 "the library.  The reason is that you might be dynamically linked against a "
2126 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2127 "This situation unfortunately results in a segmentation fault, which is a "
2128 "shortcoming of the C dynamic linking system itself."
2129 msgstr ""
2130
2131 # type: textblock
2132 #: ../src/guestfs.pod:1043
2133 msgid ""
2134 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2135 "in this example program (note that you still need the compile time check as "
2136 "well):"
2137 msgstr ""
2138
2139 # type: verbatim
2140 #: ../src/guestfs.pod:1047
2141 #, no-wrap
2142 msgid ""
2143 " #include <stdio.h>\n"
2144 " #include <stdlib.h>\n"
2145 " #include <unistd.h>\n"
2146 " #include <dlfcn.h>\n"
2147 " #include <guestfs.h>\n"
2148 " \n"
2149 msgstr ""
2150
2151 # type: verbatim
2152 #: ../src/guestfs.pod:1053
2153 #, no-wrap
2154 msgid ""
2155 " main ()\n"
2156 " {\n"
2157 " #ifdef LIBGUESTFS_HAVE_DD\n"
2158 "   void *dl;\n"
2159 "   int has_function;\n"
2160 " \n"
2161 msgstr ""
2162
2163 # type: verbatim
2164 #: ../src/guestfs.pod:1059
2165 #, no-wrap
2166 msgid ""
2167 "   /* Test if the function guestfs_dd is really available. */\n"
2168 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2169 "   if (!dl) {\n"
2170 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2171 "     exit (EXIT_FAILURE);\n"
2172 "   }\n"
2173 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2174 "   dlclose (dl);\n"
2175 " \n"
2176 msgstr ""
2177
2178 # type: verbatim
2179 #: ../src/guestfs.pod:1068
2180 #, no-wrap
2181 msgid ""
2182 "   if (!has_function)\n"
2183 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2184 "   else {\n"
2185 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2186 "     /* Now it's safe to call\n"
2187 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2188 "     */\n"
2189 "   }\n"
2190 " #else\n"
2191 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2192 " #endif\n"
2193 "  }\n"
2194 "\n"
2195 msgstr ""
2196
2197 # type: textblock
2198 #: ../src/guestfs.pod:1081
2199 msgid ""
2200 "You may think the above is an awful lot of hassle, and it is.  There are "
2201 "other ways outside of the C linking system to ensure that this kind of "
2202 "incompatibility never arises, such as using package versioning:"
2203 msgstr ""
2204
2205 # type: verbatim
2206 #: ../src/guestfs.pod:1086
2207 #, no-wrap
2208 msgid ""
2209 " Requires: libguestfs >= 1.0.80\n"
2210 "\n"
2211 msgstr ""
2212
2213 # type: =head1
2214 #: ../src/guestfs.pod:1088
2215 msgid "CALLS WITH OPTIONAL ARGUMENTS"
2216 msgstr ""
2217
2218 # type: textblock
2219 #: ../src/guestfs.pod:1090
2220 msgid ""
2221 "A recent feature of the API is the introduction of calls which take optional "
2222 "arguments.  In C these are declared 3 ways.  The main way is as a call which "
2223 "takes variable arguments (ie. C<...>), as in this example:"
2224 msgstr ""
2225
2226 # type: verbatim
2227 #: ../src/guestfs.pod:1095
2228 #, no-wrap
2229 msgid ""
2230 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
2231 "\n"
2232 msgstr ""
2233
2234 # type: textblock
2235 #: ../src/guestfs.pod:1097
2236 msgid ""
2237 "Call this with a list of optional arguments, terminated by C<-1>.  So to "
2238 "call with no optional arguments specified:"
2239 msgstr ""
2240
2241 # type: verbatim
2242 #: ../src/guestfs.pod:1100
2243 #, no-wrap
2244 msgid ""
2245 " guestfs_add_drive_opts (g, filename, -1);\n"
2246 "\n"
2247 msgstr ""
2248
2249 # type: textblock
2250 #: ../src/guestfs.pod:1102
2251 msgid "With a single optional argument:"
2252 msgstr ""
2253
2254 # type: verbatim
2255 #: ../src/guestfs.pod:1104
2256 #, no-wrap
2257 msgid ""
2258 " guestfs_add_drive_opts (g, filename,\n"
2259 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
2260 "                         -1);\n"
2261 "\n"
2262 msgstr ""
2263
2264 # type: textblock
2265 #: ../src/guestfs.pod:1108
2266 msgid "With two:"
2267 msgstr ""
2268
2269 # type: verbatim
2270 #: ../src/guestfs.pod:1110
2271 #, no-wrap
2272 msgid ""
2273 " guestfs_add_drive_opts (g, filename,\n"
2274 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
2275 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
2276 "                         -1);\n"
2277 "\n"
2278 msgstr ""
2279
2280 # type: textblock
2281 #: ../src/guestfs.pod:1115
2282 msgid ""
2283 "and so forth.  Don't forget the terminating C<-1> otherwise Bad Things will "
2284 "happen!"
2285 msgstr ""
2286
2287 # type: =head2
2288 #: ../src/guestfs.pod:1118
2289 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
2290 msgstr ""
2291
2292 # type: textblock
2293 #: ../src/guestfs.pod:1120
2294 msgid ""
2295 "The second variant has the same name with the suffix C<_va>, which works the "
2296 "same way but takes a C<va_list>.  See the C manual for details.  For the "
2297 "example function, this is declared:"
2298 msgstr ""
2299
2300 # type: verbatim
2301 #: ../src/guestfs.pod:1124
2302 #, no-wrap
2303 msgid ""
2304 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
2305 "                                va_list args);\n"
2306 "\n"
2307 msgstr ""
2308
2309 # type: =head2
2310 #: ../src/guestfs.pod:1127
2311 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
2312 msgstr ""
2313
2314 # type: textblock
2315 #: ../src/guestfs.pod:1129
2316 msgid ""
2317 "The third variant is useful where you need to construct these calls.  You "
2318 "pass in a structure where you fill in the optional fields.  The structure "
2319 "has a bitmask as the first element which you must set to indicate which "
2320 "fields you have filled in.  For our example function the structure and call "
2321 "are declared:"
2322 msgstr ""
2323
2324 # type: verbatim
2325 #: ../src/guestfs.pod:1135
2326 #, no-wrap
2327 msgid ""
2328 " struct guestfs_add_drive_opts_argv {\n"
2329 "   uint64_t bitmask;\n"
2330 "   int readonly;\n"
2331 "   const char *format;\n"
2332 "   /* ... */\n"
2333 " };\n"
2334 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
2335 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
2336 "\n"
2337 msgstr ""
2338
2339 # type: textblock
2340 #: ../src/guestfs.pod:1144
2341 msgid "You could call it like this:"
2342 msgstr ""
2343
2344 # type: verbatim
2345 #: ../src/guestfs.pod:1146
2346 #, no-wrap
2347 msgid ""
2348 " struct guestfs_add_drive_opts_argv optargs = {\n"
2349 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
2350 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
2351 "   .readonly = 1,\n"
2352 "   .format = \"qcow2\"\n"
2353 " };\n"
2354 " \n"
2355 msgstr ""
2356
2357 # type: verbatim
2358 #: ../src/guestfs.pod:1153
2359 #, no-wrap
2360 msgid ""
2361 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
2362 "\n"
2363 msgstr ""
2364
2365 # type: textblock
2366 #: ../src/guestfs.pod:1155 ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1582 ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1244
2367 msgid "Notes:"
2368 msgstr ""
2369
2370 # type: textblock
2371 #: ../src/guestfs.pod:1161
2372 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
2373 msgstr ""
2374
2375 # type: textblock
2376 #: ../src/guestfs.pod:1166
2377 msgid "You do not need to fill in all fields of the structure."
2378 msgstr ""
2379
2380 # type: textblock
2381 #: ../src/guestfs.pod:1170
2382 msgid ""
2383 "There must be a one-to-one correspondence between fields of the structure "
2384 "that are filled in, and bits set in the bitmask."
2385 msgstr ""
2386
2387 # type: =head2
2388 #: ../src/guestfs.pod:1175
2389 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
2390 msgstr ""
2391
2392 # type: textblock
2393 #: ../src/guestfs.pod:1177
2394 msgid ""
2395 "In other languages, optional arguments are expressed in the way that is "
2396 "natural for that language.  We refer you to the language-specific "
2397 "documentation for more details on that."
2398 msgstr ""
2399
2400 # type: textblock
2401 #: ../src/guestfs.pod:1181
2402 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
2403 msgstr ""
2404
2405 # type: =end
2406 #: ../src/guestfs.pod:1183 ../src/guestfs.pod:1188
2407 msgid "html"
2408 msgstr ""
2409
2410 # type: textblock
2411 #: ../src/guestfs.pod:1185
2412 msgid ""
2413 "<!-- old anchor for the next section --> <a "
2414 "name=\"state_machine_and_low_level_event_api\"/>"
2415 msgstr ""
2416
2417 # type: =head1
2418 #: ../src/guestfs.pod:1190
2419 msgid "ARCHITECTURE"
2420 msgstr ""
2421
2422 # type: textblock
2423 #: ../src/guestfs.pod:1192
2424 msgid ""
2425 "Internally, libguestfs is implemented by running an appliance (a special "
2426 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2427 "process of the main program."
2428 msgstr ""
2429
2430 # type: verbatim
2431 #: ../src/guestfs.pod:1196
2432 #, no-wrap
2433 msgid ""
2434 "  ___________________\n"
2435 " /                   \\\n"
2436 " | main program      |\n"
2437 " |                   |\n"
2438 " |                   |           child process / appliance\n"
2439 " |                   |           __________________________\n"
2440 " |                   |          / qemu                     \\\n"
2441 " +-------------------+   RPC    |      +-----------------+ |\n"
2442 " | libguestfs     <--------------------> guestfsd        | |\n"
2443 " |                   |          |      +-----------------+ |\n"
2444 " \\___________________/          |      | Linux kernel    | |\n"
2445 "                                |      +--^--------------+ |\n"
2446 "                                \\_________|________________/\n"
2447 "                                          |\n"
2448 "                                   _______v______\n"
2449 "                                  /              \\\n"
2450 "                                  | Device or    |\n"
2451 "                                  | disk image   |\n"
2452 "                                  \\______________/\n"
2453 "\n"
2454 msgstr ""
2455
2456 # type: textblock
2457 #: ../src/guestfs.pod:1216
2458 msgid ""
2459 "The library, linked to the main program, creates the child process and hence "
2460 "the appliance in the L</guestfs_launch> function."
2461 msgstr ""
2462
2463 # type: textblock
2464 #: ../src/guestfs.pod:1219
2465 msgid ""
2466 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2467 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2468 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2469 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2470 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2471 "attached to the qemu process which translates device access by the "
2472 "appliance's Linux kernel into accesses to the image."
2473 msgstr ""
2474
2475 # type: textblock
2476 #: ../src/guestfs.pod:1228
2477 msgid ""
2478 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2479 "Although the disk image you are attached to might also be used by some "
2480 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2481 "care if both libguestfs's qemu process and your virtual machine are trying "
2482 "to update the disk image at the same time, since these usually results in "
2483 "massive disk corruption)."
2484 msgstr ""
2485
2486 # type: =head1
2487 #: ../src/guestfs.pod:1235
2488 msgid "STATE MACHINE"
2489 msgstr ""
2490
2491 # type: textblock
2492 #: ../src/guestfs.pod:1237
2493 msgid "libguestfs uses a state machine to model the child process:"
2494 msgstr ""
2495
2496 # type: verbatim
2497 #: ../src/guestfs.pod:1239
2498 #, no-wrap
2499 msgid ""
2500 "                         |\n"
2501 "                    guestfs_create\n"
2502 "                         |\n"
2503 "                         |\n"
2504 "                     ____V_____\n"
2505 "                    /          \\\n"
2506 "                    |  CONFIG  |\n"
2507 "                    \\__________/\n"
2508 "                     ^ ^   ^  \\\n"
2509 "                    /  |    \\  \\ guestfs_launch\n"
2510 "                   /   |    _\\__V______\n"
2511 "                  /    |   /           \\\n"
2512 "                 /     |   | LAUNCHING |\n"
2513 "                /      |   \\___________/\n"
2514 "               /       |       /\n"
2515 "              /        |  guestfs_launch\n"
2516 "             /         |     /\n"
2517 "    ______  /        __|____V\n"
2518 "   /      \\ ------> /        \\\n"
2519 "   | BUSY |         | READY  |\n"
2520 "   \\______/ <------ \\________/\n"
2521 "\n"
2522 msgstr ""
2523
2524 # type: textblock
2525 #: ../src/guestfs.pod:1261
2526 msgid ""
2527 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2528 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2529 "(3) alternating between READY and BUSY as commands are issued to, and "
2530 "carried out by, the child process."
2531 msgstr ""
2532
2533 # type: textblock
2534 #: ../src/guestfs.pod:1266
2535 msgid ""
2536 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2537 "asynchronously at any time (eg. due to some internal error), and that causes "
2538 "the state to transition back to CONFIG."
2539 msgstr ""
2540
2541 # type: textblock
2542 #: ../src/guestfs.pod:1270
2543 msgid ""
2544 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2545 "issued when in the CONFIG state."
2546 msgstr ""
2547
2548 # type: textblock
2549 #: ../src/guestfs.pod:1273
2550 msgid ""
2551 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
2552 "L</guestfs_launch> blocks until the child process is READY to accept "
2553 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2554 "moves the state from CONFIG to LAUNCHING while it is running."
2555 msgstr ""
2556
2557 # type: textblock
2558 #: ../src/guestfs.pod:1279
2559 msgid ""
2560 "API actions such as L</guestfs_mount> can only be issued when in the READY "
2561 "state.  These API calls block waiting for the command to be carried out "
2562 "(ie. the state to transition to BUSY and then back to READY).  There are no "
2563 "non-blocking versions, and no way to issue more than one command per handle "
2564 "at the same time."
2565 msgstr ""
2566
2567 # type: textblock
2568 #: ../src/guestfs.pod:1285
2569 msgid ""
2570 "Finally, the child process sends asynchronous messages back to the main "
2571 "program, such as kernel log messages.  You can register a callback to "
2572 "receive these messages."
2573 msgstr ""
2574
2575 # type: =head2
2576 #: ../src/guestfs.pod:1289
2577 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2578 msgstr ""
2579
2580 # type: textblock
2581 #: ../src/guestfs.pod:1291
2582 msgid ""
2583 "The child process generates events in some situations.  Current events "
2584 "include: receiving a log message, the child process exits."
2585 msgstr ""
2586
2587 # type: textblock
2588 #: ../src/guestfs.pod:1294
2589 msgid ""
2590 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2591 "types of events."
2592 msgstr ""
2593
2594 # type: textblock
2595 #: ../src/guestfs.pod:1297
2596 msgid ""
2597 "Only I<one callback of each type> can be registered for each handle.  "
2598 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2599 "that type.  Cancel all callbacks of this type by calling this function with "
2600 "C<cb> set to C<NULL>."
2601 msgstr ""
2602
2603 # type: =head2
2604 #: ../src/guestfs.pod:1302
2605 msgid "guestfs_set_log_message_callback"
2606 msgstr ""
2607
2608 # type: verbatim
2609 #: ../src/guestfs.pod:1304
2610 #, no-wrap
2611 msgid ""
2612 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2613 "                                         char *buf, int len);\n"
2614 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2615 "                                        guestfs_log_message_cb cb,\n"
2616 "                                        void *opaque);\n"
2617 "\n"
2618 msgstr ""
2619
2620 # type: textblock
2621 #: ../src/guestfs.pod:1310
2622 msgid ""
2623 "The callback function C<cb> will be called whenever qemu or the guest writes "
2624 "anything to the console."
2625 msgstr ""
2626
2627 # type: textblock
2628 #: ../src/guestfs.pod:1313
2629 msgid "Use this function to capture kernel messages and similar."
2630 msgstr ""
2631
2632 # type: textblock
2633 #: ../src/guestfs.pod:1315
2634 msgid ""
2635 "Normally there is no log message handler, and log messages are just "
2636 "discarded."
2637 msgstr ""
2638
2639 # type: =head2
2640 #: ../src/guestfs.pod:1318
2641 msgid "guestfs_set_subprocess_quit_callback"
2642 msgstr ""
2643
2644 # type: verbatim
2645 #: ../src/guestfs.pod:1320
2646 #, no-wrap
2647 msgid ""
2648 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2649 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2650 "                                            guestfs_subprocess_quit_cb cb,\n"
2651 "                                            void *opaque);\n"
2652 "\n"
2653 msgstr ""
2654
2655 # type: textblock
2656 #: ../src/guestfs.pod:1325
2657 msgid ""
2658 "The callback function C<cb> will be called when the child process quits, "
2659 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2660 "corresponds to a transition from any state to the CONFIG state)."
2661 msgstr ""
2662
2663 # type: =head2
2664 #: ../src/guestfs.pod:1330
2665 msgid "guestfs_set_launch_done_callback"
2666 msgstr ""
2667
2668 # type: verbatim
2669 #: ../src/guestfs.pod:1332
2670 #, no-wrap
2671 msgid ""
2672 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2673 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2674 "                                        guestfs_launch_done_cb cb,\n"
2675 "                                        void *opaque);\n"
2676 "\n"
2677 msgstr ""
2678
2679 # type: textblock
2680 #: ../src/guestfs.pod:1337
2681 msgid ""
2682 "The callback function C<cb> will be called when the child process becomes "
2683 "ready first time after it has been launched.  (This corresponds to a "
2684 "transition from LAUNCHING to the READY state)."
2685 msgstr ""
2686
2687 # type: =head2
2688 #: ../src/guestfs.pod:1341
2689 msgid "guestfs_set_close_callback"
2690 msgstr ""
2691
2692 # type: verbatim
2693 #: ../src/guestfs.pod:1343
2694 #, no-wrap
2695 msgid ""
2696 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2697 " void guestfs_set_close_callback (guestfs_h *g,\n"
2698 "                                  guestfs_close_cb cb,\n"
2699 "                                  void *opaque);\n"
2700 "\n"
2701 msgstr ""
2702
2703 # type: textblock
2704 #: ../src/guestfs.pod:1348
2705 msgid ""
2706 "The callback function C<cb> will be called while the handle is being closed "
2707 "(synchronously from L</guestfs_close>)."
2708 msgstr ""
2709
2710 # type: textblock
2711 #: ../src/guestfs.pod:1351
2712 msgid ""
2713 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2714 "handles that are open when the program exits.  This means that this callback "
2715 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2716 "problems in higher-level languages (eg. if your HLL interpreter has already "
2717 "been cleaned up by the time this is called, and if your callback then jumps "
2718 "into some HLL function)."
2719 msgstr ""
2720
2721 # type: =head2
2722 #: ../src/guestfs.pod:1359
2723 msgid "guestfs_set_progress_callback"
2724 msgstr ""
2725
2726 # type: verbatim
2727 #: ../src/guestfs.pod:1361
2728 #, no-wrap
2729 msgid ""
2730 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2731 "                                      int proc_nr, int serial,\n"
2732 "                                      uint64_t position, uint64_t total);\n"
2733 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2734 "                                     guestfs_progress_cb cb,\n"
2735 "                                     void *opaque);\n"
2736 "\n"
2737 msgstr ""
2738
2739 # type: textblock
2740 #: ../src/guestfs.pod:1368
2741 msgid ""
2742 "Some long-running operations can generate progress messages.  If this "
2743 "callback is registered, then it will be called each time a progress message "
2744 "is generated (usually two seconds after the operation started, and three "
2745 "times per second thereafter until it completes, although the frequency may "
2746 "change in future versions)."
2747 msgstr ""
2748
2749 # type: textblock
2750 #: ../src/guestfs.pod:1374
2751 msgid ""
2752 "The callback receives two numbers: C<position> and C<total>.  The units of "
2753 "C<total> are not defined, although for some operations C<total> may relate "
2754 "in some way to the amount of data to be transferred (eg. in bytes or "
2755 "megabytes), and C<position> may be the portion which has been transferred."
2756 msgstr ""
2757
2758 # type: textblock
2759 #: ../src/guestfs.pod:1380
2760 msgid "The only defined and stable parts of the API are:"
2761 msgstr ""
2762
2763 # type: textblock
2764 #: ../src/guestfs.pod:1386
2765 msgid ""
2766 "The callback can display to the user some type of progress bar or indicator "
2767 "which shows the ratio of C<position>:C<total>."
2768 msgstr ""
2769
2770 # type: textblock
2771 #: ../src/guestfs.pod:1391
2772 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2773 msgstr ""
2774
2775 # type: textblock
2776 #: ../src/guestfs.pod:1395
2777 msgid ""
2778 "If any progress notification is sent during a call, then a final progress "
2779 "notification is always sent when C<position> = C<total>."
2780 msgstr ""
2781
2782 # type: textblock
2783 #: ../src/guestfs.pod:1398
2784 msgid ""
2785 "This is to simplify caller code, so callers can easily set the progress "
2786 "indicator to \"100%\" at the end of the operation, without requiring special "
2787 "code to detect this case."
2788 msgstr ""
2789
2790 # type: textblock
2791 #: ../src/guestfs.pod:1404
2792 msgid ""
2793 "The callback also receives the procedure number and serial number of the "
2794 "call.  These are only useful for debugging protocol issues, and the callback "
2795 "can normally ignore them.  The callback may want to print these numbers in "
2796 "error messages or debugging messages."
2797 msgstr ""
2798
2799 # type: =head1
2800 #: ../src/guestfs.pod:1409
2801 msgid "PRIVATE DATA AREA"
2802 msgstr ""
2803
2804 # type: textblock
2805 #: ../src/guestfs.pod:1411
2806 msgid ""
2807 "You can attach named pieces of private data to the libguestfs handle, and "
2808 "fetch them by name for the lifetime of the handle.  This is called the "
2809 "private data area and is only available from the C API."
2810 msgstr ""
2811
2812 # type: textblock
2813 #: ../src/guestfs.pod:1415
2814 msgid "To attach a named piece of data, use the following call:"
2815 msgstr ""
2816
2817 # type: verbatim
2818 #: ../src/guestfs.pod:1417
2819 #, no-wrap
2820 msgid ""
2821 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2822 "\n"
2823 msgstr ""
2824
2825 # type: textblock
2826 #: ../src/guestfs.pod:1419
2827 msgid ""
2828 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2829 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2830 "overwritten."
2831 msgstr ""
2832
2833 # type: textblock
2834 #: ../src/guestfs.pod:1423
2835 msgid ""
2836 "You can use any C<key> you want, but names beginning with an underscore "
2837 "character are reserved for internal libguestfs purposes (for implementing "
2838 "language bindings).  It is recommended to prefix the name with some unique "
2839 "string to avoid collisions with other users."
2840 msgstr ""
2841
2842 # type: textblock
2843 #: ../src/guestfs.pod:1428
2844 msgid "To retrieve the pointer, use:"
2845 msgstr ""
2846
2847 # type: verbatim
2848 #: ../src/guestfs.pod:1430
2849 #, no-wrap
2850 msgid ""
2851 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2852 "\n"
2853 msgstr ""
2854
2855 # type: textblock
2856 #: ../src/guestfs.pod:1432
2857 msgid ""
2858 "This function returns C<NULL> if either no data is found associated with "
2859 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2860 "C<NULL>."
2861 msgstr ""
2862
2863 # type: textblock
2864 #: ../src/guestfs.pod:1436
2865 msgid ""
2866 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2867 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2868 "all.  In particular, libguestfs does I<not> try to free the data when the "
2869 "handle is closed.  If the data must be freed, then the caller must either "
2870 "free it before calling L</guestfs_close> or must set up a close callback to "
2871 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2872 "can be registered for a handle)."
2873 msgstr ""
2874
2875 # type: textblock
2876 #: ../src/guestfs.pod:1444
2877 msgid ""
2878 "The private data area is implemented using a hash table, and should be "
2879 "reasonably efficient for moderate numbers of keys."
2880 msgstr ""
2881
2882 # type: =head1
2883 #: ../src/guestfs.pod:1447
2884 msgid "BLOCK DEVICE NAMING"
2885 msgstr ""
2886
2887 # type: textblock
2888 #: ../src/guestfs.pod:1449
2889 msgid ""
2890 "In the kernel there is now quite a profusion of schemata for naming block "
2891 "devices (in this context, by I<block device> I mean a physical or virtual "
2892 "hard drive).  The original Linux IDE driver used names starting with "
2893 "C</dev/hd*>.  SCSI devices have historically used a different naming scheme, "
2894 "C</dev/sd*>.  When the Linux kernel I<libata> driver became a popular "
2895 "replacement for the old IDE driver (particularly for SATA devices) those "
2896 "devices also used the C</dev/sd*> scheme.  Additionally we now have virtual "
2897 "machines with paravirtualized drivers.  This has created several different "
2898 "naming systems, such as C</dev/vd*> for virtio disks and C</dev/xvd*> for "
2899 "Xen PV disks."
2900 msgstr ""
2901
2902 # type: textblock
2903 #: ../src/guestfs.pod:1461
2904 msgid ""
2905 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2906 "Linux kernel to access block devices.  We can run a variety of appliances "
2907 "based on a variety of Linux kernels."
2908 msgstr ""
2909
2910 # type: textblock
2911 #: ../src/guestfs.pod:1465
2912 msgid ""
2913 "This causes a problem for libguestfs because many API calls use device or "
2914 "partition names.  Working scripts and the recipe (example) scripts that we "
2915 "make available over the internet could fail if the naming scheme changes."
2916 msgstr ""
2917
2918 # type: textblock
2919 #: ../src/guestfs.pod:1470
2920 msgid ""
2921 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2922 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2923 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2924 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2925 msgstr ""
2926
2927 # type: textblock
2928 #: ../src/guestfs.pod:1476
2929 msgid ""
2930 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2931 "L</guestfs_list_partitions> and similar calls return the true names of the "
2932 "devices and partitions as known to the appliance."
2933 msgstr ""
2934
2935 # type: =head2
2936 #: ../src/guestfs.pod:1481
2937 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2938 msgstr ""
2939
2940 # type: textblock
2941 #: ../src/guestfs.pod:1483
2942 msgid ""
2943 "Usually this translation is transparent.  However in some (very rare)  cases "
2944 "you may need to know the exact algorithm.  Such cases include where you use "
2945 "L</guestfs_config> to add a mixture of virtio and IDE devices to the "
2946 "qemu-based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> "
2947 "devices."
2948 msgstr ""
2949
2950 # type: textblock
2951 #: ../src/guestfs.pod:1489
2952 msgid ""
2953 "The algorithm is applied only to I<parameters> which are known to be either "
2954 "device or partition names.  Return values from functions such as "
2955 "L</guestfs_list_devices> are never changed."
2956 msgstr ""
2957
2958 # type: textblock
2959 #: ../src/guestfs.pod:1497
2960 msgid "Is the string a parameter which is a device or partition name?"
2961 msgstr ""
2962
2963 # type: textblock
2964 #: ../src/guestfs.pod:1501
2965 msgid "Does the string begin with C</dev/sd>?"
2966 msgstr ""
2967
2968 # type: textblock
2969 #: ../src/guestfs.pod:1505
2970 msgid ""
2971 "Does the named device exist? If so, we use that device.  However if I<not> "
2972 "then we continue with this algorithm."
2973 msgstr ""
2974
2975 # type: textblock
2976 #: ../src/guestfs.pod:1510
2977 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2978 msgstr ""
2979
2980 # type: textblock
2981 #: ../src/guestfs.pod:1512
2982 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2983 msgstr ""
2984
2985 # type: textblock
2986 #: ../src/guestfs.pod:1514
2987 msgid "If that named device exists, use it.  If not, continue."
2988 msgstr ""
2989
2990 # type: textblock
2991 #: ../src/guestfs.pod:1518
2992 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2993 msgstr ""
2994
2995 # type: textblock
2996 #: ../src/guestfs.pod:1520
2997 msgid "If that named device exists, use it.  If not, return an error."
2998 msgstr ""
2999
3000 # type: =head2
3001 #: ../src/guestfs.pod:1524
3002 msgid "PORTABILITY CONCERNS"
3003 msgstr ""
3004
3005 # type: textblock
3006 #: ../src/guestfs.pod:1526
3007 msgid ""
3008 "Although the standard naming scheme and automatic translation is useful for "
3009 "simple programs and guestfish scripts, for larger programs it is best not to "
3010 "rely on this mechanism."
3011 msgstr ""
3012
3013 # type: textblock
3014 #: ../src/guestfs.pod:1530
3015 msgid ""
3016 "Where possible for maximum future portability programs using libguestfs "
3017 "should use these future-proof techniques:"
3018 msgstr ""
3019
3020 # type: textblock
3021 #: ../src/guestfs.pod:1537
3022 msgid ""
3023 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
3024 "device names, and then use those names directly."
3025 msgstr ""
3026
3027 # type: textblock
3028 #: ../src/guestfs.pod:1540
3029 msgid "Since those device names exist by definition, they will never be translated."
3030 msgstr ""
3031
3032 # type: textblock
3033 #: ../src/guestfs.pod:1545
3034 msgid ""
3035 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
3036 "filesystem labels."
3037 msgstr ""
3038
3039 # type: =head1
3040 #: ../src/guestfs.pod:1550
3041 msgid "INTERNALS"
3042 msgstr ""
3043
3044 # type: =head2
3045 #: ../src/guestfs.pod:1552
3046 msgid "COMMUNICATION PROTOCOL"
3047 msgstr ""
3048
3049 # type: textblock
3050 #: ../src/guestfs.pod:1554
3051 msgid ""
3052 "Don't rely on using this protocol directly.  This section documents how it "
3053 "currently works, but it may change at any time."
3054 msgstr ""
3055
3056 # type: textblock
3057 #: ../src/guestfs.pod:1557
3058 msgid ""
3059 "The protocol used to talk between the library and the daemon running inside "
3060 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
3061 "1014, RFC 1832, RFC 4506)."
3062 msgstr ""
3063
3064 # type: textblock
3065 #: ../src/guestfs.pod:1561
3066 msgid ""
3067 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
3068 "this file is automatically generated)."
3069 msgstr ""
3070
3071 # type: textblock
3072 #: ../src/guestfs.pod:1564
3073 msgid ""
3074 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
3075 "and C<FileOut> parameters, which are handled with very simple request/reply "
3076 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
3077 "parameters, which use the same request and reply messages, but they may also "
3078 "be followed by files sent using a chunked encoding."
3079 msgstr ""
3080
3081 # type: =head3
3082 #: ../src/guestfs.pod:1571
3083 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
3084 msgstr ""
3085
3086 # type: textblock
3087 #: ../src/guestfs.pod:1573
3088 msgid "For ordinary functions, the request message is:"
3089 msgstr ""
3090
3091 # type: verbatim
3092 #: ../src/guestfs.pod:1575
3093 #, no-wrap
3094 msgid ""
3095 " total length (header + arguments,\n"
3096 "      but not including the length word itself)\n"
3097 " struct guestfs_message_header (encoded as XDR)\n"
3098 " struct guestfs_<foo>_args (encoded as XDR)\n"
3099 "\n"
3100 msgstr ""
3101
3102 # type: textblock
3103 #: ../src/guestfs.pod:1580
3104 msgid ""
3105 "The total length field allows the daemon to allocate a fixed size buffer "
3106 "into which it slurps the rest of the message.  As a result, the total length "
3107 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
3108 "effective size of any request is limited to somewhere under this size."
3109 msgstr ""
3110
3111 # type: textblock
3112 #: ../src/guestfs.pod:1586
3113 msgid ""
3114 "Note also that many functions don't take any arguments, in which case the "
3115 "C<guestfs_I<foo>_args> is completely omitted."
3116 msgstr ""
3117
3118 # type: textblock
3119 #: ../src/guestfs.pod:1589
3120 msgid ""
3121 "The header contains the procedure number (C<guestfs_proc>) which is how the "
3122 "receiver knows what type of args structure to expect, or none at all."
3123 msgstr ""
3124
3125 # type: textblock
3126 #: ../src/guestfs.pod:1593
3127 msgid "The reply message for ordinary functions is:"
3128 msgstr ""
3129
3130 # type: verbatim
3131 #: ../src/guestfs.pod:1595
3132 #, no-wrap
3133 msgid ""
3134 " total length (header + ret,\n"
3135 "      but not including the length word itself)\n"
3136 " struct guestfs_message_header (encoded as XDR)\n"
3137 " struct guestfs_<foo>_ret (encoded as XDR)\n"
3138 "\n"
3139 msgstr ""
3140
3141 # type: textblock
3142 #: ../src/guestfs.pod:1600
3143 msgid ""
3144 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
3145 "functions that return no formal return values."
3146 msgstr ""
3147
3148 # type: textblock
3149 #: ../src/guestfs.pod:1603
3150 msgid "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
3151 msgstr ""
3152
3153 # type: textblock
3154 #: ../src/guestfs.pod:1606
3155 msgid ""
3156 "In the case of an error, a flag is set in the header, and the reply message "
3157 "is slightly changed:"
3158 msgstr ""
3159
3160 # type: verbatim
3161 #: ../src/guestfs.pod:1609
3162 #, no-wrap
3163 msgid ""
3164 " total length (header + error,\n"
3165 "      but not including the length word itself)\n"
3166 " struct guestfs_message_header (encoded as XDR)\n"
3167 " struct guestfs_message_error (encoded as XDR)\n"
3168 "\n"
3169 msgstr ""
3170
3171 # type: textblock
3172 #: ../src/guestfs.pod:1614
3173 msgid ""
3174 "The C<guestfs_message_error> structure contains the error message as a "
3175 "string."
3176 msgstr ""
3177
3178 # type: =head3
3179 #: ../src/guestfs.pod:1617
3180 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
3181 msgstr ""
3182
3183 # type: textblock
3184 #: ../src/guestfs.pod:1619
3185 msgid ""
3186 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
3187 "The normal request message is sent (see above).  However this is followed by "
3188 "a sequence of file chunks."
3189 msgstr ""
3190
3191 # type: verbatim
3192 #: ../src/guestfs.pod:1623
3193 #, no-wrap
3194 msgid ""
3195 " total length (header + arguments,\n"
3196 "      but not including the length word itself,\n"
3197 "      and not including the chunks)\n"
3198 " struct guestfs_message_header (encoded as XDR)\n"
3199 " struct guestfs_<foo>_args (encoded as XDR)\n"
3200 " sequence of chunks for FileIn param #0\n"
3201 " sequence of chunks for FileIn param #1 etc.\n"
3202 "\n"
3203 msgstr ""
3204
3205 # type: textblock
3206 #: ../src/guestfs.pod:1631
3207 msgid "The \"sequence of chunks\" is:"
3208 msgstr ""
3209
3210 # type: verbatim
3211 #: ../src/guestfs.pod:1633
3212 #, no-wrap
3213 msgid ""
3214 " length of chunk (not including length word itself)\n"
3215 " struct guestfs_chunk (encoded as XDR)\n"
3216 " length of chunk\n"
3217 " struct guestfs_chunk (encoded as XDR)\n"
3218 "   ...\n"
3219 " length of chunk\n"
3220 " struct guestfs_chunk (with data.data_len == 0)\n"
3221 "\n"
3222 msgstr ""
3223
3224 # type: textblock
3225 #: ../src/guestfs.pod:1641
3226 msgid ""
3227 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
3228 "is set in the final chunk to indicate either successful completion or early "
3229 "cancellation."
3230 msgstr ""
3231
3232 # type: textblock
3233 #: ../src/guestfs.pod:1645
3234 msgid ""
3235 "At time of writing there are no functions that have more than one FileIn "
3236 "parameter.  However this is (theoretically) supported, by sending the "
3237 "sequence of chunks for each FileIn parameter one after another (from left to "
3238 "right)."
3239 msgstr ""
3240
3241 # type: textblock
3242 #: ../src/guestfs.pod:1650
3243 msgid ""
3244 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
3245 "transfer.  The library does this by sending a chunk with a special flag set "
3246 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
3247 "RPC, does I<not> send any reply, and goes back to reading the next request."
3248 msgstr ""
3249
3250 # type: textblock
3251 #: ../src/guestfs.pod:1656
3252 msgid ""
3253 "The daemon may also cancel.  It does this by writing a special word "
3254 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
3255 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
3256 "cancel chunk).  The special word is chosen so that even if cancellation "
3257 "happens right at the end of the transfer (after the library has finished "
3258 "writing and has started listening for the reply), the \"spurious\" cancel "
3259 "flag will not be confused with the reply message."
3260 msgstr ""
3261
3262 # type: textblock
3263 #: ../src/guestfs.pod:1665
3264 msgid ""
3265 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
3266 "limit), and also files where the size is not known in advance (eg. from "
3267 "pipes or sockets).  However the chunks are rather small "
3268 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
3269 "to keep much in memory."
3270 msgstr ""
3271
3272 # type: =head3
3273 #: ../src/guestfs.pod:1671
3274 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
3275 msgstr ""
3276
3277 # type: textblock
3278 #: ../src/guestfs.pod:1673
3279 msgid ""
3280 "The protocol for FileOut parameters is exactly the same as for FileIn "
3281 "parameters, but with the roles of daemon and library reversed."
3282 msgstr ""
3283
3284 # type: verbatim
3285 #: ../src/guestfs.pod:1676
3286 #, no-wrap
3287 msgid ""
3288 " total length (header + ret,\n"
3289 "      but not including the length word itself,\n"
3290 "      and not including the chunks)\n"
3291 " struct guestfs_message_header (encoded as XDR)\n"
3292 " struct guestfs_<foo>_ret (encoded as XDR)\n"
3293 " sequence of chunks for FileOut param #0\n"
3294 " sequence of chunks for FileOut param #1 etc.\n"
3295 "\n"
3296 msgstr ""
3297
3298 # type: =head3
3299 #: ../src/guestfs.pod:1684
3300 msgid "INITIAL MESSAGE"
3301 msgstr ""
3302
3303 # type: textblock
3304 #: ../src/guestfs.pod:1686
3305 msgid ""
3306 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
3307 "which indicates that the guest and daemon is alive.  This is what "
3308 "L</guestfs_launch> waits for."
3309 msgstr ""
3310
3311 # type: =head3
3312 #: ../src/guestfs.pod:1690
3313 msgid "PROGRESS NOTIFICATION MESSAGES"
3314 msgstr ""
3315
3316 # type: textblock
3317 #: ../src/guestfs.pod:1692
3318 msgid ""
3319 "The daemon may send progress notification messages at any time.  These are "
3320 "distinguished by the normal length word being replaced by "
3321 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
3322 msgstr ""
3323
3324 # type: textblock
3325 #: ../src/guestfs.pod:1696
3326 msgid ""
3327 "The library turns them into progress callbacks (see "
3328 "C<guestfs_set_progress_callback>) if there is a callback registered, or "
3329 "discards them if not."
3330 msgstr ""
3331
3332 # type: textblock
3333 #: ../src/guestfs.pod:1700
3334 msgid ""
3335 "The daemon self-limits the frequency of progress messages it sends (see "
3336 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
3337 "messages."
3338 msgstr ""
3339
3340 # type: =head1
3341 #: ../src/guestfs.pod:1704
3342 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
3343 msgstr ""
3344
3345 # type: textblock
3346 #: ../src/guestfs.pod:1706
3347 msgid ""
3348 "All high-level libguestfs actions are synchronous.  If you want to use "
3349 "libguestfs asynchronously then you must create a thread."
3350 msgstr ""
3351
3352 # type: textblock
3353 #: ../src/guestfs.pod:1709
3354 msgid ""
3355 "Only use the handle from a single thread.  Either use the handle exclusively "
3356 "from one thread, or provide your own mutex so that two threads cannot issue "
3357 "calls on the same handle at the same time."
3358 msgstr ""
3359
3360 # type: textblock
3361 #: ../src/guestfs.pod:1713
3362 msgid ""
3363 "See the graphical program guestfs-browser for one possible architecture for "
3364 "multithreaded programs using libvirt and libguestfs."
3365 msgstr ""
3366
3367 # type: =head1
3368 #: ../src/guestfs.pod:1716
3369 msgid "QEMU WRAPPERS"
3370 msgstr ""
3371
3372 # type: textblock
3373 #: ../src/guestfs.pod:1718
3374 msgid ""
3375 "If you want to compile your own qemu, run qemu from a non-standard location, "
3376 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3377 "around qemu."
3378 msgstr ""
3379
3380 # type: textblock
3381 #: ../src/guestfs.pod:1722
3382 msgid ""
3383 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3384 "last command in the shell script (so that qemu replaces the shell and "
3385 "becomes the direct child of the libguestfs-using program).  If you don't do "
3386 "this, then the qemu process won't be cleaned up correctly."
3387 msgstr ""
3388
3389 # type: textblock
3390 #: ../src/guestfs.pod:1727
3391 msgid ""
3392 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3393 "source:"
3394 msgstr ""
3395
3396 # type: verbatim
3397 #: ../src/guestfs.pod:1730
3398 #, no-wrap
3399 msgid ""
3400 " #!/bin/sh -\n"
3401 " qemudir=/home/rjones/d/qemu\n"
3402 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios "
3403 "\"$@\"\n"
3404 "\n"
3405 msgstr ""
3406
3407 # type: textblock
3408 #: ../src/guestfs.pod:1734
3409 msgid ""
3410 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3411 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3412 "example:"
3413 msgstr ""
3414
3415 # type: verbatim
3416 #: ../src/guestfs.pod:1738
3417 #, no-wrap
3418 msgid ""
3419 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3420 "\n"
3421 msgstr ""
3422
3423 # type: textblock
3424 #: ../src/guestfs.pod:1740
3425 msgid ""
3426 "Note that libguestfs also calls qemu with the -help and -version options in "
3427 "order to determine features."
3428 msgstr ""
3429
3430 # type: =head1
3431 #: ../src/guestfs.pod:1743
3432 msgid "LIBGUESTFS VERSION NUMBERS"
3433 msgstr ""
3434
3435 # type: textblock
3436 #: ../src/guestfs.pod:1745
3437 msgid ""
3438 "Since April 2010, libguestfs has started to make separate development and "
3439 "stable releases, along with corresponding branches in our git repository.  "
3440 "These separate releases can be identified by version number:"
3441 msgstr ""
3442
3443 # type: verbatim
3444 #: ../src/guestfs.pod:1750
3445 #, no-wrap
3446 msgid ""
3447 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3448 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3449 "       |\n"
3450 "       v\n"
3451 " 1  .  3  .  5\n"
3452 " ^           ^\n"
3453 " |           |\n"
3454 " |           `-------- sub-version\n"
3455 " |\n"
3456 " `------ always '1' because we don't change the ABI\n"
3457 "\n"
3458 msgstr ""
3459
3460 # type: textblock
3461 #: ../src/guestfs.pod:1761
3462 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3463 msgstr ""
3464
3465 # type: textblock
3466 #: ../src/guestfs.pod:1763
3467 msgid ""
3468 "As time passes we cherry pick fixes from the development branch and backport "
3469 "those into the stable branch, the effect being that the stable branch should "
3470 "get more stable and less buggy over time.  So the stable releases are ideal "
3471 "for people who don't need new features but would just like the software to "
3472 "work."
3473 msgstr ""
3474
3475 # type: textblock
3476 #: ../src/guestfs.pod:1769
3477 msgid "Our criteria for backporting changes are:"
3478 msgstr ""
3479
3480 # type: textblock
3481 #: ../src/guestfs.pod:1775
3482 msgid ""
3483 "Documentation changes which don't affect any code are backported unless the "
3484 "documentation refers to a future feature which is not in stable."
3485 msgstr ""
3486
3487 # type: textblock
3488 #: ../src/guestfs.pod:1781
3489 msgid ""
3490 "Bug fixes which are not controversial, fix obvious problems, and have been "
3491 "well tested are backported."
3492 msgstr ""
3493
3494 # type: textblock
3495 #: ../src/guestfs.pod:1786
3496 msgid ""
3497 "Simple rearrangements of code which shouldn't affect how it works get "
3498 "backported.  This is so that the code in the two branches doesn't get too "
3499 "far out of step, allowing us to backport future fixes more easily."
3500 msgstr ""
3501
3502 # type: textblock
3503 #: ../src/guestfs.pod:1792
3504 msgid ""
3505 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3506 "exceptional case: the new feature is required in order to implement an "
3507 "important bug fix."
3508 msgstr ""
3509
3510 # type: textblock
3511 #: ../src/guestfs.pod:1798
3512 msgid ""
3513 "A new stable branch starts when we think the new features in development are "
3514 "substantial and compelling enough over the current stable branch to warrant "
3515 "it.  When that happens we create new stable and development versions 1.N.0 "
3516 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3517 "stable at this point, but by backporting fixes from development, that branch "
3518 "will stabilize over time."
3519 msgstr ""
3520
3521 # type: =head1
3522 #: ../src/guestfs.pod:1806 ../fish/guestfish.pod:867 ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:330 ../tools/virt-rescue.pl:255
3523 msgid "ENVIRONMENT VARIABLES"
3524 msgstr ""
3525
3526 # type: =item
3527 #: ../src/guestfs.pod:1810 ../fish/guestfish.pod:893
3528 msgid "LIBGUESTFS_APPEND"
3529 msgstr ""
3530
3531 # type: textblock
3532 #: ../src/guestfs.pod:1812 ../fish/guestfish.pod:895
3533 msgid "Pass additional options to the guest kernel."
3534 msgstr ""
3535
3536 # type: =item
3537 #: ../src/guestfs.pod:1814 ../fish/guestfish.pod:897
3538 msgid "LIBGUESTFS_DEBUG"
3539 msgstr ""
3540
3541 # type: textblock
3542 #: ../src/guestfs.pod:1816
3543 msgid ""
3544 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3545 "effect as calling C<guestfs_set_verbose (g, 1)>."
3546 msgstr ""
3547
3548 # type: =item
3549 #: ../src/guestfs.pod:1819 ../fish/guestfish.pod:902
3550 msgid "LIBGUESTFS_MEMSIZE"
3551 msgstr ""
3552
3553 # type: textblock
3554 #: ../src/guestfs.pod:1821 ../fish/guestfish.pod:904
3555 msgid "Set the memory allocated to the qemu process, in megabytes.  For example:"
3556 msgstr ""
3557
3558 # type: verbatim
3559 #: ../src/guestfs.pod:1824 ../fish/guestfish.pod:907
3560 #, no-wrap
3561 msgid ""
3562 " LIBGUESTFS_MEMSIZE=700\n"
3563 "\n"
3564 msgstr ""
3565
3566 # type: =item
3567 #: ../src/guestfs.pod:1826 ../fish/guestfish.pod:909
3568 msgid "LIBGUESTFS_PATH"
3569 msgstr ""
3570
3571 # type: textblock
3572 #: ../src/guestfs.pod:1828
3573 msgid ""
3574 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3575 "the discussion of paths in section PATH above."
3576 msgstr ""
3577
3578 # type: =item
3579 #: ../src/guestfs.pod:1831 ../fish/guestfish.pod:914
3580 msgid "LIBGUESTFS_QEMU"
3581 msgstr ""
3582
3583 # type: textblock
3584 #: ../src/guestfs.pod:1833 ../fish/guestfish.pod:916
3585 msgid ""
3586 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3587 "which was found at compile time by the configure script is used."
3588 msgstr ""
3589
3590 # type: textblock
3591 #: ../src/guestfs.pod:1837
3592 msgid "See also L</QEMU WRAPPERS> above."
3593 msgstr ""
3594
3595 # type: =item
3596 #: ../src/guestfs.pod:1839 ../fish/guestfish.pod:920
3597 msgid "LIBGUESTFS_TRACE"
3598 msgstr ""
3599
3600 # type: textblock
3601 #: ../src/guestfs.pod:1841
3602 msgid ""
3603 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3604 "effect as calling C<guestfs_set_trace (g, 1)>."
3605 msgstr ""
3606
3607 # type: =item
3608 #: ../src/guestfs.pod:1844 ../fish/guestfish.pod:929
3609 msgid "TMPDIR"
3610 msgstr ""
3611
3612 # type: textblock
3613 #: ../src/guestfs.pod:1846 ../fish/guestfish.pod:931
3614 msgid "Location of temporary directory, defaults to C</tmp>."
3615 msgstr ""
3616
3617 # type: textblock
3618 #: ../src/guestfs.pod:1848 ../fish/guestfish.pod:933
3619 msgid ""
3620 "If libguestfs was compiled to use the supermin appliance then the real "
3621 "appliance is cached in this directory, shared between all handles belonging "
3622 "to the same EUID.  You can use C<$TMPDIR> to configure another directory to "
3623 "use in case C</tmp> is not large enough."
3624 msgstr ""
3625
3626 # type: =head1
3627 #: ../src/guestfs.pod:1856 ../fish/guestfish.pod:991 ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:214 ../inspector/virt-inspector.pl:570 ../tools/virt-edit.pl:350 ../tools/virt-win-reg.pl:484 ../tools/virt-df.pl:640 ../tools/virt-ls.pl:232 ../tools/virt-resize.pl:1486 ../tools/virt-list-filesystems.pl:186 ../tools/virt-cat.pl:185 ../tools/virt-tar.pl:281 ../tools/virt-rescue.pl:267 ../tools/virt-make-fs.pl:534 ../tools/virt-list-partitions.pl:254
3628 msgid "SEE ALSO"
3629 msgstr ""
3630
3631 # type: textblock
3632 #: ../src/guestfs.pod:1858
3633 msgid ""
3634 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, "
3635 "L<virt-edit(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, "
3636 "L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, "
3637 "L<virt-rescue(1)>, L<virt-tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, "
3638 "L<febootstrap(1)>, L<hivex(3)>, L<http://libguestfs.org/>."
3639 msgstr ""
3640
3641 # type: textblock
3642 #: ../src/guestfs.pod:1876
3643 msgid ""
3644 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, "
3645 "L<lvm(8)>, L<disktype(1)>."
3646 msgstr ""
3647
3648 # type: =head1
3649 #: ../src/guestfs.pod:1883 ../tools/virt-win-reg.pl:499 ../tools/virt-make-fs.pl:548
3650 msgid "BUGS"
3651 msgstr ""
3652
3653 # type: textblock
3654 #: ../src/guestfs.pod:1885
3655 msgid "To get a list of bugs against libguestfs use this link:"
3656 msgstr ""
3657
3658 # type: textblock
3659 #: ../src/guestfs.pod:1887
3660 msgid "L<https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools>"
3661 msgstr ""
3662
3663 # type: textblock
3664 #: ../src/guestfs.pod:1889
3665 msgid "To report a new bug against libguestfs use this link:"
3666 msgstr ""
3667
3668 # type: textblock
3669 #: ../src/guestfs.pod:1891
3670 msgid "L<https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools>"
3671 msgstr ""
3672
3673 # type: textblock
3674 #: ../src/guestfs.pod:1893
3675 msgid "When reporting a bug, please check:"
3676 msgstr ""
3677
3678 # type: textblock
3679 #: ../src/guestfs.pod:1899
3680 msgid "That the bug hasn't been reported already."
3681 msgstr ""
3682
3683 # type: textblock
3684 #: ../src/guestfs.pod:1903
3685 msgid "That you are testing a recent version."
3686 msgstr ""
3687
3688 # type: textblock
3689 #: ../src/guestfs.pod:1907
3690 msgid "Describe the bug accurately, and give a way to reproduce it."
3691 msgstr ""
3692
3693 # type: textblock
3694 #: ../src/guestfs.pod:1911
3695 msgid ""
3696 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3697 "bug report."
3698 msgstr ""
3699
3700 # type: =head1
3701 #: ../src/guestfs.pod:1916 ../fish/guestfish.pod:1008 ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:225 ../inspector/virt-inspector.pl:580
3702 msgid "AUTHORS"
3703 msgstr ""
3704
3705 # type: textblock
3706 #: ../src/guestfs.pod:1918 ../fish/guestfish.pod:1010 ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:227
3707 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3708 msgstr ""
3709
3710 # type: =head1
3711 #: ../src/guestfs.pod:1920 ../fish/guestfish.pod:1012 ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:229 ../inspector/virt-inspector.pl:594 ../tools/virt-edit.pl:366 ../tools/virt-win-reg.pl:514 ../tools/virt-df.pl:653 ../tools/virt-ls.pl:247 ../tools/virt-resize.pl:1512 ../tools/virt-list-filesystems.pl:202 ../tools/virt-cat.pl:199 ../tools/virt-tar.pl:296 ../tools/virt-rescue.pl:281 ../tools/virt-make-fs.pl:563 ../tools/virt-list-partitions.pl:269
3712 msgid "COPYRIGHT"
3713 msgstr ""
3714
3715 # type: textblock
3716 #: ../src/guestfs.pod:1922 ../fish/guestfish.pod:1014 ../fuse/guestmount.pod:231
3717 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3718 msgstr ""
3719
3720 # type: textblock
3721 #: ../src/guestfs.pod:1925
3722 msgid ""
3723 "This library is free software; you can redistribute it and/or modify it "
3724 "under the terms of the GNU Lesser General Public License as published by the "
3725 "Free Software Foundation; either version 2 of the License, or (at your "
3726 "option) any later version."
3727 msgstr ""
3728
3729 # type: textblock
3730 #: ../src/guestfs.pod:1930
3731 msgid ""
3732 "This library is distributed in the hope that it will be useful, but WITHOUT "
3733 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3734 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3735 "for more details."
3736 msgstr ""
3737
3738 # type: textblock
3739 #: ../src/guestfs.pod:1935
3740 msgid ""
3741 "You should have received a copy of the GNU Lesser General Public License "
3742 "along with this library; if not, write to the Free Software Foundation, "
3743 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3744 msgstr ""
3745
3746 # type: =head2
3747 #: ../src/guestfs-actions.pod:1
3748 msgid "guestfs_add_cdrom"
3749 msgstr ""
3750
3751 # type: verbatim
3752 #: ../src/guestfs-actions.pod:3
3753 #, no-wrap
3754 msgid ""
3755 " int guestfs_add_cdrom (guestfs_h *g,\n"
3756 "\t\tconst char *filename);\n"
3757 "\n"
3758 msgstr ""
3759
3760 # type: textblock
3761 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5
3762 msgid "This function adds a virtual CD-ROM disk image to the guest."
3763 msgstr ""
3764
3765 # type: textblock
3766 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7
3767 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3768 msgstr ""
3769
3770 # type: textblock
3771 #: ../src/guestfs-actions.pod:16
3772 msgid ""
3773 "This call checks for the existence of C<filename>.  This stops you from "
3774 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3775 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3776 "instead."
3777 msgstr ""
3778
3779 # type: textblock
3780 #: ../src/guestfs-actions.pod:23
3781 msgid ""
3782 "If you just want to add an ISO file (often you use this as an efficient way "
3783 "to transfer large files into the guest), then you should probably use "
3784 "C<guestfs_add_drive_ro> instead."
3785 msgstr ""
3786
3787 # type: textblock
3788 #: ../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:2545 ../src/guestfs-actions.pod:2557 ../src/guestfs-actions.pod:2574 ../src/guestfs-actions.pod:2682 ../src/guestfs-actions.pod:2693 ../src/guestfs-actions.pod:2703 ../src/guestfs-actions.pod:2714 ../src/guestfs-actions.pod:2726 ../src/guestfs-actions.pod:2756 ../src/guestfs-actions.pod:2820 ../src/guestfs-actions.pod:2837 ../src/guestfs-actions.pod:2851 ../src/guestfs-actions.pod:2871 ../src/guestfs-actions.pod:2891 ../src/guestfs-actions.pod:2920 ../src/guestfs-actions.pod:2936 ../src/guestfs-actions.pod:2952 ../src/guestfs-actions.pod:2981 ../src/guestfs-actions.pod:2990 ../src/guestfs-actions.pod:3023 ../src/guestfs-actions.pod:3036 ../src/guestfs-actions.pod:3046 ../src/guestfs-actions.pod:3058 ../src/guestfs-actions.pod:3072 ../src/guestfs-actions.pod:3152 ../src/guestfs-actions.pod:3169 ../src/guestfs-actions.pod:3179 ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3239 ../src/guestfs-actions.pod:3254 ../src/guestfs-actions.pod:3267 ../src/guestfs-actions.pod:3278 ../src/guestfs-actions.pod:3289 ../src/guestfs-actions.pod:3303 ../src/guestfs-actions.pod:3315 ../src/guestfs-actions.pod:3332 ../src/guestfs-actions.pod:3378 ../src/guestfs-actions.pod:3406 ../src/guestfs-actions.pod:3422 ../src/guestfs-actions.pod:3438 ../src/guestfs-actions.pod:3447 ../src/guestfs-actions.pod:3461 ../src/guestfs-actions.pod:3471 ../src/guestfs-actions.pod:3483 ../src/guestfs-actions.pod:3495 ../src/guestfs-actions.pod:3527 ../src/guestfs-actions.pod:3539 ../src/guestfs-actions.pod:3556 ../src/guestfs-actions.pod:3567 ../src/guestfs-actions.pod:3581 ../src/guestfs-actions.pod:3621 ../src/guestfs-actions.pod:3652 ../src/guestfs-actions.pod:3663 ../src/guestfs-actions.pod:3688 ../src/guestfs-actions.pod:3702 ../src/guestfs-actions.pod:3717 ../src/guestfs-actions.pod:3839 ../src/guestfs-actions.pod:3891 ../src/guestfs-actions.pod:3910 ../src/guestfs-actions.pod:3925 ../src/guestfs-actions.pod:3951 ../src/guestfs-actions.pod:4008 ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:4032 ../src/guestfs-actions.pod:4043 ../src/guestfs-actions.pod:4298 ../src/guestfs-actions.pod:4314 ../src/guestfs-actions.pod:4325 ../src/guestfs-actions.pod:4334 ../src/guestfs-actions.pod:4345 ../src/guestfs-actions.pod:4354 ../src/guestfs-actions.pod:4365 ../src/guestfs-actions.pod:4378 ../src/guestfs-actions.pod:4396 ../src/guestfs-actions.pod:4412 ../src/guestfs-actions.pod:4428 ../src/guestfs-actions.pod:4443 ../src/guestfs-actions.pod:4463 ../src/guestfs-actions.pod:4478 ../src/guestfs-actions.pod:4494 ../src/guestfs-actions.pod:4512 ../src/guestfs-actions.pod:4528 ../src/guestfs-actions.pod:4542 ../src/guestfs-actions.pod:4567 ../src/guestfs-actions.pod:4588 ../src/guestfs-actions.pod:4604 ../src/guestfs-actions.pod:4625 ../src/guestfs-actions.pod:4637 ../src/guestfs-actions.pod:4649 ../src/guestfs-actions.pod:4665 ../src/guestfs-actions.pod:4699 ../src/guestfs-actions.pod:4719 ../src/guestfs-actions.pod:4742 ../src/guestfs-actions.pod:4832 ../src/guestfs-actions.pod:4938 ../src/guestfs-actions.pod:4947 ../src/guestfs-actions.pod:4957 ../src/guestfs-actions.pod:4967 ../src/guestfs-actions.pod:4986 ../src/guestfs-actions.pod:4996 ../src/guestfs-actions.pod:5006 ../src/guestfs-actions.pod:5016 ../src/guestfs-actions.pod:5028 ../src/guestfs-actions.pod:5078 ../src/guestfs-actions.pod:5092 ../src/guestfs-actions.pod:5105 ../src/guestfs-actions.pod:5118 ../src/guestfs-actions.pod:5132 ../src/guestfs-actions.pod:5142 ../src/guestfs-actions.pod:5159 ../src/guestfs-actions.pod:5189 ../src/guestfs-actions.pod:5200 ../src/guestfs-actions.pod:5235 ../src/guestfs-actions.pod:5245 ../src/guestfs-actions.pod:5260 ../src/guestfs-actions.pod:5286 ../src/guestfs-actions.pod:5314 ../src/guestfs-actions.pod:5418 ../src/guestfs-actions.pod:5433 ../src/guestfs-actions.pod:5444 ../src/guestfs-actions.pod:5490 ../src/guestfs-actions.pod:5500 ../src/guestfs-actions.pod:5537 ../src/guestfs-actions.pod:5564 ../src/guestfs-actions.pod:5606 ../src/guestfs-actions.pod:5629 ../src/guestfs-actions.pod:5686 ../src/guestfs-actions.pod:5702 ../src/guestfs-actions.pod:5728
3789 msgid "This function returns 0 on success or -1 on error."
3790 msgstr ""
3791
3792 # type: textblock
3793 #: ../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
3794 msgid ""
3795 "This function is deprecated.  In new code, use the C<add_drive_opts> call "
3796 "instead."
3797 msgstr ""
3798
3799 # type: textblock
3800 #: ../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:5637 ../src/guestfs-actions.pod:5782 ../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:4353 ../fish/guestfish-actions.pod:4450
3801 msgid ""
3802 "Deprecated functions will not be removed from the API, but the fact that "
3803 "they are deprecated indicates that there are problems with correct use of "
3804 "these functions."
3805 msgstr ""
3806
3807 # type: =head2
3808 #: ../src/guestfs-actions.pod:38
3809 msgid "guestfs_add_drive"
3810 msgstr ""
3811
3812 # type: verbatim
3813 #: ../src/guestfs-actions.pod:40
3814 #, no-wrap
3815 msgid ""
3816 " int guestfs_add_drive (guestfs_h *g,\n"
3817 "\t\tconst char *filename);\n"
3818 "\n"
3819 msgstr ""
3820
3821 # type: textblock
3822 #: ../src/guestfs-actions.pod:43
3823 msgid ""
3824 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
3825 "optional parameters, so the disk is added writable, with the format being "
3826 "detected automatically."
3827 msgstr ""
3828
3829 # type: textblock
3830 #: ../src/guestfs-actions.pod:47
3831 msgid ""
3832 "Automatic detection of the format opens you up to a potential security hole "
3833 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
3834 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
3835 "you should think about replacing calls to this function with calls to "
3836 "C<guestfs_add_drive_opts>, and specifying the format."
3837 msgstr ""
3838
3839 # type: =head2
3840 #: ../src/guestfs-actions.pod:56
3841 msgid "guestfs_add_drive_opts"
3842 msgstr ""
3843
3844 # type: verbatim
3845 #: ../src/guestfs-actions.pod:58
3846 #, no-wrap
3847 msgid ""
3848 " int guestfs_add_drive_opts (guestfs_h *g,\n"
3849 "\t\tconst char *filename,\n"
3850 "\t\t...);\n"
3851 "\n"
3852 msgstr ""
3853
3854 # type: textblock
3855 #: ../src/guestfs-actions.pod:62
3856 msgid ""
3857 "You may supply a list of optional arguments to this call.  Use zero or more "
3858 "of the following pairs of parameters, and terminate the list with C<-1> on "
3859 "its own.  See L</CALLS WITH OPTIONAL ARGUMENTS>."
3860 msgstr ""
3861
3862 # type: verbatim
3863 #: ../src/guestfs-actions.pod:67
3864 #, no-wrap
3865 msgid ""
3866 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
3867 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
3868 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
3869 "\n"
3870 msgstr ""
3871
3872 # type: textblock
3873 #: ../src/guestfs-actions.pod:71 ../fish/guestfish-actions.pod:56
3874 msgid ""
3875 "This function adds a virtual machine disk image C<filename> to libguestfs.  "
3876 "The first time you call this function, the disk appears as C</dev/sda>, the "
3877 "second time as C</dev/sdb>, and so on."
3878 msgstr ""
3879
3880 # type: textblock
3881 #: ../src/guestfs-actions.pod:76 ../fish/guestfish-actions.pod:61
3882 msgid ""
3883 "You don't necessarily need to be root when using libguestfs.  However you "
3884 "obviously do need sufficient permissions to access the filename for whatever "
3885 "operations you want to perform (ie. read access if you just want to read the "
3886 "image or write access if you want to modify the image)."
3887 msgstr ""
3888
3889 # type: textblock
3890 #: ../src/guestfs-actions.pod:82 ../fish/guestfish-actions.pod:67
3891 msgid "This call checks that C<filename> exists."
3892 msgstr ""
3893
3894 # type: textblock
3895 #: ../src/guestfs-actions.pod:84 ../fish/guestfish-actions.pod:69
3896 msgid "The optional arguments are:"
3897 msgstr ""
3898
3899 # type: =item
3900 #: ../src/guestfs-actions.pod:88 ../fish/guestfish-actions.pod:73
3901 msgid "C<readonly>"
3902 msgstr ""
3903
3904 # type: textblock
3905 #: ../src/guestfs-actions.pod:90 ../fish/guestfish-actions.pod:75
3906 msgid ""
3907 "If true then the image is treated as read-only.  Writes are still allowed, "
3908 "but they are stored in a temporary snapshot overlay which is discarded at "
3909 "the end.  The disk that you add is not modified."
3910 msgstr ""
3911
3912 # type: =item
3913 #: ../src/guestfs-actions.pod:94 ../fish/guestfish-actions.pod:79
3914 msgid "C<format>"
3915 msgstr ""
3916
3917 # type: textblock
3918 #: ../src/guestfs-actions.pod:96
3919 msgid ""
3920 "This forces the image format.  If you omit this (or use C<guestfs_add_drive> "
3921 "or C<guestfs_add_drive_ro>) then the format is automatically detected.  "
3922 "Possible formats include C<raw> and C<qcow2>."
3923 msgstr ""
3924
3925 # type: textblock
3926 #: ../src/guestfs-actions.pod:100 ../fish/guestfish-actions.pod:85
3927 msgid ""
3928 "Automatic detection of the format opens you up to a potential security hole "
3929 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
3930 "RHBZ#642934.  Specifying the format closes this security hole."
3931 msgstr ""
3932
3933 # type: =item
3934 #: ../src/guestfs-actions.pod:105 ../fish/guestfish-actions.pod:90
3935 msgid "C<iface>"
3936 msgstr ""
3937
3938 # type: textblock
3939 #: ../src/guestfs-actions.pod:107
3940 msgid ""
3941 "This rarely-used option lets you emulate the behaviour of the deprecated "
3942 "C<guestfs_add_drive_with_if> call (q.v.)"
3943 msgstr ""
3944
3945 # type: =head2
3946 #: ../src/guestfs-actions.pod:114
3947 msgid "guestfs_add_drive_opts_va"
3948 msgstr ""
3949
3950 # type: verbatim
3951 #: ../src/guestfs-actions.pod:116
3952 #, no-wrap
3953 msgid ""
3954 " int guestfs_add_drive_opts_va (guestfs_h *g,\n"
3955 "\t\tconst char *filename,\n"
3956 "\t\tva_list args);\n"
3957 "\n"
3958 msgstr ""
3959
3960 # type: textblock
3961 #: ../src/guestfs-actions.pod:120
3962 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
3963 msgstr ""
3964
3965 # type: textblock
3966 #: ../src/guestfs-actions.pod:122 ../src/guestfs-actions.pod:132
3967 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
3968 msgstr ""
3969
3970 # type: =head2
3971 #: ../src/guestfs-actions.pod:124
3972 msgid "guestfs_add_drive_opts_argv"
3973 msgstr ""
3974
3975 # type: verbatim
3976 #: ../src/guestfs-actions.pod:126
3977 #, no-wrap
3978 msgid ""
3979 " int guestfs_add_drive_opts_argv (guestfs_h *g,\n"
3980 "\t\tconst char *filename,\n"
3981 "\t\tconst struct guestfs_add_drive_opts_argv *optargs);\n"
3982 "\n"
3983 msgstr ""
3984
3985 # type: textblock
3986 #: ../src/guestfs-actions.pod:130
3987 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
3988 msgstr ""
3989
3990 # type: =head2
3991 #: ../src/guestfs-actions.pod:134
3992 msgid "guestfs_add_drive_ro"
3993 msgstr ""
3994
3995 # type: verbatim
3996 #: ../src/guestfs-actions.pod:136
3997 #, no-wrap
3998 msgid ""
3999 " int guestfs_add_drive_ro (guestfs_h *g,\n"
4000 "\t\tconst char *filename);\n"
4001 "\n"
4002 msgstr ""
4003
4004 # type: textblock
4005 #: ../src/guestfs-actions.pod:139
4006 msgid ""
4007 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
4008 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
4009 "disk is added read-only, with the format being detected automatically."
4010 msgstr ""
4011
4012 # type: =head2
4013 #: ../src/guestfs-actions.pod:146
4014 msgid "guestfs_add_drive_ro_with_if"
4015 msgstr ""
4016
4017 # type: verbatim
4018 #: ../src/guestfs-actions.pod:148
4019 #, no-wrap
4020 msgid ""
4021 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
4022 "\t\tconst char *filename,\n"
4023 "\t\tconst char *iface);\n"
4024 "\n"
4025 msgstr ""
4026
4027 # type: textblock
4028 #: ../src/guestfs-actions.pod:152
4029 msgid ""
4030 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
4031 "QEMU interface emulation to use at run time."
4032 msgstr ""
4033
4034 # type: =head2
4035 #: ../src/guestfs-actions.pod:164
4036 msgid "guestfs_add_drive_with_if"
4037 msgstr ""
4038
4039 # type: verbatim
4040 #: ../src/guestfs-actions.pod:166
4041 #, no-wrap
4042 msgid ""
4043 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
4044 "\t\tconst char *filename,\n"
4045 "\t\tconst char *iface);\n"
4046 "\n"
4047 msgstr ""
4048
4049 # type: textblock
4050 #: ../src/guestfs-actions.pod:170
4051 msgid ""
4052 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
4053 "QEMU interface emulation to use at run time."
4054 msgstr ""
4055
4056 # type: =head2
4057 #: ../src/guestfs-actions.pod:182
4058 msgid "guestfs_aug_clear"
4059 msgstr ""
4060
4061 # type: verbatim
4062 #: ../src/guestfs-actions.pod:184
4063 #, no-wrap
4064 msgid ""
4065 " int guestfs_aug_clear (guestfs_h *g,\n"
4066 "\t\tconst char *augpath);\n"
4067 "\n"
4068 msgstr ""
4069
4070 # type: textblock
4071 #: ../src/guestfs-actions.pod:187 ../fish/guestfish-actions.pod:142
4072 msgid ""
4073 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
4074 "L<augtool(1)> C<clear> command."
4075 msgstr ""
4076
4077 # type: =head2
4078 #: ../src/guestfs-actions.pod:192
4079 msgid "guestfs_aug_close"
4080 msgstr ""
4081
4082 # type: verbatim
4083 #: ../src/guestfs-actions.pod:194
4084 #, no-wrap
4085 msgid ""
4086 " int guestfs_aug_close (guestfs_h *g);\n"
4087 "\n"
4088 msgstr ""
4089
4090 # type: textblock
4091 #: ../src/guestfs-actions.pod:196
4092 msgid ""
4093 "Close the current Augeas handle and free up any resources used by it.  After "
4094 "calling this, you have to call C<guestfs_aug_init> again before you can use "
4095 "any other Augeas functions."
4096 msgstr ""
4097
4098 # type: =head2
4099 #: ../src/guestfs-actions.pod:203
4100 msgid "guestfs_aug_defnode"
4101 msgstr ""
4102
4103 # type: verbatim
4104 #: ../src/guestfs-actions.pod:205
4105 #, no-wrap
4106 msgid ""
4107 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
4108 "\t\tconst char *name,\n"
4109 "\t\tconst char *expr,\n"
4110 "\t\tconst char *val);\n"
4111 "\n"
4112 msgstr ""
4113
4114 # type: textblock
4115 #: ../src/guestfs-actions.pod:210 ../fish/guestfish-actions.pod:158
4116 msgid "Defines a variable C<name> whose value is the result of evaluating C<expr>."
4117 msgstr ""
4118
4119 # type: textblock
4120 #: ../src/guestfs-actions.pod:213
4121 msgid ""
4122 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
4123 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
4124 "containing that single node."
4125 msgstr ""
4126
4127 # type: textblock
4128 #: ../src/guestfs-actions.pod:217 ../fish/guestfish-actions.pod:165
4129 msgid ""
4130 "On success this returns a pair containing the number of nodes in the "
4131 "nodeset, and a boolean flag if a node was created."
4132 msgstr ""
4133
4134 # type: textblock
4135 #: ../src/guestfs-actions.pod:221
4136 msgid ""
4137 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
4138 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
4139 msgstr ""
4140
4141 # type: =head2
4142 #: ../src/guestfs-actions.pod:225
4143 msgid "guestfs_aug_defvar"
4144 msgstr ""
4145
4146 # type: verbatim
4147 #: ../src/guestfs-actions.pod:227
4148 #, no-wrap
4149 msgid ""
4150 " int guestfs_aug_defvar (guestfs_h *g,\n"
4151 "\t\tconst char *name,\n"
4152 "\t\tconst char *expr);\n"
4153 "\n"
4154 msgstr ""
4155
4156 # type: textblock
4157 #: ../src/guestfs-actions.pod:231 ../fish/guestfish-actions.pod:173
4158 msgid ""
4159 "Defines an Augeas variable C<name> whose value is the result of evaluating "
4160 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
4161 msgstr ""
4162
4163 # type: textblock
4164 #: ../src/guestfs-actions.pod:235 ../fish/guestfish-actions.pod:177
4165 msgid ""
4166 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
4167 "evaluates to something which is not a nodeset."
4168 msgstr ""
4169
4170 # type: textblock
4171 #: ../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:2233 ../src/guestfs-actions.pod:2251 ../src/guestfs-actions.pod:3641 ../src/guestfs-actions.pod:3748 ../src/guestfs-actions.pod:4102 ../src/guestfs-actions.pod:4125 ../src/guestfs-actions.pod:5224 ../src/guestfs-actions.pod:5574 ../src/guestfs-actions.pod:5584 ../src/guestfs-actions.pod:5594
4172 msgid "On error this function returns -1."
4173 msgstr ""
4174
4175 # type: =head2
4176 #: ../src/guestfs-actions.pod:240
4177 msgid "guestfs_aug_get"
4178 msgstr ""
4179
4180 # type: verbatim
4181 #: ../src/guestfs-actions.pod:242
4182 #, no-wrap
4183 msgid ""
4184 " char *guestfs_aug_get (guestfs_h *g,\n"
4185 "\t\tconst char *augpath);\n"
4186 "\n"
4187 msgstr ""
4188
4189 # type: textblock
4190 #: ../src/guestfs-actions.pod:245 ../fish/guestfish-actions.pod:184
4191 msgid ""
4192 "Look up the value associated with C<path>.  If C<path> matches exactly one "
4193 "node, the C<value> is returned."
4194 msgstr ""
4195
4196 # type: textblock
4197 #: ../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:2185 ../src/guestfs-actions.pod:2301 ../src/guestfs-actions.pod:2336 ../src/guestfs-actions.pod:2356 ../src/guestfs-actions.pod:2671 ../src/guestfs-actions.pod:2968 ../src/guestfs-actions.pod:3109 ../src/guestfs-actions.pod:3205 ../src/guestfs-actions.pod:3763 ../src/guestfs-actions.pod:3939 ../src/guestfs-actions.pod:4080 ../src/guestfs-actions.pod:4241 ../src/guestfs-actions.pod:4284 ../src/guestfs-actions.pod:4760 ../src/guestfs-actions.pod:4773 ../src/guestfs-actions.pod:4787 ../src/guestfs-actions.pod:4808 ../src/guestfs-actions.pod:5367 ../src/guestfs-actions.pod:5383 ../src/guestfs-actions.pod:5398 ../src/guestfs-actions.pod:5546 ../src/guestfs-actions.pod:5776
4198 msgid ""
4199 "This function returns a string, or NULL on error.  I<The caller must free "
4200 "the returned string after use>."
4201 msgstr ""
4202
4203 # type: =head2
4204 #: ../src/guestfs-actions.pod:251
4205 msgid "guestfs_aug_init"
4206 msgstr ""
4207
4208 # type: verbatim
4209 #: ../src/guestfs-actions.pod:253
4210 #, no-wrap
4211 msgid ""
4212 " int guestfs_aug_init (guestfs_h *g,\n"
4213 "\t\tconst char *root,\n"
4214 "\t\tint flags);\n"
4215 "\n"
4216 msgstr ""
4217
4218 # type: textblock
4219 #: ../src/guestfs-actions.pod:257 ../fish/guestfish-actions.pod:191
4220 msgid ""
4221 "Create a new Augeas handle for editing configuration files.  If there was "
4222 "any previous Augeas handle associated with this guestfs session, then it is "
4223 "closed."
4224 msgstr ""
4225
4226 # type: textblock
4227 #: ../src/guestfs-actions.pod:261
4228 msgid "You must call this before using any other C<guestfs_aug_*> commands."
4229 msgstr ""
4230
4231 # type: textblock
4232 #: ../src/guestfs-actions.pod:264 ../fish/guestfish-actions.pod:198
4233 msgid "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
4234 msgstr ""
4235
4236 # type: textblock
4237 #: ../src/guestfs-actions.pod:267 ../fish/guestfish-actions.pod:201
4238 msgid ""
4239 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
4240 "logical I<or> of the following integers:"
4241 msgstr ""
4242
4243 # type: =item
4244 #: ../src/guestfs-actions.pod:273 ../fish/guestfish-actions.pod:207
4245 msgid "C<AUG_SAVE_BACKUP> = 1"
4246 msgstr ""
4247
4248 # type: textblock
4249 #: ../src/guestfs-actions.pod:275 ../fish/guestfish-actions.pod:209
4250 msgid "Keep the original file with a C<.augsave> extension."
4251 msgstr ""
4252
4253 # type: =item
4254 #: ../src/guestfs-actions.pod:277 ../fish/guestfish-actions.pod:211
4255 msgid "C<AUG_SAVE_NEWFILE> = 2"
4256 msgstr ""
4257
4258 # type: textblock
4259 #: ../src/guestfs-actions.pod:279 ../fish/guestfish-actions.pod:213
4260 msgid ""
4261 "Save changes into a file with extension C<.augnew>, and do not overwrite "
4262 "original.  Overrides C<AUG_SAVE_BACKUP>."
4263 msgstr ""
4264
4265 # type: =item
4266 #: ../src/guestfs-actions.pod:282 ../fish/guestfish-actions.pod:216
4267 msgid "C<AUG_TYPE_CHECK> = 4"
4268 msgstr ""
4269
4270 # type: textblock
4271 #: ../src/guestfs-actions.pod:284 ../fish/guestfish-actions.pod:218
4272 msgid "Typecheck lenses (can be expensive)."
4273 msgstr ""
4274
4275 # type: =item
4276 #: ../src/guestfs-actions.pod:286 ../fish/guestfish-actions.pod:220
4277 msgid "C<AUG_NO_STDINC> = 8"
4278 msgstr ""
4279
4280 # type: textblock
4281 #: ../src/guestfs-actions.pod:288 ../fish/guestfish-actions.pod:222
4282 msgid "Do not use standard load path for modules."
4283 msgstr ""
4284
4285 # type: =item
4286 #: ../src/guestfs-actions.pod:290 ../fish/guestfish-actions.pod:224
4287 msgid "C<AUG_SAVE_NOOP> = 16"
4288 msgstr ""
4289
4290 # type: textblock
4291 #: ../src/guestfs-actions.pod:292 ../fish/guestfish-actions.pod:226
4292 msgid "Make save a no-op, just record what would have been changed."
4293 msgstr ""
4294
4295 # type: =item
4296 #: ../src/guestfs-actions.pod:294 ../fish/guestfish-actions.pod:228
4297 msgid "C<AUG_NO_LOAD> = 32"
4298 msgstr ""
4299
4300 # type: textblock
4301 #: ../src/guestfs-actions.pod:296
4302 msgid "Do not load the tree in C<guestfs_aug_init>."
4303 msgstr ""
4304
4305 # type: textblock
4306 #: ../src/guestfs-actions.pod:300
4307 msgid "To close the handle, you can call C<guestfs_aug_close>."
4308 msgstr ""
4309
4310 # type: textblock
4311 #: ../src/guestfs-actions.pod:302 ../fish/guestfish-actions.pod:236
4312 msgid "To find out more about Augeas, see L<http://augeas.net/>."
4313 msgstr ""
4314
4315 # type: =head2
4316 #: ../src/guestfs-actions.pod:306
4317 msgid "guestfs_aug_insert"
4318 msgstr ""
4319
4320 # type: verbatim
4321 #: ../src/guestfs-actions.pod:308
4322 #, no-wrap
4323 msgid ""
4324 " int guestfs_aug_insert (guestfs_h *g,\n"
4325 "\t\tconst char *augpath,\n"
4326 "\t\tconst char *label,\n"
4327 "\t\tint before);\n"
4328 "\n"
4329 msgstr ""
4330
4331 # type: textblock
4332 #: ../src/guestfs-actions.pod:313 ../fish/guestfish-actions.pod:242
4333 msgid ""
4334 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
4335 "or after C<path> (depending on the boolean flag C<before>)."
4336 msgstr ""
4337
4338 # type: textblock
4339 #: ../src/guestfs-actions.pod:317 ../fish/guestfish-actions.pod:246
4340 msgid ""
4341 "C<path> must match exactly one existing node in the tree, and C<label> must "
4342 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
4343 msgstr ""
4344
4345 # type: =head2
4346 #: ../src/guestfs-actions.pod:323
4347 msgid "guestfs_aug_load"
4348 msgstr ""
4349
4350 # type: verbatim
4351 #: ../src/guestfs-actions.pod:325
4352 #, no-wrap
4353 msgid ""
4354 " int guestfs_aug_load (guestfs_h *g);\n"
4355 "\n"
4356 msgstr ""
4357
4358 # type: textblock
4359 #: ../src/guestfs-actions.pod:327 ../fish/guestfish-actions.pod:254
4360 msgid "Load files into the tree."
4361 msgstr ""
4362
4363 # type: textblock
4364 #: ../src/guestfs-actions.pod:329 ../fish/guestfish-actions.pod:256
4365 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
4366 msgstr ""
4367
4368 # type: =head2
4369 #: ../src/guestfs-actions.pod:334
4370 msgid "guestfs_aug_ls"
4371 msgstr ""
4372
4373 # type: verbatim
4374 #: ../src/guestfs-actions.pod:336
4375 #, no-wrap
4376 msgid ""
4377 " char **guestfs_aug_ls (guestfs_h *g,\n"
4378 "\t\tconst char *augpath);\n"
4379 "\n"
4380 msgstr ""
4381
4382 # type: textblock
4383 #: ../src/guestfs-actions.pod:339
4384 msgid ""
4385 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
4386 "sorting the resulting nodes into alphabetical order."
4387 msgstr ""
4388
4389 # type: textblock
4390 #: ../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:2207 ../src/guestfs-actions.pod:2395 ../src/guestfs-actions.pod:2600 ../src/guestfs-actions.pod:2656 ../src/guestfs-actions.pod:2740 ../src/guestfs-actions.pod:3086 ../src/guestfs-actions.pod:3608 ../src/guestfs-actions.pod:4057 ../src/guestfs-actions.pod:4166 ../src/guestfs-actions.pod:4272 ../src/guestfs-actions.pod:4821 ../src/guestfs-actions.pod:4870 ../src/guestfs-actions.pod:4922 ../src/guestfs-actions.pod:5038 ../src/guestfs-actions.pod:5059 ../src/guestfs-actions.pod:5459 ../src/guestfs-actions.pod:5476 ../src/guestfs-actions.pod:5514 ../src/guestfs-actions.pod:5650 ../src/guestfs-actions.pod:5666 ../src/guestfs-actions.pod:5739 ../src/guestfs-actions.pod:5755 ../src/guestfs-actions.pod:5795 ../src/guestfs-actions.pod:5811
4391 msgid ""
4392 "This function returns a NULL-terminated array of strings (like "
4393 "L<environ(3)>), or NULL if there was an error.  I<The caller must free the "
4394 "strings and the array after use>."
4395 msgstr ""
4396
4397 # type: =head2
4398 #: ../src/guestfs-actions.pod:346
4399 msgid "guestfs_aug_match"
4400 msgstr ""
4401
4402 # type: verbatim
4403 #: ../src/guestfs-actions.pod:348
4404 #, no-wrap
4405 msgid ""
4406 " char **guestfs_aug_match (guestfs_h *g,\n"
4407 "\t\tconst char *augpath);\n"
4408 "\n"
4409 msgstr ""
4410
4411 # type: textblock
4412 #: ../src/guestfs-actions.pod:351 ../fish/guestfish-actions.pod:270
4413 msgid ""
4414 "Returns a list of paths which match the path expression C<path>.  The "
4415 "returned paths are sufficiently qualified so that they match exactly one "
4416 "node in the current tree."
4417 msgstr ""
4418
4419 # type: =head2
4420 #: ../src/guestfs-actions.pod:359
4421 msgid "guestfs_aug_mv"
4422 msgstr ""
4423
4424 # type: verbatim
4425 #: ../src/guestfs-actions.pod:361
4426 #, no-wrap
4427 msgid ""
4428 " int guestfs_aug_mv (guestfs_h *g,\n"
4429 "\t\tconst char *src,\n"
4430 "\t\tconst char *dest);\n"
4431 "\n"
4432 msgstr ""
4433
4434 # type: textblock
4435 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:278
4436 msgid ""
4437 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
4438 "C<dest> is overwritten if it exists."
4439 msgstr ""
4440
4441 # type: =head2
4442 #: ../src/guestfs-actions.pod:370
4443 msgid "guestfs_aug_rm"
4444 msgstr ""
4445
4446 # type: verbatim
4447 #: ../src/guestfs-actions.pod:372
4448 #, no-wrap
4449 msgid ""
4450 " int guestfs_aug_rm (guestfs_h *g,\n"
4451 "\t\tconst char *augpath);\n"
4452 "\n"
4453 msgstr ""
4454
4455 # type: textblock
4456 #: ../src/guestfs-actions.pod:375 ../fish/guestfish-actions.pod:285
4457 msgid "Remove C<path> and all of its children."
4458 msgstr ""
4459
4460 # type: textblock
4461 #: ../src/guestfs-actions.pod:377 ../fish/guestfish-actions.pod:287
4462 msgid "On success this returns the number of entries which were removed."
4463 msgstr ""
4464
4465 # type: =head2
4466 #: ../src/guestfs-actions.pod:381
4467 msgid "guestfs_aug_save"
4468 msgstr ""
4469
4470 # type: verbatim
4471 #: ../src/guestfs-actions.pod:383
4472 #, no-wrap
4473 msgid ""
4474 " int guestfs_aug_save (guestfs_h *g);\n"
4475 "\n"
4476 msgstr ""
4477
4478 # type: textblock
4479 #: ../src/guestfs-actions.pod:385 ../fish/guestfish-actions.pod:293
4480 msgid "This writes all pending changes to disk."
4481 msgstr ""
4482
4483 # type: textblock
4484 #: ../src/guestfs-actions.pod:387
4485 msgid ""
4486 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4487 "are saved."
4488 msgstr ""
4489
4490 # type: =head2
4491 #: ../src/guestfs-actions.pod:392
4492 msgid "guestfs_aug_set"
4493 msgstr ""
4494
4495 # type: verbatim
4496 #: ../src/guestfs-actions.pod:394
4497 #, no-wrap
4498 msgid ""
4499 " int guestfs_aug_set (guestfs_h *g,\n"
4500 "\t\tconst char *augpath,\n"
4501 "\t\tconst char *val);\n"
4502 "\n"
4503 msgstr ""
4504
4505 # type: textblock
4506 #: ../src/guestfs-actions.pod:398 ../fish/guestfish-actions.pod:302
4507 msgid "Set the value associated with C<path> to C<val>."
4508 msgstr ""
4509
4510 # type: textblock
4511 #: ../src/guestfs-actions.pod:400
4512 msgid ""
4513 "In the Augeas API, it is possible to clear a node by setting the value to "
4514 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4515 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4516 msgstr ""
4517
4518 # type: =head2
4519 #: ../src/guestfs-actions.pod:407
4520 msgid "guestfs_available"
4521 msgstr ""
4522
4523 # type: verbatim
4524 #: ../src/guestfs-actions.pod:409
4525 #, no-wrap
4526 msgid ""
4527 " int guestfs_available (guestfs_h *g,\n"
4528 "\t\tchar *const *groups);\n"
4529 "\n"
4530 msgstr ""
4531
4532 # type: textblock
4533 #: ../src/guestfs-actions.pod:412 ../fish/guestfish-actions.pod:313
4534 msgid ""
4535 "This command is used to check the availability of some groups of "
4536 "functionality in the appliance, which not all builds of the libguestfs "
4537 "appliance will be able to provide."
4538 msgstr ""
4539
4540 # type: textblock
4541 #: ../src/guestfs-actions.pod:416
4542 msgid ""
4543 "The libguestfs groups, and the functions that those groups correspond to, "
4544 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4545 "runtime by calling C<guestfs_available_all_groups>."
4546 msgstr ""
4547
4548 # type: textblock
4549 #: ../src/guestfs-actions.pod:421 ../fish/guestfish-actions.pod:322
4550 msgid ""
4551 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", "
4552 "\"augeas\"]> would check for the availability of the Linux inotify functions "
4553 "and Augeas (configuration file editing) functions."
4554 msgstr ""
4555
4556 # type: textblock
4557 #: ../src/guestfs-actions.pod:426 ../fish/guestfish-actions.pod:327
4558 msgid "The command returns no error if I<all> requested groups are available."
4559 msgstr ""
4560
4561 # type: textblock
4562 #: ../src/guestfs-actions.pod:428 ../fish/guestfish-actions.pod:329
4563 msgid ""
4564 "It fails with an error if one or more of the requested groups is unavailable "
4565 "in the appliance."
4566 msgstr ""
4567
4568 # type: textblock
4569 #: ../src/guestfs-actions.pod:431 ../fish/guestfish-actions.pod:332
4570 msgid ""
4571 "If an unknown group name is included in the list of groups then an error is "
4572 "always returned."
4573 msgstr ""
4574
4575 # type: textblock
4576 #: ../src/guestfs-actions.pod:434 ../fish/guestfish-actions.pod:335
4577 msgid "I<Notes:>"
4578 msgstr ""
4579
4580 # type: textblock
4581 #: ../src/guestfs-actions.pod:440
4582 msgid "You must call C<guestfs_launch> before calling this function."
4583 msgstr ""
4584
4585 # type: textblock
4586 #: ../src/guestfs-actions.pod:442 ../fish/guestfish-actions.pod:343
4587 msgid ""
4588 "The reason is because we don't know what groups are supported by the "
4589 "appliance/daemon until it is running and can be queried."
4590 msgstr ""
4591
4592 # type: textblock
4593 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:349
4594 msgid ""
4595 "If a group of functions is available, this does not necessarily mean that "
4596 "they will work.  You still have to check for errors when calling individual "
4597 "API functions even if they are available."
4598 msgstr ""
4599
4600 # type: textblock
4601 #: ../src/guestfs-actions.pod:455 ../fish/guestfish-actions.pod:356
4602 msgid ""
4603 "It is usually the job of distro packagers to build complete functionality "
4604 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4605 "with all requirements satisfied, will support everything."
4606 msgstr ""
4607
4608 # type: textblock
4609 #: ../src/guestfs-actions.pod:462
4610 msgid ""
4611 "This call was added in version C<1.0.80>.  In previous versions of "
4612 "libguestfs all you could do would be to speculatively execute a command to "
4613 "find out if the daemon implemented it.  See also C<guestfs_version>."
4614 msgstr ""
4615
4616 # type: =head2
4617 #: ../src/guestfs-actions.pod:471
4618 msgid "guestfs_available_all_groups"
4619 msgstr ""
4620
4621 # type: verbatim
4622 #: ../src/guestfs-actions.pod:473
4623 #, no-wrap
4624 msgid ""
4625 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4626 "\n"
4627 msgstr ""
4628
4629 # type: textblock
4630 #: ../src/guestfs-actions.pod:475
4631 msgid ""
4632 "This command returns a list of all optional groups that this daemon knows "
4633 "about.  Note this returns both supported and unsupported groups.  To find "
4634 "out which ones the daemon can actually support you have to call "
4635 "C<guestfs_available> on each member of the returned list."
4636 msgstr ""
4637
4638 # type: textblock
4639 #: ../src/guestfs-actions.pod:481
4640 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4641 msgstr ""
4642
4643 # type: =head2
4644 #: ../src/guestfs-actions.pod:487
4645 msgid "guestfs_base64_in"
4646 msgstr ""
4647
4648 # type: verbatim
4649 #: ../src/guestfs-actions.pod:489
4650 #, no-wrap
4651 msgid ""
4652 " int guestfs_base64_in (guestfs_h *g,\n"
4653 "\t\tconst char *base64file,\n"
4654 "\t\tconst char *filename);\n"
4655 "\n"
4656 msgstr ""
4657
4658 # type: textblock
4659 #: ../src/guestfs-actions.pod:493 ../fish/guestfish-actions.pod:386
4660 msgid "This command uploads base64-encoded data from C<base64file> to C<filename>."
4661 msgstr ""
4662
4663 # type: =head2
4664 #: ../src/guestfs-actions.pod:498
4665 msgid "guestfs_base64_out"
4666 msgstr ""
4667
4668 # type: verbatim
4669 #: ../src/guestfs-actions.pod:500
4670 #, no-wrap
4671 msgid ""
4672 " int guestfs_base64_out (guestfs_h *g,\n"
4673 "\t\tconst char *filename,\n"
4674 "\t\tconst char *base64file);\n"
4675 "\n"
4676 msgstr ""
4677
4678 # type: textblock
4679 #: ../src/guestfs-actions.pod:504 ../fish/guestfish-actions.pod:395
4680 msgid ""
4681 "This command downloads the contents of C<filename>, writing it out to local "
4682 "file C<base64file> encoded as base64."
4683 msgstr ""
4684
4685 # type: =head2
4686 #: ../src/guestfs-actions.pod:509
4687 msgid "guestfs_blockdev_flushbufs"
4688 msgstr ""
4689
4690 # type: verbatim
4691 #: ../src/guestfs-actions.pod:511
4692 #, no-wrap
4693 msgid ""
4694 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4695 "\t\tconst char *device);\n"
4696 "\n"
4697 msgstr ""
4698
4699 # type: textblock
4700 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:404
4701 msgid "This tells the kernel to flush internal buffers associated with C<device>."
4702 msgstr ""
4703
4704 # type: textblock
4705 #: ../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
4706 msgid "This uses the L<blockdev(8)> command."
4707 msgstr ""
4708
4709 # type: =head2
4710 #: ../src/guestfs-actions.pod:521
4711 msgid "guestfs_blockdev_getbsz"
4712 msgstr ""
4713
4714 # type: verbatim
4715 #: ../src/guestfs-actions.pod:523
4716 #, no-wrap
4717 msgid ""
4718 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4719 "\t\tconst char *device);\n"
4720 "\n"
4721 msgstr ""
4722
4723 # type: textblock
4724 #: ../src/guestfs-actions.pod:526 ../fish/guestfish-actions.pod:413
4725 msgid "This returns the block size of a device."
4726 msgstr ""
4727
4728 # type: textblock
4729 #: ../src/guestfs-actions.pod:528 ../src/guestfs-actions.pod:610 ../fish/guestfish-actions.pod:415 ../fish/guestfish-actions.pod:478
4730 msgid ""
4731 "(Note this is different from both I<size in blocks> and I<filesystem block "
4732 "size>)."
4733 msgstr ""
4734
4735 # type: =head2
4736 #: ../src/guestfs-actions.pod:535
4737 msgid "guestfs_blockdev_getro"
4738 msgstr ""
4739
4740 # type: verbatim
4741 #: ../src/guestfs-actions.pod:537
4742 #, no-wrap
4743 msgid ""
4744 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4745 "\t\tconst char *device);\n"
4746 "\n"
4747 msgstr ""
4748
4749 # type: textblock
4750 #: ../src/guestfs-actions.pod:540 ../fish/guestfish-actions.pod:424
4751 msgid ""
4752 "Returns a boolean indicating if the block device is read-only (true if "
4753 "read-only, false if not)."
4754 msgstr ""
4755
4756 # type: textblock
4757 #: ../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:2409 ../src/guestfs-actions.pod:2420 ../src/guestfs-actions.pod:2432 ../src/guestfs-actions.pod:2443 ../src/guestfs-actions.pod:2456 ../src/guestfs-actions.pod:2468 ../src/guestfs-actions.pod:2481 ../src/guestfs-actions.pod:2492 ../src/guestfs-actions.pod:2502 ../src/guestfs-actions.pod:2513 ../src/guestfs-actions.pod:2525 ../src/guestfs-actions.pod:2537 ../src/guestfs-actions.pod:3733
4758 msgid "This function returns a C truth value on success or -1 on error."
4759 msgstr ""
4760
4761 # type: =head2
4762 #: ../src/guestfs-actions.pod:547
4763 msgid "guestfs_blockdev_getsize64"
4764 msgstr ""
4765
4766 # type: verbatim
4767 #: ../src/guestfs-actions.pod:549
4768 #, no-wrap
4769 msgid ""
4770 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4771 "\t\tconst char *device);\n"
4772 "\n"
4773 msgstr ""
4774
4775 # type: textblock
4776 #: ../src/guestfs-actions.pod:552 ../fish/guestfish-actions.pod:433
4777 msgid "This returns the size of the device in bytes."
4778 msgstr ""
4779
4780 # type: textblock
4781 #: ../src/guestfs-actions.pod:554
4782 msgid "See also C<guestfs_blockdev_getsz>."
4783 msgstr ""
4784
4785 # type: =head2
4786 #: ../src/guestfs-actions.pod:560
4787 msgid "guestfs_blockdev_getss"
4788 msgstr ""
4789
4790 # type: verbatim
4791 #: ../src/guestfs-actions.pod:562
4792 #, no-wrap
4793 msgid ""
4794 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4795 "\t\tconst char *device);\n"
4796 "\n"
4797 msgstr ""
4798
4799 # type: textblock
4800 #: ../src/guestfs-actions.pod:565 ../fish/guestfish-actions.pod:443
4801 msgid ""
4802 "This returns the size of sectors on a block device.  Usually 512, but can be "
4803 "larger for modern devices."
4804 msgstr ""
4805
4806 # type: textblock
4807 #: ../src/guestfs-actions.pod:568
4808 msgid ""
4809 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4810 "that)."
4811 msgstr ""
4812
4813 # type: =head2
4814 #: ../src/guestfs-actions.pod:575
4815 msgid "guestfs_blockdev_getsz"
4816 msgstr ""
4817
4818 # type: verbatim
4819 #: ../src/guestfs-actions.pod:577
4820 #, no-wrap
4821 msgid ""
4822 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4823 "\t\tconst char *device);\n"
4824 "\n"
4825 msgstr ""
4826
4827 # type: textblock
4828 #: ../src/guestfs-actions.pod:580 ../fish/guestfish-actions.pod:455
4829 msgid ""
4830 "This returns the size of the device in units of 512-byte sectors (even if "
4831 "the sectorsize isn't 512 bytes ... weird)."
4832 msgstr ""
4833
4834 # type: textblock
4835 #: ../src/guestfs-actions.pod:583
4836 msgid ""
4837 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4838 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4839 msgstr ""
4840
4841 # type: =head2
4842 #: ../src/guestfs-actions.pod:591
4843 msgid "guestfs_blockdev_rereadpt"
4844 msgstr ""
4845
4846 # type: verbatim
4847 #: ../src/guestfs-actions.pod:593
4848 #, no-wrap
4849 msgid ""
4850 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4851 "\t\tconst char *device);\n"
4852 "\n"
4853 msgstr ""
4854
4855 # type: textblock
4856 #: ../src/guestfs-actions.pod:596 ../fish/guestfish-actions.pod:468
4857 msgid "Reread the partition table on C<device>."
4858 msgstr ""
4859
4860 # type: =head2
4861 #: ../src/guestfs-actions.pod:602
4862 msgid "guestfs_blockdev_setbsz"
4863 msgstr ""
4864
4865 # type: verbatim
4866 #: ../src/guestfs-actions.pod:604
4867 #, no-wrap
4868 msgid ""
4869 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4870 "\t\tconst char *device,\n"
4871 "\t\tint blocksize);\n"
4872 "\n"
4873 msgstr ""
4874
4875 # type: textblock
4876 #: ../src/guestfs-actions.pod:608 ../fish/guestfish-actions.pod:476
4877 msgid "This sets the block size of a device."
4878 msgstr ""
4879
4880 # type: =head2
4881 #: ../src/guestfs-actions.pod:617
4882 msgid "guestfs_blockdev_setro"
4883 msgstr ""
4884
4885 # type: verbatim
4886 #: ../src/guestfs-actions.pod:619
4887 #, no-wrap
4888 msgid ""
4889 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4890 "\t\tconst char *device);\n"
4891 "\n"
4892 msgstr ""
4893
4894 # type: textblock
4895 #: ../src/guestfs-actions.pod:622 ../fish/guestfish-actions.pod:487
4896 msgid "Sets the block device named C<device> to read-only."
4897 msgstr ""
4898
4899 # type: =head2
4900 #: ../src/guestfs-actions.pod:628
4901 msgid "guestfs_blockdev_setrw"
4902 msgstr ""
4903
4904 # type: verbatim
4905 #: ../src/guestfs-actions.pod:630
4906 #, no-wrap
4907 msgid ""
4908 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4909 "\t\tconst char *device);\n"
4910 "\n"
4911 msgstr ""
4912
4913 # type: textblock
4914 #: ../src/guestfs-actions.pod:633 ../fish/guestfish-actions.pod:495
4915 msgid "Sets the block device named C<device> to read-write."
4916 msgstr ""
4917
4918 # type: =head2
4919 #: ../src/guestfs-actions.pod:639
4920 msgid "guestfs_case_sensitive_path"
4921 msgstr ""
4922
4923 # type: verbatim
4924 #: ../src/guestfs-actions.pod:641
4925 #, no-wrap
4926 msgid ""
4927 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4928 "\t\tconst char *path);\n"
4929 "\n"
4930 msgstr ""
4931
4932 # type: textblock
4933 #: ../src/guestfs-actions.pod:644 ../fish/guestfish-actions.pod:503
4934 msgid ""
4935 "This can be used to resolve case insensitive paths on a filesystem which is "
4936 "case sensitive.  The use case is to resolve paths which you have read from "
4937 "Windows configuration files or the Windows Registry, to the true path."
4938 msgstr ""
4939
4940 # type: textblock
4941 #: ../src/guestfs-actions.pod:649 ../fish/guestfish-actions.pod:508
4942 msgid ""
4943 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4944 "(and probably others), which is that although the underlying filesystem is "
4945 "case-insensitive, the driver exports the filesystem to Linux as "
4946 "case-sensitive."
4947 msgstr ""
4948
4949 # type: textblock
4950 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:513
4951 msgid ""
4952 "One consequence of this is that special directories such as C<c:\\windows> "
4953 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4954 "precise details of how they were created.  In Windows itself this would not "
4955 "be a problem."
4956 msgstr ""
4957
4958 # type: textblock
4959 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:519
4960 msgid ""
4961 "Bug or feature? You decide: "
4962 "L<http://www.tuxera.com/community/ntfs-3g-faq/#posixfilenames1>"
4963 msgstr ""
4964
4965 # type: textblock
4966 #: ../src/guestfs-actions.pod:663 ../fish/guestfish-actions.pod:522
4967 msgid ""
4968 "This function resolves the true case of each element in the path and returns "
4969 "the case-sensitive path."
4970 msgstr ""
4971
4972 # type: textblock
4973 #: ../src/guestfs-actions.pod:666
4974 msgid ""
4975 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return "
4976 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4977 "how the directories were originally created under Windows)."
4978 msgstr ""
4979
4980 # type: textblock
4981 #: ../src/guestfs-actions.pod:671 ../fish/guestfish-actions.pod:530
4982 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4983 msgstr ""
4984
4985 # type: textblock
4986 #: ../src/guestfs-actions.pod:674
4987 msgid "See also C<guestfs_realpath>."
4988 msgstr ""
4989
4990 # type: =head2
4991 #: ../src/guestfs-actions.pod:679
4992 msgid "guestfs_cat"
4993 msgstr ""
4994
4995 # type: verbatim
4996 #: ../src/guestfs-actions.pod:681
4997 #, no-wrap
4998 msgid ""
4999 " char *guestfs_cat (guestfs_h *g,\n"
5000 "\t\tconst char *path);\n"
5001 "\n"
5002 msgstr ""
5003
5004 # type: textblock
5005 #: ../src/guestfs-actions.pod:684 ../src/guestfs-actions.pod:4156 ../fish/guestfish-actions.pod:539 ../fish/guestfish-actions.pod:3197
5006 msgid "Return the contents of the file named C<path>."
5007 msgstr ""
5008
5009 # type: textblock
5010 #: ../src/guestfs-actions.pod:686
5011 msgid ""
5012 "Note that this function cannot correctly handle binary files (specifically, "
5013 "files containing C<\\0> character which is treated as end of string).  For "
5014 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
5015 "functions which have a more complex interface."
5016 msgstr ""
5017
5018 # type: textblock
5019 #: ../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:3973 ../src/guestfs-actions.pod:3996 ../src/guestfs-actions.pod:4104 ../src/guestfs-actions.pod:4127 ../src/guestfs-actions.pod:4148 ../src/guestfs-actions.pod:4874 ../src/guestfs-actions.pod:4926 ../src/guestfs-actions.pod:5042 ../src/guestfs-actions.pod:5063 ../src/guestfs-actions.pod:5608 ../src/guestfs-actions.pod:5631 ../src/guestfs-actions.pod:5654 ../src/guestfs-actions.pod:5670 ../src/guestfs-actions.pod:5743 ../src/guestfs-actions.pod:5759 ../src/guestfs-actions.pod:5799 ../src/guestfs-actions.pod:5815 ../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:3067 ../fish/guestfish-actions.pod:3082 ../fish/guestfish-actions.pod:3158 ../fish/guestfish-actions.pod:3175 ../fish/guestfish-actions.pod:3190 ../fish/guestfish-actions.pod:3773 ../fish/guestfish-actions.pod:3819 ../fish/guestfish-actions.pod:3904 ../fish/guestfish-actions.pod:3919 ../fish/guestfish-actions.pod:4329 ../fish/guestfish-actions.pod:4347 ../fish/guestfish-actions.pod:4364 ../fish/guestfish-actions.pod:4374 ../fish/guestfish-actions.pod:4422 ../fish/guestfish-actions.pod:4432 ../fish/guestfish-actions.pod:4461 ../fish/guestfish-actions.pod:4471
5020 msgid ""
5021 "Because of the message protocol, there is a transfer limit of somewhere "
5022 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
5023 msgstr ""
5024
5025 # type: =head2
5026 #: ../src/guestfs-actions.pod:697
5027 msgid "guestfs_checksum"
5028 msgstr ""
5029
5030 # type: verbatim
5031 #: ../src/guestfs-actions.pod:699
5032 #, no-wrap
5033 msgid ""
5034 " char *guestfs_checksum (guestfs_h *g,\n"
5035 "\t\tconst char *csumtype,\n"
5036 "\t\tconst char *path);\n"
5037 "\n"
5038 msgstr ""
5039
5040 # type: textblock
5041 #: ../src/guestfs-actions.pod:703 ../fish/guestfish-actions.pod:553
5042 msgid "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
5043 msgstr ""
5044
5045 # type: textblock
5046 #: ../src/guestfs-actions.pod:706 ../fish/guestfish-actions.pod:556
5047 msgid ""
5048 "The type of checksum to compute is given by the C<csumtype> parameter which "
5049 "must have one of the following values:"
5050 msgstr ""
5051
5052 # type: =item
5053 #: ../src/guestfs-actions.pod:711 ../fish/guestfish-actions.pod:561
5054 msgid "C<crc>"
5055 msgstr ""
5056
5057 # type: textblock
5058 #: ../src/guestfs-actions.pod:713 ../fish/guestfish-actions.pod:563
5059 msgid ""
5060 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
5061 "C<cksum> command."
5062 msgstr ""
5063
5064 # type: =item
5065 #: ../src/guestfs-actions.pod:716 ../fish/guestfish-actions.pod:566
5066 msgid "C<md5>"
5067 msgstr ""
5068
5069 # type: textblock
5070 #: ../src/guestfs-actions.pod:718 ../fish/guestfish-actions.pod:568
5071 msgid "Compute the MD5 hash (using the C<md5sum> program)."
5072 msgstr ""
5073
5074 # type: =item
5075 #: ../src/guestfs-actions.pod:720 ../fish/guestfish-actions.pod:570
5076 msgid "C<sha1>"
5077 msgstr ""
5078
5079 # type: textblock
5080 #: ../src/guestfs-actions.pod:722 ../fish/guestfish-actions.pod:572
5081 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
5082 msgstr ""
5083
5084 # type: =item
5085 #: ../src/guestfs-actions.pod:724 ../fish/guestfish-actions.pod:574
5086 msgid "C<sha224>"
5087 msgstr ""
5088
5089 # type: textblock
5090 #: ../src/guestfs-actions.pod:726 ../fish/guestfish-actions.pod:576
5091 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
5092 msgstr ""
5093
5094 # type: =item
5095 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:578
5096 msgid "C<sha256>"
5097 msgstr ""
5098
5099 # type: textblock
5100 #: ../src/guestfs-actions.pod:730 ../fish/guestfish-actions.pod:580
5101 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
5102 msgstr ""
5103
5104 # type: =item
5105 #: ../src/guestfs-actions.pod:732 ../fish/guestfish-actions.pod:582
5106 msgid "C<sha384>"
5107 msgstr ""
5108
5109 # type: textblock
5110 #: ../src/guestfs-actions.pod:734 ../fish/guestfish-actions.pod:584
5111 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
5112 msgstr ""
5113
5114 # type: =item
5115 #: ../src/guestfs-actions.pod:736 ../fish/guestfish-actions.pod:586
5116 msgid "C<sha512>"
5117 msgstr ""
5118
5119 # type: textblock
5120 #: ../src/guestfs-actions.pod:738 ../fish/guestfish-actions.pod:588
5121 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
5122 msgstr ""
5123
5124 # type: textblock
5125 #: ../src/guestfs-actions.pod:742 ../fish/guestfish-actions.pod:592
5126 msgid "The checksum is returned as a printable string."
5127 msgstr ""
5128
5129 # type: textblock
5130 #: ../src/guestfs-actions.pod:744
5131 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
5132 msgstr ""
5133
5134 # type: textblock
5135 #: ../src/guestfs-actions.pod:746
5136 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
5137 msgstr ""
5138
5139 # type: =head2
5140 #: ../src/guestfs-actions.pod:751
5141 msgid "guestfs_checksum_device"
5142 msgstr ""
5143
5144 # type: verbatim
5145 #: ../src/guestfs-actions.pod:753
5146 #, no-wrap
5147 msgid ""
5148 " char *guestfs_checksum_device (guestfs_h *g,\n"
5149 "\t\tconst char *csumtype,\n"
5150 "\t\tconst char *device);\n"
5151 "\n"
5152 msgstr ""
5153
5154 # type: textblock
5155 #: ../src/guestfs-actions.pod:757
5156 msgid ""
5157 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
5158 "device named C<device>.  For the types of checksums supported see the "
5159 "C<guestfs_checksum> command."
5160 msgstr ""
5161
5162 # type: =head2
5163 #: ../src/guestfs-actions.pod:764
5164 msgid "guestfs_checksums_out"
5165 msgstr ""
5166
5167 # type: verbatim
5168 #: ../src/guestfs-actions.pod:766
5169 #, no-wrap
5170 msgid ""
5171 " int guestfs_checksums_out (guestfs_h *g,\n"
5172 "\t\tconst char *csumtype,\n"
5173 "\t\tconst char *directory,\n"
5174 "\t\tconst char *sumsfile);\n"
5175 "\n"
5176 msgstr ""
5177
5178 # type: textblock
5179 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:610
5180 msgid ""
5181 "This command computes the checksums of all regular files in C<directory> and "
5182 "then emits a list of those checksums to the local output file C<sumsfile>."
5183 msgstr ""
5184
5185 # type: textblock
5186 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:614
5187 msgid ""
5188 "This can be used for verifying the integrity of a virtual machine.  However "
5189 "to be properly secure you should pay attention to the output of the checksum "
5190 "command (it uses the ones from GNU coreutils).  In particular when the "
5191 "filename is not printable, coreutils uses a special backslash syntax.  For "
5192 "more information, see the GNU coreutils info file."
5193 msgstr ""
5194
5195 # type: =head2
5196 #: ../src/guestfs-actions.pod:785
5197 msgid "guestfs_chmod"
5198 msgstr ""
5199
5200 # type: verbatim
5201 #: ../src/guestfs-actions.pod:787
5202 #, no-wrap
5203 msgid ""
5204 " int guestfs_chmod (guestfs_h *g,\n"
5205 "\t\tint mode,\n"
5206 "\t\tconst char *path);\n"
5207 "\n"
5208 msgstr ""
5209
5210 # type: textblock
5211 #: ../src/guestfs-actions.pod:791 ../fish/guestfish-actions.pod:628
5212 msgid ""
5213 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
5214 "supported."
5215 msgstr ""
5216
5217 # type: textblock
5218 #: ../src/guestfs-actions.pod:794 ../fish/guestfish-actions.pod:631
5219 msgid ""
5220 "I<Note>: When using this command from guestfish, C<mode> by default would be "
5221 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
5222 "C<700>."
5223 msgstr ""
5224
5225 # type: textblock
5226 #: ../src/guestfs-actions.pod:798 ../src/guestfs-actions.pod:3301 ../src/guestfs-actions.pod:3404 ../src/guestfs-actions.pod:3420 ../src/guestfs-actions.pod:3436 ../fish/guestfish-actions.pod:635 ../fish/guestfish-actions.pod:2557 ../fish/guestfish-actions.pod:2642 ../fish/guestfish-actions.pod:2652 ../fish/guestfish-actions.pod:2662
5227 msgid "The mode actually set is affected by the umask."
5228 msgstr ""
5229
5230 # type: =head2
5231 #: ../src/guestfs-actions.pod:802
5232 msgid "guestfs_chown"
5233 msgstr ""
5234
5235 # type: verbatim
5236 #: ../src/guestfs-actions.pod:804
5237 #, no-wrap
5238 msgid ""
5239 " int guestfs_chown (guestfs_h *g,\n"
5240 "\t\tint owner,\n"
5241 "\t\tint group,\n"
5242 "\t\tconst char *path);\n"
5243 "\n"
5244 msgstr ""
5245
5246 # type: textblock
5247 #: ../src/guestfs-actions.pod:809 ../fish/guestfish-actions.pod:641
5248 msgid "Change the file owner to C<owner> and group to C<group>."
5249 msgstr ""
5250
5251 # type: textblock
5252 #: ../src/guestfs-actions.pod:811 ../src/guestfs-actions.pod:2570 ../fish/guestfish-actions.pod:643 ../fish/guestfish-actions.pod:2035
5253 msgid ""
5254 "Only numeric uid and gid are supported.  If you want to use names, you will "
5255 "need to locate and parse the password file yourself (Augeas support makes "
5256 "this relatively easy)."
5257 msgstr ""
5258
5259 # type: =head2
5260 #: ../src/guestfs-actions.pod:817
5261 msgid "guestfs_command"
5262 msgstr ""
5263
5264 # type: verbatim
5265 #: ../src/guestfs-actions.pod:819
5266 #, no-wrap
5267 msgid ""
5268 " char *guestfs_command (guestfs_h *g,\n"
5269 "\t\tchar *const *arguments);\n"
5270 "\n"
5271 msgstr ""
5272
5273 # type: textblock
5274 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:651
5275 msgid ""
5276 "This call runs a command from the guest filesystem.  The filesystem must be "
5277 "mounted, and must contain a compatible operating system (ie. something "
5278 "Linux, with the same or compatible processor architecture)."
5279 msgstr ""
5280
5281 # type: textblock
5282 #: ../src/guestfs-actions.pod:827
5283 msgid ""
5284 "The single parameter is an argv-style list of arguments.  The first element "
5285 "is the name of the program to run.  Subsequent elements are parameters.  The "
5286 "list must be non-empty (ie. must contain a program name).  Note that the "
5287 "command runs directly, and is I<not> invoked via the shell (see "
5288 "C<guestfs_sh>)."
5289 msgstr ""
5290
5291 # type: textblock
5292 #: ../src/guestfs-actions.pod:834 ../fish/guestfish-actions.pod:663
5293 msgid "The return value is anything printed to I<stdout> by the command."
5294 msgstr ""
5295
5296 # type: textblock
5297 #: ../src/guestfs-actions.pod:837 ../fish/guestfish-actions.pod:666
5298 msgid ""
5299 "If the command returns a non-zero exit status, then this function returns an "
5300 "error message.  The error message string is the content of I<stderr> from "
5301 "the command."
5302 msgstr ""
5303
5304 # type: textblock
5305 #: ../src/guestfs-actions.pod:841 ../fish/guestfish-actions.pod:670
5306 msgid ""
5307 "The C<$PATH> environment variable will contain at least C</usr/bin> and "
5308 "C</bin>.  If you require a program from another location, you should provide "
5309 "the full path in the first parameter."
5310 msgstr ""
5311
5312 # type: textblock
5313 #: ../src/guestfs-actions.pod:846 ../fish/guestfish-actions.pod:675
5314 msgid ""
5315 "Shared libraries and data files required by the program must be available on "
5316 "filesystems which are mounted in the correct places.  It is the caller's "
5317 "responsibility to ensure all filesystems that are needed are mounted at the "
5318 "right locations."
5319 msgstr ""
5320
5321 # type: =head2
5322 #: ../src/guestfs-actions.pod:858
5323 msgid "guestfs_command_lines"
5324 msgstr ""
5325
5326 # type: verbatim
5327 #: ../src/guestfs-actions.pod:860
5328 #, no-wrap
5329 msgid ""
5330 " char **guestfs_command_lines (guestfs_h *g,\n"
5331 "\t\tchar *const *arguments);\n"
5332 "\n"
5333 msgstr ""
5334
5335 # type: textblock
5336 #: ../src/guestfs-actions.pod:863
5337 msgid ""
5338 "This is the same as C<guestfs_command>, but splits the result into a list of "
5339 "lines."
5340 msgstr ""
5341
5342 # type: textblock
5343 #: ../src/guestfs-actions.pod:866
5344 msgid "See also: C<guestfs_sh_lines>"
5345 msgstr ""
5346
5347 # type: =head2
5348 #: ../src/guestfs-actions.pod:875
5349 msgid "guestfs_config"
5350 msgstr ""
5351
5352 # type: verbatim
5353 #: ../src/guestfs-actions.pod:877
5354 #, no-wrap
5355 msgid ""
5356 " int guestfs_config (guestfs_h *g,\n"
5357 "\t\tconst char *qemuparam,\n"
5358 "\t\tconst char *qemuvalue);\n"
5359 "\n"
5360 msgstr ""
5361
5362 # type: textblock
5363 #: ../src/guestfs-actions.pod:881 ../fish/guestfish-actions.pod:700
5364 msgid ""
5365 "This can be used to add arbitrary qemu command line parameters of the form "
5366 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
5367 "setting some parameters which would interfere with parameters that we use."
5368 msgstr ""
5369
5370 # type: textblock
5371 #: ../src/guestfs-actions.pod:886 ../fish/guestfish-actions.pod:705
5372 msgid "The first character of C<param> string must be a C<-> (dash)."
5373 msgstr ""
5374
5375 # type: textblock
5376 #: ../src/guestfs-actions.pod:888 ../fish/guestfish-actions.pod:707
5377 msgid "C<value> can be NULL."
5378 msgstr ""
5379
5380 # type: =head2
5381 #: ../src/guestfs-actions.pod:892
5382 msgid "guestfs_copy_size"
5383 msgstr ""
5384
5385 # type: verbatim
5386 #: ../src/guestfs-actions.pod:894
5387 #, no-wrap
5388 msgid ""
5389 " int guestfs_copy_size (guestfs_h *g,\n"
5390 "\t\tconst char *src,\n"
5391 "\t\tconst char *dest,\n"
5392 "\t\tint64_t size);\n"
5393 "\n"
5394 msgstr ""
5395
5396 # type: textblock
5397 #: ../src/guestfs-actions.pod:899 ../fish/guestfish-actions.pod:713
5398 msgid ""
5399 "This command copies exactly C<size> bytes from one source device or file "
5400 "C<src> to another destination device or file C<dest>."
5401 msgstr ""
5402
5403 # type: textblock
5404 #: ../src/guestfs-actions.pod:902 ../fish/guestfish-actions.pod:716
5405 msgid ""
5406 "Note this will fail if the source is too short or if the destination is not "
5407 "large enough."
5408 msgstr ""
5409
5410 # type: textblock
5411 #: ../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:5688 ../src/guestfs-actions.pod:5704
5412 msgid ""
5413 "This long-running command can generate progress notification messages so "
5414 "that the caller can display a progress bar or indicator.  To receive these "
5415 "messages, the caller must register a progress callback.  See "
5416 "L<guestfs(3)/guestfs_set_progress_callback>."
5417 msgstr ""
5418
5419 # type: =head2
5420 #: ../src/guestfs-actions.pod:912
5421 msgid "guestfs_cp"
5422 msgstr ""
5423
5424 # type: verbatim
5425 #: ../src/guestfs-actions.pod:914
5426 #, no-wrap
5427 msgid ""
5428 " int guestfs_cp (guestfs_h *g,\n"
5429 "\t\tconst char *src,\n"
5430 "\t\tconst char *dest);\n"
5431 "\n"
5432 msgstr ""
5433
5434 # type: textblock
5435 #: ../src/guestfs-actions.pod:918 ../fish/guestfish-actions.pod:723
5436 msgid ""
5437 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5438 "destination filename or destination directory."
5439 msgstr ""
5440
5441 # type: =head2
5442 #: ../src/guestfs-actions.pod:923
5443 msgid "guestfs_cp_a"
5444 msgstr ""
5445
5446 # type: verbatim
5447 #: ../src/guestfs-actions.pod:925
5448 #, no-wrap
5449 msgid ""
5450 " int guestfs_cp_a (guestfs_h *g,\n"
5451 "\t\tconst char *src,\n"
5452 "\t\tconst char *dest);\n"
5453 "\n"
5454 msgstr ""
5455
5456 # type: textblock
5457 #: ../src/guestfs-actions.pod:929 ../fish/guestfish-actions.pod:730
5458 msgid ""
5459 "This copies a file or directory from C<src> to C<dest> recursively using the "
5460 "C<cp -a> command."
5461 msgstr ""
5462
5463 # type: =head2
5464 #: ../src/guestfs-actions.pod:934
5465 msgid "guestfs_dd"
5466 msgstr ""
5467
5468 # type: verbatim
5469 #: ../src/guestfs-actions.pod:936
5470 #, no-wrap
5471 msgid ""
5472 " int guestfs_dd (guestfs_h *g,\n"
5473 "\t\tconst char *src,\n"
5474 "\t\tconst char *dest);\n"
5475 "\n"
5476 msgstr ""
5477
5478 # type: textblock
5479 #: ../src/guestfs-actions.pod:940 ../fish/guestfish-actions.pod:737
5480 msgid ""
5481 "This command copies from one source device or file C<src> to another "
5482 "destination device or file C<dest>.  Normally you would use this to copy to "
5483 "or from a device or partition, for example to duplicate a filesystem."
5484 msgstr ""
5485
5486 # type: textblock
5487 #: ../src/guestfs-actions.pod:945
5488 msgid ""
5489 "If the destination is a device, it must be as large or larger than the "
5490 "source file or device, otherwise the copy will fail.  This command cannot do "
5491 "partial copies (see C<guestfs_copy_size>)."
5492 msgstr ""
5493
5494 # type: =head2
5495 #: ../src/guestfs-actions.pod:951
5496 msgid "guestfs_debug"
5497 msgstr ""
5498
5499 # type: verbatim
5500 #: ../src/guestfs-actions.pod:953
5501 #, no-wrap
5502 msgid ""
5503 " char *guestfs_debug (guestfs_h *g,\n"
5504 "\t\tconst char *subcmd,\n"
5505 "\t\tchar *const *extraargs);\n"
5506 "\n"
5507 msgstr ""
5508
5509 # type: textblock
5510 #: ../src/guestfs-actions.pod:957
5511 msgid ""
5512 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5513 "guestfs daemon) that runs inside the qemu subprocess."
5514 msgstr ""
5515
5516 # type: textblock
5517 #: ../src/guestfs-actions.pod:961 ../fish/guestfish-actions.pod:754
5518 msgid ""
5519 "There is no comprehensive help for this command.  You have to look at the "
5520 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5521 msgstr ""
5522
5523 # type: =head2
5524 #: ../src/guestfs-actions.pod:968
5525 msgid "guestfs_debug_upload"
5526 msgstr ""
5527
5528 # type: verbatim
5529 #: ../src/guestfs-actions.pod:970
5530 #, no-wrap
5531 msgid ""
5532 " int guestfs_debug_upload (guestfs_h *g,\n"
5533 "\t\tconst char *filename,\n"
5534 "\t\tconst char *tmpname,\n"
5535 "\t\tint mode);\n"
5536 "\n"
5537 msgstr ""
5538
5539 # type: textblock
5540 #: ../src/guestfs-actions.pod:975
5541 msgid ""
5542 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5543 "appliance."
5544 msgstr ""
5545
5546 # type: textblock
5547 #: ../src/guestfs-actions.pod:978 ../fish/guestfish-actions.pod:765
5548 msgid ""
5549 "There is no comprehensive help for this command.  You have to look at the "
5550 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5551 msgstr ""
5552
5553 # type: =head2
5554 #: ../src/guestfs-actions.pod:984
5555 msgid "guestfs_df"
5556 msgstr ""
5557
5558 # type: verbatim
5559 #: ../src/guestfs-actions.pod:986
5560 #, no-wrap
5561 msgid ""
5562 " char *guestfs_df (guestfs_h *g);\n"
5563 "\n"
5564 msgstr ""
5565
5566 # type: textblock
5567 #: ../src/guestfs-actions.pod:988 ../fish/guestfish-actions.pod:775
5568 msgid "This command runs the C<df> command to report disk space used."
5569 msgstr ""
5570
5571 # type: textblock
5572 #: ../src/guestfs-actions.pod:990 ../src/guestfs-actions.pod:1004 ../fish/guestfish-actions.pod:777 ../fish/guestfish-actions.pod:788
5573 msgid ""
5574 "This command is mostly useful for interactive sessions.  It is I<not> "
5575 "intended that you try to parse the output string.  Use C<statvfs> from "
5576 "programs."
5577 msgstr ""
5578
5579 # type: =head2
5580 #: ../src/guestfs-actions.pod:997
5581 msgid "guestfs_df_h"
5582 msgstr ""
5583
5584 # type: verbatim
5585 #: ../src/guestfs-actions.pod:999
5586 #, no-wrap
5587 msgid ""
5588 " char *guestfs_df_h (guestfs_h *g);\n"
5589 "\n"
5590 msgstr ""
5591
5592 # type: textblock
5593 #: ../src/guestfs-actions.pod:1001 ../fish/guestfish-actions.pod:785
5594 msgid ""
5595 "This command runs the C<df -h> command to report disk space used in "
5596 "human-readable format."
5597 msgstr ""
5598
5599 # type: =head2
5600 #: ../src/guestfs-actions.pod:1011
5601 msgid "guestfs_dmesg"
5602 msgstr ""
5603
5604 # type: verbatim
5605 #: ../src/guestfs-actions.pod:1013
5606 #, no-wrap
5607 msgid ""
5608 " char *guestfs_dmesg (guestfs_h *g);\n"
5609 "\n"
5610 msgstr ""
5611
5612 # type: textblock
5613 #: ../src/guestfs-actions.pod:1015 ../fish/guestfish-actions.pod:796
5614 msgid ""
5615 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5616 "This is sometimes useful for extended debugging of problems."
5617 msgstr ""
5618
5619 # type: textblock
5620 #: ../src/guestfs-actions.pod:1019
5621 msgid ""
5622 "Another way to get the same information is to enable verbose messages with "
5623 "C<guestfs_set_verbose> or by setting the environment variable "
5624 "C<LIBGUESTFS_DEBUG=1> before running the program."
5625 msgstr ""
5626
5627 # type: =head2
5628 #: ../src/guestfs-actions.pod:1027
5629 msgid "guestfs_download"
5630 msgstr ""
5631
5632 # type: verbatim
5633 #: ../src/guestfs-actions.pod:1029
5634 #, no-wrap
5635 msgid ""
5636 " int guestfs_download (guestfs_h *g,\n"
5637 "\t\tconst char *remotefilename,\n"
5638 "\t\tconst char *filename);\n"
5639 "\n"
5640 msgstr ""
5641
5642 # type: textblock
5643 #: ../src/guestfs-actions.pod:1033 ../src/guestfs-actions.pod:1055 ../fish/guestfish-actions.pod:809 ../fish/guestfish-actions.pod:822
5644 msgid ""
5645 "Download file C<remotefilename> and save it as C<filename> on the local "
5646 "machine."
5647 msgstr ""
5648
5649 # type: textblock
5650 #: ../src/guestfs-actions.pod:1036 ../src/guestfs-actions.pod:5256 ../fish/guestfish-actions.pod:812 ../fish/guestfish-actions.pod:4077
5651 msgid "C<filename> can also be a named pipe."
5652 msgstr ""
5653
5654 # type: textblock
5655 #: ../src/guestfs-actions.pod:1038
5656 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5657 msgstr ""
5658
5659 # type: =head2
5660 #: ../src/guestfs-actions.pod:1047
5661 msgid "guestfs_download_offset"
5662 msgstr ""
5663
5664 # type: verbatim
5665 #: ../src/guestfs-actions.pod:1049
5666 #, no-wrap
5667 msgid ""
5668 " int guestfs_download_offset (guestfs_h *g,\n"
5669 "\t\tconst char *remotefilename,\n"
5670 "\t\tconst char *filename,\n"
5671 "\t\tint64_t offset,\n"
5672 "\t\tint64_t size);\n"
5673 "\n"
5674 msgstr ""
5675
5676 # type: textblock
5677 #: ../src/guestfs-actions.pod:1058 ../fish/guestfish-actions.pod:825
5678 msgid ""
5679 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
5680 "region must be within the file or device)."
5681 msgstr ""
5682
5683 # type: textblock
5684 #: ../src/guestfs-actions.pod:1061
5685 msgid ""
5686 "Note that there is no limit on the amount of data that can be downloaded "
5687 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
5688 "full amount unless an error occurs."
5689 msgstr ""
5690
5691 # type: textblock
5692 #: ../src/guestfs-actions.pod:1066
5693 msgid "See also C<guestfs_download>, C<guestfs_pread>."
5694 msgstr ""
5695
5696 # type: =head2
5697 #: ../src/guestfs-actions.pod:1075
5698 msgid "guestfs_drop_caches"
5699 msgstr ""
5700
5701 # type: verbatim
5702 #: ../src/guestfs-actions.pod:1077
5703 #, no-wrap
5704 msgid ""
5705 " int guestfs_drop_caches (guestfs_h *g,\n"
5706 "\t\tint whattodrop);\n"
5707 "\n"
5708 msgstr ""
5709
5710 # type: textblock
5711 #: ../src/guestfs-actions.pod:1080 ../fish/guestfish-actions.pod:841
5712 msgid ""
5713 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5714 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5715 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5716 msgstr ""
5717
5718 # type: textblock
5719 #: ../src/guestfs-actions.pod:1085 ../fish/guestfish-actions.pod:846
5720 msgid "Setting C<whattodrop> to 3 should drop everything."
5721 msgstr ""
5722
5723 # type: textblock
5724 #: ../src/guestfs-actions.pod:1087 ../fish/guestfish-actions.pod:848
5725 msgid ""
5726 "This automatically calls L<sync(2)> before the operation, so that the "
5727 "maximum guest memory is freed."
5728 msgstr ""
5729
5730 # type: =head2
5731 #: ../src/guestfs-actions.pod:1092
5732 msgid "guestfs_du"
5733 msgstr ""
5734
5735 # type: verbatim
5736 #: ../src/guestfs-actions.pod:1094
5737 #, no-wrap
5738 msgid ""
5739 " int64_t guestfs_du (guestfs_h *g,\n"
5740 "\t\tconst char *path);\n"
5741 "\n"
5742 msgstr ""
5743
5744 # type: textblock
5745 #: ../src/guestfs-actions.pod:1097 ../fish/guestfish-actions.pod:855
5746 msgid ""
5747 "This command runs the C<du -s> command to estimate file space usage for "
5748 "C<path>."
5749 msgstr ""
5750
5751 # type: textblock
5752 #: ../src/guestfs-actions.pod:1100 ../fish/guestfish-actions.pod:858
5753 msgid ""
5754 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5755 "estimate includes the contents of the directory and all subdirectories "
5756 "(recursively)."
5757 msgstr ""
5758
5759 # type: textblock
5760 #: ../src/guestfs-actions.pod:1104 ../fish/guestfish-actions.pod:862
5761 msgid "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5762 msgstr ""
5763
5764 # type: =head2
5765 #: ../src/guestfs-actions.pod:1109
5766 msgid "guestfs_e2fsck_f"
5767 msgstr ""
5768
5769 # type: verbatim
5770 #: ../src/guestfs-actions.pod:1111
5771 #, no-wrap
5772 msgid ""
5773 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5774 "\t\tconst char *device);\n"
5775 "\n"
5776 msgstr ""
5777
5778 # type: textblock
5779 #: ../src/guestfs-actions.pod:1114 ../fish/guestfish-actions.pod:869
5780 msgid ""
5781 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5782 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5783 "clean (C<-f>)."
5784 msgstr ""
5785
5786 # type: textblock
5787 #: ../src/guestfs-actions.pod:1118
5788 msgid ""
5789 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5790 "Normally you should use C<guestfs_fsck>."
5791 msgstr ""
5792
5793 # type: =head2
5794 #: ../src/guestfs-actions.pod:1123
5795 msgid "guestfs_echo_daemon"
5796 msgstr ""
5797
5798 # type: verbatim
5799 #: ../src/guestfs-actions.pod:1125
5800 #, no-wrap
5801 msgid ""
5802 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5803 "\t\tchar *const *words);\n"
5804 "\n"
5805 msgstr ""
5806
5807 # type: textblock
5808 #: ../src/guestfs-actions.pod:1128 ../fish/guestfish-actions.pod:880
5809 msgid ""
5810 "This command concatenates the list of C<words> passed with single spaces "
5811 "between them and returns the resulting string."
5812 msgstr ""
5813
5814 # type: textblock
5815 #: ../src/guestfs-actions.pod:1131 ../fish/guestfish-actions.pod:883
5816 msgid "You can use this command to test the connection through to the daemon."
5817 msgstr ""
5818
5819 # type: textblock
5820 #: ../src/guestfs-actions.pod:1133
5821 msgid "See also C<guestfs_ping_daemon>."
5822 msgstr ""
5823
5824 # type: =head2
5825 #: ../src/guestfs-actions.pod:1138
5826 msgid "guestfs_egrep"
5827 msgstr ""
5828
5829 # type: verbatim
5830 #: ../src/guestfs-actions.pod:1140
5831 #, no-wrap
5832 msgid ""
5833 " char **guestfs_egrep (guestfs_h *g,\n"
5834 "\t\tconst char *regex,\n"
5835 "\t\tconst char *path);\n"
5836 "\n"
5837 msgstr ""
5838
5839 # type: textblock
5840 #: ../src/guestfs-actions.pod:1144 ../fish/guestfish-actions.pod:891
5841 msgid "This calls the external C<egrep> program and returns the matching lines."
5842 msgstr ""
5843
5844 # type: =head2
5845 #: ../src/guestfs-actions.pod:1154
5846 msgid "guestfs_egrepi"
5847 msgstr ""
5848
5849 # type: verbatim
5850 #: ../src/guestfs-actions.pod:1156
5851 #, no-wrap
5852 msgid ""
5853 " char **guestfs_egrepi (guestfs_h *g,\n"
5854 "\t\tconst char *regex,\n"
5855 "\t\tconst char *path);\n"
5856 "\n"
5857 msgstr ""
5858
5859 # type: textblock
5860 #: ../src/guestfs-actions.pod:1160 ../fish/guestfish-actions.pod:901
5861 msgid "This calls the external C<egrep -i> program and returns the matching lines."
5862 msgstr ""
5863
5864 # type: =head2
5865 #: ../src/guestfs-actions.pod:1170
5866 msgid "guestfs_equal"
5867 msgstr ""
5868
5869 # type: verbatim
5870 #: ../src/guestfs-actions.pod:1172
5871 #, no-wrap
5872 msgid ""
5873 " int guestfs_equal (guestfs_h *g,\n"
5874 "\t\tconst char *file1,\n"
5875 "\t\tconst char *file2);\n"
5876 "\n"
5877 msgstr ""
5878
5879 # type: textblock
5880 #: ../src/guestfs-actions.pod:1176 ../fish/guestfish-actions.pod:911
5881 msgid ""
5882 "This compares the two files C<file1> and C<file2> and returns true if their "
5883 "content is exactly equal, or false otherwise."
5884 msgstr ""
5885
5886 # type: textblock
5887 #: ../src/guestfs-actions.pod:1179 ../fish/guestfish-actions.pod:914
5888 msgid "The external L<cmp(1)> program is used for the comparison."
5889 msgstr ""
5890
5891 # type: =head2
5892 #: ../src/guestfs-actions.pod:1183
5893 msgid "guestfs_exists"
5894 msgstr ""
5895
5896 # type: verbatim
5897 #: ../src/guestfs-actions.pod:1185
5898 #, no-wrap
5899 msgid ""
5900 " int guestfs_exists (guestfs_h *g,\n"
5901 "\t\tconst char *path);\n"
5902 "\n"
5903 msgstr ""
5904
5905 # type: textblock
5906 #: ../src/guestfs-actions.pod:1188 ../fish/guestfish-actions.pod:920
5907 msgid ""
5908 "This returns C<true> if and only if there is a file, directory (or anything) "
5909 "with the given C<path> name."
5910 msgstr ""
5911
5912 # type: textblock
5913 #: ../src/guestfs-actions.pod:1191
5914 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5915 msgstr ""
5916
5917 # type: =head2
5918 #: ../src/guestfs-actions.pod:1195
5919 msgid "guestfs_fallocate"
5920 msgstr ""
5921
5922 # type: verbatim
5923 #: ../src/guestfs-actions.pod:1197
5924 #, no-wrap
5925 msgid ""
5926 " int guestfs_fallocate (guestfs_h *g,\n"
5927 "\t\tconst char *path,\n"
5928 "\t\tint len);\n"
5929 "\n"
5930 msgstr ""
5931
5932 # type: textblock
5933 #: ../src/guestfs-actions.pod:1201 ../src/guestfs-actions.pod:1224 ../fish/guestfish-actions.pod:929 ../fish/guestfish-actions.pod:948
5934 msgid ""
5935 "This command preallocates a file (containing zero bytes) named C<path> of "
5936 "size C<len> bytes.  If the file exists already, it is overwritten."
5937 msgstr ""
5938
5939 # type: textblock
5940 #: ../src/guestfs-actions.pod:1205 ../fish/guestfish-actions.pod:933
5941 msgid ""
5942 "Do not confuse this with the guestfish-specific C<alloc> command which "
5943 "allocates a file in the host and attaches it as a device."
5944 msgstr ""
5945
5946 # type: textblock
5947 #: ../src/guestfs-actions.pod:1211 ../fish/guestfish-actions.pod:937
5948 msgid ""
5949 "This function is deprecated.  In new code, use the C<fallocate64> call "
5950 "instead."
5951 msgstr ""
5952
5953 # type: =head2
5954 #: ../src/guestfs-actions.pod:1218
5955 msgid "guestfs_fallocate64"
5956 msgstr ""
5957
5958 # type: verbatim
5959 #: ../src/guestfs-actions.pod:1220
5960 #, no-wrap
5961 msgid ""
5962 " int guestfs_fallocate64 (guestfs_h *g,\n"
5963 "\t\tconst char *path,\n"
5964 "\t\tint64_t len);\n"
5965 "\n"
5966 msgstr ""
5967
5968 # type: textblock
5969 #: ../src/guestfs-actions.pod:1228
5970 msgid ""
5971 "Note that this call allocates disk blocks for the file.  To create a sparse "
5972 "file use C<guestfs_truncate_size> instead."
5973 msgstr ""
5974
5975 # type: textblock
5976 #: ../src/guestfs-actions.pod:1231
5977 msgid ""
5978 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5979 "oversight it only allowed 30 bit lengths to be specified, effectively "
5980 "limiting the maximum size of files created through that call to 1GB."
5981 msgstr ""
5982
5983 # type: textblock
5984 #: ../src/guestfs-actions.pod:1236 ../fish/guestfish-actions.pod:960
5985 msgid ""
5986 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5987 "commands which create a file in the host and attach it as a device."
5988 msgstr ""
5989
5990 # type: =head2
5991 #: ../src/guestfs-actions.pod:1242
5992 msgid "guestfs_fgrep"
5993 msgstr ""
5994
5995 # type: verbatim
5996 #: ../src/guestfs-actions.pod:1244
5997 #, no-wrap
5998 msgid ""
5999 " char **guestfs_fgrep (guestfs_h *g,\n"
6000 "\t\tconst char *pattern,\n"
6001 "\t\tconst char *path);\n"
6002 "\n"
6003 msgstr ""
6004
6005 # type: textblock
6006 #: ../src/guestfs-actions.pod:1248 ../fish/guestfish-actions.pod:968
6007 msgid "This calls the external C<fgrep> program and returns the matching lines."
6008 msgstr ""
6009
6010 # type: =head2
6011 #: ../src/guestfs-actions.pod:1258
6012 msgid "guestfs_fgrepi"
6013 msgstr ""
6014
6015 # type: verbatim
6016 #: ../src/guestfs-actions.pod:1260
6017 #, no-wrap
6018 msgid ""
6019 " char **guestfs_fgrepi (guestfs_h *g,\n"
6020 "\t\tconst char *pattern,\n"
6021 "\t\tconst char *path);\n"
6022 "\n"
6023 msgstr ""
6024
6025 # type: textblock
6026 #: ../src/guestfs-actions.pod:1264 ../fish/guestfish-actions.pod:978
6027 msgid "This calls the external C<fgrep -i> program and returns the matching lines."
6028 msgstr ""
6029
6030 # type: =head2
6031 #: ../src/guestfs-actions.pod:1274
6032 msgid "guestfs_file"
6033 msgstr ""
6034
6035 # type: verbatim
6036 #: ../src/guestfs-actions.pod:1276
6037 #, no-wrap
6038 msgid ""
6039 " char *guestfs_file (guestfs_h *g,\n"
6040 "\t\tconst char *path);\n"
6041 "\n"
6042 msgstr ""
6043
6044 # type: textblock
6045 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:988
6046 msgid ""
6047 "This call uses the standard L<file(1)> command to determine the type or "
6048 "contents of the file."
6049 msgstr ""
6050
6051 # type: textblock
6052 #: ../src/guestfs-actions.pod:1282 ../fish/guestfish-actions.pod:991
6053 msgid ""
6054 "This call will also transparently look inside various types of compressed "
6055 "file."
6056 msgstr ""
6057
6058 # type: textblock
6059 #: ../src/guestfs-actions.pod:1285 ../fish/guestfish-actions.pod:994
6060 msgid ""
6061 "The exact command which runs is C<file -zb path>.  Note in particular that "
6062 "the filename is not prepended to the output (the C<-b> option)."
6063 msgstr ""
6064
6065 # type: textblock
6066 #: ../src/guestfs-actions.pod:1289
6067 msgid ""
6068 "This command can also be used on C</dev/> devices (and partitions, LV "
6069 "names).  You can for example use this to determine if a device contains a "
6070 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
6071 msgstr ""
6072
6073 # type: textblock
6074 #: ../src/guestfs-actions.pod:1294 ../fish/guestfish-actions.pod:1003
6075 msgid ""
6076 "If the C<path> does not begin with C</dev/> then this command only works for "
6077 "the content of regular files.  For other file types (directory, symbolic "
6078 "link etc) it will just return the string C<directory> etc."
6079 msgstr ""
6080
6081 # type: =head2
6082 #: ../src/guestfs-actions.pod:1302
6083 msgid "guestfs_file_architecture"
6084 msgstr ""
6085
6086 # type: verbatim
6087 #: ../src/guestfs-actions.pod:1304
6088 #, no-wrap
6089 msgid ""
6090 " char *guestfs_file_architecture (guestfs_h *g,\n"
6091 "\t\tconst char *filename);\n"
6092 "\n"
6093 msgstr ""
6094
6095 # type: textblock
6096 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1012
6097 msgid ""
6098 "This detects the architecture of the binary C<filename>, and returns it if "
6099 "known."
6100 msgstr ""
6101
6102 # type: textblock
6103 #: ../src/guestfs-actions.pod:1310 ../fish/guestfish-actions.pod:1015
6104 msgid "Currently defined architectures are:"
6105 msgstr ""
6106
6107 # type: =item
6108 #: ../src/guestfs-actions.pod:1314 ../fish/guestfish-actions.pod:1019
6109 msgid "\"i386\""
6110 msgstr ""
6111
6112 # type: textblock
6113 #: ../src/guestfs-actions.pod:1316 ../fish/guestfish-actions.pod:1021
6114 msgid ""
6115 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
6116 "irrespective of the precise processor requirements of the binary."
6117 msgstr ""
6118
6119 # type: =item
6120 #: ../src/guestfs-actions.pod:1319 ../fish/guestfish-actions.pod:1024
6121 msgid "\"x86_64\""
6122 msgstr ""
6123
6124 # type: textblock
6125 #: ../src/guestfs-actions.pod:1321 ../fish/guestfish-actions.pod:1026
6126 msgid "64 bit x86-64."
6127 msgstr ""
6128
6129 # type: =item
6130 #: ../src/guestfs-actions.pod:1323 ../fish/guestfish-actions.pod:1028
6131 msgid "\"sparc\""
6132 msgstr ""
6133
6134 # type: textblock
6135 #: ../src/guestfs-actions.pod:1325 ../fish/guestfish-actions.pod:1030
6136 msgid "32 bit SPARC."
6137 msgstr ""
6138
6139 # type: =item
6140 #: ../src/guestfs-actions.pod:1327 ../fish/guestfish-actions.pod:1032
6141 msgid "\"sparc64\""
6142 msgstr ""
6143
6144 # type: textblock
6145 #: ../src/guestfs-actions.pod:1329 ../fish/guestfish-actions.pod:1034
6146 msgid "64 bit SPARC V9 and above."
6147 msgstr ""
6148
6149 # type: =item
6150 #: ../src/guestfs-actions.pod:1331 ../fish/guestfish-actions.pod:1036
6151 msgid "\"ia64\""
6152 msgstr ""
6153
6154 # type: textblock
6155 #: ../src/guestfs-actions.pod:1333 ../fish/guestfish-actions.pod:1038
6156 msgid "Intel Itanium."
6157 msgstr ""
6158
6159 # type: =item
6160 #: ../src/guestfs-actions.pod:1335 ../fish/guestfish-actions.pod:1040
6161 msgid "\"ppc\""
6162 msgstr ""
6163
6164 # type: textblock
6165 #: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:1042
6166 msgid "32 bit Power PC."
6167 msgstr ""
6168
6169 # type: =item
6170 #: ../src/guestfs-actions.pod:1339 ../fish/guestfish-actions.pod:1044
6171 msgid "\"ppc64\""
6172 msgstr ""
6173
6174 # type: textblock
6175 #: ../src/guestfs-actions.pod:1341 ../fish/guestfish-actions.pod:1046
6176 msgid "64 bit Power PC."
6177 msgstr ""
6178
6179 # type: textblock
6180 #: ../src/guestfs-actions.pod:1345 ../fish/guestfish-actions.pod:1050
6181 msgid "Libguestfs may return other architecture strings in future."
6182 msgstr ""
6183
6184 # type: textblock
6185 #: ../src/guestfs-actions.pod:1347 ../fish/guestfish-actions.pod:1052
6186 msgid "The function works on at least the following types of files:"
6187 msgstr ""
6188
6189 # type: textblock
6190 #: ../src/guestfs-actions.pod:1353 ../fish/guestfish-actions.pod:1058
6191 msgid "many types of Un*x and Linux binary"
6192 msgstr ""
6193
6194 # type: textblock
6195 #: ../src/guestfs-actions.pod:1357 ../fish/guestfish-actions.pod:1062
6196 msgid "many types of Un*x and Linux shared library"
6197 msgstr ""
6198
6199 # type: textblock
6200 #: ../src/guestfs-actions.pod:1361 ../fish/guestfish-actions.pod:1066
6201 msgid "Windows Win32 and Win64 binaries"
6202 msgstr ""
6203
6204 # type: textblock
6205 #: ../src/guestfs-actions.pod:1365 ../fish/guestfish-actions.pod:1070
6206 msgid "Windows Win32 and Win64 DLLs"
6207 msgstr ""
6208
6209 # type: textblock
6210 #: ../src/guestfs-actions.pod:1367 ../fish/guestfish-actions.pod:1072
6211 msgid "Win32 binaries and DLLs return C<i386>."
6212 msgstr ""
6213
6214 # type: textblock
6215 #: ../src/guestfs-actions.pod:1369 ../fish/guestfish-actions.pod:1074
6216 msgid "Win64 binaries and DLLs return C<x86_64>."
6217 msgstr ""
6218
6219 # type: textblock
6220 #: ../src/guestfs-actions.pod:1373 ../fish/guestfish-actions.pod:1078
6221 msgid "Linux kernel modules"
6222 msgstr ""
6223
6224 # type: textblock
6225 #: ../src/guestfs-actions.pod:1377 ../fish/guestfish-actions.pod:1082
6226 msgid "Linux new-style initrd images"
6227 msgstr ""
6228
6229 # type: textblock
6230 #: ../src/guestfs-actions.pod:1381 ../fish/guestfish-actions.pod:1086
6231 msgid "some non-x86 Linux vmlinuz kernels"
6232 msgstr ""
6233
6234 # type: textblock
6235 #: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:1090
6236 msgid "What it can't do currently:"
6237 msgstr ""
6238
6239 # type: textblock
6240 #: ../src/guestfs-actions.pod:1391 ../fish/guestfish-actions.pod:1096
6241 msgid "static libraries (libfoo.a)"
6242 msgstr ""
6243
6244 # type: textblock
6245 #: ../src/guestfs-actions.pod:1395 ../fish/guestfish-actions.pod:1100
6246 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6247 msgstr ""
6248
6249 # type: textblock
6250 #: ../src/guestfs-actions.pod:1399 ../fish/guestfish-actions.pod:1104
6251 msgid "x86 Linux vmlinuz kernels"
6252 msgstr ""
6253
6254 # type: textblock
6255 #: ../src/guestfs-actions.pod:1401 ../fish/guestfish-actions.pod:1106
6256 msgid ""
6257 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
6258 "compressed code, and are horribly hard to unpack.  If you want to find the "
6259 "architecture of a kernel, use the architecture of the associated initrd or "
6260 "kernel module(s) instead."
6261 msgstr ""
6262
6263 # type: =head2
6264 #: ../src/guestfs-actions.pod:1411
6265 msgid "guestfs_filesize"
6266 msgstr ""
6267
6268 # type: verbatim
6269 #: ../src/guestfs-actions.pod:1413
6270 #, no-wrap
6271 msgid ""
6272 " int64_t guestfs_filesize (guestfs_h *g,\n"
6273 "\t\tconst char *file);\n"
6274 "\n"
6275 msgstr ""
6276
6277 # type: textblock
6278 #: ../src/guestfs-actions.pod:1416 ../fish/guestfish-actions.pod:1117
6279 msgid "This command returns the size of C<file> in bytes."
6280 msgstr ""
6281
6282 # type: textblock
6283 #: ../src/guestfs-actions.pod:1418
6284 msgid ""
6285 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
6286 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
6287 "devices, use C<guestfs_blockdev_getsize64>."
6288 msgstr ""
6289
6290 # type: =head2
6291 #: ../src/guestfs-actions.pod:1424
6292 msgid "guestfs_fill"
6293 msgstr ""
6294
6295 # type: verbatim
6296 #: ../src/guestfs-actions.pod:1426
6297 #, no-wrap
6298 msgid ""
6299 " int guestfs_fill (guestfs_h *g,\n"
6300 "\t\tint c,\n"
6301 "\t\tint len,\n"
6302 "\t\tconst char *path);\n"
6303 "\n"
6304 msgstr ""
6305
6306 # type: textblock
6307 #: ../src/guestfs-actions.pod:1431 ../fish/guestfish-actions.pod:1127
6308 msgid ""
6309 "This command creates a new file called C<path>.  The initial content of the "
6310 "file is C<len> octets of C<c>, where C<c> must be a number in the range "
6311 "C<[0..255]>."
6312 msgstr ""
6313
6314 # type: textblock
6315 #: ../src/guestfs-actions.pod:1435
6316 msgid ""
6317 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
6318 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
6319 "bytes use C<guestfs_fill_pattern>."
6320 msgstr ""
6321
6322 # type: =head2
6323 #: ../src/guestfs-actions.pod:1447
6324 msgid "guestfs_fill_pattern"
6325 msgstr ""
6326
6327 # type: verbatim
6328 #: ../src/guestfs-actions.pod:1449
6329 #, no-wrap
6330 msgid ""
6331 " int guestfs_fill_pattern (guestfs_h *g,\n"
6332 "\t\tconst char *pattern,\n"
6333 "\t\tint len,\n"
6334 "\t\tconst char *path);\n"
6335 "\n"
6336 msgstr ""
6337
6338 # type: textblock
6339 #: ../src/guestfs-actions.pod:1454
6340 msgid ""
6341 "This function is like C<guestfs_fill> except that it creates a new file of "
6342 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
6343 "pattern is truncated if necessary to ensure the length of the file is "
6344 "exactly C<len> bytes."
6345 msgstr ""
6346
6347 # type: =head2
6348 #: ../src/guestfs-actions.pod:1466
6349 msgid "guestfs_find"
6350 msgstr ""
6351
6352 # type: verbatim
6353 #: ../src/guestfs-actions.pod:1468
6354 #, no-wrap
6355 msgid ""
6356 " char **guestfs_find (guestfs_h *g,\n"
6357 "\t\tconst char *directory);\n"
6358 "\n"
6359 msgstr ""
6360
6361 # type: textblock
6362 #: ../src/guestfs-actions.pod:1471 ../fish/guestfish-actions.pod:1149
6363 msgid ""
6364 "This command lists out all files and directories, recursively, starting at "
6365 "C<directory>.  It is essentially equivalent to running the shell command "
6366 "C<find directory -print> but some post-processing happens on the output, "
6367 "described below."
6368 msgstr ""
6369
6370 # type: textblock
6371 #: ../src/guestfs-actions.pod:1476 ../fish/guestfish-actions.pod:1154
6372 msgid ""
6373 "This returns a list of strings I<without any prefix>.  Thus if the directory "
6374 "structure was:"
6375 msgstr ""
6376
6377 # type: verbatim
6378 #: ../src/guestfs-actions.pod:1479 ../fish/guestfish-actions.pod:1157
6379 #, no-wrap
6380 msgid ""
6381 " /tmp/a\n"
6382 " /tmp/b\n"
6383 " /tmp/c/d\n"
6384 "\n"
6385 msgstr ""
6386
6387 # type: textblock
6388 #: ../src/guestfs-actions.pod:1483
6389 msgid "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
6390 msgstr ""
6391
6392 # type: verbatim
6393 #: ../src/guestfs-actions.pod:1486 ../fish/guestfish-actions.pod:1164
6394 #, no-wrap
6395 msgid ""
6396 " a\n"
6397 " b\n"
6398 " c\n"
6399 " c/d\n"
6400 "\n"
6401 msgstr ""
6402
6403 # type: textblock
6404 #: ../src/guestfs-actions.pod:1491 ../fish/guestfish-actions.pod:1169
6405 msgid "If C<directory> is not a directory, then this command returns an error."
6406 msgstr ""
6407
6408 # type: textblock
6409 #: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:1172
6410 msgid "The returned list is sorted."
6411 msgstr ""
6412
6413 # type: textblock
6414 #: ../src/guestfs-actions.pod:1496
6415 msgid "See also C<guestfs_find0>."
6416 msgstr ""
6417
6418 # type: =head2
6419 #: ../src/guestfs-actions.pod:1505
6420 msgid "guestfs_find0"
6421 msgstr ""
6422
6423 # type: verbatim
6424 #: ../src/guestfs-actions.pod:1507
6425 #, no-wrap
6426 msgid ""
6427 " int guestfs_find0 (guestfs_h *g,\n"
6428 "\t\tconst char *directory,\n"
6429 "\t\tconst char *files);\n"
6430 "\n"
6431 msgstr ""
6432
6433 # type: textblock
6434 #: ../src/guestfs-actions.pod:1511 ../fish/guestfish-actions.pod:1183
6435 msgid ""
6436 "This command lists out all files and directories, recursively, starting at "
6437 "C<directory>, placing the resulting list in the external file called "
6438 "C<files>."
6439 msgstr ""
6440
6441 # type: textblock
6442 #: ../src/guestfs-actions.pod:1515
6443 msgid ""
6444 "This command works the same way as C<guestfs_find> with the following "
6445 "exceptions:"
6446 msgstr ""
6447
6448 # type: textblock
6449 #: ../src/guestfs-actions.pod:1522 ../fish/guestfish-actions.pod:1194
6450 msgid "The resulting list is written to an external file."
6451 msgstr ""
6452
6453 # type: textblock
6454 #: ../src/guestfs-actions.pod:1526 ../fish/guestfish-actions.pod:1198
6455 msgid ""
6456 "Items (filenames) in the result are separated by C<\\0> characters.  See "
6457 "L<find(1)> option I<-print0>."
6458 msgstr ""
6459
6460 # type: textblock
6461 #: ../src/guestfs-actions.pod:1531 ../fish/guestfish-actions.pod:1203
6462 msgid "This command is not limited in the number of names that it can return."
6463 msgstr ""
6464
6465 # type: textblock
6466 #: ../src/guestfs-actions.pod:1536 ../fish/guestfish-actions.pod:1208
6467 msgid "The result list is not sorted."
6468 msgstr ""
6469
6470 # type: =head2
6471 #: ../src/guestfs-actions.pod:1542
6472 msgid "guestfs_findfs_label"
6473 msgstr ""
6474
6475 # type: verbatim
6476 #: ../src/guestfs-actions.pod:1544
6477 #, no-wrap
6478 msgid ""
6479 " char *guestfs_findfs_label (guestfs_h *g,\n"
6480 "\t\tconst char *label);\n"
6481 "\n"
6482 msgstr ""
6483
6484 # type: textblock
6485 #: ../src/guestfs-actions.pod:1547 ../fish/guestfish-actions.pod:1218
6486 msgid ""
6487 "This command searches the filesystems and returns the one which has the "
6488 "given label.  An error is returned if no such filesystem can be found."
6489 msgstr ""
6490
6491 # type: textblock
6492 #: ../src/guestfs-actions.pod:1551
6493 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6494 msgstr ""
6495
6496 # type: =head2
6497 #: ../src/guestfs-actions.pod:1556
6498 msgid "guestfs_findfs_uuid"
6499 msgstr ""
6500
6501 # type: verbatim
6502 #: ../src/guestfs-actions.pod:1558
6503 #, no-wrap
6504 msgid ""
6505 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6506 "\t\tconst char *uuid);\n"
6507 "\n"
6508 msgstr ""
6509
6510 # type: textblock
6511 #: ../src/guestfs-actions.pod:1561 ../fish/guestfish-actions.pod:1228
6512 msgid ""
6513 "This command searches the filesystems and returns the one which has the "
6514 "given UUID.  An error is returned if no such filesystem can be found."
6515 msgstr ""
6516
6517 # type: textblock
6518 #: ../src/guestfs-actions.pod:1565
6519 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6520 msgstr ""
6521
6522 # type: =head2
6523 #: ../src/guestfs-actions.pod:1570
6524 msgid "guestfs_fsck"
6525 msgstr ""
6526
6527 # type: verbatim
6528 #: ../src/guestfs-actions.pod:1572
6529 #, no-wrap
6530 msgid ""
6531 " int guestfs_fsck (guestfs_h *g,\n"
6532 "\t\tconst char *fstype,\n"
6533 "\t\tconst char *device);\n"
6534 "\n"
6535 msgstr ""
6536
6537 # type: textblock
6538 #: ../src/guestfs-actions.pod:1576 ../fish/guestfish-actions.pod:1238
6539 msgid ""
6540 "This runs the filesystem checker (fsck) on C<device> which should have "
6541 "filesystem type C<fstype>."
6542 msgstr ""
6543
6544 # type: textblock
6545 #: ../src/guestfs-actions.pod:1579 ../fish/guestfish-actions.pod:1241
6546 msgid ""
6547 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6548 "codes from C<fsck>."
6549 msgstr ""
6550
6551 # type: textblock
6552 #: ../src/guestfs-actions.pod:1588 ../fish/guestfish-actions.pod:1250
6553 msgid "Multiple status codes can be summed together."
6554 msgstr ""
6555
6556 # type: textblock
6557 #: ../src/guestfs-actions.pod:1592 ../fish/guestfish-actions.pod:1254
6558 msgid ""
6559 "A non-zero return code can mean \"success\", for example if errors have been "
6560 "corrected on the filesystem."
6561 msgstr ""
6562
6563 # type: textblock
6564 #: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1259
6565 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6566 msgstr ""
6567
6568 # type: textblock
6569 #: ../src/guestfs-actions.pod:1602 ../fish/guestfish-actions.pod:1264
6570 msgid "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6571 msgstr ""
6572
6573 # type: =head2
6574 #: ../src/guestfs-actions.pod:1606
6575 msgid "guestfs_get_append"
6576 msgstr ""
6577
6578 # type: verbatim
6579 #: ../src/guestfs-actions.pod:1608
6580 #, no-wrap
6581 msgid ""
6582 " const char *guestfs_get_append (guestfs_h *g);\n"
6583 "\n"
6584 msgstr ""
6585
6586 # type: textblock
6587 #: ../src/guestfs-actions.pod:1610 ../fish/guestfish-actions.pod:1270
6588 msgid ""
6589 "Return the additional kernel options which are added to the guest kernel "
6590 "command line."
6591 msgstr ""
6592
6593 # type: textblock
6594 #: ../src/guestfs-actions.pod:1613 ../fish/guestfish-actions.pod:1273
6595 msgid "If C<NULL> then no options are added."
6596 msgstr ""
6597
6598 # type: textblock
6599 #: ../src/guestfs-actions.pod:1615
6600 msgid ""
6601 "This function returns a string which may be NULL.  There is no way to return "
6602 "an error from this function.  The string is owned by the guest handle and "
6603 "must I<not> be freed."
6604 msgstr ""
6605
6606 # type: =head2
6607 #: ../src/guestfs-actions.pod:1619
6608 msgid "guestfs_get_autosync"
6609 msgstr ""
6610
6611 # type: verbatim
6612 #: ../src/guestfs-actions.pod:1621
6613 #, no-wrap
6614 msgid ""
6615 " int guestfs_get_autosync (guestfs_h *g);\n"
6616 "\n"
6617 msgstr ""
6618
6619 # type: textblock
6620 #: ../src/guestfs-actions.pod:1623 ../fish/guestfish-actions.pod:1279
6621 msgid "Get the autosync flag."
6622 msgstr ""
6623
6624 # type: =head2
6625 #: ../src/guestfs-actions.pod:1627
6626 msgid "guestfs_get_direct"
6627 msgstr ""
6628
6629 # type: verbatim
6630 #: ../src/guestfs-actions.pod:1629
6631 #, no-wrap
6632 msgid ""
6633 " int guestfs_get_direct (guestfs_h *g);\n"
6634 "\n"
6635 msgstr ""
6636
6637 # type: textblock
6638 #: ../src/guestfs-actions.pod:1631 ../fish/guestfish-actions.pod:1285
6639 msgid "Return the direct appliance mode flag."
6640 msgstr ""
6641
6642 # type: =head2
6643 #: ../src/guestfs-actions.pod:1635
6644 msgid "guestfs_get_e2label"
6645 msgstr ""
6646
6647 # type: verbatim
6648 #: ../src/guestfs-actions.pod:1637
6649 #, no-wrap
6650 msgid ""
6651 " char *guestfs_get_e2label (guestfs_h *g,\n"
6652 "\t\tconst char *device);\n"
6653 "\n"
6654 msgstr ""
6655
6656 # type: textblock
6657 #: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1291
6658 msgid "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6659 msgstr ""
6660
6661 # type: textblock
6662 #: ../src/guestfs-actions.pod:1646 ../fish/guestfish-actions.pod:1294
6663 msgid ""
6664 "This function is deprecated.  In new code, use the C<vfs_label> call "
6665 "instead."
6666 msgstr ""
6667
6668 # type: =head2
6669 #: ../src/guestfs-actions.pod:1653
6670 msgid "guestfs_get_e2uuid"
6671 msgstr ""
6672
6673 # type: verbatim
6674 #: ../src/guestfs-actions.pod:1655
6675 #, no-wrap
6676 msgid ""
6677 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6678 "\t\tconst char *device);\n"
6679 "\n"
6680 msgstr ""
6681
6682 # type: textblock
6683 #: ../src/guestfs-actions.pod:1658 ../fish/guestfish-actions.pod:1305
6684 msgid "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6685 msgstr ""
6686
6687 # type: textblock
6688 #: ../src/guestfs-actions.pod:1664 ../fish/guestfish-actions.pod:1308
6689 msgid "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6690 msgstr ""
6691
6692 # type: =head2
6693 #: ../src/guestfs-actions.pod:1671
6694 msgid "guestfs_get_memsize"
6695 msgstr ""
6696
6697 # type: verbatim
6698 #: ../src/guestfs-actions.pod:1673
6699 #, no-wrap
6700 msgid ""
6701 " int guestfs_get_memsize (guestfs_h *g);\n"
6702 "\n"
6703 msgstr ""
6704
6705 # type: textblock
6706 #: ../src/guestfs-actions.pod:1675 ../fish/guestfish-actions.pod:1319
6707 msgid "This gets the memory size in megabytes allocated to the qemu subprocess."
6708 msgstr ""
6709
6710 # type: textblock
6711 #: ../src/guestfs-actions.pod:1678
6712 msgid ""
6713 "If C<guestfs_set_memsize> was not called on this handle, and if "
6714 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6715 "value for memsize."
6716 msgstr ""
6717
6718 # type: textblock
6719 #: ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1745 ../src/guestfs-actions.pod:4509 ../src/guestfs-actions.pod:4601 ../fish/guestfish-actions.pod:1326 ../fish/guestfish-actions.pod:1377 ../fish/guestfish-actions.pod:3484 ../fish/guestfish-actions.pod:3571
6720 msgid "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6721 msgstr ""
6722
6723 # type: =head2
6724 #: ../src/guestfs-actions.pod:1687
6725 msgid "guestfs_get_network"
6726 msgstr ""
6727
6728 # type: verbatim
6729 #: ../src/guestfs-actions.pod:1689
6730 #, no-wrap
6731 msgid ""
6732 " int guestfs_get_network (guestfs_h *g);\n"
6733 "\n"
6734 msgstr ""
6735
6736 # type: textblock
6737 #: ../src/guestfs-actions.pod:1691 ../fish/guestfish-actions.pod:1333
6738 msgid "This returns the enable network flag."
6739 msgstr ""
6740
6741 # type: =head2
6742 #: ../src/guestfs-actions.pod:1695
6743 msgid "guestfs_get_path"
6744 msgstr ""
6745
6746 # type: verbatim
6747 #: ../src/guestfs-actions.pod:1697
6748 #, no-wrap
6749 msgid ""
6750 " const char *guestfs_get_path (guestfs_h *g);\n"
6751 "\n"
6752 msgstr ""
6753
6754 # type: textblock
6755 #: ../src/guestfs-actions.pod:1699 ../fish/guestfish-actions.pod:1339
6756 msgid "Return the current search path."
6757 msgstr ""
6758
6759 # type: textblock
6760 #: ../src/guestfs-actions.pod:1701 ../fish/guestfish-actions.pod:1341
6761 msgid ""
6762 "This is always non-NULL.  If it wasn't set already, then this will return "
6763 "the default path."
6764 msgstr ""
6765
6766 # type: textblock
6767 #: ../src/guestfs-actions.pod:1704 ../src/guestfs-actions.pod:1727
6768 msgid ""
6769 "This function returns a string, or NULL on error.  The string is owned by "
6770 "the guest handle and must I<not> be freed."
6771 msgstr ""
6772
6773 # type: =head2
6774 #: ../src/guestfs-actions.pod:1707
6775 msgid "guestfs_get_pid"
6776 msgstr ""
6777
6778 # type: verbatim
6779 #: ../src/guestfs-actions.pod:1709
6780 #, no-wrap
6781 msgid ""
6782 " int guestfs_get_pid (guestfs_h *g);\n"
6783 "\n"
6784 msgstr ""
6785
6786 # type: textblock
6787 #: ../src/guestfs-actions.pod:1711 ../fish/guestfish-actions.pod:1350
6788 msgid ""
6789 "Return the process ID of the qemu subprocess.  If there is no qemu "
6790 "subprocess, then this will return an error."
6791 msgstr ""
6792
6793 # type: textblock
6794 #: ../src/guestfs-actions.pod:1714 ../fish/guestfish-actions.pod:1353
6795 msgid "This is an internal call used for debugging and testing."
6796 msgstr ""
6797
6798 # type: =head2
6799 #: ../src/guestfs-actions.pod:1718
6800 msgid "guestfs_get_qemu"
6801 msgstr ""
6802
6803 # type: verbatim
6804 #: ../src/guestfs-actions.pod:1720
6805 #, no-wrap
6806 msgid ""
6807 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6808 "\n"
6809 msgstr ""
6810
6811 # type: textblock
6812 #: ../src/guestfs-actions.pod:1722 ../fish/guestfish-actions.pod:1359
6813 msgid "Return the current qemu binary."
6814 msgstr ""
6815
6816 # type: textblock
6817 #: ../src/guestfs-actions.pod:1724 ../fish/guestfish-actions.pod:1361
6818 msgid ""
6819 "This is always non-NULL.  If it wasn't set already, then this will return "
6820 "the default qemu binary name."
6821 msgstr ""
6822
6823 # type: =head2
6824 #: ../src/guestfs-actions.pod:1730
6825 msgid "guestfs_get_recovery_proc"
6826 msgstr ""
6827
6828 # type: verbatim
6829 #: ../src/guestfs-actions.pod:1732
6830 #, no-wrap
6831 msgid ""
6832 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6833 "\n"
6834 msgstr ""
6835
6836 # type: textblock
6837 #: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1368
6838 msgid "Return the recovery process enabled flag."
6839 msgstr ""
6840
6841 # type: =head2
6842 #: ../src/guestfs-actions.pod:1738
6843 msgid "guestfs_get_selinux"
6844 msgstr ""
6845
6846 # type: verbatim
6847 #: ../src/guestfs-actions.pod:1740
6848 #, no-wrap
6849 msgid ""
6850 " int guestfs_get_selinux (guestfs_h *g);\n"
6851 "\n"
6852 msgstr ""
6853
6854 # type: textblock
6855 #: ../src/guestfs-actions.pod:1742
6856 msgid ""
6857 "This returns the current setting of the selinux flag which is passed to the "
6858 "appliance at boot time.  See C<guestfs_set_selinux>."
6859 msgstr ""
6860
6861 # type: =head2
6862 #: ../src/guestfs-actions.pod:1750
6863 msgid "guestfs_get_state"
6864 msgstr ""
6865
6866 # type: verbatim
6867 #: ../src/guestfs-actions.pod:1752
6868 #, no-wrap
6869 msgid ""
6870 " int guestfs_get_state (guestfs_h *g);\n"
6871 "\n"
6872 msgstr ""
6873
6874 # type: textblock
6875 #: ../src/guestfs-actions.pod:1754 ../fish/guestfish-actions.pod:1384
6876 msgid ""
6877 "This returns the current state as an opaque integer.  This is only useful "
6878 "for printing debug and internal error messages."
6879 msgstr ""
6880
6881 # type: textblock
6882 #: ../src/guestfs-actions.pod:1757 ../src/guestfs-actions.pod:2418 ../src/guestfs-actions.pod:2441 ../src/guestfs-actions.pod:2490 ../src/guestfs-actions.pod:2511 ../fish/guestfish-actions.pod:1387 ../fish/guestfish-actions.pod:1917 ../fish/guestfish-actions.pod:1935 ../fish/guestfish-actions.pod:1973 ../fish/guestfish-actions.pod:1989
6883 msgid "For more information on states, see L<guestfs(3)>."
6884 msgstr ""
6885
6886 # type: =head2
6887 #: ../src/guestfs-actions.pod:1761
6888 msgid "guestfs_get_trace"
6889 msgstr ""
6890
6891 # type: verbatim
6892 #: ../src/guestfs-actions.pod:1763
6893 #, no-wrap
6894 msgid ""
6895 " int guestfs_get_trace (guestfs_h *g);\n"
6896 "\n"
6897 msgstr ""
6898
6899 # type: textblock
6900 #: ../src/guestfs-actions.pod:1765 ../fish/guestfish-actions.pod:1393
6901 msgid "Return the command trace flag."
6902 msgstr ""
6903
6904 # type: =head2
6905 #: ../src/guestfs-actions.pod:1769
6906 msgid "guestfs_get_umask"
6907 msgstr ""
6908
6909 # type: verbatim
6910 #: ../src/guestfs-actions.pod:1771
6911 #, no-wrap
6912 msgid ""
6913 " int guestfs_get_umask (guestfs_h *g);\n"
6914 "\n"
6915 msgstr ""
6916
6917 # type: textblock
6918 #: ../src/guestfs-actions.pod:1773
6919 msgid ""
6920 "Return the current umask.  By default the umask is C<022> unless it has been "
6921 "set by calling C<guestfs_umask>."
6922 msgstr ""
6923
6924 # type: =head2
6925 #: ../src/guestfs-actions.pod:1778
6926 msgid "guestfs_get_verbose"
6927 msgstr ""
6928
6929 # type: verbatim
6930 #: ../src/guestfs-actions.pod:1780
6931 #, no-wrap
6932 msgid ""
6933 " int guestfs_get_verbose (guestfs_h *g);\n"
6934 "\n"
6935 msgstr ""
6936
6937 # type: textblock
6938 #: ../src/guestfs-actions.pod:1782 ../fish/guestfish-actions.pod:1406
6939 msgid "This returns the verbose messages flag."
6940 msgstr ""
6941
6942 # type: =head2
6943 #: ../src/guestfs-actions.pod:1786
6944 msgid "guestfs_getcon"
6945 msgstr ""
6946
6947 # type: verbatim
6948 #: ../src/guestfs-actions.pod:1788
6949 #, no-wrap
6950 msgid ""
6951 " char *guestfs_getcon (guestfs_h *g);\n"
6952 "\n"
6953 msgstr ""
6954
6955 # type: textblock
6956 #: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1412
6957 msgid "This gets the SELinux security context of the daemon."
6958 msgstr ""
6959
6960 # type: textblock
6961 #: ../src/guestfs-actions.pod:1792
6962 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6963 msgstr ""
6964
6965 # type: =head2
6966 #: ../src/guestfs-actions.pod:1798
6967 msgid "guestfs_getxattrs"
6968 msgstr ""
6969
6970 # type: verbatim
6971 #: ../src/guestfs-actions.pod:1800
6972 #, no-wrap
6973 msgid ""
6974 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6975 "\t\tconst char *path);\n"
6976 "\n"
6977 msgstr ""
6978
6979 # type: textblock
6980 #: ../src/guestfs-actions.pod:1803 ../fish/guestfish-actions.pod:1421
6981 msgid "This call lists the extended attributes of the file or directory C<path>."
6982 msgstr ""
6983
6984 # type: textblock
6985 #: ../src/guestfs-actions.pod:1806 ../fish/guestfish-actions.pod:1424
6986 msgid ""
6987 "At the system call level, this is a combination of the L<listxattr(2)> and "
6988 "L<getxattr(2)> calls."
6989 msgstr ""
6990
6991 # type: textblock
6992 #: ../src/guestfs-actions.pod:1809
6993 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6994 msgstr ""
6995
6996 # type: textblock
6997 #: ../src/guestfs-actions.pod:1811 ../src/guestfs-actions.pod:2585 ../src/guestfs-actions.pod:3140
6998 msgid ""
6999 "This function returns a C<struct guestfs_xattr_list *> (see "
7000 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7001 "must call C<guestfs_free_xattr_list> after use>."
7002 msgstr ""
7003
7004 # type: =head2
7005 #: ../src/guestfs-actions.pod:1816
7006 msgid "guestfs_glob_expand"
7007 msgstr ""
7008
7009 # type: verbatim
7010 #: ../src/guestfs-actions.pod:1818
7011 #, no-wrap
7012 msgid ""
7013 " char **guestfs_glob_expand (guestfs_h *g,\n"
7014 "\t\tconst char *pattern);\n"
7015 "\n"
7016 msgstr ""
7017
7018 # type: textblock
7019 #: ../src/guestfs-actions.pod:1821 ../fish/guestfish-actions.pod:1433
7020 msgid ""
7021 "This command searches for all the pathnames matching C<pattern> according to "
7022 "the wildcard expansion rules used by the shell."
7023 msgstr ""
7024
7025 # type: textblock
7026 #: ../src/guestfs-actions.pod:1825 ../fish/guestfish-actions.pod:1437
7027 msgid "If no paths match, then this returns an empty list (note: not an error)."
7028 msgstr ""
7029
7030 # type: textblock
7031 #: ../src/guestfs-actions.pod:1828 ../fish/guestfish-actions.pod:1440
7032 msgid ""
7033 "It is just a wrapper around the C L<glob(3)> function with flags "
7034 "C<GLOB_MARK|GLOB_BRACE>.  See that manual page for more details."
7035 msgstr ""
7036
7037 # type: =head2
7038 #: ../src/guestfs-actions.pod:1836
7039 msgid "guestfs_grep"
7040 msgstr ""
7041
7042 # type: verbatim
7043 #: ../src/guestfs-actions.pod:1838
7044 #, no-wrap
7045 msgid ""
7046 " char **guestfs_grep (guestfs_h *g,\n"
7047 "\t\tconst char *regex,\n"
7048 "\t\tconst char *path);\n"
7049 "\n"
7050 msgstr ""
7051
7052 # type: textblock
7053 #: ../src/guestfs-actions.pod:1842 ../fish/guestfish-actions.pod:1448
7054 msgid "This calls the external C<grep> program and returns the matching lines."
7055 msgstr ""
7056
7057 # type: =head2
7058 #: ../src/guestfs-actions.pod:1852
7059 msgid "guestfs_grepi"
7060 msgstr ""
7061
7062 # type: verbatim
7063 #: ../src/guestfs-actions.pod:1854
7064 #, no-wrap
7065 msgid ""
7066 " char **guestfs_grepi (guestfs_h *g,\n"
7067 "\t\tconst char *regex,\n"
7068 "\t\tconst char *path);\n"
7069 "\n"
7070 msgstr ""
7071
7072 # type: textblock
7073 #: ../src/guestfs-actions.pod:1858 ../fish/guestfish-actions.pod:1458
7074 msgid "This calls the external C<grep -i> program and returns the matching lines."
7075 msgstr ""
7076
7077 # type: =head2
7078 #: ../src/guestfs-actions.pod:1868
7079 msgid "guestfs_grub_install"
7080 msgstr ""
7081
7082 # type: verbatim
7083 #: ../src/guestfs-actions.pod:1870
7084 #, no-wrap
7085 msgid ""
7086 " int guestfs_grub_install (guestfs_h *g,\n"
7087 "\t\tconst char *root,\n"
7088 "\t\tconst char *device);\n"
7089 "\n"
7090 msgstr ""
7091
7092 # type: textblock
7093 #: ../src/guestfs-actions.pod:1874 ../fish/guestfish-actions.pod:1468
7094 msgid ""
7095 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
7096 "the root directory being C<root>."
7097 msgstr ""
7098
7099 # type: textblock
7100 #: ../src/guestfs-actions.pod:1877 ../fish/guestfish-actions.pod:1471
7101 msgid ""
7102 "Note: If grub-install reports the error \"No suitable drive was found in the "
7103 "generated device map.\" it may be that you need to create a "
7104 "C</boot/grub/device.map> file first that contains the mapping between grub "
7105 "device names and Linux device names.  It is usually sufficient to create a "
7106 "file containing:"
7107 msgstr ""
7108
7109 # type: verbatim
7110 #: ../src/guestfs-actions.pod:1884 ../fish/guestfish-actions.pod:1478
7111 #, no-wrap
7112 msgid ""
7113 " (hd0) /dev/vda\n"
7114 "\n"
7115 msgstr ""
7116
7117 # type: textblock
7118 #: ../src/guestfs-actions.pod:1886 ../fish/guestfish-actions.pod:1480
7119 msgid "replacing C</dev/vda> with the name of the installation device."
7120 msgstr ""
7121
7122 # type: =head2
7123 #: ../src/guestfs-actions.pod:1890
7124 msgid "guestfs_head"
7125 msgstr ""
7126
7127 # type: verbatim
7128 #: ../src/guestfs-actions.pod:1892
7129 #, no-wrap
7130 msgid ""
7131 " char **guestfs_head (guestfs_h *g,\n"
7132 "\t\tconst char *path);\n"
7133 "\n"
7134 msgstr ""
7135
7136 # type: textblock
7137 #: ../src/guestfs-actions.pod:1895 ../fish/guestfish-actions.pod:1486
7138 msgid ""
7139 "This command returns up to the first 10 lines of a file as a list of "
7140 "strings."
7141 msgstr ""
7142
7143 # type: =head2
7144 #: ../src/guestfs-actions.pod:1905
7145 msgid "guestfs_head_n"
7146 msgstr ""
7147
7148 # type: verbatim
7149 #: ../src/guestfs-actions.pod:1907
7150 #, no-wrap
7151 msgid ""
7152 " char **guestfs_head_n (guestfs_h *g,\n"
7153 "\t\tint nrlines,\n"
7154 "\t\tconst char *path);\n"
7155 "\n"
7156 msgstr ""
7157
7158 # type: textblock
7159 #: ../src/guestfs-actions.pod:1911 ../fish/guestfish-actions.pod:1496
7160 msgid ""
7161 "If the parameter C<nrlines> is a positive number, this returns the first "
7162 "C<nrlines> lines of the file C<path>."
7163 msgstr ""
7164
7165 # type: textblock
7166 #: ../src/guestfs-actions.pod:1914 ../fish/guestfish-actions.pod:1499
7167 msgid ""
7168 "If the parameter C<nrlines> is a negative number, this returns lines from "
7169 "the file C<path>, excluding the last C<nrlines> lines."
7170 msgstr ""
7171
7172 # type: textblock
7173 #: ../src/guestfs-actions.pod:1917 ../src/guestfs-actions.pod:5057 ../fish/guestfish-actions.pod:1502 ../fish/guestfish-actions.pod:3917
7174 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
7175 msgstr ""
7176
7177 # type: =head2
7178 #: ../src/guestfs-actions.pod:1926
7179 msgid "guestfs_hexdump"
7180 msgstr ""
7181
7182 # type: verbatim
7183 #: ../src/guestfs-actions.pod:1928
7184 #, no-wrap
7185 msgid ""
7186 " char *guestfs_hexdump (guestfs_h *g,\n"
7187 "\t\tconst char *path);\n"
7188 "\n"
7189 msgstr ""
7190
7191 # type: textblock
7192 #: ../src/guestfs-actions.pod:1931 ../fish/guestfish-actions.pod:1511
7193 msgid ""
7194 "This runs C<hexdump -C> on the given C<path>.  The result is the "
7195 "human-readable, canonical hex dump of the file."
7196 msgstr ""
7197
7198 # type: =head2
7199 #: ../src/guestfs-actions.pod:1940
7200 msgid "guestfs_initrd_cat"
7201 msgstr ""
7202
7203 # type: verbatim
7204 #: ../src/guestfs-actions.pod:1942
7205 #, no-wrap
7206 msgid ""
7207 " char *guestfs_initrd_cat (guestfs_h *g,\n"
7208 "\t\tconst char *initrdpath,\n"
7209 "\t\tconst char *filename,\n"
7210 "\t\tsize_t *size_r);\n"
7211 "\n"
7212 msgstr ""
7213
7214 # type: textblock
7215 #: ../src/guestfs-actions.pod:1947 ../fish/guestfish-actions.pod:1521
7216 msgid ""
7217 "This command unpacks the file C<filename> from the initrd file called "
7218 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
7219 "character."
7220 msgstr ""
7221
7222 # type: textblock
7223 #: ../src/guestfs-actions.pod:1951 ../fish/guestfish-actions.pod:1525
7224 msgid ""
7225 "For example, in guestfish you could use the following command to examine the "
7226 "boot script (usually called C</init>)  contained in a Linux initrd or "
7227 "initramfs image:"
7228 msgstr ""
7229
7230 # type: verbatim
7231 #: ../src/guestfs-actions.pod:1955 ../fish/guestfish-actions.pod:1529
7232 #, no-wrap
7233 msgid ""
7234 " initrd-cat /boot/initrd-<version>.img init\n"
7235 "\n"
7236 msgstr ""
7237
7238 # type: textblock
7239 #: ../src/guestfs-actions.pod:1957
7240 msgid "See also C<guestfs_initrd_list>."
7241 msgstr ""
7242
7243 # type: textblock
7244 #: ../src/guestfs-actions.pod:1959 ../src/guestfs-actions.pod:3969 ../src/guestfs-actions.pod:3992 ../src/guestfs-actions.pod:4144
7245 msgid ""
7246 "This function returns a buffer, or NULL on error.  The size of the returned "
7247 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
7248 "after use>."
7249 msgstr ""
7250
7251 # type: =head2
7252 #: ../src/guestfs-actions.pod:1966
7253 msgid "guestfs_initrd_list"
7254 msgstr ""
7255
7256 # type: verbatim
7257 #: ../src/guestfs-actions.pod:1968
7258 #, no-wrap
7259 msgid ""
7260 " char **guestfs_initrd_list (guestfs_h *g,\n"
7261 "\t\tconst char *path);\n"
7262 "\n"
7263 msgstr ""
7264
7265 # type: textblock
7266 #: ../src/guestfs-actions.pod:1971 ../fish/guestfish-actions.pod:1540
7267 msgid "This command lists out files contained in an initrd."
7268 msgstr ""
7269
7270 # type: textblock
7271 #: ../src/guestfs-actions.pod:1973 ../fish/guestfish-actions.pod:1542
7272 msgid ""
7273 "The files are listed without any initial C</> character.  The files are "
7274 "listed in the order they appear (not necessarily alphabetical).  Directory "
7275 "names are listed as separate items."
7276 msgstr ""
7277
7278 # type: textblock
7279 #: ../src/guestfs-actions.pod:1977 ../fish/guestfish-actions.pod:1546
7280 msgid ""
7281 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
7282 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
7283 "files)."
7284 msgstr ""
7285
7286 # type: =head2
7287 #: ../src/guestfs-actions.pod:1985
7288 msgid "guestfs_inotify_add_watch"
7289 msgstr ""
7290
7291 # type: verbatim
7292 #: ../src/guestfs-actions.pod:1987
7293 #, no-wrap
7294 msgid ""
7295 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
7296 "\t\tconst char *path,\n"
7297 "\t\tint mask);\n"
7298 "\n"
7299 msgstr ""
7300
7301 # type: textblock
7302 #: ../src/guestfs-actions.pod:1991 ../fish/guestfish-actions.pod:1554
7303 msgid "Watch C<path> for the events listed in C<mask>."
7304 msgstr ""
7305
7306 # type: textblock
7307 #: ../src/guestfs-actions.pod:1993 ../fish/guestfish-actions.pod:1556
7308 msgid ""
7309 "Note that if C<path> is a directory then events within that directory are "
7310 "watched, but this does I<not> happen recursively (in subdirectories)."
7311 msgstr ""
7312
7313 # type: textblock
7314 #: ../src/guestfs-actions.pod:1997 ../fish/guestfish-actions.pod:1560
7315 msgid ""
7316 "Note for non-C or non-Linux callers: the inotify events are defined by the "
7317 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
7318 msgstr ""
7319
7320 # type: =head2
7321 #: ../src/guestfs-actions.pod:2003
7322 msgid "guestfs_inotify_close"
7323 msgstr ""
7324
7325 # type: verbatim
7326 #: ../src/guestfs-actions.pod:2005
7327 #, no-wrap
7328 msgid ""
7329 " int guestfs_inotify_close (guestfs_h *g);\n"
7330 "\n"
7331 msgstr ""
7332
7333 # type: textblock
7334 #: ../src/guestfs-actions.pod:2007 ../fish/guestfish-actions.pod:1568
7335 msgid ""
7336 "This closes the inotify handle which was previously opened by inotify_init.  "
7337 "It removes all watches, throws away any pending events, and deallocates all "
7338 "resources."
7339 msgstr ""
7340
7341 # type: =head2
7342 #: ../src/guestfs-actions.pod:2013
7343 msgid "guestfs_inotify_files"
7344 msgstr ""
7345
7346 # type: verbatim
7347 #: ../src/guestfs-actions.pod:2015
7348 #, no-wrap
7349 msgid ""
7350 " char **guestfs_inotify_files (guestfs_h *g);\n"
7351 "\n"
7352 msgstr ""
7353
7354 # type: textblock
7355 #: ../src/guestfs-actions.pod:2017
7356 msgid ""
7357 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
7358 "returns a list of pathnames of objects that were touched.  The returned "
7359 "pathnames are sorted and deduplicated."
7360 msgstr ""
7361
7362 # type: =head2
7363 #: ../src/guestfs-actions.pod:2025
7364 msgid "guestfs_inotify_init"
7365 msgstr ""
7366
7367 # type: verbatim
7368 #: ../src/guestfs-actions.pod:2027
7369 #, no-wrap
7370 msgid ""
7371 " int guestfs_inotify_init (guestfs_h *g,\n"
7372 "\t\tint maxevents);\n"
7373 "\n"
7374 msgstr ""
7375
7376 # type: textblock
7377 #: ../src/guestfs-actions.pod:2030 ../fish/guestfish-actions.pod:1584
7378 msgid ""
7379 "This command creates a new inotify handle.  The inotify subsystem can be "
7380 "used to notify events which happen to objects in the guest filesystem."
7381 msgstr ""
7382
7383 # type: textblock
7384 #: ../src/guestfs-actions.pod:2034
7385 msgid ""
7386 "C<maxevents> is the maximum number of events which will be queued up between "
7387 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
7388 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
7389 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
7390 "throws away events, but records the fact that it threw them away by setting "
7391 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
7392 "C<guestfs_inotify_read>)."
7393 msgstr ""
7394
7395 # type: textblock
7396 #: ../src/guestfs-actions.pod:2044
7397 msgid ""
7398 "Before any events are generated, you have to add some watches to the "
7399 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
7400 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
7401 msgstr ""
7402
7403 # type: textblock
7404 #: ../src/guestfs-actions.pod:2050
7405 msgid ""
7406 "Queued up events should be read periodically by calling "
7407 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
7408 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
7409 "often enough then you risk the internal queue overflowing."
7410 msgstr ""
7411
7412 # type: textblock
7413 #: ../src/guestfs-actions.pod:2057
7414 msgid ""
7415 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
7416 "This also removes any watches automatically."
7417 msgstr ""
7418
7419 # type: textblock
7420 #: ../src/guestfs-actions.pod:2061 ../fish/guestfish-actions.pod:1615
7421 msgid ""
7422 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
7423 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
7424 "that there is one global inotify handle per libguestfs instance."
7425 msgstr ""
7426
7427 # type: =head2
7428 #: ../src/guestfs-actions.pod:2068
7429 msgid "guestfs_inotify_read"
7430 msgstr ""
7431
7432 # type: verbatim
7433 #: ../src/guestfs-actions.pod:2070
7434 #, no-wrap
7435 msgid ""
7436 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
7437 "\n"
7438 msgstr ""
7439
7440 # type: textblock
7441 #: ../src/guestfs-actions.pod:2072 ../fish/guestfish-actions.pod:1624
7442 msgid ""
7443 "Return the complete queue of events that have happened since the previous "
7444 "read call."
7445 msgstr ""
7446
7447 # type: textblock
7448 #: ../src/guestfs-actions.pod:2075 ../fish/guestfish-actions.pod:1627
7449 msgid "If no events have happened, this returns an empty list."
7450 msgstr ""
7451
7452 # type: textblock
7453 #: ../src/guestfs-actions.pod:2077 ../fish/guestfish-actions.pod:1629
7454 msgid ""
7455 "I<Note>: In order to make sure that all events have been read, you must call "
7456 "this function repeatedly until it returns an empty list.  The reason is that "
7457 "the call will read events up to the maximum appliance-to-host message size "
7458 "and leave remaining events in the queue."
7459 msgstr ""
7460
7461 # type: textblock
7462 #: ../src/guestfs-actions.pod:2083
7463 msgid ""
7464 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7465 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7466 "must call C<guestfs_free_inotify_event_list> after use>."
7467 msgstr ""
7468
7469 # type: =head2
7470 #: ../src/guestfs-actions.pod:2088
7471 msgid "guestfs_inotify_rm_watch"
7472 msgstr ""
7473
7474 # type: verbatim
7475 #: ../src/guestfs-actions.pod:2090
7476 #, no-wrap
7477 msgid ""
7478 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7479 "\t\tint wd);\n"
7480 "\n"
7481 msgstr ""
7482
7483 # type: textblock
7484 #: ../src/guestfs-actions.pod:2093
7485 msgid ""
7486 "Remove a previously defined inotify watch.  See "
7487 "C<guestfs_inotify_add_watch>."
7488 msgstr ""
7489
7490 # type: =head2
7491 #: ../src/guestfs-actions.pod:2098
7492 msgid "guestfs_inspect_get_arch"
7493 msgstr ""
7494
7495 # type: verbatim
7496 #: ../src/guestfs-actions.pod:2100
7497 #, no-wrap
7498 msgid ""
7499 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7500 "\t\tconst char *root);\n"
7501 "\n"
7502 msgstr ""
7503
7504 # type: textblock
7505 #: ../src/guestfs-actions.pod:2103 ../src/guestfs-actions.pod:2123 ../src/guestfs-actions.pod:2193 ../src/guestfs-actions.pod:2216 ../src/guestfs-actions.pod:2240 ../src/guestfs-actions.pod:2258 ../src/guestfs-actions.pod:2288 ../src/guestfs-actions.pod:2309 ../src/guestfs-actions.pod:2344
7506 msgid ""
7507 "This function should only be called with a root device string as returned by "
7508 "C<guestfs_inspect_os>."
7509 msgstr ""
7510
7511 # type: textblock
7512 #: ../src/guestfs-actions.pod:2106
7513 msgid ""
7514 "This returns the architecture of the inspected operating system.  The "
7515 "possible return values are listed under C<guestfs_file_architecture>."
7516 msgstr ""
7517
7518 # type: textblock
7519 #: ../src/guestfs-actions.pod:2110 ../fish/guestfish-actions.pod:1653
7520 msgid ""
7521 "If the architecture could not be determined, then the string C<unknown> is "
7522 "returned."
7523 msgstr ""
7524
7525 # type: textblock
7526 #: ../src/guestfs-actions.pod:2113 ../src/guestfs-actions.pod:2183 ../src/guestfs-actions.pod:2231 ../src/guestfs-actions.pod:2299 ../src/guestfs-actions.pod:2334 ../src/guestfs-actions.pod:2354 ../src/guestfs-actions.pod:2391 ../fish/guestfish-actions.pod:1656 ../fish/guestfish-actions.pod:1722 ../fish/guestfish-actions.pod:1761 ../fish/guestfish-actions.pod:1816 ../fish/guestfish-actions.pod:1847 ../fish/guestfish-actions.pod:1863 ../fish/guestfish-actions.pod:1897
7527 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7528 msgstr ""
7529
7530 # type: =head2
7531 #: ../src/guestfs-actions.pod:2118
7532 msgid "guestfs_inspect_get_distro"
7533 msgstr ""
7534
7535 # type: verbatim
7536 #: ../src/guestfs-actions.pod:2120
7537 #, no-wrap
7538 msgid ""
7539 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7540 "\t\tconst char *root);\n"
7541 "\n"
7542 msgstr ""
7543
7544 # type: textblock
7545 #: ../src/guestfs-actions.pod:2126 ../fish/guestfish-actions.pod:1665
7546 msgid "This returns the distro (distribution) of the inspected operating system."
7547 msgstr ""
7548
7549 # type: textblock
7550 #: ../src/guestfs-actions.pod:2129 ../fish/guestfish-actions.pod:1668
7551 msgid "Currently defined distros are:"
7552 msgstr ""
7553
7554 # type: =item
7555 #: ../src/guestfs-actions.pod:2133 ../fish/guestfish-actions.pod:1672
7556 msgid "\"archlinux\""
7557 msgstr ""
7558
7559 # type: textblock
7560 #: ../src/guestfs-actions.pod:2135 ../fish/guestfish-actions.pod:1674
7561 msgid "Arch Linux."
7562 msgstr ""
7563
7564 # type: =item
7565 #: ../src/guestfs-actions.pod:2137 ../fish/guestfish-actions.pod:1676
7566 msgid "\"debian\""
7567 msgstr ""
7568
7569 # type: textblock
7570 #: ../src/guestfs-actions.pod:2139 ../fish/guestfish-actions.pod:1678
7571 msgid "Debian or a Debian-derived distro such as Ubuntu."
7572 msgstr ""
7573
7574 # type: =item
7575 #: ../src/guestfs-actions.pod:2141 ../fish/guestfish-actions.pod:1680
7576 msgid "\"fedora\""
7577 msgstr ""
7578
7579 # type: textblock
7580 #: ../src/guestfs-actions.pod:2143 ../fish/guestfish-actions.pod:1682
7581 msgid "Fedora."
7582 msgstr ""
7583
7584 # type: =item
7585 #: ../src/guestfs-actions.pod:2145 ../fish/guestfish-actions.pod:1684
7586 msgid "\"gentoo\""
7587 msgstr ""
7588
7589 # type: textblock
7590 #: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1686
7591 msgid "Gentoo."
7592 msgstr ""
7593
7594 # type: =item
7595 #: ../src/guestfs-actions.pod:2149 ../fish/guestfish-actions.pod:1688
7596 msgid "\"meego\""
7597 msgstr ""
7598
7599 # type: textblock
7600 #: ../src/guestfs-actions.pod:2151 ../fish/guestfish-actions.pod:1690
7601 msgid "MeeGo."
7602 msgstr ""
7603
7604 # type: =item
7605 #: ../src/guestfs-actions.pod:2153 ../fish/guestfish-actions.pod:1692
7606 msgid "\"pardus\""
7607 msgstr ""
7608
7609 # type: textblock
7610 #: ../src/guestfs-actions.pod:2155 ../fish/guestfish-actions.pod:1694
7611 msgid "Pardus."
7612 msgstr ""
7613
7614 # type: =item
7615 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1696
7616 msgid "\"redhat-based\""
7617 msgstr ""
7618
7619 # type: textblock
7620 #: ../src/guestfs-actions.pod:2159 ../fish/guestfish-actions.pod:1698
7621 msgid "Some Red Hat-derived distro."
7622 msgstr ""
7623
7624 # type: =item
7625 #: ../src/guestfs-actions.pod:2161 ../fish/guestfish-actions.pod:1700
7626 msgid "\"rhel\""
7627 msgstr ""
7628
7629 # type: textblock
7630 #: ../src/guestfs-actions.pod:2163 ../fish/guestfish-actions.pod:1702
7631 msgid "Red Hat Enterprise Linux and some derivatives."
7632 msgstr ""
7633
7634 # type: =item
7635 #: ../src/guestfs-actions.pod:2165 ../src/guestfs-actions.pod:2321 ../fish/guestfish-actions.pod:1704 ../fish/guestfish-actions.pod:1834
7636 msgid "\"windows\""
7637 msgstr ""
7638
7639 # type: textblock
7640 #: ../src/guestfs-actions.pod:2167 ../fish/guestfish-actions.pod:1706
7641 msgid ""
7642 "Windows does not have distributions.  This string is returned if the OS type "
7643 "is Windows."
7644 msgstr ""
7645
7646 # type: =item
7647 #: ../src/guestfs-actions.pod:2170 ../fish/guestfish-actions.pod:1709
7648 msgid "\"ubuntu\""
7649 msgstr ""
7650
7651 # type: textblock
7652 #: ../src/guestfs-actions.pod:2172 ../fish/guestfish-actions.pod:1711
7653 msgid "Ubuntu."
7654 msgstr ""
7655
7656 # type: =item
7657 #: ../src/guestfs-actions.pod:2174 ../src/guestfs-actions.pod:2325 ../fish/guestfish-actions.pod:1713 ../fish/guestfish-actions.pod:1838
7658 msgid "\"unknown\""
7659 msgstr ""
7660
7661 # type: textblock
7662 #: ../src/guestfs-actions.pod:2176 ../fish/guestfish-actions.pod:1715
7663 msgid "The distro could not be determined."
7664 msgstr ""
7665
7666 # type: textblock
7667 #: ../src/guestfs-actions.pod:2180 ../src/guestfs-actions.pod:2331 ../fish/guestfish-actions.pod:1719 ../fish/guestfish-actions.pod:1844
7668 msgid ""
7669 "Future versions of libguestfs may return other strings here.  The caller "
7670 "should be prepared to handle any string."
7671 msgstr ""
7672
7673 # type: =head2
7674 #: ../src/guestfs-actions.pod:2188
7675 msgid "guestfs_inspect_get_filesystems"
7676 msgstr ""
7677
7678 # type: verbatim
7679 #: ../src/guestfs-actions.pod:2190
7680 #, no-wrap
7681 msgid ""
7682 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7683 "\t\tconst char *root);\n"
7684 "\n"
7685 msgstr ""
7686
7687 # type: textblock
7688 #: ../src/guestfs-actions.pod:2196 ../fish/guestfish-actions.pod:1731
7689 msgid ""
7690 "This returns a list of all the filesystems that we think are associated with "
7691 "this operating system.  This includes the root filesystem, other ordinary "
7692 "filesystems, and non-mounted devices like swap partitions."
7693 msgstr ""
7694
7695 # type: textblock
7696 #: ../src/guestfs-actions.pod:2201 ../fish/guestfish-actions.pod:1736
7697 msgid ""
7698 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7699 "to be shared between operating systems."
7700 msgstr ""
7701
7702 # type: textblock
7703 #: ../src/guestfs-actions.pod:2204
7704 msgid ""
7705 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7706 "C<guestfs_inspect_get_mountpoints>."
7707 msgstr ""
7708
7709 # type: =head2
7710 #: ../src/guestfs-actions.pod:2211
7711 msgid "guestfs_inspect_get_major_version"
7712 msgstr ""
7713
7714 # type: verbatim
7715 #: ../src/guestfs-actions.pod:2213
7716 #, no-wrap
7717 msgid ""
7718 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7719 "\t\tconst char *root);\n"
7720 "\n"
7721 msgstr ""
7722
7723 # type: textblock
7724 #: ../src/guestfs-actions.pod:2219 ../fish/guestfish-actions.pod:1749
7725 msgid "This returns the major version number of the inspected operating system."
7726 msgstr ""
7727
7728 # type: textblock
7729 #: ../src/guestfs-actions.pod:2222 ../fish/guestfish-actions.pod:1752
7730 msgid ""
7731 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7732 "popular public names used by the operating system.  Notably the operating "
7733 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7734 "1).  You can find out the real versions corresponding to releases of Windows "
7735 "by consulting Wikipedia or MSDN."
7736 msgstr ""
7737
7738 # type: textblock
7739 #: ../src/guestfs-actions.pod:2229 ../src/guestfs-actions.pod:2246 ../fish/guestfish-actions.pod:1759 ../fish/guestfish-actions.pod:1773
7740 msgid "If the version could not be determined, then C<0> is returned."
7741 msgstr ""
7742
7743 # type: =head2
7744 #: ../src/guestfs-actions.pod:2235
7745 msgid "guestfs_inspect_get_minor_version"
7746 msgstr ""
7747
7748 # type: verbatim
7749 #: ../src/guestfs-actions.pod:2237
7750 #, no-wrap
7751 msgid ""
7752 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7753 "\t\tconst char *root);\n"
7754 "\n"
7755 msgstr ""
7756
7757 # type: textblock
7758 #: ../src/guestfs-actions.pod:2243 ../fish/guestfish-actions.pod:1770
7759 msgid "This returns the minor version number of the inspected operating system."
7760 msgstr ""
7761
7762 # type: textblock
7763 #: ../src/guestfs-actions.pod:2248
7764 msgid ""
7765 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7766 "C<guestfs_inspect_get_major_version>."
7767 msgstr ""
7768
7769 # type: =head2
7770 #: ../src/guestfs-actions.pod:2253
7771 msgid "guestfs_inspect_get_mountpoints"
7772 msgstr ""
7773
7774 # type: verbatim
7775 #: ../src/guestfs-actions.pod:2255
7776 #, no-wrap
7777 msgid ""
7778 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7779 "\t\tconst char *root);\n"
7780 "\n"
7781 msgstr ""
7782
7783 # type: textblock
7784 #: ../src/guestfs-actions.pod:2261 ../fish/guestfish-actions.pod:1785
7785 msgid ""
7786 "This returns a hash of where we think the filesystems associated with this "
7787 "operating system should be mounted.  Callers should note that this is at "
7788 "best an educated guess made by reading configuration files such as "
7789 "C</etc/fstab>."
7790 msgstr ""
7791
7792 # type: textblock
7793 #: ../src/guestfs-actions.pod:2266 ../fish/guestfish-actions.pod:1790
7794 msgid ""
7795 "Each element in the returned hashtable has a key which is the path of the "
7796 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7797 "mounted there (eg. C</dev/sda1>)."
7798 msgstr ""
7799
7800 # type: textblock
7801 #: ../src/guestfs-actions.pod:2271 ../fish/guestfish-actions.pod:1795
7802 msgid "Non-mounted devices such as swap devices are I<not> returned in this list."
7803 msgstr ""
7804
7805 # type: textblock
7806 #: ../src/guestfs-actions.pod:2274
7807 msgid ""
7808 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7809 "C<guestfs_inspect_get_filesystems>."
7810 msgstr ""
7811
7812 # type: textblock
7813 #: ../src/guestfs-actions.pod:2277 ../src/guestfs-actions.pod:2637 ../src/guestfs-actions.pod:3591 ../src/guestfs-actions.pod:5174
7814 msgid ""
7815 "This function returns a NULL-terminated array of strings, or NULL if there "
7816 "was an error.  The array of strings will always have length C<2n+1>, where "
7817 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7818 "caller must free the strings and the array after use>."
7819 msgstr ""
7820
7821 # type: =head2
7822 #: ../src/guestfs-actions.pod:2283
7823 msgid "guestfs_inspect_get_product_name"
7824 msgstr ""
7825
7826 # type: verbatim
7827 #: ../src/guestfs-actions.pod:2285
7828 #, no-wrap
7829 msgid ""
7830 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7831 "\t\tconst char *root);\n"
7832 "\n"
7833 msgstr ""
7834
7835 # type: textblock
7836 #: ../src/guestfs-actions.pod:2291 ../fish/guestfish-actions.pod:1808
7837 msgid ""
7838 "This returns the product name of the inspected operating system.  The "
7839 "product name is generally some freeform string which can be displayed to the "
7840 "user, but should not be parsed by programs."
7841 msgstr ""
7842
7843 # type: textblock
7844 #: ../src/guestfs-actions.pod:2296 ../fish/guestfish-actions.pod:1813
7845 msgid ""
7846 "If the product name could not be determined, then the string C<unknown> is "
7847 "returned."
7848 msgstr ""
7849
7850 # type: =head2
7851 #: ../src/guestfs-actions.pod:2304
7852 msgid "guestfs_inspect_get_type"
7853 msgstr ""
7854
7855 # type: verbatim
7856 #: ../src/guestfs-actions.pod:2306
7857 #, no-wrap
7858 msgid ""
7859 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7860 "\t\tconst char *root);\n"
7861 "\n"
7862 msgstr ""
7863
7864 # type: textblock
7865 #: ../src/guestfs-actions.pod:2312 ../fish/guestfish-actions.pod:1825
7866 msgid ""
7867 "This returns the type of the inspected operating system.  Currently defined "
7868 "types are:"
7869 msgstr ""
7870
7871 # type: =item
7872 #: ../src/guestfs-actions.pod:2317 ../fish/guestfish-actions.pod:1830
7873 msgid "\"linux\""
7874 msgstr ""
7875
7876 # type: textblock
7877 #: ../src/guestfs-actions.pod:2319 ../fish/guestfish-actions.pod:1832
7878 msgid "Any Linux-based operating system."
7879 msgstr ""
7880
7881 # type: textblock
7882 #: ../src/guestfs-actions.pod:2323 ../fish/guestfish-actions.pod:1836
7883 msgid "Any Microsoft Windows operating system."
7884 msgstr ""
7885
7886 # type: textblock
7887 #: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1840
7888 msgid "The operating system type could not be determined."
7889 msgstr ""
7890
7891 # type: =head2
7892 #: ../src/guestfs-actions.pod:2339
7893 msgid "guestfs_inspect_get_windows_systemroot"
7894 msgstr ""
7895
7896 # type: verbatim
7897 #: ../src/guestfs-actions.pod:2341
7898 #, no-wrap
7899 msgid ""
7900 " char *guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
7901 "\t\tconst char *root);\n"
7902 "\n"
7903 msgstr ""
7904
7905 # type: textblock
7906 #: ../src/guestfs-actions.pod:2347 ../fish/guestfish-actions.pod:1856
7907 msgid ""
7908 "This returns the Windows systemroot of the inspected guest.  The systemroot "
7909 "is a directory path such as C</WINDOWS>."
7910 msgstr ""
7911
7912 # type: textblock
7913 #: ../src/guestfs-actions.pod:2350 ../fish/guestfish-actions.pod:1859
7914 msgid ""
7915 "This call assumes that the guest is Windows and that the systemroot could be "
7916 "determined by inspection.  If this is not the case then an error is "
7917 "returned."
7918 msgstr ""
7919
7920 # type: =head2
7921 #: ../src/guestfs-actions.pod:2359
7922 msgid "guestfs_inspect_os"
7923 msgstr ""
7924
7925 # type: verbatim
7926 #: ../src/guestfs-actions.pod:2361
7927 #, no-wrap
7928 msgid ""
7929 " char **guestfs_inspect_os (guestfs_h *g);\n"
7930 "\n"
7931 msgstr ""
7932
7933 # type: textblock
7934 #: ../src/guestfs-actions.pod:2363 ../fish/guestfish-actions.pod:1869
7935 msgid ""
7936 "This function uses other libguestfs functions and certain heuristics to "
7937 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7938 "for operating systems."
7939 msgstr ""
7940
7941 # type: textblock
7942 #: ../src/guestfs-actions.pod:2367 ../fish/guestfish-actions.pod:1873
7943 msgid "The list returned is empty if no operating systems were found."
7944 msgstr ""
7945
7946 # type: textblock
7947 #: ../src/guestfs-actions.pod:2369 ../fish/guestfish-actions.pod:1875
7948 msgid ""
7949 "If one operating system was found, then this returns a list with a single "
7950 "element, which is the name of the root filesystem of this operating system.  "
7951 "It is also possible for this function to return a list containing more than "
7952 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7953 "element being the root filesystem of one of the operating systems."
7954 msgstr ""
7955
7956 # type: textblock
7957 #: ../src/guestfs-actions.pod:2376
7958 msgid ""
7959 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7960 "functions in order to query further information about each operating system, "
7961 "such as the name and version."
7962 msgstr ""
7963
7964 # type: textblock
7965 #: ../src/guestfs-actions.pod:2381
7966 msgid ""
7967 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7968 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7969 "the contents.  This should be called with no disks currently mounted.  The "
7970 "function may also use Augeas, so any existing Augeas handle will be closed."
7971 msgstr ""
7972
7973 # type: textblock
7974 #: ../src/guestfs-actions.pod:2387 ../fish/guestfish-actions.pod:1893
7975 msgid ""
7976 "This function cannot decrypt encrypted disks.  The caller must do that first "
7977 "(supplying the necessary keys) if the disk is encrypted."
7978 msgstr ""
7979
7980 # type: textblock
7981 #: ../src/guestfs-actions.pod:2393 ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2654
7982 msgid "See also C<guestfs_list_filesystems>."
7983 msgstr ""
7984
7985 # type: =head2
7986 #: ../src/guestfs-actions.pod:2399
7987 msgid "guestfs_is_blockdev"
7988 msgstr ""
7989
7990 # type: verbatim
7991 #: ../src/guestfs-actions.pod:2401
7992 #, no-wrap
7993 msgid ""
7994 " int guestfs_is_blockdev (guestfs_h *g,\n"
7995 "\t\tconst char *path);\n"
7996 "\n"
7997 msgstr ""
7998
7999 # type: textblock
8000 #: ../src/guestfs-actions.pod:2404 ../fish/guestfish-actions.pod:1905
8001 msgid ""
8002 "This returns C<true> if and only if there is a block device with the given "
8003 "C<path> name."
8004 msgstr ""
8005
8006 # type: textblock
8007 #: ../src/guestfs-actions.pod:2407 ../src/guestfs-actions.pod:2430 ../src/guestfs-actions.pod:2454 ../src/guestfs-actions.pod:2466 ../src/guestfs-actions.pod:2479 ../src/guestfs-actions.pod:2523 ../src/guestfs-actions.pod:2535
8008 msgid "See also C<guestfs_stat>."
8009 msgstr ""
8010
8011 # type: =head2
8012 #: ../src/guestfs-actions.pod:2411
8013 msgid "guestfs_is_busy"
8014 msgstr ""
8015
8016 # type: verbatim
8017 #: ../src/guestfs-actions.pod:2413
8018 #, no-wrap
8019 msgid ""
8020 " int guestfs_is_busy (guestfs_h *g);\n"
8021 "\n"
8022 msgstr ""
8023
8024 # type: textblock
8025 #: ../src/guestfs-actions.pod:2415 ../fish/guestfish-actions.pod:1914
8026 msgid ""
8027 "This returns true iff this handle is busy processing a command (in the "
8028 "C<BUSY> state)."
8029 msgstr ""
8030
8031 # type: =head2
8032 #: ../src/guestfs-actions.pod:2422
8033 msgid "guestfs_is_chardev"
8034 msgstr ""
8035
8036 # type: verbatim
8037 #: ../src/guestfs-actions.pod:2424
8038 #, no-wrap
8039 msgid ""
8040 " int guestfs_is_chardev (guestfs_h *g,\n"
8041 "\t\tconst char *path);\n"
8042 "\n"
8043 msgstr ""
8044
8045 # type: textblock
8046 #: ../src/guestfs-actions.pod:2427 ../fish/guestfish-actions.pod:1923
8047 msgid ""
8048 "This returns C<true> if and only if there is a character device with the "
8049 "given C<path> name."
8050 msgstr ""
8051
8052 # type: =head2
8053 #: ../src/guestfs-actions.pod:2434
8054 msgid "guestfs_is_config"
8055 msgstr ""
8056
8057 # type: verbatim
8058 #: ../src/guestfs-actions.pod:2436
8059 #, no-wrap
8060 msgid ""
8061 " int guestfs_is_config (guestfs_h *g);\n"
8062 "\n"
8063 msgstr ""
8064
8065 # type: textblock
8066 #: ../src/guestfs-actions.pod:2438 ../fish/guestfish-actions.pod:1932
8067 msgid ""
8068 "This returns true iff this handle is being configured (in the C<CONFIG> "
8069 "state)."
8070 msgstr ""
8071
8072 # type: =head2
8073 #: ../src/guestfs-actions.pod:2445
8074 msgid "guestfs_is_dir"
8075 msgstr ""
8076
8077 # type: verbatim
8078 #: ../src/guestfs-actions.pod:2447
8079 #, no-wrap
8080 msgid ""
8081 " int guestfs_is_dir (guestfs_h *g,\n"
8082 "\t\tconst char *path);\n"
8083 "\n"
8084 msgstr ""
8085
8086 # type: textblock
8087 #: ../src/guestfs-actions.pod:2450 ../fish/guestfish-actions.pod:1941
8088 msgid ""
8089 "This returns C<true> if and only if there is a directory with the given "
8090 "C<path> name.  Note that it returns false for other objects like files."
8091 msgstr ""
8092
8093 # type: =head2
8094 #: ../src/guestfs-actions.pod:2458
8095 msgid "guestfs_is_fifo"
8096 msgstr ""
8097
8098 # type: verbatim
8099 #: ../src/guestfs-actions.pod:2460
8100 #, no-wrap
8101 msgid ""
8102 " int guestfs_is_fifo (guestfs_h *g,\n"
8103 "\t\tconst char *path);\n"
8104 "\n"
8105 msgstr ""
8106
8107 # type: textblock
8108 #: ../src/guestfs-actions.pod:2463 ../fish/guestfish-actions.pod:1951
8109 msgid ""
8110 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
8111 "given C<path> name."
8112 msgstr ""
8113
8114 # type: =head2
8115 #: ../src/guestfs-actions.pod:2470
8116 msgid "guestfs_is_file"
8117 msgstr ""
8118
8119 # type: verbatim
8120 #: ../src/guestfs-actions.pod:2472
8121 #, no-wrap
8122 msgid ""
8123 " int guestfs_is_file (guestfs_h *g,\n"
8124 "\t\tconst char *path);\n"
8125 "\n"
8126 msgstr ""
8127
8128 # type: textblock
8129 #: ../src/guestfs-actions.pod:2475 ../fish/guestfish-actions.pod:1960
8130 msgid ""
8131 "This returns C<true> if and only if there is a regular file with the given "
8132 "C<path> name.  Note that it returns false for other objects like "
8133 "directories."
8134 msgstr ""
8135
8136 # type: =head2
8137 #: ../src/guestfs-actions.pod:2483
8138 msgid "guestfs_is_launching"
8139 msgstr ""
8140
8141 # type: verbatim
8142 #: ../src/guestfs-actions.pod:2485
8143 #, no-wrap
8144 msgid ""
8145 " int guestfs_is_launching (guestfs_h *g);\n"
8146 "\n"
8147 msgstr ""
8148
8149 # type: textblock
8150 #: ../src/guestfs-actions.pod:2487 ../fish/guestfish-actions.pod:1970
8151 msgid ""
8152 "This returns true iff this handle is launching the subprocess (in the "
8153 "C<LAUNCHING> state)."
8154 msgstr ""
8155
8156 # type: =head2
8157 #: ../src/guestfs-actions.pod:2494
8158 msgid "guestfs_is_lv"
8159 msgstr ""
8160
8161 # type: verbatim
8162 #: ../src/guestfs-actions.pod:2496
8163 #, no-wrap
8164 msgid ""
8165 " int guestfs_is_lv (guestfs_h *g,\n"
8166 "\t\tconst char *device);\n"
8167 "\n"
8168 msgstr ""
8169
8170 # type: textblock
8171 #: ../src/guestfs-actions.pod:2499 ../fish/guestfish-actions.pod:1979
8172 msgid ""
8173 "This command tests whether C<device> is a logical volume, and returns true "
8174 "iff this is the case."
8175 msgstr ""
8176
8177 # type: =head2
8178 #: ../src/guestfs-actions.pod:2504
8179 msgid "guestfs_is_ready"
8180 msgstr ""
8181
8182 # type: verbatim
8183 #: ../src/guestfs-actions.pod:2506
8184 #, no-wrap
8185 msgid ""
8186 " int guestfs_is_ready (guestfs_h *g);\n"
8187 "\n"
8188 msgstr ""
8189
8190 # type: textblock
8191 #: ../src/guestfs-actions.pod:2508 ../fish/guestfish-actions.pod:1986
8192 msgid ""
8193 "This returns true iff this handle is ready to accept commands (in the "
8194 "C<READY> state)."
8195 msgstr ""
8196
8197 # type: =head2
8198 #: ../src/guestfs-actions.pod:2515
8199 msgid "guestfs_is_socket"
8200 msgstr ""
8201
8202 # type: verbatim
8203 #: ../src/guestfs-actions.pod:2517
8204 #, no-wrap
8205 msgid ""
8206 " int guestfs_is_socket (guestfs_h *g,\n"
8207 "\t\tconst char *path);\n"
8208 "\n"
8209 msgstr ""
8210
8211 # type: textblock
8212 #: ../src/guestfs-actions.pod:2520 ../fish/guestfish-actions.pod:1995
8213 msgid ""
8214 "This returns C<true> if and only if there is a Unix domain socket with the "
8215 "given C<path> name."
8216 msgstr ""
8217
8218 # type: =head2
8219 #: ../src/guestfs-actions.pod:2527
8220 msgid "guestfs_is_symlink"
8221 msgstr ""
8222
8223 # type: verbatim
8224 #: ../src/guestfs-actions.pod:2529
8225 #, no-wrap
8226 msgid ""
8227 " int guestfs_is_symlink (guestfs_h *g,\n"
8228 "\t\tconst char *path);\n"
8229 "\n"
8230 msgstr ""
8231
8232 # type: textblock
8233 #: ../src/guestfs-actions.pod:2532 ../fish/guestfish-actions.pod:2004
8234 msgid ""
8235 "This returns C<true> if and only if there is a symbolic link with the given "
8236 "C<path> name."
8237 msgstr ""
8238
8239 # type: =head2
8240 #: ../src/guestfs-actions.pod:2539
8241 msgid "guestfs_kill_subprocess"
8242 msgstr ""
8243
8244 # type: verbatim
8245 #: ../src/guestfs-actions.pod:2541
8246 #, no-wrap
8247 msgid ""
8248 " int guestfs_kill_subprocess (guestfs_h *g);\n"
8249 "\n"
8250 msgstr ""
8251
8252 # type: textblock
8253 #: ../src/guestfs-actions.pod:2543 ../fish/guestfish-actions.pod:2013
8254 msgid "This kills the qemu subprocess.  You should never need to call this."
8255 msgstr ""
8256
8257 # type: =head2
8258 #: ../src/guestfs-actions.pod:2547
8259 msgid "guestfs_launch"
8260 msgstr ""
8261
8262 # type: verbatim
8263 #: ../src/guestfs-actions.pod:2549
8264 #, no-wrap
8265 msgid ""
8266 " int guestfs_launch (guestfs_h *g);\n"
8267 "\n"
8268 msgstr ""
8269
8270 # type: textblock
8271 #: ../src/guestfs-actions.pod:2551 ../fish/guestfish-actions.pod:2021
8272 msgid ""
8273 "Internally libguestfs is implemented by running a virtual machine using "
8274 "L<qemu(1)>."
8275 msgstr ""
8276
8277 # type: textblock
8278 #: ../src/guestfs-actions.pod:2554 ../fish/guestfish-actions.pod:2024
8279 msgid ""
8280 "You should call this after configuring the handle (eg. adding drives) but "
8281 "before performing any actions."
8282 msgstr ""
8283
8284 # type: =head2
8285 #: ../src/guestfs-actions.pod:2559
8286 msgid "guestfs_lchown"
8287 msgstr ""
8288
8289 # type: verbatim
8290 #: ../src/guestfs-actions.pod:2561
8291 #, no-wrap
8292 msgid ""
8293 " int guestfs_lchown (guestfs_h *g,\n"
8294 "\t\tint owner,\n"
8295 "\t\tint group,\n"
8296 "\t\tconst char *path);\n"
8297 "\n"
8298 msgstr ""
8299
8300 # type: textblock
8301 #: ../src/guestfs-actions.pod:2566
8302 msgid ""
8303 "Change the file owner to C<owner> and group to C<group>.  This is like "
8304 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
8305 "changed, not the target."
8306 msgstr ""
8307
8308 # type: =head2
8309 #: ../src/guestfs-actions.pod:2576
8310 msgid "guestfs_lgetxattrs"
8311 msgstr ""
8312
8313 # type: verbatim
8314 #: ../src/guestfs-actions.pod:2578
8315 #, no-wrap
8316 msgid ""
8317 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
8318 "\t\tconst char *path);\n"
8319 "\n"
8320 msgstr ""
8321
8322 # type: textblock
8323 #: ../src/guestfs-actions.pod:2581
8324 msgid ""
8325 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
8326 "then it returns the extended attributes of the link itself."
8327 msgstr ""
8328
8329 # type: =head2
8330 #: ../src/guestfs-actions.pod:2590
8331 msgid "guestfs_list_devices"
8332 msgstr ""
8333
8334 # type: verbatim
8335 #: ../src/guestfs-actions.pod:2592
8336 #, no-wrap
8337 msgid ""
8338 " char **guestfs_list_devices (guestfs_h *g);\n"
8339 "\n"
8340 msgstr ""
8341
8342 # type: textblock
8343 #: ../src/guestfs-actions.pod:2594 ../fish/guestfish-actions.pod:2051
8344 msgid "List all the block devices."
8345 msgstr ""
8346
8347 # type: textblock
8348 #: ../src/guestfs-actions.pod:2596 ../fish/guestfish-actions.pod:2053
8349 msgid "The full block device names are returned, eg. C</dev/sda>."
8350 msgstr ""
8351
8352 # type: =head2
8353 #: ../src/guestfs-actions.pod:2604
8354 msgid "guestfs_list_filesystems"
8355 msgstr ""
8356
8357 # type: verbatim
8358 #: ../src/guestfs-actions.pod:2606
8359 #, no-wrap
8360 msgid ""
8361 " char **guestfs_list_filesystems (guestfs_h *g);\n"
8362 "\n"
8363 msgstr ""
8364
8365 # type: textblock
8366 #: ../src/guestfs-actions.pod:2608 ../fish/guestfish-actions.pod:2061
8367 msgid ""
8368 "This inspection command looks for filesystems on partitions, block devices "
8369 "and logical volumes, returning a list of devices containing filesystems and "
8370 "their type."
8371 msgstr ""
8372
8373 # type: textblock
8374 #: ../src/guestfs-actions.pod:2612 ../fish/guestfish-actions.pod:2065
8375 msgid ""
8376 "The return value is a hash, where the keys are the devices containing "
8377 "filesystems, and the values are the filesystem types.  For example:"
8378 msgstr ""
8379
8380 # type: verbatim
8381 #: ../src/guestfs-actions.pod:2616 ../fish/guestfish-actions.pod:2069
8382 #, no-wrap
8383 msgid ""
8384 " \"/dev/sda1\" => \"ntfs\"\n"
8385 " \"/dev/sda2\" => \"ext2\"\n"
8386 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
8387 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
8388 "\n"
8389 msgstr ""
8390
8391 # type: textblock
8392 #: ../src/guestfs-actions.pod:2621 ../fish/guestfish-actions.pod:2074
8393 msgid ""
8394 "The value can have the special value \"unknown\", meaning the content of the "
8395 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
8396 msgstr ""
8397
8398 # type: textblock
8399 #: ../src/guestfs-actions.pod:2625
8400 msgid ""
8401 "This command runs other libguestfs commands, which might include "
8402 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
8403 "soon after launch and only when nothing is mounted."
8404 msgstr ""
8405
8406 # type: textblock
8407 #: ../src/guestfs-actions.pod:2629
8408 msgid ""
8409 "Not all of the filesystems returned will be mountable.  In particular, swap "
8410 "partitions are returned in the list.  Also this command does not check that "
8411 "each filesystem found is valid and mountable, and some filesystems might be "
8412 "mountable but require special options.  Filesystems may not all belong to a "
8413 "single logical operating system (use C<guestfs_inspect_os> to look for "
8414 "OSes)."
8415 msgstr ""
8416
8417 # type: =head2
8418 #: ../src/guestfs-actions.pod:2643
8419 msgid "guestfs_list_partitions"
8420 msgstr ""
8421
8422 # type: verbatim
8423 #: ../src/guestfs-actions.pod:2645
8424 #, no-wrap
8425 msgid ""
8426 " char **guestfs_list_partitions (guestfs_h *g);\n"
8427 "\n"
8428 msgstr ""
8429
8430 # type: textblock
8431 #: ../src/guestfs-actions.pod:2647 ../fish/guestfish-actions.pod:2094
8432 msgid "List all the partitions detected on all block devices."
8433 msgstr ""
8434
8435 # type: textblock
8436 #: ../src/guestfs-actions.pod:2649 ../fish/guestfish-actions.pod:2096
8437 msgid "The full partition device names are returned, eg. C</dev/sda1>"
8438 msgstr ""
8439
8440 # type: textblock
8441 #: ../src/guestfs-actions.pod:2651
8442 msgid ""
8443 "This does not return logical volumes.  For that you will need to call "
8444 "C<guestfs_lvs>."
8445 msgstr ""
8446
8447 # type: =head2
8448 #: ../src/guestfs-actions.pod:2660
8449 msgid "guestfs_ll"
8450 msgstr ""
8451
8452 # type: verbatim
8453 #: ../src/guestfs-actions.pod:2662
8454 #, no-wrap
8455 msgid ""
8456 " char *guestfs_ll (guestfs_h *g,\n"
8457 "\t\tconst char *directory);\n"
8458 "\n"
8459 msgstr ""
8460
8461 # type: textblock
8462 #: ../src/guestfs-actions.pod:2665 ../fish/guestfish-actions.pod:2107
8463 msgid ""
8464 "List the files in C<directory> (relative to the root directory, there is no "
8465 "cwd) in the format of 'ls -la'."
8466 msgstr ""
8467
8468 # type: textblock
8469 #: ../src/guestfs-actions.pod:2668 ../fish/guestfish-actions.pod:2110
8470 msgid ""
8471 "This command is mostly useful for interactive sessions.  It is I<not> "
8472 "intended that you try to parse the output string."
8473 msgstr ""
8474
8475 # type: =head2
8476 #: ../src/guestfs-actions.pod:2674
8477 msgid "guestfs_ln"
8478 msgstr ""
8479
8480 # type: verbatim
8481 #: ../src/guestfs-actions.pod:2676
8482 #, no-wrap
8483 msgid ""
8484 " int guestfs_ln (guestfs_h *g,\n"
8485 "\t\tconst char *target,\n"
8486 "\t\tconst char *linkname);\n"
8487 "\n"
8488 msgstr ""
8489
8490 # type: textblock
8491 #: ../src/guestfs-actions.pod:2680 ../fish/guestfish-actions.pod:2117
8492 msgid "This command creates a hard link using the C<ln> command."
8493 msgstr ""
8494
8495 # type: =head2
8496 #: ../src/guestfs-actions.pod:2684
8497 msgid "guestfs_ln_f"
8498 msgstr ""
8499
8500 # type: verbatim
8501 #: ../src/guestfs-actions.pod:2686
8502 #, no-wrap
8503 msgid ""
8504 " int guestfs_ln_f (guestfs_h *g,\n"
8505 "\t\tconst char *target,\n"
8506 "\t\tconst char *linkname);\n"
8507 "\n"
8508 msgstr ""
8509
8510 # type: textblock
8511 #: ../src/guestfs-actions.pod:2690 ../fish/guestfish-actions.pod:2123
8512 msgid ""
8513 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
8514 "option removes the link (C<linkname>) if it exists already."
8515 msgstr ""
8516
8517 # type: =head2
8518 #: ../src/guestfs-actions.pod:2695
8519 msgid "guestfs_ln_s"
8520 msgstr ""
8521
8522 # type: verbatim
8523 #: ../src/guestfs-actions.pod:2697
8524 #, no-wrap
8525 msgid ""
8526 " int guestfs_ln_s (guestfs_h *g,\n"
8527 "\t\tconst char *target,\n"
8528 "\t\tconst char *linkname);\n"
8529 "\n"
8530 msgstr ""
8531
8532 # type: textblock
8533 #: ../src/guestfs-actions.pod:2701 ../fish/guestfish-actions.pod:2130
8534 msgid "This command creates a symbolic link using the C<ln -s> command."
8535 msgstr ""
8536
8537 # type: =head2
8538 #: ../src/guestfs-actions.pod:2705
8539 msgid "guestfs_ln_sf"
8540 msgstr ""
8541
8542 # type: verbatim
8543 #: ../src/guestfs-actions.pod:2707
8544 #, no-wrap
8545 msgid ""
8546 " int guestfs_ln_sf (guestfs_h *g,\n"
8547 "\t\tconst char *target,\n"
8548 "\t\tconst char *linkname);\n"
8549 "\n"
8550 msgstr ""
8551
8552 # type: textblock
8553 #: ../src/guestfs-actions.pod:2711 ../fish/guestfish-actions.pod:2136
8554 msgid ""
8555 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
8556 "option removes the link (C<linkname>) if it exists already."
8557 msgstr ""
8558
8559 # type: =head2
8560 #: ../src/guestfs-actions.pod:2716
8561 msgid "guestfs_lremovexattr"
8562 msgstr ""
8563
8564 # type: verbatim
8565 #: ../src/guestfs-actions.pod:2718
8566 #, no-wrap
8567 msgid ""
8568 " int guestfs_lremovexattr (guestfs_h *g,\n"
8569 "\t\tconst char *xattr,\n"
8570 "\t\tconst char *path);\n"
8571 "\n"
8572 msgstr ""
8573
8574 # type: textblock
8575 #: ../src/guestfs-actions.pod:2722
8576 msgid ""
8577 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
8578 "link, then it removes an extended attribute of the link itself."
8579 msgstr ""
8580
8581 # type: =head2
8582 #: ../src/guestfs-actions.pod:2728
8583 msgid "guestfs_ls"
8584 msgstr ""
8585
8586 # type: verbatim
8587 #: ../src/guestfs-actions.pod:2730
8588 #, no-wrap
8589 msgid ""
8590 " char **guestfs_ls (guestfs_h *g,\n"
8591 "\t\tconst char *directory);\n"
8592 "\n"
8593 msgstr ""
8594
8595 # type: textblock
8596 #: ../src/guestfs-actions.pod:2733 ../fish/guestfish-actions.pod:2151
8597 msgid ""
8598 "List the files in C<directory> (relative to the root directory, there is no "
8599 "cwd).  The '.' and '..' entries are not returned, but hidden files are "
8600 "shown."
8601 msgstr ""
8602
8603 # type: textblock
8604 #: ../src/guestfs-actions.pod:2737
8605 msgid ""
8606 "This command is mostly useful for interactive sessions.  Programs should "
8607 "probably use C<guestfs_readdir> instead."
8608 msgstr ""
8609
8610 # type: =head2
8611 #: ../src/guestfs-actions.pod:2744
8612 msgid "guestfs_lsetxattr"
8613 msgstr ""
8614
8615 # type: verbatim
8616 #: ../src/guestfs-actions.pod:2746
8617 #, no-wrap
8618 msgid ""
8619 " int guestfs_lsetxattr (guestfs_h *g,\n"
8620 "\t\tconst char *xattr,\n"
8621 "\t\tconst char *val,\n"
8622 "\t\tint vallen,\n"
8623 "\t\tconst char *path);\n"
8624 "\n"
8625 msgstr ""
8626
8627 # type: textblock
8628 #: ../src/guestfs-actions.pod:2752
8629 msgid ""
8630 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8631 "then it sets an extended attribute of the link itself."
8632 msgstr ""
8633
8634 # type: =head2
8635 #: ../src/guestfs-actions.pod:2758
8636 msgid "guestfs_lstat"
8637 msgstr ""
8638
8639 # type: verbatim
8640 #: ../src/guestfs-actions.pod:2760
8641 #, no-wrap
8642 msgid ""
8643 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8644 "\t\tconst char *path);\n"
8645 "\n"
8646 msgstr ""
8647
8648 # type: textblock
8649 #: ../src/guestfs-actions.pod:2763 ../src/guestfs-actions.pod:4839 ../fish/guestfish-actions.pod:2170 ../fish/guestfish-actions.pod:3752
8650 msgid "Returns file information for the given C<path>."
8651 msgstr ""
8652
8653 # type: textblock
8654 #: ../src/guestfs-actions.pod:2765
8655 msgid ""
8656 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8657 "link, then the link is stat-ed, not the file it refers to."
8658 msgstr ""
8659
8660 # type: textblock
8661 #: ../src/guestfs-actions.pod:2769 ../fish/guestfish-actions.pod:2176
8662 msgid "This is the same as the C<lstat(2)> system call."
8663 msgstr ""
8664
8665 # type: textblock
8666 #: ../src/guestfs-actions.pod:2771 ../src/guestfs-actions.pod:4843
8667 msgid ""
8668 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8669 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8670 msgstr ""
8671
8672 # type: =head2
8673 #: ../src/guestfs-actions.pod:2775
8674 msgid "guestfs_lstatlist"
8675 msgstr ""
8676
8677 # type: verbatim
8678 #: ../src/guestfs-actions.pod:2777
8679 #, no-wrap
8680 msgid ""
8681 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8682 "\t\tconst char *path,\n"
8683 "\t\tchar *const *names);\n"
8684 "\n"
8685 msgstr ""
8686
8687 # type: textblock
8688 #: ../src/guestfs-actions.pod:2781
8689 msgid ""
8690 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8691 "files, where all files are in the directory C<path>.  C<names> is the list "
8692 "of files from this directory."
8693 msgstr ""
8694
8695 # type: textblock
8696 #: ../src/guestfs-actions.pod:2785 ../fish/guestfish-actions.pod:2186
8697 msgid ""
8698 "On return you get a list of stat structs, with a one-to-one correspondence "
8699 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8700 "then the C<ino> field of that structure is set to C<-1>."
8701 msgstr ""
8702
8703 # type: textblock
8704 #: ../src/guestfs-actions.pod:2790
8705 msgid ""
8706 "This call is intended for programs that want to efficiently list a directory "
8707 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8708 "for a similarly efficient call for getting extended attributes.  Very long "
8709 "directory listings might cause the protocol message size to be exceeded, "
8710 "causing this call to fail.  The caller must split up such requests into "
8711 "smaller groups of names."
8712 msgstr ""
8713
8714 # type: textblock
8715 #: ../src/guestfs-actions.pod:2798
8716 msgid ""
8717 "This function returns a C<struct guestfs_stat_list *> (see "
8718 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
8719 "must call C<guestfs_free_stat_list> after use>."
8720 msgstr ""
8721
8722 # type: =head2
8723 #: ../src/guestfs-actions.pod:2803
8724 msgid "guestfs_luks_add_key"
8725 msgstr ""
8726
8727 # type: verbatim
8728 #: ../src/guestfs-actions.pod:2805
8729 #, no-wrap
8730 msgid ""
8731 " int guestfs_luks_add_key (guestfs_h *g,\n"
8732 "\t\tconst char *device,\n"
8733 "\t\tconst char *key,\n"
8734 "\t\tconst char *newkey,\n"
8735 "\t\tint keyslot);\n"
8736 "\n"
8737 msgstr ""
8738
8739 # type: textblock
8740 #: ../src/guestfs-actions.pod:2811 ../fish/guestfish-actions.pod:2203
8741 msgid ""
8742 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8743 "existing key, and is used to access the device.  C<newkey> is the new key to "
8744 "add.  C<keyslot> is the key slot that will be replaced."
8745 msgstr ""
8746
8747 # type: textblock
8748 #: ../src/guestfs-actions.pod:2816
8749 msgid ""
8750 "Note that if C<keyslot> already contains a key, then this command will "
8751 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8752 msgstr ""
8753
8754 # type: textblock
8755 #: ../src/guestfs-actions.pod:2822 ../src/guestfs-actions.pod:2856 ../src/guestfs-actions.pod:2876 ../src/guestfs-actions.pod:2893 ../src/guestfs-actions.pod:2922 ../src/guestfs-actions.pod:2938
8756 msgid ""
8757 "This function takes a key or passphrase parameter which could contain "
8758 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8759 "information."
8760 msgstr ""
8761
8762 # type: =head2
8763 #: ../src/guestfs-actions.pod:2826
8764 msgid "guestfs_luks_close"
8765 msgstr ""
8766
8767 # type: verbatim
8768 #: ../src/guestfs-actions.pod:2828
8769 #, no-wrap
8770 msgid ""
8771 " int guestfs_luks_close (guestfs_h *g,\n"
8772 "\t\tconst char *device);\n"
8773 "\n"
8774 msgstr ""
8775
8776 # type: textblock
8777 #: ../src/guestfs-actions.pod:2831
8778 msgid ""
8779 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8780 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8781 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8782 "underlying block device."
8783 msgstr ""
8784
8785 # type: =head2
8786 #: ../src/guestfs-actions.pod:2839
8787 msgid "guestfs_luks_format"
8788 msgstr ""
8789
8790 # type: verbatim
8791 #: ../src/guestfs-actions.pod:2841
8792 #, no-wrap
8793 msgid ""
8794 " int guestfs_luks_format (guestfs_h *g,\n"
8795 "\t\tconst char *device,\n"
8796 "\t\tconst char *key,\n"
8797 "\t\tint keyslot);\n"
8798 "\n"
8799 msgstr ""
8800
8801 # type: textblock
8802 #: ../src/guestfs-actions.pod:2846 ../fish/guestfish-actions.pod:2229
8803 msgid ""
8804 "This command erases existing data on C<device> and formats the device as a "
8805 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8806 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8807 msgstr ""
8808
8809 # type: textblock
8810 #: ../src/guestfs-actions.pod:2853 ../src/guestfs-actions.pod:2873 ../src/guestfs-actions.pod:2992 ../src/guestfs-actions.pod:3719 ../src/guestfs-actions.pod:4380 ../src/guestfs-actions.pod:4701 ../src/guestfs-actions.pod:4721 ../src/guestfs-actions.pod:4744 ../src/guestfs-actions.pod:5709 ../fish/guestfish-actions.pod:2237 ../fish/guestfish-actions.pod:2250 ../fish/guestfish-actions.pod:2334 ../fish/guestfish-actions.pod:2864 ../fish/guestfish-actions.pod:3371 ../fish/guestfish-actions.pod:3651 ../fish/guestfish-actions.pod:3667 ../fish/guestfish-actions.pod:3682 ../fish/guestfish-actions.pod:4397
8811 msgid ""
8812 "B<This command is dangerous.  Without careful use you can easily destroy all "
8813 "your data>."
8814 msgstr ""
8815
8816 # type: =head2
8817 #: ../src/guestfs-actions.pod:2860
8818 msgid "guestfs_luks_format_cipher"
8819 msgstr ""
8820
8821 # type: verbatim
8822 #: ../src/guestfs-actions.pod:2862
8823 #, no-wrap
8824 msgid ""
8825 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8826 "\t\tconst char *device,\n"
8827 "\t\tconst char *key,\n"
8828 "\t\tint keyslot,\n"
8829 "\t\tconst char *cipher);\n"
8830 "\n"
8831 msgstr ""
8832
8833 # type: textblock
8834 #: ../src/guestfs-actions.pod:2868
8835 msgid ""
8836 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8837 "set the C<cipher> used."
8838 msgstr ""
8839
8840 # type: =head2
8841 #: ../src/guestfs-actions.pod:2880
8842 msgid "guestfs_luks_kill_slot"
8843 msgstr ""
8844
8845 # type: verbatim
8846 #: ../src/guestfs-actions.pod:2882
8847 #, no-wrap
8848 msgid ""
8849 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8850 "\t\tconst char *device,\n"
8851 "\t\tconst char *key,\n"
8852 "\t\tint keyslot);\n"
8853 "\n"
8854 msgstr ""
8855
8856 # type: textblock
8857 #: ../src/guestfs-actions.pod:2887 ../fish/guestfish-actions.pod:2257
8858 msgid ""
8859 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8860 "device C<device>.  C<key> must be one of the I<other> keys."
8861 msgstr ""
8862
8863 # type: =head2
8864 #: ../src/guestfs-actions.pod:2897
8865 msgid "guestfs_luks_open"
8866 msgstr ""
8867
8868 # type: verbatim
8869 #: ../src/guestfs-actions.pod:2899
8870 #, no-wrap
8871 msgid ""
8872 " int guestfs_luks_open (guestfs_h *g,\n"
8873 "\t\tconst char *device,\n"
8874 "\t\tconst char *key,\n"
8875 "\t\tconst char *mapname);\n"
8876 "\n"
8877 msgstr ""
8878
8879 # type: textblock
8880 #: ../src/guestfs-actions.pod:2904 ../fish/guestfish-actions.pod:2268
8881 msgid ""
8882 "This command opens a block device which has been encrypted according to the "
8883 "Linux Unified Key Setup (LUKS) standard."
8884 msgstr ""
8885
8886 # type: textblock
8887 #: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2271
8888 msgid "C<device> is the encrypted block device or partition."
8889 msgstr ""
8890
8891 # type: textblock
8892 #: ../src/guestfs-actions.pod:2909 ../fish/guestfish-actions.pod:2273
8893 msgid ""
8894 "The caller must supply one of the keys associated with the LUKS block "
8895 "device, in the C<key> parameter."
8896 msgstr ""
8897
8898 # type: textblock
8899 #: ../src/guestfs-actions.pod:2912 ../fish/guestfish-actions.pod:2276
8900 msgid ""
8901 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8902 "writes to this block device are decrypted from and encrypted to the "
8903 "underlying C<device> respectively."
8904 msgstr ""
8905
8906 # type: textblock
8907 #: ../src/guestfs-actions.pod:2916
8908 msgid ""
8909 "If this block device contains LVM volume groups, then calling "
8910 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8911 "visible."
8912 msgstr ""
8913
8914 # type: =head2
8915 #: ../src/guestfs-actions.pod:2926
8916 msgid "guestfs_luks_open_ro"
8917 msgstr ""
8918
8919 # type: verbatim
8920 #: ../src/guestfs-actions.pod:2928
8921 #, no-wrap
8922 msgid ""
8923 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8924 "\t\tconst char *device,\n"
8925 "\t\tconst char *key,\n"
8926 "\t\tconst char *mapname);\n"
8927 "\n"
8928 msgstr ""
8929
8930 # type: textblock
8931 #: ../src/guestfs-actions.pod:2933
8932 msgid ""
8933 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8934 "created."
8935 msgstr ""
8936
8937 # type: =head2
8938 #: ../src/guestfs-actions.pod:2942
8939 msgid "guestfs_lvcreate"
8940 msgstr ""
8941
8942 # type: verbatim
8943 #: ../src/guestfs-actions.pod:2944
8944 #, no-wrap
8945 msgid ""
8946 " int guestfs_lvcreate (guestfs_h *g,\n"
8947 "\t\tconst char *logvol,\n"
8948 "\t\tconst char *volgroup,\n"
8949 "\t\tint mbytes);\n"
8950 "\n"
8951 msgstr ""
8952
8953 # type: textblock
8954 #: ../src/guestfs-actions.pod:2949 ../fish/guestfish-actions.pod:2301
8955 msgid ""
8956 "This creates an LVM logical volume called C<logvol> on the volume group "
8957 "C<volgroup>, with C<size> megabytes."
8958 msgstr ""
8959
8960 # type: =head2
8961 #: ../src/guestfs-actions.pod:2954
8962 msgid "guestfs_lvm_canonical_lv_name"
8963 msgstr ""
8964
8965 # type: verbatim
8966 #: ../src/guestfs-actions.pod:2956
8967 #, no-wrap
8968 msgid ""
8969 " char *guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
8970 "\t\tconst char *lvname);\n"
8971 "\n"
8972 msgstr ""
8973
8974 # type: textblock
8975 #: ../src/guestfs-actions.pod:2959 ../fish/guestfish-actions.pod:2308
8976 msgid ""
8977 "This converts alternative naming schemes for LVs that you might find to the "
8978 "canonical name.  For example, C</dev/mapper/VG-LV> is converted to "
8979 "C</dev/VG/LV>."
8980 msgstr ""
8981
8982 # type: textblock
8983 #: ../src/guestfs-actions.pod:2963 ../fish/guestfish-actions.pod:2312
8984 msgid ""
8985 "This command returns an error if the C<lvname> parameter does not refer to a "
8986 "logical volume."
8987 msgstr ""
8988
8989 # type: textblock
8990 #: ../src/guestfs-actions.pod:2966
8991 msgid "See also C<guestfs_is_lv>."
8992 msgstr ""
8993
8994 # type: =head2
8995 #: ../src/guestfs-actions.pod:2971
8996 msgid "guestfs_lvm_clear_filter"
8997 msgstr ""
8998
8999 # type: verbatim
9000 #: ../src/guestfs-actions.pod:2973
9001 #, no-wrap
9002 msgid ""
9003 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
9004 "\n"
9005 msgstr ""
9006
9007 # type: textblock
9008 #: ../src/guestfs-actions.pod:2975
9009 msgid ""
9010 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
9011 "see every block device."
9012 msgstr ""
9013
9014 # type: textblock
9015 #: ../src/guestfs-actions.pod:2978 ../src/guestfs-actions.pod:3014 ../fish/guestfish-actions.pod:2324 ../fish/guestfish-actions.pod:2355
9016 msgid "This command also clears the LVM cache and performs a volume group scan."
9017 msgstr ""
9018
9019 # type: =head2
9020 #: ../src/guestfs-actions.pod:2983
9021 msgid "guestfs_lvm_remove_all"
9022 msgstr ""
9023
9024 # type: verbatim
9025 #: ../src/guestfs-actions.pod:2985
9026 #, no-wrap
9027 msgid ""
9028 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
9029 "\n"
9030 msgstr ""
9031
9032 # type: textblock
9033 #: ../src/guestfs-actions.pod:2987 ../fish/guestfish-actions.pod:2331
9034 msgid ""
9035 "This command removes all LVM logical volumes, volume groups and physical "
9036 "volumes."
9037 msgstr ""
9038
9039 # type: =head2
9040 #: ../src/guestfs-actions.pod:2995
9041 msgid "guestfs_lvm_set_filter"
9042 msgstr ""
9043
9044 # type: verbatim
9045 #: ../src/guestfs-actions.pod:2997
9046 #, no-wrap
9047 msgid ""
9048 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
9049 "\t\tchar *const *devices);\n"
9050 "\n"
9051 msgstr ""
9052
9053 # type: textblock
9054 #: ../src/guestfs-actions.pod:3000 ../fish/guestfish-actions.pod:2341
9055 msgid ""
9056 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
9057 "block devices in the list C<devices>, and will ignore all other attached "
9058 "block devices."
9059 msgstr ""
9060
9061 # type: textblock
9062 #: ../src/guestfs-actions.pod:3004 ../fish/guestfish-actions.pod:2345
9063 msgid ""
9064 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
9065 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
9066 "there are two types of duplication possible: either cloned PVs/VGs which "
9067 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
9068 "same name.  In normal operation you cannot create this situation, but you "
9069 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
9070 "inside the LVM metadata."
9071 msgstr ""
9072
9073 # type: textblock
9074 #: ../src/guestfs-actions.pod:3017 ../fish/guestfish-actions.pod:2358
9075 msgid "You can filter whole block devices or individual partitions."
9076 msgstr ""
9077
9078 # type: textblock
9079 #: ../src/guestfs-actions.pod:3019 ../fish/guestfish-actions.pod:2360
9080 msgid ""
9081 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
9082 "filesystem), even if you are not filtering out that VG."
9083 msgstr ""
9084
9085 # type: =head2
9086 #: ../src/guestfs-actions.pod:3025
9087 msgid "guestfs_lvremove"
9088 msgstr ""
9089
9090 # type: verbatim
9091 #: ../src/guestfs-actions.pod:3027
9092 #, no-wrap
9093 msgid ""
9094 " int guestfs_lvremove (guestfs_h *g,\n"
9095 "\t\tconst char *device);\n"
9096 "\n"
9097 msgstr ""
9098
9099 # type: textblock
9100 #: ../src/guestfs-actions.pod:3030 ../fish/guestfish-actions.pod:2368
9101 msgid ""
9102 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
9103 "LV, such as C</dev/VG/LV>."
9104 msgstr ""
9105
9106 # type: textblock
9107 #: ../src/guestfs-actions.pod:3033 ../fish/guestfish-actions.pod:2371
9108 msgid ""
9109 "You can also remove all LVs in a volume group by specifying the VG name, "
9110 "C</dev/VG>."
9111 msgstr ""
9112
9113 # type: =head2
9114 #: ../src/guestfs-actions.pod:3038
9115 msgid "guestfs_lvrename"
9116 msgstr ""
9117
9118 # type: verbatim
9119 #: ../src/guestfs-actions.pod:3040
9120 #, no-wrap
9121 msgid ""
9122 " int guestfs_lvrename (guestfs_h *g,\n"
9123 "\t\tconst char *logvol,\n"
9124 "\t\tconst char *newlogvol);\n"
9125 "\n"
9126 msgstr ""
9127
9128 # type: textblock
9129 #: ../src/guestfs-actions.pod:3044 ../fish/guestfish-actions.pod:2378
9130 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
9131 msgstr ""
9132
9133 # type: =head2
9134 #: ../src/guestfs-actions.pod:3048
9135 msgid "guestfs_lvresize"
9136 msgstr ""
9137
9138 # type: verbatim
9139 #: ../src/guestfs-actions.pod:3050
9140 #, no-wrap
9141 msgid ""
9142 " int guestfs_lvresize (guestfs_h *g,\n"
9143 "\t\tconst char *device,\n"
9144 "\t\tint mbytes);\n"
9145 "\n"
9146 msgstr ""
9147
9148 # type: textblock
9149 #: ../src/guestfs-actions.pod:3054 ../fish/guestfish-actions.pod:2384
9150 msgid ""
9151 "This resizes (expands or shrinks) an existing LVM logical volume to "
9152 "C<mbytes>.  When reducing, data in the reduced part is lost."
9153 msgstr ""
9154
9155 # type: =head2
9156 #: ../src/guestfs-actions.pod:3060
9157 msgid "guestfs_lvresize_free"
9158 msgstr ""
9159
9160 # type: verbatim
9161 #: ../src/guestfs-actions.pod:3062
9162 #, no-wrap
9163 msgid ""
9164 " int guestfs_lvresize_free (guestfs_h *g,\n"
9165 "\t\tconst char *lv,\n"
9166 "\t\tint percent);\n"
9167 "\n"
9168 msgstr ""
9169
9170 # type: textblock
9171 #: ../src/guestfs-actions.pod:3066 ../fish/guestfish-actions.pod:2392
9172 msgid ""
9173 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
9174 "remaining free space in the volume group.  Commonly you would call this with "
9175 "pc = 100 which expands the logical volume as much as possible, using all "
9176 "remaining free space in the volume group."
9177 msgstr ""
9178
9179 # type: =head2
9180 #: ../src/guestfs-actions.pod:3074
9181 msgid "guestfs_lvs"
9182 msgstr ""
9183
9184 # type: verbatim
9185 #: ../src/guestfs-actions.pod:3076
9186 #, no-wrap
9187 msgid ""
9188 " char **guestfs_lvs (guestfs_h *g);\n"
9189 "\n"
9190 msgstr ""
9191
9192 # type: textblock
9193 #: ../src/guestfs-actions.pod:3078 ../fish/guestfish-actions.pod:2402
9194 msgid ""
9195 "List all the logical volumes detected.  This is the equivalent of the "
9196 "L<lvs(8)> command."
9197 msgstr ""
9198
9199 # type: textblock
9200 #: ../src/guestfs-actions.pod:3081 ../fish/guestfish-actions.pod:2405
9201 msgid ""
9202 "This returns a list of the logical volume device names "
9203 "(eg. C</dev/VolGroup00/LogVol00>)."
9204 msgstr ""
9205
9206 # type: textblock
9207 #: ../src/guestfs-actions.pod:3084
9208 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
9209 msgstr ""
9210
9211 # type: =head2
9212 #: ../src/guestfs-actions.pod:3090
9213 msgid "guestfs_lvs_full"
9214 msgstr ""
9215
9216 # type: verbatim
9217 #: ../src/guestfs-actions.pod:3092
9218 #, no-wrap
9219 msgid ""
9220 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
9221 "\n"
9222 msgstr ""
9223
9224 # type: textblock
9225 #: ../src/guestfs-actions.pod:3094 ../fish/guestfish-actions.pod:2414
9226 msgid ""
9227 "List all the logical volumes detected.  This is the equivalent of the "
9228 "L<lvs(8)> command.  The \"full\" version includes all fields."
9229 msgstr ""
9230
9231 # type: textblock
9232 #: ../src/guestfs-actions.pod:3097
9233 msgid ""
9234 "This function returns a C<struct guestfs_lvm_lv_list *> (see "
9235 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
9236 "must call C<guestfs_free_lvm_lv_list> after use>."
9237 msgstr ""
9238
9239 # type: =head2
9240 #: ../src/guestfs-actions.pod:3102
9241 msgid "guestfs_lvuuid"
9242 msgstr ""
9243
9244 # type: verbatim
9245 #: ../src/guestfs-actions.pod:3104
9246 #, no-wrap
9247 msgid ""
9248 " char *guestfs_lvuuid (guestfs_h *g,\n"
9249 "\t\tconst char *device);\n"
9250 "\n"
9251 msgstr ""
9252
9253 # type: textblock
9254 #: ../src/guestfs-actions.pod:3107 ../fish/guestfish-actions.pod:2421
9255 msgid "This command returns the UUID of the LVM LV C<device>."
9256 msgstr ""
9257
9258 # type: =head2
9259 #: ../src/guestfs-actions.pod:3112
9260 msgid "guestfs_lxattrlist"
9261 msgstr ""
9262
9263 # type: verbatim
9264 #: ../src/guestfs-actions.pod:3114
9265 #, no-wrap
9266 msgid ""
9267 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
9268 "\t\tconst char *path,\n"
9269 "\t\tchar *const *names);\n"
9270 "\n"
9271 msgstr ""
9272
9273 # type: textblock
9274 #: ../src/guestfs-actions.pod:3118 ../fish/guestfish-actions.pod:2427
9275 msgid ""
9276 "This call allows you to get the extended attributes of multiple files, where "
9277 "all files are in the directory C<path>.  C<names> is the list of files from "
9278 "this directory."
9279 msgstr ""
9280
9281 # type: textblock
9282 #: ../src/guestfs-actions.pod:3122 ../fish/guestfish-actions.pod:2431
9283 msgid ""
9284 "On return you get a flat list of xattr structs which must be interpreted "
9285 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
9286 "C<attrval> in this struct is zero-length to indicate there was an error "
9287 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
9288 "number (the number of following attributes for this file, which could be "
9289 "C<\"0\">).  Then after the first xattr struct are the zero or more "
9290 "attributes for the first named file.  This repeats for the second and "
9291 "subsequent files."
9292 msgstr ""
9293
9294 # type: textblock
9295 #: ../src/guestfs-actions.pod:3132
9296 msgid ""
9297 "This call is intended for programs that want to efficiently list a directory "
9298 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
9299 "a similarly efficient call for getting standard stats.  Very long directory "
9300 "listings might cause the protocol message size to be exceeded, causing this "
9301 "call to fail.  The caller must split up such requests into smaller groups of "
9302 "names."
9303 msgstr ""
9304
9305 # type: =head2
9306 #: ../src/guestfs-actions.pod:3145
9307 msgid "guestfs_mkdir"
9308 msgstr ""
9309
9310 # type: verbatim
9311 #: ../src/guestfs-actions.pod:3147
9312 #, no-wrap
9313 msgid ""
9314 " int guestfs_mkdir (guestfs_h *g,\n"
9315 "\t\tconst char *path);\n"
9316 "\n"
9317 msgstr ""
9318
9319 # type: textblock
9320 #: ../src/guestfs-actions.pod:3150 ../fish/guestfish-actions.pod:2453
9321 msgid "Create a directory named C<path>."
9322 msgstr ""
9323
9324 # type: =head2
9325 #: ../src/guestfs-actions.pod:3154
9326 msgid "guestfs_mkdir_mode"
9327 msgstr ""
9328
9329 # type: verbatim
9330 #: ../src/guestfs-actions.pod:3156
9331 #, no-wrap
9332 msgid ""
9333 " int guestfs_mkdir_mode (guestfs_h *g,\n"
9334 "\t\tconst char *path,\n"
9335 "\t\tint mode);\n"
9336 "\n"
9337 msgstr ""
9338
9339 # type: textblock
9340 #: ../src/guestfs-actions.pod:3160 ../fish/guestfish-actions.pod:2459
9341 msgid ""
9342 "This command creates a directory, setting the initial permissions of the "
9343 "directory to C<mode>."
9344 msgstr ""
9345
9346 # type: textblock
9347 #: ../src/guestfs-actions.pod:3163 ../fish/guestfish-actions.pod:2462
9348 msgid ""
9349 "For common Linux filesystems, the actual mode which is set will be C<mode & "
9350 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
9351 "other ways."
9352 msgstr ""
9353
9354 # type: textblock
9355 #: ../src/guestfs-actions.pod:3167
9356 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
9357 msgstr ""
9358
9359 # type: =head2
9360 #: ../src/guestfs-actions.pod:3171
9361 msgid "guestfs_mkdir_p"
9362 msgstr ""
9363
9364 # type: verbatim
9365 #: ../src/guestfs-actions.pod:3173
9366 #, no-wrap
9367 msgid ""
9368 " int guestfs_mkdir_p (guestfs_h *g,\n"
9369 "\t\tconst char *path);\n"
9370 "\n"
9371 msgstr ""
9372
9373 # type: textblock
9374 #: ../src/guestfs-actions.pod:3176 ../fish/guestfish-actions.pod:2472
9375 msgid ""
9376 "Create a directory named C<path>, creating any parent directories as "
9377 "necessary.  This is like the C<mkdir -p> shell command."
9378 msgstr ""
9379
9380 # type: =head2
9381 #: ../src/guestfs-actions.pod:3181
9382 msgid "guestfs_mkdtemp"
9383 msgstr ""
9384
9385 # type: verbatim
9386 #: ../src/guestfs-actions.pod:3183
9387 #, no-wrap
9388 msgid ""
9389 " char *guestfs_mkdtemp (guestfs_h *g,\n"
9390 "\t\tconst char *template);\n"
9391 "\n"
9392 msgstr ""
9393
9394 # type: textblock
9395 #: ../src/guestfs-actions.pod:3186 ../fish/guestfish-actions.pod:2479
9396 msgid ""
9397 "This command creates a temporary directory.  The C<template> parameter "
9398 "should be a full pathname for the temporary directory name with the final "
9399 "six characters being \"XXXXXX\"."
9400 msgstr ""
9401
9402 # type: textblock
9403 #: ../src/guestfs-actions.pod:3191 ../fish/guestfish-actions.pod:2484
9404 msgid ""
9405 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
9406 "being suitable for Windows filesystems."
9407 msgstr ""
9408
9409 # type: textblock
9410 #: ../src/guestfs-actions.pod:3194 ../fish/guestfish-actions.pod:2487
9411 msgid "The name of the temporary directory that was created is returned."
9412 msgstr ""
9413
9414 # type: textblock
9415 #: ../src/guestfs-actions.pod:3197 ../fish/guestfish-actions.pod:2490
9416 msgid "The temporary directory is created with mode 0700 and is owned by root."
9417 msgstr ""
9418
9419 # type: textblock
9420 #: ../src/guestfs-actions.pod:3200 ../fish/guestfish-actions.pod:2493
9421 msgid ""
9422 "The caller is responsible for deleting the temporary directory and its "
9423 "contents after use."
9424 msgstr ""
9425
9426 # type: textblock
9427 #: ../src/guestfs-actions.pod:3203 ../fish/guestfish-actions.pod:2496
9428 msgid "See also: L<mkdtemp(3)>"
9429 msgstr ""
9430
9431 # type: =head2
9432 #: ../src/guestfs-actions.pod:3208
9433 msgid "guestfs_mke2fs_J"
9434 msgstr ""
9435
9436 # type: verbatim
9437 #: ../src/guestfs-actions.pod:3210
9438 #, no-wrap
9439 msgid ""
9440 " int guestfs_mke2fs_J (guestfs_h *g,\n"
9441 "\t\tconst char *fstype,\n"
9442 "\t\tint blocksize,\n"
9443 "\t\tconst char *device,\n"
9444 "\t\tconst char *journal);\n"
9445 "\n"
9446 msgstr ""
9447
9448 # type: textblock
9449 #: ../src/guestfs-actions.pod:3216 ../fish/guestfish-actions.pod:2502
9450 msgid ""
9451 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9452 "C<journal>.  It is equivalent to the command:"
9453 msgstr ""
9454
9455 # type: verbatim
9456 #: ../src/guestfs-actions.pod:3220 ../fish/guestfish-actions.pod:2506
9457 #, no-wrap
9458 msgid ""
9459 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
9460 "\n"
9461 msgstr ""
9462
9463 # type: textblock
9464 #: ../src/guestfs-actions.pod:3222
9465 msgid "See also C<guestfs_mke2journal>."
9466 msgstr ""
9467
9468 # type: =head2
9469 #: ../src/guestfs-actions.pod:3226
9470 msgid "guestfs_mke2fs_JL"
9471 msgstr ""
9472
9473 # type: verbatim
9474 #: ../src/guestfs-actions.pod:3228
9475 #, no-wrap
9476 msgid ""
9477 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
9478 "\t\tconst char *fstype,\n"
9479 "\t\tint blocksize,\n"
9480 "\t\tconst char *device,\n"
9481 "\t\tconst char *label);\n"
9482 "\n"
9483 msgstr ""
9484
9485 # type: textblock
9486 #: ../src/guestfs-actions.pod:3234 ../fish/guestfish-actions.pod:2514
9487 msgid ""
9488 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9489 "the journal labeled C<label>."
9490 msgstr ""
9491
9492 # type: textblock
9493 #: ../src/guestfs-actions.pod:3237
9494 msgid "See also C<guestfs_mke2journal_L>."
9495 msgstr ""
9496
9497 # type: =head2
9498 #: ../src/guestfs-actions.pod:3241
9499 msgid "guestfs_mke2fs_JU"
9500 msgstr ""
9501
9502 # type: verbatim
9503 #: ../src/guestfs-actions.pod:3243
9504 #, no-wrap
9505 msgid ""
9506 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
9507 "\t\tconst char *fstype,\n"
9508 "\t\tint blocksize,\n"
9509 "\t\tconst char *device,\n"
9510 "\t\tconst char *uuid);\n"
9511 "\n"
9512 msgstr ""
9513
9514 # type: textblock
9515 #: ../src/guestfs-actions.pod:3249 ../fish/guestfish-actions.pod:2523
9516 msgid ""
9517 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9518 "the journal with UUID C<uuid>."
9519 msgstr ""
9520
9521 # type: textblock
9522 #: ../src/guestfs-actions.pod:3252
9523 msgid "See also C<guestfs_mke2journal_U>."
9524 msgstr ""
9525
9526 # type: =head2
9527 #: ../src/guestfs-actions.pod:3256
9528 msgid "guestfs_mke2journal"
9529 msgstr ""
9530
9531 # type: verbatim
9532 #: ../src/guestfs-actions.pod:3258
9533 #, no-wrap
9534 msgid ""
9535 " int guestfs_mke2journal (guestfs_h *g,\n"
9536 "\t\tint blocksize,\n"
9537 "\t\tconst char *device);\n"
9538 "\n"
9539 msgstr ""
9540
9541 # type: textblock
9542 #: ../src/guestfs-actions.pod:3262 ../fish/guestfish-actions.pod:2532
9543 msgid ""
9544 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
9545 "command:"
9546 msgstr ""
9547
9548 # type: verbatim
9549 #: ../src/guestfs-actions.pod:3265 ../fish/guestfish-actions.pod:2535
9550 #, no-wrap
9551 msgid ""
9552 " mke2fs -O journal_dev -b blocksize device\n"
9553 "\n"
9554 msgstr ""
9555
9556 # type: =head2
9557 #: ../src/guestfs-actions.pod:3269
9558 msgid "guestfs_mke2journal_L"
9559 msgstr ""
9560
9561 # type: verbatim
9562 #: ../src/guestfs-actions.pod:3271
9563 #, no-wrap
9564 msgid ""
9565 " int guestfs_mke2journal_L (guestfs_h *g,\n"
9566 "\t\tint blocksize,\n"
9567 "\t\tconst char *label,\n"
9568 "\t\tconst char *device);\n"
9569 "\n"
9570 msgstr ""
9571
9572 # type: textblock
9573 #: ../src/guestfs-actions.pod:3276 ../fish/guestfish-actions.pod:2541
9574 msgid "This creates an ext2 external journal on C<device> with label C<label>."
9575 msgstr ""
9576
9577 # type: =head2
9578 #: ../src/guestfs-actions.pod:3280
9579 msgid "guestfs_mke2journal_U"
9580 msgstr ""
9581
9582 # type: verbatim
9583 #: ../src/guestfs-actions.pod:3282
9584 #, no-wrap
9585 msgid ""
9586 " int guestfs_mke2journal_U (guestfs_h *g,\n"
9587 "\t\tint blocksize,\n"
9588 "\t\tconst char *uuid,\n"
9589 "\t\tconst char *device);\n"
9590 "\n"
9591 msgstr ""
9592
9593 # type: textblock
9594 #: ../src/guestfs-actions.pod:3287 ../fish/guestfish-actions.pod:2547
9595 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
9596 msgstr ""
9597
9598 # type: =head2
9599 #: ../src/guestfs-actions.pod:3291
9600 msgid "guestfs_mkfifo"
9601 msgstr ""
9602
9603 # type: verbatim
9604 #: ../src/guestfs-actions.pod:3293
9605 #, no-wrap
9606 msgid ""
9607 " int guestfs_mkfifo (guestfs_h *g,\n"
9608 "\t\tint mode,\n"
9609 "\t\tconst char *path);\n"
9610 "\n"
9611 msgstr ""
9612
9613 # type: textblock
9614 #: ../src/guestfs-actions.pod:3297
9615 msgid ""
9616 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
9617 "is just a convenient wrapper around C<guestfs_mknod>."
9618 msgstr ""
9619
9620 # type: =head2
9621 #: ../src/guestfs-actions.pod:3305
9622 msgid "guestfs_mkfs"
9623 msgstr ""
9624
9625 # type: verbatim
9626 #: ../src/guestfs-actions.pod:3307
9627 #, no-wrap
9628 msgid ""
9629 " int guestfs_mkfs (guestfs_h *g,\n"
9630 "\t\tconst char *fstype,\n"
9631 "\t\tconst char *device);\n"
9632 "\n"
9633 msgstr ""
9634
9635 # type: textblock
9636 #: ../src/guestfs-actions.pod:3311 ../fish/guestfish-actions.pod:2563
9637 msgid ""
9638 "This creates a filesystem on C<device> (usually a partition or LVM logical "
9639 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
9640 msgstr ""
9641
9642 # type: =head2
9643 #: ../src/guestfs-actions.pod:3317
9644 msgid "guestfs_mkfs_b"
9645 msgstr ""
9646
9647 # type: verbatim
9648 #: ../src/guestfs-actions.pod:3319
9649 #, no-wrap
9650 msgid ""
9651 " int guestfs_mkfs_b (guestfs_h *g,\n"
9652 "\t\tconst char *fstype,\n"
9653 "\t\tint blocksize,\n"
9654 "\t\tconst char *device);\n"
9655 "\n"
9656 msgstr ""
9657
9658 # type: textblock
9659 #: ../src/guestfs-actions.pod:3324
9660 msgid ""
9661 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9662 "block size of the resulting filesystem.  Supported block sizes depend on the "
9663 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9664 msgstr ""
9665
9666 # type: textblock
9667 #: ../src/guestfs-actions.pod:3329 ../fish/guestfish-actions.pod:2576
9668 msgid ""
9669 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9670 "cluster size."
9671 msgstr ""
9672
9673 # type: =head2
9674 #: ../src/guestfs-actions.pod:3334
9675 msgid "guestfs_mkmountpoint"
9676 msgstr ""
9677
9678 # type: verbatim
9679 #: ../src/guestfs-actions.pod:3336
9680 #, no-wrap
9681 msgid ""
9682 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9683 "\t\tconst char *exemptpath);\n"
9684 "\n"
9685 msgstr ""
9686
9687 # type: textblock
9688 #: ../src/guestfs-actions.pod:3339
9689 msgid ""
9690 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9691 "that can be used to create extra mountpoints before mounting the first "
9692 "filesystem."
9693 msgstr ""
9694
9695 # type: textblock
9696 #: ../src/guestfs-actions.pod:3343 ../fish/guestfish-actions.pod:2587
9697 msgid ""
9698 "These calls are I<only> necessary in some very limited circumstances, mainly "
9699 "the case where you want to mount a mix of unrelated and/or read-only "
9700 "filesystems together."
9701 msgstr ""
9702
9703 # type: textblock
9704 #: ../src/guestfs-actions.pod:3347 ../fish/guestfish-actions.pod:2591
9705 msgid ""
9706 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9707 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9708 "inside that.  You can unpack this as follows in guestfish:"
9709 msgstr ""
9710
9711 # type: verbatim
9712 #: ../src/guestfs-actions.pod:3352 ../fish/guestfish-actions.pod:2596
9713 #, no-wrap
9714 msgid ""
9715 " add-ro Fedora-11-i686-Live.iso\n"
9716 " run\n"
9717 " mkmountpoint /cd\n"
9718 " mkmountpoint /sqsh\n"
9719 " mkmountpoint /ext3fs\n"
9720 " mount /dev/sda /cd\n"
9721 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
9722 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
9723 "\n"
9724 msgstr ""
9725
9726 # type: textblock
9727 #: ../src/guestfs-actions.pod:3361 ../fish/guestfish-actions.pod:2605
9728 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
9729 msgstr ""
9730
9731 # type: textblock
9732 #: ../src/guestfs-actions.pod:3363
9733 msgid ""
9734 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>.  You "
9735 "may get unexpected errors if you try to mix these calls.  It is safest to "
9736 "manually unmount filesystems and remove mountpoints after use."
9737 msgstr ""
9738
9739 # type: textblock
9740 #: ../src/guestfs-actions.pod:3367
9741 msgid ""
9742 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
9743 "first, so for this to work for manual mountpoints, you must ensure that the "
9744 "innermost mountpoints have the longest pathnames, as in the example code "
9745 "above."
9746 msgstr ""
9747
9748 # type: textblock
9749 #: ../src/guestfs-actions.pod:3372 ../fish/guestfish-actions.pod:2616
9750 msgid "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
9751 msgstr ""
9752
9753 # type: textblock
9754 #: ../src/guestfs-actions.pod:3374
9755 msgid ""
9756 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
9757 "means that C<guestfs_umount_all> is called when the handle is closed which "
9758 "can also trigger these issues."
9759 msgstr ""
9760
9761 # type: =head2
9762 #: ../src/guestfs-actions.pod:3380
9763 msgid "guestfs_mknod"
9764 msgstr ""
9765
9766 # type: verbatim
9767 #: ../src/guestfs-actions.pod:3382
9768 #, no-wrap
9769 msgid ""
9770 " int guestfs_mknod (guestfs_h *g,\n"
9771 "\t\tint mode,\n"
9772 "\t\tint devmajor,\n"
9773 "\t\tint devminor,\n"
9774 "\t\tconst char *path);\n"
9775 "\n"
9776 msgstr ""
9777
9778 # type: textblock
9779 #: ../src/guestfs-actions.pod:3388 ../fish/guestfish-actions.pod:2626
9780 msgid ""
9781 "This call creates block or character special devices, or named pipes "
9782 "(FIFOs)."
9783 msgstr ""
9784
9785 # type: textblock
9786 #: ../src/guestfs-actions.pod:3391 ../fish/guestfish-actions.pod:2629
9787 msgid ""
9788 "The C<mode> parameter should be the mode, using the standard constants.  "
9789 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9790 "used when creating block and character special devices."
9791 msgstr ""
9792
9793 # type: textblock
9794 #: ../src/guestfs-actions.pod:3396
9795 msgid ""
9796 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9797 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9798 "regular file).  These constants are available in the standard Linux header "
9799 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9800 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9801 "the appropriate constant for you."
9802 msgstr ""
9803
9804 # type: =head2
9805 #: ../src/guestfs-actions.pod:3408
9806 msgid "guestfs_mknod_b"
9807 msgstr ""
9808
9809 # type: verbatim
9810 #: ../src/guestfs-actions.pod:3410
9811 #, no-wrap
9812 msgid ""
9813 " int guestfs_mknod_b (guestfs_h *g,\n"
9814 "\t\tint mode,\n"
9815 "\t\tint devmajor,\n"
9816 "\t\tint devminor,\n"
9817 "\t\tconst char *path);\n"
9818 "\n"
9819 msgstr ""
9820
9821 # type: textblock
9822 #: ../src/guestfs-actions.pod:3416
9823 msgid ""
9824 "This call creates a block device node called C<path> with mode C<mode> and "
9825 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9826 "wrapper around C<guestfs_mknod>."
9827 msgstr ""
9828
9829 # type: =head2
9830 #: ../src/guestfs-actions.pod:3424
9831 msgid "guestfs_mknod_c"
9832 msgstr ""
9833
9834 # type: verbatim
9835 #: ../src/guestfs-actions.pod:3426
9836 #, no-wrap
9837 msgid ""
9838 " int guestfs_mknod_c (guestfs_h *g,\n"
9839 "\t\tint mode,\n"
9840 "\t\tint devmajor,\n"
9841 "\t\tint devminor,\n"
9842 "\t\tconst char *path);\n"
9843 "\n"
9844 msgstr ""
9845
9846 # type: textblock
9847 #: ../src/guestfs-actions.pod:3432
9848 msgid ""
9849 "This call creates a char device node called C<path> with mode C<mode> and "
9850 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9851 "wrapper around C<guestfs_mknod>."
9852 msgstr ""
9853
9854 # type: =head2
9855 #: ../src/guestfs-actions.pod:3440
9856 msgid "guestfs_mkswap"
9857 msgstr ""
9858
9859 # type: verbatim
9860 #: ../src/guestfs-actions.pod:3442
9861 #, no-wrap
9862 msgid ""
9863 " int guestfs_mkswap (guestfs_h *g,\n"
9864 "\t\tconst char *device);\n"
9865 "\n"
9866 msgstr ""
9867
9868 # type: textblock
9869 #: ../src/guestfs-actions.pod:3445 ../fish/guestfish-actions.pod:2668
9870 msgid "Create a swap partition on C<device>."
9871 msgstr ""
9872
9873 # type: =head2
9874 #: ../src/guestfs-actions.pod:3449
9875 msgid "guestfs_mkswap_L"
9876 msgstr ""
9877
9878 # type: verbatim
9879 #: ../src/guestfs-actions.pod:3451
9880 #, no-wrap
9881 msgid ""
9882 " int guestfs_mkswap_L (guestfs_h *g,\n"
9883 "\t\tconst char *label,\n"
9884 "\t\tconst char *device);\n"
9885 "\n"
9886 msgstr ""
9887
9888 # type: textblock
9889 #: ../src/guestfs-actions.pod:3455 ../fish/guestfish-actions.pod:2674
9890 msgid "Create a swap partition on C<device> with label C<label>."
9891 msgstr ""
9892
9893 # type: textblock
9894 #: ../src/guestfs-actions.pod:3457 ../fish/guestfish-actions.pod:2676
9895 msgid ""
9896 "Note that you cannot attach a swap label to a block device "
9897 "(eg. C</dev/sda>), just to a partition.  This appears to be a limitation of "
9898 "the kernel or swap tools."
9899 msgstr ""
9900
9901 # type: =head2
9902 #: ../src/guestfs-actions.pod:3463
9903 msgid "guestfs_mkswap_U"
9904 msgstr ""
9905
9906 # type: verbatim
9907 #: ../src/guestfs-actions.pod:3465
9908 #, no-wrap
9909 msgid ""
9910 " int guestfs_mkswap_U (guestfs_h *g,\n"
9911 "\t\tconst char *uuid,\n"
9912 "\t\tconst char *device);\n"
9913 "\n"
9914 msgstr ""
9915
9916 # type: textblock
9917 #: ../src/guestfs-actions.pod:3469 ../fish/guestfish-actions.pod:2684
9918 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9919 msgstr ""
9920
9921 # type: =head2
9922 #: ../src/guestfs-actions.pod:3473
9923 msgid "guestfs_mkswap_file"
9924 msgstr ""
9925
9926 # type: verbatim
9927 #: ../src/guestfs-actions.pod:3475
9928 #, no-wrap
9929 msgid ""
9930 " int guestfs_mkswap_file (guestfs_h *g,\n"
9931 "\t\tconst char *path);\n"
9932 "\n"
9933 msgstr ""
9934
9935 # type: textblock
9936 #: ../src/guestfs-actions.pod:3478 ../fish/guestfish-actions.pod:2690
9937 msgid "Create a swap file."
9938 msgstr ""
9939
9940 # type: textblock
9941 #: ../src/guestfs-actions.pod:3480
9942 msgid ""
9943 "This command just writes a swap file signature to an existing file.  To "
9944 "create the file itself, use something like C<guestfs_fallocate>."
9945 msgstr ""
9946
9947 # type: =head2
9948 #: ../src/guestfs-actions.pod:3485
9949 msgid "guestfs_modprobe"
9950 msgstr ""
9951
9952 # type: verbatim
9953 #: ../src/guestfs-actions.pod:3487
9954 #, no-wrap
9955 msgid ""
9956 " int guestfs_modprobe (guestfs_h *g,\n"
9957 "\t\tconst char *modulename);\n"
9958 "\n"
9959 msgstr ""
9960
9961 # type: textblock
9962 #: ../src/guestfs-actions.pod:3490 ../fish/guestfish-actions.pod:2699
9963 msgid "This loads a kernel module in the appliance."
9964 msgstr ""
9965
9966 # type: textblock
9967 #: ../src/guestfs-actions.pod:3492 ../fish/guestfish-actions.pod:2701
9968 msgid ""
9969 "The kernel module must have been whitelisted when libguestfs was built (see "
9970 "C<appliance/kmod.whitelist.in> in the source)."
9971 msgstr ""
9972
9973 # type: =head2
9974 #: ../src/guestfs-actions.pod:3497
9975 msgid "guestfs_mount"
9976 msgstr ""
9977
9978 # type: verbatim
9979 #: ../src/guestfs-actions.pod:3499
9980 #, no-wrap
9981 msgid ""
9982 " int guestfs_mount (guestfs_h *g,\n"
9983 "\t\tconst char *device,\n"
9984 "\t\tconst char *mountpoint);\n"
9985 "\n"
9986 msgstr ""
9987
9988 # type: textblock
9989 #: ../src/guestfs-actions.pod:3503 ../fish/guestfish-actions.pod:2708
9990 msgid ""
9991 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9992 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9993 "those block devices contain partitions, they will have the usual names "
9994 "(eg. C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9995 msgstr ""
9996
9997 # type: textblock
9998 #: ../src/guestfs-actions.pod:3509 ../fish/guestfish-actions.pod:2714
9999 msgid ""
10000 "The rules are the same as for L<mount(2)>: A filesystem must first be "
10001 "mounted on C</> before others can be mounted.  Other filesystems can only be "
10002 "mounted on directories which already exist."
10003 msgstr ""
10004
10005 # type: textblock
10006 #: ../src/guestfs-actions.pod:3514 ../fish/guestfish-actions.pod:2719
10007 msgid ""
10008 "The mounted filesystem is writable, if we have sufficient permissions on the "
10009 "underlying device."
10010 msgstr ""
10011
10012 # type: textblock
10013 #: ../src/guestfs-actions.pod:3517
10014 msgid ""
10015 "B<Important note:> When you use this call, the filesystem options C<sync> "
10016 "and C<noatime> are set implicitly.  This was originally done because we "
10017 "thought it would improve reliability, but it turns out that I<-o sync> has a "
10018 "very large negative performance impact and negligible effect on "
10019 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
10020 "in any code that needs performance, and instead use C<guestfs_mount_options> "
10021 "(use an empty string for the first parameter if you don't want any options)."
10022 msgstr ""
10023
10024 # type: =head2
10025 #: ../src/guestfs-actions.pod:3529
10026 msgid "guestfs_mount_loop"
10027 msgstr ""
10028
10029 # type: verbatim
10030 #: ../src/guestfs-actions.pod:3531
10031 #, no-wrap
10032 msgid ""
10033 " int guestfs_mount_loop (guestfs_h *g,\n"
10034 "\t\tconst char *file,\n"
10035 "\t\tconst char *mountpoint);\n"
10036 "\n"
10037 msgstr ""
10038
10039 # type: textblock
10040 #: ../src/guestfs-actions.pod:3535 ../fish/guestfish-actions.pod:2736
10041 msgid ""
10042 "This command lets you mount C<file> (a filesystem image in a file) on a "
10043 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
10044 "mountpoint>."
10045 msgstr ""
10046
10047 # type: =head2
10048 #: ../src/guestfs-actions.pod:3541
10049 msgid "guestfs_mount_options"
10050 msgstr ""
10051
10052 # type: verbatim
10053 #: ../src/guestfs-actions.pod:3543
10054 #, no-wrap
10055 msgid ""
10056 " int guestfs_mount_options (guestfs_h *g,\n"
10057 "\t\tconst char *options,\n"
10058 "\t\tconst char *device,\n"
10059 "\t\tconst char *mountpoint);\n"
10060 "\n"
10061 msgstr ""
10062
10063 # type: textblock
10064 #: ../src/guestfs-actions.pod:3548
10065 msgid ""
10066 "This is the same as the C<guestfs_mount> command, but it allows you to set "
10067 "the mount options as for the L<mount(8)> I<-o> flag."
10068 msgstr ""
10069
10070 # type: textblock
10071 #: ../src/guestfs-actions.pod:3552 ../fish/guestfish-actions.pod:2748
10072 msgid ""
10073 "If the C<options> parameter is an empty string, then no options are passed "
10074 "(all options default to whatever the filesystem uses)."
10075 msgstr ""
10076
10077 # type: =head2
10078 #: ../src/guestfs-actions.pod:3558
10079 msgid "guestfs_mount_ro"
10080 msgstr ""
10081
10082 # type: verbatim
10083 #: ../src/guestfs-actions.pod:3560
10084 #, no-wrap
10085 msgid ""
10086 " int guestfs_mount_ro (guestfs_h *g,\n"
10087 "\t\tconst char *device,\n"
10088 "\t\tconst char *mountpoint);\n"
10089 "\n"
10090 msgstr ""
10091
10092 # type: textblock
10093 #: ../src/guestfs-actions.pod:3564
10094 msgid ""
10095 "This is the same as the C<guestfs_mount> command, but it mounts the "
10096 "filesystem with the read-only (I<-o ro>) flag."
10097 msgstr ""
10098
10099 # type: =head2
10100 #: ../src/guestfs-actions.pod:3569
10101 msgid "guestfs_mount_vfs"
10102 msgstr ""
10103
10104 # type: verbatim
10105 #: ../src/guestfs-actions.pod:3571
10106 #, no-wrap
10107 msgid ""
10108 " int guestfs_mount_vfs (guestfs_h *g,\n"
10109 "\t\tconst char *options,\n"
10110 "\t\tconst char *vfstype,\n"
10111 "\t\tconst char *device,\n"
10112 "\t\tconst char *mountpoint);\n"
10113 "\n"
10114 msgstr ""
10115
10116 # type: textblock
10117 #: ../src/guestfs-actions.pod:3577
10118 msgid ""
10119 "This is the same as the C<guestfs_mount> command, but it allows you to set "
10120 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and "
10121 "I<-t> flags."
10122 msgstr ""
10123
10124 # type: =head2
10125 #: ../src/guestfs-actions.pod:3583
10126 msgid "guestfs_mountpoints"
10127 msgstr ""
10128
10129 # type: verbatim
10130 #: ../src/guestfs-actions.pod:3585
10131 #, no-wrap
10132 msgid ""
10133 " char **guestfs_mountpoints (guestfs_h *g);\n"
10134 "\n"
10135 msgstr ""
10136
10137 # type: textblock
10138 #: ../src/guestfs-actions.pod:3587
10139 msgid ""
10140 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
10141 "devices.  This one returns a hash table (map) of device name to directory "
10142 "where the device is mounted."
10143 msgstr ""
10144
10145 # type: =head2
10146 #: ../src/guestfs-actions.pod:3597
10147 msgid "guestfs_mounts"
10148 msgstr ""
10149
10150 # type: verbatim
10151 #: ../src/guestfs-actions.pod:3599
10152 #, no-wrap
10153 msgid ""
10154 " char **guestfs_mounts (guestfs_h *g);\n"
10155 "\n"
10156 msgstr ""
10157
10158 # type: textblock
10159 #: ../src/guestfs-actions.pod:3601 ../fish/guestfish-actions.pod:2779
10160 msgid ""
10161 "This returns the list of currently mounted filesystems.  It returns the list "
10162 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
10163 msgstr ""
10164
10165 # type: textblock
10166 #: ../src/guestfs-actions.pod:3604 ../fish/guestfish-actions.pod:2782
10167 msgid "Some internal mounts are not shown."
10168 msgstr ""
10169
10170 # type: textblock
10171 #: ../src/guestfs-actions.pod:3606
10172 msgid "See also: C<guestfs_mountpoints>"
10173 msgstr ""
10174
10175 # type: =head2
10176 #: ../src/guestfs-actions.pod:3612
10177 msgid "guestfs_mv"
10178 msgstr ""
10179
10180 # type: verbatim
10181 #: ../src/guestfs-actions.pod:3614
10182 #, no-wrap
10183 msgid ""
10184 " int guestfs_mv (guestfs_h *g,\n"
10185 "\t\tconst char *src,\n"
10186 "\t\tconst char *dest);\n"
10187 "\n"
10188 msgstr ""
10189
10190 # type: textblock
10191 #: ../src/guestfs-actions.pod:3618 ../fish/guestfish-actions.pod:2790
10192 msgid ""
10193 "This moves a file from C<src> to C<dest> where C<dest> is either a "
10194 "destination filename or destination directory."
10195 msgstr ""
10196
10197 # type: =head2
10198 #: ../src/guestfs-actions.pod:3623
10199 msgid "guestfs_ntfs_3g_probe"
10200 msgstr ""
10201
10202 # type: verbatim
10203 #: ../src/guestfs-actions.pod:3625
10204 #, no-wrap
10205 msgid ""
10206 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
10207 "\t\tint rw,\n"
10208 "\t\tconst char *device);\n"
10209 "\n"
10210 msgstr ""
10211
10212 # type: textblock
10213 #: ../src/guestfs-actions.pod:3629 ../fish/guestfish-actions.pod:2797
10214 msgid ""
10215 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
10216 "C<device> for mountability.  (Not all NTFS volumes can be mounted "
10217 "read-write, and some cannot be mounted at all)."
10218 msgstr ""
10219
10220 # type: textblock
10221 #: ../src/guestfs-actions.pod:3633 ../fish/guestfish-actions.pod:2801
10222 msgid ""
10223 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
10224 "can be mounted read-write.  Set it to false if you want to test if the "
10225 "volume can be mounted read-only."
10226 msgstr ""
10227
10228 # type: textblock
10229 #: ../src/guestfs-actions.pod:3637 ../fish/guestfish-actions.pod:2805
10230 msgid ""
10231 "The return value is an integer which C<0> if the operation would succeed, or "
10232 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
10233 msgstr ""
10234
10235 # type: =head2
10236 #: ../src/guestfs-actions.pod:3643
10237 msgid "guestfs_ntfsresize"
10238 msgstr ""
10239
10240 # type: verbatim
10241 #: ../src/guestfs-actions.pod:3645
10242 #, no-wrap
10243 msgid ""
10244 " int guestfs_ntfsresize (guestfs_h *g,\n"
10245 "\t\tconst char *device);\n"
10246 "\n"
10247 msgstr ""
10248
10249 # type: textblock
10250 #: ../src/guestfs-actions.pod:3648 ../fish/guestfish-actions.pod:2813
10251 msgid ""
10252 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
10253 "size of the underlying device.  See also L<ntfsresize(8)>."
10254 msgstr ""
10255
10256 # type: =head2
10257 #: ../src/guestfs-actions.pod:3654
10258 msgid "guestfs_ntfsresize_size"
10259 msgstr ""
10260
10261 # type: verbatim
10262 #: ../src/guestfs-actions.pod:3656
10263 #, no-wrap
10264 msgid ""
10265 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
10266 "\t\tconst char *device,\n"
10267 "\t\tint64_t size);\n"
10268 "\n"
10269 msgstr ""
10270
10271 # type: textblock
10272 #: ../src/guestfs-actions.pod:3660
10273 msgid ""
10274 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
10275 "to specify the new size (in bytes) explicitly."
10276 msgstr ""
10277
10278 # type: =head2
10279 #: ../src/guestfs-actions.pod:3665
10280 msgid "guestfs_part_add"
10281 msgstr ""
10282
10283 # type: verbatim
10284 #: ../src/guestfs-actions.pod:3667
10285 #, no-wrap
10286 msgid ""
10287 " int guestfs_part_add (guestfs_h *g,\n"
10288 "\t\tconst char *device,\n"
10289 "\t\tconst char *prlogex,\n"
10290 "\t\tint64_t startsect,\n"
10291 "\t\tint64_t endsect);\n"
10292 "\n"
10293 msgstr ""
10294
10295 # type: textblock
10296 #: ../src/guestfs-actions.pod:3673
10297 msgid ""
10298 "This command adds a partition to C<device>.  If there is no partition table "
10299 "on the device, call C<guestfs_part_init> first."
10300 msgstr ""
10301
10302 # type: textblock
10303 #: ../src/guestfs-actions.pod:3676 ../fish/guestfish-actions.pod:2831
10304 msgid ""
10305 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
10306 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
10307 "C<logical>) and C<e> (or C<extended>) partition types."
10308 msgstr ""
10309
10310 # type: textblock
10311 #: ../src/guestfs-actions.pod:3681 ../fish/guestfish-actions.pod:2836
10312 msgid ""
10313 "C<startsect> and C<endsect> are the start and end of the partition in "
10314 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
10315 "from the end of the disk (C<-1> is the last sector)."
10316 msgstr ""
10317
10318 # type: textblock
10319 #: ../src/guestfs-actions.pod:3685
10320 msgid ""
10321 "Creating a partition which covers the whole disk is not so easy.  Use "
10322 "C<guestfs_part_disk> to do that."
10323 msgstr ""
10324
10325 # type: =head2
10326 #: ../src/guestfs-actions.pod:3690
10327 msgid "guestfs_part_del"
10328 msgstr ""
10329
10330 # type: verbatim
10331 #: ../src/guestfs-actions.pod:3692
10332 #, no-wrap
10333 msgid ""
10334 " int guestfs_part_del (guestfs_h *g,\n"
10335 "\t\tconst char *device,\n"
10336 "\t\tint partnum);\n"
10337 "\n"
10338 msgstr ""
10339
10340 # type: textblock
10341 #: ../src/guestfs-actions.pod:3696 ../fish/guestfish-actions.pod:2847
10342 msgid "This command deletes the partition numbered C<partnum> on C<device>."
10343 msgstr ""
10344
10345 # type: textblock
10346 #: ../src/guestfs-actions.pod:3698 ../fish/guestfish-actions.pod:2849
10347 msgid ""
10348 "Note that in the case of MBR partitioning, deleting an extended partition "
10349 "also deletes any logical partitions it contains."
10350 msgstr ""
10351
10352 # type: =head2
10353 #: ../src/guestfs-actions.pod:3704
10354 msgid "guestfs_part_disk"
10355 msgstr ""
10356
10357 # type: verbatim
10358 #: ../src/guestfs-actions.pod:3706
10359 #, no-wrap
10360 msgid ""
10361 " int guestfs_part_disk (guestfs_h *g,\n"
10362 "\t\tconst char *device,\n"
10363 "\t\tconst char *parttype);\n"
10364 "\n"
10365 msgstr ""
10366
10367 # type: textblock
10368 #: ../src/guestfs-actions.pod:3710
10369 msgid ""
10370 "This command is simply a combination of C<guestfs_part_init> followed by "
10371 "C<guestfs_part_add> to create a single primary partition covering the whole "
10372 "disk."
10373 msgstr ""
10374
10375 # type: textblock
10376 #: ../src/guestfs-actions.pod:3714
10377 msgid ""
10378 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
10379 "possible values are described in C<guestfs_part_init>."
10380 msgstr ""
10381
10382 # type: =head2
10383 #: ../src/guestfs-actions.pod:3722
10384 msgid "guestfs_part_get_bootable"
10385 msgstr ""
10386
10387 # type: verbatim
10388 #: ../src/guestfs-actions.pod:3724
10389 #, no-wrap
10390 msgid ""
10391 " int guestfs_part_get_bootable (guestfs_h *g,\n"
10392 "\t\tconst char *device,\n"
10393 "\t\tint partnum);\n"
10394 "\n"
10395 msgstr ""
10396
10397 # type: textblock
10398 #: ../src/guestfs-actions.pod:3728 ../fish/guestfish-actions.pod:2871
10399 msgid ""
10400 "This command returns true if the partition C<partnum> on C<device> has the "
10401 "bootable flag set."
10402 msgstr ""
10403
10404 # type: textblock
10405 #: ../src/guestfs-actions.pod:3731
10406 msgid "See also C<guestfs_part_set_bootable>."
10407 msgstr ""
10408
10409 # type: =head2
10410 #: ../src/guestfs-actions.pod:3735
10411 msgid "guestfs_part_get_mbr_id"
10412 msgstr ""
10413
10414 # type: verbatim
10415 #: ../src/guestfs-actions.pod:3737
10416 #, no-wrap
10417 msgid ""
10418 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
10419 "\t\tconst char *device,\n"
10420 "\t\tint partnum);\n"
10421 "\n"
10422 msgstr ""
10423
10424 # type: textblock
10425 #: ../src/guestfs-actions.pod:3741 ../fish/guestfish-actions.pod:2880
10426 msgid ""
10427 "Returns the MBR type byte (also known as the ID byte) from the numbered "
10428 "partition C<partnum>."
10429 msgstr ""
10430
10431 # type: textblock
10432 #: ../src/guestfs-actions.pod:3744 ../src/guestfs-actions.pod:3906
10433 msgid ""
10434 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
10435 "undefined results for other partition table types (see "
10436 "C<guestfs_part_get_parttype>)."
10437 msgstr ""
10438
10439 # type: =head2
10440 #: ../src/guestfs-actions.pod:3750
10441 msgid "guestfs_part_get_parttype"
10442 msgstr ""
10443
10444 # type: verbatim
10445 #: ../src/guestfs-actions.pod:3752
10446 #, no-wrap
10447 msgid ""
10448 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
10449 "\t\tconst char *device);\n"
10450 "\n"
10451 msgstr ""
10452
10453 # type: textblock
10454 #: ../src/guestfs-actions.pod:3755 ../fish/guestfish-actions.pod:2891
10455 msgid ""
10456 "This command examines the partition table on C<device> and returns the "
10457 "partition table type (format) being used."
10458 msgstr ""
10459
10460 # type: textblock
10461 #: ../src/guestfs-actions.pod:3758
10462 msgid ""
10463 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
10464 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
10465 "possible, although unusual.  See C<guestfs_part_init> for a full list."
10466 msgstr ""
10467
10468 # type: =head2
10469 #: ../src/guestfs-actions.pod:3766
10470 msgid "guestfs_part_init"
10471 msgstr ""
10472
10473 # type: verbatim
10474 #: ../src/guestfs-actions.pod:3768
10475 #, no-wrap
10476 msgid ""
10477 " int guestfs_part_init (guestfs_h *g,\n"
10478 "\t\tconst char *device,\n"
10479 "\t\tconst char *parttype);\n"
10480 "\n"
10481 msgstr ""
10482
10483 # type: textblock
10484 #: ../src/guestfs-actions.pod:3772 ../fish/guestfish-actions.pod:2903
10485 msgid ""
10486 "This creates an empty partition table on C<device> of one of the partition "
10487 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
10488 "(for large disks)."
10489 msgstr ""
10490
10491 # type: textblock
10492 #: ../src/guestfs-actions.pod:3776
10493 msgid ""
10494 "Initially there are no partitions.  Following this, you should call "
10495 "C<guestfs_part_add> for each partition required."
10496 msgstr ""
10497
10498 # type: textblock
10499 #: ../src/guestfs-actions.pod:3779 ../fish/guestfish-actions.pod:2910
10500 msgid "Possible values for C<parttype> are:"
10501 msgstr ""
10502
10503 # type: =item
10504 #: ../src/guestfs-actions.pod:3783 ../fish/guestfish-actions.pod:2914
10505 msgid "B<efi> | B<gpt>"
10506 msgstr ""
10507
10508 # type: textblock
10509 #: ../src/guestfs-actions.pod:3785 ../fish/guestfish-actions.pod:2916
10510 msgid "Intel EFI / GPT partition table."
10511 msgstr ""
10512
10513 # type: textblock
10514 #: ../src/guestfs-actions.pod:3787 ../fish/guestfish-actions.pod:2918
10515 msgid ""
10516 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
10517 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
10518 "the C<mbr> format."
10519 msgstr ""
10520
10521 # type: =item
10522 #: ../src/guestfs-actions.pod:3791 ../fish/guestfish-actions.pod:2922
10523 msgid "B<mbr> | B<msdos>"
10524 msgstr ""
10525
10526 # type: textblock
10527 #: ../src/guestfs-actions.pod:3793 ../fish/guestfish-actions.pod:2924
10528 msgid ""
10529 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
10530 "Windows.  This partition type will B<only> work for device sizes up to 2 "
10531 "TB.  For large disks we recommend using C<gpt>."
10532 msgstr ""
10533
10534 # type: textblock
10535 #: ../src/guestfs-actions.pod:3800 ../fish/guestfish-actions.pod:2931
10536 msgid "Other partition table types that may work but are not supported include:"
10537 msgstr ""
10538
10539 # type: =item
10540 #: ../src/guestfs-actions.pod:3805 ../fish/guestfish-actions.pod:2936
10541 msgid "B<aix>"
10542 msgstr ""
10543
10544 # type: textblock
10545 #: ../src/guestfs-actions.pod:3807 ../fish/guestfish-actions.pod:2938
10546 msgid "AIX disk labels."
10547 msgstr ""
10548
10549 # type: =item
10550 #: ../src/guestfs-actions.pod:3809 ../fish/guestfish-actions.pod:2940
10551 msgid "B<amiga> | B<rdb>"
10552 msgstr ""
10553
10554 # type: textblock
10555 #: ../src/guestfs-actions.pod:3811 ../fish/guestfish-actions.pod:2942
10556 msgid "Amiga \"Rigid Disk Block\" format."
10557 msgstr ""
10558
10559 # type: =item
10560 #: ../src/guestfs-actions.pod:3813 ../fish/guestfish-actions.pod:2944
10561 msgid "B<bsd>"
10562 msgstr ""
10563
10564 # type: textblock
10565 #: ../src/guestfs-actions.pod:3815 ../fish/guestfish-actions.pod:2946
10566 msgid "BSD disk labels."
10567 msgstr ""
10568
10569 # type: =item
10570 #: ../src/guestfs-actions.pod:3817 ../fish/guestfish-actions.pod:2948
10571 msgid "B<dasd>"
10572 msgstr ""
10573
10574 # type: textblock
10575 #: ../src/guestfs-actions.pod:3819 ../fish/guestfish-actions.pod:2950
10576 msgid "DASD, used on IBM mainframes."
10577 msgstr ""
10578
10579 # type: =item
10580 #: ../src/guestfs-actions.pod:3821 ../fish/guestfish-actions.pod:2952
10581 msgid "B<dvh>"
10582 msgstr ""
10583
10584 # type: textblock
10585 #: ../src/guestfs-actions.pod:3823 ../fish/guestfish-actions.pod:2954
10586 msgid "MIPS/SGI volumes."
10587 msgstr ""
10588
10589 # type: =item
10590 #: ../src/guestfs-actions.pod:3825 ../fish/guestfish-actions.pod:2956
10591 msgid "B<mac>"
10592 msgstr ""
10593
10594 # type: textblock
10595 #: ../src/guestfs-actions.pod:3827 ../fish/guestfish-actions.pod:2958
10596 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
10597 msgstr ""
10598
10599 # type: =item
10600 #: ../src/guestfs-actions.pod:3829 ../fish/guestfish-actions.pod:2960
10601 msgid "B<pc98>"
10602 msgstr ""
10603
10604 # type: textblock
10605 #: ../src/guestfs-actions.pod:3831 ../fish/guestfish-actions.pod:2962
10606 msgid "NEC PC-98 format, common in Japan apparently."
10607 msgstr ""
10608
10609 # type: =item
10610 #: ../src/guestfs-actions.pod:3833 ../fish/guestfish-actions.pod:2964
10611 msgid "B<sun>"
10612 msgstr ""
10613
10614 # type: textblock
10615 #: ../src/guestfs-actions.pod:3835 ../fish/guestfish-actions.pod:2966
10616 msgid "Sun disk labels."
10617 msgstr ""
10618
10619 # type: =head2
10620 #: ../src/guestfs-actions.pod:3841
10621 msgid "guestfs_part_list"
10622 msgstr ""
10623
10624 # type: verbatim
10625 #: ../src/guestfs-actions.pod:3843
10626 #, no-wrap
10627 msgid ""
10628 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
10629 "\t\tconst char *device);\n"
10630 "\n"
10631 msgstr ""
10632
10633 # type: textblock
10634 #: ../src/guestfs-actions.pod:3846 ../fish/guestfish-actions.pod:2974
10635 msgid ""
10636 "This command parses the partition table on C<device> and returns the list of "
10637 "partitions found."
10638 msgstr ""
10639
10640 # type: textblock
10641 #: ../src/guestfs-actions.pod:3849 ../fish/guestfish-actions.pod:2977
10642 msgid "The fields in the returned structure are:"
10643 msgstr ""
10644
10645 # type: =item
10646 #: ../src/guestfs-actions.pod:3853 ../fish/guestfish-actions.pod:2981
10647 msgid "B<part_num>"
10648 msgstr ""
10649
10650 # type: textblock
10651 #: ../src/guestfs-actions.pod:3855 ../fish/guestfish-actions.pod:2983
10652 msgid "Partition number, counting from 1."
10653 msgstr ""
10654
10655 # type: =item
10656 #: ../src/guestfs-actions.pod:3857 ../fish/guestfish-actions.pod:2985
10657 msgid "B<part_start>"
10658 msgstr ""
10659
10660 # type: textblock
10661 #: ../src/guestfs-actions.pod:3859
10662 msgid ""
10663 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
10664 "the device's sector size, see C<guestfs_blockdev_getss>."
10665 msgstr ""
10666
10667 # type: =item
10668 #: ../src/guestfs-actions.pod:3862 ../fish/guestfish-actions.pod:2990
10669 msgid "B<part_end>"
10670 msgstr ""
10671
10672 # type: textblock
10673 #: ../src/guestfs-actions.pod:3864 ../fish/guestfish-actions.pod:2992
10674 msgid "End of the partition in bytes."
10675 msgstr ""
10676
10677 # type: =item
10678 #: ../src/guestfs-actions.pod:3866 ../fish/guestfish-actions.pod:2994
10679 msgid "B<part_size>"
10680 msgstr ""
10681
10682 # type: textblock
10683 #: ../src/guestfs-actions.pod:3868 ../fish/guestfish-actions.pod:2996
10684 msgid "Size of the partition in bytes."
10685 msgstr ""
10686
10687 # type: textblock
10688 #: ../src/guestfs-actions.pod:3872
10689 msgid ""
10690 "This function returns a C<struct guestfs_partition_list *> (see "
10691 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10692 "must call C<guestfs_free_partition_list> after use>."
10693 msgstr ""
10694
10695 # type: =head2
10696 #: ../src/guestfs-actions.pod:3877
10697 msgid "guestfs_part_set_bootable"
10698 msgstr ""
10699
10700 # type: verbatim
10701 #: ../src/guestfs-actions.pod:3879
10702 #, no-wrap
10703 msgid ""
10704 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10705 "\t\tconst char *device,\n"
10706 "\t\tint partnum,\n"
10707 "\t\tint bootable);\n"
10708 "\n"
10709 msgstr ""
10710
10711 # type: textblock
10712 #: ../src/guestfs-actions.pod:3884 ../fish/guestfish-actions.pod:3004
10713 msgid ""
10714 "This sets the bootable flag on partition numbered C<partnum> on device "
10715 "C<device>.  Note that partitions are numbered from 1."
10716 msgstr ""
10717
10718 # type: textblock
10719 #: ../src/guestfs-actions.pod:3887 ../fish/guestfish-actions.pod:3007
10720 msgid ""
10721 "The bootable flag is used by some operating systems (notably Windows) to "
10722 "determine which partition to boot from.  It is by no means universally "
10723 "recognized."
10724 msgstr ""
10725
10726 # type: =head2
10727 #: ../src/guestfs-actions.pod:3893
10728 msgid "guestfs_part_set_mbr_id"
10729 msgstr ""
10730
10731 # type: verbatim
10732 #: ../src/guestfs-actions.pod:3895
10733 #, no-wrap
10734 msgid ""
10735 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10736 "\t\tconst char *device,\n"
10737 "\t\tint partnum,\n"
10738 "\t\tint idbyte);\n"
10739 "\n"
10740 msgstr ""
10741
10742 # type: textblock
10743 #: ../src/guestfs-actions.pod:3900 ../fish/guestfish-actions.pod:3015
10744 msgid ""
10745 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10746 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10747 "documentation are in fact hexadecimal numbers, but usually documented "
10748 "without any leading \"0x\" which might be confusing."
10749 msgstr ""
10750
10751 # type: =head2
10752 #: ../src/guestfs-actions.pod:3912
10753 msgid "guestfs_part_set_name"
10754 msgstr ""
10755
10756 # type: verbatim
10757 #: ../src/guestfs-actions.pod:3914
10758 #, no-wrap
10759 msgid ""
10760 " int guestfs_part_set_name (guestfs_h *g,\n"
10761 "\t\tconst char *device,\n"
10762 "\t\tint partnum,\n"
10763 "\t\tconst char *name);\n"
10764 "\n"
10765 msgstr ""
10766
10767 # type: textblock
10768 #: ../src/guestfs-actions.pod:3919 ../fish/guestfish-actions.pod:3029
10769 msgid ""
10770 "This sets the partition name on partition numbered C<partnum> on device "
10771 "C<device>.  Note that partitions are numbered from 1."
10772 msgstr ""
10773
10774 # type: textblock
10775 #: ../src/guestfs-actions.pod:3922 ../fish/guestfish-actions.pod:3032
10776 msgid ""
10777 "The partition name can only be set on certain types of partition table.  "
10778 "This works on C<gpt> but not on C<mbr> partitions."
10779 msgstr ""
10780
10781 # type: =head2
10782 #: ../src/guestfs-actions.pod:3927
10783 msgid "guestfs_part_to_dev"
10784 msgstr ""
10785
10786 # type: verbatim
10787 #: ../src/guestfs-actions.pod:3929
10788 #, no-wrap
10789 msgid ""
10790 " char *guestfs_part_to_dev (guestfs_h *g,\n"
10791 "\t\tconst char *partition);\n"
10792 "\n"
10793 msgstr ""
10794
10795 # type: textblock
10796 #: ../src/guestfs-actions.pod:3932 ../fish/guestfish-actions.pod:3039
10797 msgid ""
10798 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
10799 "partition number, returning the device name (eg. \"/dev/sdb\")."
10800 msgstr ""
10801
10802 # type: textblock
10803 #: ../src/guestfs-actions.pod:3936
10804 msgid ""
10805 "The named partition must exist, for example as a string returned from "
10806 "C<guestfs_list_partitions>."
10807 msgstr ""
10808
10809 # type: =head2
10810 #: ../src/guestfs-actions.pod:3942
10811 msgid "guestfs_ping_daemon"
10812 msgstr ""
10813
10814 # type: verbatim
10815 #: ../src/guestfs-actions.pod:3944
10816 #, no-wrap
10817 msgid ""
10818 " int guestfs_ping_daemon (guestfs_h *g);\n"
10819 "\n"
10820 msgstr ""
10821
10822 # type: textblock
10823 #: ../src/guestfs-actions.pod:3946 ../fish/guestfish-actions.pod:3050
10824 msgid ""
10825 "This is a test probe into the guestfs daemon running inside the qemu "
10826 "subprocess.  Calling this function checks that the daemon responds to the "
10827 "ping message, without affecting the daemon or attached block device(s) in "
10828 "any other way."
10829 msgstr ""
10830
10831 # type: =head2
10832 #: ../src/guestfs-actions.pod:3953
10833 msgid "guestfs_pread"
10834 msgstr ""
10835
10836 # type: verbatim
10837 #: ../src/guestfs-actions.pod:3955
10838 #, no-wrap
10839 msgid ""
10840 " char *guestfs_pread (guestfs_h *g,\n"
10841 "\t\tconst char *path,\n"
10842 "\t\tint count,\n"
10843 "\t\tint64_t offset,\n"
10844 "\t\tsize_t *size_r);\n"
10845 "\n"
10846 msgstr ""
10847
10848 # type: textblock
10849 #: ../src/guestfs-actions.pod:3961 ../fish/guestfish-actions.pod:3059
10850 msgid ""
10851 "This command lets you read part of a file.  It reads C<count> bytes of the "
10852 "file, starting at C<offset>, from file C<path>."
10853 msgstr ""
10854
10855 # type: textblock
10856 #: ../src/guestfs-actions.pod:3964 ../src/guestfs-actions.pod:3987 ../fish/guestfish-actions.pod:3062 ../fish/guestfish-actions.pod:3077
10857 msgid ""
10858 "This may read fewer bytes than requested.  For further details see the "
10859 "L<pread(2)> system call."
10860 msgstr ""
10861
10862 # type: textblock
10863 #: ../src/guestfs-actions.pod:3967
10864 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
10865 msgstr ""
10866
10867 # type: =head2
10868 #: ../src/guestfs-actions.pod:3976
10869 msgid "guestfs_pread_device"
10870 msgstr ""
10871
10872 # type: verbatim
10873 #: ../src/guestfs-actions.pod:3978
10874 #, no-wrap
10875 msgid ""
10876 " char *guestfs_pread_device (guestfs_h *g,\n"
10877 "\t\tconst char *device,\n"
10878 "\t\tint count,\n"
10879 "\t\tint64_t offset,\n"
10880 "\t\tsize_t *size_r);\n"
10881 "\n"
10882 msgstr ""
10883
10884 # type: textblock
10885 #: ../src/guestfs-actions.pod:3984 ../fish/guestfish-actions.pod:3074
10886 msgid ""
10887 "This command lets you read part of a file.  It reads C<count> bytes of "
10888 "C<device>, starting at C<offset>."
10889 msgstr ""
10890
10891 # type: textblock
10892 #: ../src/guestfs-actions.pod:3990
10893 msgid "See also C<guestfs_pread>."
10894 msgstr ""
10895
10896 # type: =head2
10897 #: ../src/guestfs-actions.pod:3999
10898 msgid "guestfs_pvcreate"
10899 msgstr ""
10900
10901 # type: verbatim
10902 #: ../src/guestfs-actions.pod:4001
10903 #, no-wrap
10904 msgid ""
10905 " int guestfs_pvcreate (guestfs_h *g,\n"
10906 "\t\tconst char *device);\n"
10907 "\n"
10908 msgstr ""
10909
10910 # type: textblock
10911 #: ../src/guestfs-actions.pod:4004 ../fish/guestfish-actions.pod:3089
10912 msgid ""
10913 "This creates an LVM physical volume on the named C<device>, where C<device> "
10914 "should usually be a partition name such as C</dev/sda1>."
10915 msgstr ""
10916
10917 # type: =head2
10918 #: ../src/guestfs-actions.pod:4010
10919 msgid "guestfs_pvremove"
10920 msgstr ""
10921
10922 # type: verbatim
10923 #: ../src/guestfs-actions.pod:4012
10924 #, no-wrap
10925 msgid ""
10926 " int guestfs_pvremove (guestfs_h *g,\n"
10927 "\t\tconst char *device);\n"
10928 "\n"
10929 msgstr ""
10930
10931 # type: textblock
10932 #: ../src/guestfs-actions.pod:4015 ../fish/guestfish-actions.pod:3097
10933 msgid ""
10934 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10935 "it."
10936 msgstr ""
10937
10938 # type: textblock
10939 #: ../src/guestfs-actions.pod:4018 ../fish/guestfish-actions.pod:3100
10940 msgid ""
10941 "The implementation uses the C<pvremove> command which refuses to wipe "
10942 "physical volumes that contain any volume groups, so you have to remove those "
10943 "first."
10944 msgstr ""
10945
10946 # type: =head2
10947 #: ../src/guestfs-actions.pod:4024
10948 msgid "guestfs_pvresize"
10949 msgstr ""
10950
10951 # type: verbatim
10952 #: ../src/guestfs-actions.pod:4026
10953 #, no-wrap
10954 msgid ""
10955 " int guestfs_pvresize (guestfs_h *g,\n"
10956 "\t\tconst char *device);\n"
10957 "\n"
10958 msgstr ""
10959
10960 # type: textblock
10961 #: ../src/guestfs-actions.pod:4029 ../fish/guestfish-actions.pod:3108
10962 msgid ""
10963 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10964 "the new size of the underlying device."
10965 msgstr ""
10966
10967 # type: =head2
10968 #: ../src/guestfs-actions.pod:4034
10969 msgid "guestfs_pvresize_size"
10970 msgstr ""
10971
10972 # type: verbatim
10973 #: ../src/guestfs-actions.pod:4036
10974 #, no-wrap
10975 msgid ""
10976 " int guestfs_pvresize_size (guestfs_h *g,\n"
10977 "\t\tconst char *device,\n"
10978 "\t\tint64_t size);\n"
10979 "\n"
10980 msgstr ""
10981
10982 # type: textblock
10983 #: ../src/guestfs-actions.pod:4040
10984 msgid ""
10985 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10986 "specify the new size (in bytes) explicitly."
10987 msgstr ""
10988
10989 # type: =head2
10990 #: ../src/guestfs-actions.pod:4045
10991 msgid "guestfs_pvs"
10992 msgstr ""
10993
10994 # type: verbatim
10995 #: ../src/guestfs-actions.pod:4047
10996 #, no-wrap
10997 msgid ""
10998 " char **guestfs_pvs (guestfs_h *g);\n"
10999 "\n"
11000 msgstr ""
11001
11002 # type: textblock
11003 #: ../src/guestfs-actions.pod:4049 ../fish/guestfish-actions.pod:3122
11004 msgid ""
11005 "List all the physical volumes detected.  This is the equivalent of the "
11006 "L<pvs(8)> command."
11007 msgstr ""
11008
11009 # type: textblock
11010 #: ../src/guestfs-actions.pod:4052 ../fish/guestfish-actions.pod:3125
11011 msgid ""
11012 "This returns a list of just the device names that contain PVs "
11013 "(eg. C</dev/sda2>)."
11014 msgstr ""
11015
11016 # type: textblock
11017 #: ../src/guestfs-actions.pod:4055
11018 msgid "See also C<guestfs_pvs_full>."
11019 msgstr ""
11020
11021 # type: =head2
11022 #: ../src/guestfs-actions.pod:4061
11023 msgid "guestfs_pvs_full"
11024 msgstr ""
11025
11026 # type: verbatim
11027 #: ../src/guestfs-actions.pod:4063
11028 #, no-wrap
11029 msgid ""
11030 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
11031 "\n"
11032 msgstr ""
11033
11034 # type: textblock
11035 #: ../src/guestfs-actions.pod:4065 ../fish/guestfish-actions.pod:3134
11036 msgid ""
11037 "List all the physical volumes detected.  This is the equivalent of the "
11038 "L<pvs(8)> command.  The \"full\" version includes all fields."
11039 msgstr ""
11040
11041 # type: textblock
11042 #: ../src/guestfs-actions.pod:4068
11043 msgid ""
11044 "This function returns a C<struct guestfs_lvm_pv_list *> (see "
11045 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
11046 "must call C<guestfs_free_lvm_pv_list> after use>."
11047 msgstr ""
11048
11049 # type: =head2
11050 #: ../src/guestfs-actions.pod:4073
11051 msgid "guestfs_pvuuid"
11052 msgstr ""
11053
11054 # type: verbatim
11055 #: ../src/guestfs-actions.pod:4075
11056 #, no-wrap
11057 msgid ""
11058 " char *guestfs_pvuuid (guestfs_h *g,\n"
11059 "\t\tconst char *device);\n"
11060 "\n"
11061 msgstr ""
11062
11063 # type: textblock
11064 #: ../src/guestfs-actions.pod:4078 ../fish/guestfish-actions.pod:3141
11065 msgid "This command returns the UUID of the LVM PV C<device>."
11066 msgstr ""
11067
11068 # type: =head2
11069 #: ../src/guestfs-actions.pod:4083
11070 msgid "guestfs_pwrite"
11071 msgstr ""
11072
11073 # type: verbatim
11074 #: ../src/guestfs-actions.pod:4085
11075 #, no-wrap
11076 msgid ""
11077 " int guestfs_pwrite (guestfs_h *g,\n"
11078 "\t\tconst char *path,\n"
11079 "\t\tconst char *content,\n"
11080 "\t\tsize_t content_size,\n"
11081 "\t\tint64_t offset);\n"
11082 "\n"
11083 msgstr ""
11084
11085 # type: textblock
11086 #: ../src/guestfs-actions.pod:4091 ../fish/guestfish-actions.pod:3147
11087 msgid ""
11088 "This command writes to part of a file.  It writes the data buffer C<content> "
11089 "to the file C<path> starting at offset C<offset>."
11090 msgstr ""
11091
11092 # type: textblock
11093 #: ../src/guestfs-actions.pod:4094 ../fish/guestfish-actions.pod:3150
11094 msgid ""
11095 "This command implements the L<pwrite(2)> system call, and like that system "
11096 "call it may not write the full data requested.  The return value is the "
11097 "number of bytes that were actually written to the file.  This could even be "
11098 "0, although short writes are unlikely for regular files in ordinary "
11099 "circumstances."
11100 msgstr ""
11101
11102 # type: textblock
11103 #: ../src/guestfs-actions.pod:4100
11104 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
11105 msgstr ""
11106
11107 # type: =head2
11108 #: ../src/guestfs-actions.pod:4107
11109 msgid "guestfs_pwrite_device"
11110 msgstr ""
11111
11112 # type: verbatim
11113 #: ../src/guestfs-actions.pod:4109
11114 #, no-wrap
11115 msgid ""
11116 " int guestfs_pwrite_device (guestfs_h *g,\n"
11117 "\t\tconst char *device,\n"
11118 "\t\tconst char *content,\n"
11119 "\t\tsize_t content_size,\n"
11120 "\t\tint64_t offset);\n"
11121 "\n"
11122 msgstr ""
11123
11124 # type: textblock
11125 #: ../src/guestfs-actions.pod:4115 ../fish/guestfish-actions.pod:3165
11126 msgid ""
11127 "This command writes to part of a device.  It writes the data buffer "
11128 "C<content> to C<device> starting at offset C<offset>."
11129 msgstr ""
11130
11131 # type: textblock
11132 #: ../src/guestfs-actions.pod:4118 ../fish/guestfish-actions.pod:3168
11133 msgid ""
11134 "This command implements the L<pwrite(2)> system call, and like that system "
11135 "call it may not write the full data requested (although short writes to disk "
11136 "devices and partitions are probably impossible with standard Linux kernels)."
11137 msgstr ""
11138
11139 # type: textblock
11140 #: ../src/guestfs-actions.pod:4123
11141 msgid "See also C<guestfs_pwrite>."
11142 msgstr ""
11143
11144 # type: =head2
11145 #: ../src/guestfs-actions.pod:4130
11146 msgid "guestfs_read_file"
11147 msgstr ""
11148
11149 # type: verbatim
11150 #: ../src/guestfs-actions.pod:4132
11151 #, no-wrap
11152 msgid ""
11153 " char *guestfs_read_file (guestfs_h *g,\n"
11154 "\t\tconst char *path,\n"
11155 "\t\tsize_t *size_r);\n"
11156 "\n"
11157 msgstr ""
11158
11159 # type: textblock
11160 #: ../src/guestfs-actions.pod:4136 ../fish/guestfish-actions.pod:3182
11161 msgid "This calls returns the contents of the file C<path> as a buffer."
11162 msgstr ""
11163
11164 # type: textblock
11165 #: ../src/guestfs-actions.pod:4139
11166 msgid ""
11167 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
11168 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
11169 "function is limited in the total size of file that can be handled."
11170 msgstr ""
11171
11172 # type: =head2
11173 #: ../src/guestfs-actions.pod:4151
11174 msgid "guestfs_read_lines"
11175 msgstr ""
11176
11177 # type: verbatim
11178 #: ../src/guestfs-actions.pod:4153
11179 #, no-wrap
11180 msgid ""
11181 " char **guestfs_read_lines (guestfs_h *g,\n"
11182 "\t\tconst char *path);\n"
11183 "\n"
11184 msgstr ""
11185
11186 # type: textblock
11187 #: ../src/guestfs-actions.pod:4158 ../fish/guestfish-actions.pod:3199
11188 msgid ""
11189 "The file contents are returned as a list of lines.  Trailing C<LF> and "
11190 "C<CRLF> character sequences are I<not> returned."
11191 msgstr ""
11192
11193 # type: textblock
11194 #: ../src/guestfs-actions.pod:4161
11195 msgid ""
11196 "Note that this function cannot correctly handle binary files (specifically, "
11197 "files containing C<\\0> character which is treated as end of line).  For "
11198 "those you need to use the C<guestfs_read_file> function which has a more "
11199 "complex interface."
11200 msgstr ""
11201
11202 # type: =head2
11203 #: ../src/guestfs-actions.pod:4170
11204 msgid "guestfs_readdir"
11205 msgstr ""
11206
11207 # type: verbatim
11208 #: ../src/guestfs-actions.pod:4172
11209 #, no-wrap
11210 msgid ""
11211 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
11212 "\t\tconst char *dir);\n"
11213 "\n"
11214 msgstr ""
11215
11216 # type: textblock
11217 #: ../src/guestfs-actions.pod:4175 ../fish/guestfish-actions.pod:3211
11218 msgid "This returns the list of directory entries in directory C<dir>."
11219 msgstr ""
11220
11221 # type: textblock
11222 #: ../src/guestfs-actions.pod:4177 ../fish/guestfish-actions.pod:3213
11223 msgid ""
11224 "All entries in the directory are returned, including C<.> and C<..>.  The "
11225 "entries are I<not> sorted, but returned in the same order as the underlying "
11226 "filesystem."
11227 msgstr ""
11228
11229 # type: textblock
11230 #: ../src/guestfs-actions.pod:4181 ../fish/guestfish-actions.pod:3217
11231 msgid ""
11232 "Also this call returns basic file type information about each file.  The "
11233 "C<ftyp> field will contain one of the following characters:"
11234 msgstr ""
11235
11236 # type: =item
11237 #: ../src/guestfs-actions.pod:4186 ../fish/guestfish-actions.pod:3222
11238 msgid "'b'"
11239 msgstr ""
11240
11241 # type: textblock
11242 #: ../src/guestfs-actions.pod:4188 ../fish/guestfish-actions.pod:3224
11243 msgid "Block special"
11244 msgstr ""
11245
11246 # type: =item
11247 #: ../src/guestfs-actions.pod:4190 ../fish/guestfish-actions.pod:3226
11248 msgid "'c'"
11249 msgstr ""
11250
11251 # type: textblock
11252 #: ../src/guestfs-actions.pod:4192 ../fish/guestfish-actions.pod:3228
11253 msgid "Char special"
11254 msgstr ""
11255
11256 # type: =item
11257 #: ../src/guestfs-actions.pod:4194 ../fish/guestfish-actions.pod:3230
11258 msgid "'d'"
11259 msgstr ""
11260
11261 # type: textblock
11262 #: ../src/guestfs-actions.pod:4196 ../fish/guestfish-actions.pod:3232
11263 msgid "Directory"
11264 msgstr ""
11265
11266 # type: =item
11267 #: ../src/guestfs-actions.pod:4198 ../fish/guestfish-actions.pod:3234
11268 msgid "'f'"
11269 msgstr ""
11270
11271 # type: textblock
11272 #: ../src/guestfs-actions.pod:4200 ../fish/guestfish-actions.pod:3236
11273 msgid "FIFO (named pipe)"
11274 msgstr ""
11275
11276 # type: =item
11277 #: ../src/guestfs-actions.pod:4202 ../fish/guestfish-actions.pod:3238
11278 msgid "'l'"
11279 msgstr ""
11280
11281 # type: textblock
11282 #: ../src/guestfs-actions.pod:4204 ../fish/guestfish-actions.pod:3240
11283 msgid "Symbolic link"
11284 msgstr ""
11285
11286 # type: =item
11287 #: ../src/guestfs-actions.pod:4206 ../fish/guestfish-actions.pod:3242
11288 msgid "'r'"
11289 msgstr ""
11290
11291 # type: textblock
11292 #: ../src/guestfs-actions.pod:4208 ../fish/guestfish-actions.pod:3244
11293 msgid "Regular file"
11294 msgstr ""
11295
11296 # type: =item
11297 #: ../src/guestfs-actions.pod:4210 ../fish/guestfish-actions.pod:3246
11298 msgid "'s'"
11299 msgstr ""
11300
11301 # type: textblock
11302 #: ../src/guestfs-actions.pod:4212 ../fish/guestfish-actions.pod:3248
11303 msgid "Socket"
11304 msgstr ""
11305
11306 # type: =item
11307 #: ../src/guestfs-actions.pod:4214 ../fish/guestfish-actions.pod:3250
11308 msgid "'u'"
11309 msgstr ""
11310
11311 # type: textblock
11312 #: ../src/guestfs-actions.pod:4216 ../fish/guestfish-actions.pod:3252
11313 msgid "Unknown file type"
11314 msgstr ""
11315
11316 # type: =item
11317 #: ../src/guestfs-actions.pod:4218 ../fish/guestfish-actions.pod:3254
11318 msgid "'?'"
11319 msgstr ""
11320
11321 # type: textblock
11322 #: ../src/guestfs-actions.pod:4220 ../fish/guestfish-actions.pod:3256
11323 msgid "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
11324 msgstr ""
11325
11326 # type: textblock
11327 #: ../src/guestfs-actions.pod:4225
11328 msgid ""
11329 "This function is primarily intended for use by programs.  To get a simple "
11330 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
11331 "consumption, use C<guestfs_ll>."
11332 msgstr ""
11333
11334 # type: textblock
11335 #: ../src/guestfs-actions.pod:4229
11336 msgid ""
11337 "This function returns a C<struct guestfs_dirent_list *> (see "
11338 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
11339 "must call C<guestfs_free_dirent_list> after use>."
11340 msgstr ""
11341
11342 # type: =head2
11343 #: ../src/guestfs-actions.pod:4234
11344 msgid "guestfs_readlink"
11345 msgstr ""
11346
11347 # type: verbatim
11348 #: ../src/guestfs-actions.pod:4236
11349 #, no-wrap
11350 msgid ""
11351 " char *guestfs_readlink (guestfs_h *g,\n"
11352 "\t\tconst char *path);\n"
11353 "\n"
11354 msgstr ""
11355
11356 # type: textblock
11357 #: ../src/guestfs-actions.pod:4239 ../fish/guestfish-actions.pod:3269
11358 msgid "This command reads the target of a symbolic link."
11359 msgstr ""
11360
11361 # type: =head2
11362 #: ../src/guestfs-actions.pod:4244
11363 msgid "guestfs_readlinklist"
11364 msgstr ""
11365
11366 # type: verbatim
11367 #: ../src/guestfs-actions.pod:4246
11368 #, no-wrap
11369 msgid ""
11370 " char **guestfs_readlinklist (guestfs_h *g,\n"
11371 "\t\tconst char *path,\n"
11372 "\t\tchar *const *names);\n"
11373 "\n"
11374 msgstr ""
11375
11376 # type: textblock
11377 #: ../src/guestfs-actions.pod:4250 ../fish/guestfish-actions.pod:3275
11378 msgid ""
11379 "This call allows you to do a C<readlink> operation on multiple files, where "
11380 "all files are in the directory C<path>.  C<names> is the list of files from "
11381 "this directory."
11382 msgstr ""
11383
11384 # type: textblock
11385 #: ../src/guestfs-actions.pod:4254 ../fish/guestfish-actions.pod:3279
11386 msgid ""
11387 "On return you get a list of strings, with a one-to-one correspondence to the "
11388 "C<names> list.  Each string is the value of the symbolic link."
11389 msgstr ""
11390
11391 # type: textblock
11392 #: ../src/guestfs-actions.pod:4258 ../fish/guestfish-actions.pod:3283
11393 msgid ""
11394 "If the C<readlink(2)> operation fails on any name, then the corresponding "
11395 "result string is the empty string C<\"\">.  However the whole operation is "
11396 "completed even if there were C<readlink(2)> errors, and so you can call this "
11397 "function with names where you don't know if they are symbolic links already "
11398 "(albeit slightly less efficient)."
11399 msgstr ""
11400
11401 # type: textblock
11402 #: ../src/guestfs-actions.pod:4265 ../fish/guestfish-actions.pod:3290
11403 msgid ""
11404 "This call is intended for programs that want to efficiently list a directory "
11405 "contents without making many round-trips.  Very long directory listings "
11406 "might cause the protocol message size to be exceeded, causing this call to "
11407 "fail.  The caller must split up such requests into smaller groups of names."
11408 msgstr ""
11409
11410 # type: =head2
11411 #: ../src/guestfs-actions.pod:4276
11412 msgid "guestfs_realpath"
11413 msgstr ""
11414
11415 # type: verbatim
11416 #: ../src/guestfs-actions.pod:4278
11417 #, no-wrap
11418 msgid ""
11419 " char *guestfs_realpath (guestfs_h *g,\n"
11420 "\t\tconst char *path);\n"
11421 "\n"
11422 msgstr ""
11423
11424 # type: textblock
11425 #: ../src/guestfs-actions.pod:4281 ../fish/guestfish-actions.pod:3301
11426 msgid ""
11427 "Return the canonicalized absolute pathname of C<path>.  The returned path "
11428 "has no C<.>, C<..> or symbolic link path elements."
11429 msgstr ""
11430
11431 # type: =head2
11432 #: ../src/guestfs-actions.pod:4287
11433 msgid "guestfs_removexattr"
11434 msgstr ""
11435
11436 # type: verbatim
11437 #: ../src/guestfs-actions.pod:4289
11438 #, no-wrap
11439 msgid ""
11440 " int guestfs_removexattr (guestfs_h *g,\n"
11441 "\t\tconst char *xattr,\n"
11442 "\t\tconst char *path);\n"
11443 "\n"
11444 msgstr ""
11445
11446 # type: textblock
11447 #: ../src/guestfs-actions.pod:4293 ../fish/guestfish-actions.pod:3308
11448 msgid "This call removes the extended attribute named C<xattr> of the file C<path>."
11449 msgstr ""
11450
11451 # type: textblock
11452 #: ../src/guestfs-actions.pod:4296
11453 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
11454 msgstr ""
11455
11456 # type: =head2
11457 #: ../src/guestfs-actions.pod:4300
11458 msgid "guestfs_resize2fs"
11459 msgstr ""
11460
11461 # type: verbatim
11462 #: ../src/guestfs-actions.pod:4302
11463 #, no-wrap
11464 msgid ""
11465 " int guestfs_resize2fs (guestfs_h *g,\n"
11466 "\t\tconst char *device);\n"
11467 "\n"
11468 msgstr ""
11469
11470 # type: textblock
11471 #: ../src/guestfs-actions.pod:4305 ../fish/guestfish-actions.pod:3317
11472 msgid ""
11473 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
11474 "underlying device."
11475 msgstr ""
11476
11477 # type: textblock
11478 #: ../src/guestfs-actions.pod:4308
11479 msgid ""
11480 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
11481 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
11482 "sometimes gives an error about this and sometimes not.  In any case, it is "
11483 "always safe to call C<guestfs_e2fsck_f> before calling this function."
11484 msgstr ""
11485
11486 # type: =head2
11487 #: ../src/guestfs-actions.pod:4316
11488 msgid "guestfs_resize2fs_size"
11489 msgstr ""
11490
11491 # type: verbatim
11492 #: ../src/guestfs-actions.pod:4318
11493 #, no-wrap
11494 msgid ""
11495 " int guestfs_resize2fs_size (guestfs_h *g,\n"
11496 "\t\tconst char *device,\n"
11497 "\t\tint64_t size);\n"
11498 "\n"
11499 msgstr ""
11500
11501 # type: textblock
11502 #: ../src/guestfs-actions.pod:4322
11503 msgid ""
11504 "This command is the same as C<guestfs_resize2fs> except that it allows you "
11505 "to specify the new size (in bytes) explicitly."
11506 msgstr ""
11507
11508 # type: =head2
11509 #: ../src/guestfs-actions.pod:4327
11510 msgid "guestfs_rm"
11511 msgstr ""
11512
11513 # type: verbatim
11514 #: ../src/guestfs-actions.pod:4329
11515 #, no-wrap
11516 msgid ""
11517 " int guestfs_rm (guestfs_h *g,\n"
11518 "\t\tconst char *path);\n"
11519 "\n"
11520 msgstr ""
11521
11522 # type: textblock
11523 #: ../src/guestfs-actions.pod:4332 ../fish/guestfish-actions.pod:3337
11524 msgid "Remove the single file C<path>."
11525 msgstr ""
11526
11527 # type: =head2
11528 #: ../src/guestfs-actions.pod:4336
11529 msgid "guestfs_rm_rf"
11530 msgstr ""
11531
11532 # type: verbatim
11533 #: ../src/guestfs-actions.pod:4338
11534 #, no-wrap
11535 msgid ""
11536 " int guestfs_rm_rf (guestfs_h *g,\n"
11537 "\t\tconst char *path);\n"
11538 "\n"
11539 msgstr ""
11540
11541 # type: textblock
11542 #: ../src/guestfs-actions.pod:4341 ../fish/guestfish-actions.pod:3343
11543 msgid ""
11544 "Remove the file or directory C<path>, recursively removing the contents if "
11545 "its a directory.  This is like the C<rm -rf> shell command."
11546 msgstr ""
11547
11548 # type: =head2
11549 #: ../src/guestfs-actions.pod:4347
11550 msgid "guestfs_rmdir"
11551 msgstr ""
11552
11553 # type: verbatim
11554 #: ../src/guestfs-actions.pod:4349
11555 #, no-wrap
11556 msgid ""
11557 " int guestfs_rmdir (guestfs_h *g,\n"
11558 "\t\tconst char *path);\n"
11559 "\n"
11560 msgstr ""
11561
11562 # type: textblock
11563 #: ../src/guestfs-actions.pod:4352 ../fish/guestfish-actions.pod:3351
11564 msgid "Remove the single directory C<path>."
11565 msgstr ""
11566
11567 # type: =head2
11568 #: ../src/guestfs-actions.pod:4356
11569 msgid "guestfs_rmmountpoint"
11570 msgstr ""
11571
11572 # type: verbatim
11573 #: ../src/guestfs-actions.pod:4358
11574 #, no-wrap
11575 msgid ""
11576 " int guestfs_rmmountpoint (guestfs_h *g,\n"
11577 "\t\tconst char *exemptpath);\n"
11578 "\n"
11579 msgstr ""
11580
11581 # type: textblock
11582 #: ../src/guestfs-actions.pod:4361
11583 msgid ""
11584 "This calls removes a mountpoint that was previously created with "
11585 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
11586 msgstr ""
11587
11588 # type: =head2
11589 #: ../src/guestfs-actions.pod:4367
11590 msgid "guestfs_scrub_device"
11591 msgstr ""
11592
11593 # type: verbatim
11594 #: ../src/guestfs-actions.pod:4369
11595 #, no-wrap
11596 msgid ""
11597 " int guestfs_scrub_device (guestfs_h *g,\n"
11598 "\t\tconst char *device);\n"
11599 "\n"
11600 msgstr ""
11601
11602 # type: textblock
11603 #: ../src/guestfs-actions.pod:4372 ../fish/guestfish-actions.pod:3365
11604 msgid ""
11605 "This command writes patterns over C<device> to make data retrieval more "
11606 "difficult."
11607 msgstr ""
11608
11609 # type: textblock
11610 #: ../src/guestfs-actions.pod:4375 ../src/guestfs-actions.pod:4393 ../src/guestfs-actions.pod:4409 ../fish/guestfish-actions.pod:3368 ../fish/guestfish-actions.pod:3383 ../fish/guestfish-actions.pod:3396
11611 msgid ""
11612 "It is an interface to the L<scrub(1)> program.  See that manual page for "
11613 "more details."
11614 msgstr ""
11615
11616 # type: =head2
11617 #: ../src/guestfs-actions.pod:4383
11618 msgid "guestfs_scrub_file"
11619 msgstr ""
11620
11621 # type: verbatim
11622 #: ../src/guestfs-actions.pod:4385
11623 #, no-wrap
11624 msgid ""
11625 " int guestfs_scrub_file (guestfs_h *g,\n"
11626 "\t\tconst char *file);\n"
11627 "\n"
11628 msgstr ""
11629
11630 # type: textblock
11631 #: ../src/guestfs-actions.pod:4388 ../fish/guestfish-actions.pod:3378
11632 msgid ""
11633 "This command writes patterns over a file to make data retrieval more "
11634 "difficult."
11635 msgstr ""
11636
11637 # type: textblock
11638 #: ../src/guestfs-actions.pod:4391 ../fish/guestfish-actions.pod:3381
11639 msgid "The file is I<removed> after scrubbing."
11640 msgstr ""
11641
11642 # type: =head2
11643 #: ../src/guestfs-actions.pod:4398
11644 msgid "guestfs_scrub_freespace"
11645 msgstr ""
11646
11647 # type: verbatim
11648 #: ../src/guestfs-actions.pod:4400
11649 #, no-wrap
11650 msgid ""
11651 " int guestfs_scrub_freespace (guestfs_h *g,\n"
11652 "\t\tconst char *dir);\n"
11653 "\n"
11654 msgstr ""
11655
11656 # type: textblock
11657 #: ../src/guestfs-actions.pod:4403
11658 msgid ""
11659 "This command creates the directory C<dir> and then fills it with files until "
11660 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
11661 "and deletes them.  The intention is to scrub any free space on the partition "
11662 "containing C<dir>."
11663 msgstr ""
11664
11665 # type: =head2
11666 #: ../src/guestfs-actions.pod:4414
11667 msgid "guestfs_set_append"
11668 msgstr ""
11669
11670 # type: verbatim
11671 #: ../src/guestfs-actions.pod:4416
11672 #, no-wrap
11673 msgid ""
11674 " int guestfs_set_append (guestfs_h *g,\n"
11675 "\t\tconst char *append);\n"
11676 "\n"
11677 msgstr ""
11678
11679 # type: textblock
11680 #: ../src/guestfs-actions.pod:4419 ../fish/guestfish-actions.pod:3405
11681 msgid ""
11682 "This function is used to add additional options to the guest kernel command "
11683 "line."
11684 msgstr ""
11685
11686 # type: textblock
11687 #: ../src/guestfs-actions.pod:4422 ../fish/guestfish-actions.pod:3408
11688 msgid ""
11689 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
11690 "environment variable."
11691 msgstr ""
11692
11693 # type: textblock
11694 #: ../src/guestfs-actions.pod:4425 ../fish/guestfish-actions.pod:3411
11695 msgid ""
11696 "Setting C<append> to C<NULL> means I<no> additional options are passed "
11697 "(libguestfs always adds a few of its own)."
11698 msgstr ""
11699
11700 # type: =head2
11701 #: ../src/guestfs-actions.pod:4430
11702 msgid "guestfs_set_autosync"
11703 msgstr ""
11704
11705 # type: verbatim
11706 #: ../src/guestfs-actions.pod:4432
11707 #, no-wrap
11708 msgid ""
11709 " int guestfs_set_autosync (guestfs_h *g,\n"
11710 "\t\tint autosync);\n"
11711 "\n"
11712 msgstr ""
11713
11714 # type: textblock
11715 #: ../src/guestfs-actions.pod:4435
11716 msgid ""
11717 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
11718 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
11719 "the handle is closed (also if the program exits without closing handles)."
11720 msgstr ""
11721
11722 # type: textblock
11723 #: ../src/guestfs-actions.pod:4440 ../fish/guestfish-actions.pod:3425
11724 msgid ""
11725 "This is enabled by default (since libguestfs 1.5.24, previously it was "
11726 "disabled by default)."
11727 msgstr ""
11728
11729 # type: =head2
11730 #: ../src/guestfs-actions.pod:4445
11731 msgid "guestfs_set_direct"
11732 msgstr ""
11733
11734 # type: verbatim
11735 #: ../src/guestfs-actions.pod:4447
11736 #, no-wrap
11737 msgid ""
11738 " int guestfs_set_direct (guestfs_h *g,\n"
11739 "\t\tint direct);\n"
11740 "\n"
11741 msgstr ""
11742
11743 # type: textblock
11744 #: ../src/guestfs-actions.pod:4450 ../fish/guestfish-actions.pod:3434
11745 msgid ""
11746 "If the direct appliance mode flag is enabled, then stdin and stdout are "
11747 "passed directly through to the appliance once it is launched."
11748 msgstr ""
11749
11750 # type: textblock
11751 #: ../src/guestfs-actions.pod:4454
11752 msgid ""
11753 "One consequence of this is that log messages aren't caught by the library "
11754 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
11755 "stdout."
11756 msgstr ""
11757
11758 # type: textblock
11759 #: ../src/guestfs-actions.pod:4458 ../fish/guestfish-actions.pod:3442
11760 msgid "You probably don't want to use this unless you know what you are doing."
11761 msgstr ""
11762
11763 # type: textblock
11764 #: ../src/guestfs-actions.pod:4461 ../fish/guestfish-actions.pod:3445
11765 msgid "The default is disabled."
11766 msgstr ""
11767
11768 # type: =head2
11769 #: ../src/guestfs-actions.pod:4465
11770 msgid "guestfs_set_e2label"
11771 msgstr ""
11772
11773 # type: verbatim
11774 #: ../src/guestfs-actions.pod:4467
11775 #, no-wrap
11776 msgid ""
11777 " int guestfs_set_e2label (guestfs_h *g,\n"
11778 "\t\tconst char *device,\n"
11779 "\t\tconst char *label);\n"
11780 "\n"
11781 msgstr ""
11782
11783 # type: textblock
11784 #: ../src/guestfs-actions.pod:4471 ../fish/guestfish-actions.pod:3451
11785 msgid ""
11786 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11787 "C<label>.  Filesystem labels are limited to 16 characters."
11788 msgstr ""
11789
11790 # type: textblock
11791 #: ../src/guestfs-actions.pod:4475
11792 msgid ""
11793 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11794 "the existing label on a filesystem."
11795 msgstr ""
11796
11797 # type: =head2
11798 #: ../src/guestfs-actions.pod:4480
11799 msgid "guestfs_set_e2uuid"
11800 msgstr ""
11801
11802 # type: verbatim
11803 #: ../src/guestfs-actions.pod:4482
11804 #, no-wrap
11805 msgid ""
11806 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11807 "\t\tconst char *device,\n"
11808 "\t\tconst char *uuid);\n"
11809 "\n"
11810 msgstr ""
11811
11812 # type: textblock
11813 #: ../src/guestfs-actions.pod:4486 ../fish/guestfish-actions.pod:3462
11814 msgid ""
11815 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11816 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11817 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11818 msgstr ""
11819
11820 # type: textblock
11821 #: ../src/guestfs-actions.pod:4491
11822 msgid ""
11823 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11824 "the existing UUID of a filesystem."
11825 msgstr ""
11826
11827 # type: =head2
11828 #: ../src/guestfs-actions.pod:4496
11829 msgid "guestfs_set_memsize"
11830 msgstr ""
11831
11832 # type: verbatim
11833 #: ../src/guestfs-actions.pod:4498
11834 #, no-wrap
11835 msgid ""
11836 " int guestfs_set_memsize (guestfs_h *g,\n"
11837 "\t\tint memsize);\n"
11838 "\n"
11839 msgstr ""
11840
11841 # type: textblock
11842 #: ../src/guestfs-actions.pod:4501
11843 msgid ""
11844 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11845 "This only has any effect if called before C<guestfs_launch>."
11846 msgstr ""
11847
11848 # type: textblock
11849 #: ../src/guestfs-actions.pod:4505 ../fish/guestfish-actions.pod:3480
11850 msgid ""
11851 "You can also change this by setting the environment variable "
11852 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11853 msgstr ""
11854
11855 # type: =head2
11856 #: ../src/guestfs-actions.pod:4514
11857 msgid "guestfs_set_network"
11858 msgstr ""
11859
11860 # type: verbatim
11861 #: ../src/guestfs-actions.pod:4516
11862 #, no-wrap
11863 msgid ""
11864 " int guestfs_set_network (guestfs_h *g,\n"
11865 "\t\tint network);\n"
11866 "\n"
11867 msgstr ""
11868
11869 # type: textblock
11870 #: ../src/guestfs-actions.pod:4519 ../fish/guestfish-actions.pod:3493
11871 msgid ""
11872 "If C<network> is true, then the network is enabled in the libguestfs "
11873 "appliance.  The default is false."
11874 msgstr ""
11875
11876 # type: textblock
11877 #: ../src/guestfs-actions.pod:4522 ../fish/guestfish-actions.pod:3496
11878 msgid ""
11879 "This affects whether commands are able to access the network (see "
11880 "L<guestfs(3)/RUNNING COMMANDS>)."
11881 msgstr ""
11882
11883 # type: textblock
11884 #: ../src/guestfs-actions.pod:4525
11885 msgid ""
11886 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11887 "effect."
11888 msgstr ""
11889
11890 # type: =head2
11891 #: ../src/guestfs-actions.pod:4530
11892 msgid "guestfs_set_path"
11893 msgstr ""
11894
11895 # type: verbatim
11896 #: ../src/guestfs-actions.pod:4532
11897 #, no-wrap
11898 msgid ""
11899 " int guestfs_set_path (guestfs_h *g,\n"
11900 "\t\tconst char *searchpath);\n"
11901 "\n"
11902 msgstr ""
11903
11904 # type: textblock
11905 #: ../src/guestfs-actions.pod:4535 ../fish/guestfish-actions.pod:3508
11906 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11907 msgstr ""
11908
11909 # type: textblock
11910 #: ../src/guestfs-actions.pod:4537 ../fish/guestfish-actions.pod:3510
11911 msgid ""
11912 "The default is C<$libdir/guestfs> unless overridden by setting "
11913 "C<LIBGUESTFS_PATH> environment variable."
11914 msgstr ""
11915
11916 # type: textblock
11917 #: ../src/guestfs-actions.pod:4540 ../fish/guestfish-actions.pod:3513
11918 msgid "Setting C<path> to C<NULL> restores the default path."
11919 msgstr ""
11920
11921 # type: =head2
11922 #: ../src/guestfs-actions.pod:4544
11923 msgid "guestfs_set_qemu"
11924 msgstr ""
11925
11926 # type: verbatim
11927 #: ../src/guestfs-actions.pod:4546
11928 #, no-wrap
11929 msgid ""
11930 " int guestfs_set_qemu (guestfs_h *g,\n"
11931 "\t\tconst char *qemu);\n"
11932 "\n"
11933 msgstr ""
11934
11935 # type: textblock
11936 #: ../src/guestfs-actions.pod:4549 ../fish/guestfish-actions.pod:3521
11937 msgid "Set the qemu binary that we will use."
11938 msgstr ""
11939
11940 # type: textblock
11941 #: ../src/guestfs-actions.pod:4551 ../fish/guestfish-actions.pod:3523
11942 msgid "The default is chosen when the library was compiled by the configure script."
11943 msgstr ""
11944
11945 # type: textblock
11946 #: ../src/guestfs-actions.pod:4554 ../fish/guestfish-actions.pod:3526
11947 msgid ""
11948 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11949 "variable."
11950 msgstr ""
11951
11952 # type: textblock
11953 #: ../src/guestfs-actions.pod:4557 ../fish/guestfish-actions.pod:3529
11954 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11955 msgstr ""
11956
11957 # type: textblock
11958 #: ../src/guestfs-actions.pod:4559 ../fish/guestfish-actions.pod:3531
11959 msgid ""
11960 "Note that you should call this function as early as possible after creating "
11961 "the handle.  This is because some pre-launch operations depend on testing "
11962 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11963 "don't retest features, and so you might see inconsistent results.  Using the "
11964 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11965 "the qemu binary at the same time as the handle is created."
11966 msgstr ""
11967
11968 # type: =head2
11969 #: ../src/guestfs-actions.pod:4569
11970 msgid "guestfs_set_recovery_proc"
11971 msgstr ""
11972
11973 # type: verbatim
11974 #: ../src/guestfs-actions.pod:4571
11975 #, no-wrap
11976 msgid ""
11977 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11978 "\t\tint recoveryproc);\n"
11979 "\n"
11980 msgstr ""
11981
11982 # type: textblock
11983 #: ../src/guestfs-actions.pod:4574
11984 msgid ""
11985 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11986 "not create a recovery process.  The purpose of the recovery process is to "
11987 "stop runaway qemu processes in the case where the main program aborts "
11988 "abruptly."
11989 msgstr ""
11990
11991 # type: textblock
11992 #: ../src/guestfs-actions.pod:4579
11993 msgid ""
11994 "This only has any effect if called before C<guestfs_launch>, and the default "
11995 "is true."
11996 msgstr ""
11997
11998 # type: textblock
11999 #: ../src/guestfs-actions.pod:4582 ../fish/guestfish-actions.pod:3553
12000 msgid ""
12001 "About the only time when you would want to disable this is if the main "
12002 "process will fork itself into the background (\"daemonize\" itself).  In "
12003 "this case the recovery process thinks that the main program has disappeared "
12004 "and so kills qemu, which is not very helpful."
12005 msgstr ""
12006
12007 # type: =head2
12008 #: ../src/guestfs-actions.pod:4590
12009 msgid "guestfs_set_selinux"
12010 msgstr ""
12011
12012 # type: verbatim
12013 #: ../src/guestfs-actions.pod:4592
12014 #, no-wrap
12015 msgid ""
12016 " int guestfs_set_selinux (guestfs_h *g,\n"
12017 "\t\tint selinux);\n"
12018 "\n"
12019 msgstr ""
12020
12021 # type: textblock
12022 #: ../src/guestfs-actions.pod:4595 ../fish/guestfish-actions.pod:3565
12023 msgid ""
12024 "This sets the selinux flag that is passed to the appliance at boot time.  "
12025 "The default is C<selinux=0> (disabled)."
12026 msgstr ""
12027
12028 # type: textblock
12029 #: ../src/guestfs-actions.pod:4598 ../fish/guestfish-actions.pod:3568
12030 msgid ""
12031 "Note that if SELinux is enabled, it is always in Permissive mode "
12032 "(C<enforcing=0>)."
12033 msgstr ""
12034
12035 # type: =head2
12036 #: ../src/guestfs-actions.pod:4606
12037 msgid "guestfs_set_trace"
12038 msgstr ""
12039
12040 # type: verbatim
12041 #: ../src/guestfs-actions.pod:4608
12042 #, no-wrap
12043 msgid ""
12044 " int guestfs_set_trace (guestfs_h *g,\n"
12045 "\t\tint trace);\n"
12046 "\n"
12047 msgstr ""
12048
12049 # type: textblock
12050 #: ../src/guestfs-actions.pod:4611 ../fish/guestfish-actions.pod:3580
12051 msgid ""
12052 "If the command trace flag is set to 1, then commands are printed on stderr "
12053 "before they are executed in a format which is very similar to the one used "
12054 "by guestfish.  In other words, you can run a program with this enabled, and "
12055 "you will get out a script which you can feed to guestfish to perform the "
12056 "same set of actions."
12057 msgstr ""
12058
12059 # type: textblock
12060 #: ../src/guestfs-actions.pod:4618 ../fish/guestfish-actions.pod:3587
12061 msgid ""
12062 "If you want to trace C API calls into libguestfs (and other libraries) then "
12063 "possibly a better way is to use the external ltrace(1) command."
12064 msgstr ""
12065
12066 # type: textblock
12067 #: ../src/guestfs-actions.pod:4622 ../fish/guestfish-actions.pod:3591
12068 msgid ""
12069 "Command traces are disabled unless the environment variable "
12070 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
12071 msgstr ""
12072
12073 # type: =head2
12074 #: ../src/guestfs-actions.pod:4627
12075 msgid "guestfs_set_verbose"
12076 msgstr ""
12077
12078 # type: verbatim
12079 #: ../src/guestfs-actions.pod:4629
12080 #, no-wrap
12081 msgid ""
12082 " int guestfs_set_verbose (guestfs_h *g,\n"
12083 "\t\tint verbose);\n"
12084 "\n"
12085 msgstr ""
12086
12087 # type: textblock
12088 #: ../src/guestfs-actions.pod:4632 ../fish/guestfish-actions.pod:3600
12089 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
12090 msgstr ""
12091
12092 # type: textblock
12093 #: ../src/guestfs-actions.pod:4634 ../fish/guestfish-actions.pod:3602
12094 msgid ""
12095 "Verbose messages are disabled unless the environment variable "
12096 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
12097 msgstr ""
12098
12099 # type: =head2
12100 #: ../src/guestfs-actions.pod:4639
12101 msgid "guestfs_setcon"
12102 msgstr ""
12103
12104 # type: verbatim
12105 #: ../src/guestfs-actions.pod:4641
12106 #, no-wrap
12107 msgid ""
12108 " int guestfs_setcon (guestfs_h *g,\n"
12109 "\t\tconst char *context);\n"
12110 "\n"
12111 msgstr ""
12112
12113 # type: textblock
12114 #: ../src/guestfs-actions.pod:4644 ../fish/guestfish-actions.pod:3609
12115 msgid ""
12116 "This sets the SELinux security context of the daemon to the string "
12117 "C<context>."
12118 msgstr ""
12119
12120 # type: textblock
12121 #: ../src/guestfs-actions.pod:4647 ../fish/guestfish-actions.pod:3612
12122 msgid "See the documentation about SELINUX in L<guestfs(3)>."
12123 msgstr ""
12124
12125 # type: =head2
12126 #: ../src/guestfs-actions.pod:4651
12127 msgid "guestfs_setxattr"
12128 msgstr ""
12129
12130 # type: verbatim
12131 #: ../src/guestfs-actions.pod:4653
12132 #, no-wrap
12133 msgid ""
12134 " int guestfs_setxattr (guestfs_h *g,\n"
12135 "\t\tconst char *xattr,\n"
12136 "\t\tconst char *val,\n"
12137 "\t\tint vallen,\n"
12138 "\t\tconst char *path);\n"
12139 "\n"
12140 msgstr ""
12141
12142 # type: textblock
12143 #: ../src/guestfs-actions.pod:4659 ../fish/guestfish-actions.pod:3618
12144 msgid ""
12145 "This call sets the extended attribute named C<xattr> of the file C<path> to "
12146 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
12147 msgstr ""
12148
12149 # type: textblock
12150 #: ../src/guestfs-actions.pod:4663
12151 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
12152 msgstr ""
12153
12154 # type: =head2
12155 #: ../src/guestfs-actions.pod:4667
12156 msgid "guestfs_sfdisk"
12157 msgstr ""
12158
12159 # type: verbatim
12160 #: ../src/guestfs-actions.pod:4669
12161 #, no-wrap
12162 msgid ""
12163 " int guestfs_sfdisk (guestfs_h *g,\n"
12164 "\t\tconst char *device,\n"
12165 "\t\tint cyls,\n"
12166 "\t\tint heads,\n"
12167 "\t\tint sectors,\n"
12168 "\t\tchar *const *lines);\n"
12169 "\n"
12170 msgstr ""
12171
12172 # type: textblock
12173 #: ../src/guestfs-actions.pod:4676 ../fish/guestfish-actions.pod:3628
12174 msgid ""
12175 "This is a direct interface to the L<sfdisk(8)> program for creating "
12176 "partitions on block devices."
12177 msgstr ""
12178
12179 # type: textblock
12180 #: ../src/guestfs-actions.pod:4679 ../fish/guestfish-actions.pod:3631
12181 msgid "C<device> should be a block device, for example C</dev/sda>."
12182 msgstr ""
12183
12184 # type: textblock
12185 #: ../src/guestfs-actions.pod:4681 ../fish/guestfish-actions.pod:3633
12186 msgid ""
12187 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
12188 "sectors on the device, which are passed directly to sfdisk as the I<-C>, "
12189 "I<-H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
12190 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
12191 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
12192 "the kernel) cannot work out the right geometry and you will need to tell it."
12193 msgstr ""
12194
12195 # type: textblock
12196 #: ../src/guestfs-actions.pod:4689 ../fish/guestfish-actions.pod:3641
12197 msgid ""
12198 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
12199 "refer to the L<sfdisk(8)> manpage."
12200 msgstr ""
12201
12202 # type: textblock
12203 #: ../src/guestfs-actions.pod:4692 ../fish/guestfish-actions.pod:3644
12204 msgid ""
12205 "To create a single partition occupying the whole disk, you would pass "
12206 "C<lines> as a single element list, when the single element being the string "
12207 "C<,> (comma)."
12208 msgstr ""
12209
12210 # type: textblock
12211 #: ../src/guestfs-actions.pod:4696
12212 msgid "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
12213 msgstr ""
12214
12215 # type: =head2
12216 #: ../src/guestfs-actions.pod:4704
12217 msgid "guestfs_sfdiskM"
12218 msgstr ""
12219
12220 # type: verbatim
12221 #: ../src/guestfs-actions.pod:4706
12222 #, no-wrap
12223 msgid ""
12224 " int guestfs_sfdiskM (guestfs_h *g,\n"
12225 "\t\tconst char *device,\n"
12226 "\t\tchar *const *lines);\n"
12227 "\n"
12228 msgstr ""
12229
12230 # type: textblock
12231 #: ../src/guestfs-actions.pod:4710
12232 msgid ""
12233 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
12234 "partition sizes are specified in megabytes only (rounded to the nearest "
12235 "cylinder) and you don't need to specify the cyls, heads and sectors "
12236 "parameters which were rarely if ever used anyway."
12237 msgstr ""
12238
12239 # type: textblock
12240 #: ../src/guestfs-actions.pod:4716
12241 msgid ""
12242 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
12243 "C<guestfs_part_disk>"
12244 msgstr ""
12245
12246 # type: =head2
12247 #: ../src/guestfs-actions.pod:4724
12248 msgid "guestfs_sfdisk_N"
12249 msgstr ""
12250
12251 # type: verbatim
12252 #: ../src/guestfs-actions.pod:4726
12253 #, no-wrap
12254 msgid ""
12255 " int guestfs_sfdisk_N (guestfs_h *g,\n"
12256 "\t\tconst char *device,\n"
12257 "\t\tint partnum,\n"
12258 "\t\tint cyls,\n"
12259 "\t\tint heads,\n"
12260 "\t\tint sectors,\n"
12261 "\t\tconst char *line);\n"
12262 "\n"
12263 msgstr ""
12264
12265 # type: textblock
12266 #: ../src/guestfs-actions.pod:4734 ../fish/guestfish-actions.pod:3674
12267 msgid ""
12268 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
12269 "(note: C<n> counts from 1)."
12270 msgstr ""
12271
12272 # type: textblock
12273 #: ../src/guestfs-actions.pod:4737
12274 msgid ""
12275 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
12276 "for the cyls/heads/sectors parameters."
12277 msgstr ""
12278
12279 # type: textblock
12280 #: ../src/guestfs-actions.pod:4740
12281 msgid "See also: C<guestfs_part_add>"
12282 msgstr ""
12283
12284 # type: =head2
12285 #: ../src/guestfs-actions.pod:4747
12286 msgid "guestfs_sfdisk_disk_geometry"
12287 msgstr ""
12288
12289 # type: verbatim
12290 #: ../src/guestfs-actions.pod:4749
12291 #, no-wrap
12292 msgid ""
12293 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
12294 "\t\tconst char *device);\n"
12295 "\n"
12296 msgstr ""
12297
12298 # type: textblock
12299 #: ../src/guestfs-actions.pod:4752
12300 msgid ""
12301 "This displays the disk geometry of C<device> read from the partition table.  "
12302 "Especially in the case where the underlying block device has been resized, "
12303 "this can be different from the kernel's idea of the geometry (see "
12304 "C<guestfs_sfdisk_kernel_geometry>)."
12305 msgstr ""
12306
12307 # type: textblock
12308 #: ../src/guestfs-actions.pod:4757 ../src/guestfs-actions.pod:4770 ../fish/guestfish-actions.pod:3694 ../fish/guestfish-actions.pod:3703
12309 msgid "The result is in human-readable format, and not designed to be parsed."
12310 msgstr ""
12311
12312 # type: =head2
12313 #: ../src/guestfs-actions.pod:4763
12314 msgid "guestfs_sfdisk_kernel_geometry"
12315 msgstr ""
12316
12317 # type: verbatim
12318 #: ../src/guestfs-actions.pod:4765
12319 #, no-wrap
12320 msgid ""
12321 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
12322 "\t\tconst char *device);\n"
12323 "\n"
12324 msgstr ""
12325
12326 # type: textblock
12327 #: ../src/guestfs-actions.pod:4768 ../fish/guestfish-actions.pod:3701
12328 msgid "This displays the kernel's idea of the geometry of C<device>."
12329 msgstr ""
12330
12331 # type: =head2
12332 #: ../src/guestfs-actions.pod:4776
12333 msgid "guestfs_sfdisk_l"
12334 msgstr ""
12335
12336 # type: verbatim
12337 #: ../src/guestfs-actions.pod:4778
12338 #, no-wrap
12339 msgid ""
12340 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
12341 "\t\tconst char *device);\n"
12342 "\n"
12343 msgstr ""
12344
12345 # type: textblock
12346 #: ../src/guestfs-actions.pod:4781 ../fish/guestfish-actions.pod:3710
12347 msgid ""
12348 "This displays the partition table on C<device>, in the human-readable output "
12349 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
12350 msgstr ""
12351
12352 # type: textblock
12353 #: ../src/guestfs-actions.pod:4785
12354 msgid "See also: C<guestfs_part_list>"
12355 msgstr ""
12356
12357 # type: =head2
12358 #: ../src/guestfs-actions.pod:4790
12359 msgid "guestfs_sh"
12360 msgstr ""
12361
12362 # type: verbatim
12363 #: ../src/guestfs-actions.pod:4792
12364 #, no-wrap
12365 msgid ""
12366 " char *guestfs_sh (guestfs_h *g,\n"
12367 "\t\tconst char *command);\n"
12368 "\n"
12369 msgstr ""
12370
12371 # type: textblock
12372 #: ../src/guestfs-actions.pod:4795 ../fish/guestfish-actions.pod:3720
12373 msgid ""
12374 "This call runs a command from the guest filesystem via the guest's "
12375 "C</bin/sh>."
12376 msgstr ""
12377
12378 # type: textblock
12379 #: ../src/guestfs-actions.pod:4798
12380 msgid "This is like C<guestfs_command>, but passes the command to:"
12381 msgstr ""
12382
12383 # type: verbatim
12384 #: ../src/guestfs-actions.pod:4800 ../fish/guestfish-actions.pod:3725
12385 #, no-wrap
12386 msgid ""
12387 " /bin/sh -c \"command\"\n"
12388 "\n"
12389 msgstr ""
12390
12391 # type: textblock
12392 #: ../src/guestfs-actions.pod:4802 ../fish/guestfish-actions.pod:3727
12393 msgid ""
12394 "Depending on the guest's shell, this usually results in wildcards being "
12395 "expanded, shell expressions being interpolated and so on."
12396 msgstr ""
12397
12398 # type: textblock
12399 #: ../src/guestfs-actions.pod:4806
12400 msgid "All the provisos about C<guestfs_command> apply to this call."
12401 msgstr ""
12402
12403 # type: =head2
12404 #: ../src/guestfs-actions.pod:4811
12405 msgid "guestfs_sh_lines"
12406 msgstr ""
12407
12408 # type: verbatim
12409 #: ../src/guestfs-actions.pod:4813
12410 #, no-wrap
12411 msgid ""
12412 " char **guestfs_sh_lines (guestfs_h *g,\n"
12413 "\t\tconst char *command);\n"
12414 "\n"
12415 msgstr ""
12416
12417 # type: textblock
12418 #: ../src/guestfs-actions.pod:4816
12419 msgid ""
12420 "This is the same as C<guestfs_sh>, but splits the result into a list of "
12421 "lines."
12422 msgstr ""
12423
12424 # type: textblock
12425 #: ../src/guestfs-actions.pod:4819
12426 msgid "See also: C<guestfs_command_lines>"
12427 msgstr ""
12428
12429 # type: =head2
12430 #: ../src/guestfs-actions.pod:4825
12431 msgid "guestfs_sleep"
12432 msgstr ""
12433
12434 # type: verbatim
12435 #: ../src/guestfs-actions.pod:4827
12436 #, no-wrap
12437 msgid ""
12438 " int guestfs_sleep (guestfs_h *g,\n"
12439 "\t\tint secs);\n"
12440 "\n"
12441 msgstr ""
12442
12443 # type: textblock
12444 #: ../src/guestfs-actions.pod:4830 ../fish/guestfish-actions.pod:3746
12445 msgid "Sleep for C<secs> seconds."
12446 msgstr ""
12447
12448 # type: =head2
12449 #: ../src/guestfs-actions.pod:4834 ../src/guestfs-structs.pod:109
12450 msgid "guestfs_stat"
12451 msgstr ""
12452
12453 # type: verbatim
12454 #: ../src/guestfs-actions.pod:4836
12455 #, no-wrap
12456 msgid ""
12457 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
12458 "\t\tconst char *path);\n"
12459 "\n"
12460 msgstr ""
12461
12462 # type: textblock
12463 #: ../src/guestfs-actions.pod:4841 ../fish/guestfish-actions.pod:3754
12464 msgid "This is the same as the C<stat(2)> system call."
12465 msgstr ""
12466
12467 # type: =head2
12468 #: ../src/guestfs-actions.pod:4847 ../src/guestfs-structs.pod:135
12469 msgid "guestfs_statvfs"
12470 msgstr ""
12471
12472 # type: verbatim
12473 #: ../src/guestfs-actions.pod:4849
12474 #, no-wrap
12475 msgid ""
12476 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
12477 "\t\tconst char *path);\n"
12478 "\n"
12479 msgstr ""
12480
12481 # type: textblock
12482 #: ../src/guestfs-actions.pod:4852 ../fish/guestfish-actions.pod:3760
12483 msgid ""
12484 "Returns file system statistics for any mounted file system.  C<path> should "
12485 "be a file or directory in the mounted file system (typically it is the mount "
12486 "point itself, but it doesn't need to be)."
12487 msgstr ""
12488
12489 # type: textblock
12490 #: ../src/guestfs-actions.pod:4856 ../fish/guestfish-actions.pod:3764
12491 msgid "This is the same as the C<statvfs(2)> system call."
12492 msgstr ""
12493
12494 # type: textblock
12495 #: ../src/guestfs-actions.pod:4858
12496 msgid ""
12497 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
12498 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
12499 msgstr ""
12500
12501 # type: =head2
12502 #: ../src/guestfs-actions.pod:4862
12503 msgid "guestfs_strings"
12504 msgstr ""
12505
12506 # type: verbatim
12507 #: ../src/guestfs-actions.pod:4864
12508 #, no-wrap
12509 msgid ""
12510 " char **guestfs_strings (guestfs_h *g,\n"
12511 "\t\tconst char *path);\n"
12512 "\n"
12513 msgstr ""
12514
12515 # type: textblock
12516 #: ../src/guestfs-actions.pod:4867 ../fish/guestfish-actions.pod:3770
12517 msgid ""
12518 "This runs the L<strings(1)> command on a file and returns the list of "
12519 "printable strings found."
12520 msgstr ""
12521
12522 # type: =head2
12523 #: ../src/guestfs-actions.pod:4877
12524 msgid "guestfs_strings_e"
12525 msgstr ""
12526
12527 # type: verbatim
12528 #: ../src/guestfs-actions.pod:4879
12529 #, no-wrap
12530 msgid ""
12531 " char **guestfs_strings_e (guestfs_h *g,\n"
12532 "\t\tconst char *encoding,\n"
12533 "\t\tconst char *path);\n"
12534 "\n"
12535 msgstr ""
12536
12537 # type: textblock
12538 #: ../src/guestfs-actions.pod:4883
12539 msgid ""
12540 "This is like the C<guestfs_strings> command, but allows you to specify the "
12541 "encoding of strings that are looked for in the source file C<path>."
12542 msgstr ""
12543
12544 # type: textblock
12545 #: ../src/guestfs-actions.pod:4887 ../fish/guestfish-actions.pod:3784
12546 msgid "Allowed encodings are:"
12547 msgstr ""
12548
12549 # type: =item
12550 #: ../src/guestfs-actions.pod:4891 ../fish/guestfish-actions.pod:3788
12551 msgid "s"
12552 msgstr ""
12553
12554 # type: textblock
12555 #: ../src/guestfs-actions.pod:4893
12556 msgid ""
12557 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
12558 "ISO-8859-X (this is what C<guestfs_strings> uses)."
12559 msgstr ""
12560
12561 # type: =item
12562 #: ../src/guestfs-actions.pod:4896 ../fish/guestfish-actions.pod:3793
12563 msgid "S"
12564 msgstr ""
12565
12566 # type: textblock
12567 #: ../src/guestfs-actions.pod:4898 ../fish/guestfish-actions.pod:3795
12568 msgid "Single 8-bit-byte characters."
12569 msgstr ""
12570
12571 # type: =item
12572 #: ../src/guestfs-actions.pod:4900 ../fish/guestfish-actions.pod:3797
12573 msgid "b"
12574 msgstr ""
12575
12576 # type: textblock
12577 #: ../src/guestfs-actions.pod:4902 ../fish/guestfish-actions.pod:3799
12578 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
12579 msgstr ""
12580
12581 # type: =item
12582 #: ../src/guestfs-actions.pod:4905 ../fish/guestfish-actions.pod:3802
12583 msgid "l (lower case letter L)"
12584 msgstr ""
12585
12586 # type: textblock
12587 #: ../src/guestfs-actions.pod:4907 ../fish/guestfish-actions.pod:3804
12588 msgid ""
12589 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
12590 "examining binaries in Windows guests."
12591 msgstr ""
12592
12593 # type: =item
12594 #: ../src/guestfs-actions.pod:4910 ../fish/guestfish-actions.pod:3807
12595 msgid "B"
12596 msgstr ""
12597
12598 # type: textblock
12599 #: ../src/guestfs-actions.pod:4912 ../fish/guestfish-actions.pod:3809
12600 msgid "32-bit big endian such as UCS-4BE."
12601 msgstr ""
12602
12603 # type: =item
12604 #: ../src/guestfs-actions.pod:4914 ../fish/guestfish-actions.pod:3811
12605 msgid "L"
12606 msgstr ""
12607
12608 # type: textblock
12609 #: ../src/guestfs-actions.pod:4916 ../fish/guestfish-actions.pod:3813
12610 msgid "32-bit little endian such as UCS-4LE."
12611 msgstr ""
12612
12613 # type: textblock
12614 #: ../src/guestfs-actions.pod:4920 ../fish/guestfish-actions.pod:3817
12615 msgid "The returned strings are transcoded to UTF-8."
12616 msgstr ""
12617
12618 # type: =head2
12619 #: ../src/guestfs-actions.pod:4929
12620 msgid "guestfs_swapoff_device"
12621 msgstr ""
12622
12623 # type: verbatim
12624 #: ../src/guestfs-actions.pod:4931
12625 #, no-wrap
12626 msgid ""
12627 " int guestfs_swapoff_device (guestfs_h *g,\n"
12628 "\t\tconst char *device);\n"
12629 "\n"
12630 msgstr ""
12631
12632 # type: textblock
12633 #: ../src/guestfs-actions.pod:4934
12634 msgid ""
12635 "This command disables the libguestfs appliance swap device or partition "
12636 "named C<device>.  See C<guestfs_swapon_device>."
12637 msgstr ""
12638
12639 # type: =head2
12640 #: ../src/guestfs-actions.pod:4940
12641 msgid "guestfs_swapoff_file"
12642 msgstr ""
12643
12644 # type: verbatim
12645 #: ../src/guestfs-actions.pod:4942
12646 #, no-wrap
12647 msgid ""
12648 " int guestfs_swapoff_file (guestfs_h *g,\n"
12649 "\t\tconst char *file);\n"
12650 "\n"
12651 msgstr ""
12652
12653 # type: textblock
12654 #: ../src/guestfs-actions.pod:4945 ../fish/guestfish-actions.pod:3834
12655 msgid "This command disables the libguestfs appliance swap on file."
12656 msgstr ""
12657
12658 # type: =head2
12659 #: ../src/guestfs-actions.pod:4949
12660 msgid "guestfs_swapoff_label"
12661 msgstr ""
12662
12663 # type: verbatim
12664 #: ../src/guestfs-actions.pod:4951
12665 #, no-wrap
12666 msgid ""
12667 " int guestfs_swapoff_label (guestfs_h *g,\n"
12668 "\t\tconst char *label);\n"
12669 "\n"
12670 msgstr ""
12671
12672 # type: textblock
12673 #: ../src/guestfs-actions.pod:4954 ../fish/guestfish-actions.pod:3840
12674 msgid ""
12675 "This command disables the libguestfs appliance swap on labeled swap "
12676 "partition."
12677 msgstr ""
12678
12679 # type: =head2
12680 #: ../src/guestfs-actions.pod:4959
12681 msgid "guestfs_swapoff_uuid"
12682 msgstr ""
12683
12684 # type: verbatim
12685 #: ../src/guestfs-actions.pod:4961
12686 #, no-wrap
12687 msgid ""
12688 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
12689 "\t\tconst char *uuid);\n"
12690 "\n"
12691 msgstr ""
12692
12693 # type: textblock
12694 #: ../src/guestfs-actions.pod:4964 ../fish/guestfish-actions.pod:3847
12695 msgid ""
12696 "This command disables the libguestfs appliance swap partition with the given "
12697 "UUID."
12698 msgstr ""
12699
12700 # type: =head2
12701 #: ../src/guestfs-actions.pod:4969
12702 msgid "guestfs_swapon_device"
12703 msgstr ""
12704
12705 # type: verbatim
12706 #: ../src/guestfs-actions.pod:4971
12707 #, no-wrap
12708 msgid ""
12709 " int guestfs_swapon_device (guestfs_h *g,\n"
12710 "\t\tconst char *device);\n"
12711 "\n"
12712 msgstr ""
12713
12714 # type: textblock
12715 #: ../src/guestfs-actions.pod:4974
12716 msgid ""
12717 "This command enables the libguestfs appliance to use the swap device or "
12718 "partition named C<device>.  The increased memory is made available for all "
12719 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
12720 msgstr ""
12721
12722 # type: textblock
12723 #: ../src/guestfs-actions.pod:4979 ../fish/guestfish-actions.pod:3859
12724 msgid ""
12725 "Note that you should not swap to existing guest swap partitions unless you "
12726 "know what you are doing.  They may contain hibernation information, or other "
12727 "information that the guest doesn't want you to trash.  You also risk leaking "
12728 "information about the host to the guest this way.  Instead, attach a new "
12729 "host device to the guest and swap on that."
12730 msgstr ""
12731
12732 # type: =head2
12733 #: ../src/guestfs-actions.pod:4988
12734 msgid "guestfs_swapon_file"
12735 msgstr ""
12736
12737 # type: verbatim
12738 #: ../src/guestfs-actions.pod:4990
12739 #, no-wrap
12740 msgid ""
12741 " int guestfs_swapon_file (guestfs_h *g,\n"
12742 "\t\tconst char *file);\n"
12743 "\n"
12744 msgstr ""
12745
12746 # type: textblock
12747 #: ../src/guestfs-actions.pod:4993
12748 msgid ""
12749 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
12750 "notes."
12751 msgstr ""
12752
12753 # type: =head2
12754 #: ../src/guestfs-actions.pod:4998
12755 msgid "guestfs_swapon_label"
12756 msgstr ""
12757
12758 # type: verbatim
12759 #: ../src/guestfs-actions.pod:5000
12760 #, no-wrap
12761 msgid ""
12762 " int guestfs_swapon_label (guestfs_h *g,\n"
12763 "\t\tconst char *label);\n"
12764 "\n"
12765 msgstr ""
12766
12767 # type: textblock
12768 #: ../src/guestfs-actions.pod:5003
12769 msgid ""
12770 "This command enables swap to a labeled swap partition.  See "
12771 "C<guestfs_swapon_device> for other notes."
12772 msgstr ""
12773
12774 # type: =head2
12775 #: ../src/guestfs-actions.pod:5008
12776 msgid "guestfs_swapon_uuid"
12777 msgstr ""
12778
12779 # type: verbatim
12780 #: ../src/guestfs-actions.pod:5010
12781 #, no-wrap
12782 msgid ""
12783 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12784 "\t\tconst char *uuid);\n"
12785 "\n"
12786 msgstr ""
12787
12788 # type: textblock
12789 #: ../src/guestfs-actions.pod:5013
12790 msgid ""
12791 "This command enables swap to a swap partition with the given UUID.  See "
12792 "C<guestfs_swapon_device> for other notes."
12793 msgstr ""
12794
12795 # type: =head2
12796 #: ../src/guestfs-actions.pod:5018
12797 msgid "guestfs_sync"
12798 msgstr ""
12799
12800 # type: verbatim
12801 #: ../src/guestfs-actions.pod:5020
12802 #, no-wrap
12803 msgid ""
12804 " int guestfs_sync (guestfs_h *g);\n"
12805 "\n"
12806 msgstr ""
12807
12808 # type: textblock
12809 #: ../src/guestfs-actions.pod:5022 ../fish/guestfish-actions.pod:3891
12810 msgid ""
12811 "This syncs the disk, so that any writes are flushed through to the "
12812 "underlying disk image."
12813 msgstr ""
12814
12815 # type: textblock
12816 #: ../src/guestfs-actions.pod:5025 ../fish/guestfish-actions.pod:3894
12817 msgid ""
12818 "You should always call this if you have modified a disk image, before "
12819 "closing the handle."
12820 msgstr ""
12821
12822 # type: =head2
12823 #: ../src/guestfs-actions.pod:5030
12824 msgid "guestfs_tail"
12825 msgstr ""
12826
12827 # type: verbatim
12828 #: ../src/guestfs-actions.pod:5032
12829 #, no-wrap
12830 msgid ""
12831 " char **guestfs_tail (guestfs_h *g,\n"
12832 "\t\tconst char *path);\n"
12833 "\n"
12834 msgstr ""
12835
12836 # type: textblock
12837 #: ../src/guestfs-actions.pod:5035 ../fish/guestfish-actions.pod:3901
12838 msgid "This command returns up to the last 10 lines of a file as a list of strings."
12839 msgstr ""
12840
12841 # type: =head2
12842 #: ../src/guestfs-actions.pod:5045
12843 msgid "guestfs_tail_n"
12844 msgstr ""
12845
12846 # type: verbatim
12847 #: ../src/guestfs-actions.pod:5047
12848 #, no-wrap
12849 msgid ""
12850 " char **guestfs_tail_n (guestfs_h *g,\n"
12851 "\t\tint nrlines,\n"
12852 "\t\tconst char *path);\n"
12853 "\n"
12854 msgstr ""
12855
12856 # type: textblock
12857 #: ../src/guestfs-actions.pod:5051 ../fish/guestfish-actions.pod:3911
12858 msgid ""
12859 "If the parameter C<nrlines> is a positive number, this returns the last "
12860 "C<nrlines> lines of the file C<path>."
12861 msgstr ""
12862
12863 # type: textblock
12864 #: ../src/guestfs-actions.pod:5054 ../fish/guestfish-actions.pod:3914
12865 msgid ""
12866 "If the parameter C<nrlines> is a negative number, this returns lines from "
12867 "the file C<path>, starting with the C<-nrlines>th line."
12868 msgstr ""
12869
12870 # type: =head2
12871 #: ../src/guestfs-actions.pod:5066
12872 msgid "guestfs_tar_in"
12873 msgstr ""
12874
12875 # type: verbatim
12876 #: ../src/guestfs-actions.pod:5068
12877 #, no-wrap
12878 msgid ""
12879 " int guestfs_tar_in (guestfs_h *g,\n"
12880 "\t\tconst char *tarfile,\n"
12881 "\t\tconst char *directory);\n"
12882 "\n"
12883 msgstr ""
12884
12885 # type: textblock
12886 #: ../src/guestfs-actions.pod:5072 ../fish/guestfish-actions.pod:3926
12887 msgid ""
12888 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12889 "tar file) into C<directory>."
12890 msgstr ""
12891
12892 # type: textblock
12893 #: ../src/guestfs-actions.pod:5075
12894 msgid "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12895 msgstr ""
12896
12897 # type: =head2
12898 #: ../src/guestfs-actions.pod:5080
12899 msgid "guestfs_tar_out"
12900 msgstr ""
12901
12902 # type: verbatim
12903 #: ../src/guestfs-actions.pod:5082
12904 #, no-wrap
12905 msgid ""
12906 " int guestfs_tar_out (guestfs_h *g,\n"
12907 "\t\tconst char *directory,\n"
12908 "\t\tconst char *tarfile);\n"
12909 "\n"
12910 msgstr ""
12911
12912 # type: textblock
12913 #: ../src/guestfs-actions.pod:5086 ../fish/guestfish-actions.pod:3938
12914 msgid ""
12915 "This command packs the contents of C<directory> and downloads it to local "
12916 "file C<tarfile>."
12917 msgstr ""
12918
12919 # type: textblock
12920 #: ../src/guestfs-actions.pod:5089
12921 msgid ""
12922 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12923 "C<guestfs_txz_out>."
12924 msgstr ""
12925
12926 # type: =head2
12927 #: ../src/guestfs-actions.pod:5094
12928 msgid "guestfs_tgz_in"
12929 msgstr ""
12930
12931 # type: verbatim
12932 #: ../src/guestfs-actions.pod:5096
12933 #, no-wrap
12934 msgid ""
12935 " int guestfs_tgz_in (guestfs_h *g,\n"
12936 "\t\tconst char *tarball,\n"
12937 "\t\tconst char *directory);\n"
12938 "\n"
12939 msgstr ""
12940
12941 # type: textblock
12942 #: ../src/guestfs-actions.pod:5100 ../fish/guestfish-actions.pod:3950
12943 msgid ""
12944 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12945 "tar file) into C<directory>."
12946 msgstr ""
12947
12948 # type: textblock
12949 #: ../src/guestfs-actions.pod:5103
12950 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12951 msgstr ""
12952
12953 # type: =head2
12954 #: ../src/guestfs-actions.pod:5107
12955 msgid "guestfs_tgz_out"
12956 msgstr ""
12957
12958 # type: verbatim
12959 #: ../src/guestfs-actions.pod:5109
12960 #, no-wrap
12961 msgid ""
12962 " int guestfs_tgz_out (guestfs_h *g,\n"
12963 "\t\tconst char *directory,\n"
12964 "\t\tconst char *tarball);\n"
12965 "\n"
12966 msgstr ""
12967
12968 # type: textblock
12969 #: ../src/guestfs-actions.pod:5113 ../fish/guestfish-actions.pod:3961
12970 msgid ""
12971 "This command packs the contents of C<directory> and downloads it to local "
12972 "file C<tarball>."
12973 msgstr ""
12974
12975 # type: textblock
12976 #: ../src/guestfs-actions.pod:5116
12977 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12978 msgstr ""
12979
12980 # type: =head2
12981 #: ../src/guestfs-actions.pod:5120
12982 msgid "guestfs_touch"
12983 msgstr ""
12984
12985 # type: verbatim
12986 #: ../src/guestfs-actions.pod:5122
12987 #, no-wrap
12988 msgid ""
12989 " int guestfs_touch (guestfs_h *g,\n"
12990 "\t\tconst char *path);\n"
12991 "\n"
12992 msgstr ""
12993
12994 # type: textblock
12995 #: ../src/guestfs-actions.pod:5125 ../fish/guestfish-actions.pod:3972
12996 msgid ""
12997 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12998 "timestamps on a file, or, if the file does not exist, to create a new "
12999 "zero-length file."
13000 msgstr ""
13001
13002 # type: textblock
13003 #: ../src/guestfs-actions.pod:5129 ../fish/guestfish-actions.pod:3976
13004 msgid ""
13005 "This command only works on regular files, and will fail on other file types "
13006 "such as directories, symbolic links, block special etc."
13007 msgstr ""
13008
13009 # type: =head2
13010 #: ../src/guestfs-actions.pod:5134
13011 msgid "guestfs_truncate"
13012 msgstr ""
13013
13014 # type: verbatim
13015 #: ../src/guestfs-actions.pod:5136
13016 #, no-wrap
13017 msgid ""
13018 " int guestfs_truncate (guestfs_h *g,\n"
13019 "\t\tconst char *path);\n"
13020 "\n"
13021 msgstr ""
13022
13023 # type: textblock
13024 #: ../src/guestfs-actions.pod:5139 ../fish/guestfish-actions.pod:3983
13025 msgid ""
13026 "This command truncates C<path> to a zero-length file.  The file must exist "
13027 "already."
13028 msgstr ""
13029
13030 # type: =head2
13031 #: ../src/guestfs-actions.pod:5144
13032 msgid "guestfs_truncate_size"
13033 msgstr ""
13034
13035 # type: verbatim
13036 #: ../src/guestfs-actions.pod:5146
13037 #, no-wrap
13038 msgid ""
13039 " int guestfs_truncate_size (guestfs_h *g,\n"
13040 "\t\tconst char *path,\n"
13041 "\t\tint64_t size);\n"
13042 "\n"
13043 msgstr ""
13044
13045 # type: textblock
13046 #: ../src/guestfs-actions.pod:5150 ../fish/guestfish-actions.pod:3990
13047 msgid ""
13048 "This command truncates C<path> to size C<size> bytes.  The file must exist "
13049 "already."
13050 msgstr ""
13051
13052 # type: textblock
13053 #: ../src/guestfs-actions.pod:5153
13054 msgid ""
13055 "If the current file size is less than C<size> then the file is extended to "
13056 "the required size with zero bytes.  This creates a sparse file (ie. disk "
13057 "blocks are not allocated for the file until you write to it).  To create a "
13058 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
13059 msgstr ""
13060
13061 # type: =head2
13062 #: ../src/guestfs-actions.pod:5161
13063 msgid "guestfs_tune2fs_l"
13064 msgstr ""
13065
13066 # type: verbatim
13067 #: ../src/guestfs-actions.pod:5163
13068 #, no-wrap
13069 msgid ""
13070 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
13071 "\t\tconst char *device);\n"
13072 "\n"
13073 msgstr ""
13074
13075 # type: textblock
13076 #: ../src/guestfs-actions.pod:5166 ../fish/guestfish-actions.pod:4003
13077 msgid ""
13078 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
13079 "C<device>."
13080 msgstr ""
13081
13082 # type: textblock
13083 #: ../src/guestfs-actions.pod:5169 ../fish/guestfish-actions.pod:4006
13084 msgid ""
13085 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
13086 "for more details.  The list of fields returned isn't clearly defined, and "
13087 "depends on both the version of C<tune2fs> that libguestfs was built against, "
13088 "and the filesystem itself."
13089 msgstr ""
13090
13091 # type: =head2
13092 #: ../src/guestfs-actions.pod:5180
13093 msgid "guestfs_txz_in"
13094 msgstr ""
13095
13096 # type: verbatim
13097 #: ../src/guestfs-actions.pod:5182
13098 #, no-wrap
13099 msgid ""
13100 " int guestfs_txz_in (guestfs_h *g,\n"
13101 "\t\tconst char *tarball,\n"
13102 "\t\tconst char *directory);\n"
13103 "\n"
13104 msgstr ""
13105
13106 # type: textblock
13107 #: ../src/guestfs-actions.pod:5186 ../fish/guestfish-actions.pod:4015
13108 msgid ""
13109 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
13110 "tar file) into C<directory>."
13111 msgstr ""
13112
13113 # type: =head2
13114 #: ../src/guestfs-actions.pod:5191
13115 msgid "guestfs_txz_out"
13116 msgstr ""
13117
13118 # type: verbatim
13119 #: ../src/guestfs-actions.pod:5193
13120 #, no-wrap
13121 msgid ""
13122 " int guestfs_txz_out (guestfs_h *g,\n"
13123 "\t\tconst char *directory,\n"
13124 "\t\tconst char *tarball);\n"
13125 "\n"
13126 msgstr ""
13127
13128 # type: textblock
13129 #: ../src/guestfs-actions.pod:5197 ../fish/guestfish-actions.pod:4024
13130 msgid ""
13131 "This command packs the contents of C<directory> and downloads it to local "
13132 "file C<tarball> (as an xz compressed tar archive)."
13133 msgstr ""
13134
13135 # type: =head2
13136 #: ../src/guestfs-actions.pod:5202
13137 msgid "guestfs_umask"
13138 msgstr ""
13139
13140 # type: verbatim
13141 #: ../src/guestfs-actions.pod:5204
13142 #, no-wrap
13143 msgid ""
13144 " int guestfs_umask (guestfs_h *g,\n"
13145 "\t\tint mask);\n"
13146 "\n"
13147 msgstr ""
13148
13149 # type: textblock
13150 #: ../src/guestfs-actions.pod:5207 ../fish/guestfish-actions.pod:4033
13151 msgid ""
13152 "This function sets the mask used for creating new files and device nodes to "
13153 "C<mask & 0777>."
13154 msgstr ""
13155
13156 # type: textblock
13157 #: ../src/guestfs-actions.pod:5210 ../fish/guestfish-actions.pod:4036
13158 msgid ""
13159 "Typical umask values would be C<022> which creates new files with "
13160 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
13161 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
13162 msgstr ""
13163
13164 # type: textblock
13165 #: ../src/guestfs-actions.pod:5215 ../fish/guestfish-actions.pod:4041
13166 msgid ""
13167 "The default umask is C<022>.  This is important because it means that "
13168 "directories and device nodes will be created with C<0644> or C<0755> mode "
13169 "even if you specify C<0777>."
13170 msgstr ""
13171
13172 # type: textblock
13173 #: ../src/guestfs-actions.pod:5219
13174 msgid ""
13175 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
13176 "C<guestfs_mkdir>."
13177 msgstr ""
13178
13179 # type: textblock
13180 #: ../src/guestfs-actions.pod:5222 ../fish/guestfish-actions.pod:4048
13181 msgid "This call returns the previous umask."
13182 msgstr ""
13183
13184 # type: =head2
13185 #: ../src/guestfs-actions.pod:5226
13186 msgid "guestfs_umount"
13187 msgstr ""
13188
13189 # type: verbatim
13190 #: ../src/guestfs-actions.pod:5228
13191 #, no-wrap
13192 msgid ""
13193 " int guestfs_umount (guestfs_h *g,\n"
13194 "\t\tconst char *pathordevice);\n"
13195 "\n"
13196 msgstr ""
13197
13198 # type: textblock
13199 #: ../src/guestfs-actions.pod:5231 ../fish/guestfish-actions.pod:4056
13200 msgid ""
13201 "This unmounts the given filesystem.  The filesystem may be specified either "
13202 "by its mountpoint (path) or the device which contains the filesystem."
13203 msgstr ""
13204
13205 # type: =head2
13206 #: ../src/guestfs-actions.pod:5237
13207 msgid "guestfs_umount_all"
13208 msgstr ""
13209
13210 # type: verbatim
13211 #: ../src/guestfs-actions.pod:5239
13212 #, no-wrap
13213 msgid ""
13214 " int guestfs_umount_all (guestfs_h *g);\n"
13215 "\n"
13216 msgstr ""
13217
13218 # type: textblock
13219 #: ../src/guestfs-actions.pod:5241 ../fish/guestfish-actions.pod:4066
13220 msgid "This unmounts all mounted filesystems."
13221 msgstr ""
13222
13223 # type: textblock
13224 #: ../src/guestfs-actions.pod:5243 ../fish/guestfish-actions.pod:4068
13225 msgid "Some internal mounts are not unmounted by this call."
13226 msgstr ""
13227
13228 # type: =head2
13229 #: ../src/guestfs-actions.pod:5247
13230 msgid "guestfs_upload"
13231 msgstr ""
13232
13233 # type: verbatim
13234 #: ../src/guestfs-actions.pod:5249
13235 #, no-wrap
13236 msgid ""
13237 " int guestfs_upload (guestfs_h *g,\n"
13238 "\t\tconst char *filename,\n"
13239 "\t\tconst char *remotefilename);\n"
13240 "\n"
13241 msgstr ""
13242
13243 # type: textblock
13244 #: ../src/guestfs-actions.pod:5253 ../src/guestfs-actions.pod:5269 ../fish/guestfish-actions.pod:4074 ../fish/guestfish-actions.pod:4087
13245 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
13246 msgstr ""
13247
13248 # type: textblock
13249 #: ../src/guestfs-actions.pod:5258
13250 msgid "See also C<guestfs_download>."
13251 msgstr ""
13252
13253 # type: =head2
13254 #: ../src/guestfs-actions.pod:5262
13255 msgid "guestfs_upload_offset"
13256 msgstr ""
13257
13258 # type: verbatim
13259 #: ../src/guestfs-actions.pod:5264
13260 #, no-wrap
13261 msgid ""
13262 " int guestfs_upload_offset (guestfs_h *g,\n"
13263 "\t\tconst char *filename,\n"
13264 "\t\tconst char *remotefilename,\n"
13265 "\t\tint64_t offset);\n"
13266 "\n"
13267 msgstr ""
13268
13269 # type: textblock
13270 #: ../src/guestfs-actions.pod:5272 ../fish/guestfish-actions.pod:4090
13271 msgid ""
13272 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
13273 "The intention is to overwrite parts of existing files or devices, although "
13274 "if a non-existant file is specified then it is created with a \"hole\" "
13275 "before C<offset>.  The size of the data written is implicit in the size of "
13276 "the source C<filename>."
13277 msgstr ""
13278
13279 # type: textblock
13280 #: ../src/guestfs-actions.pod:5279
13281 msgid ""
13282 "Note that there is no limit on the amount of data that can be uploaded with "
13283 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
13284 "full amount unless an error occurs."
13285 msgstr ""
13286
13287 # type: textblock
13288 #: ../src/guestfs-actions.pod:5284
13289 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
13290 msgstr ""
13291
13292 # type: =head2
13293 #: ../src/guestfs-actions.pod:5288
13294 msgid "guestfs_utimens"
13295 msgstr ""
13296
13297 # type: verbatim
13298 #: ../src/guestfs-actions.pod:5290
13299 #, no-wrap
13300 msgid ""
13301 " int guestfs_utimens (guestfs_h *g,\n"
13302 "\t\tconst char *path,\n"
13303 "\t\tint64_t atsecs,\n"
13304 "\t\tint64_t atnsecs,\n"
13305 "\t\tint64_t mtsecs,\n"
13306 "\t\tint64_t mtnsecs);\n"
13307 "\n"
13308 msgstr ""
13309
13310 # type: textblock
13311 #: ../src/guestfs-actions.pod:5297 ../fish/guestfish-actions.pod:4110
13312 msgid "This command sets the timestamps of a file with nanosecond precision."
13313 msgstr ""
13314
13315 # type: textblock
13316 #: ../src/guestfs-actions.pod:5300 ../fish/guestfish-actions.pod:4113
13317 msgid ""
13318 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
13319 "from the epoch."
13320 msgstr ""
13321
13322 # type: textblock
13323 #: ../src/guestfs-actions.pod:5303 ../fish/guestfish-actions.pod:4116
13324 msgid ""
13325 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
13326 "nanoseconds from the epoch."
13327 msgstr ""
13328
13329 # type: textblock
13330 #: ../src/guestfs-actions.pod:5306 ../fish/guestfish-actions.pod:4119
13331 msgid ""
13332 "If the C<*nsecs> field contains the special value C<-1> then the "
13333 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
13334 "ignored in this case)."
13335 msgstr ""
13336
13337 # type: textblock
13338 #: ../src/guestfs-actions.pod:5310 ../fish/guestfish-actions.pod:4123
13339 msgid ""
13340 "If the C<*nsecs> field contains the special value C<-2> then the "
13341 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
13342 "in this case)."
13343 msgstr ""
13344
13345 # type: =head2
13346 #: ../src/guestfs-actions.pod:5316 ../src/guestfs-structs.pod:175
13347 msgid "guestfs_version"
13348 msgstr ""
13349
13350 # type: verbatim
13351 #: ../src/guestfs-actions.pod:5318
13352 #, no-wrap
13353 msgid ""
13354 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
13355 "\n"
13356 msgstr ""
13357
13358 # type: textblock
13359 #: ../src/guestfs-actions.pod:5320 ../fish/guestfish-actions.pod:4131
13360 msgid "Return the libguestfs version number that the program is linked against."
13361 msgstr ""
13362
13363 # type: textblock
13364 #: ../src/guestfs-actions.pod:5323 ../fish/guestfish-actions.pod:4134
13365 msgid ""
13366 "Note that because of dynamic linking this is not necessarily the version of "
13367 "libguestfs that you compiled against.  You can compile the program, and then "
13368 "at runtime dynamically link against a completely different C<libguestfs.so> "
13369 "library."
13370 msgstr ""
13371
13372 # type: textblock
13373 #: ../src/guestfs-actions.pod:5328 ../fish/guestfish-actions.pod:4139
13374 msgid ""
13375 "This call was added in version C<1.0.58>.  In previous versions of "
13376 "libguestfs there was no way to get the version number.  From C code you can "
13377 "use dynamic linker functions to find out if this symbol exists (if it "
13378 "doesn't, then it's an earlier version)."
13379 msgstr ""
13380
13381 # type: textblock
13382 #: ../src/guestfs-actions.pod:5334 ../fish/guestfish-actions.pod:4145
13383 msgid ""
13384 "The call returns a structure with four elements.  The first three (C<major>, "
13385 "C<minor> and C<release>) are numbers and correspond to the usual version "
13386 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
13387 "but may be used for distro-specific information."
13388 msgstr ""
13389
13390 # type: textblock
13391 #: ../src/guestfs-actions.pod:5340 ../fish/guestfish-actions.pod:4151
13392 msgid "To construct the original version string: C<$major.$minor.$release$extra>"
13393 msgstr ""
13394
13395 # type: textblock
13396 #: ../src/guestfs-actions.pod:5343 ../fish/guestfish-actions.pod:4154
13397 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
13398 msgstr ""
13399
13400 # type: textblock
13401 #: ../src/guestfs-actions.pod:5345
13402 msgid ""
13403 "I<Note:> Don't use this call to test for availability of features.  In "
13404 "enterprise distributions we backport features from later versions into "
13405 "earlier versions, making this an unreliable way to test for features.  Use "
13406 "C<guestfs_available> instead."
13407 msgstr ""
13408
13409 # type: textblock
13410 #: ../src/guestfs-actions.pod:5351
13411 msgid ""
13412 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
13413 "error.  I<The caller must call C<guestfs_free_version> after use>."
13414 msgstr ""
13415
13416 # type: =head2
13417 #: ../src/guestfs-actions.pod:5355
13418 msgid "guestfs_vfs_label"
13419 msgstr ""
13420
13421 # type: verbatim
13422 #: ../src/guestfs-actions.pod:5357
13423 #, no-wrap
13424 msgid ""
13425 " char *guestfs_vfs_label (guestfs_h *g,\n"
13426 "\t\tconst char *device);\n"
13427 "\n"
13428 msgstr ""
13429
13430 # type: textblock
13431 #: ../src/guestfs-actions.pod:5360 ../fish/guestfish-actions.pod:4166
13432 msgid "This returns the filesystem label of the filesystem on C<device>."
13433 msgstr ""
13434
13435 # type: textblock
13436 #: ../src/guestfs-actions.pod:5363 ../fish/guestfish-actions.pod:4169
13437 msgid "If the filesystem is unlabeled, this returns the empty string."
13438 msgstr ""
13439
13440 # type: textblock
13441 #: ../src/guestfs-actions.pod:5365
13442 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
13443 msgstr ""
13444
13445 # type: =head2
13446 #: ../src/guestfs-actions.pod:5370
13447 msgid "guestfs_vfs_type"
13448 msgstr ""
13449
13450 # type: verbatim
13451 #: ../src/guestfs-actions.pod:5372
13452 #, no-wrap
13453 msgid ""
13454 " char *guestfs_vfs_type (guestfs_h *g,\n"
13455 "\t\tconst char *device);\n"
13456 "\n"
13457 msgstr ""
13458
13459 # type: textblock
13460 #: ../src/guestfs-actions.pod:5375 ../fish/guestfish-actions.pod:4177
13461 msgid ""
13462 "This command gets the filesystem type corresponding to the filesystem on "
13463 "C<device>."
13464 msgstr ""
13465
13466 # type: textblock
13467 #: ../src/guestfs-actions.pod:5378 ../fish/guestfish-actions.pod:4180
13468 msgid ""
13469 "For most filesystems, the result is the name of the Linux VFS module which "
13470 "would be used to mount this filesystem if you mounted it without specifying "
13471 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
13472 msgstr ""
13473
13474 # type: =head2
13475 #: ../src/guestfs-actions.pod:5386
13476 msgid "guestfs_vfs_uuid"
13477 msgstr ""
13478
13479 # type: verbatim
13480 #: ../src/guestfs-actions.pod:5388
13481 #, no-wrap
13482 msgid ""
13483 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
13484 "\t\tconst char *device);\n"
13485 "\n"
13486 msgstr ""
13487
13488 # type: textblock
13489 #: ../src/guestfs-actions.pod:5391 ../fish/guestfish-actions.pod:4189
13490 msgid "This returns the filesystem UUID of the filesystem on C<device>."
13491 msgstr ""
13492
13493 # type: textblock
13494 #: ../src/guestfs-actions.pod:5394 ../fish/guestfish-actions.pod:4192
13495 msgid "If the filesystem does not have a UUID, this returns the empty string."
13496 msgstr ""
13497
13498 # type: textblock
13499 #: ../src/guestfs-actions.pod:5396
13500 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
13501 msgstr ""
13502
13503 # type: =head2
13504 #: ../src/guestfs-actions.pod:5401
13505 msgid "guestfs_vg_activate"
13506 msgstr ""
13507
13508 # type: verbatim
13509 #: ../src/guestfs-actions.pod:5403
13510 #, no-wrap
13511 msgid ""
13512 " int guestfs_vg_activate (guestfs_h *g,\n"
13513 "\t\tint activate,\n"
13514 "\t\tchar *const *volgroups);\n"
13515 "\n"
13516 msgstr ""
13517
13518 # type: textblock
13519 #: ../src/guestfs-actions.pod:5407 ../fish/guestfish-actions.pod:4200
13520 msgid ""
13521 "This command activates or (if C<activate> is false) deactivates all logical "
13522 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
13523 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
13524 "deactivated, then those devices disappear."
13525 msgstr ""
13526
13527 # type: textblock
13528 #: ../src/guestfs-actions.pod:5413 ../fish/guestfish-actions.pod:4206
13529 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
13530 msgstr ""
13531
13532 # type: textblock
13533 #: ../src/guestfs-actions.pod:5415 ../fish/guestfish-actions.pod:4208
13534 msgid ""
13535 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
13536 "activated or deactivated."
13537 msgstr ""
13538
13539 # type: =head2
13540 #: ../src/guestfs-actions.pod:5420
13541 msgid "guestfs_vg_activate_all"
13542 msgstr ""
13543
13544 # type: verbatim
13545 #: ../src/guestfs-actions.pod:5422
13546 #, no-wrap
13547 msgid ""
13548 " int guestfs_vg_activate_all (guestfs_h *g,\n"
13549 "\t\tint activate);\n"
13550 "\n"
13551 msgstr ""
13552
13553 # type: textblock
13554 #: ../src/guestfs-actions.pod:5425 ../fish/guestfish-actions.pod:4215
13555 msgid ""
13556 "This command activates or (if C<activate> is false) deactivates all logical "
13557 "volumes in all volume groups.  If activated, then they are made known to the "
13558 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
13559 "those devices disappear."
13560 msgstr ""
13561
13562 # type: textblock
13563 #: ../src/guestfs-actions.pod:5431 ../fish/guestfish-actions.pod:4221
13564 msgid "This command is the same as running C<vgchange -a y|n>"
13565 msgstr ""
13566
13567 # type: =head2
13568 #: ../src/guestfs-actions.pod:5435
13569 msgid "guestfs_vgcreate"
13570 msgstr ""
13571
13572 # type: verbatim
13573 #: ../src/guestfs-actions.pod:5437
13574 #, no-wrap
13575 msgid ""
13576 " int guestfs_vgcreate (guestfs_h *g,\n"
13577 "\t\tconst char *volgroup,\n"
13578 "\t\tchar *const *physvols);\n"
13579 "\n"
13580 msgstr ""
13581
13582 # type: textblock
13583 #: ../src/guestfs-actions.pod:5441 ../fish/guestfish-actions.pod:4227
13584 msgid ""
13585 "This creates an LVM volume group called C<volgroup> from the non-empty list "
13586 "of physical volumes C<physvols>."
13587 msgstr ""
13588
13589 # type: =head2
13590 #: ../src/guestfs-actions.pod:5446
13591 msgid "guestfs_vglvuuids"
13592 msgstr ""
13593
13594 # type: verbatim
13595 #: ../src/guestfs-actions.pod:5448
13596 #, no-wrap
13597 msgid ""
13598 " char **guestfs_vglvuuids (guestfs_h *g,\n"
13599 "\t\tconst char *vgname);\n"
13600 "\n"
13601 msgstr ""
13602
13603 # type: textblock
13604 #: ../src/guestfs-actions.pod:5451 ../fish/guestfish-actions.pod:4234
13605 msgid ""
13606 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
13607 "volumes created in this volume group."
13608 msgstr ""
13609
13610 # type: textblock
13611 #: ../src/guestfs-actions.pod:5454
13612 msgid ""
13613 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
13614 "associate logical volumes and volume groups."
13615 msgstr ""
13616
13617 # type: textblock
13618 #: ../src/guestfs-actions.pod:5457
13619 msgid "See also C<guestfs_vgpvuuids>."
13620 msgstr ""
13621
13622 # type: =head2
13623 #: ../src/guestfs-actions.pod:5463
13624 msgid "guestfs_vgpvuuids"
13625 msgstr ""
13626
13627 # type: verbatim
13628 #: ../src/guestfs-actions.pod:5465
13629 #, no-wrap
13630 msgid ""
13631 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
13632 "\t\tconst char *vgname);\n"
13633 "\n"
13634 msgstr ""
13635
13636 # type: textblock
13637 #: ../src/guestfs-actions.pod:5468 ../fish/guestfish-actions.pod:4246
13638 msgid ""
13639 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
13640 "volumes that this volume group resides on."
13641 msgstr ""
13642
13643 # type: textblock
13644 #: ../src/guestfs-actions.pod:5471
13645 msgid ""
13646 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
13647 "associate physical volumes and volume groups."
13648 msgstr ""
13649
13650 # type: textblock
13651 #: ../src/guestfs-actions.pod:5474
13652 msgid "See also C<guestfs_vglvuuids>."
13653 msgstr ""
13654
13655 # type: =head2
13656 #: ../src/guestfs-actions.pod:5480
13657 msgid "guestfs_vgremove"
13658 msgstr ""
13659
13660 # type: verbatim
13661 #: ../src/guestfs-actions.pod:5482
13662 #, no-wrap
13663 msgid ""
13664 " int guestfs_vgremove (guestfs_h *g,\n"
13665 "\t\tconst char *vgname);\n"
13666 "\n"
13667 msgstr ""
13668
13669 # type: textblock
13670 #: ../src/guestfs-actions.pod:5485 ../fish/guestfish-actions.pod:4258
13671 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
13672 msgstr ""
13673
13674 # type: textblock
13675 #: ../src/guestfs-actions.pod:5487 ../fish/guestfish-actions.pod:4260
13676 msgid "This also forcibly removes all logical volumes in the volume group (if any)."
13677 msgstr ""
13678
13679 # type: =head2
13680 #: ../src/guestfs-actions.pod:5492
13681 msgid "guestfs_vgrename"
13682 msgstr ""
13683
13684 # type: verbatim
13685 #: ../src/guestfs-actions.pod:5494
13686 #, no-wrap
13687 msgid ""
13688 " int guestfs_vgrename (guestfs_h *g,\n"
13689 "\t\tconst char *volgroup,\n"
13690 "\t\tconst char *newvolgroup);\n"
13691 "\n"
13692 msgstr ""
13693
13694 # type: textblock
13695 #: ../src/guestfs-actions.pod:5498 ../fish/guestfish-actions.pod:4267
13696 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
13697 msgstr ""
13698
13699 # type: =head2
13700 #: ../src/guestfs-actions.pod:5502
13701 msgid "guestfs_vgs"
13702 msgstr ""
13703
13704 # type: verbatim
13705 #: ../src/guestfs-actions.pod:5504
13706 #, no-wrap
13707 msgid ""
13708 " char **guestfs_vgs (guestfs_h *g);\n"
13709 "\n"
13710 msgstr ""
13711
13712 # type: textblock
13713 #: ../src/guestfs-actions.pod:5506 ../fish/guestfish-actions.pod:4273
13714 msgid ""
13715 "List all the volumes groups detected.  This is the equivalent of the "
13716 "L<vgs(8)> command."
13717 msgstr ""
13718
13719 # type: textblock
13720 #: ../src/guestfs-actions.pod:5509 ../fish/guestfish-actions.pod:4276
13721 msgid ""
13722 "This returns a list of just the volume group names that were detected "
13723 "(eg. C<VolGroup00>)."
13724 msgstr ""
13725
13726 # type: textblock
13727 #: ../src/guestfs-actions.pod:5512
13728 msgid "See also C<guestfs_vgs_full>."
13729 msgstr ""
13730
13731 # type: =head2
13732 #: ../src/guestfs-actions.pod:5518
13733 msgid "guestfs_vgs_full"
13734 msgstr ""
13735
13736 # type: verbatim
13737 #: ../src/guestfs-actions.pod:5520
13738 #, no-wrap
13739 msgid ""
13740 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
13741 "\n"
13742 msgstr ""
13743
13744 # type: textblock
13745 #: ../src/guestfs-actions.pod:5522 ../fish/guestfish-actions.pod:4285
13746 msgid ""
13747 "List all the volumes groups detected.  This is the equivalent of the "
13748 "L<vgs(8)> command.  The \"full\" version includes all fields."
13749 msgstr ""
13750
13751 # type: textblock
13752 #: ../src/guestfs-actions.pod:5525
13753 msgid ""
13754 "This function returns a C<struct guestfs_lvm_vg_list *> (see "
13755 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
13756 "must call C<guestfs_free_lvm_vg_list> after use>."
13757 msgstr ""
13758
13759 # type: =head2
13760 #: ../src/guestfs-actions.pod:5530
13761 msgid "guestfs_vgscan"
13762 msgstr ""
13763
13764 # type: verbatim
13765 #: ../src/guestfs-actions.pod:5532
13766 #, no-wrap
13767 msgid ""
13768 " int guestfs_vgscan (guestfs_h *g);\n"
13769 "\n"
13770 msgstr ""
13771
13772 # type: textblock
13773 #: ../src/guestfs-actions.pod:5534 ../fish/guestfish-actions.pod:4292
13774 msgid ""
13775 "This rescans all block devices and rebuilds the list of LVM physical "
13776 "volumes, volume groups and logical volumes."
13777 msgstr ""
13778
13779 # type: =head2
13780 #: ../src/guestfs-actions.pod:5539
13781 msgid "guestfs_vguuid"
13782 msgstr ""
13783
13784 # type: verbatim
13785 #: ../src/guestfs-actions.pod:5541
13786 #, no-wrap
13787 msgid ""
13788 " char *guestfs_vguuid (guestfs_h *g,\n"
13789 "\t\tconst char *vgname);\n"
13790 "\n"
13791 msgstr ""
13792
13793 # type: textblock
13794 #: ../src/guestfs-actions.pod:5544 ../fish/guestfish-actions.pod:4299
13795 msgid "This command returns the UUID of the LVM VG named C<vgname>."
13796 msgstr ""
13797
13798 # type: =head2
13799 #: ../src/guestfs-actions.pod:5549
13800 msgid "guestfs_wait_ready"
13801 msgstr ""
13802
13803 # type: verbatim
13804 #: ../src/guestfs-actions.pod:5551
13805 #, no-wrap
13806 msgid ""
13807 " int guestfs_wait_ready (guestfs_h *g);\n"
13808 "\n"
13809 msgstr ""
13810
13811 # type: textblock
13812 #: ../src/guestfs-actions.pod:5553
13813 msgid "This function is a no op."
13814 msgstr ""
13815
13816 # type: textblock
13817 #: ../src/guestfs-actions.pod:5555
13818 msgid ""
13819 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13820 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13821 "is no longer necessary because C<guestfs_launch> now does the waiting."
13822 msgstr ""
13823
13824 # type: textblock
13825 #: ../src/guestfs-actions.pod:5560
13826 msgid ""
13827 "If you see any calls to this function in code then you can just remove them, "
13828 "unless you want to retain compatibility with older versions of the API."
13829 msgstr ""
13830
13831 # type: =head2
13832 #: ../src/guestfs-actions.pod:5566
13833 msgid "guestfs_wc_c"
13834 msgstr ""
13835
13836 # type: verbatim
13837 #: ../src/guestfs-actions.pod:5568
13838 #, no-wrap
13839 msgid ""
13840 " int guestfs_wc_c (guestfs_h *g,\n"
13841 "\t\tconst char *path);\n"
13842 "\n"
13843 msgstr ""
13844
13845 # type: textblock
13846 #: ../src/guestfs-actions.pod:5571 ../fish/guestfish-actions.pod:4305
13847 msgid ""
13848 "This command counts the characters in a file, using the C<wc -c> external "
13849 "command."
13850 msgstr ""
13851
13852 # type: =head2
13853 #: ../src/guestfs-actions.pod:5576
13854 msgid "guestfs_wc_l"
13855 msgstr ""
13856
13857 # type: verbatim
13858 #: ../src/guestfs-actions.pod:5578
13859 #, no-wrap
13860 msgid ""
13861 " int guestfs_wc_l (guestfs_h *g,\n"
13862 "\t\tconst char *path);\n"
13863 "\n"
13864 msgstr ""
13865
13866 # type: textblock
13867 #: ../src/guestfs-actions.pod:5581 ../fish/guestfish-actions.pod:4312
13868 msgid ""
13869 "This command counts the lines in a file, using the C<wc -l> external "
13870 "command."
13871 msgstr ""
13872
13873 # type: =head2
13874 #: ../src/guestfs-actions.pod:5586
13875 msgid "guestfs_wc_w"
13876 msgstr ""
13877
13878 # type: verbatim
13879 #: ../src/guestfs-actions.pod:5588
13880 #, no-wrap
13881 msgid ""
13882 " int guestfs_wc_w (guestfs_h *g,\n"
13883 "\t\tconst char *path);\n"
13884 "\n"
13885 msgstr ""
13886
13887 # type: textblock
13888 #: ../src/guestfs-actions.pod:5591 ../fish/guestfish-actions.pod:4319
13889 msgid ""
13890 "This command counts the words in a file, using the C<wc -w> external "
13891 "command."
13892 msgstr ""
13893
13894 # type: =head2
13895 #: ../src/guestfs-actions.pod:5596
13896 msgid "guestfs_write"
13897 msgstr ""
13898
13899 # type: verbatim
13900 #: ../src/guestfs-actions.pod:5598
13901 #, no-wrap
13902 msgid ""
13903 " int guestfs_write (guestfs_h *g,\n"
13904 "\t\tconst char *path,\n"
13905 "\t\tconst char *content,\n"
13906 "\t\tsize_t content_size);\n"
13907 "\n"
13908 msgstr ""
13909
13910 # type: textblock
13911 #: ../src/guestfs-actions.pod:5603 ../fish/guestfish-actions.pod:4326
13912 msgid ""
13913 "This call creates a file called C<path>.  The content of the file is the "
13914 "string C<content> (which can contain any 8 bit data)."
13915 msgstr ""
13916
13917 # type: =head2
13918 #: ../src/guestfs-actions.pod:5611
13919 msgid "guestfs_write_file"
13920 msgstr ""
13921
13922 # type: verbatim
13923 #: ../src/guestfs-actions.pod:5613
13924 #, no-wrap
13925 msgid ""
13926 " int guestfs_write_file (guestfs_h *g,\n"
13927 "\t\tconst char *path,\n"
13928 "\t\tconst char *content,\n"
13929 "\t\tint size);\n"
13930 "\n"
13931 msgstr ""
13932
13933 # type: textblock
13934 #: ../src/guestfs-actions.pod:5618 ../fish/guestfish-actions.pod:4336
13935 msgid ""
13936 "This call creates a file called C<path>.  The contents of the file is the "
13937 "string C<content> (which can contain any 8 bit data), with length C<size>."
13938 msgstr ""
13939
13940 # type: textblock
13941 #: ../src/guestfs-actions.pod:5622 ../fish/guestfish-actions.pod:4340
13942 msgid ""
13943 "As a special case, if C<size> is C<0> then the length is calculated using "
13944 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13945 msgstr ""
13946
13947 # type: textblock
13948 #: ../src/guestfs-actions.pod:5626 ../fish/guestfish-actions.pod:4344
13949 msgid ""
13950 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13951 "I<not> work, even if the length is specified."
13952 msgstr ""
13953
13954 # type: textblock
13955 #: ../src/guestfs-actions.pod:5634 ../fish/guestfish-actions.pod:4350
13956 msgid "This function is deprecated.  In new code, use the C<write> call instead."
13957 msgstr ""
13958
13959 # type: =head2
13960 #: ../src/guestfs-actions.pod:5641
13961 msgid "guestfs_zegrep"
13962 msgstr ""
13963
13964 # type: verbatim
13965 #: ../src/guestfs-actions.pod:5643
13966 #, no-wrap
13967 msgid ""
13968 " char **guestfs_zegrep (guestfs_h *g,\n"
13969 "\t\tconst char *regex,\n"
13970 "\t\tconst char *path);\n"
13971 "\n"
13972 msgstr ""
13973
13974 # type: textblock
13975 #: ../src/guestfs-actions.pod:5647 ../fish/guestfish-actions.pod:4361
13976 msgid "This calls the external C<zegrep> program and returns the matching lines."
13977 msgstr ""
13978
13979 # type: =head2
13980 #: ../src/guestfs-actions.pod:5657
13981 msgid "guestfs_zegrepi"
13982 msgstr ""
13983
13984 # type: verbatim
13985 #: ../src/guestfs-actions.pod:5659
13986 #, no-wrap
13987 msgid ""
13988 " char **guestfs_zegrepi (guestfs_h *g,\n"
13989 "\t\tconst char *regex,\n"
13990 "\t\tconst char *path);\n"
13991 "\n"
13992 msgstr ""
13993
13994 # type: textblock
13995 #: ../src/guestfs-actions.pod:5663 ../fish/guestfish-actions.pod:4371
13996 msgid "This calls the external C<zegrep -i> program and returns the matching lines."
13997 msgstr ""
13998
13999 # type: =head2
14000 #: ../src/guestfs-actions.pod:5673
14001 msgid "guestfs_zero"
14002 msgstr ""
14003
14004 # type: verbatim
14005 #: ../src/guestfs-actions.pod:5675
14006 #, no-wrap
14007 msgid ""
14008 " int guestfs_zero (guestfs_h *g,\n"
14009 "\t\tconst char *device);\n"
14010 "\n"
14011 msgstr ""
14012
14013 # type: textblock
14014 #: ../src/guestfs-actions.pod:5678 ../fish/guestfish-actions.pod:4381
14015 msgid "This command writes zeroes over the first few blocks of C<device>."
14016 msgstr ""
14017
14018 # type: textblock
14019 #: ../src/guestfs-actions.pod:5680 ../fish/guestfish-actions.pod:4383
14020 msgid ""
14021 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
14022 "securely wipe the device).  It should be sufficient to remove any partition "
14023 "tables, filesystem superblocks and so on."
14024 msgstr ""
14025
14026 # type: textblock
14027 #: ../src/guestfs-actions.pod:5684
14028 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
14029 msgstr ""
14030
14031 # type: =head2
14032 #: ../src/guestfs-actions.pod:5693
14033 msgid "guestfs_zero_device"
14034 msgstr ""
14035
14036 # type: verbatim
14037 #: ../src/guestfs-actions.pod:5695
14038 #, no-wrap
14039 msgid ""
14040 " int guestfs_zero_device (guestfs_h *g,\n"
14041 "\t\tconst char *device);\n"
14042 "\n"
14043 msgstr ""
14044
14045 # type: textblock
14046 #: ../src/guestfs-actions.pod:5698
14047 msgid ""
14048 "This command writes zeroes over the entire C<device>.  Compare with "
14049 "C<guestfs_zero> which just zeroes the first few blocks of a device."
14050 msgstr ""
14051
14052 # type: =head2
14053 #: ../src/guestfs-actions.pod:5712
14054 msgid "guestfs_zerofree"
14055 msgstr ""
14056
14057 # type: verbatim
14058 #: ../src/guestfs-actions.pod:5714
14059 #, no-wrap
14060 msgid ""
14061 " int guestfs_zerofree (guestfs_h *g,\n"
14062 "\t\tconst char *device);\n"
14063 "\n"
14064 msgstr ""
14065
14066 # type: textblock
14067 #: ../src/guestfs-actions.pod:5717 ../fish/guestfish-actions.pod:4404
14068 msgid ""
14069 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
14070 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
14071 "possible to compress the filesystem more effectively."
14072 msgstr ""
14073
14074 # type: textblock
14075 #: ../src/guestfs-actions.pod:5722 ../fish/guestfish-actions.pod:4409
14076 msgid "You should B<not> run this program if the filesystem is mounted."
14077 msgstr ""
14078
14079 # type: textblock
14080 #: ../src/guestfs-actions.pod:5725 ../fish/guestfish-actions.pod:4412
14081 msgid ""
14082 "It is possible that using this program can damage the filesystem or data on "
14083 "the filesystem."
14084 msgstr ""
14085
14086 # type: =head2
14087 #: ../src/guestfs-actions.pod:5730
14088 msgid "guestfs_zfgrep"
14089 msgstr ""
14090
14091 # type: verbatim
14092 #: ../src/guestfs-actions.pod:5732
14093 #, no-wrap
14094 msgid ""
14095 " char **guestfs_zfgrep (guestfs_h *g,\n"
14096 "\t\tconst char *pattern,\n"
14097 "\t\tconst char *path);\n"
14098 "\n"
14099 msgstr ""
14100
14101 # type: textblock
14102 #: ../src/guestfs-actions.pod:5736 ../fish/guestfish-actions.pod:4419
14103 msgid "This calls the external C<zfgrep> program and returns the matching lines."
14104 msgstr ""
14105
14106 # type: =head2
14107 #: ../src/guestfs-actions.pod:5746
14108 msgid "guestfs_zfgrepi"
14109 msgstr ""
14110
14111 # type: verbatim
14112 #: ../src/guestfs-actions.pod:5748
14113 #, no-wrap
14114 msgid ""
14115 " char **guestfs_zfgrepi (guestfs_h *g,\n"
14116 "\t\tconst char *pattern,\n"
14117 "\t\tconst char *path);\n"
14118 "\n"
14119 msgstr ""
14120
14121 # type: textblock
14122 #: ../src/guestfs-actions.pod:5752 ../fish/guestfish-actions.pod:4429
14123 msgid "This calls the external C<zfgrep -i> program and returns the matching lines."
14124 msgstr ""
14125
14126 # type: =head2
14127 #: ../src/guestfs-actions.pod:5762
14128 msgid "guestfs_zfile"
14129 msgstr ""
14130
14131 # type: verbatim
14132 #: ../src/guestfs-actions.pod:5764
14133 #, no-wrap
14134 msgid ""
14135 " char *guestfs_zfile (guestfs_h *g,\n"
14136 "\t\tconst char *meth,\n"
14137 "\t\tconst char *path);\n"
14138 "\n"
14139 msgstr ""
14140
14141 # type: textblock
14142 #: ../src/guestfs-actions.pod:5768 ../fish/guestfish-actions.pod:4439
14143 msgid "This command runs C<file> after first decompressing C<path> using C<method>."
14144 msgstr ""
14145
14146 # type: textblock
14147 #: ../src/guestfs-actions.pod:5771 ../fish/guestfish-actions.pod:4442
14148 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
14149 msgstr ""
14150
14151 # type: textblock
14152 #: ../src/guestfs-actions.pod:5773
14153 msgid ""
14154 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
14155 "files."
14156 msgstr ""
14157
14158 # type: textblock
14159 #: ../src/guestfs-actions.pod:5779 ../fish/guestfish-actions.pod:4447
14160 msgid "This function is deprecated.  In new code, use the C<file> call instead."
14161 msgstr ""
14162
14163 # type: =head2
14164 #: ../src/guestfs-actions.pod:5786
14165 msgid "guestfs_zgrep"
14166 msgstr ""
14167
14168 # type: verbatim
14169 #: ../src/guestfs-actions.pod:5788
14170 #, no-wrap
14171 msgid ""
14172 " char **guestfs_zgrep (guestfs_h *g,\n"
14173 "\t\tconst char *regex,\n"
14174 "\t\tconst char *path);\n"
14175 "\n"
14176 msgstr ""
14177
14178 # type: textblock
14179 #: ../src/guestfs-actions.pod:5792 ../fish/guestfish-actions.pod:4458
14180 msgid "This calls the external C<zgrep> program and returns the matching lines."
14181 msgstr ""
14182
14183 # type: =head2
14184 #: ../src/guestfs-actions.pod:5802
14185 msgid "guestfs_zgrepi"
14186 msgstr ""
14187
14188 # type: verbatim
14189 #: ../src/guestfs-actions.pod:5804
14190 #, no-wrap
14191 msgid ""
14192 " char **guestfs_zgrepi (guestfs_h *g,\n"
14193 "\t\tconst char *regex,\n"
14194 "\t\tconst char *path);\n"
14195 "\n"
14196 msgstr ""
14197
14198 # type: textblock
14199 #: ../src/guestfs-actions.pod:5808 ../fish/guestfish-actions.pod:4468
14200 msgid "This calls the external C<zgrep -i> program and returns the matching lines."
14201 msgstr ""
14202
14203 # type: =item
14204 #: ../src/guestfs-availability.pod:3
14205 msgid "B<augeas>"
14206 msgstr ""
14207
14208 # type: textblock
14209 #: ../src/guestfs-availability.pod:5
14210 msgid ""
14211 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> "
14212 "L</guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> "
14213 "L</guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> "
14214 "L</guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> "
14215 "L</guestfs_aug_rm> L</guestfs_aug_save> L</guestfs_aug_set>"
14216 msgstr ""
14217
14218 # type: =item
14219 #: ../src/guestfs-availability.pod:21
14220 msgid "B<inotify>"
14221 msgstr ""
14222
14223 # type: textblock
14224 #: ../src/guestfs-availability.pod:23
14225 msgid ""
14226 "The following functions: L</guestfs_inotify_add_watch> "
14227 "L</guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> "
14228 "L</guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
14229 msgstr ""
14230
14231 # type: =item
14232 #: ../src/guestfs-availability.pod:31
14233 msgid "B<linuxfsuuid>"
14234 msgstr ""
14235
14236 # type: textblock
14237 #: ../src/guestfs-availability.pod:33
14238 msgid ""
14239 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> "
14240 "L</guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
14241 msgstr ""
14242
14243 # type: =item
14244 #: ../src/guestfs-availability.pod:40
14245 msgid "B<linuxmodules>"
14246 msgstr ""
14247
14248 # type: textblock
14249 #: ../src/guestfs-availability.pod:42
14250 msgid "The following functions: L</guestfs_modprobe>"
14251 msgstr ""
14252
14253 # type: =item
14254 #: ../src/guestfs-availability.pod:45
14255 msgid "B<linuxxattrs>"
14256 msgstr ""
14257
14258 # type: textblock
14259 #: ../src/guestfs-availability.pod:47
14260 msgid ""
14261 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> "
14262 "L</guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> "
14263 "L</guestfs_removexattr> L</guestfs_setxattr>"
14264 msgstr ""
14265
14266 # type: =item
14267 #: ../src/guestfs-availability.pod:56
14268 msgid "B<luks>"
14269 msgstr ""
14270
14271 # type: textblock
14272 #: ../src/guestfs-availability.pod:58
14273 msgid ""
14274 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> "
14275 "L</guestfs_luks_format> L</guestfs_luks_format_cipher> "
14276 "L</guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
14277 msgstr ""
14278
14279 # type: =item
14280 #: ../src/guestfs-availability.pod:67
14281 msgid "B<lvm2>"
14282 msgstr ""
14283
14284 # type: textblock
14285 #: ../src/guestfs-availability.pod:69
14286 msgid ""
14287 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> "
14288 "L</guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> "
14289 "L</guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> "
14290 "L</guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> "
14291 "L</guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> "
14292 "L</guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> "
14293 "L</guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> "
14294 "L</guestfs_vgs_full>"
14295 msgstr ""
14296
14297 # type: =item
14298 #: ../src/guestfs-availability.pod:92
14299 msgid "B<mknod>"
14300 msgstr ""
14301
14302 # type: textblock
14303 #: ../src/guestfs-availability.pod:94
14304 msgid ""
14305 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> "
14306 "L</guestfs_mknod_b> L</guestfs_mknod_c>"
14307 msgstr ""
14308
14309 # type: =item
14310 #: ../src/guestfs-availability.pod:100
14311 msgid "B<ntfs3g>"
14312 msgstr ""
14313
14314 # type: textblock
14315 #: ../src/guestfs-availability.pod:102
14316 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
14317 msgstr ""
14318
14319 # type: =item
14320 #: ../src/guestfs-availability.pod:105
14321 msgid "B<ntfsprogs>"
14322 msgstr ""
14323
14324 # type: textblock
14325 #: ../src/guestfs-availability.pod:107
14326 msgid "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
14327 msgstr ""
14328
14329 # type: =item
14330 #: ../src/guestfs-availability.pod:111
14331 msgid "B<realpath>"
14332 msgstr ""
14333
14334 # type: textblock
14335 #: ../src/guestfs-availability.pod:113
14336 msgid "The following functions: L</guestfs_realpath>"
14337 msgstr ""
14338
14339 # type: =item
14340 #: ../src/guestfs-availability.pod:116
14341 msgid "B<scrub>"
14342 msgstr ""
14343
14344 # type: textblock
14345 #: ../src/guestfs-availability.pod:118
14346 msgid ""
14347 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> "
14348 "L</guestfs_scrub_freespace>"
14349 msgstr ""
14350
14351 # type: =item
14352 #: ../src/guestfs-availability.pod:123
14353 msgid "B<selinux>"
14354 msgstr ""
14355
14356 # type: textblock
14357 #: ../src/guestfs-availability.pod:125
14358 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
14359 msgstr ""
14360
14361 # type: =item
14362 #: ../src/guestfs-availability.pod:129
14363 msgid "B<xz>"
14364 msgstr ""
14365
14366 # type: textblock
14367 #: ../src/guestfs-availability.pod:131
14368 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
14369 msgstr ""
14370
14371 # type: =item
14372 #: ../src/guestfs-availability.pod:135
14373 msgid "B<zerofree>"
14374 msgstr ""
14375
14376 # type: textblock
14377 #: ../src/guestfs-availability.pod:137
14378 msgid "The following functions: L</guestfs_zerofree>"
14379 msgstr ""
14380
14381 # type: =head2
14382 #: ../src/guestfs-structs.pod:1
14383 msgid "guestfs_int_bool"
14384 msgstr ""
14385
14386 # type: verbatim
14387 #: ../src/guestfs-structs.pod:3
14388 #, no-wrap
14389 msgid ""
14390 " struct guestfs_int_bool {\n"
14391 "   int32_t i;\n"
14392 "   int32_t b;\n"
14393 " };\n"
14394 " \n"
14395 msgstr ""
14396
14397 # type: verbatim
14398 #: ../src/guestfs-structs.pod:8
14399 #, no-wrap
14400 msgid ""
14401 " struct guestfs_int_bool_list {\n"
14402 "   uint32_t len; /* Number of elements in list. */\n"
14403 "   struct guestfs_int_bool *val; /* Elements. */\n"
14404 " };\n"
14405 " \n"
14406 msgstr ""
14407
14408 # type: verbatim
14409 #: ../src/guestfs-structs.pod:13
14410 #, no-wrap
14411 msgid ""
14412 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
14413 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
14414 "\n"
14415 msgstr ""
14416
14417 # type: =head2
14418 #: ../src/guestfs-structs.pod:16
14419 msgid "guestfs_lvm_pv"
14420 msgstr ""
14421
14422 # type: verbatim
14423 #: ../src/guestfs-structs.pod:18
14424 #, no-wrap
14425 msgid ""
14426 " struct guestfs_lvm_pv {\n"
14427 "   char *pv_name;\n"
14428 "   /* The next field is NOT nul-terminated, be careful when printing it: "
14429 "*/\n"
14430 "   char pv_uuid[32];\n"
14431 "   char *pv_fmt;\n"
14432 "   uint64_t pv_size;\n"
14433 "   uint64_t dev_size;\n"
14434 "   uint64_t pv_free;\n"
14435 "   uint64_t pv_used;\n"
14436 "   char *pv_attr;\n"
14437 "   int64_t pv_pe_count;\n"
14438 "   int64_t pv_pe_alloc_count;\n"
14439 "   char *pv_tags;\n"
14440 "   uint64_t pe_start;\n"
14441 "   int64_t pv_mda_count;\n"
14442 "   uint64_t pv_mda_free;\n"
14443 " };\n"
14444 " \n"
14445 msgstr ""
14446
14447 # type: verbatim
14448 #: ../src/guestfs-structs.pod:36
14449 #, no-wrap
14450 msgid ""
14451 " struct guestfs_lvm_pv_list {\n"
14452 "   uint32_t len; /* Number of elements in list. */\n"
14453 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
14454 " };\n"
14455 " \n"
14456 msgstr ""
14457
14458 # type: verbatim
14459 #: ../src/guestfs-structs.pod:41
14460 #, no-wrap
14461 msgid ""
14462 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
14463 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
14464 "\n"
14465 msgstr ""
14466
14467 # type: =head2
14468 #: ../src/guestfs-structs.pod:44
14469 msgid "guestfs_lvm_vg"
14470 msgstr ""
14471
14472 # type: verbatim
14473 #: ../src/guestfs-structs.pod:46
14474 #, no-wrap
14475 msgid ""
14476 " struct guestfs_lvm_vg {\n"
14477 "   char *vg_name;\n"
14478 "   /* The next field is NOT nul-terminated, be careful when printing it: "
14479 "*/\n"
14480 "   char vg_uuid[32];\n"
14481 "   char *vg_fmt;\n"
14482 "   char *vg_attr;\n"
14483 "   uint64_t vg_size;\n"
14484 "   uint64_t vg_free;\n"
14485 "   char *vg_sysid;\n"
14486 "   uint64_t vg_extent_size;\n"
14487 "   int64_t vg_extent_count;\n"
14488 "   int64_t vg_free_count;\n"
14489 "   int64_t max_lv;\n"
14490 "   int64_t max_pv;\n"
14491 "   int64_t pv_count;\n"
14492 "   int64_t lv_count;\n"
14493 "   int64_t snap_count;\n"
14494 "   int64_t vg_seqno;\n"
14495 "   char *vg_tags;\n"
14496 "   int64_t vg_mda_count;\n"
14497 "   uint64_t vg_mda_free;\n"
14498 " };\n"
14499 " \n"
14500 msgstr ""
14501
14502 # type: verbatim
14503 #: ../src/guestfs-structs.pod:69
14504 #, no-wrap
14505 msgid ""
14506 " struct guestfs_lvm_vg_list {\n"
14507 "   uint32_t len; /* Number of elements in list. */\n"
14508 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
14509 " };\n"
14510 " \n"
14511 msgstr ""
14512
14513 # type: verbatim
14514 #: ../src/guestfs-structs.pod:74
14515 #, no-wrap
14516 msgid ""
14517 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
14518 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
14519 "\n"
14520 msgstr ""
14521
14522 # type: =head2
14523 #: ../src/guestfs-structs.pod:77
14524 msgid "guestfs_lvm_lv"
14525 msgstr ""
14526
14527 # type: verbatim
14528 #: ../src/guestfs-structs.pod:79
14529 #, no-wrap
14530 msgid ""
14531 " struct guestfs_lvm_lv {\n"
14532 "   char *lv_name;\n"
14533 "   /* The next field is NOT nul-terminated, be careful when printing it: "
14534 "*/\n"
14535 "   char lv_uuid[32];\n"
14536 "   char *lv_attr;\n"
14537 "   int64_t lv_major;\n"
14538 "   int64_t lv_minor;\n"
14539 "   int64_t lv_kernel_major;\n"
14540 "   int64_t lv_kernel_minor;\n"
14541 "   uint64_t lv_size;\n"
14542 "   int64_t seg_count;\n"
14543 "   char *origin;\n"
14544 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14545 "   float snap_percent;\n"
14546 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14547 "   float copy_percent;\n"
14548 "   char *move_pv;\n"
14549 "   char *lv_tags;\n"
14550 "   char *mirror_log;\n"
14551 "   char *modules;\n"
14552 " };\n"
14553 " \n"
14554 msgstr ""
14555
14556 # type: verbatim
14557 #: ../src/guestfs-structs.pod:101
14558 #, no-wrap
14559 msgid ""
14560 " struct guestfs_lvm_lv_list {\n"
14561 "   uint32_t len; /* Number of elements in list. */\n"
14562 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
14563 " };\n"
14564 " \n"
14565 msgstr ""
14566
14567 # type: verbatim
14568 #: ../src/guestfs-structs.pod:106
14569 #, no-wrap
14570 msgid ""
14571 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
14572 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
14573 "\n"
14574 msgstr ""
14575
14576 # type: verbatim
14577 #: ../src/guestfs-structs.pod:111
14578 #, no-wrap
14579 msgid ""
14580 " struct guestfs_stat {\n"
14581 "   int64_t dev;\n"
14582 "   int64_t ino;\n"
14583 "   int64_t mode;\n"
14584 "   int64_t nlink;\n"
14585 "   int64_t uid;\n"
14586 "   int64_t gid;\n"
14587 "   int64_t rdev;\n"
14588 "   int64_t size;\n"
14589 "   int64_t blksize;\n"
14590 "   int64_t blocks;\n"
14591 "   int64_t atime;\n"
14592 "   int64_t mtime;\n"
14593 "   int64_t ctime;\n"
14594 " };\n"
14595 " \n"
14596 msgstr ""
14597
14598 # type: verbatim
14599 #: ../src/guestfs-structs.pod:127
14600 #, no-wrap
14601 msgid ""
14602 " struct guestfs_stat_list {\n"
14603 "   uint32_t len; /* Number of elements in list. */\n"
14604 "   struct guestfs_stat *val; /* Elements. */\n"
14605 " };\n"
14606 " \n"
14607 msgstr ""
14608
14609 # type: verbatim
14610 #: ../src/guestfs-structs.pod:132
14611 #, no-wrap
14612 msgid ""
14613 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
14614 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
14615 "\n"
14616 msgstr ""
14617
14618 # type: verbatim
14619 #: ../src/guestfs-structs.pod:137
14620 #, no-wrap
14621 msgid ""
14622 " struct guestfs_statvfs {\n"
14623 "   int64_t bsize;\n"
14624 "   int64_t frsize;\n"
14625 "   int64_t blocks;\n"
14626 "   int64_t bfree;\n"
14627 "   int64_t bavail;\n"
14628 "   int64_t files;\n"
14629 "   int64_t ffree;\n"
14630 "   int64_t favail;\n"
14631 "   int64_t fsid;\n"
14632 "   int64_t flag;\n"
14633 "   int64_t namemax;\n"
14634 " };\n"
14635 " \n"
14636 msgstr ""
14637
14638 # type: verbatim
14639 #: ../src/guestfs-structs.pod:151
14640 #, no-wrap
14641 msgid ""
14642 " struct guestfs_statvfs_list {\n"
14643 "   uint32_t len; /* Number of elements in list. */\n"
14644 "   struct guestfs_statvfs *val; /* Elements. */\n"
14645 " };\n"
14646 " \n"
14647 msgstr ""
14648
14649 # type: verbatim
14650 #: ../src/guestfs-structs.pod:156
14651 #, no-wrap
14652 msgid ""
14653 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
14654 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
14655 "\n"
14656 msgstr ""
14657
14658 # type: =head2
14659 #: ../src/guestfs-structs.pod:159
14660 msgid "guestfs_dirent"
14661 msgstr ""
14662
14663 # type: verbatim
14664 #: ../src/guestfs-structs.pod:161
14665 #, no-wrap
14666 msgid ""
14667 " struct guestfs_dirent {\n"
14668 "   int64_t ino;\n"
14669 "   char ftyp;\n"
14670 "   char *name;\n"
14671 " };\n"
14672 " \n"
14673 msgstr ""
14674
14675 # type: verbatim
14676 #: ../src/guestfs-structs.pod:167
14677 #, no-wrap
14678 msgid ""
14679 " struct guestfs_dirent_list {\n"
14680 "   uint32_t len; /* Number of elements in list. */\n"
14681 "   struct guestfs_dirent *val; /* Elements. */\n"
14682 " };\n"
14683 " \n"
14684 msgstr ""
14685
14686 # type: verbatim
14687 #: ../src/guestfs-structs.pod:172
14688 #, no-wrap
14689 msgid ""
14690 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
14691 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
14692 "\n"
14693 msgstr ""
14694
14695 # type: verbatim
14696 #: ../src/guestfs-structs.pod:177
14697 #, no-wrap
14698 msgid ""
14699 " struct guestfs_version {\n"
14700 "   int64_t major;\n"
14701 "   int64_t minor;\n"
14702 "   int64_t release;\n"
14703 "   char *extra;\n"
14704 " };\n"
14705 " \n"
14706 msgstr ""
14707
14708 # type: verbatim
14709 #: ../src/guestfs-structs.pod:184
14710 #, no-wrap
14711 msgid ""
14712 " struct guestfs_version_list {\n"
14713 "   uint32_t len; /* Number of elements in list. */\n"
14714 "   struct guestfs_version *val; /* Elements. */\n"
14715 " };\n"
14716 " \n"
14717 msgstr ""
14718
14719 # type: verbatim
14720 #: ../src/guestfs-structs.pod:189
14721 #, no-wrap
14722 msgid ""
14723 " void guestfs_free_version (struct guestfs_free_version *);\n"
14724 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
14725 "\n"
14726 msgstr ""
14727
14728 # type: =head2
14729 #: ../src/guestfs-structs.pod:192
14730 msgid "guestfs_xattr"
14731 msgstr ""
14732
14733 # type: verbatim
14734 #: ../src/guestfs-structs.pod:194
14735 #, no-wrap
14736 msgid ""
14737 " struct guestfs_xattr {\n"
14738 "   char *attrname;\n"
14739 "   /* The next two fields describe a byte array. */\n"
14740 "   uint32_t attrval_len;\n"
14741 "   char *attrval;\n"
14742 " };\n"
14743 " \n"
14744 msgstr ""
14745
14746 # type: verbatim
14747 #: ../src/guestfs-structs.pod:201
14748 #, no-wrap
14749 msgid ""
14750 " struct guestfs_xattr_list {\n"
14751 "   uint32_t len; /* Number of elements in list. */\n"
14752 "   struct guestfs_xattr *val; /* Elements. */\n"
14753 " };\n"
14754 " \n"
14755 msgstr ""
14756
14757 # type: verbatim
14758 #: ../src/guestfs-structs.pod:206
14759 #, no-wrap
14760 msgid ""
14761 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
14762 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
14763 "\n"
14764 msgstr ""
14765
14766 # type: =head2
14767 #: ../src/guestfs-structs.pod:209
14768 msgid "guestfs_inotify_event"
14769 msgstr ""
14770
14771 # type: verbatim
14772 #: ../src/guestfs-structs.pod:211
14773 #, no-wrap
14774 msgid ""
14775 " struct guestfs_inotify_event {\n"
14776 "   int64_t in_wd;\n"
14777 "   uint32_t in_mask;\n"
14778 "   uint32_t in_cookie;\n"
14779 "   char *in_name;\n"
14780 " };\n"
14781 " \n"
14782 msgstr ""
14783
14784 # type: verbatim
14785 #: ../src/guestfs-structs.pod:218
14786 #, no-wrap
14787 msgid ""
14788 " struct guestfs_inotify_event_list {\n"
14789 "   uint32_t len; /* Number of elements in list. */\n"
14790 "   struct guestfs_inotify_event *val; /* Elements. */\n"
14791 " };\n"
14792 " \n"
14793 msgstr ""
14794
14795 # type: verbatim
14796 #: ../src/guestfs-structs.pod:223
14797 #, no-wrap
14798 msgid ""
14799 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
14800 " void guestfs_free_inotify_event_list (struct "
14801 "guestfs_free_inotify_event_list *);\n"
14802 "\n"
14803 msgstr ""
14804
14805 # type: =head2
14806 #: ../src/guestfs-structs.pod:226
14807 msgid "guestfs_partition"
14808 msgstr ""
14809
14810 # type: verbatim
14811 #: ../src/guestfs-structs.pod:228
14812 #, no-wrap
14813 msgid ""
14814 " struct guestfs_partition {\n"
14815 "   int32_t part_num;\n"
14816 "   uint64_t part_start;\n"
14817 "   uint64_t part_end;\n"
14818 "   uint64_t part_size;\n"
14819 " };\n"
14820 " \n"
14821 msgstr ""
14822
14823 # type: verbatim
14824 #: ../src/guestfs-structs.pod:235
14825 #, no-wrap
14826 msgid ""
14827 " struct guestfs_partition_list {\n"
14828 "   uint32_t len; /* Number of elements in list. */\n"
14829 "   struct guestfs_partition *val; /* Elements. */\n"
14830 " };\n"
14831 " \n"
14832 msgstr ""
14833
14834 # type: verbatim
14835 #: ../src/guestfs-structs.pod:240
14836 #, no-wrap
14837 msgid ""
14838 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14839 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14840 "\n"
14841 msgstr ""
14842
14843 # type: textblock
14844 #: ../fish/guestfish.pod:5
14845 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14846 msgstr ""
14847
14848 # type: verbatim
14849 #: ../fish/guestfish.pod:9
14850 #, no-wrap
14851 msgid ""
14852 " guestfish [--options] [commands]\n"
14853 "\n"
14854 msgstr ""
14855
14856 # type: verbatim
14857 #: ../fish/guestfish.pod:11
14858 #, no-wrap
14859 msgid ""
14860 " guestfish\n"
14861 "\n"
14862 msgstr ""
14863
14864 # type: verbatim
14865 #: ../fish/guestfish.pod:13
14866 #, no-wrap
14867 msgid ""
14868 " guestfish -a disk.img\n"
14869 "\n"
14870 msgstr ""
14871
14872 # type: verbatim
14873 #: ../fish/guestfish.pod:15
14874 #, no-wrap
14875 msgid ""
14876 " guestfish -a disk.img -m dev[:mountpoint]\n"
14877 "\n"
14878 msgstr ""
14879
14880 # type: verbatim
14881 #: ../fish/guestfish.pod:17
14882 #, no-wrap
14883 msgid ""
14884 " guestfish -d libvirt-domain\n"
14885 "\n"
14886 msgstr ""
14887
14888 # type: verbatim
14889 #: ../fish/guestfish.pod:19
14890 #, no-wrap
14891 msgid ""
14892 " guestfish -a disk.img -i\n"
14893 "\n"
14894 msgstr ""
14895
14896 # type: verbatim
14897 #: ../fish/guestfish.pod:21
14898 #, no-wrap
14899 msgid ""
14900 " guestfish -d libvirt-domain -i\n"
14901 "\n"
14902 msgstr ""
14903
14904 # type: =head1
14905 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:15 ../tools/virt-edit.pl:44 ../tools/virt-win-reg.pl:51 ../tools/virt-tar.pl:59 ../tools/virt-rescue.pl:41
14906 msgid "WARNING"
14907 msgstr ""
14908
14909 # type: textblock
14910 #: ../fish/guestfish.pod:25
14911 msgid ""
14912 "Using guestfish in read/write mode on live virtual machines can be "
14913 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14914 "option to use guestfish safely if the disk image or virtual machine might be "
14915 "live."
14916 msgstr ""
14917
14918 # type: textblock
14919 #: ../fish/guestfish.pod:32
14920 msgid ""
14921 "Guestfish is a shell and command-line tool for examining and modifying "
14922 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14923 "functionality of the guestfs API, see L<guestfs(3)>."
14924 msgstr ""
14925
14926 # type: textblock
14927 #: ../fish/guestfish.pod:36
14928 msgid ""
14929 "Guestfish gives you structured access to the libguestfs API, from shell "
14930 "scripts or the command line or interactively.  If you want to rescue a "
14931 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14932 "command."
14933 msgstr ""
14934
14935 # type: =head1
14936 #: ../fish/guestfish.pod:41 ../fish/guestfish.pod:800 ../fuse/guestmount.pod:39 ../tools/virt-edit.pl:58 ../tools/virt-resize.pl:66 ../tools/virt-cat.pl:50 ../tools/virt-tar.pl:45
14937 msgid "EXAMPLES"
14938 msgstr ""
14939
14940 # type: =head2
14941 #: ../fish/guestfish.pod:43
14942 msgid "As an interactive shell"
14943 msgstr ""
14944
14945 # type: verbatim
14946 #: ../fish/guestfish.pod:45
14947 #, no-wrap
14948 msgid ""
14949 " $ guestfish\n"
14950 " \n"
14951 msgstr ""
14952
14953 # type: verbatim
14954 #: ../fish/guestfish.pod:47
14955 #, no-wrap
14956 msgid ""
14957 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14958 " editing virtual machine filesystems.\n"
14959 " \n"
14960 msgstr ""
14961
14962 # type: verbatim
14963 #: ../fish/guestfish.pod:50
14964 #, no-wrap
14965 msgid ""
14966 " Type: 'help' for a list of commands\n"
14967 "       'man' to read the manual\n"
14968 "       'quit' to quit the shell\n"
14969 " \n"
14970 msgstr ""
14971
14972 # type: verbatim
14973 #: ../fish/guestfish.pod:54
14974 #, no-wrap
14975 msgid ""
14976 " ><fs> add-ro disk.img\n"
14977 " ><fs> run\n"
14978 " ><fs> list-filesystems\n"
14979 " /dev/sda1: ext4\n"
14980 " /dev/vg_guest/lv_root: ext4\n"
14981 " /dev/vg_guest/lv_swap: swap\n"
14982 " ><fs> mount /dev/vg_guest/lv_root /\n"
14983 " ><fs> cat /etc/fstab\n"
14984 " # /etc/fstab\n"
14985 " # Created by anaconda\n"
14986 " [...]\n"
14987 " ><fs> exit\n"
14988 "\n"
14989 msgstr ""
14990
14991 # type: =head2
14992 #: ../fish/guestfish.pod:67
14993 msgid "From shell scripts"
14994 msgstr ""
14995
14996 # type: textblock
14997 #: ../fish/guestfish.pod:69
14998 msgid "Create a new C</etc/motd> file in a guest or disk image:"
14999 msgstr ""
15000
15001 # type: verbatim
15002 #: ../fish/guestfish.pod:71
15003 #, no-wrap
15004 msgid ""
15005 " guestfish <<_EOF_\n"
15006 " add disk.img\n"
15007 " run\n"
15008 " mount /dev/vg_guest/lv_root /\n"
15009 " write /etc/motd \"Welcome, new users\"\n"
15010 " _EOF_\n"
15011 "\n"
15012 msgstr ""
15013
15014 # type: textblock
15015 #: ../fish/guestfish.pod:78
15016 msgid "List the LVM logical volumes in a disk image:"
15017 msgstr ""
15018
15019 # type: verbatim
15020 #: ../fish/guestfish.pod:80
15021 #, no-wrap
15022 msgid ""
15023 " guestfish -a disk.img --ro <<_EOF_\n"
15024 " run\n"
15025 " lvs\n"
15026 " _EOF_\n"
15027 "\n"
15028 msgstr ""
15029
15030 # type: textblock
15031 #: ../fish/guestfish.pod:85
15032 msgid "List all the filesystems in a disk image:"
15033 msgstr ""
15034
15035 # type: verbatim
15036 #: ../fish/guestfish.pod:87
15037 #, no-wrap
15038 msgid ""
15039 " guestfish -a disk.img --ro <<_EOF_\n"
15040 " run\n"
15041 " list-filesystems\n"
15042 " _EOF_\n"
15043 "\n"
15044 msgstr ""
15045
15046 # type: =head2
15047 #: ../fish/guestfish.pod:92
15048 msgid "On one command line"
15049 msgstr ""
15050
15051 # type: textblock
15052 #: ../fish/guestfish.pod:94
15053 msgid "Update C</etc/resolv.conf> in a guest:"
15054 msgstr ""
15055
15056 # type: verbatim
15057 #: ../fish/guestfish.pod:96
15058 #, no-wrap
15059 msgid ""
15060 " guestfish \\\n"
15061 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
15062 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
15063 "\n"
15064 msgstr ""
15065
15066 # type: textblock
15067 #: ../fish/guestfish.pod:100
15068 msgid "Edit C</boot/grub/grub.conf> interactively:"
15069 msgstr ""
15070
15071 # type: verbatim
15072 #: ../fish/guestfish.pod:102
15073 #, no-wrap
15074 msgid ""
15075 " guestfish --add disk.img \\\n"
15076 "   --mount /dev/vg_guest/lv_root \\\n"
15077 "   --mount /dev/sda1:/boot \\\n"
15078 "   edit /boot/grub/grub.conf\n"
15079 "\n"
15080 msgstr ""
15081
15082 # type: =head2
15083 #: ../fish/guestfish.pod:107
15084 msgid "Mount disks automatically"
15085 msgstr ""
15086
15087 # type: textblock
15088 #: ../fish/guestfish.pod:109
15089 msgid ""
15090 "Use the I<-i> option to automatically mount the disks from a virtual "
15091 "machine:"
15092 msgstr ""
15093
15094 # type: verbatim
15095 #: ../fish/guestfish.pod:112
15096 #, no-wrap
15097 msgid ""
15098 " guestfish --ro -a disk.img -i cat /etc/group\n"
15099 "\n"
15100 msgstr ""
15101
15102 # type: verbatim
15103 #: ../fish/guestfish.pod:114
15104 #, no-wrap
15105 msgid ""
15106 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
15107 "\n"
15108 msgstr ""
15109
15110 # type: textblock
15111 #: ../fish/guestfish.pod:116
15112 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
15113 msgstr ""
15114
15115 # type: verbatim
15116 #: ../fish/guestfish.pod:118
15117 #, no-wrap
15118 msgid ""
15119 " guestfish -a disk.img -i edit /boot/grub/grub.conf\n"
15120 "\n"
15121 msgstr ""
15122
15123 # type: =head2
15124 #: ../fish/guestfish.pod:120
15125 msgid "As a script interpreter"
15126 msgstr ""
15127
15128 # type: textblock
15129 #: ../fish/guestfish.pod:122
15130 msgid "Create a 100MB disk containing an ext2-formatted partition:"
15131 msgstr ""
15132
15133 # type: verbatim
15134 #: ../fish/guestfish.pod:124
15135 #, no-wrap
15136 msgid ""
15137 " #!/usr/bin/guestfish -f\n"
15138 " sparse test1.img 100M\n"
15139 " run\n"
15140 " part-disk /dev/sda mbr\n"
15141 " mkfs ext2 /dev/sda1\n"
15142 "\n"
15143 msgstr ""
15144
15145 # type: =head2
15146 #: ../fish/guestfish.pod:130
15147 msgid "Start with a prepared disk"
15148 msgstr ""
15149
15150 # type: textblock
15151 #: ../fish/guestfish.pod:132
15152 msgid ""
15153 "An alternate way to create a 100MB disk called C<test1.img> containing a "
15154 "single ext2-formatted partition:"
15155 msgstr ""
15156
15157 # type: verbatim
15158 #: ../fish/guestfish.pod:135
15159 #, no-wrap
15160 msgid ""
15161 " guestfish -N fs\n"
15162 "\n"
15163 msgstr ""
15164
15165 # type: textblock
15166 #: ../fish/guestfish.pod:137
15167 msgid "To list what is available do:"
15168 msgstr ""
15169
15170 # type: verbatim
15171 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:791
15172 #, no-wrap
15173 msgid ""
15174 " guestfish -N help | less\n"
15175 "\n"
15176 msgstr ""
15177
15178 # type: =head2
15179 #: ../fish/guestfish.pod:141
15180 msgid "Remote control"
15181 msgstr ""
15182
15183 # type: verbatim
15184 #: ../fish/guestfish.pod:143
15185 #, no-wrap
15186 msgid ""
15187 " eval `guestfish --listen`\n"
15188 " guestfish --remote add-ro disk.img\n"
15189 " guestfish --remote run\n"
15190 " guestfish --remote lvs\n"
15191 "\n"
15192 msgstr ""
15193
15194 # type: =head1
15195 #: ../fish/guestfish.pod:148 ../test-tool/libguestfs-test-tool.pod:37 ../fuse/guestmount.pod:73 ../inspector/virt-inspector.pl:68 ../tools/virt-edit.pl:72 ../tools/virt-win-reg.pl:171 ../tools/virt-df.pl:71 ../tools/virt-ls.pl:78 ../tools/virt-resize.pl:257 ../tools/virt-list-filesystems.pl:50 ../tools/virt-cat.pl:79 ../tools/virt-tar.pl:98 ../tools/virt-rescue.pl:103 ../tools/virt-make-fs.pl:153 ../tools/virt-list-partitions.pl:51
15196 msgid "OPTIONS"
15197 msgstr ""
15198
15199 # type: =item
15200 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:124 ../inspector/virt-inspector.pl:76 ../tools/virt-edit.pl:80 ../tools/virt-win-reg.pl:179 ../tools/virt-df.pl:79 ../tools/virt-ls.pl:86 ../tools/virt-resize.pl:265 ../tools/virt-list-filesystems.pl:58 ../tools/virt-cat.pl:87 ../tools/virt-tar.pl:106 ../tools/virt-rescue.pl:111 ../tools/virt-make-fs.pl:161 ../tools/virt-list-partitions.pl:59
15201 msgid "B<--help>"
15202 msgstr ""
15203
15204 # type: textblock
15205 #: ../fish/guestfish.pod:154
15206 msgid "Displays general help on options."
15207 msgstr ""
15208
15209 # type: =item
15210 #: ../fish/guestfish.pod:156
15211 msgid "B<-h> | B<--cmd-help>"
15212 msgstr ""
15213
15214 # type: textblock
15215 #: ../fish/guestfish.pod:158
15216 msgid "Lists all available guestfish commands."
15217 msgstr ""
15218
15219 # type: =item
15220 #: ../fish/guestfish.pod:160
15221 msgid "B<-h cmd> | B<--cmd-help cmd>"
15222 msgstr ""
15223
15224 # type: textblock
15225 #: ../fish/guestfish.pod:162
15226 msgid "Displays detailed help on a single command C<cmd>."
15227 msgstr ""
15228
15229 # type: =item
15230 #: ../fish/guestfish.pod:164 ../fuse/guestmount.pod:77
15231 msgid "B<-a image> | B<--add image>"
15232 msgstr ""
15233
15234 # type: textblock
15235 #: ../fish/guestfish.pod:166
15236 msgid "Add a block device or virtual machine image to the shell."
15237 msgstr ""
15238
15239 # type: textblock
15240 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:81
15241 msgid ""
15242 "The format of the disk image is auto-detected.  To override this and force a "
15243 "particular format use the I<--format=..> option."
15244 msgstr ""
15245
15246 # type: =item
15247 #: ../fish/guestfish.pod:171 ../fuse/guestmount.pod:84
15248 msgid "B<-c URI> | B<--connect URI>"
15249 msgstr ""
15250
15251 # type: textblock
15252 #: ../fish/guestfish.pod:173 ../fuse/guestmount.pod:86
15253 msgid ""
15254 "When used in conjunction with the I<-d> option, this specifies the libvirt "
15255 "URI to use.  The default is to use the default libvirt connection."
15256 msgstr ""
15257
15258 # type: =item
15259 #: ../fish/guestfish.pod:177 ../fuse/guestmount.pod:90
15260 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
15261 msgstr ""
15262
15263 # type: textblock
15264 #: ../fish/guestfish.pod:179 ../fuse/guestmount.pod:92
15265 msgid ""
15266 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
15267 "used, then any libvirt domain can be used.  However in write mode, only "
15268 "libvirt domains which are shut down can be named here."
15269 msgstr ""
15270
15271 # type: =item
15272 #: ../fish/guestfish.pod:183
15273 msgid "B<-D> | B<--no-dest-paths>"
15274 msgstr ""
15275
15276 # type: textblock
15277 #: ../fish/guestfish.pod:185
15278 msgid ""
15279 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
15280 "to hit the tab key to complete paths on the guest filesystem, but this "
15281 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
15282 "allow this feature to be disabled."
15283 msgstr ""
15284
15285 # type: =item
15286 #: ../fish/guestfish.pod:190
15287 msgid "B<--echo-keys>"
15288 msgstr ""
15289
15290 # type: textblock
15291 #: ../fish/guestfish.pod:192
15292 msgid ""
15293 "When prompting for keys and passphrases, guestfish normally turns echoing "
15294 "off so you cannot see what you are typing.  If you are not worried about "
15295 "Tempest attacks and there is no one else in the room you can specify this "
15296 "flag to see what you are typing."
15297 msgstr ""
15298
15299 # type: =item
15300 #: ../fish/guestfish.pod:197
15301 msgid "B<-f file> | B<--file file>"
15302 msgstr ""
15303
15304 # type: textblock
15305 #: ../fish/guestfish.pod:199
15306 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
15307 msgstr ""
15308
15309 # type: verbatim
15310 #: ../fish/guestfish.pod:202
15311 #, no-wrap
15312 msgid ""
15313 " #!/usr/bin/guestfish -f\n"
15314 "\n"
15315 msgstr ""
15316
15317 # type: =item
15318 #: ../fish/guestfish.pod:204 ../fuse/guestmount.pod:108
15319 msgid "B<--format=raw|qcow2|..> | B<--format>"
15320 msgstr ""
15321
15322 # type: textblock
15323 #: ../fish/guestfish.pod:206 ../fuse/guestmount.pod:110
15324 msgid ""
15325 "The default for the I<-a> option is to auto-detect the format of the disk "
15326 "image.  Using this forces the disk format for I<-a> options which follow on "
15327 "the command line.  Using I<--format> with no argument switches back to "
15328 "auto-detection for subsequent I<-a> options."
15329 msgstr ""
15330
15331 # type: textblock
15332 #: ../fish/guestfish.pod:211 ../fish/guestfish.pod:504 ../inspector/virt-inspector.pl:549
15333 msgid "For example:"
15334 msgstr ""
15335
15336 # type: verbatim
15337 #: ../fish/guestfish.pod:213
15338 #, no-wrap
15339 msgid ""
15340 " guestfish --format=raw -a disk.img\n"
15341 "\n"
15342 msgstr ""
15343
15344 # type: textblock
15345 #: ../fish/guestfish.pod:215
15346 msgid "forces raw format (no auto-detection) for C<disk.img>."
15347 msgstr ""
15348
15349 # type: verbatim
15350 #: ../fish/guestfish.pod:217
15351 #, no-wrap
15352 msgid ""
15353 " guestfish --format=raw -a disk.img --format -a another.img\n"
15354 "\n"
15355 msgstr ""
15356
15357 # type: textblock
15358 #: ../fish/guestfish.pod:219
15359 msgid ""
15360 "forces raw format (no auto-detection) for C<disk.img> and reverts to "
15361 "auto-detection for C<another.img>."
15362 msgstr ""
15363
15364 # type: textblock
15365 #: ../fish/guestfish.pod:222
15366 msgid ""
15367 "If you have untrusted raw-format guest disk images, you should use this "
15368 "option to specify the disk format.  This avoids a possible security problem "
15369 "with malicious guests (CVE-2010-3851).  See also L</add-drive-opts>."
15370 msgstr ""
15371
15372 # type: =item
15373 #: ../fish/guestfish.pod:227 ../fuse/guestmount.pod:128
15374 msgid "B<-i> | B<--inspector>"
15375 msgstr ""
15376
15377 # type: textblock
15378 #: ../fish/guestfish.pod:229 ../fuse/guestmount.pod:130
15379 msgid ""
15380 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
15381 "system and mount filesystems as they would be mounted on the real virtual "
15382 "machine."
15383 msgstr ""
15384
15385 # type: textblock
15386 #: ../fish/guestfish.pod:233
15387 msgid "Typical usage is either:"
15388 msgstr ""
15389
15390 # type: verbatim
15391 #: ../fish/guestfish.pod:235
15392 #, no-wrap
15393 msgid ""
15394 " guestfish -d myguest -i\n"
15395 "\n"
15396 msgstr ""
15397
15398 # type: textblock
15399 #: ../fish/guestfish.pod:237
15400 msgid "(for an inactive libvirt domain called I<myguest>), or:"
15401 msgstr ""
15402
15403 # type: verbatim
15404 #: ../fish/guestfish.pod:239
15405 #, no-wrap
15406 msgid ""
15407 " guestfish --ro -d myguest -i\n"
15408 "\n"
15409 msgstr ""
15410
15411 # type: textblock
15412 #: ../fish/guestfish.pod:241
15413 msgid "(for active domains, readonly), or specify the block device directly:"
15414 msgstr ""
15415
15416 # type: verbatim
15417 #: ../fish/guestfish.pod:243
15418 #, no-wrap
15419 msgid ""
15420 " guestfish -a /dev/Guests/MyGuest -i\n"
15421 "\n"
15422 msgstr ""
15423
15424 # type: textblock
15425 #: ../fish/guestfish.pod:245
15426 msgid ""
15427 "Note that the command line syntax changed slightly over older versions of "
15428 "guestfish.  You can still use the old syntax:"
15429 msgstr ""
15430
15431 # type: verbatim
15432 #: ../fish/guestfish.pod:248
15433 #, no-wrap
15434 msgid ""
15435 " guestfish [--ro] -i disk.img\n"
15436 "\n"
15437 msgstr ""
15438
15439 # type: verbatim
15440 #: ../fish/guestfish.pod:250
15441 #, no-wrap
15442 msgid ""
15443 " guestfish [--ro] -i libvirt-domain\n"
15444 "\n"
15445 msgstr ""
15446
15447 # type: =item
15448 #: ../fish/guestfish.pod:252
15449 msgid "B<--keys-from-stdin>"
15450 msgstr ""
15451
15452 # type: textblock
15453 #: ../fish/guestfish.pod:254
15454 msgid ""
15455 "Read key or passphrase parameters from stdin.  The default is to try to read "
15456 "passphrases from the user by opening C</dev/tty>."
15457 msgstr ""
15458
15459 # type: =item
15460 #: ../fish/guestfish.pod:257
15461 msgid "B<--listen>"
15462 msgstr ""
15463
15464 # type: textblock
15465 #: ../fish/guestfish.pod:259
15466 msgid ""
15467 "Fork into the background and listen for remote commands.  See section "
15468 "L</REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
15469 msgstr ""
15470
15471 # type: =item
15472 #: ../fish/guestfish.pod:262
15473 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
15474 msgstr ""
15475
15476 # type: textblock
15477 #: ../fish/guestfish.pod:264
15478 msgid "Mount the named partition or logical volume on the given mountpoint."
15479 msgstr ""
15480
15481 # type: textblock
15482 #: ../fish/guestfish.pod:266
15483 msgid "If the mountpoint is omitted, it defaults to C</>."
15484 msgstr ""
15485
15486 # type: textblock
15487 #: ../fish/guestfish.pod:268
15488 msgid "You have to mount something on C</> before most commands will work."
15489 msgstr ""
15490
15491 # type: textblock
15492 #: ../fish/guestfish.pod:270
15493 msgid ""
15494 "If any I<-m> or I<--mount> options are given, the guest is automatically "
15495 "launched."
15496 msgstr ""
15497
15498 # type: textblock
15499 #: ../fish/guestfish.pod:273
15500 msgid ""
15501 "If you don't know what filesystems a disk image contains, you can either run "
15502 "guestfish without this option, then list the partitions and LVs available "
15503 "(see L</list-partitions> and L</lvs> commands), or you can use the "
15504 "L<virt-list-filesystems(1)> program."
15505 msgstr ""
15506
15507 # type: =item
15508 #: ../fish/guestfish.pod:278 ../fuse/guestmount.pod:142
15509 msgid "B<-n> | B<--no-sync>"
15510 msgstr ""
15511
15512 # type: textblock
15513 #: ../fish/guestfish.pod:280
15514 msgid ""
15515 "Disable autosync.  This is enabled by default.  See the discussion of "
15516 "autosync in the L<guestfs(3)> manpage."
15517 msgstr ""
15518
15519 # type: =item
15520 #: ../fish/guestfish.pod:283
15521 msgid "B<-N type> | B<--new type> | B<-N help>"
15522 msgstr ""
15523
15524 # type: textblock
15525 #: ../fish/guestfish.pod:285
15526 msgid ""
15527 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
15528 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
15529 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
15530 "IMAGES> below."
15531 msgstr ""
15532
15533 # type: =item
15534 #: ../fish/guestfish.pod:290
15535 msgid "B<--progress-bars>"
15536 msgstr ""
15537
15538 # type: textblock
15539 #: ../fish/guestfish.pod:292
15540 msgid "Enable progress bars, even when guestfish is used non-interactively."
15541 msgstr ""
15542
15543 # type: textblock
15544 #: ../fish/guestfish.pod:294
15545 msgid ""
15546 "Progress bars are enabled by default when guestfish is used as an "
15547 "interactive shell."
15548 msgstr ""
15549
15550 # type: =item
15551 #: ../fish/guestfish.pod:297
15552 msgid "B<--no-progress-bars>"
15553 msgstr ""
15554
15555 # type: textblock
15556 #: ../fish/guestfish.pod:299
15557 msgid "Disable progress bars."
15558 msgstr ""
15559
15560 # type: =item
15561 #: ../fish/guestfish.pod:301
15562 msgid "B<--remote[=pid]>"
15563 msgstr ""
15564
15565 # type: textblock
15566 #: ../fish/guestfish.pod:303
15567 msgid ""
15568 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
15569 "CONTROL GUESTFISH OVER A SOCKET> below."
15570 msgstr ""
15571
15572 # type: =item
15573 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:184
15574 msgid "B<-r> | B<--ro>"
15575 msgstr ""
15576
15577 # type: textblock
15578 #: ../fish/guestfish.pod:308
15579 msgid ""
15580 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
15581 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
15582 msgstr ""
15583
15584 # type: textblock
15585 #: ../fish/guestfish.pod:311 ../tools/virt-rescue.pl:187
15586 msgid ""
15587 "The option must always be used if the disk image or virtual machine might be "
15588 "running, and is generally recommended in cases where you don't need write "
15589 "access to the disk."
15590 msgstr ""
15591
15592 # type: textblock
15593 #: ../fish/guestfish.pod:315
15594 msgid ""
15595 "Note that prepared disk images created with I<-N> are not affected by the "
15596 "I<--ro> option."
15597 msgstr ""
15598
15599 # type: =item
15600 #: ../fish/guestfish.pod:318 ../fuse/guestmount.pod:194 ../tools/virt-rescue.pl:195
15601 msgid "B<--selinux>"
15602 msgstr ""
15603
15604 # type: textblock
15605 #: ../fish/guestfish.pod:320
15606 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
15607 msgstr ""
15608
15609 # type: =item
15610 #: ../fish/guestfish.pod:322 ../fuse/guestmount.pod:198
15611 msgid "B<-v> | B<--verbose>"
15612 msgstr ""
15613
15614 # type: textblock
15615 #: ../fish/guestfish.pod:324
15616 msgid ""
15617 "Enable very verbose messages.  This is particularly useful if you find a "
15618 "bug."
15619 msgstr ""
15620
15621 # type: =item
15622 #: ../fish/guestfish.pod:327 ../fuse/guestmount.pod:202
15623 msgid "B<-V> | B<--version>"
15624 msgstr ""
15625
15626 # type: textblock
15627 #: ../fish/guestfish.pod:329
15628 msgid "Display the guestfish / libguestfs version number and exit."
15629 msgstr ""
15630
15631 # type: =item
15632 #: ../fish/guestfish.pod:331
15633 msgid "B<-x>"
15634 msgstr ""
15635
15636 # type: textblock
15637 #: ../fish/guestfish.pod:333
15638 msgid "Echo each command before executing it."
15639 msgstr ""
15640
15641 # type: =head1
15642 #: ../fish/guestfish.pod:337
15643 msgid "COMMANDS ON COMMAND LINE"
15644 msgstr ""
15645
15646 # type: textblock
15647 #: ../fish/guestfish.pod:339
15648 msgid "Any additional (non-option) arguments are treated as commands to execute."
15649 msgstr ""
15650
15651 # type: textblock
15652 #: ../fish/guestfish.pod:342
15653 msgid ""
15654 "Commands to execute should be separated by a colon (C<:>), where the colon "
15655 "is a separate parameter.  Thus:"
15656 msgstr ""
15657
15658 # type: verbatim
15659 #: ../fish/guestfish.pod:345
15660 #, no-wrap
15661 msgid ""
15662 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
15663 "\n"
15664 msgstr ""
15665
15666 # type: textblock
15667 #: ../fish/guestfish.pod:347
15668 msgid ""
15669 "If there are no additional arguments, then we enter a shell, either an "
15670 "interactive shell with a prompt (if the input is a terminal) or a "
15671 "non-interactive shell."
15672 msgstr ""
15673
15674 # type: textblock
15675 #: ../fish/guestfish.pod:351
15676 msgid ""
15677 "In either command line mode or non-interactive shell, the first command that "
15678 "gives an error causes the whole shell to exit.  In interactive mode (with a "
15679 "prompt) if a command fails, you can continue to enter commands."
15680 msgstr ""
15681
15682 # type: =head1
15683 #: ../fish/guestfish.pod:356
15684 msgid "USING launch (OR run)"
15685 msgstr ""
15686
15687 # type: textblock
15688 #: ../fish/guestfish.pod:358
15689 msgid ""
15690 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
15691 "then launch it, then mount any disks you need, and finally issue "
15692 "actions/commands.  So the general order of the day is:"
15693 msgstr ""
15694
15695 # type: textblock
15696 #: ../fish/guestfish.pod:366
15697 msgid "add or -a/--add"
15698 msgstr ""
15699
15700 # type: textblock
15701 #: ../fish/guestfish.pod:370
15702 msgid "launch (aka run)"
15703 msgstr ""
15704
15705 # type: textblock
15706 #: ../fish/guestfish.pod:374
15707 msgid "mount or -m/--mount"
15708 msgstr ""
15709
15710 # type: textblock
15711 #: ../fish/guestfish.pod:378
15712 msgid "any other commands"
15713 msgstr ""
15714
15715 # type: textblock
15716 #: ../fish/guestfish.pod:382
15717 msgid ""
15718 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
15719 "guest before mounting or performing any other commands."
15720 msgstr ""
15721
15722 # type: textblock
15723 #: ../fish/guestfish.pod:385
15724 msgid ""
15725 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
15726 "I<--new> options were given then C<run> is done automatically, simply "
15727 "because guestfish can't perform the action you asked for without doing this."
15728 msgstr ""
15729
15730 # type: =head1
15731 #: ../fish/guestfish.pod:390
15732 msgid "QUOTING"
15733 msgstr ""
15734
15735 # type: textblock
15736 #: ../fish/guestfish.pod:392
15737 msgid ""
15738 "You can quote ordinary parameters using either single or double quotes.  For "
15739 "example:"
15740 msgstr ""
15741
15742 # type: verbatim
15743 #: ../fish/guestfish.pod:395
15744 #, no-wrap
15745 msgid ""
15746 " add \"file with a space.img\"\n"
15747 "\n"
15748 msgstr ""
15749
15750 # type: verbatim
15751 #: ../fish/guestfish.pod:397
15752 #, no-wrap
15753 msgid ""
15754 " rm '/file name'\n"
15755 "\n"
15756 msgstr ""
15757
15758 # type: verbatim
15759 #: ../fish/guestfish.pod:399
15760 #, no-wrap
15761 msgid ""
15762 " rm '/\"'\n"
15763 "\n"
15764 msgstr ""
15765
15766 # type: textblock
15767 #: ../fish/guestfish.pod:401
15768 msgid ""
15769 "A few commands require a list of strings to be passed.  For these, use a "
15770 "whitespace-separated list, enclosed in quotes.  Strings containing "
15771 "whitespace to be passed through must be enclosed in single quotes.  A "
15772 "literal single quote must be escaped with a backslash."
15773 msgstr ""
15774
15775 # type: verbatim
15776 #: ../fish/guestfish.pod:406
15777 #, no-wrap
15778 msgid ""
15779 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
15780 " command \"/bin/echo 'foo      bar'\"\n"
15781 " command \"/bin/echo \\'foo\\'\"\n"
15782 "\n"
15783 msgstr ""
15784
15785 # type: =head1
15786 #: ../fish/guestfish.pod:410
15787 msgid "OPTIONAL ARGUMENTS"
15788 msgstr ""
15789
15790 # type: textblock
15791 #: ../fish/guestfish.pod:412
15792 msgid ""
15793 "Some commands take optional arguments.  These arguments appear in this "
15794 "documentation as C<[argname:..]>.  You can use them as in these examples:"
15795 msgstr ""
15796
15797 # type: verbatim
15798 #: ../fish/guestfish.pod:416
15799 #, no-wrap
15800 msgid ""
15801 " add-drive-opts filename\n"
15802 "\n"
15803 msgstr ""
15804
15805 # type: verbatim
15806 #: ../fish/guestfish.pod:418
15807 #, no-wrap
15808 msgid ""
15809 " add-drive-opts filename readonly:true\n"
15810 "\n"
15811 msgstr ""
15812
15813 # type: verbatim
15814 #: ../fish/guestfish.pod:420
15815 #, no-wrap
15816 msgid ""
15817 " add-drive-opts filename format:qcow2 readonly:false\n"
15818 "\n"
15819 msgstr ""
15820
15821 # type: textblock
15822 #: ../fish/guestfish.pod:422
15823 msgid ""
15824 "Each optional argument can appear at most once.  All optional arguments must "
15825 "appear after the required ones."
15826 msgstr ""
15827
15828 # type: =head1
15829 #: ../fish/guestfish.pod:425
15830 msgid "NUMBERS"
15831 msgstr ""
15832
15833 # type: textblock
15834 #: ../fish/guestfish.pod:427
15835 msgid "This section applies to all commands which can take integers as parameters."
15836 msgstr ""
15837
15838 # type: =head2
15839 #: ../fish/guestfish.pod:430
15840 msgid "SIZE SUFFIX"
15841 msgstr ""
15842
15843 # type: textblock
15844 #: ../fish/guestfish.pod:432
15845 msgid ""
15846 "When the command takes a parameter measured in bytes, you can use one of the "
15847 "following suffixes to specify kilobytes, megabytes and larger sizes:"
15848 msgstr ""
15849
15850 # type: =item
15851 #: ../fish/guestfish.pod:438
15852 msgid "B<k> or B<K> or B<KiB>"
15853 msgstr ""
15854
15855 # type: textblock
15856 #: ../fish/guestfish.pod:440
15857 msgid "The size in kilobytes (multiplied by 1024)."
15858 msgstr ""
15859
15860 # type: =item
15861 #: ../fish/guestfish.pod:442
15862 msgid "B<KB>"
15863 msgstr ""
15864
15865 # type: textblock
15866 #: ../fish/guestfish.pod:444
15867 msgid "The size in SI 1000 byte units."
15868 msgstr ""
15869
15870 # type: =item
15871 #: ../fish/guestfish.pod:446
15872 msgid "B<M> or B<MiB>"
15873 msgstr ""
15874
15875 # type: textblock
15876 #: ../fish/guestfish.pod:448
15877 msgid "The size in megabytes (multiplied by 1048576)."
15878 msgstr ""
15879
15880 # type: =item
15881 #: ../fish/guestfish.pod:450
15882 msgid "B<MB>"
15883 msgstr ""
15884
15885 # type: textblock
15886 #: ../fish/guestfish.pod:452
15887 msgid "The size in SI 1000000 byte units."
15888 msgstr ""
15889
15890 # type: =item
15891 #: ../fish/guestfish.pod:454
15892 msgid "B<G> or B<GiB>"
15893 msgstr ""
15894
15895 # type: textblock
15896 #: ../fish/guestfish.pod:456
15897 msgid "The size in gigabytes (multiplied by 2**30)."
15898 msgstr ""
15899
15900 # type: =item
15901 #: ../fish/guestfish.pod:458
15902 msgid "B<GB>"
15903 msgstr ""
15904
15905 # type: textblock
15906 #: ../fish/guestfish.pod:460
15907 msgid "The size in SI 10**9 byte units."
15908 msgstr ""
15909
15910 # type: =item
15911 #: ../fish/guestfish.pod:462
15912 msgid "B<T> or B<TiB>"
15913 msgstr ""
15914
15915 # type: textblock
15916 #: ../fish/guestfish.pod:464
15917 msgid "The size in terabytes (multiplied by 2**40)."
15918 msgstr ""
15919
15920 # type: =item
15921 #: ../fish/guestfish.pod:466
15922 msgid "B<TB>"
15923 msgstr ""
15924
15925 # type: textblock
15926 #: ../fish/guestfish.pod:468
15927 msgid "The size in SI 10**12 byte units."
15928 msgstr ""
15929
15930 # type: =item
15931 #: ../fish/guestfish.pod:470
15932 msgid "B<P> or B<PiB>"
15933 msgstr ""
15934
15935 # type: textblock
15936 #: ../fish/guestfish.pod:472
15937 msgid "The size in petabytes (multiplied by 2**50)."
15938 msgstr ""
15939
15940 # type: =item
15941 #: ../fish/guestfish.pod:474
15942 msgid "B<PB>"
15943 msgstr ""
15944
15945 # type: textblock
15946 #: ../fish/guestfish.pod:476
15947 msgid "The size in SI 10**15 byte units."
15948 msgstr ""
15949
15950 # type: =item
15951 #: ../fish/guestfish.pod:478
15952 msgid "B<E> or B<EiB>"
15953 msgstr ""
15954
15955 # type: textblock
15956 #: ../fish/guestfish.pod:480
15957 msgid "The size in exabytes (multiplied by 2**60)."
15958 msgstr ""
15959
15960 # type: =item
15961 #: ../fish/guestfish.pod:482
15962 msgid "B<EB>"
15963 msgstr ""
15964
15965 # type: textblock
15966 #: ../fish/guestfish.pod:484
15967 msgid "The size in SI 10**18 byte units."
15968 msgstr ""
15969
15970 # type: =item
15971 #: ../fish/guestfish.pod:486
15972 msgid "B<Z> or B<ZiB>"
15973 msgstr ""
15974
15975 # type: textblock
15976 #: ../fish/guestfish.pod:488
15977 msgid "The size in zettabytes (multiplied by 2**70)."
15978 msgstr ""
15979
15980 # type: =item
15981 #: ../fish/guestfish.pod:490
15982 msgid "B<ZB>"
15983 msgstr ""
15984
15985 # type: textblock
15986 #: ../fish/guestfish.pod:492
15987 msgid "The size in SI 10**21 byte units."
15988 msgstr ""
15989
15990 # type: =item
15991 #: ../fish/guestfish.pod:494
15992 msgid "B<Y> or B<YiB>"
15993 msgstr ""
15994
15995 # type: textblock
15996 #: ../fish/guestfish.pod:496
15997 msgid "The size in yottabytes (multiplied by 2**80)."
15998 msgstr ""
15999
16000 # type: =item
16001 #: ../fish/guestfish.pod:498
16002 msgid "B<YB>"
16003 msgstr ""
16004
16005 # type: textblock
16006 #: ../fish/guestfish.pod:500
16007 msgid "The size in SI 10**24 byte units."
16008 msgstr ""
16009
16010 # type: verbatim
16011 #: ../fish/guestfish.pod:506
16012 #, no-wrap
16013 msgid ""
16014 " truncate-size /file 1G\n"
16015 "\n"
16016 msgstr ""
16017
16018 # type: textblock
16019 #: ../fish/guestfish.pod:508
16020 msgid "would truncate the file to 1 gigabyte."
16021 msgstr ""
16022
16023 # type: textblock
16024 #: ../fish/guestfish.pod:510
16025 msgid ""
16026 "Be careful because a few commands take sizes in kilobytes or megabytes "
16027 "(eg. the parameter to L</memsize> is specified in megabytes already).  "
16028 "Adding a suffix will probably not do what you expect."
16029 msgstr ""
16030
16031 # type: =head2
16032 #: ../fish/guestfish.pod:514
16033 msgid "OCTAL AND HEXADECIMAL NUMBERS"
16034 msgstr ""
16035
16036 # type: textblock
16037 #: ../fish/guestfish.pod:516
16038 msgid ""
16039 "For specifying the radix (base) use the C convention: C<0> to prefix an "
16040 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
16041 msgstr ""
16042
16043 # type: verbatim
16044 #: ../fish/guestfish.pod:519
16045 #, no-wrap
16046 msgid ""
16047 " 1234      decimal number 1234\n"
16048 " 02322     octal number, equivalent to decimal 1234\n"
16049 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
16050 "\n"
16051 msgstr ""
16052
16053 # type: textblock
16054 #: ../fish/guestfish.pod:523
16055 msgid ""
16056 "When using the C<chmod> command, you almost always want to specify an octal "
16057 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
16058 "L<chmod(1)> program):"
16059 msgstr ""
16060
16061 # type: verbatim
16062 #: ../fish/guestfish.pod:527
16063 #, no-wrap
16064 msgid ""
16065 " chmod 0777 /public  # OK\n"
16066 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
16067 "\n"
16068 msgstr ""
16069
16070 # type: textblock
16071 #: ../fish/guestfish.pod:530
16072 msgid ""
16073 "Commands that return numbers usually print them in decimal, but some "
16074 "commands print numbers in other radices (eg. C<umask> prints the mode in "
16075 "octal, preceeded by C<0>)."
16076 msgstr ""
16077
16078 # type: =head1
16079 #: ../fish/guestfish.pod:534
16080 msgid "WILDCARDS AND GLOBBING"
16081 msgstr ""
16082
16083 # type: textblock
16084 #: ../fish/guestfish.pod:536
16085 msgid ""
16086 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
16087 "(globbing) by default.  So for example the following will not do what you "
16088 "expect:"
16089 msgstr ""
16090
16091 # type: verbatim
16092 #: ../fish/guestfish.pod:540
16093 #, no-wrap
16094 msgid ""
16095 " rm-rf /home/*\n"
16096 "\n"
16097 msgstr ""
16098
16099 # type: textblock
16100 #: ../fish/guestfish.pod:542
16101 msgid ""
16102 "Assuming you don't have a directory called literally C</home/*> then the "
16103 "above command will return an error."
16104 msgstr ""
16105
16106 # type: textblock
16107 #: ../fish/guestfish.pod:545
16108 msgid "To perform wildcard expansion, use the C<glob> command."
16109 msgstr ""
16110
16111 # type: verbatim
16112 #: ../fish/guestfish.pod:547
16113 #, no-wrap
16114 msgid ""
16115 " glob rm-rf /home/*\n"
16116 "\n"
16117 msgstr ""
16118
16119 # type: textblock
16120 #: ../fish/guestfish.pod:549
16121 msgid ""
16122 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
16123 "many times), equivalent to:"
16124 msgstr ""
16125
16126 # type: verbatim
16127 #: ../fish/guestfish.pod:552
16128 #, no-wrap
16129 msgid ""
16130 " rm-rf /home/jim\n"
16131 " rm-rf /home/joe\n"
16132 " rm-rf /home/mary\n"
16133 "\n"
16134 msgstr ""
16135
16136 # type: textblock
16137 #: ../fish/guestfish.pod:556
16138 msgid "C<glob> only works on simple guest paths and not on device names."
16139 msgstr ""
16140
16141 # type: textblock
16142 #: ../fish/guestfish.pod:558
16143 msgid ""
16144 "If you have several parameters, each containing a wildcard, then glob will "
16145 "perform a Cartesian product."
16146 msgstr ""
16147
16148 # type: =head1
16149 #: ../fish/guestfish.pod:561
16150 msgid "COMMENTS"
16151 msgstr ""
16152
16153 # type: textblock
16154 #: ../fish/guestfish.pod:563
16155 msgid ""
16156 "Any line which starts with a I<#> character is treated as a comment and "
16157 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
16158 "a command.  For example:"
16159 msgstr ""
16160
16161 # type: verbatim
16162 #: ../fish/guestfish.pod:567
16163 #, no-wrap
16164 msgid ""
16165 " # this is a comment\n"
16166 "         # this is a comment\n"
16167 " foo # NOT a comment\n"
16168 "\n"
16169 msgstr ""
16170
16171 # type: textblock
16172 #: ../fish/guestfish.pod:571
16173 msgid "Blank lines are also ignored."
16174 msgstr ""
16175
16176 # type: =head1
16177 #: ../fish/guestfish.pod:573
16178 msgid "RUNNING COMMANDS LOCALLY"
16179 msgstr ""
16180
16181 # type: textblock
16182 #: ../fish/guestfish.pod:575
16183 msgid ""
16184 "Any line which starts with a I<!> character is treated as a command sent to "
16185 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
16186 msgstr ""
16187
16188 # type: verbatim
16189 #: ../fish/guestfish.pod:579
16190 #, no-wrap
16191 msgid ""
16192 " !mkdir local\n"
16193 " tgz-out /remote local/remote-data.tar.gz\n"
16194 "\n"
16195 msgstr ""
16196
16197 # type: textblock
16198 #: ../fish/guestfish.pod:582
16199 msgid ""
16200 "will create a directory C<local> on the host, and then export the contents "
16201 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
16202 "(See C<tgz-out>)."
16203 msgstr ""
16204
16205 # type: textblock
16206 #: ../fish/guestfish.pod:586
16207 msgid ""
16208 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
16209 "effect, due to the way that subprocesses work in Unix."
16210 msgstr ""
16211
16212 # type: =head1
16213 #: ../fish/guestfish.pod:589
16214 msgid "PIPES"
16215 msgstr ""
16216
16217 # type: textblock
16218 #: ../fish/guestfish.pod:591
16219 msgid ""
16220 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
16221 "command (a guestfish command) to the second command (any host command).  For "
16222 "example:"
16223 msgstr ""
16224
16225 # type: verbatim
16226 #: ../fish/guestfish.pod:595
16227 #, no-wrap
16228 msgid ""
16229 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
16230 "\n"
16231 msgstr ""
16232
16233 # type: textblock
16234 #: ../fish/guestfish.pod:597
16235 msgid ""
16236 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
16237 "program).  The above command would list all accounts in the guest filesystem "
16238 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
16239 msgstr ""
16240
16241 # type: verbatim
16242 #: ../fish/guestfish.pod:602
16243 #, no-wrap
16244 msgid ""
16245 " hexdump /bin/ls | head\n"
16246 " list-devices | tail -1\n"
16247 " tgz-out / - | tar ztf -\n"
16248 "\n"
16249 msgstr ""
16250
16251 # type: textblock
16252 #: ../fish/guestfish.pod:606
16253 msgid ""
16254 "The space before the pipe symbol is required, any space after the pipe "
16255 "symbol is optional.  Everything after the pipe symbol is just passed "
16256 "straight to the host shell, so it can contain redirections, globs and "
16257 "anything else that makes sense on the host side."
16258 msgstr ""
16259
16260 # type: textblock
16261 #: ../fish/guestfish.pod:611
16262 msgid ""
16263 "To use a literal argument which begins with a pipe symbol, you have to quote "
16264 "it, eg:"
16265 msgstr ""
16266
16267 # type: verbatim
16268 #: ../fish/guestfish.pod:614
16269 #, no-wrap
16270 msgid ""
16271 " echo \"|\"\n"
16272 "\n"
16273 msgstr ""
16274
16275 # type: =head1
16276 #: ../fish/guestfish.pod:616
16277 msgid "HOME DIRECTORIES"
16278 msgstr ""
16279
16280 # type: textblock
16281 #: ../fish/guestfish.pod:618
16282 msgid ""
16283 "If a parameter starts with the character C<~> then the tilde may be expanded "
16284 "as a home directory path (either C<~> for the current user's home directory, "
16285 "or C<~user> for another user)."
16286 msgstr ""
16287
16288 # type: textblock
16289 #: ../fish/guestfish.pod:622
16290 msgid ""
16291 "Note that home directory expansion happens for users known I<on the host>, "
16292 "not in the guest filesystem."
16293 msgstr ""
16294
16295 # type: textblock
16296 #: ../fish/guestfish.pod:625
16297 msgid ""
16298 "To use a literal argument which begins with a tilde, you have to quote it, "
16299 "eg:"
16300 msgstr ""
16301
16302 # type: verbatim
16303 #: ../fish/guestfish.pod:628
16304 #, no-wrap
16305 msgid ""
16306 " echo \"~\"\n"
16307 "\n"
16308 msgstr ""
16309
16310 # type: textblock
16311 #: ../fish/guestfish.pod:632
16312 msgid ""
16313 "Libguestfs has some support for Linux guests encrypted according to the "
16314 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
16315 "disk encryption systems used by modern Linux guests.  Currently only "
16316 "LVM-on-LUKS is supported."
16317 msgstr ""
16318
16319 # type: textblock
16320 #: ../fish/guestfish.pod:637
16321 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
16322 msgstr ""
16323
16324 # type: verbatim
16325 #: ../fish/guestfish.pod:639
16326 #, no-wrap
16327 msgid ""
16328 " ><fs> vfs-type /dev/sda2\n"
16329 " crypto_LUKS\n"
16330 "\n"
16331 msgstr ""
16332
16333 # type: textblock
16334 #: ../fish/guestfish.pod:642
16335 msgid ""
16336 "Then open those devices using L</luks-open>.  This creates a device-mapper "
16337 "device called C</dev/mapper/luksdev>."
16338 msgstr ""
16339
16340 # type: verbatim
16341 #: ../fish/guestfish.pod:645
16342 #, no-wrap
16343 msgid ""
16344 " ><fs> luks-open /dev/sda2 luksdev\n"
16345 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
16346 "\n"
16347 msgstr ""
16348
16349 # type: textblock
16350 #: ../fish/guestfish.pod:648
16351 msgid ""
16352 "Finally you have to tell LVM to scan for volume groups on the newly created "
16353 "mapper device:"
16354 msgstr ""
16355
16356 # type: verbatim
16357 #: ../fish/guestfish.pod:651
16358 #, no-wrap
16359 msgid ""
16360 " vgscan\n"
16361 " vg-activate-all true\n"
16362 "\n"
16363 msgstr ""
16364
16365 # type: textblock
16366 #: ../fish/guestfish.pod:654
16367 msgid "The logical volume(s) can now be mounted in the usual way."
16368 msgstr ""
16369
16370 # type: textblock
16371 #: ../fish/guestfish.pod:656
16372 msgid ""
16373 "Before closing a LUKS device you must unmount any logical volumes on it and "
16374 "deactivate the volume groups by calling C<vg-activate false VG> on each "
16375 "one.  Then you can close the mapper device:"
16376 msgstr ""
16377
16378 # type: verbatim
16379 #: ../fish/guestfish.pod:660
16380 #, no-wrap
16381 msgid ""
16382 " vg-activate false /dev/VG\n"
16383 " luks-close /dev/mapper/luksdev\n"
16384 "\n"
16385 msgstr ""
16386
16387 # type: =head1
16388 #: ../fish/guestfish.pod:663
16389 msgid "WINDOWS PATHS"
16390 msgstr ""
16391
16392 # type: textblock
16393 #: ../fish/guestfish.pod:665
16394 msgid ""
16395 "If a path is prefixed with C<win:> then you can use Windows-style paths "
16396 "(with some limitations).  The following commands are equivalent:"
16397 msgstr ""
16398
16399 # type: verbatim
16400 #: ../fish/guestfish.pod:668
16401 #, no-wrap
16402 msgid ""
16403 " file /WINDOWS/system32/config/system.LOG\n"
16404 "\n"
16405 msgstr ""
16406
16407 # type: verbatim
16408 #: ../fish/guestfish.pod:670
16409 #, no-wrap
16410 msgid ""
16411 " file win:/windows/system32/config/system.log\n"
16412 "\n"
16413 msgstr ""
16414
16415 # type: verbatim
16416 #: ../fish/guestfish.pod:672
16417 #, no-wrap
16418 msgid ""
16419 " file win:\\windows\\system32\\config\\system.log\n"
16420 "\n"
16421 msgstr ""
16422
16423 # type: verbatim
16424 #: ../fish/guestfish.pod:674
16425 #, no-wrap
16426 msgid ""
16427 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
16428 "\n"
16429 msgstr ""
16430
16431 # type: textblock
16432 #: ../fish/guestfish.pod:676
16433 msgid ""
16434 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
16435 "handles case insensitivity like Windows would.  This only works in argument "
16436 "positions that expect a path."
16437 msgstr ""
16438
16439 # type: =head1
16440 #: ../fish/guestfish.pod:680
16441 msgid "UPLOADING AND DOWNLOADING FILES"
16442 msgstr ""
16443
16444 # type: textblock
16445 #: ../fish/guestfish.pod:682
16446 msgid ""
16447 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
16448 "others which upload from or download to a local file, you can use the "
16449 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
16450 msgstr ""
16451
16452 # type: verbatim
16453 #: ../fish/guestfish.pod:686
16454 #, no-wrap
16455 msgid ""
16456 " upload - /foo\n"
16457 "\n"
16458 msgstr ""
16459
16460 # type: textblock
16461 #: ../fish/guestfish.pod:688
16462 msgid "reads stdin and creates from that a file C</foo> in the disk image, and:"
16463 msgstr ""
16464
16465 # type: verbatim
16466 #: ../fish/guestfish.pod:691
16467 #, no-wrap
16468 msgid ""
16469 " tar-out /etc - | tar tf -\n"
16470 "\n"
16471 msgstr ""
16472
16473 # type: textblock
16474 #: ../fish/guestfish.pod:693
16475 msgid ""
16476 "writes the tarball to stdout and then pipes that into the external \"tar\" "
16477 "command (see L</PIPES>)."
16478 msgstr ""
16479
16480 # type: textblock
16481 #: ../fish/guestfish.pod:696
16482 msgid ""
16483 "When using C<-> to read from stdin, the input is read up to the end of "
16484 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
16485 "some arbitrary end marker:"
16486 msgstr ""
16487
16488 # type: verbatim
16489 #: ../fish/guestfish.pod:700
16490 #, no-wrap
16491 msgid ""
16492 " upload -<<END /foo\n"
16493 " input line 1\n"
16494 " input line 2\n"
16495 " input line 3\n"
16496 " END\n"
16497 "\n"
16498 msgstr ""
16499
16500 # type: textblock
16501 #: ../fish/guestfish.pod:706
16502 msgid ""
16503 "Any string of characters can be used instead of C<END>.  The end marker must "
16504 "appear on a line of its own, without any preceeding or following characters "
16505 "(not even spaces)."
16506 msgstr ""
16507
16508 # type: textblock
16509 #: ../fish/guestfish.pod:710
16510 msgid ""
16511 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
16512 "upload local files (so-called \"FileIn\" parameters in the generator)."
16513 msgstr ""
16514
16515 # type: =head1
16516 #: ../fish/guestfish.pod:713
16517 msgid "EXIT ON ERROR BEHAVIOUR"
16518 msgstr ""
16519
16520 # type: textblock
16521 #: ../fish/guestfish.pod:715
16522 msgid ""
16523 "By default, guestfish will ignore any errors when in interactive mode "
16524 "(ie. taking commands from a human over a tty), and will exit on the first "
16525 "error in non-interactive mode (scripts, commands given on the command line)."
16526 msgstr ""
16527
16528 # type: textblock
16529 #: ../fish/guestfish.pod:720
16530 msgid ""
16531 "If you prefix a command with a I<-> character, then that command will not "
16532 "cause guestfish to exit, even if that (one) command returns an error."
16533 msgstr ""
16534
16535 # type: =head1
16536 #: ../fish/guestfish.pod:724
16537 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
16538 msgstr ""
16539
16540 # type: textblock
16541 #: ../fish/guestfish.pod:726
16542 msgid ""
16543 "Guestfish can be remote-controlled over a socket.  This is useful "
16544 "particularly in shell scripts where you want to make several different "
16545 "changes to a filesystem, but you don't want the overhead of starting up a "
16546 "guestfish process each time."
16547 msgstr ""
16548
16549 # type: textblock
16550 #: ../fish/guestfish.pod:731
16551 msgid "Start a guestfish server process using:"
16552 msgstr ""
16553
16554 # type: verbatim
16555 #: ../fish/guestfish.pod:733
16556 #, no-wrap
16557 msgid ""
16558 " eval `guestfish --listen`\n"
16559 "\n"
16560 msgstr ""
16561
16562 # type: textblock
16563 #: ../fish/guestfish.pod:735
16564 msgid "and then send it commands by doing:"
16565 msgstr ""
16566
16567 # type: verbatim
16568 #: ../fish/guestfish.pod:737
16569 #, no-wrap
16570 msgid ""
16571 " guestfish --remote cmd [...]\n"
16572 "\n"
16573 msgstr ""
16574
16575 # type: textblock
16576 #: ../fish/guestfish.pod:739
16577 msgid "To cause the server to exit, send it the exit command:"
16578 msgstr ""
16579
16580 # type: verbatim
16581 #: ../fish/guestfish.pod:741
16582 #, no-wrap
16583 msgid ""
16584 " guestfish --remote exit\n"
16585 "\n"
16586 msgstr ""
16587
16588 # type: textblock
16589 #: ../fish/guestfish.pod:743
16590 msgid ""
16591 "Note that the server will normally exit if there is an error in a command.  "
16592 "You can change this in the usual way.  See section L</EXIT ON ERROR "
16593 "BEHAVIOUR>."
16594 msgstr ""
16595
16596 # type: =head2
16597 #: ../fish/guestfish.pod:747
16598 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
16599 msgstr ""
16600
16601 # type: textblock
16602 #: ../fish/guestfish.pod:749
16603 msgid ""
16604 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
16605 "is how the I<--remote> option knows where to send the commands.  You can "
16606 "have several guestfish listener processes running using:"
16607 msgstr ""
16608
16609 # type: verbatim
16610 #: ../fish/guestfish.pod:753
16611 #, no-wrap
16612 msgid ""
16613 " eval `guestfish --listen`\n"
16614 " pid1=$GUESTFISH_PID\n"
16615 " eval `guestfish --listen`\n"
16616 " pid2=$GUESTFISH_PID\n"
16617 " ...\n"
16618 " guestfish --remote=$pid1 cmd\n"
16619 " guestfish --remote=$pid2 cmd\n"
16620 "\n"
16621 msgstr ""
16622
16623 # type: =head2
16624 #: ../fish/guestfish.pod:761
16625 msgid "REMOTE CONTROL DETAILS"
16626 msgstr ""
16627
16628 # type: textblock
16629 #: ../fish/guestfish.pod:763
16630 msgid ""
16631 "Remote control happens over a Unix domain socket called "
16632 "C</tmp/.guestfish-$UID/socket-$PID>, where C<$UID> is the effective user ID "
16633 "of the process, and C<$PID> is the process ID of the server."
16634 msgstr ""
16635
16636 # type: textblock
16637 #: ../fish/guestfish.pod:767
16638 msgid "Guestfish client and server versions must match exactly."
16639 msgstr ""
16640
16641 # type: =head1
16642 #: ../fish/guestfish.pod:769
16643 msgid "PREPARED DISK IMAGES"
16644 msgstr ""
16645
16646 # type: textblock
16647 #: ../fish/guestfish.pod:771
16648 msgid ""
16649 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
16650 "preformatted disk images that guestfish can make for you to save typing.  "
16651 "This is particularly useful for testing purposes.  This option is used "
16652 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
16653 "can be mixed with I<-a>)."
16654 msgstr ""
16655
16656 # type: textblock
16657 #: ../fish/guestfish.pod:777
16658 msgid ""
16659 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
16660 "the second and so on.  Existing files in the current directory are "
16661 "I<overwritten>."
16662 msgstr ""
16663
16664 # type: textblock
16665 #: ../fish/guestfish.pod:781
16666 msgid ""
16667 "The type briefly describes how the disk should be sized, partitioned, how "
16668 "filesystem(s) should be created, and how content should be added.  "
16669 "Optionally the type can be followed by extra parameters, separated by C<:> "
16670 "(colon) characters.  For example, I<-N fs> creates a default 100MB, "
16671 "sparsely-allocated disk, containing a single partition, with the partition "
16672 "formatted as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem "
16673 "on a 1GB disk instead."
16674 msgstr ""
16675
16676 # type: textblock
16677 #: ../fish/guestfish.pod:789
16678 msgid "To list the available types and any extra parameters they take, run:"
16679 msgstr ""
16680
16681 # type: textblock
16682 #: ../fish/guestfish.pod:793
16683 msgid ""
16684 "Note that the prepared filesystem is not mounted.  You would usually have to "
16685 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
16686 msgstr ""
16687
16688 # type: textblock
16689 #: ../fish/guestfish.pod:797
16690 msgid ""
16691 "If any I<-N> or I<--new> options are given, the guest is automatically "
16692 "launched."
16693 msgstr ""
16694
16695 # type: textblock
16696 #: ../fish/guestfish.pod:802
16697 msgid "Create a 100MB disk with an ext4-formatted partition:"
16698 msgstr ""
16699
16700 # type: verbatim
16701 #: ../fish/guestfish.pod:804
16702 #, no-wrap
16703 msgid ""
16704 " guestfish -N fs:ext4\n"
16705 "\n"
16706 msgstr ""
16707
16708 # type: textblock
16709 #: ../fish/guestfish.pod:806
16710 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
16711 msgstr ""
16712
16713 # type: verbatim
16714 #: ../fish/guestfish.pod:808
16715 #, no-wrap
16716 msgid ""
16717 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
16718 "\n"
16719 msgstr ""
16720
16721 # type: textblock
16722 #: ../fish/guestfish.pod:810
16723 msgid "Create a blank 200MB disk:"
16724 msgstr ""
16725
16726 # type: verbatim
16727 #: ../fish/guestfish.pod:812
16728 #, no-wrap
16729 msgid ""
16730 " guestfish -N disk:200M\n"
16731 "\n"
16732 msgstr ""
16733
16734 # type: =head1
16735 #: ../fish/guestfish.pod:814
16736 msgid "PROGRESS BARS"
16737 msgstr ""
16738
16739 # type: textblock
16740 #: ../fish/guestfish.pod:816
16741 msgid ""
16742 "Some (not all) long-running commands send progress notification messages as "
16743 "they are running.  Guestfish turns these messages into progress bars."
16744 msgstr ""
16745
16746 # type: textblock
16747 #: ../fish/guestfish.pod:820
16748 msgid ""
16749 "When a command that supports progress bars takes longer than two seconds to "
16750 "run, and if progress bars are enabled, then you will see one appearing below "
16751 "the command:"
16752 msgstr ""
16753
16754 # type: verbatim
16755 #: ../fish/guestfish.pod:824
16756 #, no-wrap
16757 msgid ""
16758 " ><fs> copy-size /large-file /another-file 2048M\n"
16759 " / 10% [#####-----------------------------------------] 00:30\n"
16760 "\n"
16761 msgstr ""
16762
16763 # type: textblock
16764 #: ../fish/guestfish.pod:827
16765 msgid ""
16766 "The spinner on the left hand side moves round once for every progress "
16767 "notification received from the backend.  This is a (reasonably) golden "
16768 "assurance that the command is \"doing something\" even if the progress bar "
16769 "is not moving, because the command is able to send the progress "
16770 "notifications.  When the bar reaches 100% and the command finishes, the "
16771 "spinner disappears."
16772 msgstr ""
16773
16774 # type: textblock
16775 #: ../fish/guestfish.pod:834
16776 msgid ""
16777 "Progress bars are enabled by default when guestfish is used interactively.  "
16778 "You can enable them even for non-interactive modes using I<--progress-bars>, "
16779 "and you can disable them completely using I<--no-progress-bars>."
16780 msgstr ""
16781
16782 # type: =head1
16783 #: ../fish/guestfish.pod:839
16784 msgid "GUESTFISH COMMANDS"
16785 msgstr ""
16786
16787 # type: textblock
16788 #: ../fish/guestfish.pod:841
16789 msgid ""
16790 "The commands in this section are guestfish convenience commands, in other "
16791 "words, they are not part of the L<guestfs(3)> API."
16792 msgstr ""
16793
16794 # type: =head2
16795 #: ../fish/guestfish.pod:844
16796 msgid "help"
16797 msgstr ""
16798
16799 # type: verbatim
16800 #: ../fish/guestfish.pod:846
16801 #, no-wrap
16802 msgid ""
16803 " help\n"
16804 " help cmd\n"
16805 "\n"
16806 msgstr ""
16807
16808 # type: textblock
16809 #: ../fish/guestfish.pod:849
16810 msgid ""
16811 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16812 "this displays detailed help for a command."
16813 msgstr ""
16814
16815 # type: =head2
16816 #: ../fish/guestfish.pod:852
16817 msgid "quit | exit"
16818 msgstr ""
16819
16820 # type: textblock
16821 #: ../fish/guestfish.pod:854
16822 msgid "This exits guestfish.  You can also use C<^D> key."
16823 msgstr ""
16824
16825 # type: textblock
16826 #: ../fish/guestfish.pod:856
16827 msgid "@FISH_COMMANDS@"
16828 msgstr ""
16829
16830 # type: =head1
16831 #: ../fish/guestfish.pod:858
16832 msgid "COMMANDS"
16833 msgstr ""
16834
16835 # type: =head1
16836 #: ../fish/guestfish.pod:862 ../test-tool/libguestfs-test-tool.pod:83
16837 msgid "EXIT CODE"
16838 msgstr ""
16839
16840 # type: textblock
16841 #: ../fish/guestfish.pod:864
16842 msgid ""
16843 "guestfish returns 0 if the commands completed without error, or 1 if there "
16844 "was an error."
16845 msgstr ""
16846
16847 # type: =item
16848 #: ../fish/guestfish.pod:871
16849 msgid "EDITOR"
16850 msgstr ""
16851
16852 # type: textblock
16853 #: ../fish/guestfish.pod:873
16854 msgid ""
16855 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16856 "C<vi>."
16857 msgstr ""
16858
16859 # type: =item
16860 #: ../fish/guestfish.pod:876
16861 msgid "GUESTFISH_PID"
16862 msgstr ""
16863
16864 # type: textblock
16865 #: ../fish/guestfish.pod:878
16866 msgid ""
16867 "Used with the I<--remote> option to specify the remote guestfish process to "
16868 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16869 msgstr ""
16870
16871 # type: =item
16872 #: ../fish/guestfish.pod:882
16873 msgid "HEXEDITOR"
16874 msgstr ""
16875
16876 # type: textblock
16877 #: ../fish/guestfish.pod:884
16878 msgid ""
16879 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
16880 "not specified, the external L<hexedit(1)> program is used."
16881 msgstr ""
16882
16883 # type: =item
16884 #: ../fish/guestfish.pod:888
16885 msgid "HOME"
16886 msgstr ""
16887
16888 # type: textblock
16889 #: ../fish/guestfish.pod:890
16890 msgid ""
16891 "If compiled with GNU readline support, various files in the home directory "
16892 "can be used.  See L</FILES>."
16893 msgstr ""
16894
16895 # type: textblock
16896 #: ../fish/guestfish.pod:899
16897 msgid ""
16898 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16899 "effect as using the B<-v> option."
16900 msgstr ""
16901
16902 # type: textblock
16903 #: ../fish/guestfish.pod:911
16904 msgid ""
16905 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16906 "the discussion of paths in L<guestfs(3)>."
16907 msgstr ""
16908
16909 # type: textblock
16910 #: ../fish/guestfish.pod:922
16911 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16912 msgstr ""
16913
16914 # type: =item
16915 #: ../fish/guestfish.pod:924
16916 msgid "PAGER"
16917 msgstr ""
16918
16919 # type: textblock
16920 #: ../fish/guestfish.pod:926
16921 msgid ""
16922 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16923 "C<more>."
16924 msgstr ""
16925
16926 # type: =head1
16927 #: ../fish/guestfish.pod:941 ../test-tool/libguestfs-test-tool.pod:88
16928 msgid "FILES"
16929 msgstr ""
16930
16931 # type: =item
16932 #: ../fish/guestfish.pod:945
16933 msgid "$HOME/.guestfish"
16934 msgstr ""
16935
16936 # type: textblock
16937 #: ../fish/guestfish.pod:947
16938 msgid ""
16939 "If compiled with GNU readline support, then the command history is saved in "
16940 "this file."
16941 msgstr ""
16942
16943 # type: =item
16944 #: ../fish/guestfish.pod:950
16945 msgid "$HOME/.inputrc"
16946 msgstr ""
16947
16948 # type: =item
16949 #: ../fish/guestfish.pod:952
16950 msgid "/etc/inputrc"
16951 msgstr ""
16952
16953 # type: textblock
16954 #: ../fish/guestfish.pod:954
16955 msgid ""
16956 "If compiled with GNU readline support, then these files can be used to "
16957 "configure readline.  For further information, please see "
16958 "L<readline(3)/INITIALIZATION FILE>."
16959 msgstr ""
16960
16961 # type: textblock
16962 #: ../fish/guestfish.pod:958
16963 msgid "To write rules which only apply to guestfish, use:"
16964 msgstr ""
16965
16966 # type: verbatim
16967 #: ../fish/guestfish.pod:960
16968 #, no-wrap
16969 msgid ""
16970 " $if guestfish\n"
16971 " ...\n"
16972 " $endif\n"
16973 "\n"
16974 msgstr ""
16975
16976 # type: textblock
16977 #: ../fish/guestfish.pod:964
16978 msgid ""
16979 "Variables that you can set in inputrc that change the behaviour of guestfish "
16980 "in useful ways include:"
16981 msgstr ""
16982
16983 # type: =item
16984 #: ../fish/guestfish.pod:969
16985 msgid "completion-ignore-case (default: on)"
16986 msgstr ""
16987
16988 # type: textblock
16989 #: ../fish/guestfish.pod:971
16990 msgid ""
16991 "By default, guestfish will ignore case when tab-completing paths on the "
16992 "disk.  Use:"
16993 msgstr ""
16994
16995 # type: verbatim
16996 #: ../fish/guestfish.pod:974
16997 #, no-wrap
16998 msgid ""
16999 " set completion-ignore-case off\n"
17000 "\n"
17001 msgstr ""
17002
17003 # type: textblock
17004 #: ../fish/guestfish.pod:976
17005 msgid "to make guestfish case sensitive."
17006 msgstr ""
17007
17008 # type: =item
17009 #: ../fish/guestfish.pod:980
17010 msgid "test1.img"
17011 msgstr ""
17012
17013 # type: =item
17014 #: ../fish/guestfish.pod:982
17015 msgid "test2.img (etc)"
17016 msgstr ""
17017
17018 # type: textblock
17019 #: ../fish/guestfish.pod:984
17020 msgid ""
17021 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
17022 "will be created in the file C<test1.img> in the current directory.  The "
17023 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
17024 "the same name will be overwritten."
17025 msgstr ""
17026
17027 # type: textblock
17028 #: ../fish/guestfish.pod:993
17029 msgid ""
17030 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
17031 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
17032 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
17033 "L<virt-tar(1)>, L<virt-win-reg(1)>, L<hexedit(1)>."
17034 msgstr ""
17035
17036 # type: textblock
17037 #: ../fish/guestfish.pod:1017 ../test-tool/libguestfs-test-tool.pod:124 ../fuse/guestmount.pod:234 ../inspector/virt-inspector.pl:598 ../tools/virt-edit.pl:370 ../tools/virt-win-reg.pl:518 ../tools/virt-df.pl:657 ../tools/virt-ls.pl:251 ../tools/virt-resize.pl:1516 ../tools/virt-list-filesystems.pl:206 ../tools/virt-cat.pl:203 ../tools/virt-tar.pl:300 ../tools/virt-rescue.pl:285 ../tools/virt-make-fs.pl:567 ../tools/virt-list-partitions.pl:273
17038 msgid ""
17039 "This program is free software; you can redistribute it and/or modify it "
17040 "under the terms of the GNU General Public License as published by the Free "
17041 "Software Foundation; either version 2 of the License, or (at your option) "
17042 "any later version."
17043 msgstr ""
17044
17045 # type: textblock
17046 #: ../fish/guestfish.pod:1022 ../test-tool/libguestfs-test-tool.pod:129 ../fuse/guestmount.pod:239 ../inspector/virt-inspector.pl:603 ../tools/virt-edit.pl:375 ../tools/virt-win-reg.pl:523 ../tools/virt-df.pl:662 ../tools/virt-ls.pl:256 ../tools/virt-resize.pl:1521 ../tools/virt-list-filesystems.pl:211 ../tools/virt-cat.pl:208 ../tools/virt-tar.pl:305 ../tools/virt-rescue.pl:290 ../tools/virt-make-fs.pl:572 ../tools/virt-list-partitions.pl:278
17047 msgid ""
17048 "This program is distributed in the hope that it will be useful, but WITHOUT "
17049 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
17050 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
17051 "more details."
17052 msgstr ""
17053
17054 # type: textblock
17055 #: ../fish/guestfish.pod:1027 ../test-tool/libguestfs-test-tool.pod:134 ../fuse/guestmount.pod:244 ../inspector/virt-inspector.pl:608 ../tools/virt-edit.pl:380 ../tools/virt-win-reg.pl:528 ../tools/virt-df.pl:667 ../tools/virt-ls.pl:261 ../tools/virt-resize.pl:1526 ../tools/virt-list-filesystems.pl:216 ../tools/virt-cat.pl:213 ../tools/virt-tar.pl:310 ../tools/virt-rescue.pl:295 ../tools/virt-make-fs.pl:577 ../tools/virt-list-partitions.pl:283
17056 msgid ""
17057 "You should have received a copy of the GNU General Public License along with "
17058 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
17059 "Ave, Cambridge, MA 02139, USA."
17060 msgstr ""
17061
17062 # type: =head2
17063 #: ../fish/guestfish-actions.pod:1
17064 msgid "add-cdrom"
17065 msgstr ""
17066
17067 # type: verbatim
17068 #: ../fish/guestfish-actions.pod:3
17069 #, no-wrap
17070 msgid ""
17071 " add-cdrom filename\n"
17072 "\n"
17073 msgstr ""
17074
17075 # type: textblock
17076 #: ../fish/guestfish-actions.pod:15
17077 msgid ""
17078 "This call checks for the existence of C<filename>.  This stops you from "
17079 "specifying other types of drive which are supported by qemu such as C<nbd:> "
17080 "and C<http:> URLs.  To specify those, use the general L</config> call "
17081 "instead."
17082 msgstr ""
17083
17084 # type: textblock
17085 #: ../fish/guestfish-actions.pod:22
17086 msgid ""
17087 "If you just want to add an ISO file (often you use this as an efficient way "
17088 "to transfer large files into the guest), then you should probably use "
17089 "L</add-drive-ro> instead."
17090 msgstr ""
17091
17092 # type: =head2
17093 #: ../fish/guestfish-actions.pod:35
17094 msgid "add-drive"
17095 msgstr ""
17096
17097 # type: verbatim
17098 #: ../fish/guestfish-actions.pod:37
17099 #, no-wrap
17100 msgid ""
17101 " add-drive filename\n"
17102 "\n"
17103 msgstr ""
17104
17105 # type: textblock
17106 #: ../fish/guestfish-actions.pod:39
17107 msgid ""
17108 "This function is the equivalent of calling L</add-drive-opts> with no "
17109 "optional parameters, so the disk is added writable, with the format being "
17110 "detected automatically."
17111 msgstr ""
17112
17113 # type: textblock
17114 #: ../fish/guestfish-actions.pod:43
17115 msgid ""
17116 "Automatic detection of the format opens you up to a potential security hole "
17117 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
17118 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
17119 "you should think about replacing calls to this function with calls to "
17120 "L</add-drive-opts>, and specifying the format."
17121 msgstr ""
17122
17123 # type: =head2
17124 #: ../fish/guestfish-actions.pod:50
17125 msgid "add-drive-opts"
17126 msgstr ""
17127
17128 # type: =head2
17129 #: ../fish/guestfish-actions.pod:52
17130 msgid "add"
17131 msgstr ""
17132
17133 # type: verbatim
17134 #: ../fish/guestfish-actions.pod:54
17135 #, no-wrap
17136 msgid ""
17137 " add-drive-opts filename [readonly:..] [format:..] [iface:..]\n"
17138 "\n"
17139 msgstr ""
17140
17141 # type: textblock
17142 #: ../fish/guestfish-actions.pod:81
17143 msgid ""
17144 "This forces the image format.  If you omit this (or use L</add-drive> or "
17145 "L</add-drive-ro>) then the format is automatically detected.  Possible "
17146 "formats include C<raw> and C<qcow2>."
17147 msgstr ""
17148
17149 # type: textblock
17150 #: ../fish/guestfish-actions.pod:92
17151 msgid ""
17152 "This rarely-used option lets you emulate the behaviour of the deprecated "
17153 "L</add-drive-with-if> call (q.v.)"
17154 msgstr ""
17155
17156 # type: textblock
17157 #: ../fish/guestfish-actions.pod:97
17158 msgid ""
17159 "This command has one or more optional arguments.  See L</OPTIONAL "
17160 "ARGUMENTS>."
17161 msgstr ""
17162
17163 # type: =head2
17164 #: ../fish/guestfish-actions.pod:99
17165 msgid "add-drive-ro"
17166 msgstr ""
17167
17168 # type: =head2
17169 #: ../fish/guestfish-actions.pod:101
17170 msgid "add-ro"
17171 msgstr ""
17172
17173 # type: verbatim
17174 #: ../fish/guestfish-actions.pod:103
17175 #, no-wrap
17176 msgid ""
17177 " add-drive-ro filename\n"
17178 "\n"
17179 msgstr ""
17180
17181 # type: textblock
17182 #: ../fish/guestfish-actions.pod:105
17183 msgid ""
17184 "This function is the equivalent of calling L</add-drive-opts> with the "
17185 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
17186 "is added read-only, with the format being detected automatically."
17187 msgstr ""
17188
17189 # type: =head2
17190 #: ../fish/guestfish-actions.pod:110
17191 msgid "add-drive-ro-with-if"
17192 msgstr ""
17193
17194 # type: verbatim
17195 #: ../fish/guestfish-actions.pod:112
17196 #, no-wrap
17197 msgid ""
17198 " add-drive-ro-with-if filename iface\n"
17199 "\n"
17200 msgstr ""
17201
17202 # type: textblock
17203 #: ../fish/guestfish-actions.pod:114
17204 msgid ""
17205 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
17206 "interface emulation to use at run time."
17207 msgstr ""
17208
17209 # type: =head2
17210 #: ../fish/guestfish-actions.pod:124
17211 msgid "add-drive-with-if"
17212 msgstr ""
17213
17214 # type: verbatim
17215 #: ../fish/guestfish-actions.pod:126
17216 #, no-wrap
17217 msgid ""
17218 " add-drive-with-if filename iface\n"
17219 "\n"
17220 msgstr ""
17221
17222 # type: textblock
17223 #: ../fish/guestfish-actions.pod:128
17224 msgid ""
17225 "This is the same as L</add-drive> but it allows you to specify the QEMU "
17226 "interface emulation to use at run time."
17227 msgstr ""
17228
17229 # type: =head2
17230 #: ../fish/guestfish-actions.pod:138
17231 msgid "aug-clear"
17232 msgstr ""
17233
17234 # type: verbatim
17235 #: ../fish/guestfish-actions.pod:140
17236 #, no-wrap
17237 msgid ""
17238 " aug-clear augpath\n"
17239 "\n"
17240 msgstr ""
17241
17242 # type: =head2
17243 #: ../fish/guestfish-actions.pod:145
17244 msgid "aug-close"
17245 msgstr ""
17246
17247 # type: verbatim
17248 #: ../fish/guestfish-actions.pod:147
17249 #, no-wrap
17250 msgid ""
17251 " aug-close\n"
17252 "\n"
17253 msgstr ""
17254
17255 # type: textblock
17256 #: ../fish/guestfish-actions.pod:149
17257 msgid ""
17258 "Close the current Augeas handle and free up any resources used by it.  After "
17259 "calling this, you have to call L</aug-init> again before you can use any "
17260 "other Augeas functions."
17261 msgstr ""
17262
17263 # type: =head2
17264 #: ../fish/guestfish-actions.pod:154
17265 msgid "aug-defnode"
17266 msgstr ""
17267
17268 # type: verbatim
17269 #: ../fish/guestfish-actions.pod:156
17270 #, no-wrap
17271 msgid ""
17272 " aug-defnode name expr val\n"
17273 "\n"
17274 msgstr ""
17275
17276 # type: textblock
17277 #: ../fish/guestfish-actions.pod:161
17278 msgid ""
17279 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
17280 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
17281 "containing that single node."
17282 msgstr ""
17283
17284 # type: =head2
17285 #: ../fish/guestfish-actions.pod:169
17286 msgid "aug-defvar"
17287 msgstr ""
17288
17289 # type: verbatim
17290 #: ../fish/guestfish-actions.pod:171
17291 #, no-wrap
17292 msgid ""
17293 " aug-defvar name expr\n"
17294 "\n"
17295 msgstr ""
17296
17297 # type: =head2
17298 #: ../fish/guestfish-actions.pod:180
17299 msgid "aug-get"
17300 msgstr ""
17301
17302 # type: verbatim
17303 #: ../fish/guestfish-actions.pod:182
17304 #, no-wrap
17305 msgid ""
17306 " aug-get augpath\n"
17307 "\n"
17308 msgstr ""
17309
17310 # type: =head2
17311 #: ../fish/guestfish-actions.pod:187
17312 msgid "aug-init"
17313 msgstr ""
17314
17315 # type: verbatim
17316 #: ../fish/guestfish-actions.pod:189
17317 #, no-wrap
17318 msgid ""
17319 " aug-init root flags\n"
17320 "\n"
17321 msgstr ""
17322
17323 # type: textblock
17324 #: ../fish/guestfish-actions.pod:195
17325 msgid "You must call this before using any other L</aug-*> commands."
17326 msgstr ""
17327
17328 # type: textblock
17329 #: ../fish/guestfish-actions.pod:230
17330 msgid "Do not load the tree in L</aug-init>."
17331 msgstr ""
17332
17333 # type: textblock
17334 #: ../fish/guestfish-actions.pod:234
17335 msgid "To close the handle, you can call L</aug-close>."
17336 msgstr ""
17337
17338 # type: =head2
17339 #: ../fish/guestfish-actions.pod:238
17340 msgid "aug-insert"
17341 msgstr ""
17342
17343 # type: verbatim
17344 #: ../fish/guestfish-actions.pod:240
17345 #, no-wrap
17346 msgid ""
17347 " aug-insert augpath label true|false\n"
17348 "\n"
17349 msgstr ""
17350
17351 # type: =head2
17352 #: ../fish/guestfish-actions.pod:250
17353 msgid "aug-load"
17354 msgstr ""
17355
17356 # type: verbatim
17357 #: ../fish/guestfish-actions.pod:252
17358 #, no-wrap
17359 msgid ""
17360 " aug-load\n"
17361 "\n"
17362 msgstr ""
17363
17364 # type: =head2
17365 #: ../fish/guestfish-actions.pod:259
17366 msgid "aug-ls"
17367 msgstr ""
17368
17369 # type: verbatim
17370 #: ../fish/guestfish-actions.pod:261
17371 #, no-wrap
17372 msgid ""
17373 " aug-ls augpath\n"
17374 "\n"
17375 msgstr ""
17376
17377 # type: textblock
17378 #: ../fish/guestfish-actions.pod:263
17379 msgid ""
17380 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
17381 "resulting nodes into alphabetical order."
17382 msgstr ""
17383
17384 # type: =head2
17385 #: ../fish/guestfish-actions.pod:266
17386 msgid "aug-match"
17387 msgstr ""
17388
17389 # type: verbatim
17390 #: ../fish/guestfish-actions.pod:268
17391 #, no-wrap
17392 msgid ""
17393 " aug-match augpath\n"
17394 "\n"
17395 msgstr ""
17396
17397 # type: =head2
17398 #: ../fish/guestfish-actions.pod:274
17399 msgid "aug-mv"
17400 msgstr ""
17401
17402 # type: verbatim
17403 #: ../fish/guestfish-actions.pod:276
17404 #, no-wrap
17405 msgid ""
17406 " aug-mv src dest\n"
17407 "\n"
17408 msgstr ""
17409
17410 # type: =head2
17411 #: ../fish/guestfish-actions.pod:281
17412 msgid "aug-rm"
17413 msgstr ""
17414
17415 # type: verbatim
17416 #: ../fish/guestfish-actions.pod:283
17417 #, no-wrap
17418 msgid ""
17419 " aug-rm augpath\n"
17420 "\n"
17421 msgstr ""
17422
17423 # type: =head2
17424 #: ../fish/guestfish-actions.pod:289
17425 msgid "aug-save"
17426 msgstr ""
17427
17428 # type: verbatim
17429 #: ../fish/guestfish-actions.pod:291
17430 #, no-wrap
17431 msgid ""
17432 " aug-save\n"
17433 "\n"
17434 msgstr ""
17435
17436 # type: textblock
17437 #: ../fish/guestfish-actions.pod:295
17438 msgid ""
17439 "The flags which were passed to L</aug-init> affect exactly how files are "
17440 "saved."
17441 msgstr ""
17442
17443 # type: =head2
17444 #: ../fish/guestfish-actions.pod:298
17445 msgid "aug-set"
17446 msgstr ""
17447
17448 # type: verbatim
17449 #: ../fish/guestfish-actions.pod:300
17450 #, no-wrap
17451 msgid ""
17452 " aug-set augpath val\n"
17453 "\n"
17454 msgstr ""
17455
17456 # type: textblock
17457 #: ../fish/guestfish-actions.pod:304
17458 msgid ""
17459 "In the Augeas API, it is possible to clear a node by setting the value to "
17460 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
17461 "this call.  Instead you must use the L</aug-clear> call."
17462 msgstr ""
17463
17464 # type: =head2
17465 #: ../fish/guestfish-actions.pod:309
17466 msgid "available"
17467 msgstr ""
17468
17469 # type: verbatim
17470 #: ../fish/guestfish-actions.pod:311
17471 #, no-wrap
17472 msgid ""
17473 " available 'groups ...'\n"
17474 "\n"
17475 msgstr ""
17476
17477 # type: textblock
17478 #: ../fish/guestfish-actions.pod:317
17479 msgid ""
17480 "The libguestfs groups, and the functions that those groups correspond to, "
17481 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
17482 "runtime by calling L</available-all-groups>."
17483 msgstr ""
17484
17485 # type: textblock
17486 #: ../fish/guestfish-actions.pod:341
17487 msgid "You must call L</launch> before calling this function."
17488 msgstr ""
17489
17490 # type: textblock
17491 #: ../fish/guestfish-actions.pod:363
17492 msgid ""
17493 "This call was added in version C<1.0.80>.  In previous versions of "
17494 "libguestfs all you could do would be to speculatively execute a command to "
17495 "find out if the daemon implemented it.  See also L</version>."
17496 msgstr ""
17497
17498 # type: =head2
17499 #: ../fish/guestfish-actions.pod:370
17500 msgid "available-all-groups"
17501 msgstr ""
17502
17503 # type: verbatim
17504 #: ../fish/guestfish-actions.pod:372
17505 #, no-wrap
17506 msgid ""
17507 " available-all-groups\n"
17508 "\n"
17509 msgstr ""
17510
17511 # type: textblock
17512 #: ../fish/guestfish-actions.pod:374
17513 msgid ""
17514 "This command returns a list of all optional groups that this daemon knows "
17515 "about.  Note this returns both supported and unsupported groups.  To find "
17516 "out which ones the daemon can actually support you have to call "
17517 "L</available> on each member of the returned list."
17518 msgstr ""
17519
17520 # type: textblock
17521 #: ../fish/guestfish-actions.pod:380
17522 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
17523 msgstr ""
17524
17525 # type: =head2
17526 #: ../fish/guestfish-actions.pod:382
17527 msgid "base64-in"
17528 msgstr ""
17529
17530 # type: verbatim
17531 #: ../fish/guestfish-actions.pod:384
17532 #, no-wrap
17533 msgid ""
17534 " base64-in (base64file|-) filename\n"
17535 "\n"
17536 msgstr ""
17537
17538 # type: textblock
17539 #: ../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:3932 ../fish/guestfish-actions.pod:3944 ../fish/guestfish-actions.pod:3955 ../fish/guestfish-actions.pod:3966 ../fish/guestfish-actions.pod:4018 ../fish/guestfish-actions.pod:4027 ../fish/guestfish-actions.pod:4081 ../fish/guestfish-actions.pod:4104
17540 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
17541 msgstr ""
17542
17543 # type: =head2
17544 #: ../fish/guestfish-actions.pod:391
17545 msgid "base64-out"
17546 msgstr ""
17547
17548 # type: verbatim
17549 #: ../fish/guestfish-actions.pod:393
17550 #, no-wrap
17551 msgid ""
17552 " base64-out filename (base64file|-)\n"
17553 "\n"
17554 msgstr ""
17555
17556 # type: =head2
17557 #: ../fish/guestfish-actions.pod:400
17558 msgid "blockdev-flushbufs"
17559 msgstr ""
17560
17561 # type: verbatim
17562 #: ../fish/guestfish-actions.pod:402
17563 #, no-wrap
17564 msgid ""
17565 " blockdev-flushbufs device\n"
17566 "\n"
17567 msgstr ""
17568
17569 # type: =head2
17570 #: ../fish/guestfish-actions.pod:409
17571 msgid "blockdev-getbsz"
17572 msgstr ""
17573
17574 # type: verbatim
17575 #: ../fish/guestfish-actions.pod:411
17576 #, no-wrap
17577 msgid ""
17578 " blockdev-getbsz device\n"
17579 "\n"
17580 msgstr ""
17581
17582 # type: =head2
17583 #: ../fish/guestfish-actions.pod:420
17584 msgid "blockdev-getro"
17585 msgstr ""
17586
17587 # type: verbatim
17588 #: ../fish/guestfish-actions.pod:422
17589 #, no-wrap
17590 msgid ""
17591 " blockdev-getro device\n"
17592 "\n"
17593 msgstr ""
17594
17595 # type: =head2
17596 #: ../fish/guestfish-actions.pod:429
17597 msgid "blockdev-getsize64"
17598 msgstr ""
17599
17600 # type: verbatim
17601 #: ../fish/guestfish-actions.pod:431
17602 #, no-wrap
17603 msgid ""
17604 " blockdev-getsize64 device\n"
17605 "\n"
17606 msgstr ""
17607
17608 # type: textblock
17609 #: ../fish/guestfish-actions.pod:435
17610 msgid "See also L</blockdev-getsz>."
17611 msgstr ""
17612
17613 # type: =head2
17614 #: ../fish/guestfish-actions.pod:439
17615 msgid "blockdev-getss"
17616 msgstr ""
17617
17618 # type: verbatim
17619 #: ../fish/guestfish-actions.pod:441
17620 #, no-wrap
17621 msgid ""
17622 " blockdev-getss device\n"
17623 "\n"
17624 msgstr ""
17625
17626 # type: textblock
17627 #: ../fish/guestfish-actions.pod:446
17628 msgid "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
17629 msgstr ""
17630
17631 # type: =head2
17632 #: ../fish/guestfish-actions.pod:451
17633 msgid "blockdev-getsz"
17634 msgstr ""
17635
17636 # type: verbatim
17637 #: ../fish/guestfish-actions.pod:453
17638 #, no-wrap
17639 msgid ""
17640 " blockdev-getsz device\n"
17641 "\n"
17642 msgstr ""
17643
17644 # type: textblock
17645 #: ../fish/guestfish-actions.pod:458
17646 msgid ""
17647 "See also L</blockdev-getss> for the real sector size of the device, and "
17648 "L</blockdev-getsize64> for the more useful I<size in bytes>."
17649 msgstr ""
17650
17651 # type: =head2
17652 #: ../fish/guestfish-actions.pod:464
17653 msgid "blockdev-rereadpt"
17654 msgstr ""
17655
17656 # type: verbatim
17657 #: ../fish/guestfish-actions.pod:466
17658 #, no-wrap
17659 msgid ""
17660 " blockdev-rereadpt device\n"
17661 "\n"
17662 msgstr ""
17663
17664 # type: =head2
17665 #: ../fish/guestfish-actions.pod:472
17666 msgid "blockdev-setbsz"
17667 msgstr ""
17668
17669 # type: verbatim
17670 #: ../fish/guestfish-actions.pod:474
17671 #, no-wrap
17672 msgid ""
17673 " blockdev-setbsz device blocksize\n"
17674 "\n"
17675 msgstr ""
17676
17677 # type: =head2
17678 #: ../fish/guestfish-actions.pod:483
17679 msgid "blockdev-setro"
17680 msgstr ""
17681
17682 # type: verbatim
17683 #: ../fish/guestfish-actions.pod:485
17684 #, no-wrap
17685 msgid ""
17686 " blockdev-setro device\n"
17687 "\n"
17688 msgstr ""
17689
17690 # type: =head2
17691 #: ../fish/guestfish-actions.pod:491
17692 msgid "blockdev-setrw"
17693 msgstr ""
17694
17695 # type: verbatim
17696 #: ../fish/guestfish-actions.pod:493
17697 #, no-wrap
17698 msgid ""
17699 " blockdev-setrw device\n"
17700 "\n"
17701 msgstr ""
17702
17703 # type: =head2
17704 #: ../fish/guestfish-actions.pod:499
17705 msgid "case-sensitive-path"
17706 msgstr ""
17707
17708 # type: verbatim
17709 #: ../fish/guestfish-actions.pod:501
17710 #, no-wrap
17711 msgid ""
17712 " case-sensitive-path path\n"
17713 "\n"
17714 msgstr ""
17715
17716 # type: textblock
17717 #: ../fish/guestfish-actions.pod:525
17718 msgid ""
17719 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return "
17720 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
17721 "how the directories were originally created under Windows)."
17722 msgstr ""
17723
17724 # type: textblock
17725 #: ../fish/guestfish-actions.pod:533
17726 msgid "See also L</realpath>."
17727 msgstr ""
17728
17729 # type: =head2
17730 #: ../fish/guestfish-actions.pod:535
17731 msgid "cat"
17732 msgstr ""
17733
17734 # type: verbatim
17735 #: ../fish/guestfish-actions.pod:537
17736 #, no-wrap
17737 msgid ""
17738 " cat path\n"
17739 "\n"
17740 msgstr ""
17741
17742 # type: textblock
17743 #: ../fish/guestfish-actions.pod:541
17744 msgid ""
17745 "Note that this function cannot correctly handle binary files (specifically, "
17746 "files containing C<\\0> character which is treated as end of string).  For "
17747 "those you need to use the L</read-file> or L</download> functions which have "
17748 "a more complex interface."
17749 msgstr ""
17750
17751 # type: =head2
17752 #: ../fish/guestfish-actions.pod:549
17753 msgid "checksum"
17754 msgstr ""
17755
17756 # type: verbatim
17757 #: ../fish/guestfish-actions.pod:551
17758 #, no-wrap
17759 msgid ""
17760 " checksum csumtype path\n"
17761 "\n"
17762 msgstr ""
17763
17764 # type: textblock
17765 #: ../fish/guestfish-actions.pod:594
17766 msgid "To get the checksum for a device, use L</checksum-device>."
17767 msgstr ""
17768
17769 # type: textblock
17770 #: ../fish/guestfish-actions.pod:596
17771 msgid "To get the checksums for many files, use L</checksums-out>."
17772 msgstr ""
17773
17774 # type: =head2
17775 #: ../fish/guestfish-actions.pod:598
17776 msgid "checksum-device"
17777 msgstr ""
17778
17779 # type: verbatim
17780 #: ../fish/guestfish-actions.pod:600
17781 #, no-wrap
17782 msgid ""
17783 " checksum-device csumtype device\n"
17784 "\n"
17785 msgstr ""
17786
17787 # type: textblock
17788 #: ../fish/guestfish-actions.pod:602
17789 msgid ""
17790 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17791 "device named C<device>.  For the types of checksums supported see the "
17792 "L</checksum> command."
17793 msgstr ""
17794
17795 # type: =head2
17796 #: ../fish/guestfish-actions.pod:606
17797 msgid "checksums-out"
17798 msgstr ""
17799
17800 # type: verbatim
17801 #: ../fish/guestfish-actions.pod:608
17802 #, no-wrap
17803 msgid ""
17804 " checksums-out csumtype directory (sumsfile|-)\n"
17805 "\n"
17806 msgstr ""
17807
17808 # type: =head2
17809 #: ../fish/guestfish-actions.pod:624
17810 msgid "chmod"
17811 msgstr ""
17812
17813 # type: verbatim
17814 #: ../fish/guestfish-actions.pod:626
17815 #, no-wrap
17816 msgid ""
17817 " chmod mode path\n"
17818 "\n"
17819 msgstr ""
17820
17821 # type: =head2
17822 #: ../fish/guestfish-actions.pod:637
17823 msgid "chown"
17824 msgstr ""
17825
17826 # type: verbatim
17827 #: ../fish/guestfish-actions.pod:639
17828 #, no-wrap
17829 msgid ""
17830 " chown owner group path\n"
17831 "\n"
17832 msgstr ""
17833
17834 # type: =head2
17835 #: ../fish/guestfish-actions.pod:647
17836 msgid "command"
17837 msgstr ""
17838
17839 # type: verbatim
17840 #: ../fish/guestfish-actions.pod:649
17841 #, no-wrap
17842 msgid ""
17843 " command 'arguments ...'\n"
17844 "\n"
17845 msgstr ""
17846
17847 # type: textblock
17848 #: ../fish/guestfish-actions.pod:656
17849 msgid ""
17850 "The single parameter is an argv-style list of arguments.  The first element "
17851 "is the name of the program to run.  Subsequent elements are parameters.  The "
17852 "list must be non-empty (ie. must contain a program name).  Note that the "
17853 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
17854 msgstr ""
17855
17856 # type: =head2
17857 #: ../fish/guestfish-actions.pod:684
17858 msgid "command-lines"
17859 msgstr ""
17860
17861 # type: verbatim
17862 #: ../fish/guestfish-actions.pod:686
17863 #, no-wrap
17864 msgid ""
17865 " command-lines 'arguments ...'\n"
17866 "\n"
17867 msgstr ""
17868
17869 # type: textblock
17870 #: ../fish/guestfish-actions.pod:688
17871 msgid "This is the same as L</command>, but splits the result into a list of lines."
17872 msgstr ""
17873
17874 # type: textblock
17875 #: ../fish/guestfish-actions.pod:691
17876 msgid "See also: L</sh-lines>"
17877 msgstr ""
17878
17879 # type: =head2
17880 #: ../fish/guestfish-actions.pod:696
17881 msgid "config"
17882 msgstr ""
17883
17884 # type: verbatim
17885 #: ../fish/guestfish-actions.pod:698
17886 #, no-wrap
17887 msgid ""
17888 " config qemuparam qemuvalue\n"
17889 "\n"
17890 msgstr ""
17891
17892 # type: =head2
17893 #: ../fish/guestfish-actions.pod:709
17894 msgid "copy-size"
17895 msgstr ""
17896
17897 # type: verbatim
17898 #: ../fish/guestfish-actions.pod:711
17899 #, no-wrap
17900 msgid ""
17901 " copy-size src dest size\n"
17902 "\n"
17903 msgstr ""
17904
17905 # type: =head2
17906 #: ../fish/guestfish-actions.pod:719
17907 msgid "cp"
17908 msgstr ""
17909
17910 # type: verbatim
17911 #: ../fish/guestfish-actions.pod:721
17912 #, no-wrap
17913 msgid ""
17914 " cp src dest\n"
17915 "\n"
17916 msgstr ""
17917
17918 # type: =head2
17919 #: ../fish/guestfish-actions.pod:726
17920 msgid "cp-a"
17921 msgstr ""
17922
17923 # type: verbatim
17924 #: ../fish/guestfish-actions.pod:728
17925 #, no-wrap
17926 msgid ""
17927 " cp-a src dest\n"
17928 "\n"
17929 msgstr ""
17930
17931 # type: =head2
17932 #: ../fish/guestfish-actions.pod:733
17933 msgid "dd"
17934 msgstr ""
17935
17936 # type: verbatim
17937 #: ../fish/guestfish-actions.pod:735
17938 #, no-wrap
17939 msgid ""
17940 " dd src dest\n"
17941 "\n"
17942 msgstr ""
17943
17944 # type: textblock
17945 #: ../fish/guestfish-actions.pod:742
17946 msgid ""
17947 "If the destination is a device, it must be as large or larger than the "
17948 "source file or device, otherwise the copy will fail.  This command cannot do "
17949 "partial copies (see L</copy-size>)."
17950 msgstr ""
17951
17952 # type: =head2
17953 #: ../fish/guestfish-actions.pod:746
17954 msgid "debug"
17955 msgstr ""
17956
17957 # type: verbatim
17958 #: ../fish/guestfish-actions.pod:748
17959 #, no-wrap
17960 msgid ""
17961 " debug subcmd 'extraargs ...'\n"
17962 "\n"
17963 msgstr ""
17964
17965 # type: textblock
17966 #: ../fish/guestfish-actions.pod:750
17967 msgid ""
17968 "The L</debug> command exposes some internals of C<guestfsd> (the guestfs "
17969 "daemon) that runs inside the qemu subprocess."
17970 msgstr ""
17971
17972 # type: =head2
17973 #: ../fish/guestfish-actions.pod:758
17974 msgid "debug-upload"
17975 msgstr ""
17976
17977 # type: verbatim
17978 #: ../fish/guestfish-actions.pod:760
17979 #, no-wrap
17980 msgid ""
17981 " debug-upload (filename|-) tmpname mode\n"
17982 "\n"
17983 msgstr ""
17984
17985 # type: textblock
17986 #: ../fish/guestfish-actions.pod:762
17987 msgid "The L</debug-upload> command uploads a file to the libguestfs appliance."
17988 msgstr ""
17989
17990 # type: =head2
17991 #: ../fish/guestfish-actions.pod:771
17992 msgid "df"
17993 msgstr ""
17994
17995 # type: verbatim
17996 #: ../fish/guestfish-actions.pod:773
17997 #, no-wrap
17998 msgid ""
17999 " df\n"
18000 "\n"
18001 msgstr ""
18002
18003 # type: =head2
18004 #: ../fish/guestfish-actions.pod:781
18005 msgid "df-h"
18006 msgstr ""
18007
18008 # type: verbatim
18009 #: ../fish/guestfish-actions.pod:783
18010 #, no-wrap
18011 msgid ""
18012 " df-h\n"
18013 "\n"
18014 msgstr ""
18015
18016 # type: =head2
18017 #: ../fish/guestfish-actions.pod:792
18018 msgid "dmesg"
18019 msgstr ""
18020
18021 # type: verbatim
18022 #: ../fish/guestfish-actions.pod:794
18023 #, no-wrap
18024 msgid ""
18025 " dmesg\n"
18026 "\n"
18027 msgstr ""
18028
18029 # type: textblock
18030 #: ../fish/guestfish-actions.pod:800
18031 msgid ""
18032 "Another way to get the same information is to enable verbose messages with "
18033 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
18034 "before running the program."
18035 msgstr ""
18036
18037 # type: =head2
18038 #: ../fish/guestfish-actions.pod:805
18039 msgid "download"
18040 msgstr ""
18041
18042 # type: verbatim
18043 #: ../fish/guestfish-actions.pod:807
18044 #, no-wrap
18045 msgid ""
18046 " download remotefilename (filename|-)\n"
18047 "\n"
18048 msgstr ""
18049
18050 # type: textblock
18051 #: ../fish/guestfish-actions.pod:814
18052 msgid "See also L</upload>, L</cat>."
18053 msgstr ""
18054
18055 # type: =head2
18056 #: ../fish/guestfish-actions.pod:818
18057 msgid "download-offset"
18058 msgstr ""
18059
18060 # type: verbatim
18061 #: ../fish/guestfish-actions.pod:820
18062 #, no-wrap
18063 msgid ""
18064 " download-offset remotefilename (filename|-) offset size\n"
18065 "\n"
18066 msgstr ""
18067
18068 # type: textblock
18069 #: ../fish/guestfish-actions.pod:828
18070 msgid ""
18071 "Note that there is no limit on the amount of data that can be downloaded "
18072 "with this call, unlike with L</pread>, and this call always reads the full "
18073 "amount unless an error occurs."
18074 msgstr ""
18075
18076 # type: textblock
18077 #: ../fish/guestfish-actions.pod:833
18078 msgid "See also L</download>, L</pread>."
18079 msgstr ""
18080
18081 # type: =head2
18082 #: ../fish/guestfish-actions.pod:837
18083 msgid "drop-caches"
18084 msgstr ""
18085
18086 # type: verbatim
18087 #: ../fish/guestfish-actions.pod:839
18088 #, no-wrap
18089 msgid ""
18090 " drop-caches whattodrop\n"
18091 "\n"
18092 msgstr ""
18093
18094 # type: =head2
18095 #: ../fish/guestfish-actions.pod:851
18096 msgid "du"
18097 msgstr ""
18098
18099 # type: verbatim
18100 #: ../fish/guestfish-actions.pod:853
18101 #, no-wrap
18102 msgid ""
18103 " du path\n"
18104 "\n"
18105 msgstr ""
18106
18107 # type: =head2
18108 #: ../fish/guestfish-actions.pod:865
18109 msgid "e2fsck-f"
18110 msgstr ""
18111
18112 # type: verbatim
18113 #: ../fish/guestfish-actions.pod:867
18114 #, no-wrap
18115 msgid ""
18116 " e2fsck-f device\n"
18117 "\n"
18118 msgstr ""
18119
18120 # type: textblock
18121 #: ../fish/guestfish-actions.pod:873
18122 msgid ""
18123 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
18124 "should use L</fsck>."
18125 msgstr ""
18126
18127 # type: =head2
18128 #: ../fish/guestfish-actions.pod:876
18129 msgid "echo-daemon"
18130 msgstr ""
18131
18132 # type: verbatim
18133 #: ../fish/guestfish-actions.pod:878
18134 #, no-wrap
18135 msgid ""
18136 " echo-daemon 'words ...'\n"
18137 "\n"
18138 msgstr ""
18139
18140 # type: textblock
18141 #: ../fish/guestfish-actions.pod:885
18142 msgid "See also L</ping-daemon>."
18143 msgstr ""
18144
18145 # type: =head2
18146 #: ../fish/guestfish-actions.pod:887
18147 msgid "egrep"
18148 msgstr ""
18149
18150 # type: verbatim
18151 #: ../fish/guestfish-actions.pod:889
18152 #, no-wrap
18153 msgid ""
18154 " egrep regex path\n"
18155 "\n"
18156 msgstr ""
18157
18158 # type: =head2
18159 #: ../fish/guestfish-actions.pod:897
18160 msgid "egrepi"
18161 msgstr ""
18162
18163 # type: verbatim
18164 #: ../fish/guestfish-actions.pod:899
18165 #, no-wrap
18166 msgid ""
18167 " egrepi regex path\n"
18168 "\n"
18169 msgstr ""
18170
18171 # type: =head2
18172 #: ../fish/guestfish-actions.pod:907
18173 msgid "equal"
18174 msgstr ""
18175
18176 # type: verbatim
18177 #: ../fish/guestfish-actions.pod:909
18178 #, no-wrap
18179 msgid ""
18180 " equal file1 file2\n"
18181 "\n"
18182 msgstr ""
18183
18184 # type: =head2
18185 #: ../fish/guestfish-actions.pod:916
18186 msgid "exists"
18187 msgstr ""
18188
18189 # type: verbatim
18190 #: ../fish/guestfish-actions.pod:918
18191 #, no-wrap
18192 msgid ""
18193 " exists path\n"
18194 "\n"
18195 msgstr ""
18196
18197 # type: textblock
18198 #: ../fish/guestfish-actions.pod:923
18199 msgid "See also L</is-file>, L</is-dir>, L</stat>."
18200 msgstr ""
18201
18202 # type: =head2
18203 #: ../fish/guestfish-actions.pod:925
18204 msgid "fallocate"
18205 msgstr ""
18206
18207 # type: verbatim
18208 #: ../fish/guestfish-actions.pod:927
18209 #, no-wrap
18210 msgid ""
18211 " fallocate path len\n"
18212 "\n"
18213 msgstr ""
18214
18215 # type: =head2
18216 #: ../fish/guestfish-actions.pod:944
18217 msgid "fallocate64"
18218 msgstr ""
18219
18220 # type: verbatim
18221 #: ../fish/guestfish-actions.pod:946
18222 #, no-wrap
18223 msgid ""
18224 " fallocate64 path len\n"
18225 "\n"
18226 msgstr ""
18227
18228 # type: textblock
18229 #: ../fish/guestfish-actions.pod:952
18230 msgid ""
18231 "Note that this call allocates disk blocks for the file.  To create a sparse "
18232 "file use L</truncate-size> instead."
18233 msgstr ""
18234
18235 # type: textblock
18236 #: ../fish/guestfish-actions.pod:955
18237 msgid ""
18238 "The deprecated call L</fallocate> does the same, but owing to an oversight "
18239 "it only allowed 30 bit lengths to be specified, effectively limiting the "
18240 "maximum size of files created through that call to 1GB."
18241 msgstr ""
18242
18243 # type: =head2
18244 #: ../fish/guestfish-actions.pod:964
18245 msgid "fgrep"
18246 msgstr ""
18247
18248 # type: verbatim
18249 #: ../fish/guestfish-actions.pod:966
18250 #, no-wrap
18251 msgid ""
18252 " fgrep pattern path\n"
18253 "\n"
18254 msgstr ""
18255
18256 # type: =head2
18257 #: ../fish/guestfish-actions.pod:974
18258 msgid "fgrepi"
18259 msgstr ""
18260
18261 # type: verbatim
18262 #: ../fish/guestfish-actions.pod:976
18263 #, no-wrap
18264 msgid ""
18265 " fgrepi pattern path\n"
18266 "\n"
18267 msgstr ""
18268
18269 # type: =head2
18270 #: ../fish/guestfish-actions.pod:984
18271 msgid "file"
18272 msgstr ""
18273
18274 # type: verbatim
18275 #: ../fish/guestfish-actions.pod:986
18276 #, no-wrap
18277 msgid ""
18278 " file path\n"
18279 "\n"
18280 msgstr ""
18281
18282 # type: textblock
18283 #: ../fish/guestfish-actions.pod:998
18284 msgid ""
18285 "This command can also be used on C</dev/> devices (and partitions, LV "
18286 "names).  You can for example use this to determine if a device contains a "
18287 "filesystem, although it's usually better to use L</vfs-type>."
18288 msgstr ""
18289
18290 # type: =head2
18291 #: ../fish/guestfish-actions.pod:1008
18292 msgid "file-architecture"
18293 msgstr ""
18294
18295 # type: verbatim
18296 #: ../fish/guestfish-actions.pod:1010
18297 #, no-wrap
18298 msgid ""
18299 " file-architecture filename\n"
18300 "\n"
18301 msgstr ""
18302
18303 # type: =head2
18304 #: ../fish/guestfish-actions.pod:1113
18305 msgid "filesize"
18306 msgstr ""
18307
18308 # type: verbatim
18309 #: ../fish/guestfish-actions.pod:1115
18310 #, no-wrap
18311 msgid ""
18312 " filesize file\n"
18313 "\n"
18314 msgstr ""
18315
18316 # type: textblock
18317 #: ../fish/guestfish-actions.pod:1119
18318 msgid ""
18319 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, "
18320 "L</is-file> etc.  To get the size of block devices, use "
18321 "L</blockdev-getsize64>."
18322 msgstr ""
18323
18324 # type: =head2
18325 #: ../fish/guestfish-actions.pod:1123
18326 msgid "fill"
18327 msgstr ""
18328
18329 # type: verbatim
18330 #: ../fish/guestfish-actions.pod:1125
18331 #, no-wrap
18332 msgid ""
18333 " fill c len path\n"
18334 "\n"
18335 msgstr ""
18336
18337 # type: textblock
18338 #: ../fish/guestfish-actions.pod:1131
18339 msgid ""
18340 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
18341 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
18342 "L</fill-pattern>."
18343 msgstr ""
18344
18345 # type: =head2
18346 #: ../fish/guestfish-actions.pod:1136
18347 msgid "fill-pattern"
18348 msgstr ""
18349
18350 # type: verbatim
18351 #: ../fish/guestfish-actions.pod:1138
18352 #, no-wrap
18353 msgid ""
18354 " fill-pattern pattern len path\n"
18355 "\n"
18356 msgstr ""
18357
18358 # type: textblock
18359 #: ../fish/guestfish-actions.pod:1140
18360 msgid ""
18361 "This function is like L</fill> except that it creates a new file of length "
18362 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
18363 "is truncated if necessary to ensure the length of the file is exactly C<len> "
18364 "bytes."
18365 msgstr ""
18366
18367 # type: =head2
18368 #: ../fish/guestfish-actions.pod:1145
18369 msgid "find"
18370 msgstr ""
18371
18372 # type: verbatim
18373 #: ../fish/guestfish-actions.pod:1147
18374 #, no-wrap
18375 msgid ""
18376 " find directory\n"
18377 "\n"
18378 msgstr ""
18379
18380 # type: textblock
18381 #: ../fish/guestfish-actions.pod:1161
18382 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
18383 msgstr ""
18384
18385 # type: textblock
18386 #: ../fish/guestfish-actions.pod:1174
18387 msgid "See also L</find0>."
18388 msgstr ""
18389
18390 # type: =head2
18391 #: ../fish/guestfish-actions.pod:1179
18392 msgid "find0"
18393 msgstr ""
18394
18395 # type: verbatim
18396 #: ../fish/guestfish-actions.pod:1181
18397 #, no-wrap
18398 msgid ""
18399 " find0 directory (files|-)\n"
18400 "\n"
18401 msgstr ""
18402
18403 # type: textblock
18404 #: ../fish/guestfish-actions.pod:1187
18405 msgid "This command works the same way as L</find> with the following exceptions:"
18406 msgstr ""
18407
18408 # type: =head2
18409 #: ../fish/guestfish-actions.pod:1214
18410 msgid "findfs-label"
18411 msgstr ""
18412
18413 # type: verbatim
18414 #: ../fish/guestfish-actions.pod:1216
18415 #, no-wrap
18416 msgid ""
18417 " findfs-label label\n"
18418 "\n"
18419 msgstr ""
18420
18421 # type: textblock
18422 #: ../fish/guestfish-actions.pod:1222
18423 msgid "To find the label of a filesystem, use L</vfs-label>."
18424 msgstr ""
18425
18426 # type: =head2
18427 #: ../fish/guestfish-actions.pod:1224
18428 msgid "findfs-uuid"
18429 msgstr ""
18430
18431 # type: verbatim
18432 #: ../fish/guestfish-actions.pod:1226
18433 #, no-wrap
18434 msgid ""
18435 " findfs-uuid uuid\n"
18436 "\n"
18437 msgstr ""
18438
18439 # type: textblock
18440 #: ../fish/guestfish-actions.pod:1232
18441 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
18442 msgstr ""
18443
18444 # type: =head2
18445 #: ../fish/guestfish-actions.pod:1234
18446 msgid "fsck"
18447 msgstr ""
18448
18449 # type: verbatim
18450 #: ../fish/guestfish-actions.pod:1236
18451 #, no-wrap
18452 msgid ""
18453 " fsck fstype device\n"
18454 "\n"
18455 msgstr ""
18456
18457 # type: =head2
18458 #: ../fish/guestfish-actions.pod:1266
18459 msgid "get-append"
18460 msgstr ""
18461
18462 # type: verbatim
18463 #: ../fish/guestfish-actions.pod:1268
18464 #, no-wrap
18465 msgid ""
18466 " get-append\n"
18467 "\n"
18468 msgstr ""
18469
18470 # type: =head2
18471 #: ../fish/guestfish-actions.pod:1275
18472 msgid "get-autosync"
18473 msgstr ""
18474
18475 # type: verbatim
18476 #: ../fish/guestfish-actions.pod:1277
18477 #, no-wrap
18478 msgid ""
18479 " get-autosync\n"
18480 "\n"
18481 msgstr ""
18482
18483 # type: =head2
18484 #: ../fish/guestfish-actions.pod:1281
18485 msgid "get-direct"
18486 msgstr ""
18487
18488 # type: verbatim
18489 #: ../fish/guestfish-actions.pod:1283
18490 #, no-wrap
18491 msgid ""
18492 " get-direct\n"
18493 "\n"
18494 msgstr ""
18495
18496 # type: =head2
18497 #: ../fish/guestfish-actions.pod:1287
18498 msgid "get-e2label"
18499 msgstr ""
18500
18501 # type: verbatim
18502 #: ../fish/guestfish-actions.pod:1289
18503 #, no-wrap
18504 msgid ""
18505 " get-e2label device\n"
18506 "\n"
18507 msgstr ""
18508
18509 # type: =head2
18510 #: ../fish/guestfish-actions.pod:1301
18511 msgid "get-e2uuid"
18512 msgstr ""
18513
18514 # type: verbatim
18515 #: ../fish/guestfish-actions.pod:1303
18516 #, no-wrap
18517 msgid ""
18518 " get-e2uuid device\n"
18519 "\n"
18520 msgstr ""
18521
18522 # type: =head2
18523 #: ../fish/guestfish-actions.pod:1315
18524 msgid "get-memsize"
18525 msgstr ""
18526
18527 # type: verbatim
18528 #: ../fish/guestfish-actions.pod:1317
18529 #, no-wrap
18530 msgid ""
18531 " get-memsize\n"
18532 "\n"
18533 msgstr ""
18534
18535 # type: textblock
18536 #: ../fish/guestfish-actions.pod:1322
18537 msgid ""
18538 "If L</set-memsize> was not called on this handle, and if "
18539 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
18540 "value for memsize."
18541 msgstr ""
18542
18543 # type: =head2
18544 #: ../fish/guestfish-actions.pod:1329
18545 msgid "get-network"
18546 msgstr ""
18547
18548 # type: verbatim
18549 #: ../fish/guestfish-actions.pod:1331
18550 #, no-wrap
18551 msgid ""
18552 " get-network\n"
18553 "\n"
18554 msgstr ""
18555
18556 # type: =head2
18557 #: ../fish/guestfish-actions.pod:1335
18558 msgid "get-path"
18559 msgstr ""
18560
18561 # type: verbatim
18562 #: ../fish/guestfish-actions.pod:1337
18563 #, no-wrap
18564 msgid ""
18565 " get-path\n"
18566 "\n"
18567 msgstr ""
18568
18569 # type: =head2
18570 #: ../fish/guestfish-actions.pod:1344
18571 msgid "get-pid"
18572 msgstr ""
18573
18574 # type: =head2
18575 #: ../fish/guestfish-actions.pod:1346
18576 msgid "pid"
18577 msgstr ""
18578
18579 # type: verbatim
18580 #: ../fish/guestfish-actions.pod:1348
18581 #, no-wrap
18582 msgid ""
18583 " get-pid\n"
18584 "\n"
18585 msgstr ""
18586
18587 # type: =head2
18588 #: ../fish/guestfish-actions.pod:1355
18589 msgid "get-qemu"
18590 msgstr ""
18591
18592 # type: verbatim
18593 #: ../fish/guestfish-actions.pod:1357
18594 #, no-wrap
18595 msgid ""
18596 " get-qemu\n"
18597 "\n"
18598 msgstr ""
18599
18600 # type: =head2
18601 #: ../fish/guestfish-actions.pod:1364
18602 msgid "get-recovery-proc"
18603 msgstr ""
18604
18605 # type: verbatim
18606 #: ../fish/guestfish-actions.pod:1366
18607 #, no-wrap
18608 msgid ""
18609 " get-recovery-proc\n"
18610 "\n"
18611 msgstr ""
18612
18613 # type: =head2
18614 #: ../fish/guestfish-actions.pod:1370
18615 msgid "get-selinux"
18616 msgstr ""
18617
18618 # type: verbatim
18619 #: ../fish/guestfish-actions.pod:1372
18620 #, no-wrap
18621 msgid ""
18622 " get-selinux\n"
18623 "\n"
18624 msgstr ""
18625
18626 # type: textblock
18627 #: ../fish/guestfish-actions.pod:1374
18628 msgid ""
18629 "This returns the current setting of the selinux flag which is passed to the "
18630 "appliance at boot time.  See L</set-selinux>."
18631 msgstr ""
18632
18633 # type: =head2
18634 #: ../fish/guestfish-actions.pod:1380
18635 msgid "get-state"
18636 msgstr ""
18637
18638 # type: verbatim
18639 #: ../fish/guestfish-actions.pod:1382
18640 #, no-wrap
18641 msgid ""
18642 " get-state\n"
18643 "\n"
18644 msgstr ""
18645
18646 # type: =head2
18647 #: ../fish/guestfish-actions.pod:1389
18648 msgid "get-trace"
18649 msgstr ""
18650
18651 # type: verbatim
18652 #: ../fish/guestfish-actions.pod:1391
18653 #, no-wrap
18654 msgid ""
18655 " get-trace\n"
18656 "\n"
18657 msgstr ""
18658
18659 # type: =head2
18660 #: ../fish/guestfish-actions.pod:1395
18661 msgid "get-umask"
18662 msgstr ""
18663
18664 # type: verbatim
18665 #: ../fish/guestfish-actions.pod:1397
18666 #, no-wrap
18667 msgid ""
18668 " get-umask\n"
18669 "\n"
18670 msgstr ""
18671
18672 # type: textblock
18673 #: ../fish/guestfish-actions.pod:1399
18674 msgid ""
18675 "Return the current umask.  By default the umask is C<022> unless it has been "
18676 "set by calling L</umask>."
18677 msgstr ""
18678
18679 # type: =head2
18680 #: ../fish/guestfish-actions.pod:1402
18681 msgid "get-verbose"
18682 msgstr ""
18683
18684 # type: verbatim
18685 #: ../fish/guestfish-actions.pod:1404
18686 #, no-wrap
18687 msgid ""
18688 " get-verbose\n"
18689 "\n"
18690 msgstr ""
18691
18692 # type: =head2
18693 #: ../fish/guestfish-actions.pod:1408
18694 msgid "getcon"
18695 msgstr ""
18696
18697 # type: verbatim
18698 #: ../fish/guestfish-actions.pod:1410
18699 #, no-wrap
18700 msgid ""
18701 " getcon\n"
18702 "\n"
18703 msgstr ""
18704
18705 # type: textblock
18706 #: ../fish/guestfish-actions.pod:1414
18707 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
18708 msgstr ""
18709
18710 # type: =head2
18711 #: ../fish/guestfish-actions.pod:1417
18712 msgid "getxattrs"
18713 msgstr ""
18714
18715 # type: verbatim
18716 #: ../fish/guestfish-actions.pod:1419
18717 #, no-wrap
18718 msgid ""
18719 " getxattrs path\n"
18720 "\n"
18721 msgstr ""
18722
18723 # type: textblock
18724 #: ../fish/guestfish-actions.pod:1427
18725 msgid "See also: L</lgetxattrs>, L<attr(5)>."
18726 msgstr ""
18727
18728 # type: =head2
18729 #: ../fish/guestfish-actions.pod:1429
18730 msgid "glob-expand"
18731 msgstr ""
18732
18733 # type: verbatim
18734 #: ../fish/guestfish-actions.pod:1431
18735 #, no-wrap
18736 msgid ""
18737 " glob-expand pattern\n"
18738 "\n"
18739 msgstr ""
18740
18741 # type: =head2
18742 #: ../fish/guestfish-actions.pod:1444
18743 msgid "grep"
18744 msgstr ""
18745
18746 # type: verbatim
18747 #: ../fish/guestfish-actions.pod:1446
18748 #, no-wrap
18749 msgid ""
18750 " grep regex path\n"
18751 "\n"
18752 msgstr ""
18753
18754 # type: =head2
18755 #: ../fish/guestfish-actions.pod:1454
18756 msgid "grepi"
18757 msgstr ""
18758
18759 # type: verbatim
18760 #: ../fish/guestfish-actions.pod:1456
18761 #, no-wrap
18762 msgid ""
18763 " grepi regex path\n"
18764 "\n"
18765 msgstr ""
18766
18767 # type: =head2
18768 #: ../fish/guestfish-actions.pod:1464
18769 msgid "grub-install"
18770 msgstr ""
18771
18772 # type: verbatim
18773 #: ../fish/guestfish-actions.pod:1466
18774 #, no-wrap
18775 msgid ""
18776 " grub-install root device\n"
18777 "\n"
18778 msgstr ""
18779
18780 # type: =head2
18781 #: ../fish/guestfish-actions.pod:1482
18782 msgid "head"
18783 msgstr ""
18784
18785 # type: verbatim
18786 #: ../fish/guestfish-actions.pod:1484
18787 #, no-wrap
18788 msgid ""
18789 " head path\n"
18790 "\n"
18791 msgstr ""
18792
18793 # type: =head2
18794 #: ../fish/guestfish-actions.pod:1492
18795 msgid "head-n"
18796 msgstr ""
18797
18798 # type: verbatim
18799 #: ../fish/guestfish-actions.pod:1494
18800 #, no-wrap
18801 msgid ""
18802 " head-n nrlines path\n"
18803 "\n"
18804 msgstr ""
18805
18806 # type: =head2
18807 #: ../fish/guestfish-actions.pod:1507
18808 msgid "hexdump"
18809 msgstr ""
18810
18811 # type: verbatim
18812 #: ../fish/guestfish-actions.pod:1509
18813 #, no-wrap
18814 msgid ""
18815 " hexdump path\n"
18816 "\n"
18817 msgstr ""
18818
18819 # type: =head2
18820 #: ../fish/guestfish-actions.pod:1517
18821 msgid "initrd-cat"
18822 msgstr ""
18823
18824 # type: verbatim
18825 #: ../fish/guestfish-actions.pod:1519
18826 #, no-wrap
18827 msgid ""
18828 " initrd-cat initrdpath filename\n"
18829 "\n"
18830 msgstr ""
18831
18832 # type: textblock
18833 #: ../fish/guestfish-actions.pod:1531
18834 msgid "See also L</initrd-list>."
18835 msgstr ""
18836
18837 # type: =head2
18838 #: ../fish/guestfish-actions.pod:1536
18839 msgid "initrd-list"
18840 msgstr ""
18841
18842 # type: verbatim
18843 #: ../fish/guestfish-actions.pod:1538
18844 #, no-wrap
18845 msgid ""
18846 " initrd-list path\n"
18847 "\n"
18848 msgstr ""
18849
18850 # type: =head2
18851 #: ../fish/guestfish-actions.pod:1550
18852 msgid "inotify-add-watch"
18853 msgstr ""
18854
18855 # type: verbatim
18856 #: ../fish/guestfish-actions.pod:1552
18857 #, no-wrap
18858 msgid ""
18859 " inotify-add-watch path mask\n"
18860 "\n"
18861 msgstr ""
18862
18863 # type: =head2
18864 #: ../fish/guestfish-actions.pod:1564
18865 msgid "inotify-close"
18866 msgstr ""
18867
18868 # type: verbatim
18869 #: ../fish/guestfish-actions.pod:1566
18870 #, no-wrap
18871 msgid ""
18872 " inotify-close\n"
18873 "\n"
18874 msgstr ""
18875
18876 # type: =head2
18877 #: ../fish/guestfish-actions.pod:1572
18878 msgid "inotify-files"
18879 msgstr ""
18880
18881 # type: verbatim
18882 #: ../fish/guestfish-actions.pod:1574
18883 #, no-wrap
18884 msgid ""
18885 " inotify-files\n"
18886 "\n"
18887 msgstr ""
18888
18889 # type: textblock
18890 #: ../fish/guestfish-actions.pod:1576
18891 msgid ""
18892 "This function is a helpful wrapper around L</inotify-read> which just "
18893 "returns a list of pathnames of objects that were touched.  The returned "
18894 "pathnames are sorted and deduplicated."
18895 msgstr ""
18896
18897 # type: =head2
18898 #: ../fish/guestfish-actions.pod:1580
18899 msgid "inotify-init"
18900 msgstr ""
18901
18902 # type: verbatim
18903 #: ../fish/guestfish-actions.pod:1582
18904 #, no-wrap
18905 msgid ""
18906 " inotify-init maxevents\n"
18907 "\n"
18908 msgstr ""
18909
18910 # type: textblock
18911 #: ../fish/guestfish-actions.pod:1588
18912 msgid ""
18913 "C<maxevents> is the maximum number of events which will be queued up between "
18914 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
18915 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18916 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18917 "but records the fact that it threw them away by setting a flag "
18918 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
18919 msgstr ""
18920
18921 # type: textblock
18922 #: ../fish/guestfish-actions.pod:1598
18923 msgid ""
18924 "Before any events are generated, you have to add some watches to the "
18925 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
18926 "L</inotify-watch-all>."
18927 msgstr ""
18928
18929 # type: textblock
18930 #: ../fish/guestfish-actions.pod:1604
18931 msgid ""
18932 "Queued up events should be read periodically by calling L</inotify-read> (or "
18933 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
18934 "If you don't read the events out often enough then you risk the internal "
18935 "queue overflowing."
18936 msgstr ""
18937
18938 # type: textblock
18939 #: ../fish/guestfish-actions.pod:1611
18940 msgid ""
18941 "The handle should be closed after use by calling L</inotify-close>.  This "
18942 "also removes any watches automatically."
18943 msgstr ""
18944
18945 # type: =head2
18946 #: ../fish/guestfish-actions.pod:1620
18947 msgid "inotify-read"
18948 msgstr ""
18949
18950 # type: verbatim
18951 #: ../fish/guestfish-actions.pod:1622
18952 #, no-wrap
18953 msgid ""
18954 " inotify-read\n"
18955 "\n"
18956 msgstr ""
18957
18958 # type: =head2
18959 #: ../fish/guestfish-actions.pod:1635
18960 msgid "inotify-rm-watch"
18961 msgstr ""
18962
18963 # type: verbatim
18964 #: ../fish/guestfish-actions.pod:1637
18965 #, no-wrap
18966 msgid ""
18967 " inotify-rm-watch wd\n"
18968 "\n"
18969 msgstr ""
18970
18971 # type: textblock
18972 #: ../fish/guestfish-actions.pod:1639
18973 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
18974 msgstr ""
18975
18976 # type: =head2
18977 #: ../fish/guestfish-actions.pod:1642
18978 msgid "inspect-get-arch"
18979 msgstr ""
18980
18981 # type: verbatim
18982 #: ../fish/guestfish-actions.pod:1644
18983 #, no-wrap
18984 msgid ""
18985 " inspect-get-arch root\n"
18986 "\n"
18987 msgstr ""
18988
18989 # type: textblock
18990 #: ../fish/guestfish-actions.pod:1646 ../fish/guestfish-actions.pod:1662 ../fish/guestfish-actions.pod:1728 ../fish/guestfish-actions.pod:1746 ../fish/guestfish-actions.pod:1767 ../fish/guestfish-actions.pod:1782 ../fish/guestfish-actions.pod:1805 ../fish/guestfish-actions.pod:1822 ../fish/guestfish-actions.pod:1853
18991 msgid ""
18992 "This function should only be called with a root device string as returned by "
18993 "L</inspect-os>."
18994 msgstr ""
18995
18996 # type: textblock
18997 #: ../fish/guestfish-actions.pod:1649
18998 msgid ""
18999 "This returns the architecture of the inspected operating system.  The "
19000 "possible return values are listed under L</file-architecture>."
19001 msgstr ""
19002
19003 # type: =head2
19004 #: ../fish/guestfish-actions.pod:1658
19005 msgid "inspect-get-distro"
19006 msgstr ""
19007
19008 # type: verbatim
19009 #: ../fish/guestfish-actions.pod:1660
19010 #, no-wrap
19011 msgid ""
19012 " inspect-get-distro root\n"
19013 "\n"
19014 msgstr ""
19015
19016 # type: =head2
19017 #: ../fish/guestfish-actions.pod:1724
19018 msgid "inspect-get-filesystems"
19019 msgstr ""
19020
19021 # type: verbatim
19022 #: ../fish/guestfish-actions.pod:1726
19023 #, no-wrap
19024 msgid ""
19025 " inspect-get-filesystems root\n"
19026 "\n"
19027 msgstr ""
19028
19029 # type: textblock
19030 #: ../fish/guestfish-actions.pod:1739
19031 msgid ""
19032 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
19033 "L</inspect-get-mountpoints>."
19034 msgstr ""
19035
19036 # type: =head2
19037 #: ../fish/guestfish-actions.pod:1742
19038 msgid "inspect-get-major-version"
19039 msgstr ""
19040
19041 # type: verbatim
19042 #: ../fish/guestfish-actions.pod:1744
19043 #, no-wrap
19044 msgid ""
19045 " inspect-get-major-version root\n"
19046 "\n"
19047 msgstr ""
19048
19049 # type: =head2
19050 #: ../fish/guestfish-actions.pod:1763
19051 msgid "inspect-get-minor-version"
19052 msgstr ""
19053
19054 # type: verbatim
19055 #: ../fish/guestfish-actions.pod:1765
19056 #, no-wrap
19057 msgid ""
19058 " inspect-get-minor-version root\n"
19059 "\n"
19060 msgstr ""
19061
19062 # type: textblock
19063 #: ../fish/guestfish-actions.pod:1775
19064 msgid ""
19065 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
19066 "L</inspect-get-major-version>."
19067 msgstr ""
19068
19069 # type: =head2
19070 #: ../fish/guestfish-actions.pod:1778
19071 msgid "inspect-get-mountpoints"
19072 msgstr ""
19073
19074 # type: verbatim
19075 #: ../fish/guestfish-actions.pod:1780
19076 #, no-wrap
19077 msgid ""
19078 " inspect-get-mountpoints root\n"
19079 "\n"
19080 msgstr ""
19081
19082 # type: textblock
19083 #: ../fish/guestfish-actions.pod:1798
19084 msgid ""
19085 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
19086 "L</inspect-get-filesystems>."
19087 msgstr ""
19088
19089 # type: =head2
19090 #: ../fish/guestfish-actions.pod:1801
19091 msgid "inspect-get-product-name"
19092 msgstr ""
19093
19094 # type: verbatim
19095 #: ../fish/guestfish-actions.pod:1803
19096 #, no-wrap
19097 msgid ""
19098 " inspect-get-product-name root\n"
19099 "\n"
19100 msgstr ""
19101
19102 # type: =head2
19103 #: ../fish/guestfish-actions.pod:1818
19104 msgid "inspect-get-type"
19105 msgstr ""
19106
19107 # type: verbatim
19108 #: ../fish/guestfish-actions.pod:1820
19109 #, no-wrap
19110 msgid ""
19111 " inspect-get-type root\n"
19112 "\n"
19113 msgstr ""
19114
19115 # type: =head2
19116 #: ../fish/guestfish-actions.pod:1849
19117 msgid "inspect-get-windows-systemroot"
19118 msgstr ""
19119
19120 # type: verbatim
19121 #: ../fish/guestfish-actions.pod:1851
19122 #, no-wrap
19123 msgid ""
19124 " inspect-get-windows-systemroot root\n"
19125 "\n"
19126 msgstr ""
19127
19128 # type: =head2
19129 #: ../fish/guestfish-actions.pod:1865
19130 msgid "inspect-os"
19131 msgstr ""
19132
19133 # type: verbatim
19134 #: ../fish/guestfish-actions.pod:1867
19135 #, no-wrap
19136 msgid ""
19137 " inspect-os\n"
19138 "\n"
19139 msgstr ""
19140
19141 # type: textblock
19142 #: ../fish/guestfish-actions.pod:1882
19143 msgid ""
19144 "You can pass the root string(s) returned to other L</inspect-get-*> "
19145 "functions in order to query further information about each operating system, "
19146 "such as the name and version."
19147 msgstr ""
19148
19149 # type: textblock
19150 #: ../fish/guestfish-actions.pod:1887
19151 msgid ""
19152 "This function uses other libguestfs features such as L</mount-ro> and "
19153 "L</umount-all> in order to mount and unmount filesystems and look at the "
19154 "contents.  This should be called with no disks currently mounted.  The "
19155 "function may also use Augeas, so any existing Augeas handle will be closed."
19156 msgstr ""
19157
19158 # type: textblock
19159 #: ../fish/guestfish-actions.pod:1899 ../fish/guestfish-actions.pod:2055 ../fish/guestfish-actions.pod:2101
19160 msgid "See also L</list-filesystems>."
19161 msgstr ""
19162
19163 # type: =head2
19164 #: ../fish/guestfish-actions.pod:1901
19165 msgid "is-blockdev"
19166 msgstr ""
19167
19168 # type: verbatim
19169 #: ../fish/guestfish-actions.pod:1903
19170 #, no-wrap
19171 msgid ""
19172 " is-blockdev path\n"
19173 "\n"
19174 msgstr ""
19175
19176 # type: textblock
19177 #: ../fish/guestfish-actions.pod:1908 ../fish/guestfish-actions.pod:1926 ../fish/guestfish-actions.pod:1945 ../fish/guestfish-actions.pod:1954 ../fish/guestfish-actions.pod:1964 ../fish/guestfish-actions.pod:1998 ../fish/guestfish-actions.pod:2007
19178 msgid "See also L</stat>."
19179 msgstr ""
19180
19181 # type: =head2
19182 #: ../fish/guestfish-actions.pod:1910
19183 msgid "is-busy"
19184 msgstr ""
19185
19186 # type: verbatim
19187 #: ../fish/guestfish-actions.pod:1912
19188 #, no-wrap
19189 msgid ""
19190 " is-busy\n"
19191 "\n"
19192 msgstr ""
19193
19194 # type: =head2
19195 #: ../fish/guestfish-actions.pod:1919
19196 msgid "is-chardev"
19197 msgstr ""
19198
19199 # type: verbatim
19200 #: ../fish/guestfish-actions.pod:1921
19201 #, no-wrap
19202 msgid ""
19203 " is-chardev path\n"
19204 "\n"
19205 msgstr ""
19206
19207 # type: =head2
19208 #: ../fish/guestfish-actions.pod:1928
19209 msgid "is-config"
19210 msgstr ""
19211
19212 # type: verbatim
19213 #: ../fish/guestfish-actions.pod:1930
19214 #, no-wrap
19215 msgid ""
19216 " is-config\n"
19217 "\n"
19218 msgstr ""
19219
19220 # type: =head2
19221 #: ../fish/guestfish-actions.pod:1937
19222 msgid "is-dir"
19223 msgstr ""
19224
19225 # type: verbatim
19226 #: ../fish/guestfish-actions.pod:1939
19227 #, no-wrap
19228 msgid ""
19229 " is-dir path\n"
19230 "\n"
19231 msgstr ""
19232
19233 # type: =head2
19234 #: ../fish/guestfish-actions.pod:1947
19235 msgid "is-fifo"
19236 msgstr ""
19237
19238 # type: verbatim
19239 #: ../fish/guestfish-actions.pod:1949
19240 #, no-wrap
19241 msgid ""
19242 " is-fifo path\n"
19243 "\n"
19244 msgstr ""
19245
19246 # type: =head2
19247 #: ../fish/guestfish-actions.pod:1956
19248 msgid "is-file"
19249 msgstr ""
19250
19251 # type: verbatim
19252 #: ../fish/guestfish-actions.pod:1958
19253 #, no-wrap
19254 msgid ""
19255 " is-file path\n"
19256 "\n"
19257 msgstr ""
19258
19259 # type: =head2
19260 #: ../fish/guestfish-actions.pod:1966
19261 msgid "is-launching"
19262 msgstr ""
19263
19264 # type: verbatim
19265 #: ../fish/guestfish-actions.pod:1968
19266 #, no-wrap
19267 msgid ""
19268 " is-launching\n"
19269 "\n"
19270 msgstr ""
19271
19272 # type: =head2
19273 #: ../fish/guestfish-actions.pod:1975
19274 msgid "is-lv"
19275 msgstr ""
19276
19277 # type: verbatim
19278 #: ../fish/guestfish-actions.pod:1977
19279 #, no-wrap
19280 msgid ""
19281 " is-lv device\n"
19282 "\n"
19283 msgstr ""
19284
19285 # type: =head2
19286 #: ../fish/guestfish-actions.pod:1982
19287 msgid "is-ready"
19288 msgstr ""
19289
19290 # type: verbatim
19291 #: ../fish/guestfish-actions.pod:1984
19292 #, no-wrap
19293 msgid ""
19294 " is-ready\n"
19295 "\n"
19296 msgstr ""
19297
19298 # type: =head2
19299 #: ../fish/guestfish-actions.pod:1991
19300 msgid "is-socket"
19301 msgstr ""
19302
19303 # type: verbatim
19304 #: ../fish/guestfish-actions.pod:1993
19305 #, no-wrap
19306 msgid ""
19307 " is-socket path\n"
19308 "\n"
19309 msgstr ""
19310
19311 # type: =head2
19312 #: ../fish/guestfish-actions.pod:2000
19313 msgid "is-symlink"
19314 msgstr ""
19315
19316 # type: verbatim
19317 #: ../fish/guestfish-actions.pod:2002
19318 #, no-wrap
19319 msgid ""
19320 " is-symlink path\n"
19321 "\n"
19322 msgstr ""
19323
19324 # type: =head2
19325 #: ../fish/guestfish-actions.pod:2009
19326 msgid "kill-subprocess"
19327 msgstr ""
19328
19329 # type: verbatim
19330 #: ../fish/guestfish-actions.pod:2011
19331 #, no-wrap
19332 msgid ""
19333 " kill-subprocess\n"
19334 "\n"
19335 msgstr ""
19336
19337 # type: =head2
19338 #: ../fish/guestfish-actions.pod:2015
19339 msgid "launch"
19340 msgstr ""
19341
19342 # type: =head2
19343 #: ../fish/guestfish-actions.pod:2017
19344 msgid "run"
19345 msgstr ""
19346
19347 # type: verbatim
19348 #: ../fish/guestfish-actions.pod:2019
19349 #, no-wrap
19350 msgid ""
19351 " launch\n"
19352 "\n"
19353 msgstr ""
19354
19355 # type: =head2
19356 #: ../fish/guestfish-actions.pod:2027
19357 msgid "lchown"
19358 msgstr ""
19359
19360 # type: verbatim
19361 #: ../fish/guestfish-actions.pod:2029
19362 #, no-wrap
19363 msgid ""
19364 " lchown owner group path\n"
19365 "\n"
19366 msgstr ""
19367
19368 # type: textblock
19369 #: ../fish/guestfish-actions.pod:2031
19370 msgid ""
19371 "Change the file owner to C<owner> and group to C<group>.  This is like "
19372 "L</chown> but if C<path> is a symlink then the link itself is changed, not "
19373 "the target."
19374 msgstr ""
19375
19376 # type: =head2
19377 #: ../fish/guestfish-actions.pod:2039
19378 msgid "lgetxattrs"
19379 msgstr ""
19380
19381 # type: verbatim
19382 #: ../fish/guestfish-actions.pod:2041
19383 #, no-wrap
19384 msgid ""
19385 " lgetxattrs path\n"
19386 "\n"
19387 msgstr ""
19388
19389 # type: textblock
19390 #: ../fish/guestfish-actions.pod:2043
19391 msgid ""
19392 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
19393 "it returns the extended attributes of the link itself."
19394 msgstr ""
19395
19396 # type: =head2
19397 #: ../fish/guestfish-actions.pod:2047
19398 msgid "list-devices"
19399 msgstr ""
19400
19401 # type: verbatim
19402 #: ../fish/guestfish-actions.pod:2049
19403 #, no-wrap
19404 msgid ""
19405 " list-devices\n"
19406 "\n"
19407 msgstr ""
19408
19409 # type: =head2
19410 #: ../fish/guestfish-actions.pod:2057
19411 msgid "list-filesystems"
19412 msgstr ""
19413
19414 # type: verbatim
19415 #: ../fish/guestfish-actions.pod:2059
19416 #, no-wrap
19417 msgid ""
19418 " list-filesystems\n"
19419 "\n"
19420 msgstr ""
19421
19422 # type: textblock
19423 #: ../fish/guestfish-actions.pod:2078
19424 msgid ""
19425 "This command runs other libguestfs commands, which might include L</mount> "
19426 "and L</umount>, and therefore you should use this soon after launch and only "
19427 "when nothing is mounted."
19428 msgstr ""
19429
19430 # type: textblock
19431 #: ../fish/guestfish-actions.pod:2082
19432 msgid ""
19433 "Not all of the filesystems returned will be mountable.  In particular, swap "
19434 "partitions are returned in the list.  Also this command does not check that "
19435 "each filesystem found is valid and mountable, and some filesystems might be "
19436 "mountable but require special options.  Filesystems may not all belong to a "
19437 "single logical operating system (use L</inspect-os> to look for OSes)."
19438 msgstr ""
19439
19440 # type: =head2
19441 #: ../fish/guestfish-actions.pod:2090
19442 msgid "list-partitions"
19443 msgstr ""
19444
19445 # type: verbatim
19446 #: ../fish/guestfish-actions.pod:2092
19447 #, no-wrap
19448 msgid ""
19449 " list-partitions\n"
19450 "\n"
19451 msgstr ""
19452
19453 # type: textblock
19454 #: ../fish/guestfish-actions.pod:2098
19455 msgid ""
19456 "This does not return logical volumes.  For that you will need to call "
19457 "L</lvs>."
19458 msgstr ""
19459
19460 # type: =head2
19461 #: ../fish/guestfish-actions.pod:2103
19462 msgid "ll"
19463 msgstr ""
19464
19465 # type: verbatim
19466 #: ../fish/guestfish-actions.pod:2105
19467 #, no-wrap
19468 msgid ""
19469 " ll directory\n"
19470 "\n"
19471 msgstr ""
19472
19473 # type: =head2
19474 #: ../fish/guestfish-actions.pod:2113
19475 msgid "ln"
19476 msgstr ""
19477
19478 # type: verbatim
19479 #: ../fish/guestfish-actions.pod:2115
19480 #, no-wrap
19481 msgid ""
19482 " ln target linkname\n"
19483 "\n"
19484 msgstr ""
19485
19486 # type: =head2
19487 #: ../fish/guestfish-actions.pod:2119
19488 msgid "ln-f"
19489 msgstr ""
19490
19491 # type: verbatim
19492 #: ../fish/guestfish-actions.pod:2121
19493 #, no-wrap
19494 msgid ""
19495 " ln-f target linkname\n"
19496 "\n"
19497 msgstr ""
19498
19499 # type: =head2
19500 #: ../fish/guestfish-actions.pod:2126
19501 msgid "ln-s"
19502 msgstr ""
19503
19504 # type: verbatim
19505 #: ../fish/guestfish-actions.pod:2128
19506 #, no-wrap
19507 msgid ""
19508 " ln-s target linkname\n"
19509 "\n"
19510 msgstr ""
19511
19512 # type: =head2
19513 #: ../fish/guestfish-actions.pod:2132
19514 msgid "ln-sf"
19515 msgstr ""
19516
19517 # type: verbatim
19518 #: ../fish/guestfish-actions.pod:2134
19519 #, no-wrap
19520 msgid ""
19521 " ln-sf target linkname\n"
19522 "\n"
19523 msgstr ""
19524
19525 # type: =head2
19526 #: ../fish/guestfish-actions.pod:2139
19527 msgid "lremovexattr"
19528 msgstr ""
19529
19530 # type: verbatim
19531 #: ../fish/guestfish-actions.pod:2141
19532 #, no-wrap
19533 msgid ""
19534 " lremovexattr xattr path\n"
19535 "\n"
19536 msgstr ""
19537
19538 # type: textblock
19539 #: ../fish/guestfish-actions.pod:2143
19540 msgid ""
19541 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
19542 "it removes an extended attribute of the link itself."
19543 msgstr ""
19544
19545 # type: =head2
19546 #: ../fish/guestfish-actions.pod:2147
19547 msgid "ls"
19548 msgstr ""
19549
19550 # type: verbatim
19551 #: ../fish/guestfish-actions.pod:2149
19552 #, no-wrap
19553 msgid ""
19554 " ls directory\n"
19555 "\n"
19556 msgstr ""
19557
19558 # type: textblock
19559 #: ../fish/guestfish-actions.pod:2155
19560 msgid ""
19561 "This command is mostly useful for interactive sessions.  Programs should "
19562 "probably use L</readdir> instead."
19563 msgstr ""
19564
19565 # type: =head2
19566 #: ../fish/guestfish-actions.pod:2158
19567 msgid "lsetxattr"
19568 msgstr ""
19569
19570 # type: verbatim
19571 #: ../fish/guestfish-actions.pod:2160
19572 #, no-wrap
19573 msgid ""
19574 " lsetxattr xattr val vallen path\n"
19575 "\n"
19576 msgstr ""
19577
19578 # type: textblock
19579 #: ../fish/guestfish-actions.pod:2162
19580 msgid ""
19581 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
19582 "sets an extended attribute of the link itself."
19583 msgstr ""
19584
19585 # type: =head2
19586 #: ../fish/guestfish-actions.pod:2166
19587 msgid "lstat"
19588 msgstr ""
19589
19590 # type: verbatim
19591 #: ../fish/guestfish-actions.pod:2168
19592 #, no-wrap
19593 msgid ""
19594 " lstat path\n"
19595 "\n"
19596 msgstr ""
19597
19598 # type: textblock
19599 #: ../fish/guestfish-actions.pod:2172
19600 msgid ""
19601 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
19602 "the link is stat-ed, not the file it refers to."
19603 msgstr ""
19604
19605 # type: =head2
19606 #: ../fish/guestfish-actions.pod:2178
19607 msgid "lstatlist"
19608 msgstr ""
19609
19610 # type: verbatim
19611 #: ../fish/guestfish-actions.pod:2180
19612 #, no-wrap
19613 msgid ""
19614 " lstatlist path 'names ...'\n"
19615 "\n"
19616 msgstr ""
19617
19618 # type: textblock
19619 #: ../fish/guestfish-actions.pod:2182
19620 msgid ""
19621 "This call allows you to perform the L</lstat> operation on multiple files, "
19622 "where all files are in the directory C<path>.  C<names> is the list of files "
19623 "from this directory."
19624 msgstr ""
19625
19626 # type: textblock
19627 #: ../fish/guestfish-actions.pod:2191
19628 msgid ""
19629 "This call is intended for programs that want to efficiently list a directory "
19630 "contents without making many round-trips.  See also L</lxattrlist> for a "
19631 "similarly efficient call for getting extended attributes.  Very long "
19632 "directory listings might cause the protocol message size to be exceeded, "
19633 "causing this call to fail.  The caller must split up such requests into "
19634 "smaller groups of names."
19635 msgstr ""
19636
19637 # type: =head2
19638 #: ../fish/guestfish-actions.pod:2199
19639 msgid "luks-add-key"
19640 msgstr ""
19641
19642 # type: verbatim
19643 #: ../fish/guestfish-actions.pod:2201
19644 #, no-wrap
19645 msgid ""
19646 " luks-add-key device keyslot\n"
19647 "\n"
19648 msgstr ""
19649
19650 # type: textblock
19651 #: ../fish/guestfish-actions.pod:2208
19652 msgid ""
19653 "Note that if C<keyslot> already contains a key, then this command will "
19654 "fail.  You have to use L</luks-kill-slot> first to remove that key."
19655 msgstr ""
19656
19657 # type: textblock
19658 #: ../fish/guestfish-actions.pod:2212 ../fish/guestfish-actions.pod:2234 ../fish/guestfish-actions.pod:2247 ../fish/guestfish-actions.pod:2261 ../fish/guestfish-actions.pod:2284 ../fish/guestfish-actions.pod:2294
19659 msgid ""
19660 "This command has one or more key or passphrase parameters.  Guestfish will "
19661 "prompt for these separately."
19662 msgstr ""
19663
19664 # type: =head2
19665 #: ../fish/guestfish-actions.pod:2215
19666 msgid "luks-close"
19667 msgstr ""
19668
19669 # type: verbatim
19670 #: ../fish/guestfish-actions.pod:2217
19671 #, no-wrap
19672 msgid ""
19673 " luks-close device\n"
19674 "\n"
19675 msgstr ""
19676
19677 # type: textblock
19678 #: ../fish/guestfish-actions.pod:2219
19679 msgid ""
19680 "This closes a LUKS device that was created earlier by L</luks-open> or "
19681 "L</luks-open-ro>.  The C<device> parameter must be the name of the LUKS "
19682 "mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
19683 "underlying block device."
19684 msgstr ""
19685
19686 # type: =head2
19687 #: ../fish/guestfish-actions.pod:2225
19688 msgid "luks-format"
19689 msgstr ""
19690
19691 # type: verbatim
19692 #: ../fish/guestfish-actions.pod:2227
19693 #, no-wrap
19694 msgid ""
19695 " luks-format device keyslot\n"
19696 "\n"
19697 msgstr ""
19698
19699 # type: =head2
19700 #: ../fish/guestfish-actions.pod:2240
19701 msgid "luks-format-cipher"
19702 msgstr ""
19703
19704 # type: verbatim
19705 #: ../fish/guestfish-actions.pod:2242
19706 #, no-wrap
19707 msgid ""
19708 " luks-format-cipher device keyslot cipher\n"
19709 "\n"
19710 msgstr ""
19711
19712 # type: textblock
19713 #: ../fish/guestfish-actions.pod:2244
19714 msgid ""
19715 "This command is the same as L</luks-format> but it also allows you to set "
19716 "the C<cipher> used."
19717 msgstr ""
19718
19719 # type: =head2
19720 #: ../fish/guestfish-actions.pod:2253
19721 msgid "luks-kill-slot"
19722 msgstr ""
19723
19724 # type: verbatim
19725 #: ../fish/guestfish-actions.pod:2255
19726 #, no-wrap
19727 msgid ""
19728 " luks-kill-slot device keyslot\n"
19729 "\n"
19730 msgstr ""
19731
19732 # type: =head2
19733 #: ../fish/guestfish-actions.pod:2264
19734 msgid "luks-open"
19735 msgstr ""
19736
19737 # type: verbatim
19738 #: ../fish/guestfish-actions.pod:2266
19739 #, no-wrap
19740 msgid ""
19741 " luks-open device mapname\n"
19742 "\n"
19743 msgstr ""
19744
19745 # type: textblock
19746 #: ../fish/guestfish-actions.pod:2280
19747 msgid ""
19748 "If this block device contains LVM volume groups, then calling L</vgscan> "
19749 "followed by L</vg-activate-all> will make them visible."
19750 msgstr ""
19751
19752 # type: =head2
19753 #: ../fish/guestfish-actions.pod:2287
19754 msgid "luks-open-ro"
19755 msgstr ""
19756
19757 # type: verbatim
19758 #: ../fish/guestfish-actions.pod:2289
19759 #, no-wrap
19760 msgid ""
19761 " luks-open-ro device mapname\n"
19762 "\n"
19763 msgstr ""
19764
19765 # type: textblock
19766 #: ../fish/guestfish-actions.pod:2291
19767 msgid ""
19768 "This is the same as L</luks-open> except that a read-only mapping is "
19769 "created."
19770 msgstr ""
19771
19772 # type: =head2
19773 #: ../fish/guestfish-actions.pod:2297
19774 msgid "lvcreate"
19775 msgstr ""
19776
19777 # type: verbatim
19778 #: ../fish/guestfish-actions.pod:2299
19779 #, no-wrap
19780 msgid ""
19781 " lvcreate logvol volgroup mbytes\n"
19782 "\n"
19783 msgstr ""
19784
19785 # type: =head2
19786 #: ../fish/guestfish-actions.pod:2304
19787 msgid "lvm-canonical-lv-name"
19788 msgstr ""
19789
19790 # type: verbatim
19791 #: ../fish/guestfish-actions.pod:2306
19792 #, no-wrap
19793 msgid ""
19794 " lvm-canonical-lv-name lvname\n"
19795 "\n"
19796 msgstr ""
19797
19798 # type: textblock
19799 #: ../fish/guestfish-actions.pod:2315
19800 msgid "See also L</is-lv>."
19801 msgstr ""
19802
19803 # type: =head2
19804 #: ../fish/guestfish-actions.pod:2317
19805 msgid "lvm-clear-filter"
19806 msgstr ""
19807
19808 # type: verbatim
19809 #: ../fish/guestfish-actions.pod:2319
19810 #, no-wrap
19811 msgid ""
19812 " lvm-clear-filter\n"
19813 "\n"
19814 msgstr ""
19815
19816 # type: textblock
19817 #: ../fish/guestfish-actions.pod:2321
19818 msgid ""
19819 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
19820 "block device."
19821 msgstr ""
19822
19823 # type: =head2
19824 #: ../fish/guestfish-actions.pod:2327
19825 msgid "lvm-remove-all"
19826 msgstr ""
19827
19828 # type: verbatim
19829 #: ../fish/guestfish-actions.pod:2329
19830 #, no-wrap
19831 msgid ""
19832 " lvm-remove-all\n"
19833 "\n"
19834 msgstr ""
19835
19836 # type: =head2
19837 #: ../fish/guestfish-actions.pod:2337
19838 msgid "lvm-set-filter"
19839 msgstr ""
19840
19841 # type: verbatim
19842 #: ../fish/guestfish-actions.pod:2339
19843 #, no-wrap
19844 msgid ""
19845 " lvm-set-filter 'devices ...'\n"
19846 "\n"
19847 msgstr ""
19848
19849 # type: =head2
19850 #: ../fish/guestfish-actions.pod:2364
19851 msgid "lvremove"
19852 msgstr ""
19853
19854 # type: verbatim
19855 #: ../fish/guestfish-actions.pod:2366
19856 #, no-wrap
19857 msgid ""
19858 " lvremove device\n"
19859 "\n"
19860 msgstr ""
19861
19862 # type: =head2
19863 #: ../fish/guestfish-actions.pod:2374
19864 msgid "lvrename"
19865 msgstr ""
19866
19867 # type: verbatim
19868 #: ../fish/guestfish-actions.pod:2376
19869 #, no-wrap
19870 msgid ""
19871 " lvrename logvol newlogvol\n"
19872 "\n"
19873 msgstr ""
19874
19875 # type: =head2
19876 #: ../fish/guestfish-actions.pod:2380
19877 msgid "lvresize"
19878 msgstr ""
19879
19880 # type: verbatim
19881 #: ../fish/guestfish-actions.pod:2382
19882 #, no-wrap
19883 msgid ""
19884 " lvresize device mbytes\n"
19885 "\n"
19886 msgstr ""
19887
19888 # type: =head2
19889 #: ../fish/guestfish-actions.pod:2388
19890 msgid "lvresize-free"
19891 msgstr ""
19892
19893 # type: verbatim
19894 #: ../fish/guestfish-actions.pod:2390
19895 #, no-wrap
19896 msgid ""
19897 " lvresize-free lv percent\n"
19898 "\n"
19899 msgstr ""
19900
19901 # type: =head2
19902 #: ../fish/guestfish-actions.pod:2398
19903 msgid "lvs"
19904 msgstr ""
19905
19906 # type: verbatim
19907 #: ../fish/guestfish-actions.pod:2400
19908 #, no-wrap
19909 msgid ""
19910 " lvs\n"
19911 "\n"
19912 msgstr ""
19913
19914 # type: textblock
19915 #: ../fish/guestfish-actions.pod:2408
19916 msgid "See also L</lvs-full>, L</list-filesystems>."
19917 msgstr ""
19918
19919 # type: =head2
19920 #: ../fish/guestfish-actions.pod:2410
19921 msgid "lvs-full"
19922 msgstr ""
19923
19924 # type: verbatim
19925 #: ../fish/guestfish-actions.pod:2412
19926 #, no-wrap
19927 msgid ""
19928 " lvs-full\n"
19929 "\n"
19930 msgstr ""
19931
19932 # type: =head2
19933 #: ../fish/guestfish-actions.pod:2417
19934 msgid "lvuuid"
19935 msgstr ""
19936
19937 # type: verbatim
19938 #: ../fish/guestfish-actions.pod:2419
19939 #, no-wrap
19940 msgid ""
19941 " lvuuid device\n"
19942 "\n"
19943 msgstr ""
19944
19945 # type: =head2
19946 #: ../fish/guestfish-actions.pod:2423
19947 msgid "lxattrlist"
19948 msgstr ""
19949
19950 # type: verbatim
19951 #: ../fish/guestfish-actions.pod:2425
19952 #, no-wrap
19953 msgid ""
19954 " lxattrlist path 'names ...'\n"
19955 "\n"
19956 msgstr ""
19957
19958 # type: textblock
19959 #: ../fish/guestfish-actions.pod:2441
19960 msgid ""
19961 "This call is intended for programs that want to efficiently list a directory "
19962 "contents without making many round-trips.  See also L</lstatlist> for a "
19963 "similarly efficient call for getting standard stats.  Very long directory "
19964 "listings might cause the protocol message size to be exceeded, causing this "
19965 "call to fail.  The caller must split up such requests into smaller groups of "
19966 "names."
19967 msgstr ""
19968
19969 # type: =head2
19970 #: ../fish/guestfish-actions.pod:2449
19971 msgid "mkdir"
19972 msgstr ""
19973
19974 # type: verbatim
19975 #: ../fish/guestfish-actions.pod:2451
19976 #, no-wrap
19977 msgid ""
19978 " mkdir path\n"
19979 "\n"
19980 msgstr ""
19981
19982 # type: =head2
19983 #: ../fish/guestfish-actions.pod:2455
19984 msgid "mkdir-mode"
19985 msgstr ""
19986
19987 # type: verbatim
19988 #: ../fish/guestfish-actions.pod:2457
19989 #, no-wrap
19990 msgid ""
19991 " mkdir-mode path mode\n"
19992 "\n"
19993 msgstr ""
19994
19995 # type: textblock
19996 #: ../fish/guestfish-actions.pod:2466
19997 msgid "See also L</mkdir>, L</umask>"
19998 msgstr ""
19999
20000 # type: =head2
20001 #: ../fish/guestfish-actions.pod:2468
20002 msgid "mkdir-p"
20003 msgstr ""
20004
20005 # type: verbatim
20006 #: ../fish/guestfish-actions.pod:2470
20007 #, no-wrap
20008 msgid ""
20009 " mkdir-p path\n"
20010 "\n"
20011 msgstr ""
20012
20013 # type: =head2
20014 #: ../fish/guestfish-actions.pod:2475
20015 msgid "mkdtemp"
20016 msgstr ""
20017
20018 # type: verbatim
20019 #: ../fish/guestfish-actions.pod:2477
20020 #, no-wrap
20021 msgid ""
20022 " mkdtemp template\n"
20023 "\n"
20024 msgstr ""
20025
20026 # type: =head2
20027 #: ../fish/guestfish-actions.pod:2498
20028 msgid "mke2fs-J"
20029 msgstr ""
20030
20031 # type: verbatim
20032 #: ../fish/guestfish-actions.pod:2500
20033 #, no-wrap
20034 msgid ""
20035 " mke2fs-J fstype blocksize device journal\n"
20036 "\n"
20037 msgstr ""
20038
20039 # type: textblock
20040 #: ../fish/guestfish-actions.pod:2508
20041 msgid "See also L</mke2journal>."
20042 msgstr ""
20043
20044 # type: =head2
20045 #: ../fish/guestfish-actions.pod:2510
20046 msgid "mke2fs-JL"
20047 msgstr ""
20048
20049 # type: verbatim
20050 #: ../fish/guestfish-actions.pod:2512
20051 #, no-wrap
20052 msgid ""
20053 " mke2fs-JL fstype blocksize device label\n"
20054 "\n"
20055 msgstr ""
20056
20057 # type: textblock
20058 #: ../fish/guestfish-actions.pod:2517
20059 msgid "See also L</mke2journal-L>."
20060 msgstr ""
20061
20062 # type: =head2
20063 #: ../fish/guestfish-actions.pod:2519
20064 msgid "mke2fs-JU"
20065 msgstr ""
20066
20067 # type: verbatim
20068 #: ../fish/guestfish-actions.pod:2521
20069 #, no-wrap
20070 msgid ""
20071 " mke2fs-JU fstype blocksize device uuid\n"
20072 "\n"
20073 msgstr ""
20074
20075 # type: textblock
20076 #: ../fish/guestfish-actions.pod:2526
20077 msgid "See also L</mke2journal-U>."
20078 msgstr ""
20079
20080 # type: =head2
20081 #: ../fish/guestfish-actions.pod:2528
20082 msgid "mke2journal"
20083 msgstr ""
20084
20085 # type: verbatim
20086 #: ../fish/guestfish-actions.pod:2530
20087 #, no-wrap
20088 msgid ""
20089 " mke2journal blocksize device\n"
20090 "\n"
20091 msgstr ""
20092
20093 # type: =head2
20094 #: ../fish/guestfish-actions.pod:2537
20095 msgid "mke2journal-L"
20096 msgstr ""
20097
20098 # type: verbatim
20099 #: ../fish/guestfish-actions.pod:2539
20100 #, no-wrap
20101 msgid ""
20102 " mke2journal-L blocksize label device\n"
20103 "\n"
20104 msgstr ""
20105
20106 # type: =head2
20107 #: ../fish/guestfish-actions.pod:2543
20108 msgid "mke2journal-U"
20109 msgstr ""
20110
20111 # type: verbatim
20112 #: ../fish/guestfish-actions.pod:2545
20113 #, no-wrap
20114 msgid ""
20115 " mke2journal-U blocksize uuid device\n"
20116 "\n"
20117 msgstr ""
20118
20119 # type: =head2
20120 #: ../fish/guestfish-actions.pod:2549
20121 msgid "mkfifo"
20122 msgstr ""
20123
20124 # type: verbatim
20125 #: ../fish/guestfish-actions.pod:2551
20126 #, no-wrap
20127 msgid ""
20128 " mkfifo mode path\n"
20129 "\n"
20130 msgstr ""
20131
20132 # type: textblock
20133 #: ../fish/guestfish-actions.pod:2553
20134 msgid ""
20135 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
20136 "is just a convenient wrapper around L</mknod>."
20137 msgstr ""
20138
20139 # type: =head2
20140 #: ../fish/guestfish-actions.pod:2559
20141 msgid "mkfs"
20142 msgstr ""
20143
20144 # type: verbatim
20145 #: ../fish/guestfish-actions.pod:2561
20146 #, no-wrap
20147 msgid ""
20148 " mkfs fstype device\n"
20149 "\n"
20150 msgstr ""
20151
20152 # type: =head2
20153 #: ../fish/guestfish-actions.pod:2567
20154 msgid "mkfs-b"
20155 msgstr ""
20156
20157 # type: verbatim
20158 #: ../fish/guestfish-actions.pod:2569
20159 #, no-wrap
20160 msgid ""
20161 " mkfs-b fstype blocksize device\n"
20162 "\n"
20163 msgstr ""
20164
20165 # type: textblock
20166 #: ../fish/guestfish-actions.pod:2571
20167 msgid ""
20168 "This call is similar to L</mkfs>, but it allows you to control the block "
20169 "size of the resulting filesystem.  Supported block sizes depend on the "
20170 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
20171 msgstr ""
20172
20173 # type: =head2
20174 #: ../fish/guestfish-actions.pod:2579
20175 msgid "mkmountpoint"
20176 msgstr ""
20177
20178 # type: verbatim
20179 #: ../fish/guestfish-actions.pod:2581
20180 #, no-wrap
20181 msgid ""
20182 " mkmountpoint exemptpath\n"
20183 "\n"
20184 msgstr ""
20185
20186 # type: textblock
20187 #: ../fish/guestfish-actions.pod:2583
20188 msgid ""
20189 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
20190 "to create extra mountpoints before mounting the first filesystem."
20191 msgstr ""
20192
20193 # type: textblock
20194 #: ../fish/guestfish-actions.pod:2607
20195 msgid ""
20196 "L</mkmountpoint> is not compatible with L</umount-all>.  You may get "
20197 "unexpected errors if you try to mix these calls.  It is safest to manually "
20198 "unmount filesystems and remove mountpoints after use."
20199 msgstr ""
20200
20201 # type: textblock
20202 #: ../fish/guestfish-actions.pod:2611
20203 msgid ""
20204 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
20205 "for this to work for manual mountpoints, you must ensure that the innermost "
20206 "mountpoints have the longest pathnames, as in the example code above."
20207 msgstr ""
20208
20209 # type: textblock
20210 #: ../fish/guestfish-actions.pod:2618
20211 msgid ""
20212 "Autosync [see L</set-autosync>, this is set by default on handles] means "
20213 "that L</umount-all> is called when the handle is closed which can also "
20214 "trigger these issues."
20215 msgstr ""
20216
20217 # type: =head2
20218 #: ../fish/guestfish-actions.pod:2622
20219 msgid "mknod"
20220 msgstr ""
20221
20222 # type: verbatim
20223 #: ../fish/guestfish-actions.pod:2624
20224 #, no-wrap
20225 msgid ""
20226 " mknod mode devmajor devminor path\n"
20227 "\n"
20228 msgstr ""
20229
20230 # type: textblock
20231 #: ../fish/guestfish-actions.pod:2634
20232 msgid ""
20233 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
20234 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
20235 "regular file).  These constants are available in the standard Linux header "
20236 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
20237 "wrappers around this command which bitwise OR in the appropriate constant "
20238 "for you."
20239 msgstr ""
20240
20241 # type: =head2
20242 #: ../fish/guestfish-actions.pod:2644
20243 msgid "mknod-b"
20244 msgstr ""
20245
20246 # type: verbatim
20247 #: ../fish/guestfish-actions.pod:2646
20248 #, no-wrap
20249 msgid ""
20250 " mknod-b mode devmajor devminor path\n"
20251 "\n"
20252 msgstr ""
20253
20254 # type: textblock
20255 #: ../fish/guestfish-actions.pod:2648
20256 msgid ""
20257 "This call creates a block device node called C<path> with mode C<mode> and "
20258 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
20259 "wrapper around L</mknod>."
20260 msgstr ""
20261
20262 # type: =head2
20263 #: ../fish/guestfish-actions.pod:2654
20264 msgid "mknod-c"
20265 msgstr ""
20266
20267 # type: verbatim
20268 #: ../fish/guestfish-actions.pod:2656
20269 #, no-wrap
20270 msgid ""
20271 " mknod-c mode devmajor devminor path\n"
20272 "\n"
20273 msgstr ""
20274
20275 # type: textblock
20276 #: ../fish/guestfish-actions.pod:2658
20277 msgid ""
20278 "This call creates a char device node called C<path> with mode C<mode> and "
20279 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
20280 "wrapper around L</mknod>."
20281 msgstr ""
20282
20283 # type: =head2
20284 #: ../fish/guestfish-actions.pod:2664
20285 msgid "mkswap"
20286 msgstr ""
20287
20288 # type: verbatim
20289 #: ../fish/guestfish-actions.pod:2666
20290 #, no-wrap
20291 msgid ""
20292 " mkswap device\n"
20293 "\n"
20294 msgstr ""
20295
20296 # type: =head2
20297 #: ../fish/guestfish-actions.pod:2670
20298 msgid "mkswap-L"
20299 msgstr ""
20300
20301 # type: verbatim
20302 #: ../fish/guestfish-actions.pod:2672
20303 #, no-wrap
20304 msgid ""
20305 " mkswap-L label device\n"
20306 "\n"
20307 msgstr ""
20308
20309 # type: =head2
20310 #: ../fish/guestfish-actions.pod:2680
20311 msgid "mkswap-U"
20312 msgstr ""
20313
20314 # type: verbatim
20315 #: ../fish/guestfish-actions.pod:2682
20316 #, no-wrap
20317 msgid ""
20318 " mkswap-U uuid device\n"
20319 "\n"
20320 msgstr ""
20321
20322 # type: =head2
20323 #: ../fish/guestfish-actions.pod:2686
20324 msgid "mkswap-file"
20325 msgstr ""
20326
20327 # type: verbatim
20328 #: ../fish/guestfish-actions.pod:2688
20329 #, no-wrap
20330 msgid ""
20331 " mkswap-file path\n"
20332 "\n"
20333 msgstr ""
20334
20335 # type: textblock
20336 #: ../fish/guestfish-actions.pod:2692
20337 msgid ""
20338 "This command just writes a swap file signature to an existing file.  To "
20339 "create the file itself, use something like L</fallocate>."
20340 msgstr ""
20341
20342 # type: =head2
20343 #: ../fish/guestfish-actions.pod:2695
20344 msgid "modprobe"
20345 msgstr ""
20346
20347 # type: verbatim
20348 #: ../fish/guestfish-actions.pod:2697
20349 #, no-wrap
20350 msgid ""
20351 " modprobe modulename\n"
20352 "\n"
20353 msgstr ""
20354
20355 # type: =head2
20356 #: ../fish/guestfish-actions.pod:2704
20357 msgid "mount"
20358 msgstr ""
20359
20360 # type: verbatim
20361 #: ../fish/guestfish-actions.pod:2706
20362 #, no-wrap
20363 msgid ""
20364 " mount device mountpoint\n"
20365 "\n"
20366 msgstr ""
20367
20368 # type: textblock
20369 #: ../fish/guestfish-actions.pod:2722
20370 msgid ""
20371 "B<Important note:> When you use this call, the filesystem options C<sync> "
20372 "and C<noatime> are set implicitly.  This was originally done because we "
20373 "thought it would improve reliability, but it turns out that I<-o sync> has a "
20374 "very large negative performance impact and negligible effect on "
20375 "reliability.  Therefore we recommend that you avoid using L</mount> in any "
20376 "code that needs performance, and instead use L</mount-options> (use an empty "
20377 "string for the first parameter if you don't want any options)."
20378 msgstr ""
20379
20380 # type: =head2
20381 #: ../fish/guestfish-actions.pod:2732
20382 msgid "mount-loop"
20383 msgstr ""
20384
20385 # type: verbatim
20386 #: ../fish/guestfish-actions.pod:2734
20387 #, no-wrap
20388 msgid ""
20389 " mount-loop file mountpoint\n"
20390 "\n"
20391 msgstr ""
20392
20393 # type: =head2
20394 #: ../fish/guestfish-actions.pod:2740
20395 msgid "mount-options"
20396 msgstr ""
20397
20398 # type: verbatim
20399 #: ../fish/guestfish-actions.pod:2742
20400 #, no-wrap
20401 msgid ""
20402 " mount-options options device mountpoint\n"
20403 "\n"
20404 msgstr ""
20405
20406 # type: textblock
20407 #: ../fish/guestfish-actions.pod:2744
20408 msgid ""
20409 "This is the same as the L</mount> command, but it allows you to set the "
20410 "mount options as for the L<mount(8)> I<-o> flag."
20411 msgstr ""
20412
20413 # type: =head2
20414 #: ../fish/guestfish-actions.pod:2752
20415 msgid "mount-ro"
20416 msgstr ""
20417
20418 # type: verbatim
20419 #: ../fish/guestfish-actions.pod:2754
20420 #, no-wrap
20421 msgid ""
20422 " mount-ro device mountpoint\n"
20423 "\n"
20424 msgstr ""
20425
20426 # type: textblock
20427 #: ../fish/guestfish-actions.pod:2756
20428 msgid ""
20429 "This is the same as the L</mount> command, but it mounts the filesystem with "
20430 "the read-only (I<-o ro>) flag."
20431 msgstr ""
20432
20433 # type: =head2
20434 #: ../fish/guestfish-actions.pod:2759
20435 msgid "mount-vfs"
20436 msgstr ""
20437
20438 # type: verbatim
20439 #: ../fish/guestfish-actions.pod:2761
20440 #, no-wrap
20441 msgid ""
20442 " mount-vfs options vfstype device mountpoint\n"
20443 "\n"
20444 msgstr ""
20445
20446 # type: textblock
20447 #: ../fish/guestfish-actions.pod:2763
20448 msgid ""
20449 "This is the same as the L</mount> command, but it allows you to set both the "
20450 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
20451 msgstr ""
20452
20453 # type: =head2
20454 #: ../fish/guestfish-actions.pod:2767
20455 msgid "mountpoints"
20456 msgstr ""
20457
20458 # type: verbatim
20459 #: ../fish/guestfish-actions.pod:2769
20460 #, no-wrap
20461 msgid ""
20462 " mountpoints\n"
20463 "\n"
20464 msgstr ""
20465
20466 # type: textblock
20467 #: ../fish/guestfish-actions.pod:2771
20468 msgid ""
20469 "This call is similar to L</mounts>.  That call returns a list of devices.  "
20470 "This one returns a hash table (map) of device name to directory where the "
20471 "device is mounted."
20472 msgstr ""
20473
20474 # type: =head2
20475 #: ../fish/guestfish-actions.pod:2775
20476 msgid "mounts"
20477 msgstr ""
20478
20479 # type: verbatim
20480 #: ../fish/guestfish-actions.pod:2777
20481 #, no-wrap
20482 msgid ""
20483 " mounts\n"
20484 "\n"
20485 msgstr ""
20486
20487 # type: textblock
20488 #: ../fish/guestfish-actions.pod:2784
20489 msgid "See also: L</mountpoints>"
20490 msgstr ""
20491
20492 # type: =head2
20493 #: ../fish/guestfish-actions.pod:2786
20494 msgid "mv"
20495 msgstr ""
20496
20497 # type: verbatim
20498 #: ../fish/guestfish-actions.pod:2788
20499 #, no-wrap
20500 msgid ""
20501 " mv src dest\n"
20502 "\n"
20503 msgstr ""
20504
20505 # type: =head2
20506 #: ../fish/guestfish-actions.pod:2793
20507 msgid "ntfs-3g-probe"
20508 msgstr ""
20509
20510 # type: verbatim
20511 #: ../fish/guestfish-actions.pod:2795
20512 #, no-wrap
20513 msgid ""
20514 " ntfs-3g-probe true|false device\n"
20515 "\n"
20516 msgstr ""
20517
20518 # type: =head2
20519 #: ../fish/guestfish-actions.pod:2809
20520 msgid "ntfsresize"
20521 msgstr ""
20522
20523 # type: verbatim
20524 #: ../fish/guestfish-actions.pod:2811
20525 #, no-wrap
20526 msgid ""
20527 " ntfsresize device\n"
20528 "\n"
20529 msgstr ""
20530
20531 # type: =head2
20532 #: ../fish/guestfish-actions.pod:2817
20533 msgid "ntfsresize-size"
20534 msgstr ""
20535
20536 # type: verbatim
20537 #: ../fish/guestfish-actions.pod:2819
20538 #, no-wrap
20539 msgid ""
20540 " ntfsresize-size device size\n"
20541 "\n"
20542 msgstr ""
20543
20544 # type: textblock
20545 #: ../fish/guestfish-actions.pod:2821
20546 msgid ""
20547 "This command is the same as L</ntfsresize> except that it allows you to "
20548 "specify the new size (in bytes) explicitly."
20549 msgstr ""
20550
20551 # type: =head2
20552 #: ../fish/guestfish-actions.pod:2824
20553 msgid "part-add"
20554 msgstr ""
20555
20556 # type: verbatim
20557 #: ../fish/guestfish-actions.pod:2826
20558 #, no-wrap
20559 msgid ""
20560 " part-add device prlogex startsect endsect\n"
20561 "\n"
20562 msgstr ""
20563
20564 # type: textblock
20565 #: ../fish/guestfish-actions.pod:2828
20566 msgid ""
20567 "This command adds a partition to C<device>.  If there is no partition table "
20568 "on the device, call L</part-init> first."
20569 msgstr ""
20570
20571 # type: textblock
20572 #: ../fish/guestfish-actions.pod:2840
20573 msgid ""
20574 "Creating a partition which covers the whole disk is not so easy.  Use "
20575 "L</part-disk> to do that."
20576 msgstr ""
20577
20578 # type: =head2
20579 #: ../fish/guestfish-actions.pod:2843
20580 msgid "part-del"
20581 msgstr ""
20582
20583 # type: verbatim
20584 #: ../fish/guestfish-actions.pod:2845
20585 #, no-wrap
20586 msgid ""
20587 " part-del device partnum\n"
20588 "\n"
20589 msgstr ""
20590
20591 # type: =head2
20592 #: ../fish/guestfish-actions.pod:2853
20593 msgid "part-disk"
20594 msgstr ""
20595
20596 # type: verbatim
20597 #: ../fish/guestfish-actions.pod:2855
20598 #, no-wrap
20599 msgid ""
20600 " part-disk device parttype\n"
20601 "\n"
20602 msgstr ""
20603
20604 # type: textblock
20605 #: ../fish/guestfish-actions.pod:2857
20606 msgid ""
20607 "This command is simply a combination of L</part-init> followed by "
20608 "L</part-add> to create a single primary partition covering the whole disk."
20609 msgstr ""
20610
20611 # type: textblock
20612 #: ../fish/guestfish-actions.pod:2861
20613 msgid ""
20614 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
20615 "possible values are described in L</part-init>."
20616 msgstr ""
20617
20618 # type: =head2
20619 #: ../fish/guestfish-actions.pod:2867
20620 msgid "part-get-bootable"
20621 msgstr ""
20622
20623 # type: verbatim
20624 #: ../fish/guestfish-actions.pod:2869
20625 #, no-wrap
20626 msgid ""
20627 " part-get-bootable device partnum\n"
20628 "\n"
20629 msgstr ""
20630
20631 # type: textblock
20632 #: ../fish/guestfish-actions.pod:2874
20633 msgid "See also L</part-set-bootable>."
20634 msgstr ""
20635
20636 # type: =head2
20637 #: ../fish/guestfish-actions.pod:2876
20638 msgid "part-get-mbr-id"
20639 msgstr ""
20640
20641 # type: verbatim
20642 #: ../fish/guestfish-actions.pod:2878
20643 #, no-wrap
20644 msgid ""
20645 " part-get-mbr-id device partnum\n"
20646 "\n"
20647 msgstr ""
20648
20649 # type: textblock
20650 #: ../fish/guestfish-actions.pod:2883 ../fish/guestfish-actions.pod:3021
20651 msgid ""
20652 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
20653 "undefined results for other partition table types (see "
20654 "L</part-get-parttype>)."
20655 msgstr ""
20656
20657 # type: =head2
20658 #: ../fish/guestfish-actions.pod:2887
20659 msgid "part-get-parttype"
20660 msgstr ""
20661
20662 # type: verbatim
20663 #: ../fish/guestfish-actions.pod:2889
20664 #, no-wrap
20665 msgid ""
20666 " part-get-parttype device\n"
20667 "\n"
20668 msgstr ""
20669
20670 # type: textblock
20671 #: ../fish/guestfish-actions.pod:2894
20672 msgid ""
20673 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
20674 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
20675 "possible, although unusual.  See L</part-init> for a full list."
20676 msgstr ""
20677
20678 # type: =head2
20679 #: ../fish/guestfish-actions.pod:2899
20680 msgid "part-init"
20681 msgstr ""
20682
20683 # type: verbatim
20684 #: ../fish/guestfish-actions.pod:2901
20685 #, no-wrap
20686 msgid ""
20687 " part-init device parttype\n"
20688 "\n"
20689 msgstr ""
20690
20691 # type: textblock
20692 #: ../fish/guestfish-actions.pod:2907
20693 msgid ""
20694 "Initially there are no partitions.  Following this, you should call "
20695 "L</part-add> for each partition required."
20696 msgstr ""
20697
20698 # type: =head2
20699 #: ../fish/guestfish-actions.pod:2970
20700 msgid "part-list"
20701 msgstr ""
20702
20703 # type: verbatim
20704 #: ../fish/guestfish-actions.pod:2972
20705 #, no-wrap
20706 msgid ""
20707 " part-list device\n"
20708 "\n"
20709 msgstr ""
20710
20711 # type: textblock
20712 #: ../fish/guestfish-actions.pod:2987
20713 msgid ""
20714 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
20715 "the device's sector size, see L</blockdev-getss>."
20716 msgstr ""
20717
20718 # type: =head2
20719 #: ../fish/guestfish-actions.pod:3000
20720 msgid "part-set-bootable"
20721 msgstr ""
20722
20723 # type: verbatim
20724 #: ../fish/guestfish-actions.pod:3002
20725 #, no-wrap
20726 msgid ""
20727 " part-set-bootable device partnum true|false\n"
20728 "\n"
20729 msgstr ""
20730
20731 # type: =head2
20732 #: ../fish/guestfish-actions.pod:3011
20733 msgid "part-set-mbr-id"
20734 msgstr ""
20735
20736 # type: verbatim
20737 #: ../fish/guestfish-actions.pod:3013
20738 #, no-wrap
20739 msgid ""
20740 " part-set-mbr-id device partnum idbyte\n"
20741 "\n"
20742 msgstr ""
20743
20744 # type: =head2
20745 #: ../fish/guestfish-actions.pod:3025
20746 msgid "part-set-name"
20747 msgstr ""
20748
20749 # type: verbatim
20750 #: ../fish/guestfish-actions.pod:3027
20751 #, no-wrap
20752 msgid ""
20753 " part-set-name device partnum name\n"
20754 "\n"
20755 msgstr ""
20756
20757 # type: =head2
20758 #: ../fish/guestfish-actions.pod:3035
20759 msgid "part-to-dev"
20760 msgstr ""
20761
20762 # type: verbatim
20763 #: ../fish/guestfish-actions.pod:3037
20764 #, no-wrap
20765 msgid ""
20766 " part-to-dev partition\n"
20767 "\n"
20768 msgstr ""
20769
20770 # type: textblock
20771 #: ../fish/guestfish-actions.pod:3043
20772 msgid ""
20773 "The named partition must exist, for example as a string returned from "
20774 "L</list-partitions>."
20775 msgstr ""
20776
20777 # type: =head2
20778 #: ../fish/guestfish-actions.pod:3046
20779 msgid "ping-daemon"
20780 msgstr ""
20781
20782 # type: verbatim
20783 #: ../fish/guestfish-actions.pod:3048
20784 #, no-wrap
20785 msgid ""
20786 " ping-daemon\n"
20787 "\n"
20788 msgstr ""
20789
20790 # type: =head2
20791 #: ../fish/guestfish-actions.pod:3055
20792 msgid "pread"
20793 msgstr ""
20794
20795 # type: verbatim
20796 #: ../fish/guestfish-actions.pod:3057
20797 #, no-wrap
20798 msgid ""
20799 " pread path count offset\n"
20800 "\n"
20801 msgstr ""
20802
20803 # type: textblock
20804 #: ../fish/guestfish-actions.pod:3065
20805 msgid "See also L</pwrite>, L</pread-device>."
20806 msgstr ""
20807
20808 # type: =head2
20809 #: ../fish/guestfish-actions.pod:3070
20810 msgid "pread-device"
20811 msgstr ""
20812
20813 # type: verbatim
20814 #: ../fish/guestfish-actions.pod:3072
20815 #, no-wrap
20816 msgid ""
20817 " pread-device device count offset\n"
20818 "\n"
20819 msgstr ""
20820
20821 # type: textblock
20822 #: ../fish/guestfish-actions.pod:3080
20823 msgid "See also L</pread>."
20824 msgstr ""
20825
20826 # type: =head2
20827 #: ../fish/guestfish-actions.pod:3085
20828 msgid "pvcreate"
20829 msgstr ""
20830
20831 # type: verbatim
20832 #: ../fish/guestfish-actions.pod:3087
20833 #, no-wrap
20834 msgid ""
20835 " pvcreate device\n"
20836 "\n"
20837 msgstr ""
20838
20839 # type: =head2
20840 #: ../fish/guestfish-actions.pod:3093
20841 msgid "pvremove"
20842 msgstr ""
20843
20844 # type: verbatim
20845 #: ../fish/guestfish-actions.pod:3095
20846 #, no-wrap
20847 msgid ""
20848 " pvremove device\n"
20849 "\n"
20850 msgstr ""
20851
20852 # type: =head2
20853 #: ../fish/guestfish-actions.pod:3104
20854 msgid "pvresize"
20855 msgstr ""
20856
20857 # type: verbatim
20858 #: ../fish/guestfish-actions.pod:3106
20859 #, no-wrap
20860 msgid ""
20861 " pvresize device\n"
20862 "\n"
20863 msgstr ""
20864
20865 # type: =head2
20866 #: ../fish/guestfish-actions.pod:3111
20867 msgid "pvresize-size"
20868 msgstr ""
20869
20870 # type: verbatim
20871 #: ../fish/guestfish-actions.pod:3113
20872 #, no-wrap
20873 msgid ""
20874 " pvresize-size device size\n"
20875 "\n"
20876 msgstr ""
20877
20878 # type: textblock
20879 #: ../fish/guestfish-actions.pod:3115
20880 msgid ""
20881 "This command is the same as L</pvresize> except that it allows you to "
20882 "specify the new size (in bytes) explicitly."
20883 msgstr ""
20884
20885 # type: =head2
20886 #: ../fish/guestfish-actions.pod:3118
20887 msgid "pvs"
20888 msgstr ""
20889
20890 # type: verbatim
20891 #: ../fish/guestfish-actions.pod:3120
20892 #, no-wrap
20893 msgid ""
20894 " pvs\n"
20895 "\n"
20896 msgstr ""
20897
20898 # type: textblock
20899 #: ../fish/guestfish-actions.pod:3128
20900 msgid "See also L</pvs-full>."
20901 msgstr ""
20902
20903 # type: =head2
20904 #: ../fish/guestfish-actions.pod:3130
20905 msgid "pvs-full"
20906 msgstr ""
20907
20908 # type: verbatim
20909 #: ../fish/guestfish-actions.pod:3132
20910 #, no-wrap
20911 msgid ""
20912 " pvs-full\n"
20913 "\n"
20914 msgstr ""
20915
20916 # type: =head2
20917 #: ../fish/guestfish-actions.pod:3137
20918 msgid "pvuuid"
20919 msgstr ""
20920
20921 # type: verbatim
20922 #: ../fish/guestfish-actions.pod:3139
20923 #, no-wrap
20924 msgid ""
20925 " pvuuid device\n"
20926 "\n"
20927 msgstr ""
20928
20929 # type: =head2
20930 #: ../fish/guestfish-actions.pod:3143
20931 msgid "pwrite"
20932 msgstr ""
20933
20934 # type: verbatim
20935 #: ../fish/guestfish-actions.pod:3145
20936 #, no-wrap
20937 msgid ""
20938 " pwrite path content offset\n"
20939 "\n"
20940 msgstr ""
20941
20942 # type: textblock
20943 #: ../fish/guestfish-actions.pod:3156
20944 msgid "See also L</pread>, L</pwrite-device>."
20945 msgstr ""
20946
20947 # type: =head2
20948 #: ../fish/guestfish-actions.pod:3161
20949 msgid "pwrite-device"
20950 msgstr ""
20951
20952 # type: verbatim
20953 #: ../fish/guestfish-actions.pod:3163
20954 #, no-wrap
20955 msgid ""
20956 " pwrite-device device content offset\n"
20957 "\n"
20958 msgstr ""
20959
20960 # type: textblock
20961 #: ../fish/guestfish-actions.pod:3173
20962 msgid "See also L</pwrite>."
20963 msgstr ""
20964
20965 # type: =head2
20966 #: ../fish/guestfish-actions.pod:3178
20967 msgid "read-file"
20968 msgstr ""
20969
20970 # type: verbatim
20971 #: ../fish/guestfish-actions.pod:3180
20972 #, no-wrap
20973 msgid ""
20974 " read-file path\n"
20975 "\n"
20976 msgstr ""
20977
20978 # type: textblock
20979 #: ../fish/guestfish-actions.pod:3185
20980 msgid ""
20981 "Unlike L</cat>, this function can correctly handle files that contain "
20982 "embedded ASCII NUL characters.  However unlike L</download>, this function "
20983 "is limited in the total size of file that can be handled."
20984 msgstr ""
20985
20986 # type: =head2
20987 #: ../fish/guestfish-actions.pod:3193
20988 msgid "read-lines"
20989 msgstr ""
20990
20991 # type: verbatim
20992 #: ../fish/guestfish-actions.pod:3195
20993 #, no-wrap
20994 msgid ""
20995 " read-lines path\n"
20996 "\n"
20997 msgstr ""
20998
20999 # type: textblock
21000 #: ../fish/guestfish-actions.pod:3202
21001 msgid ""
21002 "Note that this function cannot correctly handle binary files (specifically, "
21003 "files containing C<\\0> character which is treated as end of line).  For "
21004 "those you need to use the L</read-file> function which has a more complex "
21005 "interface."
21006 msgstr ""
21007
21008 # type: =head2
21009 #: ../fish/guestfish-actions.pod:3207
21010 msgid "readdir"
21011 msgstr ""
21012
21013 # type: verbatim
21014 #: ../fish/guestfish-actions.pod:3209
21015 #, no-wrap
21016 msgid ""
21017 " readdir dir\n"
21018 "\n"
21019 msgstr ""
21020
21021 # type: textblock
21022 #: ../fish/guestfish-actions.pod:3261
21023 msgid ""
21024 "This function is primarily intended for use by programs.  To get a simple "
21025 "list of names, use L</ls>.  To get a printable directory for human "
21026 "consumption, use L</ll>."
21027 msgstr ""
21028
21029 # type: =head2
21030 #: ../fish/guestfish-actions.pod:3265
21031 msgid "readlink"
21032 msgstr ""
21033
21034 # type: verbatim
21035 #: ../fish/guestfish-actions.pod:3267
21036 #, no-wrap
21037 msgid ""
21038 " readlink path\n"
21039 "\n"
21040 msgstr ""
21041
21042 # type: =head2
21043 #: ../fish/guestfish-actions.pod:3271
21044 msgid "readlinklist"
21045 msgstr ""
21046
21047 # type: verbatim
21048 #: ../fish/guestfish-actions.pod:3273
21049 #, no-wrap
21050 msgid ""
21051 " readlinklist path 'names ...'\n"
21052 "\n"
21053 msgstr ""
21054
21055 # type: =head2
21056 #: ../fish/guestfish-actions.pod:3297
21057 msgid "realpath"
21058 msgstr ""
21059
21060 # type: verbatim
21061 #: ../fish/guestfish-actions.pod:3299
21062 #, no-wrap
21063 msgid ""
21064 " realpath path\n"
21065 "\n"
21066 msgstr ""
21067
21068 # type: =head2
21069 #: ../fish/guestfish-actions.pod:3304
21070 msgid "removexattr"
21071 msgstr ""
21072
21073 # type: verbatim
21074 #: ../fish/guestfish-actions.pod:3306
21075 #, no-wrap
21076 msgid ""
21077 " removexattr xattr path\n"
21078 "\n"
21079 msgstr ""
21080
21081 # type: textblock
21082 #: ../fish/guestfish-actions.pod:3311
21083 msgid "See also: L</lremovexattr>, L<attr(5)>."
21084 msgstr ""
21085
21086 # type: =head2
21087 #: ../fish/guestfish-actions.pod:3313
21088 msgid "resize2fs"
21089 msgstr ""
21090
21091 # type: verbatim
21092 #: ../fish/guestfish-actions.pod:3315
21093 #, no-wrap
21094 msgid ""
21095 " resize2fs device\n"
21096 "\n"
21097 msgstr ""
21098
21099 # type: textblock
21100 #: ../fish/guestfish-actions.pod:3320
21101 msgid ""
21102 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
21103 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
21104 "gives an error about this and sometimes not.  In any case, it is always safe "
21105 "to call L</e2fsck-f> before calling this function."
21106 msgstr ""
21107
21108 # type: =head2
21109 #: ../fish/guestfish-actions.pod:3326
21110 msgid "resize2fs-size"
21111 msgstr ""
21112
21113 # type: verbatim
21114 #: ../fish/guestfish-actions.pod:3328
21115 #, no-wrap
21116 msgid ""
21117 " resize2fs-size device size\n"
21118 "\n"
21119 msgstr ""
21120
21121 # type: textblock
21122 #: ../fish/guestfish-actions.pod:3330
21123 msgid ""
21124 "This command is the same as L</resize2fs> except that it allows you to "
21125 "specify the new size (in bytes) explicitly."
21126 msgstr ""
21127
21128 # type: =head2
21129 #: ../fish/guestfish-actions.pod:3333
21130 msgid "rm"
21131 msgstr ""
21132
21133 # type: verbatim
21134 #: ../fish/guestfish-actions.pod:3335
21135 #, no-wrap
21136 msgid ""
21137 " rm path\n"
21138 "\n"
21139 msgstr ""
21140
21141 # type: =head2
21142 #: ../fish/guestfish-actions.pod:3339
21143 msgid "rm-rf"
21144 msgstr ""
21145
21146 # type: verbatim
21147 #: ../fish/guestfish-actions.pod:3341
21148 #, no-wrap
21149 msgid ""
21150 " rm-rf path\n"
21151 "\n"
21152 msgstr ""
21153
21154 # type: =head2
21155 #: ../fish/guestfish-actions.pod:3347
21156 msgid "rmdir"
21157 msgstr ""
21158
21159 # type: verbatim
21160 #: ../fish/guestfish-actions.pod:3349
21161 #, no-wrap
21162 msgid ""
21163 " rmdir path\n"
21164 "\n"
21165 msgstr ""
21166
21167 # type: =head2
21168 #: ../fish/guestfish-actions.pod:3353
21169 msgid "rmmountpoint"
21170 msgstr ""
21171
21172 # type: verbatim
21173 #: ../fish/guestfish-actions.pod:3355
21174 #, no-wrap
21175 msgid ""
21176 " rmmountpoint exemptpath\n"
21177 "\n"
21178 msgstr ""
21179
21180 # type: textblock
21181 #: ../fish/guestfish-actions.pod:3357
21182 msgid ""
21183 "This calls removes a mountpoint that was previously created with "
21184 "L</mkmountpoint>.  See L</mkmountpoint> for full details."
21185 msgstr ""
21186
21187 # type: =head2
21188 #: ../fish/guestfish-actions.pod:3361
21189 msgid "scrub-device"
21190 msgstr ""
21191
21192 # type: verbatim
21193 #: ../fish/guestfish-actions.pod:3363
21194 #, no-wrap
21195 msgid ""
21196 " scrub-device device\n"
21197 "\n"
21198 msgstr ""
21199
21200 # type: =head2
21201 #: ../fish/guestfish-actions.pod:3374
21202 msgid "scrub-file"
21203 msgstr ""
21204
21205 # type: verbatim
21206 #: ../fish/guestfish-actions.pod:3376
21207 #, no-wrap
21208 msgid ""
21209 " scrub-file file\n"
21210 "\n"
21211 msgstr ""
21212
21213 # type: =head2
21214 #: ../fish/guestfish-actions.pod:3386
21215 msgid "scrub-freespace"
21216 msgstr ""
21217
21218 # type: verbatim
21219 #: ../fish/guestfish-actions.pod:3388
21220 #, no-wrap
21221 msgid ""
21222 " scrub-freespace dir\n"
21223 "\n"
21224 msgstr ""
21225
21226 # type: textblock
21227 #: ../fish/guestfish-actions.pod:3390
21228 msgid ""
21229 "This command creates the directory C<dir> and then fills it with files until "
21230 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
21231 "deletes them.  The intention is to scrub any free space on the partition "
21232 "containing C<dir>."
21233 msgstr ""
21234
21235 # type: =head2
21236 #: ../fish/guestfish-actions.pod:3399
21237 msgid "set-append"
21238 msgstr ""
21239
21240 # type: =head2
21241 #: ../fish/guestfish-actions.pod:3401
21242 msgid "append"
21243 msgstr ""
21244
21245 # type: verbatim
21246 #: ../fish/guestfish-actions.pod:3403
21247 #, no-wrap
21248 msgid ""
21249 " set-append append\n"
21250 "\n"
21251 msgstr ""
21252
21253 # type: =head2
21254 #: ../fish/guestfish-actions.pod:3414
21255 msgid "set-autosync"
21256 msgstr ""
21257
21258 # type: =head2
21259 #: ../fish/guestfish-actions.pod:3416
21260 msgid "autosync"
21261 msgstr ""
21262
21263 # type: verbatim
21264 #: ../fish/guestfish-actions.pod:3418
21265 #, no-wrap
21266 msgid ""
21267 " set-autosync true|false\n"
21268 "\n"
21269 msgstr ""
21270
21271 # type: textblock
21272 #: ../fish/guestfish-actions.pod:3420
21273 msgid ""
21274 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
21275 "effort attempt to run L</umount-all> followed by L</sync> when the handle is "
21276 "closed (also if the program exits without closing handles)."
21277 msgstr ""
21278
21279 # type: =head2
21280 #: ../fish/guestfish-actions.pod:3428
21281 msgid "set-direct"
21282 msgstr ""
21283
21284 # type: =head2
21285 #: ../fish/guestfish-actions.pod:3430
21286 msgid "direct"
21287 msgstr ""
21288
21289 # type: verbatim
21290 #: ../fish/guestfish-actions.pod:3432
21291 #, no-wrap
21292 msgid ""
21293 " set-direct true|false\n"
21294 "\n"
21295 msgstr ""
21296
21297 # type: textblock
21298 #: ../fish/guestfish-actions.pod:3438
21299 msgid ""
21300 "One consequence of this is that log messages aren't caught by the library "
21301 "and handled by L</set-log-message-callback>, but go straight to stdout."
21302 msgstr ""
21303
21304 # type: =head2
21305 #: ../fish/guestfish-actions.pod:3447
21306 msgid "set-e2label"
21307 msgstr ""
21308
21309 # type: verbatim
21310 #: ../fish/guestfish-actions.pod:3449
21311 #, no-wrap
21312 msgid ""
21313 " set-e2label device label\n"
21314 "\n"
21315 msgstr ""
21316
21317 # type: textblock
21318 #: ../fish/guestfish-actions.pod:3455
21319 msgid ""
21320 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
21321 "label on a filesystem."
21322 msgstr ""
21323
21324 # type: =head2
21325 #: ../fish/guestfish-actions.pod:3458
21326 msgid "set-e2uuid"
21327 msgstr ""
21328
21329 # type: verbatim
21330 #: ../fish/guestfish-actions.pod:3460
21331 #, no-wrap
21332 msgid ""
21333 " set-e2uuid device uuid\n"
21334 "\n"
21335 msgstr ""
21336
21337 # type: textblock
21338 #: ../fish/guestfish-actions.pod:3467
21339 msgid ""
21340 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
21341 "UUID of a filesystem."
21342 msgstr ""
21343
21344 # type: =head2
21345 #: ../fish/guestfish-actions.pod:3470
21346 msgid "set-memsize"
21347 msgstr ""
21348
21349 # type: =head2
21350 #: ../fish/guestfish-actions.pod:3472
21351 msgid "memsize"
21352 msgstr ""
21353
21354 # type: verbatim
21355 #: ../fish/guestfish-actions.pod:3474
21356 #, no-wrap
21357 msgid ""
21358 " set-memsize memsize\n"
21359 "\n"
21360 msgstr ""
21361
21362 # type: textblock
21363 #: ../fish/guestfish-actions.pod:3476
21364 msgid ""
21365 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
21366 "This only has any effect if called before L</launch>."
21367 msgstr ""
21368
21369 # type: =head2
21370 #: ../fish/guestfish-actions.pod:3487
21371 msgid "set-network"
21372 msgstr ""
21373
21374 # type: =head2
21375 #: ../fish/guestfish-actions.pod:3489
21376 msgid "network"
21377 msgstr ""
21378
21379 # type: verbatim
21380 #: ../fish/guestfish-actions.pod:3491
21381 #, no-wrap
21382 msgid ""
21383 " set-network true|false\n"
21384 "\n"
21385 msgstr ""
21386
21387 # type: textblock
21388 #: ../fish/guestfish-actions.pod:3499
21389 msgid "You must call this before calling L</launch>, otherwise it has no effect."
21390 msgstr ""
21391
21392 # type: =head2
21393 #: ../fish/guestfish-actions.pod:3502
21394 msgid "set-path"
21395 msgstr ""
21396
21397 # type: =head2
21398 #: ../fish/guestfish-actions.pod:3504
21399 msgid "path"
21400 msgstr ""
21401
21402 # type: verbatim
21403 #: ../fish/guestfish-actions.pod:3506
21404 #, no-wrap
21405 msgid ""
21406 " set-path searchpath\n"
21407 "\n"
21408 msgstr ""
21409
21410 # type: =head2
21411 #: ../fish/guestfish-actions.pod:3515
21412 msgid "set-qemu"
21413 msgstr ""
21414
21415 # type: =head2
21416 #: ../fish/guestfish-actions.pod:3517
21417 msgid "qemu"
21418 msgstr ""
21419
21420 # type: verbatim
21421 #: ../fish/guestfish-actions.pod:3519
21422 #, no-wrap
21423 msgid ""
21424 " set-qemu qemu\n"
21425 "\n"
21426 msgstr ""
21427
21428 # type: =head2
21429 #: ../fish/guestfish-actions.pod:3539
21430 msgid "set-recovery-proc"
21431 msgstr ""
21432
21433 # type: =head2
21434 #: ../fish/guestfish-actions.pod:3541
21435 msgid "recovery-proc"
21436 msgstr ""
21437
21438 # type: verbatim
21439 #: ../fish/guestfish-actions.pod:3543
21440 #, no-wrap
21441 msgid ""
21442 " set-recovery-proc true|false\n"
21443 "\n"
21444 msgstr ""
21445
21446 # type: textblock
21447 #: ../fish/guestfish-actions.pod:3545
21448 msgid ""
21449 "If this is called with the parameter C<false> then L</launch> does not "
21450 "create a recovery process.  The purpose of the recovery process is to stop "
21451 "runaway qemu processes in the case where the main program aborts abruptly."
21452 msgstr ""
21453
21454 # type: textblock
21455 #: ../fish/guestfish-actions.pod:3550
21456 msgid ""
21457 "This only has any effect if called before L</launch>, and the default is "
21458 "true."
21459 msgstr ""
21460
21461 # type: =head2
21462 #: ../fish/guestfish-actions.pod:3559
21463 msgid "set-selinux"
21464 msgstr ""
21465
21466 # type: =head2
21467 #: ../fish/guestfish-actions.pod:3561
21468 msgid "selinux"
21469 msgstr ""
21470
21471 # type: verbatim
21472 #: ../fish/guestfish-actions.pod:3563
21473 #, no-wrap
21474 msgid ""
21475 " set-selinux true|false\n"
21476 "\n"
21477 msgstr ""
21478
21479 # type: =head2
21480 #: ../fish/guestfish-actions.pod:3574
21481 msgid "set-trace"
21482 msgstr ""
21483
21484 # type: =head2
21485 #: ../fish/guestfish-actions.pod:3576
21486 msgid "trace"
21487 msgstr ""
21488
21489 # type: verbatim
21490 #: ../fish/guestfish-actions.pod:3578
21491 #, no-wrap
21492 msgid ""
21493 " set-trace true|false\n"
21494 "\n"
21495 msgstr ""
21496
21497 # type: =head2
21498 #: ../fish/guestfish-actions.pod:3594
21499 msgid "set-verbose"
21500 msgstr ""
21501
21502 # type: =head2
21503 #: ../fish/guestfish-actions.pod:3596
21504 msgid "verbose"
21505 msgstr ""
21506
21507 # type: verbatim
21508 #: ../fish/guestfish-actions.pod:3598
21509 #, no-wrap
21510 msgid ""
21511 " set-verbose true|false\n"
21512 "\n"
21513 msgstr ""
21514
21515 # type: =head2
21516 #: ../fish/guestfish-actions.pod:3605
21517 msgid "setcon"
21518 msgstr ""
21519
21520 # type: verbatim
21521 #: ../fish/guestfish-actions.pod:3607
21522 #, no-wrap
21523 msgid ""
21524 " setcon context\n"
21525 "\n"
21526 msgstr ""
21527
21528 # type: =head2
21529 #: ../fish/guestfish-actions.pod:3614
21530 msgid "setxattr"
21531 msgstr ""
21532
21533 # type: verbatim
21534 #: ../fish/guestfish-actions.pod:3616
21535 #, no-wrap
21536 msgid ""
21537 " setxattr xattr val vallen path\n"
21538 "\n"
21539 msgstr ""
21540
21541 # type: textblock
21542 #: ../fish/guestfish-actions.pod:3622
21543 msgid "See also: L</lsetxattr>, L<attr(5)>."
21544 msgstr ""
21545
21546 # type: =head2
21547 #: ../fish/guestfish-actions.pod:3624
21548 msgid "sfdisk"
21549 msgstr ""
21550
21551 # type: verbatim
21552 #: ../fish/guestfish-actions.pod:3626
21553 #, no-wrap
21554 msgid ""
21555 " sfdisk device cyls heads sectors 'lines ...'\n"
21556 "\n"
21557 msgstr ""
21558
21559 # type: textblock
21560 #: ../fish/guestfish-actions.pod:3648
21561 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
21562 msgstr ""
21563
21564 # type: =head2
21565 #: ../fish/guestfish-actions.pod:3654
21566 msgid "sfdiskM"
21567 msgstr ""
21568
21569 # type: verbatim
21570 #: ../fish/guestfish-actions.pod:3656
21571 #, no-wrap
21572 msgid ""
21573 " sfdiskM device 'lines ...'\n"
21574 "\n"
21575 msgstr ""
21576
21577 # type: textblock
21578 #: ../fish/guestfish-actions.pod:3658
21579 msgid ""
21580 "This is a simplified interface to the L</sfdisk> command, where partition "
21581 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
21582 "you don't need to specify the cyls, heads and sectors parameters which were "
21583 "rarely if ever used anyway."
21584 msgstr ""
21585
21586 # type: textblock
21587 #: ../fish/guestfish-actions.pod:3664
21588 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
21589 msgstr ""
21590
21591 # type: =head2
21592 #: ../fish/guestfish-actions.pod:3670
21593 msgid "sfdisk-N"
21594 msgstr ""
21595
21596 # type: verbatim
21597 #: ../fish/guestfish-actions.pod:3672
21598 #, no-wrap
21599 msgid ""
21600 " sfdisk-N device partnum cyls heads sectors line\n"
21601 "\n"
21602 msgstr ""
21603
21604 # type: textblock
21605 #: ../fish/guestfish-actions.pod:3677
21606 msgid ""
21607 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
21608 "cyls/heads/sectors parameters."
21609 msgstr ""
21610
21611 # type: textblock
21612 #: ../fish/guestfish-actions.pod:3680
21613 msgid "See also: L</part-add>"
21614 msgstr ""
21615
21616 # type: =head2
21617 #: ../fish/guestfish-actions.pod:3685
21618 msgid "sfdisk-disk-geometry"
21619 msgstr ""
21620
21621 # type: verbatim
21622 #: ../fish/guestfish-actions.pod:3687
21623 #, no-wrap
21624 msgid ""
21625 " sfdisk-disk-geometry device\n"
21626 "\n"
21627 msgstr ""
21628
21629 # type: textblock
21630 #: ../fish/guestfish-actions.pod:3689
21631 msgid ""
21632 "This displays the disk geometry of C<device> read from the partition table.  "
21633 "Especially in the case where the underlying block device has been resized, "
21634 "this can be different from the kernel's idea of the geometry (see "
21635 "L</sfdisk-kernel-geometry>)."
21636 msgstr ""
21637
21638 # type: =head2
21639 #: ../fish/guestfish-actions.pod:3697
21640 msgid "sfdisk-kernel-geometry"
21641 msgstr ""
21642
21643 # type: verbatim
21644 #: ../fish/guestfish-actions.pod:3699
21645 #, no-wrap
21646 msgid ""
21647 " sfdisk-kernel-geometry device\n"
21648 "\n"
21649 msgstr ""
21650
21651 # type: =head2
21652 #: ../fish/guestfish-actions.pod:3706
21653 msgid "sfdisk-l"
21654 msgstr ""
21655
21656 # type: verbatim
21657 #: ../fish/guestfish-actions.pod:3708
21658 #, no-wrap
21659 msgid ""
21660 " sfdisk-l device\n"
21661 "\n"
21662 msgstr ""
21663
21664 # type: textblock
21665 #: ../fish/guestfish-actions.pod:3714
21666 msgid "See also: L</part-list>"
21667 msgstr ""
21668
21669 # type: =head2
21670 #: ../fish/guestfish-actions.pod:3716
21671 msgid "sh"
21672 msgstr ""
21673
21674 # type: verbatim
21675 #: ../fish/guestfish-actions.pod:3718
21676 #, no-wrap
21677 msgid ""
21678 " sh command\n"
21679 "\n"
21680 msgstr ""
21681
21682 # type: textblock
21683 #: ../fish/guestfish-actions.pod:3723
21684 msgid "This is like L</command>, but passes the command to:"
21685 msgstr ""
21686
21687 # type: textblock
21688 #: ../fish/guestfish-actions.pod:3731
21689 msgid "All the provisos about L</command> apply to this call."
21690 msgstr ""
21691
21692 # type: =head2
21693 #: ../fish/guestfish-actions.pod:3733
21694 msgid "sh-lines"
21695 msgstr ""
21696
21697 # type: verbatim
21698 #: ../fish/guestfish-actions.pod:3735
21699 #, no-wrap
21700 msgid ""
21701 " sh-lines command\n"
21702 "\n"
21703 msgstr ""
21704
21705 # type: textblock
21706 #: ../fish/guestfish-actions.pod:3737
21707 msgid "This is the same as L</sh>, but splits the result into a list of lines."
21708 msgstr ""
21709
21710 # type: textblock
21711 #: ../fish/guestfish-actions.pod:3740
21712 msgid "See also: L</command-lines>"
21713 msgstr ""
21714
21715 # type: =head2
21716 #: ../fish/guestfish-actions.pod:3742
21717 msgid "sleep"
21718 msgstr ""
21719
21720 # type: verbatim
21721 #: ../fish/guestfish-actions.pod:3744
21722 #, no-wrap
21723 msgid ""
21724 " sleep secs\n"
21725 "\n"
21726 msgstr ""
21727
21728 # type: =head2
21729 #: ../fish/guestfish-actions.pod:3748
21730 msgid "stat"
21731 msgstr ""
21732
21733 # type: verbatim
21734 #: ../fish/guestfish-actions.pod:3750
21735 #, no-wrap
21736 msgid ""
21737 " stat path\n"
21738 "\n"
21739 msgstr ""
21740
21741 # type: =head2
21742 #: ../fish/guestfish-actions.pod:3756
21743 msgid "statvfs"
21744 msgstr ""
21745
21746 # type: verbatim
21747 #: ../fish/guestfish-actions.pod:3758
21748 #, no-wrap
21749 msgid ""
21750 " statvfs path\n"
21751 "\n"
21752 msgstr ""
21753
21754 # type: =head2
21755 #: ../fish/guestfish-actions.pod:3766
21756 msgid "strings"
21757 msgstr ""
21758
21759 # type: verbatim
21760 #: ../fish/guestfish-actions.pod:3768
21761 #, no-wrap
21762 msgid ""
21763 " strings path\n"
21764 "\n"
21765 msgstr ""
21766
21767 # type: =head2
21768 #: ../fish/guestfish-actions.pod:3776
21769 msgid "strings-e"
21770 msgstr ""
21771
21772 # type: verbatim
21773 #: ../fish/guestfish-actions.pod:3778
21774 #, no-wrap
21775 msgid ""
21776 " strings-e encoding path\n"
21777 "\n"
21778 msgstr ""
21779
21780 # type: textblock
21781 #: ../fish/guestfish-actions.pod:3780
21782 msgid ""
21783 "This is like the L</strings> command, but allows you to specify the encoding "
21784 "of strings that are looked for in the source file C<path>."
21785 msgstr ""
21786
21787 # type: textblock
21788 #: ../fish/guestfish-actions.pod:3790
21789 msgid ""
21790 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
21791 "ISO-8859-X (this is what L</strings> uses)."
21792 msgstr ""
21793
21794 # type: =head2
21795 #: ../fish/guestfish-actions.pod:3822
21796 msgid "swapoff-device"
21797 msgstr ""
21798
21799 # type: verbatim
21800 #: ../fish/guestfish-actions.pod:3824
21801 #, no-wrap
21802 msgid ""
21803 " swapoff-device device\n"
21804 "\n"
21805 msgstr ""
21806
21807 # type: textblock
21808 #: ../fish/guestfish-actions.pod:3826
21809 msgid ""
21810 "This command disables the libguestfs appliance swap device or partition "
21811 "named C<device>.  See L</swapon-device>."
21812 msgstr ""
21813
21814 # type: =head2
21815 #: ../fish/guestfish-actions.pod:3830
21816 msgid "swapoff-file"
21817 msgstr ""
21818
21819 # type: verbatim
21820 #: ../fish/guestfish-actions.pod:3832
21821 #, no-wrap
21822 msgid ""
21823 " swapoff-file file\n"
21824 "\n"
21825 msgstr ""
21826
21827 # type: =head2
21828 #: ../fish/guestfish-actions.pod:3836
21829 msgid "swapoff-label"
21830 msgstr ""
21831
21832 # type: verbatim
21833 #: ../fish/guestfish-actions.pod:3838
21834 #, no-wrap
21835 msgid ""
21836 " swapoff-label label\n"
21837 "\n"
21838 msgstr ""
21839
21840 # type: =head2
21841 #: ../fish/guestfish-actions.pod:3843
21842 msgid "swapoff-uuid"
21843 msgstr ""
21844
21845 # type: verbatim
21846 #: ../fish/guestfish-actions.pod:3845
21847 #, no-wrap
21848 msgid ""
21849 " swapoff-uuid uuid\n"
21850 "\n"
21851 msgstr ""
21852
21853 # type: =head2
21854 #: ../fish/guestfish-actions.pod:3850
21855 msgid "swapon-device"
21856 msgstr ""
21857
21858 # type: verbatim
21859 #: ../fish/guestfish-actions.pod:3852
21860 #, no-wrap
21861 msgid ""
21862 " swapon-device device\n"
21863 "\n"
21864 msgstr ""
21865
21866 # type: textblock
21867 #: ../fish/guestfish-actions.pod:3854
21868 msgid ""
21869 "This command enables the libguestfs appliance to use the swap device or "
21870 "partition named C<device>.  The increased memory is made available for all "
21871 "commands, for example those run using L</command> or L</sh>."
21872 msgstr ""
21873
21874 # type: =head2
21875 #: ../fish/guestfish-actions.pod:3866
21876 msgid "swapon-file"
21877 msgstr ""
21878
21879 # type: verbatim
21880 #: ../fish/guestfish-actions.pod:3868
21881 #, no-wrap
21882 msgid ""
21883 " swapon-file file\n"
21884 "\n"
21885 msgstr ""
21886
21887 # type: textblock
21888 #: ../fish/guestfish-actions.pod:3870
21889 msgid "This command enables swap to a file.  See L</swapon-device> for other notes."
21890 msgstr ""
21891
21892 # type: =head2
21893 #: ../fish/guestfish-actions.pod:3873
21894 msgid "swapon-label"
21895 msgstr ""
21896
21897 # type: verbatim
21898 #: ../fish/guestfish-actions.pod:3875
21899 #, no-wrap
21900 msgid ""
21901 " swapon-label label\n"
21902 "\n"
21903 msgstr ""
21904
21905 # type: textblock
21906 #: ../fish/guestfish-actions.pod:3877
21907 msgid ""
21908 "This command enables swap to a labeled swap partition.  See "
21909 "L</swapon-device> for other notes."
21910 msgstr ""
21911
21912 # type: =head2
21913 #: ../fish/guestfish-actions.pod:3880
21914 msgid "swapon-uuid"
21915 msgstr ""
21916
21917 # type: verbatim
21918 #: ../fish/guestfish-actions.pod:3882
21919 #, no-wrap
21920 msgid ""
21921 " swapon-uuid uuid\n"
21922 "\n"
21923 msgstr ""
21924
21925 # type: textblock
21926 #: ../fish/guestfish-actions.pod:3884
21927 msgid ""
21928 "This command enables swap to a swap partition with the given UUID.  See "
21929 "L</swapon-device> for other notes."
21930 msgstr ""
21931
21932 # type: =head2
21933 #: ../fish/guestfish-actions.pod:3887
21934 msgid "sync"
21935 msgstr ""
21936
21937 # type: verbatim
21938 #: ../fish/guestfish-actions.pod:3889
21939 #, no-wrap
21940 msgid ""
21941 " sync\n"
21942 "\n"
21943 msgstr ""
21944
21945 # type: =head2
21946 #: ../fish/guestfish-actions.pod:3897
21947 msgid "tail"
21948 msgstr ""
21949
21950 # type: verbatim
21951 #: ../fish/guestfish-actions.pod:3899
21952 #, no-wrap
21953 msgid ""
21954 " tail path\n"
21955 "\n"
21956 msgstr ""
21957
21958 # type: =head2
21959 #: ../fish/guestfish-actions.pod:3907
21960 msgid "tail-n"
21961 msgstr ""
21962
21963 # type: verbatim
21964 #: ../fish/guestfish-actions.pod:3909
21965 #, no-wrap
21966 msgid ""
21967 " tail-n nrlines path\n"
21968 "\n"
21969 msgstr ""
21970
21971 # type: =head2
21972 #: ../fish/guestfish-actions.pod:3922
21973 msgid "tar-in"
21974 msgstr ""
21975
21976 # type: verbatim
21977 #: ../fish/guestfish-actions.pod:3924
21978 #, no-wrap
21979 msgid ""
21980 " tar-in (tarfile|-) directory\n"
21981 "\n"
21982 msgstr ""
21983
21984 # type: textblock
21985 #: ../fish/guestfish-actions.pod:3929
21986 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
21987 msgstr ""
21988
21989 # type: =head2
21990 #: ../fish/guestfish-actions.pod:3934
21991 msgid "tar-out"
21992 msgstr ""
21993
21994 # type: verbatim
21995 #: ../fish/guestfish-actions.pod:3936
21996 #, no-wrap
21997 msgid ""
21998 " tar-out directory (tarfile|-)\n"
21999 "\n"
22000 msgstr ""
22001
22002 # type: textblock
22003 #: ../fish/guestfish-actions.pod:3941
22004 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
22005 msgstr ""
22006
22007 # type: =head2
22008 #: ../fish/guestfish-actions.pod:3946
22009 msgid "tgz-in"
22010 msgstr ""
22011
22012 # type: verbatim
22013 #: ../fish/guestfish-actions.pod:3948
22014 #, no-wrap
22015 msgid ""
22016 " tgz-in (tarball|-) directory\n"
22017 "\n"
22018 msgstr ""
22019
22020 # type: textblock
22021 #: ../fish/guestfish-actions.pod:3953
22022 msgid "To upload an uncompressed tarball, use L</tar-in>."
22023 msgstr ""
22024
22025 # type: =head2
22026 #: ../fish/guestfish-actions.pod:3957
22027 msgid "tgz-out"
22028 msgstr ""
22029
22030 # type: verbatim
22031 #: ../fish/guestfish-actions.pod:3959
22032 #, no-wrap
22033 msgid ""
22034 " tgz-out directory (tarball|-)\n"
22035 "\n"
22036 msgstr ""
22037
22038 # type: textblock
22039 #: ../fish/guestfish-actions.pod:3964
22040 msgid "To download an uncompressed tarball, use L</tar-out>."
22041 msgstr ""
22042
22043 # type: =head2
22044 #: ../fish/guestfish-actions.pod:3968
22045 msgid "touch"
22046 msgstr ""
22047
22048 # type: verbatim
22049 #: ../fish/guestfish-actions.pod:3970
22050 #, no-wrap
22051 msgid ""
22052 " touch path\n"
22053 "\n"
22054 msgstr ""
22055
22056 # type: =head2
22057 #: ../fish/guestfish-actions.pod:3979
22058 msgid "truncate"
22059 msgstr ""
22060
22061 # type: verbatim
22062 #: ../fish/guestfish-actions.pod:3981
22063 #, no-wrap
22064 msgid ""
22065 " truncate path\n"
22066 "\n"
22067 msgstr ""
22068
22069 # type: =head2
22070 #: ../fish/guestfish-actions.pod:3986
22071 msgid "truncate-size"
22072 msgstr ""
22073
22074 # type: verbatim
22075 #: ../fish/guestfish-actions.pod:3988
22076 #, no-wrap
22077 msgid ""
22078 " truncate-size path size\n"
22079 "\n"
22080 msgstr ""
22081
22082 # type: textblock
22083 #: ../fish/guestfish-actions.pod:3993
22084 msgid ""
22085 "If the current file size is less than C<size> then the file is extended to "
22086 "the required size with zero bytes.  This creates a sparse file (ie. disk "
22087 "blocks are not allocated for the file until you write to it).  To create a "
22088 "non-sparse file of zeroes, use L</fallocate64> instead."
22089 msgstr ""
22090
22091 # type: =head2
22092 #: ../fish/guestfish-actions.pod:3999
22093 msgid "tune2fs-l"
22094 msgstr ""
22095
22096 # type: verbatim
22097 #: ../fish/guestfish-actions.pod:4001
22098 #, no-wrap
22099 msgid ""
22100 " tune2fs-l device\n"
22101 "\n"
22102 msgstr ""
22103
22104 # type: =head2
22105 #: ../fish/guestfish-actions.pod:4011
22106 msgid "txz-in"
22107 msgstr ""
22108
22109 # type: verbatim
22110 #: ../fish/guestfish-actions.pod:4013
22111 #, no-wrap
22112 msgid ""
22113 " txz-in (tarball|-) directory\n"
22114 "\n"
22115 msgstr ""
22116
22117 # type: =head2
22118 #: ../fish/guestfish-actions.pod:4020
22119 msgid "txz-out"
22120 msgstr ""
22121
22122 # type: verbatim
22123 #: ../fish/guestfish-actions.pod:4022
22124 #, no-wrap
22125 msgid ""
22126 " txz-out directory (tarball|-)\n"
22127 "\n"
22128 msgstr ""
22129
22130 # type: =head2
22131 #: ../fish/guestfish-actions.pod:4029
22132 msgid "umask"
22133 msgstr ""
22134
22135 # type: verbatim
22136 #: ../fish/guestfish-actions.pod:4031
22137 #, no-wrap
22138 msgid ""
22139 " umask mask\n"
22140 "\n"
22141 msgstr ""
22142
22143 # type: textblock
22144 #: ../fish/guestfish-actions.pod:4045
22145 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
22146 msgstr ""
22147
22148 # type: =head2
22149 #: ../fish/guestfish-actions.pod:4050
22150 msgid "umount"
22151 msgstr ""
22152
22153 # type: =head2
22154 #: ../fish/guestfish-actions.pod:4052
22155 msgid "unmount"
22156 msgstr ""
22157
22158 # type: verbatim
22159 #: ../fish/guestfish-actions.pod:4054
22160 #, no-wrap
22161 msgid ""
22162 " umount pathordevice\n"
22163 "\n"
22164 msgstr ""
22165
22166 # type: =head2
22167 #: ../fish/guestfish-actions.pod:4060
22168 msgid "umount-all"
22169 msgstr ""
22170
22171 # type: =head2
22172 #: ../fish/guestfish-actions.pod:4062
22173 msgid "unmount-all"
22174 msgstr ""
22175
22176 # type: verbatim
22177 #: ../fish/guestfish-actions.pod:4064
22178 #, no-wrap
22179 msgid ""
22180 " umount-all\n"
22181 "\n"
22182 msgstr ""
22183
22184 # type: =head2
22185 #: ../fish/guestfish-actions.pod:4070
22186 msgid "upload"
22187 msgstr ""
22188
22189 # type: verbatim
22190 #: ../fish/guestfish-actions.pod:4072
22191 #, no-wrap
22192 msgid ""
22193 " upload (filename|-) remotefilename\n"
22194 "\n"
22195 msgstr ""
22196
22197 # type: textblock
22198 #: ../fish/guestfish-actions.pod:4079
22199 msgid "See also L</download>."
22200 msgstr ""
22201
22202 # type: =head2
22203 #: ../fish/guestfish-actions.pod:4083
22204 msgid "upload-offset"
22205 msgstr ""
22206
22207 # type: verbatim
22208 #: ../fish/guestfish-actions.pod:4085
22209 #, no-wrap
22210 msgid ""
22211 " upload-offset (filename|-) remotefilename offset\n"
22212 "\n"
22213 msgstr ""
22214
22215 # type: textblock
22216 #: ../fish/guestfish-actions.pod:4097
22217 msgid ""
22218 "Note that there is no limit on the amount of data that can be uploaded with "
22219 "this call, unlike with L</pwrite>, and this call always writes the full "
22220 "amount unless an error occurs."
22221 msgstr ""
22222
22223 # type: textblock
22224 #: ../fish/guestfish-actions.pod:4102
22225 msgid "See also L</upload>, L</pwrite>."
22226 msgstr ""
22227
22228 # type: =head2
22229 #: ../fish/guestfish-actions.pod:4106
22230 msgid "utimens"
22231 msgstr ""
22232
22233 # type: verbatim
22234 #: ../fish/guestfish-actions.pod:4108
22235 #, no-wrap
22236 msgid ""
22237 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
22238 "\n"
22239 msgstr ""
22240
22241 # type: =head2
22242 #: ../fish/guestfish-actions.pod:4127
22243 msgid "version"
22244 msgstr ""
22245
22246 # type: verbatim
22247 #: ../fish/guestfish-actions.pod:4129
22248 #, no-wrap
22249 msgid ""
22250 " version\n"
22251 "\n"
22252 msgstr ""
22253
22254 # type: textblock
22255 #: ../fish/guestfish-actions.pod:4156
22256 msgid ""
22257 "I<Note:> Don't use this call to test for availability of features.  In "
22258 "enterprise distributions we backport features from later versions into "
22259 "earlier versions, making this an unreliable way to test for features.  Use "
22260 "L</available> instead."
22261 msgstr ""
22262
22263 # type: =head2
22264 #: ../fish/guestfish-actions.pod:4162
22265 msgid "vfs-label"
22266 msgstr ""
22267
22268 # type: verbatim
22269 #: ../fish/guestfish-actions.pod:4164
22270 #, no-wrap
22271 msgid ""
22272 " vfs-label device\n"
22273 "\n"
22274 msgstr ""
22275
22276 # type: textblock
22277 #: ../fish/guestfish-actions.pod:4171
22278 msgid "To find a filesystem from the label, use L</findfs-label>."
22279 msgstr ""
22280
22281 # type: =head2
22282 #: ../fish/guestfish-actions.pod:4173
22283 msgid "vfs-type"
22284 msgstr ""
22285
22286 # type: verbatim
22287 #: ../fish/guestfish-actions.pod:4175
22288 #, no-wrap
22289 msgid ""
22290 " vfs-type device\n"
22291 "\n"
22292 msgstr ""
22293
22294 # type: =head2
22295 #: ../fish/guestfish-actions.pod:4185
22296 msgid "vfs-uuid"
22297 msgstr ""
22298
22299 # type: verbatim
22300 #: ../fish/guestfish-actions.pod:4187
22301 #, no-wrap
22302 msgid ""
22303 " vfs-uuid device\n"
22304 "\n"
22305 msgstr ""
22306
22307 # type: textblock
22308 #: ../fish/guestfish-actions.pod:4194
22309 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
22310 msgstr ""
22311
22312 # type: =head2
22313 #: ../fish/guestfish-actions.pod:4196
22314 msgid "vg-activate"
22315 msgstr ""
22316
22317 # type: verbatim
22318 #: ../fish/guestfish-actions.pod:4198
22319 #, no-wrap
22320 msgid ""
22321 " vg-activate true|false 'volgroups ...'\n"
22322 "\n"
22323 msgstr ""
22324
22325 # type: =head2
22326 #: ../fish/guestfish-actions.pod:4211
22327 msgid "vg-activate-all"
22328 msgstr ""
22329
22330 # type: verbatim
22331 #: ../fish/guestfish-actions.pod:4213
22332 #, no-wrap
22333 msgid ""
22334 " vg-activate-all true|false\n"
22335 "\n"
22336 msgstr ""
22337
22338 # type: =head2
22339 #: ../fish/guestfish-actions.pod:4223
22340 msgid "vgcreate"
22341 msgstr ""
22342
22343 # type: verbatim
22344 #: ../fish/guestfish-actions.pod:4225
22345 #, no-wrap
22346 msgid ""
22347 " vgcreate volgroup 'physvols ...'\n"
22348 "\n"
22349 msgstr ""
22350
22351 # type: =head2
22352 #: ../fish/guestfish-actions.pod:4230
22353 msgid "vglvuuids"
22354 msgstr ""
22355
22356 # type: verbatim
22357 #: ../fish/guestfish-actions.pod:4232
22358 #, no-wrap
22359 msgid ""
22360 " vglvuuids vgname\n"
22361 "\n"
22362 msgstr ""
22363
22364 # type: textblock
22365 #: ../fish/guestfish-actions.pod:4237
22366 msgid ""
22367 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
22368 "logical volumes and volume groups."
22369 msgstr ""
22370
22371 # type: textblock
22372 #: ../fish/guestfish-actions.pod:4240
22373 msgid "See also L</vgpvuuids>."
22374 msgstr ""
22375
22376 # type: =head2
22377 #: ../fish/guestfish-actions.pod:4242
22378 msgid "vgpvuuids"
22379 msgstr ""
22380
22381 # type: verbatim
22382 #: ../fish/guestfish-actions.pod:4244
22383 #, no-wrap
22384 msgid ""
22385 " vgpvuuids vgname\n"
22386 "\n"
22387 msgstr ""
22388
22389 # type: textblock
22390 #: ../fish/guestfish-actions.pod:4249
22391 msgid ""
22392 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
22393 "physical volumes and volume groups."
22394 msgstr ""
22395
22396 # type: textblock
22397 #: ../fish/guestfish-actions.pod:4252
22398 msgid "See also L</vglvuuids>."
22399 msgstr ""
22400
22401 # type: =head2
22402 #: ../fish/guestfish-actions.pod:4254
22403 msgid "vgremove"
22404 msgstr ""
22405
22406 # type: verbatim
22407 #: ../fish/guestfish-actions.pod:4256
22408 #, no-wrap
22409 msgid ""
22410 " vgremove vgname\n"
22411 "\n"
22412 msgstr ""
22413
22414 # type: =head2
22415 #: ../fish/guestfish-actions.pod:4263
22416 msgid "vgrename"
22417 msgstr ""
22418
22419 # type: verbatim
22420 #: ../fish/guestfish-actions.pod:4265
22421 #, no-wrap
22422 msgid ""
22423 " vgrename volgroup newvolgroup\n"
22424 "\n"
22425 msgstr ""
22426
22427 # type: =head2
22428 #: ../fish/guestfish-actions.pod:4269
22429 msgid "vgs"
22430 msgstr ""
22431
22432 # type: verbatim
22433 #: ../fish/guestfish-actions.pod:4271
22434 #, no-wrap
22435 msgid ""
22436 " vgs\n"
22437 "\n"
22438 msgstr ""
22439
22440 # type: textblock
22441 #: ../fish/guestfish-actions.pod:4279
22442 msgid "See also L</vgs-full>."
22443 msgstr ""
22444
22445 # type: =head2
22446 #: ../fish/guestfish-actions.pod:4281
22447 msgid "vgs-full"
22448 msgstr ""
22449
22450 # type: verbatim
22451 #: ../fish/guestfish-actions.pod:4283
22452 #, no-wrap
22453 msgid ""
22454 " vgs-full\n"
22455 "\n"
22456 msgstr ""
22457
22458 # type: =head2
22459 #: ../fish/guestfish-actions.pod:4288
22460 msgid "vgscan"
22461 msgstr ""
22462
22463 # type: verbatim
22464 #: ../fish/guestfish-actions.pod:4290
22465 #, no-wrap
22466 msgid ""
22467 " vgscan\n"
22468 "\n"
22469 msgstr ""
22470
22471 # type: =head2
22472 #: ../fish/guestfish-actions.pod:4295
22473 msgid "vguuid"
22474 msgstr ""
22475
22476 # type: verbatim
22477 #: ../fish/guestfish-actions.pod:4297
22478 #, no-wrap
22479 msgid ""
22480 " vguuid vgname\n"
22481 "\n"
22482 msgstr ""
22483
22484 # type: =head2
22485 #: ../fish/guestfish-actions.pod:4301
22486 msgid "wc-c"
22487 msgstr ""
22488
22489 # type: verbatim
22490 #: ../fish/guestfish-actions.pod:4303
22491 #, no-wrap
22492 msgid ""
22493 " wc-c path\n"
22494 "\n"
22495 msgstr ""
22496
22497 # type: =head2
22498 #: ../fish/guestfish-actions.pod:4308
22499 msgid "wc-l"
22500 msgstr ""
22501
22502 # type: verbatim
22503 #: ../fish/guestfish-actions.pod:4310
22504 #, no-wrap
22505 msgid ""
22506 " wc-l path\n"
22507 "\n"
22508 msgstr ""
22509
22510 # type: =head2
22511 #: ../fish/guestfish-actions.pod:4315
22512 msgid "wc-w"
22513 msgstr ""
22514
22515 # type: verbatim
22516 #: ../fish/guestfish-actions.pod:4317
22517 #, no-wrap
22518 msgid ""
22519 " wc-w path\n"
22520 "\n"
22521 msgstr ""
22522
22523 # type: =head2
22524 #: ../fish/guestfish-actions.pod:4322
22525 msgid "write"
22526 msgstr ""
22527
22528 # type: verbatim
22529 #: ../fish/guestfish-actions.pod:4324
22530 #, no-wrap
22531 msgid ""
22532 " write path content\n"
22533 "\n"
22534 msgstr ""
22535
22536 # type: =head2
22537 #: ../fish/guestfish-actions.pod:4332
22538 msgid "write-file"
22539 msgstr ""
22540
22541 # type: verbatim
22542 #: ../fish/guestfish-actions.pod:4334
22543 #, no-wrap
22544 msgid ""
22545 " write-file path content size\n"
22546 "\n"
22547 msgstr ""
22548
22549 # type: =head2
22550 #: ../fish/guestfish-actions.pod:4357
22551 msgid "zegrep"
22552 msgstr ""
22553
22554 # type: verbatim
22555 #: ../fish/guestfish-actions.pod:4359
22556 #, no-wrap
22557 msgid ""
22558 " zegrep regex path\n"
22559 "\n"
22560 msgstr ""
22561
22562 # type: =head2
22563 #: ../fish/guestfish-actions.pod:4367
22564 msgid "zegrepi"
22565 msgstr ""
22566
22567 # type: verbatim
22568 #: ../fish/guestfish-actions.pod:4369
22569 #, no-wrap
22570 msgid ""
22571 " zegrepi regex path\n"
22572 "\n"
22573 msgstr ""
22574
22575 # type: =head2
22576 #: ../fish/guestfish-actions.pod:4377
22577 msgid "zero"
22578 msgstr ""
22579
22580 # type: verbatim
22581 #: ../fish/guestfish-actions.pod:4379
22582 #, no-wrap
22583 msgid ""
22584 " zero device\n"
22585 "\n"
22586 msgstr ""
22587
22588 # type: textblock
22589 #: ../fish/guestfish-actions.pod:4387
22590 msgid "See also: L</zero-device>, L</scrub-device>."
22591 msgstr ""
22592
22593 # type: =head2
22594 #: ../fish/guestfish-actions.pod:4389
22595 msgid "zero-device"
22596 msgstr ""
22597
22598 # type: verbatim
22599 #: ../fish/guestfish-actions.pod:4391
22600 #, no-wrap
22601 msgid ""
22602 " zero-device device\n"
22603 "\n"
22604 msgstr ""
22605
22606 # type: textblock
22607 #: ../fish/guestfish-actions.pod:4393
22608 msgid ""
22609 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
22610 "which just zeroes the first few blocks of a device."
22611 msgstr ""
22612
22613 # type: =head2
22614 #: ../fish/guestfish-actions.pod:4400
22615 msgid "zerofree"
22616 msgstr ""
22617
22618 # type: verbatim
22619 #: ../fish/guestfish-actions.pod:4402
22620 #, no-wrap
22621 msgid ""
22622 " zerofree device\n"
22623 "\n"
22624 msgstr ""
22625
22626 # type: =head2
22627 #: ../fish/guestfish-actions.pod:4415
22628 msgid "zfgrep"
22629 msgstr ""
22630
22631 # type: verbatim
22632 #: ../fish/guestfish-actions.pod:4417
22633 #, no-wrap
22634 msgid ""
22635 " zfgrep pattern path\n"
22636 "\n"
22637 msgstr ""
22638
22639 # type: =head2
22640 #: ../fish/guestfish-actions.pod:4425
22641 msgid "zfgrepi"
22642 msgstr ""
22643
22644 # type: verbatim
22645 #: ../fish/guestfish-actions.pod:4427
22646 #, no-wrap
22647 msgid ""
22648 " zfgrepi pattern path\n"
22649 "\n"
22650 msgstr ""
22651
22652 # type: =head2
22653 #: ../fish/guestfish-actions.pod:4435
22654 msgid "zfile"
22655 msgstr ""
22656
22657 # type: verbatim
22658 #: ../fish/guestfish-actions.pod:4437
22659 #, no-wrap
22660 msgid ""
22661 " zfile meth path\n"
22662 "\n"
22663 msgstr ""
22664
22665 # type: textblock
22666 #: ../fish/guestfish-actions.pod:4444
22667 msgid "Since 1.0.63, use L</file> instead which can now process compressed files."
22668 msgstr ""
22669
22670 # type: =head2
22671 #: ../fish/guestfish-actions.pod:4454
22672 msgid "zgrep"
22673 msgstr ""
22674
22675 # type: verbatim
22676 #: ../fish/guestfish-actions.pod:4456
22677 #, no-wrap
22678 msgid ""
22679 " zgrep regex path\n"
22680 "\n"
22681 msgstr ""
22682
22683 # type: =head2
22684 #: ../fish/guestfish-actions.pod:4464
22685 msgid "zgrepi"
22686 msgstr ""
22687
22688 # type: verbatim
22689 #: ../fish/guestfish-actions.pod:4466
22690 #, no-wrap
22691 msgid ""
22692 " zgrepi regex path\n"
22693 "\n"
22694 msgstr ""
22695
22696 # type: =head2
22697 #: ../fish/guestfish-commands.pod:1
22698 msgid "alloc"
22699 msgstr ""
22700
22701 # type: =head2
22702 #: ../fish/guestfish-commands.pod:3
22703 msgid "allocate"
22704 msgstr ""
22705
22706 # type: verbatim
22707 #: ../fish/guestfish-commands.pod:5
22708 #, no-wrap
22709 msgid ""
22710 " alloc filename size\n"
22711 "\n"
22712 msgstr ""
22713
22714 # type: textblock
22715 #: ../fish/guestfish-commands.pod:7
22716 msgid ""
22717 "This creates an empty (zeroed) file of the given size, and then adds so it "
22718 "can be further examined."
22719 msgstr ""
22720
22721 # type: textblock
22722 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:168
22723 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
22724 msgstr ""
22725
22726 # type: textblock
22727 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:170
22728 msgid "Size can be specified using standard suffixes, eg. C<1M>."
22729 msgstr ""
22730
22731 # type: textblock
22732 #: ../fish/guestfish-commands.pod:14
22733 msgid ""
22734 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
22735 "image, see L</PREPARED DISK IMAGES>."
22736 msgstr ""
22737
22738 # type: =head2
22739 #: ../fish/guestfish-commands.pod:17
22740 msgid "copy-in"
22741 msgstr ""
22742
22743 # type: verbatim
22744 #: ../fish/guestfish-commands.pod:19
22745 #, no-wrap
22746 msgid ""
22747 " copy-in local [local ...] /remotedir\n"
22748 "\n"
22749 msgstr ""
22750
22751 # type: textblock
22752 #: ../fish/guestfish-commands.pod:21
22753 msgid ""
22754 "C<copy-in> copies local files or directories recursively into the disk "
22755 "image, placing them in the directory called C</remotedir> (which must "
22756 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
22757 "other commands as necessary."
22758 msgstr ""
22759
22760 # type: textblock
22761 #: ../fish/guestfish-commands.pod:26
22762 msgid ""
22763 "Multiple local files and directories can be specified, but the last "
22764 "parameter must always be a remote directory.  Wildcards cannot be used."
22765 msgstr ""
22766
22767 # type: =head2
22768 #: ../fish/guestfish-commands.pod:30
22769 msgid "copy-out"
22770 msgstr ""
22771
22772 # type: verbatim
22773 #: ../fish/guestfish-commands.pod:32
22774 #, no-wrap
22775 msgid ""
22776 " copy-out remote [remote ...] localdir\n"
22777 "\n"
22778 msgstr ""
22779
22780 # type: textblock
22781 #: ../fish/guestfish-commands.pod:34
22782 msgid ""
22783 "C<copy-out> copies remote files or directories recursively out of the disk "
22784 "image, placing them on the host disk in a local directory called C<localdir> "
22785 "(which must exist).  This guestfish meta-command turns into a sequence of "
22786 "L</download>, L</tar-out> and other commands as necessary."
22787 msgstr ""
22788
22789 # type: textblock
22790 #: ../fish/guestfish-commands.pod:40
22791 msgid ""
22792 "Multiple remote files and directories can be specified, but the last "
22793 "parameter must always be a local directory.  To download to the current "
22794 "directory, use C<.> as in:"
22795 msgstr ""
22796
22797 # type: verbatim
22798 #: ../fish/guestfish-commands.pod:44
22799 #, no-wrap
22800 msgid ""
22801 " copy-out /home .\n"
22802 "\n"
22803 msgstr ""
22804
22805 # type: textblock
22806 #: ../fish/guestfish-commands.pod:46
22807 msgid ""
22808 "Wildcards cannot be used in the ordinary command, but you can use them with "
22809 "the help of L</glob> like this:"
22810 msgstr ""
22811
22812 # type: verbatim
22813 #: ../fish/guestfish-commands.pod:49
22814 #, no-wrap
22815 msgid ""
22816 " glob copy-out /home/* .\n"
22817 "\n"
22818 msgstr ""
22819
22820 # type: =head2
22821 #: ../fish/guestfish-commands.pod:51
22822 msgid "echo"
22823 msgstr ""
22824
22825 # type: verbatim
22826 #: ../fish/guestfish-commands.pod:53
22827 #, no-wrap
22828 msgid ""
22829 " echo [params ...]\n"
22830 "\n"
22831 msgstr ""
22832
22833 # type: textblock
22834 #: ../fish/guestfish-commands.pod:55
22835 msgid "This echos the parameters to the terminal."
22836 msgstr ""
22837
22838 # type: =head2
22839 #: ../fish/guestfish-commands.pod:57
22840 msgid "edit"
22841 msgstr ""
22842
22843 # type: =head2
22844 #: ../fish/guestfish-commands.pod:59
22845 msgid "vi"
22846 msgstr ""
22847
22848 # type: =head2
22849 #: ../fish/guestfish-commands.pod:61
22850 msgid "emacs"
22851 msgstr ""
22852
22853 # type: verbatim
22854 #: ../fish/guestfish-commands.pod:63
22855 #, no-wrap
22856 msgid ""
22857 " edit filename\n"
22858 "\n"
22859 msgstr ""
22860
22861 # type: textblock
22862 #: ../fish/guestfish-commands.pod:65
22863 msgid ""
22864 "This is used to edit a file.  It downloads the file, edits it locally using "
22865 "your editor, then uploads the result."
22866 msgstr ""
22867
22868 # type: textblock
22869 #: ../fish/guestfish-commands.pod:68
22870 msgid ""
22871 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
22872 "or C<emacs> you will get those corresponding editors."
22873 msgstr ""
22874
22875 # type: =head2
22876 #: ../fish/guestfish-commands.pod:72
22877 msgid "glob"
22878 msgstr ""
22879
22880 # type: verbatim
22881 #: ../fish/guestfish-commands.pod:74
22882 #, no-wrap
22883 msgid ""
22884 " glob command args...\n"
22885 "\n"
22886 msgstr ""
22887
22888 # type: textblock
22889 #: ../fish/guestfish-commands.pod:76
22890 msgid ""
22891 "Expand wildcards in any paths in the args list, and run C<command> "
22892 "repeatedly on each matching path."
22893 msgstr ""
22894
22895 # type: textblock
22896 #: ../fish/guestfish-commands.pod:79
22897 msgid "See L</WILDCARDS AND GLOBBING>."
22898 msgstr ""
22899
22900 # type: =head2
22901 #: ../fish/guestfish-commands.pod:81
22902 msgid "hexedit"
22903 msgstr ""
22904
22905 # type: verbatim
22906 #: ../fish/guestfish-commands.pod:83
22907 #, no-wrap
22908 msgid ""
22909 " hexedit <filename|device>\n"
22910 " hexedit <filename|device> <max>\n"
22911 " hexedit <filename|device> <start> <max>\n"
22912 "\n"
22913 msgstr ""
22914
22915 # type: textblock
22916 #: ../fish/guestfish-commands.pod:87
22917 msgid ""
22918 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
22919 "device."
22920 msgstr ""
22921
22922 # type: textblock
22923 #: ../fish/guestfish-commands.pod:90
22924 msgid ""
22925 "This command works by downloading potentially the whole file or device, "
22926 "editing it locally, then uploading it.  If the file or device is large, you "
22927 "have to specify which part you wish to edit by using C<max> and/or C<start> "
22928 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
22929 "usual modifiers allowed such as C<1M> (1 megabyte)."
22930 msgstr ""
22931
22932 # type: textblock
22933 #: ../fish/guestfish-commands.pod:97
22934 msgid "For example to edit the first few sectors of a disk you might do:"
22935 msgstr ""
22936
22937 # type: verbatim
22938 #: ../fish/guestfish-commands.pod:100
22939 #, no-wrap
22940 msgid ""
22941 " hexedit /dev/sda 1M\n"
22942 "\n"
22943 msgstr ""
22944
22945 # type: textblock
22946 #: ../fish/guestfish-commands.pod:102
22947 msgid ""
22948 "which would allow you to edit anywhere within the first megabyte of the "
22949 "disk."
22950 msgstr ""
22951
22952 # type: textblock
22953 #: ../fish/guestfish-commands.pod:105
22954 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
22955 msgstr ""
22956
22957 # type: verbatim
22958 #: ../fish/guestfish-commands.pod:107
22959 #, no-wrap
22960 msgid ""
22961 " hexedit /dev/sda1 0x400 0x400\n"
22962 "\n"
22963 msgstr ""
22964
22965 # type: textblock
22966 #: ../fish/guestfish-commands.pod:109
22967 msgid "(assuming the superblock is in the standard location)."
22968 msgstr ""
22969
22970 # type: textblock
22971 #: ../fish/guestfish-commands.pod:111
22972 msgid ""
22973 "This command requires the external L<hexedit(1)> program.  You can specify "
22974 "another program to use by setting the C<HEXEDITOR> environment variable."
22975 msgstr ""
22976
22977 # type: textblock
22978 #: ../fish/guestfish-commands.pod:115
22979 msgid "See also L</hexdump>."
22980 msgstr ""
22981
22982 # type: =head2
22983 #: ../fish/guestfish-commands.pod:117
22984 msgid "lcd"
22985 msgstr ""
22986
22987 # type: verbatim
22988 #: ../fish/guestfish-commands.pod:119
22989 #, no-wrap
22990 msgid ""
22991 " lcd directory\n"
22992 "\n"
22993 msgstr ""
22994
22995 # type: textblock
22996 #: ../fish/guestfish-commands.pod:121
22997 msgid "Change the local directory, ie. the current directory of guestfish itself."
22998 msgstr ""
22999
23000 # type: textblock
23001 #: ../fish/guestfish-commands.pod:124
23002 msgid "Note that C<!cd> won't do what you might expect."
23003 msgstr ""
23004
23005 # type: =head2
23006 #: ../fish/guestfish-commands.pod:126
23007 msgid "man"
23008 msgstr ""
23009
23010 # type: =head2
23011 #: ../fish/guestfish-commands.pod:128
23012 msgid "manual"
23013 msgstr ""
23014
23015 # type: verbatim
23016 #: ../fish/guestfish-commands.pod:130
23017 #, no-wrap
23018 msgid ""
23019 "  man\n"
23020 "\n"
23021 msgstr ""
23022
23023 # type: textblock
23024 #: ../fish/guestfish-commands.pod:132
23025 msgid "Opens the manual page for guestfish."
23026 msgstr ""
23027
23028 # type: =head2
23029 #: ../fish/guestfish-commands.pod:134
23030 msgid "more"
23031 msgstr ""
23032
23033 # type: =head2
23034 #: ../fish/guestfish-commands.pod:136
23035 msgid "less"
23036 msgstr ""
23037
23038 # type: verbatim
23039 #: ../fish/guestfish-commands.pod:138
23040 #, no-wrap
23041 msgid ""
23042 " more filename\n"
23043 "\n"
23044 msgstr ""
23045
23046 # type: verbatim
23047 #: ../fish/guestfish-commands.pod:140
23048 #, no-wrap
23049 msgid ""
23050 " less filename\n"
23051 "\n"
23052 msgstr ""
23053
23054 # type: textblock
23055 #: ../fish/guestfish-commands.pod:142
23056 msgid "This is used to view a file."
23057 msgstr ""
23058
23059 # type: textblock
23060 #: ../fish/guestfish-commands.pod:144
23061 msgid ""
23062 "The default viewer is C<$PAGER>.  However if you use the alternate command "
23063 "C<less> you will get the C<less> command specifically."
23064 msgstr ""
23065
23066 # type: =head2
23067 #: ../fish/guestfish-commands.pod:147
23068 msgid "reopen"
23069 msgstr ""
23070
23071 # type: verbatim
23072 #: ../fish/guestfish-commands.pod:149
23073 #, no-wrap
23074 msgid ""
23075 "  reopen\n"
23076 "\n"
23077 msgstr ""
23078
23079 # type: textblock
23080 #: ../fish/guestfish-commands.pod:151
23081 msgid ""
23082 "Close and reopen the libguestfs handle.  It is not necessary to use this "
23083 "normally, because the handle is closed properly when guestfish exits.  "
23084 "However this is occasionally useful for testing."
23085 msgstr ""
23086
23087 # type: =head2
23088 #: ../fish/guestfish-commands.pod:155
23089 msgid "sparse"
23090 msgstr ""
23091
23092 # type: verbatim
23093 #: ../fish/guestfish-commands.pod:157
23094 #, no-wrap
23095 msgid ""
23096 " sparse filename size\n"
23097 "\n"
23098 msgstr ""
23099
23100 # type: textblock
23101 #: ../fish/guestfish-commands.pod:159
23102 msgid ""
23103 "This creates an empty sparse file of the given size, and then adds so it can "
23104 "be further examined."
23105 msgstr ""
23106
23107 # type: textblock
23108 #: ../fish/guestfish-commands.pod:162
23109 msgid ""
23110 "In all respects it works the same as the L</alloc> command, except that the "
23111 "image file is allocated sparsely, which means that disk blocks are not "
23112 "assigned to the file until they are needed.  Sparse disk files only use "
23113 "space when written to, but they are slower and there is a danger you could "
23114 "run out of real disk space during a write operation."
23115 msgstr ""
23116
23117 # type: =head2
23118 #: ../fish/guestfish-commands.pod:172
23119 msgid "supported"
23120 msgstr ""
23121
23122 # type: verbatim
23123 #: ../fish/guestfish-commands.pod:174
23124 #, no-wrap
23125 msgid ""
23126 " supported\n"
23127 "\n"
23128 msgstr ""
23129
23130 # type: textblock
23131 #: ../fish/guestfish-commands.pod:176
23132 msgid ""
23133 "This command returns a list of the optional groups known to the daemon, and "
23134 "indicates which ones are supported by this build of the libguestfs "
23135 "appliance."
23136 msgstr ""
23137
23138 # type: textblock
23139 #: ../fish/guestfish-commands.pod:180
23140 msgid "See also L<guestfs(3)/AVAILABILITY>."
23141 msgstr ""
23142
23143 # type: =head2
23144 #: ../fish/guestfish-commands.pod:182
23145 msgid "time"
23146 msgstr ""
23147
23148 # type: verbatim
23149 #: ../fish/guestfish-commands.pod:184
23150 #, no-wrap
23151 msgid ""
23152 " time command args...\n"
23153 "\n"
23154 msgstr ""
23155
23156 # type: textblock
23157 #: ../fish/guestfish-commands.pod:186
23158 msgid ""
23159 "Run the command as usual, but print the elapsed time afterwards.  This can "
23160 "be useful for benchmarking operations."
23161 msgstr ""
23162
23163 # type: textblock
23164 #: ../test-tool/libguestfs-test-tool.pod:5
23165 msgid "libguestfs-test-tool - End user tests for libguestfs"
23166 msgstr ""
23167
23168 # type: verbatim
23169 #: ../test-tool/libguestfs-test-tool.pod:9
23170 #, no-wrap
23171 msgid ""
23172 " libguestfs-test-tool [--options]\n"
23173 "\n"
23174 msgstr ""
23175
23176 # type: textblock
23177 #: ../test-tool/libguestfs-test-tool.pod:13
23178 msgid ""
23179 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
23180 "and developers, to allow them to check basic libguestfs functionality is "
23181 "working.  This is needed because libguestfs occasionally breaks for reasons "
23182 "beyond our control: usually because of changes in the underlying qemu or "
23183 "kernel packages, or the host environment."
23184 msgstr ""
23185
23186 # type: textblock
23187 #: ../test-tool/libguestfs-test-tool.pod:20
23188 msgid "If you suspect a problem in libguestfs, then just run:"
23189 msgstr ""
23190
23191 # type: verbatim
23192 #: ../test-tool/libguestfs-test-tool.pod:22
23193 #, no-wrap
23194 msgid ""
23195 " libguestfs-test-tool\n"
23196 "\n"
23197 msgstr ""
23198
23199 # type: textblock
23200 #: ../test-tool/libguestfs-test-tool.pod:24
23201 msgid "It will print lots of diagnostic messages."
23202 msgstr ""
23203
23204 # type: textblock
23205 #: ../test-tool/libguestfs-test-tool.pod:26
23206 msgid "If it runs to completion successfully, you will see this near the end:"
23207 msgstr ""
23208
23209 # type: verbatim
23210 #: ../test-tool/libguestfs-test-tool.pod:28
23211 #, no-wrap
23212 msgid ""
23213 " ===== TEST FINISHED OK =====\n"
23214 "\n"
23215 msgstr ""
23216
23217 # type: textblock
23218 #: ../test-tool/libguestfs-test-tool.pod:30
23219 msgid "and the test tool will exit with code 0."
23220 msgstr ""
23221
23222 # type: textblock
23223 #: ../test-tool/libguestfs-test-tool.pod:32
23224 msgid ""
23225 "If it fails (and/or exits with non-zero error code), please paste the "
23226 "B<complete, unedited> output of the test tool into a bug report.  More "
23227 "information about reporting bugs can be found on the "
23228 "L<http://libguestfs.org/> website."
23229 msgstr ""
23230
23231 # type: =item
23232 #: ../test-tool/libguestfs-test-tool.pod:41
23233 msgid "I<--help>"
23234 msgstr ""
23235
23236 # type: textblock
23237 #: ../test-tool/libguestfs-test-tool.pod:43
23238 msgid "Display short usage information and exit."
23239 msgstr ""
23240
23241 # type: =item
23242 #: ../test-tool/libguestfs-test-tool.pod:45
23243 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
23244 msgstr ""
23245
23246 # type: textblock
23247 #: ../test-tool/libguestfs-test-tool.pod:47
23248 msgid ""
23249 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
23250 "normally look in the C<$libexec> directory that was configured when the tool "
23251 "was built."
23252 msgstr ""
23253
23254 # type: =item
23255 #: ../test-tool/libguestfs-test-tool.pod:51
23256 msgid "I<--qemu qemu_binary>"
23257 msgstr ""
23258
23259 # type: textblock
23260 #: ../test-tool/libguestfs-test-tool.pod:53
23261 msgid ""
23262 "If you have downloaded another qemu binary, point this option at the full "
23263 "path of the binary to try it."
23264 msgstr ""
23265
23266 # type: =item
23267 #: ../test-tool/libguestfs-test-tool.pod:56
23268 msgid "I<--qemudir qemu_source_dir>"
23269 msgstr ""
23270
23271 # type: textblock
23272 #: ../test-tool/libguestfs-test-tool.pod:58
23273 msgid ""
23274 "If you have compiled qemu from source, point this option at the source "
23275 "directory to try it."
23276 msgstr ""
23277
23278 # type: =item
23279 #: ../test-tool/libguestfs-test-tool.pod:61
23280 msgid "I<--timeout N>"
23281 msgstr ""
23282
23283 # type: textblock
23284 #: ../test-tool/libguestfs-test-tool.pod:63
23285 msgid ""
23286 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
23287 "does not usually need to be adjusted unless your machine is very slow."
23288 msgstr ""
23289
23290 # type: =head1
23291 #: ../test-tool/libguestfs-test-tool.pod:69
23292 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
23293 msgstr ""
23294
23295 # type: textblock
23296 #: ../test-tool/libguestfs-test-tool.pod:71
23297 msgid ""
23298 "If you have compiled another version of qemu from source and would like to "
23299 "try that, then you can use the I<--qemudir> option to point to the qemu "
23300 "source directory."
23301 msgstr ""
23302
23303 # type: textblock
23304 #: ../test-tool/libguestfs-test-tool.pod:75
23305 msgid ""
23306 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
23307 "option to point to the binary."
23308 msgstr ""
23309
23310 # type: textblock
23311 #: ../test-tool/libguestfs-test-tool.pod:78
23312 msgid ""
23313 "When using an alternate qemu with libguestfs, usually you would need to "
23314 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in "
23315 "L<guestfs(3)>).  libguestfs-test-tool writes a temporary qemu wrapper script "
23316 "when you use either of the I<--qemudir> or I<--qemu> options."
23317 msgstr ""
23318
23319 # type: textblock
23320 #: ../test-tool/libguestfs-test-tool.pod:85
23321 msgid ""
23322 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
23323 "I<1> if there was an error."
23324 msgstr ""
23325
23326 # type: =item
23327 #: ../test-tool/libguestfs-test-tool.pod:92
23328 msgid "/usr/libexec/libguestfs-test-tool-helper"
23329 msgstr ""
23330
23331 # type: textblock
23332 #: ../test-tool/libguestfs-test-tool.pod:94
23333 msgid ""
23334 "This helper program is run inside the appliance and provides additional "
23335 "tests."
23336 msgstr ""
23337
23338 # type: =item
23339 #: ../test-tool/libguestfs-test-tool.pod:97
23340 msgid "/usr/bin/mkisofs"
23341 msgstr ""
23342
23343 # type: textblock
23344 #: ../test-tool/libguestfs-test-tool.pod:99
23345 msgid ""
23346 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
23347 "which is used as part of the tests."
23348 msgstr ""
23349
23350 # type: textblock
23351 #: ../test-tool/libguestfs-test-tool.pod:106
23352 msgid ""
23353 "For the full list of environment variables which may affect libguestfs, "
23354 "please see the L<guestfs(3)> manual page."
23355 msgstr ""
23356
23357 # type: textblock
23358 #: ../test-tool/libguestfs-test-tool.pod:111
23359 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
23360 msgstr ""
23361
23362 # type: textblock
23363 #: ../test-tool/libguestfs-test-tool.pod:121
23364 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
23365 msgstr ""
23366
23367 # type: textblock
23368 #: ../fuse/guestmount.pod:5
23369 msgid "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
23370 msgstr ""
23371
23372 # type: verbatim
23373 #: ../fuse/guestmount.pod:9
23374 #, no-wrap
23375 msgid ""
23376 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
23377 "\n"
23378 msgstr ""
23379
23380 # type: verbatim
23381 #: ../fuse/guestmount.pod:11
23382 #, no-wrap
23383 msgid ""
23384 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
23385 "\n"
23386 msgstr ""
23387
23388 # type: verbatim
23389 #: ../fuse/guestmount.pod:13
23390 #, no-wrap
23391 msgid ""
23392 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
23393 "\n"
23394 msgstr ""
23395
23396 # type: textblock
23397 #: ../fuse/guestmount.pod:17
23398 msgid ""
23399 "You must I<not> use C<guestmount> in read-write mode on live virtual "
23400 "machines.  If you do this, you risk disk corruption in the VM."
23401 msgstr ""
23402
23403 # type: textblock
23404 #: ../fuse/guestmount.pod:22
23405 msgid ""
23406 "The guestmount program can be used to mount virtual machine filesystems and "
23407 "other disk images on the host.  It uses libguestfs for access to the guest "
23408 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
23409 "a mountable device."
23410 msgstr ""
23411
23412 # type: textblock
23413 #: ../fuse/guestmount.pod:27
23414 msgid ""
23415 "Along with other options, you have to give at least one device (I<-a> "
23416 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m> "
23417 "option) or use the I<-i> inspection option.  How this works is better "
23418 "explained in the L<guestfish(1)> manual page, or by looking at the examples "
23419 "below."
23420 msgstr ""
23421
23422 # type: textblock
23423 #: ../fuse/guestmount.pod:33
23424 msgid ""
23425 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
23426 "by you, and the filesystem will not be visible to any other users unless you "
23427 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
23428 "the filesystem, use the C<fusermount -u> command."
23429 msgstr ""
23430
23431 # type: textblock
23432 #: ../fuse/guestmount.pod:41
23433 msgid ""
23434 "For a typical Windows guest which has its main filesystem on the first "
23435 "partition:"
23436 msgstr ""
23437
23438 # type: verbatim
23439 #: ../fuse/guestmount.pod:44
23440 #, no-wrap
23441 msgid ""
23442 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
23443 "\n"
23444 msgstr ""
23445
23446 # type: textblock
23447 #: ../fuse/guestmount.pod:46
23448 msgid ""
23449 "For a typical Linux guest which has a /boot filesystem on the first "
23450 "partition, and the root filesystem on a logical volume:"
23451 msgstr ""
23452
23453 # type: verbatim
23454 #: ../fuse/guestmount.pod:49
23455 #, no-wrap
23456 msgid ""
23457 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
23458 "\n"
23459 msgstr ""
23460
23461 # type: textblock
23462 #: ../fuse/guestmount.pod:51
23463 msgid "To get libguestfs to detect guest mountpoints for you:"
23464 msgstr ""
23465
23466 # type: verbatim
23467 #: ../fuse/guestmount.pod:53
23468 #, no-wrap
23469 msgid ""
23470 " guestmount -a guest.img -i --ro /mnt\n"
23471 "\n"
23472 msgstr ""
23473
23474 # type: textblock
23475 #: ../fuse/guestmount.pod:55
23476 msgid "For a libvirt guest called \"Guest\" you could do:"
23477 msgstr ""
23478
23479 # type: verbatim
23480 #: ../fuse/guestmount.pod:57
23481 #, no-wrap
23482 msgid ""
23483 " guestmount -d Guest -i --ro /mnt\n"
23484 "\n"
23485 msgstr ""
23486
23487 # type: textblock
23488 #: ../fuse/guestmount.pod:59
23489 msgid ""
23490 "If you don't know what filesystems are contained in a guest or disk image, "
23491 "use L<virt-list-filesystems(1)> first:"
23492 msgstr ""
23493
23494 # type: verbatim
23495 #: ../fuse/guestmount.pod:62
23496 #, no-wrap
23497 msgid ""
23498 " virt-list-filesystems MyGuest\n"
23499 "\n"
23500 msgstr ""
23501
23502 # type: textblock
23503 #: ../fuse/guestmount.pod:64
23504 msgid ""
23505 "If you want to trace the libguestfs calls but without excessive debugging "
23506 "information, we recommend:"
23507 msgstr ""
23508
23509 # type: verbatim
23510 #: ../fuse/guestmount.pod:67
23511 #, no-wrap
23512 msgid ""
23513 " guestmount [...] --trace /mnt\n"
23514 "\n"
23515 msgstr ""
23516
23517 # type: textblock
23518 #: ../fuse/guestmount.pod:69
23519 msgid "If you want to debug the program, we recommend:"
23520 msgstr ""
23521
23522 # type: verbatim
23523 #: ../fuse/guestmount.pod:71
23524 #, no-wrap
23525 msgid ""
23526 " guestmount [...] --trace --verbose /mnt\n"
23527 "\n"
23528 msgstr ""
23529
23530 # type: textblock
23531 #: ../fuse/guestmount.pod:79
23532 msgid "Add a block device or virtual machine image."
23533 msgstr ""
23534
23535 # type: =item
23536 #: ../fuse/guestmount.pod:96
23537 msgid "B<--dir-cache-timeout N>"
23538 msgstr ""
23539
23540 # type: textblock
23541 #: ../fuse/guestmount.pod:98
23542 msgid ""
23543 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
23544 "seconds.  The readdir cache [actually, there are several semi-independent "
23545 "caches] is populated after a readdir(2) call with the stat and extended "
23546 "attributes of the files in the directory, in anticipation that they will be "
23547 "requested soon after."
23548 msgstr ""
23549
23550 # type: textblock
23551 #: ../fuse/guestmount.pod:104
23552 msgid ""
23553 "There is also a different attribute cache implemented by FUSE (see the FUSE "
23554 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
23555 "requests, only cache existing ones."
23556 msgstr ""
23557
23558 # type: textblock
23559 #: ../fuse/guestmount.pod:115
23560 msgid ""
23561 "If you have untrusted raw-format guest disk images, you should use this "
23562 "option to specify the disk format.  This avoids a possible security problem "
23563 "with malicious guests (CVE-2010-3851).  See also "
23564 "L<guestfs(3)/guestfs_add_drive_opts>."
23565 msgstr ""
23566
23567 # type: =item
23568 #: ../fuse/guestmount.pod:120
23569 msgid "B<--fuse-help>"
23570 msgstr ""
23571
23572 # type: textblock
23573 #: ../fuse/guestmount.pod:122
23574 msgid "Display help on special FUSE options (see I<-o> below)."
23575 msgstr ""
23576
23577 # type: textblock
23578 #: ../fuse/guestmount.pod:126
23579 msgid "Display brief help and exit."
23580 msgstr ""
23581
23582 # type: =item
23583 #: ../fuse/guestmount.pod:134
23584 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
23585 msgstr ""
23586
23587 # type: textblock
23588 #: ../fuse/guestmount.pod:136
23589 msgid ""
23590 "Mount the named partition or logical volume on the given mountpoint B<in the "
23591 "guest> (this has nothing to do with mountpoints in the host)."
23592 msgstr ""
23593
23594 # type: textblock
23595 #: ../fuse/guestmount.pod:139
23596 msgid ""
23597 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
23598 "something on C</>."
23599 msgstr ""
23600
23601 # type: textblock
23602 #: ../fuse/guestmount.pod:144
23603 msgid ""
23604 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
23605 "unmounted.  If you specify this option, then we don't attempt to sync the "
23606 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
23607 msgstr ""
23608
23609 # type: =item
23610 #: ../fuse/guestmount.pod:149
23611 msgid "B<-o option> | B<--option option>"
23612 msgstr ""
23613
23614 # type: textblock
23615 #: ../fuse/guestmount.pod:151
23616 msgid "Pass extra options to FUSE."
23617 msgstr ""
23618
23619 # type: textblock
23620 #: ../fuse/guestmount.pod:153
23621 msgid ""
23622 "To get a list of all the extra options supported by FUSE, use the command "
23623 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
23624 "of them are a good idea."
23625 msgstr ""
23626
23627 # type: verbatim
23628 #: ../fuse/guestmount.pod:157
23629 #, no-wrap
23630 msgid ""
23631 " guestmount --fuse-help\n"
23632 "\n"
23633 msgstr ""
23634
23635 # type: textblock
23636 #: ../fuse/guestmount.pod:159
23637 msgid "Some potentially useful FUSE options:"
23638 msgstr ""
23639
23640 # type: =item
23641 #: ../fuse/guestmount.pod:163
23642 msgid "B<-o allow_other>"
23643 msgstr ""
23644
23645 # type: textblock
23646 #: ../fuse/guestmount.pod:165
23647 msgid "Allow other users to see the filesystem."
23648 msgstr ""
23649
23650 # type: =item
23651 #: ../fuse/guestmount.pod:167
23652 msgid "B<-o attr_timeout=N>"
23653 msgstr ""
23654
23655 # type: textblock
23656 #: ../fuse/guestmount.pod:169
23657 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
23658 msgstr ""
23659
23660 # type: =item
23661 #: ../fuse/guestmount.pod:171
23662 msgid "B<-o kernel_cache>"
23663 msgstr ""
23664
23665 # type: textblock
23666 #: ../fuse/guestmount.pod:173
23667 msgid ""
23668 "Allow the kernel to cache files (reduces the number of reads that have to go "
23669 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
23670 "afford the extra memory usage."
23671 msgstr ""
23672
23673 # type: =item
23674 #: ../fuse/guestmount.pod:177
23675 msgid "B<-o uid=N> B<-o gid=N>"
23676 msgstr ""
23677
23678 # type: textblock
23679 #: ../fuse/guestmount.pod:179
23680 msgid ""
23681 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
23682 "the chosen values."
23683 msgstr ""
23684
23685 # type: textblock
23686 #: ../fuse/guestmount.pod:186
23687 msgid ""
23688 "Add devices and mount everything read-only.  Also disallow writes and make "
23689 "the disk appear read-only to FUSE."
23690 msgstr ""
23691
23692 # type: textblock
23693 #: ../fuse/guestmount.pod:189
23694 msgid ""
23695 "This is highly recommended if you are not going to edit the guest disk.  If "
23696 "the guest is running and this option is I<not> supplied, then there is a "
23697 "strong risk of disk corruption in the guest.  We try to prevent this from "
23698 "happening, but it is not always possible."
23699 msgstr ""
23700
23701 # type: textblock
23702 #: ../fuse/guestmount.pod:196
23703 msgid "Enable SELinux support for the guest."
23704 msgstr ""
23705
23706 # type: textblock
23707 #: ../fuse/guestmount.pod:200
23708 msgid "Enable verbose messages from underlying libguestfs."
23709 msgstr ""
23710
23711 # type: textblock
23712 #: ../fuse/guestmount.pod:204
23713 msgid "Display the program version and exit."
23714 msgstr ""
23715
23716 # type: =item
23717 #: ../fuse/guestmount.pod:206
23718 msgid "B<-x> | B<--trace>"
23719 msgstr ""
23720
23721 # type: textblock
23722 #: ../fuse/guestmount.pod:208
23723 msgid "Trace libguestfs calls."
23724 msgstr ""
23725
23726 # type: textblock
23727 #: ../fuse/guestmount.pod:210
23728 msgid "This also stops the daemon from forking into the background."
23729 msgstr ""
23730
23731 # type: textblock
23732 #: ../fuse/guestmount.pod:216
23733 msgid ""
23734 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
23735 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, "
23736 "L<http://fuse.sf.net/>."
23737 msgstr ""
23738
23739 # type: textblock
23740 #: ../inspector/virt-inspector.pl:35
23741 msgid ""
23742 "virt-inspector - Display operating system version and other information "
23743 "about a virtual machine"
23744 msgstr ""
23745
23746 # type: verbatim
23747 #: ../inspector/virt-inspector.pl:39
23748 #, no-wrap
23749 msgid ""
23750 " virt-inspector [--connect URI] domname\n"
23751 "\n"
23752 msgstr ""
23753
23754 # type: verbatim
23755 #: ../inspector/virt-inspector.pl:41
23756 #, no-wrap
23757 msgid ""
23758 " virt-inspector guest.img [guest.img ...]\n"
23759 "\n"
23760 msgstr ""
23761
23762 # type: textblock
23763 #: ../inspector/virt-inspector.pl:45
23764 msgid ""
23765 "B<virt-inspector> examines a virtual machine or disk image and tries to "
23766 "determine the version of the operating system and other information about "
23767 "the virtual machine."
23768 msgstr ""
23769
23770 # type: textblock
23771 #: ../inspector/virt-inspector.pl:49
23772 msgid "Virt-inspector produces XML output for feeding into other programs."
23773 msgstr ""
23774
23775 # type: textblock
23776 #: ../inspector/virt-inspector.pl:51
23777 msgid ""
23778 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
23779 "libvirt domain (see: C<virsh list --all>)."
23780 msgstr ""
23781
23782 # type: textblock
23783 #: ../inspector/virt-inspector.pl:54
23784 msgid ""
23785 "You can also run virt-inspector directly on disk images from a single "
23786 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
23787 "has several block devices, in which case you should list them one after "
23788 "another, with the first corresponding to the guest's C</dev/sda>, the second "
23789 "to the guest's C</dev/sdb> and so on."
23790 msgstr ""
23791
23792 # type: textblock
23793 #: ../inspector/virt-inspector.pl:60
23794 msgid ""
23795 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
23796 "inspect several virtual machines, you have to run virt-inspector several "
23797 "times (for example, from a shell script for-loop)."
23798 msgstr ""
23799
23800 # type: textblock
23801 #: ../inspector/virt-inspector.pl:65
23802 msgid ""
23803 "Because virt-inspector needs direct access to guest images, it won't "
23804 "normally work over remote libvirt connections."
23805 msgstr ""
23806
23807 # type: textblock
23808 #: ../inspector/virt-inspector.pl:78 ../tools/virt-edit.pl:82 ../tools/virt-win-reg.pl:181 ../tools/virt-df.pl:81 ../tools/virt-ls.pl:88 ../tools/virt-list-filesystems.pl:60 ../tools/virt-cat.pl:89 ../tools/virt-tar.pl:108 ../tools/virt-rescue.pl:113 ../tools/virt-make-fs.pl:163 ../tools/virt-list-partitions.pl:61
23809 msgid "Display brief help."
23810 msgstr ""
23811
23812 # type: =item
23813 #: ../inspector/virt-inspector.pl:84 ../tools/virt-edit.pl:88 ../tools/virt-win-reg.pl:187 ../tools/virt-df.pl:87 ../tools/virt-ls.pl:94 ../tools/virt-resize.pl:273 ../tools/virt-list-filesystems.pl:66 ../tools/virt-cat.pl:95 ../tools/virt-tar.pl:114 ../tools/virt-rescue.pl:119 ../tools/virt-make-fs.pl:169 ../tools/virt-list-partitions.pl:67
23814 msgid "B<--version>"
23815 msgstr ""
23816
23817 # type: textblock
23818 #: ../inspector/virt-inspector.pl:86 ../tools/virt-edit.pl:90 ../tools/virt-win-reg.pl:189 ../tools/virt-df.pl:89 ../tools/virt-ls.pl:96 ../tools/virt-resize.pl:275 ../tools/virt-list-filesystems.pl:68 ../tools/virt-cat.pl:97 ../tools/virt-tar.pl:116 ../tools/virt-rescue.pl:121 ../tools/virt-make-fs.pl:171 ../tools/virt-list-partitions.pl:69
23819 msgid "Display version number and exit."
23820 msgstr ""
23821
23822 # type: =item
23823 #: ../inspector/virt-inspector.pl:92 ../tools/virt-edit.pl:112 ../tools/virt-win-reg.pl:203 ../tools/virt-df.pl:95 ../tools/virt-ls.pl:102 ../tools/virt-list-filesystems.pl:74 ../tools/virt-cat.pl:103 ../tools/virt-tar.pl:122 ../tools/virt-rescue.pl:135 ../tools/virt-list-partitions.pl:75
23824 msgid "B<--connect URI> | B<-c URI>"
23825 msgstr ""
23826
23827 # type: textblock
23828 #: ../inspector/virt-inspector.pl:94 ../tools/virt-edit.pl:114 ../tools/virt-win-reg.pl:205 ../tools/virt-df.pl:97 ../tools/virt-ls.pl:104 ../tools/virt-list-filesystems.pl:76 ../tools/virt-cat.pl:105 ../tools/virt-tar.pl:124 ../tools/virt-rescue.pl:137 ../tools/virt-list-partitions.pl:77
23829 msgid ""
23830 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
23831 "to the default libvirt hypervisor."
23832 msgstr ""
23833
23834 # type: textblock
23835 #: ../inspector/virt-inspector.pl:97
23836 msgid ""
23837 "Libvirt is only used if you specify a C<domname> on the command line.  If "
23838 "you specify guest block devices directly, then libvirt is not used at all."
23839 msgstr ""
23840
23841 # type: =item
23842 #: ../inspector/virt-inspector.pl:105 ../tools/virt-edit.pl:124 ../tools/virt-win-reg.pl:215 ../tools/virt-df.pl:117 ../tools/virt-ls.pl:114 ../tools/virt-resize.pl:523 ../tools/virt-list-filesystems.pl:86 ../tools/virt-cat.pl:115 ../tools/virt-tar.pl:134 ../tools/virt-rescue.pl:147 ../tools/virt-list-partitions.pl:87
23843 msgid "B<--format> raw"
23844 msgstr ""
23845
23846 # type: textblock
23847 #: ../inspector/virt-inspector.pl:107 ../tools/virt-edit.pl:126 ../tools/virt-win-reg.pl:217 ../tools/virt-df.pl:119 ../tools/virt-ls.pl:116 ../tools/virt-list-filesystems.pl:88 ../tools/virt-cat.pl:117 ../tools/virt-tar.pl:136 ../tools/virt-rescue.pl:149 ../tools/virt-list-partitions.pl:89
23848 msgid ""
23849 "Specify the format of disk images given on the command line.  If this is "
23850 "omitted then the format is autodetected from the content of the disk image."
23851 msgstr ""
23852
23853 # type: textblock
23854 #: ../inspector/virt-inspector.pl:111 ../tools/virt-edit.pl:130 ../tools/virt-win-reg.pl:221 ../tools/virt-df.pl:123 ../tools/virt-ls.pl:120 ../tools/virt-list-filesystems.pl:92 ../tools/virt-cat.pl:121 ../tools/virt-tar.pl:140 ../tools/virt-rescue.pl:153 ../tools/virt-list-partitions.pl:93
23855 msgid ""
23856 "If disk images are requested from libvirt, then this program asks libvirt "
23857 "for this information.  In this case, the value of the format parameter is "
23858 "ignored."
23859 msgstr ""
23860
23861 # type: textblock
23862 #: ../inspector/virt-inspector.pl:115 ../tools/virt-edit.pl:134 ../tools/virt-win-reg.pl:225 ../tools/virt-df.pl:127 ../tools/virt-ls.pl:124 ../tools/virt-resize.pl:528 ../tools/virt-resize.pl:543 ../tools/virt-list-filesystems.pl:96 ../tools/virt-cat.pl:125 ../tools/virt-tar.pl:144 ../tools/virt-rescue.pl:157 ../tools/virt-list-partitions.pl:97
23863 msgid ""
23864 "If working with untrusted raw-format guest disk images, you should ensure "
23865 "the format is always specified."
23866 msgstr ""
23867
23868 # type: =head1
23869 #: ../inspector/virt-inspector.pl:149
23870 msgid "XML FORMAT"
23871 msgstr ""
23872
23873 # type: textblock
23874 #: ../inspector/virt-inspector.pl:151
23875 msgid ""
23876 "The virt-inspector XML is described precisely in a RELAX NG schema which is "
23877 "supplied with libguestfs.  This section is just an overview."
23878 msgstr ""
23879
23880 # type: textblock
23881 #: ../inspector/virt-inspector.pl:154
23882 msgid ""
23883 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
23884 "more E<lt>operatingsystemE<gt> elements.  You would only see more than one "
23885 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
23886 "which is vanishingly rare in real world VMs."
23887 msgstr ""
23888
23889 # type: =head2
23890 #: ../inspector/virt-inspector.pl:159
23891 msgid "E<lt>operatingsystemE<gt>"
23892 msgstr ""
23893
23894 # type: textblock
23895 #: ../inspector/virt-inspector.pl:161
23896 msgid ""
23897 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
23898 "describe the operating system, its architecture, the descriptive \"product "
23899 "name\" string, the type of OS and so on, as in this example:"
23900 msgstr ""
23901
23902 # type: verbatim
23903 #: ../inspector/virt-inspector.pl:165
23904 #, no-wrap
23905 msgid ""
23906 " <operatingsystems>\n"
23907 "   <operatingsystem>\n"
23908 "     <root>/dev/sda2</root>\n"
23909 "     <name>windows</name>\n"
23910 "     <arch>i386</arch>\n"
23911 "     <distro>windows</distro>\n"
23912 "     <product_name>Windows 7 Enterprise</product_name>\n"
23913 "     <major_version>6</major_version>\n"
23914 "     <minor_version>1</minor_version>\n"
23915 "     <windows_systemroot>/Windows</windows_systemroot>\n"
23916 "\n"
23917 msgstr ""
23918
23919 # type: textblock
23920 #: ../inspector/virt-inspector.pl:176
23921 msgid ""
23922 "These fields are derived from the libguestfs inspection API, and you can "
23923 "find more details in L<guestfs(3)/INSPECTION>."
23924 msgstr ""
23925
23926 # type: textblock
23927 #: ../inspector/virt-inspector.pl:179
23928 msgid ""
23929 "The E<lt>rootE<gt> element is the root filesystem device, but from the point "
23930 "of view of libguestfs (block devices may have completely different names "
23931 "inside the VM itself)."
23932 msgstr ""
23933
23934 # type: =head2
23935 #: ../inspector/virt-inspector.pl:240
23936 msgid "E<lt>mountpointsE<gt>"
23937 msgstr ""
23938
23939 # type: textblock
23940 #: ../inspector/virt-inspector.pl:242
23941 msgid ""
23942 "Un*x-like guests typically have multiple filesystems which are mounted at "
23943 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
23944 "element which looks like this:"
23945 msgstr ""
23946
23947 # type: verbatim
23948 #: ../inspector/virt-inspector.pl:246
23949 #, no-wrap
23950 msgid ""
23951 " <operatingsystems>\n"
23952 "   <operatingsystem>\n"
23953 "     ...\n"
23954 "     <mountpoints>\n"
23955 "       <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
23956 "       <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
23957 "     </mountpoints>\n"
23958 "\n"
23959 msgstr ""
23960
23961 # type: textblock
23962 #: ../inspector/virt-inspector.pl:254
23963 msgid ""
23964 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
23965 "and may have completely different names inside the guest.  Only mountable "
23966 "filesystems appear in this list, not things like swap devices."
23967 msgstr ""
23968
23969 # type: =head2
23970 #: ../inspector/virt-inspector.pl:276
23971 msgid "E<lt>filesystemsE<gt>"
23972 msgstr ""
23973
23974 # type: textblock
23975 #: ../inspector/virt-inspector.pl:278
23976 msgid ""
23977 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
23978 "filesystems belonging to the guest, including swap and empty partitions.  "
23979 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
23980 "this OS or shared by this OS and other OSes)."
23981 msgstr ""
23982
23983 # type: textblock
23984 #: ../inspector/virt-inspector.pl:283
23985 msgid "You might see something like this:"
23986 msgstr ""
23987
23988 # type: verbatim
23989 #: ../inspector/virt-inspector.pl:285
23990 #, no-wrap
23991 msgid ""
23992 " <operatingsystems>\n"
23993 "   <operatingsystem>\n"
23994 "     ...\n"
23995 "     <filesystems>\n"
23996 "       <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
23997 "         <type>ext4</type>\n"
23998 "         <label>Fedora-13-x86_64</label>\n"
23999 "         <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
24000 "       </filesystem>\n"
24001 "\n"
24002 msgstr ""
24003
24004 # type: textblock
24005 #: ../inspector/virt-inspector.pl:295
24006 msgid ""
24007 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
24008 "the label, and the UUID."
24009 msgstr ""
24010
24011 # type: =head2
24012 #: ../inspector/virt-inspector.pl:337
24013 msgid "E<lt>applicationsE<gt>"
24014 msgstr ""
24015
24016 # type: textblock
24017 #: ../inspector/virt-inspector.pl:339
24018 msgid ""
24019 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
24020 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
24021 "machine.  At the moment we are only able to list RPMs and Debian packages "
24022 "installed, but in future we will support other Linux distros and Windows."
24023 msgstr ""
24024
24025 # type: textblock
24026 #: ../inspector/virt-inspector.pl:345
24027 msgid ""
24028 "E<lt>package_formatE<gt>, if present, describes the packaging system used.  "
24029 "Typical values would be C<rpm> and C<deb>."
24030 msgstr ""
24031
24032 # type: textblock
24033 #: ../inspector/virt-inspector.pl:348
24034 msgid ""
24035 "E<lt>package_managementE<gt>, if present, describes the package manager.  "
24036 "Typical values include C<yum>, C<up2date> and C<apt>"
24037 msgstr ""
24038
24039 # type: textblock
24040 #: ../inspector/virt-inspector.pl:351
24041 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
24042 msgstr ""
24043
24044 # type: verbatim
24045 #: ../inspector/virt-inspector.pl:354
24046 #, no-wrap
24047 msgid ""
24048 " <operatingsystems>\n"
24049 "   <operatingsystem>\n"
24050 "     ...\n"
24051 "     <applications>\n"
24052 "       <application>\n"
24053 "         <name>coreutils</name>\n"
24054 "         <version>8.5</version>\n"
24055 "         <release>1</release>\n"
24056 "       </application>\n"
24057 "\n"
24058 msgstr ""
24059
24060 # type: textblock
24061 #: ../inspector/virt-inspector.pl:364
24062 msgid ""
24063 "(The version and release fields may not be available for some package "
24064 "types)."
24065 msgstr ""
24066
24067 # type: =head1
24068 #: ../inspector/virt-inspector.pl:544
24069 msgid "USING XPATH"
24070 msgstr ""
24071
24072 # type: textblock
24073 #: ../inspector/virt-inspector.pl:546
24074 msgid ""
24075 "You can use the XPath query language, and/or the xpath tool, in order to "
24076 "select parts of the XML."
24077 msgstr ""
24078
24079 # type: verbatim
24080 #: ../inspector/virt-inspector.pl:551
24081 #, no-wrap
24082 msgid ""
24083 " $ virt-inspector Guest | xpath //filesystems\n"
24084 " Found 1 nodes:\n"
24085 " -- NODE --\n"
24086 " <filesystems>\n"
24087 "      <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
24088 "        <type>ext4</type>\n"
24089 " [etc]\n"
24090 "\n"
24091 msgstr ""
24092
24093 # type: verbatim
24094 #: ../inspector/virt-inspector.pl:559
24095 #, no-wrap
24096 msgid ""
24097 " $ virt-inspector Guest | \\\n"
24098 "     xpath \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
24099 " Query didn't return a nodeset. Value: ext4\n"
24100 "\n"
24101 msgstr ""
24102
24103 # type: =head1
24104 #: ../inspector/virt-inspector.pl:563 ../tools/virt-edit.pl:343 ../tools/virt-win-reg.pl:141 ../tools/virt-win-reg.pl:477 ../tools/virt-df.pl:633 ../tools/virt-ls.pl:225 ../tools/virt-resize.pl:1479 ../tools/virt-list-filesystems.pl:179 ../tools/virt-cat.pl:178 ../tools/virt-tar.pl:274 ../tools/virt-rescue.pl:260 ../tools/virt-make-fs.pl:527 ../tools/virt-list-partitions.pl:247
24105 msgid "SHELL QUOTING"
24106 msgstr ""
24107
24108 # type: textblock
24109 #: ../inspector/virt-inspector.pl:565 ../tools/virt-edit.pl:345 ../tools/virt-win-reg.pl:479 ../tools/virt-df.pl:635 ../tools/virt-ls.pl:227 ../tools/virt-resize.pl:1481 ../tools/virt-list-filesystems.pl:181 ../tools/virt-cat.pl:180 ../tools/virt-tar.pl:276 ../tools/virt-rescue.pl:262 ../tools/virt-make-fs.pl:529 ../tools/virt-list-partitions.pl:249
24110 msgid ""
24111 "Libvirt guest names can contain arbitrary characters, some of which have "
24112 "meaning to the shell such as C<#> and space.  You may need to quote or "
24113 "escape these characters on the command line.  See the shell manual page "
24114 "L<sh(1)> for details."
24115 msgstr ""
24116
24117 # type: textblock
24118 #: ../inspector/virt-inspector.pl:572
24119 msgid ""
24120 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
24121 "L<Sys::Virt(3)>, L<http://www.w3.org/TR/xpath/>, L<http://libguestfs.org/>."
24122 msgstr ""
24123
24124 # type: textblock
24125 #: ../inspector/virt-inspector.pl:586 ../tools/virt-edit.pl:364 ../tools/virt-win-reg.pl:512 ../tools/virt-df.pl:651 ../tools/virt-ls.pl:245 ../tools/virt-resize.pl:1510 ../tools/virt-list-filesystems.pl:200 ../tools/virt-cat.pl:197 ../tools/virt-tar.pl:294 ../tools/virt-rescue.pl:279 ../tools/virt-make-fs.pl:561 ../tools/virt-list-partitions.pl:267
24126 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
24127 msgstr ""
24128
24129 # type: textblock
24130 #: ../inspector/virt-inspector.pl:590
24131 msgid "Matthew Booth L<mbooth@redhat.com>"
24132 msgstr ""
24133
24134 # type: textblock
24135 #: ../inspector/virt-inspector.pl:596 ../tools/virt-win-reg.pl:516 ../tools/virt-resize.pl:1514 ../tools/virt-make-fs.pl:565
24136 msgid "Copyright (C) 2010 Red Hat Inc."
24137 msgstr ""
24138
24139 # type: textblock
24140 #: ../tools/virt-edit.pl:34
24141 msgid "virt-edit - Edit a file in a virtual machine"
24142 msgstr ""
24143
24144 # type: verbatim
24145 #: ../tools/virt-edit.pl:38
24146 #, no-wrap
24147 msgid ""
24148 " virt-edit [--options] domname file\n"
24149 "\n"
24150 msgstr ""
24151
24152 # type: verbatim
24153 #: ../tools/virt-edit.pl:40
24154 #, no-wrap
24155 msgid ""
24156 " virt-edit [--options] disk.img [disk.img ...] file\n"
24157 "\n"
24158 msgstr ""
24159
24160 # type: verbatim
24161 #: ../tools/virt-edit.pl:42
24162 #, no-wrap
24163 msgid ""
24164 " virt-edit [domname|disk.img] file -e 'expr'\n"
24165 "\n"
24166 msgstr ""
24167
24168 # type: textblock
24169 #: ../tools/virt-edit.pl:46
24170 msgid ""
24171 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
24172 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
24173 "doing this, but doesn't catch all cases."
24174 msgstr ""
24175
24176 # type: textblock
24177 #: ../tools/virt-edit.pl:52
24178 msgid ""
24179 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
24180 "the named virtual machine (or disk image)."
24181 msgstr ""
24182
24183 # type: textblock
24184 #: ../tools/virt-edit.pl:55
24185 msgid ""
24186 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
24187 "you should look at the L<guestfish(1)> tool."
24188 msgstr ""
24189
24190 # type: textblock
24191 #: ../tools/virt-edit.pl:60
24192 msgid "Edit the named files interactively:"
24193 msgstr ""
24194
24195 # type: verbatim
24196 #: ../tools/virt-edit.pl:62
24197 #, no-wrap
24198 msgid ""
24199 " virt-edit mydomain /boot/grub/grub.conf\n"
24200 "\n"
24201 msgstr ""
24202
24203 # type: verbatim
24204 #: ../tools/virt-edit.pl:64
24205 #, no-wrap
24206 msgid ""
24207 " virt-edit mydomain /etc/passwd\n"
24208 "\n"
24209 msgstr ""
24210
24211 # type: textblock
24212 #: ../tools/virt-edit.pl:66
24213 msgid ""
24214 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
24215 "below).  To change the init default level to 5:"
24216 msgstr ""
24217
24218 # type: verbatim
24219 #: ../tools/virt-edit.pl:70
24220 #, no-wrap
24221 msgid ""
24222 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
24223 "\n"
24224 msgstr ""
24225
24226 # type: =item
24227 #: ../tools/virt-edit.pl:96
24228 msgid "B<--backup extension> | B<-b extension>"
24229 msgstr ""
24230
24231 # type: textblock
24232 #: ../tools/virt-edit.pl:98
24233 msgid ""
24234 "Create a backup of the original file I<in the guest disk image>.  The backup "
24235 "has the original filename with C<extension> added."
24236 msgstr ""
24237
24238 # type: textblock
24239 #: ../tools/virt-edit.pl:101
24240 msgid ""
24241 "Usually the first character of C<extension> would be a dot C<.> so you would "
24242 "write:"
24243 msgstr ""
24244
24245 # type: verbatim
24246 #: ../tools/virt-edit.pl:104
24247 #, no-wrap
24248 msgid ""
24249 " virt-edit -b .orig [etc]\n"
24250 "\n"
24251 msgstr ""
24252
24253 # type: textblock
24254 #: ../tools/virt-edit.pl:106
24255 msgid "By default, no backup file is made."
24256 msgstr ""
24257
24258 # type: textblock
24259 #: ../tools/virt-edit.pl:117 ../tools/virt-win-reg.pl:208 ../tools/virt-df.pl:100 ../tools/virt-ls.pl:107 ../tools/virt-list-filesystems.pl:79 ../tools/virt-cat.pl:108 ../tools/virt-tar.pl:127 ../tools/virt-rescue.pl:140 ../tools/virt-list-partitions.pl:80
24260 msgid ""
24261 "If you specify guest block devices directly, then libvirt is not used at "
24262 "all."
24263 msgstr ""
24264
24265 # type: =item
24266 #: ../tools/virt-edit.pl:141
24267 msgid "B<--expr EXPR> | B<-e EXPR>"
24268 msgstr ""
24269
24270 # type: textblock
24271 #: ../tools/virt-edit.pl:143
24272 msgid ""
24273 "Instead of launching the external editor, non-interactively apply the Perl "
24274 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
24275 "EDITING> below."
24276 msgstr ""
24277
24278 # type: textblock
24279 #: ../tools/virt-edit.pl:147
24280 msgid ""
24281 "Be careful to properly quote the expression to prevent it from being altered "
24282 "by the shell."
24283 msgstr ""
24284
24285 # type: =head1
24286 #: ../tools/virt-edit.pl:268
24287 msgid "NON-INTERACTIVE EDITING"
24288 msgstr ""
24289
24290 # type: textblock
24291 #: ../tools/virt-edit.pl:270
24292 msgid ""
24293 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
24294 "administrator can interactively edit the file."
24295 msgstr ""
24296
24297 # type: textblock
24298 #: ../tools/virt-edit.pl:273
24299 msgid ""
24300 "There are two ways also to use C<virt-edit> from scripts in order to make "
24301 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
24302 "like this, it's less error-prone to write scripts directly using the "
24303 "libguestfs API and Augeas for configuration file editing.)"
24304 msgstr ""
24305
24306 # type: textblock
24307 #: ../tools/virt-edit.pl:279
24308 msgid ""
24309 "The first method is to temporarily set C<$EDITOR> to any script or program "
24310 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
24311 "update C<tmpfile> in place however it likes."
24312 msgstr ""
24313
24314 # type: textblock
24315 #: ../tools/virt-edit.pl:283
24316 msgid ""
24317 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
24318 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
24319 "instances of C<foo> with C<bar> in a file:"
24320 msgstr ""
24321
24322 # type: verbatim
24323 #: ../tools/virt-edit.pl:287
24324 #, no-wrap
24325 msgid ""
24326 " virt-edit domname filename -e 's/foo/bar/'\n"
24327 "\n"
24328 msgstr ""
24329
24330 # type: textblock
24331 #: ../tools/virt-edit.pl:289
24332 msgid ""
24333 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
24334 "For example to delete root's password you could do:"
24335 msgstr ""
24336
24337 # type: verbatim
24338 #: ../tools/virt-edit.pl:292
24339 #, no-wrap
24340 msgid ""
24341 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
24342 "\n"
24343 msgstr ""
24344
24345 # type: textblock
24346 #: ../tools/virt-edit.pl:294
24347 msgid ""
24348 "What really happens is that the snippet is evaluated as a Perl expression "
24349 "for each line of the file.  The line, including the final C<\\n>, is passed "
24350 "in C<$_> and the expression should update C<$_> or leave it unchanged."
24351 msgstr ""
24352
24353 # type: textblock
24354 #: ../tools/virt-edit.pl:299
24355 msgid ""
24356 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
24357 "C<apache> user account from the password file you can do:"
24358 msgstr ""
24359
24360 # type: verbatim
24361 #: ../tools/virt-edit.pl:302
24362 #, no-wrap
24363 msgid ""
24364 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
24365 "\n"
24366 msgstr ""
24367
24368 # type: textblock
24369 #: ../tools/virt-edit.pl:304
24370 msgid ""
24371 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
24372 "the end of the file is rather difficult this way since there is no concept "
24373 "of \"last line of the file\" - your expression just doesn't get called "
24374 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
24375 "want to do this."
24376 msgstr ""
24377
24378 # type: textblock
24379 #: ../tools/virt-edit.pl:310
24380 msgid ""
24381 "The variable C<$lineno> contains the current line number.  As is "
24382 "traditional, the first line in the file is number C<1>."
24383 msgstr ""
24384
24385 # type: textblock
24386 #: ../tools/virt-edit.pl:313
24387 msgid ""
24388 "The return value from the expression is ignored, but the expression may call "
24389 "C<die> in order to abort the whole program, leaving the original file "
24390 "untouched."
24391 msgstr ""
24392
24393 # type: textblock
24394 #: ../tools/virt-edit.pl:317
24395 msgid ""
24396 "Remember when matching the end of a line that C<$_> may contain the final "
24397 "C<\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
24398 "newline then neither of these.  Thus to match or substitute some text at the "
24399 "end of a line, use this regular expression:"
24400 msgstr ""
24401
24402 # type: verbatim
24403 #: ../tools/virt-edit.pl:322
24404 #, no-wrap
24405 msgid ""
24406 " /some text(\\r?\\n)?$/\n"
24407 "\n"
24408 msgstr ""
24409
24410 # type: textblock
24411 #: ../tools/virt-edit.pl:324
24412 msgid ""
24413 "Alternately, use the perl C<chomp> function, being careful not to chomp "
24414 "C<$_> itself (since that would remove all newlines from the file):"
24415 msgstr ""
24416
24417 # type: verbatim
24418 #: ../tools/virt-edit.pl:328
24419 #, no-wrap
24420 msgid ""
24421 " my $m = $_; chomp $m; $m =~ /some text$/\n"
24422 "\n"
24423 msgstr ""
24424
24425 # type: =item
24426 #: ../tools/virt-edit.pl:334
24427 msgid "C<EDITOR>"
24428 msgstr ""
24429
24430 # type: textblock
24431 #: ../tools/virt-edit.pl:336
24432 msgid ""
24433 "If set, this string is used as the editor.  It may contain arguments, "
24434 "eg. C<\"emacs -nw\">"
24435 msgstr ""
24436
24437 # type: textblock
24438 #: ../tools/virt-edit.pl:339
24439 msgid "If not set, C<vi> is used."
24440 msgstr ""
24441
24442 # type: textblock
24443 #: ../tools/virt-edit.pl:352
24444 msgid ""
24445 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
24446 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, "
24447 "L<perl(1)>, L<perlre(1)>."
24448 msgstr ""
24449
24450 # type: =head1
24451 #: ../tools/virt-edit.pl:362 ../tools/virt-win-reg.pl:510 ../tools/virt-df.pl:649 ../tools/virt-ls.pl:243 ../tools/virt-resize.pl:1508 ../tools/virt-list-filesystems.pl:198 ../tools/virt-cat.pl:195 ../tools/virt-tar.pl:292 ../tools/virt-rescue.pl:277 ../tools/virt-make-fs.pl:559 ../tools/virt-list-partitions.pl:265
24452 msgid "AUTHOR"
24453 msgstr ""
24454
24455 # type: textblock
24456 #: ../tools/virt-edit.pl:368 ../tools/virt-df.pl:655 ../tools/virt-rescue.pl:283 ../tools/virt-list-partitions.pl:271
24457 msgid "Copyright (C) 2009-2010 Red Hat Inc."
24458 msgstr ""
24459
24460 # type: textblock
24461 #: ../tools/virt-win-reg.pl:37
24462 msgid ""
24463 "virt-win-reg - Export and merge Windows Registry entries from a Windows "
24464 "guest"
24465 msgstr ""
24466
24467 # type: verbatim
24468 #: ../tools/virt-win-reg.pl:41
24469 #, no-wrap
24470 msgid ""
24471 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
24472 "\n"
24473 msgstr ""
24474
24475 # type: verbatim
24476 #: ../tools/virt-win-reg.pl:43
24477 #, no-wrap
24478 msgid ""
24479 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
24480 "\n"
24481 msgstr ""
24482
24483 # type: verbatim
24484 #: ../tools/virt-win-reg.pl:45
24485 #, no-wrap
24486 msgid ""
24487 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
24488 "\n"
24489 msgstr ""
24490
24491 # type: verbatim
24492 #: ../tools/virt-win-reg.pl:47
24493 #, no-wrap
24494 msgid ""
24495 " virt-win-reg --merge domname [input.reg ...]\n"
24496 "\n"
24497 msgstr ""
24498
24499 # type: verbatim
24500 #: ../tools/virt-win-reg.pl:49
24501 #, no-wrap
24502 msgid ""
24503 " virt-win-reg [--options] disk.img ... # instead of domname\n"
24504 "\n"
24505 msgstr ""
24506
24507 # type: textblock
24508 #: ../tools/virt-win-reg.pl:53
24509 msgid ""
24510 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
24511 "virtual machines.  If you do this, you I<will> get irreversible disk "
24512 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
24513 "but doesn't catch all cases."
24514 msgstr ""
24515
24516 # type: textblock
24517 #: ../tools/virt-win-reg.pl:58
24518 msgid ""
24519 "Modifying the Windows Registry is an inherently risky operation.  The format "
24520 "is deliberately obscure and undocumented, and Registry changes can leave the "
24521 "system unbootable.  Therefore when using the C<--merge> option, make sure "
24522 "you have a reliable backup first."
24523 msgstr ""
24524
24525 # type: textblock
24526 #: ../tools/virt-win-reg.pl:65
24527 msgid ""
24528 "This program can export and merge Windows Registry entries from a Windows "
24529 "guest."
24530 msgstr ""
24531
24532 # type: textblock
24533 #: ../tools/virt-win-reg.pl:68
24534 msgid ""
24535 "The first parameter is the libvirt guest name or the raw disk image of a "
24536 "Windows guest."
24537 msgstr ""
24538
24539 # type: textblock
24540 #: ../tools/virt-win-reg.pl:71
24541 msgid ""
24542 "If C<--merge> is I<not> specified, then the chosen registry key is "
24543 "displayed/exported (recursively).  For example:"
24544 msgstr ""
24545
24546 # type: verbatim
24547 #: ../tools/virt-win-reg.pl:74
24548 #, no-wrap
24549 msgid ""
24550 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
24551 "\n"
24552 msgstr ""
24553
24554 # type: textblock
24555 #: ../tools/virt-win-reg.pl:76
24556 msgid "You can also display single values from within registry keys, for example:"
24557 msgstr ""
24558
24559 # type: verbatim
24560 #: ../tools/virt-win-reg.pl:79
24561 #, no-wrap
24562 msgid ""
24563 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
24564 " $ virt-win-reg Windows7 $cvkey ProductName\n"
24565 " Windows 7 Enterprise\n"
24566 "\n"
24567 msgstr ""
24568
24569 # type: textblock
24570 #: ../tools/virt-win-reg.pl:83
24571 msgid ""
24572 "With C<--merge>, you can merge a textual regedit file into the Windows "
24573 "Registry:"
24574 msgstr ""
24575
24576 # type: verbatim
24577 #: ../tools/virt-win-reg.pl:86
24578 #, no-wrap
24579 msgid ""
24580 " $ virt-win-reg --merge Windows7 changes.reg\n"
24581 "\n"
24582 msgstr ""
24583
24584 # type: =head2
24585 #: ../tools/virt-win-reg.pl:88
24586 msgid "SUPPORTED SYSTEMS"
24587 msgstr ""
24588
24589 # type: textblock
24590 #: ../tools/virt-win-reg.pl:90
24591 msgid ""
24592 "The program currently supports Windows NT-derived guests starting with "
24593 "Windows XP through to at least Windows 7."
24594 msgstr ""
24595
24596 # type: textblock
24597 #: ../tools/virt-win-reg.pl:93
24598 msgid ""
24599 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, "
24600 "C<HKEY_LOCAL_MACHINE\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, "
24601 "C<HKEY_LOCAL_MACHINE\\SYSTEM> and C<HKEY_USERS\\.DEFAULT>."
24602 msgstr ""
24603
24604 # type: textblock
24605 #: ../tools/virt-win-reg.pl:97
24606 msgid ""
24607 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
24608 "C<HKEY_USERS>."
24609 msgstr ""
24610
24611 # type: textblock
24612 #: ../tools/virt-win-reg.pl:100
24613 msgid ""
24614 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
24615 "time."
24616 msgstr ""
24617
24618 # type: =head2
24619 #: ../tools/virt-win-reg.pl:103
24620 msgid "NOTE"
24621 msgstr ""
24622
24623 # type: textblock
24624 #: ../tools/virt-win-reg.pl:105
24625 msgid ""
24626 "This program is only meant for simple access to the registry.  If you want "
24627 "to do complicated things with the registry, we suggest you download the "
24628 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
24629 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
24630 "L<hivexregedit(1)>."
24631 msgstr ""
24632
24633 # type: =head2
24634 #: ../tools/virt-win-reg.pl:111
24635 msgid "ENCODING"
24636 msgstr ""
24637
24638 # type: textblock
24639 #: ../tools/virt-win-reg.pl:113
24640 msgid ""
24641 "C<virt-win-reg> expects that regedit files have already been reencoded in "
24642 "the local encoding.  Usually on Linux hosts, this means UTF-8 with "
24643 "Unix-style line endings.  Since Windows regedit files are often in UTF-16LE "
24644 "with Windows-style line endings, you may need to reencode the whole file "
24645 "before or after processing."
24646 msgstr ""
24647
24648 # type: textblock
24649 #: ../tools/virt-win-reg.pl:119
24650 msgid ""
24651 "To reencode a file from Windows format to Linux (before processing it with "
24652 "the C<--merge> option), you would do something like this:"
24653 msgstr ""
24654
24655 # type: verbatim
24656 #: ../tools/virt-win-reg.pl:122
24657 #, no-wrap
24658 msgid ""
24659 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
24660 "\n"
24661 msgstr ""
24662
24663 # type: textblock
24664 #: ../tools/virt-win-reg.pl:124
24665 msgid ""
24666 "To go in the opposite direction, after exporting and before sending the file "
24667 "to a Windows user, do something like this:"
24668 msgstr ""
24669
24670 # type: verbatim
24671 #: ../tools/virt-win-reg.pl:127
24672 #, no-wrap
24673 msgid ""
24674 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
24675 "\n"
24676 msgstr ""
24677
24678 # type: textblock
24679 #: ../tools/virt-win-reg.pl:129
24680 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
24681 msgstr ""
24682
24683 # type: textblock
24684 #: ../tools/virt-win-reg.pl:131
24685 msgid ""
24686 "If you are unsure about the current encoding, use the L<file(1)> command.  "
24687 "Recent versions of Windows regedit.exe produce a UTF-16LE file with "
24688 "Windows-style (CRLF) line endings, like this:"
24689 msgstr ""
24690
24691 # type: verbatim
24692 #: ../tools/virt-win-reg.pl:135
24693 #, no-wrap
24694 msgid ""
24695 " $ file software.reg\n"
24696 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
24697 " with CRLF line terminators\n"
24698 "\n"
24699 msgstr ""
24700
24701 # type: textblock
24702 #: ../tools/virt-win-reg.pl:139
24703 msgid "This file would need conversion before you could C<--merge> it."
24704 msgstr ""
24705
24706 # type: textblock
24707 #: ../tools/virt-win-reg.pl:143
24708 msgid ""
24709 "Be careful when passing parameters containing C<\\> (backslash) in the "
24710 "shell.  Usually you will have to use 'single quotes' or double backslashes "
24711 "(but not both) to protect them from the shell."
24712 msgstr ""
24713
24714 # type: textblock
24715 #: ../tools/virt-win-reg.pl:147
24716 msgid "Paths and value names are case-insensitive."
24717 msgstr ""
24718
24719 # type: =head2
24720 #: ../tools/virt-win-reg.pl:149
24721 msgid "CurrentControlSet etc."
24722 msgstr ""
24723
24724 # type: textblock
24725 #: ../tools/virt-win-reg.pl:151
24726 msgid ""
24727 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
24728 "Registry at the level of the hive file, and therefore you cannot modify "
24729 "these."
24730 msgstr ""
24731
24732 # type: textblock
24733 #: ../tools/virt-win-reg.pl:155
24734 msgid ""
24735 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
24736 "circumstances it might refer to another control set.  The way to find out is "
24737 "to look at the C<HKLM\\SYSTEM\\Select> key:"
24738 msgstr ""
24739
24740 # type: verbatim
24741 #: ../tools/virt-win-reg.pl:159
24742 #, no-wrap
24743 msgid ""
24744 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
24745 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
24746 " \"Current\"=dword:00000001\n"
24747 " \"Default\"=dword:00000001\n"
24748 " \"Failed\"=dword:00000000\n"
24749 " \"LastKnownGood\"=dword:00000002\n"
24750 "\n"
24751 msgstr ""
24752
24753 # type: textblock
24754 #: ../tools/virt-win-reg.pl:166
24755 msgid "\"Default\" is the one which Windows will choose when it boots."
24756 msgstr ""
24757
24758 # type: textblock
24759 #: ../tools/virt-win-reg.pl:168
24760 msgid "Similarly, other C<Current...> keys in the path may need to be replaced."
24761 msgstr ""
24762
24763 # type: =item
24764 #: ../tools/virt-win-reg.pl:195 ../tools/virt-make-fs.pl:177
24765 msgid "B<--debug>"
24766 msgstr ""
24767
24768 # type: textblock
24769 #: ../tools/virt-win-reg.pl:197 ../tools/virt-resize.pl:501
24770 msgid "Enable debugging messages."
24771 msgstr ""
24772
24773 # type: =item
24774 #: ../tools/virt-win-reg.pl:232
24775 msgid "B<--merge>"
24776 msgstr ""
24777
24778 # type: textblock
24779 #: ../tools/virt-win-reg.pl:234
24780 msgid ""
24781 "In merge mode, this merges a textual regedit file into the Windows Registry "
24782 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
24783 "displays or exports Registry entries instead."
24784 msgstr ""
24785
24786 # type: textblock
24787 #: ../tools/virt-win-reg.pl:238
24788 msgid ""
24789 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
24790 "result in disk corruption.  However exporting (without this flag)  is always "
24791 "safe."
24792 msgstr ""
24793
24794 # type: =item
24795 #: ../tools/virt-win-reg.pl:246
24796 msgid "B<--encoding> UTF-16LE|ASCII"
24797 msgstr ""
24798
24799 # type: textblock
24800 #: ../tools/virt-win-reg.pl:248
24801 msgid ""
24802 "When merging (only), you may need to specify the encoding for strings to be "
24803 "used in the hive file.  This is explained in detail in "
24804 "L<Win::Hivex::Regedit(3)/ENCODING STRINGS>."
24805 msgstr ""
24806
24807 # type: textblock
24808 #: ../tools/virt-win-reg.pl:252
24809 msgid ""
24810 "The default is to use UTF-16LE, which should work with recent versions of "
24811 "Windows."
24812 msgstr ""
24813
24814 # type: textblock
24815 #: ../tools/virt-win-reg.pl:486
24816 msgid ""
24817 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, "
24818 "L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
24819 "L<Sys::Guestfs::Lib(3)>, L<Win::Hivex(3)>, L<Win::Hivex::Regedit(3)>, "
24820 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24821 msgstr ""
24822
24823 # type: textblock
24824 #: ../tools/virt-win-reg.pl:501 ../tools/virt-make-fs.pl:550
24825 msgid ""
24826 "When reporting bugs, please enable debugging and capture the I<complete> "
24827 "output:"
24828 msgstr ""
24829
24830 # type: verbatim
24831 #: ../tools/virt-win-reg.pl:504
24832 #, no-wrap
24833 msgid ""
24834 " export LIBGUESTFS_DEBUG=1\n"
24835 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
24836 "\n"
24837 msgstr ""
24838
24839 # type: textblock
24840 #: ../tools/virt-win-reg.pl:507
24841 msgid ""
24842 "Attach /tmp/virt-win-reg.log to a new bug report at "
24843 "L<https://bugzilla.redhat.com/>"
24844 msgstr ""
24845
24846 # type: textblock
24847 #: ../tools/virt-df.pl:36
24848 msgid "virt-df - Display free space on virtual filesystems"
24849 msgstr ""
24850
24851 # type: verbatim
24852 #: ../tools/virt-df.pl:40
24853 #, no-wrap
24854 msgid ""
24855 " virt-df [--options]\n"
24856 "\n"
24857 msgstr ""
24858
24859 # type: verbatim
24860 #: ../tools/virt-df.pl:42
24861 #, no-wrap
24862 msgid ""
24863 " virt-df [--options] domname\n"
24864 "\n"
24865 msgstr ""
24866
24867 # type: verbatim
24868 #: ../tools/virt-df.pl:44
24869 #, no-wrap
24870 msgid ""
24871 " virt-df [--options] disk.img [disk.img ...]\n"
24872 "\n"
24873 msgstr ""
24874
24875 # type: textblock
24876 #: ../tools/virt-df.pl:48
24877 msgid ""
24878 "C<virt-df> is a command line tool to display free space on virtual machine "
24879 "filesystems.  Unlike other tools, it doesn't just display the amount of "
24880 "space allocated to a virtual machine, but can look inside the virtual "
24881 "machine to see how much space is really being used."
24882 msgstr ""
24883
24884 # type: textblock
24885 #: ../tools/virt-df.pl:53
24886 msgid ""
24887 "It is like the L<df(1)> command, but for virtual machines, except that it "
24888 "also works for Windows virtual machines."
24889 msgstr ""
24890
24891 # type: textblock
24892 #: ../tools/virt-df.pl:56
24893 msgid ""
24894 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
24895 "of all active and inactive guests, and performs a C<df>-type operation on "
24896 "each one in turn, printing out the results."
24897 msgstr ""
24898
24899 # type: textblock
24900 #: ../tools/virt-df.pl:60
24901 msgid ""
24902 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
24903 "either the single named libvirt domain, or on the disk image(s) listed on "
24904 "the command line (which must all belong to a single VM).  In this mode (with "
24905 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
24906 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
24907 msgstr ""
24908
24909 # type: textblock
24910 #: ../tools/virt-df.pl:67
24911 msgid ""
24912 "Use the C<--csv> option to get a format which can be easily parsed by other "
24913 "programs.  Other options are mostly similar to standard C<df> options.  See "
24914 "below for the complete list."
24915 msgstr ""
24916
24917 # type: =item
24918 #: ../tools/virt-df.pl:107
24919 msgid "B<--csv>"
24920 msgstr ""
24921
24922 # type: textblock
24923 #: ../tools/virt-df.pl:109
24924 msgid ""
24925 "Write out the results in CSV format (comma-separated values).  This format "
24926 "can be imported easily into databases and spreadsheets, but read L</NOTE "
24927 "ABOUT CSV FORMAT> below."
24928 msgstr ""
24929
24930 # type: =item
24931 #: ../tools/virt-df.pl:134
24932 msgid "B<--human-readable> | B<-h>"
24933 msgstr ""
24934
24935 # type: textblock
24936 #: ../tools/virt-df.pl:136
24937 msgid "Print sizes in human-readable format."
24938 msgstr ""
24939
24940 # type: textblock
24941 #: ../tools/virt-df.pl:138
24942 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
24943 msgstr ""
24944
24945 # type: =item
24946 #: ../tools/virt-df.pl:144
24947 msgid "B<--inodes> | B<-i>"
24948 msgstr ""
24949
24950 # type: textblock
24951 #: ../tools/virt-df.pl:146
24952 msgid "Print inodes instead of blocks."
24953 msgstr ""
24954
24955 # type: =item
24956 #: ../tools/virt-df.pl:152
24957 msgid "B<--one-per-guest>"
24958 msgstr ""
24959
24960 # type: textblock
24961 #: ../tools/virt-df.pl:154
24962 msgid ""
24963 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
24964 "disks from several guests to a single libguestfs appliance."
24965 msgstr ""
24966
24967 # type: textblock
24968 #: ../tools/virt-df.pl:157
24969 msgid "You might use this option in the following circumstances:"
24970 msgstr ""
24971
24972 # type: textblock
24973 #: ../tools/virt-df.pl:163
24974 msgid ""
24975 "If you think an untrusted guest might actively try to exploit the libguestfs "
24976 "appliance kernel, then this prevents one guest from interfering with the "
24977 "stats printed for another guest."
24978 msgstr ""
24979
24980 # type: textblock
24981 #: ../tools/virt-df.pl:169
24982 msgid ""
24983 "If the kernel has a bug which stops it from accessing a filesystem in one "
24984 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
24985 "and report stats for further guests."
24986 msgstr ""
24987
24988 # type: =item
24989 #: ../tools/virt-df.pl:180
24990 msgid "B<--uuid>"
24991 msgstr ""
24992
24993 # type: textblock
24994 #: ../tools/virt-df.pl:182
24995 msgid ""
24996 "Print UUIDs instead of names.  This is useful for following a guest even "
24997 "when the guest is migrated or renamed, or when two guests happen to have the "
24998 "same name."
24999 msgstr ""
25000
25001 # type: textblock
25002 #: ../tools/virt-df.pl:186
25003 msgid ""
25004 "Note that only domains that we fetch from libvirt come with UUIDs.  For disk "
25005 "images, we still print the disk image name even when this option is "
25006 "specified."
25007 msgstr ""
25008
25009 # type: =head1
25010 #: ../tools/virt-df.pl:609
25011 msgid "NOTE ABOUT CSV FORMAT"
25012 msgstr ""
25013
25014 # type: textblock
25015 #: ../tools/virt-df.pl:611
25016 msgid ""
25017 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
25018 "should be easy to parse, but it is definitely not easy to parse."
25019 msgstr ""
25020
25021 # type: textblock
25022 #: ../tools/virt-df.pl:614
25023 msgid ""
25024 "Myth: Just split fields at commas.  Reality: This does I<not> work "
25025 "reliably.  This example has two columns:"
25026 msgstr ""
25027
25028 # type: verbatim
25029 #: ../tools/virt-df.pl:617
25030 #, no-wrap
25031 msgid ""
25032 " \"foo,bar\",baz\n"
25033 "\n"
25034 msgstr ""
25035
25036 # type: textblock
25037 #: ../tools/virt-df.pl:619
25038 msgid ""
25039 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
25040 "reliably.  This example has one row:"
25041 msgstr ""
25042
25043 # type: verbatim
25044 #: ../tools/virt-df.pl:622
25045 #, no-wrap
25046 msgid ""
25047 " \"foo\n"
25048 " bar\",baz\n"
25049 "\n"
25050 msgstr ""
25051
25052 # type: textblock
25053 #: ../tools/virt-df.pl:625
25054 msgid ""
25055 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
25056 "packaged in major Linux distributions)."
25057 msgstr ""
25058
25059 # type: textblock
25060 #: ../tools/virt-df.pl:628
25061 msgid ""
25062 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
25063 "or Python's built-in csv library)."
25064 msgstr ""
25065
25066 # type: textblock
25067 #: ../tools/virt-df.pl:631
25068 msgid "Most spreadsheets and databases can import CSV directly."
25069 msgstr ""
25070
25071 # type: textblock
25072 #: ../tools/virt-df.pl:642
25073 msgid ""
25074 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
25075 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25076 msgstr ""
25077
25078 # type: textblock
25079 #: ../tools/virt-ls.pl:34
25080 msgid "virt-ls - List files in a virtual machine"
25081 msgstr ""
25082
25083 # type: verbatim
25084 #: ../tools/virt-ls.pl:38
25085 #, no-wrap
25086 msgid ""
25087 " virt-ls [--options] domname directory\n"
25088 "\n"
25089 msgstr ""
25090
25091 # type: verbatim
25092 #: ../tools/virt-ls.pl:40
25093 #, no-wrap
25094 msgid ""
25095 " virt-ls [--options] disk.img [disk.img ...] directory\n"
25096 "\n"
25097 msgstr ""
25098
25099 # type: textblock
25100 #: ../tools/virt-ls.pl:44
25101 msgid ""
25102 "C<virt-ls> is a command line tool to list the names of files in a directory "
25103 "inside a virtual machine or disk image."
25104 msgstr ""
25105
25106 # type: textblock
25107 #: ../tools/virt-ls.pl:47
25108 msgid ""
25109 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
25110 "For more complex cases you should look at the L<guestfish(1)> tool."
25111 msgstr ""
25112
25113 # type: textblock
25114 #: ../tools/virt-ls.pl:51
25115 msgid ""
25116 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
25117 "simple listing is like the ordinary L<ls(1)> command:"
25118 msgstr ""
25119
25120 # type: verbatim
25121 #: ../tools/virt-ls.pl:54
25122 #, no-wrap
25123 msgid ""
25124 " $ virt-ls myguest /\n"
25125 " bin\n"
25126 " boot\n"
25127 " [etc.]\n"
25128 "\n"
25129 msgstr ""
25130
25131 # type: textblock
25132 #: ../tools/virt-ls.pl:59
25133 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
25134 msgstr ""
25135
25136 # type: verbatim
25137 #: ../tools/virt-ls.pl:61
25138 #, no-wrap
25139 msgid ""
25140 " $ virt-ls -l myguest /\n"
25141 " total 204\n"
25142 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
25143 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
25144 " [etc.]\n"
25145 "\n"
25146 msgstr ""
25147
25148 # type: textblock
25149 #: ../tools/virt-ls.pl:67
25150 msgid ""
25151 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
25152 "and directories recursively:"
25153 msgstr ""
25154
25155 # type: verbatim
25156 #: ../tools/virt-ls.pl:70
25157 #, no-wrap
25158 msgid ""
25159 " $ virt-ls -R myguest /tmp\n"
25160 " foo\n"
25161 " foo/bar\n"
25162 " [etc.]\n"
25163 "\n"
25164 msgstr ""
25165
25166 # type: textblock
25167 #: ../tools/virt-ls.pl:75
25168 msgid ""
25169 "You I<cannot> combine these options.  To do more complicated things, use "
25170 "L<guestfish(1)>."
25171 msgstr ""
25172
25173 # type: =item
25174 #: ../tools/virt-ls.pl:131 ../tools/virt-list-filesystems.pl:103 ../tools/virt-list-partitions.pl:112
25175 msgid "B<-l> | B<--long>"
25176 msgstr ""
25177
25178 # type: =item
25179 #: ../tools/virt-ls.pl:133
25180 msgid "B<-R> | B<--recursive>"
25181 msgstr ""
25182
25183 # type: textblock
25184 #: ../tools/virt-ls.pl:135
25185 msgid ""
25186 "Select the mode.  With neither of these options, C<virt-ls> produces a "
25187 "simple, flat list of the files in the named directory."
25188 msgstr ""
25189
25190 # type: textblock
25191 #: ../tools/virt-ls.pl:138
25192 msgid ""
25193 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
25194 "like the plain C<ls -l> command)."
25195 msgstr ""
25196
25197 # type: textblock
25198 #: ../tools/virt-ls.pl:141
25199 msgid ""
25200 "C<virt-ls -R> produces a recursive list of files starting at the named "
25201 "directory.  See the documentation for L<guestfs(3)/guestfs_find> for precise "
25202 "details."
25203 msgstr ""
25204
25205 # type: textblock
25206 #: ../tools/virt-ls.pl:145
25207 msgid "You cannot combine these options."
25208 msgstr ""
25209
25210 # type: textblock
25211 #: ../tools/virt-ls.pl:234
25212 msgid ""
25213 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
25214 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
25215 "L<http://libguestfs.org/>."
25216 msgstr ""
25217
25218 # type: textblock
25219 #: ../tools/virt-ls.pl:249 ../tools/virt-list-filesystems.pl:204 ../tools/virt-cat.pl:201 ../tools/virt-tar.pl:298
25220 msgid "Copyright (C) 2009 Red Hat Inc."
25221 msgstr ""
25222
25223 # type: textblock
25224 #: ../tools/virt-resize.pl:42
25225 msgid "virt-resize - Resize a virtual machine disk"
25226 msgstr ""
25227
25228 # type: verbatim
25229 #: ../tools/virt-resize.pl:46
25230 #, no-wrap
25231 msgid ""
25232 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
25233 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
25234 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
25235 "\n"
25236 msgstr ""
25237
25238 # type: textblock
25239 #: ../tools/virt-resize.pl:52
25240 msgid ""
25241 "Virt-resize is a tool which can resize a virtual machine disk, making it "
25242 "larger or smaller overall, and resizing or deleting any partitions contained "
25243 "within."
25244 msgstr ""
25245
25246 # type: textblock
25247 #: ../tools/virt-resize.pl:56
25248 msgid ""
25249 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
25250 "not> be used on live virtual machines - for consistent results, shut the "
25251 "virtual machine down before resizing it."
25252 msgstr ""
25253
25254 # type: textblock
25255 #: ../tools/virt-resize.pl:60
25256 msgid ""
25257 "If you are not familiar with the associated tools: "
25258 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)> and L<virt-df(1)>, "
25259 "we recommend you go and read those manual pages first."
25260 msgstr ""
25261
25262 # type: textblock
25263 #: ../tools/virt-resize.pl:68
25264 msgid ""
25265 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
25266 "fill the extra 5GB of space."
25267 msgstr ""
25268
25269 # type: verbatim
25270 #: ../tools/virt-resize.pl:71
25271 #, no-wrap
25272 msgid ""
25273 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
25274 " virt-list-partitions -lht olddisk\n"
25275 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
25276 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
25277 "\n"
25278 msgstr ""
25279
25280 # type: textblock
25281 #: ../tools/virt-resize.pl:76
25282 msgid ""
25283 "As above, but make the /boot partition 200MB bigger, while giving the "
25284 "remaining space to /dev/sda2:"
25285 msgstr ""
25286
25287 # type: verbatim
25288 #: ../tools/virt-resize.pl:79
25289 #, no-wrap
25290 msgid ""
25291 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
25292 "\n"
25293 msgstr ""
25294
25295 # type: textblock
25296 #: ../tools/virt-resize.pl:81
25297 msgid "As above, but the output format will be uncompressed qcow2:"
25298 msgstr ""
25299
25300 # type: verbatim
25301 #: ../tools/virt-resize.pl:83
25302 #, no-wrap
25303 msgid ""
25304 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
25305 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
25306 "\n"
25307 msgstr ""
25308
25309 # type: =head1
25310 #: ../tools/virt-resize.pl:86
25311 msgid "DETAILED USAGE"
25312 msgstr ""
25313
25314 # type: =head2
25315 #: ../tools/virt-resize.pl:88
25316 msgid "EXPANDING A VIRTUAL MACHINE DISK"
25317 msgstr ""
25318
25319 # type: =item
25320 #: ../tools/virt-resize.pl:92
25321 msgid "1. Shut down the virtual machine"
25322 msgstr ""
25323
25324 # type: =item
25325 #: ../tools/virt-resize.pl:94
25326 msgid "2. Locate input disk image"
25327 msgstr ""
25328
25329 # type: textblock
25330 #: ../tools/virt-resize.pl:96
25331 msgid ""
25332 "Locate the input disk image (ie. the file or device on the host containing "
25333 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
25334 "dumpxml> like this to find the disk image name:"
25335 msgstr ""
25336
25337 # type: verbatim
25338 #: ../tools/virt-resize.pl:100
25339 #, no-wrap
25340 msgid ""
25341 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
25342 " Found 1 nodes:\n"
25343 " -- NODE --\n"
25344 " <source dev=\"/dev/vg/lv_guest\" />\n"
25345 "\n"
25346 msgstr ""
25347
25348 # type: =item
25349 #: ../tools/virt-resize.pl:105
25350 msgid "3. Look at current sizing"
25351 msgstr ""
25352
25353 # type: textblock
25354 #: ../tools/virt-resize.pl:107
25355 msgid "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
25356 msgstr ""
25357
25358 # type: verbatim
25359 #: ../tools/virt-resize.pl:110
25360 #, no-wrap
25361 msgid ""
25362 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
25363 " /dev/sda1 ext3 101.9M\n"
25364 " /dev/sda2 pv 7.9G\n"
25365 " /dev/sda device 8.0G\n"
25366 "\n"
25367 msgstr ""
25368
25369 # type: textblock
25370 #: ../tools/virt-resize.pl:115
25371 msgid ""
25372 "(This example is a virtual machine with an 8 GB disk which we would like to "
25373 "expand up to 10 GB)."
25374 msgstr ""
25375
25376 # type: =item
25377 #: ../tools/virt-resize.pl:118
25378 msgid "4. Create output disk"
25379 msgstr ""
25380
25381 # type: textblock
25382 #: ../tools/virt-resize.pl:120
25383 msgid ""
25384 "Virt-resize cannot do in-place disk modifications.  You have to have space "
25385 "to store the resized output disk."
25386 msgstr ""
25387
25388 # type: textblock
25389 #: ../tools/virt-resize.pl:123
25390 msgid "To store the resized disk image in a file, create a file of a suitable size:"
25391 msgstr ""
25392
25393 # type: verbatim
25394 #: ../tools/virt-resize.pl:126
25395 #, no-wrap
25396 msgid ""
25397 " # rm -f outdisk\n"
25398 " # truncate -s 10G outdisk\n"
25399 "\n"
25400 msgstr ""
25401
25402 # type: textblock
25403 #: ../tools/virt-resize.pl:129
25404 msgid "Or use L<lvcreate(1)> to create a logical volume:"
25405 msgstr ""
25406
25407 # type: verbatim
25408 #: ../tools/virt-resize.pl:131
25409 #, no-wrap
25410 msgid ""
25411 " # lvcreate -L 10G -n lv_name vg_name\n"
25412 "\n"
25413 msgstr ""
25414
25415 # type: textblock
25416 #: ../tools/virt-resize.pl:133
25417 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
25418 msgstr ""
25419
25420 # type: verbatim
25421 #: ../tools/virt-resize.pl:135
25422 #, no-wrap
25423 msgid ""
25424 " # virsh pool-list\n"
25425 " # virsh vol-create-as poolname newvol 10G\n"
25426 "\n"
25427 msgstr ""
25428
25429 # type: =item
25430 #: ../tools/virt-resize.pl:138
25431 msgid "5. Resize"
25432 msgstr ""
25433
25434 # type: textblock
25435 #: ../tools/virt-resize.pl:140
25436 msgid ""
25437 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
25438 "file) and the output disk.  The output disk is the one created in the "
25439 "previous step."
25440 msgstr ""
25441
25442 # type: verbatim
25443 #: ../tools/virt-resize.pl:144
25444 #, no-wrap
25445 msgid ""
25446 " # virt-resize indisk outdisk\n"
25447 "\n"
25448 msgstr ""
25449
25450 # type: textblock
25451 #: ../tools/virt-resize.pl:146
25452 msgid ""
25453 "This command just copies disk image C<indisk> to disk image C<outdisk> "
25454 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
25455 "larger, then an extra, empty partition is created at the end of the disk "
25456 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
25457 "error."
25458 msgstr ""
25459
25460 # type: textblock
25461 #: ../tools/virt-resize.pl:152
25462 msgid ""
25463 "More realistically you'd want to expand existing partitions in the disk "
25464 "image by passing extra options (for the full list see the L</OPTIONS> "
25465 "section below)."
25466 msgstr ""
25467
25468 # type: textblock
25469 #: ../tools/virt-resize.pl:156
25470 msgid ""
25471 "L</--expand> is the most useful option.  It expands the named partition "
25472 "within the disk to fill any extra space:"
25473 msgstr ""
25474
25475 # type: verbatim
25476 #: ../tools/virt-resize.pl:159
25477 #, no-wrap
25478 msgid ""
25479 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
25480 "\n"
25481 msgstr ""
25482
25483 # type: textblock
25484 #: ../tools/virt-resize.pl:161
25485 msgid ""
25486 "(In this case, an extra partition is I<not> created at the end of the disk, "
25487 "because there will be no unused space)."
25488 msgstr ""
25489
25490 # type: textblock
25491 #: ../tools/virt-resize.pl:164
25492 msgid ""
25493 "L</--resize> is the other commonly used option.  The following would "
25494 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
25495 "rest of the available space:"
25496 msgstr ""
25497
25498 # type: verbatim
25499 #: ../tools/virt-resize.pl:168
25500 #, no-wrap
25501 msgid ""
25502 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25503 "     indisk outdisk\n"
25504 "\n"
25505 msgstr ""
25506
25507 # type: textblock
25508 #: ../tools/virt-resize.pl:171
25509 msgid ""
25510 "If the expanded partition in the image contains a filesystem or LVM PV, then "
25511 "if virt-resize knows how, it will resize the contents, the equivalent of "
25512 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or "
25513 "L<ntfsresize(8)>.  However virt-resize does not know how to resize some "
25514 "filesystems, so you would have to online resize them after booting the "
25515 "guest.  And virt-resize also does not resize anything inside an LVM PV, it "
25516 "just resizes the PV itself and leaves the user to resize any LVs inside that "
25517 "PV as desired."
25518 msgstr ""
25519
25520 # type: textblock
25521 #: ../tools/virt-resize.pl:180
25522 msgid "Other options are covered below."
25523 msgstr ""
25524
25525 # type: =item
25526 #: ../tools/virt-resize.pl:182
25527 msgid "6. Test"
25528 msgstr ""
25529
25530 # type: textblock
25531 #: ../tools/virt-resize.pl:184
25532 msgid "Thoroughly test the new disk image I<before> discarding the old one."
25533 msgstr ""
25534
25535 # type: textblock
25536 #: ../tools/virt-resize.pl:186
25537 msgid "If you are using libvirt, edit the XML to point at the new disk:"
25538 msgstr ""
25539
25540 # type: verbatim
25541 #: ../tools/virt-resize.pl:188
25542 #, no-wrap
25543 msgid ""
25544 " # virsh edit guestname\n"
25545 "\n"
25546 msgstr ""
25547
25548 # type: textblock
25549 #: ../tools/virt-resize.pl:190
25550 msgid ""
25551 "Change E<lt>source ...E<gt>, see "
25552 "L<http://libvirt.org/formatdomain.html#elementsDisks>"
25553 msgstr ""
25554
25555 # type: textblock
25556 #: ../tools/virt-resize.pl:193
25557 msgid "Then start up the domain with the new, resized disk:"
25558 msgstr ""
25559
25560 # type: verbatim
25561 #: ../tools/virt-resize.pl:195
25562 #, no-wrap
25563 msgid ""
25564 " # virsh start guestname\n"
25565 "\n"
25566 msgstr ""
25567
25568 # type: textblock
25569 #: ../tools/virt-resize.pl:197
25570 msgid ""
25571 "and check that it still works.  See also the L</NOTES> section below for "
25572 "additional information."
25573 msgstr ""
25574
25575 # type: =item
25576 #: ../tools/virt-resize.pl:200
25577 msgid "7. Resize LVs etc inside the guest"
25578 msgstr ""
25579
25580 # type: textblock
25581 #: ../tools/virt-resize.pl:202
25582 msgid "(This can also be done offline using L<guestfish(1)>)"
25583 msgstr ""
25584
25585 # type: textblock
25586 #: ../tools/virt-resize.pl:204
25587 msgid ""
25588 "Once the guest has booted you should see the new space available, at least "
25589 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
25590 "may need to resize LVs inside PVs, and also resize filesystem types that "
25591 "virt-resize does not know how to expand."
25592 msgstr ""
25593
25594 # type: =head2
25595 #: ../tools/virt-resize.pl:211
25596 msgid "SHRINKING A VIRTUAL MACHINE DISK"
25597 msgstr ""
25598
25599 # type: textblock
25600 #: ../tools/virt-resize.pl:213
25601 msgid ""
25602 "Shrinking is somewhat more complex than expanding, and only an overview is "
25603 "given here."
25604 msgstr ""
25605
25606 # type: textblock
25607 #: ../tools/virt-resize.pl:216
25608 msgid ""
25609 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
25610 "filesystems).  The user has to shrink content before passing the disk image "
25611 "to virt-resize, and virt-resize will check that the content has been shrunk "
25612 "properly."
25613 msgstr ""
25614
25615 # type: textblock
25616 #: ../tools/virt-resize.pl:221
25617 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
25618 msgstr ""
25619
25620 # type: textblock
25621 #: ../tools/virt-resize.pl:223
25622 msgid ""
25623 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
25624 "steps 3 and 4 above to allocate a new disk image."
25625 msgstr ""
25626
25627 # type: textblock
25628 #: ../tools/virt-resize.pl:226
25629 msgid "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
25630 msgstr ""
25631
25632 # type: =head2
25633 #: ../tools/virt-resize.pl:229
25634 msgid "IGNORING OR DELETING PARTITIONS"
25635 msgstr ""
25636
25637 # type: textblock
25638 #: ../tools/virt-resize.pl:231
25639 msgid ""
25640 "virt-resize also gives a convenient way to ignore or delete partitions when "
25641 "copying from the input disk to the output disk.  Ignoring a partition speeds "
25642 "up the copy where you don't care about the existing contents of a "
25643 "partition.  Deleting a partition removes it completely, but note that it "
25644 "also renumbers any partitions after the one which is deleted, which can "
25645 "leave some guests unbootable."
25646 msgstr ""
25647
25648 # type: =head2
25649 #: ../tools/virt-resize.pl:238
25650 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
25651 msgstr ""
25652
25653 # type: textblock
25654 #: ../tools/virt-resize.pl:240
25655 msgid ""
25656 "If the input disk is in qcow2 format, then you may prefer that the output is "
25657 "in qcow2 format as well.  Alternately, virt-resize can convert the format on "
25658 "the fly.  The output format is simply determined by the format of the empty "
25659 "output container that you provide.  Thus to create qcow2 output, use:"
25660 msgstr ""
25661
25662 # type: verbatim
25663 #: ../tools/virt-resize.pl:246
25664 #, no-wrap
25665 msgid ""
25666 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
25667 "\n"
25668 msgstr ""
25669
25670 # type: textblock
25671 #: ../tools/virt-resize.pl:248
25672 msgid "instead of the truncate command (use C<-c> for a compressed disk)."
25673 msgstr ""
25674
25675 # type: textblock
25676 #: ../tools/virt-resize.pl:250
25677 msgid "Similarly, to get non-sparse raw output use:"
25678 msgstr ""
25679
25680 # type: verbatim
25681 #: ../tools/virt-resize.pl:252
25682 #, no-wrap
25683 msgid ""
25684 " fallocate -l size outdisk\n"
25685 "\n"
25686 msgstr ""
25687
25688 # type: textblock
25689 #: ../tools/virt-resize.pl:254
25690 msgid ""
25691 "(on older systems that don't have the L<fallocate(1)> command use C<dd "
25692 "if=/dev/zero of=outdisk bs=1M count=..>)"
25693 msgstr ""
25694
25695 # type: textblock
25696 #: ../tools/virt-resize.pl:267
25697 msgid "Display help."
25698 msgstr ""
25699
25700 # type: =item
25701 #: ../tools/virt-resize.pl:281
25702 msgid "B<--resize part=size>"
25703 msgstr ""
25704
25705 # type: textblock
25706 #: ../tools/virt-resize.pl:283
25707 msgid ""
25708 "Resize the named partition (expanding or shrinking it) so that it has the "
25709 "given size."
25710 msgstr ""
25711
25712 # type: textblock
25713 #: ../tools/virt-resize.pl:286
25714 msgid ""
25715 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
25716 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
25717 "Exabytes; or as a percentage of the current size; or as a relative number or "
25718 "percentage.  For example:"
25719 msgstr ""
25720
25721 # type: verbatim
25722 #: ../tools/virt-resize.pl:291
25723 #, no-wrap
25724 msgid ""
25725 " --resize /dev/sda2=10G\n"
25726 "\n"
25727 msgstr ""
25728
25729 # type: verbatim
25730 #: ../tools/virt-resize.pl:293
25731 #, no-wrap
25732 msgid ""
25733 " --resize /dev/sda4=90%\n"
25734 "\n"
25735 msgstr ""
25736
25737 # type: verbatim
25738 #: ../tools/virt-resize.pl:295
25739 #, no-wrap
25740 msgid ""
25741 " --resize /dev/sda2=+1G\n"
25742 "\n"
25743 msgstr ""
25744
25745 # type: verbatim
25746 #: ../tools/virt-resize.pl:297
25747 #, no-wrap
25748 msgid ""
25749 " --resize /dev/sda2=-200M\n"
25750 "\n"
25751 msgstr ""
25752
25753 # type: verbatim
25754 #: ../tools/virt-resize.pl:299
25755 #, no-wrap
25756 msgid ""
25757 " --resize /dev/sda1=+128K\n"
25758 "\n"
25759 msgstr ""
25760
25761 # type: verbatim
25762 #: ../tools/virt-resize.pl:301
25763 #, no-wrap
25764 msgid ""
25765 " --resize /dev/sda1=+10%\n"
25766 "\n"
25767 msgstr ""
25768
25769 # type: verbatim
25770 #: ../tools/virt-resize.pl:303
25771 #, no-wrap
25772 msgid ""
25773 " --resize /dev/sda1=-10%\n"
25774 "\n"
25775 msgstr ""
25776
25777 # type: textblock
25778 #: ../tools/virt-resize.pl:305
25779 msgid ""
25780 "You can increase the size of any partition.  Virt-resize will expand the "
25781 "direct content of the partition if it knows how (see C<--expand> below)."
25782 msgstr ""
25783
25784 # type: textblock
25785 #: ../tools/virt-resize.pl:309
25786 msgid ""
25787 "You can only I<decrease> the size of partitions that contain filesystems or "
25788 "PVs which have already been shrunk.  Virt-resize will check this has been "
25789 "done before proceeding, or else will print an error (see also "
25790 "C<--resize-force>)."
25791 msgstr ""
25792
25793 # type: textblock
25794 #: ../tools/virt-resize.pl:314 ../tools/virt-resize.pl:406 ../tools/virt-resize.pl:423
25795 msgid "You can give this option multiple times."
25796 msgstr ""
25797
25798 # type: =item
25799 #: ../tools/virt-resize.pl:320
25800 msgid "B<--resize-force part=size>"
25801 msgstr ""
25802
25803 # type: textblock
25804 #: ../tools/virt-resize.pl:322
25805 msgid ""
25806 "This is the same as C<--resize> except that it will let you decrease the "
25807 "size of any partition.  Generally this means you will lose any data which "
25808 "was at the end of the partition you shrink, but you may not care about that "
25809 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
25810 "as a swap partition)."
25811 msgstr ""
25812
25813 # type: textblock
25814 #: ../tools/virt-resize.pl:328
25815 msgid "See also the C<--ignore> option."
25816 msgstr ""
25817
25818 # type: =item
25819 #: ../tools/virt-resize.pl:334
25820 msgid "B<--expand part>"
25821 msgstr ""
25822
25823 # type: textblock
25824 #: ../tools/virt-resize.pl:336
25825 msgid ""
25826 "Expand the named partition so it uses up all extra space (space left over "
25827 "after any other resize changes that you request have been done)."
25828 msgstr ""
25829
25830 # type: textblock
25831 #: ../tools/virt-resize.pl:339
25832 msgid ""
25833 "If virt-resize knows how, it will expand the direct content of the "
25834 "partition.  For example, if the partition is an LVM PV, it will expand the "
25835 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25836 "content it doesn't know about alone."
25837 msgstr ""
25838
25839 # type: textblock
25840 #: ../tools/virt-resize.pl:344
25841 msgid "Currently virt-resize can resize:"
25842 msgstr ""
25843
25844 # type: textblock
25845 #: ../tools/virt-resize.pl:350
25846 msgid ""
25847 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
25848 "partition."
25849 msgstr ""
25850
25851 # type: textblock
25852 #: ../tools/virt-resize.pl:355
25853 msgid ""
25854 "NTFS filesystems contained directly in a partition, if libguestfs was "
25855 "compiled with support for NTFS."
25856 msgstr ""
25857
25858 # type: textblock
25859 #: ../tools/virt-resize.pl:358
25860 msgid ""
25861 "The filesystem must have been shut down consistently last time it was used.  "
25862 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25863 "consistency check, so at the first boot after resizing Windows will check "
25864 "the disk."
25865 msgstr ""
25866
25867 # type: textblock
25868 #: ../tools/virt-resize.pl:365
25869 msgid ""
25870 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
25871 "inside the PV.  The user will have to resize LVs as desired."
25872 msgstr ""
25873
25874 # type: textblock
25875 #: ../tools/virt-resize.pl:371 ../tools/virt-resize.pl:393
25876 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
25877 msgstr ""
25878
25879 # type: =item
25880 #: ../tools/virt-resize.pl:377
25881 msgid "B<--shrink part>"
25882 msgstr ""
25883
25884 # type: textblock
25885 #: ../tools/virt-resize.pl:379
25886 msgid ""
25887 "Shrink the named partition until the overall disk image fits in the "
25888 "destination.  The named partition B<must> contain a filesystem or PV which "
25889 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
25890 "online tools).  Virt-resize will check this and give an error if it has not "
25891 "been done."
25892 msgstr ""
25893
25894 # type: textblock
25895 #: ../tools/virt-resize.pl:385
25896 msgid ""
25897 "The amount by which the overall disk must be shrunk (after carrying out all "
25898 "other operations requested by the user) is called the \"deficit\".  For "
25899 "example, a straight copy (assume no other operations)  from a 5GB disk image "
25900 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
25901 "would give an error unless the user specified a partition to shrink and that "
25902 "partition had more than a gigabyte of free space."
25903 msgstr ""
25904
25905 # type: =item
25906 #: ../tools/virt-resize.pl:399
25907 msgid "B<--ignore part>"
25908 msgstr ""
25909
25910 # type: textblock
25911 #: ../tools/virt-resize.pl:401
25912 msgid ""
25913 "Ignore the named partition.  Effectively this means the partition is "
25914 "allocated on the destination disk, but the content is not copied across from "
25915 "the source disk.  The content of the partition will be blank (all zero "
25916 "bytes)."
25917 msgstr ""
25918
25919 # type: =item
25920 #: ../tools/virt-resize.pl:412
25921 msgid "B<--delete part>"
25922 msgstr ""
25923
25924 # type: textblock
25925 #: ../tools/virt-resize.pl:414
25926 msgid ""
25927 "Delete the named partition.  It would be more accurate to describe this as "
25928 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25929 "the original disk image is left intact."
25930 msgstr ""
25931
25932 # type: textblock
25933 #: ../tools/virt-resize.pl:418
25934 msgid ""
25935 "Note that when you delete a partition, then anything contained in the "
25936 "partition is also deleted.  Furthermore, this causes any partitions that "
25937 "come after to be I<renumbered>, which can easily make your guest unbootable."
25938 msgstr ""
25939
25940 # type: =item
25941 #: ../tools/virt-resize.pl:429
25942 msgid "B<--LV-expand logvol>"
25943 msgstr ""
25944
25945 # type: textblock
25946 #: ../tools/virt-resize.pl:431
25947 msgid ""
25948 "This takes the logical volume and, as a final step, expands it to fill all "
25949 "the space available in its volume group.  A typical usage, assuming a Linux "
25950 "guest with a single PV C</dev/sda2> and a root device called "
25951 "C</dev/vg_guest/lv_root> would be:"
25952 msgstr ""
25953
25954 # type: verbatim
25955 #: ../tools/virt-resize.pl:436
25956 #, no-wrap
25957 msgid ""
25958 " virt-resize indisk outdisk \\\n"
25959 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
25960 "\n"
25961 msgstr ""
25962
25963 # type: textblock
25964 #: ../tools/virt-resize.pl:439
25965 msgid ""
25966 "This would first expand the partition (and PV), and then expand the root "
25967 "device to fill the extra space in the PV."
25968 msgstr ""
25969
25970 # type: textblock
25971 #: ../tools/virt-resize.pl:442
25972 msgid ""
25973 "The contents of the LV are also resized if virt-resize knows how to do "
25974 "that.  You can stop virt-resize from trying to expand the content by using "
25975 "the option C<--no-expand-content>."
25976 msgstr ""
25977
25978 # type: textblock
25979 #: ../tools/virt-resize.pl:446
25980 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
25981 msgstr ""
25982
25983 # type: textblock
25984 #: ../tools/virt-resize.pl:449
25985 msgid ""
25986 "You can give this option multiple times, I<but> it doesn't make sense to do "
25987 "this unless the logical volumes you specify are all in different volume "
25988 "groups."
25989 msgstr ""
25990
25991 # type: =item
25992 #: ../tools/virt-resize.pl:457
25993 msgid "B<--no-copy-boot-loader>"
25994 msgstr ""
25995
25996 # type: textblock
25997 #: ../tools/virt-resize.pl:459
25998 msgid ""
25999 "By default, virt-resize copies over some sectors at the start of the disk "
26000 "(up to the beginning of the first partition).  Commonly these sectors "
26001 "contain the Master Boot Record (MBR) and the boot loader, and are required "
26002 "in order for the guest to boot correctly."
26003 msgstr ""
26004
26005 # type: textblock
26006 #: ../tools/virt-resize.pl:464
26007 msgid ""
26008 "If you specify this flag, then this initial copy is not done.  You may need "
26009 "to reinstall the boot loader in this case."
26010 msgstr ""
26011
26012 # type: =item
26013 #: ../tools/virt-resize.pl:472
26014 msgid "B<--no-extra-partition>"
26015 msgstr ""
26016
26017 # type: textblock
26018 #: ../tools/virt-resize.pl:474
26019 msgid ""
26020 "By default, virt-resize creates an extra partition if there is any extra, "
26021 "unused space after all resizing has happened.  Use this option to prevent "
26022 "the extra partition from being created.  If you do this then the extra space "
26023 "will be inaccessible until you run fdisk, parted, or some other partitioning "
26024 "tool in the guest."
26025 msgstr ""
26026
26027 # type: textblock
26028 #: ../tools/virt-resize.pl:480
26029 msgid ""
26030 "Note that if the surplus space is smaller than 10 MB, no extra partition "
26031 "will be created."
26032 msgstr ""
26033
26034 # type: =item
26035 #: ../tools/virt-resize.pl:487
26036 msgid "B<--no-expand-content>"
26037 msgstr ""
26038
26039 # type: textblock
26040 #: ../tools/virt-resize.pl:489
26041 msgid ""
26042 "By default, virt-resize will try to expand the direct contents of "
26043 "partitions, if it knows how (see C<--expand> option above)."
26044 msgstr ""
26045
26046 # type: textblock
26047 #: ../tools/virt-resize.pl:492
26048 msgid ""
26049 "If you give the C<--no-expand-content> option then virt-resize will not "
26050 "attempt this."
26051 msgstr ""
26052
26053 # type: =item
26054 #: ../tools/virt-resize.pl:499
26055 msgid "B<-d> | B<--debug>"
26056 msgstr ""
26057
26058 # type: =item
26059 #: ../tools/virt-resize.pl:507
26060 msgid "B<-n> | B<--dryrun>"
26061 msgstr ""
26062
26063 # type: textblock
26064 #: ../tools/virt-resize.pl:509
26065 msgid "Print a summary of what would be done, but don't do anything."
26066 msgstr ""
26067
26068 # type: =item
26069 #: ../tools/virt-resize.pl:515
26070 msgid "B<-q> | B<--quiet>"
26071 msgstr ""
26072
26073 # type: textblock
26074 #: ../tools/virt-resize.pl:517
26075 msgid "Don't print the summary."
26076 msgstr ""
26077
26078 # type: textblock
26079 #: ../tools/virt-resize.pl:525
26080 msgid ""
26081 "Specify the format of the input disk image.  If this flag is not given then "
26082 "it is auto-detected from the image itself."
26083 msgstr ""
26084
26085 # type: textblock
26086 #: ../tools/virt-resize.pl:531
26087 msgid ""
26088 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
26089 "AND NON-SPARSE RAW FORMATS>."
26090 msgstr ""
26091
26092 # type: =item
26093 #: ../tools/virt-resize.pl:538
26094 msgid "B<--output-format> raw"
26095 msgstr ""
26096
26097 # type: textblock
26098 #: ../tools/virt-resize.pl:540
26099 msgid ""
26100 "Specify the format of the output disk image.  If this flag is not given then "
26101 "it is auto-detected from the image itself."
26102 msgstr ""
26103
26104 # type: textblock
26105 #: ../tools/virt-resize.pl:546
26106 msgid ""
26107 "Note that you still need to create the output disk with the right format.  "
26108 "See L</QCOW2 AND NON-SPARSE RAW FORMATS>."
26109 msgstr ""
26110
26111 # type: =head2
26112 #: ../tools/virt-resize.pl:1422 ../tools/virt-rescue.pl:90
26113 msgid "NOTES"
26114 msgstr ""
26115
26116 # type: =head2
26117 #: ../tools/virt-resize.pl:1424
26118 msgid "\"Partition 1 does not end on cylinder boundary.\""
26119 msgstr ""
26120
26121 # type: textblock
26122 #: ../tools/virt-resize.pl:1426
26123 msgid ""
26124 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
26125 "means the partitions will not be aligned to the ancient CHS geometry.  "
26126 "However CHS geometry is meaningless for disks manufactured since the early "
26127 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
26128 "cylinders is not required by any modern operating system."
26129 msgstr ""
26130
26131 # type: =head2
26132 #: ../tools/virt-resize.pl:1433
26133 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
26134 msgstr ""
26135
26136 # type: textblock
26137 #: ../tools/virt-resize.pl:1435
26138 msgid ""
26139 "In Windows Vista and later versions, Microsoft switched to using a separate "
26140 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
26141 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
26142 "the boot partition.  Doing so seems to break the guest completely.  However "
26143 "expanding the second partition (ie. C: drive) should work."
26144 msgstr ""
26145
26146 # type: textblock
26147 #: ../tools/virt-resize.pl:1442
26148 msgid ""
26149 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
26150 "NTFS partitions have been expanded.  This is just a safety check and (unless "
26151 "it find errors) is nothing to worry about."
26152 msgstr ""
26153
26154 # type: =head2
26155 #: ../tools/virt-resize.pl:1446
26156 msgid "GUEST BOOT STUCK AT \"GRUB\""
26157 msgstr ""
26158
26159 # type: textblock
26160 #: ../tools/virt-resize.pl:1448
26161 msgid ""
26162 "If a Linux guest does not boot after resizing, and the boot is stuck after "
26163 "printing C<GRUB> on the console, try reinstalling grub.  This sometimes "
26164 "happens on older (RHEL 5-era) guests, for reasons we don't fully understand, "
26165 "although we think is to do with partition alignment."
26166 msgstr ""
26167
26168 # type: verbatim
26169 #: ../tools/virt-resize.pl:1453
26170 #, no-wrap
26171 msgid ""
26172 " guestfish -i -a newdisk\n"
26173 " ><fs> cat /boot/grub/device.map\n"
26174 " # check the contents of this file are sensible or\n"
26175 " # edit the file if necessary\n"
26176 " ><fs> grub-install / /dev/vda\n"
26177 " ><fs> exit\n"
26178 "\n"
26179 msgstr ""
26180
26181 # type: textblock
26182 #: ../tools/virt-resize.pl:1460
26183 msgid ""
26184 "For more flexible guest reconfiguration, including if you need to specify "
26185 "other parameters to grub-install, use L<virt-rescue(1)>."
26186 msgstr ""
26187
26188 # type: =head1
26189 #: ../tools/virt-resize.pl:1463
26190 msgid "ALTERNATIVE TOOLS"
26191 msgstr ""
26192
26193 # type: textblock
26194 #: ../tools/virt-resize.pl:1465
26195 msgid ""
26196 "There are several proprietary tools for resizing partitions.  We won't "
26197 "mention any here."
26198 msgstr ""
26199
26200 # type: textblock
26201 #: ../tools/virt-resize.pl:1468
26202 msgid ""
26203 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
26204 "operations on disk images.  They can resize and move partitions, but I don't "
26205 "think they can do anything with the contents, and they certainly don't "
26206 "understand LVM."
26207 msgstr ""
26208
26209 # type: textblock
26210 #: ../tools/virt-resize.pl:1473
26211 msgid ""
26212 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
26213 "but at a much lower level.  You will probably end up hand-calculating sector "
26214 "offsets, which is something that virt-resize was designed to avoid.  If you "
26215 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
26216 "C<--debug> flag."
26217 msgstr ""
26218
26219 # type: textblock
26220 #: ../tools/virt-resize.pl:1488
26221 msgid ""
26222 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
26223 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
26224 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, "
26225 "L<truncate(1)>, L<fallocate(1)>, L<grub(8)>, L<grub-install(8)>, "
26226 "L<virt-rescue(1)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
26227 msgstr ""
26228
26229 # type: textblock
26230 #: ../tools/virt-list-filesystems.pl:32
26231 msgid "virt-list-filesystems - List filesystems in a virtual machine or disk image"
26232 msgstr ""
26233
26234 # type: verbatim
26235 #: ../tools/virt-list-filesystems.pl:36
26236 #, no-wrap
26237 msgid ""
26238 " virt-list-filesystems [--options] domname\n"
26239 "\n"
26240 msgstr ""
26241
26242 # type: verbatim
26243 #: ../tools/virt-list-filesystems.pl:38
26244 #, no-wrap
26245 msgid ""
26246 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
26247 "\n"
26248 msgstr ""
26249
26250 # type: textblock
26251 #: ../tools/virt-list-filesystems.pl:42
26252 msgid ""
26253 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
26254 "are contained in a virtual machine or disk image."
26255 msgstr ""
26256
26257 # type: textblock
26258 #: ../tools/virt-list-filesystems.pl:46
26259 msgid ""
26260 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
26261 "functionality.  For more complex cases you should look at the "
26262 "L<guestfish(1)> tool."
26263 msgstr ""
26264
26265 # type: textblock
26266 #: ../tools/virt-list-filesystems.pl:105
26267 msgid ""
26268 "With this option, C<virt-list-filesystems> displays the type of each "
26269 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
26270 msgstr ""
26271
26272 # type: =item
26273 #: ../tools/virt-list-filesystems.pl:112
26274 msgid "B<-a> | B<--all>"
26275 msgstr ""
26276
26277 # type: textblock
26278 #: ../tools/virt-list-filesystems.pl:114
26279 msgid ""
26280 "Normally we only show mountable filesystems.  If this option is given then "
26281 "swap devices are shown too."
26282 msgstr ""
26283
26284 # type: textblock
26285 #: ../tools/virt-list-filesystems.pl:188
26286 msgid ""
26287 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
26288 "L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
26289 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26290 msgstr ""
26291
26292 # type: textblock
26293 #: ../tools/virt-cat.pl:33
26294 msgid "virt-cat - Display a file in a virtual machine"
26295 msgstr ""
26296
26297 # type: verbatim
26298 #: ../tools/virt-cat.pl:37
26299 #, no-wrap
26300 msgid ""
26301 " virt-cat [--options] domname file\n"
26302 "\n"
26303 msgstr ""
26304
26305 # type: verbatim
26306 #: ../tools/virt-cat.pl:39
26307 #, no-wrap
26308 msgid ""
26309 " virt-cat [--options] disk.img [disk.img ...] file\n"
26310 "\n"
26311 msgstr ""
26312
26313 # type: textblock
26314 #: ../tools/virt-cat.pl:43
26315 msgid ""
26316 "C<virt-cat> is a command line tool to display the contents of C<file> where "
26317 "C<file> exists in the named virtual machine (or disk image)."
26318 msgstr ""
26319
26320 # type: textblock
26321 #: ../tools/virt-cat.pl:46
26322 msgid ""
26323 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
26324 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
26325 "tool."
26326 msgstr ""
26327
26328 # type: textblock
26329 #: ../tools/virt-cat.pl:52
26330 msgid "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
26331 msgstr ""
26332
26333 # type: verbatim
26334 #: ../tools/virt-cat.pl:55
26335 #, no-wrap
26336 msgid ""
26337 " virt-cat mydomain /etc/fstab\n"
26338 "\n"
26339 msgstr ""
26340
26341 # type: textblock
26342 #: ../tools/virt-cat.pl:57
26343 msgid "List syslog messages from a VM:"
26344 msgstr ""
26345
26346 # type: verbatim
26347 #: ../tools/virt-cat.pl:59
26348 #, no-wrap
26349 msgid ""
26350 " virt-cat mydomain /var/log/messages | tail\n"
26351 "\n"
26352 msgstr ""
26353
26354 # type: textblock
26355 #: ../tools/virt-cat.pl:61
26356 msgid "Find out what DHCP IP address a VM acquired:"
26357 msgstr ""
26358
26359 # type: verbatim
26360 #: ../tools/virt-cat.pl:63
26361 #, no-wrap
26362 msgid ""
26363 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
26364 "\n"
26365 msgstr ""
26366
26367 # type: textblock
26368 #: ../tools/virt-cat.pl:65
26369 msgid "Find out what packages were recently installed:"
26370 msgstr ""
26371
26372 # type: verbatim
26373 #: ../tools/virt-cat.pl:67
26374 #, no-wrap
26375 msgid ""
26376 " virt-cat mydomain /var/log/yum.log | tail\n"
26377 "\n"
26378 msgstr ""
26379
26380 # type: textblock
26381 #: ../tools/virt-cat.pl:69
26382 msgid "Find out who is logged on inside a virtual machine:"
26383 msgstr ""
26384
26385 # type: verbatim
26386 #: ../tools/virt-cat.pl:71
26387 #, no-wrap
26388 msgid ""
26389 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
26390 " who /tmp/utmp\n"
26391 "\n"
26392 msgstr ""
26393
26394 # type: textblock
26395 #: ../tools/virt-cat.pl:74
26396 msgid "or who was logged on:"
26397 msgstr ""
26398
26399 # type: verbatim
26400 #: ../tools/virt-cat.pl:76
26401 #, no-wrap
26402 msgid ""
26403 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
26404 " last -f /tmp/wtmp\n"
26405 "\n"
26406 msgstr ""
26407
26408 # type: textblock
26409 #: ../tools/virt-cat.pl:187
26410 msgid ""
26411 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, "
26412 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26413 msgstr ""
26414
26415 # type: textblock
26416 #: ../tools/virt-tar.pl:33
26417 msgid "virt-tar - Extract or upload files to a virtual machine"
26418 msgstr ""
26419
26420 # type: verbatim
26421 #: ../tools/virt-tar.pl:37
26422 #, no-wrap
26423 msgid ""
26424 " virt-tar [--options] -x domname directory tarball\n"
26425 "\n"
26426 msgstr ""
26427
26428 # type: verbatim
26429 #: ../tools/virt-tar.pl:39
26430 #, no-wrap
26431 msgid ""
26432 " virt-tar [--options] -u domname tarball directory\n"
26433 "\n"
26434 msgstr ""
26435
26436 # type: verbatim
26437 #: ../tools/virt-tar.pl:41
26438 #, no-wrap
26439 msgid ""
26440 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
26441 "\n"
26442 msgstr ""
26443
26444 # type: verbatim
26445 #: ../tools/virt-tar.pl:43
26446 #, no-wrap
26447 msgid ""
26448 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
26449 "\n"
26450 msgstr ""
26451
26452 # type: textblock
26453 #: ../tools/virt-tar.pl:47
26454 msgid "Download C</home> from the VM into a local tarball:"
26455 msgstr ""
26456
26457 # type: verbatim
26458 #: ../tools/virt-tar.pl:49
26459 #, no-wrap
26460 msgid ""
26461 " virt-tar -x domname /home home.tar\n"
26462 "\n"
26463 msgstr ""
26464
26465 # type: verbatim
26466 #: ../tools/virt-tar.pl:51
26467 #, no-wrap
26468 msgid ""
26469 " virt-tar -zx domname /home home.tar.gz\n"
26470 "\n"
26471 msgstr ""
26472
26473 # type: textblock
26474 #: ../tools/virt-tar.pl:53
26475 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
26476 msgstr ""
26477
26478 # type: verbatim
26479 #: ../tools/virt-tar.pl:55
26480 #, no-wrap
26481 msgid ""
26482 " virt-tar -u domname uploadstuff.tar /tmp\n"
26483 "\n"
26484 msgstr ""
26485
26486 # type: verbatim
26487 #: ../tools/virt-tar.pl:57
26488 #, no-wrap
26489 msgid ""
26490 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
26491 "\n"
26492 msgstr ""
26493
26494 # type: textblock
26495 #: ../tools/virt-tar.pl:61
26496 msgid ""
26497 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
26498 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
26499 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
26500 msgstr ""
26501
26502 # type: textblock
26503 #: ../tools/virt-tar.pl:66
26504 msgid ""
26505 "You can use C<-x> (extract) on live virtual machines, but you might get "
26506 "inconsistent results or errors if there is filesystem activity inside the "
26507 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
26508 "work, but the only way to guarantee consistent results is if the virtual "
26509 "machine is shut down."
26510 msgstr ""
26511
26512 # type: textblock
26513 #: ../tools/virt-tar.pl:74
26514 msgid ""
26515 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
26516 "parts of a guest filesystem.  There are many possibilities: making backups, "
26517 "uploading data files, snooping on guest activity, fixing or customizing "
26518 "guests, etc."
26519 msgstr ""
26520
26521 # type: textblock
26522 #: ../tools/virt-tar.pl:79
26523 msgid ""
26524 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
26525 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
26526 "should look at the L<guestfish(1)> tool."
26527 msgstr ""
26528
26529 # type: textblock
26530 #: ../tools/virt-tar.pl:83
26531 msgid ""
26532 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
26533 "its contents (recursively) from the virtual machine into a local tarball.  "
26534 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
26535 "virtual machine.  You cannot use these two options together."
26536 msgstr ""
26537
26538 # type: textblock
26539 #: ../tools/virt-tar.pl:89
26540 msgid ""
26541 "In addition, you may need to use the C<-z> (gZip) option to enable "
26542 "compression.  When uploading, you have to specify C<-z> if the upload file "
26543 "is compressed because virt-tar won't detect this on its own."
26544 msgstr ""
26545
26546 # type: textblock
26547 #: ../tools/virt-tar.pl:93
26548 msgid ""
26549 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
26550 "example it cannot do PKZip files or bzip2 compression.  If you want that "
26551 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
26552 "the L<libguestfs(3)> API)."
26553 msgstr ""
26554
26555 # type: =item
26556 #: ../tools/virt-tar.pl:151
26557 msgid "B<-x> | B<--extract> | B<--download>"
26558 msgstr ""
26559
26560 # type: =item
26561 #: ../tools/virt-tar.pl:153
26562 msgid "B<-u> | B<--upload>"
26563 msgstr ""
26564
26565 # type: textblock
26566 #: ../tools/virt-tar.pl:155
26567 msgid ""
26568 "Use C<-x> to extract (download) a directory from a virtual machine to a "
26569 "local tarball."
26570 msgstr ""
26571
26572 # type: textblock
26573 #: ../tools/virt-tar.pl:158
26574 msgid ""
26575 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
26576 "Please read the L</WARNING> section above before using this option."
26577 msgstr ""
26578
26579 # type: textblock
26580 #: ../tools/virt-tar.pl:162
26581 msgid "You must specify exactly one of these options."
26582 msgstr ""
26583
26584 # type: =item
26585 #: ../tools/virt-tar.pl:168
26586 msgid "B<-z> | B<--gzip>"
26587 msgstr ""
26588
26589 # type: textblock
26590 #: ../tools/virt-tar.pl:170
26591 msgid "Specify that the input or output tarball is gzip-compressed."
26592 msgstr ""
26593
26594 # type: textblock
26595 #: ../tools/virt-tar.pl:283
26596 msgid ""
26597 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
26598 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
26599 "L<http://libguestfs.org/>."
26600 msgstr ""
26601
26602 # type: textblock
26603 #: ../tools/virt-rescue.pl:33
26604 msgid "virt-rescue - Run a rescue shell on a virtual machine"
26605 msgstr ""
26606
26607 # type: verbatim
26608 #: ../tools/virt-rescue.pl:37
26609 #, no-wrap
26610 msgid ""
26611 " virt-rescue [--options] domname\n"
26612 "\n"
26613 msgstr ""
26614
26615 # type: verbatim
26616 #: ../tools/virt-rescue.pl:39
26617 #, no-wrap
26618 msgid ""
26619 " virt-rescue [--options] disk.img [disk.img ...]\n"
26620 "\n"
26621 msgstr ""
26622
26623 # type: textblock
26624 #: ../tools/virt-rescue.pl:43
26625 msgid ""
26626 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
26627 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
26628 "you from doing this, but doesn't catch all cases."
26629 msgstr ""
26630
26631 # type: textblock
26632 #: ../tools/virt-rescue.pl:47
26633 msgid ""
26634 "However if you use the I<--ro> (read only) option, then you can attach a "
26635 "shell to a live virtual machine.  The results might be strange or "
26636 "inconsistent at times but you won't get disk corruption."
26637 msgstr ""
26638
26639 # type: textblock
26640 #: ../tools/virt-rescue.pl:53
26641 msgid ""
26642 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
26643 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
26644 "recovery tools which you can use to examine or rescue a virtual machine or "
26645 "disk image."
26646 msgstr ""
26647
26648 # type: textblock
26649 #: ../tools/virt-rescue.pl:58
26650 msgid ""
26651 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
26652 "on disk image(s):"
26653 msgstr ""
26654
26655 # type: verbatim
26656 #: ../tools/virt-rescue.pl:61
26657 #, no-wrap
26658 msgid ""
26659 " virt-rescue GuestName\n"
26660 "\n"
26661 msgstr ""
26662
26663 # type: verbatim
26664 #: ../tools/virt-rescue.pl:63
26665 #, no-wrap
26666 msgid ""
26667 " virt-rescue --ro /path/to/disk.img\n"
26668 "\n"
26669 msgstr ""
26670
26671 # type: verbatim
26672 #: ../tools/virt-rescue.pl:65
26673 #, no-wrap
26674 msgid ""
26675 " virt-rescue /dev/sdc\n"
26676 "\n"
26677 msgstr ""
26678
26679 # type: textblock
26680 #: ../tools/virt-rescue.pl:67
26681 msgid "For live VMs you I<must> use the --ro option."
26682 msgstr ""
26683
26684 # type: textblock
26685 #: ../tools/virt-rescue.pl:69
26686 msgid ""
26687 "When you run virt-rescue on a virtual machine or disk image, you are placed "
26688 "in an interactive bash shell where you can use many ordinary Linux "
26689 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
26690 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
26691 "is an empty directory called C</sysroot> where you can mount filesystems."
26692 msgstr ""
26693
26694 # type: textblock
26695 #: ../tools/virt-rescue.pl:76
26696 msgid ""
26697 "In the example below, we list logical volumes, then choose one to mount "
26698 "under C</sysroot>:"
26699 msgstr ""
26700
26701 # type: verbatim
26702 #: ../tools/virt-rescue.pl:79
26703 #, no-wrap
26704 msgid ""
26705 " ><rescue> lvs\n"
26706 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
26707 " lv_root vg_f11x64 -wi-a-   8.83G\n"
26708 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
26709 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
26710 " ><rescue> ls /sysroot\n"
26711 "\n"
26712 msgstr ""
26713
26714 # type: textblock
26715 #: ../tools/virt-rescue.pl:86
26716 msgid ""
26717 "If you don't know what filesystems are available on the virtual machine then "
26718 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
26719 msgstr ""
26720
26721 # type: textblock
26722 #: ../tools/virt-rescue.pl:92
26723 msgid ""
26724 "Virt-rescue can be used on I<any> disk image file or device, not just a "
26725 "virtual machine.  For example you can use it on a blank file if you want to "
26726 "partition that file (although we would recommend using L<guestfish(1)> "
26727 "instead as it is more suitable for this purpose).  You can even use "
26728 "virt-rescue on things like SD cards."
26729 msgstr ""
26730
26731 # type: textblock
26732 #: ../tools/virt-rescue.pl:98
26733 msgid ""
26734 "This tool is just designed for quick interactive hacking on a virtual "
26735 "machine.  For more structured access to a virtual machine disk image, you "
26736 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
26737 "make scripted changes to guests, use L<guestfish(1)>."
26738 msgstr ""
26739
26740 # type: =item
26741 #: ../tools/virt-rescue.pl:127
26742 msgid "B<--append kernelopts>"
26743 msgstr ""
26744
26745 # type: textblock
26746 #: ../tools/virt-rescue.pl:129
26747 msgid "Pass additional options to the rescue kernel."
26748 msgstr ""
26749
26750 # type: =item
26751 #: ../tools/virt-rescue.pl:164
26752 msgid "B<--memsize MB> | B<-m MB>"
26753 msgstr ""
26754
26755 # type: textblock
26756 #: ../tools/virt-rescue.pl:166
26757 msgid ""
26758 "Change the amount of memory allocated to the rescue system.  The default is "
26759 "set by libguestfs and is small but adequate for running system tools.  The "
26760 "occasional program might need more memory.  The parameter is specified in "
26761 "megabytes."
26762 msgstr ""
26763
26764 # type: =item
26765 #: ../tools/virt-rescue.pl:175
26766 msgid "B<--network MB>"
26767 msgstr ""
26768
26769 # type: textblock
26770 #: ../tools/virt-rescue.pl:177
26771 msgid "Enable QEMU user networking in the guest."
26772 msgstr ""
26773
26774 # type: =item
26775 #: ../tools/virt-rescue.pl:183
26776 msgid "B<--ro> | B<-r>"
26777 msgstr ""
26778
26779 # type: textblock
26780 #: ../tools/virt-rescue.pl:185
26781 msgid "Open the image read-only."
26782 msgstr ""
26783
26784 # type: textblock
26785 #: ../tools/virt-rescue.pl:197
26786 msgid ""
26787 "Enable SELinux in the rescue appliance.  You should read "
26788 "L<guestfs(3)/SELINUX> before using this option."
26789 msgstr ""
26790
26791 # type: textblock
26792 #: ../tools/virt-rescue.pl:257
26793 msgid ""
26794 "Several environment variables affect virt-rescue.  See "
26795 "L<guestfs(3)/ENVIRONMENT VARIABLES> for the complete list."
26796 msgstr ""
26797
26798 # type: textblock
26799 #: ../tools/virt-rescue.pl:269
26800 msgid ""
26801 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
26802 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26803 msgstr ""
26804
26805 # type: textblock
26806 #: ../tools/virt-make-fs.pl:37
26807 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
26808 msgstr ""
26809
26810 # type: verbatim
26811 #: ../tools/virt-make-fs.pl:41
26812 #, no-wrap
26813 msgid ""
26814 " virt-make-fs [--options] input.tar output.img\n"
26815 "\n"
26816 msgstr ""
26817
26818 # type: verbatim
26819 #: ../tools/virt-make-fs.pl:43
26820 #, no-wrap
26821 msgid ""
26822 " virt-make-fs [--options] input.tar.gz output.img\n"
26823 "\n"
26824 msgstr ""
26825
26826 # type: verbatim
26827 #: ../tools/virt-make-fs.pl:45
26828 #, no-wrap
26829 msgid ""
26830 " virt-make-fs [--options] directory output.img\n"
26831 "\n"
26832 msgstr ""
26833
26834 # type: textblock
26835 #: ../tools/virt-make-fs.pl:49
26836 msgid ""
26837 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
26838 "archive or some files in a directory.  It is similar to tools like "
26839 "L<mkisofs(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, "
26840 "it can create common filesystem types like ext2/3 or NTFS, which can be "
26841 "useful if you want to attach these filesystems to existing virtual machines "
26842 "(eg. to import large amounts of read-only data to a VM)."
26843 msgstr ""
26844
26845 # type: textblock
26846 #: ../tools/virt-make-fs.pl:57
26847 msgid "Basic usage is:"
26848 msgstr ""
26849
26850 # type: verbatim
26851 #: ../tools/virt-make-fs.pl:59
26852 #, no-wrap
26853 msgid ""
26854 " virt-make-fs input output\n"
26855 "\n"
26856 msgstr ""
26857
26858 # type: textblock
26859 #: ../tools/virt-make-fs.pl:61
26860 msgid ""
26861 "where C<input> is either a directory containing files that you want to add, "
26862 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
26863 "C<output> is a disk image.  The input type is detected automatically.  The "
26864 "output disk image defaults to a raw ext2 image unless you specify extra "
26865 "flags (see L</OPTIONS> below)."
26866 msgstr ""
26867
26868 # type: =head2
26869 #: ../tools/virt-make-fs.pl:67
26870 msgid "EXTRA SPACE"
26871 msgstr ""
26872
26873 # type: textblock
26874 #: ../tools/virt-make-fs.pl:69
26875 msgid ""
26876 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
26877 "the files that it contains, but might have extra space.  Depending on how "
26878 "you are going to use the output, you might think this extra space is wasted "
26879 "and want to minimize it, or you might want to leave space so that more files "
26880 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
26881 "but you can use the C<--size> flag to leave space in the filesystem if you "
26882 "want it."
26883 msgstr ""
26884
26885 # type: textblock
26886 #: ../tools/virt-make-fs.pl:77
26887 msgid ""
26888 "An alternative way to leave extra space but not make the output image any "
26889 "bigger is to use an alternative disk image format (instead of the default "
26890 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
26891 "image format (check your hypervisor supports this before using it).  This "
26892 "allows you to choose a large C<--size> but the extra space won't actually be "
26893 "allocated in the image until you try to store something in it."
26894 msgstr ""
26895
26896 # type: textblock
26897 #: ../tools/virt-make-fs.pl:85
26898 msgid ""
26899 "Don't forget that you can also use local commands including L<resize2fs(8)> "
26900 "and L<virt-resize(1)> to resize existing filesystems, or rerun "
26901 "virt-make-resize to build another image from scratch."
26902 msgstr ""
26903
26904 # type: =head3
26905 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123 ../tools/virt-make-fs.pl:142
26906 msgid "EXAMPLE"
26907 msgstr ""
26908
26909 # type: verbatim
26910 #: ../tools/virt-make-fs.pl:91
26911 #, no-wrap
26912 msgid ""
26913 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
26914 "\n"
26915 msgstr ""
26916
26917 # type: =head2
26918 #: ../tools/virt-make-fs.pl:93
26919 msgid "FILESYSTEM TYPE"
26920 msgstr ""
26921
26922 # type: textblock
26923 #: ../tools/virt-make-fs.pl:95
26924 msgid ""
26925 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
26926 "libguestfs supports can be used (but I<not> read-only formats like "
26927 "ISO9660).  Here are some of the more common choices:"
26928 msgstr ""
26929
26930 # type: =item
26931 #: ../tools/virt-make-fs.pl:101
26932 msgid "I<ext3>"
26933 msgstr ""
26934
26935 # type: textblock
26936 #: ../tools/virt-make-fs.pl:103
26937 msgid ""
26938 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
26939 "you are not going to use the filesystem in a way that requires the journal, "
26940 "then this is just wasted overhead."
26941 msgstr ""
26942
26943 # type: =item
26944 #: ../tools/virt-make-fs.pl:107
26945 msgid "I<ntfs> or I<vfat>"
26946 msgstr ""
26947
26948 # type: textblock
26949 #: ../tools/virt-make-fs.pl:109
26950 msgid "Useful if exporting data to a Windows guest."
26951 msgstr ""
26952
26953 # type: textblock
26954 #: ../tools/virt-make-fs.pl:111
26955 msgid ""
26956 "I<Note for vfat>: The tar archive or local directory must only contain files "
26957 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
26958 "program running within libguestfs is unable to change the ownership of "
26959 "non-root files, since vfat itself does not support this."
26960 msgstr ""
26961
26962 # type: =item
26963 #: ../tools/virt-make-fs.pl:116
26964 msgid "I<minix>"
26965 msgstr ""
26966
26967 # type: textblock
26968 #: ../tools/virt-make-fs.pl:118
26969 msgid ""
26970 "Lower overhead than C<ext2>, but certain limitations on filename length and "
26971 "total filesystem size."
26972 msgstr ""
26973
26974 # type: verbatim
26975 #: ../tools/virt-make-fs.pl:125
26976 #, no-wrap
26977 msgid ""
26978 " virt-make-fs --type=minix input minixfs.img\n"
26979 "\n"
26980 msgstr ""
26981
26982 # type: =head2
26983 #: ../tools/virt-make-fs.pl:127
26984 msgid "TO PARTITION OR NOT TO PARTITION"
26985 msgstr ""
26986
26987 # type: textblock
26988 #: ../tools/virt-make-fs.pl:129
26989 msgid "Optionally virt-make-fs can add a partition table to the output disk."
26990 msgstr ""
26991
26992 # type: textblock
26993 #: ../tools/virt-make-fs.pl:131
26994 msgid ""
26995 "Adding a partition can make the disk image more compatible with certain "
26996 "virtualized operating systems which don't expect to see a filesystem "
26997 "directly located on a block device (Linux doesn't care and will happily "
26998 "handle both types)."
26999 msgstr ""
27000
27001 # type: textblock
27002 #: ../tools/virt-make-fs.pl:136
27003 msgid ""
27004 "On the other hand, if you have a partition table then the output image is no "
27005 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
27006 "directly on a partitioned disk image.  (However libguestfs tools such as "
27007 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
27008 msgstr ""
27009
27010 # type: textblock
27011 #: ../tools/virt-make-fs.pl:144
27012 msgid "Add an MBR partition:"
27013 msgstr ""
27014
27015 # type: verbatim
27016 #: ../tools/virt-make-fs.pl:146
27017 #, no-wrap
27018 msgid ""
27019 " virt-make-fs --partition -- input disk.img\n"
27020 "\n"
27021 msgstr ""
27022
27023 # type: textblock
27024 #: ../tools/virt-make-fs.pl:148
27025 msgid ""
27026 "If the output disk image could be terabyte-sized or larger, it's better to "
27027 "use an EFI/GPT-compatible partition table:"
27028 msgstr ""
27029
27030 # type: verbatim
27031 #: ../tools/virt-make-fs.pl:151
27032 #, no-wrap
27033 msgid ""
27034 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
27035 "\n"
27036 msgstr ""
27037
27038 # type: textblock
27039 #: ../tools/virt-make-fs.pl:179
27040 msgid "Enable debugging information."
27041 msgstr ""
27042
27043 # type: =item
27044 #: ../tools/virt-make-fs.pl:185
27045 msgid "B<--size=E<lt>NE<gt>>"
27046 msgstr ""
27047
27048 # type: =item
27049 #: ../tools/virt-make-fs.pl:187
27050 msgid "B<--size=+E<lt>NE<gt>>"
27051 msgstr ""
27052
27053 # type: =item
27054 #: ../tools/virt-make-fs.pl:189
27055 msgid "B<-s E<lt>NE<gt>>"
27056 msgstr ""
27057
27058 # type: =item
27059 #: ../tools/virt-make-fs.pl:191
27060 msgid "B<-s +E<lt>NE<gt>>"
27061 msgstr ""
27062
27063 # type: textblock
27064 #: ../tools/virt-make-fs.pl:193
27065 msgid "Use the C<--size> (or C<-s>) option to choose the size of the output image."
27066 msgstr ""
27067
27068 # type: textblock
27069 #: ../tools/virt-make-fs.pl:196
27070 msgid ""
27071 "If this option is I<not> given, then the output image will be just large "
27072 "enough to contain all the files, with not much wasted space."
27073 msgstr ""
27074
27075 # type: textblock
27076 #: ../tools/virt-make-fs.pl:199
27077 msgid ""
27078 "To choose a fixed size output disk, specify an absolute number followed by "
27079 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
27080 "Petabytes or Exabytes.  This must be large enough to contain all the input "
27081 "files, else you will get an error."
27082 msgstr ""
27083
27084 # type: textblock
27085 #: ../tools/virt-make-fs.pl:204
27086 msgid ""
27087 "To leave extra space, specify C<+> (plus sign) and a number followed by "
27088 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
27089 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
27090 "the input files, and (approximately) an extra 200 MB free space."
27091 msgstr ""
27092
27093 # type: textblock
27094 #: ../tools/virt-make-fs.pl:210
27095 msgid ""
27096 "Note that virt-make-fs estimates free space, and therefore will not produce "
27097 "filesystems containing precisely the free space requested.  (It is much more "
27098 "expensive and time-consuming to produce a filesystem which has precisely the "
27099 "desired free space)."
27100 msgstr ""
27101
27102 # type: =item
27103 #: ../tools/virt-make-fs.pl:219
27104 msgid "B<--format=E<lt>fmtE<gt>>"
27105 msgstr ""
27106
27107 # type: =item
27108 #: ../tools/virt-make-fs.pl:221
27109 msgid "B<-F E<lt>fmtE<gt>>"
27110 msgstr ""
27111
27112 # type: textblock
27113 #: ../tools/virt-make-fs.pl:223
27114 msgid "Choose the output disk image format."
27115 msgstr ""
27116
27117 # type: textblock
27118 #: ../tools/virt-make-fs.pl:225
27119 msgid "The default is C<raw> (raw disk image)."
27120 msgstr ""
27121
27122 # type: textblock
27123 #: ../tools/virt-make-fs.pl:227
27124 msgid ""
27125 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
27126 "that would really make sense here is C<qcow2>."
27127 msgstr ""
27128
27129 # type: =item
27130 #: ../tools/virt-make-fs.pl:234
27131 msgid "B<--type=E<lt>fsE<gt>>"
27132 msgstr ""
27133
27134 # type: =item
27135 #: ../tools/virt-make-fs.pl:236
27136 msgid "B<-t E<lt>fsE<gt>>"
27137 msgstr ""
27138
27139 # type: textblock
27140 #: ../tools/virt-make-fs.pl:238
27141 msgid "Choose the output filesystem type."
27142 msgstr ""
27143
27144 # type: textblock
27145 #: ../tools/virt-make-fs.pl:240
27146 msgid "The default is C<ext2>."
27147 msgstr ""
27148
27149 # type: textblock
27150 #: ../tools/virt-make-fs.pl:242
27151 msgid "Any filesystem which is supported read-write by libguestfs can be used here."
27152 msgstr ""
27153
27154 # type: =item
27155 #: ../tools/virt-make-fs.pl:249
27156 msgid "B<--partition>"
27157 msgstr ""
27158
27159 # type: =item
27160 #: ../tools/virt-make-fs.pl:251
27161 msgid "B<--partition=E<lt>parttypeE<gt>>"
27162 msgstr ""
27163
27164 # type: textblock
27165 #: ../tools/virt-make-fs.pl:253
27166 msgid ""
27167 "If specified, this flag adds an MBR partition table to the output disk "
27168 "image."
27169 msgstr ""
27170
27171 # type: textblock
27172 #: ../tools/virt-make-fs.pl:256
27173 msgid ""
27174 "You can change the partition table type, eg. C<--partition=gpt> for large "
27175 "disks."
27176 msgstr ""
27177
27178 # type: textblock
27179 #: ../tools/virt-make-fs.pl:259
27180 msgid ""
27181 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
27182 "might consider the next parameter to be the partition type.  For example:"
27183 msgstr ""
27184
27185 # type: verbatim
27186 #: ../tools/virt-make-fs.pl:263
27187 #, no-wrap
27188 msgid ""
27189 " virt-make-fs --partition input.tar ...\n"
27190 "\n"
27191 msgstr ""
27192
27193 # type: textblock
27194 #: ../tools/virt-make-fs.pl:265
27195 msgid ""
27196 "would cause virt-make-fs to think you wanted to use a partition type of "
27197 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
27198 "dash) between options and the input file argument:"
27199 msgstr ""
27200
27201 # type: verbatim
27202 #: ../tools/virt-make-fs.pl:269
27203 #, no-wrap
27204 msgid ""
27205 " virt-make-fs --partition -- input.tar ...\n"
27206 "\n"
27207 msgstr ""
27208
27209 # type: textblock
27210 #: ../tools/virt-make-fs.pl:536
27211 msgid ""
27212 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
27213 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, "
27214 "L<guestfs(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
27215 msgstr ""
27216
27217 # type: verbatim
27218 #: ../tools/virt-make-fs.pl:553
27219 #, no-wrap
27220 msgid ""
27221 " export LIBGUESTFS_DEBUG=1\n"
27222 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
27223 "\n"
27224 msgstr ""
27225
27226 # type: textblock
27227 #: ../tools/virt-make-fs.pl:556
27228 msgid ""
27229 "Attach /tmp/virt-make-fs.log to a new bug report at "
27230 "L<https://bugzilla.redhat.com/>"
27231 msgstr ""
27232
27233 # type: textblock
27234 #: ../tools/virt-list-partitions.pl:32
27235 msgid "virt-list-partitions - List partitions in a virtual machine or disk image"
27236 msgstr ""
27237
27238 # type: verbatim
27239 #: ../tools/virt-list-partitions.pl:36
27240 #, no-wrap
27241 msgid ""
27242 " virt-list-partitions [--options] domname\n"
27243 "\n"
27244 msgstr ""
27245
27246 # type: verbatim
27247 #: ../tools/virt-list-partitions.pl:38
27248 #, no-wrap
27249 msgid ""
27250 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
27251 "\n"
27252 msgstr ""
27253
27254 # type: textblock
27255 #: ../tools/virt-list-partitions.pl:42
27256 msgid ""
27257 "C<virt-list-partitions> is a command line tool to list the partitions that "
27258 "are contained in a virtual machine or disk image.  It is mainly useful as a "
27259 "first step to using L<virt-resize(1)>."
27260 msgstr ""
27261
27262 # type: textblock
27263 #: ../tools/virt-list-partitions.pl:47
27264 msgid ""
27265 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
27266 "functionality.  For more complex cases you should look at the "
27267 "L<guestfish(1)> tool."
27268 msgstr ""
27269
27270 # type: =item
27271 #: ../tools/virt-list-partitions.pl:104
27272 msgid "B<-h> | B<--human-readable>"
27273 msgstr ""
27274
27275 # type: textblock
27276 #: ../tools/virt-list-partitions.pl:106
27277 msgid "Show sizes in human-readable form (eg. \"1G\")."
27278 msgstr ""
27279
27280 # type: textblock
27281 #: ../tools/virt-list-partitions.pl:114
27282 msgid ""
27283 "With this option, C<virt-list-partitions> displays the type and size of each "
27284 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
27285 msgstr ""
27286
27287 # type: =item
27288 #: ../tools/virt-list-partitions.pl:121
27289 msgid "B<-t> | B<--total>"
27290 msgstr ""
27291
27292 # type: textblock
27293 #: ../tools/virt-list-partitions.pl:123
27294 msgid "Display the total size of each block device (as a separate row or rows)."
27295 msgstr ""
27296
27297 # type: textblock
27298 #: ../tools/virt-list-partitions.pl:256
27299 msgid ""
27300 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, "
27301 "L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
27302 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
27303 msgstr ""