Version 1.5.18.
[libguestfs.git] / po-docs / ja.po
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
10 "POT-Creation-Date: 2010-09-21 22:15+0200\n"
11 "PO-Revision-Date: 2010-09-02 14:46+0100\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # type: =encoding
20 #: ../src/guestfs.pod:1 ../fish/guestfish.pod:1
21 #: ../test-tool/libguestfs-test-tool.pod:1 ../fuse/guestmount.pod:1
22 #: ../inspector/virt-inspector.pl:36 ../tools/virt-cat.pl:30
23 #: ../tools/virt-df.pl:32 ../tools/virt-edit.pl:31
24 #: ../tools/virt-list-filesystems.pl:28 ../tools/virt-list-partitions.pl:28
25 #: ../tools/virt-ls.pl:31 ../tools/virt-make-fs.pl:33
26 #: ../tools/virt-rescue.pl:29 ../tools/virt-resize.pl:38
27 #: ../tools/virt-tar.pl:30 ../tools/virt-win-reg.pl:34
28 msgid "utf8"
29 msgstr ""
30
31 # type: =head1
32 #: ../src/guestfs.pod:3 ../fish/guestfish.pod:3
33 #: ../test-tool/libguestfs-test-tool.pod:3 ../fuse/guestmount.pod:3
34 #: ../inspector/virt-inspector.pl:38 ../tools/virt-cat.pl:32
35 #: ../tools/virt-df.pl:34 ../tools/virt-edit.pl:33
36 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
37 #: ../tools/virt-ls.pl:33 ../tools/virt-make-fs.pl:35
38 #: ../tools/virt-rescue.pl:31 ../tools/virt-resize.pl:40
39 #: ../tools/virt-tar.pl:32 ../tools/virt-win-reg.pl:36
40 msgid "NAME"
41 msgstr "名前"
42
43 # type: textblock
44 #: ../src/guestfs.pod:5
45 msgid "guestfs - Library for accessing and modifying virtual machine images"
46 msgstr ""
47
48 # type: =head1
49 #: ../src/guestfs.pod:7 ../fish/guestfish.pod:7
50 #: ../test-tool/libguestfs-test-tool.pod:7 ../fuse/guestmount.pod:7
51 #: ../inspector/virt-inspector.pl:42 ../tools/virt-cat.pl:36
52 #: ../tools/virt-df.pl:38 ../tools/virt-edit.pl:37
53 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
54 #: ../tools/virt-ls.pl:37 ../tools/virt-make-fs.pl:39
55 #: ../tools/virt-rescue.pl:35 ../tools/virt-resize.pl:44
56 #: ../tools/virt-tar.pl:36 ../tools/virt-win-reg.pl:40
57 msgid "SYNOPSIS"
58 msgstr ""
59
60 # type: verbatim
61 #: ../src/guestfs.pod:9
62 #, no-wrap
63 msgid ""
64 " #include <guestfs.h>\n"
65 " \n"
66 msgstr ""
67
68 # type: verbatim
69 #: ../src/guestfs.pod:11
70 #, no-wrap
71 msgid ""
72 " guestfs_h *g = guestfs_create ();\n"
73 " guestfs_add_drive (g, \"guest.img\");\n"
74 " guestfs_launch (g);\n"
75 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
76 " guestfs_touch (g, \"/hello\");\n"
77 " guestfs_umount (g, \"/\");\n"
78 " guestfs_sync (g);\n"
79 " guestfs_close (g);\n"
80 "\n"
81 msgstr ""
82
83 # type: verbatim
84 #: ../src/guestfs.pod:20
85 #, no-wrap
86 msgid ""
87 " cc prog.c -o prog -lguestfs\n"
88 "or:\n"
89 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
90 "\n"
91 msgstr ""
92
93 # type: =head1
94 #: ../src/guestfs.pod:24 ../fish/guestfish.pod:115
95 #: ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:16
96 #: ../inspector/virt-inspector.pl:48 ../tools/virt-cat.pl:42
97 #: ../tools/virt-df.pl:46 ../tools/virt-edit.pl:51
98 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
99 #: ../tools/virt-ls.pl:43 ../tools/virt-make-fs.pl:47
100 #: ../tools/virt-rescue.pl:51 ../tools/virt-resize.pl:50
101 #: ../tools/virt-tar.pl:73 ../tools/virt-win-reg.pl:64
102 msgid "DESCRIPTION"
103 msgstr ""
104
105 # type: textblock
106 #: ../src/guestfs.pod:26
107 msgid ""
108 "Libguestfs is a library for accessing and modifying guest disk images.  "
109 "Amongst the things this is good for: making batch configuration changes to "
110 "guests, getting disk used/free statistics (see also: virt-df), migrating "
111 "between virtualization systems (see also: virt-p2v), performing partial "
112 "backups, performing partial guest clones, cloning guests and changing "
113 "registry/UUID/hostname info, and much else besides."
114 msgstr ""
115
116 # type: textblock
117 #: ../src/guestfs.pod:34
118 msgid ""
119 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
120 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
121 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
122 "qcow2, vmdk."
123 msgstr ""
124
125 # type: textblock
126 #: ../src/guestfs.pod:39
127 msgid ""
128 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
129 "what filesystem is in each LV, etc.).  It can also run commands in the "
130 "context of the guest.  Also you can access filesystems over FUSE."
131 msgstr ""
132
133 # type: textblock
134 #: ../src/guestfs.pod:44
135 msgid ""
136 "Libguestfs is a library that can be linked with C and C++ management "
137 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
138 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
139 "line."
140 msgstr ""
141
142 # type: textblock
143 #: ../src/guestfs.pod:49
144 msgid ""
145 "You don't need to be root to use libguestfs, although obviously you do need "
146 "enough permissions to access the disk images."
147 msgstr ""
148
149 # type: textblock
150 #: ../src/guestfs.pod:52
151 msgid ""
152 "Libguestfs is a large API because it can do many things.  For a gentle "
153 "introduction, please read the L</API OVERVIEW> section next."
154 msgstr ""
155
156 # type: =head1
157 #: ../src/guestfs.pod:55
158 msgid "API OVERVIEW"
159 msgstr ""
160
161 # type: textblock
162 #: ../src/guestfs.pod:57
163 msgid ""
164 "This section provides a gentler overview of the libguestfs API.  We also try "
165 "to group API calls together, where that may not be obvious from reading "
166 "about the individual calls in the main section of this manual."
167 msgstr ""
168
169 # type: =head2
170 #: ../src/guestfs.pod:62
171 msgid "HANDLES"
172 msgstr ""
173
174 # type: textblock
175 #: ../src/guestfs.pod:64
176 msgid ""
177 "Before you can use libguestfs calls, you have to create a handle.  Then you "
178 "must add at least one disk image to the handle, followed by launching the "
179 "handle, then performing whatever operations you want, and finally closing "
180 "the handle.  By convention we use the single letter C<g> for the name of the "
181 "handle variable, although of course you can use any name you want."
182 msgstr ""
183
184 # type: textblock
185 #: ../src/guestfs.pod:71
186 msgid "The general structure of all libguestfs-using programs looks like this:"
187 msgstr ""
188
189 # type: verbatim
190 #: ../src/guestfs.pod:74
191 #, no-wrap
192 msgid ""
193 " guestfs_h *g = guestfs_create ();\n"
194 " \n"
195 msgstr ""
196
197 # type: verbatim
198 #: ../src/guestfs.pod:76
199 #, no-wrap
200 msgid ""
201 " /* Call guestfs_add_drive additional times if there are\n"
202 "  * multiple disk images.\n"
203 "  */\n"
204 " guestfs_add_drive (g, \"guest.img\");\n"
205 " \n"
206 msgstr ""
207
208 # type: verbatim
209 #: ../src/guestfs.pod:81
210 #, no-wrap
211 msgid ""
212 " /* Most manipulation calls won't work until you've launched\n"
213 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
214 "  * and _before_ other commands.\n"
215 "  */\n"
216 " guestfs_launch (g);\n"
217 " \n"
218 msgstr ""
219
220 # type: verbatim
221 #: ../src/guestfs.pod:87
222 #, no-wrap
223 msgid ""
224 " /* Now you can examine what partitions, LVs etc are available.\n"
225 "  */\n"
226 " char **partitions = guestfs_list_partitions (g);\n"
227 " char **logvols = guestfs_lvs (g);\n"
228 " \n"
229 msgstr ""
230
231 # type: verbatim
232 #: ../src/guestfs.pod:92
233 #, no-wrap
234 msgid ""
235 " /* To access a filesystem in the image, you must mount it.\n"
236 "  */\n"
237 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
238 " \n"
239 msgstr ""
240
241 # type: verbatim
242 #: ../src/guestfs.pod:96
243 #, no-wrap
244 msgid ""
245 " /* Now you can perform filesystem actions on the guest\n"
246 "  * disk image.\n"
247 "  */\n"
248 " guestfs_touch (g, \"/hello\");\n"
249 " \n"
250 msgstr ""
251
252 # type: verbatim
253 #: ../src/guestfs.pod:101
254 #, no-wrap
255 msgid ""
256 " /* You only need to call guestfs_sync if you have made\n"
257 "  * changes to the guest image.  (But if you've made changes\n"
258 "  * then you *must* sync).  See also: guestfs_umount and\n"
259 "  * guestfs_umount_all calls.\n"
260 "  */\n"
261 " guestfs_sync (g);\n"
262 " \n"
263 msgstr ""
264
265 # type: verbatim
266 #: ../src/guestfs.pod:108
267 #, no-wrap
268 msgid ""
269 " /* Close the handle 'g'. */\n"
270 " guestfs_close (g);\n"
271 "\n"
272 msgstr ""
273
274 # type: textblock
275 #: ../src/guestfs.pod:111
276 msgid ""
277 "The code above doesn't include any error checking.  In real code you should "
278 "check return values carefully for errors.  In general all functions that "
279 "return integers return C<-1> on error, and all functions that return "
280 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
281 "how to handle errors, and consult the documentation for each function call "
282 "below to see precisely how they return error indications."
283 msgstr ""
284
285 # type: =head2
286 #: ../src/guestfs.pod:119
287 msgid "DISK IMAGES"
288 msgstr ""
289
290 # type: textblock
291 #: ../src/guestfs.pod:121
292 msgid ""
293 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
294 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
295 "actual block device, or simply an empty file of zeroes that you have created "
296 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
297 "of these."
298 msgstr ""
299
300 # type: textblock
301 #: ../src/guestfs.pod:127
302 msgid ""
303 "You can add a disk read-only using L</guestfs_add_drive_ro>, in which case "
304 "libguestfs won't modify the file."
305 msgstr ""
306
307 # type: textblock
308 #: ../src/guestfs.pod:130
309 msgid ""
310 "Be extremely cautious if the disk image is in use, eg. if it is being used "
311 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
312 "corruption, but adding it read-only is safe."
313 msgstr ""
314
315 # type: textblock
316 #: ../src/guestfs.pod:134
317 msgid ""
318 "You must add at least one disk image, and you may add multiple disk images.  "
319 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
320 "first one you added), C</dev/sdb> (for the second one you added), etc."
321 msgstr ""
322
323 # type: textblock
324 #: ../src/guestfs.pod:139
325 msgid ""
326 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
327 "can call L</guestfs_list_devices> to get a list of the device names, in the "
328 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
329 msgstr ""
330
331 # type: =head2
332 #: ../src/guestfs.pod:144
333 msgid "MOUNTING"
334 msgstr ""
335
336 # type: textblock
337 #: ../src/guestfs.pod:146
338 msgid ""
339 "Before you can read or write files, create directories and so on in a disk "
340 "image that contains filesystems, you have to mount those filesystems using "
341 "L</guestfs_mount>.  If you already know that a disk image contains (for "
342 "example) one partition with a filesystem on that partition, then you can "
343 "mount it directly:"
344 msgstr ""
345
346 # type: verbatim
347 #: ../src/guestfs.pod:152
348 #, no-wrap
349 msgid ""
350 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
351 "\n"
352 msgstr ""
353
354 # type: textblock
355 #: ../src/guestfs.pod:154
356 msgid ""
357 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
358 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
359 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
360 msgstr ""
361
362 # type: textblock
363 #: ../src/guestfs.pod:158
364 msgid ""
365 "If you are given a disk image and you don't know what it contains then you "
366 "have to find out.  Libguestfs can do that too: use L</"
367 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
368 "LVs, and either try mounting each to see what is mountable, or else examine "
369 "them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also has a "
370 "set of APIs for inspection of disk images (see L</INSPECTION> below).  But "
371 "you might find it easier to look at higher level programs built on top of "
372 "libguestfs, in particular L<virt-inspector(1)>."
373 msgstr ""
374
375 # type: textblock
376 #: ../src/guestfs.pod:168
377 msgid ""
378 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
379 "several other variations of the C<guestfs_mount_*> call."
380 msgstr ""
381
382 # type: =head2
383 #: ../src/guestfs.pod:171
384 msgid "FILESYSTEM ACCESS AND MODIFICATION"
385 msgstr ""
386
387 # type: textblock
388 #: ../src/guestfs.pod:173
389 msgid ""
390 "The majority of the libguestfs API consists of fairly low-level calls for "
391 "accessing and modifying the files, directories, symlinks etc on mounted "
392 "filesystems.  There are over a hundred such calls which you can find listed "
393 "in detail below in this man page, and we don't even pretend to cover them "
394 "all in this overview."
395 msgstr ""
396
397 # type: textblock
398 #: ../src/guestfs.pod:179
399 msgid ""
400 "Specify filenames as full paths, starting with C<\"/\"> and including the "
401 "mount point."
402 msgstr ""
403
404 # type: textblock
405 #: ../src/guestfs.pod:182
406 msgid ""
407 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
408 "the file called C<\"etc/passwd\"> then you could do:"
409 msgstr ""
410
411 # type: verbatim
412 #: ../src/guestfs.pod:185
413 #, no-wrap
414 msgid ""
415 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
416 "\n"
417 msgstr ""
418
419 # type: textblock
420 #: ../src/guestfs.pod:187
421 msgid ""
422 "This would return C<data> as a newly allocated buffer containing the full "
423 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
424 "or C<NULL> if there was an error."
425 msgstr ""
426
427 # type: textblock
428 #: ../src/guestfs.pod:191
429 msgid ""
430 "As another example, to create a top-level directory on that filesystem "
431 "called C<\"var\"> you would do:"
432 msgstr ""
433
434 # type: verbatim
435 #: ../src/guestfs.pod:194
436 #, no-wrap
437 msgid ""
438 " guestfs_mkdir (g, \"/var\");\n"
439 "\n"
440 msgstr ""
441
442 # type: textblock
443 #: ../src/guestfs.pod:196
444 msgid "To create a symlink you could do:"
445 msgstr ""
446
447 # type: verbatim
448 #: ../src/guestfs.pod:198
449 #, no-wrap
450 msgid ""
451 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
452 "               \"/etc/rc3.d/S30portmap\");\n"
453 "\n"
454 msgstr ""
455
456 # type: textblock
457 #: ../src/guestfs.pod:201
458 msgid ""
459 "Libguestfs will reject attempts to use relative paths and there is no "
460 "concept of a current working directory."
461 msgstr ""
462
463 # type: textblock
464 #: ../src/guestfs.pod:204
465 msgid ""
466 "Libguestfs can return errors in many situations: for example if the "
467 "filesystem isn't writable, or if a file or directory that you requested "
468 "doesn't exist.  If you are using the C API (documented here)  you have to "
469 "check for those error conditions after each call.  (Other language bindings "
470 "turn these errors into exceptions)."
471 msgstr ""
472
473 # type: textblock
474 #: ../src/guestfs.pod:210
475 msgid ""
476 "File writes are affected by the per-handle umask, set by calling L</"
477 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
478 msgstr ""
479
480 # type: =head2
481 #: ../src/guestfs.pod:213
482 msgid "PARTITIONING"
483 msgstr ""
484
485 # type: textblock
486 #: ../src/guestfs.pod:215
487 msgid ""
488 "Libguestfs contains API calls to read, create and modify partition tables on "
489 "disk images."
490 msgstr ""
491
492 # type: textblock
493 #: ../src/guestfs.pod:218
494 msgid ""
495 "In the common case where you want to create a single partition covering the "
496 "whole disk, you should use the L</guestfs_part_disk> call:"
497 msgstr ""
498
499 # type: verbatim
500 #: ../src/guestfs.pod:222
501 #, no-wrap
502 msgid ""
503 " const char *parttype = \"mbr\";\n"
504 " if (disk_is_larger_than_2TB)\n"
505 "   parttype = \"gpt\";\n"
506 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
507 "\n"
508 msgstr ""
509
510 # type: textblock
511 #: ../src/guestfs.pod:227
512 msgid ""
513 "Obviously this effectively wipes anything that was on that disk image before."
514 msgstr ""
515
516 # type: =head2
517 #: ../src/guestfs.pod:230
518 msgid "LVM2"
519 msgstr ""
520
521 # type: textblock
522 #: ../src/guestfs.pod:232
523 msgid ""
524 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
525 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
526 "you familiarize yourself with the concepts of physical volumes, volume "
527 "groups and logical volumes."
528 msgstr ""
529
530 # type: textblock
531 #: ../src/guestfs.pod:237
532 msgid ""
533 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
534 "tldp.org/HOWTO/LVM-HOWTO/>."
535 msgstr ""
536
537 # type: =head2
538 #: ../src/guestfs.pod:240
539 msgid "DOWNLOADING"
540 msgstr ""
541
542 # type: textblock
543 #: ../src/guestfs.pod:242
544 msgid ""
545 "Use L</guestfs_cat> to download small, text only files.  This call is "
546 "limited to files which are less than 2 MB and which cannot contain any ASCII "
547 "NUL (C<\\0>) characters.  However it has a very simple to use API."
548 msgstr ""
549
550 # type: textblock
551 #: ../src/guestfs.pod:247
552 msgid ""
553 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
554 "bit data, since it returns a (pointer, size) pair.  However it is still "
555 "limited to \"small\" files, less than 2 MB."
556 msgstr ""
557
558 # type: textblock
559 #: ../src/guestfs.pod:251
560 msgid ""
561 "L</guestfs_download> can be used to download any file, with no limits on "
562 "content or size (even files larger than 4 GB)."
563 msgstr ""
564
565 # type: textblock
566 #: ../src/guestfs.pod:254
567 msgid ""
568 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
569 msgstr ""
570
571 # type: =head2
572 #: ../src/guestfs.pod:257
573 msgid "UPLOADING"
574 msgstr ""
575
576 # type: textblock
577 #: ../src/guestfs.pod:259
578 msgid ""
579 "It's often the case that you want to write a file or files to the disk image."
580 msgstr ""
581
582 # type: textblock
583 #: ../src/guestfs.pod:262
584 msgid ""
585 "To write a small file with fixed content, use L</guestfs_write>.  To create "
586 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
587 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
588 "of other functions for creating test files, for example L</guestfs_fill> and "
589 "L</guestfs_fill_pattern>."
590 msgstr ""
591
592 # type: textblock
593 #: ../src/guestfs.pod:268
594 msgid ""
595 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
596 "file content or size (even files larger than 4 GB)."
597 msgstr ""
598
599 # type: textblock
600 #: ../src/guestfs.pod:271
601 msgid ""
602 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
603 msgstr ""
604
605 # type: textblock
606 #: ../src/guestfs.pod:273
607 msgid ""
608 "However the fastest way to upload I<large numbers of arbitrary files> is to "
609 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
610 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
611 "in a predictable way (eg. adding it last after all other drives) then you "
612 "can get the device name from L</guestfs_list_devices> and mount it directly "
613 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
614 "portable between kernel versions, and they don't support labels or UUIDs.  "
615 "If you want to pre-build an image or you need to mount it using a label or "
616 "UUID, use an ISO image instead."
617 msgstr ""
618
619 # type: =head2
620 #: ../src/guestfs.pod:284
621 msgid "COPYING"
622 msgstr ""
623
624 # type: textblock
625 #: ../src/guestfs.pod:286
626 msgid ""
627 "There are various different commands for copying between files and devices "
628 "and in and out of the guest filesystem.  These are summarised in the table "
629 "below."
630 msgstr ""
631
632 # type: =item
633 #: ../src/guestfs.pod:292
634 msgid "B<file> to B<file>"
635 msgstr ""
636
637 # type: textblock
638 #: ../src/guestfs.pod:294
639 msgid ""
640 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
641 "directories recursively."
642 msgstr ""
643
644 # type: =item
645 #: ../src/guestfs.pod:297
646 msgid "B<file or device> to B<file or device>"
647 msgstr ""
648
649 # type: textblock
650 #: ../src/guestfs.pod:299
651 msgid ""
652 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
653 "devices in the guest."
654 msgstr ""
655
656 # type: textblock
657 #: ../src/guestfs.pod:302
658 msgid "Example: duplicate the contents of an LV:"
659 msgstr ""
660
661 # type: verbatim
662 #: ../src/guestfs.pod:304
663 #, no-wrap
664 msgid ""
665 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
666 "\n"
667 msgstr ""
668
669 # type: textblock
670 #: ../src/guestfs.pod:306
671 msgid ""
672 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
673 "(C</dev/VG/Original>).  To copy less than the whole source device, use L</"
674 "guestfs_copy_size>."
675 msgstr ""
676
677 # type: =item
678 #: ../src/guestfs.pod:310
679 msgid "B<file on the host> to B<file or device>"
680 msgstr ""
681
682 # type: textblock
683 #: ../src/guestfs.pod:312
684 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
685 msgstr ""
686
687 # type: =item
688 #: ../src/guestfs.pod:314
689 msgid "B<file or device> to B<file on the host>"
690 msgstr ""
691
692 # type: textblock
693 #: ../src/guestfs.pod:316
694 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
695 msgstr ""
696
697 # type: =head2
698 #: ../src/guestfs.pod:320
699 msgid "LISTING FILES"
700 msgstr ""
701
702 # type: textblock
703 #: ../src/guestfs.pod:322
704 msgid ""
705 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
706 "L<guestfish(1)>-equivalent command C<ll>)."
707 msgstr ""
708
709 # type: textblock
710 #: ../src/guestfs.pod:325
711 msgid ""
712 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
713 "programs, as a flat list of strings."
714 msgstr ""
715
716 # type: textblock
717 #: ../src/guestfs.pod:328
718 msgid ""
719 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
720 "directory, plus additional information about each one.  It is more "
721 "equivalent to using the L<readdir(3)> call on a local filesystem."
722 msgstr ""
723
724 # type: textblock
725 #: ../src/guestfs.pod:332
726 msgid ""
727 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
728 msgstr ""
729
730 # type: =head2
731 #: ../src/guestfs.pod:335
732 msgid "RUNNING COMMANDS"
733 msgstr ""
734
735 # type: textblock
736 #: ../src/guestfs.pod:337
737 msgid ""
738 "Although libguestfs is primarily an API for manipulating files inside guest "
739 "images, we also provide some limited facilities for running commands inside "
740 "guests."
741 msgstr ""
742
743 # type: textblock
744 #: ../src/guestfs.pod:341
745 msgid "There are many limitations to this:"
746 msgstr ""
747
748 # type: =item
749 #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355
750 #: ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368
751 #: ../src/guestfs.pod:373 ../src/guestfs.pod:1223 ../src/guestfs.pod:1228
752 #: ../src/guestfs.pod:1232 ../src/guestfs.pod:1334 ../src/guestfs.pod:1338
753 #: ../src/guestfs.pod:1342 ../src/guestfs.pod:1347 ../src/guestfs.pod:1355
754 #: ../src/guestfs.pod:1374 ../src/guestfs.pod:1382 ../src/guestfs.pod:1612
755 #: ../src/guestfs.pod:1618 ../src/guestfs.pod:1623 ../src/guestfs.pod:1629
756 #: ../src/guestfs.pod:1736 ../src/guestfs.pod:1740 ../src/guestfs.pod:1744
757 #: ../src/guestfs.pod:1748 ../src/guestfs-actions.pod:14
758 #: ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372
759 #: ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387
760 #: ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1285
761 #: ../src/guestfs-actions.pod:1289 ../src/guestfs-actions.pod:1293
762 #: ../src/guestfs-actions.pod:1297 ../src/guestfs-actions.pod:1305
763 #: ../src/guestfs-actions.pod:1309 ../src/guestfs-actions.pod:1313
764 #: ../src/guestfs-actions.pod:1323 ../src/guestfs-actions.pod:1327
765 #: ../src/guestfs-actions.pod:1331 ../src/guestfs-actions.pod:1454
766 #: ../src/guestfs-actions.pod:1458 ../src/guestfs-actions.pod:1463
767 #: ../src/guestfs-actions.pod:1468 ../src/guestfs-actions.pod:1520
768 #: ../src/guestfs-actions.pod:1524 ../src/guestfs-actions.pod:1529
769 #: ../fish/guestfish.pod:316 ../fish/guestfish.pod:320
770 #: ../fish/guestfish.pod:324 ../fish/guestfish.pod:328
771 #: ../fish/guestfish-actions.pod:15 ../fish/guestfish-actions.pod:22
772 #: ../fish/guestfish-actions.pod:306 ../fish/guestfish-actions.pod:314
773 #: ../fish/guestfish-actions.pod:321 ../fish/guestfish-actions.pod:328
774 #: ../fish/guestfish-actions.pod:1023 ../fish/guestfish-actions.pod:1027
775 #: ../fish/guestfish-actions.pod:1031 ../fish/guestfish-actions.pod:1035
776 #: ../fish/guestfish-actions.pod:1043 ../fish/guestfish-actions.pod:1047
777 #: ../fish/guestfish-actions.pod:1051 ../fish/guestfish-actions.pod:1061
778 #: ../fish/guestfish-actions.pod:1065 ../fish/guestfish-actions.pod:1069
779 #: ../fish/guestfish-actions.pod:1159 ../fish/guestfish-actions.pod:1163
780 #: ../fish/guestfish-actions.pod:1168 ../fish/guestfish-actions.pod:1173
781 #: ../fish/guestfish-actions.pod:1215 ../fish/guestfish-actions.pod:1219
782 #: ../fish/guestfish-actions.pod:1224 ../tools/virt-df.pl:144
783 #: ../tools/virt-df.pl:150 ../tools/virt-resize.pl:324
784 #: ../tools/virt-resize.pl:329 ../tools/virt-resize.pl:339
785 msgid "*"
786 msgstr ""
787
788 # type: textblock
789 #: ../src/guestfs.pod:347
790 msgid ""
791 "The kernel version that the command runs under will be different from what "
792 "it expects."
793 msgstr ""
794
795 # type: textblock
796 #: ../src/guestfs.pod:352
797 msgid ""
798 "If the command needs to communicate with daemons, then most likely they "
799 "won't be running."
800 msgstr ""
801
802 # type: textblock
803 #: ../src/guestfs.pod:357
804 msgid "The command will be running in limited memory."
805 msgstr ""
806
807 # type: textblock
808 #: ../src/guestfs.pod:361
809 msgid ""
810 "The network may not be available unless you enable it (see L</"
811 "guestfs_set_network>)."
812 msgstr ""
813
814 # type: textblock
815 #: ../src/guestfs.pod:366
816 msgid "Only supports Linux guests (not Windows, BSD, etc)."
817 msgstr ""
818
819 # type: textblock
820 #: ../src/guestfs.pod:370
821 msgid ""
822 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
823 msgstr ""
824
825 # type: textblock
826 #: ../src/guestfs.pod:375
827 msgid ""
828 "For SELinux guests, you may need to enable SELinux and load policy first.  "
829 "See L</SELINUX> in this manpage."
830 msgstr ""
831
832 # type: textblock
833 #: ../src/guestfs.pod:380
834 msgid ""
835 "The two main API calls to run commands are L</guestfs_command> and L</"
836 "guestfs_sh> (there are also variations)."
837 msgstr ""
838
839 # type: textblock
840 #: ../src/guestfs.pod:383
841 msgid ""
842 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
843 "shell globs, redirections, etc will work."
844 msgstr ""
845
846 # type: =head2
847 #: ../src/guestfs.pod:386
848 msgid "CONFIGURATION FILES"
849 msgstr ""
850
851 # type: textblock
852 #: ../src/guestfs.pod:388
853 msgid ""
854 "To read and write configuration files in Linux guest filesystems, we "
855 "strongly recommend using Augeas.  For example, Augeas understands how to "
856 "read and write, say, a Linux shadow password file or X.org configuration "
857 "file, and so avoids you having to write that code."
858 msgstr ""
859
860 # type: textblock
861 #: ../src/guestfs.pod:393
862 msgid ""
863 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
864 "document Augeas itself here because there is excellent documentation on the "
865 "L<http://augeas.net/> website."
866 msgstr ""
867
868 # type: textblock
869 #: ../src/guestfs.pod:397
870 msgid ""
871 "If you don't want to use Augeas (you fool!) then try calling L</"
872 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
873 "over."
874 msgstr ""
875
876 # type: =head2
877 #: ../src/guestfs.pod:401
878 msgid "SELINUX"
879 msgstr ""
880
881 # type: textblock
882 #: ../src/guestfs.pod:403
883 msgid ""
884 "We support SELinux guests.  To ensure that labeling happens correctly in "
885 "SELinux guests, you need to enable SELinux and load the guest's policy:"
886 msgstr ""
887
888 # type: =item
889 #: ../src/guestfs.pod:409
890 msgid "1."
891 msgstr ""
892
893 # type: textblock
894 #: ../src/guestfs.pod:411
895 msgid "Before launching, do:"
896 msgstr ""
897
898 # type: verbatim
899 #: ../src/guestfs.pod:413
900 #, no-wrap
901 msgid ""
902 " guestfs_set_selinux (g, 1);\n"
903 "\n"
904 msgstr ""
905
906 # type: =item
907 #: ../src/guestfs.pod:415
908 msgid "2."
909 msgstr ""
910
911 # type: textblock
912 #: ../src/guestfs.pod:417
913 msgid ""
914 "After mounting the guest's filesystem(s), load the policy.  This is best "
915 "done by running the L<load_policy(8)> command in the guest itself:"
916 msgstr ""
917
918 # type: verbatim
919 #: ../src/guestfs.pod:421
920 #, no-wrap
921 msgid ""
922 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
923 "\n"
924 msgstr ""
925
926 # type: textblock
927 #: ../src/guestfs.pod:423
928 msgid ""
929 "(Older versions of C<load_policy> require you to specify the name of the "
930 "policy file)."
931 msgstr ""
932
933 # type: =item
934 #: ../src/guestfs.pod:426
935 msgid "3."
936 msgstr ""
937
938 # type: textblock
939 #: ../src/guestfs.pod:428
940 msgid ""
941 "Optionally, set the security context for the API.  The correct security "
942 "context to use can only be known by inspecting the guest.  As an example:"
943 msgstr ""
944
945 # type: verbatim
946 #: ../src/guestfs.pod:432
947 #, no-wrap
948 msgid ""
949 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
950 "\n"
951 msgstr ""
952
953 # type: textblock
954 #: ../src/guestfs.pod:436
955 msgid "This will work for running commands and editing existing files."
956 msgstr ""
957
958 # type: textblock
959 #: ../src/guestfs.pod:438
960 msgid ""
961 "When new files are created, you may need to label them explicitly, for "
962 "example by running the external command C<restorecon pathname>."
963 msgstr ""
964
965 # type: =head2
966 #: ../src/guestfs.pod:442
967 msgid "UMASK"
968 msgstr ""
969
970 # type: textblock
971 #: ../src/guestfs.pod:444
972 msgid ""
973 "Certain calls are affected by the current file mode creation mask (the "
974 "\"umask\").  In particular ones which create files or directories, such as "
975 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
976 "either the default mode that the file is created with or modifies the mode "
977 "that you supply."
978 msgstr ""
979
980 # type: textblock
981 #: ../src/guestfs.pod:450
982 msgid ""
983 "The default umask is C<022>, so files are created with modes such as C<0644> "
984 "and directories with C<0755>."
985 msgstr ""
986
987 # type: textblock
988 #: ../src/guestfs.pod:453
989 msgid ""
990 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
991 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
992 "guestfs_chmod> after creating each file or directory."
993 msgstr ""
994
995 # type: textblock
996 #: ../src/guestfs.pod:457
997 msgid "For more information about umask, see L<umask(2)>."
998 msgstr ""
999
1000 # type: =head1
1001 #: ../src/guestfs.pod:459 ../fish/guestfish.pod:566
1002 msgid "ENCRYPTED DISKS"
1003 msgstr ""
1004
1005 # type: textblock
1006 #: ../src/guestfs.pod:461
1007 msgid ""
1008 "Libguestfs allows you to access Linux guests which have been encrypted using "
1009 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
1010 "standard.  This includes nearly all whole disk encryption systems used by "
1011 "modern Linux guests."
1012 msgstr ""
1013
1014 # type: textblock
1015 #: ../src/guestfs.pod:467
1016 msgid ""
1017 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
1018 "returns the string C<crypto_LUKS>)."
1019 msgstr ""
1020
1021 # type: textblock
1022 #: ../src/guestfs.pod:470
1023 msgid ""
1024 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
1025 "will require the passphrase!"
1026 msgstr ""
1027
1028 # type: textblock
1029 #: ../src/guestfs.pod:473
1030 msgid ""
1031 "Opening a LUKS device creates a new device mapper device called C</dev/"
1032 "mapper/mapname> (where C<mapname> is the string you supply to L</"
1033 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
1034 "from and encrypted to the underlying block device respectively."
1035 msgstr ""
1036
1037 # type: textblock
1038 #: ../src/guestfs.pod:479
1039 msgid ""
1040 "LVM volume groups on the device can be made visible by calling L</"
1041 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
1042 "(s) can now be mounted in the usual way."
1043 msgstr ""
1044
1045 # type: textblock
1046 #: ../src/guestfs.pod:483
1047 msgid ""
1048 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
1049 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
1050 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
1051 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
1052 "underlying encrypted block device)."
1053 msgstr ""
1054
1055 # type: =head2
1056 #: ../src/guestfs.pod:490
1057 msgid "INSPECTION"
1058 msgstr ""
1059
1060 # type: textblock
1061 #: ../src/guestfs.pod:492
1062 msgid ""
1063 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1064 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1065 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1066 "frequently used part of this library has been rewritten in C and moved into "
1067 "the core code)."
1068 msgstr ""
1069
1070 # type: textblock
1071 #: ../src/guestfs.pod:498
1072 msgid ""
1073 "Add all disks belonging to the unknown virtual machine and call L</"
1074 "guestfs_launch> in the usual way."
1075 msgstr ""
1076
1077 # type: textblock
1078 #: ../src/guestfs.pod:501
1079 msgid ""
1080 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1081 "and certain heuristics, and returns a list of operating systems that were "
1082 "found.  An empty list means none were found.  A single element is the root "
1083 "filesystem of the operating system.  For dual- or multi-boot guests, "
1084 "multiple roots can be returned, each one corresponding to a separate "
1085 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1086 "world of virtualization, but since this scenario can happen, we have built "
1087 "libguestfs to deal with it.)"
1088 msgstr ""
1089
1090 # type: textblock
1091 #: ../src/guestfs.pod:510
1092 msgid ""
1093 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1094 "to get additional details about that operating system.  For example, call L</"
1095 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1096 "Windows and Linux-based operating systems respectively."
1097 msgstr ""
1098
1099 # type: textblock
1100 #: ../src/guestfs.pod:516
1101 msgid ""
1102 "Un*x-like and Linux-based operating systems usually consist of several "
1103 "filesystems which are mounted at boot time (for example, a separate boot "
1104 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1105 "filesystems correspond to mount points.  Call "
1106 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1107 "hash table like this example:"
1108 msgstr ""
1109
1110 # type: verbatim
1111 #: ../src/guestfs.pod:523
1112 #, no-wrap
1113 msgid ""
1114 " /boot => /dev/sda1\n"
1115 " /     => /dev/vg_guest/lv_root\n"
1116 " /usr  => /dev/vg_guest/lv_usr\n"
1117 "\n"
1118 msgstr ""
1119
1120 # type: textblock
1121 #: ../src/guestfs.pod:527
1122 msgid ""
1123 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1124 "filesystems as suggested."
1125 msgstr ""
1126
1127 # type: textblock
1128 #: ../src/guestfs.pod:530
1129 msgid ""
1130 "Be careful to mount filesystems in the right order (eg. C</> before C</"
1131 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
1132 msgstr ""
1133
1134 # type: textblock
1135 #: ../src/guestfs.pod:534
1136 msgid ""
1137 "Inspection currently only works for some common operating systems.  "
1138 "Contributors are welcome to send patches for other operating systems that we "
1139 "currently cannot detect."
1140 msgstr ""
1141
1142 # type: textblock
1143 #: ../src/guestfs.pod:538
1144 msgid ""
1145 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1146 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1147 "encrypted devices."
1148 msgstr ""
1149
1150 # type: textblock
1151 #: ../src/guestfs.pod:542
1152 msgid ""
1153 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1154 "inspection and caches the results in the guest handle.  Subsequent calls to "
1155 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
1156 "read the disks.  If you change the content of the guest disks, you can redo "
1157 "inspection by calling L</guestfs_inspect_os> again."
1158 msgstr ""
1159
1160 # type: =head2
1161 #: ../src/guestfs.pod:549
1162 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1163 msgstr ""
1164
1165 # type: textblock
1166 #: ../src/guestfs.pod:551
1167 msgid ""
1168 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
1169 "ntfs-3g.org/> driver."
1170 msgstr ""
1171
1172 # type: textblock
1173 #: ../src/guestfs.pod:554
1174 msgid ""
1175 "DOS and Windows still use drive letters, and the filesystems are always "
1176 "treated as case insensitive by Windows itself, and therefore you might find "
1177 "a Windows configuration file referring to a path like C<c:\\windows"
1178 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
1179 "might be referred to as C</WINDOWS/System32>."
1180 msgstr ""
1181
1182 # type: textblock
1183 #: ../src/guestfs.pod:560
1184 msgid ""
1185 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1186 "libguestfs to read the appropriate Windows Registry and configuration files, "
1187 "to determine yourself how drives are mapped (see also L<hivex(3)> and L<virt-"
1188 "inspector(1)>)."
1189 msgstr ""
1190
1191 # type: textblock
1192 #: ../src/guestfs.pod:565
1193 msgid ""
1194 "Replacing backslash characters with forward slash characters is also outside "
1195 "the scope of libguestfs, but something that you can easily do."
1196 msgstr ""
1197
1198 # type: textblock
1199 #: ../src/guestfs.pod:568
1200 msgid ""
1201 "Where we can help is in resolving the case insensitivity of paths.  For "
1202 "this, call L</guestfs_case_sensitive_path>."
1203 msgstr ""
1204
1205 # type: textblock
1206 #: ../src/guestfs.pod:571
1207 msgid ""
1208 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1209 "files, through the library C<hivex> which is part of the libguestfs project "
1210 "although ships as a separate tarball.  You have to locate and download the "
1211 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1212 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
1213 "reg(1)> for more help on this issue."
1214 msgstr ""
1215
1216 # type: =head2
1217 #: ../src/guestfs.pod:579
1218 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1219 msgstr ""
1220
1221 # type: textblock
1222 #: ../src/guestfs.pod:581
1223 msgid ""
1224 "Although we don't want to discourage you from using the C API, we will "
1225 "mention here that the same API is also available in other languages."
1226 msgstr ""
1227
1228 # type: textblock
1229 #: ../src/guestfs.pod:584
1230 msgid ""
1231 "The API is broadly identical in all supported languages.  This means that "
1232 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, C<g."
1233 "mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1234 "words, a straightforward, predictable isomorphism between each language."
1235 msgstr ""
1236
1237 # type: textblock
1238 #: ../src/guestfs.pod:590
1239 msgid ""
1240 "Error messages are automatically transformed into exceptions if the language "
1241 "supports it."
1242 msgstr ""
1243
1244 # type: textblock
1245 #: ../src/guestfs.pod:593
1246 msgid ""
1247 "We don't try to \"object orientify\" parts of the API in OO languages, "
1248 "although contributors are welcome to write higher level APIs above what we "
1249 "provide in their favourite languages if they wish."
1250 msgstr ""
1251
1252 # type: =item
1253 #: ../src/guestfs.pod:599
1254 msgid "B<C++>"
1255 msgstr ""
1256
1257 # type: textblock
1258 #: ../src/guestfs.pod:601
1259 msgid ""
1260 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1261 "identical to the C API.  C++ classes and exceptions are not used."
1262 msgstr ""
1263
1264 # type: =item
1265 #: ../src/guestfs.pod:605
1266 msgid "B<C#>"
1267 msgstr ""
1268
1269 # type: textblock
1270 #: ../src/guestfs.pod:607
1271 msgid ""
1272 "The C# bindings are highly experimental.  Please read the warnings at the "
1273 "top of C<csharp/Libguestfs.cs>."
1274 msgstr ""
1275
1276 # type: =item
1277 #: ../src/guestfs.pod:610
1278 msgid "B<Haskell>"
1279 msgstr ""
1280
1281 # type: textblock
1282 #: ../src/guestfs.pod:612
1283 msgid ""
1284 "This is the only language binding that is working but incomplete.  Only "
1285 "calls which return simple integers have been bound in Haskell, and we are "
1286 "looking for help to complete this binding."
1287 msgstr ""
1288
1289 # type: =item
1290 #: ../src/guestfs.pod:616
1291 msgid "B<Java>"
1292 msgstr ""
1293
1294 # type: textblock
1295 #: ../src/guestfs.pod:618
1296 msgid ""
1297 "Full documentation is contained in the Javadoc which is distributed with "
1298 "libguestfs."
1299 msgstr ""
1300
1301 # type: =item
1302 #: ../src/guestfs.pod:621
1303 msgid "B<OCaml>"
1304 msgstr ""
1305
1306 # type: textblock
1307 #: ../src/guestfs.pod:623
1308 msgid "For documentation see the file C<guestfs.mli>."
1309 msgstr ""
1310
1311 # type: =item
1312 #: ../src/guestfs.pod:625
1313 msgid "B<Perl>"
1314 msgstr ""
1315
1316 # type: textblock
1317 #: ../src/guestfs.pod:627
1318 msgid "For documentation see L<Sys::Guestfs(3)>."
1319 msgstr ""
1320
1321 # type: =item
1322 #: ../src/guestfs.pod:629
1323 msgid "B<PHP>"
1324 msgstr ""
1325
1326 # type: textblock
1327 #: ../src/guestfs.pod:631
1328 msgid ""
1329 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
1330 "the php-libguestfs package for your distribution."
1331 msgstr ""
1332
1333 # type: textblock
1334 #: ../src/guestfs.pod:634
1335 msgid "The PHP binding only works correctly on 64 bit machines."
1336 msgstr ""
1337
1338 # type: =item
1339 #: ../src/guestfs.pod:636
1340 msgid "B<Python>"
1341 msgstr ""
1342
1343 # type: textblock
1344 #: ../src/guestfs.pod:638
1345 msgid "For documentation do:"
1346 msgstr ""
1347
1348 # type: verbatim
1349 #: ../src/guestfs.pod:640
1350 #, no-wrap
1351 msgid ""
1352 " $ python\n"
1353 " >>> import guestfs\n"
1354 " >>> help (guestfs)\n"
1355 "\n"
1356 msgstr ""
1357
1358 # type: =item
1359 #: ../src/guestfs.pod:644
1360 msgid "B<Ruby>"
1361 msgstr ""
1362
1363 # type: textblock
1364 #: ../src/guestfs.pod:646
1365 msgid ""
1366 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1367 "can find examples written in Ruby in the libguestfs source."
1368 msgstr ""
1369
1370 # type: =item
1371 #: ../src/guestfs.pod:649
1372 msgid "B<shell scripts>"
1373 msgstr ""
1374
1375 # type: textblock
1376 #: ../src/guestfs.pod:651
1377 msgid "For documentation see L<guestfish(1)>."
1378 msgstr ""
1379
1380 # type: =head2
1381 #: ../src/guestfs.pod:655
1382 msgid "LIBGUESTFS GOTCHAS"
1383 msgstr ""
1384
1385 # type: textblock
1386 #: ../src/guestfs.pod:657
1387 msgid ""
1388 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1389 "system [...] that works in the way it is documented but is counterintuitive "
1390 "and almost invites mistakes.\""
1391 msgstr ""
1392
1393 # type: textblock
1394 #: ../src/guestfs.pod:661
1395 msgid ""
1396 "Since we developed libguestfs and the associated tools, there are several "
1397 "things we would have designed differently, but are now stuck with for "
1398 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1399 "release, you can expect these to change.  Beware of them."
1400 msgstr ""
1401
1402 # type: =item
1403 #: ../src/guestfs.pod:669
1404 msgid "Autosync / forgetting to sync."
1405 msgstr ""
1406
1407 # type: textblock
1408 #: ../src/guestfs.pod:671
1409 msgid ""
1410 "When modifying a filesystem from C or another language, you B<must> unmount "
1411 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1412 "libguestfs handle.  You can also call:"
1413 msgstr ""
1414
1415 # type: verbatim
1416 #: ../src/guestfs.pod:675
1417 #, no-wrap
1418 msgid ""
1419 " guestfs_set_autosync (g, 1);\n"
1420 "\n"
1421 msgstr ""
1422
1423 # type: textblock
1424 #: ../src/guestfs.pod:677
1425 msgid ""
1426 "to have the unmount/sync done automatically for you when the handle 'g' is "
1427 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
1428 msgstr ""
1429
1430 # type: textblock
1431 #: ../src/guestfs.pod:681
1432 msgid ""
1433 "If you forget to do this, then it is entirely possible that your changes "
1434 "won't be written out, or will be partially written, or (very rarely) that "
1435 "you'll get disk corruption."
1436 msgstr ""
1437
1438 # type: textblock
1439 #: ../src/guestfs.pod:685
1440 msgid ""
1441 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1442 "guestfish scripts that forget to sync will work just fine, which can make "
1443 "this very puzzling if you are trying to debug a problem."
1444 msgstr ""
1445
1446 # type: =item
1447 #: ../src/guestfs.pod:689
1448 msgid "Mount option C<-o sync> should not be the default."
1449 msgstr ""
1450
1451 # type: textblock
1452 #: ../src/guestfs.pod:691
1453 msgid ""
1454 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1455 "However C<-o sync> does not add any reliability benefit, but does have a "
1456 "very large performance impact."
1457 msgstr ""
1458
1459 # type: textblock
1460 #: ../src/guestfs.pod:695
1461 msgid ""
1462 "The work around is to use L</guestfs_mount_options> and set the mount "
1463 "options that you actually want to use."
1464 msgstr ""
1465
1466 # type: =item
1467 #: ../src/guestfs.pod:698
1468 msgid "Read-only should be the default."
1469 msgstr ""
1470
1471 # type: textblock
1472 #: ../src/guestfs.pod:700
1473 msgid ""
1474 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1475 "specify I<--rw> if you want to make changes to the image."
1476 msgstr ""
1477
1478 # type: textblock
1479 #: ../src/guestfs.pod:703
1480 msgid "This would reduce the potential to corrupt live VM images."
1481 msgstr ""
1482
1483 # type: textblock
1484 #: ../src/guestfs.pod:705
1485 msgid ""
1486 "Note that many filesystems change the disk when you just mount and unmount, "
1487 "even if you didn't perform any writes.  You need to use L</"
1488 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
1489 msgstr ""
1490
1491 # type: =item
1492 #: ../src/guestfs.pod:709
1493 msgid "guestfish command line is hard to use."
1494 msgstr ""
1495
1496 # type: textblock
1497 #: ../src/guestfs.pod:711
1498 msgid ""
1499 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1500 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1501 "exist, so it fails.  In earlier versions of guestfish the error message was "
1502 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1503 "we should have used C<guestfish -c command> to run commands."
1504 msgstr ""
1505
1506 # type: =item
1507 #: ../src/guestfs.pod:718
1508 msgid "guestfish megabyte modifiers don't work right on all commands"
1509 msgstr ""
1510
1511 # type: textblock
1512 #: ../src/guestfs.pod:720
1513 msgid ""
1514 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1515 "other modifiers).  What guestfish actually does is to multiply the number "
1516 "part by the modifier part and pass the result to the C API.  However this "
1517 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1518 "expecting some other unit (eg. megabytes)."
1519 msgstr ""
1520
1521 # type: textblock
1522 #: ../src/guestfs.pod:727
1523 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1524 msgstr ""
1525
1526 # type: verbatim
1527 #: ../src/guestfs.pod:729
1528 #, no-wrap
1529 msgid ""
1530 " lvcreate LV VG 100M\n"
1531 "\n"
1532 msgstr ""
1533
1534 # type: textblock
1535 #: ../src/guestfs.pod:731
1536 msgid ""
1537 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1538 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1539 "megabytes * megabytes) logical volume.  The error message you get from this "
1540 "is also a little obscure."
1541 msgstr ""
1542
1543 # type: textblock
1544 #: ../src/guestfs.pod:736
1545 msgid ""
1546 "This could be fixed in the generator by specially marking parameters and "
1547 "return values which take bytes or other units."
1548 msgstr ""
1549
1550 # type: =item
1551 #: ../src/guestfs.pod:739
1552 msgid "Library should return errno with error messages."
1553 msgstr ""
1554
1555 # type: textblock
1556 #: ../src/guestfs.pod:741
1557 msgid ""
1558 "It would be a nice-to-have to be able to get the original value of 'errno' "
1559 "from inside the appliance along error paths (where set).  Currently "
1560 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1561 "string into an errno, see the function error() in fuse/guestmount.c."
1562 msgstr ""
1563
1564 # type: textblock
1565 #: ../src/guestfs.pod:747
1566 msgid ""
1567 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1568 "sent back from the daemon."
1569 msgstr ""
1570
1571 # type: =head2
1572 #: ../src/guestfs.pod:752
1573 msgid "PROTOCOL LIMITS"
1574 msgstr ""
1575
1576 # type: textblock
1577 #: ../src/guestfs.pod:754
1578 msgid ""
1579 "Internally libguestfs uses a message-based protocol to pass API calls and "
1580 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1581 "plenty more detail about this).  The maximum message size used by the "
1582 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1583 "aware of this limit.  The API calls which may be affected are individually "
1584 "documented, with a link back to this section of the documentation."
1585 msgstr ""
1586
1587 # type: textblock
1588 #: ../src/guestfs.pod:762
1589 msgid ""
1590 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1591 "a simple string.  Because this string is at some point internally encoded as "
1592 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1593 "the requested file is larger than this then you will get an error."
1594 msgstr ""
1595
1596 # type: textblock
1597 #: ../src/guestfs.pod:768
1598 msgid ""
1599 "In order to transfer large files into and out of the guest filesystem, you "
1600 "need to use particular calls that support this.  The sections L</UPLOADING> "
1601 "and L</DOWNLOADING> document how to do this."
1602 msgstr ""
1603
1604 # type: textblock
1605 #: ../src/guestfs.pod:772
1606 msgid ""
1607 "You might also consider mounting the disk image using our FUSE filesystem "
1608 "support (L<guestmount(1)>)."
1609 msgstr ""
1610
1611 # type: =head2
1612 #: ../src/guestfs.pod:775
1613 msgid "KEYS AND PASSPHRASES"
1614 msgstr ""
1615
1616 # type: textblock
1617 #: ../src/guestfs.pod:777
1618 msgid ""
1619 "Certain libguestfs calls take a parameter that contains sensitive key "
1620 "material, passed in as a C string."
1621 msgstr ""
1622
1623 # type: textblock
1624 #: ../src/guestfs.pod:780
1625 msgid ""
1626 "In the future we would hope to change the libguestfs implementation so that "
1627 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1628 "swap.  However this is I<not> done at the moment, because of the complexity "
1629 "of such an implementation."
1630 msgstr ""
1631
1632 # type: textblock
1633 #: ../src/guestfs.pod:785
1634 msgid ""
1635 "Therefore you should be aware that any key parameter you pass to libguestfs "
1636 "might end up being written out to the swap partition.  If this is a concern, "
1637 "scrub the swap partition or don't use libguestfs on encrypted devices."
1638 msgstr ""
1639
1640 # type: =head1
1641 #: ../src/guestfs.pod:790
1642 msgid "CONNECTION MANAGEMENT"
1643 msgstr ""
1644
1645 # type: =head2
1646 #: ../src/guestfs.pod:792
1647 msgid "guestfs_h *"
1648 msgstr ""
1649
1650 # type: textblock
1651 #: ../src/guestfs.pod:794
1652 msgid ""
1653 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1654 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1655 "handle and release all resources used."
1656 msgstr ""
1657
1658 # type: textblock
1659 #: ../src/guestfs.pod:798
1660 msgid ""
1661 "For information on using multiple handles and threads, see the section L</"
1662 "MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1663 msgstr ""
1664
1665 # type: =head2
1666 #: ../src/guestfs.pod:801
1667 msgid "guestfs_create"
1668 msgstr ""
1669
1670 # type: verbatim
1671 #: ../src/guestfs.pod:803
1672 #, no-wrap
1673 msgid ""
1674 " guestfs_h *guestfs_create (void);\n"
1675 "\n"
1676 msgstr ""
1677
1678 # type: textblock
1679 #: ../src/guestfs.pod:805
1680 msgid "Create a connection handle."
1681 msgstr ""
1682
1683 # type: textblock
1684 #: ../src/guestfs.pod:807
1685 msgid "You have to call L</guestfs_add_drive> on the handle at least once."
1686 msgstr ""
1687
1688 # type: textblock
1689 #: ../src/guestfs.pod:809
1690 msgid ""
1691 "This function returns a non-NULL pointer to a handle on success or NULL on "
1692 "error."
1693 msgstr ""
1694
1695 # type: textblock
1696 #: ../src/guestfs.pod:812
1697 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1698 msgstr ""
1699
1700 # type: textblock
1701 #: ../src/guestfs.pod:814
1702 msgid ""
1703 "You may also want to configure error handling for the handle.  See L</ERROR "
1704 "HANDLING> section below."
1705 msgstr ""
1706
1707 # type: =head2
1708 #: ../src/guestfs.pod:817
1709 msgid "guestfs_close"
1710 msgstr ""
1711
1712 # type: verbatim
1713 #: ../src/guestfs.pod:819
1714 #, no-wrap
1715 msgid ""
1716 " void guestfs_close (guestfs_h *g);\n"
1717 "\n"
1718 msgstr ""
1719
1720 # type: textblock
1721 #: ../src/guestfs.pod:821
1722 msgid "This closes the connection handle and frees up all resources used."
1723 msgstr ""
1724
1725 # type: =head1
1726 #: ../src/guestfs.pod:823
1727 msgid "ERROR HANDLING"
1728 msgstr ""
1729
1730 # type: textblock
1731 #: ../src/guestfs.pod:825
1732 msgid ""
1733 "The convention in all functions that return C<int> is that they return C<-1> "
1734 "to indicate an error.  You can get additional information on errors by "
1735 "calling L</guestfs_last_error> and/or by setting up an error handler with L</"
1736 "guestfs_set_error_handler>."
1737 msgstr ""
1738
1739 # type: textblock
1740 #: ../src/guestfs.pod:830
1741 msgid "The default error handler prints the information string to C<stderr>."
1742 msgstr ""
1743
1744 # type: textblock
1745 #: ../src/guestfs.pod:832
1746 msgid ""
1747 "Out of memory errors are handled differently.  The default action is to call "
1748 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
1749 "guestfs_set_out_of_memory_handler>."
1750 msgstr ""
1751
1752 # type: =head2
1753 #: ../src/guestfs.pod:836
1754 msgid "guestfs_last_error"
1755 msgstr ""
1756
1757 # type: verbatim
1758 #: ../src/guestfs.pod:838
1759 #, no-wrap
1760 msgid ""
1761 " const char *guestfs_last_error (guestfs_h *g);\n"
1762 "\n"
1763 msgstr ""
1764
1765 # type: textblock
1766 #: ../src/guestfs.pod:840
1767 msgid ""
1768 "This returns the last error message that happened on C<g>.  If there has not "
1769 "been an error since the handle was created, then this returns C<NULL>."
1770 msgstr ""
1771
1772 # type: textblock
1773 #: ../src/guestfs.pod:844
1774 msgid ""
1775 "The lifetime of the returned string is until the next error occurs, or L</"
1776 "guestfs_close> is called."
1777 msgstr ""
1778
1779 # type: textblock
1780 #: ../src/guestfs.pod:847
1781 msgid ""
1782 "The error string is not localized (ie. is always in English), because this "
1783 "makes searching for error messages in search engines give the largest number "
1784 "of results."
1785 msgstr ""
1786
1787 # type: =head2
1788 #: ../src/guestfs.pod:851
1789 msgid "guestfs_set_error_handler"
1790 msgstr ""
1791
1792 # type: verbatim
1793 #: ../src/guestfs.pod:853
1794 #, no-wrap
1795 msgid ""
1796 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1797 "                                           void *opaque,\n"
1798 "                                           const char *msg);\n"
1799 " void guestfs_set_error_handler (guestfs_h *g,\n"
1800 "                                 guestfs_error_handler_cb cb,\n"
1801 "                                 void *opaque);\n"
1802 "\n"
1803 msgstr ""
1804
1805 # type: textblock
1806 #: ../src/guestfs.pod:860
1807 msgid ""
1808 "The callback C<cb> will be called if there is an error.  The parameters "
1809 "passed to the callback are an opaque data pointer and the error message "
1810 "string."
1811 msgstr ""
1812
1813 # type: textblock
1814 #: ../src/guestfs.pod:864
1815 msgid ""
1816 "Note that the message string C<msg> is freed as soon as the callback "
1817 "function returns, so if you want to stash it somewhere you must make your "
1818 "own copy."
1819 msgstr ""
1820
1821 # type: textblock
1822 #: ../src/guestfs.pod:868
1823 msgid "The default handler prints messages on C<stderr>."
1824 msgstr ""
1825
1826 # type: textblock
1827 #: ../src/guestfs.pod:870
1828 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1829 msgstr ""
1830
1831 # type: =head2
1832 #: ../src/guestfs.pod:872
1833 msgid "guestfs_get_error_handler"
1834 msgstr ""
1835
1836 # type: verbatim
1837 #: ../src/guestfs.pod:874
1838 #, no-wrap
1839 msgid ""
1840 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1841 "                                                     void **opaque_rtn);\n"
1842 "\n"
1843 msgstr ""
1844
1845 # type: textblock
1846 #: ../src/guestfs.pod:877
1847 msgid "Returns the current error handler callback."
1848 msgstr ""
1849
1850 # type: =head2
1851 #: ../src/guestfs.pod:879
1852 msgid "guestfs_set_out_of_memory_handler"
1853 msgstr ""
1854
1855 # type: verbatim
1856 #: ../src/guestfs.pod:881
1857 #, no-wrap
1858 msgid ""
1859 " typedef void (*guestfs_abort_cb) (void);\n"
1860 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1861 "                                        guestfs_abort_cb);\n"
1862 "\n"
1863 msgstr ""
1864
1865 # type: textblock
1866 #: ../src/guestfs.pod:885
1867 msgid ""
1868 "The callback C<cb> will be called if there is an out of memory situation.  "
1869 "I<Note this callback must not return>."
1870 msgstr ""
1871
1872 # type: textblock
1873 #: ../src/guestfs.pod:888
1874 msgid "The default is to call L<abort(3)>."
1875 msgstr ""
1876
1877 # type: textblock
1878 #: ../src/guestfs.pod:890
1879 msgid ""
1880 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1881 msgstr ""
1882
1883 # type: =head2
1884 #: ../src/guestfs.pod:893
1885 msgid "guestfs_get_out_of_memory_handler"
1886 msgstr ""
1887
1888 # type: verbatim
1889 #: ../src/guestfs.pod:895
1890 #, no-wrap
1891 msgid ""
1892 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1893 "\n"
1894 msgstr ""
1895
1896 # type: textblock
1897 #: ../src/guestfs.pod:897
1898 msgid "This returns the current out of memory handler."
1899 msgstr ""
1900
1901 # type: =head1
1902 #: ../src/guestfs.pod:899
1903 msgid "PATH"
1904 msgstr ""
1905
1906 # type: textblock
1907 #: ../src/guestfs.pod:901
1908 msgid ""
1909 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1910 "internal path."
1911 msgstr ""
1912
1913 # type: textblock
1914 #: ../src/guestfs.pod:904
1915 msgid ""
1916 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
1917 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1918 msgstr ""
1919
1920 # type: textblock
1921 #: ../src/guestfs.pod:907
1922 msgid ""
1923 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1924 "to change the directories that libguestfs will search in.  The value is a "
1925 "colon-separated list of paths.  The current directory is I<not> searched "
1926 "unless the path contains an empty element or C<.>.  For example "
1927 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1928 "then C</usr/lib/guestfs>."
1929 msgstr ""
1930
1931 # type: =head1
1932 #: ../src/guestfs.pod:914
1933 msgid "HIGH-LEVEL API ACTIONS"
1934 msgstr ""
1935
1936 # type: =head2
1937 #: ../src/guestfs.pod:916
1938 msgid "ABI GUARANTEE"
1939 msgstr ""
1940
1941 # type: textblock
1942 #: ../src/guestfs.pod:918
1943 msgid ""
1944 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
1945 "actions as outlined in this section.  Although we will deprecate some "
1946 "actions, for example if they get replaced by newer calls, we will keep the "
1947 "old actions forever.  This allows you the developer to program in confidence "
1948 "against the libguestfs API."
1949 msgstr ""
1950
1951 # type: textblock
1952 #: ../src/guestfs.pod:924 ../fish/guestfish.pod:796
1953 msgid "@ACTIONS@"
1954 msgstr ""
1955
1956 # type: =head1
1957 #: ../src/guestfs.pod:926
1958 msgid "STRUCTURES"
1959 msgstr ""
1960
1961 # type: textblock
1962 #: ../src/guestfs.pod:928
1963 msgid "@STRUCTS@"
1964 msgstr ""
1965
1966 # type: =head1
1967 #: ../src/guestfs.pod:930
1968 msgid "AVAILABILITY"
1969 msgstr ""
1970
1971 # type: =head2
1972 #: ../src/guestfs.pod:932
1973 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
1974 msgstr ""
1975
1976 # type: textblock
1977 #: ../src/guestfs.pod:934
1978 msgid ""
1979 "Using L</guestfs_available> you can test availability of the following "
1980 "groups of functions.  This test queries the appliance to see if the "
1981 "appliance you are currently using supports the functionality."
1982 msgstr ""
1983
1984 # type: textblock
1985 #: ../src/guestfs.pod:939
1986 msgid "@AVAILABILITY@"
1987 msgstr ""
1988
1989 # type: =head2
1990 #: ../src/guestfs.pod:941
1991 msgid "GUESTFISH supported COMMAND"
1992 msgstr ""
1993
1994 # type: textblock
1995 #: ../src/guestfs.pod:943
1996 msgid ""
1997 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
1998 "prints out the available groups and whether they are supported by this build "
1999 "of libguestfs.  Note however that you have to do C<run> first."
2000 msgstr ""
2001
2002 # type: =head2
2003 #: ../src/guestfs.pod:948
2004 msgid "SINGLE CALLS AT COMPILE TIME"
2005 msgstr ""
2006
2007 # type: textblock
2008 #: ../src/guestfs.pod:950
2009 msgid ""
2010 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
2011 "function, such as:"
2012 msgstr ""
2013
2014 # type: verbatim
2015 #: ../src/guestfs.pod:953
2016 #, no-wrap
2017 msgid ""
2018 " #define LIBGUESTFS_HAVE_DD 1\n"
2019 "\n"
2020 msgstr ""
2021
2022 # type: textblock
2023 #: ../src/guestfs.pod:955
2024 msgid "if L</guestfs_dd> is available."
2025 msgstr ""
2026
2027 # type: textblock
2028 #: ../src/guestfs.pod:957
2029 msgid ""
2030 "Before version 1.5.8, if you needed to test whether a single libguestfs "
2031 "function is available at compile time, we recommended using build tools such "
2032 "as autoconf or cmake.  For example in autotools you could use:"
2033 msgstr ""
2034
2035 # type: verbatim
2036 #: ../src/guestfs.pod:962
2037 #, no-wrap
2038 msgid ""
2039 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
2040 " AC_CHECK_FUNCS([guestfs_dd])\n"
2041 "\n"
2042 msgstr ""
2043
2044 # type: textblock
2045 #: ../src/guestfs.pod:965
2046 msgid ""
2047 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
2048 "in your program."
2049 msgstr ""
2050
2051 # type: =head2
2052 #: ../src/guestfs.pod:968
2053 msgid "SINGLE CALLS AT RUN TIME"
2054 msgstr ""
2055
2056 # type: textblock
2057 #: ../src/guestfs.pod:970
2058 msgid ""
2059 "Testing at compile time doesn't guarantee that a function really exists in "
2060 "the library.  The reason is that you might be dynamically linked against a "
2061 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2062 "This situation unfortunately results in a segmentation fault, which is a "
2063 "shortcoming of the C dynamic linking system itself."
2064 msgstr ""
2065
2066 # type: textblock
2067 #: ../src/guestfs.pod:977
2068 msgid ""
2069 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2070 "in this example program (note that you still need the compile time check as "
2071 "well):"
2072 msgstr ""
2073
2074 # type: verbatim
2075 #: ../src/guestfs.pod:981
2076 #, no-wrap
2077 msgid ""
2078 " #include <stdio.h>\n"
2079 " #include <stdlib.h>\n"
2080 " #include <unistd.h>\n"
2081 " #include <dlfcn.h>\n"
2082 " #include <guestfs.h>\n"
2083 " \n"
2084 msgstr ""
2085
2086 # type: verbatim
2087 #: ../src/guestfs.pod:987
2088 #, no-wrap
2089 msgid ""
2090 " main ()\n"
2091 " {\n"
2092 " #ifdef LIBGUESTFS_HAVE_DD\n"
2093 "   void *dl;\n"
2094 "   int has_function;\n"
2095 " \n"
2096 msgstr ""
2097
2098 # type: verbatim
2099 #: ../src/guestfs.pod:993
2100 #, no-wrap
2101 msgid ""
2102 "   /* Test if the function guestfs_dd is really available. */\n"
2103 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2104 "   if (!dl) {\n"
2105 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2106 "     exit (EXIT_FAILURE);\n"
2107 "   }\n"
2108 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2109 "   dlclose (dl);\n"
2110 " \n"
2111 msgstr ""
2112
2113 # type: verbatim
2114 #: ../src/guestfs.pod:1002
2115 #, no-wrap
2116 msgid ""
2117 "   if (!has_function)\n"
2118 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2119 "   else {\n"
2120 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2121 "     /* Now it's safe to call\n"
2122 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2123 "     */\n"
2124 "   }\n"
2125 " #else\n"
2126 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2127 " #endif\n"
2128 "  }\n"
2129 "\n"
2130 msgstr ""
2131
2132 # type: textblock
2133 #: ../src/guestfs.pod:1015
2134 msgid ""
2135 "You may think the above is an awful lot of hassle, and it is.  There are "
2136 "other ways outside of the C linking system to ensure that this kind of "
2137 "incompatibility never arises, such as using package versioning:"
2138 msgstr ""
2139
2140 # type: verbatim
2141 #: ../src/guestfs.pod:1020
2142 #, no-wrap
2143 msgid ""
2144 " Requires: libguestfs >= 1.0.80\n"
2145 "\n"
2146 msgstr ""
2147
2148 # type: =end
2149 #: ../src/guestfs.pod:1022 ../src/guestfs.pod:1027
2150 msgid "html"
2151 msgstr ""
2152
2153 # type: textblock
2154 #: ../src/guestfs.pod:1024
2155 msgid ""
2156 "<!-- old anchor for the next section --> <a name="
2157 "\"state_machine_and_low_level_event_api\"/>"
2158 msgstr ""
2159
2160 # type: =head1
2161 #: ../src/guestfs.pod:1029
2162 msgid "ARCHITECTURE"
2163 msgstr ""
2164
2165 # type: textblock
2166 #: ../src/guestfs.pod:1031
2167 msgid ""
2168 "Internally, libguestfs is implemented by running an appliance (a special "
2169 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2170 "process of the main program."
2171 msgstr ""
2172
2173 # type: verbatim
2174 #: ../src/guestfs.pod:1035
2175 #, no-wrap
2176 msgid ""
2177 "  ___________________\n"
2178 " /                   \\\n"
2179 " | main program      |\n"
2180 " |                   |\n"
2181 " |                   |           child process / appliance\n"
2182 " |                   |           __________________________\n"
2183 " |                   |          / qemu                     \\\n"
2184 " +-------------------+   RPC    |      +-----------------+ |\n"
2185 " | libguestfs     <--------------------> guestfsd        | |\n"
2186 " |                   |          |      +-----------------+ |\n"
2187 " \\___________________/          |      | Linux kernel    | |\n"
2188 "                                |      +--^--------------+ |\n"
2189 "                                \\_________|________________/\n"
2190 "                                          |\n"
2191 "                                   _______v______\n"
2192 "                                  /              \\\n"
2193 "                                  | Device or    |\n"
2194 "                                  | disk image   |\n"
2195 "                                  \\______________/\n"
2196 "\n"
2197 msgstr ""
2198
2199 # type: textblock
2200 #: ../src/guestfs.pod:1055
2201 msgid ""
2202 "The library, linked to the main program, creates the child process and hence "
2203 "the appliance in the L</guestfs_launch> function."
2204 msgstr ""
2205
2206 # type: textblock
2207 #: ../src/guestfs.pod:1058
2208 msgid ""
2209 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2210 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2211 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2212 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2213 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2214 "attached to the qemu process which translates device access by the "
2215 "appliance's Linux kernel into accesses to the image."
2216 msgstr ""
2217
2218 # type: textblock
2219 #: ../src/guestfs.pod:1067
2220 msgid ""
2221 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2222 "Although the disk image you are attached to might also be used by some "
2223 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2224 "care if both libguestfs's qemu process and your virtual machine are trying "
2225 "to update the disk image at the same time, since these usually results in "
2226 "massive disk corruption)."
2227 msgstr ""
2228
2229 # type: =head1
2230 #: ../src/guestfs.pod:1074
2231 msgid "STATE MACHINE"
2232 msgstr ""
2233
2234 # type: textblock
2235 #: ../src/guestfs.pod:1076
2236 msgid "libguestfs uses a state machine to model the child process:"
2237 msgstr ""
2238
2239 # type: verbatim
2240 #: ../src/guestfs.pod:1078
2241 #, no-wrap
2242 msgid ""
2243 "                         |\n"
2244 "                    guestfs_create\n"
2245 "                         |\n"
2246 "                         |\n"
2247 "                     ____V_____\n"
2248 "                    /          \\\n"
2249 "                    |  CONFIG  |\n"
2250 "                    \\__________/\n"
2251 "                     ^ ^   ^  \\\n"
2252 "                    /  |    \\  \\ guestfs_launch\n"
2253 "                   /   |    _\\__V______\n"
2254 "                  /    |   /           \\\n"
2255 "                 /     |   | LAUNCHING |\n"
2256 "                /      |   \\___________/\n"
2257 "               /       |       /\n"
2258 "              /        |  guestfs_launch\n"
2259 "             /         |     /\n"
2260 "    ______  /        __|____V\n"
2261 "   /      \\ ------> /        \\\n"
2262 "   | BUSY |         | READY  |\n"
2263 "   \\______/ <------ \\________/\n"
2264 "\n"
2265 msgstr ""
2266
2267 # type: textblock
2268 #: ../src/guestfs.pod:1100
2269 msgid ""
2270 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2271 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2272 "(3) alternating between READY and BUSY as commands are issued to, and "
2273 "carried out by, the child process."
2274 msgstr ""
2275
2276 # type: textblock
2277 #: ../src/guestfs.pod:1105
2278 msgid ""
2279 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2280 "asynchronously at any time (eg. due to some internal error), and that causes "
2281 "the state to transition back to CONFIG."
2282 msgstr ""
2283
2284 # type: textblock
2285 #: ../src/guestfs.pod:1109
2286 msgid ""
2287 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2288 "issued when in the CONFIG state."
2289 msgstr ""
2290
2291 # type: textblock
2292 #: ../src/guestfs.pod:1112
2293 msgid ""
2294 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
2295 "L</guestfs_launch> blocks until the child process is READY to accept "
2296 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2297 "moves the state from CONFIG to LAUNCHING while it is running."
2298 msgstr ""
2299
2300 # type: textblock
2301 #: ../src/guestfs.pod:1118
2302 msgid ""
2303 "API actions such as L</guestfs_mount> can only be issued when in the READY "
2304 "state.  These API calls block waiting for the command to be carried out (ie. "
2305 "the state to transition to BUSY and then back to READY).  There are no non-"
2306 "blocking versions, and no way to issue more than one command per handle at "
2307 "the same time."
2308 msgstr ""
2309
2310 # type: textblock
2311 #: ../src/guestfs.pod:1124
2312 msgid ""
2313 "Finally, the child process sends asynchronous messages back to the main "
2314 "program, such as kernel log messages.  You can register a callback to "
2315 "receive these messages."
2316 msgstr ""
2317
2318 # type: =head2
2319 #: ../src/guestfs.pod:1128
2320 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2321 msgstr ""
2322
2323 # type: textblock
2324 #: ../src/guestfs.pod:1130
2325 msgid ""
2326 "The child process generates events in some situations.  Current events "
2327 "include: receiving a log message, the child process exits."
2328 msgstr ""
2329
2330 # type: textblock
2331 #: ../src/guestfs.pod:1133
2332 msgid ""
2333 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2334 "types of events."
2335 msgstr ""
2336
2337 # type: textblock
2338 #: ../src/guestfs.pod:1136
2339 msgid ""
2340 "Only I<one callback of each type> can be registered for each handle.  "
2341 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2342 "that type.  Cancel all callbacks of this type by calling this function with "
2343 "C<cb> set to C<NULL>."
2344 msgstr ""
2345
2346 # type: =head2
2347 #: ../src/guestfs.pod:1141
2348 msgid "guestfs_set_log_message_callback"
2349 msgstr ""
2350
2351 # type: verbatim
2352 #: ../src/guestfs.pod:1143
2353 #, no-wrap
2354 msgid ""
2355 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2356 "                                         char *buf, int len);\n"
2357 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2358 "                                        guestfs_log_message_cb cb,\n"
2359 "                                        void *opaque);\n"
2360 "\n"
2361 msgstr ""
2362
2363 # type: textblock
2364 #: ../src/guestfs.pod:1149
2365 msgid ""
2366 "The callback function C<cb> will be called whenever qemu or the guest writes "
2367 "anything to the console."
2368 msgstr ""
2369
2370 # type: textblock
2371 #: ../src/guestfs.pod:1152
2372 msgid "Use this function to capture kernel messages and similar."
2373 msgstr ""
2374
2375 # type: textblock
2376 #: ../src/guestfs.pod:1154
2377 msgid ""
2378 "Normally there is no log message handler, and log messages are just "
2379 "discarded."
2380 msgstr ""
2381
2382 # type: =head2
2383 #: ../src/guestfs.pod:1157
2384 msgid "guestfs_set_subprocess_quit_callback"
2385 msgstr ""
2386
2387 # type: verbatim
2388 #: ../src/guestfs.pod:1159
2389 #, no-wrap
2390 msgid ""
2391 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2392 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2393 "                                            guestfs_subprocess_quit_cb cb,\n"
2394 "                                            void *opaque);\n"
2395 "\n"
2396 msgstr ""
2397
2398 # type: textblock
2399 #: ../src/guestfs.pod:1164
2400 msgid ""
2401 "The callback function C<cb> will be called when the child process quits, "
2402 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2403 "corresponds to a transition from any state to the CONFIG state)."
2404 msgstr ""
2405
2406 # type: =head2
2407 #: ../src/guestfs.pod:1169
2408 msgid "guestfs_set_launch_done_callback"
2409 msgstr ""
2410
2411 # type: verbatim
2412 #: ../src/guestfs.pod:1171
2413 #, no-wrap
2414 msgid ""
2415 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2416 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2417 "                                        guestfs_launch_done_cb cb,\n"
2418 "                                        void *opaque);\n"
2419 "\n"
2420 msgstr ""
2421
2422 # type: textblock
2423 #: ../src/guestfs.pod:1176
2424 msgid ""
2425 "The callback function C<cb> will be called when the child process becomes "
2426 "ready first time after it has been launched.  (This corresponds to a "
2427 "transition from LAUNCHING to the READY state)."
2428 msgstr ""
2429
2430 # type: =head2
2431 #: ../src/guestfs.pod:1180
2432 msgid "guestfs_set_close_callback"
2433 msgstr ""
2434
2435 # type: verbatim
2436 #: ../src/guestfs.pod:1182
2437 #, no-wrap
2438 msgid ""
2439 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2440 " void guestfs_set_close_callback (guestfs_h *g,\n"
2441 "                                  guestfs_close_cb cb,\n"
2442 "                                  void *opaque);\n"
2443 "\n"
2444 msgstr ""
2445
2446 # type: textblock
2447 #: ../src/guestfs.pod:1187
2448 msgid ""
2449 "The callback function C<cb> will be called while the handle is being closed "
2450 "(synchronously from L</guestfs_close>)."
2451 msgstr ""
2452
2453 # type: textblock
2454 #: ../src/guestfs.pod:1190
2455 msgid ""
2456 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2457 "handles that are open when the program exits.  This means that this callback "
2458 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2459 "problems in higher-level languages (eg. if your HLL interpreter has already "
2460 "been cleaned up by the time this is called, and if your callback then jumps "
2461 "into some HLL function)."
2462 msgstr ""
2463
2464 # type: =head2
2465 #: ../src/guestfs.pod:1198
2466 msgid "guestfs_set_progress_callback"
2467 msgstr ""
2468
2469 # type: verbatim
2470 #: ../src/guestfs.pod:1200
2471 #, no-wrap
2472 msgid ""
2473 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2474 "                                      int proc_nr, int serial,\n"
2475 "                                      uint64_t position, uint64_t total);\n"
2476 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2477 "                                     guestfs_progress_cb cb,\n"
2478 "                                     void *opaque);\n"
2479 "\n"
2480 msgstr ""
2481
2482 # type: textblock
2483 #: ../src/guestfs.pod:1207
2484 msgid ""
2485 "Some long-running operations can generate progress messages.  If this "
2486 "callback is registered, then it will be called each time a progress message "
2487 "is generated (usually two seconds after the operation started, and three "
2488 "times per second thereafter until it completes, although the frequency may "
2489 "change in future versions)."
2490 msgstr ""
2491
2492 # type: textblock
2493 #: ../src/guestfs.pod:1213
2494 msgid ""
2495 "The callback receives two numbers: C<position> and C<total>.  The units of "
2496 "C<total> are not defined, although for some operations C<total> may relate "
2497 "in some way to the amount of data to be transferred (eg. in bytes or "
2498 "megabytes), and C<position> may be the portion which has been transferred."
2499 msgstr ""
2500
2501 # type: textblock
2502 #: ../src/guestfs.pod:1219
2503 msgid "The only defined and stable parts of the API are:"
2504 msgstr ""
2505
2506 # type: textblock
2507 #: ../src/guestfs.pod:1225
2508 msgid ""
2509 "The callback can display to the user some type of progress bar or indicator "
2510 "which shows the ratio of C<position>:C<total>."
2511 msgstr ""
2512
2513 # type: textblock
2514 #: ../src/guestfs.pod:1230
2515 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2516 msgstr ""
2517
2518 # type: textblock
2519 #: ../src/guestfs.pod:1234
2520 msgid ""
2521 "If any progress notification is sent during a call, then a final progress "
2522 "notification is always sent when C<position> = C<total>."
2523 msgstr ""
2524
2525 # type: textblock
2526 #: ../src/guestfs.pod:1237
2527 msgid ""
2528 "This is to simplify caller code, so callers can easily set the progress "
2529 "indicator to \"100%\" at the end of the operation, without requiring special "
2530 "code to detect this case."
2531 msgstr ""
2532
2533 # type: textblock
2534 #: ../src/guestfs.pod:1243
2535 msgid ""
2536 "The callback also receives the procedure number and serial number of the "
2537 "call.  These are only useful for debugging protocol issues, and the callback "
2538 "can normally ignore them.  The callback may want to print these numbers in "
2539 "error messages or debugging messages."
2540 msgstr ""
2541
2542 # type: =head1
2543 #: ../src/guestfs.pod:1248
2544 msgid "PRIVATE DATA AREA"
2545 msgstr ""
2546
2547 # type: textblock
2548 #: ../src/guestfs.pod:1250
2549 msgid ""
2550 "You can attach named pieces of private data to the libguestfs handle, and "
2551 "fetch them by name for the lifetime of the handle.  This is called the "
2552 "private data area and is only available from the C API."
2553 msgstr ""
2554
2555 # type: textblock
2556 #: ../src/guestfs.pod:1254
2557 msgid "To attach a named piece of data, use the following call:"
2558 msgstr ""
2559
2560 # type: verbatim
2561 #: ../src/guestfs.pod:1256
2562 #, no-wrap
2563 msgid ""
2564 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2565 "\n"
2566 msgstr ""
2567
2568 # type: textblock
2569 #: ../src/guestfs.pod:1258
2570 msgid ""
2571 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2572 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2573 "overwritten."
2574 msgstr ""
2575
2576 # type: textblock
2577 #: ../src/guestfs.pod:1262
2578 msgid ""
2579 "You can use any C<key> you want, but names beginning with an underscore "
2580 "character are reserved for internal libguestfs purposes (for implementing "
2581 "language bindings).  It is recommended to prefix the name with some unique "
2582 "string to avoid collisions with other users."
2583 msgstr ""
2584
2585 # type: textblock
2586 #: ../src/guestfs.pod:1267
2587 msgid "To retrieve the pointer, use:"
2588 msgstr ""
2589
2590 # type: verbatim
2591 #: ../src/guestfs.pod:1269
2592 #, no-wrap
2593 msgid ""
2594 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2595 "\n"
2596 msgstr ""
2597
2598 # type: textblock
2599 #: ../src/guestfs.pod:1271
2600 msgid ""
2601 "This function returns C<NULL> if either no data is found associated with "
2602 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2603 "C<NULL>."
2604 msgstr ""
2605
2606 # type: textblock
2607 #: ../src/guestfs.pod:1275
2608 msgid ""
2609 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2610 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2611 "all.  In particular, libguestfs does I<not> try to free the data when the "
2612 "handle is closed.  If the data must be freed, then the caller must either "
2613 "free it before calling L</guestfs_close> or must set up a close callback to "
2614 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2615 "can be registered for a handle)."
2616 msgstr ""
2617
2618 # type: textblock
2619 #: ../src/guestfs.pod:1283
2620 msgid ""
2621 "The private data area is implemented using a hash table, and should be "
2622 "reasonably efficient for moderate numbers of keys."
2623 msgstr ""
2624
2625 # type: =head1
2626 #: ../src/guestfs.pod:1286
2627 msgid "BLOCK DEVICE NAMING"
2628 msgstr ""
2629
2630 # type: textblock
2631 #: ../src/guestfs.pod:1288
2632 msgid ""
2633 "In the kernel there is now quite a profusion of schemata for naming block "
2634 "devices (in this context, by I<block device> I mean a physical or virtual "
2635 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
2636 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
2637 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
2638 "for the old IDE driver (particularly for SATA devices) those devices also "
2639 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
2640 "paravirtualized drivers.  This has created several different naming systems, "
2641 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
2642 msgstr ""
2643
2644 # type: textblock
2645 #: ../src/guestfs.pod:1300
2646 msgid ""
2647 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2648 "Linux kernel to access block devices.  We can run a variety of appliances "
2649 "based on a variety of Linux kernels."
2650 msgstr ""
2651
2652 # type: textblock
2653 #: ../src/guestfs.pod:1304
2654 msgid ""
2655 "This causes a problem for libguestfs because many API calls use device or "
2656 "partition names.  Working scripts and the recipe (example) scripts that we "
2657 "make available over the internet could fail if the naming scheme changes."
2658 msgstr ""
2659
2660 # type: textblock
2661 #: ../src/guestfs.pod:1309
2662 msgid ""
2663 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2664 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2665 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2666 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2667 msgstr ""
2668
2669 # type: textblock
2670 #: ../src/guestfs.pod:1315
2671 msgid ""
2672 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2673 "L</guestfs_list_partitions> and similar calls return the true names of the "
2674 "devices and partitions as known to the appliance."
2675 msgstr ""
2676
2677 # type: =head2
2678 #: ../src/guestfs.pod:1320
2679 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2680 msgstr ""
2681
2682 # type: textblock
2683 #: ../src/guestfs.pod:1322
2684 msgid ""
2685 "Usually this translation is transparent.  However in some (very rare)  cases "
2686 "you may need to know the exact algorithm.  Such cases include where you use "
2687 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
2688 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
2689 msgstr ""
2690
2691 # type: textblock
2692 #: ../src/guestfs.pod:1328
2693 msgid ""
2694 "The algorithm is applied only to I<parameters> which are known to be either "
2695 "device or partition names.  Return values from functions such as L</"
2696 "guestfs_list_devices> are never changed."
2697 msgstr ""
2698
2699 # type: textblock
2700 #: ../src/guestfs.pod:1336
2701 msgid "Is the string a parameter which is a device or partition name?"
2702 msgstr ""
2703
2704 # type: textblock
2705 #: ../src/guestfs.pod:1340
2706 msgid "Does the string begin with C</dev/sd>?"
2707 msgstr ""
2708
2709 # type: textblock
2710 #: ../src/guestfs.pod:1344
2711 msgid ""
2712 "Does the named device exist? If so, we use that device.  However if I<not> "
2713 "then we continue with this algorithm."
2714 msgstr ""
2715
2716 # type: textblock
2717 #: ../src/guestfs.pod:1349
2718 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2719 msgstr ""
2720
2721 # type: textblock
2722 #: ../src/guestfs.pod:1351
2723 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2724 msgstr ""
2725
2726 # type: textblock
2727 #: ../src/guestfs.pod:1353
2728 msgid "If that named device exists, use it.  If not, continue."
2729 msgstr ""
2730
2731 # type: textblock
2732 #: ../src/guestfs.pod:1357
2733 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2734 msgstr ""
2735
2736 # type: textblock
2737 #: ../src/guestfs.pod:1359
2738 msgid "If that named device exists, use it.  If not, return an error."
2739 msgstr ""
2740
2741 # type: =head2
2742 #: ../src/guestfs.pod:1363
2743 msgid "PORTABILITY CONCERNS"
2744 msgstr ""
2745
2746 # type: textblock
2747 #: ../src/guestfs.pod:1365
2748 msgid ""
2749 "Although the standard naming scheme and automatic translation is useful for "
2750 "simple programs and guestfish scripts, for larger programs it is best not to "
2751 "rely on this mechanism."
2752 msgstr ""
2753
2754 # type: textblock
2755 #: ../src/guestfs.pod:1369
2756 msgid ""
2757 "Where possible for maximum future portability programs using libguestfs "
2758 "should use these future-proof techniques:"
2759 msgstr ""
2760
2761 # type: textblock
2762 #: ../src/guestfs.pod:1376
2763 msgid ""
2764 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
2765 "device names, and then use those names directly."
2766 msgstr ""
2767
2768 # type: textblock
2769 #: ../src/guestfs.pod:1379
2770 msgid ""
2771 "Since those device names exist by definition, they will never be translated."
2772 msgstr ""
2773
2774 # type: textblock
2775 #: ../src/guestfs.pod:1384
2776 msgid ""
2777 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
2778 "filesystem labels."
2779 msgstr ""
2780
2781 # type: =head1
2782 #: ../src/guestfs.pod:1389
2783 msgid "INTERNALS"
2784 msgstr ""
2785
2786 # type: =head2
2787 #: ../src/guestfs.pod:1391
2788 msgid "COMMUNICATION PROTOCOL"
2789 msgstr ""
2790
2791 # type: textblock
2792 #: ../src/guestfs.pod:1393
2793 msgid ""
2794 "Don't rely on using this protocol directly.  This section documents how it "
2795 "currently works, but it may change at any time."
2796 msgstr ""
2797
2798 # type: textblock
2799 #: ../src/guestfs.pod:1396
2800 msgid ""
2801 "The protocol used to talk between the library and the daemon running inside "
2802 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
2803 "1014, RFC 1832, RFC 4506)."
2804 msgstr ""
2805
2806 # type: textblock
2807 #: ../src/guestfs.pod:1400
2808 msgid ""
2809 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
2810 "this file is automatically generated)."
2811 msgstr ""
2812
2813 # type: textblock
2814 #: ../src/guestfs.pod:1403
2815 msgid ""
2816 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
2817 "and C<FileOut> parameters, which are handled with very simple request/reply "
2818 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
2819 "parameters, which use the same request and reply messages, but they may also "
2820 "be followed by files sent using a chunked encoding."
2821 msgstr ""
2822
2823 # type: =head3
2824 #: ../src/guestfs.pod:1410
2825 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
2826 msgstr ""
2827
2828 # type: textblock
2829 #: ../src/guestfs.pod:1412
2830 msgid "For ordinary functions, the request message is:"
2831 msgstr ""
2832
2833 # type: verbatim
2834 #: ../src/guestfs.pod:1414
2835 #, no-wrap
2836 msgid ""
2837 " total length (header + arguments,\n"
2838 "      but not including the length word itself)\n"
2839 " struct guestfs_message_header (encoded as XDR)\n"
2840 " struct guestfs_<foo>_args (encoded as XDR)\n"
2841 "\n"
2842 msgstr ""
2843
2844 # type: textblock
2845 #: ../src/guestfs.pod:1419
2846 msgid ""
2847 "The total length field allows the daemon to allocate a fixed size buffer "
2848 "into which it slurps the rest of the message.  As a result, the total length "
2849 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
2850 "effective size of any request is limited to somewhere under this size."
2851 msgstr ""
2852
2853 # type: textblock
2854 #: ../src/guestfs.pod:1425
2855 msgid ""
2856 "Note also that many functions don't take any arguments, in which case the "
2857 "C<guestfs_I<foo>_args> is completely omitted."
2858 msgstr ""
2859
2860 # type: textblock
2861 #: ../src/guestfs.pod:1428
2862 msgid ""
2863 "The header contains the procedure number (C<guestfs_proc>) which is how the "
2864 "receiver knows what type of args structure to expect, or none at all."
2865 msgstr ""
2866
2867 # type: textblock
2868 #: ../src/guestfs.pod:1432
2869 msgid "The reply message for ordinary functions is:"
2870 msgstr ""
2871
2872 # type: verbatim
2873 #: ../src/guestfs.pod:1434
2874 #, no-wrap
2875 msgid ""
2876 " total length (header + ret,\n"
2877 "      but not including the length word itself)\n"
2878 " struct guestfs_message_header (encoded as XDR)\n"
2879 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2880 "\n"
2881 msgstr ""
2882
2883 # type: textblock
2884 #: ../src/guestfs.pod:1439
2885 msgid ""
2886 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
2887 "functions that return no formal return values."
2888 msgstr ""
2889
2890 # type: textblock
2891 #: ../src/guestfs.pod:1442
2892 msgid ""
2893 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
2894 msgstr ""
2895
2896 # type: textblock
2897 #: ../src/guestfs.pod:1445
2898 msgid ""
2899 "In the case of an error, a flag is set in the header, and the reply message "
2900 "is slightly changed:"
2901 msgstr ""
2902
2903 # type: verbatim
2904 #: ../src/guestfs.pod:1448
2905 #, no-wrap
2906 msgid ""
2907 " total length (header + error,\n"
2908 "      but not including the length word itself)\n"
2909 " struct guestfs_message_header (encoded as XDR)\n"
2910 " struct guestfs_message_error (encoded as XDR)\n"
2911 "\n"
2912 msgstr ""
2913
2914 # type: textblock
2915 #: ../src/guestfs.pod:1453
2916 msgid ""
2917 "The C<guestfs_message_error> structure contains the error message as a "
2918 "string."
2919 msgstr ""
2920
2921 # type: =head3
2922 #: ../src/guestfs.pod:1456
2923 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
2924 msgstr ""
2925
2926 # type: textblock
2927 #: ../src/guestfs.pod:1458
2928 msgid ""
2929 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
2930 "The normal request message is sent (see above).  However this is followed by "
2931 "a sequence of file chunks."
2932 msgstr ""
2933
2934 # type: verbatim
2935 #: ../src/guestfs.pod:1462
2936 #, no-wrap
2937 msgid ""
2938 " total length (header + arguments,\n"
2939 "      but not including the length word itself,\n"
2940 "      and not including the chunks)\n"
2941 " struct guestfs_message_header (encoded as XDR)\n"
2942 " struct guestfs_<foo>_args (encoded as XDR)\n"
2943 " sequence of chunks for FileIn param #0\n"
2944 " sequence of chunks for FileIn param #1 etc.\n"
2945 "\n"
2946 msgstr ""
2947
2948 # type: textblock
2949 #: ../src/guestfs.pod:1470
2950 msgid "The \"sequence of chunks\" is:"
2951 msgstr ""
2952
2953 # type: verbatim
2954 #: ../src/guestfs.pod:1472
2955 #, no-wrap
2956 msgid ""
2957 " length of chunk (not including length word itself)\n"
2958 " struct guestfs_chunk (encoded as XDR)\n"
2959 " length of chunk\n"
2960 " struct guestfs_chunk (encoded as XDR)\n"
2961 "   ...\n"
2962 " length of chunk\n"
2963 " struct guestfs_chunk (with data.data_len == 0)\n"
2964 "\n"
2965 msgstr ""
2966
2967 # type: textblock
2968 #: ../src/guestfs.pod:1480
2969 msgid ""
2970 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
2971 "is set in the final chunk to indicate either successful completion or early "
2972 "cancellation."
2973 msgstr ""
2974
2975 # type: textblock
2976 #: ../src/guestfs.pod:1484
2977 msgid ""
2978 "At time of writing there are no functions that have more than one FileIn "
2979 "parameter.  However this is (theoretically) supported, by sending the "
2980 "sequence of chunks for each FileIn parameter one after another (from left to "
2981 "right)."
2982 msgstr ""
2983
2984 # type: textblock
2985 #: ../src/guestfs.pod:1489
2986 msgid ""
2987 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
2988 "transfer.  The library does this by sending a chunk with a special flag set "
2989 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
2990 "RPC, does I<not> send any reply, and goes back to reading the next request."
2991 msgstr ""
2992
2993 # type: textblock
2994 #: ../src/guestfs.pod:1495
2995 msgid ""
2996 "The daemon may also cancel.  It does this by writing a special word "
2997 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
2998 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
2999 "cancel chunk).  The special word is chosen so that even if cancellation "
3000 "happens right at the end of the transfer (after the library has finished "
3001 "writing and has started listening for the reply), the \"spurious\" cancel "
3002 "flag will not be confused with the reply message."
3003 msgstr ""
3004
3005 # type: textblock
3006 #: ../src/guestfs.pod:1504
3007 msgid ""
3008 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
3009 "limit), and also files where the size is not known in advance (eg. from "
3010 "pipes or sockets).  However the chunks are rather small "
3011 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
3012 "to keep much in memory."
3013 msgstr ""
3014
3015 # type: =head3
3016 #: ../src/guestfs.pod:1510
3017 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
3018 msgstr ""
3019
3020 # type: textblock
3021 #: ../src/guestfs.pod:1512
3022 msgid ""
3023 "The protocol for FileOut parameters is exactly the same as for FileIn "
3024 "parameters, but with the roles of daemon and library reversed."
3025 msgstr ""
3026
3027 # type: verbatim
3028 #: ../src/guestfs.pod:1515
3029 #, no-wrap
3030 msgid ""
3031 " total length (header + ret,\n"
3032 "      but not including the length word itself,\n"
3033 "      and not including the chunks)\n"
3034 " struct guestfs_message_header (encoded as XDR)\n"
3035 " struct guestfs_<foo>_ret (encoded as XDR)\n"
3036 " sequence of chunks for FileOut param #0\n"
3037 " sequence of chunks for FileOut param #1 etc.\n"
3038 "\n"
3039 msgstr ""
3040
3041 # type: =head3
3042 #: ../src/guestfs.pod:1523
3043 msgid "INITIAL MESSAGE"
3044 msgstr ""
3045
3046 # type: textblock
3047 #: ../src/guestfs.pod:1525
3048 msgid ""
3049 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
3050 "which indicates that the guest and daemon is alive.  This is what L</"
3051 "guestfs_launch> waits for."
3052 msgstr ""
3053
3054 # type: =head3
3055 #: ../src/guestfs.pod:1529
3056 msgid "PROGRESS NOTIFICATION MESSAGES"
3057 msgstr ""
3058
3059 # type: textblock
3060 #: ../src/guestfs.pod:1531
3061 msgid ""
3062 "The daemon may send progress notification messages at any time.  These are "
3063 "distinguished by the normal length word being replaced by "
3064 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
3065 msgstr ""
3066
3067 # type: textblock
3068 #: ../src/guestfs.pod:1535
3069 msgid ""
3070 "The library turns them into progress callbacks (see "
3071 "C<guestfs_set_progress_callback>) if there is a callback registered, or "
3072 "discards them if not."
3073 msgstr ""
3074
3075 # type: textblock
3076 #: ../src/guestfs.pod:1539
3077 msgid ""
3078 "The daemon self-limits the frequency of progress messages it sends (see "
3079 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
3080 "messages."
3081 msgstr ""
3082
3083 # type: =head1
3084 #: ../src/guestfs.pod:1543
3085 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
3086 msgstr ""
3087
3088 # type: textblock
3089 #: ../src/guestfs.pod:1545
3090 msgid ""
3091 "All high-level libguestfs actions are synchronous.  If you want to use "
3092 "libguestfs asynchronously then you must create a thread."
3093 msgstr ""
3094
3095 # type: textblock
3096 #: ../src/guestfs.pod:1548
3097 msgid ""
3098 "Only use the handle from a single thread.  Either use the handle exclusively "
3099 "from one thread, or provide your own mutex so that two threads cannot issue "
3100 "calls on the same handle at the same time."
3101 msgstr ""
3102
3103 # type: textblock
3104 #: ../src/guestfs.pod:1552
3105 msgid ""
3106 "See the graphical program guestfs-browser for one possible architecture for "
3107 "multithreaded programs using libvirt and libguestfs."
3108 msgstr ""
3109
3110 # type: =head1
3111 #: ../src/guestfs.pod:1555
3112 msgid "QEMU WRAPPERS"
3113 msgstr ""
3114
3115 # type: textblock
3116 #: ../src/guestfs.pod:1557
3117 msgid ""
3118 "If you want to compile your own qemu, run qemu from a non-standard location, "
3119 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3120 "around qemu."
3121 msgstr ""
3122
3123 # type: textblock
3124 #: ../src/guestfs.pod:1561
3125 msgid ""
3126 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3127 "last command in the shell script (so that qemu replaces the shell and "
3128 "becomes the direct child of the libguestfs-using program).  If you don't do "
3129 "this, then the qemu process won't be cleaned up correctly."
3130 msgstr ""
3131
3132 # type: textblock
3133 #: ../src/guestfs.pod:1566
3134 msgid ""
3135 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3136 "source:"
3137 msgstr ""
3138
3139 # type: verbatim
3140 #: ../src/guestfs.pod:1569
3141 #, no-wrap
3142 msgid ""
3143 " #!/bin/sh -\n"
3144 " qemudir=/home/rjones/d/qemu\n"
3145 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
3146 "\n"
3147 msgstr ""
3148
3149 # type: textblock
3150 #: ../src/guestfs.pod:1573
3151 msgid ""
3152 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3153 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3154 "example:"
3155 msgstr ""
3156
3157 # type: verbatim
3158 #: ../src/guestfs.pod:1577
3159 #, no-wrap
3160 msgid ""
3161 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3162 "\n"
3163 msgstr ""
3164
3165 # type: textblock
3166 #: ../src/guestfs.pod:1579
3167 msgid ""
3168 "Note that libguestfs also calls qemu with the -help and -version options in "
3169 "order to determine features."
3170 msgstr ""
3171
3172 # type: =head1
3173 #: ../src/guestfs.pod:1582
3174 msgid "LIBGUESTFS VERSION NUMBERS"
3175 msgstr ""
3176
3177 # type: textblock
3178 #: ../src/guestfs.pod:1584
3179 msgid ""
3180 "Since April 2010, libguestfs has started to make separate development and "
3181 "stable releases, along with corresponding branches in our git repository.  "
3182 "These separate releases can be identified by version number:"
3183 msgstr ""
3184
3185 # type: verbatim
3186 #: ../src/guestfs.pod:1589
3187 #, no-wrap
3188 msgid ""
3189 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3190 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3191 "       |\n"
3192 "       v\n"
3193 " 1  .  3  .  5\n"
3194 " ^           ^\n"
3195 " |           |\n"
3196 " |           `-------- sub-version\n"
3197 " |\n"
3198 " `------ always '1' because we don't change the ABI\n"
3199 "\n"
3200 msgstr ""
3201
3202 # type: textblock
3203 #: ../src/guestfs.pod:1600
3204 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3205 msgstr ""
3206
3207 # type: textblock
3208 #: ../src/guestfs.pod:1602
3209 msgid ""
3210 "As time passes we cherry pick fixes from the development branch and backport "
3211 "those into the stable branch, the effect being that the stable branch should "
3212 "get more stable and less buggy over time.  So the stable releases are ideal "
3213 "for people who don't need new features but would just like the software to "
3214 "work."
3215 msgstr ""
3216
3217 # type: textblock
3218 #: ../src/guestfs.pod:1608
3219 msgid "Our criteria for backporting changes are:"
3220 msgstr ""
3221
3222 # type: textblock
3223 #: ../src/guestfs.pod:1614
3224 msgid ""
3225 "Documentation changes which don't affect any code are backported unless the "
3226 "documentation refers to a future feature which is not in stable."
3227 msgstr ""
3228
3229 # type: textblock
3230 #: ../src/guestfs.pod:1620
3231 msgid ""
3232 "Bug fixes which are not controversial, fix obvious problems, and have been "
3233 "well tested are backported."
3234 msgstr ""
3235
3236 # type: textblock
3237 #: ../src/guestfs.pod:1625
3238 msgid ""
3239 "Simple rearrangements of code which shouldn't affect how it works get "
3240 "backported.  This is so that the code in the two branches doesn't get too "
3241 "far out of step, allowing us to backport future fixes more easily."
3242 msgstr ""
3243
3244 # type: textblock
3245 #: ../src/guestfs.pod:1631
3246 msgid ""
3247 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3248 "exceptional case: the new feature is required in order to implement an "
3249 "important bug fix."
3250 msgstr ""
3251
3252 # type: textblock
3253 #: ../src/guestfs.pod:1637
3254 msgid ""
3255 "A new stable branch starts when we think the new features in development are "
3256 "substantial and compelling enough over the current stable branch to warrant "
3257 "it.  When that happens we create new stable and development versions 1.N.0 "
3258 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3259 "stable at this point, but by backporting fixes from development, that branch "
3260 "will stabilize over time."
3261 msgstr ""
3262
3263 # type: =head1
3264 #: ../src/guestfs.pod:1645 ../fish/guestfish.pod:803
3265 #: ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312
3266 #: ../tools/virt-rescue.pl:226
3267 msgid "ENVIRONMENT VARIABLES"
3268 msgstr ""
3269
3270 # type: =item
3271 #: ../src/guestfs.pod:1649 ../fish/guestfish.pod:829
3272 msgid "LIBGUESTFS_APPEND"
3273 msgstr ""
3274
3275 # type: textblock
3276 #: ../src/guestfs.pod:1651 ../fish/guestfish.pod:831
3277 msgid "Pass additional options to the guest kernel."
3278 msgstr ""
3279
3280 # type: =item
3281 #: ../src/guestfs.pod:1653 ../fish/guestfish.pod:833
3282 msgid "LIBGUESTFS_DEBUG"
3283 msgstr ""
3284
3285 # type: textblock
3286 #: ../src/guestfs.pod:1655
3287 msgid ""
3288 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3289 "effect as calling C<guestfs_set_verbose (g, 1)>."
3290 msgstr ""
3291
3292 # type: =item
3293 #: ../src/guestfs.pod:1658 ../fish/guestfish.pod:838
3294 msgid "LIBGUESTFS_MEMSIZE"
3295 msgstr ""
3296
3297 # type: textblock
3298 #: ../src/guestfs.pod:1660 ../fish/guestfish.pod:840
3299 msgid ""
3300 "Set the memory allocated to the qemu process, in megabytes.  For example:"
3301 msgstr ""
3302
3303 # type: verbatim
3304 #: ../src/guestfs.pod:1663 ../fish/guestfish.pod:843
3305 #, no-wrap
3306 msgid ""
3307 " LIBGUESTFS_MEMSIZE=700\n"
3308 "\n"
3309 msgstr ""
3310
3311 # type: =item
3312 #: ../src/guestfs.pod:1665 ../fish/guestfish.pod:845
3313 msgid "LIBGUESTFS_PATH"
3314 msgstr ""
3315
3316 # type: textblock
3317 #: ../src/guestfs.pod:1667
3318 msgid ""
3319 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3320 "the discussion of paths in section PATH above."
3321 msgstr ""
3322
3323 # type: =item
3324 #: ../src/guestfs.pod:1670 ../fish/guestfish.pod:850
3325 msgid "LIBGUESTFS_QEMU"
3326 msgstr ""
3327
3328 # type: textblock
3329 #: ../src/guestfs.pod:1672 ../fish/guestfish.pod:852
3330 msgid ""
3331 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3332 "which was found at compile time by the configure script is used."
3333 msgstr ""
3334
3335 # type: textblock
3336 #: ../src/guestfs.pod:1676
3337 msgid "See also L</QEMU WRAPPERS> above."
3338 msgstr ""
3339
3340 # type: =item
3341 #: ../src/guestfs.pod:1678 ../fish/guestfish.pod:856
3342 msgid "LIBGUESTFS_TRACE"
3343 msgstr ""
3344
3345 # type: textblock
3346 #: ../src/guestfs.pod:1680
3347 msgid ""
3348 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3349 "effect as calling C<guestfs_set_trace (g, 1)>."
3350 msgstr ""
3351
3352 # type: =item
3353 #: ../src/guestfs.pod:1683 ../fish/guestfish.pod:865
3354 msgid "TMPDIR"
3355 msgstr ""
3356
3357 # type: textblock
3358 #: ../src/guestfs.pod:1685 ../fish/guestfish.pod:867
3359 msgid "Location of temporary directory, defaults to C</tmp>."
3360 msgstr ""
3361
3362 # type: textblock
3363 #: ../src/guestfs.pod:1687 ../fish/guestfish.pod:869
3364 msgid ""
3365 "If libguestfs was compiled to use the supermin appliance then each handle "
3366 "will require rather a large amount of space in this directory for short "
3367 "periods of time (~ 80 MB).  You can use C<$TMPDIR> to configure another "
3368 "directory to use in case C</tmp> is not large enough."
3369 msgstr ""
3370
3371 # type: =head1
3372 #: ../src/guestfs.pod:1695 ../fish/guestfish.pod:927
3373 #: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178
3374 #: ../inspector/virt-inspector.pl:846 ../tools/virt-cat.pl:163
3375 #: ../tools/virt-df.pl:536 ../tools/virt-edit.pl:325
3376 #: ../tools/virt-list-filesystems.pl:191 ../tools/virt-list-partitions.pl:229
3377 #: ../tools/virt-ls.pl:210 ../tools/virt-make-fs.pl:527
3378 #: ../tools/virt-rescue.pl:231 ../tools/virt-resize.pl:1390
3379 #: ../tools/virt-tar.pl:257 ../tools/virt-win-reg.pl:461
3380 msgid "SEE ALSO"
3381 msgstr ""
3382
3383 # type: textblock
3384 #: ../src/guestfs.pod:1697
3385 msgid ""
3386 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-edit"
3387 "(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-"
3388 "partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-"
3389 "tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, L<hivex(3)>, "
3390 "L<http://libguestfs.org/>."
3391 msgstr ""
3392
3393 # type: textblock
3394 #: ../src/guestfs.pod:1715
3395 msgid ""
3396 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
3397 "(8)>, L<disktype(1)>."
3398 msgstr ""
3399
3400 # type: =head1
3401 #: ../src/guestfs.pod:1722 ../tools/virt-make-fs.pl:541
3402 #: ../tools/virt-win-reg.pl:476
3403 msgid "BUGS"
3404 msgstr ""
3405
3406 # type: textblock
3407 #: ../src/guestfs.pod:1724
3408 msgid "To get a list of bugs against libguestfs use this link:"
3409 msgstr ""
3410
3411 # type: textblock
3412 #: ../src/guestfs.pod:1726
3413 msgid ""
3414 "L<https://bugzilla.redhat.com/buglist.cgi?"
3415 "component=libguestfs&product=Virtualization+Tools>"
3416 msgstr ""
3417
3418 # type: textblock
3419 #: ../src/guestfs.pod:1728
3420 msgid "To report a new bug against libguestfs use this link:"
3421 msgstr ""
3422
3423 # type: textblock
3424 #: ../src/guestfs.pod:1730
3425 msgid ""
3426 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
3427 "component=libguestfs&product=Virtualization+Tools>"
3428 msgstr ""
3429
3430 # type: textblock
3431 #: ../src/guestfs.pod:1732
3432 msgid "When reporting a bug, please check:"
3433 msgstr ""
3434
3435 # type: textblock
3436 #: ../src/guestfs.pod:1738
3437 msgid "That the bug hasn't been reported already."
3438 msgstr ""
3439
3440 # type: textblock
3441 #: ../src/guestfs.pod:1742
3442 msgid "That you are testing a recent version."
3443 msgstr ""
3444
3445 # type: textblock
3446 #: ../src/guestfs.pod:1746
3447 msgid "Describe the bug accurately, and give a way to reproduce it."
3448 msgstr ""
3449
3450 # type: textblock
3451 #: ../src/guestfs.pod:1750
3452 msgid ""
3453 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3454 "bug report."
3455 msgstr ""
3456
3457 # type: =head1
3458 #: ../src/guestfs.pod:1755 ../fish/guestfish.pod:944
3459 #: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189
3460 #: ../inspector/virt-inspector.pl:855
3461 msgid "AUTHORS"
3462 msgstr ""
3463
3464 # type: textblock
3465 #: ../src/guestfs.pod:1757 ../fish/guestfish.pod:946
3466 #: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191
3467 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3468 msgstr ""
3469
3470 # type: =head1
3471 #: ../src/guestfs.pod:1759 ../fish/guestfish.pod:948
3472 #: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193
3473 #: ../inspector/virt-inspector.pl:861 ../tools/virt-cat.pl:177
3474 #: ../tools/virt-df.pl:549 ../tools/virt-edit.pl:341
3475 #: ../tools/virt-list-filesystems.pl:207 ../tools/virt-list-partitions.pl:244
3476 #: ../tools/virt-ls.pl:225 ../tools/virt-make-fs.pl:556
3477 #: ../tools/virt-rescue.pl:245 ../tools/virt-resize.pl:1411
3478 #: ../tools/virt-tar.pl:272 ../tools/virt-win-reg.pl:491
3479 msgid "COPYRIGHT"
3480 msgstr ""
3481
3482 # type: textblock
3483 #: ../src/guestfs.pod:1761 ../fish/guestfish.pod:950
3484 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3485 msgstr ""
3486
3487 # type: textblock
3488 #: ../src/guestfs.pod:1764
3489 msgid ""
3490 "This library is free software; you can redistribute it and/or modify it "
3491 "under the terms of the GNU Lesser General Public License as published by the "
3492 "Free Software Foundation; either version 2 of the License, or (at your "
3493 "option) any later version."
3494 msgstr ""
3495
3496 # type: textblock
3497 #: ../src/guestfs.pod:1769
3498 msgid ""
3499 "This library is distributed in the hope that it will be useful, but WITHOUT "
3500 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3501 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3502 "for more details."
3503 msgstr ""
3504
3505 # type: textblock
3506 #: ../src/guestfs.pod:1774
3507 msgid ""
3508 "You should have received a copy of the GNU Lesser General Public License "
3509 "along with this library; if not, write to the Free Software Foundation, "
3510 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3511 msgstr ""
3512
3513 # type: =head2
3514 #: ../src/guestfs-actions.pod:1
3515 msgid "guestfs_add_cdrom"
3516 msgstr ""
3517
3518 # type: verbatim
3519 #: ../src/guestfs-actions.pod:3
3520 #, no-wrap
3521 msgid ""
3522 " int guestfs_add_cdrom (guestfs_h *g,\n"
3523 "\t\tconst char *filename);\n"
3524 "\n"
3525 msgstr ""
3526
3527 # type: textblock
3528 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:7
3529 msgid "This function adds a virtual CD-ROM disk image to the guest."
3530 msgstr ""
3531
3532 # type: textblock
3533 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:9
3534 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3535 msgstr ""
3536
3537 # type: textblock
3538 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1516
3539 #: ../fish/guestfish-actions.pod:11 ../fish/guestfish-actions.pod:1211
3540 msgid "Notes:"
3541 msgstr ""
3542
3543 # type: textblock
3544 #: ../src/guestfs-actions.pod:16
3545 msgid ""
3546 "This call checks for the existence of C<filename>.  This stops you from "
3547 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3548 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3549 "instead."
3550 msgstr ""
3551
3552 # type: textblock
3553 #: ../src/guestfs-actions.pod:23
3554 msgid ""
3555 "If you just want to add an ISO file (often you use this as an efficient way "
3556 "to transfer large files into the guest), then you should probably use "
3557 "C<guestfs_add_drive_ro> instead."
3558 msgstr ""
3559
3560 # type: textblock
3561 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:63
3562 #: ../src/guestfs-actions.pod:92 ../src/guestfs-actions.pod:103
3563 #: ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:124
3564 #: ../src/guestfs-actions.pod:135 ../src/guestfs-actions.pod:238
3565 #: ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:266
3566 #: ../src/guestfs-actions.pod:302 ../src/guestfs-actions.pod:324
3567 #: ../src/guestfs-actions.pod:339 ../src/guestfs-actions.pod:403
3568 #: ../src/guestfs-actions.pod:430 ../src/guestfs-actions.pod:441
3569 #: ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:534
3570 #: ../src/guestfs-actions.pod:549 ../src/guestfs-actions.pod:560
3571 #: ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:717
3572 #: ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:749
3573 #: ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:839
3574 #: ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:866
3575 #: ../src/guestfs-actions.pod:883 ../src/guestfs-actions.pod:916
3576 #: ../src/guestfs-actions.pod:974 ../src/guestfs-actions.pod:1002
3577 #: ../src/guestfs-actions.pod:1024 ../src/guestfs-actions.pod:1055
3578 #: ../src/guestfs-actions.pod:1143 ../src/guestfs-actions.pod:1174
3579 #: ../src/guestfs-actions.pod:1374 ../src/guestfs-actions.pod:1393
3580 #: ../src/guestfs-actions.pod:1474 ../src/guestfs-actions.pod:1822
3581 #: ../src/guestfs-actions.pod:1945 ../src/guestfs-actions.pod:2000
3582 #: ../src/guestfs-actions.pod:2030 ../src/guestfs-actions.pod:2439
3583 #: ../src/guestfs-actions.pod:2451 ../src/guestfs-actions.pod:2468
3584 #: ../src/guestfs-actions.pod:2576 ../src/guestfs-actions.pod:2587
3585 #: ../src/guestfs-actions.pod:2597 ../src/guestfs-actions.pod:2608
3586 #: ../src/guestfs-actions.pod:2620 ../src/guestfs-actions.pod:2650
3587 #: ../src/guestfs-actions.pod:2714 ../src/guestfs-actions.pod:2731
3588 #: ../src/guestfs-actions.pod:2745 ../src/guestfs-actions.pod:2765
3589 #: ../src/guestfs-actions.pod:2785 ../src/guestfs-actions.pod:2814
3590 #: ../src/guestfs-actions.pod:2830 ../src/guestfs-actions.pod:2846
3591 #: ../src/guestfs-actions.pod:2858 ../src/guestfs-actions.pod:2867
3592 #: ../src/guestfs-actions.pod:2900 ../src/guestfs-actions.pod:2913
3593 #: ../src/guestfs-actions.pod:2923 ../src/guestfs-actions.pod:2935
3594 #: ../src/guestfs-actions.pod:2949 ../src/guestfs-actions.pod:3029
3595 #: ../src/guestfs-actions.pod:3046 ../src/guestfs-actions.pod:3056
3596 #: ../src/guestfs-actions.pod:3101 ../src/guestfs-actions.pod:3116
3597 #: ../src/guestfs-actions.pod:3131 ../src/guestfs-actions.pod:3144
3598 #: ../src/guestfs-actions.pod:3155 ../src/guestfs-actions.pod:3166
3599 #: ../src/guestfs-actions.pod:3180 ../src/guestfs-actions.pod:3192
3600 #: ../src/guestfs-actions.pod:3209 ../src/guestfs-actions.pod:3240
3601 #: ../src/guestfs-actions.pod:3268 ../src/guestfs-actions.pod:3284
3602 #: ../src/guestfs-actions.pod:3300 ../src/guestfs-actions.pod:3309
3603 #: ../src/guestfs-actions.pod:3323 ../src/guestfs-actions.pod:3333
3604 #: ../src/guestfs-actions.pod:3345 ../src/guestfs-actions.pod:3357
3605 #: ../src/guestfs-actions.pod:3389 ../src/guestfs-actions.pod:3401
3606 #: ../src/guestfs-actions.pod:3418 ../src/guestfs-actions.pod:3429
3607 #: ../src/guestfs-actions.pod:3443 ../src/guestfs-actions.pod:3483
3608 #: ../src/guestfs-actions.pod:3514 ../src/guestfs-actions.pod:3525
3609 #: ../src/guestfs-actions.pod:3550 ../src/guestfs-actions.pod:3564
3610 #: ../src/guestfs-actions.pod:3579 ../src/guestfs-actions.pod:3701
3611 #: ../src/guestfs-actions.pod:3753 ../src/guestfs-actions.pod:3772
3612 #: ../src/guestfs-actions.pod:3787 ../src/guestfs-actions.pod:3813
3613 #: ../src/guestfs-actions.pod:3847 ../src/guestfs-actions.pod:3861
3614 #: ../src/guestfs-actions.pod:3871 ../src/guestfs-actions.pod:3882
3615 #: ../src/guestfs-actions.pod:4114 ../src/guestfs-actions.pod:4130
3616 #: ../src/guestfs-actions.pod:4141 ../src/guestfs-actions.pod:4150
3617 #: ../src/guestfs-actions.pod:4161 ../src/guestfs-actions.pod:4170
3618 #: ../src/guestfs-actions.pod:4181 ../src/guestfs-actions.pod:4194
3619 #: ../src/guestfs-actions.pod:4212 ../src/guestfs-actions.pod:4228
3620 #: ../src/guestfs-actions.pod:4244 ../src/guestfs-actions.pod:4259
3621 #: ../src/guestfs-actions.pod:4279 ../src/guestfs-actions.pod:4294
3622 #: ../src/guestfs-actions.pod:4310 ../src/guestfs-actions.pod:4328
3623 #: ../src/guestfs-actions.pod:4344 ../src/guestfs-actions.pod:4358
3624 #: ../src/guestfs-actions.pod:4383 ../src/guestfs-actions.pod:4404
3625 #: ../src/guestfs-actions.pod:4420 ../src/guestfs-actions.pod:4441
3626 #: ../src/guestfs-actions.pod:4453 ../src/guestfs-actions.pod:4465
3627 #: ../src/guestfs-actions.pod:4481 ../src/guestfs-actions.pod:4515
3628 #: ../src/guestfs-actions.pod:4535 ../src/guestfs-actions.pod:4558
3629 #: ../src/guestfs-actions.pod:4648 ../src/guestfs-actions.pod:4754
3630 #: ../src/guestfs-actions.pod:4763 ../src/guestfs-actions.pod:4773
3631 #: ../src/guestfs-actions.pod:4783 ../src/guestfs-actions.pod:4802
3632 #: ../src/guestfs-actions.pod:4812 ../src/guestfs-actions.pod:4822
3633 #: ../src/guestfs-actions.pod:4832 ../src/guestfs-actions.pod:4844
3634 #: ../src/guestfs-actions.pod:4894 ../src/guestfs-actions.pod:4908
3635 #: ../src/guestfs-actions.pod:4921 ../src/guestfs-actions.pod:4934
3636 #: ../src/guestfs-actions.pod:4948 ../src/guestfs-actions.pod:4958
3637 #: ../src/guestfs-actions.pod:4975 ../src/guestfs-actions.pod:5005
3638 #: ../src/guestfs-actions.pod:5016 ../src/guestfs-actions.pod:5051
3639 #: ../src/guestfs-actions.pod:5061 ../src/guestfs-actions.pod:5076
3640 #: ../src/guestfs-actions.pod:5102 ../src/guestfs-actions.pod:5130
3641 #: ../src/guestfs-actions.pod:5234 ../src/guestfs-actions.pod:5249
3642 #: ../src/guestfs-actions.pod:5260 ../src/guestfs-actions.pod:5306
3643 #: ../src/guestfs-actions.pod:5316 ../src/guestfs-actions.pod:5353
3644 #: ../src/guestfs-actions.pod:5380 ../src/guestfs-actions.pod:5422
3645 #: ../src/guestfs-actions.pod:5445 ../src/guestfs-actions.pod:5502
3646 #: ../src/guestfs-actions.pod:5518 ../src/guestfs-actions.pod:5544
3647 msgid "This function returns 0 on success or -1 on error."
3648 msgstr ""
3649
3650 # type: =head2
3651 #: ../src/guestfs-actions.pod:31
3652 msgid "guestfs_add_drive"
3653 msgstr ""
3654
3655 # type: verbatim
3656 #: ../src/guestfs-actions.pod:33
3657 #, no-wrap
3658 msgid ""
3659 " int guestfs_add_drive (guestfs_h *g,\n"
3660 "\t\tconst char *filename);\n"
3661 "\n"
3662 msgstr ""
3663
3664 # type: textblock
3665 #: ../src/guestfs-actions.pod:36 ../fish/guestfish-actions.pod:36
3666 msgid ""
3667 "This function adds a virtual machine disk image C<filename> to the guest.  "
3668 "The first time you call this function, the disk appears as IDE disk 0 (C</"
3669 "dev/sda>) in the guest, the second time as C</dev/sdb>, and so on."
3670 msgstr ""
3671
3672 # type: textblock
3673 #: ../src/guestfs-actions.pod:41 ../fish/guestfish-actions.pod:41
3674 msgid ""
3675 "You don't necessarily need to be root when using libguestfs.  However you "
3676 "obviously do need sufficient permissions to access the filename for whatever "
3677 "operations you want to perform (ie. read access if you just want to read the "
3678 "image or write access if you want to modify the image)."
3679 msgstr ""
3680
3681 # type: textblock
3682 #: ../src/guestfs-actions.pod:47 ../fish/guestfish-actions.pod:47
3683 msgid ""
3684 "This is equivalent to the qemu parameter C<-drive file=filename,cache=off,"
3685 "if=...>."
3686 msgstr ""
3687
3688 # type: textblock
3689 #: ../src/guestfs-actions.pod:50 ../fish/guestfish-actions.pod:50
3690 msgid ""
3691 "C<cache=off> is omitted in cases where it is not supported by the underlying "
3692 "filesystem."
3693 msgstr ""
3694
3695 # type: textblock
3696 #: ../src/guestfs-actions.pod:53 ../src/guestfs-actions.pod:82
3697 msgid ""
3698 "C<if=...> is set at compile time by the configuration option C<./configure --"
3699 "with-drive-if=...>.  In the rare case where you might need to change this at "
3700 "run time, use C<guestfs_add_drive_with_if> or "
3701 "C<guestfs_add_drive_ro_with_if>."
3702 msgstr ""
3703
3704 # type: textblock
3705 #: ../src/guestfs-actions.pod:58 ../src/guestfs-actions.pod:87
3706 msgid ""
3707 "Note that this call checks for the existence of C<filename>.  This stops you "
3708 "from specifying other types of drive which are supported by qemu such as "
3709 "C<nbd:> and C<http:> URLs.  To specify those, use the general "
3710 "C<guestfs_config> call instead."
3711 msgstr ""
3712
3713 # type: =head2
3714 #: ../src/guestfs-actions.pod:65
3715 msgid "guestfs_add_drive_ro"
3716 msgstr ""
3717
3718 # type: verbatim
3719 #: ../src/guestfs-actions.pod:67
3720 #, no-wrap
3721 msgid ""
3722 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3723 "\t\tconst char *filename);\n"
3724 "\n"
3725 msgstr ""
3726
3727 # type: textblock
3728 #: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:69
3729 msgid "This adds a drive in snapshot mode, making it effectively read-only."
3730 msgstr ""
3731
3732 # type: textblock
3733 #: ../src/guestfs-actions.pod:73 ../fish/guestfish-actions.pod:72
3734 msgid ""
3735 "Note that writes to the device are allowed, and will be seen for the "
3736 "duration of the guestfs handle, but they are written to a temporary file "
3737 "which is discarded as soon as the guestfs handle is closed.  We don't "
3738 "currently have any method to enable changes to be committed, although qemu "
3739 "can support this."
3740 msgstr ""
3741
3742 # type: textblock
3743 #: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:78
3744 msgid ""
3745 "This is equivalent to the qemu parameter C<-drive file=filename,snapshot=on,"
3746 "if=...>."
3747 msgstr ""
3748
3749 # type: =head2
3750 #: ../src/guestfs-actions.pod:94
3751 msgid "guestfs_add_drive_ro_with_if"
3752 msgstr ""
3753
3754 # type: verbatim
3755 #: ../src/guestfs-actions.pod:96
3756 #, no-wrap
3757 msgid ""
3758 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
3759 "\t\tconst char *filename,\n"
3760 "\t\tconst char *iface);\n"
3761 "\n"
3762 msgstr ""
3763
3764 # type: textblock
3765 #: ../src/guestfs-actions.pod:100
3766 msgid ""
3767 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
3768 "QEMU interface emulation to use at run time."
3769 msgstr ""
3770
3771 # type: =head2
3772 #: ../src/guestfs-actions.pod:105
3773 msgid "guestfs_add_drive_with_if"
3774 msgstr ""
3775
3776 # type: verbatim
3777 #: ../src/guestfs-actions.pod:107
3778 #, no-wrap
3779 msgid ""
3780 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
3781 "\t\tconst char *filename,\n"
3782 "\t\tconst char *iface);\n"
3783 "\n"
3784 msgstr ""
3785
3786 # type: textblock
3787 #: ../src/guestfs-actions.pod:111
3788 msgid ""
3789 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
3790 "QEMU interface emulation to use at run time."
3791 msgstr ""
3792
3793 # type: =head2
3794 #: ../src/guestfs-actions.pod:116
3795 msgid "guestfs_aug_clear"
3796 msgstr ""
3797
3798 # type: verbatim
3799 #: ../src/guestfs-actions.pod:118
3800 #, no-wrap
3801 msgid ""
3802 " int guestfs_aug_clear (guestfs_h *g,\n"
3803 "\t\tconst char *augpath);\n"
3804 "\n"
3805 msgstr ""
3806
3807 # type: textblock
3808 #: ../src/guestfs-actions.pod:121 ../fish/guestfish-actions.pod:109
3809 msgid ""
3810 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
3811 "L<augtool(1)> C<clear> command."
3812 msgstr ""
3813
3814 # type: =head2
3815 #: ../src/guestfs-actions.pod:126
3816 msgid "guestfs_aug_close"
3817 msgstr ""
3818
3819 # type: verbatim
3820 #: ../src/guestfs-actions.pod:128
3821 #, no-wrap
3822 msgid ""
3823 " int guestfs_aug_close (guestfs_h *g);\n"
3824 "\n"
3825 msgstr ""
3826
3827 # type: textblock
3828 #: ../src/guestfs-actions.pod:130
3829 msgid ""
3830 "Close the current Augeas handle and free up any resources used by it.  After "
3831 "calling this, you have to call C<guestfs_aug_init> again before you can use "
3832 "any other Augeas functions."
3833 msgstr ""
3834
3835 # type: =head2
3836 #: ../src/guestfs-actions.pod:137
3837 msgid "guestfs_aug_defnode"
3838 msgstr ""
3839
3840 # type: verbatim
3841 #: ../src/guestfs-actions.pod:139
3842 #, no-wrap
3843 msgid ""
3844 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
3845 "\t\tconst char *name,\n"
3846 "\t\tconst char *expr,\n"
3847 "\t\tconst char *val);\n"
3848 "\n"
3849 msgstr ""
3850
3851 # type: textblock
3852 #: ../src/guestfs-actions.pod:144 ../fish/guestfish-actions.pod:125
3853 msgid ""
3854 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
3855 msgstr ""
3856
3857 # type: textblock
3858 #: ../src/guestfs-actions.pod:147
3859 msgid ""
3860 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
3861 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
3862 "containing that single node."
3863 msgstr ""
3864
3865 # type: textblock
3866 #: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:132
3867 msgid ""
3868 "On success this returns a pair containing the number of nodes in the "
3869 "nodeset, and a boolean flag if a node was created."
3870 msgstr ""
3871
3872 # type: textblock
3873 #: ../src/guestfs-actions.pod:155
3874 msgid ""
3875 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
3876 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
3877 msgstr ""
3878
3879 # type: =head2
3880 #: ../src/guestfs-actions.pod:159
3881 msgid "guestfs_aug_defvar"
3882 msgstr ""
3883
3884 # type: verbatim
3885 #: ../src/guestfs-actions.pod:161
3886 #, no-wrap
3887 msgid ""
3888 " int guestfs_aug_defvar (guestfs_h *g,\n"
3889 "\t\tconst char *name,\n"
3890 "\t\tconst char *expr);\n"
3891 "\n"
3892 msgstr ""
3893
3894 # type: textblock
3895 #: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:140
3896 msgid ""
3897 "Defines an Augeas variable C<name> whose value is the result of evaluating "
3898 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
3899 msgstr ""
3900
3901 # type: textblock
3902 #: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:144
3903 msgid ""
3904 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
3905 "evaluates to something which is not a nodeset."
3906 msgstr ""
3907
3908 # type: textblock
3909 #: ../src/guestfs-actions.pod:172 ../src/guestfs-actions.pod:313
3910 #: ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:492
3911 #: ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:523
3912 #: ../src/guestfs-actions.pod:1041 ../src/guestfs-actions.pod:1356
3913 #: ../src/guestfs-actions.pod:1538 ../src/guestfs-actions.pod:1619
3914 #: ../src/guestfs-actions.pod:1650 ../src/guestfs-actions.pod:1693
3915 #: ../src/guestfs-actions.pod:1710 ../src/guestfs-actions.pod:1935
3916 #: ../src/guestfs-actions.pod:2147 ../src/guestfs-actions.pod:2165
3917 #: ../src/guestfs-actions.pod:3503 ../src/guestfs-actions.pod:3610
3918 #: ../src/guestfs-actions.pod:3941 ../src/guestfs-actions.pod:5040
3919 #: ../src/guestfs-actions.pod:5390 ../src/guestfs-actions.pod:5400
3920 #: ../src/guestfs-actions.pod:5410
3921 msgid "On error this function returns -1."
3922 msgstr ""
3923
3924 # type: =head2
3925 #: ../src/guestfs-actions.pod:174
3926 msgid "guestfs_aug_get"
3927 msgstr ""
3928
3929 # type: verbatim
3930 #: ../src/guestfs-actions.pod:176
3931 #, no-wrap
3932 msgid ""
3933 " char *guestfs_aug_get (guestfs_h *g,\n"
3934 "\t\tconst char *augpath);\n"
3935 "\n"
3936 msgstr ""
3937
3938 # type: textblock
3939 #: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:151
3940 msgid ""
3941 "Look up the value associated with C<path>.  If C<path> matches exactly one "
3942 "node, the C<value> is returned."
3943 msgstr ""
3944
3945 # type: textblock
3946 #: ../src/guestfs-actions.pod:182 ../src/guestfs-actions.pod:610
3947 #: ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:682
3948 #: ../src/guestfs-actions.pod:695 ../src/guestfs-actions.pod:786
3949 #: ../src/guestfs-actions.pod:899 ../src/guestfs-actions.pod:928
3950 #: ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:958
3951 #: ../src/guestfs-actions.pod:1069 ../src/guestfs-actions.pod:1233
3952 #: ../src/guestfs-actions.pod:1342 ../src/guestfs-actions.pod:1487
3953 #: ../src/guestfs-actions.pod:1501 ../src/guestfs-actions.pod:1577
3954 #: ../src/guestfs-actions.pod:1595 ../src/guestfs-actions.pod:1729
3955 #: ../src/guestfs-actions.pod:1868 ../src/guestfs-actions.pod:2049
3956 #: ../src/guestfs-actions.pod:2099 ../src/guestfs-actions.pod:2215
3957 #: ../src/guestfs-actions.pod:2250 ../src/guestfs-actions.pod:2565
3958 #: ../src/guestfs-actions.pod:2986 ../src/guestfs-actions.pod:3082
3959 #: ../src/guestfs-actions.pod:3625 ../src/guestfs-actions.pod:3801
3960 #: ../src/guestfs-actions.pod:3919 ../src/guestfs-actions.pod:4057
3961 #: ../src/guestfs-actions.pod:4100 ../src/guestfs-actions.pod:4576
3962 #: ../src/guestfs-actions.pod:4589 ../src/guestfs-actions.pod:4603
3963 #: ../src/guestfs-actions.pod:4624 ../src/guestfs-actions.pod:5183
3964 #: ../src/guestfs-actions.pod:5199 ../src/guestfs-actions.pod:5214
3965 #: ../src/guestfs-actions.pod:5362 ../src/guestfs-actions.pod:5592
3966 msgid ""
3967 "This function returns a string, or NULL on error.  I<The caller must free "
3968 "the returned string after use>."
3969 msgstr ""
3970
3971 # type: =head2
3972 #: ../src/guestfs-actions.pod:185
3973 msgid "guestfs_aug_init"
3974 msgstr ""
3975
3976 # type: verbatim
3977 #: ../src/guestfs-actions.pod:187
3978 #, no-wrap
3979 msgid ""
3980 " int guestfs_aug_init (guestfs_h *g,\n"
3981 "\t\tconst char *root,\n"
3982 "\t\tint flags);\n"
3983 "\n"
3984 msgstr ""
3985
3986 # type: textblock
3987 #: ../src/guestfs-actions.pod:191 ../fish/guestfish-actions.pod:158
3988 msgid ""
3989 "Create a new Augeas handle for editing configuration files.  If there was "
3990 "any previous Augeas handle associated with this guestfs session, then it is "
3991 "closed."
3992 msgstr ""
3993
3994 # type: textblock
3995 #: ../src/guestfs-actions.pod:195
3996 msgid "You must call this before using any other C<guestfs_aug_*> commands."
3997 msgstr ""
3998
3999 # type: textblock
4000 #: ../src/guestfs-actions.pod:198 ../fish/guestfish-actions.pod:165
4001 msgid ""
4002 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
4003 msgstr ""
4004
4005 # type: textblock
4006 #: ../src/guestfs-actions.pod:201 ../fish/guestfish-actions.pod:168
4007 msgid ""
4008 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
4009 "logical I<or> of the following integers:"
4010 msgstr ""
4011
4012 # type: =item
4013 #: ../src/guestfs-actions.pod:207 ../fish/guestfish-actions.pod:174
4014 msgid "C<AUG_SAVE_BACKUP> = 1"
4015 msgstr ""
4016
4017 # type: textblock
4018 #: ../src/guestfs-actions.pod:209 ../fish/guestfish-actions.pod:176
4019 msgid "Keep the original file with a C<.augsave> extension."
4020 msgstr ""
4021
4022 # type: =item
4023 #: ../src/guestfs-actions.pod:211 ../fish/guestfish-actions.pod:178
4024 msgid "C<AUG_SAVE_NEWFILE> = 2"
4025 msgstr ""
4026
4027 # type: textblock
4028 #: ../src/guestfs-actions.pod:213 ../fish/guestfish-actions.pod:180
4029 msgid ""
4030 "Save changes into a file with extension C<.augnew>, and do not overwrite "
4031 "original.  Overrides C<AUG_SAVE_BACKUP>."
4032 msgstr ""
4033
4034 # type: =item
4035 #: ../src/guestfs-actions.pod:216 ../fish/guestfish-actions.pod:183
4036 msgid "C<AUG_TYPE_CHECK> = 4"
4037 msgstr ""
4038
4039 # type: textblock
4040 #: ../src/guestfs-actions.pod:218 ../fish/guestfish-actions.pod:185
4041 msgid "Typecheck lenses (can be expensive)."
4042 msgstr ""
4043
4044 # type: =item
4045 #: ../src/guestfs-actions.pod:220 ../fish/guestfish-actions.pod:187
4046 msgid "C<AUG_NO_STDINC> = 8"
4047 msgstr ""
4048
4049 # type: textblock
4050 #: ../src/guestfs-actions.pod:222 ../fish/guestfish-actions.pod:189
4051 msgid "Do not use standard load path for modules."
4052 msgstr ""
4053
4054 # type: =item
4055 #: ../src/guestfs-actions.pod:224 ../fish/guestfish-actions.pod:191
4056 msgid "C<AUG_SAVE_NOOP> = 16"
4057 msgstr ""
4058
4059 # type: textblock
4060 #: ../src/guestfs-actions.pod:226 ../fish/guestfish-actions.pod:193
4061 msgid "Make save a no-op, just record what would have been changed."
4062 msgstr ""
4063
4064 # type: =item
4065 #: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:195
4066 msgid "C<AUG_NO_LOAD> = 32"
4067 msgstr ""
4068
4069 # type: textblock
4070 #: ../src/guestfs-actions.pod:230
4071 msgid "Do not load the tree in C<guestfs_aug_init>."
4072 msgstr ""
4073
4074 # type: textblock
4075 #: ../src/guestfs-actions.pod:234
4076 msgid "To close the handle, you can call C<guestfs_aug_close>."
4077 msgstr ""
4078
4079 # type: textblock
4080 #: ../src/guestfs-actions.pod:236 ../fish/guestfish-actions.pod:203
4081 msgid "To find out more about Augeas, see L<http://augeas.net/>."
4082 msgstr ""
4083
4084 # type: =head2
4085 #: ../src/guestfs-actions.pod:240
4086 msgid "guestfs_aug_insert"
4087 msgstr ""
4088
4089 # type: verbatim
4090 #: ../src/guestfs-actions.pod:242
4091 #, no-wrap
4092 msgid ""
4093 " int guestfs_aug_insert (guestfs_h *g,\n"
4094 "\t\tconst char *augpath,\n"
4095 "\t\tconst char *label,\n"
4096 "\t\tint before);\n"
4097 "\n"
4098 msgstr ""
4099
4100 # type: textblock
4101 #: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:209
4102 msgid ""
4103 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
4104 "or after C<path> (depending on the boolean flag C<before>)."
4105 msgstr ""
4106
4107 # type: textblock
4108 #: ../src/guestfs-actions.pod:251 ../fish/guestfish-actions.pod:213
4109 msgid ""
4110 "C<path> must match exactly one existing node in the tree, and C<label> must "
4111 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
4112 msgstr ""
4113
4114 # type: =head2
4115 #: ../src/guestfs-actions.pod:257
4116 msgid "guestfs_aug_load"
4117 msgstr ""
4118
4119 # type: verbatim
4120 #: ../src/guestfs-actions.pod:259
4121 #, no-wrap
4122 msgid ""
4123 " int guestfs_aug_load (guestfs_h *g);\n"
4124 "\n"
4125 msgstr ""
4126
4127 # type: textblock
4128 #: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:221
4129 msgid "Load files into the tree."
4130 msgstr ""
4131
4132 # type: textblock
4133 #: ../src/guestfs-actions.pod:263 ../fish/guestfish-actions.pod:223
4134 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
4135 msgstr ""
4136
4137 # type: =head2
4138 #: ../src/guestfs-actions.pod:268
4139 msgid "guestfs_aug_ls"
4140 msgstr ""
4141
4142 # type: verbatim
4143 #: ../src/guestfs-actions.pod:270
4144 #, no-wrap
4145 msgid ""
4146 " char **guestfs_aug_ls (guestfs_h *g,\n"
4147 "\t\tconst char *augpath);\n"
4148 "\n"
4149 msgstr ""
4150
4151 # type: textblock
4152 #: ../src/guestfs-actions.pod:273
4153 msgid ""
4154 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
4155 "sorting the resulting nodes into alphabetical order."
4156 msgstr ""
4157
4158 # type: textblock
4159 #: ../src/guestfs-actions.pod:276 ../src/guestfs-actions.pod:289
4160 #: ../src/guestfs-actions.pod:417 ../src/guestfs-actions.pod:802
4161 #: ../src/guestfs-actions.pod:1081 ../src/guestfs-actions.pod:1097
4162 #: ../src/guestfs-actions.pod:1185 ../src/guestfs-actions.pod:1201
4163 #: ../src/guestfs-actions.pod:1432 ../src/guestfs-actions.pod:1766
4164 #: ../src/guestfs-actions.pod:1779 ../src/guestfs-actions.pod:1795
4165 #: ../src/guestfs-actions.pod:1832 ../src/guestfs-actions.pod:1853
4166 #: ../src/guestfs-actions.pod:1915 ../src/guestfs-actions.pod:1955
4167 #: ../src/guestfs-actions.pod:2121 ../src/guestfs-actions.pod:2289
4168 #: ../src/guestfs-actions.pod:2494 ../src/guestfs-actions.pod:2550
4169 #: ../src/guestfs-actions.pod:2634 ../src/guestfs-actions.pod:2963
4170 #: ../src/guestfs-actions.pod:3470 ../src/guestfs-actions.pod:3896
4171 #: ../src/guestfs-actions.pod:3982 ../src/guestfs-actions.pod:4088
4172 #: ../src/guestfs-actions.pod:4637 ../src/guestfs-actions.pod:4686
4173 #: ../src/guestfs-actions.pod:4738 ../src/guestfs-actions.pod:4854
4174 #: ../src/guestfs-actions.pod:4875 ../src/guestfs-actions.pod:5275
4175 #: ../src/guestfs-actions.pod:5292 ../src/guestfs-actions.pod:5330
4176 #: ../src/guestfs-actions.pod:5466 ../src/guestfs-actions.pod:5482
4177 #: ../src/guestfs-actions.pod:5555 ../src/guestfs-actions.pod:5571
4178 #: ../src/guestfs-actions.pod:5611 ../src/guestfs-actions.pod:5627
4179 msgid ""
4180 "This function returns a NULL-terminated array of strings (like L<environ(3)"
4181 ">), or NULL if there was an error.  I<The caller must free the strings and "
4182 "the array after use>."
4183 msgstr ""
4184
4185 # type: =head2
4186 #: ../src/guestfs-actions.pod:280
4187 msgid "guestfs_aug_match"
4188 msgstr ""
4189
4190 # type: verbatim
4191 #: ../src/guestfs-actions.pod:282
4192 #, no-wrap
4193 msgid ""
4194 " char **guestfs_aug_match (guestfs_h *g,\n"
4195 "\t\tconst char *augpath);\n"
4196 "\n"
4197 msgstr ""
4198
4199 # type: textblock
4200 #: ../src/guestfs-actions.pod:285 ../fish/guestfish-actions.pod:237
4201 msgid ""
4202 "Returns a list of paths which match the path expression C<path>.  The "
4203 "returned paths are sufficiently qualified so that they match exactly one "
4204 "node in the current tree."
4205 msgstr ""
4206
4207 # type: =head2
4208 #: ../src/guestfs-actions.pod:293
4209 msgid "guestfs_aug_mv"
4210 msgstr ""
4211
4212 # type: verbatim
4213 #: ../src/guestfs-actions.pod:295
4214 #, no-wrap
4215 msgid ""
4216 " int guestfs_aug_mv (guestfs_h *g,\n"
4217 "\t\tconst char *src,\n"
4218 "\t\tconst char *dest);\n"
4219 "\n"
4220 msgstr ""
4221
4222 # type: textblock
4223 #: ../src/guestfs-actions.pod:299 ../fish/guestfish-actions.pod:245
4224 msgid ""
4225 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
4226 "C<dest> is overwritten if it exists."
4227 msgstr ""
4228
4229 # type: =head2
4230 #: ../src/guestfs-actions.pod:304
4231 msgid "guestfs_aug_rm"
4232 msgstr ""
4233
4234 # type: verbatim
4235 #: ../src/guestfs-actions.pod:306
4236 #, no-wrap
4237 msgid ""
4238 " int guestfs_aug_rm (guestfs_h *g,\n"
4239 "\t\tconst char *augpath);\n"
4240 "\n"
4241 msgstr ""
4242
4243 # type: textblock
4244 #: ../src/guestfs-actions.pod:309 ../fish/guestfish-actions.pod:252
4245 msgid "Remove C<path> and all of its children."
4246 msgstr ""
4247
4248 # type: textblock
4249 #: ../src/guestfs-actions.pod:311 ../fish/guestfish-actions.pod:254
4250 msgid "On success this returns the number of entries which were removed."
4251 msgstr ""
4252
4253 # type: =head2
4254 #: ../src/guestfs-actions.pod:315
4255 msgid "guestfs_aug_save"
4256 msgstr ""
4257
4258 # type: verbatim
4259 #: ../src/guestfs-actions.pod:317
4260 #, no-wrap
4261 msgid ""
4262 " int guestfs_aug_save (guestfs_h *g);\n"
4263 "\n"
4264 msgstr ""
4265
4266 # type: textblock
4267 #: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:260
4268 msgid "This writes all pending changes to disk."
4269 msgstr ""
4270
4271 # type: textblock
4272 #: ../src/guestfs-actions.pod:321
4273 msgid ""
4274 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4275 "are saved."
4276 msgstr ""
4277
4278 # type: =head2
4279 #: ../src/guestfs-actions.pod:326
4280 msgid "guestfs_aug_set"
4281 msgstr ""
4282
4283 # type: verbatim
4284 #: ../src/guestfs-actions.pod:328
4285 #, no-wrap
4286 msgid ""
4287 " int guestfs_aug_set (guestfs_h *g,\n"
4288 "\t\tconst char *augpath,\n"
4289 "\t\tconst char *val);\n"
4290 "\n"
4291 msgstr ""
4292
4293 # type: textblock
4294 #: ../src/guestfs-actions.pod:332 ../fish/guestfish-actions.pod:269
4295 msgid "Set the value associated with C<path> to C<val>."
4296 msgstr ""
4297
4298 # type: textblock
4299 #: ../src/guestfs-actions.pod:334
4300 msgid ""
4301 "In the Augeas API, it is possible to clear a node by setting the value to "
4302 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4303 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4304 msgstr ""
4305
4306 # type: =head2
4307 #: ../src/guestfs-actions.pod:341
4308 msgid "guestfs_available"
4309 msgstr ""
4310
4311 # type: verbatim
4312 #: ../src/guestfs-actions.pod:343
4313 #, no-wrap
4314 msgid ""
4315 " int guestfs_available (guestfs_h *g,\n"
4316 "\t\tchar *const *groups);\n"
4317 "\n"
4318 msgstr ""
4319
4320 # type: textblock
4321 #: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:280
4322 msgid ""
4323 "This command is used to check the availability of some groups of "
4324 "functionality in the appliance, which not all builds of the libguestfs "
4325 "appliance will be able to provide."
4326 msgstr ""
4327
4328 # type: textblock
4329 #: ../src/guestfs-actions.pod:350
4330 msgid ""
4331 "The libguestfs groups, and the functions that those groups correspond to, "
4332 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4333 "runtime by calling C<guestfs_available_all_groups>."
4334 msgstr ""
4335
4336 # type: textblock
4337 #: ../src/guestfs-actions.pod:355 ../fish/guestfish-actions.pod:289
4338 msgid ""
4339 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
4340 "\"]> would check for the availability of the Linux inotify functions and "
4341 "Augeas (configuration file editing) functions."
4342 msgstr ""
4343
4344 # type: textblock
4345 #: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:294
4346 msgid "The command returns no error if I<all> requested groups are available."
4347 msgstr ""
4348
4349 # type: textblock
4350 #: ../src/guestfs-actions.pod:362 ../fish/guestfish-actions.pod:296
4351 msgid ""
4352 "It fails with an error if one or more of the requested groups is unavailable "
4353 "in the appliance."
4354 msgstr ""
4355
4356 # type: textblock
4357 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:299
4358 msgid ""
4359 "If an unknown group name is included in the list of groups then an error is "
4360 "always returned."
4361 msgstr ""
4362
4363 # type: textblock
4364 #: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:302
4365 msgid "I<Notes:>"
4366 msgstr ""
4367
4368 # type: textblock
4369 #: ../src/guestfs-actions.pod:374
4370 msgid "You must call C<guestfs_launch> before calling this function."
4371 msgstr ""
4372
4373 # type: textblock
4374 #: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:310
4375 msgid ""
4376 "The reason is because we don't know what groups are supported by the "
4377 "appliance/daemon until it is running and can be queried."
4378 msgstr ""
4379
4380 # type: textblock
4381 #: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:316
4382 msgid ""
4383 "If a group of functions is available, this does not necessarily mean that "
4384 "they will work.  You still have to check for errors when calling individual "
4385 "API functions even if they are available."
4386 msgstr ""
4387
4388 # type: textblock
4389 #: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:323
4390 msgid ""
4391 "It is usually the job of distro packagers to build complete functionality "
4392 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4393 "with all requirements satisfied, will support everything."
4394 msgstr ""
4395
4396 # type: textblock
4397 #: ../src/guestfs-actions.pod:396
4398 msgid ""
4399 "This call was added in version C<1.0.80>.  In previous versions of "
4400 "libguestfs all you could do would be to speculatively execute a command to "
4401 "find out if the daemon implemented it.  See also C<guestfs_version>."
4402 msgstr ""
4403
4404 # type: =head2
4405 #: ../src/guestfs-actions.pod:405
4406 msgid "guestfs_available_all_groups"
4407 msgstr ""
4408
4409 # type: verbatim
4410 #: ../src/guestfs-actions.pod:407
4411 #, no-wrap
4412 msgid ""
4413 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4414 "\n"
4415 msgstr ""
4416
4417 # type: textblock
4418 #: ../src/guestfs-actions.pod:409
4419 msgid ""
4420 "This command returns a list of all optional groups that this daemon knows "
4421 "about.  Note this returns both supported and unsupported groups.  To find "
4422 "out which ones the daemon can actually support you have to call "
4423 "C<guestfs_available> on each member of the returned list."
4424 msgstr ""
4425
4426 # type: textblock
4427 #: ../src/guestfs-actions.pod:415
4428 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4429 msgstr ""
4430
4431 # type: =head2
4432 #: ../src/guestfs-actions.pod:421
4433 msgid "guestfs_base64_in"
4434 msgstr ""
4435
4436 # type: verbatim
4437 #: ../src/guestfs-actions.pod:423
4438 #, no-wrap
4439 msgid ""
4440 " int guestfs_base64_in (guestfs_h *g,\n"
4441 "\t\tconst char *base64file,\n"
4442 "\t\tconst char *filename);\n"
4443 "\n"
4444 msgstr ""
4445
4446 # type: textblock
4447 #: ../src/guestfs-actions.pod:427 ../fish/guestfish-actions.pod:353
4448 msgid ""
4449 "This command uploads base64-encoded data from C<base64file> to C<filename>."
4450 msgstr ""
4451
4452 # type: =head2
4453 #: ../src/guestfs-actions.pod:432
4454 msgid "guestfs_base64_out"
4455 msgstr ""
4456
4457 # type: verbatim
4458 #: ../src/guestfs-actions.pod:434
4459 #, no-wrap
4460 msgid ""
4461 " int guestfs_base64_out (guestfs_h *g,\n"
4462 "\t\tconst char *filename,\n"
4463 "\t\tconst char *base64file);\n"
4464 "\n"
4465 msgstr ""
4466
4467 # type: textblock
4468 #: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:362
4469 msgid ""
4470 "This command downloads the contents of C<filename>, writing it out to local "
4471 "file C<base64file> encoded as base64."
4472 msgstr ""
4473
4474 # type: =head2
4475 #: ../src/guestfs-actions.pod:443
4476 msgid "guestfs_blockdev_flushbufs"
4477 msgstr ""
4478
4479 # type: verbatim
4480 #: ../src/guestfs-actions.pod:445
4481 #, no-wrap
4482 msgid ""
4483 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4484 "\t\tconst char *device);\n"
4485 "\n"
4486 msgstr ""
4487
4488 # type: textblock
4489 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:371
4490 msgid ""
4491 "This tells the kernel to flush internal buffers associated with C<device>."
4492 msgstr ""
4493
4494 # type: textblock
4495 #: ../src/guestfs-actions.pod:451 ../src/guestfs-actions.pod:465
4496 #: ../src/guestfs-actions.pod:477 ../src/guestfs-actions.pod:490
4497 #: ../src/guestfs-actions.pod:505 ../src/guestfs-actions.pod:521
4498 #: ../src/guestfs-actions.pod:532 ../src/guestfs-actions.pod:547
4499 #: ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:569
4500 #: ../fish/guestfish-actions.pod:374 ../fish/guestfish-actions.pod:385
4501 #: ../fish/guestfish-actions.pod:394 ../fish/guestfish-actions.pod:404
4502 #: ../fish/guestfish-actions.pod:416 ../fish/guestfish-actions.pod:429
4503 #: ../fish/guestfish-actions.pod:437 ../fish/guestfish-actions.pod:448
4504 #: ../fish/guestfish-actions.pod:456 ../fish/guestfish-actions.pod:464
4505 msgid "This uses the L<blockdev(8)> command."
4506 msgstr ""
4507
4508 # type: =head2
4509 #: ../src/guestfs-actions.pod:455
4510 msgid "guestfs_blockdev_getbsz"
4511 msgstr ""
4512
4513 # type: verbatim
4514 #: ../src/guestfs-actions.pod:457
4515 #, no-wrap
4516 msgid ""
4517 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4518 "\t\tconst char *device);\n"
4519 "\n"
4520 msgstr ""
4521
4522 # type: textblock
4523 #: ../src/guestfs-actions.pod:460 ../fish/guestfish-actions.pod:380
4524 msgid "This returns the block size of a device."
4525 msgstr ""
4526
4527 # type: textblock
4528 #: ../src/guestfs-actions.pod:462 ../src/guestfs-actions.pod:544
4529 #: ../fish/guestfish-actions.pod:382 ../fish/guestfish-actions.pod:445
4530 msgid ""
4531 "(Note this is different from both I<size in blocks> and I<filesystem block "
4532 "size>)."
4533 msgstr ""
4534
4535 # type: =head2
4536 #: ../src/guestfs-actions.pod:469
4537 msgid "guestfs_blockdev_getro"
4538 msgstr ""
4539
4540 # type: verbatim
4541 #: ../src/guestfs-actions.pod:471
4542 #, no-wrap
4543 msgid ""
4544 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4545 "\t\tconst char *device);\n"
4546 "\n"
4547 msgstr ""
4548
4549 # type: textblock
4550 #: ../src/guestfs-actions.pod:474 ../fish/guestfish-actions.pod:391
4551 msgid ""
4552 "Returns a boolean indicating if the block device is read-only (true if read-"
4553 "only, false if not)."
4554 msgstr ""
4555
4556 # type: textblock
4557 #: ../src/guestfs-actions.pod:479 ../src/guestfs-actions.pod:1115
4558 #: ../src/guestfs-actions.pod:1127 ../src/guestfs-actions.pod:1559
4559 #: ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1627
4560 #: ../src/guestfs-actions.pod:1670 ../src/guestfs-actions.pod:1682
4561 #: ../src/guestfs-actions.pod:1701 ../src/guestfs-actions.pod:1718
4562 #: ../src/guestfs-actions.pod:2303 ../src/guestfs-actions.pod:2314
4563 #: ../src/guestfs-actions.pod:2326 ../src/guestfs-actions.pod:2337
4564 #: ../src/guestfs-actions.pod:2350 ../src/guestfs-actions.pod:2362
4565 #: ../src/guestfs-actions.pod:2375 ../src/guestfs-actions.pod:2386
4566 #: ../src/guestfs-actions.pod:2396 ../src/guestfs-actions.pod:2407
4567 #: ../src/guestfs-actions.pod:2419 ../src/guestfs-actions.pod:2431
4568 #: ../src/guestfs-actions.pod:3595
4569 msgid "This function returns a C truth value on success or -1 on error."
4570 msgstr ""
4571
4572 # type: =head2
4573 #: ../src/guestfs-actions.pod:481
4574 msgid "guestfs_blockdev_getsize64"
4575 msgstr ""
4576
4577 # type: verbatim
4578 #: ../src/guestfs-actions.pod:483
4579 #, no-wrap
4580 msgid ""
4581 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4582 "\t\tconst char *device);\n"
4583 "\n"
4584 msgstr ""
4585
4586 # type: textblock
4587 #: ../src/guestfs-actions.pod:486 ../fish/guestfish-actions.pod:400
4588 msgid "This returns the size of the device in bytes."
4589 msgstr ""
4590
4591 # type: textblock
4592 #: ../src/guestfs-actions.pod:488
4593 msgid "See also C<guestfs_blockdev_getsz>."
4594 msgstr ""
4595
4596 # type: =head2
4597 #: ../src/guestfs-actions.pod:494
4598 msgid "guestfs_blockdev_getss"
4599 msgstr ""
4600
4601 # type: verbatim
4602 #: ../src/guestfs-actions.pod:496
4603 #, no-wrap
4604 msgid ""
4605 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4606 "\t\tconst char *device);\n"
4607 "\n"
4608 msgstr ""
4609
4610 # type: textblock
4611 #: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:410
4612 msgid ""
4613 "This returns the size of sectors on a block device.  Usually 512, but can be "
4614 "larger for modern devices."
4615 msgstr ""
4616
4617 # type: textblock
4618 #: ../src/guestfs-actions.pod:502
4619 msgid ""
4620 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4621 "that)."
4622 msgstr ""
4623
4624 # type: =head2
4625 #: ../src/guestfs-actions.pod:509
4626 msgid "guestfs_blockdev_getsz"
4627 msgstr ""
4628
4629 # type: verbatim
4630 #: ../src/guestfs-actions.pod:511
4631 #, no-wrap
4632 msgid ""
4633 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4634 "\t\tconst char *device);\n"
4635 "\n"
4636 msgstr ""
4637
4638 # type: textblock
4639 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:422
4640 msgid ""
4641 "This returns the size of the device in units of 512-byte sectors (even if "
4642 "the sectorsize isn't 512 bytes ... weird)."
4643 msgstr ""
4644
4645 # type: textblock
4646 #: ../src/guestfs-actions.pod:517
4647 msgid ""
4648 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4649 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4650 msgstr ""
4651
4652 # type: =head2
4653 #: ../src/guestfs-actions.pod:525
4654 msgid "guestfs_blockdev_rereadpt"
4655 msgstr ""
4656
4657 # type: verbatim
4658 #: ../src/guestfs-actions.pod:527
4659 #, no-wrap
4660 msgid ""
4661 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4662 "\t\tconst char *device);\n"
4663 "\n"
4664 msgstr ""
4665
4666 # type: textblock
4667 #: ../src/guestfs-actions.pod:530 ../fish/guestfish-actions.pod:435
4668 msgid "Reread the partition table on C<device>."
4669 msgstr ""
4670
4671 # type: =head2
4672 #: ../src/guestfs-actions.pod:536
4673 msgid "guestfs_blockdev_setbsz"
4674 msgstr ""
4675
4676 # type: verbatim
4677 #: ../src/guestfs-actions.pod:538
4678 #, no-wrap
4679 msgid ""
4680 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4681 "\t\tconst char *device,\n"
4682 "\t\tint blocksize);\n"
4683 "\n"
4684 msgstr ""
4685
4686 # type: textblock
4687 #: ../src/guestfs-actions.pod:542 ../fish/guestfish-actions.pod:443
4688 msgid "This sets the block size of a device."
4689 msgstr ""
4690
4691 # type: =head2
4692 #: ../src/guestfs-actions.pod:551
4693 msgid "guestfs_blockdev_setro"
4694 msgstr ""
4695
4696 # type: verbatim
4697 #: ../src/guestfs-actions.pod:553
4698 #, no-wrap
4699 msgid ""
4700 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4701 "\t\tconst char *device);\n"
4702 "\n"
4703 msgstr ""
4704
4705 # type: textblock
4706 #: ../src/guestfs-actions.pod:556 ../fish/guestfish-actions.pod:454
4707 msgid "Sets the block device named C<device> to read-only."
4708 msgstr ""
4709
4710 # type: =head2
4711 #: ../src/guestfs-actions.pod:562
4712 msgid "guestfs_blockdev_setrw"
4713 msgstr ""
4714
4715 # type: verbatim
4716 #: ../src/guestfs-actions.pod:564
4717 #, no-wrap
4718 msgid ""
4719 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4720 "\t\tconst char *device);\n"
4721 "\n"
4722 msgstr ""
4723
4724 # type: textblock
4725 #: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:462
4726 msgid "Sets the block device named C<device> to read-write."
4727 msgstr ""
4728
4729 # type: =head2
4730 #: ../src/guestfs-actions.pod:573
4731 msgid "guestfs_case_sensitive_path"
4732 msgstr ""
4733
4734 # type: verbatim
4735 #: ../src/guestfs-actions.pod:575
4736 #, no-wrap
4737 msgid ""
4738 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4739 "\t\tconst char *path);\n"
4740 "\n"
4741 msgstr ""
4742
4743 # type: textblock
4744 #: ../src/guestfs-actions.pod:578 ../fish/guestfish-actions.pod:470
4745 msgid ""
4746 "This can be used to resolve case insensitive paths on a filesystem which is "
4747 "case sensitive.  The use case is to resolve paths which you have read from "
4748 "Windows configuration files or the Windows Registry, to the true path."
4749 msgstr ""
4750
4751 # type: textblock
4752 #: ../src/guestfs-actions.pod:583 ../fish/guestfish-actions.pod:475
4753 msgid ""
4754 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4755 "(and probably others), which is that although the underlying filesystem is "
4756 "case-insensitive, the driver exports the filesystem to Linux as case-"
4757 "sensitive."
4758 msgstr ""
4759
4760 # type: textblock
4761 #: ../src/guestfs-actions.pod:588 ../fish/guestfish-actions.pod:480
4762 msgid ""
4763 "One consequence of this is that special directories such as C<c:\\windows> "
4764 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4765 "precise details of how they were created.  In Windows itself this would not "
4766 "be a problem."
4767 msgstr ""
4768
4769 # type: textblock
4770 #: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:486
4771 msgid ""
4772 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
4773 "#posixfilenames1>"
4774 msgstr ""
4775
4776 # type: textblock
4777 #: ../src/guestfs-actions.pod:597 ../fish/guestfish-actions.pod:489
4778 msgid ""
4779 "This function resolves the true case of each element in the path and returns "
4780 "the case-sensitive path."
4781 msgstr ""
4782
4783 # type: textblock
4784 #: ../src/guestfs-actions.pod:600
4785 msgid ""
4786 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
4787 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4788 "how the directories were originally created under Windows)."
4789 msgstr ""
4790
4791 # type: textblock
4792 #: ../src/guestfs-actions.pod:605 ../fish/guestfish-actions.pod:497
4793 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4794 msgstr ""
4795
4796 # type: textblock
4797 #: ../src/guestfs-actions.pod:608
4798 msgid "See also C<guestfs_realpath>."
4799 msgstr ""
4800
4801 # type: =head2
4802 #: ../src/guestfs-actions.pod:613
4803 msgid "guestfs_cat"
4804 msgstr ""
4805
4806 # type: verbatim
4807 #: ../src/guestfs-actions.pod:615
4808 #, no-wrap
4809 msgid ""
4810 " char *guestfs_cat (guestfs_h *g,\n"
4811 "\t\tconst char *path);\n"
4812 "\n"
4813 msgstr ""
4814
4815 # type: textblock
4816 #: ../src/guestfs-actions.pod:618 ../src/guestfs-actions.pod:3972
4817 #: ../fish/guestfish-actions.pod:506 ../fish/guestfish-actions.pod:3068
4818 msgid "Return the contents of the file named C<path>."
4819 msgstr ""
4820
4821 # type: textblock
4822 #: ../src/guestfs-actions.pod:620
4823 msgid ""
4824 "Note that this function cannot correctly handle binary files (specifically, "
4825 "files containing C<\\0> character which is treated as end of string).  For "
4826 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4827 "functions which have a more complex interface."
4828 msgstr ""
4829
4830 # type: textblock
4831 #: ../src/guestfs-actions.pod:628 ../src/guestfs-actions.pod:789
4832 #: ../src/guestfs-actions.pod:806 ../src/guestfs-actions.pod:1085
4833 #: ../src/guestfs-actions.pod:1101 ../src/guestfs-actions.pod:1189
4834 #: ../src/guestfs-actions.pod:1205 ../src/guestfs-actions.pod:1436
4835 #: ../src/guestfs-actions.pod:1783 ../src/guestfs-actions.pod:1799
4836 #: ../src/guestfs-actions.pod:1836 ../src/guestfs-actions.pod:1857
4837 #: ../src/guestfs-actions.pod:1871 ../src/guestfs-actions.pod:1897
4838 #: ../src/guestfs-actions.pod:3835 ../src/guestfs-actions.pod:3943
4839 #: ../src/guestfs-actions.pod:3964 ../src/guestfs-actions.pod:4690
4840 #: ../src/guestfs-actions.pod:4742 ../src/guestfs-actions.pod:4858
4841 #: ../src/guestfs-actions.pod:4879 ../src/guestfs-actions.pod:5424
4842 #: ../src/guestfs-actions.pod:5447 ../src/guestfs-actions.pod:5470
4843 #: ../src/guestfs-actions.pod:5486 ../src/guestfs-actions.pod:5559
4844 #: ../src/guestfs-actions.pod:5575 ../src/guestfs-actions.pod:5615
4845 #: ../src/guestfs-actions.pod:5631 ../fish/guestfish-actions.pod:513
4846 #: ../fish/guestfish-actions.pod:648 ../fish/guestfish-actions.pod:660
4847 #: ../fish/guestfish-actions.pod:861 ../fish/guestfish-actions.pod:871
4848 #: ../fish/guestfish-actions.pod:938 ../fish/guestfish-actions.pod:948
4849 #: ../fish/guestfish-actions.pod:1143 ../fish/guestfish-actions.pod:1418
4850 #: ../fish/guestfish-actions.pod:1428 ../fish/guestfish-actions.pod:1456
4851 #: ../fish/guestfish-actions.pod:1471 ../fish/guestfish-actions.pod:1481
4852 #: ../fish/guestfish-actions.pod:1500 ../fish/guestfish-actions.pod:2970
4853 #: ../fish/guestfish-actions.pod:3046 ../fish/guestfish-actions.pod:3061
4854 #: ../fish/guestfish-actions.pod:3644 ../fish/guestfish-actions.pod:3690
4855 #: ../fish/guestfish-actions.pod:3775 ../fish/guestfish-actions.pod:3790
4856 #: ../fish/guestfish-actions.pod:4200 ../fish/guestfish-actions.pod:4218
4857 #: ../fish/guestfish-actions.pod:4235 ../fish/guestfish-actions.pod:4245
4858 #: ../fish/guestfish-actions.pod:4293 ../fish/guestfish-actions.pod:4303
4859 #: ../fish/guestfish-actions.pod:4332 ../fish/guestfish-actions.pod:4342
4860 msgid ""
4861 "Because of the message protocol, there is a transfer limit of somewhere "
4862 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4863 msgstr ""
4864
4865 # type: =head2
4866 #: ../src/guestfs-actions.pod:631
4867 msgid "guestfs_checksum"
4868 msgstr ""
4869
4870 # type: verbatim
4871 #: ../src/guestfs-actions.pod:633
4872 #, no-wrap
4873 msgid ""
4874 " char *guestfs_checksum (guestfs_h *g,\n"
4875 "\t\tconst char *csumtype,\n"
4876 "\t\tconst char *path);\n"
4877 "\n"
4878 msgstr ""
4879
4880 # type: textblock
4881 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:520
4882 msgid ""
4883 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4884 msgstr ""
4885
4886 # type: textblock
4887 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:523
4888 msgid ""
4889 "The type of checksum to compute is given by the C<csumtype> parameter which "
4890 "must have one of the following values:"
4891 msgstr ""
4892
4893 # type: =item
4894 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:528
4895 msgid "C<crc>"
4896 msgstr ""
4897
4898 # type: textblock
4899 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:530
4900 msgid ""
4901 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4902 "C<cksum> command."
4903 msgstr ""
4904
4905 # type: =item
4906 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:533
4907 msgid "C<md5>"
4908 msgstr ""
4909
4910 # type: textblock
4911 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:535
4912 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4913 msgstr ""
4914
4915 # type: =item
4916 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:537
4917 msgid "C<sha1>"
4918 msgstr ""
4919
4920 # type: textblock
4921 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:539
4922 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4923 msgstr ""
4924
4925 # type: =item
4926 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:541
4927 msgid "C<sha224>"
4928 msgstr ""
4929
4930 # type: textblock
4931 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:543
4932 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4933 msgstr ""
4934
4935 # type: =item
4936 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:545
4937 msgid "C<sha256>"
4938 msgstr ""
4939
4940 # type: textblock
4941 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:547
4942 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
4943 msgstr ""
4944
4945 # type: =item
4946 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:549
4947 msgid "C<sha384>"
4948 msgstr ""
4949
4950 # type: textblock
4951 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:551
4952 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
4953 msgstr ""
4954
4955 # type: =item
4956 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:553
4957 msgid "C<sha512>"
4958 msgstr ""
4959
4960 # type: textblock
4961 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:555
4962 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
4963 msgstr ""
4964
4965 # type: textblock
4966 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:559
4967 msgid "The checksum is returned as a printable string."
4968 msgstr ""
4969
4970 # type: textblock
4971 #: ../src/guestfs-actions.pod:678
4972 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
4973 msgstr ""
4974
4975 # type: textblock
4976 #: ../src/guestfs-actions.pod:680
4977 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
4978 msgstr ""
4979
4980 # type: =head2
4981 #: ../src/guestfs-actions.pod:685
4982 msgid "guestfs_checksum_device"
4983 msgstr ""
4984
4985 # type: verbatim
4986 #: ../src/guestfs-actions.pod:687
4987 #, no-wrap
4988 msgid ""
4989 " char *guestfs_checksum_device (guestfs_h *g,\n"
4990 "\t\tconst char *csumtype,\n"
4991 "\t\tconst char *device);\n"
4992 "\n"
4993 msgstr ""
4994
4995 # type: textblock
4996 #: ../src/guestfs-actions.pod:691
4997 msgid ""
4998 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
4999 "device named C<device>.  For the types of checksums supported see the "
5000 "C<guestfs_checksum> command."
5001 msgstr ""
5002
5003 # type: =head2
5004 #: ../src/guestfs-actions.pod:698
5005 msgid "guestfs_checksums_out"
5006 msgstr ""
5007
5008 # type: verbatim
5009 #: ../src/guestfs-actions.pod:700
5010 #, no-wrap
5011 msgid ""
5012 " int guestfs_checksums_out (guestfs_h *g,\n"
5013 "\t\tconst char *csumtype,\n"
5014 "\t\tconst char *directory,\n"
5015 "\t\tconst char *sumsfile);\n"
5016 "\n"
5017 msgstr ""
5018
5019 # type: textblock
5020 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:577
5021 msgid ""
5022 "This command computes the checksums of all regular files in C<directory> and "
5023 "then emits a list of those checksums to the local output file C<sumsfile>."
5024 msgstr ""
5025
5026 # type: textblock
5027 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:581
5028 msgid ""
5029 "This can be used for verifying the integrity of a virtual machine.  However "
5030 "to be properly secure you should pay attention to the output of the checksum "
5031 "command (it uses the ones from GNU coreutils).  In particular when the "
5032 "filename is not printable, coreutils uses a special backslash syntax.  For "
5033 "more information, see the GNU coreutils info file."
5034 msgstr ""
5035
5036 # type: =head2
5037 #: ../src/guestfs-actions.pod:719
5038 msgid "guestfs_chmod"
5039 msgstr ""
5040
5041 # type: verbatim
5042 #: ../src/guestfs-actions.pod:721
5043 #, no-wrap
5044 msgid ""
5045 " int guestfs_chmod (guestfs_h *g,\n"
5046 "\t\tint mode,\n"
5047 "\t\tconst char *path);\n"
5048 "\n"
5049 msgstr ""
5050
5051 # type: textblock
5052 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:595
5053 msgid ""
5054 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
5055 "supported."
5056 msgstr ""
5057
5058 # type: textblock
5059 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:598
5060 msgid ""
5061 "I<Note>: When using this command from guestfish, C<mode> by default would be "
5062 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
5063 "C<700>."
5064 msgstr ""
5065
5066 # type: textblock
5067 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3178
5068 #: ../src/guestfs-actions.pod:3266 ../src/guestfs-actions.pod:3282
5069 #: ../src/guestfs-actions.pod:3298 ../fish/guestfish-actions.pod:602
5070 #: ../fish/guestfish-actions.pod:2475 ../fish/guestfish-actions.pod:2545
5071 #: ../fish/guestfish-actions.pod:2555 ../fish/guestfish-actions.pod:2565
5072 msgid "The mode actually set is affected by the umask."
5073 msgstr ""
5074
5075 # type: =head2
5076 #: ../src/guestfs-actions.pod:736
5077 msgid "guestfs_chown"
5078 msgstr ""
5079
5080 # type: verbatim
5081 #: ../src/guestfs-actions.pod:738
5082 #, no-wrap
5083 msgid ""
5084 " int guestfs_chown (guestfs_h *g,\n"
5085 "\t\tint owner,\n"
5086 "\t\tint group,\n"
5087 "\t\tconst char *path);\n"
5088 "\n"
5089 msgstr ""
5090
5091 # type: textblock
5092 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:608
5093 msgid "Change the file owner to C<owner> and group to C<group>."
5094 msgstr ""
5095
5096 # type: textblock
5097 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2464
5098 #: ../fish/guestfish-actions.pod:610 ../fish/guestfish-actions.pod:1966
5099 msgid ""
5100 "Only numeric uid and gid are supported.  If you want to use names, you will "
5101 "need to locate and parse the password file yourself (Augeas support makes "
5102 "this relatively easy)."
5103 msgstr ""
5104
5105 # type: =head2
5106 #: ../src/guestfs-actions.pod:751
5107 msgid "guestfs_command"
5108 msgstr ""
5109
5110 # type: verbatim
5111 #: ../src/guestfs-actions.pod:753
5112 #, no-wrap
5113 msgid ""
5114 " char *guestfs_command (guestfs_h *g,\n"
5115 "\t\tchar *const *arguments);\n"
5116 "\n"
5117 msgstr ""
5118
5119 # type: textblock
5120 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:618
5121 msgid ""
5122 "This call runs a command from the guest filesystem.  The filesystem must be "
5123 "mounted, and must contain a compatible operating system (ie. something "
5124 "Linux, with the same or compatible processor architecture)."
5125 msgstr ""
5126
5127 # type: textblock
5128 #: ../src/guestfs-actions.pod:761
5129 msgid ""
5130 "The single parameter is an argv-style list of arguments.  The first element "
5131 "is the name of the program to run.  Subsequent elements are parameters.  The "
5132 "list must be non-empty (ie. must contain a program name).  Note that the "
5133 "command runs directly, and is I<not> invoked via the shell (see "
5134 "C<guestfs_sh>)."
5135 msgstr ""
5136
5137 # type: textblock
5138 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:630
5139 msgid "The return value is anything printed to I<stdout> by the command."
5140 msgstr ""
5141
5142 # type: textblock
5143 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:633
5144 msgid ""
5145 "If the command returns a non-zero exit status, then this function returns an "
5146 "error message.  The error message string is the content of I<stderr> from "
5147 "the command."
5148 msgstr ""
5149
5150 # type: textblock
5151 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:637
5152 msgid ""
5153 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
5154 "bin>.  If you require a program from another location, you should provide "
5155 "the full path in the first parameter."
5156 msgstr ""
5157
5158 # type: textblock
5159 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:642
5160 msgid ""
5161 "Shared libraries and data files required by the program must be available on "
5162 "filesystems which are mounted in the correct places.  It is the caller's "
5163 "responsibility to ensure all filesystems that are needed are mounted at the "
5164 "right locations."
5165 msgstr ""
5166
5167 # type: =head2
5168 #: ../src/guestfs-actions.pod:792
5169 msgid "guestfs_command_lines"
5170 msgstr ""
5171
5172 # type: verbatim
5173 #: ../src/guestfs-actions.pod:794
5174 #, no-wrap
5175 msgid ""
5176 " char **guestfs_command_lines (guestfs_h *g,\n"
5177 "\t\tchar *const *arguments);\n"
5178 "\n"
5179 msgstr ""
5180
5181 # type: textblock
5182 #: ../src/guestfs-actions.pod:797
5183 msgid ""
5184 "This is the same as C<guestfs_command>, but splits the result into a list of "
5185 "lines."
5186 msgstr ""
5187
5188 # type: textblock
5189 #: ../src/guestfs-actions.pod:800
5190 msgid "See also: C<guestfs_sh_lines>"
5191 msgstr ""
5192
5193 # type: =head2
5194 #: ../src/guestfs-actions.pod:809
5195 msgid "guestfs_config"
5196 msgstr ""
5197
5198 # type: verbatim
5199 #: ../src/guestfs-actions.pod:811
5200 #, no-wrap
5201 msgid ""
5202 " int guestfs_config (guestfs_h *g,\n"
5203 "\t\tconst char *qemuparam,\n"
5204 "\t\tconst char *qemuvalue);\n"
5205 "\n"
5206 msgstr ""
5207
5208 # type: textblock
5209 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:667
5210 msgid ""
5211 "This can be used to add arbitrary qemu command line parameters of the form "
5212 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
5213 "setting some parameters which would interfere with parameters that we use."
5214 msgstr ""
5215
5216 # type: textblock
5217 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:672
5218 msgid "The first character of C<param> string must be a C<-> (dash)."
5219 msgstr ""
5220
5221 # type: textblock
5222 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:674
5223 msgid "C<value> can be NULL."
5224 msgstr ""
5225
5226 # type: =head2
5227 #: ../src/guestfs-actions.pod:826
5228 msgid "guestfs_copy_size"
5229 msgstr ""
5230
5231 # type: verbatim
5232 #: ../src/guestfs-actions.pod:828
5233 #, no-wrap
5234 msgid ""
5235 " int guestfs_copy_size (guestfs_h *g,\n"
5236 "\t\tconst char *src,\n"
5237 "\t\tconst char *dest,\n"
5238 "\t\tint64_t size);\n"
5239 "\n"
5240 msgstr ""
5241
5242 # type: textblock
5243 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:680
5244 msgid ""
5245 "This command copies exactly C<size> bytes from one source device or file "
5246 "C<src> to another destination device or file C<dest>."
5247 msgstr ""
5248
5249 # type: textblock
5250 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:683
5251 msgid ""
5252 "Note this will fail if the source is too short or if the destination is not "
5253 "large enough."
5254 msgstr ""
5255
5256 # type: textblock
5257 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976
5258 #: ../src/guestfs-actions.pod:1004 ../src/guestfs-actions.pod:1376
5259 #: ../src/guestfs-actions.pod:1395 ../src/guestfs-actions.pod:5504
5260 #: ../src/guestfs-actions.pod:5520
5261 msgid ""
5262 "This long-running command can generate progress notification messages so "
5263 "that the caller can display a progress bar or indicator.  To receive these "
5264 "messages, the caller must register a progress callback.  See L<guestfs(3)/"
5265 "guestfs_set_progress_callback>."
5266 msgstr ""
5267
5268 # type: =head2
5269 #: ../src/guestfs-actions.pod:846
5270 msgid "guestfs_cp"
5271 msgstr ""
5272
5273 # type: verbatim
5274 #: ../src/guestfs-actions.pod:848
5275 #, no-wrap
5276 msgid ""
5277 " int guestfs_cp (guestfs_h *g,\n"
5278 "\t\tconst char *src,\n"
5279 "\t\tconst char *dest);\n"
5280 "\n"
5281 msgstr ""
5282
5283 # type: textblock
5284 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:690
5285 msgid ""
5286 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5287 "destination filename or destination directory."
5288 msgstr ""
5289
5290 # type: =head2
5291 #: ../src/guestfs-actions.pod:857
5292 msgid "guestfs_cp_a"
5293 msgstr ""
5294
5295 # type: verbatim
5296 #: ../src/guestfs-actions.pod:859
5297 #, no-wrap
5298 msgid ""
5299 " int guestfs_cp_a (guestfs_h *g,\n"
5300 "\t\tconst char *src,\n"
5301 "\t\tconst char *dest);\n"
5302 "\n"
5303 msgstr ""
5304
5305 # type: textblock
5306 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:697
5307 msgid ""
5308 "This copies a file or directory from C<src> to C<dest> recursively using the "
5309 "C<cp -a> command."
5310 msgstr ""
5311
5312 # type: =head2
5313 #: ../src/guestfs-actions.pod:868
5314 msgid "guestfs_dd"
5315 msgstr ""
5316
5317 # type: verbatim
5318 #: ../src/guestfs-actions.pod:870
5319 #, no-wrap
5320 msgid ""
5321 " int guestfs_dd (guestfs_h *g,\n"
5322 "\t\tconst char *src,\n"
5323 "\t\tconst char *dest);\n"
5324 "\n"
5325 msgstr ""
5326
5327 # type: textblock
5328 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:704
5329 msgid ""
5330 "This command copies from one source device or file C<src> to another "
5331 "destination device or file C<dest>.  Normally you would use this to copy to "
5332 "or from a device or partition, for example to duplicate a filesystem."
5333 msgstr ""
5334
5335 # type: textblock
5336 #: ../src/guestfs-actions.pod:879
5337 msgid ""
5338 "If the destination is a device, it must be as large or larger than the "
5339 "source file or device, otherwise the copy will fail.  This command cannot do "
5340 "partial copies (see C<guestfs_copy_size>)."
5341 msgstr ""
5342
5343 # type: =head2
5344 #: ../src/guestfs-actions.pod:885
5345 msgid "guestfs_debug"
5346 msgstr ""
5347
5348 # type: verbatim
5349 #: ../src/guestfs-actions.pod:887
5350 #, no-wrap
5351 msgid ""
5352 " char *guestfs_debug (guestfs_h *g,\n"
5353 "\t\tconst char *subcmd,\n"
5354 "\t\tchar *const *extraargs);\n"
5355 "\n"
5356 msgstr ""
5357
5358 # type: textblock
5359 #: ../src/guestfs-actions.pod:891
5360 msgid ""
5361 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5362 "guestfs daemon) that runs inside the qemu subprocess."
5363 msgstr ""
5364
5365 # type: textblock
5366 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:721
5367 msgid ""
5368 "There is no comprehensive help for this command.  You have to look at the "
5369 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5370 msgstr ""
5371
5372 # type: =head2
5373 #: ../src/guestfs-actions.pod:902
5374 msgid "guestfs_debug_upload"
5375 msgstr ""
5376
5377 # type: verbatim
5378 #: ../src/guestfs-actions.pod:904
5379 #, no-wrap
5380 msgid ""
5381 " int guestfs_debug_upload (guestfs_h *g,\n"
5382 "\t\tconst char *filename,\n"
5383 "\t\tconst char *tmpname,\n"
5384 "\t\tint mode);\n"
5385 "\n"
5386 msgstr ""
5387
5388 # type: textblock
5389 #: ../src/guestfs-actions.pod:909
5390 msgid ""
5391 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5392 "appliance."
5393 msgstr ""
5394
5395 # type: textblock
5396 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:732
5397 msgid ""
5398 "There is no comprehensive help for this command.  You have to look at the "
5399 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5400 msgstr ""
5401
5402 # type: =head2
5403 #: ../src/guestfs-actions.pod:918
5404 msgid "guestfs_df"
5405 msgstr ""
5406
5407 # type: verbatim
5408 #: ../src/guestfs-actions.pod:920
5409 #, no-wrap
5410 msgid ""
5411 " char *guestfs_df (guestfs_h *g);\n"
5412 "\n"
5413 msgstr ""
5414
5415 # type: textblock
5416 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:742
5417 msgid "This command runs the C<df> command to report disk space used."
5418 msgstr ""
5419
5420 # type: textblock
5421 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938
5422 #: ../fish/guestfish-actions.pod:744 ../fish/guestfish-actions.pod:755
5423 msgid ""
5424 "This command is mostly useful for interactive sessions.  It is I<not> "
5425 "intended that you try to parse the output string.  Use C<statvfs> from "
5426 "programs."
5427 msgstr ""
5428
5429 # type: =head2
5430 #: ../src/guestfs-actions.pod:931
5431 msgid "guestfs_df_h"
5432 msgstr ""
5433
5434 # type: verbatim
5435 #: ../src/guestfs-actions.pod:933
5436 #, no-wrap
5437 msgid ""
5438 " char *guestfs_df_h (guestfs_h *g);\n"
5439 "\n"
5440 msgstr ""
5441
5442 # type: textblock
5443 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:752
5444 msgid ""
5445 "This command runs the C<df -h> command to report disk space used in human-"
5446 "readable format."
5447 msgstr ""
5448
5449 # type: =head2
5450 #: ../src/guestfs-actions.pod:945
5451 msgid "guestfs_dmesg"
5452 msgstr ""
5453
5454 # type: verbatim
5455 #: ../src/guestfs-actions.pod:947
5456 #, no-wrap
5457 msgid ""
5458 " char *guestfs_dmesg (guestfs_h *g);\n"
5459 "\n"
5460 msgstr ""
5461
5462 # type: textblock
5463 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:763
5464 msgid ""
5465 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5466 "This is sometimes useful for extended debugging of problems."
5467 msgstr ""
5468
5469 # type: textblock
5470 #: ../src/guestfs-actions.pod:953
5471 msgid ""
5472 "Another way to get the same information is to enable verbose messages with "
5473 "C<guestfs_set_verbose> or by setting the environment variable "
5474 "C<LIBGUESTFS_DEBUG=1> before running the program."
5475 msgstr ""
5476
5477 # type: =head2
5478 #: ../src/guestfs-actions.pod:961
5479 msgid "guestfs_download"
5480 msgstr ""
5481
5482 # type: verbatim
5483 #: ../src/guestfs-actions.pod:963
5484 #, no-wrap
5485 msgid ""
5486 " int guestfs_download (guestfs_h *g,\n"
5487 "\t\tconst char *remotefilename,\n"
5488 "\t\tconst char *filename);\n"
5489 "\n"
5490 msgstr ""
5491
5492 # type: textblock
5493 #: ../src/guestfs-actions.pod:967 ../src/guestfs-actions.pod:989
5494 #: ../fish/guestfish-actions.pod:776 ../fish/guestfish-actions.pod:789
5495 msgid ""
5496 "Download file C<remotefilename> and save it as C<filename> on the local "
5497 "machine."
5498 msgstr ""
5499
5500 # type: textblock
5501 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:5072
5502 #: ../fish/guestfish-actions.pod:779 ../fish/guestfish-actions.pod:3948
5503 msgid "C<filename> can also be a named pipe."
5504 msgstr ""
5505
5506 # type: textblock
5507 #: ../src/guestfs-actions.pod:972
5508 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5509 msgstr ""
5510
5511 # type: =head2
5512 #: ../src/guestfs-actions.pod:981
5513 msgid "guestfs_download_offset"
5514 msgstr ""
5515
5516 # type: verbatim
5517 #: ../src/guestfs-actions.pod:983
5518 #, no-wrap
5519 msgid ""
5520 " int guestfs_download_offset (guestfs_h *g,\n"
5521 "\t\tconst char *remotefilename,\n"
5522 "\t\tconst char *filename,\n"
5523 "\t\tint64_t offset,\n"
5524 "\t\tint64_t size);\n"
5525 "\n"
5526 msgstr ""
5527
5528 # type: textblock
5529 #: ../src/guestfs-actions.pod:992 ../fish/guestfish-actions.pod:792
5530 msgid ""
5531 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
5532 "region must be within the file or device)."
5533 msgstr ""
5534
5535 # type: textblock
5536 #: ../src/guestfs-actions.pod:995
5537 msgid ""
5538 "Note that there is no limit on the amount of data that can be downloaded "
5539 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
5540 "full amount unless an error occurs."
5541 msgstr ""
5542
5543 # type: textblock
5544 #: ../src/guestfs-actions.pod:1000
5545 msgid "See also C<guestfs_download>, C<guestfs_pread>."
5546 msgstr ""
5547
5548 # type: =head2
5549 #: ../src/guestfs-actions.pod:1009
5550 msgid "guestfs_drop_caches"
5551 msgstr ""
5552
5553 # type: verbatim
5554 #: ../src/guestfs-actions.pod:1011
5555 #, no-wrap
5556 msgid ""
5557 " int guestfs_drop_caches (guestfs_h *g,\n"
5558 "\t\tint whattodrop);\n"
5559 "\n"
5560 msgstr ""
5561
5562 # type: textblock
5563 #: ../src/guestfs-actions.pod:1014 ../fish/guestfish-actions.pod:808
5564 msgid ""
5565 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5566 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5567 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5568 msgstr ""
5569
5570 # type: textblock
5571 #: ../src/guestfs-actions.pod:1019 ../fish/guestfish-actions.pod:813
5572 msgid "Setting C<whattodrop> to 3 should drop everything."
5573 msgstr ""
5574
5575 # type: textblock
5576 #: ../src/guestfs-actions.pod:1021 ../fish/guestfish-actions.pod:815
5577 msgid ""
5578 "This automatically calls L<sync(2)> before the operation, so that the "
5579 "maximum guest memory is freed."
5580 msgstr ""
5581
5582 # type: =head2
5583 #: ../src/guestfs-actions.pod:1026
5584 msgid "guestfs_du"
5585 msgstr ""
5586
5587 # type: verbatim
5588 #: ../src/guestfs-actions.pod:1028
5589 #, no-wrap
5590 msgid ""
5591 " int64_t guestfs_du (guestfs_h *g,\n"
5592 "\t\tconst char *path);\n"
5593 "\n"
5594 msgstr ""
5595
5596 # type: textblock
5597 #: ../src/guestfs-actions.pod:1031 ../fish/guestfish-actions.pod:822
5598 msgid ""
5599 "This command runs the C<du -s> command to estimate file space usage for "
5600 "C<path>."
5601 msgstr ""
5602
5603 # type: textblock
5604 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:825
5605 msgid ""
5606 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5607 "estimate includes the contents of the directory and all subdirectories "
5608 "(recursively)."
5609 msgstr ""
5610
5611 # type: textblock
5612 #: ../src/guestfs-actions.pod:1038 ../fish/guestfish-actions.pod:829
5613 msgid ""
5614 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5615 msgstr ""
5616
5617 # type: =head2
5618 #: ../src/guestfs-actions.pod:1043
5619 msgid "guestfs_e2fsck_f"
5620 msgstr ""
5621
5622 # type: verbatim
5623 #: ../src/guestfs-actions.pod:1045
5624 #, no-wrap
5625 msgid ""
5626 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5627 "\t\tconst char *device);\n"
5628 "\n"
5629 msgstr ""
5630
5631 # type: textblock
5632 #: ../src/guestfs-actions.pod:1048 ../fish/guestfish-actions.pod:836
5633 msgid ""
5634 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5635 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5636 "clean (C<-f>)."
5637 msgstr ""
5638
5639 # type: textblock
5640 #: ../src/guestfs-actions.pod:1052
5641 msgid ""
5642 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5643 "Normally you should use C<guestfs_fsck>."
5644 msgstr ""
5645
5646 # type: =head2
5647 #: ../src/guestfs-actions.pod:1057
5648 msgid "guestfs_echo_daemon"
5649 msgstr ""
5650
5651 # type: verbatim
5652 #: ../src/guestfs-actions.pod:1059
5653 #, no-wrap
5654 msgid ""
5655 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5656 "\t\tchar *const *words);\n"
5657 "\n"
5658 msgstr ""
5659
5660 # type: textblock
5661 #: ../src/guestfs-actions.pod:1062 ../fish/guestfish-actions.pod:847
5662 msgid ""
5663 "This command concatenates the list of C<words> passed with single spaces "
5664 "between them and returns the resulting string."
5665 msgstr ""
5666
5667 # type: textblock
5668 #: ../src/guestfs-actions.pod:1065 ../fish/guestfish-actions.pod:850
5669 msgid "You can use this command to test the connection through to the daemon."
5670 msgstr ""
5671
5672 # type: textblock
5673 #: ../src/guestfs-actions.pod:1067
5674 msgid "See also C<guestfs_ping_daemon>."
5675 msgstr ""
5676
5677 # type: =head2
5678 #: ../src/guestfs-actions.pod:1072
5679 msgid "guestfs_egrep"
5680 msgstr ""
5681
5682 # type: verbatim
5683 #: ../src/guestfs-actions.pod:1074
5684 #, no-wrap
5685 msgid ""
5686 " char **guestfs_egrep (guestfs_h *g,\n"
5687 "\t\tconst char *regex,\n"
5688 "\t\tconst char *path);\n"
5689 "\n"
5690 msgstr ""
5691
5692 # type: textblock
5693 #: ../src/guestfs-actions.pod:1078 ../fish/guestfish-actions.pod:858
5694 msgid ""
5695 "This calls the external C<egrep> program and returns the matching lines."
5696 msgstr ""
5697
5698 # type: =head2
5699 #: ../src/guestfs-actions.pod:1088
5700 msgid "guestfs_egrepi"
5701 msgstr ""
5702
5703 # type: verbatim
5704 #: ../src/guestfs-actions.pod:1090
5705 #, no-wrap
5706 msgid ""
5707 " char **guestfs_egrepi (guestfs_h *g,\n"
5708 "\t\tconst char *regex,\n"
5709 "\t\tconst char *path);\n"
5710 "\n"
5711 msgstr ""
5712
5713 # type: textblock
5714 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:868
5715 msgid ""
5716 "This calls the external C<egrep -i> program and returns the matching lines."
5717 msgstr ""
5718
5719 # type: =head2
5720 #: ../src/guestfs-actions.pod:1104
5721 msgid "guestfs_equal"
5722 msgstr ""
5723
5724 # type: verbatim
5725 #: ../src/guestfs-actions.pod:1106
5726 #, no-wrap
5727 msgid ""
5728 " int guestfs_equal (guestfs_h *g,\n"
5729 "\t\tconst char *file1,\n"
5730 "\t\tconst char *file2);\n"
5731 "\n"
5732 msgstr ""
5733
5734 # type: textblock
5735 #: ../src/guestfs-actions.pod:1110 ../fish/guestfish-actions.pod:878
5736 msgid ""
5737 "This compares the two files C<file1> and C<file2> and returns true if their "
5738 "content is exactly equal, or false otherwise."
5739 msgstr ""
5740
5741 # type: textblock
5742 #: ../src/guestfs-actions.pod:1113 ../fish/guestfish-actions.pod:881
5743 msgid "The external L<cmp(1)> program is used for the comparison."
5744 msgstr ""
5745
5746 # type: =head2
5747 #: ../src/guestfs-actions.pod:1117
5748 msgid "guestfs_exists"
5749 msgstr ""
5750
5751 # type: verbatim
5752 #: ../src/guestfs-actions.pod:1119
5753 #, no-wrap
5754 msgid ""
5755 " int guestfs_exists (guestfs_h *g,\n"
5756 "\t\tconst char *path);\n"
5757 "\n"
5758 msgstr ""
5759
5760 # type: textblock
5761 #: ../src/guestfs-actions.pod:1122 ../fish/guestfish-actions.pod:887
5762 msgid ""
5763 "This returns C<true> if and only if there is a file, directory (or anything) "
5764 "with the given C<path> name."
5765 msgstr ""
5766
5767 # type: textblock
5768 #: ../src/guestfs-actions.pod:1125
5769 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5770 msgstr ""
5771
5772 # type: =head2
5773 #: ../src/guestfs-actions.pod:1129
5774 msgid "guestfs_fallocate"
5775 msgstr ""
5776
5777 # type: verbatim
5778 #: ../src/guestfs-actions.pod:1131
5779 #, no-wrap
5780 msgid ""
5781 " int guestfs_fallocate (guestfs_h *g,\n"
5782 "\t\tconst char *path,\n"
5783 "\t\tint len);\n"
5784 "\n"
5785 msgstr ""
5786
5787 # type: textblock
5788 #: ../src/guestfs-actions.pod:1135 ../src/guestfs-actions.pod:1158
5789 #: ../fish/guestfish-actions.pod:896 ../fish/guestfish-actions.pod:915
5790 msgid ""
5791 "This command preallocates a file (containing zero bytes) named C<path> of "
5792 "size C<len> bytes.  If the file exists already, it is overwritten."
5793 msgstr ""
5794
5795 # type: textblock
5796 #: ../src/guestfs-actions.pod:1139 ../fish/guestfish-actions.pod:900
5797 msgid ""
5798 "Do not confuse this with the guestfish-specific C<alloc> command which "
5799 "allocates a file in the host and attaches it as a device."
5800 msgstr ""
5801
5802 # type: textblock
5803 #: ../src/guestfs-actions.pod:1145 ../fish/guestfish-actions.pod:904
5804 msgid ""
5805 "This function is deprecated.  In new code, use the C<fallocate64> call "
5806 "instead."
5807 msgstr ""
5808
5809 # type: textblock
5810 #: ../src/guestfs-actions.pod:1148 ../src/guestfs-actions.pod:1583
5811 #: ../src/guestfs-actions.pod:1601 ../src/guestfs-actions.pod:5453
5812 #: ../src/guestfs-actions.pod:5598 ../fish/guestfish-actions.pod:907
5813 #: ../fish/guestfish-actions.pod:1264 ../fish/guestfish-actions.pod:1278
5814 #: ../fish/guestfish-actions.pod:4224 ../fish/guestfish-actions.pod:4321
5815 msgid ""
5816 "Deprecated functions will not be removed from the API, but the fact that "
5817 "they are deprecated indicates that there are problems with correct use of "
5818 "these functions."
5819 msgstr ""
5820
5821 # type: =head2
5822 #: ../src/guestfs-actions.pod:1152
5823 msgid "guestfs_fallocate64"
5824 msgstr ""
5825
5826 # type: verbatim
5827 #: ../src/guestfs-actions.pod:1154
5828 #, no-wrap
5829 msgid ""
5830 " int guestfs_fallocate64 (guestfs_h *g,\n"
5831 "\t\tconst char *path,\n"
5832 "\t\tint64_t len);\n"
5833 "\n"
5834 msgstr ""
5835
5836 # type: textblock
5837 #: ../src/guestfs-actions.pod:1162
5838 msgid ""
5839 "Note that this call allocates disk blocks for the file.  To create a sparse "
5840 "file use C<guestfs_truncate_size> instead."
5841 msgstr ""
5842
5843 # type: textblock
5844 #: ../src/guestfs-actions.pod:1165
5845 msgid ""
5846 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5847 "oversight it only allowed 30 bit lengths to be specified, effectively "
5848 "limiting the maximum size of files created through that call to 1GB."
5849 msgstr ""
5850
5851 # type: textblock
5852 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:927
5853 msgid ""
5854 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5855 "commands which create a file in the host and attach it as a device."
5856 msgstr ""
5857
5858 # type: =head2
5859 #: ../src/guestfs-actions.pod:1176
5860 msgid "guestfs_fgrep"
5861 msgstr ""
5862
5863 # type: verbatim
5864 #: ../src/guestfs-actions.pod:1178
5865 #, no-wrap
5866 msgid ""
5867 " char **guestfs_fgrep (guestfs_h *g,\n"
5868 "\t\tconst char *pattern,\n"
5869 "\t\tconst char *path);\n"
5870 "\n"
5871 msgstr ""
5872
5873 # type: textblock
5874 #: ../src/guestfs-actions.pod:1182 ../fish/guestfish-actions.pod:935
5875 msgid ""
5876 "This calls the external C<fgrep> program and returns the matching lines."
5877 msgstr ""
5878
5879 # type: =head2
5880 #: ../src/guestfs-actions.pod:1192
5881 msgid "guestfs_fgrepi"
5882 msgstr ""
5883
5884 # type: verbatim
5885 #: ../src/guestfs-actions.pod:1194
5886 #, no-wrap
5887 msgid ""
5888 " char **guestfs_fgrepi (guestfs_h *g,\n"
5889 "\t\tconst char *pattern,\n"
5890 "\t\tconst char *path);\n"
5891 "\n"
5892 msgstr ""
5893
5894 # type: textblock
5895 #: ../src/guestfs-actions.pod:1198 ../fish/guestfish-actions.pod:945
5896 msgid ""
5897 "This calls the external C<fgrep -i> program and returns the matching lines."
5898 msgstr ""
5899
5900 # type: =head2
5901 #: ../src/guestfs-actions.pod:1208
5902 msgid "guestfs_file"
5903 msgstr ""
5904
5905 # type: verbatim
5906 #: ../src/guestfs-actions.pod:1210
5907 #, no-wrap
5908 msgid ""
5909 " char *guestfs_file (guestfs_h *g,\n"
5910 "\t\tconst char *path);\n"
5911 "\n"
5912 msgstr ""
5913
5914 # type: textblock
5915 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:955
5916 msgid ""
5917 "This call uses the standard L<file(1)> command to determine the type or "
5918 "contents of the file."
5919 msgstr ""
5920
5921 # type: textblock
5922 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:958
5923 msgid ""
5924 "This call will also transparently look inside various types of compressed "
5925 "file."
5926 msgstr ""
5927
5928 # type: textblock
5929 #: ../src/guestfs-actions.pod:1219 ../fish/guestfish-actions.pod:961
5930 msgid ""
5931 "The exact command which runs is C<file -zb path>.  Note in particular that "
5932 "the filename is not prepended to the output (the C<-b> option)."
5933 msgstr ""
5934
5935 # type: textblock
5936 #: ../src/guestfs-actions.pod:1223
5937 msgid ""
5938 "This command can also be used on C</dev/> devices (and partitions, LV "
5939 "names).  You can for example use this to determine if a device contains a "
5940 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
5941 msgstr ""
5942
5943 # type: textblock
5944 #: ../src/guestfs-actions.pod:1228 ../fish/guestfish-actions.pod:970
5945 msgid ""
5946 "If the C<path> does not begin with C</dev/> then this command only works for "
5947 "the content of regular files.  For other file types (directory, symbolic "
5948 "link etc) it will just return the string C<directory> etc."
5949 msgstr ""
5950
5951 # type: =head2
5952 #: ../src/guestfs-actions.pod:1236
5953 msgid "guestfs_file_architecture"
5954 msgstr ""
5955
5956 # type: verbatim
5957 #: ../src/guestfs-actions.pod:1238
5958 #, no-wrap
5959 msgid ""
5960 " char *guestfs_file_architecture (guestfs_h *g,\n"
5961 "\t\tconst char *filename);\n"
5962 "\n"
5963 msgstr ""
5964
5965 # type: textblock
5966 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:979
5967 msgid ""
5968 "This detects the architecture of the binary C<filename>, and returns it if "
5969 "known."
5970 msgstr ""
5971
5972 # type: textblock
5973 #: ../src/guestfs-actions.pod:1244 ../fish/guestfish-actions.pod:982
5974 msgid "Currently defined architectures are:"
5975 msgstr ""
5976
5977 # type: =item
5978 #: ../src/guestfs-actions.pod:1248 ../fish/guestfish-actions.pod:986
5979 msgid "\"i386\""
5980 msgstr ""
5981
5982 # type: textblock
5983 #: ../src/guestfs-actions.pod:1250 ../fish/guestfish-actions.pod:988
5984 msgid ""
5985 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
5986 "irrespective of the precise processor requirements of the binary."
5987 msgstr ""
5988
5989 # type: =item
5990 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:991
5991 msgid "\"x86_64\""
5992 msgstr ""
5993
5994 # type: textblock
5995 #: ../src/guestfs-actions.pod:1255 ../fish/guestfish-actions.pod:993
5996 msgid "64 bit x86-64."
5997 msgstr ""
5998
5999 # type: =item
6000 #: ../src/guestfs-actions.pod:1257 ../fish/guestfish-actions.pod:995
6001 msgid "\"sparc\""
6002 msgstr ""
6003
6004 # type: textblock
6005 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:997
6006 msgid "32 bit SPARC."
6007 msgstr ""
6008
6009 # type: =item
6010 #: ../src/guestfs-actions.pod:1261 ../fish/guestfish-actions.pod:999
6011 msgid "\"sparc64\""
6012 msgstr ""
6013
6014 # type: textblock
6015 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1001
6016 msgid "64 bit SPARC V9 and above."
6017 msgstr ""
6018
6019 # type: =item
6020 #: ../src/guestfs-actions.pod:1265 ../fish/guestfish-actions.pod:1003
6021 msgid "\"ia64\""
6022 msgstr ""
6023
6024 # type: textblock
6025 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1005
6026 msgid "Intel Itanium."
6027 msgstr ""
6028
6029 # type: =item
6030 #: ../src/guestfs-actions.pod:1269 ../fish/guestfish-actions.pod:1007
6031 msgid "\"ppc\""
6032 msgstr ""
6033
6034 # type: textblock
6035 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1009
6036 msgid "32 bit Power PC."
6037 msgstr ""
6038
6039 # type: =item
6040 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1011
6041 msgid "\"ppc64\""
6042 msgstr ""
6043
6044 # type: textblock
6045 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1013
6046 msgid "64 bit Power PC."
6047 msgstr ""
6048
6049 # type: textblock
6050 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1017
6051 msgid "Libguestfs may return other architecture strings in future."
6052 msgstr ""
6053
6054 # type: textblock
6055 #: ../src/guestfs-actions.pod:1281 ../fish/guestfish-actions.pod:1019
6056 msgid "The function works on at least the following types of files:"
6057 msgstr ""
6058
6059 # type: textblock
6060 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1025
6061 msgid "many types of Un*x and Linux binary"
6062 msgstr ""
6063
6064 # type: textblock
6065 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1029
6066 msgid "many types of Un*x and Linux shared library"
6067 msgstr ""
6068
6069 # type: textblock
6070 #: ../src/guestfs-actions.pod:1295 ../fish/guestfish-actions.pod:1033
6071 msgid "Windows Win32 and Win64 binaries"
6072 msgstr ""
6073
6074 # type: textblock
6075 #: ../src/guestfs-actions.pod:1299 ../fish/guestfish-actions.pod:1037
6076 msgid "Windows Win32 and Win64 DLLs"
6077 msgstr ""
6078
6079 # type: textblock
6080 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1039
6081 msgid "Win32 binaries and DLLs return C<i386>."
6082 msgstr ""
6083
6084 # type: textblock
6085 #: ../src/guestfs-actions.pod:1303 ../fish/guestfish-actions.pod:1041
6086 msgid "Win64 binaries and DLLs return C<x86_64>."
6087 msgstr ""
6088
6089 # type: textblock
6090 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1045
6091 msgid "Linux kernel modules"
6092 msgstr ""
6093
6094 # type: textblock
6095 #: ../src/guestfs-actions.pod:1311 ../fish/guestfish-actions.pod:1049
6096 msgid "Linux new-style initrd images"
6097 msgstr ""
6098
6099 # type: textblock
6100 #: ../src/guestfs-actions.pod:1315 ../fish/guestfish-actions.pod:1053
6101 msgid "some non-x86 Linux vmlinuz kernels"
6102 msgstr ""
6103
6104 # type: textblock
6105 #: ../src/guestfs-actions.pod:1319 ../fish/guestfish-actions.pod:1057
6106 msgid "What it can't do currently:"
6107 msgstr ""
6108
6109 # type: textblock
6110 #: ../src/guestfs-actions.pod:1325 ../fish/guestfish-actions.pod:1063
6111 msgid "static libraries (libfoo.a)"
6112 msgstr ""
6113
6114 # type: textblock
6115 #: ../src/guestfs-actions.pod:1329 ../fish/guestfish-actions.pod:1067
6116 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6117 msgstr ""
6118
6119 # type: textblock
6120 #: ../src/guestfs-actions.pod:1333 ../fish/guestfish-actions.pod:1071
6121 msgid "x86 Linux vmlinuz kernels"
6122 msgstr ""
6123
6124 # type: textblock
6125 #: ../src/guestfs-actions.pod:1335 ../fish/guestfish-actions.pod:1073
6126 msgid ""
6127 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
6128 "compressed code, and are horribly hard to unpack.  If you want to find the "
6129 "architecture of a kernel, use the architecture of the associated initrd or "
6130 "kernel module(s) instead."
6131 msgstr ""
6132
6133 # type: =head2
6134 #: ../src/guestfs-actions.pod:1345
6135 msgid "guestfs_filesize"
6136 msgstr ""
6137
6138 # type: verbatim
6139 #: ../src/guestfs-actions.pod:1347
6140 #, no-wrap
6141 msgid ""
6142 " int64_t guestfs_filesize (guestfs_h *g,\n"
6143 "\t\tconst char *file);\n"
6144 "\n"
6145 msgstr ""
6146
6147 # type: textblock
6148 #: ../src/guestfs-actions.pod:1350 ../fish/guestfish-actions.pod:1084
6149 msgid "This command returns the size of C<file> in bytes."
6150 msgstr ""
6151
6152 # type: textblock
6153 #: ../src/guestfs-actions.pod:1352
6154 msgid ""
6155 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
6156 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
6157 "devices, use C<guestfs_blockdev_getsize64>."
6158 msgstr ""
6159
6160 # type: =head2
6161 #: ../src/guestfs-actions.pod:1358
6162 msgid "guestfs_fill"
6163 msgstr ""
6164
6165 # type: verbatim
6166 #: ../src/guestfs-actions.pod:1360
6167 #, no-wrap
6168 msgid ""
6169 " int guestfs_fill (guestfs_h *g,\n"
6170 "\t\tint c,\n"
6171 "\t\tint len,\n"
6172 "\t\tconst char *path);\n"
6173 "\n"
6174 msgstr ""
6175
6176 # type: textblock
6177 #: ../src/guestfs-actions.pod:1365 ../fish/guestfish-actions.pod:1094
6178 msgid ""
6179 "This command creates a new file called C<path>.  The initial content of the "
6180 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
6181 "[0..255]>."
6182 msgstr ""
6183
6184 # type: textblock
6185 #: ../src/guestfs-actions.pod:1369
6186 msgid ""
6187 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
6188 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
6189 "bytes use C<guestfs_fill_pattern>."
6190 msgstr ""
6191
6192 # type: =head2
6193 #: ../src/guestfs-actions.pod:1381
6194 msgid "guestfs_fill_pattern"
6195 msgstr ""
6196
6197 # type: verbatim
6198 #: ../src/guestfs-actions.pod:1383
6199 #, no-wrap
6200 msgid ""
6201 " int guestfs_fill_pattern (guestfs_h *g,\n"
6202 "\t\tconst char *pattern,\n"
6203 "\t\tint len,\n"
6204 "\t\tconst char *path);\n"
6205 "\n"
6206 msgstr ""
6207
6208 # type: textblock
6209 #: ../src/guestfs-actions.pod:1388
6210 msgid ""
6211 "This function is like C<guestfs_fill> except that it creates a new file of "
6212 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
6213 "pattern is truncated if necessary to ensure the length of the file is "
6214 "exactly C<len> bytes."
6215 msgstr ""
6216
6217 # type: =head2
6218 #: ../src/guestfs-actions.pod:1400
6219 msgid "guestfs_find"
6220 msgstr ""
6221
6222 # type: verbatim
6223 #: ../src/guestfs-actions.pod:1402
6224 #, no-wrap
6225 msgid ""
6226 " char **guestfs_find (guestfs_h *g,\n"
6227 "\t\tconst char *directory);\n"
6228 "\n"
6229 msgstr ""
6230
6231 # type: textblock
6232 #: ../src/guestfs-actions.pod:1405 ../fish/guestfish-actions.pod:1116
6233 msgid ""
6234 "This command lists out all files and directories, recursively, starting at "
6235 "C<directory>.  It is essentially equivalent to running the shell command "
6236 "C<find directory -print> but some post-processing happens on the output, "
6237 "described below."
6238 msgstr ""
6239
6240 # type: textblock
6241 #: ../src/guestfs-actions.pod:1410 ../fish/guestfish-actions.pod:1121
6242 msgid ""
6243 "This returns a list of strings I<without any prefix>.  Thus if the directory "
6244 "structure was:"
6245 msgstr ""
6246
6247 # type: verbatim
6248 #: ../src/guestfs-actions.pod:1413 ../fish/guestfish-actions.pod:1124
6249 #, no-wrap
6250 msgid ""
6251 " /tmp/a\n"
6252 " /tmp/b\n"
6253 " /tmp/c/d\n"
6254 "\n"
6255 msgstr ""
6256
6257 # type: textblock
6258 #: ../src/guestfs-actions.pod:1417
6259 msgid ""
6260 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
6261 msgstr ""
6262
6263 # type: verbatim
6264 #: ../src/guestfs-actions.pod:1420 ../fish/guestfish-actions.pod:1131
6265 #, no-wrap
6266 msgid ""
6267 " a\n"
6268 " b\n"
6269 " c\n"
6270 " c/d\n"
6271 "\n"
6272 msgstr ""
6273
6274 # type: textblock
6275 #: ../src/guestfs-actions.pod:1425 ../fish/guestfish-actions.pod:1136
6276 msgid "If C<directory> is not a directory, then this command returns an error."
6277 msgstr ""
6278
6279 # type: textblock
6280 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1139
6281 msgid "The returned list is sorted."
6282 msgstr ""
6283
6284 # type: textblock
6285 #: ../src/guestfs-actions.pod:1430
6286 msgid "See also C<guestfs_find0>."
6287 msgstr ""
6288
6289 # type: =head2
6290 #: ../src/guestfs-actions.pod:1439
6291 msgid "guestfs_find0"
6292 msgstr ""
6293
6294 # type: verbatim
6295 #: ../src/guestfs-actions.pod:1441
6296 #, no-wrap
6297 msgid ""
6298 " int guestfs_find0 (guestfs_h *g,\n"
6299 "\t\tconst char *directory,\n"
6300 "\t\tconst char *files);\n"
6301 "\n"
6302 msgstr ""
6303
6304 # type: textblock
6305 #: ../src/guestfs-actions.pod:1445 ../fish/guestfish-actions.pod:1150
6306 msgid ""
6307 "This command lists out all files and directories, recursively, starting at "
6308 "C<directory>, placing the resulting list in the external file called "
6309 "C<files>."
6310 msgstr ""
6311
6312 # type: textblock
6313 #: ../src/guestfs-actions.pod:1449
6314 msgid ""
6315 "This command works the same way as C<guestfs_find> with the following "
6316 "exceptions:"
6317 msgstr ""
6318
6319 # type: textblock
6320 #: ../src/guestfs-actions.pod:1456 ../fish/guestfish-actions.pod:1161
6321 msgid "The resulting list is written to an external file."
6322 msgstr ""
6323
6324 # type: textblock
6325 #: ../src/guestfs-actions.pod:1460 ../fish/guestfish-actions.pod:1165
6326 msgid ""
6327 "Items (filenames) in the result are separated by C<\\0> characters.  See "
6328 "L<find(1)> option I<-print0>."
6329 msgstr ""
6330
6331 # type: textblock
6332 #: ../src/guestfs-actions.pod:1465 ../fish/guestfish-actions.pod:1170
6333 msgid "This command is not limited in the number of names that it can return."
6334 msgstr ""
6335
6336 # type: textblock
6337 #: ../src/guestfs-actions.pod:1470 ../fish/guestfish-actions.pod:1175
6338 msgid "The result list is not sorted."
6339 msgstr ""
6340
6341 # type: =head2
6342 #: ../src/guestfs-actions.pod:1476
6343 msgid "guestfs_findfs_label"
6344 msgstr ""
6345
6346 # type: verbatim
6347 #: ../src/guestfs-actions.pod:1478
6348 #, no-wrap
6349 msgid ""
6350 " char *guestfs_findfs_label (guestfs_h *g,\n"
6351 "\t\tconst char *label);\n"
6352 "\n"
6353 msgstr ""
6354
6355 # type: textblock
6356 #: ../src/guestfs-actions.pod:1481 ../fish/guestfish-actions.pod:1185
6357 msgid ""
6358 "This command searches the filesystems and returns the one which has the "
6359 "given label.  An error is returned if no such filesystem can be found."
6360 msgstr ""
6361
6362 # type: textblock
6363 #: ../src/guestfs-actions.pod:1485
6364 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6365 msgstr ""
6366
6367 # type: =head2
6368 #: ../src/guestfs-actions.pod:1490
6369 msgid "guestfs_findfs_uuid"
6370 msgstr ""
6371
6372 # type: verbatim
6373 #: ../src/guestfs-actions.pod:1492
6374 #, no-wrap
6375 msgid ""
6376 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6377 "\t\tconst char *uuid);\n"
6378 "\n"
6379 msgstr ""
6380
6381 # type: textblock
6382 #: ../src/guestfs-actions.pod:1495 ../fish/guestfish-actions.pod:1195
6383 msgid ""
6384 "This command searches the filesystems and returns the one which has the "
6385 "given UUID.  An error is returned if no such filesystem can be found."
6386 msgstr ""
6387
6388 # type: textblock
6389 #: ../src/guestfs-actions.pod:1499
6390 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6391 msgstr ""
6392
6393 # type: =head2
6394 #: ../src/guestfs-actions.pod:1504
6395 msgid "guestfs_fsck"
6396 msgstr ""
6397
6398 # type: verbatim
6399 #: ../src/guestfs-actions.pod:1506
6400 #, no-wrap
6401 msgid ""
6402 " int guestfs_fsck (guestfs_h *g,\n"
6403 "\t\tconst char *fstype,\n"
6404 "\t\tconst char *device);\n"
6405 "\n"
6406 msgstr ""
6407
6408 # type: textblock
6409 #: ../src/guestfs-actions.pod:1510 ../fish/guestfish-actions.pod:1205
6410 msgid ""
6411 "This runs the filesystem checker (fsck) on C<device> which should have "
6412 "filesystem type C<fstype>."
6413 msgstr ""
6414
6415 # type: textblock
6416 #: ../src/guestfs-actions.pod:1513 ../fish/guestfish-actions.pod:1208
6417 msgid ""
6418 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6419 "codes from C<fsck>."
6420 msgstr ""
6421
6422 # type: textblock
6423 #: ../src/guestfs-actions.pod:1522 ../fish/guestfish-actions.pod:1217
6424 msgid "Multiple status codes can be summed together."
6425 msgstr ""
6426
6427 # type: textblock
6428 #: ../src/guestfs-actions.pod:1526 ../fish/guestfish-actions.pod:1221
6429 msgid ""
6430 "A non-zero return code can mean \"success\", for example if errors have been "
6431 "corrected on the filesystem."
6432 msgstr ""
6433
6434 # type: textblock
6435 #: ../src/guestfs-actions.pod:1531 ../fish/guestfish-actions.pod:1226
6436 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6437 msgstr ""
6438
6439 # type: textblock
6440 #: ../src/guestfs-actions.pod:1536 ../fish/guestfish-actions.pod:1231
6441 msgid ""
6442 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6443 msgstr ""
6444
6445 # type: =head2
6446 #: ../src/guestfs-actions.pod:1540
6447 msgid "guestfs_get_append"
6448 msgstr ""
6449
6450 # type: verbatim
6451 #: ../src/guestfs-actions.pod:1542
6452 #, no-wrap
6453 msgid ""
6454 " const char *guestfs_get_append (guestfs_h *g);\n"
6455 "\n"
6456 msgstr ""
6457
6458 # type: textblock
6459 #: ../src/guestfs-actions.pod:1544 ../fish/guestfish-actions.pod:1237
6460 msgid ""
6461 "Return the additional kernel options which are added to the guest kernel "
6462 "command line."
6463 msgstr ""
6464
6465 # type: textblock
6466 #: ../src/guestfs-actions.pod:1547 ../fish/guestfish-actions.pod:1240
6467 msgid "If C<NULL> then no options are added."
6468 msgstr ""
6469
6470 # type: textblock
6471 #: ../src/guestfs-actions.pod:1549
6472 msgid ""
6473 "This function returns a string which may be NULL.  There is no way to return "
6474 "an error from this function.  The string is owned by the guest handle and "
6475 "must I<not> be freed."
6476 msgstr ""
6477
6478 # type: =head2
6479 #: ../src/guestfs-actions.pod:1553
6480 msgid "guestfs_get_autosync"
6481 msgstr ""
6482
6483 # type: verbatim
6484 #: ../src/guestfs-actions.pod:1555
6485 #, no-wrap
6486 msgid ""
6487 " int guestfs_get_autosync (guestfs_h *g);\n"
6488 "\n"
6489 msgstr ""
6490
6491 # type: textblock
6492 #: ../src/guestfs-actions.pod:1557 ../fish/guestfish-actions.pod:1246
6493 msgid "Get the autosync flag."
6494 msgstr ""
6495
6496 # type: =head2
6497 #: ../src/guestfs-actions.pod:1561
6498 msgid "guestfs_get_direct"
6499 msgstr ""
6500
6501 # type: verbatim
6502 #: ../src/guestfs-actions.pod:1563
6503 #, no-wrap
6504 msgid ""
6505 " int guestfs_get_direct (guestfs_h *g);\n"
6506 "\n"
6507 msgstr ""
6508
6509 # type: textblock
6510 #: ../src/guestfs-actions.pod:1565 ../fish/guestfish-actions.pod:1252
6511 msgid "Return the direct appliance mode flag."
6512 msgstr ""
6513
6514 # type: =head2
6515 #: ../src/guestfs-actions.pod:1569
6516 msgid "guestfs_get_e2label"
6517 msgstr ""
6518
6519 # type: verbatim
6520 #: ../src/guestfs-actions.pod:1571
6521 #, no-wrap
6522 msgid ""
6523 " char *guestfs_get_e2label (guestfs_h *g,\n"
6524 "\t\tconst char *device);\n"
6525 "\n"
6526 msgstr ""
6527
6528 # type: textblock
6529 #: ../src/guestfs-actions.pod:1574 ../fish/guestfish-actions.pod:1258
6530 msgid ""
6531 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6532 msgstr ""
6533
6534 # type: textblock
6535 #: ../src/guestfs-actions.pod:1580 ../fish/guestfish-actions.pod:1261
6536 msgid ""
6537 "This function is deprecated.  In new code, use the C<vfs_label> call instead."
6538 msgstr ""
6539
6540 # type: =head2
6541 #: ../src/guestfs-actions.pod:1587
6542 msgid "guestfs_get_e2uuid"
6543 msgstr ""
6544
6545 # type: verbatim
6546 #: ../src/guestfs-actions.pod:1589
6547 #, no-wrap
6548 msgid ""
6549 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6550 "\t\tconst char *device);\n"
6551 "\n"
6552 msgstr ""
6553
6554 # type: textblock
6555 #: ../src/guestfs-actions.pod:1592 ../fish/guestfish-actions.pod:1272
6556 msgid ""
6557 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6558 msgstr ""
6559
6560 # type: textblock
6561 #: ../src/guestfs-actions.pod:1598 ../fish/guestfish-actions.pod:1275
6562 msgid ""
6563 "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6564 msgstr ""
6565
6566 # type: =head2
6567 #: ../src/guestfs-actions.pod:1605
6568 msgid "guestfs_get_memsize"
6569 msgstr ""
6570
6571 # type: verbatim
6572 #: ../src/guestfs-actions.pod:1607
6573 #, no-wrap
6574 msgid ""
6575 " int guestfs_get_memsize (guestfs_h *g);\n"
6576 "\n"
6577 msgstr ""
6578
6579 # type: textblock
6580 #: ../src/guestfs-actions.pod:1609 ../fish/guestfish-actions.pod:1286
6581 msgid ""
6582 "This gets the memory size in megabytes allocated to the qemu subprocess."
6583 msgstr ""
6584
6585 # type: textblock
6586 #: ../src/guestfs-actions.pod:1612
6587 msgid ""
6588 "If C<guestfs_set_memsize> was not called on this handle, and if "
6589 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6590 "value for memsize."
6591 msgstr ""
6592
6593 # type: textblock
6594 #: ../src/guestfs-actions.pod:1616 ../src/guestfs-actions.pod:1679
6595 #: ../src/guestfs-actions.pod:4325 ../src/guestfs-actions.pod:4417
6596 #: ../fish/guestfish-actions.pod:1293 ../fish/guestfish-actions.pod:1344
6597 #: ../fish/guestfish-actions.pod:3355 ../fish/guestfish-actions.pod:3442
6598 msgid ""
6599 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6600 msgstr ""
6601
6602 # type: =head2
6603 #: ../src/guestfs-actions.pod:1621
6604 msgid "guestfs_get_network"
6605 msgstr ""
6606
6607 # type: verbatim
6608 #: ../src/guestfs-actions.pod:1623
6609 #, no-wrap
6610 msgid ""
6611 " int guestfs_get_network (guestfs_h *g);\n"
6612 "\n"
6613 msgstr ""
6614
6615 # type: textblock
6616 #: ../src/guestfs-actions.pod:1625 ../fish/guestfish-actions.pod:1300
6617 msgid "This returns the enable network flag."
6618 msgstr ""
6619
6620 # type: =head2
6621 #: ../src/guestfs-actions.pod:1629
6622 msgid "guestfs_get_path"
6623 msgstr ""
6624
6625 # type: verbatim
6626 #: ../src/guestfs-actions.pod:1631
6627 #, no-wrap
6628 msgid ""
6629 " const char *guestfs_get_path (guestfs_h *g);\n"
6630 "\n"
6631 msgstr ""
6632
6633 # type: textblock
6634 #: ../src/guestfs-actions.pod:1633 ../fish/guestfish-actions.pod:1306
6635 msgid "Return the current search path."
6636 msgstr ""
6637
6638 # type: textblock
6639 #: ../src/guestfs-actions.pod:1635 ../fish/guestfish-actions.pod:1308
6640 msgid ""
6641 "This is always non-NULL.  If it wasn't set already, then this will return "
6642 "the default path."
6643 msgstr ""
6644
6645 # type: textblock
6646 #: ../src/guestfs-actions.pod:1638 ../src/guestfs-actions.pod:1661
6647 msgid ""
6648 "This function returns a string, or NULL on error.  The string is owned by "
6649 "the guest handle and must I<not> be freed."
6650 msgstr ""
6651
6652 # type: =head2
6653 #: ../src/guestfs-actions.pod:1641
6654 msgid "guestfs_get_pid"
6655 msgstr ""
6656
6657 # type: verbatim
6658 #: ../src/guestfs-actions.pod:1643
6659 #, no-wrap
6660 msgid ""
6661 " int guestfs_get_pid (guestfs_h *g);\n"
6662 "\n"
6663 msgstr ""
6664
6665 # type: textblock
6666 #: ../src/guestfs-actions.pod:1645 ../fish/guestfish-actions.pod:1317
6667 msgid ""
6668 "Return the process ID of the qemu subprocess.  If there is no qemu "
6669 "subprocess, then this will return an error."
6670 msgstr ""
6671
6672 # type: textblock
6673 #: ../src/guestfs-actions.pod:1648 ../fish/guestfish-actions.pod:1320
6674 msgid "This is an internal call used for debugging and testing."
6675 msgstr ""
6676
6677 # type: =head2
6678 #: ../src/guestfs-actions.pod:1652
6679 msgid "guestfs_get_qemu"
6680 msgstr ""
6681
6682 # type: verbatim
6683 #: ../src/guestfs-actions.pod:1654
6684 #, no-wrap
6685 msgid ""
6686 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6687 "\n"
6688 msgstr ""
6689
6690 # type: textblock
6691 #: ../src/guestfs-actions.pod:1656 ../fish/guestfish-actions.pod:1326
6692 msgid "Return the current qemu binary."
6693 msgstr ""
6694
6695 # type: textblock
6696 #: ../src/guestfs-actions.pod:1658 ../fish/guestfish-actions.pod:1328
6697 msgid ""
6698 "This is always non-NULL.  If it wasn't set already, then this will return "
6699 "the default qemu binary name."
6700 msgstr ""
6701
6702 # type: =head2
6703 #: ../src/guestfs-actions.pod:1664
6704 msgid "guestfs_get_recovery_proc"
6705 msgstr ""
6706
6707 # type: verbatim
6708 #: ../src/guestfs-actions.pod:1666
6709 #, no-wrap
6710 msgid ""
6711 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6712 "\n"
6713 msgstr ""
6714
6715 # type: textblock
6716 #: ../src/guestfs-actions.pod:1668 ../fish/guestfish-actions.pod:1335
6717 msgid "Return the recovery process enabled flag."
6718 msgstr ""
6719
6720 # type: =head2
6721 #: ../src/guestfs-actions.pod:1672
6722 msgid "guestfs_get_selinux"
6723 msgstr ""
6724
6725 # type: verbatim
6726 #: ../src/guestfs-actions.pod:1674
6727 #, no-wrap
6728 msgid ""
6729 " int guestfs_get_selinux (guestfs_h *g);\n"
6730 "\n"
6731 msgstr ""
6732
6733 # type: textblock
6734 #: ../src/guestfs-actions.pod:1676
6735 msgid ""
6736 "This returns the current setting of the selinux flag which is passed to the "
6737 "appliance at boot time.  See C<guestfs_set_selinux>."
6738 msgstr ""
6739
6740 # type: =head2
6741 #: ../src/guestfs-actions.pod:1684
6742 msgid "guestfs_get_state"
6743 msgstr ""
6744
6745 # type: verbatim
6746 #: ../src/guestfs-actions.pod:1686
6747 #, no-wrap
6748 msgid ""
6749 " int guestfs_get_state (guestfs_h *g);\n"
6750 "\n"
6751 msgstr ""
6752
6753 # type: textblock
6754 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1351
6755 msgid ""
6756 "This returns the current state as an opaque integer.  This is only useful "
6757 "for printing debug and internal error messages."
6758 msgstr ""
6759
6760 # type: textblock
6761 #: ../src/guestfs-actions.pod:1691 ../src/guestfs-actions.pod:2312
6762 #: ../src/guestfs-actions.pod:2335 ../src/guestfs-actions.pod:2384
6763 #: ../src/guestfs-actions.pod:2405 ../fish/guestfish-actions.pod:1354
6764 #: ../fish/guestfish-actions.pod:1848 ../fish/guestfish-actions.pod:1866
6765 #: ../fish/guestfish-actions.pod:1904 ../fish/guestfish-actions.pod:1920
6766 msgid "For more information on states, see L<guestfs(3)>."
6767 msgstr ""
6768
6769 # type: =head2
6770 #: ../src/guestfs-actions.pod:1695
6771 msgid "guestfs_get_trace"
6772 msgstr ""
6773
6774 # type: verbatim
6775 #: ../src/guestfs-actions.pod:1697
6776 #, no-wrap
6777 msgid ""
6778 " int guestfs_get_trace (guestfs_h *g);\n"
6779 "\n"
6780 msgstr ""
6781
6782 # type: textblock
6783 #: ../src/guestfs-actions.pod:1699 ../fish/guestfish-actions.pod:1360
6784 msgid "Return the command trace flag."
6785 msgstr ""
6786
6787 # type: =head2
6788 #: ../src/guestfs-actions.pod:1703
6789 msgid "guestfs_get_umask"
6790 msgstr ""
6791
6792 # type: verbatim
6793 #: ../src/guestfs-actions.pod:1705
6794 #, no-wrap
6795 msgid ""
6796 " int guestfs_get_umask (guestfs_h *g);\n"
6797 "\n"
6798 msgstr ""
6799
6800 # type: textblock
6801 #: ../src/guestfs-actions.pod:1707
6802 msgid ""
6803 "Return the current umask.  By default the umask is C<022> unless it has been "
6804 "set by calling C<guestfs_umask>."
6805 msgstr ""
6806
6807 # type: =head2
6808 #: ../src/guestfs-actions.pod:1712
6809 msgid "guestfs_get_verbose"
6810 msgstr ""
6811
6812 # type: verbatim
6813 #: ../src/guestfs-actions.pod:1714
6814 #, no-wrap
6815 msgid ""
6816 " int guestfs_get_verbose (guestfs_h *g);\n"
6817 "\n"
6818 msgstr ""
6819
6820 # type: textblock
6821 #: ../src/guestfs-actions.pod:1716 ../fish/guestfish-actions.pod:1373
6822 msgid "This returns the verbose messages flag."
6823 msgstr ""
6824
6825 # type: =head2
6826 #: ../src/guestfs-actions.pod:1720
6827 msgid "guestfs_getcon"
6828 msgstr ""
6829
6830 # type: verbatim
6831 #: ../src/guestfs-actions.pod:1722
6832 #, no-wrap
6833 msgid ""
6834 " char *guestfs_getcon (guestfs_h *g);\n"
6835 "\n"
6836 msgstr ""
6837
6838 # type: textblock
6839 #: ../src/guestfs-actions.pod:1724 ../fish/guestfish-actions.pod:1379
6840 msgid "This gets the SELinux security context of the daemon."
6841 msgstr ""
6842
6843 # type: textblock
6844 #: ../src/guestfs-actions.pod:1726
6845 msgid ""
6846 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6847 msgstr ""
6848
6849 # type: =head2
6850 #: ../src/guestfs-actions.pod:1732
6851 msgid "guestfs_getxattrs"
6852 msgstr ""
6853
6854 # type: verbatim
6855 #: ../src/guestfs-actions.pod:1734
6856 #, no-wrap
6857 msgid ""
6858 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6859 "\t\tconst char *path);\n"
6860 "\n"
6861 msgstr ""
6862
6863 # type: textblock
6864 #: ../src/guestfs-actions.pod:1737 ../fish/guestfish-actions.pod:1388
6865 msgid ""
6866 "This call lists the extended attributes of the file or directory C<path>."
6867 msgstr ""
6868
6869 # type: textblock
6870 #: ../src/guestfs-actions.pod:1740 ../fish/guestfish-actions.pod:1391
6871 msgid ""
6872 "At the system call level, this is a combination of the L<listxattr(2)> and "
6873 "L<getxattr(2)> calls."
6874 msgstr ""
6875
6876 # type: textblock
6877 #: ../src/guestfs-actions.pod:1743
6878 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6879 msgstr ""
6880
6881 # type: textblock
6882 #: ../src/guestfs-actions.pod:1745 ../src/guestfs-actions.pod:2479
6883 #: ../src/guestfs-actions.pod:3017
6884 msgid ""
6885 "This function returns a C<struct guestfs_xattr_list *> (see E<lt>guestfs-"
6886 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
6887 "C<guestfs_free_xattr_list> after use>."
6888 msgstr ""
6889
6890 # type: =head2
6891 #: ../src/guestfs-actions.pod:1750
6892 msgid "guestfs_glob_expand"
6893 msgstr ""
6894
6895 # type: verbatim
6896 #: ../src/guestfs-actions.pod:1752
6897 #, no-wrap
6898 msgid ""
6899 " char **guestfs_glob_expand (guestfs_h *g,\n"
6900 "\t\tconst char *pattern);\n"
6901 "\n"
6902 msgstr ""
6903
6904 # type: textblock
6905 #: ../src/guestfs-actions.pod:1755 ../fish/guestfish-actions.pod:1400
6906 msgid ""
6907 "This command searches for all the pathnames matching C<pattern> according to "
6908 "the wildcard expansion rules used by the shell."
6909 msgstr ""
6910
6911 # type: textblock
6912 #: ../src/guestfs-actions.pod:1759 ../fish/guestfish-actions.pod:1404
6913 msgid ""
6914 "If no paths match, then this returns an empty list (note: not an error)."
6915 msgstr ""
6916
6917 # type: textblock
6918 #: ../src/guestfs-actions.pod:1762 ../fish/guestfish-actions.pod:1407
6919 msgid ""
6920 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
6921 "GLOB_BRACE>.  See that manual page for more details."
6922 msgstr ""
6923
6924 # type: =head2
6925 #: ../src/guestfs-actions.pod:1770
6926 msgid "guestfs_grep"
6927 msgstr ""
6928
6929 # type: verbatim
6930 #: ../src/guestfs-actions.pod:1772
6931 #, no-wrap
6932 msgid ""
6933 " char **guestfs_grep (guestfs_h *g,\n"
6934 "\t\tconst char *regex,\n"
6935 "\t\tconst char *path);\n"
6936 "\n"
6937 msgstr ""
6938
6939 # type: textblock
6940 #: ../src/guestfs-actions.pod:1776 ../fish/guestfish-actions.pod:1415
6941 msgid "This calls the external C<grep> program and returns the matching lines."
6942 msgstr ""
6943
6944 # type: =head2
6945 #: ../src/guestfs-actions.pod:1786
6946 msgid "guestfs_grepi"
6947 msgstr ""
6948
6949 # type: verbatim
6950 #: ../src/guestfs-actions.pod:1788
6951 #, no-wrap
6952 msgid ""
6953 " char **guestfs_grepi (guestfs_h *g,\n"
6954 "\t\tconst char *regex,\n"
6955 "\t\tconst char *path);\n"
6956 "\n"
6957 msgstr ""
6958
6959 # type: textblock
6960 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1425
6961 msgid ""
6962 "This calls the external C<grep -i> program and returns the matching lines."
6963 msgstr ""
6964
6965 # type: =head2
6966 #: ../src/guestfs-actions.pod:1802
6967 msgid "guestfs_grub_install"
6968 msgstr ""
6969
6970 # type: verbatim
6971 #: ../src/guestfs-actions.pod:1804
6972 #, no-wrap
6973 msgid ""
6974 " int guestfs_grub_install (guestfs_h *g,\n"
6975 "\t\tconst char *root,\n"
6976 "\t\tconst char *device);\n"
6977 "\n"
6978 msgstr ""
6979
6980 # type: textblock
6981 #: ../src/guestfs-actions.pod:1808 ../fish/guestfish-actions.pod:1435
6982 msgid ""
6983 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
6984 "the root directory being C<root>."
6985 msgstr ""
6986
6987 # type: textblock
6988 #: ../src/guestfs-actions.pod:1811 ../fish/guestfish-actions.pod:1438
6989 msgid ""
6990 "Note: If grub-install reports the error \"No suitable drive was found in the "
6991 "generated device map.\" it may be that you need to create a C</boot/grub/"
6992 "device.map> file first that contains the mapping between grub device names "
6993 "and Linux device names.  It is usually sufficient to create a file "
6994 "containing:"
6995 msgstr ""
6996
6997 # type: verbatim
6998 #: ../src/guestfs-actions.pod:1818 ../fish/guestfish-actions.pod:1445
6999 #, no-wrap
7000 msgid ""
7001 " (hd0) /dev/vda\n"
7002 "\n"
7003 msgstr ""
7004
7005 # type: textblock
7006 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1447
7007 msgid "replacing C</dev/vda> with the name of the installation device."
7008 msgstr ""
7009
7010 # type: =head2
7011 #: ../src/guestfs-actions.pod:1824
7012 msgid "guestfs_head"
7013 msgstr ""
7014
7015 # type: verbatim
7016 #: ../src/guestfs-actions.pod:1826
7017 #, no-wrap
7018 msgid ""
7019 " char **guestfs_head (guestfs_h *g,\n"
7020 "\t\tconst char *path);\n"
7021 "\n"
7022 msgstr ""
7023
7024 # type: textblock
7025 #: ../src/guestfs-actions.pod:1829 ../fish/guestfish-actions.pod:1453
7026 msgid ""
7027 "This command returns up to the first 10 lines of a file as a list of strings."
7028 msgstr ""
7029
7030 # type: =head2
7031 #: ../src/guestfs-actions.pod:1839
7032 msgid "guestfs_head_n"
7033 msgstr ""
7034
7035 # type: verbatim
7036 #: ../src/guestfs-actions.pod:1841
7037 #, no-wrap
7038 msgid ""
7039 " char **guestfs_head_n (guestfs_h *g,\n"
7040 "\t\tint nrlines,\n"
7041 "\t\tconst char *path);\n"
7042 "\n"
7043 msgstr ""
7044
7045 # type: textblock
7046 #: ../src/guestfs-actions.pod:1845 ../fish/guestfish-actions.pod:1463
7047 msgid ""
7048 "If the parameter C<nrlines> is a positive number, this returns the first "
7049 "C<nrlines> lines of the file C<path>."
7050 msgstr ""
7051
7052 # type: textblock
7053 #: ../src/guestfs-actions.pod:1848 ../fish/guestfish-actions.pod:1466
7054 msgid ""
7055 "If the parameter C<nrlines> is a negative number, this returns lines from "
7056 "the file C<path>, excluding the last C<nrlines> lines."
7057 msgstr ""
7058
7059 # type: textblock
7060 #: ../src/guestfs-actions.pod:1851 ../src/guestfs-actions.pod:4873
7061 #: ../fish/guestfish-actions.pod:1469 ../fish/guestfish-actions.pod:3788
7062 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
7063 msgstr ""
7064
7065 # type: =head2
7066 #: ../src/guestfs-actions.pod:1860
7067 msgid "guestfs_hexdump"
7068 msgstr ""
7069
7070 # type: verbatim
7071 #: ../src/guestfs-actions.pod:1862
7072 #, no-wrap
7073 msgid ""
7074 " char *guestfs_hexdump (guestfs_h *g,\n"
7075 "\t\tconst char *path);\n"
7076 "\n"
7077 msgstr ""
7078
7079 # type: textblock
7080 #: ../src/guestfs-actions.pod:1865 ../fish/guestfish-actions.pod:1478
7081 msgid ""
7082 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
7083 "readable, canonical hex dump of the file."
7084 msgstr ""
7085
7086 # type: =head2
7087 #: ../src/guestfs-actions.pod:1874
7088 msgid "guestfs_initrd_cat"
7089 msgstr ""
7090
7091 # type: verbatim
7092 #: ../src/guestfs-actions.pod:1876
7093 #, no-wrap
7094 msgid ""
7095 " char *guestfs_initrd_cat (guestfs_h *g,\n"
7096 "\t\tconst char *initrdpath,\n"
7097 "\t\tconst char *filename,\n"
7098 "\t\tsize_t *size_r);\n"
7099 "\n"
7100 msgstr ""
7101
7102 # type: textblock
7103 #: ../src/guestfs-actions.pod:1881 ../fish/guestfish-actions.pod:1488
7104 msgid ""
7105 "This command unpacks the file C<filename> from the initrd file called "
7106 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
7107 "character."
7108 msgstr ""
7109
7110 # type: textblock
7111 #: ../src/guestfs-actions.pod:1885 ../fish/guestfish-actions.pod:1492
7112 msgid ""
7113 "For example, in guestfish you could use the following command to examine the "
7114 "boot script (usually called C</init>)  contained in a Linux initrd or "
7115 "initramfs image:"
7116 msgstr ""
7117
7118 # type: verbatim
7119 #: ../src/guestfs-actions.pod:1889 ../fish/guestfish-actions.pod:1496
7120 #, no-wrap
7121 msgid ""
7122 " initrd-cat /boot/initrd-<version>.img init\n"
7123 "\n"
7124 msgstr ""
7125
7126 # type: textblock
7127 #: ../src/guestfs-actions.pod:1891
7128 msgid "See also C<guestfs_initrd_list>."
7129 msgstr ""
7130
7131 # type: textblock
7132 #: ../src/guestfs-actions.pod:1893 ../src/guestfs-actions.pod:3831
7133 #: ../src/guestfs-actions.pod:3960
7134 msgid ""
7135 "This function returns a buffer, or NULL on error.  The size of the returned "
7136 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
7137 "after use>."
7138 msgstr ""
7139
7140 # type: =head2
7141 #: ../src/guestfs-actions.pod:1900
7142 msgid "guestfs_initrd_list"
7143 msgstr ""
7144
7145 # type: verbatim
7146 #: ../src/guestfs-actions.pod:1902
7147 #, no-wrap
7148 msgid ""
7149 " char **guestfs_initrd_list (guestfs_h *g,\n"
7150 "\t\tconst char *path);\n"
7151 "\n"
7152 msgstr ""
7153
7154 # type: textblock
7155 #: ../src/guestfs-actions.pod:1905 ../fish/guestfish-actions.pod:1507
7156 msgid "This command lists out files contained in an initrd."
7157 msgstr ""
7158
7159 # type: textblock
7160 #: ../src/guestfs-actions.pod:1907 ../fish/guestfish-actions.pod:1509
7161 msgid ""
7162 "The files are listed without any initial C</> character.  The files are "
7163 "listed in the order they appear (not necessarily alphabetical).  Directory "
7164 "names are listed as separate items."
7165 msgstr ""
7166
7167 # type: textblock
7168 #: ../src/guestfs-actions.pod:1911 ../fish/guestfish-actions.pod:1513
7169 msgid ""
7170 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
7171 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
7172 "files)."
7173 msgstr ""
7174
7175 # type: =head2
7176 #: ../src/guestfs-actions.pod:1919
7177 msgid "guestfs_inotify_add_watch"
7178 msgstr ""
7179
7180 # type: verbatim
7181 #: ../src/guestfs-actions.pod:1921
7182 #, no-wrap
7183 msgid ""
7184 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
7185 "\t\tconst char *path,\n"
7186 "\t\tint mask);\n"
7187 "\n"
7188 msgstr ""
7189
7190 # type: textblock
7191 #: ../src/guestfs-actions.pod:1925 ../fish/guestfish-actions.pod:1521
7192 msgid "Watch C<path> for the events listed in C<mask>."
7193 msgstr ""
7194
7195 # type: textblock
7196 #: ../src/guestfs-actions.pod:1927 ../fish/guestfish-actions.pod:1523
7197 msgid ""
7198 "Note that if C<path> is a directory then events within that directory are "
7199 "watched, but this does I<not> happen recursively (in subdirectories)."
7200 msgstr ""
7201
7202 # type: textblock
7203 #: ../src/guestfs-actions.pod:1931 ../fish/guestfish-actions.pod:1527
7204 msgid ""
7205 "Note for non-C or non-Linux callers: the inotify events are defined by the "
7206 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
7207 msgstr ""
7208
7209 # type: =head2
7210 #: ../src/guestfs-actions.pod:1937
7211 msgid "guestfs_inotify_close"
7212 msgstr ""
7213
7214 # type: verbatim
7215 #: ../src/guestfs-actions.pod:1939
7216 #, no-wrap
7217 msgid ""
7218 " int guestfs_inotify_close (guestfs_h *g);\n"
7219 "\n"
7220 msgstr ""
7221
7222 # type: textblock
7223 #: ../src/guestfs-actions.pod:1941 ../fish/guestfish-actions.pod:1535
7224 msgid ""
7225 "This closes the inotify handle which was previously opened by inotify_init.  "
7226 "It removes all watches, throws away any pending events, and deallocates all "
7227 "resources."
7228 msgstr ""
7229
7230 # type: =head2
7231 #: ../src/guestfs-actions.pod:1947
7232 msgid "guestfs_inotify_files"
7233 msgstr ""
7234
7235 # type: verbatim
7236 #: ../src/guestfs-actions.pod:1949
7237 #, no-wrap
7238 msgid ""
7239 " char **guestfs_inotify_files (guestfs_h *g);\n"
7240 "\n"
7241 msgstr ""
7242
7243 # type: textblock
7244 #: ../src/guestfs-actions.pod:1951
7245 msgid ""
7246 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
7247 "returns a list of pathnames of objects that were touched.  The returned "
7248 "pathnames are sorted and deduplicated."
7249 msgstr ""
7250
7251 # type: =head2
7252 #: ../src/guestfs-actions.pod:1959
7253 msgid "guestfs_inotify_init"
7254 msgstr ""
7255
7256 # type: verbatim
7257 #: ../src/guestfs-actions.pod:1961
7258 #, no-wrap
7259 msgid ""
7260 " int guestfs_inotify_init (guestfs_h *g,\n"
7261 "\t\tint maxevents);\n"
7262 "\n"
7263 msgstr ""
7264
7265 # type: textblock
7266 #: ../src/guestfs-actions.pod:1964 ../fish/guestfish-actions.pod:1551
7267 msgid ""
7268 "This command creates a new inotify handle.  The inotify subsystem can be "
7269 "used to notify events which happen to objects in the guest filesystem."
7270 msgstr ""
7271
7272 # type: textblock
7273 #: ../src/guestfs-actions.pod:1968
7274 msgid ""
7275 "C<maxevents> is the maximum number of events which will be queued up between "
7276 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
7277 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
7278 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
7279 "throws away events, but records the fact that it threw them away by setting "
7280 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
7281 "C<guestfs_inotify_read>)."
7282 msgstr ""
7283
7284 # type: textblock
7285 #: ../src/guestfs-actions.pod:1978
7286 msgid ""
7287 "Before any events are generated, you have to add some watches to the "
7288 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
7289 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
7290 msgstr ""
7291
7292 # type: textblock
7293 #: ../src/guestfs-actions.pod:1984
7294 msgid ""
7295 "Queued up events should be read periodically by calling "
7296 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
7297 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
7298 "often enough then you risk the internal queue overflowing."
7299 msgstr ""
7300
7301 # type: textblock
7302 #: ../src/guestfs-actions.pod:1991
7303 msgid ""
7304 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
7305 "This also removes any watches automatically."
7306 msgstr ""
7307
7308 # type: textblock
7309 #: ../src/guestfs-actions.pod:1995 ../fish/guestfish-actions.pod:1582
7310 msgid ""
7311 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
7312 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
7313 "that there is one global inotify handle per libguestfs instance."
7314 msgstr ""
7315
7316 # type: =head2
7317 #: ../src/guestfs-actions.pod:2002
7318 msgid "guestfs_inotify_read"
7319 msgstr ""
7320
7321 # type: verbatim
7322 #: ../src/guestfs-actions.pod:2004
7323 #, no-wrap
7324 msgid ""
7325 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
7326 "\n"
7327 msgstr ""
7328
7329 # type: textblock
7330 #: ../src/guestfs-actions.pod:2006 ../fish/guestfish-actions.pod:1591
7331 msgid ""
7332 "Return the complete queue of events that have happened since the previous "
7333 "read call."
7334 msgstr ""
7335
7336 # type: textblock
7337 #: ../src/guestfs-actions.pod:2009 ../fish/guestfish-actions.pod:1594
7338 msgid "If no events have happened, this returns an empty list."
7339 msgstr ""
7340
7341 # type: textblock
7342 #: ../src/guestfs-actions.pod:2011 ../fish/guestfish-actions.pod:1596
7343 msgid ""
7344 "I<Note>: In order to make sure that all events have been read, you must call "
7345 "this function repeatedly until it returns an empty list.  The reason is that "
7346 "the call will read events up to the maximum appliance-to-host message size "
7347 "and leave remaining events in the queue."
7348 msgstr ""
7349
7350 # type: textblock
7351 #: ../src/guestfs-actions.pod:2017
7352 msgid ""
7353 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7354 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7355 "must call C<guestfs_free_inotify_event_list> after use>."
7356 msgstr ""
7357
7358 # type: =head2
7359 #: ../src/guestfs-actions.pod:2022
7360 msgid "guestfs_inotify_rm_watch"
7361 msgstr ""
7362
7363 # type: verbatim
7364 #: ../src/guestfs-actions.pod:2024
7365 #, no-wrap
7366 msgid ""
7367 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7368 "\t\tint wd);\n"
7369 "\n"
7370 msgstr ""
7371
7372 # type: textblock
7373 #: ../src/guestfs-actions.pod:2027
7374 msgid ""
7375 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
7376 msgstr ""
7377
7378 # type: =head2
7379 #: ../src/guestfs-actions.pod:2032
7380 msgid "guestfs_inspect_get_arch"
7381 msgstr ""
7382
7383 # type: verbatim
7384 #: ../src/guestfs-actions.pod:2034
7385 #, no-wrap
7386 msgid ""
7387 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7388 "\t\tconst char *root);\n"
7389 "\n"
7390 msgstr ""
7391
7392 # type: textblock
7393 #: ../src/guestfs-actions.pod:2037 ../src/guestfs-actions.pod:2057
7394 #: ../src/guestfs-actions.pod:2107 ../src/guestfs-actions.pod:2130
7395 #: ../src/guestfs-actions.pod:2154 ../src/guestfs-actions.pod:2172
7396 #: ../src/guestfs-actions.pod:2202 ../src/guestfs-actions.pod:2223
7397 msgid ""
7398 "This function should only be called with a root device string as returned by "
7399 "C<guestfs_inspect_os>."
7400 msgstr ""
7401
7402 # type: textblock
7403 #: ../src/guestfs-actions.pod:2040
7404 msgid ""
7405 "This returns the architecture of the inspected operating system.  The "
7406 "possible return values are listed under C<guestfs_file_architecture>."
7407 msgstr ""
7408
7409 # type: textblock
7410 #: ../src/guestfs-actions.pod:2044 ../fish/guestfish-actions.pod:1620
7411 msgid ""
7412 "If the architecture could not be determined, then the string C<unknown> is "
7413 "returned."
7414 msgstr ""
7415
7416 # type: textblock
7417 #: ../src/guestfs-actions.pod:2047 ../src/guestfs-actions.pod:2097
7418 #: ../src/guestfs-actions.pod:2145 ../src/guestfs-actions.pod:2213
7419 #: ../src/guestfs-actions.pod:2248 ../src/guestfs-actions.pod:2285
7420 #: ../fish/guestfish-actions.pod:1623 ../fish/guestfish-actions.pod:1669
7421 #: ../fish/guestfish-actions.pod:1708 ../fish/guestfish-actions.pod:1763
7422 #: ../fish/guestfish-actions.pod:1794 ../fish/guestfish-actions.pod:1828
7423 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7424 msgstr ""
7425
7426 # type: =head2
7427 #: ../src/guestfs-actions.pod:2052
7428 msgid "guestfs_inspect_get_distro"
7429 msgstr ""
7430
7431 # type: verbatim
7432 #: ../src/guestfs-actions.pod:2054
7433 #, no-wrap
7434 msgid ""
7435 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7436 "\t\tconst char *root);\n"
7437 "\n"
7438 msgstr ""
7439
7440 # type: textblock
7441 #: ../src/guestfs-actions.pod:2060 ../fish/guestfish-actions.pod:1632
7442 msgid ""
7443 "This returns the distro (distribution) of the inspected operating system."
7444 msgstr ""
7445
7446 # type: textblock
7447 #: ../src/guestfs-actions.pod:2063 ../fish/guestfish-actions.pod:1635
7448 msgid "Currently defined distros are:"
7449 msgstr ""
7450
7451 # type: =item
7452 #: ../src/guestfs-actions.pod:2067 ../fish/guestfish-actions.pod:1639
7453 msgid "\"debian\""
7454 msgstr ""
7455
7456 # type: textblock
7457 #: ../src/guestfs-actions.pod:2069 ../fish/guestfish-actions.pod:1641
7458 msgid "Debian or a Debian-derived distro such as Ubuntu."
7459 msgstr ""
7460
7461 # type: =item
7462 #: ../src/guestfs-actions.pod:2071 ../fish/guestfish-actions.pod:1643
7463 msgid "\"fedora\""
7464 msgstr ""
7465
7466 # type: textblock
7467 #: ../src/guestfs-actions.pod:2073 ../fish/guestfish-actions.pod:1645
7468 msgid "Fedora."
7469 msgstr ""
7470
7471 # type: =item
7472 #: ../src/guestfs-actions.pod:2075 ../fish/guestfish-actions.pod:1647
7473 msgid "\"redhat-based\""
7474 msgstr ""
7475
7476 # type: textblock
7477 #: ../src/guestfs-actions.pod:2077 ../fish/guestfish-actions.pod:1649
7478 msgid "Some Red Hat-derived distro."
7479 msgstr ""
7480
7481 # type: =item
7482 #: ../src/guestfs-actions.pod:2079 ../fish/guestfish-actions.pod:1651
7483 msgid "\"rhel\""
7484 msgstr ""
7485
7486 # type: textblock
7487 #: ../src/guestfs-actions.pod:2081 ../fish/guestfish-actions.pod:1653
7488 msgid "Red Hat Enterprise Linux and some derivatives."
7489 msgstr ""
7490
7491 # type: =item
7492 #: ../src/guestfs-actions.pod:2083 ../src/guestfs-actions.pod:2235
7493 #: ../fish/guestfish-actions.pod:1655 ../fish/guestfish-actions.pod:1781
7494 msgid "\"windows\""
7495 msgstr ""
7496
7497 # type: textblock
7498 #: ../src/guestfs-actions.pod:2085 ../fish/guestfish-actions.pod:1657
7499 msgid ""
7500 "Windows does not have distributions.  This string is returned if the OS type "
7501 "is Windows."
7502 msgstr ""
7503
7504 # type: =item
7505 #: ../src/guestfs-actions.pod:2088 ../src/guestfs-actions.pod:2239
7506 #: ../fish/guestfish-actions.pod:1660 ../fish/guestfish-actions.pod:1785
7507 msgid "\"unknown\""
7508 msgstr ""
7509
7510 # type: textblock
7511 #: ../src/guestfs-actions.pod:2090 ../fish/guestfish-actions.pod:1662
7512 msgid "The distro could not be determined."
7513 msgstr ""
7514
7515 # type: textblock
7516 #: ../src/guestfs-actions.pod:2094 ../src/guestfs-actions.pod:2245
7517 #: ../fish/guestfish-actions.pod:1666 ../fish/guestfish-actions.pod:1791
7518 msgid ""
7519 "Future versions of libguestfs may return other strings here.  The caller "
7520 "should be prepared to handle any string."
7521 msgstr ""
7522
7523 # type: =head2
7524 #: ../src/guestfs-actions.pod:2102
7525 msgid "guestfs_inspect_get_filesystems"
7526 msgstr ""
7527
7528 # type: verbatim
7529 #: ../src/guestfs-actions.pod:2104
7530 #, no-wrap
7531 msgid ""
7532 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7533 "\t\tconst char *root);\n"
7534 "\n"
7535 msgstr ""
7536
7537 # type: textblock
7538 #: ../src/guestfs-actions.pod:2110 ../fish/guestfish-actions.pod:1678
7539 msgid ""
7540 "This returns a list of all the filesystems that we think are associated with "
7541 "this operating system.  This includes the root filesystem, other ordinary "
7542 "filesystems, and non-mounted devices like swap partitions."
7543 msgstr ""
7544
7545 # type: textblock
7546 #: ../src/guestfs-actions.pod:2115 ../fish/guestfish-actions.pod:1683
7547 msgid ""
7548 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7549 "to be shared between operating systems."
7550 msgstr ""
7551
7552 # type: textblock
7553 #: ../src/guestfs-actions.pod:2118
7554 msgid ""
7555 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7556 "C<guestfs_inspect_get_mountpoints>."
7557 msgstr ""
7558
7559 # type: =head2
7560 #: ../src/guestfs-actions.pod:2125
7561 msgid "guestfs_inspect_get_major_version"
7562 msgstr ""
7563
7564 # type: verbatim
7565 #: ../src/guestfs-actions.pod:2127
7566 #, no-wrap
7567 msgid ""
7568 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7569 "\t\tconst char *root);\n"
7570 "\n"
7571 msgstr ""
7572
7573 # type: textblock
7574 #: ../src/guestfs-actions.pod:2133 ../fish/guestfish-actions.pod:1696
7575 msgid ""
7576 "This returns the major version number of the inspected operating system."
7577 msgstr ""
7578
7579 # type: textblock
7580 #: ../src/guestfs-actions.pod:2136 ../fish/guestfish-actions.pod:1699
7581 msgid ""
7582 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7583 "popular public names used by the operating system.  Notably the operating "
7584 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7585 "1).  You can find out the real versions corresponding to releases of Windows "
7586 "by consulting Wikipedia or MSDN."
7587 msgstr ""
7588
7589 # type: textblock
7590 #: ../src/guestfs-actions.pod:2143 ../src/guestfs-actions.pod:2160
7591 #: ../fish/guestfish-actions.pod:1706 ../fish/guestfish-actions.pod:1720
7592 msgid "If the version could not be determined, then C<0> is returned."
7593 msgstr ""
7594
7595 # type: =head2
7596 #: ../src/guestfs-actions.pod:2149
7597 msgid "guestfs_inspect_get_minor_version"
7598 msgstr ""
7599
7600 # type: verbatim
7601 #: ../src/guestfs-actions.pod:2151
7602 #, no-wrap
7603 msgid ""
7604 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7605 "\t\tconst char *root);\n"
7606 "\n"
7607 msgstr ""
7608
7609 # type: textblock
7610 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1717
7611 msgid ""
7612 "This returns the minor version number of the inspected operating system."
7613 msgstr ""
7614
7615 # type: textblock
7616 #: ../src/guestfs-actions.pod:2162
7617 msgid ""
7618 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7619 "C<guestfs_inspect_get_major_version>."
7620 msgstr ""
7621
7622 # type: =head2
7623 #: ../src/guestfs-actions.pod:2167
7624 msgid "guestfs_inspect_get_mountpoints"
7625 msgstr ""
7626
7627 # type: verbatim
7628 #: ../src/guestfs-actions.pod:2169
7629 #, no-wrap
7630 msgid ""
7631 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7632 "\t\tconst char *root);\n"
7633 "\n"
7634 msgstr ""
7635
7636 # type: textblock
7637 #: ../src/guestfs-actions.pod:2175 ../fish/guestfish-actions.pod:1732
7638 msgid ""
7639 "This returns a hash of where we think the filesystems associated with this "
7640 "operating system should be mounted.  Callers should note that this is at "
7641 "best an educated guess made by reading configuration files such as C</etc/"
7642 "fstab>."
7643 msgstr ""
7644
7645 # type: textblock
7646 #: ../src/guestfs-actions.pod:2180 ../fish/guestfish-actions.pod:1737
7647 msgid ""
7648 "Each element in the returned hashtable has a key which is the path of the "
7649 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7650 "mounted there (eg. C</dev/sda1>)."
7651 msgstr ""
7652
7653 # type: textblock
7654 #: ../src/guestfs-actions.pod:2185 ../fish/guestfish-actions.pod:1742
7655 msgid ""
7656 "Non-mounted devices such as swap devices are I<not> returned in this list."
7657 msgstr ""
7658
7659 # type: textblock
7660 #: ../src/guestfs-actions.pod:2188
7661 msgid ""
7662 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7663 "C<guestfs_inspect_get_filesystems>."
7664 msgstr ""
7665
7666 # type: textblock
7667 #: ../src/guestfs-actions.pod:2191 ../src/guestfs-actions.pod:2531
7668 #: ../src/guestfs-actions.pod:3453 ../src/guestfs-actions.pod:4990
7669 msgid ""
7670 "This function returns a NULL-terminated array of strings, or NULL if there "
7671 "was an error.  The array of strings will always have length C<2n+1>, where "
7672 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7673 "caller must free the strings and the array after use>."
7674 msgstr ""
7675
7676 # type: =head2
7677 #: ../src/guestfs-actions.pod:2197
7678 msgid "guestfs_inspect_get_product_name"
7679 msgstr ""
7680
7681 # type: verbatim
7682 #: ../src/guestfs-actions.pod:2199
7683 #, no-wrap
7684 msgid ""
7685 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7686 "\t\tconst char *root);\n"
7687 "\n"
7688 msgstr ""
7689
7690 # type: textblock
7691 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1755
7692 msgid ""
7693 "This returns the product name of the inspected operating system.  The "
7694 "product name is generally some freeform string which can be displayed to the "
7695 "user, but should not be parsed by programs."
7696 msgstr ""
7697
7698 # type: textblock
7699 #: ../src/guestfs-actions.pod:2210 ../fish/guestfish-actions.pod:1760
7700 msgid ""
7701 "If the product name could not be determined, then the string C<unknown> is "
7702 "returned."
7703 msgstr ""
7704
7705 # type: =head2
7706 #: ../src/guestfs-actions.pod:2218
7707 msgid "guestfs_inspect_get_type"
7708 msgstr ""
7709
7710 # type: verbatim
7711 #: ../src/guestfs-actions.pod:2220
7712 #, no-wrap
7713 msgid ""
7714 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7715 "\t\tconst char *root);\n"
7716 "\n"
7717 msgstr ""
7718
7719 # type: textblock
7720 #: ../src/guestfs-actions.pod:2226 ../fish/guestfish-actions.pod:1772
7721 msgid ""
7722 "This returns the type of the inspected operating system.  Currently defined "
7723 "types are:"
7724 msgstr ""
7725
7726 # type: =item
7727 #: ../src/guestfs-actions.pod:2231 ../fish/guestfish-actions.pod:1777
7728 msgid "\"linux\""
7729 msgstr ""
7730
7731 # type: textblock
7732 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1779
7733 msgid "Any Linux-based operating system."
7734 msgstr ""
7735
7736 # type: textblock
7737 #: ../src/guestfs-actions.pod:2237 ../fish/guestfish-actions.pod:1783
7738 msgid "Any Microsoft Windows operating system."
7739 msgstr ""
7740
7741 # type: textblock
7742 #: ../src/guestfs-actions.pod:2241 ../fish/guestfish-actions.pod:1787
7743 msgid "The operating system type could not be determined."
7744 msgstr ""
7745
7746 # type: =head2
7747 #: ../src/guestfs-actions.pod:2253
7748 msgid "guestfs_inspect_os"
7749 msgstr ""
7750
7751 # type: verbatim
7752 #: ../src/guestfs-actions.pod:2255
7753 #, no-wrap
7754 msgid ""
7755 " char **guestfs_inspect_os (guestfs_h *g);\n"
7756 "\n"
7757 msgstr ""
7758
7759 # type: textblock
7760 #: ../src/guestfs-actions.pod:2257 ../fish/guestfish-actions.pod:1800
7761 msgid ""
7762 "This function uses other libguestfs functions and certain heuristics to "
7763 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7764 "for operating systems."
7765 msgstr ""
7766
7767 # type: textblock
7768 #: ../src/guestfs-actions.pod:2261 ../fish/guestfish-actions.pod:1804
7769 msgid "The list returned is empty if no operating systems were found."
7770 msgstr ""
7771
7772 # type: textblock
7773 #: ../src/guestfs-actions.pod:2263 ../fish/guestfish-actions.pod:1806
7774 msgid ""
7775 "If one operating system was found, then this returns a list with a single "
7776 "element, which is the name of the root filesystem of this operating system.  "
7777 "It is also possible for this function to return a list containing more than "
7778 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7779 "element being the root filesystem of one of the operating systems."
7780 msgstr ""
7781
7782 # type: textblock
7783 #: ../src/guestfs-actions.pod:2270
7784 msgid ""
7785 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7786 "functions in order to query further information about each operating system, "
7787 "such as the name and version."
7788 msgstr ""
7789
7790 # type: textblock
7791 #: ../src/guestfs-actions.pod:2275
7792 msgid ""
7793 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7794 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7795 "the contents.  This should be called with no disks currently mounted.  The "
7796 "function may also use Augeas, so any existing Augeas handle will be closed."
7797 msgstr ""
7798
7799 # type: textblock
7800 #: ../src/guestfs-actions.pod:2281 ../fish/guestfish-actions.pod:1824
7801 msgid ""
7802 "This function cannot decrypt encrypted disks.  The caller must do that first "
7803 "(supplying the necessary keys) if the disk is encrypted."
7804 msgstr ""
7805
7806 # type: textblock
7807 #: ../src/guestfs-actions.pod:2287 ../src/guestfs-actions.pod:2492
7808 #: ../src/guestfs-actions.pod:2548
7809 msgid "See also C<guestfs_list_filesystems>."
7810 msgstr ""
7811
7812 # type: =head2
7813 #: ../src/guestfs-actions.pod:2293
7814 msgid "guestfs_is_blockdev"
7815 msgstr ""
7816
7817 # type: verbatim
7818 #: ../src/guestfs-actions.pod:2295
7819 #, no-wrap
7820 msgid ""
7821 " int guestfs_is_blockdev (guestfs_h *g,\n"
7822 "\t\tconst char *path);\n"
7823 "\n"
7824 msgstr ""
7825
7826 # type: textblock
7827 #: ../src/guestfs-actions.pod:2298 ../fish/guestfish-actions.pod:1836
7828 msgid ""
7829 "This returns C<true> if and only if there is a block device with the given "
7830 "C<path> name."
7831 msgstr ""
7832
7833 # type: textblock
7834 #: ../src/guestfs-actions.pod:2301 ../src/guestfs-actions.pod:2324
7835 #: ../src/guestfs-actions.pod:2348 ../src/guestfs-actions.pod:2360
7836 #: ../src/guestfs-actions.pod:2373 ../src/guestfs-actions.pod:2417
7837 #: ../src/guestfs-actions.pod:2429
7838 msgid "See also C<guestfs_stat>."
7839 msgstr ""
7840
7841 # type: =head2
7842 #: ../src/guestfs-actions.pod:2305
7843 msgid "guestfs_is_busy"
7844 msgstr ""
7845
7846 # type: verbatim
7847 #: ../src/guestfs-actions.pod:2307
7848 #, no-wrap
7849 msgid ""
7850 " int guestfs_is_busy (guestfs_h *g);\n"
7851 "\n"
7852 msgstr ""
7853
7854 # type: textblock
7855 #: ../src/guestfs-actions.pod:2309 ../fish/guestfish-actions.pod:1845
7856 msgid ""
7857 "This returns true iff this handle is busy processing a command (in the "
7858 "C<BUSY> state)."
7859 msgstr ""
7860
7861 # type: =head2
7862 #: ../src/guestfs-actions.pod:2316
7863 msgid "guestfs_is_chardev"
7864 msgstr ""
7865
7866 # type: verbatim
7867 #: ../src/guestfs-actions.pod:2318
7868 #, no-wrap
7869 msgid ""
7870 " int guestfs_is_chardev (guestfs_h *g,\n"
7871 "\t\tconst char *path);\n"
7872 "\n"
7873 msgstr ""
7874
7875 # type: textblock
7876 #: ../src/guestfs-actions.pod:2321 ../fish/guestfish-actions.pod:1854
7877 msgid ""
7878 "This returns C<true> if and only if there is a character device with the "
7879 "given C<path> name."
7880 msgstr ""
7881
7882 # type: =head2
7883 #: ../src/guestfs-actions.pod:2328
7884 msgid "guestfs_is_config"
7885 msgstr ""
7886
7887 # type: verbatim
7888 #: ../src/guestfs-actions.pod:2330
7889 #, no-wrap
7890 msgid ""
7891 " int guestfs_is_config (guestfs_h *g);\n"
7892 "\n"
7893 msgstr ""
7894
7895 # type: textblock
7896 #: ../src/guestfs-actions.pod:2332 ../fish/guestfish-actions.pod:1863
7897 msgid ""
7898 "This returns true iff this handle is being configured (in the C<CONFIG> "
7899 "state)."
7900 msgstr ""
7901
7902 # type: =head2
7903 #: ../src/guestfs-actions.pod:2339
7904 msgid "guestfs_is_dir"
7905 msgstr ""
7906
7907 # type: verbatim
7908 #: ../src/guestfs-actions.pod:2341
7909 #, no-wrap
7910 msgid ""
7911 " int guestfs_is_dir (guestfs_h *g,\n"
7912 "\t\tconst char *path);\n"
7913 "\n"
7914 msgstr ""
7915
7916 # type: textblock
7917 #: ../src/guestfs-actions.pod:2344 ../fish/guestfish-actions.pod:1872
7918 msgid ""
7919 "This returns C<true> if and only if there is a directory with the given "
7920 "C<path> name.  Note that it returns false for other objects like files."
7921 msgstr ""
7922
7923 # type: =head2
7924 #: ../src/guestfs-actions.pod:2352
7925 msgid "guestfs_is_fifo"
7926 msgstr ""
7927
7928 # type: verbatim
7929 #: ../src/guestfs-actions.pod:2354
7930 #, no-wrap
7931 msgid ""
7932 " int guestfs_is_fifo (guestfs_h *g,\n"
7933 "\t\tconst char *path);\n"
7934 "\n"
7935 msgstr ""
7936
7937 # type: textblock
7938 #: ../src/guestfs-actions.pod:2357 ../fish/guestfish-actions.pod:1882
7939 msgid ""
7940 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
7941 "given C<path> name."
7942 msgstr ""
7943
7944 # type: =head2
7945 #: ../src/guestfs-actions.pod:2364
7946 msgid "guestfs_is_file"
7947 msgstr ""
7948
7949 # type: verbatim
7950 #: ../src/guestfs-actions.pod:2366
7951 #, no-wrap
7952 msgid ""
7953 " int guestfs_is_file (guestfs_h *g,\n"
7954 "\t\tconst char *path);\n"
7955 "\n"
7956 msgstr ""
7957
7958 # type: textblock
7959 #: ../src/guestfs-actions.pod:2369 ../fish/guestfish-actions.pod:1891
7960 msgid ""
7961 "This returns C<true> if and only if there is a regular file with the given "
7962 "C<path> name.  Note that it returns false for other objects like directories."
7963 msgstr ""
7964
7965 # type: =head2
7966 #: ../src/guestfs-actions.pod:2377
7967 msgid "guestfs_is_launching"
7968 msgstr ""
7969
7970 # type: verbatim
7971 #: ../src/guestfs-actions.pod:2379
7972 #, no-wrap
7973 msgid ""
7974 " int guestfs_is_launching (guestfs_h *g);\n"
7975 "\n"
7976 msgstr ""
7977
7978 # type: textblock
7979 #: ../src/guestfs-actions.pod:2381 ../fish/guestfish-actions.pod:1901
7980 msgid ""
7981 "This returns true iff this handle is launching the subprocess (in the "
7982 "C<LAUNCHING> state)."
7983 msgstr ""
7984
7985 # type: =head2
7986 #: ../src/guestfs-actions.pod:2388
7987 msgid "guestfs_is_lv"
7988 msgstr ""
7989
7990 # type: verbatim
7991 #: ../src/guestfs-actions.pod:2390
7992 #, no-wrap
7993 msgid ""
7994 " int guestfs_is_lv (guestfs_h *g,\n"
7995 "\t\tconst char *device);\n"
7996 "\n"
7997 msgstr ""
7998
7999 # type: textblock
8000 #: ../src/guestfs-actions.pod:2393 ../fish/guestfish-actions.pod:1910
8001 msgid ""
8002 "This command tests whether C<device> is a logical volume, and returns true "
8003 "iff this is the case."
8004 msgstr ""
8005
8006 # type: =head2
8007 #: ../src/guestfs-actions.pod:2398
8008 msgid "guestfs_is_ready"
8009 msgstr ""
8010
8011 # type: verbatim
8012 #: ../src/guestfs-actions.pod:2400
8013 #, no-wrap
8014 msgid ""
8015 " int guestfs_is_ready (guestfs_h *g);\n"
8016 "\n"
8017 msgstr ""
8018
8019 # type: textblock
8020 #: ../src/guestfs-actions.pod:2402 ../fish/guestfish-actions.pod:1917
8021 msgid ""
8022 "This returns true iff this handle is ready to accept commands (in the "
8023 "C<READY> state)."
8024 msgstr ""
8025
8026 # type: =head2
8027 #: ../src/guestfs-actions.pod:2409
8028 msgid "guestfs_is_socket"
8029 msgstr ""
8030
8031 # type: verbatim
8032 #: ../src/guestfs-actions.pod:2411
8033 #, no-wrap
8034 msgid ""
8035 " int guestfs_is_socket (guestfs_h *g,\n"
8036 "\t\tconst char *path);\n"
8037 "\n"
8038 msgstr ""
8039
8040 # type: textblock
8041 #: ../src/guestfs-actions.pod:2414 ../fish/guestfish-actions.pod:1926
8042 msgid ""
8043 "This returns C<true> if and only if there is a Unix domain socket with the "
8044 "given C<path> name."
8045 msgstr ""
8046
8047 # type: =head2
8048 #: ../src/guestfs-actions.pod:2421
8049 msgid "guestfs_is_symlink"
8050 msgstr ""
8051
8052 # type: verbatim
8053 #: ../src/guestfs-actions.pod:2423
8054 #, no-wrap
8055 msgid ""
8056 " int guestfs_is_symlink (guestfs_h *g,\n"
8057 "\t\tconst char *path);\n"
8058 "\n"
8059 msgstr ""
8060
8061 # type: textblock
8062 #: ../src/guestfs-actions.pod:2426 ../fish/guestfish-actions.pod:1935
8063 msgid ""
8064 "This returns C<true> if and only if there is a symbolic link with the given "
8065 "C<path> name."
8066 msgstr ""
8067
8068 # type: =head2
8069 #: ../src/guestfs-actions.pod:2433
8070 msgid "guestfs_kill_subprocess"
8071 msgstr ""
8072
8073 # type: verbatim
8074 #: ../src/guestfs-actions.pod:2435
8075 #, no-wrap
8076 msgid ""
8077 " int guestfs_kill_subprocess (guestfs_h *g);\n"
8078 "\n"
8079 msgstr ""
8080
8081 # type: textblock
8082 #: ../src/guestfs-actions.pod:2437 ../fish/guestfish-actions.pod:1944
8083 msgid "This kills the qemu subprocess.  You should never need to call this."
8084 msgstr ""
8085
8086 # type: =head2
8087 #: ../src/guestfs-actions.pod:2441
8088 msgid "guestfs_launch"
8089 msgstr ""
8090
8091 # type: verbatim
8092 #: ../src/guestfs-actions.pod:2443
8093 #, no-wrap
8094 msgid ""
8095 " int guestfs_launch (guestfs_h *g);\n"
8096 "\n"
8097 msgstr ""
8098
8099 # type: textblock
8100 #: ../src/guestfs-actions.pod:2445 ../fish/guestfish-actions.pod:1952
8101 msgid ""
8102 "Internally libguestfs is implemented by running a virtual machine using "
8103 "L<qemu(1)>."
8104 msgstr ""
8105
8106 # type: textblock
8107 #: ../src/guestfs-actions.pod:2448 ../fish/guestfish-actions.pod:1955
8108 msgid ""
8109 "You should call this after configuring the handle (eg. adding drives) but "
8110 "before performing any actions."
8111 msgstr ""
8112
8113 # type: =head2
8114 #: ../src/guestfs-actions.pod:2453
8115 msgid "guestfs_lchown"
8116 msgstr ""
8117
8118 # type: verbatim
8119 #: ../src/guestfs-actions.pod:2455
8120 #, no-wrap
8121 msgid ""
8122 " int guestfs_lchown (guestfs_h *g,\n"
8123 "\t\tint owner,\n"
8124 "\t\tint group,\n"
8125 "\t\tconst char *path);\n"
8126 "\n"
8127 msgstr ""
8128
8129 # type: textblock
8130 #: ../src/guestfs-actions.pod:2460
8131 msgid ""
8132 "Change the file owner to C<owner> and group to C<group>.  This is like "
8133 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
8134 "changed, not the target."
8135 msgstr ""
8136
8137 # type: =head2
8138 #: ../src/guestfs-actions.pod:2470
8139 msgid "guestfs_lgetxattrs"
8140 msgstr ""
8141
8142 # type: verbatim
8143 #: ../src/guestfs-actions.pod:2472
8144 #, no-wrap
8145 msgid ""
8146 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
8147 "\t\tconst char *path);\n"
8148 "\n"
8149 msgstr ""
8150
8151 # type: textblock
8152 #: ../src/guestfs-actions.pod:2475
8153 msgid ""
8154 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
8155 "then it returns the extended attributes of the link itself."
8156 msgstr ""
8157
8158 # type: =head2
8159 #: ../src/guestfs-actions.pod:2484
8160 msgid "guestfs_list_devices"
8161 msgstr ""
8162
8163 # type: verbatim
8164 #: ../src/guestfs-actions.pod:2486
8165 #, no-wrap
8166 msgid ""
8167 " char **guestfs_list_devices (guestfs_h *g);\n"
8168 "\n"
8169 msgstr ""
8170
8171 # type: textblock
8172 #: ../src/guestfs-actions.pod:2488 ../fish/guestfish-actions.pod:1982
8173 msgid "List all the block devices."
8174 msgstr ""
8175
8176 # type: textblock
8177 #: ../src/guestfs-actions.pod:2490 ../fish/guestfish-actions.pod:1984
8178 msgid "The full block device names are returned, eg. C</dev/sda>."
8179 msgstr ""
8180
8181 # type: =head2
8182 #: ../src/guestfs-actions.pod:2498
8183 msgid "guestfs_list_filesystems"
8184 msgstr ""
8185
8186 # type: verbatim
8187 #: ../src/guestfs-actions.pod:2500
8188 #, no-wrap
8189 msgid ""
8190 " char **guestfs_list_filesystems (guestfs_h *g);\n"
8191 "\n"
8192 msgstr ""
8193
8194 # type: textblock
8195 #: ../src/guestfs-actions.pod:2502 ../fish/guestfish-actions.pod:1992
8196 msgid ""
8197 "This inspection command looks for filesystems on partitions, block devices "
8198 "and logical volumes, returning a list of devices containing filesystems and "
8199 "their type."
8200 msgstr ""
8201
8202 # type: textblock
8203 #: ../src/guestfs-actions.pod:2506 ../fish/guestfish-actions.pod:1996
8204 msgid ""
8205 "The return value is a hash, where the keys are the devices containing "
8206 "filesystems, and the values are the filesystem types.  For example:"
8207 msgstr ""
8208
8209 # type: verbatim
8210 #: ../src/guestfs-actions.pod:2510 ../fish/guestfish-actions.pod:2000
8211 #, no-wrap
8212 msgid ""
8213 " \"/dev/sda1\" => \"ntfs\"\n"
8214 " \"/dev/sda2\" => \"ext2\"\n"
8215 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
8216 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
8217 "\n"
8218 msgstr ""
8219
8220 # type: textblock
8221 #: ../src/guestfs-actions.pod:2515 ../fish/guestfish-actions.pod:2005
8222 msgid ""
8223 "The value can have the special value \"unknown\", meaning the content of the "
8224 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
8225 msgstr ""
8226
8227 # type: textblock
8228 #: ../src/guestfs-actions.pod:2519
8229 msgid ""
8230 "This command runs other libguestfs commands, which might include "
8231 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
8232 "soon after launch and only when nothing is mounted."
8233 msgstr ""
8234
8235 # type: textblock
8236 #: ../src/guestfs-actions.pod:2523
8237 msgid ""
8238 "Not all of the filesystems returned will be mountable.  In particular, swap "
8239 "partitions are returned in the list.  Also this command does not check that "
8240 "each filesystem found is valid and mountable, and some filesystems might be "
8241 "mountable but require special options.  Filesystems may not all belong to a "
8242 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
8243 msgstr ""
8244
8245 # type: =head2
8246 #: ../src/guestfs-actions.pod:2537
8247 msgid "guestfs_list_partitions"
8248 msgstr ""
8249
8250 # type: verbatim
8251 #: ../src/guestfs-actions.pod:2539
8252 #, no-wrap
8253 msgid ""
8254 " char **guestfs_list_partitions (guestfs_h *g);\n"
8255 "\n"
8256 msgstr ""
8257
8258 # type: textblock
8259 #: ../src/guestfs-actions.pod:2541 ../fish/guestfish-actions.pod:2025
8260 msgid "List all the partitions detected on all block devices."
8261 msgstr ""
8262
8263 # type: textblock
8264 #: ../src/guestfs-actions.pod:2543 ../fish/guestfish-actions.pod:2027
8265 msgid "The full partition device names are returned, eg. C</dev/sda1>"
8266 msgstr ""
8267
8268 # type: textblock
8269 #: ../src/guestfs-actions.pod:2545
8270 msgid ""
8271 "This does not return logical volumes.  For that you will need to call "
8272 "C<guestfs_lvs>."
8273 msgstr ""
8274
8275 # type: =head2
8276 #: ../src/guestfs-actions.pod:2554
8277 msgid "guestfs_ll"
8278 msgstr ""
8279
8280 # type: verbatim
8281 #: ../src/guestfs-actions.pod:2556
8282 #, no-wrap
8283 msgid ""
8284 " char *guestfs_ll (guestfs_h *g,\n"
8285 "\t\tconst char *directory);\n"
8286 "\n"
8287 msgstr ""
8288
8289 # type: textblock
8290 #: ../src/guestfs-actions.pod:2559 ../fish/guestfish-actions.pod:2038
8291 msgid ""
8292 "List the files in C<directory> (relative to the root directory, there is no "
8293 "cwd) in the format of 'ls -la'."
8294 msgstr ""
8295
8296 # type: textblock
8297 #: ../src/guestfs-actions.pod:2562 ../fish/guestfish-actions.pod:2041
8298 msgid ""
8299 "This command is mostly useful for interactive sessions.  It is I<not> "
8300 "intended that you try to parse the output string."
8301 msgstr ""
8302
8303 # type: =head2
8304 #: ../src/guestfs-actions.pod:2568
8305 msgid "guestfs_ln"
8306 msgstr ""
8307
8308 # type: verbatim
8309 #: ../src/guestfs-actions.pod:2570
8310 #, no-wrap
8311 msgid ""
8312 " int guestfs_ln (guestfs_h *g,\n"
8313 "\t\tconst char *target,\n"
8314 "\t\tconst char *linkname);\n"
8315 "\n"
8316 msgstr ""
8317
8318 # type: textblock
8319 #: ../src/guestfs-actions.pod:2574 ../fish/guestfish-actions.pod:2048
8320 msgid "This command creates a hard link using the C<ln> command."
8321 msgstr ""
8322
8323 # type: =head2
8324 #: ../src/guestfs-actions.pod:2578
8325 msgid "guestfs_ln_f"
8326 msgstr ""
8327
8328 # type: verbatim
8329 #: ../src/guestfs-actions.pod:2580
8330 #, no-wrap
8331 msgid ""
8332 " int guestfs_ln_f (guestfs_h *g,\n"
8333 "\t\tconst char *target,\n"
8334 "\t\tconst char *linkname);\n"
8335 "\n"
8336 msgstr ""
8337
8338 # type: textblock
8339 #: ../src/guestfs-actions.pod:2584 ../fish/guestfish-actions.pod:2054
8340 msgid ""
8341 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
8342 "option removes the link (C<linkname>) if it exists already."
8343 msgstr ""
8344
8345 # type: =head2
8346 #: ../src/guestfs-actions.pod:2589
8347 msgid "guestfs_ln_s"
8348 msgstr ""
8349
8350 # type: verbatim
8351 #: ../src/guestfs-actions.pod:2591
8352 #, no-wrap
8353 msgid ""
8354 " int guestfs_ln_s (guestfs_h *g,\n"
8355 "\t\tconst char *target,\n"
8356 "\t\tconst char *linkname);\n"
8357 "\n"
8358 msgstr ""
8359
8360 # type: textblock
8361 #: ../src/guestfs-actions.pod:2595 ../fish/guestfish-actions.pod:2061
8362 msgid "This command creates a symbolic link using the C<ln -s> command."
8363 msgstr ""
8364
8365 # type: =head2
8366 #: ../src/guestfs-actions.pod:2599
8367 msgid "guestfs_ln_sf"
8368 msgstr ""
8369
8370 # type: verbatim
8371 #: ../src/guestfs-actions.pod:2601
8372 #, no-wrap
8373 msgid ""
8374 " int guestfs_ln_sf (guestfs_h *g,\n"
8375 "\t\tconst char *target,\n"
8376 "\t\tconst char *linkname);\n"
8377 "\n"
8378 msgstr ""
8379
8380 # type: textblock
8381 #: ../src/guestfs-actions.pod:2605 ../fish/guestfish-actions.pod:2067
8382 msgid ""
8383 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
8384 "option removes the link (C<linkname>) if it exists already."
8385 msgstr ""
8386
8387 # type: =head2
8388 #: ../src/guestfs-actions.pod:2610
8389 msgid "guestfs_lremovexattr"
8390 msgstr ""
8391
8392 # type: verbatim
8393 #: ../src/guestfs-actions.pod:2612
8394 #, no-wrap
8395 msgid ""
8396 " int guestfs_lremovexattr (guestfs_h *g,\n"
8397 "\t\tconst char *xattr,\n"
8398 "\t\tconst char *path);\n"
8399 "\n"
8400 msgstr ""
8401
8402 # type: textblock
8403 #: ../src/guestfs-actions.pod:2616
8404 msgid ""
8405 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
8406 "link, then it removes an extended attribute of the link itself."
8407 msgstr ""
8408
8409 # type: =head2
8410 #: ../src/guestfs-actions.pod:2622
8411 msgid "guestfs_ls"
8412 msgstr ""
8413
8414 # type: verbatim
8415 #: ../src/guestfs-actions.pod:2624
8416 #, no-wrap
8417 msgid ""
8418 " char **guestfs_ls (guestfs_h *g,\n"
8419 "\t\tconst char *directory);\n"
8420 "\n"
8421 msgstr ""
8422
8423 # type: textblock
8424 #: ../src/guestfs-actions.pod:2627 ../fish/guestfish-actions.pod:2082
8425 msgid ""
8426 "List the files in C<directory> (relative to the root directory, there is no "
8427 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
8428 msgstr ""
8429
8430 # type: textblock
8431 #: ../src/guestfs-actions.pod:2631
8432 msgid ""
8433 "This command is mostly useful for interactive sessions.  Programs should "
8434 "probably use C<guestfs_readdir> instead."
8435 msgstr ""
8436
8437 # type: =head2
8438 #: ../src/guestfs-actions.pod:2638
8439 msgid "guestfs_lsetxattr"
8440 msgstr ""
8441
8442 # type: verbatim
8443 #: ../src/guestfs-actions.pod:2640
8444 #, no-wrap
8445 msgid ""
8446 " int guestfs_lsetxattr (guestfs_h *g,\n"
8447 "\t\tconst char *xattr,\n"
8448 "\t\tconst char *val,\n"
8449 "\t\tint vallen,\n"
8450 "\t\tconst char *path);\n"
8451 "\n"
8452 msgstr ""
8453
8454 # type: textblock
8455 #: ../src/guestfs-actions.pod:2646
8456 msgid ""
8457 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8458 "then it sets an extended attribute of the link itself."
8459 msgstr ""
8460
8461 # type: =head2
8462 #: ../src/guestfs-actions.pod:2652
8463 msgid "guestfs_lstat"
8464 msgstr ""
8465
8466 # type: verbatim
8467 #: ../src/guestfs-actions.pod:2654
8468 #, no-wrap
8469 msgid ""
8470 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8471 "\t\tconst char *path);\n"
8472 "\n"
8473 msgstr ""
8474
8475 # type: textblock
8476 #: ../src/guestfs-actions.pod:2657 ../src/guestfs-actions.pod:4655
8477 #: ../fish/guestfish-actions.pod:2101 ../fish/guestfish-actions.pod:3623
8478 msgid "Returns file information for the given C<path>."
8479 msgstr ""
8480
8481 # type: textblock
8482 #: ../src/guestfs-actions.pod:2659
8483 msgid ""
8484 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8485 "link, then the link is stat-ed, not the file it refers to."
8486 msgstr ""
8487
8488 # type: textblock
8489 #: ../src/guestfs-actions.pod:2663 ../fish/guestfish-actions.pod:2107
8490 msgid "This is the same as the C<lstat(2)> system call."
8491 msgstr ""
8492
8493 # type: textblock
8494 #: ../src/guestfs-actions.pod:2665 ../src/guestfs-actions.pod:4659
8495 msgid ""
8496 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8497 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8498 msgstr ""
8499
8500 # type: =head2
8501 #: ../src/guestfs-actions.pod:2669
8502 msgid "guestfs_lstatlist"
8503 msgstr ""
8504
8505 # type: verbatim
8506 #: ../src/guestfs-actions.pod:2671
8507 #, no-wrap
8508 msgid ""
8509 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8510 "\t\tconst char *path,\n"
8511 "\t\tchar *const *names);\n"
8512 "\n"
8513 msgstr ""
8514
8515 # type: textblock
8516 #: ../src/guestfs-actions.pod:2675
8517 msgid ""
8518 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8519 "files, where all files are in the directory C<path>.  C<names> is the list "
8520 "of files from this directory."
8521 msgstr ""
8522
8523 # type: textblock
8524 #: ../src/guestfs-actions.pod:2679 ../fish/guestfish-actions.pod:2117
8525 msgid ""
8526 "On return you get a list of stat structs, with a one-to-one correspondence "
8527 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8528 "then the C<ino> field of that structure is set to C<-1>."
8529 msgstr ""
8530
8531 # type: textblock
8532 #: ../src/guestfs-actions.pod:2684
8533 msgid ""
8534 "This call is intended for programs that want to efficiently list a directory "
8535 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8536 "for a similarly efficient call for getting extended attributes.  Very long "
8537 "directory listings might cause the protocol message size to be exceeded, "
8538 "causing this call to fail.  The caller must split up such requests into "
8539 "smaller groups of names."
8540 msgstr ""
8541
8542 # type: textblock
8543 #: ../src/guestfs-actions.pod:2692
8544 msgid ""
8545 "This function returns a C<struct guestfs_stat_list *> (see E<lt>guestfs-"
8546 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
8547 "C<guestfs_free_stat_list> after use>."
8548 msgstr ""
8549
8550 # type: =head2
8551 #: ../src/guestfs-actions.pod:2697
8552 msgid "guestfs_luks_add_key"
8553 msgstr ""
8554
8555 # type: verbatim
8556 #: ../src/guestfs-actions.pod:2699
8557 #, no-wrap
8558 msgid ""
8559 " int guestfs_luks_add_key (guestfs_h *g,\n"
8560 "\t\tconst char *device,\n"
8561 "\t\tconst char *key,\n"
8562 "\t\tconst char *newkey,\n"
8563 "\t\tint keyslot);\n"
8564 "\n"
8565 msgstr ""
8566
8567 # type: textblock
8568 #: ../src/guestfs-actions.pod:2705 ../fish/guestfish-actions.pod:2134
8569 msgid ""
8570 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8571 "existing key, and is used to access the device.  C<newkey> is the new key to "
8572 "add.  C<keyslot> is the key slot that will be replaced."
8573 msgstr ""
8574
8575 # type: textblock
8576 #: ../src/guestfs-actions.pod:2710
8577 msgid ""
8578 "Note that if C<keyslot> already contains a key, then this command will "
8579 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8580 msgstr ""
8581
8582 # type: textblock
8583 #: ../src/guestfs-actions.pod:2716 ../src/guestfs-actions.pod:2750
8584 #: ../src/guestfs-actions.pod:2770 ../src/guestfs-actions.pod:2787
8585 #: ../src/guestfs-actions.pod:2816 ../src/guestfs-actions.pod:2832
8586 msgid ""
8587 "This function takes a key or passphrase parameter which could contain "
8588 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8589 "information."
8590 msgstr ""
8591
8592 # type: =head2
8593 #: ../src/guestfs-actions.pod:2720
8594 msgid "guestfs_luks_close"
8595 msgstr ""
8596
8597 # type: verbatim
8598 #: ../src/guestfs-actions.pod:2722
8599 #, no-wrap
8600 msgid ""
8601 " int guestfs_luks_close (guestfs_h *g,\n"
8602 "\t\tconst char *device);\n"
8603 "\n"
8604 msgstr ""
8605
8606 # type: textblock
8607 #: ../src/guestfs-actions.pod:2725
8608 msgid ""
8609 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8610 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8611 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8612 "underlying block device."
8613 msgstr ""
8614
8615 # type: =head2
8616 #: ../src/guestfs-actions.pod:2733
8617 msgid "guestfs_luks_format"
8618 msgstr ""
8619
8620 # type: verbatim
8621 #: ../src/guestfs-actions.pod:2735
8622 #, no-wrap
8623 msgid ""
8624 " int guestfs_luks_format (guestfs_h *g,\n"
8625 "\t\tconst char *device,\n"
8626 "\t\tconst char *key,\n"
8627 "\t\tint keyslot);\n"
8628 "\n"
8629 msgstr ""
8630
8631 # type: textblock
8632 #: ../src/guestfs-actions.pod:2740 ../fish/guestfish-actions.pod:2160
8633 msgid ""
8634 "This command erases existing data on C<device> and formats the device as a "
8635 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8636 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8637 msgstr ""
8638
8639 # type: textblock
8640 #: ../src/guestfs-actions.pod:2747 ../src/guestfs-actions.pod:2767
8641 #: ../src/guestfs-actions.pod:2869 ../src/guestfs-actions.pod:3581
8642 #: ../src/guestfs-actions.pod:4196 ../src/guestfs-actions.pod:4517
8643 #: ../src/guestfs-actions.pod:4537 ../src/guestfs-actions.pod:4560
8644 #: ../src/guestfs-actions.pod:5525 ../fish/guestfish-actions.pod:2168
8645 #: ../fish/guestfish-actions.pod:2181 ../fish/guestfish-actions.pod:2252
8646 #: ../fish/guestfish-actions.pod:2767 ../fish/guestfish-actions.pod:3242
8647 #: ../fish/guestfish-actions.pod:3522 ../fish/guestfish-actions.pod:3538
8648 #: ../fish/guestfish-actions.pod:3553 ../fish/guestfish-actions.pod:4268
8649 msgid ""
8650 "B<This command is dangerous.  Without careful use you can easily destroy all "
8651 "your data>."
8652 msgstr ""
8653
8654 # type: =head2
8655 #: ../src/guestfs-actions.pod:2754
8656 msgid "guestfs_luks_format_cipher"
8657 msgstr ""
8658
8659 # type: verbatim
8660 #: ../src/guestfs-actions.pod:2756
8661 #, no-wrap
8662 msgid ""
8663 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8664 "\t\tconst char *device,\n"
8665 "\t\tconst char *key,\n"
8666 "\t\tint keyslot,\n"
8667 "\t\tconst char *cipher);\n"
8668 "\n"
8669 msgstr ""
8670
8671 # type: textblock
8672 #: ../src/guestfs-actions.pod:2762
8673 msgid ""
8674 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8675 "set the C<cipher> used."
8676 msgstr ""
8677
8678 # type: =head2
8679 #: ../src/guestfs-actions.pod:2774
8680 msgid "guestfs_luks_kill_slot"
8681 msgstr ""
8682
8683 # type: verbatim
8684 #: ../src/guestfs-actions.pod:2776
8685 #, no-wrap
8686 msgid ""
8687 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8688 "\t\tconst char *device,\n"
8689 "\t\tconst char *key,\n"
8690 "\t\tint keyslot);\n"
8691 "\n"
8692 msgstr ""
8693
8694 # type: textblock
8695 #: ../src/guestfs-actions.pod:2781 ../fish/guestfish-actions.pod:2188
8696 msgid ""
8697 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8698 "device C<device>.  C<key> must be one of the I<other> keys."
8699 msgstr ""
8700
8701 # type: =head2
8702 #: ../src/guestfs-actions.pod:2791
8703 msgid "guestfs_luks_open"
8704 msgstr ""
8705
8706 # type: verbatim
8707 #: ../src/guestfs-actions.pod:2793
8708 #, no-wrap
8709 msgid ""
8710 " int guestfs_luks_open (guestfs_h *g,\n"
8711 "\t\tconst char *device,\n"
8712 "\t\tconst char *key,\n"
8713 "\t\tconst char *mapname);\n"
8714 "\n"
8715 msgstr ""
8716
8717 # type: textblock
8718 #: ../src/guestfs-actions.pod:2798 ../fish/guestfish-actions.pod:2199
8719 msgid ""
8720 "This command opens a block device which has been encrypted according to the "
8721 "Linux Unified Key Setup (LUKS) standard."
8722 msgstr ""
8723
8724 # type: textblock
8725 #: ../src/guestfs-actions.pod:2801 ../fish/guestfish-actions.pod:2202
8726 msgid "C<device> is the encrypted block device or partition."
8727 msgstr ""
8728
8729 # type: textblock
8730 #: ../src/guestfs-actions.pod:2803 ../fish/guestfish-actions.pod:2204
8731 msgid ""
8732 "The caller must supply one of the keys associated with the LUKS block "
8733 "device, in the C<key> parameter."
8734 msgstr ""
8735
8736 # type: textblock
8737 #: ../src/guestfs-actions.pod:2806 ../fish/guestfish-actions.pod:2207
8738 msgid ""
8739 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8740 "writes to this block device are decrypted from and encrypted to the "
8741 "underlying C<device> respectively."
8742 msgstr ""
8743
8744 # type: textblock
8745 #: ../src/guestfs-actions.pod:2810
8746 msgid ""
8747 "If this block device contains LVM volume groups, then calling "
8748 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8749 "visible."
8750 msgstr ""
8751
8752 # type: =head2
8753 #: ../src/guestfs-actions.pod:2820
8754 msgid "guestfs_luks_open_ro"
8755 msgstr ""
8756
8757 # type: verbatim
8758 #: ../src/guestfs-actions.pod:2822
8759 #, no-wrap
8760 msgid ""
8761 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8762 "\t\tconst char *device,\n"
8763 "\t\tconst char *key,\n"
8764 "\t\tconst char *mapname);\n"
8765 "\n"
8766 msgstr ""
8767
8768 # type: textblock
8769 #: ../src/guestfs-actions.pod:2827
8770 msgid ""
8771 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8772 "created."
8773 msgstr ""
8774
8775 # type: =head2
8776 #: ../src/guestfs-actions.pod:2836
8777 msgid "guestfs_lvcreate"
8778 msgstr ""
8779
8780 # type: verbatim
8781 #: ../src/guestfs-actions.pod:2838
8782 #, no-wrap
8783 msgid ""
8784 " int guestfs_lvcreate (guestfs_h *g,\n"
8785 "\t\tconst char *logvol,\n"
8786 "\t\tconst char *volgroup,\n"
8787 "\t\tint mbytes);\n"
8788 "\n"
8789 msgstr ""
8790
8791 # type: textblock
8792 #: ../src/guestfs-actions.pod:2843 ../fish/guestfish-actions.pod:2232
8793 msgid ""
8794 "This creates an LVM logical volume called C<logvol> on the volume group "
8795 "C<volgroup>, with C<size> megabytes."
8796 msgstr ""
8797
8798 # type: =head2
8799 #: ../src/guestfs-actions.pod:2848
8800 msgid "guestfs_lvm_clear_filter"
8801 msgstr ""
8802
8803 # type: verbatim
8804 #: ../src/guestfs-actions.pod:2850
8805 #, no-wrap
8806 msgid ""
8807 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8808 "\n"
8809 msgstr ""
8810
8811 # type: textblock
8812 #: ../src/guestfs-actions.pod:2852
8813 msgid ""
8814 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8815 "see every block device."
8816 msgstr ""
8817
8818 # type: textblock
8819 #: ../src/guestfs-actions.pod:2855 ../src/guestfs-actions.pod:2891
8820 #: ../fish/guestfish-actions.pod:2242 ../fish/guestfish-actions.pod:2273
8821 msgid ""
8822 "This command also clears the LVM cache and performs a volume group scan."
8823 msgstr ""
8824
8825 # type: =head2
8826 #: ../src/guestfs-actions.pod:2860
8827 msgid "guestfs_lvm_remove_all"
8828 msgstr ""
8829
8830 # type: verbatim
8831 #: ../src/guestfs-actions.pod:2862
8832 #, no-wrap
8833 msgid ""
8834 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8835 "\n"
8836 msgstr ""
8837
8838 # type: textblock
8839 #: ../src/guestfs-actions.pod:2864 ../fish/guestfish-actions.pod:2249
8840 msgid ""
8841 "This command removes all LVM logical volumes, volume groups and physical "
8842 "volumes."
8843 msgstr ""
8844
8845 # type: =head2
8846 #: ../src/guestfs-actions.pod:2872
8847 msgid "guestfs_lvm_set_filter"
8848 msgstr ""
8849
8850 # type: verbatim
8851 #: ../src/guestfs-actions.pod:2874
8852 #, no-wrap
8853 msgid ""
8854 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8855 "\t\tchar *const *devices);\n"
8856 "\n"
8857 msgstr ""
8858
8859 # type: textblock
8860 #: ../src/guestfs-actions.pod:2877 ../fish/guestfish-actions.pod:2259
8861 msgid ""
8862 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8863 "block devices in the list C<devices>, and will ignore all other attached "
8864 "block devices."
8865 msgstr ""
8866
8867 # type: textblock
8868 #: ../src/guestfs-actions.pod:2881 ../fish/guestfish-actions.pod:2263
8869 msgid ""
8870 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8871 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8872 "there are two types of duplication possible: either cloned PVs/VGs which "
8873 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8874 "same name.  In normal operation you cannot create this situation, but you "
8875 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8876 "inside the LVM metadata."
8877 msgstr ""
8878
8879 # type: textblock
8880 #: ../src/guestfs-actions.pod:2894 ../fish/guestfish-actions.pod:2276
8881 msgid "You can filter whole block devices or individual partitions."
8882 msgstr ""
8883
8884 # type: textblock
8885 #: ../src/guestfs-actions.pod:2896 ../fish/guestfish-actions.pod:2278
8886 msgid ""
8887 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8888 "filesystem), even if you are not filtering out that VG."
8889 msgstr ""
8890
8891 # type: =head2
8892 #: ../src/guestfs-actions.pod:2902
8893 msgid "guestfs_lvremove"
8894 msgstr ""
8895
8896 # type: verbatim
8897 #: ../src/guestfs-actions.pod:2904
8898 #, no-wrap
8899 msgid ""
8900 " int guestfs_lvremove (guestfs_h *g,\n"
8901 "\t\tconst char *device);\n"
8902 "\n"
8903 msgstr ""
8904
8905 # type: textblock
8906 #: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2286
8907 msgid ""
8908 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8909 "LV, such as C</dev/VG/LV>."
8910 msgstr ""
8911
8912 # type: textblock
8913 #: ../src/guestfs-actions.pod:2910 ../fish/guestfish-actions.pod:2289
8914 msgid ""
8915 "You can also remove all LVs in a volume group by specifying the VG name, C</"
8916 "dev/VG>."
8917 msgstr ""
8918
8919 # type: =head2
8920 #: ../src/guestfs-actions.pod:2915
8921 msgid "guestfs_lvrename"
8922 msgstr ""
8923
8924 # type: verbatim
8925 #: ../src/guestfs-actions.pod:2917
8926 #, no-wrap
8927 msgid ""
8928 " int guestfs_lvrename (guestfs_h *g,\n"
8929 "\t\tconst char *logvol,\n"
8930 "\t\tconst char *newlogvol);\n"
8931 "\n"
8932 msgstr ""
8933
8934 # type: textblock
8935 #: ../src/guestfs-actions.pod:2921 ../fish/guestfish-actions.pod:2296
8936 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8937 msgstr ""
8938
8939 # type: =head2
8940 #: ../src/guestfs-actions.pod:2925
8941 msgid "guestfs_lvresize"
8942 msgstr ""
8943
8944 # type: verbatim
8945 #: ../src/guestfs-actions.pod:2927
8946 #, no-wrap
8947 msgid ""
8948 " int guestfs_lvresize (guestfs_h *g,\n"
8949 "\t\tconst char *device,\n"
8950 "\t\tint mbytes);\n"
8951 "\n"
8952 msgstr ""
8953
8954 # type: textblock
8955 #: ../src/guestfs-actions.pod:2931 ../fish/guestfish-actions.pod:2302
8956 msgid ""
8957 "This resizes (expands or shrinks) an existing LVM logical volume to "
8958 "C<mbytes>.  When reducing, data in the reduced part is lost."
8959 msgstr ""
8960
8961 # type: =head2
8962 #: ../src/guestfs-actions.pod:2937
8963 msgid "guestfs_lvresize_free"
8964 msgstr ""
8965
8966 # type: verbatim
8967 #: ../src/guestfs-actions.pod:2939
8968 #, no-wrap
8969 msgid ""
8970 " int guestfs_lvresize_free (guestfs_h *g,\n"
8971 "\t\tconst char *lv,\n"
8972 "\t\tint percent);\n"
8973 "\n"
8974 msgstr ""
8975
8976 # type: textblock
8977 #: ../src/guestfs-actions.pod:2943 ../fish/guestfish-actions.pod:2310
8978 msgid ""
8979 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
8980 "remaining free space in the volume group.  Commonly you would call this with "
8981 "pc = 100 which expands the logical volume as much as possible, using all "
8982 "remaining free space in the volume group."
8983 msgstr ""
8984
8985 # type: =head2
8986 #: ../src/guestfs-actions.pod:2951
8987 msgid "guestfs_lvs"
8988 msgstr ""
8989
8990 # type: verbatim
8991 #: ../src/guestfs-actions.pod:2953
8992 #, no-wrap
8993 msgid ""
8994 " char **guestfs_lvs (guestfs_h *g);\n"
8995 "\n"
8996 msgstr ""
8997
8998 # type: textblock
8999 #: ../src/guestfs-actions.pod:2955 ../fish/guestfish-actions.pod:2320
9000 msgid ""
9001 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
9002 "(8)> command."
9003 msgstr ""
9004
9005 # type: textblock
9006 #: ../src/guestfs-actions.pod:2958 ../fish/guestfish-actions.pod:2323
9007 msgid ""
9008 "This returns a list of the logical volume device names (eg. C</dev/"
9009 "VolGroup00/LogVol00>)."
9010 msgstr ""
9011
9012 # type: textblock
9013 #: ../src/guestfs-actions.pod:2961
9014 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
9015 msgstr ""
9016
9017 # type: =head2
9018 #: ../src/guestfs-actions.pod:2967
9019 msgid "guestfs_lvs_full"
9020 msgstr ""
9021
9022 # type: verbatim
9023 #: ../src/guestfs-actions.pod:2969
9024 #, no-wrap
9025 msgid ""
9026 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
9027 "\n"
9028 msgstr ""
9029
9030 # type: textblock
9031 #: ../src/guestfs-actions.pod:2971 ../fish/guestfish-actions.pod:2332
9032 msgid ""
9033 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
9034 "(8)> command.  The \"full\" version includes all fields."
9035 msgstr ""
9036
9037 # type: textblock
9038 #: ../src/guestfs-actions.pod:2974
9039 msgid ""
9040 "This function returns a C<struct guestfs_lvm_lv_list *> (see E<lt>guestfs-"
9041 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
9042 "C<guestfs_free_lvm_lv_list> after use>."
9043 msgstr ""
9044
9045 # type: =head2
9046 #: ../src/guestfs-actions.pod:2979
9047 msgid "guestfs_lvuuid"
9048 msgstr ""
9049
9050 # type: verbatim
9051 #: ../src/guestfs-actions.pod:2981
9052 #, no-wrap
9053 msgid ""
9054 " char *guestfs_lvuuid (guestfs_h *g,\n"
9055 "\t\tconst char *device);\n"
9056 "\n"
9057 msgstr ""
9058
9059 # type: textblock
9060 #: ../src/guestfs-actions.pod:2984 ../fish/guestfish-actions.pod:2339
9061 msgid "This command returns the UUID of the LVM LV C<device>."
9062 msgstr ""
9063
9064 # type: =head2
9065 #: ../src/guestfs-actions.pod:2989
9066 msgid "guestfs_lxattrlist"
9067 msgstr ""
9068
9069 # type: verbatim
9070 #: ../src/guestfs-actions.pod:2991
9071 #, no-wrap
9072 msgid ""
9073 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
9074 "\t\tconst char *path,\n"
9075 "\t\tchar *const *names);\n"
9076 "\n"
9077 msgstr ""
9078
9079 # type: textblock
9080 #: ../src/guestfs-actions.pod:2995 ../fish/guestfish-actions.pod:2345
9081 msgid ""
9082 "This call allows you to get the extended attributes of multiple files, where "
9083 "all files are in the directory C<path>.  C<names> is the list of files from "
9084 "this directory."
9085 msgstr ""
9086
9087 # type: textblock
9088 #: ../src/guestfs-actions.pod:2999 ../fish/guestfish-actions.pod:2349
9089 msgid ""
9090 "On return you get a flat list of xattr structs which must be interpreted "
9091 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
9092 "C<attrval> in this struct is zero-length to indicate there was an error "
9093 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
9094 "number (the number of following attributes for this file, which could be C<"
9095 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
9096 "for the first named file.  This repeats for the second and subsequent files."
9097 msgstr ""
9098
9099 # type: textblock
9100 #: ../src/guestfs-actions.pod:3009
9101 msgid ""
9102 "This call is intended for programs that want to efficiently list a directory "
9103 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
9104 "a similarly efficient call for getting standard stats.  Very long directory "
9105 "listings might cause the protocol message size to be exceeded, causing this "
9106 "call to fail.  The caller must split up such requests into smaller groups of "
9107 "names."
9108 msgstr ""
9109
9110 # type: =head2
9111 #: ../src/guestfs-actions.pod:3022
9112 msgid "guestfs_mkdir"
9113 msgstr ""
9114
9115 # type: verbatim
9116 #: ../src/guestfs-actions.pod:3024
9117 #, no-wrap
9118 msgid ""
9119 " int guestfs_mkdir (guestfs_h *g,\n"
9120 "\t\tconst char *path);\n"
9121 "\n"
9122 msgstr ""
9123
9124 # type: textblock
9125 #: ../src/guestfs-actions.pod:3027 ../fish/guestfish-actions.pod:2371
9126 msgid "Create a directory named C<path>."
9127 msgstr ""
9128
9129 # type: =head2
9130 #: ../src/guestfs-actions.pod:3031
9131 msgid "guestfs_mkdir_mode"
9132 msgstr ""
9133
9134 # type: verbatim
9135 #: ../src/guestfs-actions.pod:3033
9136 #, no-wrap
9137 msgid ""
9138 " int guestfs_mkdir_mode (guestfs_h *g,\n"
9139 "\t\tconst char *path,\n"
9140 "\t\tint mode);\n"
9141 "\n"
9142 msgstr ""
9143
9144 # type: textblock
9145 #: ../src/guestfs-actions.pod:3037 ../fish/guestfish-actions.pod:2377
9146 msgid ""
9147 "This command creates a directory, setting the initial permissions of the "
9148 "directory to C<mode>."
9149 msgstr ""
9150
9151 # type: textblock
9152 #: ../src/guestfs-actions.pod:3040 ../fish/guestfish-actions.pod:2380
9153 msgid ""
9154 "For common Linux filesystems, the actual mode which is set will be C<mode & "
9155 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
9156 "other ways."
9157 msgstr ""
9158
9159 # type: textblock
9160 #: ../src/guestfs-actions.pod:3044
9161 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
9162 msgstr ""
9163
9164 # type: =head2
9165 #: ../src/guestfs-actions.pod:3048
9166 msgid "guestfs_mkdir_p"
9167 msgstr ""
9168
9169 # type: verbatim
9170 #: ../src/guestfs-actions.pod:3050
9171 #, no-wrap
9172 msgid ""
9173 " int guestfs_mkdir_p (guestfs_h *g,\n"
9174 "\t\tconst char *path);\n"
9175 "\n"
9176 msgstr ""
9177
9178 # type: textblock
9179 #: ../src/guestfs-actions.pod:3053 ../fish/guestfish-actions.pod:2390
9180 msgid ""
9181 "Create a directory named C<path>, creating any parent directories as "
9182 "necessary.  This is like the C<mkdir -p> shell command."
9183 msgstr ""
9184
9185 # type: =head2
9186 #: ../src/guestfs-actions.pod:3058
9187 msgid "guestfs_mkdtemp"
9188 msgstr ""
9189
9190 # type: verbatim
9191 #: ../src/guestfs-actions.pod:3060
9192 #, no-wrap
9193 msgid ""
9194 " char *guestfs_mkdtemp (guestfs_h *g,\n"
9195 "\t\tconst char *template);\n"
9196 "\n"
9197 msgstr ""
9198
9199 # type: textblock
9200 #: ../src/guestfs-actions.pod:3063 ../fish/guestfish-actions.pod:2397
9201 msgid ""
9202 "This command creates a temporary directory.  The C<template> parameter "
9203 "should be a full pathname for the temporary directory name with the final "
9204 "six characters being \"XXXXXX\"."
9205 msgstr ""
9206
9207 # type: textblock
9208 #: ../src/guestfs-actions.pod:3068 ../fish/guestfish-actions.pod:2402
9209 msgid ""
9210 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
9211 "being suitable for Windows filesystems."
9212 msgstr ""
9213
9214 # type: textblock
9215 #: ../src/guestfs-actions.pod:3071 ../fish/guestfish-actions.pod:2405
9216 msgid "The name of the temporary directory that was created is returned."
9217 msgstr ""
9218
9219 # type: textblock
9220 #: ../src/guestfs-actions.pod:3074 ../fish/guestfish-actions.pod:2408
9221 msgid "The temporary directory is created with mode 0700 and is owned by root."
9222 msgstr ""
9223
9224 # type: textblock
9225 #: ../src/guestfs-actions.pod:3077 ../fish/guestfish-actions.pod:2411
9226 msgid ""
9227 "The caller is responsible for deleting the temporary directory and its "
9228 "contents after use."
9229 msgstr ""
9230
9231 # type: textblock
9232 #: ../src/guestfs-actions.pod:3080 ../fish/guestfish-actions.pod:2414
9233 msgid "See also: L<mkdtemp(3)>"
9234 msgstr ""
9235
9236 # type: =head2
9237 #: ../src/guestfs-actions.pod:3085
9238 msgid "guestfs_mke2fs_J"
9239 msgstr ""
9240
9241 # type: verbatim
9242 #: ../src/guestfs-actions.pod:3087
9243 #, no-wrap
9244 msgid ""
9245 " int guestfs_mke2fs_J (guestfs_h *g,\n"
9246 "\t\tconst char *fstype,\n"
9247 "\t\tint blocksize,\n"
9248 "\t\tconst char *device,\n"
9249 "\t\tconst char *journal);\n"
9250 "\n"
9251 msgstr ""
9252
9253 # type: textblock
9254 #: ../src/guestfs-actions.pod:3093 ../fish/guestfish-actions.pod:2420
9255 msgid ""
9256 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9257 "C<journal>.  It is equivalent to the command:"
9258 msgstr ""
9259
9260 # type: verbatim
9261 #: ../src/guestfs-actions.pod:3097 ../fish/guestfish-actions.pod:2424
9262 #, no-wrap
9263 msgid ""
9264 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
9265 "\n"
9266 msgstr ""
9267
9268 # type: textblock
9269 #: ../src/guestfs-actions.pod:3099
9270 msgid "See also C<guestfs_mke2journal>."
9271 msgstr ""
9272
9273 # type: =head2
9274 #: ../src/guestfs-actions.pod:3103
9275 msgid "guestfs_mke2fs_JL"
9276 msgstr ""
9277
9278 # type: verbatim
9279 #: ../src/guestfs-actions.pod:3105
9280 #, no-wrap
9281 msgid ""
9282 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
9283 "\t\tconst char *fstype,\n"
9284 "\t\tint blocksize,\n"
9285 "\t\tconst char *device,\n"
9286 "\t\tconst char *label);\n"
9287 "\n"
9288 msgstr ""
9289
9290 # type: textblock
9291 #: ../src/guestfs-actions.pod:3111 ../fish/guestfish-actions.pod:2432
9292 msgid ""
9293 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9294 "the journal labeled C<label>."
9295 msgstr ""
9296
9297 # type: textblock
9298 #: ../src/guestfs-actions.pod:3114
9299 msgid "See also C<guestfs_mke2journal_L>."
9300 msgstr ""
9301
9302 # type: =head2
9303 #: ../src/guestfs-actions.pod:3118
9304 msgid "guestfs_mke2fs_JU"
9305 msgstr ""
9306
9307 # type: verbatim
9308 #: ../src/guestfs-actions.pod:3120
9309 #, no-wrap
9310 msgid ""
9311 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
9312 "\t\tconst char *fstype,\n"
9313 "\t\tint blocksize,\n"
9314 "\t\tconst char *device,\n"
9315 "\t\tconst char *uuid);\n"
9316 "\n"
9317 msgstr ""
9318
9319 # type: textblock
9320 #: ../src/guestfs-actions.pod:3126 ../fish/guestfish-actions.pod:2441
9321 msgid ""
9322 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9323 "the journal with UUID C<uuid>."
9324 msgstr ""
9325
9326 # type: textblock
9327 #: ../src/guestfs-actions.pod:3129
9328 msgid "See also C<guestfs_mke2journal_U>."
9329 msgstr ""
9330
9331 # type: =head2
9332 #: ../src/guestfs-actions.pod:3133
9333 msgid "guestfs_mke2journal"
9334 msgstr ""
9335
9336 # type: verbatim
9337 #: ../src/guestfs-actions.pod:3135
9338 #, no-wrap
9339 msgid ""
9340 " int guestfs_mke2journal (guestfs_h *g,\n"
9341 "\t\tint blocksize,\n"
9342 "\t\tconst char *device);\n"
9343 "\n"
9344 msgstr ""
9345
9346 # type: textblock
9347 #: ../src/guestfs-actions.pod:3139 ../fish/guestfish-actions.pod:2450
9348 msgid ""
9349 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
9350 "command:"
9351 msgstr ""
9352
9353 # type: verbatim
9354 #: ../src/guestfs-actions.pod:3142 ../fish/guestfish-actions.pod:2453
9355 #, no-wrap
9356 msgid ""
9357 " mke2fs -O journal_dev -b blocksize device\n"
9358 "\n"
9359 msgstr ""
9360
9361 # type: =head2
9362 #: ../src/guestfs-actions.pod:3146
9363 msgid "guestfs_mke2journal_L"
9364 msgstr ""
9365
9366 # type: verbatim
9367 #: ../src/guestfs-actions.pod:3148
9368 #, no-wrap
9369 msgid ""
9370 " int guestfs_mke2journal_L (guestfs_h *g,\n"
9371 "\t\tint blocksize,\n"
9372 "\t\tconst char *label,\n"
9373 "\t\tconst char *device);\n"
9374 "\n"
9375 msgstr ""
9376
9377 # type: textblock
9378 #: ../src/guestfs-actions.pod:3153 ../fish/guestfish-actions.pod:2459
9379 msgid "This creates an ext2 external journal on C<device> with label C<label>."
9380 msgstr ""
9381
9382 # type: =head2
9383 #: ../src/guestfs-actions.pod:3157
9384 msgid "guestfs_mke2journal_U"
9385 msgstr ""
9386
9387 # type: verbatim
9388 #: ../src/guestfs-actions.pod:3159
9389 #, no-wrap
9390 msgid ""
9391 " int guestfs_mke2journal_U (guestfs_h *g,\n"
9392 "\t\tint blocksize,\n"
9393 "\t\tconst char *uuid,\n"
9394 "\t\tconst char *device);\n"
9395 "\n"
9396 msgstr ""
9397
9398 # type: textblock
9399 #: ../src/guestfs-actions.pod:3164 ../fish/guestfish-actions.pod:2465
9400 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
9401 msgstr ""
9402
9403 # type: =head2
9404 #: ../src/guestfs-actions.pod:3168
9405 msgid "guestfs_mkfifo"
9406 msgstr ""
9407
9408 # type: verbatim
9409 #: ../src/guestfs-actions.pod:3170
9410 #, no-wrap
9411 msgid ""
9412 " int guestfs_mkfifo (guestfs_h *g,\n"
9413 "\t\tint mode,\n"
9414 "\t\tconst char *path);\n"
9415 "\n"
9416 msgstr ""
9417
9418 # type: textblock
9419 #: ../src/guestfs-actions.pod:3174
9420 msgid ""
9421 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
9422 "is just a convenient wrapper around C<guestfs_mknod>."
9423 msgstr ""
9424
9425 # type: =head2
9426 #: ../src/guestfs-actions.pod:3182
9427 msgid "guestfs_mkfs"
9428 msgstr ""
9429
9430 # type: verbatim
9431 #: ../src/guestfs-actions.pod:3184
9432 #, no-wrap
9433 msgid ""
9434 " int guestfs_mkfs (guestfs_h *g,\n"
9435 "\t\tconst char *fstype,\n"
9436 "\t\tconst char *device);\n"
9437 "\n"
9438 msgstr ""
9439
9440 # type: textblock
9441 #: ../src/guestfs-actions.pod:3188 ../fish/guestfish-actions.pod:2481
9442 msgid ""
9443 "This creates a filesystem on C<device> (usually a partition or LVM logical "
9444 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
9445 msgstr ""
9446
9447 # type: =head2
9448 #: ../src/guestfs-actions.pod:3194
9449 msgid "guestfs_mkfs_b"
9450 msgstr ""
9451
9452 # type: verbatim
9453 #: ../src/guestfs-actions.pod:3196
9454 #, no-wrap
9455 msgid ""
9456 " int guestfs_mkfs_b (guestfs_h *g,\n"
9457 "\t\tconst char *fstype,\n"
9458 "\t\tint blocksize,\n"
9459 "\t\tconst char *device);\n"
9460 "\n"
9461 msgstr ""
9462
9463 # type: textblock
9464 #: ../src/guestfs-actions.pod:3201
9465 msgid ""
9466 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9467 "block size of the resulting filesystem.  Supported block sizes depend on the "
9468 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9469 msgstr ""
9470
9471 # type: textblock
9472 #: ../src/guestfs-actions.pod:3206 ../fish/guestfish-actions.pod:2494
9473 msgid ""
9474 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9475 "cluster size."
9476 msgstr ""
9477
9478 # type: =head2
9479 #: ../src/guestfs-actions.pod:3211
9480 msgid "guestfs_mkmountpoint"
9481 msgstr ""
9482
9483 # type: verbatim
9484 #: ../src/guestfs-actions.pod:3213
9485 #, no-wrap
9486 msgid ""
9487 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9488 "\t\tconst char *exemptpath);\n"
9489 "\n"
9490 msgstr ""
9491
9492 # type: textblock
9493 #: ../src/guestfs-actions.pod:3216
9494 msgid ""
9495 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9496 "that can be used to create extra mountpoints before mounting the first "
9497 "filesystem."
9498 msgstr ""
9499
9500 # type: textblock
9501 #: ../src/guestfs-actions.pod:3220 ../fish/guestfish-actions.pod:2505
9502 msgid ""
9503 "These calls are I<only> necessary in some very limited circumstances, mainly "
9504 "the case where you want to mount a mix of unrelated and/or read-only "
9505 "filesystems together."
9506 msgstr ""
9507
9508 # type: textblock
9509 #: ../src/guestfs-actions.pod:3224 ../fish/guestfish-actions.pod:2509
9510 msgid ""
9511 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9512 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9513 "inside that.  You can unpack this as follows in guestfish:"
9514 msgstr ""
9515
9516 # type: verbatim
9517 #: ../src/guestfs-actions.pod:3229 ../fish/guestfish-actions.pod:2514
9518 #, no-wrap
9519 msgid ""
9520 " add-ro Fedora-11-i686-Live.iso\n"
9521 " run\n"
9522 " mkmountpoint /cd\n"
9523 " mkmountpoint /squash\n"
9524 " mkmountpoint /ext3\n"
9525 " mount /dev/sda /cd\n"
9526 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
9527 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
9528 "\n"
9529 msgstr ""
9530
9531 # type: textblock
9532 #: ../src/guestfs-actions.pod:3238 ../fish/guestfish-actions.pod:2523
9533 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
9534 msgstr ""
9535
9536 # type: =head2
9537 #: ../src/guestfs-actions.pod:3242
9538 msgid "guestfs_mknod"
9539 msgstr ""
9540
9541 # type: verbatim
9542 #: ../src/guestfs-actions.pod:3244
9543 #, no-wrap
9544 msgid ""
9545 " int guestfs_mknod (guestfs_h *g,\n"
9546 "\t\tint mode,\n"
9547 "\t\tint devmajor,\n"
9548 "\t\tint devminor,\n"
9549 "\t\tconst char *path);\n"
9550 "\n"
9551 msgstr ""
9552
9553 # type: textblock
9554 #: ../src/guestfs-actions.pod:3250 ../fish/guestfish-actions.pod:2529
9555 msgid ""
9556 "This call creates block or character special devices, or named pipes (FIFOs)."
9557 msgstr ""
9558
9559 # type: textblock
9560 #: ../src/guestfs-actions.pod:3253 ../fish/guestfish-actions.pod:2532
9561 msgid ""
9562 "The C<mode> parameter should be the mode, using the standard constants.  "
9563 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9564 "used when creating block and character special devices."
9565 msgstr ""
9566
9567 # type: textblock
9568 #: ../src/guestfs-actions.pod:3258
9569 msgid ""
9570 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9571 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9572 "regular file).  These constants are available in the standard Linux header "
9573 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9574 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9575 "the appropriate constant for you."
9576 msgstr ""
9577
9578 # type: =head2
9579 #: ../src/guestfs-actions.pod:3270
9580 msgid "guestfs_mknod_b"
9581 msgstr ""
9582
9583 # type: verbatim
9584 #: ../src/guestfs-actions.pod:3272
9585 #, no-wrap
9586 msgid ""
9587 " int guestfs_mknod_b (guestfs_h *g,\n"
9588 "\t\tint mode,\n"
9589 "\t\tint devmajor,\n"
9590 "\t\tint devminor,\n"
9591 "\t\tconst char *path);\n"
9592 "\n"
9593 msgstr ""
9594
9595 # type: textblock
9596 #: ../src/guestfs-actions.pod:3278
9597 msgid ""
9598 "This call creates a block device node called C<path> with mode C<mode> and "
9599 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9600 "wrapper around C<guestfs_mknod>."
9601 msgstr ""
9602
9603 # type: =head2
9604 #: ../src/guestfs-actions.pod:3286
9605 msgid "guestfs_mknod_c"
9606 msgstr ""
9607
9608 # type: verbatim
9609 #: ../src/guestfs-actions.pod:3288
9610 #, no-wrap
9611 msgid ""
9612 " int guestfs_mknod_c (guestfs_h *g,\n"
9613 "\t\tint mode,\n"
9614 "\t\tint devmajor,\n"
9615 "\t\tint devminor,\n"
9616 "\t\tconst char *path);\n"
9617 "\n"
9618 msgstr ""
9619
9620 # type: textblock
9621 #: ../src/guestfs-actions.pod:3294
9622 msgid ""
9623 "This call creates a char device node called C<path> with mode C<mode> and "
9624 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9625 "wrapper around C<guestfs_mknod>."
9626 msgstr ""
9627
9628 # type: =head2
9629 #: ../src/guestfs-actions.pod:3302
9630 msgid "guestfs_mkswap"
9631 msgstr ""
9632
9633 # type: verbatim
9634 #: ../src/guestfs-actions.pod:3304
9635 #, no-wrap
9636 msgid ""
9637 " int guestfs_mkswap (guestfs_h *g,\n"
9638 "\t\tconst char *device);\n"
9639 "\n"
9640 msgstr ""
9641
9642 # type: textblock
9643 #: ../src/guestfs-actions.pod:3307 ../fish/guestfish-actions.pod:2571
9644 msgid "Create a swap partition on C<device>."
9645 msgstr ""
9646
9647 # type: =head2
9648 #: ../src/guestfs-actions.pod:3311
9649 msgid "guestfs_mkswap_L"
9650 msgstr ""
9651
9652 # type: verbatim
9653 #: ../src/guestfs-actions.pod:3313
9654 #, no-wrap
9655 msgid ""
9656 " int guestfs_mkswap_L (guestfs_h *g,\n"
9657 "\t\tconst char *label,\n"
9658 "\t\tconst char *device);\n"
9659 "\n"
9660 msgstr ""
9661
9662 # type: textblock
9663 #: ../src/guestfs-actions.pod:3317 ../fish/guestfish-actions.pod:2577
9664 msgid "Create a swap partition on C<device> with label C<label>."
9665 msgstr ""
9666
9667 # type: textblock
9668 #: ../src/guestfs-actions.pod:3319 ../fish/guestfish-actions.pod:2579
9669 msgid ""
9670 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
9671 "sda>), just to a partition.  This appears to be a limitation of the kernel "
9672 "or swap tools."
9673 msgstr ""
9674
9675 # type: =head2
9676 #: ../src/guestfs-actions.pod:3325
9677 msgid "guestfs_mkswap_U"
9678 msgstr ""
9679
9680 # type: verbatim
9681 #: ../src/guestfs-actions.pod:3327
9682 #, no-wrap
9683 msgid ""
9684 " int guestfs_mkswap_U (guestfs_h *g,\n"
9685 "\t\tconst char *uuid,\n"
9686 "\t\tconst char *device);\n"
9687 "\n"
9688 msgstr ""
9689
9690 # type: textblock
9691 #: ../src/guestfs-actions.pod:3331 ../fish/guestfish-actions.pod:2587
9692 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9693 msgstr ""
9694
9695 # type: =head2
9696 #: ../src/guestfs-actions.pod:3335
9697 msgid "guestfs_mkswap_file"
9698 msgstr ""
9699
9700 # type: verbatim
9701 #: ../src/guestfs-actions.pod:3337
9702 #, no-wrap
9703 msgid ""
9704 " int guestfs_mkswap_file (guestfs_h *g,\n"
9705 "\t\tconst char *path);\n"
9706 "\n"
9707 msgstr ""
9708
9709 # type: textblock
9710 #: ../src/guestfs-actions.pod:3340 ../fish/guestfish-actions.pod:2593
9711 msgid "Create a swap file."
9712 msgstr ""
9713
9714 # type: textblock
9715 #: ../src/guestfs-actions.pod:3342
9716 msgid ""
9717 "This command just writes a swap file signature to an existing file.  To "
9718 "create the file itself, use something like C<guestfs_fallocate>."
9719 msgstr ""
9720
9721 # type: =head2
9722 #: ../src/guestfs-actions.pod:3347
9723 msgid "guestfs_modprobe"
9724 msgstr ""
9725
9726 # type: verbatim
9727 #: ../src/guestfs-actions.pod:3349
9728 #, no-wrap
9729 msgid ""
9730 " int guestfs_modprobe (guestfs_h *g,\n"
9731 "\t\tconst char *modulename);\n"
9732 "\n"
9733 msgstr ""
9734
9735 # type: textblock
9736 #: ../src/guestfs-actions.pod:3352 ../fish/guestfish-actions.pod:2602
9737 msgid "This loads a kernel module in the appliance."
9738 msgstr ""
9739
9740 # type: textblock
9741 #: ../src/guestfs-actions.pod:3354 ../fish/guestfish-actions.pod:2604
9742 msgid ""
9743 "The kernel module must have been whitelisted when libguestfs was built (see "
9744 "C<appliance/kmod.whitelist.in> in the source)."
9745 msgstr ""
9746
9747 # type: =head2
9748 #: ../src/guestfs-actions.pod:3359
9749 msgid "guestfs_mount"
9750 msgstr ""
9751
9752 # type: verbatim
9753 #: ../src/guestfs-actions.pod:3361
9754 #, no-wrap
9755 msgid ""
9756 " int guestfs_mount (guestfs_h *g,\n"
9757 "\t\tconst char *device,\n"
9758 "\t\tconst char *mountpoint);\n"
9759 "\n"
9760 msgstr ""
9761
9762 # type: textblock
9763 #: ../src/guestfs-actions.pod:3365 ../fish/guestfish-actions.pod:2611
9764 msgid ""
9765 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9766 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9767 "those block devices contain partitions, they will have the usual names (eg. "
9768 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9769 msgstr ""
9770
9771 # type: textblock
9772 #: ../src/guestfs-actions.pod:3371 ../fish/guestfish-actions.pod:2617
9773 msgid ""
9774 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9775 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9776 "mounted on directories which already exist."
9777 msgstr ""
9778
9779 # type: textblock
9780 #: ../src/guestfs-actions.pod:3376 ../fish/guestfish-actions.pod:2622
9781 msgid ""
9782 "The mounted filesystem is writable, if we have sufficient permissions on the "
9783 "underlying device."
9784 msgstr ""
9785
9786 # type: textblock
9787 #: ../src/guestfs-actions.pod:3379
9788 msgid ""
9789 "B<Important note:> When you use this call, the filesystem options C<sync> "
9790 "and C<noatime> are set implicitly.  This was originally done because we "
9791 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9792 "very large negative performance impact and negligible effect on "
9793 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9794 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9795 "(use an empty string for the first parameter if you don't want any options)."
9796 msgstr ""
9797
9798 # type: =head2
9799 #: ../src/guestfs-actions.pod:3391
9800 msgid "guestfs_mount_loop"
9801 msgstr ""
9802
9803 # type: verbatim
9804 #: ../src/guestfs-actions.pod:3393
9805 #, no-wrap
9806 msgid ""
9807 " int guestfs_mount_loop (guestfs_h *g,\n"
9808 "\t\tconst char *file,\n"
9809 "\t\tconst char *mountpoint);\n"
9810 "\n"
9811 msgstr ""
9812
9813 # type: textblock
9814 #: ../src/guestfs-actions.pod:3397 ../fish/guestfish-actions.pod:2639
9815 msgid ""
9816 "This command lets you mount C<file> (a filesystem image in a file) on a "
9817 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9818 "mountpoint>."
9819 msgstr ""
9820
9821 # type: =head2
9822 #: ../src/guestfs-actions.pod:3403
9823 msgid "guestfs_mount_options"
9824 msgstr ""
9825
9826 # type: verbatim
9827 #: ../src/guestfs-actions.pod:3405
9828 #, no-wrap
9829 msgid ""
9830 " int guestfs_mount_options (guestfs_h *g,\n"
9831 "\t\tconst char *options,\n"
9832 "\t\tconst char *device,\n"
9833 "\t\tconst char *mountpoint);\n"
9834 "\n"
9835 msgstr ""
9836
9837 # type: textblock
9838 #: ../src/guestfs-actions.pod:3410
9839 msgid ""
9840 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9841 "the mount options as for the L<mount(8)> I<-o> flag."
9842 msgstr ""
9843
9844 # type: textblock
9845 #: ../src/guestfs-actions.pod:3414 ../fish/guestfish-actions.pod:2651
9846 msgid ""
9847 "If the C<options> parameter is an empty string, then no options are passed "
9848 "(all options default to whatever the filesystem uses)."
9849 msgstr ""
9850
9851 # type: =head2
9852 #: ../src/guestfs-actions.pod:3420
9853 msgid "guestfs_mount_ro"
9854 msgstr ""
9855
9856 # type: verbatim
9857 #: ../src/guestfs-actions.pod:3422
9858 #, no-wrap
9859 msgid ""
9860 " int guestfs_mount_ro (guestfs_h *g,\n"
9861 "\t\tconst char *device,\n"
9862 "\t\tconst char *mountpoint);\n"
9863 "\n"
9864 msgstr ""
9865
9866 # type: textblock
9867 #: ../src/guestfs-actions.pod:3426
9868 msgid ""
9869 "This is the same as the C<guestfs_mount> command, but it mounts the "
9870 "filesystem with the read-only (I<-o ro>) flag."
9871 msgstr ""
9872
9873 # type: =head2
9874 #: ../src/guestfs-actions.pod:3431
9875 msgid "guestfs_mount_vfs"
9876 msgstr ""
9877
9878 # type: verbatim
9879 #: ../src/guestfs-actions.pod:3433
9880 #, no-wrap
9881 msgid ""
9882 " int guestfs_mount_vfs (guestfs_h *g,\n"
9883 "\t\tconst char *options,\n"
9884 "\t\tconst char *vfstype,\n"
9885 "\t\tconst char *device,\n"
9886 "\t\tconst char *mountpoint);\n"
9887 "\n"
9888 msgstr ""
9889
9890 # type: textblock
9891 #: ../src/guestfs-actions.pod:3439
9892 msgid ""
9893 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9894 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
9895 "t> flags."
9896 msgstr ""
9897
9898 # type: =head2
9899 #: ../src/guestfs-actions.pod:3445
9900 msgid "guestfs_mountpoints"
9901 msgstr ""
9902
9903 # type: verbatim
9904 #: ../src/guestfs-actions.pod:3447
9905 #, no-wrap
9906 msgid ""
9907 " char **guestfs_mountpoints (guestfs_h *g);\n"
9908 "\n"
9909 msgstr ""
9910
9911 # type: textblock
9912 #: ../src/guestfs-actions.pod:3449
9913 msgid ""
9914 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9915 "devices.  This one returns a hash table (map) of device name to directory "
9916 "where the device is mounted."
9917 msgstr ""
9918
9919 # type: =head2
9920 #: ../src/guestfs-actions.pod:3459
9921 msgid "guestfs_mounts"
9922 msgstr ""
9923
9924 # type: verbatim
9925 #: ../src/guestfs-actions.pod:3461
9926 #, no-wrap
9927 msgid ""
9928 " char **guestfs_mounts (guestfs_h *g);\n"
9929 "\n"
9930 msgstr ""
9931
9932 # type: textblock
9933 #: ../src/guestfs-actions.pod:3463 ../fish/guestfish-actions.pod:2682
9934 msgid ""
9935 "This returns the list of currently mounted filesystems.  It returns the list "
9936 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9937 msgstr ""
9938
9939 # type: textblock
9940 #: ../src/guestfs-actions.pod:3466 ../fish/guestfish-actions.pod:2685
9941 msgid "Some internal mounts are not shown."
9942 msgstr ""
9943
9944 # type: textblock
9945 #: ../src/guestfs-actions.pod:3468
9946 msgid "See also: C<guestfs_mountpoints>"
9947 msgstr ""
9948
9949 # type: =head2
9950 #: ../src/guestfs-actions.pod:3474
9951 msgid "guestfs_mv"
9952 msgstr ""
9953
9954 # type: verbatim
9955 #: ../src/guestfs-actions.pod:3476
9956 #, no-wrap
9957 msgid ""
9958 " int guestfs_mv (guestfs_h *g,\n"
9959 "\t\tconst char *src,\n"
9960 "\t\tconst char *dest);\n"
9961 "\n"
9962 msgstr ""
9963
9964 # type: textblock
9965 #: ../src/guestfs-actions.pod:3480 ../fish/guestfish-actions.pod:2693
9966 msgid ""
9967 "This moves a file from C<src> to C<dest> where C<dest> is either a "
9968 "destination filename or destination directory."
9969 msgstr ""
9970
9971 # type: =head2
9972 #: ../src/guestfs-actions.pod:3485
9973 msgid "guestfs_ntfs_3g_probe"
9974 msgstr ""
9975
9976 # type: verbatim
9977 #: ../src/guestfs-actions.pod:3487
9978 #, no-wrap
9979 msgid ""
9980 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
9981 "\t\tint rw,\n"
9982 "\t\tconst char *device);\n"
9983 "\n"
9984 msgstr ""
9985
9986 # type: textblock
9987 #: ../src/guestfs-actions.pod:3491 ../fish/guestfish-actions.pod:2700
9988 msgid ""
9989 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
9990 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
9991 "write, and some cannot be mounted at all)."
9992 msgstr ""
9993
9994 # type: textblock
9995 #: ../src/guestfs-actions.pod:3495 ../fish/guestfish-actions.pod:2704
9996 msgid ""
9997 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
9998 "can be mounted read-write.  Set it to false if you want to test if the "
9999 "volume can be mounted read-only."
10000 msgstr ""
10001
10002 # type: textblock
10003 #: ../src/guestfs-actions.pod:3499 ../fish/guestfish-actions.pod:2708
10004 msgid ""
10005 "The return value is an integer which C<0> if the operation would succeed, or "
10006 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
10007 msgstr ""
10008
10009 # type: =head2
10010 #: ../src/guestfs-actions.pod:3505
10011 msgid "guestfs_ntfsresize"
10012 msgstr ""
10013
10014 # type: verbatim
10015 #: ../src/guestfs-actions.pod:3507
10016 #, no-wrap
10017 msgid ""
10018 " int guestfs_ntfsresize (guestfs_h *g,\n"
10019 "\t\tconst char *device);\n"
10020 "\n"
10021 msgstr ""
10022
10023 # type: textblock
10024 #: ../src/guestfs-actions.pod:3510 ../fish/guestfish-actions.pod:2716
10025 msgid ""
10026 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
10027 "size of the underlying device.  See also L<ntfsresize(8)>."
10028 msgstr ""
10029
10030 # type: =head2
10031 #: ../src/guestfs-actions.pod:3516
10032 msgid "guestfs_ntfsresize_size"
10033 msgstr ""
10034
10035 # type: verbatim
10036 #: ../src/guestfs-actions.pod:3518
10037 #, no-wrap
10038 msgid ""
10039 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
10040 "\t\tconst char *device,\n"
10041 "\t\tint64_t size);\n"
10042 "\n"
10043 msgstr ""
10044
10045 # type: textblock
10046 #: ../src/guestfs-actions.pod:3522
10047 msgid ""
10048 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
10049 "to specify the new size (in bytes) explicitly."
10050 msgstr ""
10051
10052 # type: =head2
10053 #: ../src/guestfs-actions.pod:3527
10054 msgid "guestfs_part_add"
10055 msgstr ""
10056
10057 # type: verbatim
10058 #: ../src/guestfs-actions.pod:3529
10059 #, no-wrap
10060 msgid ""
10061 " int guestfs_part_add (guestfs_h *g,\n"
10062 "\t\tconst char *device,\n"
10063 "\t\tconst char *prlogex,\n"
10064 "\t\tint64_t startsect,\n"
10065 "\t\tint64_t endsect);\n"
10066 "\n"
10067 msgstr ""
10068
10069 # type: textblock
10070 #: ../src/guestfs-actions.pod:3535
10071 msgid ""
10072 "This command adds a partition to C<device>.  If there is no partition table "
10073 "on the device, call C<guestfs_part_init> first."
10074 msgstr ""
10075
10076 # type: textblock
10077 #: ../src/guestfs-actions.pod:3538 ../fish/guestfish-actions.pod:2734
10078 msgid ""
10079 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
10080 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
10081 "C<logical>) and C<e> (or C<extended>) partition types."
10082 msgstr ""
10083
10084 # type: textblock
10085 #: ../src/guestfs-actions.pod:3543 ../fish/guestfish-actions.pod:2739
10086 msgid ""
10087 "C<startsect> and C<endsect> are the start and end of the partition in "
10088 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
10089 "from the end of the disk (C<-1> is the last sector)."
10090 msgstr ""
10091
10092 # type: textblock
10093 #: ../src/guestfs-actions.pod:3547
10094 msgid ""
10095 "Creating a partition which covers the whole disk is not so easy.  Use "
10096 "C<guestfs_part_disk> to do that."
10097 msgstr ""
10098
10099 # type: =head2
10100 #: ../src/guestfs-actions.pod:3552
10101 msgid "guestfs_part_del"
10102 msgstr ""
10103
10104 # type: verbatim
10105 #: ../src/guestfs-actions.pod:3554
10106 #, no-wrap
10107 msgid ""
10108 " int guestfs_part_del (guestfs_h *g,\n"
10109 "\t\tconst char *device,\n"
10110 "\t\tint partnum);\n"
10111 "\n"
10112 msgstr ""
10113
10114 # type: textblock
10115 #: ../src/guestfs-actions.pod:3558 ../fish/guestfish-actions.pod:2750
10116 msgid "This command deletes the partition numbered C<partnum> on C<device>."
10117 msgstr ""
10118
10119 # type: textblock
10120 #: ../src/guestfs-actions.pod:3560 ../fish/guestfish-actions.pod:2752
10121 msgid ""
10122 "Note that in the case of MBR partitioning, deleting an extended partition "
10123 "also deletes any logical partitions it contains."
10124 msgstr ""
10125
10126 # type: =head2
10127 #: ../src/guestfs-actions.pod:3566
10128 msgid "guestfs_part_disk"
10129 msgstr ""
10130
10131 # type: verbatim
10132 #: ../src/guestfs-actions.pod:3568
10133 #, no-wrap
10134 msgid ""
10135 " int guestfs_part_disk (guestfs_h *g,\n"
10136 "\t\tconst char *device,\n"
10137 "\t\tconst char *parttype);\n"
10138 "\n"
10139 msgstr ""
10140
10141 # type: textblock
10142 #: ../src/guestfs-actions.pod:3572
10143 msgid ""
10144 "This command is simply a combination of C<guestfs_part_init> followed by "
10145 "C<guestfs_part_add> to create a single primary partition covering the whole "
10146 "disk."
10147 msgstr ""
10148
10149 # type: textblock
10150 #: ../src/guestfs-actions.pod:3576
10151 msgid ""
10152 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
10153 "possible values are described in C<guestfs_part_init>."
10154 msgstr ""
10155
10156 # type: =head2
10157 #: ../src/guestfs-actions.pod:3584
10158 msgid "guestfs_part_get_bootable"
10159 msgstr ""
10160
10161 # type: verbatim
10162 #: ../src/guestfs-actions.pod:3586
10163 #, no-wrap
10164 msgid ""
10165 " int guestfs_part_get_bootable (guestfs_h *g,\n"
10166 "\t\tconst char *device,\n"
10167 "\t\tint partnum);\n"
10168 "\n"
10169 msgstr ""
10170
10171 # type: textblock
10172 #: ../src/guestfs-actions.pod:3590 ../fish/guestfish-actions.pod:2774
10173 msgid ""
10174 "This command returns true if the partition C<partnum> on C<device> has the "
10175 "bootable flag set."
10176 msgstr ""
10177
10178 # type: textblock
10179 #: ../src/guestfs-actions.pod:3593
10180 msgid "See also C<guestfs_part_set_bootable>."
10181 msgstr ""
10182
10183 # type: =head2
10184 #: ../src/guestfs-actions.pod:3597
10185 msgid "guestfs_part_get_mbr_id"
10186 msgstr ""
10187
10188 # type: verbatim
10189 #: ../src/guestfs-actions.pod:3599
10190 #, no-wrap
10191 msgid ""
10192 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
10193 "\t\tconst char *device,\n"
10194 "\t\tint partnum);\n"
10195 "\n"
10196 msgstr ""
10197
10198 # type: textblock
10199 #: ../src/guestfs-actions.pod:3603 ../fish/guestfish-actions.pod:2783
10200 msgid ""
10201 "Returns the MBR type byte (also known as the ID byte) from the numbered "
10202 "partition C<partnum>."
10203 msgstr ""
10204
10205 # type: textblock
10206 #: ../src/guestfs-actions.pod:3606 ../src/guestfs-actions.pod:3768
10207 msgid ""
10208 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
10209 "undefined results for other partition table types (see "
10210 "C<guestfs_part_get_parttype>)."
10211 msgstr ""
10212
10213 # type: =head2
10214 #: ../src/guestfs-actions.pod:3612
10215 msgid "guestfs_part_get_parttype"
10216 msgstr ""
10217
10218 # type: verbatim
10219 #: ../src/guestfs-actions.pod:3614
10220 #, no-wrap
10221 msgid ""
10222 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
10223 "\t\tconst char *device);\n"
10224 "\n"
10225 msgstr ""
10226
10227 # type: textblock
10228 #: ../src/guestfs-actions.pod:3617 ../fish/guestfish-actions.pod:2794
10229 msgid ""
10230 "This command examines the partition table on C<device> and returns the "
10231 "partition table type (format) being used."
10232 msgstr ""
10233
10234 # type: textblock
10235 #: ../src/guestfs-actions.pod:3620
10236 msgid ""
10237 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
10238 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
10239 "possible, although unusual.  See C<guestfs_part_init> for a full list."
10240 msgstr ""
10241
10242 # type: =head2
10243 #: ../src/guestfs-actions.pod:3628
10244 msgid "guestfs_part_init"
10245 msgstr ""
10246
10247 # type: verbatim
10248 #: ../src/guestfs-actions.pod:3630
10249 #, no-wrap
10250 msgid ""
10251 " int guestfs_part_init (guestfs_h *g,\n"
10252 "\t\tconst char *device,\n"
10253 "\t\tconst char *parttype);\n"
10254 "\n"
10255 msgstr ""
10256
10257 # type: textblock
10258 #: ../src/guestfs-actions.pod:3634 ../fish/guestfish-actions.pod:2806
10259 msgid ""
10260 "This creates an empty partition table on C<device> of one of the partition "
10261 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
10262 "(for large disks)."
10263 msgstr ""
10264
10265 # type: textblock
10266 #: ../src/guestfs-actions.pod:3638
10267 msgid ""
10268 "Initially there are no partitions.  Following this, you should call "
10269 "C<guestfs_part_add> for each partition required."
10270 msgstr ""
10271
10272 # type: textblock
10273 #: ../src/guestfs-actions.pod:3641 ../fish/guestfish-actions.pod:2813
10274 msgid "Possible values for C<parttype> are:"
10275 msgstr ""
10276
10277 # type: =item
10278 #: ../src/guestfs-actions.pod:3645 ../fish/guestfish-actions.pod:2817
10279 msgid "B<efi> | B<gpt>"
10280 msgstr ""
10281
10282 # type: textblock
10283 #: ../src/guestfs-actions.pod:3647 ../fish/guestfish-actions.pod:2819
10284 msgid "Intel EFI / GPT partition table."
10285 msgstr ""
10286
10287 # type: textblock
10288 #: ../src/guestfs-actions.pod:3649 ../fish/guestfish-actions.pod:2821
10289 msgid ""
10290 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
10291 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
10292 "the C<mbr> format."
10293 msgstr ""
10294
10295 # type: =item
10296 #: ../src/guestfs-actions.pod:3653 ../fish/guestfish-actions.pod:2825
10297 msgid "B<mbr> | B<msdos>"
10298 msgstr ""
10299
10300 # type: textblock
10301 #: ../src/guestfs-actions.pod:3655 ../fish/guestfish-actions.pod:2827
10302 msgid ""
10303 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
10304 "Windows.  This partition type will B<only> work for device sizes up to 2 "
10305 "TB.  For large disks we recommend using C<gpt>."
10306 msgstr ""
10307
10308 # type: textblock
10309 #: ../src/guestfs-actions.pod:3662 ../fish/guestfish-actions.pod:2834
10310 msgid ""
10311 "Other partition table types that may work but are not supported include:"
10312 msgstr ""
10313
10314 # type: =item
10315 #: ../src/guestfs-actions.pod:3667 ../fish/guestfish-actions.pod:2839
10316 msgid "B<aix>"
10317 msgstr ""
10318
10319 # type: textblock
10320 #: ../src/guestfs-actions.pod:3669 ../fish/guestfish-actions.pod:2841
10321 msgid "AIX disk labels."
10322 msgstr ""
10323
10324 # type: =item
10325 #: ../src/guestfs-actions.pod:3671 ../fish/guestfish-actions.pod:2843
10326 msgid "B<amiga> | B<rdb>"
10327 msgstr ""
10328
10329 # type: textblock
10330 #: ../src/guestfs-actions.pod:3673 ../fish/guestfish-actions.pod:2845
10331 msgid "Amiga \"Rigid Disk Block\" format."
10332 msgstr ""
10333
10334 # type: =item
10335 #: ../src/guestfs-actions.pod:3675 ../fish/guestfish-actions.pod:2847
10336 msgid "B<bsd>"
10337 msgstr ""
10338
10339 # type: textblock
10340 #: ../src/guestfs-actions.pod:3677 ../fish/guestfish-actions.pod:2849
10341 msgid "BSD disk labels."
10342 msgstr ""
10343
10344 # type: =item
10345 #: ../src/guestfs-actions.pod:3679 ../fish/guestfish-actions.pod:2851
10346 msgid "B<dasd>"
10347 msgstr ""
10348
10349 # type: textblock
10350 #: ../src/guestfs-actions.pod:3681 ../fish/guestfish-actions.pod:2853
10351 msgid "DASD, used on IBM mainframes."
10352 msgstr ""
10353
10354 # type: =item
10355 #: ../src/guestfs-actions.pod:3683 ../fish/guestfish-actions.pod:2855
10356 msgid "B<dvh>"
10357 msgstr ""
10358
10359 # type: textblock
10360 #: ../src/guestfs-actions.pod:3685 ../fish/guestfish-actions.pod:2857
10361 msgid "MIPS/SGI volumes."
10362 msgstr ""
10363
10364 # type: =item
10365 #: ../src/guestfs-actions.pod:3687 ../fish/guestfish-actions.pod:2859
10366 msgid "B<mac>"
10367 msgstr ""
10368
10369 # type: textblock
10370 #: ../src/guestfs-actions.pod:3689 ../fish/guestfish-actions.pod:2861
10371 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
10372 msgstr ""
10373
10374 # type: =item
10375 #: ../src/guestfs-actions.pod:3691 ../fish/guestfish-actions.pod:2863
10376 msgid "B<pc98>"
10377 msgstr ""
10378
10379 # type: textblock
10380 #: ../src/guestfs-actions.pod:3693 ../fish/guestfish-actions.pod:2865
10381 msgid "NEC PC-98 format, common in Japan apparently."
10382 msgstr ""
10383
10384 # type: =item
10385 #: ../src/guestfs-actions.pod:3695 ../fish/guestfish-actions.pod:2867
10386 msgid "B<sun>"
10387 msgstr ""
10388
10389 # type: textblock
10390 #: ../src/guestfs-actions.pod:3697 ../fish/guestfish-actions.pod:2869
10391 msgid "Sun disk labels."
10392 msgstr ""
10393
10394 # type: =head2
10395 #: ../src/guestfs-actions.pod:3703
10396 msgid "guestfs_part_list"
10397 msgstr ""
10398
10399 # type: verbatim
10400 #: ../src/guestfs-actions.pod:3705
10401 #, no-wrap
10402 msgid ""
10403 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
10404 "\t\tconst char *device);\n"
10405 "\n"
10406 msgstr ""
10407
10408 # type: textblock
10409 #: ../src/guestfs-actions.pod:3708 ../fish/guestfish-actions.pod:2877
10410 msgid ""
10411 "This command parses the partition table on C<device> and returns the list of "
10412 "partitions found."
10413 msgstr ""
10414
10415 # type: textblock
10416 #: ../src/guestfs-actions.pod:3711 ../fish/guestfish-actions.pod:2880
10417 msgid "The fields in the returned structure are:"
10418 msgstr ""
10419
10420 # type: =item
10421 #: ../src/guestfs-actions.pod:3715 ../fish/guestfish-actions.pod:2884
10422 msgid "B<part_num>"
10423 msgstr ""
10424
10425 # type: textblock
10426 #: ../src/guestfs-actions.pod:3717 ../fish/guestfish-actions.pod:2886
10427 msgid "Partition number, counting from 1."
10428 msgstr ""
10429
10430 # type: =item
10431 #: ../src/guestfs-actions.pod:3719 ../fish/guestfish-actions.pod:2888
10432 msgid "B<part_start>"
10433 msgstr ""
10434
10435 # type: textblock
10436 #: ../src/guestfs-actions.pod:3721
10437 msgid ""
10438 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
10439 "the device's sector size, see C<guestfs_blockdev_getss>."
10440 msgstr ""
10441
10442 # type: =item
10443 #: ../src/guestfs-actions.pod:3724 ../fish/guestfish-actions.pod:2893
10444 msgid "B<part_end>"
10445 msgstr ""
10446
10447 # type: textblock
10448 #: ../src/guestfs-actions.pod:3726 ../fish/guestfish-actions.pod:2895
10449 msgid "End of the partition in bytes."
10450 msgstr ""
10451
10452 # type: =item
10453 #: ../src/guestfs-actions.pod:3728 ../fish/guestfish-actions.pod:2897
10454 msgid "B<part_size>"
10455 msgstr ""
10456
10457 # type: textblock
10458 #: ../src/guestfs-actions.pod:3730 ../fish/guestfish-actions.pod:2899
10459 msgid "Size of the partition in bytes."
10460 msgstr ""
10461
10462 # type: textblock
10463 #: ../src/guestfs-actions.pod:3734
10464 msgid ""
10465 "This function returns a C<struct guestfs_partition_list *> (see E<lt>guestfs-"
10466 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10467 "C<guestfs_free_partition_list> after use>."
10468 msgstr ""
10469
10470 # type: =head2
10471 #: ../src/guestfs-actions.pod:3739
10472 msgid "guestfs_part_set_bootable"
10473 msgstr ""
10474
10475 # type: verbatim
10476 #: ../src/guestfs-actions.pod:3741
10477 #, no-wrap
10478 msgid ""
10479 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10480 "\t\tconst char *device,\n"
10481 "\t\tint partnum,\n"
10482 "\t\tint bootable);\n"
10483 "\n"
10484 msgstr ""
10485
10486 # type: textblock
10487 #: ../src/guestfs-actions.pod:3746 ../fish/guestfish-actions.pod:2907
10488 msgid ""
10489 "This sets the bootable flag on partition numbered C<partnum> on device "
10490 "C<device>.  Note that partitions are numbered from 1."
10491 msgstr ""
10492
10493 # type: textblock
10494 #: ../src/guestfs-actions.pod:3749 ../fish/guestfish-actions.pod:2910
10495 msgid ""
10496 "The bootable flag is used by some operating systems (notably Windows) to "
10497 "determine which partition to boot from.  It is by no means universally "
10498 "recognized."
10499 msgstr ""
10500
10501 # type: =head2
10502 #: ../src/guestfs-actions.pod:3755
10503 msgid "guestfs_part_set_mbr_id"
10504 msgstr ""
10505
10506 # type: verbatim
10507 #: ../src/guestfs-actions.pod:3757
10508 #, no-wrap
10509 msgid ""
10510 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10511 "\t\tconst char *device,\n"
10512 "\t\tint partnum,\n"
10513 "\t\tint idbyte);\n"
10514 "\n"
10515 msgstr ""
10516
10517 # type: textblock
10518 #: ../src/guestfs-actions.pod:3762 ../fish/guestfish-actions.pod:2918
10519 msgid ""
10520 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10521 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10522 "documentation are in fact hexadecimal numbers, but usually documented "
10523 "without any leading \"0x\" which might be confusing."
10524 msgstr ""
10525
10526 # type: =head2
10527 #: ../src/guestfs-actions.pod:3774
10528 msgid "guestfs_part_set_name"
10529 msgstr ""
10530
10531 # type: verbatim
10532 #: ../src/guestfs-actions.pod:3776
10533 #, no-wrap
10534 msgid ""
10535 " int guestfs_part_set_name (guestfs_h *g,\n"
10536 "\t\tconst char *device,\n"
10537 "\t\tint partnum,\n"
10538 "\t\tconst char *name);\n"
10539 "\n"
10540 msgstr ""
10541
10542 # type: textblock
10543 #: ../src/guestfs-actions.pod:3781 ../fish/guestfish-actions.pod:2932
10544 msgid ""
10545 "This sets the partition name on partition numbered C<partnum> on device "
10546 "C<device>.  Note that partitions are numbered from 1."
10547 msgstr ""
10548
10549 # type: textblock
10550 #: ../src/guestfs-actions.pod:3784 ../fish/guestfish-actions.pod:2935
10551 msgid ""
10552 "The partition name can only be set on certain types of partition table.  "
10553 "This works on C<gpt> but not on C<mbr> partitions."
10554 msgstr ""
10555
10556 # type: =head2
10557 #: ../src/guestfs-actions.pod:3789
10558 msgid "guestfs_part_to_dev"
10559 msgstr ""
10560
10561 # type: verbatim
10562 #: ../src/guestfs-actions.pod:3791
10563 #, no-wrap
10564 msgid ""
10565 " char *guestfs_part_to_dev (guestfs_h *g,\n"
10566 "\t\tconst char *partition);\n"
10567 "\n"
10568 msgstr ""
10569
10570 # type: textblock
10571 #: ../src/guestfs-actions.pod:3794 ../fish/guestfish-actions.pod:2942
10572 msgid ""
10573 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
10574 "partition number, returning the device name (eg. \"/dev/sdb\")."
10575 msgstr ""
10576
10577 # type: textblock
10578 #: ../src/guestfs-actions.pod:3798
10579 msgid ""
10580 "The named partition must exist, for example as a string returned from "
10581 "C<guestfs_list_partitions>."
10582 msgstr ""
10583
10584 # type: =head2
10585 #: ../src/guestfs-actions.pod:3804
10586 msgid "guestfs_ping_daemon"
10587 msgstr ""
10588
10589 # type: verbatim
10590 #: ../src/guestfs-actions.pod:3806
10591 #, no-wrap
10592 msgid ""
10593 " int guestfs_ping_daemon (guestfs_h *g);\n"
10594 "\n"
10595 msgstr ""
10596
10597 # type: textblock
10598 #: ../src/guestfs-actions.pod:3808 ../fish/guestfish-actions.pod:2953
10599 msgid ""
10600 "This is a test probe into the guestfs daemon running inside the qemu "
10601 "subprocess.  Calling this function checks that the daemon responds to the "
10602 "ping message, without affecting the daemon or attached block device(s) in "
10603 "any other way."
10604 msgstr ""
10605
10606 # type: =head2
10607 #: ../src/guestfs-actions.pod:3815
10608 msgid "guestfs_pread"
10609 msgstr ""
10610
10611 # type: verbatim
10612 #: ../src/guestfs-actions.pod:3817
10613 #, no-wrap
10614 msgid ""
10615 " char *guestfs_pread (guestfs_h *g,\n"
10616 "\t\tconst char *path,\n"
10617 "\t\tint count,\n"
10618 "\t\tint64_t offset,\n"
10619 "\t\tsize_t *size_r);\n"
10620 "\n"
10621 msgstr ""
10622
10623 # type: textblock
10624 #: ../src/guestfs-actions.pod:3823 ../fish/guestfish-actions.pod:2962
10625 msgid ""
10626 "This command lets you read part of a file.  It reads C<count> bytes of the "
10627 "file, starting at C<offset>, from file C<path>."
10628 msgstr ""
10629
10630 # type: textblock
10631 #: ../src/guestfs-actions.pod:3826 ../fish/guestfish-actions.pod:2965
10632 msgid ""
10633 "This may read fewer bytes than requested.  For further details see the "
10634 "L<pread(2)> system call."
10635 msgstr ""
10636
10637 # type: textblock
10638 #: ../src/guestfs-actions.pod:3829
10639 msgid "See also C<guestfs_pwrite>."
10640 msgstr ""
10641
10642 # type: =head2
10643 #: ../src/guestfs-actions.pod:3838
10644 msgid "guestfs_pvcreate"
10645 msgstr ""
10646
10647 # type: verbatim
10648 #: ../src/guestfs-actions.pod:3840
10649 #, no-wrap
10650 msgid ""
10651 " int guestfs_pvcreate (guestfs_h *g,\n"
10652 "\t\tconst char *device);\n"
10653 "\n"
10654 msgstr ""
10655
10656 # type: textblock
10657 #: ../src/guestfs-actions.pod:3843 ../fish/guestfish-actions.pod:2977
10658 msgid ""
10659 "This creates an LVM physical volume on the named C<device>, where C<device> "
10660 "should usually be a partition name such as C</dev/sda1>."
10661 msgstr ""
10662
10663 # type: =head2
10664 #: ../src/guestfs-actions.pod:3849
10665 msgid "guestfs_pvremove"
10666 msgstr ""
10667
10668 # type: verbatim
10669 #: ../src/guestfs-actions.pod:3851
10670 #, no-wrap
10671 msgid ""
10672 " int guestfs_pvremove (guestfs_h *g,\n"
10673 "\t\tconst char *device);\n"
10674 "\n"
10675 msgstr ""
10676
10677 # type: textblock
10678 #: ../src/guestfs-actions.pod:3854 ../fish/guestfish-actions.pod:2985
10679 msgid ""
10680 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10681 "it."
10682 msgstr ""
10683
10684 # type: textblock
10685 #: ../src/guestfs-actions.pod:3857 ../fish/guestfish-actions.pod:2988
10686 msgid ""
10687 "The implementation uses the C<pvremove> command which refuses to wipe "
10688 "physical volumes that contain any volume groups, so you have to remove those "
10689 "first."
10690 msgstr ""
10691
10692 # type: =head2
10693 #: ../src/guestfs-actions.pod:3863
10694 msgid "guestfs_pvresize"
10695 msgstr ""
10696
10697 # type: verbatim
10698 #: ../src/guestfs-actions.pod:3865
10699 #, no-wrap
10700 msgid ""
10701 " int guestfs_pvresize (guestfs_h *g,\n"
10702 "\t\tconst char *device);\n"
10703 "\n"
10704 msgstr ""
10705
10706 # type: textblock
10707 #: ../src/guestfs-actions.pod:3868 ../fish/guestfish-actions.pod:2996
10708 msgid ""
10709 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10710 "the new size of the underlying device."
10711 msgstr ""
10712
10713 # type: =head2
10714 #: ../src/guestfs-actions.pod:3873
10715 msgid "guestfs_pvresize_size"
10716 msgstr ""
10717
10718 # type: verbatim
10719 #: ../src/guestfs-actions.pod:3875
10720 #, no-wrap
10721 msgid ""
10722 " int guestfs_pvresize_size (guestfs_h *g,\n"
10723 "\t\tconst char *device,\n"
10724 "\t\tint64_t size);\n"
10725 "\n"
10726 msgstr ""
10727
10728 # type: textblock
10729 #: ../src/guestfs-actions.pod:3879
10730 msgid ""
10731 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10732 "specify the new size (in bytes) explicitly."
10733 msgstr ""
10734
10735 # type: =head2
10736 #: ../src/guestfs-actions.pod:3884
10737 msgid "guestfs_pvs"
10738 msgstr ""
10739
10740 # type: verbatim
10741 #: ../src/guestfs-actions.pod:3886
10742 #, no-wrap
10743 msgid ""
10744 " char **guestfs_pvs (guestfs_h *g);\n"
10745 "\n"
10746 msgstr ""
10747
10748 # type: textblock
10749 #: ../src/guestfs-actions.pod:3888 ../fish/guestfish-actions.pod:3010
10750 msgid ""
10751 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10752 "(8)> command."
10753 msgstr ""
10754
10755 # type: textblock
10756 #: ../src/guestfs-actions.pod:3891 ../fish/guestfish-actions.pod:3013
10757 msgid ""
10758 "This returns a list of just the device names that contain PVs (eg. C</dev/"
10759 "sda2>)."
10760 msgstr ""
10761
10762 # type: textblock
10763 #: ../src/guestfs-actions.pod:3894
10764 msgid "See also C<guestfs_pvs_full>."
10765 msgstr ""
10766
10767 # type: =head2
10768 #: ../src/guestfs-actions.pod:3900
10769 msgid "guestfs_pvs_full"
10770 msgstr ""
10771
10772 # type: verbatim
10773 #: ../src/guestfs-actions.pod:3902
10774 #, no-wrap
10775 msgid ""
10776 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10777 "\n"
10778 msgstr ""
10779
10780 # type: textblock
10781 #: ../src/guestfs-actions.pod:3904 ../fish/guestfish-actions.pod:3022
10782 msgid ""
10783 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10784 "(8)> command.  The \"full\" version includes all fields."
10785 msgstr ""
10786
10787 # type: textblock
10788 #: ../src/guestfs-actions.pod:3907
10789 msgid ""
10790 "This function returns a C<struct guestfs_lvm_pv_list *> (see E<lt>guestfs-"
10791 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10792 "C<guestfs_free_lvm_pv_list> after use>."
10793 msgstr ""
10794
10795 # type: =head2
10796 #: ../src/guestfs-actions.pod:3912
10797 msgid "guestfs_pvuuid"
10798 msgstr ""
10799
10800 # type: verbatim
10801 #: ../src/guestfs-actions.pod:3914
10802 #, no-wrap
10803 msgid ""
10804 " char *guestfs_pvuuid (guestfs_h *g,\n"
10805 "\t\tconst char *device);\n"
10806 "\n"
10807 msgstr ""
10808
10809 # type: textblock
10810 #: ../src/guestfs-actions.pod:3917 ../fish/guestfish-actions.pod:3029
10811 msgid "This command returns the UUID of the LVM PV C<device>."
10812 msgstr ""
10813
10814 # type: =head2
10815 #: ../src/guestfs-actions.pod:3922
10816 msgid "guestfs_pwrite"
10817 msgstr ""
10818
10819 # type: verbatim
10820 #: ../src/guestfs-actions.pod:3924
10821 #, no-wrap
10822 msgid ""
10823 " int guestfs_pwrite (guestfs_h *g,\n"
10824 "\t\tconst char *path,\n"
10825 "\t\tconst char *content,\n"
10826 "\t\tsize_t content_size,\n"
10827 "\t\tint64_t offset);\n"
10828 "\n"
10829 msgstr ""
10830
10831 # type: textblock
10832 #: ../src/guestfs-actions.pod:3930 ../fish/guestfish-actions.pod:3035
10833 msgid ""
10834 "This command writes to part of a file.  It writes the data buffer C<content> "
10835 "to the file C<path> starting at offset C<offset>."
10836 msgstr ""
10837
10838 # type: textblock
10839 #: ../src/guestfs-actions.pod:3933 ../fish/guestfish-actions.pod:3038
10840 msgid ""
10841 "This command implements the L<pwrite(2)> system call, and like that system "
10842 "call it may not write the full data requested.  The return value is the "
10843 "number of bytes that were actually written to the file.  This could even be "
10844 "0, although short writes are unlikely for regular files in ordinary "
10845 "circumstances."
10846 msgstr ""
10847
10848 # type: textblock
10849 #: ../src/guestfs-actions.pod:3939
10850 msgid "See also C<guestfs_pread>."
10851 msgstr ""
10852
10853 # type: =head2
10854 #: ../src/guestfs-actions.pod:3946
10855 msgid "guestfs_read_file"
10856 msgstr ""
10857
10858 # type: verbatim
10859 #: ../src/guestfs-actions.pod:3948
10860 #, no-wrap
10861 msgid ""
10862 " char *guestfs_read_file (guestfs_h *g,\n"
10863 "\t\tconst char *path,\n"
10864 "\t\tsize_t *size_r);\n"
10865 "\n"
10866 msgstr ""
10867
10868 # type: textblock
10869 #: ../src/guestfs-actions.pod:3952 ../fish/guestfish-actions.pod:3053
10870 msgid "This calls returns the contents of the file C<path> as a buffer."
10871 msgstr ""
10872
10873 # type: textblock
10874 #: ../src/guestfs-actions.pod:3955
10875 msgid ""
10876 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
10877 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
10878 "function is limited in the total size of file that can be handled."
10879 msgstr ""
10880
10881 # type: =head2
10882 #: ../src/guestfs-actions.pod:3967
10883 msgid "guestfs_read_lines"
10884 msgstr ""
10885
10886 # type: verbatim
10887 #: ../src/guestfs-actions.pod:3969
10888 #, no-wrap
10889 msgid ""
10890 " char **guestfs_read_lines (guestfs_h *g,\n"
10891 "\t\tconst char *path);\n"
10892 "\n"
10893 msgstr ""
10894
10895 # type: textblock
10896 #: ../src/guestfs-actions.pod:3974 ../fish/guestfish-actions.pod:3070
10897 msgid ""
10898 "The file contents are returned as a list of lines.  Trailing C<LF> and "
10899 "C<CRLF> character sequences are I<not> returned."
10900 msgstr ""
10901
10902 # type: textblock
10903 #: ../src/guestfs-actions.pod:3977
10904 msgid ""
10905 "Note that this function cannot correctly handle binary files (specifically, "
10906 "files containing C<\\0> character which is treated as end of line).  For "
10907 "those you need to use the C<guestfs_read_file> function which has a more "
10908 "complex interface."
10909 msgstr ""
10910
10911 # type: =head2
10912 #: ../src/guestfs-actions.pod:3986
10913 msgid "guestfs_readdir"
10914 msgstr ""
10915
10916 # type: verbatim
10917 #: ../src/guestfs-actions.pod:3988
10918 #, no-wrap
10919 msgid ""
10920 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
10921 "\t\tconst char *dir);\n"
10922 "\n"
10923 msgstr ""
10924
10925 # type: textblock
10926 #: ../src/guestfs-actions.pod:3991 ../fish/guestfish-actions.pod:3082
10927 msgid "This returns the list of directory entries in directory C<dir>."
10928 msgstr ""
10929
10930 # type: textblock
10931 #: ../src/guestfs-actions.pod:3993 ../fish/guestfish-actions.pod:3084
10932 msgid ""
10933 "All entries in the directory are returned, including C<.> and C<..>.  The "
10934 "entries are I<not> sorted, but returned in the same order as the underlying "
10935 "filesystem."
10936 msgstr ""
10937
10938 # type: textblock
10939 #: ../src/guestfs-actions.pod:3997 ../fish/guestfish-actions.pod:3088
10940 msgid ""
10941 "Also this call returns basic file type information about each file.  The "
10942 "C<ftyp> field will contain one of the following characters:"
10943 msgstr ""
10944
10945 # type: =item
10946 #: ../src/guestfs-actions.pod:4002 ../fish/guestfish-actions.pod:3093
10947 msgid "'b'"
10948 msgstr ""
10949
10950 # type: textblock
10951 #: ../src/guestfs-actions.pod:4004 ../fish/guestfish-actions.pod:3095
10952 msgid "Block special"
10953 msgstr ""
10954
10955 # type: =item
10956 #: ../src/guestfs-actions.pod:4006 ../fish/guestfish-actions.pod:3097
10957 msgid "'c'"
10958 msgstr ""
10959
10960 # type: textblock
10961 #: ../src/guestfs-actions.pod:4008 ../fish/guestfish-actions.pod:3099
10962 msgid "Char special"
10963 msgstr ""
10964
10965 # type: =item
10966 #: ../src/guestfs-actions.pod:4010 ../fish/guestfish-actions.pod:3101
10967 msgid "'d'"
10968 msgstr ""
10969
10970 # type: textblock
10971 #: ../src/guestfs-actions.pod:4012 ../fish/guestfish-actions.pod:3103
10972 msgid "Directory"
10973 msgstr ""
10974
10975 # type: =item
10976 #: ../src/guestfs-actions.pod:4014 ../fish/guestfish-actions.pod:3105
10977 msgid "'f'"
10978 msgstr ""
10979
10980 # type: textblock
10981 #: ../src/guestfs-actions.pod:4016 ../fish/guestfish-actions.pod:3107
10982 msgid "FIFO (named pipe)"
10983 msgstr ""
10984
10985 # type: =item
10986 #: ../src/guestfs-actions.pod:4018 ../fish/guestfish-actions.pod:3109
10987 msgid "'l'"
10988 msgstr ""
10989
10990 # type: textblock
10991 #: ../src/guestfs-actions.pod:4020 ../fish/guestfish-actions.pod:3111
10992 msgid "Symbolic link"
10993 msgstr ""
10994
10995 # type: =item
10996 #: ../src/guestfs-actions.pod:4022 ../fish/guestfish-actions.pod:3113
10997 msgid "'r'"
10998 msgstr ""
10999
11000 # type: textblock
11001 #: ../src/guestfs-actions.pod:4024 ../fish/guestfish-actions.pod:3115
11002 msgid "Regular file"
11003 msgstr ""
11004
11005 # type: =item
11006 #: ../src/guestfs-actions.pod:4026 ../fish/guestfish-actions.pod:3117
11007 msgid "'s'"
11008 msgstr ""
11009
11010 # type: textblock
11011 #: ../src/guestfs-actions.pod:4028 ../fish/guestfish-actions.pod:3119
11012 msgid "Socket"
11013 msgstr ""
11014
11015 # type: =item
11016 #: ../src/guestfs-actions.pod:4030 ../fish/guestfish-actions.pod:3121
11017 msgid "'u'"
11018 msgstr ""
11019
11020 # type: textblock
11021 #: ../src/guestfs-actions.pod:4032 ../fish/guestfish-actions.pod:3123
11022 msgid "Unknown file type"
11023 msgstr ""
11024
11025 # type: =item
11026 #: ../src/guestfs-actions.pod:4034 ../fish/guestfish-actions.pod:3125
11027 msgid "'?'"
11028 msgstr ""
11029
11030 # type: textblock
11031 #: ../src/guestfs-actions.pod:4036 ../fish/guestfish-actions.pod:3127
11032 msgid ""
11033 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
11034 msgstr ""
11035
11036 # type: textblock
11037 #: ../src/guestfs-actions.pod:4041
11038 msgid ""
11039 "This function is primarily intended for use by programs.  To get a simple "
11040 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
11041 "consumption, use C<guestfs_ll>."
11042 msgstr ""
11043
11044 # type: textblock
11045 #: ../src/guestfs-actions.pod:4045
11046 msgid ""
11047 "This function returns a C<struct guestfs_dirent_list *> (see E<lt>guestfs-"
11048 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
11049 "C<guestfs_free_dirent_list> after use>."
11050 msgstr ""
11051
11052 # type: =head2
11053 #: ../src/guestfs-actions.pod:4050
11054 msgid "guestfs_readlink"
11055 msgstr ""
11056
11057 # type: verbatim
11058 #: ../src/guestfs-actions.pod:4052
11059 #, no-wrap
11060 msgid ""
11061 " char *guestfs_readlink (guestfs_h *g,\n"
11062 "\t\tconst char *path);\n"
11063 "\n"
11064 msgstr ""
11065
11066 # type: textblock
11067 #: ../src/guestfs-actions.pod:4055 ../fish/guestfish-actions.pod:3140
11068 msgid "This command reads the target of a symbolic link."
11069 msgstr ""
11070
11071 # type: =head2
11072 #: ../src/guestfs-actions.pod:4060
11073 msgid "guestfs_readlinklist"
11074 msgstr ""
11075
11076 # type: verbatim
11077 #: ../src/guestfs-actions.pod:4062
11078 #, no-wrap
11079 msgid ""
11080 " char **guestfs_readlinklist (guestfs_h *g,\n"
11081 "\t\tconst char *path,\n"
11082 "\t\tchar *const *names);\n"
11083 "\n"
11084 msgstr ""
11085
11086 # type: textblock
11087 #: ../src/guestfs-actions.pod:4066 ../fish/guestfish-actions.pod:3146
11088 msgid ""
11089 "This call allows you to do a C<readlink> operation on multiple files, where "
11090 "all files are in the directory C<path>.  C<names> is the list of files from "
11091 "this directory."
11092 msgstr ""
11093
11094 # type: textblock
11095 #: ../src/guestfs-actions.pod:4070 ../fish/guestfish-actions.pod:3150
11096 msgid ""
11097 "On return you get a list of strings, with a one-to-one correspondence to the "
11098 "C<names> list.  Each string is the value of the symbolic link."
11099 msgstr ""
11100
11101 # type: textblock
11102 #: ../src/guestfs-actions.pod:4074 ../fish/guestfish-actions.pod:3154
11103 msgid ""
11104 "If the C<readlink(2)> operation fails on any name, then the corresponding "
11105 "result string is the empty string C<\"\">.  However the whole operation is "
11106 "completed even if there were C<readlink(2)> errors, and so you can call this "
11107 "function with names where you don't know if they are symbolic links already "
11108 "(albeit slightly less efficient)."
11109 msgstr ""
11110
11111 # type: textblock
11112 #: ../src/guestfs-actions.pod:4081 ../fish/guestfish-actions.pod:3161
11113 msgid ""
11114 "This call is intended for programs that want to efficiently list a directory "
11115 "contents without making many round-trips.  Very long directory listings "
11116 "might cause the protocol message size to be exceeded, causing this call to "
11117 "fail.  The caller must split up such requests into smaller groups of names."
11118 msgstr ""
11119
11120 # type: =head2
11121 #: ../src/guestfs-actions.pod:4092
11122 msgid "guestfs_realpath"
11123 msgstr ""
11124
11125 # type: verbatim
11126 #: ../src/guestfs-actions.pod:4094
11127 #, no-wrap
11128 msgid ""
11129 " char *guestfs_realpath (guestfs_h *g,\n"
11130 "\t\tconst char *path);\n"
11131 "\n"
11132 msgstr ""
11133
11134 # type: textblock
11135 #: ../src/guestfs-actions.pod:4097 ../fish/guestfish-actions.pod:3172
11136 msgid ""
11137 "Return the canonicalized absolute pathname of C<path>.  The returned path "
11138 "has no C<.>, C<..> or symbolic link path elements."
11139 msgstr ""
11140
11141 # type: =head2
11142 #: ../src/guestfs-actions.pod:4103
11143 msgid "guestfs_removexattr"
11144 msgstr ""
11145
11146 # type: verbatim
11147 #: ../src/guestfs-actions.pod:4105
11148 #, no-wrap
11149 msgid ""
11150 " int guestfs_removexattr (guestfs_h *g,\n"
11151 "\t\tconst char *xattr,\n"
11152 "\t\tconst char *path);\n"
11153 "\n"
11154 msgstr ""
11155
11156 # type: textblock
11157 #: ../src/guestfs-actions.pod:4109 ../fish/guestfish-actions.pod:3179
11158 msgid ""
11159 "This call removes the extended attribute named C<xattr> of the file C<path>."
11160 msgstr ""
11161
11162 # type: textblock
11163 #: ../src/guestfs-actions.pod:4112
11164 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
11165 msgstr ""
11166
11167 # type: =head2
11168 #: ../src/guestfs-actions.pod:4116
11169 msgid "guestfs_resize2fs"
11170 msgstr ""
11171
11172 # type: verbatim
11173 #: ../src/guestfs-actions.pod:4118
11174 #, no-wrap
11175 msgid ""
11176 " int guestfs_resize2fs (guestfs_h *g,\n"
11177 "\t\tconst char *device);\n"
11178 "\n"
11179 msgstr ""
11180
11181 # type: textblock
11182 #: ../src/guestfs-actions.pod:4121 ../fish/guestfish-actions.pod:3188
11183 msgid ""
11184 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
11185 "underlying device."
11186 msgstr ""
11187
11188 # type: textblock
11189 #: ../src/guestfs-actions.pod:4124
11190 msgid ""
11191 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
11192 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
11193 "sometimes gives an error about this and sometimes not.  In any case, it is "
11194 "always safe to call C<guestfs_e2fsck_f> before calling this function."
11195 msgstr ""
11196
11197 # type: =head2
11198 #: ../src/guestfs-actions.pod:4132
11199 msgid "guestfs_resize2fs_size"
11200 msgstr ""
11201
11202 # type: verbatim
11203 #: ../src/guestfs-actions.pod:4134
11204 #, no-wrap
11205 msgid ""
11206 " int guestfs_resize2fs_size (guestfs_h *g,\n"
11207 "\t\tconst char *device,\n"
11208 "\t\tint64_t size);\n"
11209 "\n"
11210 msgstr ""
11211
11212 # type: textblock
11213 #: ../src/guestfs-actions.pod:4138
11214 msgid ""
11215 "This command is the same as C<guestfs_resize2fs> except that it allows you "
11216 "to specify the new size (in bytes) explicitly."
11217 msgstr ""
11218
11219 # type: =head2
11220 #: ../src/guestfs-actions.pod:4143
11221 msgid "guestfs_rm"
11222 msgstr ""
11223
11224 # type: verbatim
11225 #: ../src/guestfs-actions.pod:4145
11226 #, no-wrap
11227 msgid ""
11228 " int guestfs_rm (guestfs_h *g,\n"
11229 "\t\tconst char *path);\n"
11230 "\n"
11231 msgstr ""
11232
11233 # type: textblock
11234 #: ../src/guestfs-actions.pod:4148 ../fish/guestfish-actions.pod:3208
11235 msgid "Remove the single file C<path>."
11236 msgstr ""
11237
11238 # type: =head2
11239 #: ../src/guestfs-actions.pod:4152
11240 msgid "guestfs_rm_rf"
11241 msgstr ""
11242
11243 # type: verbatim
11244 #: ../src/guestfs-actions.pod:4154
11245 #, no-wrap
11246 msgid ""
11247 " int guestfs_rm_rf (guestfs_h *g,\n"
11248 "\t\tconst char *path);\n"
11249 "\n"
11250 msgstr ""
11251
11252 # type: textblock
11253 #: ../src/guestfs-actions.pod:4157 ../fish/guestfish-actions.pod:3214
11254 msgid ""
11255 "Remove the file or directory C<path>, recursively removing the contents if "
11256 "its a directory.  This is like the C<rm -rf> shell command."
11257 msgstr ""
11258
11259 # type: =head2
11260 #: ../src/guestfs-actions.pod:4163
11261 msgid "guestfs_rmdir"
11262 msgstr ""
11263
11264 # type: verbatim
11265 #: ../src/guestfs-actions.pod:4165
11266 #, no-wrap
11267 msgid ""
11268 " int guestfs_rmdir (guestfs_h *g,\n"
11269 "\t\tconst char *path);\n"
11270 "\n"
11271 msgstr ""
11272
11273 # type: textblock
11274 #: ../src/guestfs-actions.pod:4168 ../fish/guestfish-actions.pod:3222
11275 msgid "Remove the single directory C<path>."
11276 msgstr ""
11277
11278 # type: =head2
11279 #: ../src/guestfs-actions.pod:4172
11280 msgid "guestfs_rmmountpoint"
11281 msgstr ""
11282
11283 # type: verbatim
11284 #: ../src/guestfs-actions.pod:4174
11285 #, no-wrap
11286 msgid ""
11287 " int guestfs_rmmountpoint (guestfs_h *g,\n"
11288 "\t\tconst char *exemptpath);\n"
11289 "\n"
11290 msgstr ""
11291
11292 # type: textblock
11293 #: ../src/guestfs-actions.pod:4177
11294 msgid ""
11295 "This calls removes a mountpoint that was previously created with "
11296 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
11297 msgstr ""
11298
11299 # type: =head2
11300 #: ../src/guestfs-actions.pod:4183
11301 msgid "guestfs_scrub_device"
11302 msgstr ""
11303
11304 # type: verbatim
11305 #: ../src/guestfs-actions.pod:4185
11306 #, no-wrap
11307 msgid ""
11308 " int guestfs_scrub_device (guestfs_h *g,\n"
11309 "\t\tconst char *device);\n"
11310 "\n"
11311 msgstr ""
11312
11313 # type: textblock
11314 #: ../src/guestfs-actions.pod:4188 ../fish/guestfish-actions.pod:3236
11315 msgid ""
11316 "This command writes patterns over C<device> to make data retrieval more "
11317 "difficult."
11318 msgstr ""
11319
11320 # type: textblock
11321 #: ../src/guestfs-actions.pod:4191 ../src/guestfs-actions.pod:4209
11322 #: ../src/guestfs-actions.pod:4225 ../fish/guestfish-actions.pod:3239
11323 #: ../fish/guestfish-actions.pod:3254 ../fish/guestfish-actions.pod:3267
11324 msgid ""
11325 "It is an interface to the L<scrub(1)> program.  See that manual page for "
11326 "more details."
11327 msgstr ""
11328
11329 # type: =head2
11330 #: ../src/guestfs-actions.pod:4199
11331 msgid "guestfs_scrub_file"
11332 msgstr ""
11333
11334 # type: verbatim
11335 #: ../src/guestfs-actions.pod:4201
11336 #, no-wrap
11337 msgid ""
11338 " int guestfs_scrub_file (guestfs_h *g,\n"
11339 "\t\tconst char *file);\n"
11340 "\n"
11341 msgstr ""
11342
11343 # type: textblock
11344 #: ../src/guestfs-actions.pod:4204 ../fish/guestfish-actions.pod:3249
11345 msgid ""
11346 "This command writes patterns over a file to make data retrieval more "
11347 "difficult."
11348 msgstr ""
11349
11350 # type: textblock
11351 #: ../src/guestfs-actions.pod:4207 ../fish/guestfish-actions.pod:3252
11352 msgid "The file is I<removed> after scrubbing."
11353 msgstr ""
11354
11355 # type: =head2
11356 #: ../src/guestfs-actions.pod:4214
11357 msgid "guestfs_scrub_freespace"
11358 msgstr ""
11359
11360 # type: verbatim
11361 #: ../src/guestfs-actions.pod:4216
11362 #, no-wrap
11363 msgid ""
11364 " int guestfs_scrub_freespace (guestfs_h *g,\n"
11365 "\t\tconst char *dir);\n"
11366 "\n"
11367 msgstr ""
11368
11369 # type: textblock
11370 #: ../src/guestfs-actions.pod:4219
11371 msgid ""
11372 "This command creates the directory C<dir> and then fills it with files until "
11373 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
11374 "and deletes them.  The intention is to scrub any free space on the partition "
11375 "containing C<dir>."
11376 msgstr ""
11377
11378 # type: =head2
11379 #: ../src/guestfs-actions.pod:4230
11380 msgid "guestfs_set_append"
11381 msgstr ""
11382
11383 # type: verbatim
11384 #: ../src/guestfs-actions.pod:4232
11385 #, no-wrap
11386 msgid ""
11387 " int guestfs_set_append (guestfs_h *g,\n"
11388 "\t\tconst char *append);\n"
11389 "\n"
11390 msgstr ""
11391
11392 # type: textblock
11393 #: ../src/guestfs-actions.pod:4235 ../fish/guestfish-actions.pod:3276
11394 msgid ""
11395 "This function is used to add additional options to the guest kernel command "
11396 "line."
11397 msgstr ""
11398
11399 # type: textblock
11400 #: ../src/guestfs-actions.pod:4238 ../fish/guestfish-actions.pod:3279
11401 msgid ""
11402 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
11403 "environment variable."
11404 msgstr ""
11405
11406 # type: textblock
11407 #: ../src/guestfs-actions.pod:4241 ../fish/guestfish-actions.pod:3282
11408 msgid ""
11409 "Setting C<append> to C<NULL> means I<no> additional options are passed "
11410 "(libguestfs always adds a few of its own)."
11411 msgstr ""
11412
11413 # type: =head2
11414 #: ../src/guestfs-actions.pod:4246
11415 msgid "guestfs_set_autosync"
11416 msgstr ""
11417
11418 # type: verbatim
11419 #: ../src/guestfs-actions.pod:4248
11420 #, no-wrap
11421 msgid ""
11422 " int guestfs_set_autosync (guestfs_h *g,\n"
11423 "\t\tint autosync);\n"
11424 "\n"
11425 msgstr ""
11426
11427 # type: textblock
11428 #: ../src/guestfs-actions.pod:4251
11429 msgid ""
11430 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
11431 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
11432 "the handle is closed (also if the program exits without closing handles)."
11433 msgstr ""
11434
11435 # type: textblock
11436 #: ../src/guestfs-actions.pod:4256 ../fish/guestfish-actions.pod:3296
11437 msgid ""
11438 "This is disabled by default (except in guestfish where it is enabled by "
11439 "default)."
11440 msgstr ""
11441
11442 # type: =head2
11443 #: ../src/guestfs-actions.pod:4261
11444 msgid "guestfs_set_direct"
11445 msgstr ""
11446
11447 # type: verbatim
11448 #: ../src/guestfs-actions.pod:4263
11449 #, no-wrap
11450 msgid ""
11451 " int guestfs_set_direct (guestfs_h *g,\n"
11452 "\t\tint direct);\n"
11453 "\n"
11454 msgstr ""
11455
11456 # type: textblock
11457 #: ../src/guestfs-actions.pod:4266 ../fish/guestfish-actions.pod:3305
11458 msgid ""
11459 "If the direct appliance mode flag is enabled, then stdin and stdout are "
11460 "passed directly through to the appliance once it is launched."
11461 msgstr ""
11462
11463 # type: textblock
11464 #: ../src/guestfs-actions.pod:4270
11465 msgid ""
11466 "One consequence of this is that log messages aren't caught by the library "
11467 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
11468 "stdout."
11469 msgstr ""
11470
11471 # type: textblock
11472 #: ../src/guestfs-actions.pod:4274 ../fish/guestfish-actions.pod:3313
11473 msgid "You probably don't want to use this unless you know what you are doing."
11474 msgstr ""
11475
11476 # type: textblock
11477 #: ../src/guestfs-actions.pod:4277 ../fish/guestfish-actions.pod:3316
11478 msgid "The default is disabled."
11479 msgstr ""
11480
11481 # type: =head2
11482 #: ../src/guestfs-actions.pod:4281
11483 msgid "guestfs_set_e2label"
11484 msgstr ""
11485
11486 # type: verbatim
11487 #: ../src/guestfs-actions.pod:4283
11488 #, no-wrap
11489 msgid ""
11490 " int guestfs_set_e2label (guestfs_h *g,\n"
11491 "\t\tconst char *device,\n"
11492 "\t\tconst char *label);\n"
11493 "\n"
11494 msgstr ""
11495
11496 # type: textblock
11497 #: ../src/guestfs-actions.pod:4287 ../fish/guestfish-actions.pod:3322
11498 msgid ""
11499 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11500 "C<label>.  Filesystem labels are limited to 16 characters."
11501 msgstr ""
11502
11503 # type: textblock
11504 #: ../src/guestfs-actions.pod:4291
11505 msgid ""
11506 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11507 "the existing label on a filesystem."
11508 msgstr ""
11509
11510 # type: =head2
11511 #: ../src/guestfs-actions.pod:4296
11512 msgid "guestfs_set_e2uuid"
11513 msgstr ""
11514
11515 # type: verbatim
11516 #: ../src/guestfs-actions.pod:4298
11517 #, no-wrap
11518 msgid ""
11519 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11520 "\t\tconst char *device,\n"
11521 "\t\tconst char *uuid);\n"
11522 "\n"
11523 msgstr ""
11524
11525 # type: textblock
11526 #: ../src/guestfs-actions.pod:4302 ../fish/guestfish-actions.pod:3333
11527 msgid ""
11528 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11529 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11530 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11531 msgstr ""
11532
11533 # type: textblock
11534 #: ../src/guestfs-actions.pod:4307
11535 msgid ""
11536 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11537 "the existing UUID of a filesystem."
11538 msgstr ""
11539
11540 # type: =head2
11541 #: ../src/guestfs-actions.pod:4312
11542 msgid "guestfs_set_memsize"
11543 msgstr ""
11544
11545 # type: verbatim
11546 #: ../src/guestfs-actions.pod:4314
11547 #, no-wrap
11548 msgid ""
11549 " int guestfs_set_memsize (guestfs_h *g,\n"
11550 "\t\tint memsize);\n"
11551 "\n"
11552 msgstr ""
11553
11554 # type: textblock
11555 #: ../src/guestfs-actions.pod:4317
11556 msgid ""
11557 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11558 "This only has any effect if called before C<guestfs_launch>."
11559 msgstr ""
11560
11561 # type: textblock
11562 #: ../src/guestfs-actions.pod:4321 ../fish/guestfish-actions.pod:3351
11563 msgid ""
11564 "You can also change this by setting the environment variable "
11565 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11566 msgstr ""
11567
11568 # type: =head2
11569 #: ../src/guestfs-actions.pod:4330
11570 msgid "guestfs_set_network"
11571 msgstr ""
11572
11573 # type: verbatim
11574 #: ../src/guestfs-actions.pod:4332
11575 #, no-wrap
11576 msgid ""
11577 " int guestfs_set_network (guestfs_h *g,\n"
11578 "\t\tint network);\n"
11579 "\n"
11580 msgstr ""
11581
11582 # type: textblock
11583 #: ../src/guestfs-actions.pod:4335 ../fish/guestfish-actions.pod:3364
11584 msgid ""
11585 "If C<network> is true, then the network is enabled in the libguestfs "
11586 "appliance.  The default is false."
11587 msgstr ""
11588
11589 # type: textblock
11590 #: ../src/guestfs-actions.pod:4338 ../fish/guestfish-actions.pod:3367
11591 msgid ""
11592 "This affects whether commands are able to access the network (see L<guestfs"
11593 "(3)/RUNNING COMMANDS>)."
11594 msgstr ""
11595
11596 # type: textblock
11597 #: ../src/guestfs-actions.pod:4341
11598 msgid ""
11599 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11600 "effect."
11601 msgstr ""
11602
11603 # type: =head2
11604 #: ../src/guestfs-actions.pod:4346
11605 msgid "guestfs_set_path"
11606 msgstr ""
11607
11608 # type: verbatim
11609 #: ../src/guestfs-actions.pod:4348
11610 #, no-wrap
11611 msgid ""
11612 " int guestfs_set_path (guestfs_h *g,\n"
11613 "\t\tconst char *searchpath);\n"
11614 "\n"
11615 msgstr ""
11616
11617 # type: textblock
11618 #: ../src/guestfs-actions.pod:4351 ../fish/guestfish-actions.pod:3379
11619 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11620 msgstr ""
11621
11622 # type: textblock
11623 #: ../src/guestfs-actions.pod:4353 ../fish/guestfish-actions.pod:3381
11624 msgid ""
11625 "The default is C<$libdir/guestfs> unless overridden by setting "
11626 "C<LIBGUESTFS_PATH> environment variable."
11627 msgstr ""
11628
11629 # type: textblock
11630 #: ../src/guestfs-actions.pod:4356 ../fish/guestfish-actions.pod:3384
11631 msgid "Setting C<path> to C<NULL> restores the default path."
11632 msgstr ""
11633
11634 # type: =head2
11635 #: ../src/guestfs-actions.pod:4360
11636 msgid "guestfs_set_qemu"
11637 msgstr ""
11638
11639 # type: verbatim
11640 #: ../src/guestfs-actions.pod:4362
11641 #, no-wrap
11642 msgid ""
11643 " int guestfs_set_qemu (guestfs_h *g,\n"
11644 "\t\tconst char *qemu);\n"
11645 "\n"
11646 msgstr ""
11647
11648 # type: textblock
11649 #: ../src/guestfs-actions.pod:4365 ../fish/guestfish-actions.pod:3392
11650 msgid "Set the qemu binary that we will use."
11651 msgstr ""
11652
11653 # type: textblock
11654 #: ../src/guestfs-actions.pod:4367 ../fish/guestfish-actions.pod:3394
11655 msgid ""
11656 "The default is chosen when the library was compiled by the configure script."
11657 msgstr ""
11658
11659 # type: textblock
11660 #: ../src/guestfs-actions.pod:4370 ../fish/guestfish-actions.pod:3397
11661 msgid ""
11662 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11663 "variable."
11664 msgstr ""
11665
11666 # type: textblock
11667 #: ../src/guestfs-actions.pod:4373 ../fish/guestfish-actions.pod:3400
11668 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11669 msgstr ""
11670
11671 # type: textblock
11672 #: ../src/guestfs-actions.pod:4375 ../fish/guestfish-actions.pod:3402
11673 msgid ""
11674 "Note that you should call this function as early as possible after creating "
11675 "the handle.  This is because some pre-launch operations depend on testing "
11676 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11677 "don't retest features, and so you might see inconsistent results.  Using the "
11678 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11679 "the qemu binary at the same time as the handle is created."
11680 msgstr ""
11681
11682 # type: =head2
11683 #: ../src/guestfs-actions.pod:4385
11684 msgid "guestfs_set_recovery_proc"
11685 msgstr ""
11686
11687 # type: verbatim
11688 #: ../src/guestfs-actions.pod:4387
11689 #, no-wrap
11690 msgid ""
11691 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11692 "\t\tint recoveryproc);\n"
11693 "\n"
11694 msgstr ""
11695
11696 # type: textblock
11697 #: ../src/guestfs-actions.pod:4390
11698 msgid ""
11699 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11700 "not create a recovery process.  The purpose of the recovery process is to "
11701 "stop runaway qemu processes in the case where the main program aborts "
11702 "abruptly."
11703 msgstr ""
11704
11705 # type: textblock
11706 #: ../src/guestfs-actions.pod:4395
11707 msgid ""
11708 "This only has any effect if called before C<guestfs_launch>, and the default "
11709 "is true."
11710 msgstr ""
11711
11712 # type: textblock
11713 #: ../src/guestfs-actions.pod:4398 ../fish/guestfish-actions.pod:3424
11714 msgid ""
11715 "About the only time when you would want to disable this is if the main "
11716 "process will fork itself into the background (\"daemonize\" itself).  In "
11717 "this case the recovery process thinks that the main program has disappeared "
11718 "and so kills qemu, which is not very helpful."
11719 msgstr ""
11720
11721 # type: =head2
11722 #: ../src/guestfs-actions.pod:4406
11723 msgid "guestfs_set_selinux"
11724 msgstr ""
11725
11726 # type: verbatim
11727 #: ../src/guestfs-actions.pod:4408
11728 #, no-wrap
11729 msgid ""
11730 " int guestfs_set_selinux (guestfs_h *g,\n"
11731 "\t\tint selinux);\n"
11732 "\n"
11733 msgstr ""
11734
11735 # type: textblock
11736 #: ../src/guestfs-actions.pod:4411 ../fish/guestfish-actions.pod:3436
11737 msgid ""
11738 "This sets the selinux flag that is passed to the appliance at boot time.  "
11739 "The default is C<selinux=0> (disabled)."
11740 msgstr ""
11741
11742 # type: textblock
11743 #: ../src/guestfs-actions.pod:4414 ../fish/guestfish-actions.pod:3439
11744 msgid ""
11745 "Note that if SELinux is enabled, it is always in Permissive mode "
11746 "(C<enforcing=0>)."
11747 msgstr ""
11748
11749 # type: =head2
11750 #: ../src/guestfs-actions.pod:4422
11751 msgid "guestfs_set_trace"
11752 msgstr ""
11753
11754 # type: verbatim
11755 #: ../src/guestfs-actions.pod:4424
11756 #, no-wrap
11757 msgid ""
11758 " int guestfs_set_trace (guestfs_h *g,\n"
11759 "\t\tint trace);\n"
11760 "\n"
11761 msgstr ""
11762
11763 # type: textblock
11764 #: ../src/guestfs-actions.pod:4427 ../fish/guestfish-actions.pod:3451
11765 msgid ""
11766 "If the command trace flag is set to 1, then commands are printed on stderr "
11767 "before they are executed in a format which is very similar to the one used "
11768 "by guestfish.  In other words, you can run a program with this enabled, and "
11769 "you will get out a script which you can feed to guestfish to perform the "
11770 "same set of actions."
11771 msgstr ""
11772
11773 # type: textblock
11774 #: ../src/guestfs-actions.pod:4434 ../fish/guestfish-actions.pod:3458
11775 msgid ""
11776 "If you want to trace C API calls into libguestfs (and other libraries) then "
11777 "possibly a better way is to use the external ltrace(1) command."
11778 msgstr ""
11779
11780 # type: textblock
11781 #: ../src/guestfs-actions.pod:4438 ../fish/guestfish-actions.pod:3462
11782 msgid ""
11783 "Command traces are disabled unless the environment variable "
11784 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11785 msgstr ""
11786
11787 # type: =head2
11788 #: ../src/guestfs-actions.pod:4443
11789 msgid "guestfs_set_verbose"
11790 msgstr ""
11791
11792 # type: verbatim
11793 #: ../src/guestfs-actions.pod:4445
11794 #, no-wrap
11795 msgid ""
11796 " int guestfs_set_verbose (guestfs_h *g,\n"
11797 "\t\tint verbose);\n"
11798 "\n"
11799 msgstr ""
11800
11801 # type: textblock
11802 #: ../src/guestfs-actions.pod:4448 ../fish/guestfish-actions.pod:3471
11803 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11804 msgstr ""
11805
11806 # type: textblock
11807 #: ../src/guestfs-actions.pod:4450 ../fish/guestfish-actions.pod:3473
11808 msgid ""
11809 "Verbose messages are disabled unless the environment variable "
11810 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11811 msgstr ""
11812
11813 # type: =head2
11814 #: ../src/guestfs-actions.pod:4455
11815 msgid "guestfs_setcon"
11816 msgstr ""
11817
11818 # type: verbatim
11819 #: ../src/guestfs-actions.pod:4457
11820 #, no-wrap
11821 msgid ""
11822 " int guestfs_setcon (guestfs_h *g,\n"
11823 "\t\tconst char *context);\n"
11824 "\n"
11825 msgstr ""
11826
11827 # type: textblock
11828 #: ../src/guestfs-actions.pod:4460 ../fish/guestfish-actions.pod:3480
11829 msgid ""
11830 "This sets the SELinux security context of the daemon to the string "
11831 "C<context>."
11832 msgstr ""
11833
11834 # type: textblock
11835 #: ../src/guestfs-actions.pod:4463 ../fish/guestfish-actions.pod:3483
11836 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11837 msgstr ""
11838
11839 # type: =head2
11840 #: ../src/guestfs-actions.pod:4467
11841 msgid "guestfs_setxattr"
11842 msgstr ""
11843
11844 # type: verbatim
11845 #: ../src/guestfs-actions.pod:4469
11846 #, no-wrap
11847 msgid ""
11848 " int guestfs_setxattr (guestfs_h *g,\n"
11849 "\t\tconst char *xattr,\n"
11850 "\t\tconst char *val,\n"
11851 "\t\tint vallen,\n"
11852 "\t\tconst char *path);\n"
11853 "\n"
11854 msgstr ""
11855
11856 # type: textblock
11857 #: ../src/guestfs-actions.pod:4475 ../fish/guestfish-actions.pod:3489
11858 msgid ""
11859 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11860 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11861 msgstr ""
11862
11863 # type: textblock
11864 #: ../src/guestfs-actions.pod:4479
11865 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11866 msgstr ""
11867
11868 # type: =head2
11869 #: ../src/guestfs-actions.pod:4483
11870 msgid "guestfs_sfdisk"
11871 msgstr ""
11872
11873 # type: verbatim
11874 #: ../src/guestfs-actions.pod:4485
11875 #, no-wrap
11876 msgid ""
11877 " int guestfs_sfdisk (guestfs_h *g,\n"
11878 "\t\tconst char *device,\n"
11879 "\t\tint cyls,\n"
11880 "\t\tint heads,\n"
11881 "\t\tint sectors,\n"
11882 "\t\tchar *const *lines);\n"
11883 "\n"
11884 msgstr ""
11885
11886 # type: textblock
11887 #: ../src/guestfs-actions.pod:4492 ../fish/guestfish-actions.pod:3499
11888 msgid ""
11889 "This is a direct interface to the L<sfdisk(8)> program for creating "
11890 "partitions on block devices."
11891 msgstr ""
11892
11893 # type: textblock
11894 #: ../src/guestfs-actions.pod:4495 ../fish/guestfish-actions.pod:3502
11895 msgid "C<device> should be a block device, for example C</dev/sda>."
11896 msgstr ""
11897
11898 # type: textblock
11899 #: ../src/guestfs-actions.pod:4497 ../fish/guestfish-actions.pod:3504
11900 msgid ""
11901 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
11902 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
11903 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
11904 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
11905 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
11906 "the kernel) cannot work out the right geometry and you will need to tell it."
11907 msgstr ""
11908
11909 # type: textblock
11910 #: ../src/guestfs-actions.pod:4505 ../fish/guestfish-actions.pod:3512
11911 msgid ""
11912 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
11913 "refer to the L<sfdisk(8)> manpage."
11914 msgstr ""
11915
11916 # type: textblock
11917 #: ../src/guestfs-actions.pod:4508 ../fish/guestfish-actions.pod:3515
11918 msgid ""
11919 "To create a single partition occupying the whole disk, you would pass "
11920 "C<lines> as a single element list, when the single element being the string "
11921 "C<,> (comma)."
11922 msgstr ""
11923
11924 # type: textblock
11925 #: ../src/guestfs-actions.pod:4512
11926 msgid ""
11927 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
11928 msgstr ""
11929
11930 # type: =head2
11931 #: ../src/guestfs-actions.pod:4520
11932 msgid "guestfs_sfdiskM"
11933 msgstr ""
11934
11935 # type: verbatim
11936 #: ../src/guestfs-actions.pod:4522
11937 #, no-wrap
11938 msgid ""
11939 " int guestfs_sfdiskM (guestfs_h *g,\n"
11940 "\t\tconst char *device,\n"
11941 "\t\tchar *const *lines);\n"
11942 "\n"
11943 msgstr ""
11944
11945 # type: textblock
11946 #: ../src/guestfs-actions.pod:4526
11947 msgid ""
11948 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
11949 "partition sizes are specified in megabytes only (rounded to the nearest "
11950 "cylinder) and you don't need to specify the cyls, heads and sectors "
11951 "parameters which were rarely if ever used anyway."
11952 msgstr ""
11953
11954 # type: textblock
11955 #: ../src/guestfs-actions.pod:4532
11956 msgid ""
11957 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
11958 "C<guestfs_part_disk>"
11959 msgstr ""
11960
11961 # type: =head2
11962 #: ../src/guestfs-actions.pod:4540
11963 msgid "guestfs_sfdisk_N"
11964 msgstr ""
11965
11966 # type: verbatim
11967 #: ../src/guestfs-actions.pod:4542
11968 #, no-wrap
11969 msgid ""
11970 " int guestfs_sfdisk_N (guestfs_h *g,\n"
11971 "\t\tconst char *device,\n"
11972 "\t\tint partnum,\n"
11973 "\t\tint cyls,\n"
11974 "\t\tint heads,\n"
11975 "\t\tint sectors,\n"
11976 "\t\tconst char *line);\n"
11977 "\n"
11978 msgstr ""
11979
11980 # type: textblock
11981 #: ../src/guestfs-actions.pod:4550 ../fish/guestfish-actions.pod:3545
11982 msgid ""
11983 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
11984 "(note: C<n> counts from 1)."
11985 msgstr ""
11986
11987 # type: textblock
11988 #: ../src/guestfs-actions.pod:4553
11989 msgid ""
11990 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
11991 "for the cyls/heads/sectors parameters."
11992 msgstr ""
11993
11994 # type: textblock
11995 #: ../src/guestfs-actions.pod:4556
11996 msgid "See also: C<guestfs_part_add>"
11997 msgstr ""
11998
11999 # type: =head2
12000 #: ../src/guestfs-actions.pod:4563
12001 msgid "guestfs_sfdisk_disk_geometry"
12002 msgstr ""
12003
12004 # type: verbatim
12005 #: ../src/guestfs-actions.pod:4565
12006 #, no-wrap
12007 msgid ""
12008 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
12009 "\t\tconst char *device);\n"
12010 "\n"
12011 msgstr ""
12012
12013 # type: textblock
12014 #: ../src/guestfs-actions.pod:4568
12015 msgid ""
12016 "This displays the disk geometry of C<device> read from the partition table.  "
12017 "Especially in the case where the underlying block device has been resized, "
12018 "this can be different from the kernel's idea of the geometry (see "
12019 "C<guestfs_sfdisk_kernel_geometry>)."
12020 msgstr ""
12021
12022 # type: textblock
12023 #: ../src/guestfs-actions.pod:4573 ../src/guestfs-actions.pod:4586
12024 #: ../fish/guestfish-actions.pod:3565 ../fish/guestfish-actions.pod:3574
12025 msgid "The result is in human-readable format, and not designed to be parsed."
12026 msgstr ""
12027
12028 # type: =head2
12029 #: ../src/guestfs-actions.pod:4579
12030 msgid "guestfs_sfdisk_kernel_geometry"
12031 msgstr ""
12032
12033 # type: verbatim
12034 #: ../src/guestfs-actions.pod:4581
12035 #, no-wrap
12036 msgid ""
12037 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
12038 "\t\tconst char *device);\n"
12039 "\n"
12040 msgstr ""
12041
12042 # type: textblock
12043 #: ../src/guestfs-actions.pod:4584 ../fish/guestfish-actions.pod:3572
12044 msgid "This displays the kernel's idea of the geometry of C<device>."
12045 msgstr ""
12046
12047 # type: =head2
12048 #: ../src/guestfs-actions.pod:4592
12049 msgid "guestfs_sfdisk_l"
12050 msgstr ""
12051
12052 # type: verbatim
12053 #: ../src/guestfs-actions.pod:4594
12054 #, no-wrap
12055 msgid ""
12056 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
12057 "\t\tconst char *device);\n"
12058 "\n"
12059 msgstr ""
12060
12061 # type: textblock
12062 #: ../src/guestfs-actions.pod:4597 ../fish/guestfish-actions.pod:3581
12063 msgid ""
12064 "This displays the partition table on C<device>, in the human-readable output "
12065 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
12066 msgstr ""
12067
12068 # type: textblock
12069 #: ../src/guestfs-actions.pod:4601
12070 msgid "See also: C<guestfs_part_list>"
12071 msgstr ""
12072
12073 # type: =head2
12074 #: ../src/guestfs-actions.pod:4606
12075 msgid "guestfs_sh"
12076 msgstr ""
12077
12078 # type: verbatim
12079 #: ../src/guestfs-actions.pod:4608
12080 #, no-wrap
12081 msgid ""
12082 " char *guestfs_sh (guestfs_h *g,\n"
12083 "\t\tconst char *command);\n"
12084 "\n"
12085 msgstr ""
12086
12087 # type: textblock
12088 #: ../src/guestfs-actions.pod:4611 ../fish/guestfish-actions.pod:3591
12089 msgid ""
12090 "This call runs a command from the guest filesystem via the guest's C</bin/"
12091 "sh>."
12092 msgstr ""
12093
12094 # type: textblock
12095 #: ../src/guestfs-actions.pod:4614
12096 msgid "This is like C<guestfs_command>, but passes the command to:"
12097 msgstr ""
12098
12099 # type: verbatim
12100 #: ../src/guestfs-actions.pod:4616 ../fish/guestfish-actions.pod:3596
12101 #, no-wrap
12102 msgid ""
12103 " /bin/sh -c \"command\"\n"
12104 "\n"
12105 msgstr ""
12106
12107 # type: textblock
12108 #: ../src/guestfs-actions.pod:4618 ../fish/guestfish-actions.pod:3598
12109 msgid ""
12110 "Depending on the guest's shell, this usually results in wildcards being "
12111 "expanded, shell expressions being interpolated and so on."
12112 msgstr ""
12113
12114 # type: textblock
12115 #: ../src/guestfs-actions.pod:4622
12116 msgid "All the provisos about C<guestfs_command> apply to this call."
12117 msgstr ""
12118
12119 # type: =head2
12120 #: ../src/guestfs-actions.pod:4627
12121 msgid "guestfs_sh_lines"
12122 msgstr ""
12123
12124 # type: verbatim
12125 #: ../src/guestfs-actions.pod:4629
12126 #, no-wrap
12127 msgid ""
12128 " char **guestfs_sh_lines (guestfs_h *g,\n"
12129 "\t\tconst char *command);\n"
12130 "\n"
12131 msgstr ""
12132
12133 # type: textblock
12134 #: ../src/guestfs-actions.pod:4632
12135 msgid ""
12136 "This is the same as C<guestfs_sh>, but splits the result into a list of "
12137 "lines."
12138 msgstr ""
12139
12140 # type: textblock
12141 #: ../src/guestfs-actions.pod:4635
12142 msgid "See also: C<guestfs_command_lines>"
12143 msgstr ""
12144
12145 # type: =head2
12146 #: ../src/guestfs-actions.pod:4641
12147 msgid "guestfs_sleep"
12148 msgstr ""
12149
12150 # type: verbatim
12151 #: ../src/guestfs-actions.pod:4643
12152 #, no-wrap
12153 msgid ""
12154 " int guestfs_sleep (guestfs_h *g,\n"
12155 "\t\tint secs);\n"
12156 "\n"
12157 msgstr ""
12158
12159 # type: textblock
12160 #: ../src/guestfs-actions.pod:4646 ../fish/guestfish-actions.pod:3617
12161 msgid "Sleep for C<secs> seconds."
12162 msgstr ""
12163
12164 # type: =head2
12165 #: ../src/guestfs-actions.pod:4650 ../src/guestfs-structs.pod:109
12166 msgid "guestfs_stat"
12167 msgstr ""
12168
12169 # type: verbatim
12170 #: ../src/guestfs-actions.pod:4652
12171 #, no-wrap
12172 msgid ""
12173 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
12174 "\t\tconst char *path);\n"
12175 "\n"
12176 msgstr ""
12177
12178 # type: textblock
12179 #: ../src/guestfs-actions.pod:4657 ../fish/guestfish-actions.pod:3625
12180 msgid "This is the same as the C<stat(2)> system call."
12181 msgstr ""
12182
12183 # type: =head2
12184 #: ../src/guestfs-actions.pod:4663 ../src/guestfs-structs.pod:135
12185 msgid "guestfs_statvfs"
12186 msgstr ""
12187
12188 # type: verbatim
12189 #: ../src/guestfs-actions.pod:4665
12190 #, no-wrap
12191 msgid ""
12192 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
12193 "\t\tconst char *path);\n"
12194 "\n"
12195 msgstr ""
12196
12197 # type: textblock
12198 #: ../src/guestfs-actions.pod:4668 ../fish/guestfish-actions.pod:3631
12199 msgid ""
12200 "Returns file system statistics for any mounted file system.  C<path> should "
12201 "be a file or directory in the mounted file system (typically it is the mount "
12202 "point itself, but it doesn't need to be)."
12203 msgstr ""
12204
12205 # type: textblock
12206 #: ../src/guestfs-actions.pod:4672 ../fish/guestfish-actions.pod:3635
12207 msgid "This is the same as the C<statvfs(2)> system call."
12208 msgstr ""
12209
12210 # type: textblock
12211 #: ../src/guestfs-actions.pod:4674
12212 msgid ""
12213 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
12214 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
12215 msgstr ""
12216
12217 # type: =head2
12218 #: ../src/guestfs-actions.pod:4678
12219 msgid "guestfs_strings"
12220 msgstr ""
12221
12222 # type: verbatim
12223 #: ../src/guestfs-actions.pod:4680
12224 #, no-wrap
12225 msgid ""
12226 " char **guestfs_strings (guestfs_h *g,\n"
12227 "\t\tconst char *path);\n"
12228 "\n"
12229 msgstr ""
12230
12231 # type: textblock
12232 #: ../src/guestfs-actions.pod:4683 ../fish/guestfish-actions.pod:3641
12233 msgid ""
12234 "This runs the L<strings(1)> command on a file and returns the list of "
12235 "printable strings found."
12236 msgstr ""
12237
12238 # type: =head2
12239 #: ../src/guestfs-actions.pod:4693
12240 msgid "guestfs_strings_e"
12241 msgstr ""
12242
12243 # type: verbatim
12244 #: ../src/guestfs-actions.pod:4695
12245 #, no-wrap
12246 msgid ""
12247 " char **guestfs_strings_e (guestfs_h *g,\n"
12248 "\t\tconst char *encoding,\n"
12249 "\t\tconst char *path);\n"
12250 "\n"
12251 msgstr ""
12252
12253 # type: textblock
12254 #: ../src/guestfs-actions.pod:4699
12255 msgid ""
12256 "This is like the C<guestfs_strings> command, but allows you to specify the "
12257 "encoding of strings that are looked for in the source file C<path>."
12258 msgstr ""
12259
12260 # type: textblock
12261 #: ../src/guestfs-actions.pod:4703 ../fish/guestfish-actions.pod:3655
12262 msgid "Allowed encodings are:"
12263 msgstr ""
12264
12265 # type: =item
12266 #: ../src/guestfs-actions.pod:4707 ../fish/guestfish-actions.pod:3659
12267 msgid "s"
12268 msgstr ""
12269
12270 # type: textblock
12271 #: ../src/guestfs-actions.pod:4709
12272 msgid ""
12273 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
12274 "ISO-8859-X (this is what C<guestfs_strings> uses)."
12275 msgstr ""
12276
12277 # type: =item
12278 #: ../src/guestfs-actions.pod:4712 ../fish/guestfish-actions.pod:3664
12279 msgid "S"
12280 msgstr ""
12281
12282 # type: textblock
12283 #: ../src/guestfs-actions.pod:4714 ../fish/guestfish-actions.pod:3666
12284 msgid "Single 8-bit-byte characters."
12285 msgstr ""
12286
12287 # type: =item
12288 #: ../src/guestfs-actions.pod:4716 ../fish/guestfish-actions.pod:3668
12289 msgid "b"
12290 msgstr ""
12291
12292 # type: textblock
12293 #: ../src/guestfs-actions.pod:4718 ../fish/guestfish-actions.pod:3670
12294 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
12295 msgstr ""
12296
12297 # type: =item
12298 #: ../src/guestfs-actions.pod:4721 ../fish/guestfish-actions.pod:3673
12299 msgid "l (lower case letter L)"
12300 msgstr ""
12301
12302 # type: textblock
12303 #: ../src/guestfs-actions.pod:4723 ../fish/guestfish-actions.pod:3675
12304 msgid ""
12305 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
12306 "examining binaries in Windows guests."
12307 msgstr ""
12308
12309 # type: =item
12310 #: ../src/guestfs-actions.pod:4726 ../fish/guestfish-actions.pod:3678
12311 msgid "B"
12312 msgstr ""
12313
12314 # type: textblock
12315 #: ../src/guestfs-actions.pod:4728 ../fish/guestfish-actions.pod:3680
12316 msgid "32-bit big endian such as UCS-4BE."
12317 msgstr ""
12318
12319 # type: =item
12320 #: ../src/guestfs-actions.pod:4730 ../fish/guestfish-actions.pod:3682
12321 msgid "L"
12322 msgstr ""
12323
12324 # type: textblock
12325 #: ../src/guestfs-actions.pod:4732 ../fish/guestfish-actions.pod:3684
12326 msgid "32-bit little endian such as UCS-4LE."
12327 msgstr ""
12328
12329 # type: textblock
12330 #: ../src/guestfs-actions.pod:4736 ../fish/guestfish-actions.pod:3688
12331 msgid "The returned strings are transcoded to UTF-8."
12332 msgstr ""
12333
12334 # type: =head2
12335 #: ../src/guestfs-actions.pod:4745
12336 msgid "guestfs_swapoff_device"
12337 msgstr ""
12338
12339 # type: verbatim
12340 #: ../src/guestfs-actions.pod:4747
12341 #, no-wrap
12342 msgid ""
12343 " int guestfs_swapoff_device (guestfs_h *g,\n"
12344 "\t\tconst char *device);\n"
12345 "\n"
12346 msgstr ""
12347
12348 # type: textblock
12349 #: ../src/guestfs-actions.pod:4750
12350 msgid ""
12351 "This command disables the libguestfs appliance swap device or partition "
12352 "named C<device>.  See C<guestfs_swapon_device>."
12353 msgstr ""
12354
12355 # type: =head2
12356 #: ../src/guestfs-actions.pod:4756
12357 msgid "guestfs_swapoff_file"
12358 msgstr ""
12359
12360 # type: verbatim
12361 #: ../src/guestfs-actions.pod:4758
12362 #, no-wrap
12363 msgid ""
12364 " int guestfs_swapoff_file (guestfs_h *g,\n"
12365 "\t\tconst char *file);\n"
12366 "\n"
12367 msgstr ""
12368
12369 # type: textblock
12370 #: ../src/guestfs-actions.pod:4761 ../fish/guestfish-actions.pod:3705
12371 msgid "This command disables the libguestfs appliance swap on file."
12372 msgstr ""
12373
12374 # type: =head2
12375 #: ../src/guestfs-actions.pod:4765
12376 msgid "guestfs_swapoff_label"
12377 msgstr ""
12378
12379 # type: verbatim
12380 #: ../src/guestfs-actions.pod:4767
12381 #, no-wrap
12382 msgid ""
12383 " int guestfs_swapoff_label (guestfs_h *g,\n"
12384 "\t\tconst char *label);\n"
12385 "\n"
12386 msgstr ""
12387
12388 # type: textblock
12389 #: ../src/guestfs-actions.pod:4770 ../fish/guestfish-actions.pod:3711
12390 msgid ""
12391 "This command disables the libguestfs appliance swap on labeled swap "
12392 "partition."
12393 msgstr ""
12394
12395 # type: =head2
12396 #: ../src/guestfs-actions.pod:4775
12397 msgid "guestfs_swapoff_uuid"
12398 msgstr ""
12399
12400 # type: verbatim
12401 #: ../src/guestfs-actions.pod:4777
12402 #, no-wrap
12403 msgid ""
12404 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
12405 "\t\tconst char *uuid);\n"
12406 "\n"
12407 msgstr ""
12408
12409 # type: textblock
12410 #: ../src/guestfs-actions.pod:4780 ../fish/guestfish-actions.pod:3718
12411 msgid ""
12412 "This command disables the libguestfs appliance swap partition with the given "
12413 "UUID."
12414 msgstr ""
12415
12416 # type: =head2
12417 #: ../src/guestfs-actions.pod:4785
12418 msgid "guestfs_swapon_device"
12419 msgstr ""
12420
12421 # type: verbatim
12422 #: ../src/guestfs-actions.pod:4787
12423 #, no-wrap
12424 msgid ""
12425 " int guestfs_swapon_device (guestfs_h *g,\n"
12426 "\t\tconst char *device);\n"
12427 "\n"
12428 msgstr ""
12429
12430 # type: textblock
12431 #: ../src/guestfs-actions.pod:4790
12432 msgid ""
12433 "This command enables the libguestfs appliance to use the swap device or "
12434 "partition named C<device>.  The increased memory is made available for all "
12435 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
12436 msgstr ""
12437
12438 # type: textblock
12439 #: ../src/guestfs-actions.pod:4795 ../fish/guestfish-actions.pod:3730
12440 msgid ""
12441 "Note that you should not swap to existing guest swap partitions unless you "
12442 "know what you are doing.  They may contain hibernation information, or other "
12443 "information that the guest doesn't want you to trash.  You also risk leaking "
12444 "information about the host to the guest this way.  Instead, attach a new "
12445 "host device to the guest and swap on that."
12446 msgstr ""
12447
12448 # type: =head2
12449 #: ../src/guestfs-actions.pod:4804
12450 msgid "guestfs_swapon_file"
12451 msgstr ""
12452
12453 # type: verbatim
12454 #: ../src/guestfs-actions.pod:4806
12455 #, no-wrap
12456 msgid ""
12457 " int guestfs_swapon_file (guestfs_h *g,\n"
12458 "\t\tconst char *file);\n"
12459 "\n"
12460 msgstr ""
12461
12462 # type: textblock
12463 #: ../src/guestfs-actions.pod:4809
12464 msgid ""
12465 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
12466 "notes."
12467 msgstr ""
12468
12469 # type: =head2
12470 #: ../src/guestfs-actions.pod:4814
12471 msgid "guestfs_swapon_label"
12472 msgstr ""
12473
12474 # type: verbatim
12475 #: ../src/guestfs-actions.pod:4816
12476 #, no-wrap
12477 msgid ""
12478 " int guestfs_swapon_label (guestfs_h *g,\n"
12479 "\t\tconst char *label);\n"
12480 "\n"
12481 msgstr ""
12482
12483 # type: textblock
12484 #: ../src/guestfs-actions.pod:4819
12485 msgid ""
12486 "This command enables swap to a labeled swap partition.  See "
12487 "C<guestfs_swapon_device> for other notes."
12488 msgstr ""
12489
12490 # type: =head2
12491 #: ../src/guestfs-actions.pod:4824
12492 msgid "guestfs_swapon_uuid"
12493 msgstr ""
12494
12495 # type: verbatim
12496 #: ../src/guestfs-actions.pod:4826
12497 #, no-wrap
12498 msgid ""
12499 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12500 "\t\tconst char *uuid);\n"
12501 "\n"
12502 msgstr ""
12503
12504 # type: textblock
12505 #: ../src/guestfs-actions.pod:4829
12506 msgid ""
12507 "This command enables swap to a swap partition with the given UUID.  See "
12508 "C<guestfs_swapon_device> for other notes."
12509 msgstr ""
12510
12511 # type: =head2
12512 #: ../src/guestfs-actions.pod:4834
12513 msgid "guestfs_sync"
12514 msgstr ""
12515
12516 # type: verbatim
12517 #: ../src/guestfs-actions.pod:4836
12518 #, no-wrap
12519 msgid ""
12520 " int guestfs_sync (guestfs_h *g);\n"
12521 "\n"
12522 msgstr ""
12523
12524 # type: textblock
12525 #: ../src/guestfs-actions.pod:4838 ../fish/guestfish-actions.pod:3762
12526 msgid ""
12527 "This syncs the disk, so that any writes are flushed through to the "
12528 "underlying disk image."
12529 msgstr ""
12530
12531 # type: textblock
12532 #: ../src/guestfs-actions.pod:4841 ../fish/guestfish-actions.pod:3765
12533 msgid ""
12534 "You should always call this if you have modified a disk image, before "
12535 "closing the handle."
12536 msgstr ""
12537
12538 # type: =head2
12539 #: ../src/guestfs-actions.pod:4846
12540 msgid "guestfs_tail"
12541 msgstr ""
12542
12543 # type: verbatim
12544 #: ../src/guestfs-actions.pod:4848
12545 #, no-wrap
12546 msgid ""
12547 " char **guestfs_tail (guestfs_h *g,\n"
12548 "\t\tconst char *path);\n"
12549 "\n"
12550 msgstr ""
12551
12552 # type: textblock
12553 #: ../src/guestfs-actions.pod:4851 ../fish/guestfish-actions.pod:3772
12554 msgid ""
12555 "This command returns up to the last 10 lines of a file as a list of strings."
12556 msgstr ""
12557
12558 # type: =head2
12559 #: ../src/guestfs-actions.pod:4861
12560 msgid "guestfs_tail_n"
12561 msgstr ""
12562
12563 # type: verbatim
12564 #: ../src/guestfs-actions.pod:4863
12565 #, no-wrap
12566 msgid ""
12567 " char **guestfs_tail_n (guestfs_h *g,\n"
12568 "\t\tint nrlines,\n"
12569 "\t\tconst char *path);\n"
12570 "\n"
12571 msgstr ""
12572
12573 # type: textblock
12574 #: ../src/guestfs-actions.pod:4867 ../fish/guestfish-actions.pod:3782
12575 msgid ""
12576 "If the parameter C<nrlines> is a positive number, this returns the last "
12577 "C<nrlines> lines of the file C<path>."
12578 msgstr ""
12579
12580 # type: textblock
12581 #: ../src/guestfs-actions.pod:4870 ../fish/guestfish-actions.pod:3785
12582 msgid ""
12583 "If the parameter C<nrlines> is a negative number, this returns lines from "
12584 "the file C<path>, starting with the C<-nrlines>th line."
12585 msgstr ""
12586
12587 # type: =head2
12588 #: ../src/guestfs-actions.pod:4882
12589 msgid "guestfs_tar_in"
12590 msgstr ""
12591
12592 # type: verbatim
12593 #: ../src/guestfs-actions.pod:4884
12594 #, no-wrap
12595 msgid ""
12596 " int guestfs_tar_in (guestfs_h *g,\n"
12597 "\t\tconst char *tarfile,\n"
12598 "\t\tconst char *directory);\n"
12599 "\n"
12600 msgstr ""
12601
12602 # type: textblock
12603 #: ../src/guestfs-actions.pod:4888 ../fish/guestfish-actions.pod:3797
12604 msgid ""
12605 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12606 "tar file) into C<directory>."
12607 msgstr ""
12608
12609 # type: textblock
12610 #: ../src/guestfs-actions.pod:4891
12611 msgid ""
12612 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12613 msgstr ""
12614
12615 # type: =head2
12616 #: ../src/guestfs-actions.pod:4896
12617 msgid "guestfs_tar_out"
12618 msgstr ""
12619
12620 # type: verbatim
12621 #: ../src/guestfs-actions.pod:4898
12622 #, no-wrap
12623 msgid ""
12624 " int guestfs_tar_out (guestfs_h *g,\n"
12625 "\t\tconst char *directory,\n"
12626 "\t\tconst char *tarfile);\n"
12627 "\n"
12628 msgstr ""
12629
12630 # type: textblock
12631 #: ../src/guestfs-actions.pod:4902 ../fish/guestfish-actions.pod:3809
12632 msgid ""
12633 "This command packs the contents of C<directory> and downloads it to local "
12634 "file C<tarfile>."
12635 msgstr ""
12636
12637 # type: textblock
12638 #: ../src/guestfs-actions.pod:4905
12639 msgid ""
12640 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12641 "C<guestfs_txz_out>."
12642 msgstr ""
12643
12644 # type: =head2
12645 #: ../src/guestfs-actions.pod:4910
12646 msgid "guestfs_tgz_in"
12647 msgstr ""
12648
12649 # type: verbatim
12650 #: ../src/guestfs-actions.pod:4912
12651 #, no-wrap
12652 msgid ""
12653 " int guestfs_tgz_in (guestfs_h *g,\n"
12654 "\t\tconst char *tarball,\n"
12655 "\t\tconst char *directory);\n"
12656 "\n"
12657 msgstr ""
12658
12659 # type: textblock
12660 #: ../src/guestfs-actions.pod:4916 ../fish/guestfish-actions.pod:3821
12661 msgid ""
12662 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12663 "tar file) into C<directory>."
12664 msgstr ""
12665
12666 # type: textblock
12667 #: ../src/guestfs-actions.pod:4919
12668 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12669 msgstr ""
12670
12671 # type: =head2
12672 #: ../src/guestfs-actions.pod:4923
12673 msgid "guestfs_tgz_out"
12674 msgstr ""
12675
12676 # type: verbatim
12677 #: ../src/guestfs-actions.pod:4925
12678 #, no-wrap
12679 msgid ""
12680 " int guestfs_tgz_out (guestfs_h *g,\n"
12681 "\t\tconst char *directory,\n"
12682 "\t\tconst char *tarball);\n"
12683 "\n"
12684 msgstr ""
12685
12686 # type: textblock
12687 #: ../src/guestfs-actions.pod:4929 ../fish/guestfish-actions.pod:3832
12688 msgid ""
12689 "This command packs the contents of C<directory> and downloads it to local "
12690 "file C<tarball>."
12691 msgstr ""
12692
12693 # type: textblock
12694 #: ../src/guestfs-actions.pod:4932
12695 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12696 msgstr ""
12697
12698 # type: =head2
12699 #: ../src/guestfs-actions.pod:4936
12700 msgid "guestfs_touch"
12701 msgstr ""
12702
12703 # type: verbatim
12704 #: ../src/guestfs-actions.pod:4938
12705 #, no-wrap
12706 msgid ""
12707 " int guestfs_touch (guestfs_h *g,\n"
12708 "\t\tconst char *path);\n"
12709 "\n"
12710 msgstr ""
12711
12712 # type: textblock
12713 #: ../src/guestfs-actions.pod:4941 ../fish/guestfish-actions.pod:3843
12714 msgid ""
12715 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12716 "timestamps on a file, or, if the file does not exist, to create a new zero-"
12717 "length file."
12718 msgstr ""
12719
12720 # type: textblock
12721 #: ../src/guestfs-actions.pod:4945 ../fish/guestfish-actions.pod:3847
12722 msgid ""
12723 "This command only works on regular files, and will fail on other file types "
12724 "such as directories, symbolic links, block special etc."
12725 msgstr ""
12726
12727 # type: =head2
12728 #: ../src/guestfs-actions.pod:4950
12729 msgid "guestfs_truncate"
12730 msgstr ""
12731
12732 # type: verbatim
12733 #: ../src/guestfs-actions.pod:4952
12734 #, no-wrap
12735 msgid ""
12736 " int guestfs_truncate (guestfs_h *g,\n"
12737 "\t\tconst char *path);\n"
12738 "\n"
12739 msgstr ""
12740
12741 # type: textblock
12742 #: ../src/guestfs-actions.pod:4955 ../fish/guestfish-actions.pod:3854
12743 msgid ""
12744 "This command truncates C<path> to a zero-length file.  The file must exist "
12745 "already."
12746 msgstr ""
12747
12748 # type: =head2
12749 #: ../src/guestfs-actions.pod:4960
12750 msgid "guestfs_truncate_size"
12751 msgstr ""
12752
12753 # type: verbatim
12754 #: ../src/guestfs-actions.pod:4962
12755 #, no-wrap
12756 msgid ""
12757 " int guestfs_truncate_size (guestfs_h *g,\n"
12758 "\t\tconst char *path,\n"
12759 "\t\tint64_t size);\n"
12760 "\n"
12761 msgstr ""
12762
12763 # type: textblock
12764 #: ../src/guestfs-actions.pod:4966 ../fish/guestfish-actions.pod:3861
12765 msgid ""
12766 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12767 "already."
12768 msgstr ""
12769
12770 # type: textblock
12771 #: ../src/guestfs-actions.pod:4969
12772 msgid ""
12773 "If the current file size is less than C<size> then the file is extended to "
12774 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12775 "blocks are not allocated for the file until you write to it).  To create a "
12776 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12777 msgstr ""
12778
12779 # type: =head2
12780 #: ../src/guestfs-actions.pod:4977
12781 msgid "guestfs_tune2fs_l"
12782 msgstr ""
12783
12784 # type: verbatim
12785 #: ../src/guestfs-actions.pod:4979
12786 #, no-wrap
12787 msgid ""
12788 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12789 "\t\tconst char *device);\n"
12790 "\n"
12791 msgstr ""
12792
12793 # type: textblock
12794 #: ../src/guestfs-actions.pod:4982 ../fish/guestfish-actions.pod:3874
12795 msgid ""
12796 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12797 "C<device>."
12798 msgstr ""
12799
12800 # type: textblock
12801 #: ../src/guestfs-actions.pod:4985 ../fish/guestfish-actions.pod:3877
12802 msgid ""
12803 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12804 "for more details.  The list of fields returned isn't clearly defined, and "
12805 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12806 "and the filesystem itself."
12807 msgstr ""
12808
12809 # type: =head2
12810 #: ../src/guestfs-actions.pod:4996
12811 msgid "guestfs_txz_in"
12812 msgstr ""
12813
12814 # type: verbatim
12815 #: ../src/guestfs-actions.pod:4998
12816 #, no-wrap
12817 msgid ""
12818 " int guestfs_txz_in (guestfs_h *g,\n"
12819 "\t\tconst char *tarball,\n"
12820 "\t\tconst char *directory);\n"
12821 "\n"
12822 msgstr ""
12823
12824 # type: textblock
12825 #: ../src/guestfs-actions.pod:5002 ../fish/guestfish-actions.pod:3886
12826 msgid ""
12827 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12828 "tar file) into C<directory>."
12829 msgstr ""
12830
12831 # type: =head2
12832 #: ../src/guestfs-actions.pod:5007
12833 msgid "guestfs_txz_out"
12834 msgstr ""
12835
12836 # type: verbatim
12837 #: ../src/guestfs-actions.pod:5009
12838 #, no-wrap
12839 msgid ""
12840 " int guestfs_txz_out (guestfs_h *g,\n"
12841 "\t\tconst char *directory,\n"
12842 "\t\tconst char *tarball);\n"
12843 "\n"
12844 msgstr ""
12845
12846 # type: textblock
12847 #: ../src/guestfs-actions.pod:5013 ../fish/guestfish-actions.pod:3895
12848 msgid ""
12849 "This command packs the contents of C<directory> and downloads it to local "
12850 "file C<tarball> (as an xz compressed tar archive)."
12851 msgstr ""
12852
12853 # type: =head2
12854 #: ../src/guestfs-actions.pod:5018
12855 msgid "guestfs_umask"
12856 msgstr ""
12857
12858 # type: verbatim
12859 #: ../src/guestfs-actions.pod:5020
12860 #, no-wrap
12861 msgid ""
12862 " int guestfs_umask (guestfs_h *g,\n"
12863 "\t\tint mask);\n"
12864 "\n"
12865 msgstr ""
12866
12867 # type: textblock
12868 #: ../src/guestfs-actions.pod:5023 ../fish/guestfish-actions.pod:3904
12869 msgid ""
12870 "This function sets the mask used for creating new files and device nodes to "
12871 "C<mask & 0777>."
12872 msgstr ""
12873
12874 # type: textblock
12875 #: ../src/guestfs-actions.pod:5026 ../fish/guestfish-actions.pod:3907
12876 msgid ""
12877 "Typical umask values would be C<022> which creates new files with "
12878 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
12879 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
12880 msgstr ""
12881
12882 # type: textblock
12883 #: ../src/guestfs-actions.pod:5031 ../fish/guestfish-actions.pod:3912
12884 msgid ""
12885 "The default umask is C<022>.  This is important because it means that "
12886 "directories and device nodes will be created with C<0644> or C<0755> mode "
12887 "even if you specify C<0777>."
12888 msgstr ""
12889
12890 # type: textblock
12891 #: ../src/guestfs-actions.pod:5035
12892 msgid ""
12893 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
12894 "C<guestfs_mkdir>."
12895 msgstr ""
12896
12897 # type: textblock
12898 #: ../src/guestfs-actions.pod:5038 ../fish/guestfish-actions.pod:3919
12899 msgid "This call returns the previous umask."
12900 msgstr ""
12901
12902 # type: =head2
12903 #: ../src/guestfs-actions.pod:5042
12904 msgid "guestfs_umount"
12905 msgstr ""
12906
12907 # type: verbatim
12908 #: ../src/guestfs-actions.pod:5044
12909 #, no-wrap
12910 msgid ""
12911 " int guestfs_umount (guestfs_h *g,\n"
12912 "\t\tconst char *pathordevice);\n"
12913 "\n"
12914 msgstr ""
12915
12916 # type: textblock
12917 #: ../src/guestfs-actions.pod:5047 ../fish/guestfish-actions.pod:3927
12918 msgid ""
12919 "This unmounts the given filesystem.  The filesystem may be specified either "
12920 "by its mountpoint (path) or the device which contains the filesystem."
12921 msgstr ""
12922
12923 # type: =head2
12924 #: ../src/guestfs-actions.pod:5053
12925 msgid "guestfs_umount_all"
12926 msgstr ""
12927
12928 # type: verbatim
12929 #: ../src/guestfs-actions.pod:5055
12930 #, no-wrap
12931 msgid ""
12932 " int guestfs_umount_all (guestfs_h *g);\n"
12933 "\n"
12934 msgstr ""
12935
12936 # type: textblock
12937 #: ../src/guestfs-actions.pod:5057 ../fish/guestfish-actions.pod:3937
12938 msgid "This unmounts all mounted filesystems."
12939 msgstr ""
12940
12941 # type: textblock
12942 #: ../src/guestfs-actions.pod:5059 ../fish/guestfish-actions.pod:3939
12943 msgid "Some internal mounts are not unmounted by this call."
12944 msgstr ""
12945
12946 # type: =head2
12947 #: ../src/guestfs-actions.pod:5063
12948 msgid "guestfs_upload"
12949 msgstr ""
12950
12951 # type: verbatim
12952 #: ../src/guestfs-actions.pod:5065
12953 #, no-wrap
12954 msgid ""
12955 " int guestfs_upload (guestfs_h *g,\n"
12956 "\t\tconst char *filename,\n"
12957 "\t\tconst char *remotefilename);\n"
12958 "\n"
12959 msgstr ""
12960
12961 # type: textblock
12962 #: ../src/guestfs-actions.pod:5069 ../src/guestfs-actions.pod:5085
12963 #: ../fish/guestfish-actions.pod:3945 ../fish/guestfish-actions.pod:3958
12964 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
12965 msgstr ""
12966
12967 # type: textblock
12968 #: ../src/guestfs-actions.pod:5074
12969 msgid "See also C<guestfs_download>."
12970 msgstr ""
12971
12972 # type: =head2
12973 #: ../src/guestfs-actions.pod:5078
12974 msgid "guestfs_upload_offset"
12975 msgstr ""
12976
12977 # type: verbatim
12978 #: ../src/guestfs-actions.pod:5080
12979 #, no-wrap
12980 msgid ""
12981 " int guestfs_upload_offset (guestfs_h *g,\n"
12982 "\t\tconst char *filename,\n"
12983 "\t\tconst char *remotefilename,\n"
12984 "\t\tint64_t offset);\n"
12985 "\n"
12986 msgstr ""
12987
12988 # type: textblock
12989 #: ../src/guestfs-actions.pod:5088 ../fish/guestfish-actions.pod:3961
12990 msgid ""
12991 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
12992 "The intention is to overwrite parts of existing files or devices, although "
12993 "if a non-existant file is specified then it is created with a \"hole\" "
12994 "before C<offset>.  The size of the data written is implicit in the size of "
12995 "the source C<filename>."
12996 msgstr ""
12997
12998 # type: textblock
12999 #: ../src/guestfs-actions.pod:5095
13000 msgid ""
13001 "Note that there is no limit on the amount of data that can be uploaded with "
13002 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
13003 "full amount unless an error occurs."
13004 msgstr ""
13005
13006 # type: textblock
13007 #: ../src/guestfs-actions.pod:5100
13008 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
13009 msgstr ""
13010
13011 # type: =head2
13012 #: ../src/guestfs-actions.pod:5104
13013 msgid "guestfs_utimens"
13014 msgstr ""
13015
13016 # type: verbatim
13017 #: ../src/guestfs-actions.pod:5106
13018 #, no-wrap
13019 msgid ""
13020 " int guestfs_utimens (guestfs_h *g,\n"
13021 "\t\tconst char *path,\n"
13022 "\t\tint64_t atsecs,\n"
13023 "\t\tint64_t atnsecs,\n"
13024 "\t\tint64_t mtsecs,\n"
13025 "\t\tint64_t mtnsecs);\n"
13026 "\n"
13027 msgstr ""
13028
13029 # type: textblock
13030 #: ../src/guestfs-actions.pod:5113 ../fish/guestfish-actions.pod:3981
13031 msgid "This command sets the timestamps of a file with nanosecond precision."
13032 msgstr ""
13033
13034 # type: textblock
13035 #: ../src/guestfs-actions.pod:5116 ../fish/guestfish-actions.pod:3984
13036 msgid ""
13037 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
13038 "from the epoch."
13039 msgstr ""
13040
13041 # type: textblock
13042 #: ../src/guestfs-actions.pod:5119 ../fish/guestfish-actions.pod:3987
13043 msgid ""
13044 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
13045 "nanoseconds from the epoch."
13046 msgstr ""
13047
13048 # type: textblock
13049 #: ../src/guestfs-actions.pod:5122 ../fish/guestfish-actions.pod:3990
13050 msgid ""
13051 "If the C<*nsecs> field contains the special value C<-1> then the "
13052 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
13053 "ignored in this case)."
13054 msgstr ""
13055
13056 # type: textblock
13057 #: ../src/guestfs-actions.pod:5126 ../fish/guestfish-actions.pod:3994
13058 msgid ""
13059 "If the C<*nsecs> field contains the special value C<-2> then the "
13060 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
13061 "in this case)."
13062 msgstr ""
13063
13064 # type: =head2
13065 #: ../src/guestfs-actions.pod:5132 ../src/guestfs-structs.pod:175
13066 msgid "guestfs_version"
13067 msgstr ""
13068
13069 # type: verbatim
13070 #: ../src/guestfs-actions.pod:5134
13071 #, no-wrap
13072 msgid ""
13073 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
13074 "\n"
13075 msgstr ""
13076
13077 # type: textblock
13078 #: ../src/guestfs-actions.pod:5136 ../fish/guestfish-actions.pod:4002
13079 msgid ""
13080 "Return the libguestfs version number that the program is linked against."
13081 msgstr ""
13082
13083 # type: textblock
13084 #: ../src/guestfs-actions.pod:5139 ../fish/guestfish-actions.pod:4005
13085 msgid ""
13086 "Note that because of dynamic linking this is not necessarily the version of "
13087 "libguestfs that you compiled against.  You can compile the program, and then "
13088 "at runtime dynamically link against a completely different C<libguestfs.so> "
13089 "library."
13090 msgstr ""
13091
13092 # type: textblock
13093 #: ../src/guestfs-actions.pod:5144 ../fish/guestfish-actions.pod:4010
13094 msgid ""
13095 "This call was added in version C<1.0.58>.  In previous versions of "
13096 "libguestfs there was no way to get the version number.  From C code you can "
13097 "use dynamic linker functions to find out if this symbol exists (if it "
13098 "doesn't, then it's an earlier version)."
13099 msgstr ""
13100
13101 # type: textblock
13102 #: ../src/guestfs-actions.pod:5150 ../fish/guestfish-actions.pod:4016
13103 msgid ""
13104 "The call returns a structure with four elements.  The first three (C<major>, "
13105 "C<minor> and C<release>) are numbers and correspond to the usual version "
13106 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
13107 "but may be used for distro-specific information."
13108 msgstr ""
13109
13110 # type: textblock
13111 #: ../src/guestfs-actions.pod:5156 ../fish/guestfish-actions.pod:4022
13112 msgid ""
13113 "To construct the original version string: C<$major.$minor.$release$extra>"
13114 msgstr ""
13115
13116 # type: textblock
13117 #: ../src/guestfs-actions.pod:5159 ../fish/guestfish-actions.pod:4025
13118 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
13119 msgstr ""
13120
13121 # type: textblock
13122 #: ../src/guestfs-actions.pod:5161
13123 msgid ""
13124 "I<Note:> Don't use this call to test for availability of features.  In "
13125 "enterprise distributions we backport features from later versions into "
13126 "earlier versions, making this an unreliable way to test for features.  Use "
13127 "C<guestfs_available> instead."
13128 msgstr ""
13129
13130 # type: textblock
13131 #: ../src/guestfs-actions.pod:5167
13132 msgid ""
13133 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
13134 "error.  I<The caller must call C<guestfs_free_version> after use>."
13135 msgstr ""
13136
13137 # type: =head2
13138 #: ../src/guestfs-actions.pod:5171
13139 msgid "guestfs_vfs_label"
13140 msgstr ""
13141
13142 # type: verbatim
13143 #: ../src/guestfs-actions.pod:5173
13144 #, no-wrap
13145 msgid ""
13146 " char *guestfs_vfs_label (guestfs_h *g,\n"
13147 "\t\tconst char *device);\n"
13148 "\n"
13149 msgstr ""
13150
13151 # type: textblock
13152 #: ../src/guestfs-actions.pod:5176 ../fish/guestfish-actions.pod:4037
13153 msgid "This returns the filesystem label of the filesystem on C<device>."
13154 msgstr ""
13155
13156 # type: textblock
13157 #: ../src/guestfs-actions.pod:5179 ../fish/guestfish-actions.pod:4040
13158 msgid "If the filesystem is unlabeled, this returns the empty string."
13159 msgstr ""
13160
13161 # type: textblock
13162 #: ../src/guestfs-actions.pod:5181
13163 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
13164 msgstr ""
13165
13166 # type: =head2
13167 #: ../src/guestfs-actions.pod:5186
13168 msgid "guestfs_vfs_type"
13169 msgstr ""
13170
13171 # type: verbatim
13172 #: ../src/guestfs-actions.pod:5188
13173 #, no-wrap
13174 msgid ""
13175 " char *guestfs_vfs_type (guestfs_h *g,\n"
13176 "\t\tconst char *device);\n"
13177 "\n"
13178 msgstr ""
13179
13180 # type: textblock
13181 #: ../src/guestfs-actions.pod:5191 ../fish/guestfish-actions.pod:4048
13182 msgid ""
13183 "This command gets the filesystem type corresponding to the filesystem on "
13184 "C<device>."
13185 msgstr ""
13186
13187 # type: textblock
13188 #: ../src/guestfs-actions.pod:5194 ../fish/guestfish-actions.pod:4051
13189 msgid ""
13190 "For most filesystems, the result is the name of the Linux VFS module which "
13191 "would be used to mount this filesystem if you mounted it without specifying "
13192 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
13193 msgstr ""
13194
13195 # type: =head2
13196 #: ../src/guestfs-actions.pod:5202
13197 msgid "guestfs_vfs_uuid"
13198 msgstr ""
13199
13200 # type: verbatim
13201 #: ../src/guestfs-actions.pod:5204
13202 #, no-wrap
13203 msgid ""
13204 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
13205 "\t\tconst char *device);\n"
13206 "\n"
13207 msgstr ""
13208
13209 # type: textblock
13210 #: ../src/guestfs-actions.pod:5207 ../fish/guestfish-actions.pod:4060
13211 msgid "This returns the filesystem UUID of the filesystem on C<device>."
13212 msgstr ""
13213
13214 # type: textblock
13215 #: ../src/guestfs-actions.pod:5210 ../fish/guestfish-actions.pod:4063
13216 msgid "If the filesystem does not have a UUID, this returns the empty string."
13217 msgstr ""
13218
13219 # type: textblock
13220 #: ../src/guestfs-actions.pod:5212
13221 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
13222 msgstr ""
13223
13224 # type: =head2
13225 #: ../src/guestfs-actions.pod:5217
13226 msgid "guestfs_vg_activate"
13227 msgstr ""
13228
13229 # type: verbatim
13230 #: ../src/guestfs-actions.pod:5219
13231 #, no-wrap
13232 msgid ""
13233 " int guestfs_vg_activate (guestfs_h *g,\n"
13234 "\t\tint activate,\n"
13235 "\t\tchar *const *volgroups);\n"
13236 "\n"
13237 msgstr ""
13238
13239 # type: textblock
13240 #: ../src/guestfs-actions.pod:5223 ../fish/guestfish-actions.pod:4071
13241 msgid ""
13242 "This command activates or (if C<activate> is false) deactivates all logical "
13243 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
13244 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
13245 "deactivated, then those devices disappear."
13246 msgstr ""
13247
13248 # type: textblock
13249 #: ../src/guestfs-actions.pod:5229 ../fish/guestfish-actions.pod:4077
13250 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
13251 msgstr ""
13252
13253 # type: textblock
13254 #: ../src/guestfs-actions.pod:5231 ../fish/guestfish-actions.pod:4079
13255 msgid ""
13256 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
13257 "activated or deactivated."
13258 msgstr ""
13259
13260 # type: =head2
13261 #: ../src/guestfs-actions.pod:5236
13262 msgid "guestfs_vg_activate_all"
13263 msgstr ""
13264
13265 # type: verbatim
13266 #: ../src/guestfs-actions.pod:5238
13267 #, no-wrap
13268 msgid ""
13269 " int guestfs_vg_activate_all (guestfs_h *g,\n"
13270 "\t\tint activate);\n"
13271 "\n"
13272 msgstr ""
13273
13274 # type: textblock
13275 #: ../src/guestfs-actions.pod:5241 ../fish/guestfish-actions.pod:4086
13276 msgid ""
13277 "This command activates or (if C<activate> is false) deactivates all logical "
13278 "volumes in all volume groups.  If activated, then they are made known to the "
13279 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
13280 "those devices disappear."
13281 msgstr ""
13282
13283 # type: textblock
13284 #: ../src/guestfs-actions.pod:5247 ../fish/guestfish-actions.pod:4092
13285 msgid "This command is the same as running C<vgchange -a y|n>"
13286 msgstr ""
13287
13288 # type: =head2
13289 #: ../src/guestfs-actions.pod:5251
13290 msgid "guestfs_vgcreate"
13291 msgstr ""
13292
13293 # type: verbatim
13294 #: ../src/guestfs-actions.pod:5253
13295 #, no-wrap
13296 msgid ""
13297 " int guestfs_vgcreate (guestfs_h *g,\n"
13298 "\t\tconst char *volgroup,\n"
13299 "\t\tchar *const *physvols);\n"
13300 "\n"
13301 msgstr ""
13302
13303 # type: textblock
13304 #: ../src/guestfs-actions.pod:5257 ../fish/guestfish-actions.pod:4098
13305 msgid ""
13306 "This creates an LVM volume group called C<volgroup> from the non-empty list "
13307 "of physical volumes C<physvols>."
13308 msgstr ""
13309
13310 # type: =head2
13311 #: ../src/guestfs-actions.pod:5262
13312 msgid "guestfs_vglvuuids"
13313 msgstr ""
13314
13315 # type: verbatim
13316 #: ../src/guestfs-actions.pod:5264
13317 #, no-wrap
13318 msgid ""
13319 " char **guestfs_vglvuuids (guestfs_h *g,\n"
13320 "\t\tconst char *vgname);\n"
13321 "\n"
13322 msgstr ""
13323
13324 # type: textblock
13325 #: ../src/guestfs-actions.pod:5267 ../fish/guestfish-actions.pod:4105
13326 msgid ""
13327 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
13328 "volumes created in this volume group."
13329 msgstr ""
13330
13331 # type: textblock
13332 #: ../src/guestfs-actions.pod:5270
13333 msgid ""
13334 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
13335 "associate logical volumes and volume groups."
13336 msgstr ""
13337
13338 # type: textblock
13339 #: ../src/guestfs-actions.pod:5273
13340 msgid "See also C<guestfs_vgpvuuids>."
13341 msgstr ""
13342
13343 # type: =head2
13344 #: ../src/guestfs-actions.pod:5279
13345 msgid "guestfs_vgpvuuids"
13346 msgstr ""
13347
13348 # type: verbatim
13349 #: ../src/guestfs-actions.pod:5281
13350 #, no-wrap
13351 msgid ""
13352 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
13353 "\t\tconst char *vgname);\n"
13354 "\n"
13355 msgstr ""
13356
13357 # type: textblock
13358 #: ../src/guestfs-actions.pod:5284 ../fish/guestfish-actions.pod:4117
13359 msgid ""
13360 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
13361 "volumes that this volume group resides on."
13362 msgstr ""
13363
13364 # type: textblock
13365 #: ../src/guestfs-actions.pod:5287
13366 msgid ""
13367 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
13368 "associate physical volumes and volume groups."
13369 msgstr ""
13370
13371 # type: textblock
13372 #: ../src/guestfs-actions.pod:5290
13373 msgid "See also C<guestfs_vglvuuids>."
13374 msgstr ""
13375
13376 # type: =head2
13377 #: ../src/guestfs-actions.pod:5296
13378 msgid "guestfs_vgremove"
13379 msgstr ""
13380
13381 # type: verbatim
13382 #: ../src/guestfs-actions.pod:5298
13383 #, no-wrap
13384 msgid ""
13385 " int guestfs_vgremove (guestfs_h *g,\n"
13386 "\t\tconst char *vgname);\n"
13387 "\n"
13388 msgstr ""
13389
13390 # type: textblock
13391 #: ../src/guestfs-actions.pod:5301 ../fish/guestfish-actions.pod:4129
13392 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
13393 msgstr ""
13394
13395 # type: textblock
13396 #: ../src/guestfs-actions.pod:5303 ../fish/guestfish-actions.pod:4131
13397 msgid ""
13398 "This also forcibly removes all logical volumes in the volume group (if any)."
13399 msgstr ""
13400
13401 # type: =head2
13402 #: ../src/guestfs-actions.pod:5308
13403 msgid "guestfs_vgrename"
13404 msgstr ""
13405
13406 # type: verbatim
13407 #: ../src/guestfs-actions.pod:5310
13408 #, no-wrap
13409 msgid ""
13410 " int guestfs_vgrename (guestfs_h *g,\n"
13411 "\t\tconst char *volgroup,\n"
13412 "\t\tconst char *newvolgroup);\n"
13413 "\n"
13414 msgstr ""
13415
13416 # type: textblock
13417 #: ../src/guestfs-actions.pod:5314 ../fish/guestfish-actions.pod:4138
13418 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
13419 msgstr ""
13420
13421 # type: =head2
13422 #: ../src/guestfs-actions.pod:5318
13423 msgid "guestfs_vgs"
13424 msgstr ""
13425
13426 # type: verbatim
13427 #: ../src/guestfs-actions.pod:5320
13428 #, no-wrap
13429 msgid ""
13430 " char **guestfs_vgs (guestfs_h *g);\n"
13431 "\n"
13432 msgstr ""
13433
13434 # type: textblock
13435 #: ../src/guestfs-actions.pod:5322 ../fish/guestfish-actions.pod:4144
13436 msgid ""
13437 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13438 "> command."
13439 msgstr ""
13440
13441 # type: textblock
13442 #: ../src/guestfs-actions.pod:5325 ../fish/guestfish-actions.pod:4147
13443 msgid ""
13444 "This returns a list of just the volume group names that were detected (eg. "
13445 "C<VolGroup00>)."
13446 msgstr ""
13447
13448 # type: textblock
13449 #: ../src/guestfs-actions.pod:5328
13450 msgid "See also C<guestfs_vgs_full>."
13451 msgstr ""
13452
13453 # type: =head2
13454 #: ../src/guestfs-actions.pod:5334
13455 msgid "guestfs_vgs_full"
13456 msgstr ""
13457
13458 # type: verbatim
13459 #: ../src/guestfs-actions.pod:5336
13460 #, no-wrap
13461 msgid ""
13462 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
13463 "\n"
13464 msgstr ""
13465
13466 # type: textblock
13467 #: ../src/guestfs-actions.pod:5338 ../fish/guestfish-actions.pod:4156
13468 msgid ""
13469 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13470 "> command.  The \"full\" version includes all fields."
13471 msgstr ""
13472
13473 # type: textblock
13474 #: ../src/guestfs-actions.pod:5341
13475 msgid ""
13476 "This function returns a C<struct guestfs_lvm_vg_list *> (see E<lt>guestfs-"
13477 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
13478 "C<guestfs_free_lvm_vg_list> after use>."
13479 msgstr ""
13480
13481 # type: =head2
13482 #: ../src/guestfs-actions.pod:5346
13483 msgid "guestfs_vgscan"
13484 msgstr ""
13485
13486 # type: verbatim
13487 #: ../src/guestfs-actions.pod:5348
13488 #, no-wrap
13489 msgid ""
13490 " int guestfs_vgscan (guestfs_h *g);\n"
13491 "\n"
13492 msgstr ""
13493
13494 # type: textblock
13495 #: ../src/guestfs-actions.pod:5350 ../fish/guestfish-actions.pod:4163
13496 msgid ""
13497 "This rescans all block devices and rebuilds the list of LVM physical "
13498 "volumes, volume groups and logical volumes."
13499 msgstr ""
13500
13501 # type: =head2
13502 #: ../src/guestfs-actions.pod:5355
13503 msgid "guestfs_vguuid"
13504 msgstr ""
13505
13506 # type: verbatim
13507 #: ../src/guestfs-actions.pod:5357
13508 #, no-wrap
13509 msgid ""
13510 " char *guestfs_vguuid (guestfs_h *g,\n"
13511 "\t\tconst char *vgname);\n"
13512 "\n"
13513 msgstr ""
13514
13515 # type: textblock
13516 #: ../src/guestfs-actions.pod:5360 ../fish/guestfish-actions.pod:4170
13517 msgid "This command returns the UUID of the LVM VG named C<vgname>."
13518 msgstr ""
13519
13520 # type: =head2
13521 #: ../src/guestfs-actions.pod:5365
13522 msgid "guestfs_wait_ready"
13523 msgstr ""
13524
13525 # type: verbatim
13526 #: ../src/guestfs-actions.pod:5367
13527 #, no-wrap
13528 msgid ""
13529 " int guestfs_wait_ready (guestfs_h *g);\n"
13530 "\n"
13531 msgstr ""
13532
13533 # type: textblock
13534 #: ../src/guestfs-actions.pod:5369
13535 msgid "This function is a no op."
13536 msgstr ""
13537
13538 # type: textblock
13539 #: ../src/guestfs-actions.pod:5371
13540 msgid ""
13541 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13542 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13543 "is no longer necessary because C<guestfs_launch> now does the waiting."
13544 msgstr ""
13545
13546 # type: textblock
13547 #: ../src/guestfs-actions.pod:5376
13548 msgid ""
13549 "If you see any calls to this function in code then you can just remove them, "
13550 "unless you want to retain compatibility with older versions of the API."
13551 msgstr ""
13552
13553 # type: =head2
13554 #: ../src/guestfs-actions.pod:5382
13555 msgid "guestfs_wc_c"
13556 msgstr ""
13557
13558 # type: verbatim
13559 #: ../src/guestfs-actions.pod:5384
13560 #, no-wrap
13561 msgid ""
13562 " int guestfs_wc_c (guestfs_h *g,\n"
13563 "\t\tconst char *path);\n"
13564 "\n"
13565 msgstr ""
13566
13567 # type: textblock
13568 #: ../src/guestfs-actions.pod:5387 ../fish/guestfish-actions.pod:4176
13569 msgid ""
13570 "This command counts the characters in a file, using the C<wc -c> external "
13571 "command."
13572 msgstr ""
13573
13574 # type: =head2
13575 #: ../src/guestfs-actions.pod:5392
13576 msgid "guestfs_wc_l"
13577 msgstr ""
13578
13579 # type: verbatim
13580 #: ../src/guestfs-actions.pod:5394
13581 #, no-wrap
13582 msgid ""
13583 " int guestfs_wc_l (guestfs_h *g,\n"
13584 "\t\tconst char *path);\n"
13585 "\n"
13586 msgstr ""
13587
13588 # type: textblock
13589 #: ../src/guestfs-actions.pod:5397 ../fish/guestfish-actions.pod:4183
13590 msgid ""
13591 "This command counts the lines in a file, using the C<wc -l> external command."
13592 msgstr ""
13593
13594 # type: =head2
13595 #: ../src/guestfs-actions.pod:5402
13596 msgid "guestfs_wc_w"
13597 msgstr ""
13598
13599 # type: verbatim
13600 #: ../src/guestfs-actions.pod:5404
13601 #, no-wrap
13602 msgid ""
13603 " int guestfs_wc_w (guestfs_h *g,\n"
13604 "\t\tconst char *path);\n"
13605 "\n"
13606 msgstr ""
13607
13608 # type: textblock
13609 #: ../src/guestfs-actions.pod:5407 ../fish/guestfish-actions.pod:4190
13610 msgid ""
13611 "This command counts the words in a file, using the C<wc -w> external command."
13612 msgstr ""
13613
13614 # type: =head2
13615 #: ../src/guestfs-actions.pod:5412
13616 msgid "guestfs_write"
13617 msgstr ""
13618
13619 # type: verbatim
13620 #: ../src/guestfs-actions.pod:5414
13621 #, no-wrap
13622 msgid ""
13623 " int guestfs_write (guestfs_h *g,\n"
13624 "\t\tconst char *path,\n"
13625 "\t\tconst char *content,\n"
13626 "\t\tsize_t content_size);\n"
13627 "\n"
13628 msgstr ""
13629
13630 # type: textblock
13631 #: ../src/guestfs-actions.pod:5419 ../fish/guestfish-actions.pod:4197
13632 msgid ""
13633 "This call creates a file called C<path>.  The content of the file is the "
13634 "string C<content> (which can contain any 8 bit data)."
13635 msgstr ""
13636
13637 # type: =head2
13638 #: ../src/guestfs-actions.pod:5427
13639 msgid "guestfs_write_file"
13640 msgstr ""
13641
13642 # type: verbatim
13643 #: ../src/guestfs-actions.pod:5429
13644 #, no-wrap
13645 msgid ""
13646 " int guestfs_write_file (guestfs_h *g,\n"
13647 "\t\tconst char *path,\n"
13648 "\t\tconst char *content,\n"
13649 "\t\tint size);\n"
13650 "\n"
13651 msgstr ""
13652
13653 # type: textblock
13654 #: ../src/guestfs-actions.pod:5434 ../fish/guestfish-actions.pod:4207
13655 msgid ""
13656 "This call creates a file called C<path>.  The contents of the file is the "
13657 "string C<content> (which can contain any 8 bit data), with length C<size>."
13658 msgstr ""
13659
13660 # type: textblock
13661 #: ../src/guestfs-actions.pod:5438 ../fish/guestfish-actions.pod:4211
13662 msgid ""
13663 "As a special case, if C<size> is C<0> then the length is calculated using "
13664 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13665 msgstr ""
13666
13667 # type: textblock
13668 #: ../src/guestfs-actions.pod:5442 ../fish/guestfish-actions.pod:4215
13669 msgid ""
13670 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13671 "I<not> work, even if the length is specified."
13672 msgstr ""
13673
13674 # type: textblock
13675 #: ../src/guestfs-actions.pod:5450 ../fish/guestfish-actions.pod:4221
13676 msgid ""
13677 "This function is deprecated.  In new code, use the C<write> call instead."
13678 msgstr ""
13679
13680 # type: =head2
13681 #: ../src/guestfs-actions.pod:5457
13682 msgid "guestfs_zegrep"
13683 msgstr ""
13684
13685 # type: verbatim
13686 #: ../src/guestfs-actions.pod:5459
13687 #, no-wrap
13688 msgid ""
13689 " char **guestfs_zegrep (guestfs_h *g,\n"
13690 "\t\tconst char *regex,\n"
13691 "\t\tconst char *path);\n"
13692 "\n"
13693 msgstr ""
13694
13695 # type: textblock
13696 #: ../src/guestfs-actions.pod:5463 ../fish/guestfish-actions.pod:4232
13697 msgid ""
13698 "This calls the external C<zegrep> program and returns the matching lines."
13699 msgstr ""
13700
13701 # type: =head2
13702 #: ../src/guestfs-actions.pod:5473
13703 msgid "guestfs_zegrepi"
13704 msgstr ""
13705
13706 # type: verbatim
13707 #: ../src/guestfs-actions.pod:5475
13708 #, no-wrap
13709 msgid ""
13710 " char **guestfs_zegrepi (guestfs_h *g,\n"
13711 "\t\tconst char *regex,\n"
13712 "\t\tconst char *path);\n"
13713 "\n"
13714 msgstr ""
13715
13716 # type: textblock
13717 #: ../src/guestfs-actions.pod:5479 ../fish/guestfish-actions.pod:4242
13718 msgid ""
13719 "This calls the external C<zegrep -i> program and returns the matching lines."
13720 msgstr ""
13721
13722 # type: =head2
13723 #: ../src/guestfs-actions.pod:5489
13724 msgid "guestfs_zero"
13725 msgstr ""
13726
13727 # type: verbatim
13728 #: ../src/guestfs-actions.pod:5491
13729 #, no-wrap
13730 msgid ""
13731 " int guestfs_zero (guestfs_h *g,\n"
13732 "\t\tconst char *device);\n"
13733 "\n"
13734 msgstr ""
13735
13736 # type: textblock
13737 #: ../src/guestfs-actions.pod:5494 ../fish/guestfish-actions.pod:4252
13738 msgid "This command writes zeroes over the first few blocks of C<device>."
13739 msgstr ""
13740
13741 # type: textblock
13742 #: ../src/guestfs-actions.pod:5496 ../fish/guestfish-actions.pod:4254
13743 msgid ""
13744 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13745 "securely wipe the device).  It should be sufficient to remove any partition "
13746 "tables, filesystem superblocks and so on."
13747 msgstr ""
13748
13749 # type: textblock
13750 #: ../src/guestfs-actions.pod:5500
13751 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13752 msgstr ""
13753
13754 # type: =head2
13755 #: ../src/guestfs-actions.pod:5509
13756 msgid "guestfs_zero_device"
13757 msgstr ""
13758
13759 # type: verbatim
13760 #: ../src/guestfs-actions.pod:5511
13761 #, no-wrap
13762 msgid ""
13763 " int guestfs_zero_device (guestfs_h *g,\n"
13764 "\t\tconst char *device);\n"
13765 "\n"
13766 msgstr ""
13767
13768 # type: textblock
13769 #: ../src/guestfs-actions.pod:5514
13770 msgid ""
13771 "This command writes zeroes over the entire C<device>.  Compare with "
13772 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13773 msgstr ""
13774
13775 # type: =head2
13776 #: ../src/guestfs-actions.pod:5528
13777 msgid "guestfs_zerofree"
13778 msgstr ""
13779
13780 # type: verbatim
13781 #: ../src/guestfs-actions.pod:5530
13782 #, no-wrap
13783 msgid ""
13784 " int guestfs_zerofree (guestfs_h *g,\n"
13785 "\t\tconst char *device);\n"
13786 "\n"
13787 msgstr ""
13788
13789 # type: textblock
13790 #: ../src/guestfs-actions.pod:5533 ../fish/guestfish-actions.pod:4275
13791 msgid ""
13792 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13793 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13794 "possible to compress the filesystem more effectively."
13795 msgstr ""
13796
13797 # type: textblock
13798 #: ../src/guestfs-actions.pod:5538 ../fish/guestfish-actions.pod:4280
13799 msgid "You should B<not> run this program if the filesystem is mounted."
13800 msgstr ""
13801
13802 # type: textblock
13803 #: ../src/guestfs-actions.pod:5541 ../fish/guestfish-actions.pod:4283
13804 msgid ""
13805 "It is possible that using this program can damage the filesystem or data on "
13806 "the filesystem."
13807 msgstr ""
13808
13809 # type: =head2
13810 #: ../src/guestfs-actions.pod:5546
13811 msgid "guestfs_zfgrep"
13812 msgstr ""
13813
13814 # type: verbatim
13815 #: ../src/guestfs-actions.pod:5548
13816 #, no-wrap
13817 msgid ""
13818 " char **guestfs_zfgrep (guestfs_h *g,\n"
13819 "\t\tconst char *pattern,\n"
13820 "\t\tconst char *path);\n"
13821 "\n"
13822 msgstr ""
13823
13824 # type: textblock
13825 #: ../src/guestfs-actions.pod:5552 ../fish/guestfish-actions.pod:4290
13826 msgid ""
13827 "This calls the external C<zfgrep> program and returns the matching lines."
13828 msgstr ""
13829
13830 # type: =head2
13831 #: ../src/guestfs-actions.pod:5562
13832 msgid "guestfs_zfgrepi"
13833 msgstr ""
13834
13835 # type: verbatim
13836 #: ../src/guestfs-actions.pod:5564
13837 #, no-wrap
13838 msgid ""
13839 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13840 "\t\tconst char *pattern,\n"
13841 "\t\tconst char *path);\n"
13842 "\n"
13843 msgstr ""
13844
13845 # type: textblock
13846 #: ../src/guestfs-actions.pod:5568 ../fish/guestfish-actions.pod:4300
13847 msgid ""
13848 "This calls the external C<zfgrep -i> program and returns the matching lines."
13849 msgstr ""
13850
13851 # type: =head2
13852 #: ../src/guestfs-actions.pod:5578
13853 msgid "guestfs_zfile"
13854 msgstr ""
13855
13856 # type: verbatim
13857 #: ../src/guestfs-actions.pod:5580
13858 #, no-wrap
13859 msgid ""
13860 " char *guestfs_zfile (guestfs_h *g,\n"
13861 "\t\tconst char *meth,\n"
13862 "\t\tconst char *path);\n"
13863 "\n"
13864 msgstr ""
13865
13866 # type: textblock
13867 #: ../src/guestfs-actions.pod:5584 ../fish/guestfish-actions.pod:4310
13868 msgid ""
13869 "This command runs C<file> after first decompressing C<path> using C<method>."
13870 msgstr ""
13871
13872 # type: textblock
13873 #: ../src/guestfs-actions.pod:5587 ../fish/guestfish-actions.pod:4313
13874 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
13875 msgstr ""
13876
13877 # type: textblock
13878 #: ../src/guestfs-actions.pod:5589
13879 msgid ""
13880 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
13881 "files."
13882 msgstr ""
13883
13884 # type: textblock
13885 #: ../src/guestfs-actions.pod:5595 ../fish/guestfish-actions.pod:4318
13886 msgid ""
13887 "This function is deprecated.  In new code, use the C<file> call instead."
13888 msgstr ""
13889
13890 # type: =head2
13891 #: ../src/guestfs-actions.pod:5602
13892 msgid "guestfs_zgrep"
13893 msgstr ""
13894
13895 # type: verbatim
13896 #: ../src/guestfs-actions.pod:5604
13897 #, no-wrap
13898 msgid ""
13899 " char **guestfs_zgrep (guestfs_h *g,\n"
13900 "\t\tconst char *regex,\n"
13901 "\t\tconst char *path);\n"
13902 "\n"
13903 msgstr ""
13904
13905 # type: textblock
13906 #: ../src/guestfs-actions.pod:5608 ../fish/guestfish-actions.pod:4329
13907 msgid ""
13908 "This calls the external C<zgrep> program and returns the matching lines."
13909 msgstr ""
13910
13911 # type: =head2
13912 #: ../src/guestfs-actions.pod:5618
13913 msgid "guestfs_zgrepi"
13914 msgstr ""
13915
13916 # type: verbatim
13917 #: ../src/guestfs-actions.pod:5620
13918 #, no-wrap
13919 msgid ""
13920 " char **guestfs_zgrepi (guestfs_h *g,\n"
13921 "\t\tconst char *regex,\n"
13922 "\t\tconst char *path);\n"
13923 "\n"
13924 msgstr ""
13925
13926 # type: textblock
13927 #: ../src/guestfs-actions.pod:5624 ../fish/guestfish-actions.pod:4339
13928 msgid ""
13929 "This calls the external C<zgrep -i> program and returns the matching lines."
13930 msgstr ""
13931
13932 # type: =item
13933 #: ../src/guestfs-availability.pod:3
13934 msgid "B<augeas>"
13935 msgstr ""
13936
13937 # type: textblock
13938 #: ../src/guestfs-availability.pod:5
13939 msgid ""
13940 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
13941 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
13942 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
13943 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
13944 "L</guestfs_aug_save> L</guestfs_aug_set>"
13945 msgstr ""
13946
13947 # type: =item
13948 #: ../src/guestfs-availability.pod:21
13949 msgid "B<inotify>"
13950 msgstr ""
13951
13952 # type: textblock
13953 #: ../src/guestfs-availability.pod:23
13954 msgid ""
13955 "The following functions: L</guestfs_inotify_add_watch> L</"
13956 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
13957 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
13958 msgstr ""
13959
13960 # type: =item
13961 #: ../src/guestfs-availability.pod:31
13962 msgid "B<linuxfsuuid>"
13963 msgstr ""
13964
13965 # type: textblock
13966 #: ../src/guestfs-availability.pod:33
13967 msgid ""
13968 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
13969 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
13970 msgstr ""
13971
13972 # type: =item
13973 #: ../src/guestfs-availability.pod:40
13974 msgid "B<linuxmodules>"
13975 msgstr ""
13976
13977 # type: textblock
13978 #: ../src/guestfs-availability.pod:42
13979 msgid "The following functions: L</guestfs_modprobe>"
13980 msgstr ""
13981
13982 # type: =item
13983 #: ../src/guestfs-availability.pod:45
13984 msgid "B<linuxxattrs>"
13985 msgstr ""
13986
13987 # type: textblock
13988 #: ../src/guestfs-availability.pod:47
13989 msgid ""
13990 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> L</"
13991 "guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> L</"
13992 "guestfs_removexattr> L</guestfs_setxattr>"
13993 msgstr ""
13994
13995 # type: =item
13996 #: ../src/guestfs-availability.pod:56
13997 msgid "B<luks>"
13998 msgstr ""
13999
14000 # type: textblock
14001 #: ../src/guestfs-availability.pod:58
14002 msgid ""
14003 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
14004 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
14005 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
14006 msgstr ""
14007
14008 # type: =item
14009 #: ../src/guestfs-availability.pod:67
14010 msgid "B<lvm2>"
14011 msgstr ""
14012
14013 # type: textblock
14014 #: ../src/guestfs-availability.pod:69
14015 msgid ""
14016 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
14017 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
14018 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
14019 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
14020 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
14021 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
14022 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
14023 msgstr ""
14024
14025 # type: =item
14026 #: ../src/guestfs-availability.pod:92
14027 msgid "B<mknod>"
14028 msgstr ""
14029
14030 # type: textblock
14031 #: ../src/guestfs-availability.pod:94
14032 msgid ""
14033 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
14034 "guestfs_mknod_b> L</guestfs_mknod_c>"
14035 msgstr ""
14036
14037 # type: =item
14038 #: ../src/guestfs-availability.pod:100
14039 msgid "B<ntfs3g>"
14040 msgstr ""
14041
14042 # type: textblock
14043 #: ../src/guestfs-availability.pod:102
14044 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
14045 msgstr ""
14046
14047 # type: =item
14048 #: ../src/guestfs-availability.pod:105
14049 msgid "B<ntfsprogs>"
14050 msgstr ""
14051
14052 # type: textblock
14053 #: ../src/guestfs-availability.pod:107
14054 msgid ""
14055 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
14056 msgstr ""
14057
14058 # type: =item
14059 #: ../src/guestfs-availability.pod:111
14060 msgid "B<realpath>"
14061 msgstr ""
14062
14063 # type: textblock
14064 #: ../src/guestfs-availability.pod:113
14065 msgid "The following functions: L</guestfs_realpath>"
14066 msgstr ""
14067
14068 # type: =item
14069 #: ../src/guestfs-availability.pod:116
14070 msgid "B<scrub>"
14071 msgstr ""
14072
14073 # type: textblock
14074 #: ../src/guestfs-availability.pod:118
14075 msgid ""
14076 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
14077 "guestfs_scrub_freespace>"
14078 msgstr ""
14079
14080 # type: =item
14081 #: ../src/guestfs-availability.pod:123
14082 msgid "B<selinux>"
14083 msgstr ""
14084
14085 # type: textblock
14086 #: ../src/guestfs-availability.pod:125
14087 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
14088 msgstr ""
14089
14090 # type: =item
14091 #: ../src/guestfs-availability.pod:129
14092 msgid "B<xz>"
14093 msgstr ""
14094
14095 # type: textblock
14096 #: ../src/guestfs-availability.pod:131
14097 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
14098 msgstr ""
14099
14100 # type: =item
14101 #: ../src/guestfs-availability.pod:135
14102 msgid "B<zerofree>"
14103 msgstr ""
14104
14105 # type: textblock
14106 #: ../src/guestfs-availability.pod:137
14107 msgid "The following functions: L</guestfs_zerofree>"
14108 msgstr ""
14109
14110 # type: =head2
14111 #: ../src/guestfs-structs.pod:1
14112 msgid "guestfs_int_bool"
14113 msgstr ""
14114
14115 # type: verbatim
14116 #: ../src/guestfs-structs.pod:3
14117 #, no-wrap
14118 msgid ""
14119 " struct guestfs_int_bool {\n"
14120 "   int32_t i;\n"
14121 "   int32_t b;\n"
14122 " };\n"
14123 " \n"
14124 msgstr ""
14125
14126 # type: verbatim
14127 #: ../src/guestfs-structs.pod:8
14128 #, no-wrap
14129 msgid ""
14130 " struct guestfs_int_bool_list {\n"
14131 "   uint32_t len; /* Number of elements in list. */\n"
14132 "   struct guestfs_int_bool *val; /* Elements. */\n"
14133 " };\n"
14134 " \n"
14135 msgstr ""
14136
14137 # type: verbatim
14138 #: ../src/guestfs-structs.pod:13
14139 #, no-wrap
14140 msgid ""
14141 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
14142 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
14143 "\n"
14144 msgstr ""
14145
14146 # type: =head2
14147 #: ../src/guestfs-structs.pod:16
14148 msgid "guestfs_lvm_pv"
14149 msgstr ""
14150
14151 # type: verbatim
14152 #: ../src/guestfs-structs.pod:18
14153 #, no-wrap
14154 msgid ""
14155 " struct guestfs_lvm_pv {\n"
14156 "   char *pv_name;\n"
14157 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14158 "   char pv_uuid[32];\n"
14159 "   char *pv_fmt;\n"
14160 "   uint64_t pv_size;\n"
14161 "   uint64_t dev_size;\n"
14162 "   uint64_t pv_free;\n"
14163 "   uint64_t pv_used;\n"
14164 "   char *pv_attr;\n"
14165 "   int64_t pv_pe_count;\n"
14166 "   int64_t pv_pe_alloc_count;\n"
14167 "   char *pv_tags;\n"
14168 "   uint64_t pe_start;\n"
14169 "   int64_t pv_mda_count;\n"
14170 "   uint64_t pv_mda_free;\n"
14171 " };\n"
14172 " \n"
14173 msgstr ""
14174
14175 # type: verbatim
14176 #: ../src/guestfs-structs.pod:36
14177 #, no-wrap
14178 msgid ""
14179 " struct guestfs_lvm_pv_list {\n"
14180 "   uint32_t len; /* Number of elements in list. */\n"
14181 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
14182 " };\n"
14183 " \n"
14184 msgstr ""
14185
14186 # type: verbatim
14187 #: ../src/guestfs-structs.pod:41
14188 #, no-wrap
14189 msgid ""
14190 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
14191 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
14192 "\n"
14193 msgstr ""
14194
14195 # type: =head2
14196 #: ../src/guestfs-structs.pod:44
14197 msgid "guestfs_lvm_vg"
14198 msgstr ""
14199
14200 # type: verbatim
14201 #: ../src/guestfs-structs.pod:46
14202 #, no-wrap
14203 msgid ""
14204 " struct guestfs_lvm_vg {\n"
14205 "   char *vg_name;\n"
14206 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14207 "   char vg_uuid[32];\n"
14208 "   char *vg_fmt;\n"
14209 "   char *vg_attr;\n"
14210 "   uint64_t vg_size;\n"
14211 "   uint64_t vg_free;\n"
14212 "   char *vg_sysid;\n"
14213 "   uint64_t vg_extent_size;\n"
14214 "   int64_t vg_extent_count;\n"
14215 "   int64_t vg_free_count;\n"
14216 "   int64_t max_lv;\n"
14217 "   int64_t max_pv;\n"
14218 "   int64_t pv_count;\n"
14219 "   int64_t lv_count;\n"
14220 "   int64_t snap_count;\n"
14221 "   int64_t vg_seqno;\n"
14222 "   char *vg_tags;\n"
14223 "   int64_t vg_mda_count;\n"
14224 "   uint64_t vg_mda_free;\n"
14225 " };\n"
14226 " \n"
14227 msgstr ""
14228
14229 # type: verbatim
14230 #: ../src/guestfs-structs.pod:69
14231 #, no-wrap
14232 msgid ""
14233 " struct guestfs_lvm_vg_list {\n"
14234 "   uint32_t len; /* Number of elements in list. */\n"
14235 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
14236 " };\n"
14237 " \n"
14238 msgstr ""
14239
14240 # type: verbatim
14241 #: ../src/guestfs-structs.pod:74
14242 #, no-wrap
14243 msgid ""
14244 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
14245 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
14246 "\n"
14247 msgstr ""
14248
14249 # type: =head2
14250 #: ../src/guestfs-structs.pod:77
14251 msgid "guestfs_lvm_lv"
14252 msgstr ""
14253
14254 # type: verbatim
14255 #: ../src/guestfs-structs.pod:79
14256 #, no-wrap
14257 msgid ""
14258 " struct guestfs_lvm_lv {\n"
14259 "   char *lv_name;\n"
14260 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14261 "   char lv_uuid[32];\n"
14262 "   char *lv_attr;\n"
14263 "   int64_t lv_major;\n"
14264 "   int64_t lv_minor;\n"
14265 "   int64_t lv_kernel_major;\n"
14266 "   int64_t lv_kernel_minor;\n"
14267 "   uint64_t lv_size;\n"
14268 "   int64_t seg_count;\n"
14269 "   char *origin;\n"
14270 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14271 "   float snap_percent;\n"
14272 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14273 "   float copy_percent;\n"
14274 "   char *move_pv;\n"
14275 "   char *lv_tags;\n"
14276 "   char *mirror_log;\n"
14277 "   char *modules;\n"
14278 " };\n"
14279 " \n"
14280 msgstr ""
14281
14282 # type: verbatim
14283 #: ../src/guestfs-structs.pod:101
14284 #, no-wrap
14285 msgid ""
14286 " struct guestfs_lvm_lv_list {\n"
14287 "   uint32_t len; /* Number of elements in list. */\n"
14288 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
14289 " };\n"
14290 " \n"
14291 msgstr ""
14292
14293 # type: verbatim
14294 #: ../src/guestfs-structs.pod:106
14295 #, no-wrap
14296 msgid ""
14297 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
14298 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
14299 "\n"
14300 msgstr ""
14301
14302 # type: verbatim
14303 #: ../src/guestfs-structs.pod:111
14304 #, no-wrap
14305 msgid ""
14306 " struct guestfs_stat {\n"
14307 "   int64_t dev;\n"
14308 "   int64_t ino;\n"
14309 "   int64_t mode;\n"
14310 "   int64_t nlink;\n"
14311 "   int64_t uid;\n"
14312 "   int64_t gid;\n"
14313 "   int64_t rdev;\n"
14314 "   int64_t size;\n"
14315 "   int64_t blksize;\n"
14316 "   int64_t blocks;\n"
14317 "   int64_t atime;\n"
14318 "   int64_t mtime;\n"
14319 "   int64_t ctime;\n"
14320 " };\n"
14321 " \n"
14322 msgstr ""
14323
14324 # type: verbatim
14325 #: ../src/guestfs-structs.pod:127
14326 #, no-wrap
14327 msgid ""
14328 " struct guestfs_stat_list {\n"
14329 "   uint32_t len; /* Number of elements in list. */\n"
14330 "   struct guestfs_stat *val; /* Elements. */\n"
14331 " };\n"
14332 " \n"
14333 msgstr ""
14334
14335 # type: verbatim
14336 #: ../src/guestfs-structs.pod:132
14337 #, no-wrap
14338 msgid ""
14339 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
14340 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
14341 "\n"
14342 msgstr ""
14343
14344 # type: verbatim
14345 #: ../src/guestfs-structs.pod:137
14346 #, no-wrap
14347 msgid ""
14348 " struct guestfs_statvfs {\n"
14349 "   int64_t bsize;\n"
14350 "   int64_t frsize;\n"
14351 "   int64_t blocks;\n"
14352 "   int64_t bfree;\n"
14353 "   int64_t bavail;\n"
14354 "   int64_t files;\n"
14355 "   int64_t ffree;\n"
14356 "   int64_t favail;\n"
14357 "   int64_t fsid;\n"
14358 "   int64_t flag;\n"
14359 "   int64_t namemax;\n"
14360 " };\n"
14361 " \n"
14362 msgstr ""
14363
14364 # type: verbatim
14365 #: ../src/guestfs-structs.pod:151
14366 #, no-wrap
14367 msgid ""
14368 " struct guestfs_statvfs_list {\n"
14369 "   uint32_t len; /* Number of elements in list. */\n"
14370 "   struct guestfs_statvfs *val; /* Elements. */\n"
14371 " };\n"
14372 " \n"
14373 msgstr ""
14374
14375 # type: verbatim
14376 #: ../src/guestfs-structs.pod:156
14377 #, no-wrap
14378 msgid ""
14379 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
14380 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
14381 "\n"
14382 msgstr ""
14383
14384 # type: =head2
14385 #: ../src/guestfs-structs.pod:159
14386 msgid "guestfs_dirent"
14387 msgstr ""
14388
14389 # type: verbatim
14390 #: ../src/guestfs-structs.pod:161
14391 #, no-wrap
14392 msgid ""
14393 " struct guestfs_dirent {\n"
14394 "   int64_t ino;\n"
14395 "   char ftyp;\n"
14396 "   char *name;\n"
14397 " };\n"
14398 " \n"
14399 msgstr ""
14400
14401 # type: verbatim
14402 #: ../src/guestfs-structs.pod:167
14403 #, no-wrap
14404 msgid ""
14405 " struct guestfs_dirent_list {\n"
14406 "   uint32_t len; /* Number of elements in list. */\n"
14407 "   struct guestfs_dirent *val; /* Elements. */\n"
14408 " };\n"
14409 " \n"
14410 msgstr ""
14411
14412 # type: verbatim
14413 #: ../src/guestfs-structs.pod:172
14414 #, no-wrap
14415 msgid ""
14416 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
14417 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
14418 "\n"
14419 msgstr ""
14420
14421 # type: verbatim
14422 #: ../src/guestfs-structs.pod:177
14423 #, no-wrap
14424 msgid ""
14425 " struct guestfs_version {\n"
14426 "   int64_t major;\n"
14427 "   int64_t minor;\n"
14428 "   int64_t release;\n"
14429 "   char *extra;\n"
14430 " };\n"
14431 " \n"
14432 msgstr ""
14433
14434 # type: verbatim
14435 #: ../src/guestfs-structs.pod:184
14436 #, no-wrap
14437 msgid ""
14438 " struct guestfs_version_list {\n"
14439 "   uint32_t len; /* Number of elements in list. */\n"
14440 "   struct guestfs_version *val; /* Elements. */\n"
14441 " };\n"
14442 " \n"
14443 msgstr ""
14444
14445 # type: verbatim
14446 #: ../src/guestfs-structs.pod:189
14447 #, no-wrap
14448 msgid ""
14449 " void guestfs_free_version (struct guestfs_free_version *);\n"
14450 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
14451 "\n"
14452 msgstr ""
14453
14454 # type: =head2
14455 #: ../src/guestfs-structs.pod:192
14456 msgid "guestfs_xattr"
14457 msgstr ""
14458
14459 # type: verbatim
14460 #: ../src/guestfs-structs.pod:194
14461 #, no-wrap
14462 msgid ""
14463 " struct guestfs_xattr {\n"
14464 "   char *attrname;\n"
14465 "   /* The next two fields describe a byte array. */\n"
14466 "   uint32_t attrval_len;\n"
14467 "   char *attrval;\n"
14468 " };\n"
14469 " \n"
14470 msgstr ""
14471
14472 # type: verbatim
14473 #: ../src/guestfs-structs.pod:201
14474 #, no-wrap
14475 msgid ""
14476 " struct guestfs_xattr_list {\n"
14477 "   uint32_t len; /* Number of elements in list. */\n"
14478 "   struct guestfs_xattr *val; /* Elements. */\n"
14479 " };\n"
14480 " \n"
14481 msgstr ""
14482
14483 # type: verbatim
14484 #: ../src/guestfs-structs.pod:206
14485 #, no-wrap
14486 msgid ""
14487 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
14488 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
14489 "\n"
14490 msgstr ""
14491
14492 # type: =head2
14493 #: ../src/guestfs-structs.pod:209
14494 msgid "guestfs_inotify_event"
14495 msgstr ""
14496
14497 # type: verbatim
14498 #: ../src/guestfs-structs.pod:211
14499 #, no-wrap
14500 msgid ""
14501 " struct guestfs_inotify_event {\n"
14502 "   int64_t in_wd;\n"
14503 "   uint32_t in_mask;\n"
14504 "   uint32_t in_cookie;\n"
14505 "   char *in_name;\n"
14506 " };\n"
14507 " \n"
14508 msgstr ""
14509
14510 # type: verbatim
14511 #: ../src/guestfs-structs.pod:218
14512 #, no-wrap
14513 msgid ""
14514 " struct guestfs_inotify_event_list {\n"
14515 "   uint32_t len; /* Number of elements in list. */\n"
14516 "   struct guestfs_inotify_event *val; /* Elements. */\n"
14517 " };\n"
14518 " \n"
14519 msgstr ""
14520
14521 # type: verbatim
14522 #: ../src/guestfs-structs.pod:223
14523 #, no-wrap
14524 msgid ""
14525 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
14526 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
14527 "\n"
14528 msgstr ""
14529
14530 # type: =head2
14531 #: ../src/guestfs-structs.pod:226
14532 msgid "guestfs_partition"
14533 msgstr ""
14534
14535 # type: verbatim
14536 #: ../src/guestfs-structs.pod:228
14537 #, no-wrap
14538 msgid ""
14539 " struct guestfs_partition {\n"
14540 "   int32_t part_num;\n"
14541 "   uint64_t part_start;\n"
14542 "   uint64_t part_end;\n"
14543 "   uint64_t part_size;\n"
14544 " };\n"
14545 " \n"
14546 msgstr ""
14547
14548 # type: verbatim
14549 #: ../src/guestfs-structs.pod:235
14550 #, no-wrap
14551 msgid ""
14552 " struct guestfs_partition_list {\n"
14553 "   uint32_t len; /* Number of elements in list. */\n"
14554 "   struct guestfs_partition *val; /* Elements. */\n"
14555 " };\n"
14556 " \n"
14557 msgstr ""
14558
14559 # type: verbatim
14560 #: ../src/guestfs-structs.pod:240
14561 #, no-wrap
14562 msgid ""
14563 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14564 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14565 "\n"
14566 msgstr ""
14567
14568 # type: textblock
14569 #: ../fish/guestfish.pod:5
14570 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14571 msgstr ""
14572
14573 # type: verbatim
14574 #: ../fish/guestfish.pod:9
14575 #, no-wrap
14576 msgid ""
14577 " guestfish [--options] [commands]\n"
14578 "\n"
14579 msgstr ""
14580
14581 # type: verbatim
14582 #: ../fish/guestfish.pod:11
14583 #, no-wrap
14584 msgid ""
14585 " guestfish\n"
14586 "\n"
14587 msgstr ""
14588
14589 # type: verbatim
14590 #: ../fish/guestfish.pod:13
14591 #, no-wrap
14592 msgid ""
14593 " guestfish -a disk.img\n"
14594 "\n"
14595 msgstr ""
14596
14597 # type: verbatim
14598 #: ../fish/guestfish.pod:15
14599 #, no-wrap
14600 msgid ""
14601 " guestfish -a disk.img -m dev[:mountpoint]\n"
14602 "\n"
14603 msgstr ""
14604
14605 # type: verbatim
14606 #: ../fish/guestfish.pod:17
14607 #, no-wrap
14608 msgid ""
14609 " guestfish -d libvirt-domain\n"
14610 "\n"
14611 msgstr ""
14612
14613 # type: verbatim
14614 #: ../fish/guestfish.pod:19
14615 #, no-wrap
14616 msgid ""
14617 " guestfish -a disk.img -i\n"
14618 "\n"
14619 msgstr ""
14620
14621 # type: verbatim
14622 #: ../fish/guestfish.pod:21
14623 #, no-wrap
14624 msgid ""
14625 " guestfish -d libvirt-domain -i\n"
14626 "\n"
14627 msgstr ""
14628
14629 # type: =head1
14630 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45
14631 #: ../tools/virt-rescue.pl:41 ../tools/virt-tar.pl:60
14632 #: ../tools/virt-win-reg.pl:52
14633 msgid "WARNING"
14634 msgstr ""
14635
14636 # type: textblock
14637 #: ../fish/guestfish.pod:25
14638 msgid ""
14639 "Using guestfish in read/write mode on live virtual machines can be "
14640 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14641 "option to use guestfish safely if the disk image or virtual machine might be "
14642 "live."
14643 msgstr ""
14644
14645 # type: =head1
14646 #: ../fish/guestfish.pod:30 ../fish/guestfish.pod:736
14647 #: ../fuse/guestmount.pod:35 ../tools/virt-cat.pl:51 ../tools/virt-edit.pl:59
14648 #: ../tools/virt-resize.pl:66 ../tools/virt-tar.pl:46
14649 msgid "EXAMPLES"
14650 msgstr ""
14651
14652 # type: =head2
14653 #: ../fish/guestfish.pod:32
14654 msgid "As an interactive shell"
14655 msgstr ""
14656
14657 # type: verbatim
14658 #: ../fish/guestfish.pod:34
14659 #, no-wrap
14660 msgid ""
14661 " $ guestfish\n"
14662 " \n"
14663 msgstr ""
14664
14665 # type: verbatim
14666 #: ../fish/guestfish.pod:36
14667 #, no-wrap
14668 msgid ""
14669 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14670 " editing virtual machine filesystems.\n"
14671 " \n"
14672 msgstr ""
14673
14674 # type: verbatim
14675 #: ../fish/guestfish.pod:39
14676 #, no-wrap
14677 msgid ""
14678 " Type: 'help' for a list of commands\n"
14679 "       'man' to read the manual\n"
14680 "       'quit' to quit the shell\n"
14681 " \n"
14682 msgstr ""
14683
14684 # type: verbatim
14685 #: ../fish/guestfish.pod:43
14686 #, no-wrap
14687 msgid ""
14688 " ><fs> man\n"
14689 "\n"
14690 msgstr ""
14691
14692 # type: =head2
14693 #: ../fish/guestfish.pod:45
14694 msgid "From shell scripts"
14695 msgstr ""
14696
14697 # type: textblock
14698 #: ../fish/guestfish.pod:47
14699 msgid "Create a new C</etc/motd> file in a guest:"
14700 msgstr ""
14701
14702 # type: verbatim
14703 #: ../fish/guestfish.pod:49
14704 #, no-wrap
14705 msgid ""
14706 " guestfish <<_EOF_\n"
14707 " add disk.img\n"
14708 " run\n"
14709 " mount /dev/vg_guest/lv_root /\n"
14710 " write /etc/motd \"Welcome, new users\"\n"
14711 " _EOF_\n"
14712 "\n"
14713 msgstr ""
14714
14715 # type: textblock
14716 #: ../fish/guestfish.pod:56
14717 msgid "List the LVM logical volumes in a guest:"
14718 msgstr ""
14719
14720 # type: verbatim
14721 #: ../fish/guestfish.pod:58
14722 #, no-wrap
14723 msgid ""
14724 " guestfish -a disk.img --ro <<_EOF_\n"
14725 " run\n"
14726 " lvs\n"
14727 " _EOF_\n"
14728 "\n"
14729 msgstr ""
14730
14731 # type: =head2
14732 #: ../fish/guestfish.pod:63
14733 msgid "On one command line"
14734 msgstr ""
14735
14736 # type: textblock
14737 #: ../fish/guestfish.pod:65
14738 msgid "Update C</etc/resolv.conf> in a guest:"
14739 msgstr ""
14740
14741 # type: verbatim
14742 #: ../fish/guestfish.pod:67
14743 #, no-wrap
14744 msgid ""
14745 " guestfish \\\n"
14746 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14747 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14748 "\n"
14749 msgstr ""
14750
14751 # type: textblock
14752 #: ../fish/guestfish.pod:71
14753 msgid "Edit C</boot/grub/grub.conf> interactively:"
14754 msgstr ""
14755
14756 # type: verbatim
14757 #: ../fish/guestfish.pod:73
14758 #, no-wrap
14759 msgid ""
14760 " guestfish --add disk.img \\\n"
14761 "   --mount /dev/vg_guest/lv_root \\\n"
14762 "   --mount /dev/sda1:/boot \\\n"
14763 "   edit /boot/grub/grub.conf\n"
14764 "\n"
14765 msgstr ""
14766
14767 # type: =head2
14768 #: ../fish/guestfish.pod:78
14769 msgid "Mount disks automatically"
14770 msgstr ""
14771
14772 # type: textblock
14773 #: ../fish/guestfish.pod:80
14774 msgid ""
14775 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
14776 msgstr ""
14777
14778 # type: verbatim
14779 #: ../fish/guestfish.pod:83
14780 #, no-wrap
14781 msgid ""
14782 " guestfish --ro -a disk.img -i cat /etc/group\n"
14783 "\n"
14784 msgstr ""
14785
14786 # type: verbatim
14787 #: ../fish/guestfish.pod:85
14788 #, no-wrap
14789 msgid ""
14790 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14791 "\n"
14792 msgstr ""
14793
14794 # type: =head2
14795 #: ../fish/guestfish.pod:87
14796 msgid "As a script interpreter"
14797 msgstr ""
14798
14799 # type: textblock
14800 #: ../fish/guestfish.pod:89
14801 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14802 msgstr ""
14803
14804 # type: verbatim
14805 #: ../fish/guestfish.pod:91
14806 #, no-wrap
14807 msgid ""
14808 " #!/usr/bin/guestfish -f\n"
14809 " sparse test1.img 100M\n"
14810 " run\n"
14811 " part-disk /dev/sda mbr\n"
14812 " mkfs ext2 /dev/sda1\n"
14813 "\n"
14814 msgstr ""
14815
14816 # type: =head2
14817 #: ../fish/guestfish.pod:97
14818 msgid "Start with a prepared disk"
14819 msgstr ""
14820
14821 # type: textblock
14822 #: ../fish/guestfish.pod:99
14823 msgid ""
14824 "An alternate way to create a 100MB disk called C<test1.img> containing a "
14825 "single ext2-formatted partition:"
14826 msgstr ""
14827
14828 # type: verbatim
14829 #: ../fish/guestfish.pod:102
14830 #, no-wrap
14831 msgid ""
14832 " guestfish -N fs\n"
14833 "\n"
14834 msgstr ""
14835
14836 # type: textblock
14837 #: ../fish/guestfish.pod:104
14838 msgid "To list what is available do:"
14839 msgstr ""
14840
14841 # type: verbatim
14842 #: ../fish/guestfish.pod:106 ../fish/guestfish.pod:727
14843 #, no-wrap
14844 msgid ""
14845 " guestfish -N help | less\n"
14846 "\n"
14847 msgstr ""
14848
14849 # type: =head2
14850 #: ../fish/guestfish.pod:108
14851 msgid "Remote control"
14852 msgstr ""
14853
14854 # type: verbatim
14855 #: ../fish/guestfish.pod:110
14856 #, no-wrap
14857 msgid ""
14858 " eval `guestfish --listen --ro`\n"
14859 " guestfish --remote add disk.img\n"
14860 " guestfish --remote run\n"
14861 " guestfish --remote lvs\n"
14862 "\n"
14863 msgstr ""
14864
14865 # type: textblock
14866 #: ../fish/guestfish.pod:117
14867 msgid ""
14868 "Guestfish is a shell and command-line tool for examining and modifying "
14869 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14870 "functionality of the guestfs API, see L<guestfs(3)>."
14871 msgstr ""
14872
14873 # type: textblock
14874 #: ../fish/guestfish.pod:121
14875 msgid ""
14876 "Guestfish gives you structured access to the libguestfs API, from shell "
14877 "scripts or the command line or interactively.  If you want to rescue a "
14878 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14879 "command."
14880 msgstr ""
14881
14882 # type: =head1
14883 #: ../fish/guestfish.pod:126 ../test-tool/libguestfs-test-tool.pod:37
14884 #: ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75
14885 #: ../tools/virt-cat.pl:80 ../tools/virt-df.pl:71 ../tools/virt-edit.pl:73
14886 #: ../tools/virt-list-filesystems.pl:50 ../tools/virt-list-partitions.pl:51
14887 #: ../tools/virt-ls.pl:79 ../tools/virt-make-fs.pl:153
14888 #: ../tools/virt-rescue.pl:103 ../tools/virt-resize.pl:233
14889 #: ../tools/virt-tar.pl:99 ../tools/virt-win-reg.pl:172
14890 msgid "OPTIONS"
14891 msgstr ""
14892
14893 # type: =item
14894 #: ../fish/guestfish.pod:130 ../fuse/guestmount.pod:94
14895 #: ../inspector/virt-inspector.pl:83 ../tools/virt-cat.pl:88
14896 #: ../tools/virt-df.pl:79 ../tools/virt-edit.pl:81
14897 #: ../tools/virt-list-filesystems.pl:58 ../tools/virt-list-partitions.pl:59
14898 #: ../tools/virt-ls.pl:87 ../tools/virt-make-fs.pl:161
14899 #: ../tools/virt-rescue.pl:111 ../tools/virt-resize.pl:241
14900 #: ../tools/virt-tar.pl:107 ../tools/virt-win-reg.pl:180
14901 msgid "B<--help>"
14902 msgstr ""
14903
14904 # type: textblock
14905 #: ../fish/guestfish.pod:132
14906 msgid "Displays general help on options."
14907 msgstr ""
14908
14909 # type: =item
14910 #: ../fish/guestfish.pod:134
14911 msgid "B<-h> | B<--cmd-help>"
14912 msgstr ""
14913
14914 # type: textblock
14915 #: ../fish/guestfish.pod:136
14916 msgid "Lists all available guestfish commands."
14917 msgstr ""
14918
14919 # type: =item
14920 #: ../fish/guestfish.pod:138
14921 msgid "B<-h cmd> | B<--cmd-help cmd>"
14922 msgstr ""
14923
14924 # type: textblock
14925 #: ../fish/guestfish.pod:140
14926 msgid "Displays detailed help on a single command C<cmd>."
14927 msgstr ""
14928
14929 # type: =item
14930 #: ../fish/guestfish.pod:142 ../fuse/guestmount.pod:74
14931 msgid "B<-a image> | B<--add image>"
14932 msgstr ""
14933
14934 # type: textblock
14935 #: ../fish/guestfish.pod:144
14936 msgid "Add a block device or virtual machine image to the shell."
14937 msgstr ""
14938
14939 # type: =item
14940 #: ../fish/guestfish.pod:146
14941 msgid "B<-c URI> | B<--connect URI>"
14942 msgstr ""
14943
14944 # type: textblock
14945 #: ../fish/guestfish.pod:148
14946 msgid ""
14947 "When used in conjunction with the I<-d> option, this specifies the libvirt "
14948 "URI to use.  The default is to use the default libvirt connection."
14949 msgstr ""
14950
14951 # type: =item
14952 #: ../fish/guestfish.pod:152
14953 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
14954 msgstr ""
14955
14956 # type: textblock
14957 #: ../fish/guestfish.pod:154
14958 msgid ""
14959 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
14960 "used, then any libvirt domain can be used.  However in write mode, only "
14961 "libvirt domains which are shut down can be named here."
14962 msgstr ""
14963
14964 # type: =item
14965 #: ../fish/guestfish.pod:158
14966 msgid "B<-D> | B<--no-dest-paths>"
14967 msgstr ""
14968
14969 # type: textblock
14970 #: ../fish/guestfish.pod:160
14971 msgid ""
14972 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
14973 "to hit the tab key to complete paths on the guest filesystem, but this "
14974 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
14975 "allow this feature to be disabled."
14976 msgstr ""
14977
14978 # type: =item
14979 #: ../fish/guestfish.pod:165
14980 msgid "B<--echo-keys>"
14981 msgstr ""
14982
14983 # type: textblock
14984 #: ../fish/guestfish.pod:167
14985 msgid ""
14986 "When prompting for keys and passphrases, guestfish normally turns echoing "
14987 "off so you cannot see what you are typing.  If you are not worried about "
14988 "Tempest attacks and there is no one else in the room you can specify this "
14989 "flag to see what you are typing."
14990 msgstr ""
14991
14992 # type: =item
14993 #: ../fish/guestfish.pod:172
14994 msgid "B<-f file> | B<--file file>"
14995 msgstr ""
14996
14997 # type: textblock
14998 #: ../fish/guestfish.pod:174
14999 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
15000 msgstr ""
15001
15002 # type: verbatim
15003 #: ../fish/guestfish.pod:177
15004 #, no-wrap
15005 msgid ""
15006 " #!/usr/bin/guestfish -f\n"
15007 "\n"
15008 msgstr ""
15009
15010 # type: =item
15011 #: ../fish/guestfish.pod:179
15012 msgid "B<-i> | B<--inspector>"
15013 msgstr ""
15014
15015 # type: textblock
15016 #: ../fish/guestfish.pod:181
15017 msgid ""
15018 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
15019 "system and mount filesystems as they would be mounted on the real virtual "
15020 "machine."
15021 msgstr ""
15022
15023 # type: textblock
15024 #: ../fish/guestfish.pod:185
15025 msgid "Typical usage is either:"
15026 msgstr ""
15027
15028 # type: verbatim
15029 #: ../fish/guestfish.pod:187
15030 #, no-wrap
15031 msgid ""
15032 " guestfish -d myguest -i\n"
15033 "\n"
15034 msgstr ""
15035
15036 # type: textblock
15037 #: ../fish/guestfish.pod:189
15038 msgid "(for an inactive libvirt domain called I<myguest>), or:"
15039 msgstr ""
15040
15041 # type: verbatim
15042 #: ../fish/guestfish.pod:191
15043 #, no-wrap
15044 msgid ""
15045 " guestfish --ro -d myguest -i\n"
15046 "\n"
15047 msgstr ""
15048
15049 # type: textblock
15050 #: ../fish/guestfish.pod:193
15051 msgid "(for active domains, readonly), or specify the block device directly:"
15052 msgstr ""
15053
15054 # type: verbatim
15055 #: ../fish/guestfish.pod:195
15056 #, no-wrap
15057 msgid ""
15058 " guestfish -a /dev/Guests/MyGuest -i\n"
15059 "\n"
15060 msgstr ""
15061
15062 # type: textblock
15063 #: ../fish/guestfish.pod:197
15064 msgid ""
15065 "Note that the command line syntax changed slightly over older versions of "
15066 "guestfish.  You can still use the old syntax:"
15067 msgstr ""
15068
15069 # type: verbatim
15070 #: ../fish/guestfish.pod:200
15071 #, no-wrap
15072 msgid ""
15073 " guestfish [--ro] -i disk.img\n"
15074 "\n"
15075 msgstr ""
15076
15077 # type: verbatim
15078 #: ../fish/guestfish.pod:202
15079 #, no-wrap
15080 msgid ""
15081 " guestfish [--ro] -i libvirt-domain\n"
15082 "\n"
15083 msgstr ""
15084
15085 # type: =item
15086 #: ../fish/guestfish.pod:204
15087 msgid "B<--keys-from-stdin>"
15088 msgstr ""
15089
15090 # type: textblock
15091 #: ../fish/guestfish.pod:206
15092 msgid ""
15093 "Read key or passphrase parameters from stdin.  The default is to try to read "
15094 "passphrases from the user by opening C</dev/tty>."
15095 msgstr ""
15096
15097 # type: =item
15098 #: ../fish/guestfish.pod:209
15099 msgid "B<--listen>"
15100 msgstr ""
15101
15102 # type: textblock
15103 #: ../fish/guestfish.pod:211
15104 msgid ""
15105 "Fork into the background and listen for remote commands.  See section L</"
15106 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
15107 msgstr ""
15108
15109 # type: =item
15110 #: ../fish/guestfish.pod:214
15111 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
15112 msgstr ""
15113
15114 # type: textblock
15115 #: ../fish/guestfish.pod:216
15116 msgid "Mount the named partition or logical volume on the given mountpoint."
15117 msgstr ""
15118
15119 # type: textblock
15120 #: ../fish/guestfish.pod:218
15121 msgid "If the mountpoint is omitted, it defaults to C</>."
15122 msgstr ""
15123
15124 # type: textblock
15125 #: ../fish/guestfish.pod:220
15126 msgid "You have to mount something on C</> before most commands will work."
15127 msgstr ""
15128
15129 # type: textblock
15130 #: ../fish/guestfish.pod:222
15131 msgid ""
15132 "If any I<-m> or I<--mount> options are given, the guest is automatically "
15133 "launched."
15134 msgstr ""
15135
15136 # type: textblock
15137 #: ../fish/guestfish.pod:225
15138 msgid ""
15139 "If you don't know what filesystems a disk image contains, you can either run "
15140 "guestfish without this option, then list the partitions and LVs available "
15141 "(see L</list-partitions> and L</lvs> commands), or you can use the L<virt-"
15142 "list-filesystems(1)> program."
15143 msgstr ""
15144
15145 # type: =item
15146 #: ../fish/guestfish.pod:230 ../fuse/guestmount.pod:106
15147 msgid "B<-n> | B<--no-sync>"
15148 msgstr ""
15149
15150 # type: textblock
15151 #: ../fish/guestfish.pod:232
15152 msgid ""
15153 "Disable autosync.  This is enabled by default.  See the discussion of "
15154 "autosync in the L<guestfs(3)> manpage."
15155 msgstr ""
15156
15157 # type: =item
15158 #: ../fish/guestfish.pod:235
15159 msgid "B<-N type> | B<--new type> | B<-N help>"
15160 msgstr ""
15161
15162 # type: textblock
15163 #: ../fish/guestfish.pod:237
15164 msgid ""
15165 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
15166 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
15167 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
15168 "IMAGES> below."
15169 msgstr ""
15170
15171 # type: =item
15172 #: ../fish/guestfish.pod:242
15173 msgid "B<--progress-bars>"
15174 msgstr ""
15175
15176 # type: textblock
15177 #: ../fish/guestfish.pod:244
15178 msgid "Enable progress bars, even when guestfish is used non-interactively."
15179 msgstr ""
15180
15181 # type: textblock
15182 #: ../fish/guestfish.pod:246
15183 msgid ""
15184 "Progress bars are enabled by default when guestfish is used as an "
15185 "interactive shell."
15186 msgstr ""
15187
15188 # type: =item
15189 #: ../fish/guestfish.pod:249
15190 msgid "B<--no-progress-bars>"
15191 msgstr ""
15192
15193 # type: textblock
15194 #: ../fish/guestfish.pod:251
15195 msgid "Disable progress bars."
15196 msgstr ""
15197
15198 # type: =item
15199 #: ../fish/guestfish.pod:253
15200 msgid "B<--remote[=pid]>"
15201 msgstr ""
15202
15203 # type: textblock
15204 #: ../fish/guestfish.pod:255
15205 msgid ""
15206 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
15207 "CONTROL GUESTFISH OVER A SOCKET> below."
15208 msgstr ""
15209
15210 # type: =item
15211 #: ../fish/guestfish.pod:258 ../fuse/guestmount.pod:148
15212 msgid "B<-r> | B<--ro>"
15213 msgstr ""
15214
15215 # type: textblock
15216 #: ../fish/guestfish.pod:260
15217 msgid ""
15218 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
15219 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
15220 msgstr ""
15221
15222 # type: textblock
15223 #: ../fish/guestfish.pod:263 ../tools/virt-rescue.pl:162
15224 msgid ""
15225 "The option must always be used if the disk image or virtual machine might be "
15226 "running, and is generally recommended in cases where you don't need write "
15227 "access to the disk."
15228 msgstr ""
15229
15230 # type: textblock
15231 #: ../fish/guestfish.pod:267
15232 msgid ""
15233 "Note that prepared disk images created with I<-N> are not affected by the "
15234 "I<--ro> option."
15235 msgstr ""
15236
15237 # type: =item
15238 #: ../fish/guestfish.pod:270 ../fuse/guestmount.pod:158
15239 #: ../tools/virt-rescue.pl:170
15240 msgid "B<--selinux>"
15241 msgstr ""
15242
15243 # type: textblock
15244 #: ../fish/guestfish.pod:272
15245 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
15246 msgstr ""
15247
15248 # type: =item
15249 #: ../fish/guestfish.pod:274 ../fuse/guestmount.pod:168
15250 msgid "B<-v> | B<--verbose>"
15251 msgstr ""
15252
15253 # type: textblock
15254 #: ../fish/guestfish.pod:276
15255 msgid ""
15256 "Enable very verbose messages.  This is particularly useful if you find a bug."
15257 msgstr ""
15258
15259 # type: =item
15260 #: ../fish/guestfish.pod:279 ../fuse/guestmount.pod:172
15261 msgid "B<-V> | B<--version>"
15262 msgstr ""
15263
15264 # type: textblock
15265 #: ../fish/guestfish.pod:281
15266 msgid "Display the guestfish / libguestfs version number and exit."
15267 msgstr ""
15268
15269 # type: =item
15270 #: ../fish/guestfish.pod:283
15271 msgid "B<-x>"
15272 msgstr ""
15273
15274 # type: textblock
15275 #: ../fish/guestfish.pod:285
15276 msgid "Echo each command before executing it."
15277 msgstr ""
15278
15279 # type: =head1
15280 #: ../fish/guestfish.pod:289
15281 msgid "COMMANDS ON COMMAND LINE"
15282 msgstr ""
15283
15284 # type: textblock
15285 #: ../fish/guestfish.pod:291
15286 msgid ""
15287 "Any additional (non-option) arguments are treated as commands to execute."
15288 msgstr ""
15289
15290 # type: textblock
15291 #: ../fish/guestfish.pod:294
15292 msgid ""
15293 "Commands to execute should be separated by a colon (C<:>), where the colon "
15294 "is a separate parameter.  Thus:"
15295 msgstr ""
15296
15297 # type: verbatim
15298 #: ../fish/guestfish.pod:297
15299 #, no-wrap
15300 msgid ""
15301 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
15302 "\n"
15303 msgstr ""
15304
15305 # type: textblock
15306 #: ../fish/guestfish.pod:299
15307 msgid ""
15308 "If there are no additional arguments, then we enter a shell, either an "
15309 "interactive shell with a prompt (if the input is a terminal) or a non-"
15310 "interactive shell."
15311 msgstr ""
15312
15313 # type: textblock
15314 #: ../fish/guestfish.pod:303
15315 msgid ""
15316 "In either command line mode or non-interactive shell, the first command that "
15317 "gives an error causes the whole shell to exit.  In interactive mode (with a "
15318 "prompt) if a command fails, you can continue to enter commands."
15319 msgstr ""
15320
15321 # type: =head1
15322 #: ../fish/guestfish.pod:308
15323 msgid "USING launch (OR run)"
15324 msgstr ""
15325
15326 # type: textblock
15327 #: ../fish/guestfish.pod:310
15328 msgid ""
15329 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
15330 "then launch it, then mount any disks you need, and finally issue actions/"
15331 "commands.  So the general order of the day is:"
15332 msgstr ""
15333
15334 # type: textblock
15335 #: ../fish/guestfish.pod:318
15336 msgid "add or -a/--add"
15337 msgstr ""
15338
15339 # type: textblock
15340 #: ../fish/guestfish.pod:322
15341 msgid "launch (aka run)"
15342 msgstr ""
15343
15344 # type: textblock
15345 #: ../fish/guestfish.pod:326
15346 msgid "mount or -m/--mount"
15347 msgstr ""
15348
15349 # type: textblock
15350 #: ../fish/guestfish.pod:330
15351 msgid "any other commands"
15352 msgstr ""
15353
15354 # type: textblock
15355 #: ../fish/guestfish.pod:334
15356 msgid ""
15357 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
15358 "guest before mounting or performing any other commands."
15359 msgstr ""
15360
15361 # type: textblock
15362 #: ../fish/guestfish.pod:337
15363 msgid ""
15364 "The only exception is that if the I<-m> or I<--mount> option was given, the "
15365 "guest is automatically run for you (simply because guestfish can't mount the "
15366 "disks you asked for without doing this)."
15367 msgstr ""
15368
15369 # type: =head1
15370 #: ../fish/guestfish.pod:341
15371 msgid "QUOTING"
15372 msgstr ""
15373
15374 # type: textblock
15375 #: ../fish/guestfish.pod:343
15376 msgid ""
15377 "You can quote ordinary parameters using either single or double quotes.  For "
15378 "example:"
15379 msgstr ""
15380
15381 # type: verbatim
15382 #: ../fish/guestfish.pod:346
15383 #, no-wrap
15384 msgid ""
15385 " add \"file with a space.img\"\n"
15386 "\n"
15387 msgstr ""
15388
15389 # type: verbatim
15390 #: ../fish/guestfish.pod:348
15391 #, no-wrap
15392 msgid ""
15393 " rm '/file name'\n"
15394 "\n"
15395 msgstr ""
15396
15397 # type: verbatim
15398 #: ../fish/guestfish.pod:350
15399 #, no-wrap
15400 msgid ""
15401 " rm '/\"'\n"
15402 "\n"
15403 msgstr ""
15404
15405 # type: textblock
15406 #: ../fish/guestfish.pod:352
15407 msgid ""
15408 "A few commands require a list of strings to be passed.  For these, use a "
15409 "whitespace-separated list, enclosed in quotes.  Strings containing "
15410 "whitespace to be passed through must be enclosed in single quotes.  A "
15411 "literal single quote must be escaped with a backslash."
15412 msgstr ""
15413
15414 # type: verbatim
15415 #: ../fish/guestfish.pod:357
15416 #, no-wrap
15417 msgid ""
15418 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
15419 " command \"/bin/echo 'foo      bar'\"\n"
15420 " command \"/bin/echo \\'foo\\'\"\n"
15421 "\n"
15422 msgstr ""
15423
15424 # type: =head1
15425 #: ../fish/guestfish.pod:361
15426 msgid "NUMBERS"
15427 msgstr ""
15428
15429 # type: textblock
15430 #: ../fish/guestfish.pod:363
15431 msgid ""
15432 "This section applies to all commands which can take integers as parameters."
15433 msgstr ""
15434
15435 # type: =head2
15436 #: ../fish/guestfish.pod:366
15437 msgid "SIZE SUFFIX"
15438 msgstr ""
15439
15440 # type: textblock
15441 #: ../fish/guestfish.pod:368
15442 msgid ""
15443 "When the command takes a parameter measured in bytes, you can use one of the "
15444 "following suffixes to specify kilobytes, megabytes and larger sizes:"
15445 msgstr ""
15446
15447 # type: =item
15448 #: ../fish/guestfish.pod:374
15449 msgid "B<k> or B<K> or B<KiB>"
15450 msgstr ""
15451
15452 # type: textblock
15453 #: ../fish/guestfish.pod:376
15454 msgid "The size in kilobytes (multiplied by 1024)."
15455 msgstr ""
15456
15457 # type: =item
15458 #: ../fish/guestfish.pod:378
15459 msgid "B<KB>"
15460 msgstr ""
15461
15462 # type: textblock
15463 #: ../fish/guestfish.pod:380
15464 msgid "The size in SI 1000 byte units."
15465 msgstr ""
15466
15467 # type: =item
15468 #: ../fish/guestfish.pod:382
15469 msgid "B<M> or B<MiB>"
15470 msgstr ""
15471
15472 # type: textblock
15473 #: ../fish/guestfish.pod:384
15474 msgid "The size in megabytes (multiplied by 1048576)."
15475 msgstr ""
15476
15477 # type: =item
15478 #: ../fish/guestfish.pod:386
15479 msgid "B<MB>"
15480 msgstr ""
15481
15482 # type: textblock
15483 #: ../fish/guestfish.pod:388
15484 msgid "The size in SI 1000000 byte units."
15485 msgstr ""
15486
15487 # type: =item
15488 #: ../fish/guestfish.pod:390
15489 msgid "B<G> or B<GiB>"
15490 msgstr ""
15491
15492 # type: textblock
15493 #: ../fish/guestfish.pod:392
15494 msgid "The size in gigabytes (multiplied by 2**30)."
15495 msgstr ""
15496
15497 # type: =item
15498 #: ../fish/guestfish.pod:394
15499 msgid "B<GB>"
15500 msgstr ""
15501
15502 # type: textblock
15503 #: ../fish/guestfish.pod:396
15504 msgid "The size in SI 10**9 byte units."
15505 msgstr ""
15506
15507 # type: =item
15508 #: ../fish/guestfish.pod:398
15509 msgid "B<T> or B<TiB>"
15510 msgstr ""
15511
15512 # type: textblock
15513 #: ../fish/guestfish.pod:400
15514 msgid "The size in terabytes (multiplied by 2**40)."
15515 msgstr ""
15516
15517 # type: =item
15518 #: ../fish/guestfish.pod:402
15519 msgid "B<TB>"
15520 msgstr ""
15521
15522 # type: textblock
15523 #: ../fish/guestfish.pod:404
15524 msgid "The size in SI 10**12 byte units."
15525 msgstr ""
15526
15527 # type: =item
15528 #: ../fish/guestfish.pod:406
15529 msgid "B<P> or B<PiB>"
15530 msgstr ""
15531
15532 # type: textblock
15533 #: ../fish/guestfish.pod:408
15534 msgid "The size in petabytes (multiplied by 2**50)."
15535 msgstr ""
15536
15537 # type: =item
15538 #: ../fish/guestfish.pod:410
15539 msgid "B<PB>"
15540 msgstr ""
15541
15542 # type: textblock
15543 #: ../fish/guestfish.pod:412
15544 msgid "The size in SI 10**15 byte units."
15545 msgstr ""
15546
15547 # type: =item
15548 #: ../fish/guestfish.pod:414
15549 msgid "B<E> or B<EiB>"
15550 msgstr ""
15551
15552 # type: textblock
15553 #: ../fish/guestfish.pod:416
15554 msgid "The size in exabytes (multiplied by 2**60)."
15555 msgstr ""
15556
15557 # type: =item
15558 #: ../fish/guestfish.pod:418
15559 msgid "B<EB>"
15560 msgstr ""
15561
15562 # type: textblock
15563 #: ../fish/guestfish.pod:420
15564 msgid "The size in SI 10**18 byte units."
15565 msgstr ""
15566
15567 # type: =item
15568 #: ../fish/guestfish.pod:422
15569 msgid "B<Z> or B<ZiB>"
15570 msgstr ""
15571
15572 # type: textblock
15573 #: ../fish/guestfish.pod:424
15574 msgid "The size in zettabytes (multiplied by 2**70)."
15575 msgstr ""
15576
15577 # type: =item
15578 #: ../fish/guestfish.pod:426
15579 msgid "B<ZB>"
15580 msgstr ""
15581
15582 # type: textblock
15583 #: ../fish/guestfish.pod:428
15584 msgid "The size in SI 10**21 byte units."
15585 msgstr ""
15586
15587 # type: =item
15588 #: ../fish/guestfish.pod:430
15589 msgid "B<Y> or B<YiB>"
15590 msgstr ""
15591
15592 # type: textblock
15593 #: ../fish/guestfish.pod:432
15594 msgid "The size in yottabytes (multiplied by 2**80)."
15595 msgstr ""
15596
15597 # type: =item
15598 #: ../fish/guestfish.pod:434
15599 msgid "B<YB>"
15600 msgstr ""
15601
15602 # type: textblock
15603 #: ../fish/guestfish.pod:436
15604 msgid "The size in SI 10**24 byte units."
15605 msgstr ""
15606
15607 # type: textblock
15608 #: ../fish/guestfish.pod:440
15609 msgid "For example:"
15610 msgstr ""
15611
15612 # type: verbatim
15613 #: ../fish/guestfish.pod:442
15614 #, no-wrap
15615 msgid ""
15616 " truncate-size /file 1G\n"
15617 "\n"
15618 msgstr ""
15619
15620 # type: textblock
15621 #: ../fish/guestfish.pod:444
15622 msgid "would truncate the file to 1 gigabyte."
15623 msgstr ""
15624
15625 # type: textblock
15626 #: ../fish/guestfish.pod:446
15627 msgid ""
15628 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
15629 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
15630 "suffix will probably not do what you expect."
15631 msgstr ""
15632
15633 # type: =head2
15634 #: ../fish/guestfish.pod:450
15635 msgid "OCTAL AND HEXADECIMAL NUMBERS"
15636 msgstr ""
15637
15638 # type: textblock
15639 #: ../fish/guestfish.pod:452
15640 msgid ""
15641 "For specifying the radix (base) use the C convention: C<0> to prefix an "
15642 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
15643 msgstr ""
15644
15645 # type: verbatim
15646 #: ../fish/guestfish.pod:455
15647 #, no-wrap
15648 msgid ""
15649 " 1234      decimal number 1234\n"
15650 " 02322     octal number, equivalent to decimal 1234\n"
15651 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
15652 "\n"
15653 msgstr ""
15654
15655 # type: textblock
15656 #: ../fish/guestfish.pod:459
15657 msgid ""
15658 "When using the C<chmod> command, you almost always want to specify an octal "
15659 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
15660 "L<chmod(1)> program):"
15661 msgstr ""
15662
15663 # type: verbatim
15664 #: ../fish/guestfish.pod:463
15665 #, no-wrap
15666 msgid ""
15667 " chmod 0777 /public  # OK\n"
15668 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
15669 "\n"
15670 msgstr ""
15671
15672 # type: textblock
15673 #: ../fish/guestfish.pod:466
15674 msgid ""
15675 "Commands that return numbers usually print them in decimal, but some "
15676 "commands print numbers in other radices (eg. C<umask> prints the mode in "
15677 "octal, preceeded by C<0>)."
15678 msgstr ""
15679
15680 # type: =head1
15681 #: ../fish/guestfish.pod:470
15682 msgid "WILDCARDS AND GLOBBING"
15683 msgstr ""
15684
15685 # type: textblock
15686 #: ../fish/guestfish.pod:472
15687 msgid ""
15688 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
15689 "(globbing) by default.  So for example the following will not do what you "
15690 "expect:"
15691 msgstr ""
15692
15693 # type: verbatim
15694 #: ../fish/guestfish.pod:476
15695 #, no-wrap
15696 msgid ""
15697 " rm-rf /home/*\n"
15698 "\n"
15699 msgstr ""
15700
15701 # type: textblock
15702 #: ../fish/guestfish.pod:478
15703 msgid ""
15704 "Assuming you don't have a directory literally called C</home/*> then the "
15705 "above command will return an error."
15706 msgstr ""
15707
15708 # type: textblock
15709 #: ../fish/guestfish.pod:481
15710 msgid "To perform wildcard expansion, use the C<glob> command."
15711 msgstr ""
15712
15713 # type: verbatim
15714 #: ../fish/guestfish.pod:483
15715 #, no-wrap
15716 msgid ""
15717 " glob rm-rf /home/*\n"
15718 "\n"
15719 msgstr ""
15720
15721 # type: textblock
15722 #: ../fish/guestfish.pod:485
15723 msgid ""
15724 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
15725 "many times), equivalent to:"
15726 msgstr ""
15727
15728 # type: verbatim
15729 #: ../fish/guestfish.pod:488
15730 #, no-wrap
15731 msgid ""
15732 " rm-rf /home/jim\n"
15733 " rm-rf /home/joe\n"
15734 " rm-rf /home/mary\n"
15735 "\n"
15736 msgstr ""
15737
15738 # type: textblock
15739 #: ../fish/guestfish.pod:492
15740 msgid "C<glob> only works on simple guest paths and not on device names."
15741 msgstr ""
15742
15743 # type: textblock
15744 #: ../fish/guestfish.pod:494
15745 msgid ""
15746 "If you have several parameters, each containing a wildcard, then glob will "
15747 "perform a cartesian product."
15748 msgstr ""
15749
15750 # type: =head1
15751 #: ../fish/guestfish.pod:497
15752 msgid "COMMENTS"
15753 msgstr ""
15754
15755 # type: textblock
15756 #: ../fish/guestfish.pod:499
15757 msgid ""
15758 "Any line which starts with a I<#> character is treated as a comment and "
15759 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15760 "a command.  For example:"
15761 msgstr ""
15762
15763 # type: verbatim
15764 #: ../fish/guestfish.pod:503
15765 #, no-wrap
15766 msgid ""
15767 " # this is a comment\n"
15768 "         # this is a comment\n"
15769 " foo # NOT a comment\n"
15770 "\n"
15771 msgstr ""
15772
15773 # type: textblock
15774 #: ../fish/guestfish.pod:507
15775 msgid "Blank lines are also ignored."
15776 msgstr ""
15777
15778 # type: =head1
15779 #: ../fish/guestfish.pod:509
15780 msgid "RUNNING COMMANDS LOCALLY"
15781 msgstr ""
15782
15783 # type: textblock
15784 #: ../fish/guestfish.pod:511
15785 msgid ""
15786 "Any line which starts with a I<!> character is treated as a command sent to "
15787 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15788 msgstr ""
15789
15790 # type: verbatim
15791 #: ../fish/guestfish.pod:515
15792 #, no-wrap
15793 msgid ""
15794 " !mkdir local\n"
15795 " tgz-out /remote local/remote-data.tar.gz\n"
15796 "\n"
15797 msgstr ""
15798
15799 # type: textblock
15800 #: ../fish/guestfish.pod:518
15801 msgid ""
15802 "will create a directory C<local> on the host, and then export the contents "
15803 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15804 "(See C<tgz-out>)."
15805 msgstr ""
15806
15807 # type: textblock
15808 #: ../fish/guestfish.pod:522
15809 msgid ""
15810 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15811 "effect, due to the way that subprocesses work in Unix."
15812 msgstr ""
15813
15814 # type: =head1
15815 #: ../fish/guestfish.pod:525
15816 msgid "PIPES"
15817 msgstr ""
15818
15819 # type: textblock
15820 #: ../fish/guestfish.pod:527
15821 msgid ""
15822 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15823 "command (a guestfish command) to the second command (any host command).  For "
15824 "example:"
15825 msgstr ""
15826
15827 # type: verbatim
15828 #: ../fish/guestfish.pod:531
15829 #, no-wrap
15830 msgid ""
15831 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
15832 "\n"
15833 msgstr ""
15834
15835 # type: textblock
15836 #: ../fish/guestfish.pod:533
15837 msgid ""
15838 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
15839 "program).  The above command would list all accounts in the guest filesystem "
15840 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
15841 msgstr ""
15842
15843 # type: verbatim
15844 #: ../fish/guestfish.pod:538
15845 #, no-wrap
15846 msgid ""
15847 " hexdump /bin/ls | head\n"
15848 " list-devices | tail -1\n"
15849 " tgz-out / - | tar ztf -\n"
15850 "\n"
15851 msgstr ""
15852
15853 # type: textblock
15854 #: ../fish/guestfish.pod:542
15855 msgid ""
15856 "The space before the pipe symbol is required, any space after the pipe "
15857 "symbol is optional.  Everything after the pipe symbol is just passed "
15858 "straight to the host shell, so it can contain redirections, globs and "
15859 "anything else that makes sense on the host side."
15860 msgstr ""
15861
15862 # type: textblock
15863 #: ../fish/guestfish.pod:547
15864 msgid ""
15865 "To use a literal argument which begins with a pipe symbol, you have to quote "
15866 "it, eg:"
15867 msgstr ""
15868
15869 # type: verbatim
15870 #: ../fish/guestfish.pod:550
15871 #, no-wrap
15872 msgid ""
15873 " echo \"|\"\n"
15874 "\n"
15875 msgstr ""
15876
15877 # type: =head1
15878 #: ../fish/guestfish.pod:552
15879 msgid "HOME DIRECTORIES"
15880 msgstr ""
15881
15882 # type: textblock
15883 #: ../fish/guestfish.pod:554
15884 msgid ""
15885 "If a parameter starts with the character C<~> then the tilde may be expanded "
15886 "as a home directory path (either C<~> for the current user's home directory, "
15887 "or C<~user> for another user)."
15888 msgstr ""
15889
15890 # type: textblock
15891 #: ../fish/guestfish.pod:558
15892 msgid ""
15893 "Note that home directory expansion happens for users known I<on the host>, "
15894 "not in the guest filesystem."
15895 msgstr ""
15896
15897 # type: textblock
15898 #: ../fish/guestfish.pod:561
15899 msgid ""
15900 "To use a literal argument which begins with a tilde, you have to quote it, "
15901 "eg:"
15902 msgstr ""
15903
15904 # type: verbatim
15905 #: ../fish/guestfish.pod:564
15906 #, no-wrap
15907 msgid ""
15908 " echo \"~\"\n"
15909 "\n"
15910 msgstr ""
15911
15912 # type: textblock
15913 #: ../fish/guestfish.pod:568
15914 msgid ""
15915 "Libguestfs has some support for Linux guests encrypted according to the "
15916 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
15917 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
15918 "LUKS is supported."
15919 msgstr ""
15920
15921 # type: textblock
15922 #: ../fish/guestfish.pod:573
15923 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
15924 msgstr ""
15925
15926 # type: verbatim
15927 #: ../fish/guestfish.pod:575
15928 #, no-wrap
15929 msgid ""
15930 " ><fs> vfs-type /dev/sda2\n"
15931 " crypto_LUKS\n"
15932 "\n"
15933 msgstr ""
15934
15935 # type: textblock
15936 #: ../fish/guestfish.pod:578
15937 msgid ""
15938 "Then open those devices using L</luks-open>.  This creates a device-mapper "
15939 "device called C</dev/mapper/luksdev>."
15940 msgstr ""
15941
15942 # type: verbatim
15943 #: ../fish/guestfish.pod:581
15944 #, no-wrap
15945 msgid ""
15946 " ><fs> luks-open /dev/sda2 luksdev\n"
15947 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
15948 "\n"
15949 msgstr ""
15950
15951 # type: textblock
15952 #: ../fish/guestfish.pod:584
15953 msgid ""
15954 "Finally you have to tell LVM to scan for volume groups on the newly created "
15955 "mapper device:"
15956 msgstr ""
15957
15958 # type: verbatim
15959 #: ../fish/guestfish.pod:587
15960 #, no-wrap
15961 msgid ""
15962 " ><fs> vgscan\n"
15963 " ><fs> vg-activate-all true\n"
15964 "\n"
15965 msgstr ""
15966
15967 # type: textblock
15968 #: ../fish/guestfish.pod:590
15969 msgid "The logical volume(s) can now be mounted in the usual way."
15970 msgstr ""
15971
15972 # type: textblock
15973 #: ../fish/guestfish.pod:592
15974 msgid ""
15975 "Before closing a LUKS device you must unmount any logical volumes on it and "
15976 "deactivate the volume groups by calling C<vg-activate false VG> on each "
15977 "one.  Then you can close the mapper device:"
15978 msgstr ""
15979
15980 # type: verbatim
15981 #: ../fish/guestfish.pod:596
15982 #, no-wrap
15983 msgid ""
15984 " ><fs> vg-activate false /dev/VG\n"
15985 " ><fs> luks-close /dev/mapper/luksdev\n"
15986 "\n"
15987 msgstr ""
15988
15989 # type: =head1
15990 #: ../fish/guestfish.pod:599
15991 msgid "WINDOWS PATHS"
15992 msgstr ""
15993
15994 # type: textblock
15995 #: ../fish/guestfish.pod:601
15996 msgid ""
15997 "If a path is prefixed with C<win:> then you can use Windows-style paths "
15998 "(with some limitations).  The following commands are equivalent:"
15999 msgstr ""
16000
16001 # type: verbatim
16002 #: ../fish/guestfish.pod:604
16003 #, no-wrap
16004 msgid ""
16005 " file /WINDOWS/system32/config/system.LOG\n"
16006 "\n"
16007 msgstr ""
16008
16009 # type: verbatim
16010 #: ../fish/guestfish.pod:606
16011 #, no-wrap
16012 msgid ""
16013 " file win:/windows/system32/config/system.log\n"
16014 "\n"
16015 msgstr ""
16016
16017 # type: verbatim
16018 #: ../fish/guestfish.pod:608
16019 #, no-wrap
16020 msgid ""
16021 " file win:\\windows\\system32\\config\\system.log\n"
16022 "\n"
16023 msgstr ""
16024
16025 # type: verbatim
16026 #: ../fish/guestfish.pod:610
16027 #, no-wrap
16028 msgid ""
16029 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
16030 "\n"
16031 msgstr ""
16032
16033 # type: textblock
16034 #: ../fish/guestfish.pod:612
16035 msgid ""
16036 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
16037 "handles case insensitivity like Windows would.  This only works in argument "
16038 "positions that expect a path."
16039 msgstr ""
16040
16041 # type: =head1
16042 #: ../fish/guestfish.pod:616
16043 msgid "UPLOADING AND DOWNLOADING FILES"
16044 msgstr ""
16045
16046 # type: textblock
16047 #: ../fish/guestfish.pod:618
16048 msgid ""
16049 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
16050 "others which upload from or download to a local file, you can use the "
16051 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
16052 msgstr ""
16053
16054 # type: verbatim
16055 #: ../fish/guestfish.pod:622
16056 #, no-wrap
16057 msgid ""
16058 " upload - /foo\n"
16059 "\n"
16060 msgstr ""
16061
16062 # type: textblock
16063 #: ../fish/guestfish.pod:624
16064 msgid ""
16065 "reads stdin and creates from that a file C</foo> in the disk image, and:"
16066 msgstr ""
16067
16068 # type: verbatim
16069 #: ../fish/guestfish.pod:627
16070 #, no-wrap
16071 msgid ""
16072 " tar-out /etc - | tar tf -\n"
16073 "\n"
16074 msgstr ""
16075
16076 # type: textblock
16077 #: ../fish/guestfish.pod:629
16078 msgid ""
16079 "writes the tarball to stdout and then pipes that into the external \"tar\" "
16080 "command (see L</PIPES>)."
16081 msgstr ""
16082
16083 # type: textblock
16084 #: ../fish/guestfish.pod:632
16085 msgid ""
16086 "When using C<-> to read from stdin, the input is read up to the end of "
16087 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
16088 "some arbitrary end marker:"
16089 msgstr ""
16090
16091 # type: verbatim
16092 #: ../fish/guestfish.pod:636
16093 #, no-wrap
16094 msgid ""
16095 " upload -<<END /foo\n"
16096 " input line 1\n"
16097 " input line 2\n"
16098 " input line 3\n"
16099 " END\n"
16100 "\n"
16101 msgstr ""
16102
16103 # type: textblock
16104 #: ../fish/guestfish.pod:642
16105 msgid ""
16106 "Any string of characters can be used instead of C<END>.  The end marker must "
16107 "appear on a line of its own, without any preceeding or following characters "
16108 "(not even spaces)."
16109 msgstr ""
16110
16111 # type: textblock
16112 #: ../fish/guestfish.pod:646
16113 msgid ""
16114 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
16115 "upload local files (so-called \"FileIn\" parameters in the generator)."
16116 msgstr ""
16117
16118 # type: =head1
16119 #: ../fish/guestfish.pod:649
16120 msgid "EXIT ON ERROR BEHAVIOUR"
16121 msgstr ""
16122
16123 # type: textblock
16124 #: ../fish/guestfish.pod:651
16125 msgid ""
16126 "By default, guestfish will ignore any errors when in interactive mode (ie. "
16127 "taking commands from a human over a tty), and will exit on the first error "
16128 "in non-interactive mode (scripts, commands given on the command line)."
16129 msgstr ""
16130
16131 # type: textblock
16132 #: ../fish/guestfish.pod:656
16133 msgid ""
16134 "If you prefix a command with a I<-> character, then that command will not "
16135 "cause guestfish to exit, even if that (one) command returns an error."
16136 msgstr ""
16137
16138 # type: =head1
16139 #: ../fish/guestfish.pod:660
16140 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
16141 msgstr ""
16142
16143 # type: textblock
16144 #: ../fish/guestfish.pod:662
16145 msgid ""
16146 "Guestfish can be remote-controlled over a socket.  This is useful "
16147 "particularly in shell scripts where you want to make several different "
16148 "changes to a filesystem, but you don't want the overhead of starting up a "
16149 "guestfish process each time."
16150 msgstr ""
16151
16152 # type: textblock
16153 #: ../fish/guestfish.pod:667
16154 msgid "Start a guestfish server process using:"
16155 msgstr ""
16156
16157 # type: verbatim
16158 #: ../fish/guestfish.pod:669
16159 #, no-wrap
16160 msgid ""
16161 " eval `guestfish --listen`\n"
16162 "\n"
16163 msgstr ""
16164
16165 # type: textblock
16166 #: ../fish/guestfish.pod:671
16167 msgid "and then send it commands by doing:"
16168 msgstr ""
16169
16170 # type: verbatim
16171 #: ../fish/guestfish.pod:673
16172 #, no-wrap
16173 msgid ""
16174 " guestfish --remote cmd [...]\n"
16175 "\n"
16176 msgstr ""
16177
16178 # type: textblock
16179 #: ../fish/guestfish.pod:675
16180 msgid "To cause the server to exit, send it the exit command:"
16181 msgstr ""
16182
16183 # type: verbatim
16184 #: ../fish/guestfish.pod:677
16185 #, no-wrap
16186 msgid ""
16187 " guestfish --remote exit\n"
16188 "\n"
16189 msgstr ""
16190
16191 # type: textblock
16192 #: ../fish/guestfish.pod:679
16193 msgid ""
16194 "Note that the server will normally exit if there is an error in a command.  "
16195 "You can change this in the usual way.  See section L</EXIT ON ERROR "
16196 "BEHAVIOUR>."
16197 msgstr ""
16198
16199 # type: =head2
16200 #: ../fish/guestfish.pod:683
16201 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
16202 msgstr ""
16203
16204 # type: textblock
16205 #: ../fish/guestfish.pod:685
16206 msgid ""
16207 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
16208 "is how the I<--remote> option knows where to send the commands.  You can "
16209 "have several guestfish listener processes running using:"
16210 msgstr ""
16211
16212 # type: verbatim
16213 #: ../fish/guestfish.pod:689
16214 #, no-wrap
16215 msgid ""
16216 " eval `guestfish --listen`\n"
16217 " pid1=$GUESTFISH_PID\n"
16218 " eval `guestfish --listen`\n"
16219 " pid2=$GUESTFISH_PID\n"
16220 " ...\n"
16221 " guestfish --remote=$pid1 cmd\n"
16222 " guestfish --remote=$pid2 cmd\n"
16223 "\n"
16224 msgstr ""
16225
16226 # type: =head2
16227 #: ../fish/guestfish.pod:697
16228 msgid "REMOTE CONTROL DETAILS"
16229 msgstr ""
16230
16231 # type: textblock
16232 #: ../fish/guestfish.pod:699
16233 msgid ""
16234 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
16235 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
16236 "and C<$PID> is the process ID of the server."
16237 msgstr ""
16238
16239 # type: textblock
16240 #: ../fish/guestfish.pod:703
16241 msgid "Guestfish client and server versions must match exactly."
16242 msgstr ""
16243
16244 # type: =head1
16245 #: ../fish/guestfish.pod:705
16246 msgid "PREPARED DISK IMAGES"
16247 msgstr ""
16248
16249 # type: textblock
16250 #: ../fish/guestfish.pod:707
16251 msgid ""
16252 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
16253 "preformatted disk images that guestfish can make for you to save typing.  "
16254 "This is particularly useful for testing purposes.  This option is used "
16255 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
16256 "can be mixed with I<-a>)."
16257 msgstr ""
16258
16259 # type: textblock
16260 #: ../fish/guestfish.pod:713
16261 msgid ""
16262 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
16263 "the second and so on.  Existing files in the current directory are "
16264 "I<overwritten>."
16265 msgstr ""
16266
16267 # type: textblock
16268 #: ../fish/guestfish.pod:717
16269 msgid ""
16270 "The type briefly describes how the disk should be sized, partitioned, how "
16271 "filesystem(s) should be created, and how content should be added.  "
16272 "Optionally the type can be followed by extra parameters, separated by C<:> "
16273 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
16274 "allocated disk, containing a single partition, with the partition formatted "
16275 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
16276 "disk instead."
16277 msgstr ""
16278
16279 # type: textblock
16280 #: ../fish/guestfish.pod:725
16281 msgid "To list the available types and any extra parameters they take, run:"
16282 msgstr ""
16283
16284 # type: textblock
16285 #: ../fish/guestfish.pod:729
16286 msgid ""
16287 "Note that the prepared filesystem is not mounted.  You would usually have to "
16288 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
16289 msgstr ""
16290
16291 # type: textblock
16292 #: ../fish/guestfish.pod:733
16293 msgid ""
16294 "If any I<-N> or I<--new> options are given, the guest is automatically "
16295 "launched."
16296 msgstr ""
16297
16298 # type: textblock
16299 #: ../fish/guestfish.pod:738
16300 msgid "Create a 100MB disk with an ext4-formatted partition:"
16301 msgstr ""
16302
16303 # type: verbatim
16304 #: ../fish/guestfish.pod:740
16305 #, no-wrap
16306 msgid ""
16307 " guestfish -N fs:ext4\n"
16308 "\n"
16309 msgstr ""
16310
16311 # type: textblock
16312 #: ../fish/guestfish.pod:742
16313 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
16314 msgstr ""
16315
16316 # type: verbatim
16317 #: ../fish/guestfish.pod:744
16318 #, no-wrap
16319 msgid ""
16320 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
16321 "\n"
16322 msgstr ""
16323
16324 # type: textblock
16325 #: ../fish/guestfish.pod:746
16326 msgid "Create a blank 200MB disk:"
16327 msgstr ""
16328
16329 # type: verbatim
16330 #: ../fish/guestfish.pod:748
16331 #, no-wrap
16332 msgid ""
16333 " guestfish -N disk:200M\n"
16334 "\n"
16335 msgstr ""
16336
16337 # type: =head1
16338 #: ../fish/guestfish.pod:750
16339 msgid "PROGRESS BARS"
16340 msgstr ""
16341
16342 # type: textblock
16343 #: ../fish/guestfish.pod:752
16344 msgid ""
16345 "Some (not all) long-running commands send progress notification messages as "
16346 "they are running.  Guestfish turns these messages into progress bars."
16347 msgstr ""
16348
16349 # type: textblock
16350 #: ../fish/guestfish.pod:756
16351 msgid ""
16352 "When a command that supports progress bars takes longer than two seconds to "
16353 "run, and if progress bars are enabled, then you will see one appearing below "
16354 "the command:"
16355 msgstr ""
16356
16357 # type: verbatim
16358 #: ../fish/guestfish.pod:760
16359 #, no-wrap
16360 msgid ""
16361 " ><fs> copy-size /large-file /another-file 2048M\n"
16362 " / 10% [#####-----------------------------------------] 00:30\n"
16363 "\n"
16364 msgstr ""
16365
16366 # type: textblock
16367 #: ../fish/guestfish.pod:763
16368 msgid ""
16369 "The spinner on the left hand side moves round once for every progress "
16370 "notification received from the backend.  This is a (reasonably) golden "
16371 "assurance that the command is \"doing something\" even if the progress bar "
16372 "is not moving, because the command is able to send the progress "
16373 "notifications.  When the bar reaches 100% and the command finishes, the "
16374 "spinner disappears."
16375 msgstr ""
16376
16377 # type: textblock
16378 #: ../fish/guestfish.pod:770
16379 msgid ""
16380 "Progress bars are enabled by default when guestfish is used interactively.  "
16381 "You can enable them even for non-interactive modes using I<--progress-bars>, "
16382 "and you can disable them completely using I<--no-progress-bars>."
16383 msgstr ""
16384
16385 # type: =head1
16386 #: ../fish/guestfish.pod:775
16387 msgid "GUESTFISH COMMANDS"
16388 msgstr ""
16389
16390 # type: textblock
16391 #: ../fish/guestfish.pod:777
16392 msgid ""
16393 "The commands in this section are guestfish convenience commands, in other "
16394 "words, they are not part of the L<guestfs(3)> API."
16395 msgstr ""
16396
16397 # type: =head2
16398 #: ../fish/guestfish.pod:780
16399 msgid "help"
16400 msgstr ""
16401
16402 # type: verbatim
16403 #: ../fish/guestfish.pod:782
16404 #, no-wrap
16405 msgid ""
16406 " help\n"
16407 " help cmd\n"
16408 "\n"
16409 msgstr ""
16410
16411 # type: textblock
16412 #: ../fish/guestfish.pod:785
16413 msgid ""
16414 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16415 "this displays detailed help for a command."
16416 msgstr ""
16417
16418 # type: =head2
16419 #: ../fish/guestfish.pod:788
16420 msgid "quit | exit"
16421 msgstr ""
16422
16423 # type: textblock
16424 #: ../fish/guestfish.pod:790
16425 msgid "This exits guestfish.  You can also use C<^D> key."
16426 msgstr ""
16427
16428 # type: textblock
16429 #: ../fish/guestfish.pod:792
16430 msgid "@FISH_COMMANDS@"
16431 msgstr ""
16432
16433 # type: =head1
16434 #: ../fish/guestfish.pod:794
16435 msgid "COMMANDS"
16436 msgstr ""
16437
16438 # type: =head1
16439 #: ../fish/guestfish.pod:798 ../test-tool/libguestfs-test-tool.pod:83
16440 msgid "EXIT CODE"
16441 msgstr ""
16442
16443 # type: textblock
16444 #: ../fish/guestfish.pod:800
16445 msgid ""
16446 "guestfish returns 0 if the commands completed without error, or 1 if there "
16447 "was an error."
16448 msgstr ""
16449
16450 # type: =item
16451 #: ../fish/guestfish.pod:807
16452 msgid "EDITOR"
16453 msgstr ""
16454
16455 # type: textblock
16456 #: ../fish/guestfish.pod:809
16457 msgid ""
16458 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16459 "C<vi>."
16460 msgstr ""
16461
16462 # type: =item
16463 #: ../fish/guestfish.pod:812
16464 msgid "GUESTFISH_PID"
16465 msgstr ""
16466
16467 # type: textblock
16468 #: ../fish/guestfish.pod:814
16469 msgid ""
16470 "Used with the I<--remote> option to specify the remote guestfish process to "
16471 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16472 msgstr ""
16473
16474 # type: =item
16475 #: ../fish/guestfish.pod:818
16476 msgid "HEXEDITOR"
16477 msgstr ""
16478
16479 # type: textblock
16480 #: ../fish/guestfish.pod:820
16481 msgid ""
16482 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
16483 "not specified, the external L<hexedit(1)> program is used."
16484 msgstr ""
16485
16486 # type: =item
16487 #: ../fish/guestfish.pod:824
16488 msgid "HOME"
16489 msgstr ""
16490
16491 # type: textblock
16492 #: ../fish/guestfish.pod:826
16493 msgid ""
16494 "If compiled with GNU readline support, various files in the home directory "
16495 "can be used.  See L</FILES>."
16496 msgstr ""
16497
16498 # type: textblock
16499 #: ../fish/guestfish.pod:835
16500 msgid ""
16501 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16502 "effect as using the B<-v> option."
16503 msgstr ""
16504
16505 # type: textblock
16506 #: ../fish/guestfish.pod:847
16507 msgid ""
16508 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16509 "the discussion of paths in L<guestfs(3)>."
16510 msgstr ""
16511
16512 # type: textblock
16513 #: ../fish/guestfish.pod:858
16514 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16515 msgstr ""
16516
16517 # type: =item
16518 #: ../fish/guestfish.pod:860
16519 msgid "PAGER"
16520 msgstr ""
16521
16522 # type: textblock
16523 #: ../fish/guestfish.pod:862
16524 msgid ""
16525 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16526 "C<more>."
16527 msgstr ""
16528
16529 # type: =head1
16530 #: ../fish/guestfish.pod:877 ../test-tool/libguestfs-test-tool.pod:88
16531 msgid "FILES"
16532 msgstr ""
16533
16534 # type: =item
16535 #: ../fish/guestfish.pod:881
16536 msgid "$HOME/.guestfish"
16537 msgstr ""
16538
16539 # type: textblock
16540 #: ../fish/guestfish.pod:883
16541 msgid ""
16542 "If compiled with GNU readline support, then the command history is saved in "
16543 "this file."
16544 msgstr ""
16545
16546 # type: =item
16547 #: ../fish/guestfish.pod:886
16548 msgid "$HOME/.inputrc"
16549 msgstr ""
16550
16551 # type: =item
16552 #: ../fish/guestfish.pod:888
16553 msgid "/etc/inputrc"
16554 msgstr ""
16555
16556 # type: textblock
16557 #: ../fish/guestfish.pod:890
16558 msgid ""
16559 "If compiled with GNU readline support, then these files can be used to "
16560 "configure readline.  For further information, please see L<readline(3)/"
16561 "INITIALIZATION FILE>."
16562 msgstr ""
16563
16564 # type: textblock
16565 #: ../fish/guestfish.pod:894
16566 msgid "To write rules which only apply to guestfish, use:"
16567 msgstr ""
16568
16569 # type: verbatim
16570 #: ../fish/guestfish.pod:896
16571 #, no-wrap
16572 msgid ""
16573 " $if guestfish\n"
16574 " ...\n"
16575 " $endif\n"
16576 "\n"
16577 msgstr ""
16578
16579 # type: textblock
16580 #: ../fish/guestfish.pod:900
16581 msgid ""
16582 "Variables that you can set in inputrc that change the behaviour of guestfish "
16583 "in useful ways include:"
16584 msgstr ""
16585
16586 # type: =item
16587 #: ../fish/guestfish.pod:905
16588 msgid "completion-ignore-case (default: on)"
16589 msgstr ""
16590
16591 # type: textblock
16592 #: ../fish/guestfish.pod:907
16593 msgid ""
16594 "By default, guestfish will ignore case when tab-completing paths on the "
16595 "disk.  Use:"
16596 msgstr ""
16597
16598 # type: verbatim
16599 #: ../fish/guestfish.pod:910
16600 #, no-wrap
16601 msgid ""
16602 " set completion-ignore-case off\n"
16603 "\n"
16604 msgstr ""
16605
16606 # type: textblock
16607 #: ../fish/guestfish.pod:912
16608 msgid "to make guestfish case sensitive."
16609 msgstr ""
16610
16611 # type: =item
16612 #: ../fish/guestfish.pod:916
16613 msgid "test1.img"
16614 msgstr ""
16615
16616 # type: =item
16617 #: ../fish/guestfish.pod:918
16618 msgid "test2.img (etc)"
16619 msgstr ""
16620
16621 # type: textblock
16622 #: ../fish/guestfish.pod:920
16623 msgid ""
16624 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16625 "will be created in the file C<test1.img> in the current directory.  The "
16626 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16627 "the same name will be overwritten."
16628 msgstr ""
16629
16630 # type: textblock
16631 #: ../fish/guestfish.pod:929
16632 msgid ""
16633 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16634 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16635 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16636 "L<virt-tar(1)>, L<virt-win-reg(1)>, L<hexedit(1)>."
16637 msgstr ""
16638
16639 # type: textblock
16640 #: ../fish/guestfish.pod:953 ../test-tool/libguestfs-test-tool.pod:124
16641 #: ../fuse/guestmount.pod:198 ../inspector/virt-inspector.pl:865
16642 #: ../tools/virt-cat.pl:181 ../tools/virt-df.pl:553 ../tools/virt-edit.pl:345
16643 #: ../tools/virt-list-filesystems.pl:211 ../tools/virt-list-partitions.pl:248
16644 #: ../tools/virt-ls.pl:229 ../tools/virt-make-fs.pl:560
16645 #: ../tools/virt-rescue.pl:249 ../tools/virt-resize.pl:1415
16646 #: ../tools/virt-tar.pl:276 ../tools/virt-win-reg.pl:495
16647 msgid ""
16648 "This program is free software; you can redistribute it and/or modify it "
16649 "under the terms of the GNU General Public License as published by the Free "
16650 "Software Foundation; either version 2 of the License, or (at your option) "
16651 "any later version."
16652 msgstr ""
16653
16654 # type: textblock
16655 #: ../fish/guestfish.pod:958 ../test-tool/libguestfs-test-tool.pod:129
16656 #: ../fuse/guestmount.pod:203 ../inspector/virt-inspector.pl:870
16657 #: ../tools/virt-cat.pl:186 ../tools/virt-df.pl:558 ../tools/virt-edit.pl:350
16658 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:253
16659 #: ../tools/virt-ls.pl:234 ../tools/virt-make-fs.pl:565
16660 #: ../tools/virt-rescue.pl:254 ../tools/virt-resize.pl:1420
16661 #: ../tools/virt-tar.pl:281 ../tools/virt-win-reg.pl:500
16662 msgid ""
16663 "This program is distributed in the hope that it will be useful, but WITHOUT "
16664 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16665 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16666 "more details."
16667 msgstr ""
16668
16669 # type: textblock
16670 #: ../fish/guestfish.pod:963 ../test-tool/libguestfs-test-tool.pod:134
16671 #: ../fuse/guestmount.pod:208 ../inspector/virt-inspector.pl:875
16672 #: ../tools/virt-cat.pl:191 ../tools/virt-df.pl:563 ../tools/virt-edit.pl:355
16673 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:258
16674 #: ../tools/virt-ls.pl:239 ../tools/virt-make-fs.pl:570
16675 #: ../tools/virt-rescue.pl:259 ../tools/virt-resize.pl:1425
16676 #: ../tools/virt-tar.pl:286 ../tools/virt-win-reg.pl:505
16677 msgid ""
16678 "You should have received a copy of the GNU General Public License along with "
16679 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16680 "Ave, Cambridge, MA 02139, USA."
16681 msgstr ""
16682
16683 # type: =head2
16684 #: ../fish/guestfish-actions.pod:1
16685 msgid "add-cdrom"
16686 msgstr ""
16687
16688 # type: =head2
16689 #: ../fish/guestfish-actions.pod:3
16690 msgid "cdrom"
16691 msgstr ""
16692
16693 # type: verbatim
16694 #: ../fish/guestfish-actions.pod:5
16695 #, no-wrap
16696 msgid ""
16697 " add-cdrom filename\n"
16698 "\n"
16699 msgstr ""
16700
16701 # type: textblock
16702 #: ../fish/guestfish-actions.pod:17
16703 msgid ""
16704 "This call checks for the existence of C<filename>.  This stops you from "
16705 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16706 "and C<http:> URLs.  To specify those, use the general L</config> call "
16707 "instead."
16708 msgstr ""
16709
16710 # type: textblock
16711 #: ../fish/guestfish-actions.pod:24
16712 msgid ""
16713 "If you just want to add an ISO file (often you use this as an efficient way "
16714 "to transfer large files into the guest), then you should probably use L</add-"
16715 "drive-ro> instead."
16716 msgstr ""
16717
16718 # type: =head2
16719 #: ../fish/guestfish-actions.pod:30
16720 msgid "add-drive"
16721 msgstr ""
16722
16723 # type: =head2
16724 #: ../fish/guestfish-actions.pod:32
16725 msgid "add"
16726 msgstr ""
16727
16728 # type: verbatim
16729 #: ../fish/guestfish-actions.pod:34
16730 #, no-wrap
16731 msgid ""
16732 " add-drive filename\n"
16733 "\n"
16734 msgstr ""
16735
16736 # type: textblock
16737 #: ../fish/guestfish-actions.pod:53 ../fish/guestfish-actions.pod:81
16738 msgid ""
16739 "C<if=...> is set at compile time by the configuration option C<./configure --"
16740 "with-drive-if=...>.  In the rare case where you might need to change this at "
16741 "run time, use L</add-drive-with-if> or L</add-drive-ro-with-if>."
16742 msgstr ""
16743
16744 # type: textblock
16745 #: ../fish/guestfish-actions.pod:58 ../fish/guestfish-actions.pod:86
16746 msgid ""
16747 "Note that this call checks for the existence of C<filename>.  This stops you "
16748 "from specifying other types of drive which are supported by qemu such as "
16749 "C<nbd:> and C<http:> URLs.  To specify those, use the general L</config> "
16750 "call instead."
16751 msgstr ""
16752
16753 # type: =head2
16754 #: ../fish/guestfish-actions.pod:63
16755 msgid "add-drive-ro"
16756 msgstr ""
16757
16758 # type: =head2
16759 #: ../fish/guestfish-actions.pod:65
16760 msgid "add-ro"
16761 msgstr ""
16762
16763 # type: verbatim
16764 #: ../fish/guestfish-actions.pod:67
16765 #, no-wrap
16766 msgid ""
16767 " add-drive-ro filename\n"
16768 "\n"
16769 msgstr ""
16770
16771 # type: =head2
16772 #: ../fish/guestfish-actions.pod:91
16773 msgid "add-drive-ro-with-if"
16774 msgstr ""
16775
16776 # type: verbatim
16777 #: ../fish/guestfish-actions.pod:93
16778 #, no-wrap
16779 msgid ""
16780 " add-drive-ro-with-if filename iface\n"
16781 "\n"
16782 msgstr ""
16783
16784 # type: textblock
16785 #: ../fish/guestfish-actions.pod:95
16786 msgid ""
16787 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
16788 "interface emulation to use at run time."
16789 msgstr ""
16790
16791 # type: =head2
16792 #: ../fish/guestfish-actions.pod:98
16793 msgid "add-drive-with-if"
16794 msgstr ""
16795
16796 # type: verbatim
16797 #: ../fish/guestfish-actions.pod:100
16798 #, no-wrap
16799 msgid ""
16800 " add-drive-with-if filename iface\n"
16801 "\n"
16802 msgstr ""
16803
16804 # type: textblock
16805 #: ../fish/guestfish-actions.pod:102
16806 msgid ""
16807 "This is the same as L</add-drive> but it allows you to specify the QEMU "
16808 "interface emulation to use at run time."
16809 msgstr ""
16810
16811 # type: =head2
16812 #: ../fish/guestfish-actions.pod:105
16813 msgid "aug-clear"
16814 msgstr ""
16815
16816 # type: verbatim
16817 #: ../fish/guestfish-actions.pod:107
16818 #, no-wrap
16819 msgid ""
16820 " aug-clear augpath\n"
16821 "\n"
16822 msgstr ""
16823
16824 # type: =head2
16825 #: ../fish/guestfish-actions.pod:112
16826 msgid "aug-close"
16827 msgstr ""
16828
16829 # type: verbatim
16830 #: ../fish/guestfish-actions.pod:114
16831 #, no-wrap
16832 msgid ""
16833 " aug-close\n"
16834 "\n"
16835 msgstr ""
16836
16837 # type: textblock
16838 #: ../fish/guestfish-actions.pod:116
16839 msgid ""
16840 "Close the current Augeas handle and free up any resources used by it.  After "
16841 "calling this, you have to call L</aug-init> again before you can use any "
16842 "other Augeas functions."
16843 msgstr ""
16844
16845 # type: =head2
16846 #: ../fish/guestfish-actions.pod:121
16847 msgid "aug-defnode"
16848 msgstr ""
16849
16850 # type: verbatim
16851 #: ../fish/guestfish-actions.pod:123
16852 #, no-wrap
16853 msgid ""
16854 " aug-defnode name expr val\n"
16855 "\n"
16856 msgstr ""
16857
16858 # type: textblock
16859 #: ../fish/guestfish-actions.pod:128
16860 msgid ""
16861 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
16862 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
16863 "containing that single node."
16864 msgstr ""
16865
16866 # type: =head2
16867 #: ../fish/guestfish-actions.pod:136
16868 msgid "aug-defvar"
16869 msgstr ""
16870
16871 # type: verbatim
16872 #: ../fish/guestfish-actions.pod:138
16873 #, no-wrap
16874 msgid ""
16875 " aug-defvar name expr\n"
16876 "\n"
16877 msgstr ""
16878
16879 # type: =head2
16880 #: ../fish/guestfish-actions.pod:147
16881 msgid "aug-get"
16882 msgstr ""
16883
16884 # type: verbatim
16885 #: ../fish/guestfish-actions.pod:149
16886 #, no-wrap
16887 msgid ""
16888 " aug-get augpath\n"
16889 "\n"
16890 msgstr ""
16891
16892 # type: =head2
16893 #: ../fish/guestfish-actions.pod:154
16894 msgid "aug-init"
16895 msgstr ""
16896
16897 # type: verbatim
16898 #: ../fish/guestfish-actions.pod:156
16899 #, no-wrap
16900 msgid ""
16901 " aug-init root flags\n"
16902 "\n"
16903 msgstr ""
16904
16905 # type: textblock
16906 #: ../fish/guestfish-actions.pod:162
16907 msgid "You must call this before using any other L</aug-*> commands."
16908 msgstr ""
16909
16910 # type: textblock
16911 #: ../fish/guestfish-actions.pod:197
16912 msgid "Do not load the tree in L</aug-init>."
16913 msgstr ""
16914
16915 # type: textblock
16916 #: ../fish/guestfish-actions.pod:201
16917 msgid "To close the handle, you can call L</aug-close>."
16918 msgstr ""
16919
16920 # type: =head2
16921 #: ../fish/guestfish-actions.pod:205
16922 msgid "aug-insert"
16923 msgstr ""
16924
16925 # type: verbatim
16926 #: ../fish/guestfish-actions.pod:207
16927 #, no-wrap
16928 msgid ""
16929 " aug-insert augpath label true|false\n"
16930 "\n"
16931 msgstr ""
16932
16933 # type: =head2
16934 #: ../fish/guestfish-actions.pod:217
16935 msgid "aug-load"
16936 msgstr ""
16937
16938 # type: verbatim
16939 #: ../fish/guestfish-actions.pod:219
16940 #, no-wrap
16941 msgid ""
16942 " aug-load\n"
16943 "\n"
16944 msgstr ""
16945
16946 # type: =head2
16947 #: ../fish/guestfish-actions.pod:226
16948 msgid "aug-ls"
16949 msgstr ""
16950
16951 # type: verbatim
16952 #: ../fish/guestfish-actions.pod:228
16953 #, no-wrap
16954 msgid ""
16955 " aug-ls augpath\n"
16956 "\n"
16957 msgstr ""
16958
16959 # type: textblock
16960 #: ../fish/guestfish-actions.pod:230
16961 msgid ""
16962 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
16963 "resulting nodes into alphabetical order."
16964 msgstr ""
16965
16966 # type: =head2
16967 #: ../fish/guestfish-actions.pod:233
16968 msgid "aug-match"
16969 msgstr ""
16970
16971 # type: verbatim
16972 #: ../fish/guestfish-actions.pod:235
16973 #, no-wrap
16974 msgid ""
16975 " aug-match augpath\n"
16976 "\n"
16977 msgstr ""
16978
16979 # type: =head2
16980 #: ../fish/guestfish-actions.pod:241
16981 msgid "aug-mv"
16982 msgstr ""
16983
16984 # type: verbatim
16985 #: ../fish/guestfish-actions.pod:243
16986 #, no-wrap
16987 msgid ""
16988 " aug-mv src dest\n"
16989 "\n"
16990 msgstr ""
16991
16992 # type: =head2
16993 #: ../fish/guestfish-actions.pod:248
16994 msgid "aug-rm"
16995 msgstr ""
16996
16997 # type: verbatim
16998 #: ../fish/guestfish-actions.pod:250
16999 #, no-wrap
17000 msgid ""
17001 " aug-rm augpath\n"
17002 "\n"
17003 msgstr ""
17004
17005 # type: =head2
17006 #: ../fish/guestfish-actions.pod:256
17007 msgid "aug-save"
17008 msgstr ""
17009
17010 # type: verbatim
17011 #: ../fish/guestfish-actions.pod:258
17012 #, no-wrap
17013 msgid ""
17014 " aug-save\n"
17015 "\n"
17016 msgstr ""
17017
17018 # type: textblock
17019 #: ../fish/guestfish-actions.pod:262
17020 msgid ""
17021 "The flags which were passed to L</aug-init> affect exactly how files are "
17022 "saved."
17023 msgstr ""
17024
17025 # type: =head2
17026 #: ../fish/guestfish-actions.pod:265
17027 msgid "aug-set"
17028 msgstr ""
17029
17030 # type: verbatim
17031 #: ../fish/guestfish-actions.pod:267
17032 #, no-wrap
17033 msgid ""
17034 " aug-set augpath val\n"
17035 "\n"
17036 msgstr ""
17037
17038 # type: textblock
17039 #: ../fish/guestfish-actions.pod:271
17040 msgid ""
17041 "In the Augeas API, it is possible to clear a node by setting the value to "
17042 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
17043 "this call.  Instead you must use the L</aug-clear> call."
17044 msgstr ""
17045
17046 # type: =head2
17047 #: ../fish/guestfish-actions.pod:276
17048 msgid "available"
17049 msgstr ""
17050
17051 # type: verbatim
17052 #: ../fish/guestfish-actions.pod:278
17053 #, no-wrap
17054 msgid ""
17055 " available 'groups ...'\n"
17056 "\n"
17057 msgstr ""
17058
17059 # type: textblock
17060 #: ../fish/guestfish-actions.pod:284
17061 msgid ""
17062 "The libguestfs groups, and the functions that those groups correspond to, "
17063 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
17064 "runtime by calling L</available-all-groups>."
17065 msgstr ""
17066
17067 # type: textblock
17068 #: ../fish/guestfish-actions.pod:308
17069 msgid "You must call L</launch> before calling this function."
17070 msgstr ""
17071
17072 # type: textblock
17073 #: ../fish/guestfish-actions.pod:330
17074 msgid ""
17075 "This call was added in version C<1.0.80>.  In previous versions of "
17076 "libguestfs all you could do would be to speculatively execute a command to "
17077 "find out if the daemon implemented it.  See also L</version>."
17078 msgstr ""
17079
17080 # type: =head2
17081 #: ../fish/guestfish-actions.pod:337
17082 msgid "available-all-groups"
17083 msgstr ""
17084
17085 # type: verbatim
17086 #: ../fish/guestfish-actions.pod:339
17087 #, no-wrap
17088 msgid ""
17089 " available-all-groups\n"
17090 "\n"
17091 msgstr ""
17092
17093 # type: textblock
17094 #: ../fish/guestfish-actions.pod:341
17095 msgid ""
17096 "This command returns a list of all optional groups that this daemon knows "
17097 "about.  Note this returns both supported and unsupported groups.  To find "
17098 "out which ones the daemon can actually support you have to call L</"
17099 "available> on each member of the returned list."
17100 msgstr ""
17101
17102 # type: textblock
17103 #: ../fish/guestfish-actions.pod:347
17104 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
17105 msgstr ""
17106
17107 # type: =head2
17108 #: ../fish/guestfish-actions.pod:349
17109 msgid "base64-in"
17110 msgstr ""
17111
17112 # type: verbatim
17113 #: ../fish/guestfish-actions.pod:351
17114 #, no-wrap
17115 msgid ""
17116 " base64-in (base64file|-) filename\n"
17117 "\n"
17118 msgstr ""
17119
17120 # type: textblock
17121 #: ../fish/guestfish-actions.pod:356 ../fish/guestfish-actions.pod:365
17122 #: ../fish/guestfish-actions.pod:589 ../fish/guestfish-actions.pod:736
17123 #: ../fish/guestfish-actions.pod:783 ../fish/guestfish-actions.pod:802
17124 #: ../fish/guestfish-actions.pod:1179 ../fish/guestfish-actions.pod:3803
17125 #: ../fish/guestfish-actions.pod:3815 ../fish/guestfish-actions.pod:3826
17126 #: ../fish/guestfish-actions.pod:3837 ../fish/guestfish-actions.pod:3889
17127 #: ../fish/guestfish-actions.pod:3898 ../fish/guestfish-actions.pod:3952
17128 #: ../fish/guestfish-actions.pod:3975
17129 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
17130 msgstr ""
17131
17132 # type: =head2
17133 #: ../fish/guestfish-actions.pod:358
17134 msgid "base64-out"
17135 msgstr ""
17136
17137 # type: verbatim
17138 #: ../fish/guestfish-actions.pod:360
17139 #, no-wrap
17140 msgid ""
17141 " base64-out filename (base64file|-)\n"
17142 "\n"
17143 msgstr ""
17144
17145 # type: =head2
17146 #: ../fish/guestfish-actions.pod:367
17147 msgid "blockdev-flushbufs"
17148 msgstr ""
17149
17150 # type: verbatim
17151 #: ../fish/guestfish-actions.pod:369
17152 #, no-wrap
17153 msgid ""
17154 " blockdev-flushbufs device\n"
17155 "\n"
17156 msgstr ""
17157
17158 # type: =head2
17159 #: ../fish/guestfish-actions.pod:376
17160 msgid "blockdev-getbsz"
17161 msgstr ""
17162
17163 # type: verbatim
17164 #: ../fish/guestfish-actions.pod:378
17165 #, no-wrap
17166 msgid ""
17167 " blockdev-getbsz device\n"
17168 "\n"
17169 msgstr ""
17170
17171 # type: =head2
17172 #: ../fish/guestfish-actions.pod:387
17173 msgid "blockdev-getro"
17174 msgstr ""
17175
17176 # type: verbatim
17177 #: ../fish/guestfish-actions.pod:389
17178 #, no-wrap
17179 msgid ""
17180 " blockdev-getro device\n"
17181 "\n"
17182 msgstr ""
17183
17184 # type: =head2
17185 #: ../fish/guestfish-actions.pod:396
17186 msgid "blockdev-getsize64"
17187 msgstr ""
17188
17189 # type: verbatim
17190 #: ../fish/guestfish-actions.pod:398
17191 #, no-wrap
17192 msgid ""
17193 " blockdev-getsize64 device\n"
17194 "\n"
17195 msgstr ""
17196
17197 # type: textblock
17198 #: ../fish/guestfish-actions.pod:402
17199 msgid "See also L</blockdev-getsz>."
17200 msgstr ""
17201
17202 # type: =head2
17203 #: ../fish/guestfish-actions.pod:406
17204 msgid "blockdev-getss"
17205 msgstr ""
17206
17207 # type: verbatim
17208 #: ../fish/guestfish-actions.pod:408
17209 #, no-wrap
17210 msgid ""
17211 " blockdev-getss device\n"
17212 "\n"
17213 msgstr ""
17214
17215 # type: textblock
17216 #: ../fish/guestfish-actions.pod:413
17217 msgid ""
17218 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
17219 msgstr ""
17220
17221 # type: =head2
17222 #: ../fish/guestfish-actions.pod:418
17223 msgid "blockdev-getsz"
17224 msgstr ""
17225
17226 # type: verbatim
17227 #: ../fish/guestfish-actions.pod:420
17228 #, no-wrap
17229 msgid ""
17230 " blockdev-getsz device\n"
17231 "\n"
17232 msgstr ""
17233
17234 # type: textblock
17235 #: ../fish/guestfish-actions.pod:425
17236 msgid ""
17237 "See also L</blockdev-getss> for the real sector size of the device, and L</"
17238 "blockdev-getsize64> for the more useful I<size in bytes>."
17239 msgstr ""
17240
17241 # type: =head2
17242 #: ../fish/guestfish-actions.pod:431
17243 msgid "blockdev-rereadpt"
17244 msgstr ""
17245
17246 # type: verbatim
17247 #: ../fish/guestfish-actions.pod:433
17248 #, no-wrap
17249 msgid ""
17250 " blockdev-rereadpt device\n"
17251 "\n"
17252 msgstr ""
17253
17254 # type: =head2
17255 #: ../fish/guestfish-actions.pod:439
17256 msgid "blockdev-setbsz"
17257 msgstr ""
17258
17259 # type: verbatim
17260 #: ../fish/guestfish-actions.pod:441
17261 #, no-wrap
17262 msgid ""
17263 " blockdev-setbsz device blocksize\n"
17264 "\n"
17265 msgstr ""
17266
17267 # type: =head2
17268 #: ../fish/guestfish-actions.pod:450
17269 msgid "blockdev-setro"
17270 msgstr ""
17271
17272 # type: verbatim
17273 #: ../fish/guestfish-actions.pod:452
17274 #, no-wrap
17275 msgid ""
17276 " blockdev-setro device\n"
17277 "\n"
17278 msgstr ""
17279
17280 # type: =head2
17281 #: ../fish/guestfish-actions.pod:458
17282 msgid "blockdev-setrw"
17283 msgstr ""
17284
17285 # type: verbatim
17286 #: ../fish/guestfish-actions.pod:460
17287 #, no-wrap
17288 msgid ""
17289 " blockdev-setrw device\n"
17290 "\n"
17291 msgstr ""
17292
17293 # type: =head2
17294 #: ../fish/guestfish-actions.pod:466
17295 msgid "case-sensitive-path"
17296 msgstr ""
17297
17298 # type: verbatim
17299 #: ../fish/guestfish-actions.pod:468
17300 #, no-wrap
17301 msgid ""
17302 " case-sensitive-path path\n"
17303 "\n"
17304 msgstr ""
17305
17306 # type: textblock
17307 #: ../fish/guestfish-actions.pod:492
17308 msgid ""
17309 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
17310 "WINDOWS/system32\"> (the exact return value would depend on details of how "
17311 "the directories were originally created under Windows)."
17312 msgstr ""
17313
17314 # type: textblock
17315 #: ../fish/guestfish-actions.pod:500
17316 msgid "See also L</realpath>."
17317 msgstr ""
17318
17319 # type: =head2
17320 #: ../fish/guestfish-actions.pod:502
17321 msgid "cat"
17322 msgstr ""
17323
17324 # type: verbatim
17325 #: ../fish/guestfish-actions.pod:504
17326 #, no-wrap
17327 msgid ""
17328 " cat path\n"
17329 "\n"
17330 msgstr ""
17331
17332 # type: textblock
17333 #: ../fish/guestfish-actions.pod:508
17334 msgid ""
17335 "Note that this function cannot correctly handle binary files (specifically, "
17336 "files containing C<\\0> character which is treated as end of string).  For "
17337 "those you need to use the L</read-file> or L</download> functions which have "
17338 "a more complex interface."
17339 msgstr ""
17340
17341 # type: =head2
17342 #: ../fish/guestfish-actions.pod:516
17343 msgid "checksum"
17344 msgstr ""
17345
17346 # type: verbatim
17347 #: ../fish/guestfish-actions.pod:518
17348 #, no-wrap
17349 msgid ""
17350 " checksum csumtype path\n"
17351 "\n"
17352 msgstr ""
17353
17354 # type: textblock
17355 #: ../fish/guestfish-actions.pod:561
17356 msgid "To get the checksum for a device, use L</checksum-device>."
17357 msgstr ""
17358
17359 # type: textblock
17360 #: ../fish/guestfish-actions.pod:563
17361 msgid "To get the checksums for many files, use L</checksums-out>."
17362 msgstr ""
17363
17364 # type: =head2
17365 #: ../fish/guestfish-actions.pod:565
17366 msgid "checksum-device"
17367 msgstr ""
17368
17369 # type: verbatim
17370 #: ../fish/guestfish-actions.pod:567
17371 #, no-wrap
17372 msgid ""
17373 " checksum-device csumtype device\n"
17374 "\n"
17375 msgstr ""
17376
17377 # type: textblock
17378 #: ../fish/guestfish-actions.pod:569
17379 msgid ""
17380 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17381 "device named C<device>.  For the types of checksums supported see the L</"
17382 "checksum> command."
17383 msgstr ""
17384
17385 # type: =head2
17386 #: ../fish/guestfish-actions.pod:573
17387 msgid "checksums-out"
17388 msgstr ""
17389
17390 # type: verbatim
17391 #: ../fish/guestfish-actions.pod:575
17392 #, no-wrap
17393 msgid ""
17394 " checksums-out csumtype directory (sumsfile|-)\n"
17395 "\n"
17396 msgstr ""
17397
17398 # type: =head2
17399 #: ../fish/guestfish-actions.pod:591
17400 msgid "chmod"
17401 msgstr ""
17402
17403 # type: verbatim
17404 #: ../fish/guestfish-actions.pod:593
17405 #, no-wrap
17406 msgid ""
17407 " chmod mode path\n"
17408 "\n"
17409 msgstr ""
17410
17411 # type: =head2
17412 #: ../fish/guestfish-actions.pod:604
17413 msgid "chown"
17414 msgstr ""
17415
17416 # type: verbatim
17417 #: ../fish/guestfish-actions.pod:606
17418 #, no-wrap
17419 msgid ""
17420 " chown owner group path\n"
17421 "\n"
17422 msgstr ""
17423
17424 # type: =head2
17425 #: ../fish/guestfish-actions.pod:614
17426 msgid "command"
17427 msgstr ""
17428
17429 # type: verbatim
17430 #: ../fish/guestfish-actions.pod:616
17431 #, no-wrap
17432 msgid ""
17433 " command 'arguments ...'\n"
17434 "\n"
17435 msgstr ""
17436
17437 # type: textblock
17438 #: ../fish/guestfish-actions.pod:623
17439 msgid ""
17440 "The single parameter is an argv-style list of arguments.  The first element "
17441 "is the name of the program to run.  Subsequent elements are parameters.  The "
17442 "list must be non-empty (ie. must contain a program name).  Note that the "
17443 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
17444 msgstr ""
17445
17446 # type: =head2
17447 #: ../fish/guestfish-actions.pod:651
17448 msgid "command-lines"
17449 msgstr ""
17450
17451 # type: verbatim
17452 #: ../fish/guestfish-actions.pod:653
17453 #, no-wrap
17454 msgid ""
17455 " command-lines 'arguments ...'\n"
17456 "\n"
17457 msgstr ""
17458
17459 # type: textblock
17460 #: ../fish/guestfish-actions.pod:655
17461 msgid ""
17462 "This is the same as L</command>, but splits the result into a list of lines."
17463 msgstr ""
17464
17465 # type: textblock
17466 #: ../fish/guestfish-actions.pod:658
17467 msgid "See also: L</sh-lines>"
17468 msgstr ""
17469
17470 # type: =head2
17471 #: ../fish/guestfish-actions.pod:663
17472 msgid "config"
17473 msgstr ""
17474
17475 # type: verbatim
17476 #: ../fish/guestfish-actions.pod:665
17477 #, no-wrap
17478 msgid ""
17479 " config qemuparam qemuvalue\n"
17480 "\n"
17481 msgstr ""
17482
17483 # type: =head2
17484 #: ../fish/guestfish-actions.pod:676
17485 msgid "copy-size"
17486 msgstr ""
17487
17488 # type: verbatim
17489 #: ../fish/guestfish-actions.pod:678
17490 #, no-wrap
17491 msgid ""
17492 " copy-size src dest size\n"
17493 "\n"
17494 msgstr ""
17495
17496 # type: =head2
17497 #: ../fish/guestfish-actions.pod:686
17498 msgid "cp"
17499 msgstr ""
17500
17501 # type: verbatim
17502 #: ../fish/guestfish-actions.pod:688
17503 #, no-wrap
17504 msgid ""
17505 " cp src dest\n"
17506 "\n"
17507 msgstr ""
17508
17509 # type: =head2
17510 #: ../fish/guestfish-actions.pod:693
17511 msgid "cp-a"
17512 msgstr ""
17513
17514 # type: verbatim
17515 #: ../fish/guestfish-actions.pod:695
17516 #, no-wrap
17517 msgid ""
17518 " cp-a src dest\n"
17519 "\n"
17520 msgstr ""
17521
17522 # type: =head2
17523 #: ../fish/guestfish-actions.pod:700
17524 msgid "dd"
17525 msgstr ""
17526
17527 # type: verbatim
17528 #: ../fish/guestfish-actions.pod:702
17529 #, no-wrap
17530 msgid ""
17531 " dd src dest\n"
17532 "\n"
17533 msgstr ""
17534
17535 # type: textblock
17536 #: ../fish/guestfish-actions.pod:709
17537 msgid ""
17538 "If the destination is a device, it must be as large or larger than the "
17539 "source file or device, otherwise the copy will fail.  This command cannot do "
17540 "partial copies (see L</copy-size>)."
17541 msgstr ""
17542
17543 # type: =head2
17544 #: ../fish/guestfish-actions.pod:713
17545 msgid "debug"
17546 msgstr ""
17547
17548 # type: verbatim
17549 #: ../fish/guestfish-actions.pod:715
17550 #, no-wrap
17551 msgid ""
17552 " debug subcmd 'extraargs ...'\n"
17553 "\n"
17554 msgstr ""
17555
17556 # type: textblock
17557 #: ../fish/guestfish-actions.pod:717
17558 msgid ""
17559 "The L</debug> command exposes some internals of C<guestfsd> (the guestfs "
17560 "daemon) that runs inside the qemu subprocess."
17561 msgstr ""
17562
17563 # type: =head2
17564 #: ../fish/guestfish-actions.pod:725
17565 msgid "debug-upload"
17566 msgstr ""
17567
17568 # type: verbatim
17569 #: ../fish/guestfish-actions.pod:727
17570 #, no-wrap
17571 msgid ""
17572 " debug-upload (filename|-) tmpname mode\n"
17573 "\n"
17574 msgstr ""
17575
17576 # type: textblock
17577 #: ../fish/guestfish-actions.pod:729
17578 msgid ""
17579 "The L</debug-upload> command uploads a file to the libguestfs appliance."
17580 msgstr ""
17581
17582 # type: =head2
17583 #: ../fish/guestfish-actions.pod:738
17584 msgid "df"
17585 msgstr ""
17586
17587 # type: verbatim
17588 #: ../fish/guestfish-actions.pod:740
17589 #, no-wrap
17590 msgid ""
17591 " df\n"
17592 "\n"
17593 msgstr ""
17594
17595 # type: =head2
17596 #: ../fish/guestfish-actions.pod:748
17597 msgid "df-h"
17598 msgstr ""
17599
17600 # type: verbatim
17601 #: ../fish/guestfish-actions.pod:750
17602 #, no-wrap
17603 msgid ""
17604 " df-h\n"
17605 "\n"
17606 msgstr ""
17607
17608 # type: =head2
17609 #: ../fish/guestfish-actions.pod:759
17610 msgid "dmesg"
17611 msgstr ""
17612
17613 # type: verbatim
17614 #: ../fish/guestfish-actions.pod:761
17615 #, no-wrap
17616 msgid ""
17617 " dmesg\n"
17618 "\n"
17619 msgstr ""
17620
17621 # type: textblock
17622 #: ../fish/guestfish-actions.pod:767
17623 msgid ""
17624 "Another way to get the same information is to enable verbose messages with "
17625 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17626 "before running the program."
17627 msgstr ""
17628
17629 # type: =head2
17630 #: ../fish/guestfish-actions.pod:772
17631 msgid "download"
17632 msgstr ""
17633
17634 # type: verbatim
17635 #: ../fish/guestfish-actions.pod:774
17636 #, no-wrap
17637 msgid ""
17638 " download remotefilename (filename|-)\n"
17639 "\n"
17640 msgstr ""
17641
17642 # type: textblock
17643 #: ../fish/guestfish-actions.pod:781
17644 msgid "See also L</upload>, L</cat>."
17645 msgstr ""
17646
17647 # type: =head2
17648 #: ../fish/guestfish-actions.pod:785
17649 msgid "download-offset"
17650 msgstr ""
17651
17652 # type: verbatim
17653 #: ../fish/guestfish-actions.pod:787
17654 #, no-wrap
17655 msgid ""
17656 " download-offset remotefilename (filename|-) offset size\n"
17657 "\n"
17658 msgstr ""
17659
17660 # type: textblock
17661 #: ../fish/guestfish-actions.pod:795
17662 msgid ""
17663 "Note that there is no limit on the amount of data that can be downloaded "
17664 "with this call, unlike with L</pread>, and this call always reads the full "
17665 "amount unless an error occurs."
17666 msgstr ""
17667
17668 # type: textblock
17669 #: ../fish/guestfish-actions.pod:800
17670 msgid "See also L</download>, L</pread>."
17671 msgstr ""
17672
17673 # type: =head2
17674 #: ../fish/guestfish-actions.pod:804
17675 msgid "drop-caches"
17676 msgstr ""
17677
17678 # type: verbatim
17679 #: ../fish/guestfish-actions.pod:806
17680 #, no-wrap
17681 msgid ""
17682 " drop-caches whattodrop\n"
17683 "\n"
17684 msgstr ""
17685
17686 # type: =head2
17687 #: ../fish/guestfish-actions.pod:818
17688 msgid "du"
17689 msgstr ""
17690
17691 # type: verbatim
17692 #: ../fish/guestfish-actions.pod:820
17693 #, no-wrap
17694 msgid ""
17695 " du path\n"
17696 "\n"
17697 msgstr ""
17698
17699 # type: =head2
17700 #: ../fish/guestfish-actions.pod:832
17701 msgid "e2fsck-f"
17702 msgstr ""
17703
17704 # type: verbatim
17705 #: ../fish/guestfish-actions.pod:834
17706 #, no-wrap
17707 msgid ""
17708 " e2fsck-f device\n"
17709 "\n"
17710 msgstr ""
17711
17712 # type: textblock
17713 #: ../fish/guestfish-actions.pod:840
17714 msgid ""
17715 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
17716 "should use L</fsck>."
17717 msgstr ""
17718
17719 # type: =head2
17720 #: ../fish/guestfish-actions.pod:843
17721 msgid "echo-daemon"
17722 msgstr ""
17723
17724 # type: verbatim
17725 #: ../fish/guestfish-actions.pod:845
17726 #, no-wrap
17727 msgid ""
17728 " echo-daemon 'words ...'\n"
17729 "\n"
17730 msgstr ""
17731
17732 # type: textblock
17733 #: ../fish/guestfish-actions.pod:852
17734 msgid "See also L</ping-daemon>."
17735 msgstr ""
17736
17737 # type: =head2
17738 #: ../fish/guestfish-actions.pod:854
17739 msgid "egrep"
17740 msgstr ""
17741
17742 # type: verbatim
17743 #: ../fish/guestfish-actions.pod:856
17744 #, no-wrap
17745 msgid ""
17746 " egrep regex path\n"
17747 "\n"
17748 msgstr ""
17749
17750 # type: =head2
17751 #: ../fish/guestfish-actions.pod:864
17752 msgid "egrepi"
17753 msgstr ""
17754
17755 # type: verbatim
17756 #: ../fish/guestfish-actions.pod:866
17757 #, no-wrap
17758 msgid ""
17759 " egrepi regex path\n"
17760 "\n"
17761 msgstr ""
17762
17763 # type: =head2
17764 #: ../fish/guestfish-actions.pod:874
17765 msgid "equal"
17766 msgstr ""
17767
17768 # type: verbatim
17769 #: ../fish/guestfish-actions.pod:876
17770 #, no-wrap
17771 msgid ""
17772 " equal file1 file2\n"
17773 "\n"
17774 msgstr ""
17775
17776 # type: =head2
17777 #: ../fish/guestfish-actions.pod:883
17778 msgid "exists"
17779 msgstr ""
17780
17781 # type: verbatim
17782 #: ../fish/guestfish-actions.pod:885
17783 #, no-wrap
17784 msgid ""
17785 " exists path\n"
17786 "\n"
17787 msgstr ""
17788
17789 # type: textblock
17790 #: ../fish/guestfish-actions.pod:890
17791 msgid "See also L</is-file>, L</is-dir>, L</stat>."
17792 msgstr ""
17793
17794 # type: =head2
17795 #: ../fish/guestfish-actions.pod:892
17796 msgid "fallocate"
17797 msgstr ""
17798
17799 # type: verbatim
17800 #: ../fish/guestfish-actions.pod:894
17801 #, no-wrap
17802 msgid ""
17803 " fallocate path len\n"
17804 "\n"
17805 msgstr ""
17806
17807 # type: =head2
17808 #: ../fish/guestfish-actions.pod:911
17809 msgid "fallocate64"
17810 msgstr ""
17811
17812 # type: verbatim
17813 #: ../fish/guestfish-actions.pod:913
17814 #, no-wrap
17815 msgid ""
17816 " fallocate64 path len\n"
17817 "\n"
17818 msgstr ""
17819
17820 # type: textblock
17821 #: ../fish/guestfish-actions.pod:919
17822 msgid ""
17823 "Note that this call allocates disk blocks for the file.  To create a sparse "
17824 "file use L</truncate-size> instead."
17825 msgstr ""
17826
17827 # type: textblock
17828 #: ../fish/guestfish-actions.pod:922
17829 msgid ""
17830 "The deprecated call L</fallocate> does the same, but owing to an oversight "
17831 "it only allowed 30 bit lengths to be specified, effectively limiting the "
17832 "maximum size of files created through that call to 1GB."
17833 msgstr ""
17834
17835 # type: =head2
17836 #: ../fish/guestfish-actions.pod:931
17837 msgid "fgrep"
17838 msgstr ""
17839
17840 # type: verbatim
17841 #: ../fish/guestfish-actions.pod:933
17842 #, no-wrap
17843 msgid ""
17844 " fgrep pattern path\n"
17845 "\n"
17846 msgstr ""
17847
17848 # type: =head2
17849 #: ../fish/guestfish-actions.pod:941
17850 msgid "fgrepi"
17851 msgstr ""
17852
17853 # type: verbatim
17854 #: ../fish/guestfish-actions.pod:943
17855 #, no-wrap
17856 msgid ""
17857 " fgrepi pattern path\n"
17858 "\n"
17859 msgstr ""
17860
17861 # type: =head2
17862 #: ../fish/guestfish-actions.pod:951
17863 msgid "file"
17864 msgstr ""
17865
17866 # type: verbatim
17867 #: ../fish/guestfish-actions.pod:953
17868 #, no-wrap
17869 msgid ""
17870 " file path\n"
17871 "\n"
17872 msgstr ""
17873
17874 # type: textblock
17875 #: ../fish/guestfish-actions.pod:965
17876 msgid ""
17877 "This command can also be used on C</dev/> devices (and partitions, LV "
17878 "names).  You can for example use this to determine if a device contains a "
17879 "filesystem, although it's usually better to use L</vfs-type>."
17880 msgstr ""
17881
17882 # type: =head2
17883 #: ../fish/guestfish-actions.pod:975
17884 msgid "file-architecture"
17885 msgstr ""
17886
17887 # type: verbatim
17888 #: ../fish/guestfish-actions.pod:977
17889 #, no-wrap
17890 msgid ""
17891 " file-architecture filename\n"
17892 "\n"
17893 msgstr ""
17894
17895 # type: =head2
17896 #: ../fish/guestfish-actions.pod:1080
17897 msgid "filesize"
17898 msgstr ""
17899
17900 # type: verbatim
17901 #: ../fish/guestfish-actions.pod:1082
17902 #, no-wrap
17903 msgid ""
17904 " filesize file\n"
17905 "\n"
17906 msgstr ""
17907
17908 # type: textblock
17909 #: ../fish/guestfish-actions.pod:1086
17910 msgid ""
17911 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
17912 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
17913 msgstr ""
17914
17915 # type: =head2
17916 #: ../fish/guestfish-actions.pod:1090
17917 msgid "fill"
17918 msgstr ""
17919
17920 # type: verbatim
17921 #: ../fish/guestfish-actions.pod:1092
17922 #, no-wrap
17923 msgid ""
17924 " fill c len path\n"
17925 "\n"
17926 msgstr ""
17927
17928 # type: textblock
17929 #: ../fish/guestfish-actions.pod:1098
17930 msgid ""
17931 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
17932 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
17933 "L</fill-pattern>."
17934 msgstr ""
17935
17936 # type: =head2
17937 #: ../fish/guestfish-actions.pod:1103
17938 msgid "fill-pattern"
17939 msgstr ""
17940
17941 # type: verbatim
17942 #: ../fish/guestfish-actions.pod:1105
17943 #, no-wrap
17944 msgid ""
17945 " fill-pattern pattern len path\n"
17946 "\n"
17947 msgstr ""
17948
17949 # type: textblock
17950 #: ../fish/guestfish-actions.pod:1107
17951 msgid ""
17952 "This function is like L</fill> except that it creates a new file of length "
17953 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
17954 "is truncated if necessary to ensure the length of the file is exactly C<len> "
17955 "bytes."
17956 msgstr ""
17957
17958 # type: =head2
17959 #: ../fish/guestfish-actions.pod:1112
17960 msgid "find"
17961 msgstr ""
17962
17963 # type: verbatim
17964 #: ../fish/guestfish-actions.pod:1114
17965 #, no-wrap
17966 msgid ""
17967 " find directory\n"
17968 "\n"
17969 msgstr ""
17970
17971 # type: textblock
17972 #: ../fish/guestfish-actions.pod:1128
17973 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
17974 msgstr ""
17975
17976 # type: textblock
17977 #: ../fish/guestfish-actions.pod:1141
17978 msgid "See also L</find0>."
17979 msgstr ""
17980
17981 # type: =head2
17982 #: ../fish/guestfish-actions.pod:1146
17983 msgid "find0"
17984 msgstr ""
17985
17986 # type: verbatim
17987 #: ../fish/guestfish-actions.pod:1148
17988 #, no-wrap
17989 msgid ""
17990 " find0 directory (files|-)\n"
17991 "\n"
17992 msgstr ""
17993
17994 # type: textblock
17995 #: ../fish/guestfish-actions.pod:1154
17996 msgid ""
17997 "This command works the same way as L</find> with the following exceptions:"
17998 msgstr ""
17999
18000 # type: =head2
18001 #: ../fish/guestfish-actions.pod:1181
18002 msgid "findfs-label"
18003 msgstr ""
18004
18005 # type: verbatim
18006 #: ../fish/guestfish-actions.pod:1183
18007 #, no-wrap
18008 msgid ""
18009 " findfs-label label\n"
18010 "\n"
18011 msgstr ""
18012
18013 # type: textblock
18014 #: ../fish/guestfish-actions.pod:1189
18015 msgid "To find the label of a filesystem, use L</vfs-label>."
18016 msgstr ""
18017
18018 # type: =head2
18019 #: ../fish/guestfish-actions.pod:1191
18020 msgid "findfs-uuid"
18021 msgstr ""
18022
18023 # type: verbatim
18024 #: ../fish/guestfish-actions.pod:1193
18025 #, no-wrap
18026 msgid ""
18027 " findfs-uuid uuid\n"
18028 "\n"
18029 msgstr ""
18030
18031 # type: textblock
18032 #: ../fish/guestfish-actions.pod:1199
18033 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
18034 msgstr ""
18035
18036 # type: =head2
18037 #: ../fish/guestfish-actions.pod:1201
18038 msgid "fsck"
18039 msgstr ""
18040
18041 # type: verbatim
18042 #: ../fish/guestfish-actions.pod:1203
18043 #, no-wrap
18044 msgid ""
18045 " fsck fstype device\n"
18046 "\n"
18047 msgstr ""
18048
18049 # type: =head2
18050 #: ../fish/guestfish-actions.pod:1233
18051 msgid "get-append"
18052 msgstr ""
18053
18054 # type: verbatim
18055 #: ../fish/guestfish-actions.pod:1235
18056 #, no-wrap
18057 msgid ""
18058 " get-append\n"
18059 "\n"
18060 msgstr ""
18061
18062 # type: =head2
18063 #: ../fish/guestfish-actions.pod:1242
18064 msgid "get-autosync"
18065 msgstr ""
18066
18067 # type: verbatim
18068 #: ../fish/guestfish-actions.pod:1244
18069 #, no-wrap
18070 msgid ""
18071 " get-autosync\n"
18072 "\n"
18073 msgstr ""
18074
18075 # type: =head2
18076 #: ../fish/guestfish-actions.pod:1248
18077 msgid "get-direct"
18078 msgstr ""
18079
18080 # type: verbatim
18081 #: ../fish/guestfish-actions.pod:1250
18082 #, no-wrap
18083 msgid ""
18084 " get-direct\n"
18085 "\n"
18086 msgstr ""
18087
18088 # type: =head2
18089 #: ../fish/guestfish-actions.pod:1254
18090 msgid "get-e2label"
18091 msgstr ""
18092
18093 # type: verbatim
18094 #: ../fish/guestfish-actions.pod:1256
18095 #, no-wrap
18096 msgid ""
18097 " get-e2label device\n"
18098 "\n"
18099 msgstr ""
18100
18101 # type: =head2
18102 #: ../fish/guestfish-actions.pod:1268
18103 msgid "get-e2uuid"
18104 msgstr ""
18105
18106 # type: verbatim
18107 #: ../fish/guestfish-actions.pod:1270
18108 #, no-wrap
18109 msgid ""
18110 " get-e2uuid device\n"
18111 "\n"
18112 msgstr ""
18113
18114 # type: =head2
18115 #: ../fish/guestfish-actions.pod:1282
18116 msgid "get-memsize"
18117 msgstr ""
18118
18119 # type: verbatim
18120 #: ../fish/guestfish-actions.pod:1284
18121 #, no-wrap
18122 msgid ""
18123 " get-memsize\n"
18124 "\n"
18125 msgstr ""
18126
18127 # type: textblock
18128 #: ../fish/guestfish-actions.pod:1289
18129 msgid ""
18130 "If L</set-memsize> was not called on this handle, and if "
18131 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
18132 "value for memsize."
18133 msgstr ""
18134
18135 # type: =head2
18136 #: ../fish/guestfish-actions.pod:1296
18137 msgid "get-network"
18138 msgstr ""
18139
18140 # type: verbatim
18141 #: ../fish/guestfish-actions.pod:1298
18142 #, no-wrap
18143 msgid ""
18144 " get-network\n"
18145 "\n"
18146 msgstr ""
18147
18148 # type: =head2
18149 #: ../fish/guestfish-actions.pod:1302
18150 msgid "get-path"
18151 msgstr ""
18152
18153 # type: verbatim
18154 #: ../fish/guestfish-actions.pod:1304
18155 #, no-wrap
18156 msgid ""
18157 " get-path\n"
18158 "\n"
18159 msgstr ""
18160
18161 # type: =head2
18162 #: ../fish/guestfish-actions.pod:1311
18163 msgid "get-pid"
18164 msgstr ""
18165
18166 # type: =head2
18167 #: ../fish/guestfish-actions.pod:1313
18168 msgid "pid"
18169 msgstr ""
18170
18171 # type: verbatim
18172 #: ../fish/guestfish-actions.pod:1315
18173 #, no-wrap
18174 msgid ""
18175 " get-pid\n"
18176 "\n"
18177 msgstr ""
18178
18179 # type: =head2
18180 #: ../fish/guestfish-actions.pod:1322
18181 msgid "get-qemu"
18182 msgstr ""
18183
18184 # type: verbatim
18185 #: ../fish/guestfish-actions.pod:1324
18186 #, no-wrap
18187 msgid ""
18188 " get-qemu\n"
18189 "\n"
18190 msgstr ""
18191
18192 # type: =head2
18193 #: ../fish/guestfish-actions.pod:1331
18194 msgid "get-recovery-proc"
18195 msgstr ""
18196
18197 # type: verbatim
18198 #: ../fish/guestfish-actions.pod:1333
18199 #, no-wrap
18200 msgid ""
18201 " get-recovery-proc\n"
18202 "\n"
18203 msgstr ""
18204
18205 # type: =head2
18206 #: ../fish/guestfish-actions.pod:1337
18207 msgid "get-selinux"
18208 msgstr ""
18209
18210 # type: verbatim
18211 #: ../fish/guestfish-actions.pod:1339
18212 #, no-wrap
18213 msgid ""
18214 " get-selinux\n"
18215 "\n"
18216 msgstr ""
18217
18218 # type: textblock
18219 #: ../fish/guestfish-actions.pod:1341
18220 msgid ""
18221 "This returns the current setting of the selinux flag which is passed to the "
18222 "appliance at boot time.  See L</set-selinux>."
18223 msgstr ""
18224
18225 # type: =head2
18226 #: ../fish/guestfish-actions.pod:1347
18227 msgid "get-state"
18228 msgstr ""
18229
18230 # type: verbatim
18231 #: ../fish/guestfish-actions.pod:1349
18232 #, no-wrap
18233 msgid ""
18234 " get-state\n"
18235 "\n"
18236 msgstr ""
18237
18238 # type: =head2
18239 #: ../fish/guestfish-actions.pod:1356
18240 msgid "get-trace"
18241 msgstr ""
18242
18243 # type: verbatim
18244 #: ../fish/guestfish-actions.pod:1358
18245 #, no-wrap
18246 msgid ""
18247 " get-trace\n"
18248 "\n"
18249 msgstr ""
18250
18251 # type: =head2
18252 #: ../fish/guestfish-actions.pod:1362
18253 msgid "get-umask"
18254 msgstr ""
18255
18256 # type: verbatim
18257 #: ../fish/guestfish-actions.pod:1364
18258 #, no-wrap
18259 msgid ""
18260 " get-umask\n"
18261 "\n"
18262 msgstr ""
18263
18264 # type: textblock
18265 #: ../fish/guestfish-actions.pod:1366
18266 msgid ""
18267 "Return the current umask.  By default the umask is C<022> unless it has been "
18268 "set by calling L</umask>."
18269 msgstr ""
18270
18271 # type: =head2
18272 #: ../fish/guestfish-actions.pod:1369
18273 msgid "get-verbose"
18274 msgstr ""
18275
18276 # type: verbatim
18277 #: ../fish/guestfish-actions.pod:1371
18278 #, no-wrap
18279 msgid ""
18280 " get-verbose\n"
18281 "\n"
18282 msgstr ""
18283
18284 # type: =head2
18285 #: ../fish/guestfish-actions.pod:1375
18286 msgid "getcon"
18287 msgstr ""
18288
18289 # type: verbatim
18290 #: ../fish/guestfish-actions.pod:1377
18291 #, no-wrap
18292 msgid ""
18293 " getcon\n"
18294 "\n"
18295 msgstr ""
18296
18297 # type: textblock
18298 #: ../fish/guestfish-actions.pod:1381
18299 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
18300 msgstr ""
18301
18302 # type: =head2
18303 #: ../fish/guestfish-actions.pod:1384
18304 msgid "getxattrs"
18305 msgstr ""
18306
18307 # type: verbatim
18308 #: ../fish/guestfish-actions.pod:1386
18309 #, no-wrap
18310 msgid ""
18311 " getxattrs path\n"
18312 "\n"
18313 msgstr ""
18314
18315 # type: textblock
18316 #: ../fish/guestfish-actions.pod:1394
18317 msgid "See also: L</lgetxattrs>, L<attr(5)>."
18318 msgstr ""
18319
18320 # type: =head2
18321 #: ../fish/guestfish-actions.pod:1396
18322 msgid "glob-expand"
18323 msgstr ""
18324
18325 # type: verbatim
18326 #: ../fish/guestfish-actions.pod:1398
18327 #, no-wrap
18328 msgid ""
18329 " glob-expand pattern\n"
18330 "\n"
18331 msgstr ""
18332
18333 # type: =head2
18334 #: ../fish/guestfish-actions.pod:1411
18335 msgid "grep"
18336 msgstr ""
18337
18338 # type: verbatim
18339 #: ../fish/guestfish-actions.pod:1413
18340 #, no-wrap
18341 msgid ""
18342 " grep regex path\n"
18343 "\n"
18344 msgstr ""
18345
18346 # type: =head2
18347 #: ../fish/guestfish-actions.pod:1421
18348 msgid "grepi"
18349 msgstr ""
18350
18351 # type: verbatim
18352 #: ../fish/guestfish-actions.pod:1423
18353 #, no-wrap
18354 msgid ""
18355 " grepi regex path\n"
18356 "\n"
18357 msgstr ""
18358
18359 # type: =head2
18360 #: ../fish/guestfish-actions.pod:1431
18361 msgid "grub-install"
18362 msgstr ""
18363
18364 # type: verbatim
18365 #: ../fish/guestfish-actions.pod:1433
18366 #, no-wrap
18367 msgid ""
18368 " grub-install root device\n"
18369 "\n"
18370 msgstr ""
18371
18372 # type: =head2
18373 #: ../fish/guestfish-actions.pod:1449
18374 msgid "head"
18375 msgstr ""
18376
18377 # type: verbatim
18378 #: ../fish/guestfish-actions.pod:1451
18379 #, no-wrap
18380 msgid ""
18381 " head path\n"
18382 "\n"
18383 msgstr ""
18384
18385 # type: =head2
18386 #: ../fish/guestfish-actions.pod:1459
18387 msgid "head-n"
18388 msgstr ""
18389
18390 # type: verbatim
18391 #: ../fish/guestfish-actions.pod:1461
18392 #, no-wrap
18393 msgid ""
18394 " head-n nrlines path\n"
18395 "\n"
18396 msgstr ""
18397
18398 # type: =head2
18399 #: ../fish/guestfish-actions.pod:1474
18400 msgid "hexdump"
18401 msgstr ""
18402
18403 # type: verbatim
18404 #: ../fish/guestfish-actions.pod:1476
18405 #, no-wrap
18406 msgid ""
18407 " hexdump path\n"
18408 "\n"
18409 msgstr ""
18410
18411 # type: =head2
18412 #: ../fish/guestfish-actions.pod:1484
18413 msgid "initrd-cat"
18414 msgstr ""
18415
18416 # type: verbatim
18417 #: ../fish/guestfish-actions.pod:1486
18418 #, no-wrap
18419 msgid ""
18420 " initrd-cat initrdpath filename\n"
18421 "\n"
18422 msgstr ""
18423
18424 # type: textblock
18425 #: ../fish/guestfish-actions.pod:1498
18426 msgid "See also L</initrd-list>."
18427 msgstr ""
18428
18429 # type: =head2
18430 #: ../fish/guestfish-actions.pod:1503
18431 msgid "initrd-list"
18432 msgstr ""
18433
18434 # type: verbatim
18435 #: ../fish/guestfish-actions.pod:1505
18436 #, no-wrap
18437 msgid ""
18438 " initrd-list path\n"
18439 "\n"
18440 msgstr ""
18441
18442 # type: =head2
18443 #: ../fish/guestfish-actions.pod:1517
18444 msgid "inotify-add-watch"
18445 msgstr ""
18446
18447 # type: verbatim
18448 #: ../fish/guestfish-actions.pod:1519
18449 #, no-wrap
18450 msgid ""
18451 " inotify-add-watch path mask\n"
18452 "\n"
18453 msgstr ""
18454
18455 # type: =head2
18456 #: ../fish/guestfish-actions.pod:1531
18457 msgid "inotify-close"
18458 msgstr ""
18459
18460 # type: verbatim
18461 #: ../fish/guestfish-actions.pod:1533
18462 #, no-wrap
18463 msgid ""
18464 " inotify-close\n"
18465 "\n"
18466 msgstr ""
18467
18468 # type: =head2
18469 #: ../fish/guestfish-actions.pod:1539
18470 msgid "inotify-files"
18471 msgstr ""
18472
18473 # type: verbatim
18474 #: ../fish/guestfish-actions.pod:1541
18475 #, no-wrap
18476 msgid ""
18477 " inotify-files\n"
18478 "\n"
18479 msgstr ""
18480
18481 # type: textblock
18482 #: ../fish/guestfish-actions.pod:1543
18483 msgid ""
18484 "This function is a helpful wrapper around L</inotify-read> which just "
18485 "returns a list of pathnames of objects that were touched.  The returned "
18486 "pathnames are sorted and deduplicated."
18487 msgstr ""
18488
18489 # type: =head2
18490 #: ../fish/guestfish-actions.pod:1547
18491 msgid "inotify-init"
18492 msgstr ""
18493
18494 # type: verbatim
18495 #: ../fish/guestfish-actions.pod:1549
18496 #, no-wrap
18497 msgid ""
18498 " inotify-init maxevents\n"
18499 "\n"
18500 msgstr ""
18501
18502 # type: textblock
18503 #: ../fish/guestfish-actions.pod:1555
18504 msgid ""
18505 "C<maxevents> is the maximum number of events which will be queued up between "
18506 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
18507 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18508 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18509 "but records the fact that it threw them away by setting a flag "
18510 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
18511 msgstr ""
18512
18513 # type: textblock
18514 #: ../fish/guestfish-actions.pod:1565
18515 msgid ""
18516 "Before any events are generated, you have to add some watches to the "
18517 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
18518 "L</inotify-watch-all>."
18519 msgstr ""
18520
18521 # type: textblock
18522 #: ../fish/guestfish-actions.pod:1571
18523 msgid ""
18524 "Queued up events should be read periodically by calling L</inotify-read> (or "
18525 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
18526 "If you don't read the events out often enough then you risk the internal "
18527 "queue overflowing."
18528 msgstr ""
18529
18530 # type: textblock
18531 #: ../fish/guestfish-actions.pod:1578
18532 msgid ""
18533 "The handle should be closed after use by calling L</inotify-close>.  This "
18534 "also removes any watches automatically."
18535 msgstr ""
18536
18537 # type: =head2
18538 #: ../fish/guestfish-actions.pod:1587
18539 msgid "inotify-read"
18540 msgstr ""
18541
18542 # type: verbatim
18543 #: ../fish/guestfish-actions.pod:1589
18544 #, no-wrap
18545 msgid ""
18546 " inotify-read\n"
18547 "\n"
18548 msgstr ""
18549
18550 # type: =head2
18551 #: ../fish/guestfish-actions.pod:1602
18552 msgid "inotify-rm-watch"
18553 msgstr ""
18554
18555 # type: verbatim
18556 #: ../fish/guestfish-actions.pod:1604
18557 #, no-wrap
18558 msgid ""
18559 " inotify-rm-watch wd\n"
18560 "\n"
18561 msgstr ""
18562
18563 # type: textblock
18564 #: ../fish/guestfish-actions.pod:1606
18565 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
18566 msgstr ""
18567
18568 # type: =head2
18569 #: ../fish/guestfish-actions.pod:1609
18570 msgid "inspect-get-arch"
18571 msgstr ""
18572
18573 # type: verbatim
18574 #: ../fish/guestfish-actions.pod:1611
18575 #, no-wrap
18576 msgid ""
18577 " inspect-get-arch root\n"
18578 "\n"
18579 msgstr ""
18580
18581 # type: textblock
18582 #: ../fish/guestfish-actions.pod:1613 ../fish/guestfish-actions.pod:1629
18583 #: ../fish/guestfish-actions.pod:1675 ../fish/guestfish-actions.pod:1693
18584 #: ../fish/guestfish-actions.pod:1714 ../fish/guestfish-actions.pod:1729
18585 #: ../fish/guestfish-actions.pod:1752 ../fish/guestfish-actions.pod:1769
18586 msgid ""
18587 "This function should only be called with a root device string as returned by "
18588 "L</inspect-os>."
18589 msgstr ""
18590
18591 # type: textblock
18592 #: ../fish/guestfish-actions.pod:1616
18593 msgid ""
18594 "This returns the architecture of the inspected operating system.  The "
18595 "possible return values are listed under L</file-architecture>."
18596 msgstr ""
18597
18598 # type: =head2
18599 #: ../fish/guestfish-actions.pod:1625
18600 msgid "inspect-get-distro"
18601 msgstr ""
18602
18603 # type: verbatim
18604 #: ../fish/guestfish-actions.pod:1627
18605 #, no-wrap
18606 msgid ""
18607 " inspect-get-distro root\n"
18608 "\n"
18609 msgstr ""
18610
18611 # type: =head2
18612 #: ../fish/guestfish-actions.pod:1671
18613 msgid "inspect-get-filesystems"
18614 msgstr ""
18615
18616 # type: verbatim
18617 #: ../fish/guestfish-actions.pod:1673
18618 #, no-wrap
18619 msgid ""
18620 " inspect-get-filesystems root\n"
18621 "\n"
18622 msgstr ""
18623
18624 # type: textblock
18625 #: ../fish/guestfish-actions.pod:1686
18626 msgid ""
18627 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18628 "get-mountpoints>."
18629 msgstr ""
18630
18631 # type: =head2
18632 #: ../fish/guestfish-actions.pod:1689
18633 msgid "inspect-get-major-version"
18634 msgstr ""
18635
18636 # type: verbatim
18637 #: ../fish/guestfish-actions.pod:1691
18638 #, no-wrap
18639 msgid ""
18640 " inspect-get-major-version root\n"
18641 "\n"
18642 msgstr ""
18643
18644 # type: =head2
18645 #: ../fish/guestfish-actions.pod:1710
18646 msgid "inspect-get-minor-version"
18647 msgstr ""
18648
18649 # type: verbatim
18650 #: ../fish/guestfish-actions.pod:1712
18651 #, no-wrap
18652 msgid ""
18653 " inspect-get-minor-version root\n"
18654 "\n"
18655 msgstr ""
18656
18657 # type: textblock
18658 #: ../fish/guestfish-actions.pod:1722
18659 msgid ""
18660 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18661 "get-major-version>."
18662 msgstr ""
18663
18664 # type: =head2
18665 #: ../fish/guestfish-actions.pod:1725
18666 msgid "inspect-get-mountpoints"
18667 msgstr ""
18668
18669 # type: verbatim
18670 #: ../fish/guestfish-actions.pod:1727
18671 #, no-wrap
18672 msgid ""
18673 " inspect-get-mountpoints root\n"
18674 "\n"
18675 msgstr ""
18676
18677 # type: textblock
18678 #: ../fish/guestfish-actions.pod:1745
18679 msgid ""
18680 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18681 "get-filesystems>."
18682 msgstr ""
18683
18684 # type: =head2
18685 #: ../fish/guestfish-actions.pod:1748
18686 msgid "inspect-get-product-name"
18687 msgstr ""
18688
18689 # type: verbatim
18690 #: ../fish/guestfish-actions.pod:1750
18691 #, no-wrap
18692 msgid ""
18693 " inspect-get-product-name root\n"
18694 "\n"
18695 msgstr ""
18696
18697 # type: =head2
18698 #: ../fish/guestfish-actions.pod:1765
18699 msgid "inspect-get-type"
18700 msgstr ""
18701
18702 # type: verbatim
18703 #: ../fish/guestfish-actions.pod:1767
18704 #, no-wrap
18705 msgid ""
18706 " inspect-get-type root\n"
18707 "\n"
18708 msgstr ""
18709
18710 # type: =head2
18711 #: ../fish/guestfish-actions.pod:1796
18712 msgid "inspect-os"
18713 msgstr ""
18714
18715 # type: verbatim
18716 #: ../fish/guestfish-actions.pod:1798
18717 #, no-wrap
18718 msgid ""
18719 " inspect-os\n"
18720 "\n"
18721 msgstr ""
18722
18723 # type: textblock
18724 #: ../fish/guestfish-actions.pod:1813
18725 msgid ""
18726 "You can pass the root string(s) returned to other L</inspect-get-*> "
18727 "functions in order to query further information about each operating system, "
18728 "such as the name and version."
18729 msgstr ""
18730
18731 # type: textblock
18732 #: ../fish/guestfish-actions.pod:1818
18733 msgid ""
18734 "This function uses other libguestfs features such as L</mount-ro> and L</"
18735 "umount-all> in order to mount and unmount filesystems and look at the "
18736 "contents.  This should be called with no disks currently mounted.  The "
18737 "function may also use Augeas, so any existing Augeas handle will be closed."
18738 msgstr ""
18739
18740 # type: textblock
18741 #: ../fish/guestfish-actions.pod:1830 ../fish/guestfish-actions.pod:1986
18742 #: ../fish/guestfish-actions.pod:2032
18743 msgid "See also L</list-filesystems>."
18744 msgstr ""
18745
18746 # type: =head2
18747 #: ../fish/guestfish-actions.pod:1832
18748 msgid "is-blockdev"
18749 msgstr ""
18750
18751 # type: verbatim
18752 #: ../fish/guestfish-actions.pod:1834
18753 #, no-wrap
18754 msgid ""
18755 " is-blockdev path\n"
18756 "\n"
18757 msgstr ""
18758
18759 # type: textblock
18760 #: ../fish/guestfish-actions.pod:1839 ../fish/guestfish-actions.pod:1857
18761 #: ../fish/guestfish-actions.pod:1876 ../fish/guestfish-actions.pod:1885
18762 #: ../fish/guestfish-actions.pod:1895 ../fish/guestfish-actions.pod:1929
18763 #: ../fish/guestfish-actions.pod:1938
18764 msgid "See also L</stat>."
18765 msgstr ""
18766
18767 # type: =head2
18768 #: ../fish/guestfish-actions.pod:1841
18769 msgid "is-busy"
18770 msgstr ""
18771
18772 # type: verbatim
18773 #: ../fish/guestfish-actions.pod:1843
18774 #, no-wrap
18775 msgid ""
18776 " is-busy\n"
18777 "\n"
18778 msgstr ""
18779
18780 # type: =head2
18781 #: ../fish/guestfish-actions.pod:1850
18782 msgid "is-chardev"
18783 msgstr ""
18784
18785 # type: verbatim
18786 #: ../fish/guestfish-actions.pod:1852
18787 #, no-wrap
18788 msgid ""
18789 " is-chardev path\n"
18790 "\n"
18791 msgstr ""
18792
18793 # type: =head2
18794 #: ../fish/guestfish-actions.pod:1859
18795 msgid "is-config"
18796 msgstr ""
18797
18798 # type: verbatim
18799 #: ../fish/guestfish-actions.pod:1861
18800 #, no-wrap
18801 msgid ""
18802 " is-config\n"
18803 "\n"
18804 msgstr ""
18805
18806 # type: =head2
18807 #: ../fish/guestfish-actions.pod:1868
18808 msgid "is-dir"
18809 msgstr ""
18810
18811 # type: verbatim
18812 #: ../fish/guestfish-actions.pod:1870
18813 #, no-wrap
18814 msgid ""
18815 " is-dir path\n"
18816 "\n"
18817 msgstr ""
18818
18819 # type: =head2
18820 #: ../fish/guestfish-actions.pod:1878
18821 msgid "is-fifo"
18822 msgstr ""
18823
18824 # type: verbatim
18825 #: ../fish/guestfish-actions.pod:1880
18826 #, no-wrap
18827 msgid ""
18828 " is-fifo path\n"
18829 "\n"
18830 msgstr ""
18831
18832 # type: =head2
18833 #: ../fish/guestfish-actions.pod:1887
18834 msgid "is-file"
18835 msgstr ""
18836
18837 # type: verbatim
18838 #: ../fish/guestfish-actions.pod:1889
18839 #, no-wrap
18840 msgid ""
18841 " is-file path\n"
18842 "\n"
18843 msgstr ""
18844
18845 # type: =head2
18846 #: ../fish/guestfish-actions.pod:1897
18847 msgid "is-launching"
18848 msgstr ""
18849
18850 # type: verbatim
18851 #: ../fish/guestfish-actions.pod:1899
18852 #, no-wrap
18853 msgid ""
18854 " is-launching\n"
18855 "\n"
18856 msgstr ""
18857
18858 # type: =head2
18859 #: ../fish/guestfish-actions.pod:1906
18860 msgid "is-lv"
18861 msgstr ""
18862
18863 # type: verbatim
18864 #: ../fish/guestfish-actions.pod:1908
18865 #, no-wrap
18866 msgid ""
18867 " is-lv device\n"
18868 "\n"
18869 msgstr ""
18870
18871 # type: =head2
18872 #: ../fish/guestfish-actions.pod:1913
18873 msgid "is-ready"
18874 msgstr ""
18875
18876 # type: verbatim
18877 #: ../fish/guestfish-actions.pod:1915
18878 #, no-wrap
18879 msgid ""
18880 " is-ready\n"
18881 "\n"
18882 msgstr ""
18883
18884 # type: =head2
18885 #: ../fish/guestfish-actions.pod:1922
18886 msgid "is-socket"
18887 msgstr ""
18888
18889 # type: verbatim
18890 #: ../fish/guestfish-actions.pod:1924
18891 #, no-wrap
18892 msgid ""
18893 " is-socket path\n"
18894 "\n"
18895 msgstr ""
18896
18897 # type: =head2
18898 #: ../fish/guestfish-actions.pod:1931
18899 msgid "is-symlink"
18900 msgstr ""
18901
18902 # type: verbatim
18903 #: ../fish/guestfish-actions.pod:1933
18904 #, no-wrap
18905 msgid ""
18906 " is-symlink path\n"
18907 "\n"
18908 msgstr ""
18909
18910 # type: =head2
18911 #: ../fish/guestfish-actions.pod:1940
18912 msgid "kill-subprocess"
18913 msgstr ""
18914
18915 # type: verbatim
18916 #: ../fish/guestfish-actions.pod:1942
18917 #, no-wrap
18918 msgid ""
18919 " kill-subprocess\n"
18920 "\n"
18921 msgstr ""
18922
18923 # type: =head2
18924 #: ../fish/guestfish-actions.pod:1946
18925 msgid "launch"
18926 msgstr ""
18927
18928 # type: =head2
18929 #: ../fish/guestfish-actions.pod:1948
18930 msgid "run"
18931 msgstr ""
18932
18933 # type: verbatim
18934 #: ../fish/guestfish-actions.pod:1950
18935 #, no-wrap
18936 msgid ""
18937 " launch\n"
18938 "\n"
18939 msgstr ""
18940
18941 # type: =head2
18942 #: ../fish/guestfish-actions.pod:1958
18943 msgid "lchown"
18944 msgstr ""
18945
18946 # type: verbatim
18947 #: ../fish/guestfish-actions.pod:1960
18948 #, no-wrap
18949 msgid ""
18950 " lchown owner group path\n"
18951 "\n"
18952 msgstr ""
18953
18954 # type: textblock
18955 #: ../fish/guestfish-actions.pod:1962
18956 msgid ""
18957 "Change the file owner to C<owner> and group to C<group>.  This is like L</"
18958 "chown> but if C<path> is a symlink then the link itself is changed, not the "
18959 "target."
18960 msgstr ""
18961
18962 # type: =head2
18963 #: ../fish/guestfish-actions.pod:1970
18964 msgid "lgetxattrs"
18965 msgstr ""
18966
18967 # type: verbatim
18968 #: ../fish/guestfish-actions.pod:1972
18969 #, no-wrap
18970 msgid ""
18971 " lgetxattrs path\n"
18972 "\n"
18973 msgstr ""
18974
18975 # type: textblock
18976 #: ../fish/guestfish-actions.pod:1974
18977 msgid ""
18978 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
18979 "it returns the extended attributes of the link itself."
18980 msgstr ""
18981
18982 # type: =head2
18983 #: ../fish/guestfish-actions.pod:1978
18984 msgid "list-devices"
18985 msgstr ""
18986
18987 # type: verbatim
18988 #: ../fish/guestfish-actions.pod:1980
18989 #, no-wrap
18990 msgid ""
18991 " list-devices\n"
18992 "\n"
18993 msgstr ""
18994
18995 # type: =head2
18996 #: ../fish/guestfish-actions.pod:1988
18997 msgid "list-filesystems"
18998 msgstr ""
18999
19000 # type: verbatim
19001 #: ../fish/guestfish-actions.pod:1990
19002 #, no-wrap
19003 msgid ""
19004 " list-filesystems\n"
19005 "\n"
19006 msgstr ""
19007
19008 # type: textblock
19009 #: ../fish/guestfish-actions.pod:2009
19010 msgid ""
19011 "This command runs other libguestfs commands, which might include L</mount> "
19012 "and L</umount>, and therefore you should use this soon after launch and only "
19013 "when nothing is mounted."
19014 msgstr ""
19015
19016 # type: textblock
19017 #: ../fish/guestfish-actions.pod:2013
19018 msgid ""
19019 "Not all of the filesystems returned will be mountable.  In particular, swap "
19020 "partitions are returned in the list.  Also this command does not check that "
19021 "each filesystem found is valid and mountable, and some filesystems might be "
19022 "mountable but require special options.  Filesystems may not all belong to a "
19023 "single logical operating system (use L</inspect-os> to look for OSes)."
19024 msgstr ""
19025
19026 # type: =head2
19027 #: ../fish/guestfish-actions.pod:2021
19028 msgid "list-partitions"
19029 msgstr ""
19030
19031 # type: verbatim
19032 #: ../fish/guestfish-actions.pod:2023
19033 #, no-wrap
19034 msgid ""
19035 " list-partitions\n"
19036 "\n"
19037 msgstr ""
19038
19039 # type: textblock
19040 #: ../fish/guestfish-actions.pod:2029
19041 msgid ""
19042 "This does not return logical volumes.  For that you will need to call L</"
19043 "lvs>."
19044 msgstr ""
19045
19046 # type: =head2
19047 #: ../fish/guestfish-actions.pod:2034
19048 msgid "ll"
19049 msgstr ""
19050
19051 # type: verbatim
19052 #: ../fish/guestfish-actions.pod:2036
19053 #, no-wrap
19054 msgid ""
19055 " ll directory\n"
19056 "\n"
19057 msgstr ""
19058
19059 # type: =head2
19060 #: ../fish/guestfish-actions.pod:2044
19061 msgid "ln"
19062 msgstr ""
19063
19064 # type: verbatim
19065 #: ../fish/guestfish-actions.pod:2046
19066 #, no-wrap
19067 msgid ""
19068 " ln target linkname\n"
19069 "\n"
19070 msgstr ""
19071
19072 # type: =head2
19073 #: ../fish/guestfish-actions.pod:2050
19074 msgid "ln-f"
19075 msgstr ""
19076
19077 # type: verbatim
19078 #: ../fish/guestfish-actions.pod:2052
19079 #, no-wrap
19080 msgid ""
19081 " ln-f target linkname\n"
19082 "\n"
19083 msgstr ""
19084
19085 # type: =head2
19086 #: ../fish/guestfish-actions.pod:2057
19087 msgid "ln-s"
19088 msgstr ""
19089
19090 # type: verbatim
19091 #: ../fish/guestfish-actions.pod:2059
19092 #, no-wrap
19093 msgid ""
19094 " ln-s target linkname\n"
19095 "\n"
19096 msgstr ""
19097
19098 # type: =head2
19099 #: ../fish/guestfish-actions.pod:2063
19100 msgid "ln-sf"
19101 msgstr ""
19102
19103 # type: verbatim
19104 #: ../fish/guestfish-actions.pod:2065
19105 #, no-wrap
19106 msgid ""
19107 " ln-sf target linkname\n"
19108 "\n"
19109 msgstr ""
19110
19111 # type: =head2
19112 #: ../fish/guestfish-actions.pod:2070
19113 msgid "lremovexattr"
19114 msgstr ""
19115
19116 # type: verbatim
19117 #: ../fish/guestfish-actions.pod:2072
19118 #, no-wrap
19119 msgid ""
19120 " lremovexattr xattr path\n"
19121 "\n"
19122 msgstr ""
19123
19124 # type: textblock
19125 #: ../fish/guestfish-actions.pod:2074
19126 msgid ""
19127 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
19128 "it removes an extended attribute of the link itself."
19129 msgstr ""
19130
19131 # type: =head2
19132 #: ../fish/guestfish-actions.pod:2078
19133 msgid "ls"
19134 msgstr ""
19135
19136 # type: verbatim
19137 #: ../fish/guestfish-actions.pod:2080
19138 #, no-wrap
19139 msgid ""
19140 " ls directory\n"
19141 "\n"
19142 msgstr ""
19143
19144 # type: textblock
19145 #: ../fish/guestfish-actions.pod:2086
19146 msgid ""
19147 "This command is mostly useful for interactive sessions.  Programs should "
19148 "probably use L</readdir> instead."
19149 msgstr ""
19150
19151 # type: =head2
19152 #: ../fish/guestfish-actions.pod:2089
19153 msgid "lsetxattr"
19154 msgstr ""
19155
19156 # type: verbatim
19157 #: ../fish/guestfish-actions.pod:2091
19158 #, no-wrap
19159 msgid ""
19160 " lsetxattr xattr val vallen path\n"
19161 "\n"
19162 msgstr ""
19163
19164 # type: textblock
19165 #: ../fish/guestfish-actions.pod:2093
19166 msgid ""
19167 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
19168 "sets an extended attribute of the link itself."
19169 msgstr ""
19170
19171 # type: =head2
19172 #: ../fish/guestfish-actions.pod:2097
19173 msgid "lstat"
19174 msgstr ""
19175
19176 # type: verbatim
19177 #: ../fish/guestfish-actions.pod:2099
19178 #, no-wrap
19179 msgid ""
19180 " lstat path\n"
19181 "\n"
19182 msgstr ""
19183
19184 # type: textblock
19185 #: ../fish/guestfish-actions.pod:2103
19186 msgid ""
19187 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
19188 "the link is stat-ed, not the file it refers to."
19189 msgstr ""
19190
19191 # type: =head2
19192 #: ../fish/guestfish-actions.pod:2109
19193 msgid "lstatlist"
19194 msgstr ""
19195
19196 # type: verbatim
19197 #: ../fish/guestfish-actions.pod:2111
19198 #, no-wrap
19199 msgid ""
19200 " lstatlist path 'names ...'\n"
19201 "\n"
19202 msgstr ""
19203
19204 # type: textblock
19205 #: ../fish/guestfish-actions.pod:2113
19206 msgid ""
19207 "This call allows you to perform the L</lstat> operation on multiple files, "
19208 "where all files are in the directory C<path>.  C<names> is the list of files "
19209 "from this directory."
19210 msgstr ""
19211
19212 # type: textblock
19213 #: ../fish/guestfish-actions.pod:2122
19214 msgid ""
19215 "This call is intended for programs that want to efficiently list a directory "
19216 "contents without making many round-trips.  See also L</lxattrlist> for a "
19217 "similarly efficient call for getting extended attributes.  Very long "
19218 "directory listings might cause the protocol message size to be exceeded, "
19219 "causing this call to fail.  The caller must split up such requests into "
19220 "smaller groups of names."
19221 msgstr ""
19222
19223 # type: =head2
19224 #: ../fish/guestfish-actions.pod:2130
19225 msgid "luks-add-key"
19226 msgstr ""
19227
19228 # type: verbatim
19229 #: ../fish/guestfish-actions.pod:2132
19230 #, no-wrap
19231 msgid ""
19232 " luks-add-key device keyslot\n"
19233 "\n"
19234 msgstr ""
19235
19236 # type: textblock
19237 #: ../fish/guestfish-actions.pod:2139
19238 msgid ""
19239 "Note that if C<keyslot> already contains a key, then this command will "
19240 "fail.  You have to use L</luks-kill-slot> first to remove that key."
19241 msgstr ""
19242
19243 # type: textblock
19244 #: ../fish/guestfish-actions.pod:2143 ../fish/guestfish-actions.pod:2165
19245 #: ../fish/guestfish-actions.pod:2178 ../fish/guestfish-actions.pod:2192
19246 #: ../fish/guestfish-actions.pod:2215 ../fish/guestfish-actions.pod:2225
19247 msgid ""
19248 "This command has one or more key or passphrase parameters.  Guestfish will "
19249 "prompt for these separately."
19250 msgstr ""
19251
19252 # type: =head2
19253 #: ../fish/guestfish-actions.pod:2146
19254 msgid "luks-close"
19255 msgstr ""
19256
19257 # type: verbatim
19258 #: ../fish/guestfish-actions.pod:2148
19259 #, no-wrap
19260 msgid ""
19261 " luks-close device\n"
19262 "\n"
19263 msgstr ""
19264
19265 # type: textblock
19266 #: ../fish/guestfish-actions.pod:2150
19267 msgid ""
19268 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
19269 "luks-open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
19270 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
19271 "block device."
19272 msgstr ""
19273
19274 # type: =head2
19275 #: ../fish/guestfish-actions.pod:2156
19276 msgid "luks-format"
19277 msgstr ""
19278
19279 # type: verbatim
19280 #: ../fish/guestfish-actions.pod:2158
19281 #, no-wrap
19282 msgid ""
19283 " luks-format device keyslot\n"
19284 "\n"
19285 msgstr ""
19286
19287 # type: =head2
19288 #: ../fish/guestfish-actions.pod:2171
19289 msgid "luks-format-cipher"
19290 msgstr ""
19291
19292 # type: verbatim
19293 #: ../fish/guestfish-actions.pod:2173
19294 #, no-wrap
19295 msgid ""
19296 " luks-format-cipher device keyslot cipher\n"
19297 "\n"
19298 msgstr ""
19299
19300 # type: textblock
19301 #: ../fish/guestfish-actions.pod:2175
19302 msgid ""
19303 "This command is the same as L</luks-format> but it also allows you to set "
19304 "the C<cipher> used."
19305 msgstr ""
19306
19307 # type: =head2
19308 #: ../fish/guestfish-actions.pod:2184
19309 msgid "luks-kill-slot"
19310 msgstr ""
19311
19312 # type: verbatim
19313 #: ../fish/guestfish-actions.pod:2186
19314 #, no-wrap
19315 msgid ""
19316 " luks-kill-slot device keyslot\n"
19317 "\n"
19318 msgstr ""
19319
19320 # type: =head2
19321 #: ../fish/guestfish-actions.pod:2195
19322 msgid "luks-open"
19323 msgstr ""
19324
19325 # type: verbatim
19326 #: ../fish/guestfish-actions.pod:2197
19327 #, no-wrap
19328 msgid ""
19329 " luks-open device mapname\n"
19330 "\n"
19331 msgstr ""
19332
19333 # type: textblock
19334 #: ../fish/guestfish-actions.pod:2211
19335 msgid ""
19336 "If this block device contains LVM volume groups, then calling L</vgscan> "
19337 "followed by L</vg-activate-all> will make them visible."
19338 msgstr ""
19339
19340 # type: =head2
19341 #: ../fish/guestfish-actions.pod:2218
19342 msgid "luks-open-ro"
19343 msgstr ""
19344
19345 # type: verbatim
19346 #: ../fish/guestfish-actions.pod:2220
19347 #, no-wrap
19348 msgid ""
19349 " luks-open-ro device mapname\n"
19350 "\n"
19351 msgstr ""
19352
19353 # type: textblock
19354 #: ../fish/guestfish-actions.pod:2222
19355 msgid ""
19356 "This is the same as L</luks-open> except that a read-only mapping is created."
19357 msgstr ""
19358
19359 # type: =head2
19360 #: ../fish/guestfish-actions.pod:2228
19361 msgid "lvcreate"
19362 msgstr ""
19363
19364 # type: verbatim
19365 #: ../fish/guestfish-actions.pod:2230
19366 #, no-wrap
19367 msgid ""
19368 " lvcreate logvol volgroup mbytes\n"
19369 "\n"
19370 msgstr ""
19371
19372 # type: =head2
19373 #: ../fish/guestfish-actions.pod:2235
19374 msgid "lvm-clear-filter"
19375 msgstr ""
19376
19377 # type: verbatim
19378 #: ../fish/guestfish-actions.pod:2237
19379 #, no-wrap
19380 msgid ""
19381 " lvm-clear-filter\n"
19382 "\n"
19383 msgstr ""
19384
19385 # type: textblock
19386 #: ../fish/guestfish-actions.pod:2239
19387 msgid ""
19388 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
19389 "block device."
19390 msgstr ""
19391
19392 # type: =head2
19393 #: ../fish/guestfish-actions.pod:2245
19394 msgid "lvm-remove-all"
19395 msgstr ""
19396
19397 # type: verbatim
19398 #: ../fish/guestfish-actions.pod:2247
19399 #, no-wrap
19400 msgid ""
19401 " lvm-remove-all\n"
19402 "\n"
19403 msgstr ""
19404
19405 # type: =head2
19406 #: ../fish/guestfish-actions.pod:2255
19407 msgid "lvm-set-filter"
19408 msgstr ""
19409
19410 # type: verbatim
19411 #: ../fish/guestfish-actions.pod:2257
19412 #, no-wrap
19413 msgid ""
19414 " lvm-set-filter 'devices ...'\n"
19415 "\n"
19416 msgstr ""
19417
19418 # type: =head2
19419 #: ../fish/guestfish-actions.pod:2282
19420 msgid "lvremove"
19421 msgstr ""
19422
19423 # type: verbatim
19424 #: ../fish/guestfish-actions.pod:2284
19425 #, no-wrap
19426 msgid ""
19427 " lvremove device\n"
19428 "\n"
19429 msgstr ""
19430
19431 # type: =head2
19432 #: ../fish/guestfish-actions.pod:2292
19433 msgid "lvrename"
19434 msgstr ""
19435
19436 # type: verbatim
19437 #: ../fish/guestfish-actions.pod:2294
19438 #, no-wrap
19439 msgid ""
19440 " lvrename logvol newlogvol\n"
19441 "\n"
19442 msgstr ""
19443
19444 # type: =head2
19445 #: ../fish/guestfish-actions.pod:2298
19446 msgid "lvresize"
19447 msgstr ""
19448
19449 # type: verbatim
19450 #: ../fish/guestfish-actions.pod:2300
19451 #, no-wrap
19452 msgid ""
19453 " lvresize device mbytes\n"
19454 "\n"
19455 msgstr ""
19456
19457 # type: =head2
19458 #: ../fish/guestfish-actions.pod:2306
19459 msgid "lvresize-free"
19460 msgstr ""
19461
19462 # type: verbatim
19463 #: ../fish/guestfish-actions.pod:2308
19464 #, no-wrap
19465 msgid ""
19466 " lvresize-free lv percent\n"
19467 "\n"
19468 msgstr ""
19469
19470 # type: =head2
19471 #: ../fish/guestfish-actions.pod:2316
19472 msgid "lvs"
19473 msgstr ""
19474
19475 # type: verbatim
19476 #: ../fish/guestfish-actions.pod:2318
19477 #, no-wrap
19478 msgid ""
19479 " lvs\n"
19480 "\n"
19481 msgstr ""
19482
19483 # type: textblock
19484 #: ../fish/guestfish-actions.pod:2326
19485 msgid "See also L</lvs-full>, L</list-filesystems>."
19486 msgstr ""
19487
19488 # type: =head2
19489 #: ../fish/guestfish-actions.pod:2328
19490 msgid "lvs-full"
19491 msgstr ""
19492
19493 # type: verbatim
19494 #: ../fish/guestfish-actions.pod:2330
19495 #, no-wrap
19496 msgid ""
19497 " lvs-full\n"
19498 "\n"
19499 msgstr ""
19500
19501 # type: =head2
19502 #: ../fish/guestfish-actions.pod:2335
19503 msgid "lvuuid"
19504 msgstr ""
19505
19506 # type: verbatim
19507 #: ../fish/guestfish-actions.pod:2337
19508 #, no-wrap
19509 msgid ""
19510 " lvuuid device\n"
19511 "\n"
19512 msgstr ""
19513
19514 # type: =head2
19515 #: ../fish/guestfish-actions.pod:2341
19516 msgid "lxattrlist"
19517 msgstr ""
19518
19519 # type: verbatim
19520 #: ../fish/guestfish-actions.pod:2343
19521 #, no-wrap
19522 msgid ""
19523 " lxattrlist path 'names ...'\n"
19524 "\n"
19525 msgstr ""
19526
19527 # type: textblock
19528 #: ../fish/guestfish-actions.pod:2359
19529 msgid ""
19530 "This call is intended for programs that want to efficiently list a directory "
19531 "contents without making many round-trips.  See also L</lstatlist> for a "
19532 "similarly efficient call for getting standard stats.  Very long directory "
19533 "listings might cause the protocol message size to be exceeded, causing this "
19534 "call to fail.  The caller must split up such requests into smaller groups of "
19535 "names."
19536 msgstr ""
19537
19538 # type: =head2
19539 #: ../fish/guestfish-actions.pod:2367
19540 msgid "mkdir"
19541 msgstr ""
19542
19543 # type: verbatim
19544 #: ../fish/guestfish-actions.pod:2369
19545 #, no-wrap
19546 msgid ""
19547 " mkdir path\n"
19548 "\n"
19549 msgstr ""
19550
19551 # type: =head2
19552 #: ../fish/guestfish-actions.pod:2373
19553 msgid "mkdir-mode"
19554 msgstr ""
19555
19556 # type: verbatim
19557 #: ../fish/guestfish-actions.pod:2375
19558 #, no-wrap
19559 msgid ""
19560 " mkdir-mode path mode\n"
19561 "\n"
19562 msgstr ""
19563
19564 # type: textblock
19565 #: ../fish/guestfish-actions.pod:2384
19566 msgid "See also L</mkdir>, L</umask>"
19567 msgstr ""
19568
19569 # type: =head2
19570 #: ../fish/guestfish-actions.pod:2386
19571 msgid "mkdir-p"
19572 msgstr ""
19573
19574 # type: verbatim
19575 #: ../fish/guestfish-actions.pod:2388
19576 #, no-wrap
19577 msgid ""
19578 " mkdir-p path\n"
19579 "\n"
19580 msgstr ""
19581
19582 # type: =head2
19583 #: ../fish/guestfish-actions.pod:2393
19584 msgid "mkdtemp"
19585 msgstr ""
19586
19587 # type: verbatim
19588 #: ../fish/guestfish-actions.pod:2395
19589 #, no-wrap
19590 msgid ""
19591 " mkdtemp template\n"
19592 "\n"
19593 msgstr ""
19594
19595 # type: =head2
19596 #: ../fish/guestfish-actions.pod:2416
19597 msgid "mke2fs-J"
19598 msgstr ""
19599
19600 # type: verbatim
19601 #: ../fish/guestfish-actions.pod:2418
19602 #, no-wrap
19603 msgid ""
19604 " mke2fs-J fstype blocksize device journal\n"
19605 "\n"
19606 msgstr ""
19607
19608 # type: textblock
19609 #: ../fish/guestfish-actions.pod:2426
19610 msgid "See also L</mke2journal>."
19611 msgstr ""
19612
19613 # type: =head2
19614 #: ../fish/guestfish-actions.pod:2428
19615 msgid "mke2fs-JL"
19616 msgstr ""
19617
19618 # type: verbatim
19619 #: ../fish/guestfish-actions.pod:2430
19620 #, no-wrap
19621 msgid ""
19622 " mke2fs-JL fstype blocksize device label\n"
19623 "\n"
19624 msgstr ""
19625
19626 # type: textblock
19627 #: ../fish/guestfish-actions.pod:2435
19628 msgid "See also L</mke2journal-L>."
19629 msgstr ""
19630
19631 # type: =head2
19632 #: ../fish/guestfish-actions.pod:2437
19633 msgid "mke2fs-JU"
19634 msgstr ""
19635
19636 # type: verbatim
19637 #: ../fish/guestfish-actions.pod:2439
19638 #, no-wrap
19639 msgid ""
19640 " mke2fs-JU fstype blocksize device uuid\n"
19641 "\n"
19642 msgstr ""
19643
19644 # type: textblock
19645 #: ../fish/guestfish-actions.pod:2444
19646 msgid "See also L</mke2journal-U>."
19647 msgstr ""
19648
19649 # type: =head2
19650 #: ../fish/guestfish-actions.pod:2446
19651 msgid "mke2journal"
19652 msgstr ""
19653
19654 # type: verbatim
19655 #: ../fish/guestfish-actions.pod:2448
19656 #, no-wrap
19657 msgid ""
19658 " mke2journal blocksize device\n"
19659 "\n"
19660 msgstr ""
19661
19662 # type: =head2
19663 #: ../fish/guestfish-actions.pod:2455
19664 msgid "mke2journal-L"
19665 msgstr ""
19666
19667 # type: verbatim
19668 #: ../fish/guestfish-actions.pod:2457
19669 #, no-wrap
19670 msgid ""
19671 " mke2journal-L blocksize label device\n"
19672 "\n"
19673 msgstr ""
19674
19675 # type: =head2
19676 #: ../fish/guestfish-actions.pod:2461
19677 msgid "mke2journal-U"
19678 msgstr ""
19679
19680 # type: verbatim
19681 #: ../fish/guestfish-actions.pod:2463
19682 #, no-wrap
19683 msgid ""
19684 " mke2journal-U blocksize uuid device\n"
19685 "\n"
19686 msgstr ""
19687
19688 # type: =head2
19689 #: ../fish/guestfish-actions.pod:2467
19690 msgid "mkfifo"
19691 msgstr ""
19692
19693 # type: verbatim
19694 #: ../fish/guestfish-actions.pod:2469
19695 #, no-wrap
19696 msgid ""
19697 " mkfifo mode path\n"
19698 "\n"
19699 msgstr ""
19700
19701 # type: textblock
19702 #: ../fish/guestfish-actions.pod:2471
19703 msgid ""
19704 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19705 "is just a convenient wrapper around L</mknod>."
19706 msgstr ""
19707
19708 # type: =head2
19709 #: ../fish/guestfish-actions.pod:2477
19710 msgid "mkfs"
19711 msgstr ""
19712
19713 # type: verbatim
19714 #: ../fish/guestfish-actions.pod:2479
19715 #, no-wrap
19716 msgid ""
19717 " mkfs fstype device\n"
19718 "\n"
19719 msgstr ""
19720
19721 # type: =head2
19722 #: ../fish/guestfish-actions.pod:2485
19723 msgid "mkfs-b"
19724 msgstr ""
19725
19726 # type: verbatim
19727 #: ../fish/guestfish-actions.pod:2487
19728 #, no-wrap
19729 msgid ""
19730 " mkfs-b fstype blocksize device\n"
19731 "\n"
19732 msgstr ""
19733
19734 # type: textblock
19735 #: ../fish/guestfish-actions.pod:2489
19736 msgid ""
19737 "This call is similar to L</mkfs>, but it allows you to control the block "
19738 "size of the resulting filesystem.  Supported block sizes depend on the "
19739 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
19740 msgstr ""
19741
19742 # type: =head2
19743 #: ../fish/guestfish-actions.pod:2497
19744 msgid "mkmountpoint"
19745 msgstr ""
19746
19747 # type: verbatim
19748 #: ../fish/guestfish-actions.pod:2499
19749 #, no-wrap
19750 msgid ""
19751 " mkmountpoint exemptpath\n"
19752 "\n"
19753 msgstr ""
19754
19755 # type: textblock
19756 #: ../fish/guestfish-actions.pod:2501
19757 msgid ""
19758 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
19759 "to create extra mountpoints before mounting the first filesystem."
19760 msgstr ""
19761
19762 # type: =head2
19763 #: ../fish/guestfish-actions.pod:2525
19764 msgid "mknod"
19765 msgstr ""
19766
19767 # type: verbatim
19768 #: ../fish/guestfish-actions.pod:2527
19769 #, no-wrap
19770 msgid ""
19771 " mknod mode devmajor devminor path\n"
19772 "\n"
19773 msgstr ""
19774
19775 # type: textblock
19776 #: ../fish/guestfish-actions.pod:2537
19777 msgid ""
19778 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19779 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19780 "regular file).  These constants are available in the standard Linux header "
19781 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
19782 "wrappers around this command which bitwise OR in the appropriate constant "
19783 "for you."
19784 msgstr ""
19785
19786 # type: =head2
19787 #: ../fish/guestfish-actions.pod:2547
19788 msgid "mknod-b"
19789 msgstr ""
19790
19791 # type: verbatim
19792 #: ../fish/guestfish-actions.pod:2549
19793 #, no-wrap
19794 msgid ""
19795 " mknod-b mode devmajor devminor path\n"
19796 "\n"
19797 msgstr ""
19798
19799 # type: textblock
19800 #: ../fish/guestfish-actions.pod:2551
19801 msgid ""
19802 "This call creates a block device node called C<path> with mode C<mode> and "
19803 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19804 "wrapper around L</mknod>."
19805 msgstr ""
19806
19807 # type: =head2
19808 #: ../fish/guestfish-actions.pod:2557
19809 msgid "mknod-c"
19810 msgstr ""
19811
19812 # type: verbatim
19813 #: ../fish/guestfish-actions.pod:2559
19814 #, no-wrap
19815 msgid ""
19816 " mknod-c mode devmajor devminor path\n"
19817 "\n"
19818 msgstr ""
19819
19820 # type: textblock
19821 #: ../fish/guestfish-actions.pod:2561
19822 msgid ""
19823 "This call creates a char device node called C<path> with mode C<mode> and "
19824 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19825 "wrapper around L</mknod>."
19826 msgstr ""
19827
19828 # type: =head2
19829 #: ../fish/guestfish-actions.pod:2567
19830 msgid "mkswap"
19831 msgstr ""
19832
19833 # type: verbatim
19834 #: ../fish/guestfish-actions.pod:2569
19835 #, no-wrap
19836 msgid ""
19837 " mkswap device\n"
19838 "\n"
19839 msgstr ""
19840
19841 # type: =head2
19842 #: ../fish/guestfish-actions.pod:2573
19843 msgid "mkswap-L"
19844 msgstr ""
19845
19846 # type: verbatim
19847 #: ../fish/guestfish-actions.pod:2575
19848 #, no-wrap
19849 msgid ""
19850 " mkswap-L label device\n"
19851 "\n"
19852 msgstr ""
19853
19854 # type: =head2
19855 #: ../fish/guestfish-actions.pod:2583
19856 msgid "mkswap-U"
19857 msgstr ""
19858
19859 # type: verbatim
19860 #: ../fish/guestfish-actions.pod:2585
19861 #, no-wrap
19862 msgid ""
19863 " mkswap-U uuid device\n"
19864 "\n"
19865 msgstr ""
19866
19867 # type: =head2
19868 #: ../fish/guestfish-actions.pod:2589
19869 msgid "mkswap-file"
19870 msgstr ""
19871
19872 # type: verbatim
19873 #: ../fish/guestfish-actions.pod:2591
19874 #, no-wrap
19875 msgid ""
19876 " mkswap-file path\n"
19877 "\n"
19878 msgstr ""
19879
19880 # type: textblock
19881 #: ../fish/guestfish-actions.pod:2595
19882 msgid ""
19883 "This command just writes a swap file signature to an existing file.  To "
19884 "create the file itself, use something like L</fallocate>."
19885 msgstr ""
19886
19887 # type: =head2
19888 #: ../fish/guestfish-actions.pod:2598
19889 msgid "modprobe"
19890 msgstr ""
19891
19892 # type: verbatim
19893 #: ../fish/guestfish-actions.pod:2600
19894 #, no-wrap
19895 msgid ""
19896 " modprobe modulename\n"
19897 "\n"
19898 msgstr ""
19899
19900 # type: =head2
19901 #: ../fish/guestfish-actions.pod:2607
19902 msgid "mount"
19903 msgstr ""
19904
19905 # type: verbatim
19906 #: ../fish/guestfish-actions.pod:2609
19907 #, no-wrap
19908 msgid ""
19909 " mount device mountpoint\n"
19910 "\n"
19911 msgstr ""
19912
19913 # type: textblock
19914 #: ../fish/guestfish-actions.pod:2625
19915 msgid ""
19916 "B<Important note:> When you use this call, the filesystem options C<sync> "
19917 "and C<noatime> are set implicitly.  This was originally done because we "
19918 "thought it would improve reliability, but it turns out that I<-o sync> has a "
19919 "very large negative performance impact and negligible effect on "
19920 "reliability.  Therefore we recommend that you avoid using L</mount> in any "
19921 "code that needs performance, and instead use L</mount-options> (use an empty "
19922 "string for the first parameter if you don't want any options)."
19923 msgstr ""
19924
19925 # type: =head2
19926 #: ../fish/guestfish-actions.pod:2635
19927 msgid "mount-loop"
19928 msgstr ""
19929
19930 # type: verbatim
19931 #: ../fish/guestfish-actions.pod:2637
19932 #, no-wrap
19933 msgid ""
19934 " mount-loop file mountpoint\n"
19935 "\n"
19936 msgstr ""
19937
19938 # type: =head2
19939 #: ../fish/guestfish-actions.pod:2643
19940 msgid "mount-options"
19941 msgstr ""
19942
19943 # type: verbatim
19944 #: ../fish/guestfish-actions.pod:2645
19945 #, no-wrap
19946 msgid ""
19947 " mount-options options device mountpoint\n"
19948 "\n"
19949 msgstr ""
19950
19951 # type: textblock
19952 #: ../fish/guestfish-actions.pod:2647
19953 msgid ""
19954 "This is the same as the L</mount> command, but it allows you to set the "
19955 "mount options as for the L<mount(8)> I<-o> flag."
19956 msgstr ""
19957
19958 # type: =head2
19959 #: ../fish/guestfish-actions.pod:2655
19960 msgid "mount-ro"
19961 msgstr ""
19962
19963 # type: verbatim
19964 #: ../fish/guestfish-actions.pod:2657
19965 #, no-wrap
19966 msgid ""
19967 " mount-ro device mountpoint\n"
19968 "\n"
19969 msgstr ""
19970
19971 # type: textblock
19972 #: ../fish/guestfish-actions.pod:2659
19973 msgid ""
19974 "This is the same as the L</mount> command, but it mounts the filesystem with "
19975 "the read-only (I<-o ro>) flag."
19976 msgstr ""
19977
19978 # type: =head2
19979 #: ../fish/guestfish-actions.pod:2662
19980 msgid "mount-vfs"
19981 msgstr ""
19982
19983 # type: verbatim
19984 #: ../fish/guestfish-actions.pod:2664
19985 #, no-wrap
19986 msgid ""
19987 " mount-vfs options vfstype device mountpoint\n"
19988 "\n"
19989 msgstr ""
19990
19991 # type: textblock
19992 #: ../fish/guestfish-actions.pod:2666
19993 msgid ""
19994 "This is the same as the L</mount> command, but it allows you to set both the "
19995 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
19996 msgstr ""
19997
19998 # type: =head2
19999 #: ../fish/guestfish-actions.pod:2670
20000 msgid "mountpoints"
20001 msgstr ""
20002
20003 # type: verbatim
20004 #: ../fish/guestfish-actions.pod:2672
20005 #, no-wrap
20006 msgid ""
20007 " mountpoints\n"
20008 "\n"
20009 msgstr ""
20010
20011 # type: textblock
20012 #: ../fish/guestfish-actions.pod:2674
20013 msgid ""
20014 "This call is similar to L</mounts>.  That call returns a list of devices.  "
20015 "This one returns a hash table (map) of device name to directory where the "
20016 "device is mounted."
20017 msgstr ""
20018
20019 # type: =head2
20020 #: ../fish/guestfish-actions.pod:2678
20021 msgid "mounts"
20022 msgstr ""
20023
20024 # type: verbatim
20025 #: ../fish/guestfish-actions.pod:2680
20026 #, no-wrap
20027 msgid ""
20028 " mounts\n"
20029 "\n"
20030 msgstr ""
20031
20032 # type: textblock
20033 #: ../fish/guestfish-actions.pod:2687
20034 msgid "See also: L</mountpoints>"
20035 msgstr ""
20036
20037 # type: =head2
20038 #: ../fish/guestfish-actions.pod:2689
20039 msgid "mv"
20040 msgstr ""
20041
20042 # type: verbatim
20043 #: ../fish/guestfish-actions.pod:2691
20044 #, no-wrap
20045 msgid ""
20046 " mv src dest\n"
20047 "\n"
20048 msgstr ""
20049
20050 # type: =head2
20051 #: ../fish/guestfish-actions.pod:2696
20052 msgid "ntfs-3g-probe"
20053 msgstr ""
20054
20055 # type: verbatim
20056 #: ../fish/guestfish-actions.pod:2698
20057 #, no-wrap
20058 msgid ""
20059 " ntfs-3g-probe true|false device\n"
20060 "\n"
20061 msgstr ""
20062
20063 # type: =head2
20064 #: ../fish/guestfish-actions.pod:2712
20065 msgid "ntfsresize"
20066 msgstr ""
20067
20068 # type: verbatim
20069 #: ../fish/guestfish-actions.pod:2714
20070 #, no-wrap
20071 msgid ""
20072 " ntfsresize device\n"
20073 "\n"
20074 msgstr ""
20075
20076 # type: =head2
20077 #: ../fish/guestfish-actions.pod:2720
20078 msgid "ntfsresize-size"
20079 msgstr ""
20080
20081 # type: verbatim
20082 #: ../fish/guestfish-actions.pod:2722
20083 #, no-wrap
20084 msgid ""
20085 " ntfsresize-size device size\n"
20086 "\n"
20087 msgstr ""
20088
20089 # type: textblock
20090 #: ../fish/guestfish-actions.pod:2724
20091 msgid ""
20092 "This command is the same as L</ntfsresize> except that it allows you to "
20093 "specify the new size (in bytes) explicitly."
20094 msgstr ""
20095
20096 # type: =head2
20097 #: ../fish/guestfish-actions.pod:2727
20098 msgid "part-add"
20099 msgstr ""
20100
20101 # type: verbatim
20102 #: ../fish/guestfish-actions.pod:2729
20103 #, no-wrap
20104 msgid ""
20105 " part-add device prlogex startsect endsect\n"
20106 "\n"
20107 msgstr ""
20108
20109 # type: textblock
20110 #: ../fish/guestfish-actions.pod:2731
20111 msgid ""
20112 "This command adds a partition to C<device>.  If there is no partition table "
20113 "on the device, call L</part-init> first."
20114 msgstr ""
20115
20116 # type: textblock
20117 #: ../fish/guestfish-actions.pod:2743
20118 msgid ""
20119 "Creating a partition which covers the whole disk is not so easy.  Use L</"
20120 "part-disk> to do that."
20121 msgstr ""
20122
20123 # type: =head2
20124 #: ../fish/guestfish-actions.pod:2746
20125 msgid "part-del"
20126 msgstr ""
20127
20128 # type: verbatim
20129 #: ../fish/guestfish-actions.pod:2748
20130 #, no-wrap
20131 msgid ""
20132 " part-del device partnum\n"
20133 "\n"
20134 msgstr ""
20135
20136 # type: =head2
20137 #: ../fish/guestfish-actions.pod:2756
20138 msgid "part-disk"
20139 msgstr ""
20140
20141 # type: verbatim
20142 #: ../fish/guestfish-actions.pod:2758
20143 #, no-wrap
20144 msgid ""
20145 " part-disk device parttype\n"
20146 "\n"
20147 msgstr ""
20148
20149 # type: textblock
20150 #: ../fish/guestfish-actions.pod:2760
20151 msgid ""
20152 "This command is simply a combination of L</part-init> followed by L</part-"
20153 "add> to create a single primary partition covering the whole disk."
20154 msgstr ""
20155
20156 # type: textblock
20157 #: ../fish/guestfish-actions.pod:2764
20158 msgid ""
20159 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
20160 "possible values are described in L</part-init>."
20161 msgstr ""
20162
20163 # type: =head2
20164 #: ../fish/guestfish-actions.pod:2770
20165 msgid "part-get-bootable"
20166 msgstr ""
20167
20168 # type: verbatim
20169 #: ../fish/guestfish-actions.pod:2772
20170 #, no-wrap
20171 msgid ""
20172 " part-get-bootable device partnum\n"
20173 "\n"
20174 msgstr ""
20175
20176 # type: textblock
20177 #: ../fish/guestfish-actions.pod:2777
20178 msgid "See also L</part-set-bootable>."
20179 msgstr ""
20180
20181 # type: =head2
20182 #: ../fish/guestfish-actions.pod:2779
20183 msgid "part-get-mbr-id"
20184 msgstr ""
20185
20186 # type: verbatim
20187 #: ../fish/guestfish-actions.pod:2781
20188 #, no-wrap
20189 msgid ""
20190 " part-get-mbr-id device partnum\n"
20191 "\n"
20192 msgstr ""
20193
20194 # type: textblock
20195 #: ../fish/guestfish-actions.pod:2786 ../fish/guestfish-actions.pod:2924
20196 msgid ""
20197 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
20198 "undefined results for other partition table types (see L</part-get-"
20199 "parttype>)."
20200 msgstr ""
20201
20202 # type: =head2
20203 #: ../fish/guestfish-actions.pod:2790
20204 msgid "part-get-parttype"
20205 msgstr ""
20206
20207 # type: verbatim
20208 #: ../fish/guestfish-actions.pod:2792
20209 #, no-wrap
20210 msgid ""
20211 " part-get-parttype device\n"
20212 "\n"
20213 msgstr ""
20214
20215 # type: textblock
20216 #: ../fish/guestfish-actions.pod:2797
20217 msgid ""
20218 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
20219 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
20220 "possible, although unusual.  See L</part-init> for a full list."
20221 msgstr ""
20222
20223 # type: =head2
20224 #: ../fish/guestfish-actions.pod:2802
20225 msgid "part-init"
20226 msgstr ""
20227
20228 # type: verbatim
20229 #: ../fish/guestfish-actions.pod:2804
20230 #, no-wrap
20231 msgid ""
20232 " part-init device parttype\n"
20233 "\n"
20234 msgstr ""
20235
20236 # type: textblock
20237 #: ../fish/guestfish-actions.pod:2810
20238 msgid ""
20239 "Initially there are no partitions.  Following this, you should call L</part-"
20240 "add> for each partition required."
20241 msgstr ""
20242
20243 # type: =head2
20244 #: ../fish/guestfish-actions.pod:2873
20245 msgid "part-list"
20246 msgstr ""
20247
20248 # type: verbatim
20249 #: ../fish/guestfish-actions.pod:2875
20250 #, no-wrap
20251 msgid ""
20252 " part-list device\n"
20253 "\n"
20254 msgstr ""
20255
20256 # type: textblock
20257 #: ../fish/guestfish-actions.pod:2890
20258 msgid ""
20259 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
20260 "the device's sector size, see L</blockdev-getss>."
20261 msgstr ""
20262
20263 # type: =head2
20264 #: ../fish/guestfish-actions.pod:2903
20265 msgid "part-set-bootable"
20266 msgstr ""
20267
20268 # type: verbatim
20269 #: ../fish/guestfish-actions.pod:2905
20270 #, no-wrap
20271 msgid ""
20272 " part-set-bootable device partnum true|false\n"
20273 "\n"
20274 msgstr ""
20275
20276 # type: =head2
20277 #: ../fish/guestfish-actions.pod:2914
20278 msgid "part-set-mbr-id"
20279 msgstr ""
20280
20281 # type: verbatim
20282 #: ../fish/guestfish-actions.pod:2916
20283 #, no-wrap
20284 msgid ""
20285 " part-set-mbr-id device partnum idbyte\n"
20286 "\n"
20287 msgstr ""
20288
20289 # type: =head2
20290 #: ../fish/guestfish-actions.pod:2928
20291 msgid "part-set-name"
20292 msgstr ""
20293
20294 # type: verbatim
20295 #: ../fish/guestfish-actions.pod:2930
20296 #, no-wrap
20297 msgid ""
20298 " part-set-name device partnum name\n"
20299 "\n"
20300 msgstr ""
20301
20302 # type: =head2
20303 #: ../fish/guestfish-actions.pod:2938
20304 msgid "part-to-dev"
20305 msgstr ""
20306
20307 # type: verbatim
20308 #: ../fish/guestfish-actions.pod:2940
20309 #, no-wrap
20310 msgid ""
20311 " part-to-dev partition\n"
20312 "\n"
20313 msgstr ""
20314
20315 # type: textblock
20316 #: ../fish/guestfish-actions.pod:2946
20317 msgid ""
20318 "The named partition must exist, for example as a string returned from L</"
20319 "list-partitions>."
20320 msgstr ""
20321
20322 # type: =head2
20323 #: ../fish/guestfish-actions.pod:2949
20324 msgid "ping-daemon"
20325 msgstr ""
20326
20327 # type: verbatim
20328 #: ../fish/guestfish-actions.pod:2951
20329 #, no-wrap
20330 msgid ""
20331 " ping-daemon\n"
20332 "\n"
20333 msgstr ""
20334
20335 # type: =head2
20336 #: ../fish/guestfish-actions.pod:2958
20337 msgid "pread"
20338 msgstr ""
20339
20340 # type: verbatim
20341 #: ../fish/guestfish-actions.pod:2960
20342 #, no-wrap
20343 msgid ""
20344 " pread path count offset\n"
20345 "\n"
20346 msgstr ""
20347
20348 # type: textblock
20349 #: ../fish/guestfish-actions.pod:2968
20350 msgid "See also L</pwrite>."
20351 msgstr ""
20352
20353 # type: =head2
20354 #: ../fish/guestfish-actions.pod:2973
20355 msgid "pvcreate"
20356 msgstr ""
20357
20358 # type: verbatim
20359 #: ../fish/guestfish-actions.pod:2975
20360 #, no-wrap
20361 msgid ""
20362 " pvcreate device\n"
20363 "\n"
20364 msgstr ""
20365
20366 # type: =head2
20367 #: ../fish/guestfish-actions.pod:2981
20368 msgid "pvremove"
20369 msgstr ""
20370
20371 # type: verbatim
20372 #: ../fish/guestfish-actions.pod:2983
20373 #, no-wrap
20374 msgid ""
20375 " pvremove device\n"
20376 "\n"
20377 msgstr ""
20378
20379 # type: =head2
20380 #: ../fish/guestfish-actions.pod:2992
20381 msgid "pvresize"
20382 msgstr ""
20383
20384 # type: verbatim
20385 #: ../fish/guestfish-actions.pod:2994
20386 #, no-wrap
20387 msgid ""
20388 " pvresize device\n"
20389 "\n"
20390 msgstr ""
20391
20392 # type: =head2
20393 #: ../fish/guestfish-actions.pod:2999
20394 msgid "pvresize-size"
20395 msgstr ""
20396
20397 # type: verbatim
20398 #: ../fish/guestfish-actions.pod:3001
20399 #, no-wrap
20400 msgid ""
20401 " pvresize-size device size\n"
20402 "\n"
20403 msgstr ""
20404
20405 # type: textblock
20406 #: ../fish/guestfish-actions.pod:3003
20407 msgid ""
20408 "This command is the same as L</pvresize> except that it allows you to "
20409 "specify the new size (in bytes) explicitly."
20410 msgstr ""
20411
20412 # type: =head2
20413 #: ../fish/guestfish-actions.pod:3006
20414 msgid "pvs"
20415 msgstr ""
20416
20417 # type: verbatim
20418 #: ../fish/guestfish-actions.pod:3008
20419 #, no-wrap
20420 msgid ""
20421 " pvs\n"
20422 "\n"
20423 msgstr ""
20424
20425 # type: textblock
20426 #: ../fish/guestfish-actions.pod:3016
20427 msgid "See also L</pvs-full>."
20428 msgstr ""
20429
20430 # type: =head2
20431 #: ../fish/guestfish-actions.pod:3018
20432 msgid "pvs-full"
20433 msgstr ""
20434
20435 # type: verbatim
20436 #: ../fish/guestfish-actions.pod:3020
20437 #, no-wrap
20438 msgid ""
20439 " pvs-full\n"
20440 "\n"
20441 msgstr ""
20442
20443 # type: =head2
20444 #: ../fish/guestfish-actions.pod:3025
20445 msgid "pvuuid"
20446 msgstr ""
20447
20448 # type: verbatim
20449 #: ../fish/guestfish-actions.pod:3027
20450 #, no-wrap
20451 msgid ""
20452 " pvuuid device\n"
20453 "\n"
20454 msgstr ""
20455
20456 # type: =head2
20457 #: ../fish/guestfish-actions.pod:3031
20458 msgid "pwrite"
20459 msgstr ""
20460
20461 # type: verbatim
20462 #: ../fish/guestfish-actions.pod:3033
20463 #, no-wrap
20464 msgid ""
20465 " pwrite path content offset\n"
20466 "\n"
20467 msgstr ""
20468
20469 # type: textblock
20470 #: ../fish/guestfish-actions.pod:3044
20471 msgid "See also L</pread>."
20472 msgstr ""
20473
20474 # type: =head2
20475 #: ../fish/guestfish-actions.pod:3049
20476 msgid "read-file"
20477 msgstr ""
20478
20479 # type: verbatim
20480 #: ../fish/guestfish-actions.pod:3051
20481 #, no-wrap
20482 msgid ""
20483 " read-file path\n"
20484 "\n"
20485 msgstr ""
20486
20487 # type: textblock
20488 #: ../fish/guestfish-actions.pod:3056
20489 msgid ""
20490 "Unlike L</cat>, this function can correctly handle files that contain "
20491 "embedded ASCII NUL characters.  However unlike L</download>, this function "
20492 "is limited in the total size of file that can be handled."
20493 msgstr ""
20494
20495 # type: =head2
20496 #: ../fish/guestfish-actions.pod:3064
20497 msgid "read-lines"
20498 msgstr ""
20499
20500 # type: verbatim
20501 #: ../fish/guestfish-actions.pod:3066
20502 #, no-wrap
20503 msgid ""
20504 " read-lines path\n"
20505 "\n"
20506 msgstr ""
20507
20508 # type: textblock
20509 #: ../fish/guestfish-actions.pod:3073
20510 msgid ""
20511 "Note that this function cannot correctly handle binary files (specifically, "
20512 "files containing C<\\0> character which is treated as end of line).  For "
20513 "those you need to use the L</read-file> function which has a more complex "
20514 "interface."
20515 msgstr ""
20516
20517 # type: =head2
20518 #: ../fish/guestfish-actions.pod:3078
20519 msgid "readdir"
20520 msgstr ""
20521
20522 # type: verbatim
20523 #: ../fish/guestfish-actions.pod:3080
20524 #, no-wrap
20525 msgid ""
20526 " readdir dir\n"
20527 "\n"
20528 msgstr ""
20529
20530 # type: textblock
20531 #: ../fish/guestfish-actions.pod:3132
20532 msgid ""
20533 "This function is primarily intended for use by programs.  To get a simple "
20534 "list of names, use L</ls>.  To get a printable directory for human "
20535 "consumption, use L</ll>."
20536 msgstr ""
20537
20538 # type: =head2
20539 #: ../fish/guestfish-actions.pod:3136
20540 msgid "readlink"
20541 msgstr ""
20542
20543 # type: verbatim
20544 #: ../fish/guestfish-actions.pod:3138
20545 #, no-wrap
20546 msgid ""
20547 " readlink path\n"
20548 "\n"
20549 msgstr ""
20550
20551 # type: =head2
20552 #: ../fish/guestfish-actions.pod:3142
20553 msgid "readlinklist"
20554 msgstr ""
20555
20556 # type: verbatim
20557 #: ../fish/guestfish-actions.pod:3144
20558 #, no-wrap
20559 msgid ""
20560 " readlinklist path 'names ...'\n"
20561 "\n"
20562 msgstr ""
20563
20564 # type: =head2
20565 #: ../fish/guestfish-actions.pod:3168
20566 msgid "realpath"
20567 msgstr ""
20568
20569 # type: verbatim
20570 #: ../fish/guestfish-actions.pod:3170
20571 #, no-wrap
20572 msgid ""
20573 " realpath path\n"
20574 "\n"
20575 msgstr ""
20576
20577 # type: =head2
20578 #: ../fish/guestfish-actions.pod:3175
20579 msgid "removexattr"
20580 msgstr ""
20581
20582 # type: verbatim
20583 #: ../fish/guestfish-actions.pod:3177
20584 #, no-wrap
20585 msgid ""
20586 " removexattr xattr path\n"
20587 "\n"
20588 msgstr ""
20589
20590 # type: textblock
20591 #: ../fish/guestfish-actions.pod:3182
20592 msgid "See also: L</lremovexattr>, L<attr(5)>."
20593 msgstr ""
20594
20595 # type: =head2
20596 #: ../fish/guestfish-actions.pod:3184
20597 msgid "resize2fs"
20598 msgstr ""
20599
20600 # type: verbatim
20601 #: ../fish/guestfish-actions.pod:3186
20602 #, no-wrap
20603 msgid ""
20604 " resize2fs device\n"
20605 "\n"
20606 msgstr ""
20607
20608 # type: textblock
20609 #: ../fish/guestfish-actions.pod:3191
20610 msgid ""
20611 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
20612 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
20613 "gives an error about this and sometimes not.  In any case, it is always safe "
20614 "to call L</e2fsck-f> before calling this function."
20615 msgstr ""
20616
20617 # type: =head2
20618 #: ../fish/guestfish-actions.pod:3197
20619 msgid "resize2fs-size"
20620 msgstr ""
20621
20622 # type: verbatim
20623 #: ../fish/guestfish-actions.pod:3199
20624 #, no-wrap
20625 msgid ""
20626 " resize2fs-size device size\n"
20627 "\n"
20628 msgstr ""
20629
20630 # type: textblock
20631 #: ../fish/guestfish-actions.pod:3201
20632 msgid ""
20633 "This command is the same as L</resize2fs> except that it allows you to "
20634 "specify the new size (in bytes) explicitly."
20635 msgstr ""
20636
20637 # type: =head2
20638 #: ../fish/guestfish-actions.pod:3204
20639 msgid "rm"
20640 msgstr ""
20641
20642 # type: verbatim
20643 #: ../fish/guestfish-actions.pod:3206
20644 #, no-wrap
20645 msgid ""
20646 " rm path\n"
20647 "\n"
20648 msgstr ""
20649
20650 # type: =head2
20651 #: ../fish/guestfish-actions.pod:3210
20652 msgid "rm-rf"
20653 msgstr ""
20654
20655 # type: verbatim
20656 #: ../fish/guestfish-actions.pod:3212
20657 #, no-wrap
20658 msgid ""
20659 " rm-rf path\n"
20660 "\n"
20661 msgstr ""
20662
20663 # type: =head2
20664 #: ../fish/guestfish-actions.pod:3218
20665 msgid "rmdir"
20666 msgstr ""
20667
20668 # type: verbatim
20669 #: ../fish/guestfish-actions.pod:3220
20670 #, no-wrap
20671 msgid ""
20672 " rmdir path\n"
20673 "\n"
20674 msgstr ""
20675
20676 # type: =head2
20677 #: ../fish/guestfish-actions.pod:3224
20678 msgid "rmmountpoint"
20679 msgstr ""
20680
20681 # type: verbatim
20682 #: ../fish/guestfish-actions.pod:3226
20683 #, no-wrap
20684 msgid ""
20685 " rmmountpoint exemptpath\n"
20686 "\n"
20687 msgstr ""
20688
20689 # type: textblock
20690 #: ../fish/guestfish-actions.pod:3228
20691 msgid ""
20692 "This calls removes a mountpoint that was previously created with L</"
20693 "mkmountpoint>.  See L</mkmountpoint> for full details."
20694 msgstr ""
20695
20696 # type: =head2
20697 #: ../fish/guestfish-actions.pod:3232
20698 msgid "scrub-device"
20699 msgstr ""
20700
20701 # type: verbatim
20702 #: ../fish/guestfish-actions.pod:3234
20703 #, no-wrap
20704 msgid ""
20705 " scrub-device device\n"
20706 "\n"
20707 msgstr ""
20708
20709 # type: =head2
20710 #: ../fish/guestfish-actions.pod:3245
20711 msgid "scrub-file"
20712 msgstr ""
20713
20714 # type: verbatim
20715 #: ../fish/guestfish-actions.pod:3247
20716 #, no-wrap
20717 msgid ""
20718 " scrub-file file\n"
20719 "\n"
20720 msgstr ""
20721
20722 # type: =head2
20723 #: ../fish/guestfish-actions.pod:3257
20724 msgid "scrub-freespace"
20725 msgstr ""
20726
20727 # type: verbatim
20728 #: ../fish/guestfish-actions.pod:3259
20729 #, no-wrap
20730 msgid ""
20731 " scrub-freespace dir\n"
20732 "\n"
20733 msgstr ""
20734
20735 # type: textblock
20736 #: ../fish/guestfish-actions.pod:3261
20737 msgid ""
20738 "This command creates the directory C<dir> and then fills it with files until "
20739 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
20740 "deletes them.  The intention is to scrub any free space on the partition "
20741 "containing C<dir>."
20742 msgstr ""
20743
20744 # type: =head2
20745 #: ../fish/guestfish-actions.pod:3270
20746 msgid "set-append"
20747 msgstr ""
20748
20749 # type: =head2
20750 #: ../fish/guestfish-actions.pod:3272
20751 msgid "append"
20752 msgstr ""
20753
20754 # type: verbatim
20755 #: ../fish/guestfish-actions.pod:3274
20756 #, no-wrap
20757 msgid ""
20758 " set-append append\n"
20759 "\n"
20760 msgstr ""
20761
20762 # type: =head2
20763 #: ../fish/guestfish-actions.pod:3285
20764 msgid "set-autosync"
20765 msgstr ""
20766
20767 # type: =head2
20768 #: ../fish/guestfish-actions.pod:3287
20769 msgid "autosync"
20770 msgstr ""
20771
20772 # type: verbatim
20773 #: ../fish/guestfish-actions.pod:3289
20774 #, no-wrap
20775 msgid ""
20776 " set-autosync true|false\n"
20777 "\n"
20778 msgstr ""
20779
20780 # type: textblock
20781 #: ../fish/guestfish-actions.pod:3291
20782 msgid ""
20783 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20784 "effort attempt to run L</umount-all> followed by L</sync> when the handle is "
20785 "closed (also if the program exits without closing handles)."
20786 msgstr ""
20787
20788 # type: =head2
20789 #: ../fish/guestfish-actions.pod:3299
20790 msgid "set-direct"
20791 msgstr ""
20792
20793 # type: =head2
20794 #: ../fish/guestfish-actions.pod:3301
20795 msgid "direct"
20796 msgstr ""
20797
20798 # type: verbatim
20799 #: ../fish/guestfish-actions.pod:3303
20800 #, no-wrap
20801 msgid ""
20802 " set-direct true|false\n"
20803 "\n"
20804 msgstr ""
20805
20806 # type: textblock
20807 #: ../fish/guestfish-actions.pod:3309
20808 msgid ""
20809 "One consequence of this is that log messages aren't caught by the library "
20810 "and handled by L</set-log-message-callback>, but go straight to stdout."
20811 msgstr ""
20812
20813 # type: =head2
20814 #: ../fish/guestfish-actions.pod:3318
20815 msgid "set-e2label"
20816 msgstr ""
20817
20818 # type: verbatim
20819 #: ../fish/guestfish-actions.pod:3320
20820 #, no-wrap
20821 msgid ""
20822 " set-e2label device label\n"
20823 "\n"
20824 msgstr ""
20825
20826 # type: textblock
20827 #: ../fish/guestfish-actions.pod:3326
20828 msgid ""
20829 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
20830 "label on a filesystem."
20831 msgstr ""
20832
20833 # type: =head2
20834 #: ../fish/guestfish-actions.pod:3329
20835 msgid "set-e2uuid"
20836 msgstr ""
20837
20838 # type: verbatim
20839 #: ../fish/guestfish-actions.pod:3331
20840 #, no-wrap
20841 msgid ""
20842 " set-e2uuid device uuid\n"
20843 "\n"
20844 msgstr ""
20845
20846 # type: textblock
20847 #: ../fish/guestfish-actions.pod:3338
20848 msgid ""
20849 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
20850 "UUID of a filesystem."
20851 msgstr ""
20852
20853 # type: =head2
20854 #: ../fish/guestfish-actions.pod:3341
20855 msgid "set-memsize"
20856 msgstr ""
20857
20858 # type: =head2
20859 #: ../fish/guestfish-actions.pod:3343
20860 msgid "memsize"
20861 msgstr ""
20862
20863 # type: verbatim
20864 #: ../fish/guestfish-actions.pod:3345
20865 #, no-wrap
20866 msgid ""
20867 " set-memsize memsize\n"
20868 "\n"
20869 msgstr ""
20870
20871 # type: textblock
20872 #: ../fish/guestfish-actions.pod:3347
20873 msgid ""
20874 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
20875 "This only has any effect if called before L</launch>."
20876 msgstr ""
20877
20878 # type: =head2
20879 #: ../fish/guestfish-actions.pod:3358
20880 msgid "set-network"
20881 msgstr ""
20882
20883 # type: =head2
20884 #: ../fish/guestfish-actions.pod:3360
20885 msgid "network"
20886 msgstr ""
20887
20888 # type: verbatim
20889 #: ../fish/guestfish-actions.pod:3362
20890 #, no-wrap
20891 msgid ""
20892 " set-network true|false\n"
20893 "\n"
20894 msgstr ""
20895
20896 # type: textblock
20897 #: ../fish/guestfish-actions.pod:3370
20898 msgid ""
20899 "You must call this before calling L</launch>, otherwise it has no effect."
20900 msgstr ""
20901
20902 # type: =head2
20903 #: ../fish/guestfish-actions.pod:3373
20904 msgid "set-path"
20905 msgstr ""
20906
20907 # type: =head2
20908 #: ../fish/guestfish-actions.pod:3375
20909 msgid "path"
20910 msgstr ""
20911
20912 # type: verbatim
20913 #: ../fish/guestfish-actions.pod:3377
20914 #, no-wrap
20915 msgid ""
20916 " set-path searchpath\n"
20917 "\n"
20918 msgstr ""
20919
20920 # type: =head2
20921 #: ../fish/guestfish-actions.pod:3386
20922 msgid "set-qemu"
20923 msgstr ""
20924
20925 # type: =head2
20926 #: ../fish/guestfish-actions.pod:3388
20927 msgid "qemu"
20928 msgstr ""
20929
20930 # type: verbatim
20931 #: ../fish/guestfish-actions.pod:3390
20932 #, no-wrap
20933 msgid ""
20934 " set-qemu qemu\n"
20935 "\n"
20936 msgstr ""
20937
20938 # type: =head2
20939 #: ../fish/guestfish-actions.pod:3410
20940 msgid "set-recovery-proc"
20941 msgstr ""
20942
20943 # type: =head2
20944 #: ../fish/guestfish-actions.pod:3412
20945 msgid "recovery-proc"
20946 msgstr ""
20947
20948 # type: verbatim
20949 #: ../fish/guestfish-actions.pod:3414
20950 #, no-wrap
20951 msgid ""
20952 " set-recovery-proc true|false\n"
20953 "\n"
20954 msgstr ""
20955
20956 # type: textblock
20957 #: ../fish/guestfish-actions.pod:3416
20958 msgid ""
20959 "If this is called with the parameter C<false> then L</launch> does not "
20960 "create a recovery process.  The purpose of the recovery process is to stop "
20961 "runaway qemu processes in the case where the main program aborts abruptly."
20962 msgstr ""
20963
20964 # type: textblock
20965 #: ../fish/guestfish-actions.pod:3421
20966 msgid ""
20967 "This only has any effect if called before L</launch>, and the default is "
20968 "true."
20969 msgstr ""
20970
20971 # type: =head2
20972 #: ../fish/guestfish-actions.pod:3430
20973 msgid "set-selinux"
20974 msgstr ""
20975
20976 # type: =head2
20977 #: ../fish/guestfish-actions.pod:3432
20978 msgid "selinux"
20979 msgstr ""
20980
20981 # type: verbatim
20982 #: ../fish/guestfish-actions.pod:3434
20983 #, no-wrap
20984 msgid ""
20985 " set-selinux true|false\n"
20986 "\n"
20987 msgstr ""
20988
20989 # type: =head2
20990 #: ../fish/guestfish-actions.pod:3445
20991 msgid "set-trace"
20992 msgstr ""
20993
20994 # type: =head2
20995 #: ../fish/guestfish-actions.pod:3447
20996 msgid "trace"
20997 msgstr ""
20998
20999 # type: verbatim
21000 #: ../fish/guestfish-actions.pod:3449
21001 #, no-wrap
21002 msgid ""
21003 " set-trace true|false\n"
21004 "\n"
21005 msgstr ""
21006
21007 # type: =head2
21008 #: ../fish/guestfish-actions.pod:3465
21009 msgid "set-verbose"
21010 msgstr ""
21011
21012 # type: =head2
21013 #: ../fish/guestfish-actions.pod:3467
21014 msgid "verbose"
21015 msgstr ""
21016
21017 # type: verbatim
21018 #: ../fish/guestfish-actions.pod:3469
21019 #, no-wrap
21020 msgid ""
21021 " set-verbose true|false\n"
21022 "\n"
21023 msgstr ""
21024
21025 # type: =head2
21026 #: ../fish/guestfish-actions.pod:3476
21027 msgid "setcon"
21028 msgstr ""
21029
21030 # type: verbatim
21031 #: ../fish/guestfish-actions.pod:3478
21032 #, no-wrap
21033 msgid ""
21034 " setcon context\n"
21035 "\n"
21036 msgstr ""
21037
21038 # type: =head2
21039 #: ../fish/guestfish-actions.pod:3485
21040 msgid "setxattr"
21041 msgstr ""
21042
21043 # type: verbatim
21044 #: ../fish/guestfish-actions.pod:3487
21045 #, no-wrap
21046 msgid ""
21047 " setxattr xattr val vallen path\n"
21048 "\n"
21049 msgstr ""
21050
21051 # type: textblock
21052 #: ../fish/guestfish-actions.pod:3493
21053 msgid "See also: L</lsetxattr>, L<attr(5)>."
21054 msgstr ""
21055
21056 # type: =head2
21057 #: ../fish/guestfish-actions.pod:3495
21058 msgid "sfdisk"
21059 msgstr ""
21060
21061 # type: verbatim
21062 #: ../fish/guestfish-actions.pod:3497
21063 #, no-wrap
21064 msgid ""
21065 " sfdisk device cyls heads sectors 'lines ...'\n"
21066 "\n"
21067 msgstr ""
21068
21069 # type: textblock
21070 #: ../fish/guestfish-actions.pod:3519
21071 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
21072 msgstr ""
21073
21074 # type: =head2
21075 #: ../fish/guestfish-actions.pod:3525
21076 msgid "sfdiskM"
21077 msgstr ""
21078
21079 # type: verbatim
21080 #: ../fish/guestfish-actions.pod:3527
21081 #, no-wrap
21082 msgid ""
21083 " sfdiskM device 'lines ...'\n"
21084 "\n"
21085 msgstr ""
21086
21087 # type: textblock
21088 #: ../fish/guestfish-actions.pod:3529
21089 msgid ""
21090 "This is a simplified interface to the L</sfdisk> command, where partition "
21091 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
21092 "you don't need to specify the cyls, heads and sectors parameters which were "
21093 "rarely if ever used anyway."
21094 msgstr ""
21095
21096 # type: textblock
21097 #: ../fish/guestfish-actions.pod:3535
21098 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
21099 msgstr ""
21100
21101 # type: =head2
21102 #: ../fish/guestfish-actions.pod:3541
21103 msgid "sfdisk-N"
21104 msgstr ""
21105
21106 # type: verbatim
21107 #: ../fish/guestfish-actions.pod:3543
21108 #, no-wrap
21109 msgid ""
21110 " sfdisk-N device partnum cyls heads sectors line\n"
21111 "\n"
21112 msgstr ""
21113
21114 # type: textblock
21115 #: ../fish/guestfish-actions.pod:3548
21116 msgid ""
21117 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
21118 "cyls/heads/sectors parameters."
21119 msgstr ""
21120
21121 # type: textblock
21122 #: ../fish/guestfish-actions.pod:3551
21123 msgid "See also: L</part-add>"
21124 msgstr ""
21125
21126 # type: =head2
21127 #: ../fish/guestfish-actions.pod:3556
21128 msgid "sfdisk-disk-geometry"
21129 msgstr ""
21130
21131 # type: verbatim
21132 #: ../fish/guestfish-actions.pod:3558
21133 #, no-wrap
21134 msgid ""
21135 " sfdisk-disk-geometry device\n"
21136 "\n"
21137 msgstr ""
21138
21139 # type: textblock
21140 #: ../fish/guestfish-actions.pod:3560
21141 msgid ""
21142 "This displays the disk geometry of C<device> read from the partition table.  "
21143 "Especially in the case where the underlying block device has been resized, "
21144 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
21145 "kernel-geometry>)."
21146 msgstr ""
21147
21148 # type: =head2
21149 #: ../fish/guestfish-actions.pod:3568
21150 msgid "sfdisk-kernel-geometry"
21151 msgstr ""
21152
21153 # type: verbatim
21154 #: ../fish/guestfish-actions.pod:3570
21155 #, no-wrap
21156 msgid ""
21157 " sfdisk-kernel-geometry device\n"
21158 "\n"
21159 msgstr ""
21160
21161 # type: =head2
21162 #: ../fish/guestfish-actions.pod:3577
21163 msgid "sfdisk-l"
21164 msgstr ""
21165
21166 # type: verbatim
21167 #: ../fish/guestfish-actions.pod:3579
21168 #, no-wrap
21169 msgid ""
21170 " sfdisk-l device\n"
21171 "\n"
21172 msgstr ""
21173
21174 # type: textblock
21175 #: ../fish/guestfish-actions.pod:3585
21176 msgid "See also: L</part-list>"
21177 msgstr ""
21178
21179 # type: =head2
21180 #: ../fish/guestfish-actions.pod:3587
21181 msgid "sh"
21182 msgstr ""
21183
21184 # type: verbatim
21185 #: ../fish/guestfish-actions.pod:3589
21186 #, no-wrap
21187 msgid ""
21188 " sh command\n"
21189 "\n"
21190 msgstr ""
21191
21192 # type: textblock
21193 #: ../fish/guestfish-actions.pod:3594
21194 msgid "This is like L</command>, but passes the command to:"
21195 msgstr ""
21196
21197 # type: textblock
21198 #: ../fish/guestfish-actions.pod:3602
21199 msgid "All the provisos about L</command> apply to this call."
21200 msgstr ""
21201
21202 # type: =head2
21203 #: ../fish/guestfish-actions.pod:3604
21204 msgid "sh-lines"
21205 msgstr ""
21206
21207 # type: verbatim
21208 #: ../fish/guestfish-actions.pod:3606
21209 #, no-wrap
21210 msgid ""
21211 " sh-lines command\n"
21212 "\n"
21213 msgstr ""
21214
21215 # type: textblock
21216 #: ../fish/guestfish-actions.pod:3608
21217 msgid "This is the same as L</sh>, but splits the result into a list of lines."
21218 msgstr ""
21219
21220 # type: textblock
21221 #: ../fish/guestfish-actions.pod:3611
21222 msgid "See also: L</command-lines>"
21223 msgstr ""
21224
21225 # type: =head2
21226 #: ../fish/guestfish-actions.pod:3613
21227 msgid "sleep"
21228 msgstr ""
21229
21230 # type: verbatim
21231 #: ../fish/guestfish-actions.pod:3615
21232 #, no-wrap
21233 msgid ""
21234 " sleep secs\n"
21235 "\n"
21236 msgstr ""
21237
21238 # type: =head2
21239 #: ../fish/guestfish-actions.pod:3619
21240 msgid "stat"
21241 msgstr ""
21242
21243 # type: verbatim
21244 #: ../fish/guestfish-actions.pod:3621
21245 #, no-wrap
21246 msgid ""
21247 " stat path\n"
21248 "\n"
21249 msgstr ""
21250
21251 # type: =head2
21252 #: ../fish/guestfish-actions.pod:3627
21253 msgid "statvfs"
21254 msgstr ""
21255
21256 # type: verbatim
21257 #: ../fish/guestfish-actions.pod:3629
21258 #, no-wrap
21259 msgid ""
21260 " statvfs path\n"
21261 "\n"
21262 msgstr ""
21263
21264 # type: =head2
21265 #: ../fish/guestfish-actions.pod:3637
21266 msgid "strings"
21267 msgstr ""
21268
21269 # type: verbatim
21270 #: ../fish/guestfish-actions.pod:3639
21271 #, no-wrap
21272 msgid ""
21273 " strings path\n"
21274 "\n"
21275 msgstr ""
21276
21277 # type: =head2
21278 #: ../fish/guestfish-actions.pod:3647
21279 msgid "strings-e"
21280 msgstr ""
21281
21282 # type: verbatim
21283 #: ../fish/guestfish-actions.pod:3649
21284 #, no-wrap
21285 msgid ""
21286 " strings-e encoding path\n"
21287 "\n"
21288 msgstr ""
21289
21290 # type: textblock
21291 #: ../fish/guestfish-actions.pod:3651
21292 msgid ""
21293 "This is like the L</strings> command, but allows you to specify the encoding "
21294 "of strings that are looked for in the source file C<path>."
21295 msgstr ""
21296
21297 # type: textblock
21298 #: ../fish/guestfish-actions.pod:3661
21299 msgid ""
21300 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
21301 "ISO-8859-X (this is what L</strings> uses)."
21302 msgstr ""
21303
21304 # type: =head2
21305 #: ../fish/guestfish-actions.pod:3693
21306 msgid "swapoff-device"
21307 msgstr ""
21308
21309 # type: verbatim
21310 #: ../fish/guestfish-actions.pod:3695
21311 #, no-wrap
21312 msgid ""
21313 " swapoff-device device\n"
21314 "\n"
21315 msgstr ""
21316
21317 # type: textblock
21318 #: ../fish/guestfish-actions.pod:3697
21319 msgid ""
21320 "This command disables the libguestfs appliance swap device or partition "
21321 "named C<device>.  See L</swapon-device>."
21322 msgstr ""
21323
21324 # type: =head2
21325 #: ../fish/guestfish-actions.pod:3701
21326 msgid "swapoff-file"
21327 msgstr ""
21328
21329 # type: verbatim
21330 #: ../fish/guestfish-actions.pod:3703
21331 #, no-wrap
21332 msgid ""
21333 " swapoff-file file\n"
21334 "\n"
21335 msgstr ""
21336
21337 # type: =head2
21338 #: ../fish/guestfish-actions.pod:3707
21339 msgid "swapoff-label"
21340 msgstr ""
21341
21342 # type: verbatim
21343 #: ../fish/guestfish-actions.pod:3709
21344 #, no-wrap
21345 msgid ""
21346 " swapoff-label label\n"
21347 "\n"
21348 msgstr ""
21349
21350 # type: =head2
21351 #: ../fish/guestfish-actions.pod:3714
21352 msgid "swapoff-uuid"
21353 msgstr ""
21354
21355 # type: verbatim
21356 #: ../fish/guestfish-actions.pod:3716
21357 #, no-wrap
21358 msgid ""
21359 " swapoff-uuid uuid\n"
21360 "\n"
21361 msgstr ""
21362
21363 # type: =head2
21364 #: ../fish/guestfish-actions.pod:3721
21365 msgid "swapon-device"
21366 msgstr ""
21367
21368 # type: verbatim
21369 #: ../fish/guestfish-actions.pod:3723
21370 #, no-wrap
21371 msgid ""
21372 " swapon-device device\n"
21373 "\n"
21374 msgstr ""
21375
21376 # type: textblock
21377 #: ../fish/guestfish-actions.pod:3725
21378 msgid ""
21379 "This command enables the libguestfs appliance to use the swap device or "
21380 "partition named C<device>.  The increased memory is made available for all "
21381 "commands, for example those run using L</command> or L</sh>."
21382 msgstr ""
21383
21384 # type: =head2
21385 #: ../fish/guestfish-actions.pod:3737
21386 msgid "swapon-file"
21387 msgstr ""
21388
21389 # type: verbatim
21390 #: ../fish/guestfish-actions.pod:3739
21391 #, no-wrap
21392 msgid ""
21393 " swapon-file file\n"
21394 "\n"
21395 msgstr ""
21396
21397 # type: textblock
21398 #: ../fish/guestfish-actions.pod:3741
21399 msgid ""
21400 "This command enables swap to a file.  See L</swapon-device> for other notes."
21401 msgstr ""
21402
21403 # type: =head2
21404 #: ../fish/guestfish-actions.pod:3744
21405 msgid "swapon-label"
21406 msgstr ""
21407
21408 # type: verbatim
21409 #: ../fish/guestfish-actions.pod:3746
21410 #, no-wrap
21411 msgid ""
21412 " swapon-label label\n"
21413 "\n"
21414 msgstr ""
21415
21416 # type: textblock
21417 #: ../fish/guestfish-actions.pod:3748
21418 msgid ""
21419 "This command enables swap to a labeled swap partition.  See L</swapon-"
21420 "device> for other notes."
21421 msgstr ""
21422
21423 # type: =head2
21424 #: ../fish/guestfish-actions.pod:3751
21425 msgid "swapon-uuid"
21426 msgstr ""
21427
21428 # type: verbatim
21429 #: ../fish/guestfish-actions.pod:3753
21430 #, no-wrap
21431 msgid ""
21432 " swapon-uuid uuid\n"
21433 "\n"
21434 msgstr ""
21435
21436 # type: textblock
21437 #: ../fish/guestfish-actions.pod:3755
21438 msgid ""
21439 "This command enables swap to a swap partition with the given UUID.  See L</"
21440 "swapon-device> for other notes."
21441 msgstr ""
21442
21443 # type: =head2
21444 #: ../fish/guestfish-actions.pod:3758
21445 msgid "sync"
21446 msgstr ""
21447
21448 # type: verbatim
21449 #: ../fish/guestfish-actions.pod:3760
21450 #, no-wrap
21451 msgid ""
21452 " sync\n"
21453 "\n"
21454 msgstr ""
21455
21456 # type: =head2
21457 #: ../fish/guestfish-actions.pod:3768
21458 msgid "tail"
21459 msgstr ""
21460
21461 # type: verbatim
21462 #: ../fish/guestfish-actions.pod:3770
21463 #, no-wrap
21464 msgid ""
21465 " tail path\n"
21466 "\n"
21467 msgstr ""
21468
21469 # type: =head2
21470 #: ../fish/guestfish-actions.pod:3778
21471 msgid "tail-n"
21472 msgstr ""
21473
21474 # type: verbatim
21475 #: ../fish/guestfish-actions.pod:3780
21476 #, no-wrap
21477 msgid ""
21478 " tail-n nrlines path\n"
21479 "\n"
21480 msgstr ""
21481
21482 # type: =head2
21483 #: ../fish/guestfish-actions.pod:3793
21484 msgid "tar-in"
21485 msgstr ""
21486
21487 # type: verbatim
21488 #: ../fish/guestfish-actions.pod:3795
21489 #, no-wrap
21490 msgid ""
21491 " tar-in (tarfile|-) directory\n"
21492 "\n"
21493 msgstr ""
21494
21495 # type: textblock
21496 #: ../fish/guestfish-actions.pod:3800
21497 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
21498 msgstr ""
21499
21500 # type: =head2
21501 #: ../fish/guestfish-actions.pod:3805
21502 msgid "tar-out"
21503 msgstr ""
21504
21505 # type: verbatim
21506 #: ../fish/guestfish-actions.pod:3807
21507 #, no-wrap
21508 msgid ""
21509 " tar-out directory (tarfile|-)\n"
21510 "\n"
21511 msgstr ""
21512
21513 # type: textblock
21514 #: ../fish/guestfish-actions.pod:3812
21515 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
21516 msgstr ""
21517
21518 # type: =head2
21519 #: ../fish/guestfish-actions.pod:3817
21520 msgid "tgz-in"
21521 msgstr ""
21522
21523 # type: verbatim
21524 #: ../fish/guestfish-actions.pod:3819
21525 #, no-wrap
21526 msgid ""
21527 " tgz-in (tarball|-) directory\n"
21528 "\n"
21529 msgstr ""
21530
21531 # type: textblock
21532 #: ../fish/guestfish-actions.pod:3824
21533 msgid "To upload an uncompressed tarball, use L</tar-in>."
21534 msgstr ""
21535
21536 # type: =head2
21537 #: ../fish/guestfish-actions.pod:3828
21538 msgid "tgz-out"
21539 msgstr ""
21540
21541 # type: verbatim
21542 #: ../fish/guestfish-actions.pod:3830
21543 #, no-wrap
21544 msgid ""
21545 " tgz-out directory (tarball|-)\n"
21546 "\n"
21547 msgstr ""
21548
21549 # type: textblock
21550 #: ../fish/guestfish-actions.pod:3835
21551 msgid "To download an uncompressed tarball, use L</tar-out>."
21552 msgstr ""
21553
21554 # type: =head2
21555 #: ../fish/guestfish-actions.pod:3839
21556 msgid "touch"
21557 msgstr ""
21558
21559 # type: verbatim
21560 #: ../fish/guestfish-actions.pod:3841
21561 #, no-wrap
21562 msgid ""
21563 " touch path\n"
21564 "\n"
21565 msgstr ""
21566
21567 # type: =head2
21568 #: ../fish/guestfish-actions.pod:3850
21569 msgid "truncate"
21570 msgstr ""
21571
21572 # type: verbatim
21573 #: ../fish/guestfish-actions.pod:3852
21574 #, no-wrap
21575 msgid ""
21576 " truncate path\n"
21577 "\n"
21578 msgstr ""
21579
21580 # type: =head2
21581 #: ../fish/guestfish-actions.pod:3857
21582 msgid "truncate-size"
21583 msgstr ""
21584
21585 # type: verbatim
21586 #: ../fish/guestfish-actions.pod:3859
21587 #, no-wrap
21588 msgid ""
21589 " truncate-size path size\n"
21590 "\n"
21591 msgstr ""
21592
21593 # type: textblock
21594 #: ../fish/guestfish-actions.pod:3864
21595 msgid ""
21596 "If the current file size is less than C<size> then the file is extended to "
21597 "the required size with zero bytes.  This creates a sparse file (ie. disk "
21598 "blocks are not allocated for the file until you write to it).  To create a "
21599 "non-sparse file of zeroes, use L</fallocate64> instead."
21600 msgstr ""
21601
21602 # type: =head2
21603 #: ../fish/guestfish-actions.pod:3870
21604 msgid "tune2fs-l"
21605 msgstr ""
21606
21607 # type: verbatim
21608 #: ../fish/guestfish-actions.pod:3872
21609 #, no-wrap
21610 msgid ""
21611 " tune2fs-l device\n"
21612 "\n"
21613 msgstr ""
21614
21615 # type: =head2
21616 #: ../fish/guestfish-actions.pod:3882
21617 msgid "txz-in"
21618 msgstr ""
21619
21620 # type: verbatim
21621 #: ../fish/guestfish-actions.pod:3884
21622 #, no-wrap
21623 msgid ""
21624 " txz-in (tarball|-) directory\n"
21625 "\n"
21626 msgstr ""
21627
21628 # type: =head2
21629 #: ../fish/guestfish-actions.pod:3891
21630 msgid "txz-out"
21631 msgstr ""
21632
21633 # type: verbatim
21634 #: ../fish/guestfish-actions.pod:3893
21635 #, no-wrap
21636 msgid ""
21637 " txz-out directory (tarball|-)\n"
21638 "\n"
21639 msgstr ""
21640
21641 # type: =head2
21642 #: ../fish/guestfish-actions.pod:3900
21643 msgid "umask"
21644 msgstr ""
21645
21646 # type: verbatim
21647 #: ../fish/guestfish-actions.pod:3902
21648 #, no-wrap
21649 msgid ""
21650 " umask mask\n"
21651 "\n"
21652 msgstr ""
21653
21654 # type: textblock
21655 #: ../fish/guestfish-actions.pod:3916
21656 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
21657 msgstr ""
21658
21659 # type: =head2
21660 #: ../fish/guestfish-actions.pod:3921
21661 msgid "umount"
21662 msgstr ""
21663
21664 # type: =head2
21665 #: ../fish/guestfish-actions.pod:3923
21666 msgid "unmount"
21667 msgstr ""
21668
21669 # type: verbatim
21670 #: ../fish/guestfish-actions.pod:3925
21671 #, no-wrap
21672 msgid ""
21673 " umount pathordevice\n"
21674 "\n"
21675 msgstr ""
21676
21677 # type: =head2
21678 #: ../fish/guestfish-actions.pod:3931
21679 msgid "umount-all"
21680 msgstr ""
21681
21682 # type: =head2
21683 #: ../fish/guestfish-actions.pod:3933
21684 msgid "unmount-all"
21685 msgstr ""
21686
21687 # type: verbatim
21688 #: ../fish/guestfish-actions.pod:3935
21689 #, no-wrap
21690 msgid ""
21691 " umount-all\n"
21692 "\n"
21693 msgstr ""
21694
21695 # type: =head2
21696 #: ../fish/guestfish-actions.pod:3941
21697 msgid "upload"
21698 msgstr ""
21699
21700 # type: verbatim
21701 #: ../fish/guestfish-actions.pod:3943
21702 #, no-wrap
21703 msgid ""
21704 " upload (filename|-) remotefilename\n"
21705 "\n"
21706 msgstr ""
21707
21708 # type: textblock
21709 #: ../fish/guestfish-actions.pod:3950
21710 msgid "See also L</download>."
21711 msgstr ""
21712
21713 # type: =head2
21714 #: ../fish/guestfish-actions.pod:3954
21715 msgid "upload-offset"
21716 msgstr ""
21717
21718 # type: verbatim
21719 #: ../fish/guestfish-actions.pod:3956
21720 #, no-wrap
21721 msgid ""
21722 " upload-offset (filename|-) remotefilename offset\n"
21723 "\n"
21724 msgstr ""
21725
21726 # type: textblock
21727 #: ../fish/guestfish-actions.pod:3968
21728 msgid ""
21729 "Note that there is no limit on the amount of data that can be uploaded with "
21730 "this call, unlike with L</pwrite>, and this call always writes the full "
21731 "amount unless an error occurs."
21732 msgstr ""
21733
21734 # type: textblock
21735 #: ../fish/guestfish-actions.pod:3973
21736 msgid "See also L</upload>, L</pwrite>."
21737 msgstr ""
21738
21739 # type: =head2
21740 #: ../fish/guestfish-actions.pod:3977
21741 msgid "utimens"
21742 msgstr ""
21743
21744 # type: verbatim
21745 #: ../fish/guestfish-actions.pod:3979
21746 #, no-wrap
21747 msgid ""
21748 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
21749 "\n"
21750 msgstr ""
21751
21752 # type: =head2
21753 #: ../fish/guestfish-actions.pod:3998
21754 msgid "version"
21755 msgstr ""
21756
21757 # type: verbatim
21758 #: ../fish/guestfish-actions.pod:4000
21759 #, no-wrap
21760 msgid ""
21761 " version\n"
21762 "\n"
21763 msgstr ""
21764
21765 # type: textblock
21766 #: ../fish/guestfish-actions.pod:4027
21767 msgid ""
21768 "I<Note:> Don't use this call to test for availability of features.  In "
21769 "enterprise distributions we backport features from later versions into "
21770 "earlier versions, making this an unreliable way to test for features.  Use "
21771 "L</available> instead."
21772 msgstr ""
21773
21774 # type: =head2
21775 #: ../fish/guestfish-actions.pod:4033
21776 msgid "vfs-label"
21777 msgstr ""
21778
21779 # type: verbatim
21780 #: ../fish/guestfish-actions.pod:4035
21781 #, no-wrap
21782 msgid ""
21783 " vfs-label device\n"
21784 "\n"
21785 msgstr ""
21786
21787 # type: textblock
21788 #: ../fish/guestfish-actions.pod:4042
21789 msgid "To find a filesystem from the label, use L</findfs-label>."
21790 msgstr ""
21791
21792 # type: =head2
21793 #: ../fish/guestfish-actions.pod:4044
21794 msgid "vfs-type"
21795 msgstr ""
21796
21797 # type: verbatim
21798 #: ../fish/guestfish-actions.pod:4046
21799 #, no-wrap
21800 msgid ""
21801 " vfs-type device\n"
21802 "\n"
21803 msgstr ""
21804
21805 # type: =head2
21806 #: ../fish/guestfish-actions.pod:4056
21807 msgid "vfs-uuid"
21808 msgstr ""
21809
21810 # type: verbatim
21811 #: ../fish/guestfish-actions.pod:4058
21812 #, no-wrap
21813 msgid ""
21814 " vfs-uuid device\n"
21815 "\n"
21816 msgstr ""
21817
21818 # type: textblock
21819 #: ../fish/guestfish-actions.pod:4065
21820 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
21821 msgstr ""
21822
21823 # type: =head2
21824 #: ../fish/guestfish-actions.pod:4067
21825 msgid "vg-activate"
21826 msgstr ""
21827
21828 # type: verbatim
21829 #: ../fish/guestfish-actions.pod:4069
21830 #, no-wrap
21831 msgid ""
21832 " vg-activate true|false 'volgroups ...'\n"
21833 "\n"
21834 msgstr ""
21835
21836 # type: =head2
21837 #: ../fish/guestfish-actions.pod:4082
21838 msgid "vg-activate-all"
21839 msgstr ""
21840
21841 # type: verbatim
21842 #: ../fish/guestfish-actions.pod:4084
21843 #, no-wrap
21844 msgid ""
21845 " vg-activate-all true|false\n"
21846 "\n"
21847 msgstr ""
21848
21849 # type: =head2
21850 #: ../fish/guestfish-actions.pod:4094
21851 msgid "vgcreate"
21852 msgstr ""
21853
21854 # type: verbatim
21855 #: ../fish/guestfish-actions.pod:4096
21856 #, no-wrap
21857 msgid ""
21858 " vgcreate volgroup 'physvols ...'\n"
21859 "\n"
21860 msgstr ""
21861
21862 # type: =head2
21863 #: ../fish/guestfish-actions.pod:4101
21864 msgid "vglvuuids"
21865 msgstr ""
21866
21867 # type: verbatim
21868 #: ../fish/guestfish-actions.pod:4103
21869 #, no-wrap
21870 msgid ""
21871 " vglvuuids vgname\n"
21872 "\n"
21873 msgstr ""
21874
21875 # type: textblock
21876 #: ../fish/guestfish-actions.pod:4108
21877 msgid ""
21878 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
21879 "logical volumes and volume groups."
21880 msgstr ""
21881
21882 # type: textblock
21883 #: ../fish/guestfish-actions.pod:4111
21884 msgid "See also L</vgpvuuids>."
21885 msgstr ""
21886
21887 # type: =head2
21888 #: ../fish/guestfish-actions.pod:4113
21889 msgid "vgpvuuids"
21890 msgstr ""
21891
21892 # type: verbatim
21893 #: ../fish/guestfish-actions.pod:4115
21894 #, no-wrap
21895 msgid ""
21896 " vgpvuuids vgname\n"
21897 "\n"
21898 msgstr ""
21899
21900 # type: textblock
21901 #: ../fish/guestfish-actions.pod:4120
21902 msgid ""
21903 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
21904 "physical volumes and volume groups."
21905 msgstr ""
21906
21907 # type: textblock
21908 #: ../fish/guestfish-actions.pod:4123
21909 msgid "See also L</vglvuuids>."
21910 msgstr ""
21911
21912 # type: =head2
21913 #: ../fish/guestfish-actions.pod:4125
21914 msgid "vgremove"
21915 msgstr ""
21916
21917 # type: verbatim
21918 #: ../fish/guestfish-actions.pod:4127
21919 #, no-wrap
21920 msgid ""
21921 " vgremove vgname\n"
21922 "\n"
21923 msgstr ""
21924
21925 # type: =head2
21926 #: ../fish/guestfish-actions.pod:4134
21927 msgid "vgrename"
21928 msgstr ""
21929
21930 # type: verbatim
21931 #: ../fish/guestfish-actions.pod:4136
21932 #, no-wrap
21933 msgid ""
21934 " vgrename volgroup newvolgroup\n"
21935 "\n"
21936 msgstr ""
21937
21938 # type: =head2
21939 #: ../fish/guestfish-actions.pod:4140
21940 msgid "vgs"
21941 msgstr ""
21942
21943 # type: verbatim
21944 #: ../fish/guestfish-actions.pod:4142
21945 #, no-wrap
21946 msgid ""
21947 " vgs\n"
21948 "\n"
21949 msgstr ""
21950
21951 # type: textblock
21952 #: ../fish/guestfish-actions.pod:4150
21953 msgid "See also L</vgs-full>."
21954 msgstr ""
21955
21956 # type: =head2
21957 #: ../fish/guestfish-actions.pod:4152
21958 msgid "vgs-full"
21959 msgstr ""
21960
21961 # type: verbatim
21962 #: ../fish/guestfish-actions.pod:4154
21963 #, no-wrap
21964 msgid ""
21965 " vgs-full\n"
21966 "\n"
21967 msgstr ""
21968
21969 # type: =head2
21970 #: ../fish/guestfish-actions.pod:4159
21971 msgid "vgscan"
21972 msgstr ""
21973
21974 # type: verbatim
21975 #: ../fish/guestfish-actions.pod:4161
21976 #, no-wrap
21977 msgid ""
21978 " vgscan\n"
21979 "\n"
21980 msgstr ""
21981
21982 # type: =head2
21983 #: ../fish/guestfish-actions.pod:4166
21984 msgid "vguuid"
21985 msgstr ""
21986
21987 # type: verbatim
21988 #: ../fish/guestfish-actions.pod:4168
21989 #, no-wrap
21990 msgid ""
21991 " vguuid vgname\n"
21992 "\n"
21993 msgstr ""
21994
21995 # type: =head2
21996 #: ../fish/guestfish-actions.pod:4172
21997 msgid "wc-c"
21998 msgstr ""
21999
22000 # type: verbatim
22001 #: ../fish/guestfish-actions.pod:4174
22002 #, no-wrap
22003 msgid ""
22004 " wc-c path\n"
22005 "\n"
22006 msgstr ""
22007
22008 # type: =head2
22009 #: ../fish/guestfish-actions.pod:4179
22010 msgid "wc-l"
22011 msgstr ""
22012
22013 # type: verbatim
22014 #: ../fish/guestfish-actions.pod:4181
22015 #, no-wrap
22016 msgid ""
22017 " wc-l path\n"
22018 "\n"
22019 msgstr ""
22020
22021 # type: =head2
22022 #: ../fish/guestfish-actions.pod:4186
22023 msgid "wc-w"
22024 msgstr ""
22025
22026 # type: verbatim
22027 #: ../fish/guestfish-actions.pod:4188
22028 #, no-wrap
22029 msgid ""
22030 " wc-w path\n"
22031 "\n"
22032 msgstr ""
22033
22034 # type: =head2
22035 #: ../fish/guestfish-actions.pod:4193
22036 msgid "write"
22037 msgstr ""
22038
22039 # type: verbatim
22040 #: ../fish/guestfish-actions.pod:4195
22041 #, no-wrap
22042 msgid ""
22043 " write path content\n"
22044 "\n"
22045 msgstr ""
22046
22047 # type: =head2
22048 #: ../fish/guestfish-actions.pod:4203
22049 msgid "write-file"
22050 msgstr ""
22051
22052 # type: verbatim
22053 #: ../fish/guestfish-actions.pod:4205
22054 #, no-wrap
22055 msgid ""
22056 " write-file path content size\n"
22057 "\n"
22058 msgstr ""
22059
22060 # type: =head2
22061 #: ../fish/guestfish-actions.pod:4228
22062 msgid "zegrep"
22063 msgstr ""
22064
22065 # type: verbatim
22066 #: ../fish/guestfish-actions.pod:4230
22067 #, no-wrap
22068 msgid ""
22069 " zegrep regex path\n"
22070 "\n"
22071 msgstr ""
22072
22073 # type: =head2
22074 #: ../fish/guestfish-actions.pod:4238
22075 msgid "zegrepi"
22076 msgstr ""
22077
22078 # type: verbatim
22079 #: ../fish/guestfish-actions.pod:4240
22080 #, no-wrap
22081 msgid ""
22082 " zegrepi regex path\n"
22083 "\n"
22084 msgstr ""
22085
22086 # type: =head2
22087 #: ../fish/guestfish-actions.pod:4248
22088 msgid "zero"
22089 msgstr ""
22090
22091 # type: verbatim
22092 #: ../fish/guestfish-actions.pod:4250
22093 #, no-wrap
22094 msgid ""
22095 " zero device\n"
22096 "\n"
22097 msgstr ""
22098
22099 # type: textblock
22100 #: ../fish/guestfish-actions.pod:4258
22101 msgid "See also: L</zero-device>, L</scrub-device>."
22102 msgstr ""
22103
22104 # type: =head2
22105 #: ../fish/guestfish-actions.pod:4260
22106 msgid "zero-device"
22107 msgstr ""
22108
22109 # type: verbatim
22110 #: ../fish/guestfish-actions.pod:4262
22111 #, no-wrap
22112 msgid ""
22113 " zero-device device\n"
22114 "\n"
22115 msgstr ""
22116
22117 # type: textblock
22118 #: ../fish/guestfish-actions.pod:4264
22119 msgid ""
22120 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
22121 "which just zeroes the first few blocks of a device."
22122 msgstr ""
22123
22124 # type: =head2
22125 #: ../fish/guestfish-actions.pod:4271
22126 msgid "zerofree"
22127 msgstr ""
22128
22129 # type: verbatim
22130 #: ../fish/guestfish-actions.pod:4273
22131 #, no-wrap
22132 msgid ""
22133 " zerofree device\n"
22134 "\n"
22135 msgstr ""
22136
22137 # type: =head2
22138 #: ../fish/guestfish-actions.pod:4286
22139 msgid "zfgrep"
22140 msgstr ""
22141
22142 # type: verbatim
22143 #: ../fish/guestfish-actions.pod:4288
22144 #, no-wrap
22145 msgid ""
22146 " zfgrep pattern path\n"
22147 "\n"
22148 msgstr ""
22149
22150 # type: =head2
22151 #: ../fish/guestfish-actions.pod:4296
22152 msgid "zfgrepi"
22153 msgstr ""
22154
22155 # type: verbatim
22156 #: ../fish/guestfish-actions.pod:4298
22157 #, no-wrap
22158 msgid ""
22159 " zfgrepi pattern path\n"
22160 "\n"
22161 msgstr ""
22162
22163 # type: =head2
22164 #: ../fish/guestfish-actions.pod:4306
22165 msgid "zfile"
22166 msgstr ""
22167
22168 # type: verbatim
22169 #: ../fish/guestfish-actions.pod:4308
22170 #, no-wrap
22171 msgid ""
22172 " zfile meth path\n"
22173 "\n"
22174 msgstr ""
22175
22176 # type: textblock
22177 #: ../fish/guestfish-actions.pod:4315
22178 msgid ""
22179 "Since 1.0.63, use L</file> instead which can now process compressed files."
22180 msgstr ""
22181
22182 # type: =head2
22183 #: ../fish/guestfish-actions.pod:4325
22184 msgid "zgrep"
22185 msgstr ""
22186
22187 # type: verbatim
22188 #: ../fish/guestfish-actions.pod:4327
22189 #, no-wrap
22190 msgid ""
22191 " zgrep regex path\n"
22192 "\n"
22193 msgstr ""
22194
22195 # type: =head2
22196 #: ../fish/guestfish-actions.pod:4335
22197 msgid "zgrepi"
22198 msgstr ""
22199
22200 # type: verbatim
22201 #: ../fish/guestfish-actions.pod:4337
22202 #, no-wrap
22203 msgid ""
22204 " zgrepi regex path\n"
22205 "\n"
22206 msgstr ""
22207
22208 # type: =head2
22209 #: ../fish/guestfish-commands.pod:1
22210 msgid "alloc"
22211 msgstr ""
22212
22213 # type: =head2
22214 #: ../fish/guestfish-commands.pod:3
22215 msgid "allocate"
22216 msgstr ""
22217
22218 # type: verbatim
22219 #: ../fish/guestfish-commands.pod:5
22220 #, no-wrap
22221 msgid ""
22222 " alloc filename size\n"
22223 "\n"
22224 msgstr ""
22225
22226 # type: textblock
22227 #: ../fish/guestfish-commands.pod:7
22228 msgid ""
22229 "This creates an empty (zeroed) file of the given size, and then adds so it "
22230 "can be further examined."
22231 msgstr ""
22232
22233 # type: textblock
22234 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:168
22235 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
22236 msgstr ""
22237
22238 # type: textblock
22239 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:170
22240 msgid "Size can be specified using standard suffixes, eg. C<1M>."
22241 msgstr ""
22242
22243 # type: textblock
22244 #: ../fish/guestfish-commands.pod:14
22245 msgid ""
22246 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
22247 "image, see L</PREPARED DISK IMAGES>."
22248 msgstr ""
22249
22250 # type: =head2
22251 #: ../fish/guestfish-commands.pod:17
22252 msgid "copy-in"
22253 msgstr ""
22254
22255 # type: verbatim
22256 #: ../fish/guestfish-commands.pod:19
22257 #, no-wrap
22258 msgid ""
22259 " copy-in local [local ...] /remotedir\n"
22260 "\n"
22261 msgstr ""
22262
22263 # type: textblock
22264 #: ../fish/guestfish-commands.pod:21
22265 msgid ""
22266 "C<copy-in> copies local files or directories recursively into the disk "
22267 "image, placing them in the directory called C</remotedir> (which must "
22268 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
22269 "other commands as necessary."
22270 msgstr ""
22271
22272 # type: textblock
22273 #: ../fish/guestfish-commands.pod:26
22274 msgid ""
22275 "Multiple local files and directories can be specified, but the last "
22276 "parameter must always be a remote directory.  Wildcards cannot be used."
22277 msgstr ""
22278
22279 # type: =head2
22280 #: ../fish/guestfish-commands.pod:30
22281 msgid "copy-out"
22282 msgstr ""
22283
22284 # type: verbatim
22285 #: ../fish/guestfish-commands.pod:32
22286 #, no-wrap
22287 msgid ""
22288 " copy-out remote [remote ...] localdir\n"
22289 "\n"
22290 msgstr ""
22291
22292 # type: textblock
22293 #: ../fish/guestfish-commands.pod:34
22294 msgid ""
22295 "C<copy-out> copies remote files or directories recursively out of the disk "
22296 "image, placing them on the host disk in a local directory called C<localdir> "
22297 "(which must exist).  This guestfish meta-command turns into a sequence of L</"
22298 "download>, L</tar-out> and other commands as necessary."
22299 msgstr ""
22300
22301 # type: textblock
22302 #: ../fish/guestfish-commands.pod:40
22303 msgid ""
22304 "Multiple remote files and directories can be specified, but the last "
22305 "parameter must always be a local directory.  To download to the current "
22306 "directory, use C<.> as in:"
22307 msgstr ""
22308
22309 # type: verbatim
22310 #: ../fish/guestfish-commands.pod:44
22311 #, no-wrap
22312 msgid ""
22313 " copy-out /home .\n"
22314 "\n"
22315 msgstr ""
22316
22317 # type: textblock
22318 #: ../fish/guestfish-commands.pod:46
22319 msgid ""
22320 "Wildcards cannot be used in the ordinary command, but you can use them with "
22321 "the help of L</glob> like this:"
22322 msgstr ""
22323
22324 # type: verbatim
22325 #: ../fish/guestfish-commands.pod:49
22326 #, no-wrap
22327 msgid ""
22328 " glob copy-out /home/* .\n"
22329 "\n"
22330 msgstr ""
22331
22332 # type: =head2
22333 #: ../fish/guestfish-commands.pod:51
22334 msgid "echo"
22335 msgstr ""
22336
22337 # type: verbatim
22338 #: ../fish/guestfish-commands.pod:53
22339 #, no-wrap
22340 msgid ""
22341 " echo [params ...]\n"
22342 "\n"
22343 msgstr ""
22344
22345 # type: textblock
22346 #: ../fish/guestfish-commands.pod:55
22347 msgid "This echos the parameters to the terminal."
22348 msgstr ""
22349
22350 # type: =head2
22351 #: ../fish/guestfish-commands.pod:57
22352 msgid "edit"
22353 msgstr ""
22354
22355 # type: =head2
22356 #: ../fish/guestfish-commands.pod:59
22357 msgid "vi"
22358 msgstr ""
22359
22360 # type: =head2
22361 #: ../fish/guestfish-commands.pod:61
22362 msgid "emacs"
22363 msgstr ""
22364
22365 # type: verbatim
22366 #: ../fish/guestfish-commands.pod:63
22367 #, no-wrap
22368 msgid ""
22369 " edit filename\n"
22370 "\n"
22371 msgstr ""
22372
22373 # type: textblock
22374 #: ../fish/guestfish-commands.pod:65
22375 msgid ""
22376 "This is used to edit a file.  It downloads the file, edits it locally using "
22377 "your editor, then uploads the result."
22378 msgstr ""
22379
22380 # type: textblock
22381 #: ../fish/guestfish-commands.pod:68
22382 msgid ""
22383 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
22384 "or C<emacs> you will get those corresponding editors."
22385 msgstr ""
22386
22387 # type: =head2
22388 #: ../fish/guestfish-commands.pod:72
22389 msgid "glob"
22390 msgstr ""
22391
22392 # type: verbatim
22393 #: ../fish/guestfish-commands.pod:74
22394 #, no-wrap
22395 msgid ""
22396 " glob command args...\n"
22397 "\n"
22398 msgstr ""
22399
22400 # type: textblock
22401 #: ../fish/guestfish-commands.pod:76
22402 msgid ""
22403 "Expand wildcards in any paths in the args list, and run C<command> "
22404 "repeatedly on each matching path."
22405 msgstr ""
22406
22407 # type: textblock
22408 #: ../fish/guestfish-commands.pod:79
22409 msgid "See L</WILDCARDS AND GLOBBING>."
22410 msgstr ""
22411
22412 # type: =head2
22413 #: ../fish/guestfish-commands.pod:81
22414 msgid "hexedit"
22415 msgstr ""
22416
22417 # type: verbatim
22418 #: ../fish/guestfish-commands.pod:83
22419 #, no-wrap
22420 msgid ""
22421 " hexedit <filename|device>\n"
22422 " hexedit <filename|device> <max>\n"
22423 " hexedit <filename|device> <start> <max>\n"
22424 "\n"
22425 msgstr ""
22426
22427 # type: textblock
22428 #: ../fish/guestfish-commands.pod:87
22429 msgid ""
22430 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
22431 "device."
22432 msgstr ""
22433
22434 # type: textblock
22435 #: ../fish/guestfish-commands.pod:90
22436 msgid ""
22437 "This command works by downloading potentially the whole file or device, "
22438 "editing it locally, then uploading it.  If the file or device is large, you "
22439 "have to specify which part you wish to edit by using C<max> and/or C<start> "
22440 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
22441 "usual modifiers allowed such as C<1M> (1 megabyte)."
22442 msgstr ""
22443
22444 # type: textblock
22445 #: ../fish/guestfish-commands.pod:97
22446 msgid "For example to edit the first few sectors of a disk you might do:"
22447 msgstr ""
22448
22449 # type: verbatim
22450 #: ../fish/guestfish-commands.pod:100
22451 #, no-wrap
22452 msgid ""
22453 " hexedit /dev/sda 1M\n"
22454 "\n"
22455 msgstr ""
22456
22457 # type: textblock
22458 #: ../fish/guestfish-commands.pod:102
22459 msgid ""
22460 "which would allow you to edit anywhere within the first megabyte of the disk."
22461 msgstr ""
22462
22463 # type: textblock
22464 #: ../fish/guestfish-commands.pod:105
22465 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
22466 msgstr ""
22467
22468 # type: verbatim
22469 #: ../fish/guestfish-commands.pod:107
22470 #, no-wrap
22471 msgid ""
22472 " hexedit /dev/sda1 0x400 0x400\n"
22473 "\n"
22474 msgstr ""
22475
22476 # type: textblock
22477 #: ../fish/guestfish-commands.pod:109
22478 msgid "(assuming the superblock is in the standard location)."
22479 msgstr ""
22480
22481 # type: textblock
22482 #: ../fish/guestfish-commands.pod:111
22483 msgid ""
22484 "This command requires the external L<hexedit(1)> program.  You can specify "
22485 "another program to use by setting the C<HEXEDITOR> environment variable."
22486 msgstr ""
22487
22488 # type: textblock
22489 #: ../fish/guestfish-commands.pod:115
22490 msgid "See also L</hexdump>."
22491 msgstr ""
22492
22493 # type: =head2
22494 #: ../fish/guestfish-commands.pod:117
22495 msgid "lcd"
22496 msgstr ""
22497
22498 # type: verbatim
22499 #: ../fish/guestfish-commands.pod:119
22500 #, no-wrap
22501 msgid ""
22502 " lcd directory\n"
22503 "\n"
22504 msgstr ""
22505
22506 # type: textblock
22507 #: ../fish/guestfish-commands.pod:121
22508 msgid ""
22509 "Change the local directory, ie. the current directory of guestfish itself."
22510 msgstr ""
22511
22512 # type: textblock
22513 #: ../fish/guestfish-commands.pod:124
22514 msgid "Note that C<!cd> won't do what you might expect."
22515 msgstr ""
22516
22517 # type: =head2
22518 #: ../fish/guestfish-commands.pod:126
22519 msgid "man"
22520 msgstr ""
22521
22522 # type: =head2
22523 #: ../fish/guestfish-commands.pod:128
22524 msgid "manual"
22525 msgstr ""
22526
22527 # type: verbatim
22528 #: ../fish/guestfish-commands.pod:130
22529 #, no-wrap
22530 msgid ""
22531 "  man\n"
22532 "\n"
22533 msgstr ""
22534
22535 # type: textblock
22536 #: ../fish/guestfish-commands.pod:132
22537 msgid "Opens the manual page for guestfish."
22538 msgstr ""
22539
22540 # type: =head2
22541 #: ../fish/guestfish-commands.pod:134
22542 msgid "more"
22543 msgstr ""
22544
22545 # type: =head2
22546 #: ../fish/guestfish-commands.pod:136
22547 msgid "less"
22548 msgstr ""
22549
22550 # type: verbatim
22551 #: ../fish/guestfish-commands.pod:138
22552 #, no-wrap
22553 msgid ""
22554 " more filename\n"
22555 "\n"
22556 msgstr ""
22557
22558 # type: verbatim
22559 #: ../fish/guestfish-commands.pod:140
22560 #, no-wrap
22561 msgid ""
22562 " less filename\n"
22563 "\n"
22564 msgstr ""
22565
22566 # type: textblock
22567 #: ../fish/guestfish-commands.pod:142
22568 msgid "This is used to view a file."
22569 msgstr ""
22570
22571 # type: textblock
22572 #: ../fish/guestfish-commands.pod:144
22573 msgid ""
22574 "The default viewer is C<$PAGER>.  However if you use the alternate command "
22575 "C<less> you will get the C<less> command specifically."
22576 msgstr ""
22577
22578 # type: =head2
22579 #: ../fish/guestfish-commands.pod:147
22580 msgid "reopen"
22581 msgstr ""
22582
22583 # type: verbatim
22584 #: ../fish/guestfish-commands.pod:149
22585 #, no-wrap
22586 msgid ""
22587 "  reopen\n"
22588 "\n"
22589 msgstr ""
22590
22591 # type: textblock
22592 #: ../fish/guestfish-commands.pod:151
22593 msgid ""
22594 "Close and reopen the libguestfs handle.  It is not necessary to use this "
22595 "normally, because the handle is closed properly when guestfish exits.  "
22596 "However this is occasionally useful for testing."
22597 msgstr ""
22598
22599 # type: =head2
22600 #: ../fish/guestfish-commands.pod:155
22601 msgid "sparse"
22602 msgstr ""
22603
22604 # type: verbatim
22605 #: ../fish/guestfish-commands.pod:157
22606 #, no-wrap
22607 msgid ""
22608 " sparse filename size\n"
22609 "\n"
22610 msgstr ""
22611
22612 # type: textblock
22613 #: ../fish/guestfish-commands.pod:159
22614 msgid ""
22615 "This creates an empty sparse file of the given size, and then adds so it can "
22616 "be further examined."
22617 msgstr ""
22618
22619 # type: textblock
22620 #: ../fish/guestfish-commands.pod:162
22621 msgid ""
22622 "In all respects it works the same as the L</alloc> command, except that the "
22623 "image file is allocated sparsely, which means that disk blocks are not "
22624 "assigned to the file until they are needed.  Sparse disk files only use "
22625 "space when written to, but they are slower and there is a danger you could "
22626 "run out of real disk space during a write operation."
22627 msgstr ""
22628
22629 # type: =head2
22630 #: ../fish/guestfish-commands.pod:172
22631 msgid "supported"
22632 msgstr ""
22633
22634 # type: verbatim
22635 #: ../fish/guestfish-commands.pod:174
22636 #, no-wrap
22637 msgid ""
22638 " supported\n"
22639 "\n"
22640 msgstr ""
22641
22642 # type: textblock
22643 #: ../fish/guestfish-commands.pod:176
22644 msgid ""
22645 "This command returns a list of the optional groups known to the daemon, and "
22646 "indicates which ones are supported by this build of the libguestfs appliance."
22647 msgstr ""
22648
22649 # type: textblock
22650 #: ../fish/guestfish-commands.pod:180
22651 msgid "See also L<guestfs(3)/AVAILABILITY>."
22652 msgstr ""
22653
22654 # type: =head2
22655 #: ../fish/guestfish-commands.pod:182
22656 msgid "time"
22657 msgstr ""
22658
22659 # type: verbatim
22660 #: ../fish/guestfish-commands.pod:184
22661 #, no-wrap
22662 msgid ""
22663 " time command args...\n"
22664 "\n"
22665 msgstr ""
22666
22667 # type: textblock
22668 #: ../fish/guestfish-commands.pod:186
22669 msgid ""
22670 "Run the command as usual, but print the elapsed time afterwards.  This can "
22671 "be useful for benchmarking operations."
22672 msgstr ""
22673
22674 # type: textblock
22675 #: ../test-tool/libguestfs-test-tool.pod:5
22676 msgid "libguestfs-test-tool - End user tests for libguestfs"
22677 msgstr ""
22678
22679 # type: verbatim
22680 #: ../test-tool/libguestfs-test-tool.pod:9
22681 #, no-wrap
22682 msgid ""
22683 " libguestfs-test-tool [--options]\n"
22684 "\n"
22685 msgstr ""
22686
22687 # type: textblock
22688 #: ../test-tool/libguestfs-test-tool.pod:13
22689 msgid ""
22690 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
22691 "and developers, to allow them to check basic libguestfs functionality is "
22692 "working.  This is needed because libguestfs occasionally breaks for reasons "
22693 "beyond our control: usually because of changes in the underlying qemu or "
22694 "kernel packages, or the host environment."
22695 msgstr ""
22696
22697 # type: textblock
22698 #: ../test-tool/libguestfs-test-tool.pod:20
22699 msgid "If you suspect a problem in libguestfs, then just run:"
22700 msgstr ""
22701
22702 # type: verbatim
22703 #: ../test-tool/libguestfs-test-tool.pod:22
22704 #, no-wrap
22705 msgid ""
22706 " libguestfs-test-tool\n"
22707 "\n"
22708 msgstr ""
22709
22710 # type: textblock
22711 #: ../test-tool/libguestfs-test-tool.pod:24
22712 msgid "It will print lots of diagnostic messages."
22713 msgstr ""
22714
22715 # type: textblock
22716 #: ../test-tool/libguestfs-test-tool.pod:26
22717 msgid "If it runs to completion successfully, you will see this near the end:"
22718 msgstr ""
22719
22720 # type: verbatim
22721 #: ../test-tool/libguestfs-test-tool.pod:28
22722 #, no-wrap
22723 msgid ""
22724 " ===== TEST FINISHED OK =====\n"
22725 "\n"
22726 msgstr ""
22727
22728 # type: textblock
22729 #: ../test-tool/libguestfs-test-tool.pod:30
22730 msgid "and the test tool will exit with code 0."
22731 msgstr ""
22732
22733 # type: textblock
22734 #: ../test-tool/libguestfs-test-tool.pod:32
22735 msgid ""
22736 "If it fails (and/or exits with non-zero error code), please paste the "
22737 "B<complete, unedited> output of the test tool into a bug report.  More "
22738 "information about reporting bugs can be found on the L<http://libguestfs.org/"
22739 "> website."
22740 msgstr ""
22741
22742 # type: =item
22743 #: ../test-tool/libguestfs-test-tool.pod:41
22744 msgid "I<--help>"
22745 msgstr ""
22746
22747 # type: textblock
22748 #: ../test-tool/libguestfs-test-tool.pod:43
22749 msgid "Display short usage information and exit."
22750 msgstr ""
22751
22752 # type: =item
22753 #: ../test-tool/libguestfs-test-tool.pod:45
22754 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
22755 msgstr ""
22756
22757 # type: textblock
22758 #: ../test-tool/libguestfs-test-tool.pod:47
22759 msgid ""
22760 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
22761 "normally look in the C<$libexec> directory that was configured when the tool "
22762 "was built."
22763 msgstr ""
22764
22765 # type: =item
22766 #: ../test-tool/libguestfs-test-tool.pod:51
22767 msgid "I<--qemu qemu_binary>"
22768 msgstr ""
22769
22770 # type: textblock
22771 #: ../test-tool/libguestfs-test-tool.pod:53
22772 msgid ""
22773 "If you have downloaded another qemu binary, point this option at the full "
22774 "path of the binary to try it."
22775 msgstr ""
22776
22777 # type: =item
22778 #: ../test-tool/libguestfs-test-tool.pod:56
22779 msgid "I<--qemudir qemu_source_dir>"
22780 msgstr ""
22781
22782 # type: textblock
22783 #: ../test-tool/libguestfs-test-tool.pod:58
22784 msgid ""
22785 "If you have compiled qemu from source, point this option at the source "
22786 "directory to try it."
22787 msgstr ""
22788
22789 # type: =item
22790 #: ../test-tool/libguestfs-test-tool.pod:61
22791 msgid "I<--timeout N>"
22792 msgstr ""
22793
22794 # type: textblock
22795 #: ../test-tool/libguestfs-test-tool.pod:63
22796 msgid ""
22797 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
22798 "does not usually need to be adjusted unless your machine is very slow."
22799 msgstr ""
22800
22801 # type: =head1
22802 #: ../test-tool/libguestfs-test-tool.pod:69
22803 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
22804 msgstr ""
22805
22806 # type: textblock
22807 #: ../test-tool/libguestfs-test-tool.pod:71
22808 msgid ""
22809 "If you have compiled another version of qemu from source and would like to "
22810 "try that, then you can use the I<--qemudir> option to point to the qemu "
22811 "source directory."
22812 msgstr ""
22813
22814 # type: textblock
22815 #: ../test-tool/libguestfs-test-tool.pod:75
22816 msgid ""
22817 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
22818 "option to point to the binary."
22819 msgstr ""
22820
22821 # type: textblock
22822 #: ../test-tool/libguestfs-test-tool.pod:78
22823 msgid ""
22824 "When using an alternate qemu with libguestfs, usually you would need to "
22825 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
22826 ">).  libguestfs-test-tool writes a temporary qemu wrapper script when you "
22827 "use either of the I<--qemudir> or I<--qemu> options."
22828 msgstr ""
22829
22830 # type: textblock
22831 #: ../test-tool/libguestfs-test-tool.pod:85
22832 msgid ""
22833 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
22834 "I<1> if there was an error."
22835 msgstr ""
22836
22837 # type: =item
22838 #: ../test-tool/libguestfs-test-tool.pod:92
22839 msgid "/usr/libexec/libguestfs-test-tool-helper"
22840 msgstr ""
22841
22842 # type: textblock
22843 #: ../test-tool/libguestfs-test-tool.pod:94
22844 msgid ""
22845 "This helper program is run inside the appliance and provides additional "
22846 "tests."
22847 msgstr ""
22848
22849 # type: =item
22850 #: ../test-tool/libguestfs-test-tool.pod:97
22851 msgid "/usr/bin/mkisofs"
22852 msgstr ""
22853
22854 # type: textblock
22855 #: ../test-tool/libguestfs-test-tool.pod:99
22856 msgid ""
22857 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
22858 "which is used as part of the tests."
22859 msgstr ""
22860
22861 # type: textblock
22862 #: ../test-tool/libguestfs-test-tool.pod:106
22863 msgid ""
22864 "For the full list of environment variables which may affect libguestfs, "
22865 "please see the L<guestfs(3)> manual page."
22866 msgstr ""
22867
22868 # type: textblock
22869 #: ../test-tool/libguestfs-test-tool.pod:111
22870 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
22871 msgstr ""
22872
22873 # type: textblock
22874 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
22875 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
22876 msgstr ""
22877
22878 # type: textblock
22879 #: ../fuse/guestmount.pod:5
22880 msgid ""
22881 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
22882 msgstr ""
22883
22884 # type: verbatim
22885 #: ../fuse/guestmount.pod:9
22886 #, no-wrap
22887 msgid ""
22888 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
22889 "\n"
22890 msgstr ""
22891
22892 # type: textblock
22893 #: ../fuse/guestmount.pod:13
22894 msgid ""
22895 "You must I<not> use C<guestmount> in read-write mode on live virtual "
22896 "machines.  If you do this, you risk disk corruption in the VM."
22897 msgstr ""
22898
22899 # type: textblock
22900 #: ../fuse/guestmount.pod:18
22901 msgid ""
22902 "The guestmount program can be used to mount virtual machine filesystems and "
22903 "other disk images on the host.  It uses libguestfs for access to the guest "
22904 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
22905 "a mountable device."
22906 msgstr ""
22907
22908 # type: textblock
22909 #: ../fuse/guestmount.pod:23
22910 msgid ""
22911 "Along with other options, you have to give at least one device (I<-a> "
22912 "option) and at least one mountpoint (I<-m> option).  How this works is "
22913 "better explained in the L<guestfish(1)> manual page, or you can use L<virt-"
22914 "inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help you."
22915 msgstr ""
22916
22917 # type: textblock
22918 #: ../fuse/guestmount.pod:29
22919 msgid ""
22920 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
22921 "by you, and the filesystem will not be visible to any other users unless you "
22922 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
22923 "the filesystem, use the C<fusermount -u> command."
22924 msgstr ""
22925
22926 # type: textblock
22927 #: ../fuse/guestmount.pod:37
22928 msgid ""
22929 "For a typical Windows guest which has its main filesystem on the first "
22930 "partition:"
22931 msgstr ""
22932
22933 # type: verbatim
22934 #: ../fuse/guestmount.pod:40
22935 #, no-wrap
22936 msgid ""
22937 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
22938 "\n"
22939 msgstr ""
22940
22941 # type: textblock
22942 #: ../fuse/guestmount.pod:42
22943 msgid ""
22944 "For a typical Linux guest which has a /boot filesystem on the first "
22945 "partition, and the root filesystem on a logical volume:"
22946 msgstr ""
22947
22948 # type: verbatim
22949 #: ../fuse/guestmount.pod:45
22950 #, no-wrap
22951 msgid ""
22952 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
22953 "\n"
22954 msgstr ""
22955
22956 # type: textblock
22957 #: ../fuse/guestmount.pod:47
22958 msgid ""
22959 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
22960 "mountpoints for you:"
22961 msgstr ""
22962
22963 # type: verbatim
22964 #: ../fuse/guestmount.pod:50
22965 #, no-wrap
22966 msgid ""
22967 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
22968 "\n"
22969 msgstr ""
22970
22971 # type: textblock
22972 #: ../fuse/guestmount.pod:52
22973 msgid ""
22974 "(or use --fish if you don't want it to be a read only mount).  The option is "
22975 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
22976 "with L<guestfish(1)>."
22977 msgstr ""
22978
22979 # type: textblock
22980 #: ../fuse/guestmount.pod:56
22981 msgid ""
22982 "If you don't know what filesystems are contained in a guest or disk image, "
22983 "use L<virt-list-filesystems(1)> first:"
22984 msgstr ""
22985
22986 # type: verbatim
22987 #: ../fuse/guestmount.pod:59
22988 #, no-wrap
22989 msgid ""
22990 " virt-list-filesystems MyGuest\n"
22991 "\n"
22992 msgstr ""
22993
22994 # type: textblock
22995 #: ../fuse/guestmount.pod:61
22996 msgid ""
22997 "If you want to trace the libguestfs calls but without excessive debugging, "
22998 "we recommend:"
22999 msgstr ""
23000
23001 # type: verbatim
23002 #: ../fuse/guestmount.pod:64
23003 #, no-wrap
23004 msgid ""
23005 " guestmount [-a ... -m ...] --trace /mnt\n"
23006 "\n"
23007 msgstr ""
23008
23009 # type: textblock
23010 #: ../fuse/guestmount.pod:66
23011 msgid "If you want to debug the program, we recommend:"
23012 msgstr ""
23013
23014 # type: verbatim
23015 #: ../fuse/guestmount.pod:68
23016 #, no-wrap
23017 msgid ""
23018 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
23019 "\n"
23020 msgstr ""
23021
23022 # type: textblock
23023 #: ../fuse/guestmount.pod:76
23024 msgid "Add a block device or virtual machine image."
23025 msgstr ""
23026
23027 # type: =item
23028 #: ../fuse/guestmount.pod:78
23029 msgid "B<--dir-cache-timeout N>"
23030 msgstr ""
23031
23032 # type: textblock
23033 #: ../fuse/guestmount.pod:80
23034 msgid ""
23035 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
23036 "seconds.  The readdir cache [actually, there are several semi-independent "
23037 "caches] is populated after a readdir(2) call with the stat and extended "
23038 "attributes of the files in the directory, in anticipation that they will be "
23039 "requested soon after."
23040 msgstr ""
23041
23042 # type: textblock
23043 #: ../fuse/guestmount.pod:86
23044 msgid ""
23045 "There is also a different attribute cache implemented by FUSE (see the FUSE "
23046 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
23047 "requests, only cache existing ones."
23048 msgstr ""
23049
23050 # type: =item
23051 #: ../fuse/guestmount.pod:90
23052 msgid "B<--fuse-help>"
23053 msgstr ""
23054
23055 # type: textblock
23056 #: ../fuse/guestmount.pod:92
23057 msgid "Display help on special FUSE options (see I<-o> below)."
23058 msgstr ""
23059
23060 # type: textblock
23061 #: ../fuse/guestmount.pod:96
23062 msgid "Display brief help and exit."
23063 msgstr ""
23064
23065 # type: =item
23066 #: ../fuse/guestmount.pod:98
23067 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
23068 msgstr ""
23069
23070 # type: textblock
23071 #: ../fuse/guestmount.pod:100
23072 msgid ""
23073 "Mount the named partition or logical volume on the given mountpoint B<in the "
23074 "guest> (this has nothing to do with mountpoints in the host)."
23075 msgstr ""
23076
23077 # type: textblock
23078 #: ../fuse/guestmount.pod:103
23079 msgid ""
23080 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
23081 "something on C</>."
23082 msgstr ""
23083
23084 # type: textblock
23085 #: ../fuse/guestmount.pod:108
23086 msgid ""
23087 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
23088 "unmounted.  If you specify this option, then we don't attempt to sync the "
23089 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
23090 msgstr ""
23091
23092 # type: =item
23093 #: ../fuse/guestmount.pod:113
23094 msgid "B<-o option> | B<--option option>"
23095 msgstr ""
23096
23097 # type: textblock
23098 #: ../fuse/guestmount.pod:115
23099 msgid "Pass extra options to FUSE."
23100 msgstr ""
23101
23102 # type: textblock
23103 #: ../fuse/guestmount.pod:117
23104 msgid ""
23105 "To get a list of all the extra options supported by FUSE, use the command "
23106 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
23107 "of them are a good idea."
23108 msgstr ""
23109
23110 # type: verbatim
23111 #: ../fuse/guestmount.pod:121
23112 #, no-wrap
23113 msgid ""
23114 " guestmount --fuse-help\n"
23115 "\n"
23116 msgstr ""
23117
23118 # type: textblock
23119 #: ../fuse/guestmount.pod:123
23120 msgid "Some potentially useful FUSE options:"
23121 msgstr ""
23122
23123 # type: =item
23124 #: ../fuse/guestmount.pod:127
23125 msgid "B<-o allow_other>"
23126 msgstr ""
23127
23128 # type: textblock
23129 #: ../fuse/guestmount.pod:129
23130 msgid "Allow other users to see the filesystem."
23131 msgstr ""
23132
23133 # type: =item
23134 #: ../fuse/guestmount.pod:131
23135 msgid "B<-o attr_timeout=N>"
23136 msgstr ""
23137
23138 # type: textblock
23139 #: ../fuse/guestmount.pod:133
23140 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
23141 msgstr ""
23142
23143 # type: =item
23144 #: ../fuse/guestmount.pod:135
23145 msgid "B<-o kernel_cache>"
23146 msgstr ""
23147
23148 # type: textblock
23149 #: ../fuse/guestmount.pod:137
23150 msgid ""
23151 "Allow the kernel to cache files (reduces the number of reads that have to go "
23152 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
23153 "afford the extra memory usage."
23154 msgstr ""
23155
23156 # type: =item
23157 #: ../fuse/guestmount.pod:141
23158 msgid "B<-o uid=N> B<-o gid=N>"
23159 msgstr ""
23160
23161 # type: textblock
23162 #: ../fuse/guestmount.pod:143
23163 msgid ""
23164 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
23165 "the chosen values."
23166 msgstr ""
23167
23168 # type: textblock
23169 #: ../fuse/guestmount.pod:150
23170 msgid ""
23171 "Add devices and mount everything read-only.  Also disallow writes and make "
23172 "the disk appear read-only to FUSE."
23173 msgstr ""
23174
23175 # type: textblock
23176 #: ../fuse/guestmount.pod:153
23177 msgid ""
23178 "This is highly recommended if you are not going to edit the guest disk.  If "
23179 "the guest is running and this option is I<not> supplied, then there is a "
23180 "strong risk of disk corruption in the guest.  We try to prevent this from "
23181 "happening, but it is not always possible."
23182 msgstr ""
23183
23184 # type: textblock
23185 #: ../fuse/guestmount.pod:160
23186 msgid "Enable SELinux support for the guest."
23187 msgstr ""
23188
23189 # type: =item
23190 #: ../fuse/guestmount.pod:162
23191 msgid "B<--trace>"
23192 msgstr ""
23193
23194 # type: textblock
23195 #: ../fuse/guestmount.pod:164
23196 msgid "Trace libguestfs calls (to stderr)."
23197 msgstr ""
23198
23199 # type: textblock
23200 #: ../fuse/guestmount.pod:166
23201 msgid "This also stops the daemon from forking into the background."
23202 msgstr ""
23203
23204 # type: textblock
23205 #: ../fuse/guestmount.pod:170
23206 msgid "Enable verbose messages from underlying libguestfs."
23207 msgstr ""
23208
23209 # type: textblock
23210 #: ../fuse/guestmount.pod:174
23211 msgid "Display the program version and exit."
23212 msgstr ""
23213
23214 # type: textblock
23215 #: ../fuse/guestmount.pod:180
23216 msgid ""
23217 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
23218 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
23219 "net/>."
23220 msgstr ""
23221
23222 # type: textblock
23223 #: ../inspector/virt-inspector.pl:40
23224 msgid ""
23225 "virt-inspector - Display OS version, kernel, drivers, mount points, "
23226 "applications, etc. in a virtual machine"
23227 msgstr ""
23228
23229 # type: verbatim
23230 #: ../inspector/virt-inspector.pl:44
23231 #, no-wrap
23232 msgid ""
23233 " virt-inspector [--connect URI] domname\n"
23234 "\n"
23235 msgstr ""
23236
23237 # type: verbatim
23238 #: ../inspector/virt-inspector.pl:46
23239 #, no-wrap
23240 msgid ""
23241 " virt-inspector guest.img [guest.img ...]\n"
23242 "\n"
23243 msgstr ""
23244
23245 # type: textblock
23246 #: ../inspector/virt-inspector.pl:50
23247 msgid ""
23248 "B<virt-inspector> examines a virtual machine and tries to determine the "
23249 "version of the OS, the kernel version, what drivers are installed, whether "
23250 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
23251 "applications are installed and more."
23252 msgstr ""
23253
23254 # type: textblock
23255 #: ../inspector/virt-inspector.pl:55
23256 msgid ""
23257 "Virt-inspector can produce output in several formats, including a readable "
23258 "text report, and XML for feeding into other programs."
23259 msgstr ""
23260
23261 # type: textblock
23262 #: ../inspector/virt-inspector.pl:58
23263 msgid ""
23264 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
23265 "libvirt domain (see: C<virsh list --all>)."
23266 msgstr ""
23267
23268 # type: textblock
23269 #: ../inspector/virt-inspector.pl:61
23270 msgid ""
23271 "You can also run virt-inspector directly on disk images from a single "
23272 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
23273 "has several block devices, in which case you should list them one after "
23274 "another, with the first corresponding to the guest's C</dev/sda>, the second "
23275 "to the guest's C</dev/sdb> and so on."
23276 msgstr ""
23277
23278 # type: textblock
23279 #: ../inspector/virt-inspector.pl:67
23280 msgid ""
23281 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
23282 "inspect several virtual machines, you have to run virt-inspector several "
23283 "times (for example, from a shell script for-loop)."
23284 msgstr ""
23285
23286 # type: textblock
23287 #: ../inspector/virt-inspector.pl:72
23288 msgid ""
23289 "Because virt-inspector needs direct access to guest images, it won't "
23290 "normally work over remote libvirt connections."
23291 msgstr ""
23292
23293 # type: textblock
23294 #: ../inspector/virt-inspector.pl:85 ../tools/virt-cat.pl:90
23295 #: ../tools/virt-df.pl:81 ../tools/virt-edit.pl:83
23296 #: ../tools/virt-list-filesystems.pl:60 ../tools/virt-list-partitions.pl:61
23297 #: ../tools/virt-ls.pl:89 ../tools/virt-make-fs.pl:163
23298 #: ../tools/virt-rescue.pl:113 ../tools/virt-tar.pl:109
23299 #: ../tools/virt-win-reg.pl:182
23300 msgid "Display brief help."
23301 msgstr ""
23302
23303 # type: =item
23304 #: ../inspector/virt-inspector.pl:91 ../tools/virt-cat.pl:96
23305 #: ../tools/virt-df.pl:87 ../tools/virt-edit.pl:89
23306 #: ../tools/virt-list-filesystems.pl:66 ../tools/virt-list-partitions.pl:67
23307 #: ../tools/virt-ls.pl:95 ../tools/virt-make-fs.pl:169
23308 #: ../tools/virt-rescue.pl:119 ../tools/virt-resize.pl:249
23309 #: ../tools/virt-tar.pl:115 ../tools/virt-win-reg.pl:188
23310 msgid "B<--version>"
23311 msgstr ""
23312
23313 # type: textblock
23314 #: ../inspector/virt-inspector.pl:93 ../tools/virt-cat.pl:98
23315 #: ../tools/virt-df.pl:89 ../tools/virt-edit.pl:91
23316 #: ../tools/virt-list-filesystems.pl:68 ../tools/virt-list-partitions.pl:69
23317 #: ../tools/virt-ls.pl:97 ../tools/virt-make-fs.pl:171
23318 #: ../tools/virt-rescue.pl:121 ../tools/virt-resize.pl:251
23319 #: ../tools/virt-tar.pl:117 ../tools/virt-win-reg.pl:190
23320 msgid "Display version number and exit."
23321 msgstr ""
23322
23323 # type: =item
23324 #: ../inspector/virt-inspector.pl:99 ../tools/virt-cat.pl:104
23325 #: ../tools/virt-df.pl:95 ../tools/virt-edit.pl:113
23326 #: ../tools/virt-list-filesystems.pl:74 ../tools/virt-list-partitions.pl:75
23327 #: ../tools/virt-ls.pl:103 ../tools/virt-rescue.pl:135
23328 #: ../tools/virt-tar.pl:123 ../tools/virt-win-reg.pl:204
23329 msgid "B<--connect URI> | B<-c URI>"
23330 msgstr ""
23331
23332 # type: textblock
23333 #: ../inspector/virt-inspector.pl:101 ../tools/virt-cat.pl:106
23334 #: ../tools/virt-df.pl:97 ../tools/virt-edit.pl:115
23335 #: ../tools/virt-list-filesystems.pl:76 ../tools/virt-list-partitions.pl:77
23336 #: ../tools/virt-ls.pl:105 ../tools/virt-rescue.pl:137
23337 #: ../tools/virt-tar.pl:125 ../tools/virt-win-reg.pl:206
23338 msgid ""
23339 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
23340 "to the default libvirt hypervisor."
23341 msgstr ""
23342
23343 # type: textblock
23344 #: ../inspector/virt-inspector.pl:104
23345 msgid ""
23346 "Libvirt is only used if you specify a C<domname> on the command line.  If "
23347 "you specify guest block devices directly, then libvirt is not used at all."
23348 msgstr ""
23349
23350 # type: textblock
23351 #: ../inspector/virt-inspector.pl:114
23352 msgid ""
23353 "The following options select the output format.  Use only one of them.  The "
23354 "default is a readable text report."
23355 msgstr ""
23356
23357 # type: =item
23358 #: ../inspector/virt-inspector.pl:119
23359 msgid "B<--text> (default)"
23360 msgstr ""
23361
23362 # type: textblock
23363 #: ../inspector/virt-inspector.pl:121
23364 msgid "Plain text report."
23365 msgstr ""
23366
23367 # type: =item
23368 #: ../inspector/virt-inspector.pl:123
23369 msgid "B<--none>"
23370 msgstr ""
23371
23372 # type: textblock
23373 #: ../inspector/virt-inspector.pl:125
23374 msgid "Produce no output at all."
23375 msgstr ""
23376
23377 # type: =item
23378 #: ../inspector/virt-inspector.pl:127
23379 msgid "B<--xml>"
23380 msgstr ""
23381
23382 # type: textblock
23383 #: ../inspector/virt-inspector.pl:129
23384 msgid ""
23385 "If you select I<--xml> then you get XML output which can be fed to other "
23386 "programs."
23387 msgstr ""
23388
23389 # type: =item
23390 #: ../inspector/virt-inspector.pl:132
23391 msgid "B<--yaml>"
23392 msgstr ""
23393
23394 # type: textblock
23395 #: ../inspector/virt-inspector.pl:134
23396 msgid ""
23397 "If you select I<--yaml> then you get YAML output which can be fed to other "
23398 "programs."
23399 msgstr ""
23400
23401 # type: =item
23402 #: ../inspector/virt-inspector.pl:137
23403 msgid "B<--perl>"
23404 msgstr ""
23405
23406 # type: textblock
23407 #: ../inspector/virt-inspector.pl:139
23408 msgid ""
23409 "If you select I<--perl> then you get Perl structures output which can be "
23410 "used directly in another Perl program."
23411 msgstr ""
23412
23413 # type: =item
23414 #: ../inspector/virt-inspector.pl:142
23415 msgid "B<--fish>"
23416 msgstr ""
23417
23418 # type: =item
23419 #: ../inspector/virt-inspector.pl:144
23420 msgid "B<--ro-fish>"
23421 msgstr ""
23422
23423 # type: textblock
23424 #: ../inspector/virt-inspector.pl:146
23425 msgid ""
23426 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
23427 "will automatically mount up the filesystems on the correct mount points.  "
23428 "Try this for example:"
23429 msgstr ""
23430
23431 # type: verbatim
23432 #: ../inspector/virt-inspector.pl:150
23433 #, no-wrap
23434 msgid ""
23435 " guestfish $(virt-inspector --fish guest.img)\n"
23436 "\n"
23437 msgstr ""
23438
23439 # type: textblock
23440 #: ../inspector/virt-inspector.pl:152
23441 msgid ""
23442 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
23443 "that the filesystems are mounted read-only."
23444 msgstr ""
23445
23446 # type: =item
23447 #: ../inspector/virt-inspector.pl:155
23448 msgid "B<--query>"
23449 msgstr ""
23450
23451 # type: textblock
23452 #: ../inspector/virt-inspector.pl:157
23453 msgid ""
23454 "In \"query mode\" we answer common questions about the guest, such as "
23455 "whether it is fullvirt or needs a Xen hypervisor to run."
23456 msgstr ""
23457
23458 # type: textblock
23459 #: ../inspector/virt-inspector.pl:160
23460 msgid "See section I<QUERY MODE> below."
23461 msgstr ""
23462
23463 # type: =item
23464 #: ../inspector/virt-inspector.pl:166
23465 msgid "B<--windows-registry>"
23466 msgstr ""
23467
23468 # type: textblock
23469 #: ../inspector/virt-inspector.pl:168
23470 msgid ""
23471 "This flag is ignored for compatibility with earlier releases of the software."
23472 msgstr ""
23473
23474 # type: textblock
23475 #: ../inspector/virt-inspector.pl:171
23476 msgid ""
23477 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
23478 "information out of the Registry for any Windows guest."
23479 msgstr ""
23480
23481 # type: =head1
23482 #: ../inspector/virt-inspector.pl:218
23483 msgid "OUTPUT FORMAT"
23484 msgstr ""
23485
23486 # type: verbatim
23487 #: ../inspector/virt-inspector.pl:220
23488 #, no-wrap
23489 msgid ""
23490 " Operating system(s)\n"
23491 " -------------------\n"
23492 " Linux (distro + version)\n"
23493 " Windows (version)\n"
23494 "    |\n"
23495 "    |\n"
23496 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
23497 "         -----------            --------------     ----------------\n"
23498 "         mount point => device  List of apps       Extra information\n"
23499 "         mount point => device  and versions       about kernel(s)\n"
23500 "              ...                                  and drivers\n"
23501 "         swap => swap device\n"
23502 "         (plus lots of extra information\n"
23503 "         about each filesystem)\n"
23504 "\n"
23505 msgstr ""
23506
23507 # type: textblock
23508 #: ../inspector/virt-inspector.pl:235
23509 msgid "The output of virt-inspector is a complex two-level data structure."
23510 msgstr ""
23511
23512 # type: textblock
23513 #: ../inspector/virt-inspector.pl:237
23514 msgid ""
23515 "At the top level is a list of the operating systems installed on the guest.  "
23516 "(For the vast majority of guests, only a single OS is installed.)  The data "
23517 "returned for the OS includes the name (Linux, Windows), the distribution and "
23518 "version."
23519 msgstr ""
23520
23521 # type: textblock
23522 #: ../inspector/virt-inspector.pl:242
23523 msgid "The diagram above shows what we return for each OS."
23524 msgstr ""
23525
23526 # type: textblock
23527 #: ../inspector/virt-inspector.pl:244
23528 msgid ""
23529 "With the I<--xml> option the output is mapped into an XML document.  There "
23530 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
23531 "normally ships with virt-inspector, or can be found in the source."
23532 msgstr ""
23533
23534 # type: textblock
23535 #: ../inspector/virt-inspector.pl:249
23536 msgid ""
23537 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
23538 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
23539 "and inspect the guest with everything mounted in the right place.  For "
23540 "example:"
23541 msgstr ""
23542
23543 # type: verbatim
23544 #: ../inspector/virt-inspector.pl:254
23545 #, no-wrap
23546 msgid ""
23547 " guestfish $(virt-inspector --ro-fish guest.img)\n"
23548 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
23549 "\n"
23550 msgstr ""
23551
23552 # type: =head1
23553 #: ../inspector/virt-inspector.pl:589
23554 msgid "QUERY MODE"
23555 msgstr ""
23556
23557 # type: textblock
23558 #: ../inspector/virt-inspector.pl:591
23559 msgid ""
23560 "When you use C<virt-inspector --query>, the output is a series of lines of "
23561 "the form:"
23562 msgstr ""
23563
23564 # type: verbatim
23565 #: ../inspector/virt-inspector.pl:594
23566 #, no-wrap
23567 msgid ""
23568 " windows=no\n"
23569 " linux=yes\n"
23570 " fullvirt=yes\n"
23571 " xen_pv_drivers=no\n"
23572 "\n"
23573 msgstr ""
23574
23575 # type: textblock
23576 #: ../inspector/virt-inspector.pl:599
23577 msgid ""
23578 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
23579 "if we could not determine the answer at all)."
23580 msgstr ""
23581
23582 # type: textblock
23583 #: ../inspector/virt-inspector.pl:602
23584 msgid ""
23585 "If the guest is multiboot, you can get apparently conflicting answers (eg. "
23586 "C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and has a "
23587 "Xen PV kernel).  This is normal, and just means that the guest can do both "
23588 "things, although it might require operator intervention such as selecting a "
23589 "boot option when the guest is booting."
23590 msgstr ""
23591
23592 # type: textblock
23593 #: ../inspector/virt-inspector.pl:609
23594 msgid "This section describes the full range of answers possible."
23595 msgstr ""
23596
23597 # type: =item
23598 #: ../inspector/virt-inspector.pl:630
23599 msgid "windows=(yes|no)"
23600 msgstr ""
23601
23602 # type: textblock
23603 #: ../inspector/virt-inspector.pl:632
23604 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
23605 msgstr ""
23606
23607 # type: =item
23608 #: ../inspector/virt-inspector.pl:645
23609 msgid "linux=(yes|no)"
23610 msgstr ""
23611
23612 # type: textblock
23613 #: ../inspector/virt-inspector.pl:647
23614 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
23615 msgstr ""
23616
23617 # type: =item
23618 #: ../inspector/virt-inspector.pl:660
23619 msgid "rhel=(yes|no)"
23620 msgstr ""
23621
23622 # type: textblock
23623 #: ../inspector/virt-inspector.pl:662
23624 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
23625 msgstr ""
23626
23627 # type: =item
23628 #: ../inspector/virt-inspector.pl:676
23629 msgid "fedora=(yes|no)"
23630 msgstr ""
23631
23632 # type: textblock
23633 #: ../inspector/virt-inspector.pl:678
23634 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
23635 msgstr ""
23636
23637 # type: =item
23638 #: ../inspector/virt-inspector.pl:691
23639 msgid "debian=(yes|no)"
23640 msgstr ""
23641
23642 # type: textblock
23643 #: ../inspector/virt-inspector.pl:693
23644 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
23645 msgstr ""
23646
23647 # type: =item
23648 #: ../inspector/virt-inspector.pl:706
23649 msgid "fullvirt=(yes|no)"
23650 msgstr ""
23651
23652 # type: textblock
23653 #: ../inspector/virt-inspector.pl:708
23654 msgid ""
23655 "Answer C<yes> if there is at least one operating system kernel installed in "
23656 "the guest which runs fully virtualized.  Such a guest would require a "
23657 "hypervisor which supports full system virtualization."
23658 msgstr ""
23659
23660 # type: =item
23661 #: ../inspector/virt-inspector.pl:731
23662 msgid "xen_domU_kernel=(yes|no)"
23663 msgstr ""
23664
23665 # type: textblock
23666 #: ../inspector/virt-inspector.pl:733
23667 msgid ""
23668 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
23669 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
23670 msgstr ""
23671
23672 # type: =item
23673 #: ../inspector/virt-inspector.pl:753
23674 msgid "xen_pv_drivers=(yes|no)"
23675 msgstr ""
23676
23677 # type: textblock
23678 #: ../inspector/virt-inspector.pl:755
23679 msgid ""
23680 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
23681 "(usually the kernel itself will be fully virtualized, but the PV drivers "
23682 "have been installed by the administrator for performance reasons)."
23683 msgstr ""
23684
23685 # type: =item
23686 #: ../inspector/virt-inspector.pl:777
23687 msgid "virtio_drivers=(yes|no)"
23688 msgstr ""
23689
23690 # type: textblock
23691 #: ../inspector/virt-inspector.pl:779
23692 msgid ""
23693 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
23694 "Virtio drivers are commonly used to improve the performance of KVM."
23695 msgstr ""
23696
23697 # type: =item
23698 #: ../inspector/virt-inspector.pl:800
23699 msgid "userspace_arch=(x86_64|...)"
23700 msgstr ""
23701
23702 # type: textblock
23703 #: ../inspector/virt-inspector.pl:802
23704 msgid "Print the architecture of userspace."
23705 msgstr ""
23706
23707 # type: textblock
23708 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
23709 msgid "NB. For multi-boot VMs this can print several lines."
23710 msgstr ""
23711
23712 # type: =item
23713 #: ../inspector/virt-inspector.pl:821
23714 msgid "kernel_arch=(x86_64|...)"
23715 msgstr ""
23716
23717 # type: textblock
23718 #: ../inspector/virt-inspector.pl:823
23719 msgid "Print the architecture of the kernel."
23720 msgstr ""
23721
23722 # type: textblock
23723 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:538
23724 msgid ""
23725 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23726 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23727 msgstr ""
23728
23729 # type: textblock
23730 #: ../inspector/virt-inspector.pl:857 ../tools/virt-cat.pl:175
23731 #: ../tools/virt-df.pl:547 ../tools/virt-edit.pl:339
23732 #: ../tools/virt-list-filesystems.pl:205 ../tools/virt-list-partitions.pl:242
23733 #: ../tools/virt-ls.pl:223 ../tools/virt-make-fs.pl:554
23734 #: ../tools/virt-rescue.pl:243 ../tools/virt-resize.pl:1409
23735 #: ../tools/virt-tar.pl:270 ../tools/virt-win-reg.pl:489
23736 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
23737 msgstr ""
23738
23739 # type: textblock
23740 #: ../inspector/virt-inspector.pl:859
23741 msgid "Matthew Booth L<mbooth@redhat.com>"
23742 msgstr ""
23743
23744 # type: textblock
23745 #: ../inspector/virt-inspector.pl:863 ../tools/virt-cat.pl:179
23746 #: ../tools/virt-list-filesystems.pl:209 ../tools/virt-ls.pl:227
23747 #: ../tools/virt-tar.pl:274
23748 msgid "Copyright (C) 2009 Red Hat Inc."
23749 msgstr ""
23750
23751 # type: textblock
23752 #: ../tools/virt-cat.pl:34
23753 msgid "virt-cat - Display a file in a virtual machine"
23754 msgstr ""
23755
23756 # type: verbatim
23757 #: ../tools/virt-cat.pl:38
23758 #, no-wrap
23759 msgid ""
23760 " virt-cat [--options] domname file\n"
23761 "\n"
23762 msgstr ""
23763
23764 # type: verbatim
23765 #: ../tools/virt-cat.pl:40
23766 #, no-wrap
23767 msgid ""
23768 " virt-cat [--options] disk.img [disk.img ...] file\n"
23769 "\n"
23770 msgstr ""
23771
23772 # type: textblock
23773 #: ../tools/virt-cat.pl:44
23774 msgid ""
23775 "C<virt-cat> is a command line tool to display the contents of C<file> where "
23776 "C<file> exists in the named virtual machine (or disk image)."
23777 msgstr ""
23778
23779 # type: textblock
23780 #: ../tools/virt-cat.pl:47
23781 msgid ""
23782 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
23783 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
23784 "tool."
23785 msgstr ""
23786
23787 # type: textblock
23788 #: ../tools/virt-cat.pl:53
23789 msgid ""
23790 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
23791 msgstr ""
23792
23793 # type: verbatim
23794 #: ../tools/virt-cat.pl:56
23795 #, no-wrap
23796 msgid ""
23797 " virt-cat mydomain /etc/fstab\n"
23798 "\n"
23799 msgstr ""
23800
23801 # type: textblock
23802 #: ../tools/virt-cat.pl:58
23803 msgid "List syslog messages from a VM:"
23804 msgstr ""
23805
23806 # type: verbatim
23807 #: ../tools/virt-cat.pl:60
23808 #, no-wrap
23809 msgid ""
23810 " virt-cat mydomain /var/log/messages | tail\n"
23811 "\n"
23812 msgstr ""
23813
23814 # type: textblock
23815 #: ../tools/virt-cat.pl:62
23816 msgid "Find out what DHCP IP address a VM acquired:"
23817 msgstr ""
23818
23819 # type: verbatim
23820 #: ../tools/virt-cat.pl:64
23821 #, no-wrap
23822 msgid ""
23823 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
23824 "\n"
23825 msgstr ""
23826
23827 # type: textblock
23828 #: ../tools/virt-cat.pl:66
23829 msgid "Find out what packages were recently installed:"
23830 msgstr ""
23831
23832 # type: verbatim
23833 #: ../tools/virt-cat.pl:68
23834 #, no-wrap
23835 msgid ""
23836 " virt-cat mydomain /var/log/yum.log | tail\n"
23837 "\n"
23838 msgstr ""
23839
23840 # type: textblock
23841 #: ../tools/virt-cat.pl:70
23842 msgid "Find out who is logged on inside a virtual machine:"
23843 msgstr ""
23844
23845 # type: verbatim
23846 #: ../tools/virt-cat.pl:72
23847 #, no-wrap
23848 msgid ""
23849 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
23850 " who /tmp/utmp\n"
23851 "\n"
23852 msgstr ""
23853
23854 # type: textblock
23855 #: ../tools/virt-cat.pl:75
23856 msgid "or who was logged on:"
23857 msgstr ""
23858
23859 # type: verbatim
23860 #: ../tools/virt-cat.pl:77
23861 #, no-wrap
23862 msgid ""
23863 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
23864 " last -f /tmp/wtmp\n"
23865 "\n"
23866 msgstr ""
23867
23868 # type: textblock
23869 #: ../tools/virt-cat.pl:109 ../tools/virt-df.pl:100 ../tools/virt-edit.pl:118
23870 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
23871 #: ../tools/virt-ls.pl:108 ../tools/virt-rescue.pl:140
23872 #: ../tools/virt-tar.pl:128 ../tools/virt-win-reg.pl:209
23873 msgid ""
23874 "If you specify guest block devices directly, then libvirt is not used at all."
23875 msgstr ""
23876
23877 # type: textblock
23878 #: ../tools/virt-cat.pl:165
23879 msgid ""
23880 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, L<Sys::"
23881 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23882 msgstr ""
23883
23884 # type: =head1
23885 #: ../tools/virt-cat.pl:173 ../tools/virt-df.pl:545 ../tools/virt-edit.pl:337
23886 #: ../tools/virt-list-filesystems.pl:203 ../tools/virt-list-partitions.pl:240
23887 #: ../tools/virt-ls.pl:221 ../tools/virt-make-fs.pl:552
23888 #: ../tools/virt-rescue.pl:241 ../tools/virt-resize.pl:1407
23889 #: ../tools/virt-tar.pl:268 ../tools/virt-win-reg.pl:487
23890 msgid "AUTHOR"
23891 msgstr ""
23892
23893 # type: textblock
23894 #: ../tools/virt-df.pl:36
23895 msgid "virt-df - Display free space on virtual filesystems"
23896 msgstr ""
23897
23898 # type: verbatim
23899 #: ../tools/virt-df.pl:40
23900 #, no-wrap
23901 msgid ""
23902 " virt-df [--options]\n"
23903 "\n"
23904 msgstr ""
23905
23906 # type: verbatim
23907 #: ../tools/virt-df.pl:42
23908 #, no-wrap
23909 msgid ""
23910 " virt-df [--options] domname\n"
23911 "\n"
23912 msgstr ""
23913
23914 # type: verbatim
23915 #: ../tools/virt-df.pl:44
23916 #, no-wrap
23917 msgid ""
23918 " virt-df [--options] disk.img [disk.img ...]\n"
23919 "\n"
23920 msgstr ""
23921
23922 # type: textblock
23923 #: ../tools/virt-df.pl:48
23924 msgid ""
23925 "C<virt-df> is a command line tool to display free space on virtual machine "
23926 "filesystems.  Unlike other tools, it doesn't just display the amount of "
23927 "space allocated to a virtual machine, but can look inside the virtual "
23928 "machine to see how much space is really being used."
23929 msgstr ""
23930
23931 # type: textblock
23932 #: ../tools/virt-df.pl:53
23933 msgid ""
23934 "It is like the L<df(1)> command, but for virtual machines, except that it "
23935 "also works for Windows virtual machines."
23936 msgstr ""
23937
23938 # type: textblock
23939 #: ../tools/virt-df.pl:56
23940 msgid ""
23941 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
23942 "of all active and inactive guests, and performs a C<df>-type operation on "
23943 "each one in turn, printing out the results."
23944 msgstr ""
23945
23946 # type: textblock
23947 #: ../tools/virt-df.pl:60
23948 msgid ""
23949 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
23950 "either the single named libvirt domain, or on the disk image(s) listed on "
23951 "the command line (which must all belong to a single VM).  In this mode (with "
23952 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
23953 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
23954 msgstr ""
23955
23956 # type: textblock
23957 #: ../tools/virt-df.pl:67
23958 msgid ""
23959 "Use the C<--csv> option to get a format which can be easily parsed by other "
23960 "programs.  Other options are mostly similar to standard C<df> options.  See "
23961 "below for the complete list."
23962 msgstr ""
23963
23964 # type: =item
23965 #: ../tools/virt-df.pl:107
23966 msgid "B<--csv>"
23967 msgstr ""
23968
23969 # type: textblock
23970 #: ../tools/virt-df.pl:109
23971 msgid ""
23972 "Write out the results in CSV format (comma-separated values).  This format "
23973 "can be imported easily into databases and spreadsheets, but read L</NOTE "
23974 "ABOUT CSV FORMAT> below."
23975 msgstr ""
23976
23977 # type: =item
23978 #: ../tools/virt-df.pl:117
23979 msgid "B<--human-readable> | B<-h>"
23980 msgstr ""
23981
23982 # type: textblock
23983 #: ../tools/virt-df.pl:119
23984 msgid "Print sizes in human-readable format."
23985 msgstr ""
23986
23987 # type: textblock
23988 #: ../tools/virt-df.pl:121
23989 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
23990 msgstr ""
23991
23992 # type: =item
23993 #: ../tools/virt-df.pl:127
23994 msgid "B<--inodes> | B<-i>"
23995 msgstr ""
23996
23997 # type: textblock
23998 #: ../tools/virt-df.pl:129
23999 msgid "Print inodes instead of blocks."
24000 msgstr ""
24001
24002 # type: =item
24003 #: ../tools/virt-df.pl:135
24004 msgid "B<--one-per-guest>"
24005 msgstr ""
24006
24007 # type: textblock
24008 #: ../tools/virt-df.pl:137
24009 msgid ""
24010 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
24011 "disks from several guests to a single libguestfs appliance."
24012 msgstr ""
24013
24014 # type: textblock
24015 #: ../tools/virt-df.pl:140
24016 msgid "You might use this option in the following circumstances:"
24017 msgstr ""
24018
24019 # type: textblock
24020 #: ../tools/virt-df.pl:146
24021 msgid ""
24022 "If you think an untrusted guest might actively try to exploit the libguestfs "
24023 "appliance kernel, then this prevents one guest from interfering with the "
24024 "stats printed for another guest."
24025 msgstr ""
24026
24027 # type: textblock
24028 #: ../tools/virt-df.pl:152
24029 msgid ""
24030 "If the kernel has a bug which stops it from accessing a filesystem in one "
24031 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
24032 "and report stats for further guests."
24033 msgstr ""
24034
24035 # type: =head1
24036 #: ../tools/virt-df.pl:512
24037 msgid "NOTE ABOUT CSV FORMAT"
24038 msgstr ""
24039
24040 # type: textblock
24041 #: ../tools/virt-df.pl:514
24042 msgid ""
24043 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
24044 "should be easy to parse, but it is definitely not easy to parse."
24045 msgstr ""
24046
24047 # type: textblock
24048 #: ../tools/virt-df.pl:517
24049 msgid ""
24050 "Myth: Just split fields at commas.  Reality: This does I<not> work "
24051 "reliably.  This example has two columns:"
24052 msgstr ""
24053
24054 # type: verbatim
24055 #: ../tools/virt-df.pl:520
24056 #, no-wrap
24057 msgid ""
24058 " \"foo,bar\",baz\n"
24059 "\n"
24060 msgstr ""
24061
24062 # type: textblock
24063 #: ../tools/virt-df.pl:522
24064 msgid ""
24065 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
24066 "reliably.  This example has one row:"
24067 msgstr ""
24068
24069 # type: verbatim
24070 #: ../tools/virt-df.pl:525
24071 #, no-wrap
24072 msgid ""
24073 " \"foo\n"
24074 " bar\",baz\n"
24075 "\n"
24076 msgstr ""
24077
24078 # type: textblock
24079 #: ../tools/virt-df.pl:528
24080 msgid ""
24081 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
24082 "packaged in major Linux distributions)."
24083 msgstr ""
24084
24085 # type: textblock
24086 #: ../tools/virt-df.pl:531
24087 msgid ""
24088 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
24089 "or Python's built-in csv library)."
24090 msgstr ""
24091
24092 # type: textblock
24093 #: ../tools/virt-df.pl:534
24094 msgid "Most spreadsheets and databases can import CSV directly."
24095 msgstr ""
24096
24097 # type: textblock
24098 #: ../tools/virt-df.pl:551 ../tools/virt-edit.pl:343
24099 #: ../tools/virt-list-partitions.pl:246 ../tools/virt-rescue.pl:247
24100 msgid "Copyright (C) 2009-2010 Red Hat Inc."
24101 msgstr ""
24102
24103 # type: textblock
24104 #: ../tools/virt-edit.pl:35
24105 msgid "virt-edit - Edit a file in a virtual machine"
24106 msgstr ""
24107
24108 # type: verbatim
24109 #: ../tools/virt-edit.pl:39
24110 #, no-wrap
24111 msgid ""
24112 " virt-edit [--options] domname file\n"
24113 "\n"
24114 msgstr ""
24115
24116 # type: verbatim
24117 #: ../tools/virt-edit.pl:41
24118 #, no-wrap
24119 msgid ""
24120 " virt-edit [--options] disk.img [disk.img ...] file\n"
24121 "\n"
24122 msgstr ""
24123
24124 # type: verbatim
24125 #: ../tools/virt-edit.pl:43
24126 #, no-wrap
24127 msgid ""
24128 " virt-edit [domname|disk.img] file -e 'expr'\n"
24129 "\n"
24130 msgstr ""
24131
24132 # type: textblock
24133 #: ../tools/virt-edit.pl:47
24134 msgid ""
24135 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
24136 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
24137 "doing this, but doesn't catch all cases."
24138 msgstr ""
24139
24140 # type: textblock
24141 #: ../tools/virt-edit.pl:53
24142 msgid ""
24143 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
24144 "the named virtual machine (or disk image)."
24145 msgstr ""
24146
24147 # type: textblock
24148 #: ../tools/virt-edit.pl:56
24149 msgid ""
24150 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
24151 "you should look at the L<guestfish(1)> tool."
24152 msgstr ""
24153
24154 # type: textblock
24155 #: ../tools/virt-edit.pl:61
24156 msgid "Edit the named files interactively:"
24157 msgstr ""
24158
24159 # type: verbatim
24160 #: ../tools/virt-edit.pl:63
24161 #, no-wrap
24162 msgid ""
24163 " virt-edit mydomain /boot/grub/grub.conf\n"
24164 "\n"
24165 msgstr ""
24166
24167 # type: verbatim
24168 #: ../tools/virt-edit.pl:65
24169 #, no-wrap
24170 msgid ""
24171 " virt-edit mydomain /etc/passwd\n"
24172 "\n"
24173 msgstr ""
24174
24175 # type: textblock
24176 #: ../tools/virt-edit.pl:67
24177 msgid ""
24178 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
24179 "below).  To change the init default level to 5:"
24180 msgstr ""
24181
24182 # type: verbatim
24183 #: ../tools/virt-edit.pl:71
24184 #, no-wrap
24185 msgid ""
24186 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
24187 "\n"
24188 msgstr ""
24189
24190 # type: =item
24191 #: ../tools/virt-edit.pl:97
24192 msgid "B<--backup extension> | B<-b extension>"
24193 msgstr ""
24194
24195 # type: textblock
24196 #: ../tools/virt-edit.pl:99
24197 msgid ""
24198 "Create a backup of the original file I<in the guest disk image>.  The backup "
24199 "has the original filename with C<extension> added."
24200 msgstr ""
24201
24202 # type: textblock
24203 #: ../tools/virt-edit.pl:102
24204 msgid ""
24205 "Usually the first character of C<extension> would be a dot C<.> so you would "
24206 "write:"
24207 msgstr ""
24208
24209 # type: verbatim
24210 #: ../tools/virt-edit.pl:105
24211 #, no-wrap
24212 msgid ""
24213 " virt-edit -b .orig [etc]\n"
24214 "\n"
24215 msgstr ""
24216
24217 # type: textblock
24218 #: ../tools/virt-edit.pl:107
24219 msgid "By default, no backup file is made."
24220 msgstr ""
24221
24222 # type: =item
24223 #: ../tools/virt-edit.pl:125
24224 msgid "B<--expr EXPR> | B<-e EXPR>"
24225 msgstr ""
24226
24227 # type: textblock
24228 #: ../tools/virt-edit.pl:127
24229 msgid ""
24230 "Instead of launching the external editor, non-interactively apply the Perl "
24231 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
24232 "EDITING> below."
24233 msgstr ""
24234
24235 # type: textblock
24236 #: ../tools/virt-edit.pl:131
24237 msgid ""
24238 "Be careful to properly quote the expression to prevent it from being altered "
24239 "by the shell."
24240 msgstr ""
24241
24242 # type: =head1
24243 #: ../tools/virt-edit.pl:250
24244 msgid "NON-INTERACTIVE EDITING"
24245 msgstr ""
24246
24247 # type: textblock
24248 #: ../tools/virt-edit.pl:252
24249 msgid ""
24250 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
24251 "administrator can interactively edit the file."
24252 msgstr ""
24253
24254 # type: textblock
24255 #: ../tools/virt-edit.pl:255
24256 msgid ""
24257 "There are two ways also to use C<virt-edit> from scripts in order to make "
24258 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
24259 "like this, it's less error-prone to write scripts directly using the "
24260 "libguestfs API and Augeas for configuration file editing.)"
24261 msgstr ""
24262
24263 # type: textblock
24264 #: ../tools/virt-edit.pl:261
24265 msgid ""
24266 "The first method is to temporarily set C<$EDITOR> to any script or program "
24267 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
24268 "update C<tmpfile> in place however it likes."
24269 msgstr ""
24270
24271 # type: textblock
24272 #: ../tools/virt-edit.pl:265
24273 msgid ""
24274 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
24275 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
24276 "instances of C<foo> with C<bar> in a file:"
24277 msgstr ""
24278
24279 # type: verbatim
24280 #: ../tools/virt-edit.pl:269
24281 #, no-wrap
24282 msgid ""
24283 " virt-edit domname filename -e 's/foo/bar/'\n"
24284 "\n"
24285 msgstr ""
24286
24287 # type: textblock
24288 #: ../tools/virt-edit.pl:271
24289 msgid ""
24290 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
24291 "For example to delete root's password you could do:"
24292 msgstr ""
24293
24294 # type: verbatim
24295 #: ../tools/virt-edit.pl:274
24296 #, no-wrap
24297 msgid ""
24298 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
24299 "\n"
24300 msgstr ""
24301
24302 # type: textblock
24303 #: ../tools/virt-edit.pl:276
24304 msgid ""
24305 "What really happens is that the snippet is evaluated as a Perl expression "
24306 "for each line of the file.  The line, including the final C<\\n>, is passed "
24307 "in C<$_> and the expression should update C<$_> or leave it unchanged."
24308 msgstr ""
24309
24310 # type: textblock
24311 #: ../tools/virt-edit.pl:281
24312 msgid ""
24313 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
24314 "C<apache> user account from the password file you can do:"
24315 msgstr ""
24316
24317 # type: verbatim
24318 #: ../tools/virt-edit.pl:284
24319 #, no-wrap
24320 msgid ""
24321 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
24322 "\n"
24323 msgstr ""
24324
24325 # type: textblock
24326 #: ../tools/virt-edit.pl:286
24327 msgid ""
24328 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
24329 "the end of the file is rather difficult this way since there is no concept "
24330 "of \"last line of the file\" - your expression just doesn't get called "
24331 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
24332 "want to do this."
24333 msgstr ""
24334
24335 # type: textblock
24336 #: ../tools/virt-edit.pl:292
24337 msgid ""
24338 "The variable C<$lineno> contains the current line number.  As is "
24339 "traditional, the first line in the file is number C<1>."
24340 msgstr ""
24341
24342 # type: textblock
24343 #: ../tools/virt-edit.pl:295
24344 msgid ""
24345 "The return value from the expression is ignored, but the expression may call "
24346 "C<die> in order to abort the whole program, leaving the original file "
24347 "untouched."
24348 msgstr ""
24349
24350 # type: textblock
24351 #: ../tools/virt-edit.pl:299
24352 msgid ""
24353 "Remember when matching the end of a line that C<$_> may contain the final C<"
24354 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
24355 "newline then neither of these.  Thus to match or substitute some text at the "
24356 "end of a line, use this regular expression:"
24357 msgstr ""
24358
24359 # type: verbatim
24360 #: ../tools/virt-edit.pl:304
24361 #, no-wrap
24362 msgid ""
24363 " /some text(\\r?\\n)?$/\n"
24364 "\n"
24365 msgstr ""
24366
24367 # type: textblock
24368 #: ../tools/virt-edit.pl:306
24369 msgid ""
24370 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
24371 "$_> itself (since that would remove all newlines from the file):"
24372 msgstr ""
24373
24374 # type: verbatim
24375 #: ../tools/virt-edit.pl:310
24376 #, no-wrap
24377 msgid ""
24378 " my $m = $_; chomp $m; $m =~ /some text$/\n"
24379 "\n"
24380 msgstr ""
24381
24382 # type: =item
24383 #: ../tools/virt-edit.pl:316
24384 msgid "C<EDITOR>"
24385 msgstr ""
24386
24387 # type: textblock
24388 #: ../tools/virt-edit.pl:318
24389 msgid ""
24390 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
24391 "\"emacs -nw\">"
24392 msgstr ""
24393
24394 # type: textblock
24395 #: ../tools/virt-edit.pl:321
24396 msgid "If not set, C<vi> is used."
24397 msgstr ""
24398
24399 # type: textblock
24400 #: ../tools/virt-edit.pl:327
24401 msgid ""
24402 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
24403 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, L<perl(1)>, "
24404 "L<perlre(1)>."
24405 msgstr ""
24406
24407 # type: textblock
24408 #: ../tools/virt-list-filesystems.pl:32
24409 msgid ""
24410 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
24411 msgstr ""
24412
24413 # type: verbatim
24414 #: ../tools/virt-list-filesystems.pl:36
24415 #, no-wrap
24416 msgid ""
24417 " virt-list-filesystems [--options] domname\n"
24418 "\n"
24419 msgstr ""
24420
24421 # type: verbatim
24422 #: ../tools/virt-list-filesystems.pl:38
24423 #, no-wrap
24424 msgid ""
24425 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
24426 "\n"
24427 msgstr ""
24428
24429 # type: textblock
24430 #: ../tools/virt-list-filesystems.pl:42
24431 msgid ""
24432 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
24433 "are contained in a virtual machine or disk image."
24434 msgstr ""
24435
24436 # type: textblock
24437 #: ../tools/virt-list-filesystems.pl:46
24438 msgid ""
24439 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
24440 "functionality.  For more complex cases you should look at the L<guestfish(1)"
24441 "> tool."
24442 msgstr ""
24443
24444 # type: =item
24445 #: ../tools/virt-list-filesystems.pl:86 ../tools/virt-list-partitions.pl:95
24446 #: ../tools/virt-ls.pl:115
24447 msgid "B<-l> | B<--long>"
24448 msgstr ""
24449
24450 # type: textblock
24451 #: ../tools/virt-list-filesystems.pl:88
24452 msgid ""
24453 "With this option, C<virt-list-filesystems> displays the type of each "
24454 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
24455 msgstr ""
24456
24457 # type: =item
24458 #: ../tools/virt-list-filesystems.pl:95
24459 msgid "B<-a> | B<--all>"
24460 msgstr ""
24461
24462 # type: textblock
24463 #: ../tools/virt-list-filesystems.pl:97
24464 msgid ""
24465 "Normally we only show mountable filesystems.  If this option is given then "
24466 "swap devices are shown too."
24467 msgstr ""
24468
24469 # type: textblock
24470 #: ../tools/virt-list-filesystems.pl:193
24471 msgid ""
24472 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-list-"
24473 "partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)"
24474 ">, L<http://libguestfs.org/>."
24475 msgstr ""
24476
24477 # type: textblock
24478 #: ../tools/virt-list-partitions.pl:32
24479 msgid ""
24480 "virt-list-partitions - List partitions in a virtual machine or disk image"
24481 msgstr ""
24482
24483 # type: verbatim
24484 #: ../tools/virt-list-partitions.pl:36
24485 #, no-wrap
24486 msgid ""
24487 " virt-list-partitions [--options] domname\n"
24488 "\n"
24489 msgstr ""
24490
24491 # type: verbatim
24492 #: ../tools/virt-list-partitions.pl:38
24493 #, no-wrap
24494 msgid ""
24495 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
24496 "\n"
24497 msgstr ""
24498
24499 # type: textblock
24500 #: ../tools/virt-list-partitions.pl:42
24501 msgid ""
24502 "C<virt-list-partitions> is a command line tool to list the partitions that "
24503 "are contained in a virtual machine or disk image.  It is mainly useful as a "
24504 "first step to using L<virt-resize(1)>."
24505 msgstr ""
24506
24507 # type: textblock
24508 #: ../tools/virt-list-partitions.pl:47
24509 msgid ""
24510 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
24511 "functionality.  For more complex cases you should look at the L<guestfish(1)"
24512 "> tool."
24513 msgstr ""
24514
24515 # type: =item
24516 #: ../tools/virt-list-partitions.pl:87
24517 msgid "B<-h> | B<--human-readable>"
24518 msgstr ""
24519
24520 # type: textblock
24521 #: ../tools/virt-list-partitions.pl:89
24522 msgid "Show sizes in human-readable form (eg. \"1G\")."
24523 msgstr ""
24524
24525 # type: textblock
24526 #: ../tools/virt-list-partitions.pl:97
24527 msgid ""
24528 "With this option, C<virt-list-partitions> displays the type and size of each "
24529 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
24530 msgstr ""
24531
24532 # type: =item
24533 #: ../tools/virt-list-partitions.pl:104
24534 msgid "B<-t> | B<--total>"
24535 msgstr ""
24536
24537 # type: textblock
24538 #: ../tools/virt-list-partitions.pl:106
24539 msgid ""
24540 "Display the total size of each block device (as a separate row or rows)."
24541 msgstr ""
24542
24543 # type: textblock
24544 #: ../tools/virt-list-partitions.pl:231
24545 msgid ""
24546 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, L<virt-resize(1)"
24547 ">, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24548 "libguestfs.org/>."
24549 msgstr ""
24550
24551 # type: textblock
24552 #: ../tools/virt-ls.pl:35
24553 msgid "virt-ls - List files in a virtual machine"
24554 msgstr ""
24555
24556 # type: verbatim
24557 #: ../tools/virt-ls.pl:39
24558 #, no-wrap
24559 msgid ""
24560 " virt-ls [--options] domname directory\n"
24561 "\n"
24562 msgstr ""
24563
24564 # type: verbatim
24565 #: ../tools/virt-ls.pl:41
24566 #, no-wrap
24567 msgid ""
24568 " virt-ls [--options] disk.img [disk.img ...] directory\n"
24569 "\n"
24570 msgstr ""
24571
24572 # type: textblock
24573 #: ../tools/virt-ls.pl:45
24574 msgid ""
24575 "C<virt-ls> is a command line tool to list the names of files in a directory "
24576 "inside a virtual machine or disk image."
24577 msgstr ""
24578
24579 # type: textblock
24580 #: ../tools/virt-ls.pl:48
24581 msgid ""
24582 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
24583 "For more complex cases you should look at the L<guestfish(1)> tool."
24584 msgstr ""
24585
24586 # type: textblock
24587 #: ../tools/virt-ls.pl:52
24588 msgid ""
24589 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
24590 "simple listing is like the ordinary L<ls(1)> command:"
24591 msgstr ""
24592
24593 # type: verbatim
24594 #: ../tools/virt-ls.pl:55
24595 #, no-wrap
24596 msgid ""
24597 " $ virt-ls myguest /\n"
24598 " bin\n"
24599 " boot\n"
24600 " [etc.]\n"
24601 "\n"
24602 msgstr ""
24603
24604 # type: textblock
24605 #: ../tools/virt-ls.pl:60
24606 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
24607 msgstr ""
24608
24609 # type: verbatim
24610 #: ../tools/virt-ls.pl:62
24611 #, no-wrap
24612 msgid ""
24613 " $ virt-ls -l myguest /\n"
24614 " total 204\n"
24615 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
24616 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
24617 " [etc.]\n"
24618 "\n"
24619 msgstr ""
24620
24621 # type: textblock
24622 #: ../tools/virt-ls.pl:68
24623 msgid ""
24624 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
24625 "and directories recursively:"
24626 msgstr ""
24627
24628 # type: verbatim
24629 #: ../tools/virt-ls.pl:71
24630 #, no-wrap
24631 msgid ""
24632 " $ virt-ls -R myguest /tmp\n"
24633 " foo\n"
24634 " foo/bar\n"
24635 " [etc.]\n"
24636 "\n"
24637 msgstr ""
24638
24639 # type: textblock
24640 #: ../tools/virt-ls.pl:76
24641 msgid ""
24642 "You I<cannot> combine these options.  To do more complicated things, use "
24643 "L<guestfish(1)>."
24644 msgstr ""
24645
24646 # type: =item
24647 #: ../tools/virt-ls.pl:117
24648 msgid "B<-R> | B<--recursive>"
24649 msgstr ""
24650
24651 # type: textblock
24652 #: ../tools/virt-ls.pl:119
24653 msgid ""
24654 "Select the mode.  With neither of these options, C<virt-ls> produces a "
24655 "simple, flat list of the files in the named directory."
24656 msgstr ""
24657
24658 # type: textblock
24659 #: ../tools/virt-ls.pl:122
24660 msgid ""
24661 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
24662 "like the plain C<ls -l> command)."
24663 msgstr ""
24664
24665 # type: textblock
24666 #: ../tools/virt-ls.pl:125
24667 msgid ""
24668 "C<virt-ls -R> produces a recursive list of files starting at the named "
24669 "directory.  See the documentation for the C<guestfs_find> command L<guestfs"
24670 "(3)> for precise details."
24671 msgstr ""
24672
24673 # type: textblock
24674 #: ../tools/virt-ls.pl:129
24675 msgid "You cannot combine these options."
24676 msgstr ""
24677
24678 # type: textblock
24679 #: ../tools/virt-ls.pl:212
24680 msgid ""
24681 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<Sys::"
24682 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24683 "org/>."
24684 msgstr ""
24685
24686 # type: textblock
24687 #: ../tools/virt-make-fs.pl:37
24688 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
24689 msgstr ""
24690
24691 # type: verbatim
24692 #: ../tools/virt-make-fs.pl:41
24693 #, no-wrap
24694 msgid ""
24695 " virt-make-fs [--options] input.tar output.img\n"
24696 "\n"
24697 msgstr ""
24698
24699 # type: verbatim
24700 #: ../tools/virt-make-fs.pl:43
24701 #, no-wrap
24702 msgid ""
24703 " virt-make-fs [--options] input.tar.gz output.img\n"
24704 "\n"
24705 msgstr ""
24706
24707 # type: verbatim
24708 #: ../tools/virt-make-fs.pl:45
24709 #, no-wrap
24710 msgid ""
24711 " virt-make-fs [--options] directory output.img\n"
24712 "\n"
24713 msgstr ""
24714
24715 # type: textblock
24716 #: ../tools/virt-make-fs.pl:49
24717 msgid ""
24718 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
24719 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
24720 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
24721 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
24722 "you want to attach these filesystems to existing virtual machines (eg. to "
24723 "import large amounts of read-only data to a VM)."
24724 msgstr ""
24725
24726 # type: textblock
24727 #: ../tools/virt-make-fs.pl:57
24728 msgid "Basic usage is:"
24729 msgstr ""
24730
24731 # type: verbatim
24732 #: ../tools/virt-make-fs.pl:59
24733 #, no-wrap
24734 msgid ""
24735 " virt-make-fs input output\n"
24736 "\n"
24737 msgstr ""
24738
24739 # type: textblock
24740 #: ../tools/virt-make-fs.pl:61
24741 msgid ""
24742 "where C<input> is either a directory containing files that you want to add, "
24743 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
24744 "C<output> is a disk image.  The input type is detected automatically.  The "
24745 "output disk image defaults to a raw ext2 image unless you specify extra "
24746 "flags (see L</OPTIONS> below)."
24747 msgstr ""
24748
24749 # type: =head2
24750 #: ../tools/virt-make-fs.pl:67
24751 msgid "EXTRA SPACE"
24752 msgstr ""
24753
24754 # type: textblock
24755 #: ../tools/virt-make-fs.pl:69
24756 msgid ""
24757 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
24758 "the files that it contains, but might have extra space.  Depending on how "
24759 "you are going to use the output, you might think this extra space is wasted "
24760 "and want to minimize it, or you might want to leave space so that more files "
24761 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
24762 "but you can use the C<--size> flag to leave space in the filesystem if you "
24763 "want it."
24764 msgstr ""
24765
24766 # type: textblock
24767 #: ../tools/virt-make-fs.pl:77
24768 msgid ""
24769 "An alternative way to leave extra space but not make the output image any "
24770 "bigger is to use an alternative disk image format (instead of the default "
24771 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
24772 "image format (check your hypervisor supports this before using it).  This "
24773 "allows you to choose a large C<--size> but the extra space won't actually be "
24774 "allocated in the image until you try to store something in it."
24775 msgstr ""
24776
24777 # type: textblock
24778 #: ../tools/virt-make-fs.pl:85
24779 msgid ""
24780 "Don't forget that you can also use local commands including L<resize2fs(8)> "
24781 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-"
24782 "resize to build another image from scratch."
24783 msgstr ""
24784
24785 # type: =head3
24786 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
24787 #: ../tools/virt-make-fs.pl:142
24788 msgid "EXAMPLE"
24789 msgstr ""
24790
24791 # type: verbatim
24792 #: ../tools/virt-make-fs.pl:91
24793 #, no-wrap
24794 msgid ""
24795 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
24796 "\n"
24797 msgstr ""
24798
24799 # type: =head2
24800 #: ../tools/virt-make-fs.pl:93
24801 msgid "FILESYSTEM TYPE"
24802 msgstr ""
24803
24804 # type: textblock
24805 #: ../tools/virt-make-fs.pl:95
24806 msgid ""
24807 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
24808 "libguestfs supports can be used (but I<not> read-only formats like "
24809 "ISO9660).  Here are some of the more common choices:"
24810 msgstr ""
24811
24812 # type: =item
24813 #: ../tools/virt-make-fs.pl:101
24814 msgid "I<ext3>"
24815 msgstr ""
24816
24817 # type: textblock
24818 #: ../tools/virt-make-fs.pl:103
24819 msgid ""
24820 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
24821 "you are not going to use the filesystem in a way that requires the journal, "
24822 "then this is just wasted overhead."
24823 msgstr ""
24824
24825 # type: =item
24826 #: ../tools/virt-make-fs.pl:107
24827 msgid "I<ntfs> or I<vfat>"
24828 msgstr ""
24829
24830 # type: textblock
24831 #: ../tools/virt-make-fs.pl:109
24832 msgid "Useful if exporting data to a Windows guest."
24833 msgstr ""
24834
24835 # type: textblock
24836 #: ../tools/virt-make-fs.pl:111
24837 msgid ""
24838 "I<Note for vfat>: The tar archive or local directory must only contain files "
24839 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
24840 "program running within libguestfs is unable to change the ownership of non-"
24841 "root files, since vfat itself does not support this."
24842 msgstr ""
24843
24844 # type: =item
24845 #: ../tools/virt-make-fs.pl:116
24846 msgid "I<minix>"
24847 msgstr ""
24848
24849 # type: textblock
24850 #: ../tools/virt-make-fs.pl:118
24851 msgid ""
24852 "Lower overhead than C<ext2>, but certain limitations on filename length and "
24853 "total filesystem size."
24854 msgstr ""
24855
24856 # type: verbatim
24857 #: ../tools/virt-make-fs.pl:125
24858 #, no-wrap
24859 msgid ""
24860 " virt-make-fs --type=minix input minixfs.img\n"
24861 "\n"
24862 msgstr ""
24863
24864 # type: =head2
24865 #: ../tools/virt-make-fs.pl:127
24866 msgid "TO PARTITION OR NOT TO PARTITION"
24867 msgstr ""
24868
24869 # type: textblock
24870 #: ../tools/virt-make-fs.pl:129
24871 msgid "Optionally virt-make-fs can add a partition table to the output disk."
24872 msgstr ""
24873
24874 # type: textblock
24875 #: ../tools/virt-make-fs.pl:131
24876 msgid ""
24877 "Adding a partition can make the disk image more compatible with certain "
24878 "virtualized operating systems which don't expect to see a filesystem "
24879 "directly located on a block device (Linux doesn't care and will happily "
24880 "handle both types)."
24881 msgstr ""
24882
24883 # type: textblock
24884 #: ../tools/virt-make-fs.pl:136
24885 msgid ""
24886 "On the other hand, if you have a partition table then the output image is no "
24887 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
24888 "directly on a partitioned disk image.  (However libguestfs tools such as "
24889 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
24890 msgstr ""
24891
24892 # type: textblock
24893 #: ../tools/virt-make-fs.pl:144
24894 msgid "Add an MBR partition:"
24895 msgstr ""
24896
24897 # type: verbatim
24898 #: ../tools/virt-make-fs.pl:146
24899 #, no-wrap
24900 msgid ""
24901 " virt-make-fs --partition -- input disk.img\n"
24902 "\n"
24903 msgstr ""
24904
24905 # type: textblock
24906 #: ../tools/virt-make-fs.pl:148
24907 msgid ""
24908 "If the output disk image could be terabyte-sized or larger, it's better to "
24909 "use an EFI/GPT-compatible partition table:"
24910 msgstr ""
24911
24912 # type: verbatim
24913 #: ../tools/virt-make-fs.pl:151
24914 #, no-wrap
24915 msgid ""
24916 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
24917 "\n"
24918 msgstr ""
24919
24920 # type: =item
24921 #: ../tools/virt-make-fs.pl:177 ../tools/virt-win-reg.pl:196
24922 msgid "B<--debug>"
24923 msgstr ""
24924
24925 # type: textblock
24926 #: ../tools/virt-make-fs.pl:179
24927 msgid "Enable debugging information."
24928 msgstr ""
24929
24930 # type: =item
24931 #: ../tools/virt-make-fs.pl:185
24932 msgid "B<--size=E<lt>NE<gt>>"
24933 msgstr ""
24934
24935 # type: =item
24936 #: ../tools/virt-make-fs.pl:187
24937 msgid "B<--size=+E<lt>NE<gt>>"
24938 msgstr ""
24939
24940 # type: =item
24941 #: ../tools/virt-make-fs.pl:189
24942 msgid "B<-s E<lt>NE<gt>>"
24943 msgstr ""
24944
24945 # type: =item
24946 #: ../tools/virt-make-fs.pl:191
24947 msgid "B<-s +E<lt>NE<gt>>"
24948 msgstr ""
24949
24950 # type: textblock
24951 #: ../tools/virt-make-fs.pl:193
24952 msgid ""
24953 "Use the C<--size> (or C<-s>) option to choose the size of the output image."
24954 msgstr ""
24955
24956 # type: textblock
24957 #: ../tools/virt-make-fs.pl:196
24958 msgid ""
24959 "If this option is I<not> given, then the output image will be just large "
24960 "enough to contain all the files, with not much wasted space."
24961 msgstr ""
24962
24963 # type: textblock
24964 #: ../tools/virt-make-fs.pl:199
24965 msgid ""
24966 "To choose a fixed size output disk, specify an absolute number followed by b/"
24967 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
24968 "Petabytes or Exabytes.  This must be large enough to contain all the input "
24969 "files, else you will get an error."
24970 msgstr ""
24971
24972 # type: textblock
24973 #: ../tools/virt-make-fs.pl:204
24974 msgid ""
24975 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
24976 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
24977 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
24978 "the input files, and (approximately) an extra 200 MB free space."
24979 msgstr ""
24980
24981 # type: textblock
24982 #: ../tools/virt-make-fs.pl:210
24983 msgid ""
24984 "Note that virt-make-fs estimates free space, and therefore will not produce "
24985 "filesystems containing precisely the free space requested.  (It is much more "
24986 "expensive and time-consuming to produce a filesystem which has precisely the "
24987 "desired free space)."
24988 msgstr ""
24989
24990 # type: =item
24991 #: ../tools/virt-make-fs.pl:219
24992 msgid "B<--format=E<lt>fmtE<gt>>"
24993 msgstr ""
24994
24995 # type: =item
24996 #: ../tools/virt-make-fs.pl:221
24997 msgid "B<-F E<lt>fmtE<gt>>"
24998 msgstr ""
24999
25000 # type: textblock
25001 #: ../tools/virt-make-fs.pl:223
25002 msgid "Choose the output disk image format."
25003 msgstr ""
25004
25005 # type: textblock
25006 #: ../tools/virt-make-fs.pl:225
25007 msgid "The default is C<raw> (raw disk image)."
25008 msgstr ""
25009
25010 # type: textblock
25011 #: ../tools/virt-make-fs.pl:227
25012 msgid ""
25013 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
25014 "that would really make sense here is C<qcow2>."
25015 msgstr ""
25016
25017 # type: =item
25018 #: ../tools/virt-make-fs.pl:234
25019 msgid "B<--type=E<lt>fsE<gt>>"
25020 msgstr ""
25021
25022 # type: =item
25023 #: ../tools/virt-make-fs.pl:236
25024 msgid "B<-t E<lt>fsE<gt>>"
25025 msgstr ""
25026
25027 # type: textblock
25028 #: ../tools/virt-make-fs.pl:238
25029 msgid "Choose the output filesystem type."
25030 msgstr ""
25031
25032 # type: textblock
25033 #: ../tools/virt-make-fs.pl:240
25034 msgid "The default is C<ext2>."
25035 msgstr ""
25036
25037 # type: textblock
25038 #: ../tools/virt-make-fs.pl:242
25039 msgid ""
25040 "Any filesystem which is supported read-write by libguestfs can be used here."
25041 msgstr ""
25042
25043 # type: =item
25044 #: ../tools/virt-make-fs.pl:249
25045 msgid "B<--partition>"
25046 msgstr ""
25047
25048 # type: =item
25049 #: ../tools/virt-make-fs.pl:251
25050 msgid "B<--partition=E<lt>parttypeE<gt>>"
25051 msgstr ""
25052
25053 # type: textblock
25054 #: ../tools/virt-make-fs.pl:253
25055 msgid ""
25056 "If specified, this flag adds an MBR partition table to the output disk image."
25057 msgstr ""
25058
25059 # type: textblock
25060 #: ../tools/virt-make-fs.pl:256
25061 msgid ""
25062 "You can change the partition table type, eg. C<--partition=gpt> for large "
25063 "disks."
25064 msgstr ""
25065
25066 # type: textblock
25067 #: ../tools/virt-make-fs.pl:259
25068 msgid ""
25069 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
25070 "might consider the next parameter to be the partition type.  For example:"
25071 msgstr ""
25072
25073 # type: verbatim
25074 #: ../tools/virt-make-fs.pl:263
25075 #, no-wrap
25076 msgid ""
25077 " virt-make-fs --partition input.tar ...\n"
25078 "\n"
25079 msgstr ""
25080
25081 # type: textblock
25082 #: ../tools/virt-make-fs.pl:265
25083 msgid ""
25084 "would cause virt-make-fs to think you wanted to use a partition type of "
25085 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
25086 "dash) between options and the input file argument:"
25087 msgstr ""
25088
25089 # type: verbatim
25090 #: ../tools/virt-make-fs.pl:269
25091 #, no-wrap
25092 msgid ""
25093 " virt-make-fs --partition -- input.tar ...\n"
25094 "\n"
25095 msgstr ""
25096
25097 # type: textblock
25098 #: ../tools/virt-make-fs.pl:529
25099 msgid ""
25100 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
25101 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
25102 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
25103 msgstr ""
25104
25105 # type: textblock
25106 #: ../tools/virt-make-fs.pl:543 ../tools/virt-win-reg.pl:478
25107 msgid ""
25108 "When reporting bugs, please enable debugging and capture the I<complete> "
25109 "output:"
25110 msgstr ""
25111
25112 # type: verbatim
25113 #: ../tools/virt-make-fs.pl:546
25114 #, no-wrap
25115 msgid ""
25116 " export LIBGUESTFS_DEBUG=1\n"
25117 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
25118 "\n"
25119 msgstr ""
25120
25121 # type: textblock
25122 #: ../tools/virt-make-fs.pl:549
25123 msgid ""
25124 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
25125 "redhat.com/>"
25126 msgstr ""
25127
25128 # type: textblock
25129 #: ../tools/virt-make-fs.pl:558 ../tools/virt-resize.pl:1413
25130 #: ../tools/virt-win-reg.pl:493
25131 msgid "Copyright (C) 2010 Red Hat Inc."
25132 msgstr ""
25133
25134 # type: textblock
25135 #: ../tools/virt-rescue.pl:33
25136 msgid "virt-rescue - Run a rescue shell on a virtual machine"
25137 msgstr ""
25138
25139 # type: verbatim
25140 #: ../tools/virt-rescue.pl:37
25141 #, no-wrap
25142 msgid ""
25143 " virt-rescue [--options] domname\n"
25144 "\n"
25145 msgstr ""
25146
25147 # type: verbatim
25148 #: ../tools/virt-rescue.pl:39
25149 #, no-wrap
25150 msgid ""
25151 " virt-rescue [--options] disk.img [disk.img ...]\n"
25152 "\n"
25153 msgstr ""
25154
25155 # type: textblock
25156 #: ../tools/virt-rescue.pl:43
25157 msgid ""
25158 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
25159 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
25160 "you from doing this, but doesn't catch all cases."
25161 msgstr ""
25162
25163 # type: textblock
25164 #: ../tools/virt-rescue.pl:47
25165 msgid ""
25166 "However if you use the I<--ro> (read only) option, then you can attach a "
25167 "shell to a live virtual machine.  The results might be strange or "
25168 "inconsistent at times but you won't get disk corruption."
25169 msgstr ""
25170
25171 # type: textblock
25172 #: ../tools/virt-rescue.pl:53
25173 msgid ""
25174 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
25175 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
25176 "recovery tools which you can use to examine or rescue a virtual machine or "
25177 "disk image."
25178 msgstr ""
25179
25180 # type: textblock
25181 #: ../tools/virt-rescue.pl:58
25182 msgid ""
25183 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
25184 "on disk image(s):"
25185 msgstr ""
25186
25187 # type: verbatim
25188 #: ../tools/virt-rescue.pl:61
25189 #, no-wrap
25190 msgid ""
25191 " virt-rescue GuestName\n"
25192 "\n"
25193 msgstr ""
25194
25195 # type: verbatim
25196 #: ../tools/virt-rescue.pl:63
25197 #, no-wrap
25198 msgid ""
25199 " virt-rescue --ro /path/to/disk.img\n"
25200 "\n"
25201 msgstr ""
25202
25203 # type: verbatim
25204 #: ../tools/virt-rescue.pl:65
25205 #, no-wrap
25206 msgid ""
25207 " virt-rescue /dev/sdc\n"
25208 "\n"
25209 msgstr ""
25210
25211 # type: textblock
25212 #: ../tools/virt-rescue.pl:67
25213 msgid "For live VMs you I<must> use the --ro option."
25214 msgstr ""
25215
25216 # type: textblock
25217 #: ../tools/virt-rescue.pl:69
25218 msgid ""
25219 "When you run virt-rescue on a virtual machine or disk image, you are placed "
25220 "in an interactive bash shell where you can use many ordinary Linux "
25221 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
25222 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
25223 "is an empty directory called C</sysroot> where you can mount filesystems."
25224 msgstr ""
25225
25226 # type: textblock
25227 #: ../tools/virt-rescue.pl:76
25228 msgid ""
25229 "In the example below, we list logical volumes, then choose one to mount "
25230 "under C</sysroot>:"
25231 msgstr ""
25232
25233 # type: verbatim
25234 #: ../tools/virt-rescue.pl:79
25235 #, no-wrap
25236 msgid ""
25237 " ><rescue> lvs\n"
25238 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
25239 " lv_root vg_f11x64 -wi-a-   8.83G\n"
25240 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
25241 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
25242 " ><rescue> ls /sysroot\n"
25243 "\n"
25244 msgstr ""
25245
25246 # type: textblock
25247 #: ../tools/virt-rescue.pl:86
25248 msgid ""
25249 "If you don't know what filesystems are available on the virtual machine then "
25250 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
25251 msgstr ""
25252
25253 # type: =head1
25254 #: ../tools/virt-rescue.pl:90 ../tools/virt-resize.pl:1350
25255 msgid "NOTES"
25256 msgstr ""
25257
25258 # type: textblock
25259 #: ../tools/virt-rescue.pl:92
25260 msgid ""
25261 "Virt-rescue can be used on I<any> disk image file or device, not just a "
25262 "virtual machine.  For example you can use it on a blank file if you want to "
25263 "partition that file (although we would recommend using L<guestfish(1)> "
25264 "instead as it is more suitable for this purpose).  You can even use virt-"
25265 "rescue on things like SD cards."
25266 msgstr ""
25267
25268 # type: textblock
25269 #: ../tools/virt-rescue.pl:98
25270 msgid ""
25271 "This tool is just designed for quick interactive hacking on a virtual "
25272 "machine.  For more structured access to a virtual machine disk image, you "
25273 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
25274 "make scripted changes to guests, use L<guestfish(1)>."
25275 msgstr ""
25276
25277 # type: =item
25278 #: ../tools/virt-rescue.pl:127
25279 msgid "B<--append kernelopts>"
25280 msgstr ""
25281
25282 # type: textblock
25283 #: ../tools/virt-rescue.pl:129
25284 msgid "Pass additional options to the rescue kernel."
25285 msgstr ""
25286
25287 # type: =item
25288 #: ../tools/virt-rescue.pl:147
25289 msgid "B<--memsize MB> | B<-m MB>"
25290 msgstr ""
25291
25292 # type: textblock
25293 #: ../tools/virt-rescue.pl:149
25294 msgid ""
25295 "Change the amount of memory allocated to the rescue system.  The default is "
25296 "set by libguestfs and is small but adequate for running system tools.  The "
25297 "occasional program might need more memory.  The parameter is specified in "
25298 "megabytes."
25299 msgstr ""
25300
25301 # type: =item
25302 #: ../tools/virt-rescue.pl:158
25303 msgid "B<--ro> | B<-r>"
25304 msgstr ""
25305
25306 # type: textblock
25307 #: ../tools/virt-rescue.pl:160
25308 msgid "Open the image read-only."
25309 msgstr ""
25310
25311 # type: textblock
25312 #: ../tools/virt-rescue.pl:172
25313 msgid ""
25314 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
25315 "SELINUX> before using this option."
25316 msgstr ""
25317
25318 # type: textblock
25319 #: ../tools/virt-rescue.pl:228
25320 msgid ""
25321 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
25322 "ENVIRONMENT VARIABLES> for the complete list."
25323 msgstr ""
25324
25325 # type: textblock
25326 #: ../tools/virt-rescue.pl:233
25327 msgid ""
25328 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
25329 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25330 msgstr ""
25331
25332 # type: textblock
25333 #: ../tools/virt-resize.pl:42
25334 msgid "virt-resize - Resize a virtual machine disk"
25335 msgstr ""
25336
25337 # type: verbatim
25338 #: ../tools/virt-resize.pl:46
25339 #, no-wrap
25340 msgid ""
25341 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
25342 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
25343 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
25344 "\n"
25345 msgstr ""
25346
25347 # type: textblock
25348 #: ../tools/virt-resize.pl:52
25349 msgid ""
25350 "Virt-resize is a tool which can resize a virtual machine disk, making it "
25351 "larger or smaller overall, and resizing or deleting any partitions contained "
25352 "within."
25353 msgstr ""
25354
25355 # type: textblock
25356 #: ../tools/virt-resize.pl:56
25357 msgid ""
25358 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
25359 "not> be used on live virtual machines - for consistent results, shut the "
25360 "virtual machine down before resizing it."
25361 msgstr ""
25362
25363 # type: textblock
25364 #: ../tools/virt-resize.pl:60
25365 msgid ""
25366 "If you are not familiar with the associated tools: L<virt-list-partitions(1)"
25367 ">, L<virt-list-filesystems(1)> and L<virt-df(1)>, we recommend you go and "
25368 "read those manual pages first."
25369 msgstr ""
25370
25371 # type: textblock
25372 #: ../tools/virt-resize.pl:68
25373 msgid ""
25374 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
25375 "fill the extra 5GB of space."
25376 msgstr ""
25377
25378 # type: verbatim
25379 #: ../tools/virt-resize.pl:71
25380 #, no-wrap
25381 msgid ""
25382 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
25383 " virt-list-partitions -lht olddisk\n"
25384 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
25385 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
25386 "\n"
25387 msgstr ""
25388
25389 # type: textblock
25390 #: ../tools/virt-resize.pl:76
25391 msgid ""
25392 "As above, but make the /boot partition 200MB bigger, while giving the "
25393 "remaining space to /dev/sda2:"
25394 msgstr ""
25395
25396 # type: verbatim
25397 #: ../tools/virt-resize.pl:79
25398 #, no-wrap
25399 msgid ""
25400 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
25401 "\n"
25402 msgstr ""
25403
25404 # type: =head1
25405 #: ../tools/virt-resize.pl:81
25406 msgid "DETAILED USAGE"
25407 msgstr ""
25408
25409 # type: =head2
25410 #: ../tools/virt-resize.pl:83
25411 msgid "EXPANDING A VIRTUAL MACHINE DISK"
25412 msgstr ""
25413
25414 # type: =item
25415 #: ../tools/virt-resize.pl:87
25416 msgid "1. Shut down the virtual machine"
25417 msgstr ""
25418
25419 # type: =item
25420 #: ../tools/virt-resize.pl:89
25421 msgid "2. Locate input disk image"
25422 msgstr ""
25423
25424 # type: textblock
25425 #: ../tools/virt-resize.pl:91
25426 msgid ""
25427 "Locate the input disk image (ie. the file or device on the host containing "
25428 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
25429 "dumpxml> like this to find the disk image name:"
25430 msgstr ""
25431
25432 # type: verbatim
25433 #: ../tools/virt-resize.pl:95
25434 #, no-wrap
25435 msgid ""
25436 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
25437 " Found 1 nodes:\n"
25438 " -- NODE --\n"
25439 " <source dev=\"/dev/vg/lv_guest\" />\n"
25440 "\n"
25441 msgstr ""
25442
25443 # type: =item
25444 #: ../tools/virt-resize.pl:100
25445 msgid "3. Look at current sizing"
25446 msgstr ""
25447
25448 # type: textblock
25449 #: ../tools/virt-resize.pl:102
25450 msgid ""
25451 "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
25452 msgstr ""
25453
25454 # type: verbatim
25455 #: ../tools/virt-resize.pl:105
25456 #, no-wrap
25457 msgid ""
25458 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
25459 " /dev/sda1 ext3 101.9M\n"
25460 " /dev/sda2 pv 7.9G\n"
25461 " /dev/sda device 8.0G\n"
25462 "\n"
25463 msgstr ""
25464
25465 # type: textblock
25466 #: ../tools/virt-resize.pl:110
25467 msgid ""
25468 "(This example is a virtual machine with an 8 GB disk which we would like to "
25469 "expand up to 10 GB)."
25470 msgstr ""
25471
25472 # type: =item
25473 #: ../tools/virt-resize.pl:113
25474 msgid "4. Create output disk"
25475 msgstr ""
25476
25477 # type: textblock
25478 #: ../tools/virt-resize.pl:115
25479 msgid ""
25480 "Virt-resize cannot do in-place disk modifications.  You have to have space "
25481 "to store the resized output disk."
25482 msgstr ""
25483
25484 # type: textblock
25485 #: ../tools/virt-resize.pl:118
25486 msgid ""
25487 "To store the resized disk image in a file, create a file of a suitable size:"
25488 msgstr ""
25489
25490 # type: verbatim
25491 #: ../tools/virt-resize.pl:121
25492 #, no-wrap
25493 msgid ""
25494 " # rm -f outdisk\n"
25495 " # truncate -s 10G outdisk\n"
25496 "\n"
25497 msgstr ""
25498
25499 # type: textblock
25500 #: ../tools/virt-resize.pl:124
25501 msgid "Or use L<lvcreate(1)> to create a logical volume:"
25502 msgstr ""
25503
25504 # type: verbatim
25505 #: ../tools/virt-resize.pl:126
25506 #, no-wrap
25507 msgid ""
25508 " # lvcreate -L 10G -n lv_name vg_name\n"
25509 "\n"
25510 msgstr ""
25511
25512 # type: textblock
25513 #: ../tools/virt-resize.pl:128
25514 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
25515 msgstr ""
25516
25517 # type: verbatim
25518 #: ../tools/virt-resize.pl:130
25519 #, no-wrap
25520 msgid ""
25521 " # virsh pool-list\n"
25522 " # virsh vol-create-as poolname newvol 10G\n"
25523 "\n"
25524 msgstr ""
25525
25526 # type: =item
25527 #: ../tools/virt-resize.pl:133
25528 msgid "5. Resize"
25529 msgstr ""
25530
25531 # type: textblock
25532 #: ../tools/virt-resize.pl:135
25533 msgid ""
25534 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
25535 "file) and the output disk.  The output disk is the one created in the "
25536 "previous step."
25537 msgstr ""
25538
25539 # type: verbatim
25540 #: ../tools/virt-resize.pl:139
25541 #, no-wrap
25542 msgid ""
25543 " # virt-resize indisk outdisk\n"
25544 "\n"
25545 msgstr ""
25546
25547 # type: textblock
25548 #: ../tools/virt-resize.pl:141
25549 msgid ""
25550 "This command just copies disk image C<indisk> to disk image C<outdisk> "
25551 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
25552 "larger, then an extra, empty partition is created at the end of the disk "
25553 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
25554 "error."
25555 msgstr ""
25556
25557 # type: textblock
25558 #: ../tools/virt-resize.pl:147
25559 msgid ""
25560 "More realistically you'd want to expand existing partitions in the disk "
25561 "image by passing extra options (for the full list see the L</OPTIONS> "
25562 "section below)."
25563 msgstr ""
25564
25565 # type: textblock
25566 #: ../tools/virt-resize.pl:151
25567 msgid ""
25568 "L</--expand> is the most useful option.  It expands the named partition "
25569 "within the disk to fill any extra space:"
25570 msgstr ""
25571
25572 # type: verbatim
25573 #: ../tools/virt-resize.pl:154
25574 #, no-wrap
25575 msgid ""
25576 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
25577 "\n"
25578 msgstr ""
25579
25580 # type: textblock
25581 #: ../tools/virt-resize.pl:156
25582 msgid ""
25583 "(In this case, an extra partition is I<not> created at the end of the disk, "
25584 "because there will be no unused space)."
25585 msgstr ""
25586
25587 # type: textblock
25588 #: ../tools/virt-resize.pl:159
25589 msgid ""
25590 "L</--resize> is the other commonly used option.  The following would "
25591 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
25592 "rest of the available space:"
25593 msgstr ""
25594
25595 # type: verbatim
25596 #: ../tools/virt-resize.pl:163
25597 #, no-wrap
25598 msgid ""
25599 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25600 "     indisk outdisk\n"
25601 "\n"
25602 msgstr ""
25603
25604 # type: textblock
25605 #: ../tools/virt-resize.pl:166
25606 msgid ""
25607 "If the expanded partition in the image contains a filesystem or LVM PV, then "
25608 "if virt-resize knows how, it will resize the contents, the equivalent of "
25609 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or L<ntfsresize(8)"
25610 ">.  However virt-resize does not know how to resize some filesystems, so you "
25611 "would have to online resize them after booting the guest.  And virt-resize "
25612 "also does not resize anything inside an LVM PV, it just resizes the PV "
25613 "itself and leaves the user to resize any LVs inside that PV as desired."
25614 msgstr ""
25615
25616 # type: textblock
25617 #: ../tools/virt-resize.pl:175
25618 msgid "Other options are covered below."
25619 msgstr ""
25620
25621 # type: =item
25622 #: ../tools/virt-resize.pl:177
25623 msgid "6. Test"
25624 msgstr ""
25625
25626 # type: textblock
25627 #: ../tools/virt-resize.pl:179
25628 msgid "Thoroughly test the new disk image I<before> discarding the old one."
25629 msgstr ""
25630
25631 # type: textblock
25632 #: ../tools/virt-resize.pl:181
25633 msgid "If you are using libvirt, edit the XML to point at the new disk:"
25634 msgstr ""
25635
25636 # type: verbatim
25637 #: ../tools/virt-resize.pl:183
25638 #, no-wrap
25639 msgid ""
25640 " # virsh edit guestname\n"
25641 "\n"
25642 msgstr ""
25643
25644 # type: textblock
25645 #: ../tools/virt-resize.pl:185
25646 msgid ""
25647 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
25648 "html#elementsDisks>"
25649 msgstr ""
25650
25651 # type: textblock
25652 #: ../tools/virt-resize.pl:188
25653 msgid "Then start up the domain with the new, resized disk:"
25654 msgstr ""
25655
25656 # type: verbatim
25657 #: ../tools/virt-resize.pl:190
25658 #, no-wrap
25659 msgid ""
25660 " # virsh start guestname\n"
25661 "\n"
25662 msgstr ""
25663
25664 # type: textblock
25665 #: ../tools/virt-resize.pl:192
25666 msgid ""
25667 "and check that it still works.  See also the L</NOTES> section below for "
25668 "additional information."
25669 msgstr ""
25670
25671 # type: =item
25672 #: ../tools/virt-resize.pl:195
25673 msgid "7. Resize LVs etc inside the guest"
25674 msgstr ""
25675
25676 # type: textblock
25677 #: ../tools/virt-resize.pl:197
25678 msgid "(This can also be done offline using L<guestfish(1)>)"
25679 msgstr ""
25680
25681 # type: textblock
25682 #: ../tools/virt-resize.pl:199
25683 msgid ""
25684 "Once the guest has booted you should see the new space available, at least "
25685 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
25686 "may need to resize LVs inside PVs, and also resize filesystem types that "
25687 "virt-resize does not know how to expand."
25688 msgstr ""
25689
25690 # type: =head2
25691 #: ../tools/virt-resize.pl:206
25692 msgid "SHRINKING A VIRTUAL MACHINE DISK"
25693 msgstr ""
25694
25695 # type: textblock
25696 #: ../tools/virt-resize.pl:208
25697 msgid ""
25698 "Shrinking is somewhat more complex than expanding, and only an overview is "
25699 "given here."
25700 msgstr ""
25701
25702 # type: textblock
25703 #: ../tools/virt-resize.pl:211
25704 msgid ""
25705 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
25706 "filesystems).  The user has to shrink content before passing the disk image "
25707 "to virt-resize, and virt-resize will check that the content has been shrunk "
25708 "properly."
25709 msgstr ""
25710
25711 # type: textblock
25712 #: ../tools/virt-resize.pl:216
25713 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
25714 msgstr ""
25715
25716 # type: textblock
25717 #: ../tools/virt-resize.pl:218
25718 msgid ""
25719 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
25720 "steps 3 and 4 above to allocate a new disk image."
25721 msgstr ""
25722
25723 # type: textblock
25724 #: ../tools/virt-resize.pl:221
25725 msgid ""
25726 "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
25727 msgstr ""
25728
25729 # type: =head2
25730 #: ../tools/virt-resize.pl:224
25731 msgid "IGNORING OR DELETING PARTITIONS"
25732 msgstr ""
25733
25734 # type: textblock
25735 #: ../tools/virt-resize.pl:226
25736 msgid ""
25737 "virt-resize also gives a convenient way to ignore or delete partitions when "
25738 "copying from the input disk to the output disk.  Ignoring a partition speeds "
25739 "up the copy where you don't care about the existing contents of a "
25740 "partition.  Deleting a partition removes it completely, but note that it "
25741 "also renumbers any partitions after the one which is deleted, which can "
25742 "leave some guests unbootable."
25743 msgstr ""
25744
25745 # type: textblock
25746 #: ../tools/virt-resize.pl:243
25747 msgid "Display help."
25748 msgstr ""
25749
25750 # type: =item
25751 #: ../tools/virt-resize.pl:257
25752 msgid "B<--resize part=size>"
25753 msgstr ""
25754
25755 # type: textblock
25756 #: ../tools/virt-resize.pl:259
25757 msgid ""
25758 "Resize the named partition (expanding or shrinking it) so that it has the "
25759 "given size."
25760 msgstr ""
25761
25762 # type: textblock
25763 #: ../tools/virt-resize.pl:262
25764 msgid ""
25765 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
25766 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
25767 "Exabytes; or as a percentage of the current size; or as a relative number or "
25768 "percentage.  For example:"
25769 msgstr ""
25770
25771 # type: verbatim
25772 #: ../tools/virt-resize.pl:267
25773 #, no-wrap
25774 msgid ""
25775 " --resize /dev/sda2=10G\n"
25776 "\n"
25777 msgstr ""
25778
25779 # type: verbatim
25780 #: ../tools/virt-resize.pl:269
25781 #, no-wrap
25782 msgid ""
25783 " --resize /dev/sda4=90%\n"
25784 "\n"
25785 msgstr ""
25786
25787 # type: verbatim
25788 #: ../tools/virt-resize.pl:271
25789 #, no-wrap
25790 msgid ""
25791 " --resize /dev/sda2=+1G\n"
25792 "\n"
25793 msgstr ""
25794
25795 # type: verbatim
25796 #: ../tools/virt-resize.pl:273
25797 #, no-wrap
25798 msgid ""
25799 " --resize /dev/sda2=-200M\n"
25800 "\n"
25801 msgstr ""
25802
25803 # type: verbatim
25804 #: ../tools/virt-resize.pl:275
25805 #, no-wrap
25806 msgid ""
25807 " --resize /dev/sda1=+128K\n"
25808 "\n"
25809 msgstr ""
25810
25811 # type: verbatim
25812 #: ../tools/virt-resize.pl:277
25813 #, no-wrap
25814 msgid ""
25815 " --resize /dev/sda1=+10%\n"
25816 "\n"
25817 msgstr ""
25818
25819 # type: verbatim
25820 #: ../tools/virt-resize.pl:279
25821 #, no-wrap
25822 msgid ""
25823 " --resize /dev/sda1=-10%\n"
25824 "\n"
25825 msgstr ""
25826
25827 # type: textblock
25828 #: ../tools/virt-resize.pl:281
25829 msgid ""
25830 "You can increase the size of any partition.  Virt-resize will expand the "
25831 "direct content of the partition if it knows how (see C<--expand> below)."
25832 msgstr ""
25833
25834 # type: textblock
25835 #: ../tools/virt-resize.pl:285
25836 msgid ""
25837 "You can only I<decrease> the size of partitions that contain filesystems or "
25838 "PVs which have already been shrunk.  Virt-resize will check this has been "
25839 "done before proceeding, or else will print an error (see also C<--resize-"
25840 "force>)."
25841 msgstr ""
25842
25843 # type: textblock
25844 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382
25845 #: ../tools/virt-resize.pl:399
25846 msgid "You can give this option multiple times."
25847 msgstr ""
25848
25849 # type: =item
25850 #: ../tools/virt-resize.pl:296
25851 msgid "B<--resize-force part=size>"
25852 msgstr ""
25853
25854 # type: textblock
25855 #: ../tools/virt-resize.pl:298
25856 msgid ""
25857 "This is the same as C<--resize> except that it will let you decrease the "
25858 "size of any partition.  Generally this means you will lose any data which "
25859 "was at the end of the partition you shrink, but you may not care about that "
25860 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
25861 "as a swap partition)."
25862 msgstr ""
25863
25864 # type: textblock
25865 #: ../tools/virt-resize.pl:304
25866 msgid "See also the C<--ignore> option."
25867 msgstr ""
25868
25869 # type: =item
25870 #: ../tools/virt-resize.pl:310
25871 msgid "B<--expand part>"
25872 msgstr ""
25873
25874 # type: textblock
25875 #: ../tools/virt-resize.pl:312
25876 msgid ""
25877 "Expand the named partition so it uses up all extra space (space left over "
25878 "after any other resize changes that you request have been done)."
25879 msgstr ""
25880
25881 # type: textblock
25882 #: ../tools/virt-resize.pl:315
25883 msgid ""
25884 "If virt-resize knows how, it will expand the direct content of the "
25885 "partition.  For example, if the partition is an LVM PV, it will expand the "
25886 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25887 "content it doesn't know about alone."
25888 msgstr ""
25889
25890 # type: textblock
25891 #: ../tools/virt-resize.pl:320
25892 msgid "Currently virt-resize can resize:"
25893 msgstr ""
25894
25895 # type: textblock
25896 #: ../tools/virt-resize.pl:326
25897 msgid ""
25898 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
25899 "partition."
25900 msgstr ""
25901
25902 # type: textblock
25903 #: ../tools/virt-resize.pl:331
25904 msgid ""
25905 "NTFS filesystems contained directly in a partition, if libguestfs was "
25906 "compiled with support for NTFS."
25907 msgstr ""
25908
25909 # type: textblock
25910 #: ../tools/virt-resize.pl:334
25911 msgid ""
25912 "The filesystem must have been shut down consistently last time it was used.  "
25913 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25914 "consistency check, so at the first boot after resizing Windows will check "
25915 "the disk."
25916 msgstr ""
25917
25918 # type: textblock
25919 #: ../tools/virt-resize.pl:341
25920 msgid ""
25921 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
25922 "inside the PV.  The user will have to resize LVs as desired."
25923 msgstr ""
25924
25925 # type: textblock
25926 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
25927 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
25928 msgstr ""
25929
25930 # type: =item
25931 #: ../tools/virt-resize.pl:353
25932 msgid "B<--shrink part>"
25933 msgstr ""
25934
25935 # type: textblock
25936 #: ../tools/virt-resize.pl:355
25937 msgid ""
25938 "Shrink the named partition until the overall disk image fits in the "
25939 "destination.  The named partition B<must> contain a filesystem or PV which "
25940 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
25941 "online tools).  Virt-resize will check this and give an error if it has not "
25942 "been done."
25943 msgstr ""
25944
25945 # type: textblock
25946 #: ../tools/virt-resize.pl:361
25947 msgid ""
25948 "The amount by which the overall disk must be shrunk (after carrying out all "
25949 "other operations requested by the user) is called the \"deficit\".  For "
25950 "example, a straight copy (assume no other operations)  from a 5GB disk image "
25951 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
25952 "would give an error unless the user specified a partition to shrink and that "
25953 "partition had more than a gigabyte of free space."
25954 msgstr ""
25955
25956 # type: =item
25957 #: ../tools/virt-resize.pl:375
25958 msgid "B<--ignore part>"
25959 msgstr ""
25960
25961 # type: textblock
25962 #: ../tools/virt-resize.pl:377
25963 msgid ""
25964 "Ignore the named partition.  Effectively this means the partition is "
25965 "allocated on the destination disk, but the content is not copied across from "
25966 "the source disk.  The content of the partition will be blank (all zero "
25967 "bytes)."
25968 msgstr ""
25969
25970 # type: =item
25971 #: ../tools/virt-resize.pl:388
25972 msgid "B<--delete part>"
25973 msgstr ""
25974
25975 # type: textblock
25976 #: ../tools/virt-resize.pl:390
25977 msgid ""
25978 "Delete the named partition.  It would be more accurate to describe this as "
25979 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25980 "the original disk image is left intact."
25981 msgstr ""
25982
25983 # type: textblock
25984 #: ../tools/virt-resize.pl:394
25985 msgid ""
25986 "Note that when you delete a partition, then anything contained in the "
25987 "partition is also deleted.  Furthermore, this causes any partitions that "
25988 "come after to be I<renumbered>, which can easily make your guest unbootable."
25989 msgstr ""
25990
25991 # type: =item
25992 #: ../tools/virt-resize.pl:405
25993 msgid "B<--LV-expand logvol>"
25994 msgstr ""
25995
25996 # type: textblock
25997 #: ../tools/virt-resize.pl:407
25998 msgid ""
25999 "This takes the logical volume and, as a final step, expands it to fill all "
26000 "the space available in its volume group.  A typical usage, assuming a Linux "
26001 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
26002 "lv_root> would be:"
26003 msgstr ""
26004
26005 # type: verbatim
26006 #: ../tools/virt-resize.pl:412
26007 #, no-wrap
26008 msgid ""
26009 " virt-resize indisk outdisk \\\n"
26010 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
26011 "\n"
26012 msgstr ""
26013
26014 # type: textblock
26015 #: ../tools/virt-resize.pl:415
26016 msgid ""
26017 "This would first expand the partition (and PV), and then expand the root "
26018 "device to fill the extra space in the PV."
26019 msgstr ""
26020
26021 # type: textblock
26022 #: ../tools/virt-resize.pl:418
26023 msgid ""
26024 "The contents of the LV are also resized if virt-resize knows how to do "
26025 "that.  You can stop virt-resize from trying to expand the content by using "
26026 "the option C<--no-expand-content>."
26027 msgstr ""
26028
26029 # type: textblock
26030 #: ../tools/virt-resize.pl:422
26031 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
26032 msgstr ""
26033
26034 # type: textblock
26035 #: ../tools/virt-resize.pl:425
26036 msgid ""
26037 "You can give this option multiple times, I<but> it doesn't make sense to do "
26038 "this unless the logical volumes you specify are all in different volume "
26039 "groups."
26040 msgstr ""
26041
26042 # type: =item
26043 #: ../tools/virt-resize.pl:433
26044 msgid "B<--no-copy-boot-loader>"
26045 msgstr ""
26046
26047 # type: textblock
26048 #: ../tools/virt-resize.pl:435
26049 msgid ""
26050 "By default, virt-resize copies over some sectors at the start of the disk "
26051 "(up to the beginning of the first partition).  Commonly these sectors "
26052 "contain the Master Boot Record (MBR) and the boot loader, and are required "
26053 "in order for the guest to boot correctly."
26054 msgstr ""
26055
26056 # type: textblock
26057 #: ../tools/virt-resize.pl:440
26058 msgid ""
26059 "If you specify this flag, then this initial copy is not done.  You may need "
26060 "to reinstall the boot loader in this case."
26061 msgstr ""
26062
26063 # type: =item
26064 #: ../tools/virt-resize.pl:448
26065 msgid "B<--no-extra-partition>"
26066 msgstr ""
26067
26068 # type: textblock
26069 #: ../tools/virt-resize.pl:450
26070 msgid ""
26071 "By default, virt-resize creates an extra partition if there is any extra, "
26072 "unused space after all resizing has happened.  Use this option to prevent "
26073 "the extra partition from being created.  If you do this then the extra space "
26074 "will be inaccessible until you run fdisk, parted, or some other partitioning "
26075 "tool in the guest."
26076 msgstr ""
26077
26078 # type: textblock
26079 #: ../tools/virt-resize.pl:456
26080 msgid ""
26081 "Note that if the surplus space is smaller than 10 MB, no extra partition "
26082 "will be created."
26083 msgstr ""
26084
26085 # type: =item
26086 #: ../tools/virt-resize.pl:463
26087 msgid "B<--no-expand-content>"
26088 msgstr ""
26089
26090 # type: textblock
26091 #: ../tools/virt-resize.pl:465
26092 msgid ""
26093 "By default, virt-resize will try to expand the direct contents of "
26094 "partitions, if it knows how (see C<--expand> option above)."
26095 msgstr ""
26096
26097 # type: textblock
26098 #: ../tools/virt-resize.pl:468
26099 msgid ""
26100 "If you give the C<--no-expand-content> option then virt-resize will not "
26101 "attempt this."
26102 msgstr ""
26103
26104 # type: =item
26105 #: ../tools/virt-resize.pl:475
26106 msgid "B<-d> | B<--debug>"
26107 msgstr ""
26108
26109 # type: textblock
26110 #: ../tools/virt-resize.pl:477 ../tools/virt-win-reg.pl:198
26111 msgid "Enable debugging messages."
26112 msgstr ""
26113
26114 # type: =item
26115 #: ../tools/virt-resize.pl:483
26116 msgid "B<-n> | B<--dryrun>"
26117 msgstr ""
26118
26119 # type: textblock
26120 #: ../tools/virt-resize.pl:485
26121 msgid "Print a summary of what would be done, but don't do anything."
26122 msgstr ""
26123
26124 # type: =item
26125 #: ../tools/virt-resize.pl:491
26126 msgid "B<-q> | B<--quiet>"
26127 msgstr ""
26128
26129 # type: textblock
26130 #: ../tools/virt-resize.pl:493
26131 msgid "Don't print the summary."
26132 msgstr ""
26133
26134 # type: =head2
26135 #: ../tools/virt-resize.pl:1352
26136 msgid "\"Partition 1 does not end on cylinder boundary.\""
26137 msgstr ""
26138
26139 # type: textblock
26140 #: ../tools/virt-resize.pl:1354
26141 msgid ""
26142 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
26143 "means the partitions will not be aligned to the ancient CHS geometry.  "
26144 "However CHS geometry is meaningless for disks manufactured since the early "
26145 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
26146 "cylinders is not required by any modern operating system."
26147 msgstr ""
26148
26149 # type: =head2
26150 #: ../tools/virt-resize.pl:1361
26151 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
26152 msgstr ""
26153
26154 # type: textblock
26155 #: ../tools/virt-resize.pl:1363
26156 msgid ""
26157 "In Windows Vista and later versions, Microsoft switched to using a separate "
26158 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
26159 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
26160 "the boot partition.  Doing so seems to break the guest completely.  However "
26161 "expanding the second partition (ie. C: drive) should work."
26162 msgstr ""
26163
26164 # type: textblock
26165 #: ../tools/virt-resize.pl:1370
26166 msgid ""
26167 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
26168 "NTFS partitions have been expanded.  This is just a safety check and (unless "
26169 "it find errors) is nothing to worry about."
26170 msgstr ""
26171
26172 # type: =head1
26173 #: ../tools/virt-resize.pl:1374
26174 msgid "ALTERNATIVE TOOLS"
26175 msgstr ""
26176
26177 # type: textblock
26178 #: ../tools/virt-resize.pl:1376
26179 msgid ""
26180 "There are several proprietary tools for resizing partitions.  We won't "
26181 "mention any here."
26182 msgstr ""
26183
26184 # type: textblock
26185 #: ../tools/virt-resize.pl:1379
26186 msgid ""
26187 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
26188 "operations on disk images.  They can resize and move partitions, but I don't "
26189 "think they can do anything with the contents, and they certainly don't "
26190 "understand LVM."
26191 msgstr ""
26192
26193 # type: textblock
26194 #: ../tools/virt-resize.pl:1384
26195 msgid ""
26196 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
26197 "but at a much lower level.  You will probably end up hand-calculating sector "
26198 "offsets, which is something that virt-resize was designed to avoid.  If you "
26199 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
26200 "C<--debug> flag."
26201 msgstr ""
26202
26203 # type: textblock
26204 #: ../tools/virt-resize.pl:1392
26205 msgid ""
26206 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
26207 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
26208 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, L<Sys::Guestfs"
26209 "(3)>, L<http://libguestfs.org/>."
26210 msgstr ""
26211
26212 # type: textblock
26213 #: ../tools/virt-tar.pl:34
26214 msgid "virt-tar - Extract or upload files to a virtual machine"
26215 msgstr ""
26216
26217 # type: verbatim
26218 #: ../tools/virt-tar.pl:38
26219 #, no-wrap
26220 msgid ""
26221 " virt-tar [--options] -x domname directory tarball\n"
26222 "\n"
26223 msgstr ""
26224
26225 # type: verbatim
26226 #: ../tools/virt-tar.pl:40
26227 #, no-wrap
26228 msgid ""
26229 " virt-tar [--options] -u domname tarball directory\n"
26230 "\n"
26231 msgstr ""
26232
26233 # type: verbatim
26234 #: ../tools/virt-tar.pl:42
26235 #, no-wrap
26236 msgid ""
26237 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
26238 "\n"
26239 msgstr ""
26240
26241 # type: verbatim
26242 #: ../tools/virt-tar.pl:44
26243 #, no-wrap
26244 msgid ""
26245 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
26246 "\n"
26247 msgstr ""
26248
26249 # type: textblock
26250 #: ../tools/virt-tar.pl:48
26251 msgid "Download C</home> from the VM into a local tarball:"
26252 msgstr ""
26253
26254 # type: verbatim
26255 #: ../tools/virt-tar.pl:50
26256 #, no-wrap
26257 msgid ""
26258 " virt-tar -x domname /home home.tar\n"
26259 "\n"
26260 msgstr ""
26261
26262 # type: verbatim
26263 #: ../tools/virt-tar.pl:52
26264 #, no-wrap
26265 msgid ""
26266 " virt-tar -zx domname /home home.tar.gz\n"
26267 "\n"
26268 msgstr ""
26269
26270 # type: textblock
26271 #: ../tools/virt-tar.pl:54
26272 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
26273 msgstr ""
26274
26275 # type: verbatim
26276 #: ../tools/virt-tar.pl:56
26277 #, no-wrap
26278 msgid ""
26279 " virt-tar -u domname uploadstuff.tar /tmp\n"
26280 "\n"
26281 msgstr ""
26282
26283 # type: verbatim
26284 #: ../tools/virt-tar.pl:58
26285 #, no-wrap
26286 msgid ""
26287 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
26288 "\n"
26289 msgstr ""
26290
26291 # type: textblock
26292 #: ../tools/virt-tar.pl:62
26293 msgid ""
26294 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
26295 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
26296 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
26297 msgstr ""
26298
26299 # type: textblock
26300 #: ../tools/virt-tar.pl:67
26301 msgid ""
26302 "You can use C<-x> (extract) on live virtual machines, but you might get "
26303 "inconsistent results or errors if there is filesystem activity inside the "
26304 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
26305 "work, but the only way to guarantee consistent results is if the virtual "
26306 "machine is shut down."
26307 msgstr ""
26308
26309 # type: textblock
26310 #: ../tools/virt-tar.pl:75
26311 msgid ""
26312 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
26313 "parts of a guest filesystem.  There are many possibilities: making backups, "
26314 "uploading data files, snooping on guest activity, fixing or customizing "
26315 "guests, etc."
26316 msgstr ""
26317
26318 # type: textblock
26319 #: ../tools/virt-tar.pl:80
26320 msgid ""
26321 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
26322 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
26323 "should look at the L<guestfish(1)> tool."
26324 msgstr ""
26325
26326 # type: textblock
26327 #: ../tools/virt-tar.pl:84
26328 msgid ""
26329 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
26330 "its contents (recursively) from the virtual machine into a local tarball.  "
26331 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
26332 "virtual machine.  You cannot use these two options together."
26333 msgstr ""
26334
26335 # type: textblock
26336 #: ../tools/virt-tar.pl:90
26337 msgid ""
26338 "In addition, you may need to use the C<-z> (gZip) option to enable "
26339 "compression.  When uploading, you have to specify C<-z> if the upload file "
26340 "is compressed because virt-tar won't detect this on its own."
26341 msgstr ""
26342
26343 # type: textblock
26344 #: ../tools/virt-tar.pl:94
26345 msgid ""
26346 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
26347 "example it cannot do PKZip files or bzip2 compression.  If you want that "
26348 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
26349 "the L<libguestfs(3)> API)."
26350 msgstr ""
26351
26352 # type: =item
26353 #: ../tools/virt-tar.pl:135
26354 msgid "B<-x> | B<--extract> | B<--download>"
26355 msgstr ""
26356
26357 # type: =item
26358 #: ../tools/virt-tar.pl:137
26359 msgid "B<-u> | B<--upload>"
26360 msgstr ""
26361
26362 # type: textblock
26363 #: ../tools/virt-tar.pl:139
26364 msgid ""
26365 "Use C<-x> to extract (download) a directory from a virtual machine to a "
26366 "local tarball."
26367 msgstr ""
26368
26369 # type: textblock
26370 #: ../tools/virt-tar.pl:142
26371 msgid ""
26372 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
26373 "Please read the L</WARNING> section above before using this option."
26374 msgstr ""
26375
26376 # type: textblock
26377 #: ../tools/virt-tar.pl:146
26378 msgid "You must specify exactly one of these options."
26379 msgstr ""
26380
26381 # type: =item
26382 #: ../tools/virt-tar.pl:152
26383 msgid "B<-z> | B<--gzip>"
26384 msgstr ""
26385
26386 # type: textblock
26387 #: ../tools/virt-tar.pl:154
26388 msgid "Specify that the input or output tarball is gzip-compressed."
26389 msgstr ""
26390
26391 # type: textblock
26392 #: ../tools/virt-tar.pl:259
26393 msgid ""
26394 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<Sys::"
26395 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
26396 "org/>."
26397 msgstr ""
26398
26399 # type: textblock
26400 #: ../tools/virt-win-reg.pl:38
26401 msgid ""
26402 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
26403 msgstr ""
26404
26405 # type: verbatim
26406 #: ../tools/virt-win-reg.pl:42
26407 #, no-wrap
26408 msgid ""
26409 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
26410 "\n"
26411 msgstr ""
26412
26413 # type: verbatim
26414 #: ../tools/virt-win-reg.pl:44
26415 #, no-wrap
26416 msgid ""
26417 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
26418 "\n"
26419 msgstr ""
26420
26421 # type: verbatim
26422 #: ../tools/virt-win-reg.pl:46
26423 #, no-wrap
26424 msgid ""
26425 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
26426 "\n"
26427 msgstr ""
26428
26429 # type: verbatim
26430 #: ../tools/virt-win-reg.pl:48
26431 #, no-wrap
26432 msgid ""
26433 " virt-win-reg --merge domname [input.reg ...]\n"
26434 "\n"
26435 msgstr ""
26436
26437 # type: verbatim
26438 #: ../tools/virt-win-reg.pl:50
26439 #, no-wrap
26440 msgid ""
26441 " virt-win-reg [--options] disk.img ... # instead of domname\n"
26442 "\n"
26443 msgstr ""
26444
26445 # type: textblock
26446 #: ../tools/virt-win-reg.pl:54
26447 msgid ""
26448 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
26449 "virtual machines.  If you do this, you I<will> get irreversible disk "
26450 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
26451 "but doesn't catch all cases."
26452 msgstr ""
26453
26454 # type: textblock
26455 #: ../tools/virt-win-reg.pl:59
26456 msgid ""
26457 "Modifying the Windows Registry is an inherently risky operation.  The format "
26458 "is deliberately obscure and undocumented, and Registry changes can leave the "
26459 "system unbootable.  Therefore when using the C<--merge> option, make sure "
26460 "you have a reliable backup first."
26461 msgstr ""
26462
26463 # type: textblock
26464 #: ../tools/virt-win-reg.pl:66
26465 msgid ""
26466 "This program can export and merge Windows Registry entries from a Windows "
26467 "guest."
26468 msgstr ""
26469
26470 # type: textblock
26471 #: ../tools/virt-win-reg.pl:69
26472 msgid ""
26473 "The first parameter is the libvirt guest name or the raw disk image of a "
26474 "Windows guest."
26475 msgstr ""
26476
26477 # type: textblock
26478 #: ../tools/virt-win-reg.pl:72
26479 msgid ""
26480 "If C<--merge> is I<not> specified, then the chosen registry key is displayed/"
26481 "exported (recursively).  For example:"
26482 msgstr ""
26483
26484 # type: verbatim
26485 #: ../tools/virt-win-reg.pl:75
26486 #, no-wrap
26487 msgid ""
26488 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
26489 "\n"
26490 msgstr ""
26491
26492 # type: textblock
26493 #: ../tools/virt-win-reg.pl:77
26494 msgid ""
26495 "You can also display single values from within registry keys, for example:"
26496 msgstr ""
26497
26498 # type: verbatim
26499 #: ../tools/virt-win-reg.pl:80
26500 #, no-wrap
26501 msgid ""
26502 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
26503 " $ virt-win-reg Windows7 $cvkey ProductName\n"
26504 " Windows 7 Enterprise\n"
26505 "\n"
26506 msgstr ""
26507
26508 # type: textblock
26509 #: ../tools/virt-win-reg.pl:84
26510 msgid ""
26511 "With C<--merge>, you can merge a textual regedit file into the Windows "
26512 "Registry:"
26513 msgstr ""
26514
26515 # type: verbatim
26516 #: ../tools/virt-win-reg.pl:87
26517 #, no-wrap
26518 msgid ""
26519 " $ virt-win-reg --merge Windows7 changes.reg\n"
26520 "\n"
26521 msgstr ""
26522
26523 # type: =head2
26524 #: ../tools/virt-win-reg.pl:89
26525 msgid "SUPPORTED SYSTEMS"
26526 msgstr ""
26527
26528 # type: textblock
26529 #: ../tools/virt-win-reg.pl:91
26530 msgid ""
26531 "The program currently supports Windows NT-derived guests starting with "
26532 "Windows XP through to at least Windows 7."
26533 msgstr ""
26534
26535 # type: textblock
26536 #: ../tools/virt-win-reg.pl:94
26537 msgid ""
26538 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, C<HKEY_LOCAL_MACHINE"
26539 "\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, C<HKEY_LOCAL_MACHINE\\SYSTEM> "
26540 "and C<HKEY_USERS\\.DEFAULT>."
26541 msgstr ""
26542
26543 # type: textblock
26544 #: ../tools/virt-win-reg.pl:98
26545 msgid ""
26546 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
26547 "C<HKEY_USERS>."
26548 msgstr ""
26549
26550 # type: textblock
26551 #: ../tools/virt-win-reg.pl:101
26552 msgid ""
26553 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
26554 "time."
26555 msgstr ""
26556
26557 # type: =head2
26558 #: ../tools/virt-win-reg.pl:104
26559 msgid "NOTE"
26560 msgstr ""
26561
26562 # type: textblock
26563 #: ../tools/virt-win-reg.pl:106
26564 msgid ""
26565 "This program is only meant for simple access to the registry.  If you want "
26566 "to do complicated things with the registry, we suggest you download the "
26567 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
26568 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
26569 "L<hivexregedit(1)>."
26570 msgstr ""
26571
26572 # type: =head2
26573 #: ../tools/virt-win-reg.pl:112
26574 msgid "ENCODING"
26575 msgstr ""
26576
26577 # type: textblock
26578 #: ../tools/virt-win-reg.pl:114
26579 msgid ""
26580 "C<virt-win-reg> expects that regedit files have already been reencoded in "
26581 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
26582 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
26583 "Windows-style line endings, you may need to reencode the whole file before "
26584 "or after processing."
26585 msgstr ""
26586
26587 # type: textblock
26588 #: ../tools/virt-win-reg.pl:120
26589 msgid ""
26590 "To reencode a file from Windows format to Linux (before processing it with "
26591 "the C<--merge> option), you would do something like this:"
26592 msgstr ""
26593
26594 # type: verbatim
26595 #: ../tools/virt-win-reg.pl:123
26596 #, no-wrap
26597 msgid ""
26598 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
26599 "\n"
26600 msgstr ""
26601
26602 # type: textblock
26603 #: ../tools/virt-win-reg.pl:125
26604 msgid ""
26605 "To go in the opposite direction, after exporting and before sending the file "
26606 "to a Windows user, do something like this:"
26607 msgstr ""
26608
26609 # type: verbatim
26610 #: ../tools/virt-win-reg.pl:128
26611 #, no-wrap
26612 msgid ""
26613 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
26614 "\n"
26615 msgstr ""
26616
26617 # type: textblock
26618 #: ../tools/virt-win-reg.pl:130
26619 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
26620 msgstr ""
26621
26622 # type: textblock
26623 #: ../tools/virt-win-reg.pl:132
26624 msgid ""
26625 "If you are unsure about the current encoding, use the L<file(1)> command.  "
26626 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
26627 "style (CRLF) line endings, like this:"
26628 msgstr ""
26629
26630 # type: verbatim
26631 #: ../tools/virt-win-reg.pl:136
26632 #, no-wrap
26633 msgid ""
26634 " $ file software.reg\n"
26635 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
26636 " with CRLF line terminators\n"
26637 "\n"
26638 msgstr ""
26639
26640 # type: textblock
26641 #: ../tools/virt-win-reg.pl:140
26642 msgid "This file would need conversion before you could C<--merge> it."
26643 msgstr ""
26644
26645 # type: =head2
26646 #: ../tools/virt-win-reg.pl:142
26647 msgid "SHELL QUOTING"
26648 msgstr ""
26649
26650 # type: textblock
26651 #: ../tools/virt-win-reg.pl:144
26652 msgid ""
26653 "Be careful when passing parameters containing C<\\> (backslash) in the "
26654 "shell.  Usually you will have to use 'single quotes' or double backslashes "
26655 "(but not both) to protect them from the shell."
26656 msgstr ""
26657
26658 # type: textblock
26659 #: ../tools/virt-win-reg.pl:148
26660 msgid "Paths and value names are case-insensitive."
26661 msgstr ""
26662
26663 # type: =head2
26664 #: ../tools/virt-win-reg.pl:150
26665 msgid "CurrentControlSet etc."
26666 msgstr ""
26667
26668 # type: textblock
26669 #: ../tools/virt-win-reg.pl:152
26670 msgid ""
26671 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
26672 "Registry at the level of the hive file, and therefore you cannot modify "
26673 "these."
26674 msgstr ""
26675
26676 # type: textblock
26677 #: ../tools/virt-win-reg.pl:156
26678 msgid ""
26679 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
26680 "circumstances it might refer to another control set.  The way to find out is "
26681 "to look at the C<HKLM\\SYSTEM\\Select> key:"
26682 msgstr ""
26683
26684 # type: verbatim
26685 #: ../tools/virt-win-reg.pl:160
26686 #, no-wrap
26687 msgid ""
26688 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
26689 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
26690 " \"Current\"=dword:00000001\n"
26691 " \"Default\"=dword:00000001\n"
26692 " \"Failed\"=dword:00000000\n"
26693 " \"LastKnownGood\"=dword:00000002\n"
26694 "\n"
26695 msgstr ""
26696
26697 # type: textblock
26698 #: ../tools/virt-win-reg.pl:167
26699 msgid "\"Default\" is the one which Windows will choose when it boots."
26700 msgstr ""
26701
26702 # type: textblock
26703 #: ../tools/virt-win-reg.pl:169
26704 msgid ""
26705 "Similarly, other C<Current...> keys in the path may need to be replaced."
26706 msgstr ""
26707
26708 # type: =item
26709 #: ../tools/virt-win-reg.pl:216
26710 msgid "B<--merge>"
26711 msgstr ""
26712
26713 # type: textblock
26714 #: ../tools/virt-win-reg.pl:218
26715 msgid ""
26716 "In merge mode, this merges a textual regedit file into the Windows Registry "
26717 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
26718 "displays or exports Registry entries instead."
26719 msgstr ""
26720
26721 # type: textblock
26722 #: ../tools/virt-win-reg.pl:222
26723 msgid ""
26724 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
26725 "result in disk corruption.  However exporting (without this flag)  is always "
26726 "safe."
26727 msgstr ""
26728
26729 # type: =item
26730 #: ../tools/virt-win-reg.pl:230
26731 msgid "B<--encoding> UTF-16LE|ASCII"
26732 msgstr ""
26733
26734 # type: textblock
26735 #: ../tools/virt-win-reg.pl:232
26736 msgid ""
26737 "When merging (only), you may need to specify the encoding for strings to be "
26738 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
26739 "(3)/ENCODING STRINGS>."
26740 msgstr ""
26741
26742 # type: textblock
26743 #: ../tools/virt-win-reg.pl:236
26744 msgid ""
26745 "The default is to use UTF-16LE, which should work with recent versions of "
26746 "Windows."
26747 msgstr ""
26748
26749 # type: textblock
26750 #: ../tools/virt-win-reg.pl:463
26751 msgid ""
26752 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
26753 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
26754 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26755 msgstr ""
26756
26757 # type: verbatim
26758 #: ../tools/virt-win-reg.pl:481
26759 #, no-wrap
26760 msgid ""
26761 " export LIBGUESTFS_DEBUG=1\n"
26762 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
26763 "\n"
26764 msgstr ""
26765
26766 # type: textblock
26767 #: ../tools/virt-win-reg.pl:484
26768 msgid ""
26769 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
26770 "redhat.com/>"
26771 msgstr ""